The text of a manual · part 8 of 18
Multi-Purpose Bar Code Workstation Series B (Catalog Number 2755-DH1) User Manual: 5 - Programming Via Escape Sequences, pages 53 to 59
Pages 53 to 59 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 53
Chapter 5 Programming Via Escape Sequences
Reader Address Syntax Esc –y <n> A <character> Function n 0 1 Values of n:
Reader Address Mode Disabled Reader Address Mode Enabled 0,
<character> can be one of 128 ASCII characters The <n> value tells the decoder how many characters after the A to load into the reader address buffer. Note: This escape sequence cannot be concatenated.
Reader Address Example To assign an address of 3 to your decoder, send the following escape sequence: Esc – y 1 A 3
Good Read Beep Tone Esc – y <n> B
The good read beep sounds upon a successful completion of a decode. As the range of <n> increases, so does the frequency of the tone. Setting the tone to zero will disable the beep.
Good Read Beep Tone Syntax Esc –y <n> B
Values of n:
n
Frequency (Hz)
0 1 2 3 4 5 6 7 8 9 10 11 12* 13 14 15 16
Disabled 516 539 580 612 648 687 724 767 812 859 914 967 1037 1827 2398 3032
0 . . . 16 * Default
The default value of <n> is 12. 5–28
Page 54
Chapter 5 Programming Via Escape Sequences
Tones 1 through 12 form a rough chromatic scale.
Good Read Beep Tone Example To set the tone to a frequency of 687 Hz, send the following escape sequence: Esc – y 6 B
Speaker/LED Control Esc – y <n> C
This function controls the volume of the speaker and toggles the speaker and LEDs on/off. Note: If an external speaker is connected, the internal speaker will be disconnected.
Speaker/LED Control Syntax Esc –y <n> C Function n 33 34 36* 38 40 Values of n:
Speaker Off Speaker Volume Low Speaker Volume Medium Speaker Volume High Speaker and LEDs Off
33, 34, 36, 38, 40 * Default
The default value of <n> is 36.
Speaker/LED Control Example To set the volume to low, send the following escape sequence: Esc – y 34 C
Pulse Speaker Esc – y <n> T
This function causes the decoder to sound a tone at the selected pitch for approximately 100 milliseconds. This tone can be used as an alert signal to a remote decoder. While a tone is being generated, another tone command can be accepted and executed as soon as the first tone finishes. Only one tone command can be buffered in this way. If two or more tone commands are sent before the initial tone finishes, only the last is buffered. 5–29
Page 55
Chapter 5 Programming Via Escape Sequences
If multiple tone commands are to be sent in a string, a delay of at least 100 ms should be placed between each command to ensure that each tone occurs. The approximate frequencies versus tone (n) are given below. Tones 1 through 12 form a rough chromatic scale.
Pulse Speaker Syntax Esc –y <n> T
Values of n:
n
Frequency (Hz)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
516 539 580 612 648 687 724 767 812 859 914 967 1037 1827 2398 3032
1 . . . 16
Note: The volume for this command is controlled by the Speaker/LED Control escape sequence.
Pulse Speaker Example To make the decoder sound a 580 Hz tone, send the following escape sequence: Esc – y 3 T
Laser Scanning Options Esc – y <n> R
5–30
Laser scanning options are comprised of four independent functions.
• Laser Redundancy Check • Automatic Laser Connection Detection • Continuous Read Mode • Trigger Latch Mode
Page 56
Chapter 5 Programming Via Escape Sequences
Laser Redundancy Check Esc – y 1 R
When the laser redundancy check is enabled, two consecutive, identical decodes of a symbol must occur (after the laser scanner is triggered) before a good read is recognized by the decoder. When disabled, only one decode is required. The redundancy check produces greater immunity to substitution errors with poor quality labels.
Laser Redundancy Check Syntax Esc –y <1> R Binary Value 0 1 2 4 8* Values of n:
Function All Options Disabled Laser Redundancy Check Enable Laser Connection Detection ON Continuous Read Mode Trigger Latch Mode On
0 . . . 15 * Default
The default value of <n> is 8. Note: This command allows several functions to be enabled simultaneously. To determine <n>, choose the wanted functions and add up their corresponding binary values.
Laser Redundancy Check Example To enable the laser redundancy check, send the following escape sequence: Esc – y 1 R
This example assumes that laser connection detection, continuous read mode, and trigger latch mode are disabled.
Laser Connection Detection Esc – y 2 R
Use this function to automatically determine the type of scanning device connected to the decoder. If upon power up or reset a laser scanner is detected, a combination of high pitched tones is produced. For wands, a low pitched combination is heard. Note: When using a hand–held laser scanner or Catalog No. 2755–L2 scan head do not trigger either device during 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 an escape sequence, or by turning the decoder OFF and then ON. 5–31
Page 57
Chapter 5 Programming Via Escape Sequences
Laser Connection Detection Syntax Esc –y <n> R Binary Value 0 1 2 4 8* Values of n:
Function All Options Disabled Laser Redundancy Check Enable Laser Connection Detection ON Continuous Read Mode Trigger Latch Mode On
0 . . . 15 * Default
The default value of <n> is 8. Note: This command allows several functions to be selected simultaneously. To determine <n>, chose the wanted functions and add the corresponding binary values. Note: If laser connection detection is ON and a power up or reset occurs, the laser will flash briefly.
Laser Connection Detection Example To enable the laser connection detection, send the following escape sequence: Esc – y 2 R
This example assumes that the laser redundancy check, continuous read mode, and trigger latch mode are disabled.
Continuous Read Mode Esc – y 4 R
When enabled, the laser is turned on constantly instead of waiting for the trigger to be pulled. Scanning, decoding, and transmitting decoded messages occur continuously. Certain functions can now only be performed periodically. Examples are responding to commands such as to sound a tone or to send a no–read response if a symbol has not been decoded within the laser shutoff delay period. The shorter the laser shutoff delay, the more often system functions are performed. System functions are also performed every time there is a good read. When disabled, the trigger is used to initiate and terminate laser scanning. Note: Do not use this function with a Catalog No. 2755–G5 Hand–Held Laser Scanner. Note: When using a Catalog No. 2755–L2 scan head in continuous read mode, the Package Detector must be disconnected.
5–32
Page 58
Chapter 5 Programming Via Escape Sequences
Continuous Read Mode Syntax Esc –y <n> R Binary Value 0 1 2 4 8* Values of n:
Function All Options Disabled Laser Redundancy Check Enable Laser Connection Detection ON Continuous Read Mode Trigger Latch Mode On
0 . . . 15 * Default
The default value of <n> is 8. Note: This function allows several functions to be selected simultaneously. To determine <n>, choose the wanted functions and add the corresponding binary values.
Continuous Read Mode Example To enable the continuous read mode, send the following escape sequence: Esc – y 4 R
Trigger Latch Mode Esc – y 8 R
When enabled, the laser scanner is turned on when triggered, but is not shut off when the trigger is released. Instead, the laser continues scanning until either the laser shutoff delay period has elapsed or a good read occurs. When this mode is disabled, the laser is shut off immediately when the trigger is released. Note: This must be enabled when using a Catalog No. 2755–L2 scan head.
Trigger Latch Mode Syntax Esc –y <n> R Binary Value 0 1 2 4 8* Values of n:
Function All Functions Disabled Laser Redundancy Check Enable Automatic Laser Connection Detection ON Continuous Read Mode Trigger Latch Mode On
0 . . . 15 * Default
The default value of <n> is 8. Note: This function allows several functions to be selected simultaneously. To determine <n>, choose the wanted functions and add the corresponding binary values. 5–33
Page 59
Chapter 5 Programming Via Escape Sequences
Trigger Latch Mode Example To enable the trigger latch mode, send the following escape sequence: Esc – y 8 R
Laser Shutoff Delay Esc – y <n> V
The laser shutoff delay determines how long the laser will remain enabled after the trigger is pulled. The laser will remain on until a read is completed or the laser shutoff period has elapsed. If the shutoff delay is set to 0, the laser will not turn on at all when the trigger is pulled.
Laser Shutoff Delay Syntax Esc –y <n> V Values of n:
0 . . . 100
The default value of <n> is 120. Each unit of <n> equals 4 sweeps of the laser beam Note: Communications with the decoder will be postponed until scanning is complete.
Laser Shutoff Delay Example To set the laser shutoff delay to 16 sweeps, send the following escape sequence: Esc – y 4 R
5–34