APPENDIX B
344
AV500/AV900 2D CAMERA
If this logic is not implemented correctly the Input data registers “Bar Code Data” will
contain the data from the first read cycle after the reader boots. The Not Equal To
instruction check for new data to bar code data must be available. When new data is
available (output register is not equal to input) the rung is executed.
The Copy File instruction copies the bar code data to a program tag. Note that in this
example the instruction moves a fixed 10 registers (10 registers will contain 20 ASCII
characters).
The Move instruction mov
es the sequence number from the input registers to the out-
put register. This lets the reader know the PLC is read
y for the data from the next read
cycle.
On-Demand Messaging (ControlLogix)
On-Demand messaging provides another option for transferring bar code data to your
ControlLogix processor. With on-demand messaging, the data transfer occurs as soon as
the bar code data is available, not as the result of constant messaging at a scheduled
interval.
For On-Demand messaging follow these steps:
1. To enable the camera, select the check-box Enable Contro
lLogix On-Demand
Messaging from the Ethernet/IP page within e-Genius.