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

Page 139

Advertising
background image

5–23

Block Transfer Services

1336 FORCE — 5.9 August 1995

Message Operation for Subsequent Packets

The packet number determines where the packet’s event data is
written in the drive’s event list. The drive uses the information
contained in Word 4 of packet 0 to re–assemble the packets in the
correct order. When Word 4 is not 0, Word 4 contains the packet
number, Word 5 contains the number of valid events within the
packet, and Word 6 contains the checksum for the events in that
packet.

The Task Status service indicates when a download is in progress
and the service is waiting for event packets. If a download is in
progress and there are no errors, the Fault Read service’s code
identifier (word 5) indicates which packets have been received. The
packets do not need to be sent in order.

After the drive receives all packets required for the application, the
drive performs a number of checks on the data. After all the service
checks have passed, the function block compiler is activated and the
service is acknowledged. However, compilation is not complete
when the last packet is acknowledged. Instead, compilation is
performed as a background task.

Compile time errors will soft fault the drive. If no compiler errors
are found, all function blocks are processed. If no errors occur after
this, the function block task is enabled for execution.

Note: If the data fails the tests, the drive will Not AcKnowledge
(NAK) the service but will not fault the drive, and a warning will be
logged in the drive’s warning queue. These service failures reset the
service to accept another download and compile attempt. The
currently active application is not interrupted.

Important: You must disable the drive to perform a Download and

Compile operation. The drive will reject the download
and compile operation if the drive is running.

The download operation should be performed as a one–shot
procedure.

For more information about downloading and compiling, refer to the
following sections:

For Information About

Refer to Chapter

Events

2

Examples

2

Compiler Process

2

Compile Modes

3

Task Status

5

Fault Status

5

Download and Compile

(continued)

"

Advertising