The text of a manual · part 9 of 31
MS-890 Industrial Automation Scanner User's Manual, pages 81 to 90
Pages 81 to 90 of 308
The original document is the PDF (3.0 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-890
Page 81
Read Cycle
External Trigger State Note: External Level, External Edge, or Serial Data and External Edge trigger mode must be enabled for External Trigger to take effect. Usage:
Users can select the trigger state that will operate with their systems. (If using an object detector, use Active Closed.)
Definition:
When enabled for Active Closed the triggering device imposes a current on the optoisolator to activate the read cycle. When enabled for Active Open the triggering device interrupts the current to the optoisolator to activate the read cycle.
Serial Cmd:
<K202,external trigger state>
Default:
Active closed
Options:
0 = Active open
1 = Active closed
MS-890 Industrial Automation Scanner User’s Manual
4-11
Page 82
Serial Trigger
Serial Trigger Usage:
Useful in applications where a read cycle needs to be initiated and/or ended by user-defined serial characters.
Definition:
An online host command composed of a single ASCII host serial trigger character that initiates or ends the read cycle. Trigger characters are of two types: delimited and non-delimited. A delimited character is enclosed within angle bracket delimiters < >. A non-delimited trigger character is one that either starts or ends the read cycle and is NOT enclosed by delimiters such as < >.
Rules for Trigger Modes
• In External Edge the scanner looks only for the Start Trigger Character and ignores any End Trigger Character that may be defined. • In External Level, the Start Trigger Character begins the read cycle and an End Trigger Character ends it. Note that even after a symbol has been decoded and the data transmitted, the scanner remains in External Level trigger read cycle until a Stop character is received. • In Serial Data and External Edge trigger mode, command, either a Start Trigger Character or a hardware trigger can start an Edge trigger read cycle.
Serial Trigger Character (Delimited) Usage:
Useful in applications where a single serial character enclosed in angle brackets initiates the read cycle.
Definition:
A delimited trigger character is one that starts the read cycle, is enclosed by delimiters such as < >, and can only be sent when the trigger mode is set to Serial Data or Serial Data and External Edge.
Serial Cmd: <K201,serial trigger character> Default:
^] (corresponds to <GS> displayed in the embedded menu)
Options:
Any single ASCII character, including control characters, except NUL (00 in hex), an existing host command character, or an online protocol character. Control characters entered on the command line are displayed in the menu as mnemonic characters. Note: Serial Data or Serial Data and External Edge triggering mode must be enabled for Serial Trigger Character to take effect.
4-12
MS-890 Industrial Automation Scanner User’s Manual
Page 83
Read Cycle
Start Character (Non-Delimited) Usage:
Useful in applications where a different character is required to start a read cycle. Works with External Edge, External Level, and Serial Data and External Edge.
Definition:
A single ASCII host serial trigger character that starts the read cycle and is not enclosed by delimiters such as < and >.
Serial Cmd: <K229,start trigger character> Default:
NUL (disabled)
Options:
Two hex digits representing an ASCII character except <, >, XON, and XOFF.
Stop Character (Non-Delimited) Usage:
Useful in applications where a different character is required to end a read cycle. Works with External Level only.
Definition:
A single ASCII host serial trigger character that ends the read cycle and is not enclosed by delimiters such as < and >.
Serial Cmd: <K230,stop trigger character> Default:
NUL (disabled)
Options:
Two hex digits representing an ASCII character except <, >, XON, and XOFF.
MS-890 Industrial Automation Scanner User’s Manual
4-13
Page 84
End of Read Cycle
End of Read Cycle Note: When to Output must be set to End of Read Cycle before this command can be active. Definition:
The read cycle is the time during which the scanner will attempt to read and decode a symbol. At the end of a read cycle the scanner stops reading symbols and sends the symbol data or No Read message to the host.
End of Read Cycle Mode Definition:
A read cycle can be terminated by a new trigger, a timeout, or a combination of both.
Serial Cmd: <K220,end of read cycle,read cycle timeout> Default:
Timeout
Options: 0 = Timeout 1 = New Trigger 2 = Timeout and New Trigger Note: When operating in Continuous Read or Continuous Read 1 Output, the scanner is always in the read cycle.
Timeout Usage:
Typically used with Serial or Edge and Continuous One. It is effective in highly controlled applications when the maximum length of time between objects can be predicted. It assures that a read cycle ends before the next bar-coded object appears, giving the system extra time to decode and transmit the data to the host.
Definition:
Timeout ends the read cycle when the time set in Read Cycle Timeout elapses or “times out.” If in Continuous Read 1 Output, a timeout initiates a new read cycle and allows the same symbol to be read again. With either External Edge, Serial Data, or Serial Data and External Edge enabled, a timeout ends the read cycle and symbol data or a No Read message is sent to the host. With External Level enabled, the read cycle does not end until the falling edge trigger or a timeout occurs. The next read cycle does not begin until the next rising edge trigger.
4-14
MS-890 Industrial Automation Scanner User’s Manual
Page 85
Read Cycle
New Trigger Usage:
New Trigger is an effective way to end a read cycle when objects move past the scanner at irregular intervals (not timing-dependent).
Definition:
New Trigger ends the current read cycle and initiates a new one when a new trigger occurs. New Trigger refers only to a “rising edge” trigger. With either External Edge, Serial, or Serial or Edge enabled, an edge or serial trigger ends a read cycle and initiates the next read cycle. In the case of External Level, a falling edge trigger ends the read cycle but the next read cycle does not begin until the occurrence of the next rising edge trigger.
Note: When New Trigger is enabled and if not in External Level mode, Laser On/Off will have no effect. When No Reads occur, the laser will remain on.
Timeout and New Trigger Usage:
Useful in applications that require an alternative way to end the read cycle. For example, if an assembly line should stop completely or the intervals between objects are highly irregular.
Definition:
Timeout and New Trigger is identical to Timeout, except that a timeout or a new trigger (whichever occurs first) ends the read cycle.
MS-890 Industrial Automation Scanner User’s Manual
4-15
Page 86
End of Read Cycle
Read Cycle Timeout Usage:
Useful in many tightly controlled applications which require a read cycle to end before the next object appears and therefore need the flexibility of a timeout adjustment.
Definition:
Read Cycle Timeout is the time span of the read cycle and is represented in 10 ms increments. It is used in conjunction with External Edge or Serial Trigger.
Serial Cmd: <K220,end of read cycle,read cycle timeout> Default:
100 (x 10 ms)
Options:
0 to 65535. (Divide any positive number entered by 100 to determine the time in seconds.) Note: A minimum setting of 2 is recommended. Note: Timeout or Timeout or New Trigger under End of Read Cycle must be enabled for Read Cycle Timeout to take effect.
4-16
MS-890 Industrial Automation Scanner User’s Manual
Page 87
Read Cycle
Good Decode Reads Usage:
This is a very useful feature to increase reliability of reads for symbologies that do not have internal error checking such as Pharmacode.
Definition:
The number of decodes (from 1 to 31) required per symbol before a symbol’s decoded data is sent. It requires the scanner to successfully decode a symbol a designated number of times (not necessarily consecutively) before it is sent. If it doesn’t achieve the number of good reads during the read cycle, then a No Read will be sent. Note: Higher settings will decrease throughput speed.
Serial Cmd: <K221,good decode reads,mode> Default:
1
Options:
1 to 31
Good Decode Output Mode Definition:
Affects how the scanner counts symbols that it reads successfully.
Serial Cmd: <K221,good decode reads,mode> Default:
Non-Consecutive
Options:
0 = Non-Consecutive 1 = Consecutive
MS-890 Industrial Automation Scanner User’s Manual
4-17
Page 88
Gain Settings
Gain Settings The settings in this section are typically adjusted by Calibration, or by qualified technicians. They are included here for special applications. Before making changes to individual commands in this section, it would be advisable to make a written record of current settings.
Gain Adjustment Usage:
Can be useful for fine-tuning gain or when portions of analog signals spike as in the case of specular reflection or extraneous noise. Caution: Changes to Gain are typically done by qualified technicians in Calibration. See Chapter 9, Calibration.
Definition:
Sets a voltage amplitude value for the analog circuitry.
Serial Cmd: <K504,gain adjustment,AGC mode> Default:
Default is 40 (nominal). Gain is optimized at the factory before shipment; the default value may not be 40.
Options:
0 to 255
AGC Mode Definition:
Tracks peak signals and selects an amplitude reference point to sample the analog signals for converting to digital.
Serial Cmd: <K504,gain adjustment,AGC mode> Default:
Disabled
Options:
0 = Disabled 1 = Enabled
4-18
MS-890 Industrial Automation Scanner User’s Manual
Page 89
Read Cycle
Focus Focus is generally set during the Calibration routine (see Chapter 9, Calibration). However, in certain applications involving specific focal lengths, manual control of focus may be appropriate.
Focus Position Definition:
Allows the user to change the focus position setting.
Serial Cmd: <K508,focus position> Default:
0
Options:
0 to 40
MS-890 Industrial Automation Scanner User’s Manual
4-19
Page 90
Scan Speed
Scan Speed Definition:
Allows the user to set the number of scans per second by controlling the spinning mirror motor speed.
Serial Cmd: <K500,scan speed> Default:
400
Options:
400 to 1000
4-20
MS-890 Industrial Automation Scanner User’s Manual