Application status services – Rockwell Automation 1336T Function Block Prog. Manual, Series A/B User Manual

Page 124

Advertising
background image

5–8

Block Transfer Services

1336 FORCE — 5.9 August 1995

The Total Number of Events in Application message requests the total
number of events in the currently active execution list.

PLC Block Transfer Instruction Data

BTW Instruction Length:

3 Words

BTR Instruction Length:

4 Words

Header

Word 1

PLC Decimal Value

3842

16384

Message Structure

Header

Word 2

Header

Word 3

PLC Request –– Block Transfer Write

Header Word 1

Header Word 2

Header Word 3

16384

0

Data

Word 4

0

PLC Decimal Value

3842 –– Message OK

–28926 –– Message Error

Number of Events

in Execution List

Drive Response –– Block Transfer Read

Message Operation

The PLC requests the number of events (function blocks) that are in
the current execution list. The drive response indicates the total
number of events. An application can have a maximum of 128
events.

Note: Function block types appearing more than once in the
execution list may have different ID numbers.

If the drive returns 0 for the number of events in the execution list,
no application is currently active in the drive.

Note: The value returned does not reflect what may or may not be
stored in BRAM.

Example

In this example, the drive’s response reports that 58 events are in the
drive’s execution list. This example uses decimal values.

1

0

N10:0

2

3

4

5

6

7

8

9

N10:90

BTW
Data File

BTR
Data File

Data Format

16384

16384

58

0

0

3842

3842

Application Status
Services:

Total Number of Events in
Application

"

"

Advertising