toc–i Allen-Bradley StrataSet Programming Software Programming Guide (Cat. No. 2755-LHS-1) Publication 2755–6.
Important User Information Because of the variety of uses for the products described in this publication, those responsible for the application and use of this control equipment must satisfy themselves that all necessary steps have been taken to assure that each application and use meets all performance and safety requirements, including any applicable laws, regulations, codes and standards.
toc–i Preface Chapter Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Contents of this Manual . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Conventions Used in this Manual . . . . . . . . . . . . . . . . . . . . . . Intended Audience . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Related Publications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Technical Support Services . . . . . . . . . . . . . . . . . . . . . . . . . . .
Chapter Objectives Read this chapter to familiarize yourself with the rest of the manual. You will learn about: • contents of this manual • conventions used in this manual • intended audience • related publications • technical support Contents of this Manual The following table describes the contents of this manual. Chapter Title Contents Preface Describes the purpose, background, and scope of this manual. Also specifies the audience for whom this manual is intended.
P–2 Preface Conventions Used in this Manual The following conventions are used throughout this manual. • Bulleted lists such as this one provide information, not procedural steps. • Numbered lists provide sequential steps. • Italic type is used for emphasis. • Text within square brackets in this font represents the keys you press. Intended Audience No special knowledge is required to understand this document or use the StrataScan Bar Code Readers (Catalog Nos.
Software Overview Introduction The StrataScan bar Code Readers are all programmable through Allen-Bradley’s DOS–based software entitled StrataSet. With StrataSet, you have the ability to program your reader or upload reader configurations without the need to scan any bar codes. Once the reader is connected by the proper RS-232 cable to an IBMcompatible PC XT, AT, or PS/2, you can choose reader configuration options from StrataScan’s menus.
1–2 Variable Content TTL:Chap Is Linked To HD:Running To start the Stratascan software: 1. Turn off power to PC and the reader. 2. Connect the communication cable provided, between the reader and the RS-232C serial port (COM 1 or COM 2) located on the PC. 3. Turn on the PC and the reader. 4. Change to the subdirectory where the STRATCFG.EXE file is stored. 5. At the DOS prompt, type STRATCFG and press ENTER.
Variable Content TTL:Chap Is Linked To HD:Running Keyboard Commands 1–3 The following keys perform a given function as described below. Function Key Description ENTER To display a list of options for a given vertical field within the Configuration Screen or to select a Main Menu screen choice, position the cursor on the desired field and press ENTER. ENTER will also allow you exit from a pop-up window menu.
1–4 Variable Content TTL:Chap Is Linked To HD:Running StrataSet Main Menu The following sections describe the menu choices available from the StrataSet Main Menu. Configuration Screen Press 1 to activate this option, or move the cursor to this location and hit ENTER. By choosing this option, you will enter the Configuration screen, where custom reader configurations can be created. Publication 2755-6.
Variable Content TTL:Chap Is Linked To HD:Running 1–5 This screen also allows you to save and/or download configurations to the reader. The settings first displayed are the StrataSet RS232 default settings, not the reader settings. With the methods described under “Using the StrataSet Menus” you are able to move around this screen and change options. After configuring the screen for your particular application, you can save the screen to a file, download the settings to the reader, or both.
1–6 Variable Content TTL:Chap Is Linked To HD:Running Exit Program Mode Press 6 to activate this option or move the cursor to this location and hit ENTER. This option causes the reader to exit programming mode. Three beeps from the reader indicates a successful exit from Program Mode. Note that if you program the reader from the Configuration screen, the program exits Program Mode if you press F5. Once you exit Program Mode, you are then able to resume normal scanning.
Configuring your Reader Introduction By selecting “Configuration Screen” from the Main Menu, you are able to access a menu screen from where you can setup custom reader configurations, save configurations to a file, and program your reader. This screen is divided into sections that let you customize your reader configuration.
2–2 Configuring your Reader Configuring the Reader Refer to the following steps to configure the StrataScan Bar Code Readers (Catalog Nos. 2755-LHR-5B, 2755-LHR-3C, 2755-LHR-5C and 2755-LHR-5BX1). 1. Verify that your personal computer has the STRATCFG Programming Software version 4.19 or later loaded onto it. 2. Double–click on the STRATCFG icon or execute the file. 3. Select the Configuration screen from the Main Menu. 4. Review your programming options.
Configuring your Reader Configuration Options 2–3 The following sections describe the various StrataScan Configuration options available for the StrataScan Bar Code Readers. Interface Format This upper left–hand corner of the Configuration Screen gives you the ability to specify the proper communications format, along with all of an interface’s associated options. Specifying options is accomplished for communicating to your host device.
2–4 Configuring your Reader Code Types This portion of the Configuration Screen lets you specify the various bar code types to enable or disable for your application. Within the Codes Menu Screen, you may enable or disable the codes you want your reader to see or ignore. If a code is enabled, a check mark appears between the two brackets. Then the reader recognizes the enabled type of bar code.
Configuring your Reader 2–5 Supplementals This box in the Configuration screen gives you the ability to select supplemental support options. Not all supplemental options are currently supported. Publication 2755-6.
2–6 Configuring your Reader Supplemental Type Publication 2755-6.14 Description 2 Digit When this option is enabled, the reader scans bar codes that have 2-digit supplementals. 5 Digit When this option is enabled, the reader scans bar codes that have 5-digit supplementals. 977 (2–Digit) When this option is enabled, the reader requires that a 2-digit supplement be attached to an EAN-13 bar code whenever the bar code begins with 977.
Configuring your Reader 2–7 Miscellaneous This section provides you with the ability to select various miscellaneous functions including beep before/after transmit, communication timeouts, multiple scan buffers, and others. Publication 2755-6.
2–8 Configuring your Reader Miscellaneous Type Beep after transmitting Beep before transmitting When this option is enabled, the reader beeps before each bar code is transmitted. Faster Beep/Same Tone When this option is enabled, the beeper tone remains the same, but the beep duration is approximately 1/2 normal duration. Lost Communication Timeout When this option is enabled, the reader automatically times out after 2 seconds, if unable to complete its data transmission to the host.
Configuring your Reader Miscellaneous Type 2–9 Description 1, 2, 4 and 8 Compare Buffers The option selected here determines how many bar codes are buffered in reference to same symbol comparisons. This value should always be equal to or greater than the number of different bar codes you expect to scan on each package to avoid the potential of double reads. Scan Count When this option is enabled, the reader enters scan count test mode.
2–10 Configuring your Reader Miscellaneous Type Publication 2755-6.14 Description Special code select When this option is enabled and the Enter key is hit on this choice, a custom reader parameters window appears. This window allows you to select up to 5 code and length–specific code selects. The reader only scans those codes at the programmed lengths entered here. When used in conjunction with Package Detect and multiple scans per activation, the reader scans and buffers the programmed bar codes.
Configuring your Reader 2–11 Package Detect This section provides you with all the choices currently supported for Package Detect options. Special software is not required to support the following options. The appropriate hardware comes standard internal to the 2755-LHB-1 Interface Box and reader. The hardware interfaces with up to 2 Package Detect inputs and an Output/Alarm Output. Publication 2755-6.
2–12 Configuring your Reader Output/Package Detect Type Support package detect Support package detect alarm input When this option is enabled, the reader produces a steady stream of beeps, if the sensor alarm is activated. Transmit ‘No Read’ message on package detect timeout When this option is enabled, the reader transmits ‘NO READ’ if a no read condition occurs. If a custom message is desired, refer to programmable no read message (see below).
Configuring your Reader Output/Package Detect Type 2–13 Description AC output Controlled by Host (DC2/DC4) When this option is enabled, the host assumes full control for activating and deactivating the Output. To turn the Output on, the host must send a CTRL R (12H) character. To turn the Output off, the host must send a CTRL T (14H) character. The support Output option must be enabled first in order to select this option.
2–14 Configuring your Reader Output/Package Detect Type AC output Duration (sec) Delay Time before activating AC output (sec) The value entered here determines how long the reader delays after its normal activation time before acivating the output. The default value of 0.0 should be sufficient for almost all applications. Use this option only if it is impossible to mount the reader at the Output location.
Configuring your Reader Output/Package Detect Type 2–15 Description Buffer scans until package detect cycle completes StrataScan Readers have the ability to buffer all bar codes as they are scanned (with Package Detect support enabled). If this option is enabled, all scanned bar codes are buffered during the active sensor cycle and are not transmitted, until the activation cycle has completed. This feature is supported with all 3 Package Detect mode options.
2–16 Configuring your Reader Reserve Codes This section provides 98 reserved functions available to enable future special software features. Do not enable any reserve codes unless told to do so by a company representative. RS232 Format This section provides you with all the interface format–specific options. If RS232 is selected in the Interface Format menu, these menus are displayed as RS232 specific menus. Publication 2755-6.
Configuring your Reader 2–17 Baud Rate Rate Baud Rate Description Data is transferred at either 300, 600, 1200, 2400, 4800, 9600, 19200, or 38400 baud. Data Format These choices represent the parity of the data byte. Parity is an extra bit attached to the transmitted data byte and is used to catch potential single-bit data transmission errors. The reader’s parity must match the host’s parity. Publication 2755-6.
2–18 Configuring your Reader RS232 Type Data Format Description Odd Select odd to make the parity bit either a 0 or 1, to guarantee an odd number of ones. Space Select space to make the parity bit always 0. Even Select even to make the parity bit either a 0 or 1, to guarantee an even number of ones. Mark Select mark to make the parity bit always 1. None Select none and the parity bit time is skipped.
Configuring your Reader 2–19 Publication 2755-6.
2–20 Configuring your Reader RS232 Type Options Description When this option is enabled, the reader transmits Nixdorf code identifiers before each bar code as follows: Nixdorf ID Code Prefix Code UPC-E d UPC-A c EAN-8 g EAN-13 h Code 39 b Codabar a Code 93 i I 2 of 5 e Code 128 j RTS/CTS handshaking When this option is enabled, the reader outputs a Request To Send (RTS) signal and waits for a Clear To Send (CTS) signal before any data is transmitted.
Configuring your Reader RS232 Type Options 2–21 Description Transmit AIM ID Character When this option is enabled, the reader transmits special AIM code identifiers before each bar code as follows: Code AIM Code ID UPC-E ]Z0 UPC-E with 2–digit suppl. ]Z0 UPC-E with 5–digit suppl. ]Z0 UPC-A ]Z0 UPC-A with 2–digit suppl. ]Z0 UPC-A with 5–digit suppl. ]Z0 EAN-8 ]E4 EAN-8 with 2–digit suppl. ]E4 EAN-8 with 5–digit suppl. ]E4 EAN-13 ]E0 EAN-13 with 2–digit suppl.
2–22 Configuring your Reader RS232 Type Options Publication 2755-6.
Configuring your Reader 2–23 Note: The following table of 32 ALT characters can be used along with the above RS232 options as programmable prefix or suffix identifiers. For example, if you wanted to use the carriage return character (CR) as a programmable suffix identifier, select the Programmable suffix identifier as an RS232 choice in the OPTIONS pull–down menu. Then hold down the ALT key and type CTRL M.
2–24 Configuring your Reader Wand Type Hi/Output Wand Type Options Publication 2755-6.14 Description Under this menu, you may program the reader to transmit as one of either Bars high as Code 39. Spaces high as Code 39. Bars high as scanned or Spaces high as scanned. Select the method that matches your host’s requirements. Description Extra Transition before Bar Code If your host requires it, the reader can output an extra transition before each bar code.
Configuring your Reader 2–25 Formatting This section gives you several output format options for UPC/EAN and non-UPC bar codes. These menus are not supported if using Wand Emulation. UPC Formatting Types Publication 2755-6.
2–26 Configuring your Reader Formatting Type Publication 2755-6.14 Description Convert EAN-8 to EAN-13 When this option is enabled, the reader converts EAN-8 to EAN-13 by transmitting five zeroes before the bar code. Convert UPC-A to EAN-13 When this option is enabled, the reader converts UPC-A to EAN-13 by transmitting a leading zero before the bar code. Expand UPC-E When this option is enabled, the reader expands UPC-E to the 12–digit equivalent UPC-A.
Configuring your Reader 2–27 Non-UPC Formatting Types Non-UPC Formatting Type Description CLSI Editing When this option is enabled, the reader performs CLSI library type editing before the information is transmitted to the host. This editing only works with 14–digit Codabar type labels. Transmit Codabar Start/Stop Characters When this option is enabled, the reader transmits Codabar’s start and stop characters before and after each bar code.
2–28 Configuring your Reader Length Specifiers This section provides you the option of restricting the size of the bar codes that the reader accepts. The following are the options available from the Length Specifiers section. From the following menus, you can program the reader to scan only bar codes that meet your defined criteria. Note: The length specifier options are available from the main configuration screen. As a result no pop–up menus are displayed here.
Configuring your Reader 2–29 Beeper/LED This section provides for all the supported beeper/LED options. Beeper/LED Type Description Beeper Tone The following beeper tone options are available: Normal, Alt 1, Alt 2, Alt 3, Alt 4, and no tone. LED Under normal conditions, the LED flashes upon good scan and transmit. You can disable the LED flash, if it is not necessary in your application (e.g., If the reader is to be used in an unmanned application, where the LED and beeper are not necessary).
2–30 Configuring your Reader Same Symbol Timeout Same symbol timeout lists the amount of time to wait before a communication error is detected and a message retry occurs. Available choices are none, 100, 200 and 500 milliseconds, 1.25, 2.00 seconds and an infinite amount of time. Publication 2755-6.
Configuring your Reader 2–31 Transmission Delay This option allows you to create standard inter–character transmission delays of 1, 5 or 20 milliseconds, in addition to no delay. Publication 2755-6.
2–32 Configuring your Reader Hand–Held Port This feature provides you the option of scanning with a hand–held scanner. Any of the following 4 options for using the hand–held port are possible: Hand–held Port Publication 2755-6.14 Description Normal Mode The laser comes on upon triggering or IR detect and will stay on for a minimum of 2.5 seconds, if no black/white transitions are detected. If transitions are continuously detected, it stays on for a maximum of 5 seconds.
2–1 * - # , . ,- *).,*' * - !*, / , . + , *+.$*)- # +. , * % .$0 - $.$)" * , * .1+ - * , * * * * # & $"$. * $- ' $- ' !/'' * *! *! * # & $"$. , ! $- ' $- ' * - , - ,0 +*,. *(( ) - & 1 * , *)!$"/, .$*) *+.
2–2 ./+, &/. !"( 4 /- *.)&..&+* "3&/ /+ E '"4 '"4 "3&/ /+ F '"4 '"4 '"4 '"4 '"4 '"4 #&(" (&./ #&-)2 -" 1"-.&+* #+-) / ! / &*/"-# " %(0) "-$"- %"(( 2 *! ")0( /&+* #+-) //&*$ *+* #0-/%"- +,/&+*. % *!.% '&*$ H % *! %"(! ,+-/ & 0/,0/ I &!"*/&"-.
2–3 K " )' ( " - & ( &$$ % ) L &'*!&%) # % * )' ! ! () & #& ") &* () M $ !% $ %+ $ %+ # &%* %*) $ %+ # &%, %*!&%) $ %+) &( *( * * $!) ## % &+) ' !) # ) % # ) ( , () &%, %*!&% *!$ &+* $!) ## % &+) &'*!&%) $& %&($ # &% ) &* '+#)!% N %&% &($ **!% O &'*!&%) ' ( +(* (
2–4 $)(%)( ( * ( ')%%$&( P % ( ( # ! & # " ( $!! '$)& %$&( # ! &$ & " "$ #( & , ( R & ( ) ! ( ) ! ( $#' & ' &* $ ' S ' " '-" $! ( " $)( ' # & # ' ## & ' (( # ' ' ! ( %$&( '$ (+ & * &' $# '% & '% &' ! # ( '( &( # (& ( ( ')%%! " #( !' ( ( $$ ! # $ $#* &' $# " !
2–5 #! " # ! # ! ' ! # ! ! ## % $ # % #' ! # " !! % # ! #! " # ! ! $# $# !! % # " ( " $! Publication 2755-6.
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.