Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeEnglishEspañolContact

The text of a manual · part 8 of 15

MS-710 Scanner User's Manual, pages 71 to 80

Pages 71 to 80 of 145

The original document is the PDF (1.9 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-710

Page 71

Communications Port Commands

Communications Port Commands Host Port Note: Changes made in the scanner’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 scanner with the <Zd> Restore/Save Default Configuration for Power-on command as described on page 4-12. Format: <Kabaud rate,parity,stop bits,data bits> parity: 0 = None 1 = Even 2 = Odd stop bits: 0 = One 1 = Two data bits: 0 = Seven 1 = Eight

3–Serial Config.

baud rate: 0 = 600 3 = 4800 6 = 38.4K 1 = 1200 4 = 9600 7 = 76.8K 2 = 2400 5 = 19.2K 8 = 300

Example: To change Host Port Baud Rate to 2400, enter <Ka2>.

Auxiliary Port Format: <Kymode,baud rate,parity,stop bits,data bits,daisy chain ID status,daisy chain id>1 mode: 0 = Disabled 1 = Transparent 2 = Half duplex parity: 0 = None 1 = Even 2 = Odd

3 = Full duplex 4 = Daisy chain stop bits: 0 = One 1 = Two baud rate: 0 = 600 1 = 1200 2 = 2400

3 = 4800 4 = 9600 5 = 19.2K

6 = 38.4K 7 = 76.8K 8 = 300 daisy chain ID data bits: 0 = Seven status 0 = Disabled 1 = Eight 1 = Enabled daisy chain I.D. any 2 ASCII characters. Default is 1/

Example: To change Aux Port Baud Rate to 2400, enter <Ky2>.

Communications Status Request Format: <KT?> Returns status of each command in the group.

1. For use with Microscan’s IB-105. MS-710 Scanner User’s Manual

3-5

Page 72

Chapter 3

Protocol Commands 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>1 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 and XON/XOFF

4 = Polling Mode D 5 = Multidrop (requires address) 6 = User Defined 7 = User Defined Multidrop

Example: To change the Protocol to Polling Mode D, enter <Kf4>.

3–Serial Config.

If selecting Multidrop (5), you must define an address and append it to the command string. Format: <Kf5,address> protocol: 5 = Multidrop 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), complete the format by either choosing new parameters or concatenating unchanged data fields (separate by commas). TIP: For User Defined, first select Point-to-Point <Kf0> and then User Defined <Kf6...>. For user Defined Multidrop, first select Multidrop <Kf5>, then User Defined Multidrop <Kf7...>. Format: <Kfprotocol,RES,address,REQ,EOT,STX,ETX,ACK,NAK,from host> protocol: 6 = User Defined; From Host: 0 = disabled 1 = enabled Example: To select an unpolled ACK/NAK User Defined protocol with LRC disabled, enter <Kf0><Kf6,,,,,,,^F,^U><Kc0>.2 ACK and NAK will be displayed in the menu.

1. Polling Mode D, Multidrop, User Defined, and User Defined Multidrop are for use with Microscan’s IB-105. 2. <Kf0> nulls the address and <Kc0> disables LRC. A control character, although conventionally represented here and in the ASCII table on page A-7 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.

3-6

MS-710 Scanner User’s Manual

Page 73

Protocol 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-4, “ASCII Table with Control Characters,” on page A-7 for more information.)

Format: <Kfprotocol,RES,address,REQ,EOT,STX,ETX,ACK,NAK> protocol: 7 = User Defined Multidrop Example: To customize multidrop protocol’s STX (start of text) and EOT (reset) sequence and assign an address of 2, send <Kf5,2><Kf7,^M,,,^A>. The <Kf5,2> portion of the command enables the standard Multidrop protocol and assigns a Multidrop address. ^M is the new STX and ^A the new EOT. All other protocol characters will retain their standard Multidrop values. 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-4, “ASCII Table with Control Characters,” on page A-7 for more information.)

MS-710 Scanner User’s Manual

3-7

3–Serial Config.

