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

Page 85

Advertising
background image

4–43

Using Unscheduled Messaging

Publication 1336 FORCE–5.18 ––March, 1999

The links are then defined, followed by each sink’s corresponding
source in the remainder of the header message. You can define up to
30 scattered links with this function. If an incorrect link is defined,
the PMR response returns a negative value for the sink parameter,
followed by a status or error code.

If there is an error in the block transfer, word 2 of the PMR contains
a value of -32763.

Example

In this example, four scattered links were written to the drive as
defined in word 3 of the PMW. Words 4 and 5 (N7:3 and N7:4)
contain the first link with word 4 defining the sink parameter, and
word 5 the corresponding source. Words 6 and 7 (N7:5 and N7:6)
contain the next link, in the order of sink-to-source. The remaining
two links are contained in words 8 through 11 (N7:7-10). The PMR
responds with 0 in place of the source parameter to indicate a
successful link.

1

0

N7:0

2

3

4

5

6

7

8

9

N7:20

PLC MSG
Write File

Data Format

4

387

11

331

-32763

146

388

168

367

330

368

N7:90

N7:100

PLC MSG
Read File

4

387

0

0

5

0

388

0

367

0

368

Scattered Parameter Link Write

(continued)

Advertising