The text of a manual · part 1 of 1
Application Note: Enhanced Decoder to SLC 5/03 Enhanced (FRN 6.0) or SLC 5/04 Processor, pages 1 to 8
Pages 1 to 8 of 8
The original document is the PDF (1.1 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-DS
Page 1
Application
Note
Enhanced Decoder to SLC 5/03 Enhanced (FRN 6.0) or SLC 5/04 Processor
Overview
The SLC-5/03@ Enhanced and SLC 5/04 processors from Allen-Bradley have a user port that can be used to interface a single point 2755-DS/DD Enhanced Decoder using RS-232 communication. This document includes cable diagrams and configuration information for the 2755-DS/DD decoder, as well as an example SL@ 500 program necessary to establish communication through Channel 0 on the SLC-5/03 (FRN 6.0 or later) or SLC 5/04. Note: In this document, SLC 500 refers to the SLC 5/03 Enhanced (FRN 6.0 or later) and SLC 5/04 processors.
Hardware Requirements
Software Requirements
Implementation of the procedure described in this application note requires the following Allen-Bradley hardware: l
2755-DS/DD
Enhanced Bar Code Decoder and related manuals.
l
Bulletin 1747 SLC 5/03 Enhanced or 5/04 processor.
l
Bulletin 1746 rack.
l
Bulletin 1746 power supply.
l
Bulletin 1747-PIC module for communication from a personal computer.
l
Appropriate cables to program the SLC-5/03 or 5/04 and configure the 2755-DS/DD decoder. Refer to hardware manuals for cable requirements.
to the processor
Implementation of the procedure described in this application note requires the following Allen-Bradley software: l
SLC 500 Advanced Programming
Software.
l
Terminal Emulation Package (such as Procomm@ or Windows@ Terminal) to configure the 2755-DS/DD with a personal computer.
Publication 27552.60
-July
1997
Page 2
Enhanced
2
Related Publications
Decoder to SLC 5103 Enhanced
(FRN
6.0) or SLC 5104 Processor
This document refers to the following publications, which should be available for reference while working through this application note: Publication Number
Title
1
1747-6.1 9939-xxx 2755833
Configuration
User Manual for your SLC 500
I
Programming Manuals for APS software.
I
Bulletin 2755-DS/DD Series B Enhanced Decoder User Manual
The SLC occupies the first slot in a 1746 rack. Power is supplied externally to the chassis. Refer to the following illustration for connections between the SLC 5/03 or 5/04 and Bulletin 2755 DS/DD decoder. Bulletin 1747 Chassis
/
Rx-232
Channel 0
Host Port q Scan Head
Bulletin 2755 DS/DD Bar Code Decoder
Publication2755-2.60-July 1997
Page 3
Enhanced
Decoder to SLC 5103 Enhanced
(FRN
6.0) or SLC 5104 Processor
Cabling Cabling connecting the Host port of the Bulletin 2755-DS/DD Enhanced Decoder to Channel 0 on the SLC 5/03 must be constructed. Refer to the figures below for cabling diagrams. Enhanced SLC 5/03 or SLC 5/04 Channel 0
3 2 7
2755-DSIDD NEMAl Host Port
3 Rx 2 TX 7 Gnd
Enhanced SLC 5/03 or SLC 5/04 Channel 0
2755-DSIDD NEMM Host Port
3 2 7
B C D
Publication 2755-2.60-July 1997
3
Page 4
4
Enhanced
Decoder to SLC 5103 Enhanced
/FRN
6.0) or SLC 5104 Processor
SLC 500 Configuration Set the SLC 500 “Channel 0” to USER as shown in the Channel Overview Screen (see below). Configure Channel 0 as shown in the User Mode Channel 0 User 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 500, allow the User port to read in one message at a time with [CR] [LF] terminators. Channel Overview Screen
Channel 0 User Configuration Screen
Publication2755-2.60-July 1997
Page 5
Enhanced
Decoder to SLC 5103 Enhanced
(FRN
5
6.0) or SLC 5104 Processor
2755-DWDD Enhanced Bar Code Decoder Configuration An example configuration for the 2755-DS/DD Enhanced Decoder follows. Notice that the END MESSAGE is set to [CR] [LF]. Note that the settings illustrated below represent only part of the configuration required for the 2755-DS/DD Enhanced Decoder to work in a given application. Refer to the decoder documentation for complete details on decoder configuration. 2755D!YDD
Host Communications
Configuration Screen.
2755D!YDD
Host Message Format Configuration Screen.
“\ f STRRT CHRBWTEA: SOURCE IDENTIFIER for HEADEA STRING: FIELD DELIRIIER: SEND SYMBOLDGY: SEND BAR CODE STBINGS:
FIELD NUMBER 1 2 3 4
DEFM#LT
WO-READ
NO-RERD
REPLGCEMENT
None CAUXI:
255
None No Yes
255
STRING:
CBI:
CR1 : NIJHEER SEND
OF FIELDS IN SESSRGE: SEND PACKAGE COUNT: DEWDEB PERFORNRIICE: END SESSFiGE:
GLL No No CrLf w-
STRING
FIELD NUMBER 9 1G 11 12
NO-REGD
REPLACEMENT
STRING
:: 15 16
2 7 8
__--____________-______________I________~~~~~~-~~~~~~~~~~~-~-~~~~~~~~~~~ EDIT
\
--
Cancel:ESC
Enter:RETURN
Erase
Char:BRCKSPACE
J
Publication2755-2.60-July 1997
Page 6
6
Enhanced
Decoder to SLC 5103 Enhanced
(FRN 6.0) or SLC 5104 Processor
SLC 500 Program The sample ladder logic listing that follows instructs the SLC to: l
Rung 2:0 - Read one string of ASCII data terminated with a [CR]
LFI. l
Rung 2: 1 - Based on the done bit from the ARL instruction in rung 2:0, copy the string data into an integer file in the SLC. Note: The Length variable in the Copy File instruction is set to 12. This value includes a one word header and a one word trailer.
1 Rung
I I
2:0
1 R6:O +--,,[------------------------------------------+~~~--------------------+------+ EN
IChannel 0+-(EN)-+ IDest ST28:0+ I IControl RG:O+-(DN)-+ IString Length o+ I ICharacters Read 0+-(ER)-+ +-----------------------+
IRung 2:l I R6:O +--I [----------------------------------------------------+C~~---------------+-+ DN Source #ST28:0 I IDest #N7:50l ILength 12 +------------------+ IRung 2:2
I I
I
I
+___________________-------------[END
0~
I
1 I
FILE]_________________________________+
Note: ARL instruction can be substituted for any ASCII READ instruction in the SLC, depending on the desired format of the data. Refer to the SLC 500 user documentation for detailed information on using the programming software.
Publication 2755-2.60July1997
Page 7
Enhanced
Decoder to SLC 5103 Enhanced
(FRN 6.0) or SLC 5104 Processor
Notes
Publication 2755-2.60 -July 1997
7
Page 8
SLC, SLC S/03, and SLC S/O4 are registered aademarks
Windows is a registered trademark of Microsoft
Proconm is a registered trademark of Quarterdeck of Rockwell
Automation
Corporation
Rockwell Automation helps its customers receive a superior return on their investment by bringing together leading brands in industrial automation, creating a broad spectrum of easy-to-integrate products. These are supported by local technical resources available worldwide, a global network of system solutions providers, and the advanced technology resources of Rockwell.
Worldwide representation.
Argentina. Australia l Austria. Bahrain l Belgium l Bolivia. Brazil. Bulgaria. Canada l Chile l China, People’s Republic of l Colombia l Costa Rica l Croatia l Cyprus Czech Republic. Denmark. Dominican Republic l Ecuador l Egypt l El Salvador l Finland l France l Germany l Ghana l Greece l Guatemala l Honduras l Hong Kong Hungary. Iceland . India . Indonesia. Iran l Ireland l Israel l Italy l Jamaica l Japan l Jordan l Korea l Kuwait l Lebanon l Macau l Malaysia l Malta l Mexico l Morocco The Netherlands. New Zealand l Nigeria l Norway l Oman l Pakistan l Panama l Peru l Philippines l Poland l Portugal l Puerto Rico l Qatar l Romania l Russia l Saudi Arabia. Singapore . Slovakia. Slovenia . South Africa, Republic of l Spain l Sweden l Switzerland l Taiwan l Thailand l Trinidad l Tunisia l Turkey l United Arab Emirates United Kingdom l United States l Uruguay l Venezuela Rockwell Automation Headquarters, 1201 South Second Street, Milwaukee, WI 53204-2496 USA, Tel: (1) 414 382-2000 Fax: (1) 414 382-4444 Rockwell Automation European Headquarters, Avenue Hermann Debroux, 46, 1160 Brussels, Belgium, Tel: (32) 2 663 06 00, Fax: (32) 2 663 06 40 Rockwell Automation Asia Pacific Headquarters, 27/F Citicorp Centre, 18 Whitfield Road, Causeway Bay, Hong Kong, Tel: (852) 2887 4788, Fax: (852) 2508 1846 World Wide Web: http://www.ab.com
Publication 2755-2.60 -July Supersedes Publication 27552.60
1997
Dated June 1995
Copyright 1997 Rockwell International Corp. All Rights Resewed. Printed in USA