Multi-tag block write – Rockwell Automation 56RF RFID System User Manual User Manual
Page 103

Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011
103
RSLogix 5000 Code Examples
Chapter 9
If the write multiple blocks command is executed properly, the input table image
results shows ChError = 0, Command = 11 and Data[0-xxx] =0.
Use the Read Multiple Block command (=2) to read the data.
Multi-Tag Block Write
The Write Multi-Tag Block command writes one or more blocks of user data to
multiple tags in the transceiver field. The maximum number tags in the RF field
is limited to four and all tags must have the same block size.
Set the following values in the output image table:
a. xx:O.Channel[0].Command = 12
b. xx:O.Channel[0].Address = starting address to write
c. xx:O.Channel[0].BlockSize = number of bytes/block
d. xx:O.Channel[0].Data[0…xxx] = data to write
e. xx:O.Channel[0].Length = number of blocks to write
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)