Barcode Scanners Communication
To AutomationDirect PLCs via RS232
To allow the Code barcode readers to communicate to the AutomationDirect PLCs, you must rst set
up the scanner. With the scanner powered up, scan the column of code that correlates with the reader’s part number.
User will need to select the baud rate, number of data bits, parity, and stop bits and set up RS232
connection through the selected PLC software.
USB Connections (CRA-500-C298, CRA-C508-C298)
RS232 Connections (CRA-501-C298, CRA-C502-C298)
5VDC
TX
RX
0VDC
DB9 to RJ12 (CRA-519-C298)
Code Handheld Scanner Supplemental Programming Manual - 1
CR950/CR1100 Configuration Codes
Conguration changes will take effect immediately and be saved to memory
Reset and Reboot
Note: When a Factory Reset is performed, a Reboot will be necessary.
Factory Reset Reboot Reader
1A
Baud Rate
RS232 Interface
2A
1200 Baud Rate
Reset to RS232
1B
Factory Defaults
RS232 Interface
2B
2400 Baud Rate
1C 1D
2C 2D
RS232 Interface
4800 Baud Rate
Enable RS232
Serial Mode
(Default)
RS232 Interface
9600 Baud Rate
RS232 Interface
3A
19200 Baud Rate
Additional conguration codes can be found in the conguration guides as follows:
CR950 https://www.automationdirect.com/pn/doc/manual/CR950-K301-C298
CR1100 https://www.automationdirect.com/pn/doc/manual/CR1100-K201-C298
Code Handheld Scanner Supplemental Programming Manual - 2
RS232 Interface
3B
38400 Baud Rate
3C 3D
RS232 Interface
57600 Baud Rate
RS232 Interface
115200 Baud Rate
(Default)
CR950/CR1100 Configuration Codes (continued)
Conguration changes will take effect immediately and be saved to memory
Data Bits
RS232 Interface
4A
7 Data Bits
Parity
RS232 Interface
5A
Even Parity
RS232 Interface
4B
8 Data Bits
(Default)
RS232 Interface
5B
No Parity
Stop Bit
RS232 Interface
4C
1 Stop Bit
(Default)
RS232 Interface
5C
Odd Parity
RS232 Interface
4D
2 Stop Bit
Sufx
Sufx Carriage
6A
Return
(RS232 Mode Only)
Additional conguration codes can be found in the conguration guides as follows:
CR950 https://www.automationdirect.com/pn/doc/manual/CR950-K301-C298
CR1100 https://www.automationdirect.com/pn/doc/manual/CR1100-K201-C298
Code Handheld Scanner Supplemental Programming Manual - 3
Sufx Carriage Return
6B
Line Feed
(RS232 Mode Only)
(Default)
Sufx Line Feed
6C
(RS232 Mode Only)
Erase Sufx Data
6C
CR6022 Series Configuration Codes
Conguration changes will take effect immediately and be saved to memory
Reset and Reboot
Reset to RS232
7A
Factory Defaults
Baud Rate
RS232 Interface
8A
1200 Baud Rate
Reset to USB
7B
Factory Defaults
RS232 Interface
8B
2400 Baud Rate
Reboot Reader
7C
RS232 Interface
8C
4800 Baud Rate
Note: When a
Factory Reset is
performed, a Reboot
will be necessary.
RS232 Interface
8D
9600 Baud Rate
RS232 Interface
9A
19200 Baud Rate
Additional conguration codes can be found in the conguration guide as follows:
CR6022 https://www.automationdirect.com/pn/doc/manual/CR6022-C500-C298
Code Handheld Scanner Supplemental Programming Manual - 4
RS232 Interface
9B
38400 Baud Rate
RS232 Interface
9C
57600 Baud Rate
RS232 Interface
9D
115200 Baud Rate
(Default)
CR6022 Series Configuration Codes (continued)
Conguration changes will take effect immediately and be saved to memory
Data Bits
RS232 Interface
10A
7 Data Bits
Parity
RS232 Interface
11A
Even Parity
RS232 Interface
10B
8 Data Bits
(Default)
11B
RS232 Interface
Odd Parity
Stop Bit
RS232 Interface
10C
11C
Stop Bit 1
(Default)
RS232 Interface
No Parity
(Default)
RS232 Interface
10D
Stop Bit 2
Sufx
Sufx Carriage Return
12A
(RS232 Mode Only)
Additional conguration codes can be found in the conguration guide as follows:
CR6022 https://www.automationdirect.com/pn/doc/manual/CR6022-C500-C298
12B
Code Handheld Scanner Supplemental Programming Manual - 5
Sufx Carriage Return
Line Feed
(RS232 Mode Only)
Sufx Line Feed
12C
(RS232 Mode Only)
Erase Sufx Data
12D
(Default)
Productivity PLC Example
The Productivity PLC ASCII Input Task handles the ASCII input received at the RS-232 port of the
CPU. This example assumes the ASCII sending device is terminating each message with a carriage
return (0xD)
The Serial Port needs to be set up. This example assumes Baud Rate = 9600, Parity = Odd,
Data Bits = 8, and Stop Bits = 1, but any conguration can work.
Code Handheld Scanner Supplemental Programming Manual - 6