Example, Scattered parameter link read – Rockwell Automation 1336T PLC Comm. Adapter, Series B, FRN 2.xx-3.xx User Manual

Page 179

Advertising
background image

7–33

Publication 1336 FORCE–5.13 –– September, 1998

The corresponding source parameters are returned through the BTR
response.

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

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

Bit 15 of the BTR 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 BTW. Sink parameters 119 through 367 and
401 were defined as the desired links to be read. The BTR 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

BTW
Data File

Data Format

N10:10

4

119

5

0

368

0

367

0

401

12

N10:20

0

BTW
Data File

N10:90

4

119

5

0

368

331

367

330

401

Sink

Source

Sink

Source

0

N10:100

0

Scattered Parameter Link Read

(continued)

Advertising