The text of a manual · part 28 of 32
MS-880 Industrial Long Range Scanner User's Manual, pages 271 to 280
Pages 271 to 280 of 312
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 MS-880
Page 271
IrDA/Ir Comm for Palm Pilot
Appendix D, IrDA/Ir Comm for Palm Pilot Needed: • Palm Pilot™ with IR port • PC with internet connection and hotsynch cradle • IrComm drivers • VT100 Terminal Emulator application (shareware)
Obtaining the drivers: The IrDA drivers are found in the “irenhanc.zip” file available from Palm at: http://www.palm.com/support/downloads/irenhanc.html
Installing the drivers: (Read the “readme.txt” file in the zip file for complete instructions.) 1. Extract the file using a standard unzip utility. Save the 4 files in the your Palm (or Pilot) directory. (usually found at C:\Palm or C:\Pilot) 3. Launch Palm Desktop 3.0 on your PC. 4. Select the Install Tool icon. 5. Select the correct user name from the User list. Select the Add button. 6. Locate AMX.prc, IrLib.prc, SerialIrPanel.prc and SerIrCommLib.prc in the Palm (or Pilot) directory. Select the Add button for each of these files. 7. Select Done. 8. Perform a Hotsynch to load drivers in the Palm unit. 9. Select OK. 10. Use a paperclip to perform a soft reset on your Palm III. For more details, see “Soft Reset” in index of the Basic Handbook manual included with your Palm III. 11. Go to the Prefs app, and select Serial/IR from the drop down list in the upper right hand corner. Tap the Infrared box to select infrared communications. You must restore the setting to Cradle in order to use the Hot sync cradle. Note: An option for transferring IrDA drivers by “beaming” from one IrDA-equipped Palm to another has been accompanied with problems. It is recommended that drivers be installed via Palm Desktop and the cradle.
MS-880 Industrial Long Range Scanner User’s Manual
A-15
Appendices
2. Put the Palm Pilot™ in its cradle.
Page 272
Appendix E
Appendix E, Serial Configuration Commands The following table is a list of all the available serial configuration commands, presented in numeric order. These commands are also listed at the beginning of each applicable chapter. For utility (operational) commands see Table 17-1, “Summary of Utility Serial Commands,” on page 17-3. Table A-8 Serial Configuration Commands in Numeric Order Command Title old cmds new cmds
Host Port Parameters
Ka
K100, <K100,baud,parity,stop bits,data bits>
Aux Port Parameters
Ky
K101,
Appendices
IrDA Port and Text
Format <K101,aux port mode,baud,parity,stop bits,data bits,daisy chain status,daisy chain ID>
K103, <K103,IR status,IR timeout,menu mode>
Host Protocol
Kf
K140, <K140,protocol>
Preamble
Kd
K141, <K141,status,preamble>
Postamble
Ke
K142, <K142,status,postamble>
Response Timeout
KA
K143, <K143,timeout>
Intercharacter Delay
KB
K144, <K144,time interval>
LRC
Kc
K145, <K145,status>
Aux/Config. Port Data
K146, <K146,aux status,config status>
Daisy Chain Auto Configure
K150 <K150DAISY> DAISY
Daisy Chain Scanner ID
K151, <K151,daisy chain scanner,daisy chain scanner ID>
Communications Status Request
KT?
K199? <K199?>
Triggering Mode
Kg
K200, <K200,trigger mode,filter time>
Serial Trigger Character
Ki
K201, <K201,character>
External Trigger State
Kj
K202, <K202,external trigger state>
End of Read Cycle
Kh
K220, <K220,end of read cycle status,timeout>
Decodes Before Output
Km
K221, <K221,decodes before output>
Multilabel
KL
K222, <K222,number of labels,multilabel separator>
Matchcode Type
Kn
<K223,type,sequential matching,match start posiK223, tion,match length,wild card character, sequence on noread,sequence on every mismatch>
Master Label Database Size
KM
K224, <K224,number of master labels>
New Master Pin
Kz
K225, <K225,status>
Optoelectric Control
<K226,mode,# active database settings,latch on K226, trigger,timer value, control trigger 1,control trigger 2,control trigger 3>
Optoelectric Calibration Database
K227,
A-16
<K227,database index,focus position, gain,tracking>
MS-880 Industrial Long Range Scanner User’s Manual
Page 273
Serial Configuration Commands Command Title old cmds new cmds
Format
Sequential Step
K228, <K228,sequence step>
Start Serial Trigger Character
K229, <K229,start trigger character>
End Serial Trigger Character
K230, <K230,end trigger character>
Enter/Delete Master Label Data
M
K231,
<K231,master label number,master label data [no data will delete current master label data]>
Request Master Label Data
M
K231, <K231,?>[for all] or <K231,master label number?>
Operations Status Request
KV?
K399? <K399?>
Warning Message Status
K”
K400,
Lifetime Hours
K$
K401, <K401,hours10,message>
Over-temperature
K+
K402, <K402,degrees,message>
Under-temperature
K-
K403, <K403,degrees,message>
Laser Overcurrent
K;
K404, <K404,message>
Laser Undercurrent
K:
K405, <K405,message>
Power-on/Resets Counts
K_
K406, <K406,powerups,resets>
Time Since Last Reset
K@?
K407? <K407?> returns: hours,minutes (read only)
Present Operating Temperature
K%?
K408? <K408?> returns: deg (read only)
Narrow Margins/Symbology ID
Ko
K450, <K450,narrow margins status,symbology ID status>
Background Color
Kx
K451, <K451,background color>
Code 39
Kp
<K470,status,check digit status,check digit output K470, status,large intercharacter gap,fixed code length status,fixed code length,full ASCII>
Codabar
Kq
K471,
<K471,status,start & stop match status,start & stop output status,large intercharacter gap,fixed code length status,fixed code length,check digit type,check digit output>
Interleaved 2 of 5
Kr
K472,
<K472,status,check digit,check digit output,length 1,length 2,guard bar>
UPC/EAN
Ks
K473,
<K473,status,EAN status,supplementals status,separator status,separator char,supplemental type>
Code 128
Kt
K474, <K474,status,fixed length,length...>
UCC/EAN-128
Kt
<K474,,,,UCC/EAN-128 status,output format,sepaK474, rator status,separator character,application identifier parentheses,record padding>
Code 93
K!
K475,
<K475,status,fixed code length status,fixed code length>
PDF417
K[
K476,
<K476,status,raster sweeps before decode attempt,fixed code length status,fixed code length>
<K400,warning message status,laser high status,laser low status,novram/reset warning status>
A-17
Appendices
MS-880 Industrial Long Range Scanner User’s Manual
Page 274
Appendix E Command Title old cmds
Appendices
Pharma Code new cmds
Format
K477,
<K477,status,fixed code length status,fixed code length,min. no. of bars,bar widths,fwd/rev>
Code Type Status Request
KW?
K499? <K499?>
Scan Speed
KE
K500, <K500,scan speed>
Maximum Element
KI
K502, <K502,max element>
Gain/Tracking
KD
K504, <K504, gain,tracking>
AGC Settings
KH
K505,
<K505,transition counter status,transition counter threshold>>
Raster
KR
K506,
<K506,status,top offset,bottom offset,raster sweep rate,read cycle on/off>
Focus
K.
K508, <K508,focusposition,zero position>
Scanner Setup Status Request
KU?
K699? <K699?>
Laser
KC
K700,
<K700,laser on/off status,laser framing status,laser off time,laser on time,laser power>
Serial Verification
KS
K701,
<K701,serial command echo status,serial command beep status,control/hex output>
Beeper
Ku
K702, <K702,status>
Quality Output
KJ
K704, <K704, quality output separator,reads/trigger status>
Bar Code Output
Kl
K705, <K705, status,when to output>
Output During Diagnostic Warning Messages
K713,
<K713,output#,status1,status2,status3,status4, status5,status6,status7,status8,status9>
Noread Message
Kk
K714, <K714,status,message>
Output 1
Kv
<K720, output on,active state,pulse width,output K720, mode,trend analysis mode,trigger evaluation period,number to output on,reads per trigger threshold>
Output 2
Kw
<K721, output on,active state,pulse width,output K721, mode,trend analysis mode,trigger evaluation period,number to output on,reads per trigger threshold>
Output 3
K‘
<K722,output on,active state,pulse width,output K722, mode,trend analysis mode,trigger evaluation period,number to output on,reads per trigger threshold>
Input 1
KK
K730, <K730, mode,active state>
Extraction Mode
KS
K740, <K740,output #,start position,length>
Insertion Mode
Ku
K741, <K741,output #,length,hex string>
Assignment Command
KJ
K742, <K742,label number,status>
Output Format Status
Kl
K743, <K743,output format status> <K744,filter#,code type,length,wildcard character,placeholder character,data>
Ordered Output
K744,
Number of Filters
K745, <K745,number of filters involved>
Scanner Interface Status Request
A-18
KX?
K899? <K899?>
MS-880 Industrial Long Range Scanner User’s Manual
Page 275
Serial Command Format
Appendix F, 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 17-1, “Summary of Utility Serial Commands,” on page 17-3.
Serial Configuration “K” Commands See Appendix F, “Serial Command Format” on page A-19.
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>.
MS-880 Industrial Long Range Scanner User’s Manual
A-19
Appendices
These begin with a single K character followed by a 3-digit numeric, data fields, and an initializing command, as follows: <Knumeric parameter,data,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 <K473,1><Z>. To change Baud Rate and reset without saving changes for power-on, send <K100,a3><A>. Note: Previous serial commands had alphabetic parameters following the K and did not insert a comma before the 1st field, as in <Kf5>. The new “numeric” commands include a comma after the numeric parameter, as in <K140,5>.
Page 276
Appendix F 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 Scanner 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. Commands <K199?>, <K399?>, <K499?>, <K899?>, and <K699?> are used to request the status of groups of serial commands. Note that there is no comma between the numeric and the question mark.
Appendices
Entering Special Characters in Serial Commands To enter control characters within a serial command, hold down the control 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 (zero). It is displayed as <NUL> in the menu when the screen is refreshed.
A-20
MS-880 Industrial Long Range Scanner User’s Manual
Page 277
ASCII Table
Appendix G, ASCII Table Table A-9 ASCII Table with Control Characters 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 [ \ ] ^ _
MS-880 Industrial Long Range Scanner User’s Manual
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-21
Appendices
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
Page 278
Appendix G Table A-10 Communication Protocol Commands Protocol Command Control Characters Hex (Mnemonic displayed (Entered in menu or Code on Microscan menu) serial command)
Effect of Command
^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
Appendices
RES
A-22
MS-880 Industrial Long Range Scanner User’s Manual
Page 279
Embedded Menus
Appendix H, Embedded Menus In addition to ESP-MP, you can also use a communications menu such as Microsoft’s HyperTerminal to establish communication with Microscan’s embedded menus.1 1. With your host connected to the 9-pin configuration port, set your host communications settings as follows: 57.6K baud, 8 Data Bits, 1 Stop Bits, and None Parity. With your host connected to the 25-pin configuration port, set your host communications settings as follows: 9600, 7, 1, and Even. 2. Set Flow Control to None. 3. Make the communications port selection. (Usually COM 1 or COM 2 for desktops and COM 1 for laptops.) 4. Upon connection, send a <D> command to bring up the main menu.
Appendices Note: The 9-pin configuration port settings are not changeable. Important: To receive bar code data through the 9-pin configuration port, you must enable the port with the following command: <K146,,1>. Menu navigation commands are case sensitive. Use the space bar or N to advance to the next item, CR (return key) to select a highlighted item, B to return to the previous item, M to return to the previous menu, and ESC to return to the Main menu or to exit the program. When exiting the program, you will be prompted to save your active settings for power up (Y or N). Typing Y will be equivalent to saving with a <Z> command. 1. If you are using Microsoft’s HyperTerminal program, you may find that the initial screen is unviewable when you call up the program with the <D> command. If this occurs, simply exit the embedded menu with a ESC, E, and N sequence and repeat the <D> command. MS-880 Industrial Long Range Scanner User’s Manual
A-23
Page 280
Appendix I
Appendix I, Defaulting/Saving/Initializing Defaults are original or saved settings. Defaulting occurs when default settings (from flash or user-saved NOVRAM) are restored. Defaulting might be necessary if you have make temporary changes, communications between the scanner and another device are lost or interrupted, or you are using incompatible equipment (for example, a terminal that is set at 9600 baud communicating with a scanner that is set at 38.4K baud). Initializing occurs whenever any command or set of commands is implemented. Active Memory (SRAM) is where the scanner’s active settings are stored during use. These are not available on power-up. User-saved NOVRAM (non-volatile random access memory) is where the scanner’s operating parameters are stored for power-on. It can be changed by user command. Flash Defaults is where the scanner’s default download/boot programs are stored. It can only be changed by downloading application/boot codes.1
Appendices
Defaulting Restore NOVRAM Defaults to Active Memory • Restores user-defined NOVRAM settings to active memory.
<An>
• Initializes serial configuration commands in active memory and resets counters to zero.
Initialize Active Memory
By Serial Command Send <An> command to the scanner.
By ESP (There is no equivalent ESP command.) Restore Flash Defaults to Active Memory • Restores flash defaults to memory. • Initializes serial configuration commands in active memory and resets counters to zero.
User-Saved NOVRAM
<Ad>
Send <Ad> command to the scanner.
Initialize Active Memory
• Does not save settings to NOVRAM for power-on.
By Serial Command
Flash Defaults
User-Saved NOVRAM
By ESP 1. Right-click in the configuration window and select Default All ESP Settings. 2. Right-click and select Save to Scanner, Send and Save. 1. See your Microscan sales representative to access the latest application codes.
A-24
MS-880 Industrial Long Range Scanner User’s Manual
Flash Defaults