Rockwell Automation 56RF RFID System User Manual User Manual
Page 114

114
Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011
Chapter 11
MicroLogix 1400 Code Examples
• Rung 0002:
Write Output Image. Double-click the MSG box to enter the
setup screen. Output size is 124 bytes (62 words). Click on the MultiHop
tab to set up an EtherNet/IP Device.
• Rung 0003:
The Tag Present bit will be highlighted in green when a tag is
present. When a tag is present, clear the command value.
• Rung 0004:
When the command value has been cleared, load in the
instruction parameters contained in N104 (Read Byte). N101 (Read
Single Block) could be used in place of N104.
• Rung 0005:
Wait for the read command to run. The Read in Progress bit
will be highlighted in green when the command is running. When the
command has completed, the Read in Progress bit will return to its
original state. When the command has been executed and completed, copy
the data read into N100.
• Rung 0006:
If there was an error with the operation, then N100:0 will
contain the error code.