The text of a manual · part 15 of 17
2-D Hand-Held Bar Code Scanners (Cat. No. 2755-HTG-4) Bar Code Programming Guide, pages 141 to 150
Pages 141 to 150 of 165
The original document is the PDF (1.0 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the Allen-Bradley 2755-HFC-SA1 and Allen-Bradley 2755-HFC-SP2
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
Downloaded from www.Manualslib.com manuals search engine
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
Downloaded from www.Manualslib.com manuals search engine
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
Downloaded from www.Manualslib.com manuals search engine
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
Downloaded from www.Manualslib.com manuals search engine
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
Downloaded from www.Manualslib.com manuals search engine
Page 146
Appendix
E
PLC-5 Controller Application This appendix describes how to configure and operate the scanner when connected to a PLC-5 controller.
!
ATTENTION: Do not install the RS-232 Synapse cable with power applied to either the Synapse cable or PLC controller. Failure to follow this caution may result in damage to the scanner, Synapse cable, or PLC.
For additional reference you should refer to the following publications: • PLC-5 User Manual • 6200 Series Programming Software User Manual
Publication 2755-6.7
Downloaded from www.Manualslib.com manuals search engine
Page 147
E–2
PLC-5 Controller Application
Hardware Connections The scanner connects to the Channel 0 port of the PLC with an RS-232 Synapse cable (Catalog No. 2755-HFC-SR2-01). The connections are shown in the scanner user manual (Publication 2755-6.2).
Scanner Power Supply
Scanner Cable
RS-232 Synapse Cable (2755-HFC-SR2-01) Note: The power supply should be connected last.
PLC-5
To Channel 0 Port
Scanner Configuration Configure the scanner using the bar codes described in Chapter 1. The PLC 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
Downloaded from www.Manualslib.com manuals search engine
Page 148
PLC-5 Controller Application
E–3
Configuration Codes for PLC Application 1. After making the necessary connections, scan the following following bar code symbol to set the scanner to its default settings.
Set Scanner Defaults
2. Set the RS-232 Synapse cable to defaults by scanning this label.
Set RS-232 Synapse Cable Defaults
3. 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
Downloaded from www.Manualslib.com manuals search engine
Page 149
E–4
PLC-5 Controller Application
4. Send the data then the suffix by scanning these labels.
Scan this Symbol First
Send <Data> <Suffix>
Scan Enter after Scanning Option
5. The cable defaults will work with the PLC-5. Your application may have specific requirements. Chapter 3 lists the settings that can be modified. If you change a communication setting, make sure the PLC controller is configured to accept the change.
Publication 2755-6.7
Downloaded from www.Manualslib.com manuals search engine
Page 150
PLC-5 Controller Application
E–5
PLC-5 Setup You will need to configure the Channel 0 port of the PLC-5. Refer to the 6200 Series Programming Software user manual and the following instructions. 1. Set the PLC-5 Channel 0 to User in the Channel 0 Configuration screen.
Publication 2755-6.7
Downloaded from www.Manualslib.com manuals search engine