Example routine, Example results – Rockwell Automation 56RF RFID System User Manual User Manual
Page 81
Advertising
![background image](/manuals/577010/81/background.png)
Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011
81
RSLogix 5000 Code Examples
Chapter 9
Example Routine
In the example routine below, the initialization in Rung 1 sets the address, length,
the Data[0, UIDLow and UIDHi values used to lock the AFI and sets the
command value to 0. The BlockSize, Reset, and Timeout are set to 0 in the
output image table.
Example Results
The following figure shows an example of results on the input image table. The
Command is showing 42 and the ChError is showing 0. The input data bytes are
all zero.
Errors
The following ChErrors will be generated:
•
0 – AFI was successfully locked.
•
4 – A tag with the wrong UUID entered the RF field.
•
8 – A tag that has already been locked entered the RF field.
Advertising