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

Page 100

Advertising
background image

100

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 Data[0] values used to read 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.

The example ladder diagram is initially set for Address =0, the Length = 0.
Data[0] is set to the DSFID value.

Example Results

The command is executed successfully if the ChError =0, the Command value =
43 and all the Data bytes are 0.

Use the Get System Information command or the Inventory command to read
the DSFID.

Advertising