The text of a manual · part 18 of 21
2-D Hand-Held Bar Code Scanners (Cat. No. 2755-HTG-4) Bar Code Programming Guide: D - SLC 5/03, 5/04 Controller Application
Pages 139 to 145 of 165, from 2-D Hand-Held Bar Code Scanners (Cat. No. 2755-HTG-4) Bar Code Programming Guide
The original document is the PDF (683 KB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
Filed in the catalog under the Allen-Bradley 2755-DS
Page 139
Appendix
D
SLC 5/03, 5/04 Controller Application This appendix describes how to configure and operate the scanner when connected to an SLC 5/03, 5/04 controller.
!
ATTENTION: Do not install the RS-232 Synapse cable with power applied to either the Synapse cable or SLC controller. Failure to follow this caution may result in damage to the scanner, Synapse cable, or SLC.
For additional reference you should refer to the following publications: • Advanced Programming Software (APS) User Manual • Advanced Programming Software (APS) Reference Manual
Publication 2755-6.7
Page 140
D–2
SLC 5/03, 5/04 Controller Application
Hardware Connections The scanner connects to the Channel 0 port of the SLC with an RS-232 Synapse cable (Catalog No. 2755-HFC-SR2-01). Scanner Scanner Cable
Power Supply
RS-232 Synapse Cable (2755-HFC-SR3-01) Note: The power supply should be connected last. SLC 5/04
To Channel 0 Port
Channel 0
Scanner Configuration Configure the scanner using the bar codes described in Chapter 1. The SLC controller does not require any specific scanner configuration. However, you will need to configure the cable communication parameters as described on the next page. Publication 2755-6.7
Page 141
SLC 5/03, 5/04 Controller Application
D–3
Configuration Codes for SLC Application 1. After making the necessary connections, scan this symbol to set the scanner to its default settings.
Set Scanner Defaults
2. Set the bar code suffix to CR LF (ASCII equivalent 7013) by scanning the following labels.
Suffix
7
1
0
3
Publication 2755-6.7
Page 142
D–4
SLC 5/03, 5/04 Controller Application
3. Send the data then the suffix by scanning these labels.
Scan this Symbol First
Send <Data> <Suffix>
Scan Enter after Scanning Option
4. Set the RS-232 Synapse cable to defaults by scanning the following:
Set RS-232 Synapse Cable Defaults
5. The cable defaults will work with the SLC 5/03, 5/04. Your application may have specific requirements. Chapter 3 lists the settings that can be modified. If you change a communication setting, make sure the SLC controller is configured to accept the change.
Publication 2755-6.7
Page 143
SLC 5/03, 5/04 Controller Application
D–5
SLC 5/03, 5/04 Setup You will need to configure the SLC, refer to the user manuals and following instructions: 1. Set the SLC Channel 0 to User in the Channel 0 Configuration screen
Publication 2755-6.7
Page 144
D–6
SLC 5/03, 5/04 Controller Application
2. Configure Channel 0 in the Channel 0 User Mode Configuration screen.
Note that Termination 1 is set for \a or Line Feed [LF], and Termination 2 is set for \d or Carriage Return [CR]. These terminators, along with the ARL instruction in the SLC, allow you to read one message at a time with [CR] [LF] terminators.
Publication 2755-6.7
Page 145
SLC 5/03, 5/04 Controller Application
D–7
SLC Program The sample ladder logic listing below instructs the SLC 5/03 or 5/04 to: Rung 2:0 – Read one string of ASCII data terminated with a [CR] [LF].
Refer to the SLC 5/03 user manual for detailed information on using the SLC 5/03 or 5/04 programming software.
Publication 2755-6.7