The text of a manual · part 4 of 7
SCANTEAM 6180 Wand Serial Interface/RS-232 Decoded Out Wand Technical Manual, pages 31 to 40
Pages 31 to 40 of 68
The original document is the PDF (234 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 HHP ST6180
Page 31
The code identifier for each bar code symbology is listed below and appears immediately following the symbology name on the Symbology Selection Menu Page. SYMBOLOGY Codabar Code 3 of 9 UPC EAN Interleaved 2 of 5 Code 2 of 5 MSI Code 11 Code 93 Code 128 Note:
CODE ID a b c d e f g h i j
Code 11 is not supported in all wand models/software revisions.
Postamble
Postamble(s) are programmable data identifiers which follow the bar code messages. Up to five (5) postambles including End Transmission (ETX), Carriage Return (CR), Line Feed (LF) and the ASCII characters (00– 7F) can be programmed. Postamble characters will be transmitted in the order in which they are selected. Since postamble selections also begin with a clean slate, the programming sequence SCAN ENTER, SCAN IV, SCAN EXIT will remove existing postambles from the decoder configuration. Intercharacter Delay
An Intercharacter Delay may be assigned for outgoing messages. The delay is in milliseconds and can be set to any value between 1 and 99. If the Intercharacter Delay Variable “No” is programmed, the delay will be set to 0.
Programming the Scanner
4–7
Page 32
Append Buffer
This wand Selection controls the status of the Append Buffer. When enabled, the Append Buffer stores messages (for example from a “barboard”), until a) it overflows, or b) a symbol without Append or in a new symbology is scanned. When either of these events occur, the contents of the buffer are transmitted, followed by the most recent scan. The Append Buffer must be enabled (“Yes”), whenever the decoder is configured to read Code 93, Code 128 or Code 3 of 9 symbology with Append Option. RTS/CTS Protocol Note: This feature is not supported in all wand models/software revisions.
This selection enabled will require RTS/CTS Protocol for communications. Connector Option 3 or 4 must be selected to support this programming feature. Refer to page 2–7 or Appendix B.3 for information on Option 3 or 4.
4.4 SYMBOLOGY SELECTION Menu Page This Menu Page is used to program decoding selections. The wand can be configured to recognize and decode up to nine (9) popular bar code symbologies by scanning the proper code enabling (Selection) symbols on this Programming Menu page. After a particular code has been enabled, scanning the associated (Variable) code(s) will further program that symbology’s decoding parameters. Keep in mind that at power–up (or upon reset), the wand will automatically configure operating parameters to the last programmed values. Code options which are enabled (“Yes”) will become the active operating parameters unless they are changed by the proper configuration command. Code options with an asterisk (*) next to the (“No”) will automatically be disabled unless they are changed by the proper configuration command. Note:
4–8
To obtain maximum security when scanning bar codes, it is recommended that only those symbologies actually being used be enabled. Symbologies not being used should be disabled. Additional data security can be achieved by programming the maximum and minimum character counts when they are known.
Programming the Scanner
Page 33
Minimum Length
A two (2) number code which describes the minimum number of characters that will permitted in the bar code message. The code length must always be represented by two digits. For lengths less than 10 characters, a zero (0) should be used as a filler (05). Maximum Length
A two (2) number code which describes the maximum number of characters that will be permitted in the bar code message.
4.5 Message Format The wand will transmit data automatically to the host as soon as a bar code symbol is scanned. Each data transmission consists of three main elements, 1) a PREAMBLE, 2) the MESSAGE consisting of the bar code data, and 3) a POSTAMBLE. The actual content of the data transmission will depend upon the Preamble and Postamble characters and the decoded bar code information. The transmission format is shown below. PREAMBLE where:
MESSAGE
POSTAMBLE
PREAMBLE = Assigned Preamble Character(s) MESSAGE = Bar Code Data POSTAMBLE = Assigned Postamble Character(s).
Programming the Scanner
4–9
Page 34
4.6 Configuration Example The following example illustrates the proper programming sequence to configure wand parameters to specific operating values. Example: Configure the SCANTEAM 6180 parameters to the following values:
Symbology: Maximum Length: Minimum Length: Append Option: Start/Stop Character: Check Character: Check Character: Baud Rate: Parity: Preamble: Postamble: Intercharacter Delay: Indicator Control: Append Buffer:
Code 3 of 9 (Code 39) 14 8 Enabled Included Required Transmit 4800 Space STX Code ID ETX 25 ms Beep on Reset Beep on Good Read Enabled
Refer to the Selections/Variables table on the INPUT/OUTPUT PARAMETERS & FORMAT and SYMBOLOGY SELECTIONS pages of the Programming Menu. Program these operating parameters following the scanning sequence below. FUNCTION
SELECTION
Enter SYMBOLOGY SELECTION Menu Page ENTER Set All Wand Parameters W.A. To DEFAULT Values DEFAULT Scanning sequence continued on next page.
4–10
Programming the Scanner
VARIABLE
Page 35
FUNCTION
SELECTION
Enable Code 39 Set Minimum Length To 8
VARIABLE
II
Set Maximum Length To 14 Set S/S Characters To Transmit Set Check Character Required To Yes Set Transmit Check Character To Yes Set Append Option To Yes Disable CODABAR I Disable UPC III Disable EAN IV Disable Interleaved 2 of 5 V Disable Code 2 of 5 VI Disable MSI VII Disable Code 93 VIII Disable Code 128 IX Store programmed values by exiting the SYMBOLOGY SELECTION Menu Page EXIT Enter I/O PARAMETERS & FORMAT Menu Page ENTER Set Baud Rate I To 4800 Set Parity II To Space
A 0 8 B 1 4 C 0 (Yes) D 0 (Yes) E 0 (Yes) G 0 (Yes) 1 (No) 1 (No) 1 (No) 1 (No) 1 (No) 1 (No) 1 (No) 1 (No)
F B
Scanning sequence continued on next page. Programming the Scanner
4–11
Page 36
FUNCTION
SELECTION
Set Preamble To include STX To include Code ID Set Postamble To include ETX Set Intercharacter Delay To Yes To 25ms Set Indicator Control Beep on Reset To Yes Beep on Good Read To Yes Set Append Buffer To Enabled Store programmed values by exiting the I/O PARAMETERS & FORMAT Menu Page Note:
VARIABLE
III A B IV A V B 2 5 VI A 0 (Yes) B 0 (Yes) VII 0 (Yes)
EXIT
In the previous example, all desired operating parameters were scanned to illustrate the scanning process. In actual practice it would not be necessary to program those parameters which default to desired values (i.e.,Append Buffer, Code ID, Transmit Start/Stop Characters, etc.).
In addition, in order to maximize reading accuracy, all of the unused codes were disabled. When this protection is desired, it is necessary to disable each unused code, since all symbologies default to the “Yes” state. Finally, note that ENTER and EXIT commands were used to initiate and terminate programming on each menu page.
4–12
Programming the Scanner
Page 37
4.7 Configuring the 6180 Using WANDMENU The SCANTEAM 6180 can also be configured using the optional WANDMENU Programming Menu. This program can be run on any IBM/XT or IBM compatible PC which uses the DOS (Version 3.1 or later) system. The WANDMENU Configuration Disk contains the software routines which enable the user to select from the same set of decoding parameters which appear on the SCANTEAM 6180 Bar Code Programming Menu. The Configuration Disk contains the following files: READ.ME WANDMENU.EXE CODE39FA.EXE UNINSTAL.EXE Descriptions of the Configuration Disk files are given below. READ.ME
Entering the command C>A:TYPE READ.ME from the DOS prompt will generate a display which explains the general use of each *.EXE file on the disk. WANDMENU
This program allows you to accept, read, save and install desired configurations for the SCANTEAM 6180. Configuration data is transferred to the scanner through the PC’s serial communication channel (COM1). Command line options include: /Bnn – to set display background color (range = 0 to 7) /Fnn – to set display foreground color (range = 0 to 15) /S – to silence the key clicks. /S/B – to create monochromatic display and turn off the beep The /B and /F options are useful for PC’s that have a monochrome display which is able to emulate contrasting colors; for instance, an LCD display.
Programming the Scanner
4–13
Page 38
CODE39FA.EXE
This program installs a Full ASCII/Code 3 of 9 emulation program in the scanner. After CODE39FA.EXE has been run, the SCANTEAM 6180 will transmit any scanned label data (regardless of the symbology) in Code 3 of 9 format (the RS–232 data is inhibited). The CODE39FA.EXE program is transferred to the scanner through the PC’s serial communication channel (COM1). To restore the original decoding protocol, the routine UNINSTAL.EXE must be run. UNINSTAL.EXE
This program will remove the Full ASCII/Code 3 of 9 emulation capability from the scanner. When the UNINSTAL.EXE routine has been run, the SCANTEAM 6180 will revert to normal operation and transmit any scanned label data according to the designated symbology format(s). The UNINSTAL program is transferred to the scanner through the PC’s serial communication channel (COM1). XON/XOFF Feature
The SCANTEAM 6180 has an XON/XOFF capability that allows you to control data flow between the scanner and the PC using a software “handshake.” The command “DC1” (Hex 11) sent from the PC to the scanner will initiate communication and cause the scanner to transmit any buffered data and any data successfully decoded. The command “DC3” (Hex 13) sent from the PC to the scanner will suspend the transmission of bar code data from the scanner.
4–14
Programming the Scanner
Page 39
4.7.1 Installing WANDMENU To activate the WANDMENU Programming Menu, place the configuration disk in the “A” drive and from the DOS prompt initiate the program by entering: C>A:WANDMENU <Return> After a brief start–up, the Programming Menu shown in Figure 4.3 will be displayed on the screen.
***** SCANTEAM 6180 PROGRAMMING MENU 1.08 ***** WELCH ALLYN, INC., SKANEATELES FALLS, NY LOAD_Settings
SAVE_Settings
READ_from_Wand
INSTALL_to_Wand
–EXIT–
BaudRate Parity Preamble Postamble InterChrDelay Indicators Features
: : : : : : :
9600 SPACE [I.D.] – – – – – – – – – – – – <CR> <LF> – – – – – – – – – – –NONE– – Wake–Up_Blink ON Good_Read_Blink ON Blink_Scanner OFF AppendBuffr ON PowersUp ON Halt–on–Read OFF Menuing ON
Codabar Code 39 UPC Code EAN Code Intr 2/5 Reg 2/5 MSI Code Code 93 Code 128 Code 11
: : : : : : : : :
ON ON ON ON ON ON ON ON ON ON
OPERATION: Use
Length = 01–48 S/S INCL Length = 00–48 S/S INCL CC NOT REQ’D NORMAL Apnd OFF (–A & –E) UPC–E Comprs’d #Sys INCL CheckDigit INCL (–8 & –13) <Both UPC&EAN>>>> 2–Dig_Addm ON 5–Dig_Addm ON Length = 02–64 CheckDigit NOT_REQ’D Length = 01–64 Length = 04–48 Length = 00–60 (–All– Modes) Length = 00–80 Leading <FNC1> NOT_REQ’D Length = 01–48 2 Check Digits OFF Xmit Check Char. OFF to MOVE Cursor, to CHANGE Entry.
Figure 4.3 WANDMENU Programming Menu Screen Note:
If you are using a monochromatic terminal, the LOAD option position on the menu display may not appear highlighted. If it is not, re–enter the WANDMENU command followed by \B as shown below:
C>A:WANDMENU/B <Return> Note that the menu consists of two main sections. The upper section is the “control line.” It contains the five (5) menu control options: LOAD, SAVE, READ, INSTALL and EXIT which allow the user to set–up, save, and install a desired configuration, to display and save a wand’s own settings (even if they were set using the bar code Programming Menu) and to copy one wand’s setting to other wands. Programming the Scanner
4–15
Page 40
The lower part of the screen displays the full set of programmable decoder selections. They include the same communications parameters and symbology/code options that are listed on the Bar Code Programming Menu. Using this menu, the user can enable or disable certain symbologies, add preambles and/or postambles to bar code data, specify message length/format and control wand indicators and operating features. 4.7.2 WANDMENU – Control Options Control options are activated by using the ( ) and ( ) number pad keys to move the cursor left or right along the control line until the desired option is highlighted. The function of each menu control is explained below: LOAD_Settings
This control allows the user to load a previously SAVED configuration onto the screen. When the LOAD Setting mode is highlighted and the ENTER key is first depressed, the user will be prompted for a file name (FILENAME =). To continue, the user should enter the file name or depress the ENTER key. LOADing the file named “DEFAULT” causes default settings to be loaded. Attempting to LOAD a non–existent file will result in an error message. SAVE_Settings
This mode allows the user to save (store) a certain decoder configuration. When this control option is highlighted and the ENTER key is depressed the user will be prompted to enter a file name (FILENAME =) into which the configuration (those values displayed on the screen) will be saved. READ_from_Wand
This mode allows the user to determine the existing Wand configuration. When this control option is highlighted and the ENTER key is depressed the value(s) of decoding parameters presently programmed in the Wand will be displayed in the appropriate menu location. You will be prompted to identify the serial port (COM1 or COM2) the 6180 is attached to.
4–16
Programming the Scanner