The text of a manual · part 21 of 25
MS-3 Laser Scanner User's Manual, pages 201 to 210
Pages 201 to 210 of 242
The original document is the PDF (7.8 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-3
Page 201
MS-3 Laser E.book Page 9 Monday, August 30, 2004 11:09 AM
Chapter Appendices list of cables offered by Microscan for ease of connectivity when using the IB-131. Table A-4 Host 25-pin Connector Pin 1 2 3 4 5 6 7 8 9 10 11 13 14 15 16 17 19 25
Function External ground Transmit data (RS-232) Receive data (RS-232) RTS CTS Output 2 (+) Signal ground Output 1 (+) Trigger (–) Trigger (+) Default configuration Receive data RS-422 (+) Transmit data RS-422 (–) Output 3 (+) Receive data RS-422 (–) Output 1/2/3 (–) Transmit data RS-422 (+) New master/OMR (in)
Table A-5 Trigger 4-pin Connector Pin 1 2 3 4
Function Power + 10 to 28 VDC (out)a Trigger (–) (in)b Power Ground Trigger (+) (in)a a. For NPN type, connect pins 1 and 4. b. For PNP type, connect pins 2 and 3.
Table A-6 Power 3-pin Connector Pin Function 1 Power Ground 3 Power + 10 to 28 VDC (in)
Table A-7 Scanner 15-pin Connector Pin 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Function Power + 10 to 28 VDC (out) Transmit RS-232/RS-422 (–) Receive RS-232/RS-422 (–) Power/Signal Ground Trigger (–) (out) RTS/Aux Transmit/RS-232/RS-422 (+) Output 1 (+) Default configuration Trigger (+) (out) CTS/Aux Receive RS-232/RS-422 (+) Output 3 (+) New master/OMR (out) External ground Output 2 (+) Output 1/2/3 (–)
Table A-8 Network 25-pin Connector Pin 1 2 3 6 7 8 13 14 15 16 17 19
Function Ground Aux Receive RS-232 Aux Transmit RS-232 Output 2 (+) Signal ground Output 3 (+) Receive data/RS-422 (+) Transmit data/RS-422 (–) Output 3 (+) Receive data/RS-422 (–) Output 1/2/3 (–) Transmit data (RS-422+)
MS-3 Laser Scanner User’s Manual
A-9
Page 202
MS-3 Laser E.book Page 10 Monday, August 30, 2004 11:09 AM
Connectivity Electrical: Voltage Input: Regulated +10 to 28 VDC Mounting holes 3 places 1.25" (3.18 cm)
Cabling:
Trigger Power Supply
Length: 3.2 in. (8.13 cm) Width: 3.15 in. (8 cm) Height: 0.75 in. (1.9 cm)
3.2" (8.13 cm) Scanner
Mechanical:
Network
RS-232 Cable: 61-300026-03 Multidrop Cable: 61-100030-03 Daisy Chain Cable: 61-100029-02
Host
0.17: (0.43 cm) dia. 3. places
3.15" (8 cm)
.75" (1.9 cm)
Figure A-5 IB-131 Mechanical
A-10
MS-3 Laser Scanner User’s Manual
Page 203
MS-3 Laser E.book Page 11 Monday, August 30, 2004 11:09 AM
Chapter Appendices
Multidrop Setup This setup allows the user to link multiple scanners together to a Microscan MS-5000 concentrator and a host (not shown here). All scanners work independently of each other.
Power
Host
Monitor
••••••••••••• ••••••••••••
••••• ••••
LAN
8 1
1 9 2
2
4
Network
3
Host
Host
7
5
To additional scanners or terminating resistor
Scanner
6
4
3
Network
Scanner
5
Figure A-6 IB-131 Multidrop Setup • (1) MS-3 laser scanners • (2) IC-332 interface converters, FIS-0001-0035G • (3) IB-131 Interface boxes, 99-000018-01 • (4) Power supply, 97-100004-15 • (5) Object detector 99-000017-01 • (6) Multidrop trunk cable: 61-100030-03, 10 ft. (connects multiple IB-131s) • (7) IB-131 to concentrator cable, 61-230004-10, 10 ft. • (8) Microscan MS-5000 concentrator, FIS-5000-0XXX • (9) Null modem cable 61-300026-03
MS-3 Laser Scanner User’s Manual
A-11
Page 204
MS-3 Laser E.book Page 12 Monday, August 30, 2004 11:09 AM
Connectivity
Daisy Chain Setup This setup allows the user to link multiple scanners together, using only one host. All scanner’s read cycles are activated by a single trigger.
1
1
2
2
Network
Host
Host
4
3
Scanner
6
5
3
Network
Scanner
7
4
Figure A-7 Scanner/IB-131 Daisy Chain Setup • (1) MS-3 laser scanners • (2) IC-332 interface converters, FIS-0001-0035G • (3) IB-131 Interface boxes, 99-000018-01 • (4) Power supply, 97-100004-15 • (5) Object detector 99-000017-01 • (6) Daisy chain trunk cables 1 ft., 61-100029-03 (connects multiple IB-131s) • (7) Null modem cable 61-300026-03
A-12
MS-3 Laser Scanner User’s Manual
Page 205
MS-3 Laser E.book Page 13 Monday, August 30, 2004 11:09 AM
Chapter Appendices
Appendix D, Serial Configuration Commands The following table is a list of all the available serial configuration commands (also called “K” commands) in alphabetical order. These commands are also listed at the beginning of each chapter, as applicable. For utility (operational) commands see Table 11-2, “Utilities Commands,” on page 11-3. Table A-9 Serial Configuration Commands Command Title
Format Communications
Password Status Password Entry, Change Host Port Parameters Host Protocol Host RS422 Status Aux Port Parameters Preamble Postamble LRC Status Intercharacter Delay
<K732,status> <K733password,new password> <K100,baud,parity,stop bits,data bits> <K140,protocol> <K102,status> <K101,aux port mode,baud rate,parity,stop bits,data bits,daisy chain status,daisy chain ID> <K141,preambole status,preamble> <K142,postamble status,postamble> <K145,status> <K144,intercharacter delay>
Read Cycle Multisymbol Trigger Mode External Trigger State Serial Trigger Character Start Serial Trigger Character End Serial Trigger Character End of Read Cycle Decodes Before Output Automatic Gain Control Scan Speed Symbol Detect/Transition Maximum Element Scan Width Enhance Laser Setup
<K222,number of symbols,multisymbol separator> <K200,trigger mode,trigger filter duration> <K202,external trigger state> <K201,serial trigger character> <K229,start trigger character> <K230,end trigger character> <K220,end of read cycle,read cycle timeout> <K221,number before output,decodes before output mode> <K504, gain level,AGC sampling mode,AGC min,AGC max> <K500,scan speed> <K505,symbol detect status,transition counter> <K502,maximum element> <K511,scan width enhance> <K700, laser on/off status,laser framing status,laser on position,laser off position,laser power>
Symbology Code 39
Code 128 Interleaved 2 of 5
<K470, status,check digit status,check digit output,large intercharacter gap,fixed symbol length status,symbol length,full ASCII set> <K474,status,fixed symbol length status,symbol length,EAN128 status,output format,application record separator status,application record separator character,application record brackets,application record padding> <K472,status,check digit status,check digit output status,symbol length #1,symbol length #2,unused,range mode> MS-3 Laser Scanner User’s Manual
A-13
Page 206
MS-3 Laser E.book Page 14 Monday, August 30, 2004 11:09 AM
Serial Configuration Commands <K471,status,start & stop match status,start & stop output status,large intercharacter gap,fixed symbol length status,fixed symbol length,check digit type,check digit output status> <K473,UPCstatus,EAN status,supplementals status,separator UPC/EAN status,separator character,unused,UPC-E output as UPC-A> Code 93 <K475,status,fixed symbol length status,symbol length> <K477,status,fixed bar length status,fixed bar length,min. no. Pharmacode of bars,bar widths,direction,fixed threshold value> <K476,status,unused,fixed symbol length status,fixed symbol PDF417 (special) length,decode at end of read cycle> Narrow Margins/Symbology ID <K450,narrow margins status,symbology ID status> Background Color <K451,background color> Codabar
I/O Parameters Symbol Data Output Noread Message Bad Symbol Message No Symbol Message Beeper Partial Output Serial Verification Test Button Output 1 Parameters Trend Analysis (Output 1) Diagnostics (Output 1) Output 2 Parameters Trend Analysis (Output 2) Diagnostics (Output 2) Output 3 Parameters Trend Analysis (Output 3) Diagnostics (Output 3) Quality Output
<K705,symbol output status,when to output> <K714,status,noread message> <K715, bad symbol status,bad symbol message> <K716, no symbol status,no symbol message> <K702,beeper output> <K703, partial output status,start postion,length> <K701,serial command echo status,serial command beep status,control/hex output> <K770, global status,default on power-on> <K810,output on,polarity,pulse width,output mode> <K780, trend analysis mode,number of triggers,number to output on,decodes/trigger threshold> <K790,usused,service threshold,unused,laser current high,laser current low> <K811,output on,polarity,pulse width> <K781, trend analysis mode,number of triggers,number to output on,decodes/trigger threshold> <K791,usused,service threshold,unused,laser current high,laser current low> <K812,output on,polarity,pulse width> <K782, trend analysis mode,number of triggers,number to output on,decodes/trigger threshold> <K792,usused,service threshold,unused,laser current high,laser current low> <K704,quality output separator,reads/trigger status>
Matchcode Matchcode Type New Master Pin Master Symbol Database Size Matchcode Enable Enter data to database Request Master Symbol Information Request all Master Symbol Information
A-14
<K223,matchcode type,sequential matching,match start position,match length,wild card character, sequence on noread,sequence on mismatch> <K225,status> <K224,number of master symbols> <K223,status> <K231,master symbol number,master symbol data> <K231?,master symbol number> <K231,?>
MS-3 Laser Scanner User’s Manual
Page 207
MS-3 Laser E.book Page 15 Monday, August 30, 2004 11:09 AM
Chapter Appendices Delete Master Symbol Store Next Symbol as Master Symbol
<K231, master symbol number,> <G master symbol number>
Diagnostics Counts, Power-on/Resets Hours Since Last Reset Laser High/Low Service Message
<K406, power-on,resets,power-on saves,custom default saves> <K407?> (read only - returns: hours,minutes) <K411, laser high status,laser high message,laser low status,laser low message> <K409,status,service message,threshold,resolution>
Serial Communication Programs You can send serial commands from your terminal window in ESP. You can also use a terminal program such as Hyperterminal to send serial commands from your PC to the scanner. From your PC host computer, you can initiate communications with the scanner by with a terminal communications program such as Hyperterminal™ provided in the Windows™ operating system. In order to communicate with the scanner, you will need to use the following communications settings: Baud = 9600 Parity = Even Stop Bits = One Data Bits = Seven Flow Control = None
Figure A-8 Hyperterminal Dialog
MS-3 Laser Scanner User’s Manual
A-15
Page 208
MS-3 Laser E.book Page 16 Monday, August 30, 2004 11:09 AM
Serial Command Format
Appendix E, 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 unless nondelimited commands are used. (See “Trigger Mode” on page 4-6.) • 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 A1, “Summary of Utility Serial Commands,” on page A-3.
Serial Configuration “K” Commands These begin with a single K character followed by a three digit numeric, a comma, data fields separated by commas, and typically, an initializing command, as follows: <K three digit numeric,data,data,...etc.><initializing command>1 An initializing command of type “A” (not saved to non-volatile memory) or type “Z” (saved to non-volatile memory) may follow the command. 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). • 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, <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, send <K100,3>.
1. In many commands a K command will automatically be saved for power-on with the MS-3 CCD.
A-16
MS-3 Laser Scanner User’s Manual
Page 209
MS-3 Laser E.book Page 17 Monday, August 30, 2004 11:09 AM
Chapter Appendices
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, for example <K101?>. To see all K commands, send a <K?> command.
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 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 (zero). It is displayed as <NUL> in the menu when the screen is refreshed.
MS-3 Laser Scanner User’s Manual
A-17
Page 210
MS-3 Laser E.book Page 18 Monday, August 30, 2004 11:09 AM
ASCII Table
Appendix F, ASCII Table Table A-10 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
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
Table A-11 Communication Protocol Commands Protocol Command (Mnemonic displayed on Microscan menu) RES REQ
A-18
Control Characters (Entered in menu or serial command) ^D ^E
MS-3 Laser Scanner User’s Manual
Hex Cod e 04 05
Effect of Command Reset Request
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