The text of a manual · part 6 of 23
MS-850 Raster Scanner User's Manual, pages 51 to 60
Pages 51 to 60 of 222
The original document is the PDF (4.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 Microscan MS-850
Page 51
Chapter 3
Protocol
Postamble Characters Postamble Status Definition:
Allows the user to enable or disable up to four postamble character(s) that can be added to the end of the decoded data.
Usage:
Useful for identifying and controlling incoming data. For example, defining the postamble as a carriage return and a line feed causes each decoded message to be displayed of on its own line.
Serial Cmd:
<Kestatus,postamble character(s)>
Default:
Enabled
Options:
0 = Disabled
1 = Enabled (within any protocol)
Postamble Character(s) <Kestatus,postamble character(s)>
Default:
^M^J. Corresponds to carriage return/line feed/null/null, as displayed in the menu.
Options:
Up to four user-defined ASCII character, including control characters.
Within a Serial Command To enter control characters within a serial command, hold down the control key while typing the desired character. Example: <K1,CNTL-m CNTL-j> to enter ^M^J.
Within an Embedded Menu Control characters entered on the command line are displayed in the menu as mnemonic characters, such as: <CR><LF><NUL><NUL> To enter a control character from within an embedded menu, first type in a space (with the space key). This has the effect of allowing the control key to be recognized as a part of the control character. Next hold down the control key while typing the desired character. Example: Space CNTL-m Space CNTL-j to enter ^M^J.
MS-850 Raster Scanner User’s Manual
3-13
3–Protocol
Serial Cmd:
Page 52
3–Protocol
Output Data Format
3-14
MS-850 Raster Scanner User’s Manual
Page 53
Chapter
Read Cycle/Trigger
4 Chapter Contents Trigger Mode ...............................................................................................4-4 External Trigger State ...............................................................................4-10 End of Read Cycle ....................................................................................4-11 Multilabel ...................................................................................................4-14
Note: The characters NULL <> and , can only be entered through embedded menus, not through ESP or serial commands.
MS-850 Raster Scanner User’s Manual
4-1
4–Read Cycle/Trig-
Read cycles and triggering modes are at the heart of bar code scanning. After you’ve established communications and completed basic read rate testing, you will need to address the spatial and timing parameters associated with your application. In a typical operation a bar-coded item moves along a line past a scanner. A sensor or timer activates a read cycle during which the scanner actively searches for bar code symbols. You will need to decide how to initiate the read cycle and how and when to end it. This section addresses these issues.
Page 54
Read Cycle/Trigger by ESP
Click this Button to bring up the Read Cycle/Triggering menu
To change a setting, double-click the setting and use your curser to scroll through the options.
4–Read Cycle/Trig-
Read Cycle/Trigger by Serial Command Command Title Triggering Mode End of Read Cycle Serial Trigger Character External Trigger State Decodes Before Output
Cmd Kg Kh Ki Kj Km
Multilabel
KL
4-2
Format <Kgtrigger mode,filter time> <Khmode,timeout> <Kicharacter> <Kjexternal trigger state> <Kmdecodes before output> <KLnumber of labels,multilabel separator>
MS-850 Raster Scanner User’s Manual
Page 55
Chapter 4 Read Cycle/Trigger
Read Cycle/Trigger by Embedded Menu For information on accessing the embedded menus, see “Embedded Menus” on page A-18.
From the Main menu, scroll down through the options until you reach the following screen:
4–Read Cycle/Trig-
MS-850 Raster Scanner User’s Manual
4-3
Page 56
Trigger Mode
Trigger Mode Definition:
The type of trigger event that will initiate the read cycle.
Serial Cmd:
<Kg trigger mode,trigger filter duration>
Default:
Continuous Read
Options:
0 = Continuous Read 1 = Continuous Read 1 Output 2 = External Level 3 = External Edge
4 = Serial Data 5 = Serial Data & External Edge
Continuous Read In Continuous Read, trigger input options are disabled, the scanner is always in the read cycle, and it will attempt to decode and transmit every scan crossing a label. When To Output and Noread options have no affect on Continuous Read.
Usage:
Continuous Read is useful in testing bar code label readability or scanner functions. It is not recommended for normal operations.
Serial Cmd:
<Kg 0>
4–Read Cycle/Trig-
Definition:
4-4
MS-850 Raster Scanner User’s Manual
Page 57
Chapter 4 Read Cycle/Trigger
Continuous Read 1 Output Definition:
In Continuous Read 1 Output the scanner self-triggers whenever it decodes a new bar code label or a timeout occurs. If End Of Read Cycle is set to Timeout and the label doesn't change, the scanner will repeat the output at the end of each timeout period. For example, if Timeout is set to one second, the scanner sends the label data immediately and repeats the output at intervals of one second for as long as the label continues to be scanned. If End Of Read Cycle is set to New Trigger, the scanner will send the current label data immediately, but send it only once. A new label appearing in the scanner’s range will be read and sent immediately provided it is not identical to the previous label read.
Usage:
Continuous Read 1 Output can be useful in applications where it is not feasible to use a trigger and all succeeding labels contain different information. It is also effective in applications where the objects are hand presented.
Serial Cmd:
<Kg1>
Caution: In automated environments, Continuous Read 1 Output is not recommended because there is no one to verify that a label was missed. Note: If Trigger is set to Continuous Read 1 Output, Number of Labels will default back to 1 (if set to any number greater than 1).
4–Read Cycle/Trig-
MS-850 Raster Scanner User’s Manual
4-5
Page 58
Trigger Mode
External Trigger Level Definition:
External Trigger Level allows the read cycle (active state) to begin when a trigger (change of state) from an external sensing device is received. The read cycle endures until the object moves out of the sensor range and the active trigger state changes again.
Usage:
This mode is effective in an application where the speeds of the conveying apparatus are variable and the time the scanner spends scanning each object is not predictable. It also allows the user to determine if a noread has occurred. Initiate Read Cycle:
Object # 1, moving in front of the detector beam, causes a change in the trigger state, initiating the read cycle. Associated waveforms assume External Trigger State is set to Active On.
End Read Cycle:
The same object, moving out of the detector beam, causes another change in the trigger state, ending the read cycle.
Figure 4-1 Trigger Level
4–Read Cycle/Trig-
Serial Cmd:
<Kg2>
Important: Level and Edge apply to the active logic state (Active Off (IOFF)or Active On (ION)) that exists while the object is in a read cycle, between the rising edge and falling edge. Rising edge is the trigger signal associated with the appearance of an object. Falling edge is the trigger signal associated with the subsequent disappearance of the object.
4-6
MS-850 Raster Scanner User’s Manual
Page 59
Chapter 4 Read Cycle/Trigger
External Trigger Edge Definition:
External Trigger Edge, as with Level, allows the read cycle (active state) to begin when a trigger (change of state) from an external sensing device is received. However, the passing of an object out of sensor range does not end the read cycle. The read cycle ends with a good read output or, depending on End of Read Cycle setting, a timeout or new trigger occurs.
Usage:
This mode is highly recommended in any application where conveying speed is constant or if spacing, object size, or timeouts are consistent. Initiate Read Cycle:
Object # 1, moving in front of the detector beam, causes a change in the trigger state, initiating the read cycle.
Initiate Second Read Cycle:
Associated waveforms assume External Trigger State is set to Active On.
Object # 2, moving in front of the detector beam, causes another change in the trigger state. This signal initiates a new read cycle and ends the previous read cycle unless Timeout is enabled and a good read or timeout has not occurred.
Figure 4-2 Trigger Edge Serial Cmd:
<Kg3>
MS-850 Raster Scanner User’s Manual
4-7
4–Read Cycle/Trig-
Important: Level and Edge apply to the active logic state (Active Off (IOFF) or Active On (ION)) that exists while the object is in a read cycle, between the rising edge and falling edge. Rising edge is the trigger signal associated with the appearance of an object. Falling edge is the trigger signal associated with the subsequent disappearance of the object.
Page 60
Trigger Mode
Serial Data Definition:
In Serial Data, the scanner accepts an ASCII character from the host or controlling device as a trigger to start a read cycle. A Serial Data trigger behaves the same as an External Edge trigger. Serial commands are entered inside corner brackets, such as <t>.
Usage:
Serial Data is effective in a highly controlled environment where the host knows precisely when the object is in the scan zone. It is also useful in determining if a noread has occurred.
Serial Cmd:
<Kg4>
Serial Data or External Edge In this mode the scanner accepts either a serial ASCII character or an external trigger pulse to start the read cycle.
Usage:
Serial Data or External Edge is seldom used but can be useful in an application that primarily uses an external sensing device but occasionally needs to be manually triggered. An auxiliary terminal can be connected to the aux port so the user can send the serial trigger character through the scanner to the host.
Serial Cmd:
<Kg5>
4–Read Cycle/Trig-
Definition:
4-8
MS-850 Raster Scanner User’s Manual