90
Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011
Chapter 9
RSLogix 5000 Code Examples
Example Results
The input image data fields are populated with the number of tags, followed by
the UUID and block data of each tag.
In the example below, four Cat. No. 56RF-TG-30 RFID tags were read. These
tags hold 4 bytes per block. Since two blocks (25 and 26) were read, a total of
eight data fields are used to store the user data. The figure only shows the
information from two of the four RFID tags.
Read Multiple Blocks
The Read Multiple Blocks command reads multiple blocks of user data from an
RFID tag. Option Flags can be set to return just the data in the blocks or return
the data and the security status for each block of data. The maximum number of
blocks that can be read at one time is 10.
• Option Flag 0
– Returns multiple blocks of user data. Set
xx:O.Channel[0].Data[0] = 0.
• Option Flag 1
– Returns multiple blocks of user data and the security
status of each block. Set xx:O.Channel[0].Data[0] = 1.
Set the following values in the output image table:
a. xx:O.Channel[0].Command = 2
b. xx:O.Channel[0].Address = the first block to read
c. xx:O.Channel[0].BlockSize = 0
d. xx:O.Channel[0].Data[0] = the Option Flag
e. xx:O.Channel[0].Length = the number of blocks to read
f. xx:O.Channel[0].Reset = 0
g. xx:O.Channel[0].Timeout = 0
h. xx:O.Channel[0].UIDLow = 0 (or UIDLow)
i. xx:O.Channel[0].UIDHi = 0 (or UIDHi)
Содержание 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: ......