Explanation of the From Host option Suppose STX, ETX and EOT are defined in the MS-710, the trigger counter is currently T/ 00000, and you want to send the Trigger Counter Request command to the scanner. Defined Protocol: STX, ETX, EOT Trigger Counter Status: T/00000 Host Command Request: <T> (Trigger Counter Request Command) The command string format from the host would depend on the From Host setting. If From Host is disabled, <T> (Trigger Counter From Host Disabled Request command) would be the required format from the host to cause the scanner to return STX T/ MS-710 <T> HOST 00000 ETX EOT. However, if From Host is enabled, STX T/00000 the required host command string would be STX ETX EOT <T> ETX EOT to receive the same response from the scanner. In either case the data string From Host Enabled returned by the scanner always includes the defined STX <T> ETX EOT MS-710 HOST protocol. In this example, that returned data would STX T/00000 be STX T/00000 ETX EOT. ETX EOT

Page 74

Chapter 3 Table 3-2 Protocol Commands Protocol Command (Mnemonic displayed on Microscan menu)

Control Characters (Entered in menu or serial command)

Effect of Command

RES REQ EOT STX ETX ACK NAK

^D ^E ^D ^B ^C ^F ^U

Reset Request Reset Start of Text End of Text Acknowledge Negative Acknowledge

Preamble

3–Serial Config.

Format: <Kdstatus,preamble character(s)> status: preamble character(s): 0 = Disabled Enter one or two preamble characters except a null (00H). Default is ^M. 1 = Enabled Example: To enable Preamble with just one character, an FF (form feed), enter <Kd1,^L>.

Postamble Format: <Kestatus,postamble character(s)> status: 0 = Disabled 1 = Enabled postamble character(s): Enter one or two postamble characters except a null (00H). Default characters are ^M^J.

Example: To disable Postamble, enter <Ke0>.

LRC Format: <Kcstatus> status: 0 = Disabled 1 = Enabled Example: To enable LRC, enter <Kc1>.

3-8

MS-710 Scanner User’s Manual

Page 75

Protocol Commands Response Timeout Format: <KAtimeout setting>1 timeout setting: Default is 12 (ms). Any number from 0 to 65,000 (a zero causes an indefinite wait). Example: To change Response Timeout to 30 ms, enter <KA30>.

Intercharacter Delay Format: <KBtime interval> time interval (between characters in milliseconds): Default is 0. Any number from 0 to 255. Example: To change Inter-character Delay to 30 ms, enter <KB30>.

3–Serial Config.

1. For use with Microscan’s IB-105. MS-710 Scanner User’s Manual

3-9

Page 76

Chapter 3

Operation Commands Triggering Mode Format: <Kgtriggering mode,filter time> trigger filter time (in 128 µs increments): triggering mode: Default is 78 (9984 µs; approx. 10 ms) 0 = Continuous Read Any number between 2 and 255. 1 = Continuous Read 1 Output 2 = External Level 3 = External Edge 4 = Serial Data 5 = Serial Data & Edge Example: To select External Edge, enter <Kg3>.

3–Serial Config.

End of Read Cycle Format: <Khend of read cycle mode,timeout> end of read cycle mode: 0 = Timeout 1 = New Trigger 2 = Timeout & New Trigger timeout (in 10 millisecond increments): Default is 100 (one second). Any number between 0 and 65535.

Example: To select Timeout and change the timeout value to 6 seconds, enter <Kh0,600>.

Serial Trigger Character Format: <Kiserial trigger character>1 serial trigger character: Default is ^]. Any available ASCII character (see “ASCII Table with Control Characters” on page A-7). Example: To define the Serial Trigger Character as a lowercase c, enter <Kic>.

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 Decode Rate Test. However, a lowercase c could be used without initiating the decode rate test.

3-10

MS-710 Scanner User’s Manual

Page 77

Operation Commands External Trigger Level Format: <Kjexternal trigger level> external trigger level (initiates a read cycle): 0 = Negative 1 = Positive Example: To change External Trigger Level to Negative, enter <Kj0>.

Good Decode Reads Format: <Kmnumber of reads> number of reads (before a good decode): Default is 1. Any number from 1 to 31. Example: To change Good Decode Reads to 3, enter <Km3>.

Format: <Kntype,sequential matching,match start position,match length,wild card character,sequence on noread,sequence on every mismatch> type: 0 = Disabled 1 = Enabled 2 = Sequential 3 = Wild Card sequential matching match start position 0 = Increment Default is 0. 1 = Decrement 0 to 64 match length Default is 1. 1 to 64 wild card character Default is *. Any ASCII character.

