Parameter write – Rockwell Automation 1336T PLC Comm. Adapter, Series B, FRN 2.xx-3.xx User Manual

Page 160

Advertising
background image

7–14

Publication 1336 FORCE–5.13 –– September, 1998

The Continuous Parameter Value Write function writes to a
continuous list of parameters beginning with the starting parameter
number.

PLC Block Transfer Instruction Data

BTW instruction length:

5-64 words

BTR instruction length:

5-64 words

Message Length

5-64

Header

Word 1

Header

Word 1

PLC Decimal Value

-32767

Header

Word 2

Data

Word 3

PLC Decimal Value

1 –– Message OK

Status Word

-32767 –– Message Error

Number of Parameter

Values to Write

Starting Parameter

Number

Number of Parameter

Values to Write

Starting Parameter

Number

Status Word

Status Word

Status Word

Value Number 1

Value Number 2

Value Number 3

Value Number 60

Message Structure

Data

Word 4

Data

Word 5

Data

Word 6

Data

Word 7

Data

Word 64

Header

Word 2

Data

Word 3

Data

Word 4

Data

Word 5

Data

Word 6

Data

Word 7

Data

Word 64

0

PLC Request –– Block Transfer Write

Drive Response –– Block Transfer Read

Message Operation

The Continuous Parameter Value Write function specified in the
BTW writes data values to a consecutive group of parameters,
beginning with the starting parameter number defined in word 4 of
the BTW message. The number of parameters to be written to is
defined in word 3 of the BTW message.

If an error has occurred in writing to any of the values, the BTR data
file status word contains an error code. If no error has occurred, it
returns a value of 0.

Parameter Write

Continuous Parameter Value
Write

Advertising