Parameter write – Rockwell Automation 1336T ControlNet Frn1.02 Rev 1.5 User Manual

Page 61

Advertising
background image

4–19

Using Unscheduled Messaging

Publication 1336 FORCE–5.18 ––March, 1999

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

PLC Block Transfer Instruction Data

PLC MSG Write instruction length:

5-64 words

PLC MSG Read 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 –– PLC Message Write

Drive Response –– PLC Message Read

Message Operation

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

If an error has occurred in writing to any of the values, the PMR 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