Example, Scattered parameter link read – Rockwell Automation 1336T ControlNet Frn1.02 Rev 1.5 User Manual

Page 80

Advertising
background image

4–38

Using Unscheduled Messaging

Publication 1336 FORCE–5.18 ––March, 1999

The corresponding source parameters are returned through the PMR
response.

If an error has occurred in reading any of the links:

Word 2 of the PMR returns a value of -32763.

Bit 15 of the PMR word for the number of that link is set, making
the value negative.

Example

In this example, a Scattered Parameter Link Read of four links was
requested through the PMW. Sink parameters 119 through 367 and
401 were defined as the desired links to be read. The PMR returned
the corresponding source parameter values in the words reserved for
this information. If an error had occurred for a specific link, the
value returned would be negative.

1

0

2

3

4

5

6

7

8

9

PLC MSG
Write File

Data Format

N7:10

4

119

5

0

368

0

367

0

401

12

N7:20

0

PLC MSG
Read File

N7:90

4

119

5

0

368

331

367

330

401

Sink

Source

Sink

Source

0

N7:100

0

Scattered Parameter Link Read

(continued)

Advertising