I have a sick scanner clv630 with CDM420(for ethernet interface) and would like to simply stop the machine if it reads a wrong barcode. in Clx, they defined the sick as eth module with input 101(200 bytes), output 100(200 bytes) then used BAR_CODE_SCANNER:I.Data[0] check if the barcode is good or bad. Is this possible with ML1200 using MSG with CIP generic? does anyone know how to get that bit?
quoting scuba n00b on the bit that i need is byte 0,bit 7 so i need N12:4/7 based on my MSG?
"byte 7 onwards, bit 7 in byte 0 is a good read, byte 3 is number of good reads and byte 6 is length of barcode read. Bit 2 in byte 1 is sensor 1 going high/low."
attached the sample clx found in old thread here http://www.plctalk.net/qanda/showthread.php?t=54273
quoting scuba n00b on the bit that i need is byte 0,bit 7 so i need N12:4/7 based on my MSG?
"byte 7 onwards, bit 7 in byte 0 is a good read, byte 3 is number of good reads and byte 6 is length of barcode read. Bit 2 in byte 1 is sensor 1 going high/low."
attached the sample clx found in old thread here http://www.plctalk.net/qanda/showthread.php?t=54273