Example ladder logic rung, Explanation of source and destination data, Using explicit messaging 6-11 – Rockwell Automation 1203-EN1 EtherNet/IP-to-SCANport Module User Manual

Page 75

Advertising
background image

Using Explicit Messaging

6-11

Example Ladder Logic Rung

Figure 6.9 Example Get Attributes Scattered Message

Explanation of Source and Destination Data

The data structures in

Figure 6.10

uses 16-bit words and can get up to 40

parameters in a single message. In the Response Message, a parameter
number with the high bit set indicates that the associated parameter value
field contains an error code.

Figure 6.10 Data Structures for Get Scattered Attributes Messages

Reads a scattered group of parameters (not a contiguous block).

17

PerformScatteredRead

EN

DN

ER

Type - CIP Generic

Message Control

ScatteredReadMessage ...

MSG

Reads a scattered group of parameters (not a contiguous block).

Request (Source Data)

Response (Destination Data)

Word 0 Parameter Number

Word 0 Parameter Number

1 Pad Word

1 Parameter Value

2 Parameter Number

2 Parameter Number

3 Pad Word

3 Parameter Value

4 Parameter Number

4 Parameter Number

5 Pad Word

5 Parameter Value

6 Parameter Number

6 Parameter Number

7 Pad Word

7 Parameter Value

8 Parameter Number

8 Parameter Number

9 Pad Word

9 Parameter Value

10 Parameter Number

10 Parameter Number

11 Pad Word

11 Parameter Value

...

...

Advertising