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

Page 76

Advertising
background image

76

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
data, the Data[0] value used to clear the fields and sets the command value to 0.
Because the address, length and data[0] can only be 0, the source in the MOV
instruction can be set to 0. The BlockSize, Reset, Timeout, UIDLow and UIDHi
are set to 0 in the output image table.

Example Results

The results are stored in Data [0…3]. In this example, the version is “de20007”.
(version 2.07).

Advertising