The text of a manual · part 28 of 31
MS-890 Industrial Automation Scanner User's Manual, pages 271 to 280
Pages 271 to 280 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 271
Appendices
Optoisolator Inputs New Master pin and Trigger pulses can be sent to the scanner in the following ways:
New Master Pin Inputs W aveform Characteristics:
/ I IN -HIG H I IN -LO W / IN-LO W
V I N -H IG H V
P ulse W idth m in
Minim um 4.5V / 4 m A
Maxim um 28V / 33 m A
0V / 0 m A
2V / 2 m A
48 µS
25-pin Host Connector The following New Master Pin inputs can be fully isolated pulses as PNP or NPN circuits. NPN Circuits
PNP Circuits Is o la te d M S -8 8 0
P N P M a s te r P in S o u rc e +V
V CC
Is o la te d M S -8 8 0 V CC
N P N M a s te r P in S o u rc e P in 2 4 o f h o s t (+ )
+V
S ig n a l P in 2 4 o f h o s t (+) P in 2 5 o f h o s t (– )
MS-890 Industrial Automation Scanner User’s Manual
P in 2 5 o f h o s t (– ) S ign a l
A-7
Page 272
Electrical Specifications
Trigger Inputs W aveform Characteristics: V
I N -H I G H
V IN -L O W
/I /I
I N -H I G H
Minim um M axim um 4 .5 V / 4 m A 28V / 3 3 m A
IN -L O W
Pulse W idth m in
0V / 0 m A
2V / 2 mA
48 µS
Trigger pulses can be sent to the scanner either through the host 25-pin connector or a separate 4-pin trigger connector on the bottom of the scanner.
4-pin Trigger Input Non-isolated MS-880
NPN Trigger Source +V
+5 to 28 V V CC
Pin 1 of 4-pin trigger connector. Pwr +
Pin 2 of 4-pin trigger connector. Pwr – Signal
Trigger Input Pin 3 of 4-pin trigger connector. Pwr +
25-pin Trigger Input P N P Trigger Source
Isolated M S -880
+V V
CC
N P N Trigg er S ource
Isolate d M S -880 V
CC
Pin 10 of host (+)
+V
Signal Pin 9 of host (–)
Pin 10 of host (+)
Signal
P in 9 of host (–)
P N P T rigger S ou rce
N on-isolated M S -880 V
CC
Pin 18 (+5 to 28V ) P in 10 of host (+) P in 9 of host (–) P in 17 of host pw r (–)
A-8
+V V Signal
N PN T rigger S ou rce
N o n-isolated M S -880 CC
P in 18 (+10 to 28V)
+V
Pin 10 of host (+) Pin 9 of host (–)
Signal
Pin 17 of host Pwr (–)
MS-890 Industrial Automation Scanner User’s Manual
Page 273
Appendices
Appendix C, Serial Configuration Commands Communications Host Port Parameters Aux Port Parameters Host Protocol Preamble Postamble Response Timeout Intercharacter Delay LRC Auxiliary/Configuration Port System Data ACK/NAK Options Polling Mode Options Daisy Chain Autoconfigure Daisy Chain Scanner ID Read Cycle Trigger Mode Serial Trigger Character External Trigger State End of Read Cycle Good Decode Reads Multisymbol Start Serial Trigger Character End Serial Trigger Character Scan Speed Maximum Element Gain/Tracking AGC Settings Focus Tracking Adjustment Symbologies Narrow Margins/Symbology ID Background Color Code 39 Codabar Interleaved 2 of 5
<K100,baud,parity,stop bits,data bits> <K101,aux port mode,baud,parity,stop bits,data bits,daisy chain ID status,daisy chain ID> <K140,protocol,address> <K141,status,preamble character(s)> <K142,status,postamble character(s)> <K143,timeout setting> <K144,time interval> <K145,status> <K146,aux port status,config port status> <K147,RES,REQ,STX,ETX,ACK,NAK> <K148,RES,REQ,STX,ETX,ACK,NAK> <K150DAISY> <K151,daisy chain scanner,daisy chain scanner ID> <K200,trigger mode,trigger filter duration> <K201,trigger character> <K202,external trigger state> <K220,end of read cycle mode,read cycle timeout> <K221,number before output,mode> <K222,number of symbols,multisymbol separator> <K229,start trigger character> <K230,end trigger character> <K500,scan speed> <K502,max element> <K504,gain,tracking> <K505,AGC sampling status,transition counter> <K508,focus position,zero position> <K520,tracking adjustment> <K450,narrow margins status,symbology identifier status> <K451,background color> <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 and stop match,start and stop output,large intercharacter gap,fixed symbol length status,fixed symbol length,check character type,check character output> <K472,status,check digit status,check digit output,symbol length #1,symbol length #2,guard bar status,range mode status>
MS-890 Industrial Automation Scanner User’s Manual
A-9
Page 274
Serial Configuration Commands UPC/EAN
Code 128/EAN-128 Code 93 PDF417 Pharmacode
<K473,UPCstatus,EAN status,supplementals status,separator status,separator character,supplemental type> <K474,Code 128 status,fixed symbol length status,symbol length,EAN-128 status,output format,application record separator status,application record separator character,application record brackets status,application record padding status,minimum ratio distance> <K475,status,fixed symbol length status,fixed symbol length> <K476,status,raster sweeps before decode attempt,fixed symbol length status,fixed symbol length,decode at end of read> <K477,status,fixed symbol length status,fixed symbol length,minimum number of bars,bar widths,direction,fixed threshold value>
I/O Parameters Serial Verification Beeper Quality Output Symbol Data Output Read Duration Output No Read Message Bad Symbol Message No Symbol Message Input 1 Target/Flood LEDs Database Identifier Output EZ Button EZ Button Modes Trend Analysis Output 1 Trend Analysis Output 2 Trend Analysis Output 3 Diagnostic Output 1 Diagnostic Output 2 Diagnostic Output 3 Configurable Output 1 Configurable Output 2 Configurable Output 3 Matchcode Matchcode Type
A-10
<K701,serial command echo status,serial command beep status, control/hex output> <K702,status> <K704,quality output separator,reads/trigger status,direction output> <K705,status,when to output> <K706,status,separator> <K714,status,message> <K715,status,bad symbol message> <K716,status,no symbol message> <K730,mode,active state> <K750,green flash LED status,green flash duration> <K759,status,separator> <K770,global mode,default on power-on status> <K771,one beep,two beeps,three beeps> <K780,trend analysis mode,number of triggers,number to output on,decodes/trigger threshold> <K781,trend analysis mode,number of triggers,number to output on,decodes/trigger threshold> <K782,trend analysis mode,number of triggers,number to output on,decodes/trigger threshold> <K790,over temperature,service threshold,[unused],laser current high,laser current low,low temperature> <K791,over temperature,service threshold,[unused],laser current high,laser current low,low temperature> <K792,over temperature,service threshold,[unused],laser current high,laser current low,low temperature> <K810,output on,output state,pulse width,output mode> <K811,output on,output state,pulse width,output mode> <K812,output on,output state,pulse width,output mode> <K223,matchcode type,sequential matching,match start position, match length,wild card character,sequence on No Read, sequence on mismatch> MS-890 Industrial Automation Scanner User’s Manual
Page 275
Appendices Master Symbol Database Size New Master Pin Configuration Database Sequential Step Enter/Delete Master Symbol Data Request Master Symbol Data Match Replacement Message Mismatch Replacement Message Diagnostics Warning Message Status Lifetime Hours High Temperature Low Temperature Power-On/Resets Counts Hours Since Last Reset Present Operating Temperature Service Message Laser Current Warning
<K224,number of master symbols> <K225,status> <K227,database index,focus position,gain,tracking,AGC mode,raster top,raster bottom,raster speed,laser framing status, laser on position, laser off position,laser power,background color> <K228,sequence step> <K231,master symbol number,master symbol data [no data will delete current master symbol data]> <K231,?>[for all] or <K231,master symbol number?> <K735,status,match replacement message> <K736,status,mismatch replacement message> <K400,warning message status,laser high status,laser low status,NOVRAM/reset warning status> <K401,hours10,message> <K402,degrees,message> <K403,degrees,message> <K406?> returns: power-ons,resets (Read-Only) <K407?> returns: hours,minutes (Read-Only) <K408?> returns: current operating temp. (Read-Only) <K409,status,message,time,resolution> <K411,high current status,high current message,low current warning, low current message>
Calibration / Configuration Database Optoelectric Control
Configuration Database Save Configuration Database Load Configuration Database Request Configuration Database Advanced Calibration Raster/Laser Raster Laser On/Off Output Format Format Extract
<K226,mode,# active database settings,latch on trigger,timer/switch value,control trigger 1 status,control trigger 2 status,control trigger 3 status,database cycles> <K227,database index,focus position,gain,tracking,AGC mode,raster top,raster bottom,raster speed,laser framing status, laser on position, laser off position,laser power, background color> <K227+,database index> <K227-,database index> <K227?,database index> or <K227?> for entire database. <K510,auto range,starting focus position,focus step size> <K506,raster status,top offset,bottom offset,raster sweep rate,read cycle on/off> <K700,laser on/off status,laser framing status,laser on position,laser off position, laser power> <K740,output index,start location,length>
MS-890 Industrial Automation Scanner User’s Manual
A-11
Page 276
Serial Configuration Commands Format Insert Format Assign Format Status Output Filter Configuration Number of Filters
A-12
<K741,output index,length,hex string> <K742,symbol number,status> <K743,output format status> <K744,filter number,symbology,length,wildcard,placeholder,data, decode direction,decode direction> <K745,number of filters>
MS-890 Industrial Automation Scanner User’s Manual
Page 277
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 scanner’s memory and saves for power-on; an <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>.
Serial Configuration Command Conventions • All data fields (except the last) must be followed by a comma (without a space). • 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>.
MS-890 Industrial Automation Scanner User’s Manual
A-13
Page 278
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>
Entering Special Characters in Embedded Menus Control Characters Control characters entered on the command line are displayed in the menu as mnemonic characters, such as: <CR><LF><NUL><NUL> Press SP (the space bar) once, then enter the control character by holding down the control key and simultaneously pressing the desired character. For example to define a line feed, press SP, then Control and J simultaneously. It is displayed as ^J on the command line and as <LF> in the menu when the screen is refreshed.
To Define a Carriage Return as a Character Press SP, then CR. It is displayed as ^M on the command line and as <CR> in the menu when the screen is refreshed.
To Define a Space as a Character Press SP twice. It is displayed as a blank space in the menu when the screen is refreshed. While it appears that nothing has been assigned, the hex value 20 will be sent during data transmission.
To Select NUL as the Character Press SP, then a 0. It is displayed as <NUL> in the menu when the screen is refreshed.
A-14
MS-890 Industrial Automation Scanner User’s Manual
Page 279
Appendices
Appendix D, ASCII Table ASCII Table with Control Characters Dec 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
Hex 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 10 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 1E 1F
Mne NUL SOH STX ETX EOT ENQ ACK BEL BS HT LF VT FF CR SO SI DLE DC1 DC2 DC3 DC4 NAK SYN ETB CAN EM SUB ESC FS GS RS US
Ctrl ^@ ^A ^B ^C ^D ^E ^F ^G ^H ^I ^J ^K ^L ^M ^N ^O ^P ^Q ^R ^S ^T ^U ^V ^W ^X ^Y ^Z ^[ ^\ ^] ^^ ^_
Dec 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63
Hex 20 21 22 23 24 25 26 27 28 29 2A 2B 2C 2D 2E 2F 30 31 32 33 34 35 36 37 38 39 3A 3B 3C 3D 3E 3F
MS-890 Industrial Automation Scanner User’s Manual
Ch SP ! “ # $ % & ' ( ) * + , . / 0 1 2 3 4 5 6 7 8 9 : ; < = > ?
Dec 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95
Hex 40 41 42 43 44 45 46 47 48 49 4A 4B 4C 4D 4E 4F 50 51 52 53 54 55 56 57 58 59 5A 5B 5C 5D 5E 5F
Ch @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z [ \ ] ^ _
Dec 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127
Hex 60 61 62 63 64 65 66 67 68 69 6A 6B 6C 6D 6E 6F 70 71 72 73 74 75 76 77 78 79 7A 7B 7C 7D 7E 7F
Ch ` a b c d e f g h i j k l m n o p q r s t u v w x y z { | } ~ D
A-15
Page 280
ASCII Table
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
A-16
MS-890 Industrial Automation Scanner User’s Manual