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

Page 184

Advertising
background image

7–38

Publication 1336 FORCE–5.13 –– September, 1998

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 BTR 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 BTR contains
a value of -32763.

Example

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

1

0

N10:0

2

3

4

5

6

7

8

9

N10:20

BTW
Data File

Data Format

4

387

11

331

-32763

146

388

168

367

330

368

N10:90

N10:100

BTR
Data File

4

387

0

0

5

0

388

0

367

0

368

Scattered Parameter Link Write

(continued)

Advertising