Rockwell Automation 56RF RFID System User Manual User Manual

Page 63

Advertising
background image

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

63

RSLogix 5000 Controller Tags

Chapter 7

• Address

– The channel Address word is a 2-byte value that will contain

the address or block value within the RFID tag that the command will
execute on.

• BlockSize

– The channel BlockSize word is a 2-byte value that will store

the expected Block Size for the tag. Valid values are 0, 4, or 8 bytes per
block. A value of 0 will default to a Block Size of 4 bytes per block.

• Command

– The channel Command word is a 2-byte value that will store

the next command for the interface to process. The RFID interface will
execute the command once when this value changes. If a command must be
repeated then set the value to zero first and then change it again to the
desired command. Use a MOV or COP instruction to store the command
value in this tag.

• Data

– Depending on the Data Format, the channel Data word is either an

array of 2-byte values or an array of 1-byte values that total 112 bytes in
length per channel. This array is used to store information that will be
directed to the RFID interface. Some commands, such as reading, do not
require the use of this data field. Writing to tags will utilize this
information in conjunction with the length field to inform the RFID
interface what values it needs to write. The size of this word allows the
writing of up to 28 blocks of data to a tag at a time, with each block being
4-bytes in length.

• Length

– The channel length word is a 2-byte value that will indicate the

data length for specific commands. Upon completion of a command, this
word will be populated with the number of 16-bit words returned to the
data field; at power up this value must be 0.

Value

Command

Description

1

Read Single Block

Reads a single block of user data.

2

Read Multiple Blocks

Reads multiple blocks of user data from a tag.

3

Multi-tag Block Read

Reads information from up to four tags.

4

Read Byte

Reads bytes of user data from a tag.

5

Start Continuous Read

Initiates continuous read mode

6

Stop Continuous Read

Stops continuous read mode

8

Teach Continuous Read

Provides the ability to automatically set the best time to start
reading in continuous read mode.

10

Write SingleBlock

Writes a single block of user data.

11

Write Multiple Blocks

Writes multiple blocks of user data to a FRAM tag

12

Multi-tag Block Write

Writes multiple blocks of user data to up to four tags.

13

Clear Multiple Bytes

Clears multiple bytes of user data in a tag.

14

Write Byte

Writes bytes of data to a tag.

20

Inventory

Counts the number of blocks in the field (up to four) and
returns the UUID of the first tag in the field.

31

Read Transceiver Settings

Read Baud Rate, Device ID and Retry Time.

33

Get Version Information

Retrieves the firmware version from the transceiver.

34

Get System Information

Gets Info Flags,UUID, DSFID, AFI,Memory Size and IC Reference
from Tag

41

Write AFI

Write the AFI byte to the tag

42

Lock AFI

Locks the AFI byte from future changes.

43

Write DSFID

Writes the DSFID byte to the tag.

44

Lock DSFID

Locks the DSFID byte from future changes.

45

Get Multiple Block Security Status

Retrieves that security status of multiple blocks within a tag.

Advertising