Rockwell Automation 1779-KP3R DATA HIGHWAY II User Manual

Page 53

Advertising
background image

Programming

Chapter 3

3Ć18

Examples 3 and 4 show how to use the TMOVE command to move
immediate blocks. For both examples, assume there are two nodes, both
KP3s. The local node is 010, and the remote node is 020.

Example 3

Local: TMOVE FROM $B5:0,21TO &1
Remote: TMOVE FROM :010&1 TO $I5:0,21

Explanation:

0

1

2

3

4

5

6

7

Local KP3 updates block 1

Remote KP3 reads in block 1

11017-I

Example 4

Local: TMOVE FROM :020&6 to $B5:0,21
Remote: TMOVE FROM $I5:0,21 TO &6

Explanation:

0

1

2

3

4

5

6

7

Local KP3 reads

immediate block 6

Remote KP3 updates block 6

11018-I

A single immediate access block is up to 42 bytes in length.

Important: The KP3 will return error code 19 (decimal) if a node
attempts to read the immediate access block while it is being updated (or
before it has been updated). Error code 19 is NAK – inactive lsap. See
Appendix B, Error Codes, for more information

Advertising
This manual is related to the following products: