Example routine – Rockwell Automation 56RF RFID System User Manual User Manual

Page 86

Advertising
background image

86

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

Chapter 9

RSLogix 5000 Code Examples

Example Routine

Below is example routine to read all the data and the UUID in a Cat. No.
56RF­TG-30 ICODE tag. This tag holds a maximum of 112 bytes of data.

In the example routine below, the initialization in Rung 1 sets the address, length,
the Data[0]to the Option Flag, and sets the command value to 0. The BlockSize,
Reset, Timeout, UIDLow, and UIDHi are set to 0 in the output image table.

Advertising