The text of a manual · part 7 of 17
Quadrus 2D Code Reader User's Manual, pages 61 to 70
Pages 61 to 70 of 166
The original document is the PDF (1.4 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.
Filed in the catalog under the Microscan 6500
Page 61
• If you select an LED Illumination Time that is longer than Shutter Time, the LED’s will shut off at the end of exposure time since there is no benefit in applying power to the LED’s while the CCD is not active. • Setting the LED Illumination Time to less than the exposure time will effectively shorten the time the image is received by the CCD array. For comparison, think of LED Illumination and shutter time in terms of a conventional camera’s flash and shutter speeds, respectively. Internal
Options:
Internal, External, Internal and External
Internal. Uses the Quadrus™’ internal light source to illuminate the symbol at the time of capture. External. Relies on an exterior light for illuminating the symbol. If disabled, regardless of the mode of operation, the external strobe output will be in an inactive state.
Internal and External. Allows you to use both internal and external illumination.
External Source Default:
Continuous
Options:
Continuous, Strobe
Continuous. If Continuous is enabled for External Source, strobe output will depend on the read cycle mode. If in Continuous Read (in Operations menu), the strobe output will be continuously active. However, if the read cycle is in a triggered mode, then the strobe will be pulsed active upon entering the read cycle and pulled inactive upon leaving the read cycle.
Strobe. If Strobe mode is selected, the strobe output will pulse active during the CCD exposure time only.
Strobe Edge Default:
Positive
Options:
Positive, Negative
You can select either Negative or Positive transition for the Strobe Edge. This selection will be grayed out if External Illumination is disabled or Continuous External source is selected.
Quadrus 2D Code Reader User’s Manual
2-37
2–Menu Config.
Default:
Page 62
Chapter 2
Illumination Settings (See “Manual Settings” on page 5-6 for additional explanations.)
2–Menu Config.
Shutter Time Default:
1/500
Options:
1/60, 1/125, 1/ 250, 1/500, 1/1000, 1/2000, 1/4000, 1/10K, 1/20K, 1/50K, and 1/100K.
Allows you to select the desired shutter time.This is similar in function to an everyday photo camera. The rule of thumb is the faster the object is passing through your field of view, the shorter your shutter time must be to capture an undistorted image. If you select durations of 1/20K or shorter, shutter time is controlled by illumination time.
Background Offset Default:
Medium
Options:
Dark (50), Medium (100), Light (150), Custom (0 to 255)
Allows you to change the Offset value. This adjustment is usually made experimentally during calibration (see “Illumination Adjustment Flow” on page 5-8). Also see
Contrast Default:
200
Options:
0 to 255
This adjustment is usually made experimentally during calibration. A higher setting brightens the image.
Threshold Type Default:
Adaptive
Options:
Adaptive, Fixed (0-255)
Adaptive. An Adaptive routine sets the light/dark threshold from data acquired from the current read. Fixed applies the same gray scale threshold value to each and every symbol. Generally, Adaptive gives better results than Fixed. See following descriptions of each. Fixed. Allows you to enter a fixed number (from 0 to 255) that determines how the reader distinguishes light from dark pixels. Unlike Adaptive, a Fixed Threshold value is applied consistently to each and every label. Fixed works best when decode time must be as short as possible and the reflectance and illumination of the symbol area is uniform and unchanging.
2-38
Quadrus 2D Code Reader User’s Manual
Page 63
Custom Menu In some cases there may be a discrepancy between your application code and the ESP™ version. If so, after you’ve sent a Receive from Reader command, you will see the following Custom Menu:
2–Menu Config.
Figure 2-13 Custom Menu
In this case, the application code residing in this reader has a KQ command that does not match the command in the current ESP™ version and the commands listed here are those that do not match. The Custom menu provides a way of identifying those commands that vary from your current version of ESP™. When you save your current ESP™ configuration file, the same custom commands will be available upon recall. If you subsequently download a version of the application code to the reader that matches your version of ESP™, the Custom menu tab will no longer appear.
Quadrus 2D Code Reader User’s Manual
2-39
Page 64
2–Menu Config.
Chapter 2
2-40
Quadrus 2D Code Reader User’s Manual
Page 65
Chapter
3
Serial Commands
Chapter Contents
Serial command strings are entered from an ASCII terminal, from a host computer, or within the Terminal window of the Quadrus™ ESP™ for Windows™. As with menu configuration commands, serial configuration commands relate to the initial reader setup. Note: For a more detailed explanation of Quadrus™ serial commands, see explanations of corresponding ESP™ commands in Chapter 2, “Menu Configuration.” Note: The order that serial commands are presented in this chapter conforms to the serial command groupings established in the application software and therefore may not always follow the order established in Chapter 2, “Menu Configuration.”
Quadrus 2D Code Reader User’s Manual
3-1
3–Serial Commands
About Serial Configuration ................................................................... 3-4 Communications Port........................................................................... 3-6 Protocol................................................................................................ 3-7 Operations ......................................................................................... 3-10 Symbol ............................................................................................... 3-15 In/Out ................................................................................................. 3-16 Illumination......................................................................................... 3-20
Page 66
Chapter 3 Table 3-1 Summary of Serial Configuration Commands
Function
K Ka
CommunKy ications Kb Kf Kd Ke KA Protocol KB Kc
3–Serial Commands
KT?
Operations
Aux Port Host Port RS-422 Protocol Preamble Postamble Response Timeout Intercharacter Delay LRC Comm./Protocol Status Request
Kg
Trigger
Ki KJ Kj KI
Serial Trigger Character Trigger Variance Trigger Polarity Trigger Source
KG
Trigger Delay
Kh
Read Cycle
Kk KL
Noread Message Multilabel
Kn
Match Code
KM Kz Ku Kl KV?
3-2
Command Host Port
Master Label Database Size New Master Pin Beeper Status Reader Output Operations Status Request
Format <Kabaud,parity,stop bits,data bits> <Kymode,baud rate,parity,stop bits,data bits,daisy chain status, daisy chain ID> <Kbstatus> <Kfprotocol,address> <Kdstatus,preamble character(s)> <Kestatus,postamble character(s)> <KAtimeout setting> <KBtime interval> <Kcstatus> <KT?> <Kgmode,trigger filter time,single shot,multi-capture, # captures after trigger> <Kitrigger character> <KJtrigger variance mode> <Kjpolarity> <KItrigger source> <KGtrigger delay type,trigger delay time,number of delay pulses> <Khend of read cycle,timeout,max decode time> <Kkstatus,noread message> <KLnumber of labels,multilabel separator> <Kntype,sequential matching,match start position,match length,wild card character,sequence on noread,sequence on every mismatch> <KMnumber of master labels> <Kzstatus> <Kustatus> <Klbar code output,when to output> <KV?>
Quadrus 2D Code Reader User’s Manual
Page 67
Table 3-1 Summary of Serial Configuration Commands (continued)
Function
Symbol
K
Command
Format
KQ
<KQstatus> <Konarrow margins status,symbology identifier status>
KE KK KC
Data Matrix Narrow Margins/Symbology Identifier Code Types Status Request Partial Output Input # 1 Input # 2
Kv
Output # 1
Kw
Output # 2
KH
Output # 3
KP
Coordinate Data Status
KO
Quality Output
KS
Serial Verification
Ko KW?
KX?
Operation Command Output Format In/Out Status Request
KR
Internal Illumination
<KRstatus,LED illumination time>
KY
External Illumination
<KYstatus,source,strobe edge,pulse width>
KZ
Illumination Parameters
Kx
Image Settings
<KZshutter time,AGC min,offset,AGC max.> <Kxthreshold type,quiet zone color,number of symbols to find,fixed threshold value,flag early out>
KU
Illumination Status Request
K/ Illumination
<KEstatus,start postion,length> <KKmode,polarity> <KCmode,polarity> <Kvoutput on,polarity,pulse width,output mode,trend analysis mode,trigger evaluation period,# to output on> <Kwoutput on,polarity,pulse width,output mode,trend analysis mode,trigger evaluation period,# to output on> <KHoutput on,polarity,pulse width,output mode,trend analysis mode,trigger evaluation period,# to output on> <KPstatus> <KO% cell damage,symbol contrast,total decode time,capture time,locate time,decode time,pixels per element,ECC level,symbol contrast,output separator> <KScommand echo status,command beep status,control/hex output> <K/command output format> <KX?>
<KZ?>
Quadrus 2D Code Reader User’s Manual
3-3
3–Serial Commands
In/Out
<KW?>
Page 68
Chapter 3
About Serial Configuration Serial Configuration Command Format The format for a serial configuration command is, <Kparameterdata,data,...etc.><initializing command>
Where: • Less than < and greater than > symbols are included as part of the commands. • “parameter,” as used here, are those character(s) that precede the data. • The “initializing command” <A> or <Z> is sent after configuration is complete. <Z> resets and saves for power up. <A> initializes the change to RAM. (For more information on additional resets and saves, see page 4-14.)
3–Serial Commands
For example, to change Baud Rate and reset without saving changes for power-up, enter <Ka3><A>. Or, to enable UPC and save the change for power-on, enter <Ks1><Z>.
When using serial configuration commands, note also the following conventions: • Parameters and data are “case sensitive.” That is, characters must be entered as upper or lower case, as specified. • All data fields (except the last) must be followed by a comma (without a space). • If there is no change in a given field, then commas can be entered alone, or with the existing data (for example, <Ka,,,0> or <Ka4,1,0,0>). • All fields preceding the modified field must be included. For example, in Host Port, to change Data Bits to Eight without changing any other field, enter either:<Ka,,,1> or <Ka4,1,0,1>. • All fields following the modified field can be left out. For example, in the RS-232 port, to change Baud Rate to 4800, enter <Ka3>. (See examples on following pages.)
Concatenating Serial Commands Commands can be concatenated (added together) to a maximum of 64 characters in a single string or data block. Additional data blocks of 64 or less characters can be sent provided there is at least a 10 ms pause between blocks. For example, <Kc1><Kh1><Ko1><A> enables LRC, sets End of Read Cycle mode to New Trigger, enables Narrow Margins and resets the data buffers (without saving the changes for power-on).
3-4
Quadrus 2D Code Reader User’s Manual
Page 69
Serial Command Status Request The status of parameters can be requested by entering the command followed by a question mark. For example, enter <Ke?> to request the status of Postamble. Commands <KT?>, <KV?>,<KW?>,<KX?>, and <KU?> are used to request the status of groups of parameters (see table 3-1 on page 3-2).
Loss of Communications Making changes to communications parameters such as Baud Rate, Parity, Stop Bits, LRC, etc. without corresponding changes in linked device(s) can result in the loss of communications. If this should occur, with power applied to the reader, default the reader by: 1. momentarily connecting pin 11 to ground (pin 17) until the beeper sounds, then 2. breaking the connection and within three seconds reconnecting. Caution: The reader will reset all standard configuration parameters.
3–Serial Commands
Quadrus 2D Code Reader User’s Manual
3-5
Page 70
Chapter 3
Communications Port Host Port Format: <Kabaud rate,parity,stop bits,data bits> baud rate: 1 = 1200 2 = 2400 3 = 4800 parity: 0 = None 1 = Even 2 = Odd data bits: 0 = Seven 1 = Eight
4 = 9600 5 = 19.2K
3–Serial Commands
6 = 38.4K 7 = 57.6K 8 = 115.2K stop bits: 0 = One 1 = Two
Aux Port Format: <Kymode,baud rate,parity,stop bits,data bits,daisy chain status, daisy chain ID> mode: 0 = Disabled 1 = Transparent 2 = Half Duplex 3 = Full duplex baud rate: 1 = 1200 2 = 2400 3 = 4800 4 = 9600
4 = Daisy Chain
5 = 19.2K
5 = Command Processing
6 = 38.4K 7 = 57.6K data bits: 0 = Seven 1 = Eight daisy chain status 0 = Disabled 1 = Enabled parity: 0 = None 1 = Even 2 = Odd daisy chain ID 1 or 2 ASCII characters
Host Port RS-422 Format: <Kbstatus> 0 = Disabled 1 = Enabled
3-6 stop bits 0 = One 1 = Two
Quadrus 2D Code Reader User’s Manual