The text of a manual · part 16 of 18
AtomScan+ Bar Code Readers User Manual (Cat. Nos. 2755-LS7-SA, 2755-LS7-SB, 2755-LS7-RA, 2755-LS7-RB, 2755-LS7-SBV, and 2755-LS7-RBV): E - Application Examples, pages 117 to 125
Pages 117 to 125 of 141, from AtomScan+ Bar Code Readers User Manual (Cat. Nos. 2755-LS7-SA, 2755-LS7-SB, 2755-LS7-RA, 2755-LS7-RB, 2755-LS7-SBV, and 2755-LS7-RBV)
The original document is the PDF (914 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.
For the Allen-Bradley 2755-LS7
Page 117
Appendix
E
Application Examples This appendix is designed to illustrate various applications for the AtomScan+ Bar Code Readers. Application examples include: • enhanced decoder • flexible interface module • SLC 5/03t and SLC 5/04t controllers • PLC-5R controller • DTAMt Plus DeviceNett Because of the variety of uses for this information, the user and those responsible for applying this information must satisfy themselves as to the acceptability of each application. In no event will Allen–Bradley Company be responsible or liable for indirect or consequential damages resulting from the use of application of this information. The examples shown in this appendix are intended solely to illustrate the principles of the readers and some of the methods used to apply them. Particularly because of the many requirements associated with any particular installation, Allen–Bradley Company cannot assume responsibility or liability for actual use based upon the illustrative uses and applications.
Enhanced Decoder
This application example describes how to configure and operate the readers when using an RS-232 cable connected to the AUX port of an Allen-Bradley Enhanced Decoder (Catalog No. 2755-DD/DS). This application example also provides configuration information for an Auxiliary Port Pass-Through application for the enhanced decoder.
!
ATTENTION: Do not install the RS-232 cable with power applied to either the interface box or enhanced decoder. Failure to follow this caution may result in damage to the reader, interface box, or enhanced decoder.
Refer to the Enhanced Decoder User Manual (Publication No. 2755-833) for additional information on the enhanced decoder.
Publication 2755-6.9
Page 118
E–2
Application Examples
Hardware Connections for AUX Port Pass-Through The interface box connects to an auxiliary port on the enhanced decoder with an RS-232 cable. Reader
Interface Box
Power Supply To Power Receptacle
To RS-232 Port
OR
RS-232 Cable
RS-232 Straight Through Cable
Personal Computer Enhanced Decoder
Configuration Codes for the AUX Port Pass-Through After making the necessary connections, set the reader to the settings in the table below to allow the reader to communicate with the enhanced decoder. Description
Menu Setting
Baud Rate
9600
Parity
Even
Stop Bits
One
Data Bits
8
Serial Command Setting
<Ka4,1,0,1>
Enhanced Decoder Setup for the AUX Port Pass-Through You need to configure the enhanced decoder. Follow the steps below or refer to the Enhanced Decoder User Manual (Publication No. 2755-833). 1. Select Aux Terminal Data Entry (Screen 8) from the Main menu. 2. Set Enable Keyboard Entry = Yes
Publication 2755-6.9
Page 119
Application Examples
E–3
3. Save and exit the configuration. 4. Move internal selector (jumper) to the data entry position on the system board (B-5, B-6). 5. See Chapter 13 of Enhanced Decoder User Manual (Publication No. 2755-833) for additional information.
Flexible Interface Module
This application example describes how to configure and operate the readers when using an RS-232 cable connected to the flexible interface module (Catalog No. 2760-RB).
!
ATTENTION: Do not install the RS-232 cable with power applied to either the interface box or flexible interface module. Failure to follow this caution may result in damage to the reader, interface box, or flexible interface module.
Refer to the following publications for additional information.
• Flexible Interface Module User Manual (Publication No. 2760-ND001) • SFC1 or SFC2 Protocol Cartridge User Manuals (Publication Nos. 2760-ND002 or 2760-822)
Publication 2755-6.9
Page 120
E–4
Application Examples
Hardware Connections for the Flexible Interface Module The interface box connects to one of the three communication ports on the flexible interface module with an RS-232 cable. The interface module requires an SFC1 Protocol Cartridge. Reader
Interface Box
Power Supply To Power Receptacle
To RS-232 Port
OR
RS-232 Cable
RS-232 Null Modem Cable (Swap pins 2 and 3.)
Personal Computer
SFC1 Protocol Cartridge
Flexible Interface Module
Configuration Codes for the Flexible Interface Module After making the necessary connections, set the reader to the settings in the table below to allow the reader to communicate with the flexible interface module. Description
Menu Setting
Baud Rate
9600
Parity
None
Stop Bits
One
Data Bits
8
Serial Command Setting
<Ka4,0,0,1>
Publication 2755-6.9
Page 121
Application Examples
E–5
Flexible Interface Module Setup You need to configure the flexible interface module. Follow the steps below or refer to the Flexible Interface Module User Manual (Publication No. 2760-ND001) or the SFC1 or SFC2 Protocol Cartridge User Manuals (Publication Nos. 2760-ND002 or 2760-822). 1. Select 90B to reset the configuration to factory defaults. 2. Configure screens 3, 21, and 11 (in this order) as shown starting below.
2760–RB SERIES A REVISION J COPYRIGHT 1989 ALLEN–BRADLEY COMPANY, INC. –––––––––––––––––––––––––––––––––––––––––––––––––––– 1X – CONFIGURATION PARAMETERS 2X – IDENTIFICATION NUMBERS 3 – DEVICE PORT PROTOCOL NAMES 4DM – MATCH CODE ENTRIES 5I – DISCRETE BYTE INPUT ENTRIES 6 – THE DATA MATRIX ENTRIES 7 – THE PASS THROUGH ENTRIES 8 – NON–VOLATILE SCRATCH PAD AREA 9XF – RB MODULE FUNCTIONS AX – HARDWARE DIAGNOSTICS BX – SOFTWARE DIAGNOSTICS C – EXIT CONFIGURATION MODE WHERE X (0 TO 7) AND D (1 TO 3) ARE PORT NUMBERS WHICH ARE DEFINED BELOW : 0 – RB CMMND PRCSS 2 – SERIAL PORT 2 4 – CONFIG PORT 6 – I/O RACK SLT 1 1 – SERIAL PORT 1 3 – SERIAL PORT 3 5 – I/O RACK SLT 0 7 – RESERVED WHERE F (A TO E) ARE FUNCTIONS THAT RB CAN PERFORM WHICH ARE DEFINED BELOW : A – RESET B – SET DEFAULTS C – FLUSH D – INITIALIZE E – CLEAR DIAGS WHERE M (A TO T) AND I (A TO H) ARE ENTRY NUMBERS FOR THE SELECTION MADE ABOVE. ENTER A MAIN MENU SELECTION:
ENTER A MAIN MENU SELECTION: 3 PORT 1 = COPYRIGHT 1989 ALLEN–BRADLEY COMPANY, INC. 2760–SFC1 DT , SERIES A , REVISION B (YES/NO) = YES. PORT 2 = COPYRIGHT 1989 ALLEN–BRADLEY COMPANY, INC. 2760–SFC1 DT , SERIES A , REVISION B (YES/NO) = YES. PORT 3 = COPYRIGHT 1989 ALLEN–BRADLEY COMPANY, INC. 2760–SFC1 DT , SERIES A , REVISION B (YES/NO) = YES. EDIT THIS SELECTION (YES/NO) ?
Publication 2755-6.9
Page 122
E–6
Application Examples
ENTER A MAIN MENU SELECTION: 21 DUMB TERM. UNSPECIFIED PROTOCOL, 13fh (YES/NO) = YES. EDIT THIS SELECTION (YES/NO) ?
ENTER A MAIN MENU SELECTION: 11 MODEM CONTROL (ENABLE/DISABLE) = DISABLE. 9600 BITS PER SECOND (YES/NO) = YES. 8 BITS NO PARITY (YES/NO) = YES. XON/XOFF (ENABLE/DISABLE) = DISABLE. RS232 (YES/NO) = YES. RECEIVE MATRIXING (ENABLE/DISABLE) = DISABLE. BYTE SWAPPING (ENABLE/DISABLE) = ENABLE. BINARY DATA NO CONVERSIONS (YES/NO) = YES. HDR/TLR ON OUTPUT (ENABLE/DISABLE) = ENABLE. HEADER BYTE LENGTH (DEC 0...4) = 0. HEADER DATA[0] (HEX 0...ff) = 0. HEADER DATA[1] (HEX 0...ff) = 0. HEADER DATA[2] (HEX 0...ff) = 0. HEADER DATA[3] (HEX 0...ff) = 0. TRAILER BYTE LENGTH (DEC 0...4) = 2. TRAILER DATA[0] (HEX 0...ff) = a. TRAILER DATA[1] (HEX 0...ff) = d. TRAILER DATA[2] (HEX 0...ff) = 0. TRAILER DATA[3] (HEX 0...ff) = 0. MAX DATA BYTE LENGTH (DEC 0...124) = 0. MIN DATA BYTE LENGTH (DEC 0...124) = 0. CONTINUE THIS SELECTION (YES/NO) ?
3. Make sure PLC program is written to access Flexible Interface Module data.
Publication 2755-6.9
Page 123
Application Examples
SLC 5/03 and SLC 5/04 Controllers
E–7
This application example describes how to configure and operate the readers when using an RS-232 cable connected to the SLC 5/03 (Catalog No. 1747-L532) and SLC 5/04 controllers (Catalog Nos. 1747-L541, 1747-L542, and 1747-L543).
!
ATTENTION: Do not install the RS-232 cable with power applied to either the interface box or SLC 5/03 or SLC 5/04 controllers. Failure to follow this caution may result in damage to the reader, interface box, or SLC 5/03 or SLC 5/04 controllers.
Refer to the following publications for additional information.
• SLC 500 Modular Hardware Style Installation and Operation Manual (Publication No. 1747-6.2)
• SLC 500 and MicroLogixt 1000 Instruction Set Reference Manual (Publication No. 1747-6.15) • Advanced Programming Software User Manual (Publication No. 9399-APSUM-11.15.95)
Publication 2755-6.9
Page 124
E–8
Application Examples
Hardware Connections for the SLC 5/03 and SLC 5/04 Controllers The interface box connects to one of the communication ports on the SLC 5/03 or SLC 5/04 controllers with an RS-232 cable. You need to use a 25–9 pin cable or a 25–9 pin connector as shown below. Reader
Interface Box
Power Supply To Power Receptacle
To RS-232 Port
RS-232 Null Modem Cable
OR
RS-232 Cable
(Swap pins 2 and 3.) Personal Computer 25–9 Pin Adapter SLC 5/04
Channel 0
Publication 2755-6.9
Page 125
Application Examples
E–9
Configuration Codes for the SLC 5/03 and SLC 5/04 Controllers After making the necessary connections, set the reader to the settings in the table below to allow the reader to communicate with the SLC 5/03 or SLC 5/04 controllers. Description
Menu Setting
Serial Command Setting
Preamble
Disable
<Kd0>
Postamble
Enable Control J
<Kel,^M,^J>
Baud Rate
9600
Parity
None
Stop Bits
One
Data Bits
8
<Ka4,0,0,1>
SLC 5/03 and SLC 5/04 Controllers Setup You need to configure the SLC 5/03 and SLC 5/04 controllers. Follow the steps starting below or refer to the following publications:
• SLC 500 Modular Hardware Style Installation and Operation Manual (Publication No. 1747-6.2)
• SLC 500 and MicroLogixt 1000 Instruction Set Reference Manual (Publication No. 1747-6.15) • Advanced Programming Software User Manual (Publication No. 9399-APSUM-11.15.95) 1. Set the SLC Channel 0 to User in the Channel 0 Configuration screen
Publication 2755-6.9