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

Page 102

Advertising
background image

102

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

Chapter 9

RSLogix 5000 Code Examples

Example Routine

In the example routine below, the initialization in Rung 1 sets the address, length,
and block size values used to write multiple blocks and sets the command value to
0. The BlockSize, Reset, Timeout, UIDLow, and UIDHi are set to 0 in the
output image table.

Example Results

The figure below shows the output image table with the data that will be written
(a simple numeric sequence starting at 2). Two blocks of 8 bytes each will be
written to the tag. The data will be written to address locations 3 and 4.

Advertising