Rockwell Automation 1203 Serial Communications Module Series B User Manual

Page 53

Advertising
background image

5–5

Block Transfer Emulation Instructions

1203–5.5 September 1995

Message Operation

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

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

Word 2 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 2 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 3 of the request (N10:12) defines the number of
parameter values that are transferred. Each parameter number
followed by its value, are listed in the message beginning with word
4. The values are entered in device units.

The drive response (N10:90) 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

15

–32765

6*

10*

10*

2*

12*

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

15

3

6*

0*

10*

0*

90*

90*

12*

5*

0*

0*

1*

150*

0*

30*

0*

150*

4*

30*

20*

N10:90

N10:100

0

N10:0

N10:20

1

2

3

4

5

6

7

8

9

PLC request

Drive response

31*

31*

Advertising