User's Manual

88 Rockwell Automation Publication 56RF-UM001D-EN-P - November 2021
Chapter 9 RSLogix 5000 Code Examples
Read Transceiver Settings The Read Transceiver Settings command retrieves the following information
from the transceiver:
Device ID
Communication rate
•Retry time
•Gain
Set the following values in the output image table:
a. xx:O.Channel[0].Command = 31
b. xx:O.Channel[0].Address = 0
c. xx:O.Channel[0].BlockSize = 0
d. xx:O.Channel[0].Data[0] = 0
e. xx:O.Channel[0].Length = 0
f. xx:O.Channel[0].Reset = 0
g. xx:O.Channel[0].Timeout = 0
h. xx:O.Channel[0].UIDLow = 0
i. xx:O.Channel[0].UIDHi = 0
Example Routine
In the following example routine, the initialization in Rung 1 sets the address,
length, data, and command. Because the address, length and Data[0] can only
be 0, the source in the MOV instruction can be set to 0. The UIDLow, UIDHi,
BlockSize, Reset, and Timeout are set to 0 in the output image table.