Rockwell Automation 1203-CN1 ControlNet Communications Module 1203-CN1 User Manual

Page 131

Advertising
background image

Publication 1203-5.13 – February, 2002

Supported Emulated Block Transfer Commands: Scattered Parameter Value Write

F-13

Message Operation

Scattered Parameter Value Write writes data values to a pre-
defined group of device parameters in any order. You define the
number of parameters to write in word 2. The parameters to be
written to and their order are defined starting with word 3.

If an error occurs while writing to any of the parameters:

Word 1 of the drive response returns a value of -32765.

Bit 15 of the drive response word for that parameter’s number is
set.

The drive response word for that parameter’s status word is
non-zero.

If no error has occurred:

Word 1 of the drive response returns a value of 3.

Each of the drive response’s parameter numbers are the same as
in the request.

Each of the drive response status words returns a value of 0.

Example

In this example, six parameters were written to in a 1336 PLUS drive.
Word 2 of the request defines the number of parameter values that are
transferred. Beginning with word 3, the message lists each parameter
number followed by the value of the parameter. The values are
entered in device units.

The drive response returns the status of each parameter write. If the
request was successful, a zero is returned. If an error has occurred, the
response returns a status word code for the error.

Data File Format

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

0

1

2

3

4

5

6

7

8

9

PLC request

15

-32765

6*

90*

1*

150*

4*

30*

20*

31*

10*

10*

2*

12*

5*

Drive response

15

3

6*

90*

0*

150*

0*

30*

0*

31*

0*

10*

0*

12*

0*

Advertising