sequence on noread: 0 = Disabled 1 = Enabled When enabled, the scanner sequences (increment or decrement) on every noread.

If 001, 002, noread, then search for 003. If 001, 002, noread, then search for 004.

sequence on every mismatch: 0 = Disabled 1 = Enabled When disabled, if a mismatch is out of sequence by no more than 1, then the sequence resumes and searches indefinitely. When enabled, the scanner sequences on every mismatch.

If 001, 002, 004 (mismatch), then search for 005. If 001, 002, mismatch, then search for 004. If mismatch occurs again, then search for 005, etc.

MS-710 Scanner User’s Manual

3-11

3–Serial Config.

Match Code Type

Page 78

Chapter 3 Example: To enable Match Code Type for Sequential, set Sequential Matching for Decrement, and enable Sequence on Every Mismatch, enter <Kn2,1,,,,,1>.

New Master Pin Format: <Kzstatus> status: 0 = Disabled 1 = Enabled Example: To enable New Master Pin, enter <Kz1>.

Number of Labels Format: <KLnumber,multilabel separator>

3–Serial Config.

number of labels: Default is 1. Any number from 1 to 6 multilabel separator: Default is ,. Any valid ASCII character

Example: To change Number of Labels to 3, enter <KL3>.

Operations Status Request Format: <KV?> Returns status of each command in the group.

3-12

MS-710 Scanner User’s Manual

Page 79

Code Type Commands

Code Type Commands Code 39 Format: <Kpstatus,check digit status,check digit output status,large intercharacter gap,fixed code length status,code length> status: 0 = Disabled 1 = Enabled check digit status: 0 = Disabled 1 = Enabled large inter-character gap:fixed code length status: 0 = Disabled 0 = Disabled 1 = Enabled 1 = Enabled check digit output status: 0 = Disabled 1 = Enabled code length: Default is 10. Any number from 1 to 64.

Example: To set Fixed Code Length to 30, enter <K,,,,1,30> or <Kp1,0,0,0,1,30>.

Format: <Kqstatus,start & stop match status,start & stop output status,large intercharacter gap,fixed code length status,code length,check digit type,check digit output> status: 0 = Disabled 1 = Enabled start & stop match status: 0 = Disabled 1 = Enabled large inter-character gap:fixed code length status: 0 = Disabled 1 = Enabled check digit type: 0 = Disabled 1 = Mod 16 start & stop output status: 0 = Disabled 1 = Enabled

0 = Disabled 1 = Enabled code length: Default is 10 Any number from 1 to 64.

2 = NW7 3 = Both check digit output: 0 = Disabled 1 = Enabled

Example: To set Fixed Code Length to 9, enter <Kq1,,,,1,9> or <Kq1,1,1,0,1,9>.

MS-710 Scanner User’s Manual

3-13

3–Serial Config.

Codabar

Page 80

Chapter 3 I 2 of 5 Format: <Krstatus,check digit status,check digit output status,code length #1,code length #2> status: 0 = Disabled 1 = Enabled check digit status: 0 = Disabled 1 = Enabled check digit output status: 0 = Disabled 1 = Enabled code length #2: code length #1: Default is 6. Default is 10. Zero or any even Zero or any even number from 2 to 64. number from 2 to 64. Example: 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>.

3–Serial Config.

UPC/EAN Format: <KsUPC status,EAN status,supplementals status,separator status,separator character> UPC status: 0 = Disabled 1 = Enabled

EAN status: 0 = Disabled 1 = Enabled (UPC must also be enabled)

supplementals status: 0 = Disabled 1 = Enabled 2 = Required separator status: 0 = Disabled 1 = Enabled separator character: Any ASCII character (except NUL). Default is a comma (,).

Example: To change Supplementals to Required, and change Separator Character to a dash (–), enter <Ks1,1,2,1,–>.

Code 128 Format: <Ktstatus,fixed code length status,code length> status: fixed code length status: code length: 0 = Disabled 0 = Disabled Default is 10. 1 = Enabled 1 = Enabled Any number from 1 to 64. Example: To enable Code 128, enable Fixed Code Length, and set Code Length to 9, enter <Kt1,1,9>.

3-14

MS-710 Scanner User’s Manual