The text of a manual · part 7 of 13
MS-3000 Single Head Decoder User's Manual, pages 61 to 70
Pages 61 to 70 of 126
The original document is the PDF (730 KB). 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-3000
Page 61
file card1 or by entering a <D> command from an auxiliary terminal via the auxiliary RS-232 port. If neither of these methods is available, try defaulting the decoder. See Appendix C, “Defaulting the Decoder,” on page A-4.
Trigger Filter Timing Value Format: <KF?> Returns the current trigger filter timing value in milliseconds. Format: <KFone tenth trigger filter timing value> Allows you to set trigger filter timing. Divide the desired number of milliseconds by 10 and enter the quotient.
3–Serial Config.
1. See mode 0 in Chapter 4, “Profile Card Configuration.”
MS-3000 Single Head Decoder User’s Manual
3-5
Page 62
Chapter 3
Serial Configuration
Communications Commands Note: Changes in Communications parameters or assigning an address to the decoder can cause loss of communications with the configuration terminal when you exit the menu program (whether or not changes are saved for power-on).
Protocol If selecting one of the options from 0 to 4 (Point-to-Point, Point-to-Point with RTS/CTS, Point-to-Point with XON/XOFF, Point-to-Point with RTS/CTS and XON/XOFF, or Polling Mode D), use this format: Format: <Kfprotocol> protocol: 0 = Point-to-Point 1 = Point-to-Point with RTS/CTS 2 = Point-to-Point with XON/XOFF 3 = Point-to-Point with RTS/CTS & XON/XOFF
4 = Polling Mode D 5 = Multidrop (requires address) 6 = User Defined 7 = User Defined Multidrop
3–Serial Config.
Example: To change the Protocol to Polling Mode D, enter <Kf4>. If selecting Multidrop (5), you must define an address and add it to the format (data B). Format: <Kfprotocol,address> protocol: 5 = Multidrop (requires address)
address: Any number from 1 to 50.
Example: To change the Protocol to Multidrop with an address of 33, enter <Kf5,33>. If selecting User Defined (6) or User Defined Multidrop (7), you must complete the format by either choosing new parameters or concatenating unchanged data fields (separate by commas). Tip: For User Defined, you first select Point-to-Point <Kf0> and then User Defined <Kf6...>. For user Defined Multidrop, you first select Multidrop <Kf5>, then User Defined Multidrop <Kf7...>.
Format: <Kfprotocol,RES,address, REQ,EOT,STX,ETX,ACK,NAK > Protocol: 6 = User Defined 7 = User Defined Multidrop Example: To select an unpolled ACK/NAK User Defined protocol with LRC disabled, enter <Kf0><Kf6,,,,,,,^F,^U><Kc0>.1 ACK and NAK will be displayed in the menu. 2
3-6
MS-3000 Single Head Decoder User’s Manual
Page 63
Communications Commands Note: Address can be assigned any ASCII character except a null. Control characters are used to define RES through NAK (except Address). Table 3-2 lists the control characters used for these data fields. (Refer to Table A-2, “ ASCII Table with Control Characters,” on page A-3 for more information.) Table 3-2 Protocol Commands
Protocol Command
Control Characters
(Mnemonic displayed on (Entered in menu or serial Microscan menu) command) RES ^D
Effect of Command Reset
REQ
^E
Request
EOT
^D
Reset
STX
^B
Start of Text
ETX
^C
End of Text
ACK
^F
Acknowledge
NAK
^U
Negative Acknowledge
Format: <Kdstatus,preamble character(s)> status: preamble character(s): Enter one or two preamble characters 0 = Disabled from table A-2 on page A-3, except a 1 = Enabled null (00H). Default is ^M. Example: To enable Preamble with just one character, an FF (form feed), enter <Kd1,^L>.
Postamble Format: <Kestatus,postamble> status: postamble character(s): Enter one or two postamble characters 0 = Disabled from table A-2 on page A-3, except a 1 = Enabled null (00H). Default characters are ^M^J. Example: To enable Postamble with an FF (form feed) and a CR (carriage return), enter <Ke1,^L^M>.
1. <Kf0> nulls the address and <Kc0> disables LRC. 2. A control character, although conventionally represented here and in the ASCII table on page A-3 as two characters (^F or ^U, etc.), is actually a single ASCII character that is entered on the keyboard by holding down the control key while pressing the desired letter.
MS-3000 Single Head Decoder User’s Manual
3-7
3–Serial Config.
Preamble
Page 64
Chapter 3
Serial Configuration
LRC Format: <Kcstatus> status: 1 = Enabled 0 = Disabled Example: To enable LRC, enter <Kc1>.
Host Response Timeout Format: <KAtimeout setting> timeout setting: Any number from 0 to 65,000 (a zero creates an indefinite wait). Default is 12 (ms). Example: To change Response Timeout to 30 ms, enter <KA30>.
Intercharacter Delay 3–Serial Config.
Format: <KBtime interval> time interval (in milliseconds between characters): Any number from 0 to 255. Default is 0. Example: To change Intercharacter Delay to 30 ms, enter <KB30>.
Host Port Note: Changes made in the decoder’s communications parameters such as baud rate, parity, stop bits, LRC, etc., must be matched in the other device(s) or communications will be lost. If this occurs, default the decoder as described in Appendix C, “Defaulting the Decoder.”
Format: <Kabaud rate,parity,stop bits,data bits> baud rate: parity: 0 = 600 3 = 4800 0 = None 1 = 1200 4 = 9600 1 = Even 2 = 2400 5 = 19.2K 6 = 38.4K 2 = Odd stop bits: data bits: 0 = One 1 = Two 0 = Seven
1 = Eight
Example: To change the baud rate to 2400, enter <Ka2>. To change Data Bits to Eight without changing any other fields, enter either: <Ka,,,1> or <Ka4,1,0,1>.
3-8
MS-3000 Single Head Decoder User’s Manual
Page 65
Communications Commands
RS-422 Format: <KbRS-422 status> RS-422 status: 1 = Enabled 0 = Disabled Example: To enable RS-422, enter <Kb1>. This command assumes the decoder is in RS-232 before RS-422 is enabled. If a multidrop address has been already assigned, the decoder will be in RS-485 communications, regardless of RS-422 status.
Host Port Status Request Format: <KU?> Returns status of Host Port <Ka> and RS-422 <Kb>.
Auxiliary Port 3–Serial Config.
Format: <Kystatus,baud rate,parity,stop bits,data bits> status: baud rate: 0 = 600 3 = 4800 0 = Disabled 1 = Transparent 1 = 1200 4 = 9600 2 = 2400 5 = 19.2K 6 = 38.4K 2 = Half Duplex 3 = Full Duplex parity: stop bits: data bits: 0 = None 0 = One 0 = Seven 1 = Two 1 = Eight 2 = Odd 1 = Even Example: To enable Half Duplex and to change the baud rate to 2400, enter <Ky2,2>.
Communications Status Request Format: <KT?> Returns status of each command in the group.
MS-3000 Single Head Decoder User’s Manual
3-9
Page 66
Chapter 3
Serial Configuration
Operations Commands Triggering Mode Format: <Kgmode> 0 = Continuous Read 1 = Continuous Read 1 Output 2 = External Level
3 = External Edge 4 = Serial Data 5 = External and Serial
Example: To select External Edge, send: <Kg3>.
End of Read Cycle Format: <Khend of read cycle,timeout> end of read cycle: timeout (in 10 millisecond increments): Any number between 0 to 65,535. 0= Timeout Default is 100 (one seconds). 1= New Trigger 2= External and Serial
3–Serial Config.
Example: To select Timeout and change the timeout value to 6 seconds, enter <Kh0,600>. 1
Serial Trigger Character
Format: <Kitrigger character> trigger character: Enter any available ASCII character (see table A-1 on page A-3). Default is ^]. Example: To define the Serial Trigger Character as a lowercase c, enter <Kic>.
External Trigger Polarity Format: <Kjpolarity> polarity: 0 = Negative 1 = Positive Example: To change External Trigger Polarity to Negative, enter <Kj0>.
1. Avoid selecting a serial trigger character that is also an operational command. For example, an uppercase C cannot be used as a serial trigger character because it is the operational command for Enter Read Rate Test. However, a lowercase c could be used without interfering with the read rate test.
3-10
MS-3000 Single Head Decoder User’s Manual
Page 67
Operations Commands
Noread Message Format: <Kkstatus,noread message> status: noread message: 0 = Disabled Any ASCII string up to 7 digits. Default is NOREAD 1 = Enabled Example: To enable Noread Message and change noread message to “Fail,” send: <Kk1,Fail>.
Bar Code Output Format: <Klstatus,when to output> status: when to output: 0 = Disabled 0 = As Soon As Possible 1 = End of Read Cycle 1 = Enabled Example: To set Bar Code Output to End of Read Cycle, enter <Kl1,1>.
Number of Reads Before a Good Decode 3–Serial Config.
Format: <Kmnumber of reads> number of reads: Any number from 1 to 31. Example: To change Number of Reads to 3, enter <Km3>.
Match Code Format: <Knstatus> status: 1 = Enabled 0 = Disabled Example: To enable Match Code, enter <Kb1>.
Number of Labels Format: <KLnumber of labels, field separator> number of labels: field separator: 0 = One label 3 = Four labels Any ASCII character except NUL. 1 = Two labels 4 = Five labels Default is a comma (,). 2 = Three labels 5 = Six labels Example: To set Number of Labels to four with a dash (–) for a Field Separator, enter <KL3,–>.
Operations Status Request
Format: <KV?> Returns status of each command in the group. MS-3000 Single Head Decoder User’s Manual
3-11
Page 68
Chapter 3
Serial Configuration
Code Types Commands Narrow Margins Format: <Kostatus> status: 0 = Disabled 1 = Enabled Example: To enable Narrow Margins, enter <Ko1>.
Code 39 Format: <Kpstatus,check digit status,check digit output,large interchar. gap,fixed code length,code length> status: check digit status: check digit output status: 0 = Disabled 0 = Disabled 0 = Disabled 1 = Enabled 1 = Enabled 1 = Enabled
3–Serial Config.
large interchar. gap status: 0 = Disabled 1 = Enabled fixed code length status: code length: Any number from 1 to 31. 0 = Disabled Default is 10. 1 = Enabled
Example: To set Fixed Code Length to 30, enter <Kp,,,,1,30> or <Kp1,0,0,0,1,30>.
Codabar Format: <Kqstatus,start & stop match,start & stop output,large interchar. gap,fixed code length,code length> status: start & stop match status: start & stop output status: 0 = Disabled 0 = Disabled 0 = Disabled 1 = Enabled 1 = Enabled 1 = Enabled large interchar. gap status: 0 = Disabled 1 = Enabled fixed code length status: code length: Any number from 1 to 31. 0 = Disabled Default is 10. 1 = Enabled
Example: To enable Codabar and set Fixed Code Length to 9, enter <Kq1,,,,1,9> or <Kq1,1,1,0,1,9>.
3-12
MS-3000 Single Head Decoder User’s Manual
Page 69
Code Types Commands
I 2 of 5 Format: <Krstatus,check digit status,check digit output status,code length #1,code length #2> status: check digit status: check digit output status: 0 = Disabled 0 = Disabled 0 = Disabled 1 = Enabled 1 = Enabled 1 = Enabled code length #1: code length #2: Zero or any even number Zero or any even number from 2 to 30. Default from 2 to 30. Default is 10. is 6 Example: To enable I 2 of 5 and to set Fixed Code Length #1 to 8 and Fixed Code Length #2 to 4, enter <Kr1,,,8,4> or <Kr1,0,0,8,4>.
UPC/EAN separator status: 0 = Disabled 1 = Enabled separator character: Any ASCII character (except NUL). Default is a comma (,).
Example: To enable UPC and EAN, change supplementals to required, and change separator character to a dash (–), enter <Ks1,1,2,1,–> or <Ks1,1,2,,–>.
Code 128 Format: <Ktstatus,fixed code length status,code length> status: fixed code length status: code length: Any number from 1 0 = Disabled 0 = Disabled to 31.Default is 10. 1 = Enabled 1 = Enabled Example: To enable Code 128, enable Fixed Code Length, and set Code Length to 9, enter <Kt1,1,9>.
Code Types Status Request Format: <KW?> Returns status of each command in the group. MS-3000 Single Head Decoder User’s Manual
3-13
3–Serial Config.
Format: <Ksstatus,EAN status,supplementals status,separator status,separator character> status: EAN status: supplementals status: 0 = Disabled 0 = Disabled 0 = Disabled 1 = Enabled 1 = Enabled 1 = Enabled (UPC must also be enabled) 2 = Required
Page 70
Chapter 3
Serial Configuration
User Outputs Commands Beeper Format: <Kubeeper status,beeper volume,beeper speed> beeper status: beeper volume: beeper speed: 0 = Disabled 0 = Level 1 0 = Fast 1 = Slow 1 = Level 2 1 = On Good 2 = On Noread 2 = Level 3 3 = Level 4 4 = Level 5 Example: To enable the beeper for On Noread and set the beeper volume to Level 5, enter <Ku2,4>.
Relay Driver 3–Serial Config.
Format: <Kvrelay driver> relay driver: 2 = Noread 0 = Good Match 3 = Mismatch or Noread 1 = Mismatch Example: To change Relay Driver to Noread, enter <Kv2>.
New Master Pin Format: <Kzstatus> status: 0 = Disabled 1 = Enabled Example: To enable New Master Pin, enter <Kz1>.
Laser On/Off Format: <KCstatus> status: 0 = Disabled 1 = Enabled Example: To enable Laser On/Off, enter <KC1>.
3-14
MS-3000 Single Head Decoder User’s Manual