The text of a manual · part 9 of 18
Multi-Purpose Bar Code Workstation Series B (Catalog Number 2755-DH1) User Manual: 6 - Programming Via Configuration Bar Code Symbols, pages 60 to 68
Pages 60 to 68 of 132, from Multi-Purpose Bar Code Workstation Series B (Catalog Number 2755-DH1) User Manual
The original document is the PDF (1.2 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-DH1
Page 60
Chapter
A–B
6
Programming Via Configuration Bar Code Symbols
Programming Features
The table below lists the decoder’s configuration commands and indicates the supported programming methods.
Function
Bar Code Symbol
Enter Configuration Mode
•
Show Configuration
•
Exit Configuration Mode
•
Escape Sequence
Tab
• •
Disable Decoding Reset
•
Default Configuration
•
Store Configuration
Auto
•
Getting Started
• •
ROM/RAM Self Test Code Selection
•
•
Check Characters (Code 39, I 2 of 5, Code 11)
•
•
Minimum and Maximum Length Checking
•
•
Interleaved 2 of 5 Length Checking Options
•
•
UPC/EAN Options
•
•
Codabar Options
•
•
Code 39 Full ASCII Conversion
•
•
Code ID Character Assignment
•
•
Code ID Character Transmission
•
•
Serial Port Configuration
•
•
RTS/CTS Handshaking
•
Intercharacter Delay Time
•
•
XON/XOFF Pacing
•
•
Single Read Mode
•
•
Enable Next Read
•
•
Header
•
•
Trailer
•
•
No – Read Recognition
•
•
No – Read Message
•
•
Reader Address
•
•
System Serial Number
•
Code Selection
Serial Port Configuration
Message Supplements
6–1
Page 61
Chapter 6 Programming Via Configuration Bar Code Symbols
Bar Code Symbol
Escape Sequence
Good Read Beep Tone
•
•
Speaker Volume
•
•
Speaker/LED Control
•
•
Function
Speaker/LED
•
Pulse Speaker Laser Shutoff Delay
•
•
Laser Redundancy Check
•
•
Laser Connection Detection
•
•
Continuous Read Mode
•
•
Trigger Latch Mode
•
•
Programming Features
Tab
Laser Scanning Options
The decoder’s configuration may be changed by either scanning a series of configuration bar code symbols or sending an escape sequence to the decoder. Programming via escape sequences is covered in Chapter 5. Default parameters are indicated by an asterisk (*). Appendix A lists the decoder’s default settings.
Configuration Bar Code Symbols
To best use the configuration bar code symbols, it is important to understand that there are three configuration types: Type 1
Type 2
Type 3
Enter
Enter
Enter
Command
Variable Command
Message
Exit variable
Characters
A single scan that completes a configuration.
Exit
End Of Characters
Two scans, the first scan specifying a variable to be changed, and the second Exit scan specifying the new variable value. Multiple scans: The first scan specifies a type of message to be created, the following scans specify the contents of the message. When finished, the operation is completed by scanning the End Of Characters symbol.
6–2
Page 62
Chapter 6 Programming Via Configuration Bar Code Symbols
Type 1 is the most commonly used configuration type. An example of a Type 1 symbol is the Enable Decoding symbol under the Code 39 heading. Another example is the UPC Only symbol in the UPC heading. Scans of Type 1 may be done in any order, since each controls an independent function, and each configuration option is complete as soon as the symbol has been scanned. All of the available numbers are encoded as single symbols. Several Type 2 symbols require a single character instead of a number. The character is scanned from the character menu in the same way. Type 3 configurations begin by scanning a symbol such as Header =. Then characters are scanned one by one from the character menu. The data entry is terminated by scanning the End Of Characters symbol. As soon as the End Of Characters symbol has been scanned, the configuration is complete. The Show Configuration symbol causes the decoder to transmit its configuration to the host computer (and display terminal, if enabled) in the form of a configuration display screen. This screen shows the current settings of the most significant configuration options. Use this symbol to verify your changes to the decoder’s configuration. Type 1 is the most commonly used configuration type. An example of a Type 1 symbol is the Enable Decoding symbol under the Code 39 heading. Another example is the UPC Only symbol in the UPC heading. Scans of Type 1 may be done in any order, since each controls an independent function, and each configuration option is complete as soon as the symbol has been scanned.
Syntax Errors
You may encounter syntax errors while using the bar code menus. When a configuration label has been read and accepted, the decoder will respond with 4 high pitched beeps. The decoder will emit 4 low pitched beeps if any of the following faults occur: 1. Not entering the configuration mode by scanning the enter symbol before scanning a configuration symbol. When the decoder is not in bar code configuration mode, the only configuration symbol that the decoder will recognize is the Enter Configuration Mode symbol. 2. Scanning normal bar code symbols while in the bar code configuration mode will generate a syntax error, but will not change any configuration values. The correct configuration symbol should be scanned. 3. Scanning arguments of the wrong type, in the wrong order, or numerically out of range when in a Type 2 or Type 3 configuration. As soon as a syntax error occurs you may continue the configuration operation by scanning the correct bar codes. You may also restart the 6–3
Page 63
Chapter 6 Programming Via Configuration Bar Code Symbols configuration session by scanning the Enter Configuration Mode symbol again to clear the error and then begin scanning the first symbol in the configuration sequence. As long as each configuration operation is individually completed, configuration operations may be carried out independently. There is no constraint against moving from category to category while configuring separate items. However, you may not interrupt a Type 2 or a Type 3 configuration to begin another. If this is attempted, a syntax error will occur, the second configuration operation will be ignored, and you will have to recover from the syntax error to continue the interrupted configuration operation as described previously.
Syntax Error Example For example, suppose you scan the Trailer = symbol, and then the UPC Only symbol. Since the decoder was expecting a character argument, it responds with a syntax error. You may correct the error by scanning the following configuration bar code symbols:
• Enter Configuration Mode • Trailer = • Character symbols from the character menu • End Of Characters
6–4
Page 64
Chapter 6 Programming Via Configuration Bar Code Symbols
Getting Started
The table on page 6–5 lists the configuration bar code symbols used to configure the decoder. They are separated by tabs and grouped by function. For your convenience, the escape sequences in Chapter 5 are also separated by the same tabs. Tab
Bar Code
Page
Enter Configuration Mode
6–6
Show Configuration Reset Default Configuration Exit Configuration Mode
6–6 6–6 6–6 6–6
Code 39 Configuration
6–7
Interleaved 2 of 5 Configuration Code 128 Configuration Code 11 Configuration UPC/EAN Configuration Codabar Configuration Check Character Transmission Code ID Character Enable Code ID Character Assignment
6–8 6–9 6–10 6–11 6–13 6–14 6–14 6–15
Baud Rate
6–16
Parity Stop Bits RTS/CTS Handshaking Intercharacter Delay Enable Delay = Fixed Serial Port Configuration at Reset XON/XOFF Pacing Single Read Mode Display Terminal Port Enable
6–17 6–17 6–18 6–18 6–18 6–18 6–19 6–19 6–19
Header =
6–20
Trailer = Reader Address = No Read Message = No Read Recognition System Serial Number
6–20 6–20 6–20 6–20 6–20
Speaker/LED Control
6–21
Good Read Beep Tone Speaker Volume
6–21 6–21
Laser Redundancy Check
6–22
Laser Scanning Options
Laser Connection Detection Continuous Read Mode Laser Shutoff Delay Trigger Latch Mode
6–22 6–22 6–23 6–23
Number Menu
0 – 33, 40, 50 . . . 250
6–24
Character Menu
All ASCII Characters
6–29 6–5
Getting Started
Code Selection.
Serial Port Configuration
Message Supplements
Speaker/LED
Page 65
Chapter 6 Programming Via Configuration Bar Code Symbols
Enter Configuration Mode To configure the decoder using the bar code menu symbols, the decoder must be placed into the configuration mode by scanning the Enter Configuration Mode symbol. Configuration bar code symbols can then be scanned until all configuration changes are complete. To resume normal operation, the Exit Configuration Mode symbol is scanned. The Enter Configuration Mode and Exit Configuration Mode symbols provide an extra safeguard against inadvertently reconfiguring the decoder. When the decoder is in the configuration mode, scanning normal bar code symbols generates a syntax error, but will not change any configuration.
Enter
Show Configuration The Show Configuration command generates the Configuration Display Screen, which summarizes the decoder’s current configuration.
Show Configuration
For an explanation of the Configuration Display Screen, refer to page 5–7. Exit
Reset Reset tests and verifies the contents of EEPROM,initiates the ROM/RAM self tests, and configures the decoder according to the contents of EEPROM. Note: When using a hand–held scanner (gun) do not hold the trigger during reset or power up. If you hold the trigger, the decoder will act as if a wand is connected. The decoder will not recognize any laser scanners until it is reset by sending an escape sequence, or by turning the decoder OFF and then ON.
Enter
Reset
Exit
Default Configuration This symbol returns the decoder to the default settings listed in Appendix A. Default Configuration
Exit Configuration Mode
6–6
Page 66
Chapter 6 Programming Via Configuration Bar Code Symbols
Code 39
Enter
Used to enable and disable Code 39. *Default is Code 39 enabled. Enable/Disable
Exit
Full ASCII Conversion Code 39 has an option that allows the full ASCII character set to be decoded using the 43 characters of the Code 39 character set. The full ASCII conversion is done by pairing Code 39 characters. When Code 39 full ASCII conversion is enabled, all valid character pairs will be converted into their corresponding ASCII characters before being transmitted. When disabled, all decoded characters will be transmitted without being converted. *Default is Full ASCII Conversion Off.
Check Character Verification Check characters are supplemental characters added to a bar code symbol to allow the verification of decoded data. If the check character verification is enabled and the check character cannot be verified, then the bar code symbol will be ignored. If no–read recognition is enabled, a no–read message will be transmitted. For more information on Check Characters, refer to page 5–14. *Default is Verification Disabled.
Enter
Code 39 Full ASCII
Exit
Enter
Check Character Verification
Exit
Enter
Minimum and Maximum Lengths The length of a decoded bar code may be checked to see if it matches a set of predefined (configurable) limits. If the length of the bar code is within these limits, it is accepted as valid. If the length is outside the limits, a no–read condition exists. Default minimum length is 1, default maximum length is 32 The length to be checked includes any check characters but does not include start and stop characters. If you want to check for a specific length, the minimum and the maximum should be set to the same number. Setting the maximum less than the minimum (or the minimum greater than the maximum) will cause a syntax error.
Min Length =
Number from number menu
Max Length =
Number from number menu
Exit
6–7
Page 67
Chapter 6 Programming Via Configuration Bar Code Symbols
Interleaved 2 of 5 Used to enable and disable Interleaved 2 of 5. Enter
*Default is I 2 of 5 enabled.
Enable/Disable
Exit
Enter
Check Character Verification Check characters are supplemental characters added to a bar code symbol to allow the verification of decoded data. If the check character verification is enabled and the check character cannot be verified, then the bar code symbol will be ignored. If no–read recognition is enabled, a no–read message will be transmitted. For more information on check characters, refer to page 5–14. *Default is Verification Disabled.
Check Character Verification
Exit
Interleaved 2 of 5 Length Checking There are four mutually exclusive options available to check the length of Interleaved 2 of 5 symbols: 1. The allowed length of the symbols may be variable, with a minimum length of 4 and a maximum length of 32. The minimum and maximum values may be set to other even values between 4 and 32 to narrow the range of lengths to be read. Reading symbols of length 2 is not available when symbol length is variable. 2. The symbols may be checked to see if they are exactly 2 characters long, with no other lengths readable. The minimum and maximum values do not apply. 3. The symbols may be checked to see if they are exactly 6 or exactly 14 characters long, with no other lengths readable. The minimum and maximum values do not apply. 4. The symbols may be checked for a particular even length from 4 to 32. this may be done by scanning the Length = symbol, or by setting the minimum and maximum length to the same value. Default 4, 32
Specific Length =
6 or 14
Enter
Enter
Enter
Variable
Specific Length =
• 6 or 14 Only • 2 Only
Exit
Number between 4 and 32 from number menu
Exit
6–8
Exit
Page 68
Chapter 6 Programming Via Configuration Bar Code Symbols
Interleaved 2 of 5 Length Checking (continued) Assign Min and Max Length Enter
Variable Length
Min Length =
Max Length=
Number between 4 and 32 from number menu
Number between 4 and 32 from number
Exit menu
Code 128
Enter
Used to enable and disable Code 128. *Default is Code 128 enabled. Enable/Disable
Exit
Minimum and Maximum Lengths The length of a decoded bar code may be checked to see if it matches a set of predefined (configurable) limits. If the length of the bar code is within these limits, it is accepted as valid. If the length is outside the limits, a no–read condition exists. Default minimum length is 1, default maximum length is 32. The length to be checked includes any check characters but does not include start and stop characters. If you want to check for a specific length, the minimum and the maximum should be set to the same number. Setting the maximum less than the minimum (or the minimum more than the maximum) will cause a syntax error.
Enter
Min Length =
Number from Number menu
Max Length =
Number from Number menu
Exit
6–9