The text of a manual · part 35 of 39
MINI Hawk Xi High Performance Imager User Manual, pages 341 to 350
Pages 341 to 350 of 388
The original document is the PDF (6.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 Mini Hawk Xi
Page 341
Appendices
Appendix C, Serial Configuration Commands Note: For a list of utility commands such as read rate requests, device control options, and imager status requests, see Serial Utility Commands. Communications Host Port Connections Ethernet Ethernet TCP Ports Host Port Protocol Preamble Postamble Response Timeout LRC ACK/NAK Options Polling Mode Options Calibration Calibration Options Autocalibrate Read Cycle Trigger Mode/Filter Duration Serial Trigger Character External Trigger State End of Read Cycle Decodes Before Output Multisymbol Start Trigger Character Stop Trigger Character Capture Mode Capture Timing Image Storage IP Timeout Symbologies Narrow Margins/Symbology ID Background Color Composite Aztec Code
<K100,baud rate,parity,stop bits,data bits> <K126,status,IP address,subnet,gateway,IP address mode> <K127,TCP Port 1,TCP Port 2> <K140,protocol,address> <K141,status,preamble characters> <K142,status,postamble characters> <K143,response timeout> <K145,status> <K147,RES,REQ,STX,ETX,ACK,NAK> <K148,RES,REQ,STX,ETX,ACK,NAK> <K529,gain,shutter speed,focus position,symbol type,WOI framing, WOI margin,line scan height> <@CAL> <K200,trigger mode,leading edge trigger filter,trailing edge trigger filter> <K201,serial trigger character> <K202,external trigger state> <K220,end of read cycle,read cycle timeout> <K221,decodes before output> <K222,number of symbols,multisymbol separator> <K229,start character> <K230,stop character> <K241,capture mode,number of captures,rapid capture mode> <K242,time before first capture,time between first and second captures,,,,,,,,time between seventh and eighth captures> <K244,image storage type,image store mode> <K245,image processing timeout> <K450,narrow margin status,symbology identifier status> <K451,background color> <K453,symbology status,separator status,separator> <K458,status>
MINI Hawk Xi High Performance Imager User Manual
A-17
Page 342
Serial Configuration Commands Micro QR Code Postal Symbologies Code 39 Codabar Interleaved 2 of 5 UPC/EAN Code 128/EAN 128
Code 93 PDF417 Pharmacode Data Matrix QR Code BC412 DataBar-14 (RSS-14) DataBar Limited (RSS Limited) DataBar Expanded (RSS Expanded) MicroPDF417 I/O Parameters Power On/Reset Counts Time Since Reset Service Message Serial Verification Beeper Quality Output Symbol Data Output Read Duration Output No Read Message Frame Information LED Configuration
A-18
<K459,status> <K460,postal symbology type,POSTNET status,PLANET status, USPS4CB status,POSTNET allow B and B’ fields,Australia Post allow 0 FCC> <K470,status,check character status,check character output status, large intercharacter gap,fixed symbol length status,fixed symbol length,full ASCII set> <K471,status,start/stop match,start/stop output,large intercharacter gap,fixed symbol length status,symbol length,check character type,check character output> <K472,status,check character status,check character output status, symbol length #1, symbol length #2, guard bar status,range mode status> <K473,UPC status,EAN status,supplemental status,separator status, separator character,supplemental type,format UPC-E as UPC-A> <K474,status,fixed symbol length status,fixed symbol length,EAN 128 status,output format,application record separator status,application record separator character,application record brackets,application record padding> <K475,status,fixed symbol length status,symbol length> <K476,status,[unused],fixed symbol length status,fixed symbol length> <K477,status,fixed bar count status,fixed bar count,minimum bar count,bar width mode,direction,fixed threshold value> <K479,ECC 200 status, ECC 000 status,ECC 050 status, ECC 080 status,ECC 100 status,ECC 140 status,ECC 120 status,ECC 130 status> <K480,status> <K481,status,check character output,fixed symbol length status, fixed symbol length> <K482,status> <K483,status> <K484,status,fixed symbol length status,fixed symbol length> <K485,status,[unused],fixed symbol length status,fixed symbol length> <K406,power-on,resets,power-on saves,power-on flash saves> <K407,hours,minutes> <K409,status,service message,threshold,resolution> <K701,serial command echo status,serial command beep status, control/hex output> <K702,status> <K704,quality output separator,decodes per trigger status> <K705,symbol data output status,when to output> <K706,status,separator> <K714,status,message> <K734,output frame number,output coordinates> <K737,LED mode,ISO/IEC 16022 grade> MINI Hawk Xi High Performance Imager User Manual
Page 343
Appendices Image Output
<K739,image output mode,communication port,file format,JPEG quality> Target/Flood LEDs <K750,green flash LED status,target pattern LED status,green flash duration> <K757,comm port,image mode,image format,JPEG quality, EZ Trax Output object info output,grade output> Database Identifier Output <K759,status,separator> EZ Button <K770,global status,default on power-on,load Configuration Database,save for power-on> EZ Button Modes <K771,single beep,two beeps,three beeps,four beeps> Trend Analysis Output 1 <K780,trend analysis mode,trigger evaluation period,number to output on,decodes per trigger threshold> Trend Analysis Output 2 <K781,trend analysis mode,trigger evaluation period,number to output on,decodes per trigger threshold> Trend Analysis Output 3 <K782,trend analysis mode,trigger evaluation period,number to output on,decodes per trigger threshold> Diagnostic Output 1 <K790,unused 1,service unit> Diagnostic Output 2 <K791,unused 1,service unit> Diagnostic Output 3 <K792,unused 1,service unit> ISO/IEC 16022 Symbol Quality Output 1 <K800,output on symbol contrast,symbol contrast threshold,output on print growth,print growth threshold,output on axial non-uniformity, axial non-uniformity threshold,output on UEC,UEC threshold> ISO/IEC 16022 Symbol Quality Output 2 <K801,output on symbol contrast,symbol contrast threshold,output on print growth,print growth threshold,output on axial non-uniformity, axial non-uniformity threshold,output on UEC,UEC threshold> ISO/IEC 16022 Symbol Quality Output 3 <K802,output on symbol contrast,symbol contrast threshold,output on print growth,print growth threshold,output on axial non-uniformity, axial non-uniformity threshold,output on UEC,UEC threshold> Configurable Output 1 <K810,output on,output state,pulse width,output mode> Configurable Output 2 <K811,output on,output state,pulse width,output mode> Configurable Output 3 <K812,output on,output state,pulse width,output mode> Symbol Quality Symbol Quality Separator/ Data Matrix <K708,symbol quality separator,data matrix output mode> Output Mode <K709,symbol contrast,print growth,axial non-uniformity,UEC> ISO/IEC 16022 Symbol Quality Output <K710,percent cell damage,total read time,capture time,locate Microscan Symbol Quality Output time,decode time,pixels per element,ECC level,matrix size,quiet zone> Static Validation Report <VAL> Matchcode <K223,matchcode type,sequential matching,match start position,match Matchcode Type length,wild card character,sequence on No Read,sequence on mismatch> Number of Master Symbols <K224,number of master symbols> New Master Pin <K225,status> Enter Master Symbol Data <K231,master symbol number,master symbol data> <K231?,>[for all] or <K231?,master symbol number> Request Master Symbol Data MINI Hawk Xi High Performance Imager User Manual
A-19
Page 344
Serial Configuration Commands Delete Master Symbol Data Match Replace Mismatch Replace Camera and IP Setup Mirrored Image Window of Interest Focal Distance Increment Focus Position Decrement Focus Position Focal Distance Table (Read-Only) Illumination Brightness Camera Pixel Sub-Sampling Morphological Pre-Processing Morphological Operation Configuration Database Number of Active Indexes Configuration Database Status Save Current Settings to Database Load Current Settings from Database Request Selected Index Settings Request All Database Settings Database Mode Output Format Format Extract Format Insert Format Assign Format Status Output Filter Configuration Ordered Output Filter
A-20
<K231,master symbol number,> <K735,status,match replacement string> <K736,status,mismatch replacement string> <K514,mirrored image> <K516,row pointer,column pointer,row depth,column width> <K525,focal distance> <525+> <525–> <K526,number of focal distances,focal distance> <K536,brightness> <K541,shutter speed,gain> <K542,pixel sub-sampling,AEC/AGC mode,AEC/AGC brightness> <K550,morphological pre-processing> <K551,0,morphological operation,operator size> <K252,number of active database settings,database sort> <K255,index,shutter speed,gain,focal distance,pixel sub-sampling, row pointer, column pointer,row depth,column width,narrow margins, background color,symbology> <K255+,index> <K255-,index> <K255?,index> <K255?> <K256,switch mode,frame count/time,image process looping,image dimensions> <K740,output index,start location,length> <K741,output index,length,hex string> <K742,symbol number,status> <K743,output format status> <K744,filter number,symbology,length,wildcard,placeholder, data,unused,database index> <K745,number of filters>
MINI Hawk Xi High Performance Imager User Manual
Page 345
Appendices
Serial Command Format Serial commands are of two types: utility and configuration.
Rules that apply to both utility and configuration commands • A less than < and greater than > character enclose the commands. • Commands and data are “case sensitive.” That is, characters must be entered as upper or lower case, as specified.
Serial Utility Commands These are sent during operations and are not followed by <A> or <Z>.
Serial Configuration “K” Commands These begin with a single “K” character followed by a 3-digit numeric character, data fields, and an initializing command, as follows: <Knumeric parameter,data,data,...etc.><initializing command> An initializing command <A> or <Z> may follow the command. A <Z> initializes the imager’s memory and saves for power-on; an <A> initializes the imager’s memory but does not save for power-on. For example, to enable UPC and save the change for power-on, send <K473,1><Z>. To change Baud Rate and reset without saving changes for power-on, send <K100,3><A>.
Serial Configuration Command Conventions • All data fields (except the last) must be followed by a comma (without a space). • NUL cannot be used. The characters <, >, and , can be used, but only if entered as hex pairs (see ASCII Character Entry Modifier). • All fields preceding a modified field must be included. • If there is no change in preceding fields, then commas alone can be entered in these fields. For example, if only the last field in the following command is changing, <K100,4,1,0,0> can be entered as <K100,,,,0>. • All fields following a modified field can be omitted. For example, to change Baud Rate only, send <K100,3>.
MINI Hawk Xi High Performance Imager User Manual
A-21
Page 346
Serial Configuration Commands
Concatenating Configuration Commands Commands can be concatenated (added together) in a single string or data block. For example, <K145,1><K220,1><K450,1><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).
Serial Command Status Request To ensure that any command was received and accepted, you can send the Show Reader Status command: <?>. The status of a specific serial command can be requested by entering the command followed by a question mark. For example, send <K142?> to request the status of Postamble.
Entering Control Characters in Serial Commands To enter control characters within a serial command, hold down the Ctrl key while typing the desired character. Example: To enter a carriage return and line feed (^M^J), enter <K141,1,CNTL-m CNTL-j>.
A-22
MINI Hawk Xi High Performance Imager User Manual
Page 347
Appendices
Appendix D, Communications Protocol Communications Protocol Command Table Protocol Command (Mnemonic displayed on menu)
Control Characters (Entered in menu or serial command)
Hex Value
Effect of Command
RES
^D
04
Reset
REQ
^E
05
Request
EOT
^D
04
Reset
STX
^B
02
Start of Text
ETX
^C
03
End of Text
ACK
^F
06
Acknowledge
NAK
^U
15
Negative Acknowledge
XON
^Q
11
Begin Transmission
XOFF
^S
13
Stop Transmission
MINI Hawk Xi High Performance Imager User Manual
A-23
Page 348
Communications Protocol
ACK/NAK Data Flow Examples Setup 1 RES REQ STX ETX ACK NAK LRC
0x00 (disabled) 0x00 (disabled) 0x00 (disabled) 0x00 (disabled) 0x06 0x15 disabled
Transfer 1 HOST_TX IMAGER_TX
<K141,0> ‘ACK’
Transfer 2 HOST_TX IMAGER_TX IMAGER_TX HOST_TX
<K141?> ‘ACK’ <K141,0> ‘ACK’
Error Condition Transfer 1 IMAGER_TX HOST_TX IMAGER_TX HOST_TX symbol data ‘NAK’ (host rejects) symbol data (resend data) ‘ACK’ (transaction complete)
Transfer 2 HOST_TX <K141?> IMAGER_TX ‘ACK’ IMAGER_TX <K141,0> timeout reached... timeout reached... timeout reached... Timeout Reached transaction aborted, data is flushed
A-24
MINI Hawk Xi High Performance Imager User Manual
Page 349
Appendices
Setup 2 RES REQ STX ETX ACK NAK LRC
0x00 (disabled) 0x00 (disabled) 0x00 (disabled) 0x00 (disabled) 0x06 0x15 enabled
Transfer 1 HOST_TX IMAGER_TX
<K141,0>a ‘ACK’
Transfer 2 HOST_TX IMAGER_TX IMAGER_TX HOST_TX
<K141?>B ‘ACK’ <K141,0>a ‘ACK’
Error Condition Transfer 1 HOST_TX IMAGER_TX HOST_TX IMAGER_TX
<k141,0>x (BAD LRC) ‘NAK’ <K141,0>a (GOOD LRC) ‘ACK’
MINI Hawk Xi High Performance Imager User Manual
A-25
Page 350
Communications Protocol
Setup 3 RES REQ STX ETX ACK NAK LRC
0x00 (disabled) 0x00 (disabled) 0x28 ‘(‘ 0x29 ‘)’ 0x06 0x15 enabled
Transfer 1 HOST_TX IMAGER_TX
(<K141,0>)H ‘ACK’
Transfer 2 HOST_TX IMAGER_TX IMAGER_TX HOST_TX
A-26
(<K141?>)k ‘ACK’ (<K141,^M>)w ‘ACK’
MINI Hawk Xi High Performance Imager User Manual