beautypg.com

Download and compile – Rockwell Automation 1336T Function Block Prog. Manual, Series A/B User Manual

Page 140

background image

5–24

Block Transfer Services

1336 FORCE — 5.9 August 1995

Example

In this example, a Download and Compile message was sent to the
drive. The application contains four events and is downloaded in
one packet.

1

0

N10:10

2

3

4

5

6

7

8

9

N10:90

BTW
Data File

BTR
Data File

Data Format

4000

0000

4000

0

0

8F03

0F03

0004 0A4A 010C 0216

0315

0413

Events

in List

Event List

Event 1

Event 2

Event 3

Event 4

Packet

Number

Checksum

In this next example, an application that has 60

Hex

(98

Dec

) events is

downloaded in three separate packets. To download the three
packets, you can either send three separate block transfer write
(BTW) and block transfer read (BTR) pairs to the drive, or you can
set up one BTW and BTR pair and move the data for each of the
packets into the BTW statement after the preceding packet has been
sent and received.

Note: If less than 32 events are in the packet, the rest of the event
data is padded with zeros.

Download and Compile

(continued)

"