Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011
85
RSLogix 5000 Code Examples
Chapter 9
Example Results
When successful, the results shown in the input image table show ChError = 0
and the Command number =44.
If you try to lock the DSFID on an RFID tag already locked, the ChError will be
equal to 8.
Read Byte Command
The Read Byte command reads a user-specified number of bytes from a tag,
starting at a user-specified address. An Option Flag can be set to return the
UUID of the tag. The maximum number of bytes that can be read at a time is
160 bytes using option flag 0, and 152 bytes using option flag 1.
• Option Flag 0
– Returns the specified user data. Set
xx:O.Channel[0].Data[0] = 0.
• Option Flag 1
– Returns the UUID of the RFID tag and the specified
user data. Set xx:O.Channel[0].Data[0] = 1.
Set the following values in the output image table:
a. xx:O.Channel[0].Command = 4
b. xx:O.Channel[0].Address = starting address to read
c. xx:O.Channel[0].BlockSize = 0
d. xx:O.Channel[0].Data[0] = Option Flag
e. xx:O.Channel[0].Length = the number of bytes to read
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
This command operates only on the first tag in the field.
Note that Data[1] must also be set to 0.
Содержание 56RF
Страница 1: ...RFID Systems Bulletin Number 56RF User Manual...
Страница 6: ...6 Rockwell Automation Publication 56RF UM001A EN P October 2011 Table of Contents Notes...
Страница 12: ...12 Rockwell Automation Publication 56RF UM001A EN P October 2011 Chapter 1 Introduction Notes...
Страница 34: ...34 Rockwell Automation Publication 56RF UM001A EN P October 2011 Chapter 3 Electrical Installation Notes...
Страница 48: ...48 Rockwell Automation Publication 56RF UM001A EN P October 2011 Chapter 5 Mechanical Installation Notes...
Страница 112: ...112 Rockwell Automation Publication 56RF UM001A EN P October 2011 Chapter 10 SLC Code Examples Notes...
Страница 118: ...118 Rockwell Automation Publication 56RF UM001A EN P October 2011 Chapter 11 MicroLogix 1400 Code Examples Notes...
Страница 148: ...148 Rockwell Automation Publication 56RF UM001A EN P October 2011 Appendix B CIP Information Notes...
Страница 152: ...152 Rockwell Automation Publication 56RF UM001A EN P October 2011 Appendix C Install the AOP Add On Profile Notes...
Страница 155: ......