Rockwell Automation 56RF RFID System User Manual User Manual

Page 66

Advertising
background image

66

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

Chapter 8

Commands Summary

Write
Multiple
Blocks

Writes multiple blocks of user data to an FRAM tag

Command = 11
Length = Number of bytes (multiple of 8)
BlockSize = Block size
Data[0-3] = User data (8 bytes)

All data bytes are zero

Write AFI

Writes 1 byte of information into the Application Family
Identifier (AFI) area contained within block -2

Command = 41
Length = 1
Data[0] = 00xx

All data bytes are zero

Lock AFI

Locks the 1 byte of information for the AFI area, preventing it
from being modified

Command = 42
UIDLow = UIDLow
UIDHi = UIDHi

All data bytes are zero

Write DSFID

Writes 1 byte of information in the DSFID area

Command = 43
Length = 1
Data[0] = 00xx

All data bytes are zero

Lock DSFID

Locks the 1 byte of information for the DSFID area, preventing
it from being modified

Command = 44
UIDLow = UIDLow
UIDHi = UIDHi
Data[0] = 00xx

All data bytes are zero

Get System
Information

Returns the following system information of the tag:
Info_Flags
UUID
DSFID
AFI
Memory Size (Max Block Number +1 * Max Byte per Block
+1)
IC Reference

Command = 34

Data[0] = Info_Flag
Data[2] = DSFID
Data[4] = AFI
Data[6-13] = UUID
Data[14] = Max Block Number Data[15] = Max Byte
Number in Block
Data[16] = IC Ref

Get Multiple
Block Security
Status

Retrieves the security status of multiple blocks within a tag

Command = 45
Length = Number of blocks

Data[0…7] = UUID
Data[8] = Security status of block x
Data[10] = Security status of block x+1

Read Byte

Option Flag 0
Reads bytes of user data from a tag

Command = 4
Address = Starting byte
Length = Number of bytes to read
Data[0] = 0

Data[0…] = User data

Option Flag 1
Reads the UUID from a tag
Reads bytes of user data from a tag

Command = 4
Address = Starting byte
Length = Number of bytes to read
Data[0] = 1

Data[0…7] = UUID
Data[8…] = User data

Write Byte

Writes bytes of user data to a tag

Command = 14
Address = Starting byte
Length = Number of bytes to write
Data[0] = Start of User data

Data[0…7] = UUID

Clear Multiple
Bytes

Clears multiple bytes of user data in a tag

Command = 13
Address = Starting byte
Length = Number of bytes to clear
Data[0] = Cleared byte value

All data bytes are the cleared byte value

Multi-Tag
Block Read

Reads the following information from up to 4 tags in the field:
Number of tags
UUID
Multiple blocks of user data

Command = 3
Address = First block to read
Length = Number of blocks to read for each
tag

Data[0] = Number of tags
Data[2…9] = UUID of 1st tag
Data[10…*] = User data of 1st tag
Data[*…*] = UUID of 2nd tag
Data[*…*] = User data of 2nd tag

Multi-Tag
Block Write

Writes multiple blocks of user data to up to 4 tags in the field
Returns number of tags in the field
Retrieves UUID of tags

Command = 12
Length = Number of bytes to write to each tag
BlockSize = Block size
Data[0] = Block x
Data[4…7] = Block x+1

Data[0] = Number of tags
Data[2…9] = UUID of 1st tag
Data[10…17] = UUID of 2nd tag
Data[18…25] = UUID of 3rd tag
Data[26…33] = UUID of 4th tag

Read
Transceiver
Settings

Retrieves the following information from the transceiver:
Baud rate
Device ID
Retry time

Command = 31

Data[0…1] = Device ID
Data[2…5] = Baud rate
Data[6…7] = Retry setting
Data[8…9] = Gain

Get Version
Information

Retrieves the firmware version from the transceiver

Command = 33

Data = Firmware version

Advertising