The text of a manual · part 19 of 23
MS-850 Raster Scanner User's Manual, pages 181 to 190
Pages 181 to 190 of 222
The original document is the PDF (4.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 MS-850
Page 181
Electrical Specifications
Optoisolator Outputs Optoisolator circuits can transfer pulses between the scanner and peripherals with no direct connection with the scanner’s internal circuitry. However, not every optoisolator configuration provides complete isolation. The following diagrams show both fully optoisolated and non-optoisolated circuits. They are only examples and do not represent all the possible wiring configurations. Generic Output Waveform Characteristics Iload =5mA Iload =50mA V Out-On
4.5V
Iload =100mA
11V
1.0V t On-Typ
30µS
20µS
30µS t Off-Typ
1000µS
150µS
75µS
Outputs (+)
Scanner Output
ILoad Outputs (–)
Output Circuit Examples Fully Optoisolated
Host
Isolated Scanner Power (+)
1 to 28 V Scanner
Outputs (+)
Output
Input Outputs (–) Power ground
Not Optoisolated, Scanner Grounded In this diagram, power is applied externally, but the scanner’s power ground is used to complete the circuit. This setup involves some risk to the optoisolator if excessive voltages are applied. Caution: The maximum current that can pass through the optoisolator is 100 mA.
Non-isolated Scanner
Host
Power (+) 1 to 28 V Scanner
Outputs (+)
Output
MS-850 Raster Scanner User’s Manual
Input Outputs (–)
Power ground
A-7
Appendices
This circuit is fully optoisolated and the recommended configuration. It allows the user to apply 1 to 28 VDC to the circuit. Caution: The maximum current that can pass through the optoisolator is 100 mA.
Page 182
Appendix B Additional Isolated Output Circuit Examples Secondary Relay 1 to 28 V
Scanner Output
Power +
Outputs (+)
Outputs (–) Power ground Outputs (–)
Appendices
Power ground
MS-850 Raster Scanner User’s Manual
V
PLC
Input
Outputs (+)
Output
A-8
PLC
Power +
RELAY
Isolated Scanner
Scanner
Isolated Scanner
PLC GND
Page 183
Electrical Specifications
Optoisolator Inputs All discrete inputs can be fully isolated pulses as PNP or NPN circuits. Inputs include trigger, new master, and other discrete inputs. Input-1 and Trigger Waveform Characteristics
New Master Pin Waveform Characteristics Minimum
Maximum
Minimum
Maximum
VIN-HIGH/IIN-HIGH
4.5 V/4mA
11 V/12mA
VIN-HIGH/IIN-HIGH
10 V/4mA
28 V/12mA
VIN-LOW/IIN-LOW
0 V/0mA
2.3V/2mA
VIN-LOW/IIN-LOW
0 V/0mA
5V/2mA
Pulse Widthmin
48 µS
Pulse Widthmin
48 µS
Note: Trigger pulses can be sent to the scanner either through the host 25-pin connector or a separate 4-pin trigger connector.
25-Pin Connector Input Examples Fully Optoisolated PNP Source +V
V CC
V CC
+V Input (+)
Signal Input (+)
Input (–)
Input (–)
Signal
Not Optoisolated PNP Source
Non-isolated Scanner V CC
Power (+) Input (+)
+V
NPN Source
Non-isolated Scanner V CC
Signal
Power (+)
+V
Input (+) Input (–)
Input (–)
Power ground
MS-850 Raster Scanner User’s Manual
Power ground
Signal
A-9
Appendices
Isolated Scanner
NPN Source
Isolated Scanner
Page 184
Appendix B 4-Pin Connector Trigger Input Example NPN Trigger Source Non-isolated
+V
+10 to 28 V V
Power (+) CC
Trigger (NPN) Signal
Appendices
Power (–)
A-10
MS-850 Raster Scanner User’s Manual
Page 185
Serial Configuration Commands
Appendix C, Serial Configuration Commands The following table is a list of all the available serial configuration commands. These commands are also listed at the beginning of each applicable chapter. For utility (operational) commands see Table 12-1, “Summary of Utility Serial Commands,” on page 12-3. Table A-6 Complete List of Serial Configuration Commands Cmd Ka
<Kabaud,parity,stop bits,data bits>
Format
Auxiliary Port Parameters
Ky
<Kyaux port mode,baud,parity,stop bits,data bits,daisy chain status,daisy chain ID>
Host Protocol
Kf
<Kfprotocol>
LRC
Kc
<Kcstatus>
Response Timeout
KA
<KAresponse timeout>
Intercharacter Delay
KB
<KBintercharacter delay>
Preamble
Kd
<Kdstatus,preamble>
Postamble
Ke
<Kestatus,postamble>
Comm. Status Request
KT?
<KT?>
Triggering Mode
Kg
<Kgtrigger mode,filter time>
End of Read Cycle
Kh
<Khmode,timeout>
Serial Trigger Character
Ki
<Kicharacter>
External Trigger State
Kj
<Kjexternal trigger state>
Decodes Before Output
Km
<Kmdecodes before output>
Multilabel
KL
<KLnumber of labels,multilabel separator>
Narrow Margins/Symbology ID
Ko
<Konarrow margins status,symbology ID status>
Background Color
Kx
<Kxbackground color>
Code 39
Kp
<Kpstatus,check digit status,check digit output status,large intercharacter gap,fixed code length status,fixed code length,full ASCII>
Interleaved 2 of 5
Kr
<Krstatus,check digit,check digit output,length 1,length 2>
UPC/EAN
Ks
<Ksstatus,EAN status,supplementals status,separator char>
PDF417
K[
<K[status,raster sweeps before decode attempt,fixed length status,fixed length>
Code 128
Kt
<Ktstatus,fixed length,length,,,,,,>
UCC/EAN-128 (subset of Code 128)
Kt
<Kt,,,UCC/EAN-128 status,output format,application record separator status,application record separator character,application record brackets,application record padding
Codabar
Kq
<Kqstatus,start & stop match status,start & stop output status,large intercharacter gap,fixed code length status,fixed code length,check digit type,check digit output>
Code 93
K!
<K!status,fixed code length status,fixed code length> MS-850 Raster Scanner User’s Manual
Appendices
Command Title Host Port Parameters
A-11
Page 186
Appendix C
Appendices
Command Title
Cmd
Format
AIAG
KZ
<KZAIAG status, ID1, status1, ID2, status2, ID3, status3, ID4, status4, *ID5a,ID5b,ID5c, status5, ID6, status6, ID7, status7, ID8, status8, ID9, status9, ID9, status10, ID11, status11, ID12, status12>
Code Type Status Request
KW?
<KW?>
Match Code Type
Kn
<Kntype,sequential matching,match start position,match length,wild card character,sequence on noread,sequence on every mismatch>
Master Label Data Base Size
KM
<KMnumber of master labels>
New Master Pin
Kz
<Kzstatus>
Operations Status Request
KV?
<KV?>
Background Color
Kx
<Kxbackground color
Code Type Status Request
KW?
<KW?>
Noread Message
Kk
<Kkstatus,output>
Laser On/Off
KC
<KCstatus,laser on/off status>
Serial Verification
KS
<KSserial command status,serial command beep status,control/hex output>
Beeper
Ku
<Kustatus,volume>
Output 2
Kw
<Kwoutput on,active state,pulse width,number before output>
Output 3
K‘
<K‘output on,active state,pulse width,number before output>
Output 1
Kv
<Kvoutput on,active state,pulse width,number before output>
Output 2
Kw
<Kwoutput on,polarity,pulse width,# before output>
Output 3
K‘
<K‘output on,polarity,pulse width,# before output>
Bar Code Output
Kl
<Klstatus,when to output>
Partial Output
KY
<KYstatus,start position,length>
Operational Command Output Format
K/
<K/status>
Scanner Output Status Request
KX?
<KX?>
Scanner Type (factory)
KP
<KPdensity>
Scan Speed (factory)
KE
<KEscan speed>
Gain/Tracking (factory)
KD
<KDgain,tracking>
Transition Trigger Sampling Rate
KH
<KHtransition sample status,transition sample rate threshold>
No Barcode Output
KN
<KNstatus,message>
Bad Barcode Output
K’
<K’status,message>
A-12
MS-850 Raster Scanner User’s Manual
Page 187
Serial Configuration Commands Command Title
Cmd
Scanner Setup Status Request
Format
KU?
<KU?>
Raster Setup
KR
<KRstatus,top offset,bottom offset,sweep rate,read cycle on/off>
Warning Message Status
K"
<K"status1,laserhi,laserlo,novram corrupt>
Laser Overcurrent
K;
<K;message>
Laser Undercurrent
K:
<K:message>
Over-temperature
K+
<K+deg,message>
Under-temperature
K-
<K-deg,message>
Lifetime Hours
K$
<K$hours10,message>
Present Operating TemK% perature
<K%deg> (read only)
Counts
K_
<K_powerups,resets> (read only)
Time Since Last Reset
K@
<K@hours,minutes> (read only)
All Status Request
K?
<K?>
Appendices
MS-850 Raster Scanner User’s Manual
A-13
Page 188
Appendix D
Appendix D, 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 > characters 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 <A> or <Z>. See Table 12-1, “Summary of Utility Serial Commands,” on page 12-3.
Serial Configuration “K” Commands
Appendices
See Appendix D, “Serial Command Format” on page A-14. These begin with a single K character followed by a single character, data fields, and an initializing command, as follows: <Kparameterdata,data,...etc.><initializing command> An initializing command <A> or <Z> always follows 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 <K1><Z>. To change Baud Rate and reset without saving changes for power-on, send <Ka3><A>.
Serial Configuration Command Conventions • All data fields (except the last) must be followed by a comma (without a space). • The following characters cannot be used: , < > NUL. • 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, <Ka4,1,0,0> can be entered as <Ka,,,0>. • All fields following a modified field can be omitted. For example, to change Baud Rate, send <Ka3>.
A-14
MS-850 Raster Scanner User’s Manual
Page 189
Serial Command Format Concatenating Configuration Commands Commands can be concatenated (added together) in a single string or data block.
Serial Command Status Request To ensure that any command was received and accepted, you can send the Show Scanner Status command: <?>. The status of a specific serial command can be requested by entering the command followed by a question mark.
Entering Special Characters in Serial Commands To enter control characters within a serial command, hold down the control key while typing the desired character.
Entering Special Characters in Embedded Menus Control Characters
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 (zero). It is displayed as <NUL> in the menu when the screen is refreshed.
MS-850 Raster Scanner User’s Manual
A-15
Appendices
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.
Page 190
Appendix E
Appendix E, ASCII Table
Appendices
Table A-7 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
A-16
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
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
MS-850 Raster Scanner User’s Manual
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