104
Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011
Chapter 9
RSLogix 5000 Code Examples
If UIDLow and UIDHi are set to 0, this command will operate on the first tag 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.
Note:
Length must be in 4-byte increments (e.g., 4, 8, 12…) for ISO15693 tags or
8-byte increments (e.g., 8, 16, 24…) for FRAM tags.
Note:
The BlockSize field is used to specify the number of bytes/block of the tag.
Valid values are:
•
0 = 4 bytes/block
•
4 = 4 bytes/block
•
8 = 8 bytes/block
Typically, ISO15693 tags have a block size of 4 bytes/block, and FRAM tags have
a block size of 8 bytes/block.
Example Routine
In the example below, data will be written to two blocks, starting with Block 3.
The data is loaded into the output channel image table. Block three will be
populated with Data[0…3] = 11, 13, 15 and 17. Block 4 will be populated with
Data[4…7] = 19, 21, 23, 25.