PreviousNext

Serial Commands

Communication
RS-232 A
<K100,baud rate,parity,stop bits,data bits>
RS-232 B
<K101,status,baud rate,parity,stop bits,data bits>
RS-422
<K102,status,baud rate,parity,stop bits,data bits>
Ethernet
<K126,status,IP address,subnet,gateway,IP address mode>
Ethernet TCP Ports
<K127,TCP Port 1,TCP Port 2>
EtherNet/IP
<K129,status>
RS-232 A Data Type
<K130,symbol data output,extra symbol information,diagnostic output,external source processing mode>
RS-232 B Data Type
<K131,symbol data output,extra symbol information,diagnostic output,external source processing mode>
RS-422 Data Type
<K132,symbol data output,extra symbol information,diagnostic output,external source processing mode>
Ethernet TCP Port 1 Data Type
<K133,symbol data output,extra symbol information,diagnostic output,external source processing mode>
Ethernet TCP Port 2 Data Type
<K134,symbol data output,extra symbol information,diagnostic output,external source processing mode>
EtherNet/IP Data Type
<K136,symbol data output,extra symbol information,diagnostic output,external source processing mode>
Preamble
<K141,status,preamble>
Postamble
<K142,status,postamble>
Response Timeout
<K143,response timeout>
LRC Status
<K145,status>
ACK/NAK Options
<K147,RES,REQ,STX,ETX,ACK,NAK>
Polling Mode Options
<K148,RES,REQ,STX,ETX,ACK,NAK>
Autoconfiguration Daisy Chain
<K150DAISY>
Protocol Selection
<K160,protocol,address,protocol port>
External Data Routing
<K161,mode,destination port,ambles to source,echo to source,output at end of read cycle,output at ETX,output at timeout>
Array Communication Modes
<K162,mode,source,daisy chain i.d. status,daisy chain i.d.>
Read Cycle
Trigger Mode / Trigger Filter Duration
<K200,trigger mode,leading edge trigger filter duration,trailing edge trigger filter duration>
Serial Trigger Character
<K201,serial trigger character>
External Trigger State
<K202,external trigger state>
End of Read Cycle
<K220,mode,read cycle timeout>
Decodes Before Output
<K221,mode,number before output>
Multisymbol
<K222,number of symbols,multisymbol separator>
Serial Trigger Start Character
<K229,start character>
Serial Trigger Stop Character
<K230,stop character>
Processing Timeout
<K245,processing timeout>
Scan Speed
<K500,scan speed>
Maximum Element
<K502,maximum element>
Automatic Gain Control
<K504,gain level,AGC sampling mode,AGC minimum,AGC maximum>
Symbol Detect Status / Transition Counter
<K505,symbol detect status,transition counter>
Raster Framing
<K506,status,top offset,bottom offset,sweep rate,read cycle on/off>
Scan Width Enhance
<K511,status>
AGC Tracking
<K520,tracking>
Laser Setup
<K700,laser on/off,laser framing status,laser on position,laser off position,laser power>
Configuration Database
Number of Active Indexes
<K252,number of active indexes,number of database cycles>
Configuration Database
<K253,index,gain,AGC mode,tracking,raster top,raster bottom, raster speed,framing status,laser on position,laser off position, laser power,background color>
Switch Timing
<K254,switch mode,frame count/time>
Symbologies
Quiet Zone
<K450,quiet zone status>
Background Color
<K451,background color>
Symbol Ratios
<K452,Code 39,Codabar,Interleaved 2 of 5>
Composite
<K453,symbology status,separator status,separator>
AIAG
<K454,status,ID1,status1,ID2,status2,ID3,status3,ID4,status4, ID5a,ID5b,ID5c,status5, ID6,status6,ID7,status7,ID8, status8, ID9,status9,ID10,status10,ID11,status11,ID12,status12>
Depth of Field Enhance
<K456,DOF Enhance mode>
Code 39
<K470,status,check character status,check character output status, large intercharacter gap,fixed symbol length status,fixed symbol length,full ASCII set>
Codabar
<K471,status,start/stop match status,start/stop output status, large intercharacter gap,fixed symbol length status,fixed symbol length,check character type,check character output status>
Interleaved 2 of 5
<K472,status,check character status,check character output status, symbol length 1,symbol length 2,guard bar,range mode status>
UPC/EAN
<K473,mode,EAN status,supplementals status,separator status, separator character,supplementals type,UPC-E as UPC-A>
Code 128 / EAN 128
<K474,status,fixed symbol length status,fixed symbol length, EAN status,output format,application record separator status, application record separator character,application record brackets, application record padding,separation factor>
Code 93
<K475,mode,fixed symbol length status,symbol length>
PDF417
<K476,status,raster sweep count,fixed symbol length status, fixed symbol length,unused,codeword collection>
Pharmacode
<K477,status,fixed bar count status,fixed bar count,minimum bar count,bar width mode,direction,fixed threshold value>
DataBar Omnidirectional (RSS-14)
<K482,status>
DataBar Limited (RSS Limited)
<K483,status>
DataBar Expanded (RSS Expanded)
<K484,status,fixed symbol length status,fixed symbol length>
MicroPDF417
<K485,status,raster sweep count,fixed symbol length status, fixed symbol length>
Symbol Reconstruction
<K496,symbol reconstruction redundancy,symbol reconstruction effort>
I/O Parameters
Calibration Options
<K521,raster framing,video,scan speed,laser power,laser framing, symbology>
Serial Verification
<K701,serial command echo status, serial command beep status, control/hex output>
Beeper
<K702,status>
Quality Output
<K704,quality output separator, decodes per trigger status, decode direction output>
Symbol Data Output
<K705,symbol data output status, when to output symbol data, symbology identifier status>
Read Duration Output
<K706,status,separator>
No Read Message
<K714,status,message>
Bad Symbol Message
<K715,status,message>
No Symbol Message
<K716,status,message>
Input 1
<K730,input mode,active state>
Green Flash LED
<K750,green flash mode,unused,green flash duration>
Status Indicators
<K751,status,bar graph,I/O 1,I/O 2>
Symbol Position Output
<K758,raster position output status,scan position output status, separator>
Database Identifier Output
<K759,status,separator character>
EZ Button
<K770,status,default on power-on>
EZ Button Modes
<K771,single beep,two beeps,three beeps,four beeps>
Auto Framing Options
<K773,laser framing>
Trend Analysis Output 1
<K780,trend analysis mode,number of triggers,number to output on,decodes per trigger>
Trend Analysis Output 2
<K781,trend analysis mode,number of triggers,number to output on,decodes per trigger>
Trend Analysis Output 3
<K782,trend analysis mode,number of triggers,number to output on,decodes per trigger>
Diagnostics Output 1
<K790,high temperature,service unit,unused,laser current high, laser current low,low temperature>
Diagnostics Output 2
<K791,high temperature,service unit,unused,laser current high, laser current low,low temperature>
Diagnostics Output 3
<K792,high temperature,service unit,unused,laser current high, laser current low,low temperature>
Output 1 Parameters
<K810,output on,output state,pulse width,output mode>
Output 2 Parameters
<K811,output on,output state,pulse width,output mode>
Output 3 Parameters
<K812,output on,output state,pulse width,output mode>
Matchcode
Matchcode
<K223,matchcode type,sequential matching,match start position, match length,wild card,sequence on no read,sequence on mismatch>
Master Symbol Database Size
<K224,number of master symbols>
New Master Pin
<K225,status>
Sequence Step
<K228,sequence step>
Master Symbol
<K231,index,master symbol data>
Match Replace
<K735,status,replacement string>
Mismatch Replace
<K736,status,replacement string>
Diagnostics
High Temperature Threshold
<K402,status,message>
Low Temperature Threshold
<K403,status,message>
Counts (Read-only)
<K406> (returns: power-on,resets, power-on saves,custom default saves)
Hours Since Reset (Read-only)
<K407> (returns: hours,minutes)
Service Message
<K409,status,service message, threshold,resolution>
Laser Current Warning Message
<K411,laser high status,laser high message,laser low status, laser low message>
User-Defined Name
<K412,user-defined name>
Output Format
Format Extract
<K740,output index,start location,length>
Format Insert
<K741,output index,length,hex string>
Format Assign
<K742,symbol number,status>
Output Format Status
<K743,output format status>
Output Filter Configuration
<K744,filter number,symbology,length,wildcard,placeholder, data,decode direction,database index>
Output Filter Enable
<K745,number of filters>

Serial Command Format

Microscan readers are controlled by two types of serial commands: configuration commands and utility commands.

Rules that apply to both configuration and utility commands

  • Less than `<` and greater than `>' angle bracket characters enclose the commands.
  • Commands and data are case sensitive. Characters must be entered as upper or lower case, as specified.

Serial Utility Commands

Serial Utility Commands are sent during operations and are not followed by <A> or <Z>.

Serial Configuration Commands (K Commands)

Microscan's serial configuration commands begin with a single "K" character followed by a 3-digit numeric character, comma-separated command fields, and an initializing command, as follows:

<Knumeric character,data,data,...etc.><initializing command>

An initializing command <Z> or <A> may follow the command.

  • <Z> initializes the scanner's memory and saves for power-on.
  • <A> initializes the scanner'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>.


PreviousNext