78
Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011
Chapter 9
RSLogix 5000 Code Examples
Example Routine
In the example routine below, the initialization in Rung 1 sets the address, length
data, the Data[0] value used to clear the fields and sets the command value to 0.
The BlockSize, Reset, Timeout, UIDLow and UIDHi are set to 0 in the output
image table.
The example ladder diagram is initially set for Address =0, Length = 0 and
Data[0] = 0. These values are then changed to get obtain example results for the
three versions of the Inventory command.
Example Results
In example 1, the Address = 0, Length = 0 and Data[0] = 0. Four RFID tags were
in the RF field at the time the read command was executed. The controller tag
values are shown below. The data shows the number of tags in the RF field and
the UUID for each tag.