Multi-tag block read – Rockwell Automation 56RF RFID System User Manual User Manual

Page 88

Advertising
background image

88

Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011

Chapter 9

RSLogix 5000 Code Examples

Multi-Tag Block Read

The Multi-Tag Block Read command reads multiple blocks of user data from
multiple tags in the RF field. The transceiver automatically determines the block
size. All RFID tags in the field should have the same block size.

This command can read up to four tags. Adequate time must be allowed to read
all the tags in the RF field.

Set the following values in the output image table:

a. xx:O.Channel[0].Command = 3
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] = 0
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)

Unless a UUID is specified, this command will operate on the first four tags in
the field. Specify a UUID in xx:O.Channel[0].UIDLow and
xx:O.Channel[0].UIDHi to perform the command on a specific tag.

Advertising