beautypg.com

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

Page 149: Write block value

background image

5–33

Block Transfer Services

1336 FORCE — 5.9 August 1995

The Write Block Value message writes the 16 bit data values to the
specified function block. All the values for the entire function block
are sent.

PLC Block Transfer Instruction Data

BTW Instruction Length:

36 Words

BTR Instruction Length:

4 Words

Message Length

0

Header

Word 1

Header

Word 1

8F05

80ID

PLC Decimal Value

0F05 –– Message OK

Status Word

80ID

8F05 –– Message Error

Message Structure

Header

Word 2

Data

Word 3

Header

Word 2

Header

Word 3

Data

Word 4

0

PLC Request –– Block Transfer Write

Drive Response –– Block Transfer Read

Packet Number

Data

Word 4

Node 0 Value

Node 1 Value

Data

Word 5

Data

Word 6

Node 31 Value

Data

Word 36

•••

ID = the block ID number

0

Message Operation

The data buffer contains the packet number and up to 32 valid node
values. Therefore, you must pad the length of the buffer with zeros
to reach the 32 value length if the function block has less than 32
nodes.

Currently, the packet number must be zero.

If any of the values are out of range for any given node, the service
will fail.

Values beyond the valid number of inputs for the given block ID are
ignored.

Node Adjustment:

Write Block Value