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

Page 78

Advertising
background image

6-14

Using Explicit Messaging

Example Ladder Logic Rung

Figure 6.13 Example Set Attributes Scattered Message

Explanation of Source and Destination Data

The data structures in

Figure 6.14

use 16-bit words and can set up to 40

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

Figure 6.14 Data Structures for Set Attributes Scattered Messages

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

18

PerformScatteredWrite

EN

DN

ER

Type - CIP Generic

Message Control

ScatteredWriteMessage ...

MSG

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

Request (Source Data)

Response (Destination Data)

Word 0 Parameter Number

Word 0 Parameter Number

1 Parameter Value

1 Pad Word or Error Code

2 Parameter Number

2 Parameter Number

3 Parameter Value

3 Pad Word or Error Code

4 Parameter Number

4 Parameter Number

5 Parameter Value

5 Pad Word or Error Code

6 Parameter Number

6 Parameter Number

7 Parameter Value

7 Pad Word or Error Code

8 Parameter Number

8 Parameter Number

9 Parameter Value

9 Pad Word or Error Code

10 Parameter Number

10 Parameter Number

11 Parameter Value

11 Pad Word or Error Code

...

...

Advertising