beautypg.com

Rockwell Automation 1203-SM1 SLC to SCANport Communication Module User Manual

Page 90

background image

SCANport Messaging

B–24

Publication 1203–5.9 –– October 1996

Figure B.17 shows a Scattered Read request. This example reads the
values of three parameters.

N10:4 contains the length of the data in bytes (three parameters
require 12 bytes). A pair of words are required for each parameter
being read (starting at N10:5). The first word of each pair is the
parameter number. The second word is a place holder.

The response message (N11 file) has the same structure as the
request message with a few changes. If an error occurred while
reading one of the parameters, the high bit of that parameter number
is set and the second word of the pair contains an error code. If the
high bit of the parameter number is not set, the second word of the
pair contains the parameter value.

Figure B.17
Example of Scattered Read

address 0 1 2 3 4 5 6 7 8 9
N10:0 0032 0093 0000 0000 000c 0001 0000 0002 0000 0003
N10:10 0000

address 0 1 2 3 4 5 6 7 8 9
N11:0 0032 0093 0000 0000 000c 0001 0078 0002 0000 0003
N11:10 0000