Parameter value write, Plc block transfer instruction data, Message operation – Rockwell Automation 1336-GM1 Remote I/O Communications Module User Manual

Page 68: Example

Advertising
background image

B–4

Supported Block Transfer Messages

Parameter Value Write

Parameter Value Write writes a 16-bit parameter data value to the
selected parameter number.

PLC Block Transfer Instruction Data

PLC request instruction length: 4 word
Drive response instruction length: 4 words

Figure B.4

Message Structure

Message Operation

Parameter Value Write sends a new value to the specified
parameter. The value must be in device units. Units for each
parameter are listed in the device manual.

If an error has occurred, word 1 of the response returns a value of
–31999, and word 3 contains a status code.

Example

In this example, a value of 4096 was sent to Parameter 20. 4096 is in
drive units and indicates a value of 100% Drive Rated Volts, as
defined in P147, Drive Rated Volts.

Data File Format

For parameter values greater than 32,767, you may need to enter the value in hexadecimal.

* Example only — These values vary depending on parameters and products.

Header Word 1

Data Word 2

PLC Request

Message Length

PLC Decimal Value

–31999

Parameter Number

Drive Response

4

Data Word 3

Parameter Data

Header

Word 0

Header

Word 1

Data

Word 2

Message Length

PLC Decimal Value

769 — Message OK

–31999 — Message Error

Parameter Number

4

Data

Word 3

0 or Error Code

Header Word 0

0

1

2

3

4

5

6

7

8

9

PLC request

4

–31999

20*

4096*

Drive response

4

769

20*

0*

Advertising