Application status services, Plc block transfer instruction data, Message operation – Rockwell Automation 1336T Function Block Prog. Manual, Series A/B User Manual

Page 125: Example, Total number of i/o nodes

Advertising
background image

5–9

Block Transfer Services

1336 FORCE — 5.9 August 1995

The Total Number of I/O Nodes message provides the number of
nodes used in the function block application currently running in the
drive.

PLC Block Transfer Instruction Data

BTW Instruction Length:

3 Words

BTR Instruction Length:

4 Words

Header

Word 1

PLC Decimal Value

3841

–32768

Message Structure

Header

Word 2

Header

Word 3

PLC Request –– Block Transfer Write

Header Word 1

Header Word 2

Header Word 3

–32768

0

Data

Word 4

0

PLC Decimal Value

3841 –– Message OK

–28927 –– Message Error

Number of Nodes

in Execution List

Drive Response –– Block Transfer Read

Dec

Message Operation

The PLC requests the number of nodes that are associated with the
active execution list in the drive. The drive response indicates the
total number of nodes used by all function blocks in the execution
list.

Example

In this example, the PLC has requested the total number of nodes
used. The drive responds that 24 nodes are used in the current
application.

1

0

N10:10

2

3

4

5

6

7

8

9

N10:90

BTW
Data File

BTR
Data File

Data Format

-32768

-32768

24

0

0

3841

3841

Application Status
Services:

Total Number of I/O Nodes

Advertising