CONCAT, MID and FIND: Taking a Barcode Apart and Building a Message From It

The barcode LHR3402 backslash PAX backslash 0000241 with each character numbered, and the FIND, MID and CONCAT operands that split and rebuild it

The scanner delivers LHR3402\PAX\0000241 to a ControlLogix 5580, 19 characters, and the routine that splits it has worked for eleven months. This morning one bag arrives with a label printed without separators, and the minor fault log picks up type 4, code 56. The routine keeps running. The message tag holds whatever it held last … Read more

Advertisement