Rockwell-automation 56RF RFID System User Manual User Manual Page 106

  • Download
  • Add to my manuals
  • Print
  • Page
    / 156
  • Table of contents
  • TROUBLESHOOTING
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 105
106 Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011
Chapter 9 RSLogix 5000 Code Examples
Write Single Block
The Write Single Block command writes a single block of user data to an
RFIDtag.
Set the following values in the output image table:
a. xx:O.Channel[0].Command = 10
b. xx:O.Channel[0].Address = starting address to write
c. xx:O.Channel[0].BlockSize = 0, 4, or 8
d. xx:O.Channel[0].Data[0…112] = data to write
e. xx:O.Channel[0].Length = 0, 4, or 8
f. xx:O.Channel[0].BlockSize = 0, 4, or 8
g. xx:O.Channel[0].Reset = 0
h. xx:O.Channel[0].Timeout = 0
i. xx:O.Channel[0].UIDLow = 0 (or UIDLow)
j. xx:O.Channel[0].UIDHi = 0 (or UIDHi)
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.
The Length and Block Size fields are 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.
Page view 105
1 2 ... 101 102 103 104 105 106 107 108 109 110 111 ... 155 156

Comments to this Manuals

No comments