The text of a manual · part 10 of 19
Series 4000 Raster Scanner User's Manual: Chapter 3, pages 84 to 93
Pages 84 to 93 of 137, from Series 4000 Raster Scanner User's Manual
The original document is the PDF (5.4 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-4280
Page 84
Serial Configuration
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).
Format: <KfdataA,dataB,dataC,dataD,dataE, Data A (protocol dataF,dataG,dataH,datab option 6 or 7) Data B (RES)
NOTE: Data C, address, can be assigned any Data C (address)
ASCII character except a null. Control characters are used to define data B through I. Table Data D (REQ) 3-3 lists the control characters used for these data fields. (Refer to table A-1, “ASCII Table | Data E (ECT) with Control Characters,” in appendix B for Data F (STX) more information.) Data G (ETX) Data H (ACK) Data | (NAK)
For example, to select an unpolled ACK/NAK User Defined protocol with LRC disabled (as shown in the ACK/NAK menu under “Communications” in this chapter) send: <KfO><K{6,,,,,,.F, \U><KcO>.! ACK and NAK will be displayed in the menu.”
Table 3-3 Protocol Commands
Protocol Command Control Characters Effect of Command (Mnemonic displayed on | (entered in menu or serial Microscan menu) command) RES AD | Reset REQ AE Request EOT AD Reset STX AB Start of Text ETX AC End of Text ACK AF Acknowledge NAK AU Negative Acknowledge
1. The <Kf0> nulls the address and the <Kc0> disables LRC.
2. Acontrol character, although conventionally represented here and in the ASCII table in appendix B as two characters (‘F or “U, etc.), is actually a single ASCIl character which is entered on the keyboard by holding down the control key while pressing the desired letter.
Series 4000 Raster Scanner User’s Manual 3-51
Page 85
Chapter 3 Configuration
Preamble Format: <KddataA,dataB>
Example:
To enable Preamble with just one character, an FF (form feed), send: <Kd1,AL>.
Postamble Format: <KedataA,dataB>
Example:
To enable Postamble with two characters, an FF (form feed) and a CR (carriage return), send: <Kel,ALAM>.
LRC
Format: <KcdataA> Example: To enable LRC, send: <Kc1>.
Response Timeout Format: <KAdataA>
Example: To change Response Timeout to 30 ms, send: <KA30>.
Intercharacter Delay Format: <KB dataA>
Example: To change Intercharacter Delay to 30 ms, send: <KB30>.
Data A (status): 0 = Disabled 1 = Enabled
Data B (preamble character(s):
Enter one or two preamble characters from the ASCII table in appendix B, except a null (OOH). Default is AM.
Data A (status): 0 = Disabled 1 = Enabled
Data B (postamble character(s)):
Enter one or two postamble characters from the ASCII table, except a null (OOH). Default characters are AMAJ.
Data A (status): 0 = Disabled 1 = Enabled
Data A (timeout setting in milliseconds): Any number from 0 to 65,000 (A zero (0) creates an indefinite wait.) Default is 12.
Data A (time interval in milliseconds between characters): Any number from 0 to 255. Default is 0.
3-52 Series 4000 Raster Scanner User's Manual
Page 86
Serial Configuration
Host Port Format: Data A (baud rate): Data C (stop bits): <KadataA,dataB,dataC,dataD> 0 = 600 0=One “Example: 1 = 1200 1 = Two To cha ; he Baud R 2 = 2800 2400 “Jend cka2> “we 3 = #800 ’ ‘ , 4 = 9600 To change data bits to eight . 7 toa , without changing any other a fields, enter either: <Ka,,,1 > or Data B (parity): Data D (data bits): <Ka4,1,0,1>. (See " Serial 0 = None 0 = Seven Command Format” earlier in . this section. 1=Even 1 = Eight ; 2 = Odd RS-422 Format: <KbdataA> Data A (status): 0 = Disabled Example: 1 = Enabled
To enable RS-422, send: <Kb1>.
This command assumes the scanner is in RS-232 before RS-422 is enabled.
NOTE: If a multidrop address has been already assigned, the scanner will be in RS-485 communications, regardless of RS-422 status.
Series 4000 Raster Scanner User's Manual 3-53
Page 87
Chapter 3 Configuration
Operations
NOTE: “Operations,” as used in this chapter, applies to configuration parameters and not to the serial operational commands described in chapter 4,
“Operational Commands.”
Triggering Mode
Format: <KgdataA>
Example: To select External Edge, send: <Kg3>.
End of Read Cycle
Format: <KhdataA,dataB>
Example: To select Timeout and change the timeout value to 6 seconds, send: <Kh0,600>.
Serial Trigger Character Format: <KidataA>
Example:
To define the Serial Trigger Character as a lowercase c, send: <Kic>.
Data A (triggering mode options): 0 = Continuous Read
1 = Continuous 1 Output
2 = External Level
3 = External Edge
4 = Serial Data
5 = Serial Data and Edge
Data A (end of read cycle options): 0 = Timeout
1 = New Trigger
2 = Timeout & New Trigger
Data B (timeout in 10 millisecond increments):
The default is one second when Timeout is selected. To change the timeout duration, enter a number between 0 and 65535. (This number is derived by multiplying the desired number of seconds by 100.)
Data A (selection of a serial trigger character):
Enter any available ASCII character (see appendix B). Default is 4].
Do not select a serial trigger character that is also an operational command because it will make that operational command unavailable, though
Series 4000 Raster Scanner User’s Manual
Page 88
Serial Configuration the trigger will still work. 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.
External Trigger Polarity
Format: <KjdataA> Data A (polarity): 0 = Negative Example: wes 1=P To change External Trigger Polarity to ositive Negative, send: <KjO>. Noread Message Format: <KkdataA,dataB> Data A (status): 0 = Disabled Example: 1 = Enabled To enable Noread Message and send the message “FAIL,” enter: <Kk1,FAIL>. Data B (message): Any ASCII string up to 7 digits. Default is NOREAD. Bar Code Output Format: <KldataA,dataB> Data A (status): , 0 = Disabled Example: 1 = Enabled To set Bar Code Output to End of Read Cycle, send: <KI1,1>. Data B (when to output):
0 = As Soon As Possible 1 = End of Read Cycle
Number of Reads Before a Good Decode
Format: <KmdataA> Data A (desired number of reads before a good decode):
Example: Any number from 1 to 31.
To change Number of Reads to 3, send: <Km3>.
Series 4000 Raster Scanner User's Manual 3-55
Page 89
Chapter 3 Configuration
Match Code
Format: <KndataA>
Example: To enable Match Code, send: <Kni>.
Number of Labels Format: <KLdataA,dataB>
Example: To set Number of Labels to four labels with a dash (-) for a Field Separator, send:
<KL3,->.
Data A (status): 0 = Disabled 1 = Enabled
Data A (number of labels): 0 = One label
1 = Two labels
2 = Three labels
3 = Four labels
4 = Five labels
5 = Six labels
Data B (field separator): Any ASCII character, except a NUL. Default is a comma (,).
3-56 Series 4000 Raster Scanner User’s Manual
Page 90
Serial Configuration
Code Types
Narrow Margins Format: <KodataA> Data A (status): 0 = Disabled Example: a . | 1 = Enabled To enable Narrow Margins, send: <Ko1>. Code 39 Format: <KpdataA,dataB, Data A (status): Data D (large inter-dataC,dataD,dataE,dataF> 0 = Disabled char. gap status): 1 = Enabled 0 = Disabled Example: 7 1 = Enabled To enable Code 39 andset Data B (check digit status): fixed code length to 30, 0 = Disabled . Data E (fixed code send: <Kp1,,,,1,30> or 1 = Enabled . length status): <Kp1,0,0,0,1,30>. - 0 = Disabled Data C (check digit output 4 ~ Enabled status): 0 = Disabled Data F 1 = Enabled (code length): - Any number from 1 to 31. Default is 10. Codabar | Format: <KqdataA,dataB, Data A (status): Data D (large inter-dataC,dataD,dataE,dataF> 0 = Disabled char. gap status): 1 = Enabled 0 = Disabled Example: 1 = Enabled To enable Codabar and set Data B (start & stop Fixed Code Length to 9, match status): Data E (fixed code send: <kq1,,,,1,9> or 0 = Disabled length status): <Kq1,1,1,0,1,9>. 1 = Enabled 0 = Disabled 1 = Enabled Data C (start & stop out- put status): Data F (code length): 0 = Disabled Any number from 1 1 = Enabled to 31. Default is 10.
Series 4000 Raster Scanner User's Manual 3-57
Page 91
Chapter3 Configuration l2of5
Format: <KrdataA,dataB, dataC,dataD, dataE>
Example:
To enable | 2 of 5 and to set Fixed.Code Length #1 to 8 and Fixed Code Length # 2 to 4, send: <Kr1,,,8,4> or <Kr1,0,0,8,4>.
UPC/EAN
Format: <KsdataA, dataB,dataC,dataD,dataE>
Example:
To enable UPC and EAN, change supplementals to required, and change separator character to a dash (-), send: <Ks1,1,2,1,-> or <Ks1,1,2,,->.
Code 128
Format: <KtdataA, dataB,dataC>
Example:
To enable Code 128, enable Fixed Code Length, and set Code Length to 9, send: <Kt1,1,9>.
3-58
Data A (status): 0 = Disabled 1 = Enabled
Data B
(check digit status): 0 = Disabled
1 = Enabled
Data C (check digit output status):
0 = Disabled
1 = Enabled
Data A (status): 0 = Disabled 1 = Enabled
Data B (EAN status): 0 = Disabled
1 = Enabled (UPC must also be enabled)
Data C (supplementals status):
0 = Disabled
1 = Enabled
2 = Required Data A (status): 0 = Disabled
1 = Enabled
Data B (fixed code length status):
0 = Disabled
1 = Enabled
Series 4000 Raster Scanner User's Manual
Data D
(code length #1): Zero or any even number from 2 to 30. Default is 10.
Data E
(code length #2): Zero or any even number from 2 to 30. Default is 6.
Data D (separator status):
0 = Disabled
1 = Enabled
Data E (separator character):
Any ASCII character (except a NUL). Default is a comma (,).
Data C (code length): Any number from 1 to 31. Default is 10.
Page 92
User Outputs
Beeper Format: <Ku dataA,dataB>
Example:
To enable the beeper for On Noread and set the Beeper volume to Level 5, send: <Ku2,4>.
Relay Driver
Format: <KvdataA>
Example: To change Relay Driver to Noread, send: <Kv2>.
New Master Pin Format: <KzdataA>
Example:
To enable New Master Pin, send: <Kz1>.
Laser On/Off
Format: <KCdataA>
Example: To enable Laser On/Off, send: <KC1>.
Serial Configuration
Data A (beeper output options):
0 = Disabled 1= On Good 2 = On Noread
Data B (beeper volume): 0 = Level 1
1 = Level 2 2 = Level 3 3 = Level 4 4 = Level 5
Data A (match code options):
0 = Good Match
1 = Mismatch
2 = Noread
3 = Mismatch or Noread
Date A (status): 0 = Disabled 1 = Enabled
Data A (status): 0 = Disabled 1 = Enabled
Series 4000 Raster Scanner User’s Manual
3-59
Page 93
Chapter 3 Configuration
Reverse Video
Format: <KDdataA> Data A (status): ; 0 = Disabled Example: | = Enabled To enable Reverse Video, send: <KD1>. Good/Bad Polarity Format: <KwdataA> Data A (polarity): 0 = Negative Example: 1 = Positive
To change Good/Bad Polarity to Negative, send: <Kw0>.
Pins 6 and 8 on host connector, and pin 2 on trigger connector.
Good/Bad Pulse Width Format: <KxdataA> Data A (sets duration of relay pulse in 10 ms increments): Example: Any number from 0 to 255. To set Good/Bad Pulse Width to Default is 50.
600 ms, send: <Kx60>. Pins 6 and 8 on host connector, and pin 2 on trigger connector.
Command Start Character Format: <KEdataA> Data A (start character): Any ASCII character. Example: Default is «.
To change Command Start Character to a colon (:), send: <KE:>.
NOTE: Subsequent commands must start with a colon (:). For example, send ‘D> to access the menu, or :KE<> to change back to the default character.
3-60 Series 4000 Raster Scanner User’s Manual