FailureCodeThe Failure Code is set when an error occurs with the reader. The following is a table of Failure Codes:Failure Code Name0×01 Input Failure0×02 Communications Failure0×04 Reader Failure0×08 Software Error0×10 Remote FailureLastItemSeqNumberThe Last Item Sequence Number is written with the Item Sequence Number by the Originator (PLC) to acknowledge thereceipt of the Item Data. If fragmentation is used, this value is not written until the complete message is received.LastItemDataSizeThe Last Item Data Size is the total size of the Item Data that is currently contained as a valid message in the LastItemDataarray. This data is updated at the exact same time as when the LastItemSeqNumber increments, when a new item has beencompletely received, even if it took multiple packets to transfer in 128 byte fragments.LastItemDataLastItemData is the 4096 byte array that contains the last full message transferred by the ABR to the PLC. This array isupdated at the same time as LastItemDataSize and LastItemSeqNumber, after all fragments of the message have been re-assembled in the AOI. It might not always be the latest result message generated by the ABR if the PLC has fallen behindand the ABR is buffering multiple results waiting to finish sending them to the PLC. Only the bytes that fall within the size ofthe LastItemDataSize are overwritten, so there could also be old data left in the upper array addresses when a shortermessage arrives than the previous message.8.3 Modbus/TCPThe Modbus/TCP protocol provides device information using register and coil banks defined by the ABR.This section defines the register and coil banks. By specification, Modbus/TCP uses TCP port 502. The ABR functions as aModbus/TCP Client, so the host controller (usually a PLC) must act as a Server.The following registers are used to send values back and forth from the barcode reader to the PLC. ABR series reader read-only output data messages are written to Holding Registers (40000) using Modbus function code 16 (Preset MultipleRegisters). The ABR Input Bits are read every 50 milliseconds from the PLC as Inputs (10000) using Modbus function code02 (Read Input Status). The state of the ABR Output Bits are written to the PLC on Coils (00000) using Modbus functioncode 05 (Write Single Coil).Modbus Function Codes Used02: Read Input Status05: Force Single Coil16: Preset Multiple RegistersTable 5: ABR Input Bits (10001–10008)02: Read Input StatusRegister ABR Input Bit Position10001 Input Bit 010002 Input Bit 110003 Input Bit 210004 Input Bit 310005 Input Bit 4ABR 3000 Series Barcode Readerwww.bannerengineering.com - Tel: + 1 888 373 6767 67