Application control commands – Rockwell Automation 1336T Function Block Prog. Manual, Series A/B User Manual
Page 137

5–21
Block Transfer Services
1336 FORCE — 5.9 August 1995
The Download and Compile message does the following:
❒
Downloads up to 32 valid events.
❒
Performs service checks.
❒
Compiles these events into a function block application.
Because the download and compile service downloads a maximum
of 32 events in one message, your application may need to be
downloaded in multiple messages, or packets. The number of events
in your application determines the number of packets. Currently, the
maximum number of packets you can have is 4 (packet 0 through
packet 3) because of the 128 event limitation.
PLC Block Transfer Instruction Data
BTW Instruction Length:
38 Words
BTR Instruction Length:
3 Words
Header
Word 1
PLC Hex Value
8F03
4000 (hex)
Packet 0 Message Structure
Header
Word 2
Header
Word 3
PLC Request –– Block Transfer Write
Header Word 1
Header Word 2
Header Word 3
PLC Hex Value
0F03 –– Message OK
4000 (hex)
8F03 –– Message Error
0
0
Packet Number
Data Word 4
Data Word 5
Number of Events
in Event List
Data Word 6
Event List Checksum
Data Word 7
Event Number 1
•
•
Data Word 38
Event Number 32
Drive Response –– Block Transfer Read
•
•
•
•
0
Application Control
Commands:
Download and Compile