The text of a manual · part 17 of 21
Hand-Held Decoded Bar Code Scanners (Cat. No. 2755-HDG-4) Bar Code Programming Guide: C - SLC 5/03, 5/04 Controller Application
Pages 115 to 121 of 146, from Hand-Held Decoded Bar Code Scanners (Cat. No. 2755-HDG-4) Bar Code Programming Guide
The original document is the PDF (615 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 115
Appendix
C
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.5
Page 116
C–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 Cable
Power Supply
Scanner
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.5
Page 117
SLC 5/03, 5/04 Controller Application
C–3
Configuration Codes for SLC Application 1. After making the necessary connections, scan the following symbols to set up the scanner for use with the scanner emulation cable.
Scan this Symbol First then
Set Scanner for Synapse Cable Operation then
Enable Synapse Cable Communication
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.5
Page 118
C–4
SLC 5/03, 5/04 Controller Application
3. Send the data then the suffix by scanning this label.
Send Data then Suffix
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.5
Page 119
SLC 5/03, 5/04 Controller Application
C–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.5
Page 120
C–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.5
Page 121
SLC 5/03, 5/04 Controller Application
C–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.5