52
12 - 1
12
Serial Programming Commands
The serial programming commands can be used in place of the programming bar codes. Both the serial commands and the
programming bar codes will program the scanner. For complete descriptions and examples of each serial programming com-
mand, refer to the corresponding programming bar code in this manual.
The device must be set to an RS232 interface (see page2-1). The following commands can be sent via a PC COM port using
terminal emulation software.
Conventions
The following conventions are used for menu and query command descriptions:
parameterA label representing the actual value you should send as part of a command.
[option] An optional part of a command.
{Data} Alternatives in a command.
bold
Names of menus, menu commands, buttons, dialog boxes, and windows that appear on the screen.
Menu Command Syntax
Menu commands have the following syntax (spaces have been used for clarity only):
Prefix [:Name:] Tag SubTag {Data} [, SubTag {Data}] [; Tag SubTag {Data}] […] Storage
Prefix
Three ASCII characters: SYN M CR (ASCII 22,77,13).
:Name: This command is only used with cordless devices. It is used to specify whether you’re communicating with the base or
the scanner. To send information to the scanner (with the base connected to host), use :Xenon: The default factory
setting for a Xenon scanner is Xenon scanner. This setting is changed by using the BT_NAM command, which accepts
alphanumeric values. If the name is not known, a wildcard (*) can be used :*:.
Note: Since the base stores all work group settings and transfers to them to scanner once they are linked, changes are typically
done to the base and not to the scanner.
Tag
A 3 character case-insensitive field that identifies the desired menu command group. For example, all RS232
configuration settings are identified with a Tag of 232.
SubTag A 3 character case-insensitive field that identifies the desired menu command within the tag group. For example, the
SubTag for the RS232 baud rate is BAD.
Data
The new value for a menu setting, identified by the Tag and SubTag.
Storage A single character that specifies the storage table to which the command is applied. An exclamation point (!) performs
the command’s operation on the device’s volatile menu configuration table. A period (.) performs the command’s
operation on the device’s non-volatile menu configuration table. Use the non-volatile table only for semi-permanent
changes you want saved through a power cycle.
Query Commands
Several special characters can be used to query the device about its settings.
^
What is the default value for the setting(s).
?
What is the device’s current value for the setting(s).
*
What is the range of possible values for the setting(s). (The device’s response uses a dash (-) to indicate a
continuous range of values. A pipe (|) separates items in a list of non-continuous values.)
:Name: Field Usage (Optional)
This command returns the query information from the scanner.
Tag Field Usage
When a query is used in place of a Tag field, the query applies to the entire set of commands available for the particular
storage table indicated by the Storage field of the command. In this case, the SubTag and Data fields should not be used
because they are ignored by the device.
51
12 - 2
SubTag Field Usage
When a query is used in place of a SubTag field, the query applies only to the subset of commands available that match the
Tag field. In this case, the Data field should not be used because it is ignored by the device.
Data Field Usage
When a query is used in place of the Data field, the query applies only to the specific command identified by the Tag and
SubTag fields.
Concatenation of Multiple Commands
Multiple commands can be issued within one Prefix/Storage sequence. Only the Tag, SubTag, and Data fields must be
repeated for each command in the sequence. If additional commands are to be applied to the same Tag, then the new
command sequence is separated with a comma (,) and only the SubTag and Data fields of the additional command are
issued. If the additional command requires a different Tag field, the command is separated from previous commands by a
semicolon (;).
Responses
The device responds to serial commands with one of three responses:
ACK
Indicates a good command which has been processed.
ENQ
Indicates an invalid Tag or SubTag command.
NAK
Indicates the command was good, but the Data field entry was out of the allowable range for this Tag and SubTag
combination, e.g., an entry for a minimum message length of 100 when the field will only accept 2 characters.
When responding, the device echoes back the command sequence with the status character inserted directly before each
of the punctuation marks (the period, exclamation point, comma, or semicolon) in the command.
Examples of Query Commands
In the following examples, a bracketed notation [ ] depicts a non-displayable response.
Example: What is the range of possible values for Codabar Coding Enable?
Enter:
cbrena*.
Response: CBRENA0-1[ACK]
This response indicates that Codabar Coding Enable (CBRENA) has a range of values from 0 to 1 (off and on).
Example: What is the default value for Codabar Coding Enable?
Enter:
cbrena^.
Response: CBRENA1[ACK]
This response indicates that the default setting for Codabar Coding Enable (CBRENA) is 1, or on.
Example: What is the device’s current setting for Codabar Coding Enable?
Enter:
cbrena?.
Response: CBRENA1[ACK]
This response indicates that the device’s Codabar Coding Enable (CBRENA) is set to 1, or on.
Example: What are the device’s settings for all Codabar selections?
Enter:
cbr?.
Response: CBRENA1[ACK],
SSX0[ACK],
CK20[ACK],
CCT1[ACK],
MIN2[ACK],
MAX60[ACK],
DFT[ACK].
26
12 - 3
This response indicates that the device’s Codabar Coding Enable (CBRENA) is set to 1, or on;
the Start/Stop Character (SSX) is set to 0, or Don’t Transmit;
the Check Character (CK2) is set to 0, or Not Required;
concatenation (CCT) is set to 1, or Enabled;
the Minimum Message Length (MIN) is set to 2 characters;
the Maximum Message Length (MAX) is set to 60 characters;
and the Default setting (DFT) has no value.
Trigger Commands
You can activate and deactivate the scanner with serial trigger commands. First, the scanner must be put in Manual Trigger
Mode by scanning a Manual Trigger Mode bar code (page4-6), or by sending a serial menu command for triggering (page4-6).
Once the scanner is in serial trigger mode, the trigger is activated and deactivated by sending the following commands:
Activate: SYN T CR
Deactivate: SYN U CR
The scanner scans until a bar code has been read, until the deactivate command is sent, or until the serial time-out has been
reached (see "Read Time-Out" on page 4-6 for a description, and the serial command on page12-12).
Resetting the Custom Defaults
If you want the custom default settings restored to your scanner, scan the Activate Custom Defaults bar code below. This
resets the scanner to the custom default settings. If there are no custom defaults, it will reset the scanner to the factory default
settings. Any settings that have not been specified through the custom defaults will be defaulted to the factory default settings.
Note: If using a cordless system, scanning this bar code also causes both the scanner and the base or Access Point to perform
a reset and become unlinked. The scanner must be placed in its base to re-establish the link. If using an Access Point,
the linking bar code must be scanned. See Cordless System Operationbeginning on page 3-1 for additional information.
The charts on the following pages list the factory default settings for each of the commands (indicated by an asterisk (*) on the
programming pages).
Activate Custom Defaults
113
12 - 4
Menu Commands
Selection
Setting
* Indicates default
Serial Command
# Indicates a numeric entry
Page
Product Default Settings
Setting Custom Defaults
Set Custom Defaults
MNUCDP
1-13
Save Custom Defaults
MNUCDS
1-13
Resetting the Custom Defaults
Activate Custom Defaults
DEFALT
1-13
Resetting the Factory Defaults -
cordless scanners
Factory Default Settings:
All Application Groups
PAPDFT&
3-20
Resetting the Custom Defaults -
cordless scanners
Custom Default Settings:
All Application Groups
PAPDFT
3-21
Programming the Interface
Plug and Play Codes
Keyboard Wedge:
IBM PC AT and Compatibles with
CR suffix (not supported by Granit
1980i)
PAP_AT
2-1
Laptop Direct Connect with CR
suffix (not supported by Granit
1980i)
PAPLTD
2-1
RS232 Serial Port
PAP232
2-1
Plug and Play Codes:
RS485
IBM Port 5B Interface
PAPP5B
2-2
IBM Port 9B HHBCR-1 Interface
PAP9B1
2-2
IBM Port 17 Interface
PAPP17
2-2
IBM Port 9B HHBCR-2 Interface
PAP9B2
2-2
RS485 Packet Mode On
RTLPDF1
2-2
RS485 Packet Mode Off
RTLPDF0
2-2
RS485 Packet Length (20-256)
RTLMPS
2-3
Plug and Play Codes: IBM SurePos
USB IBM SurePos Handheld
PAPSPH
2-3
USB IBM SurePos Tabletop
PAPSPT
2-3
Plug and Play Codes: USB
USB Keyboard (PC)
PAP124
2-3
USB Keyboard (Mac)
PAP125
2-3
USB Japanese Keyboard (PC)
TRMUSB134
2-3
USB HID
PAP131
2-4
USB Serial
TRMUSB130
2-4
CTS/RTS Emulation On
USBCTS1
2-4
CTS/RTS Emulation Off*
USBCTS0
2-4
ACK/NAK Mode On
USBACK1
2-4
ACK/NAK Mode Off*
USBACK0
2-4
Remote MasterMind for USB
ReM Off
REMIFC0
2-4
ReM On
REMIFC1
2-4
132
12 - 5
Plug and Play Codes
Verifone Ruby Terminal
PAPRBY
2-5
Gilbarco Terminal
PAPGLB
2-5
Honeywell Bioptic Aux Port
PAPBIO
2-5
Datalogic Magellan Aux Port
PAPMAG
2-6
NCR Bioptic Aux Port
PAPNCR
2-6
Wincor Nixdorf Terminal
PAPWNX
2-6
Wincor Nixdorf Beetle
PAPBTL
2-7
Wincor Nixdorf RS232 Mode A
(not supported by all Granit
models)
PAPWMA
2-7
Program Keyboard
Country
*U.S.A.
KBDCTY0
2-8
Albania
KBDCTY35
2-8
Azeri (Cyrillic)
KBDCTY81
2-8
Azeri (Latin)
KBDCTY80
2-8
Belarus
KBDCTY82
2-8
Belgium
KBDCTY1
2-8
Bosnia
KBDCTY33
2-8
Brazil
KBDCTY16
2-8
Brazil (MS)
KBDCTY59
2-8
Bulgaria (Cyrillic)
KBDCTY52
2-8
Bulgaria (Latin)
KBDCTY53
2-9
Canada (French legacy)
KBDCTY54
2-9
Canada (French)
KBDCTY18
2-9
Canada (Multilingual)
KBDCTY55
2-9
Croatia
KBDCTY32
2-9
Czech
KBDCTY15
2-9
Czech (Programmers)
KBDCTY40
2-9
Czech (QWERTY)
KBDCTY39
2-9
Czech (QWERTZ)
KBDCTY38
2-9
Denmark
KBDCTY8
2-9
Dutch (Netherlands)
KBDCTY11
2-9
Estonia
KBDCTY41
2-10
Faroese
KBDCTY83
2-10
Finland
KBDCTY2
2-10
France
KBDCTY3
2-10
Gaelic
KBDCTY84
2-10
Germany
KBDCTY4
2-10
Greek
KBDCTY17
2-10
Greek (220 Latin)
KBDCTY64
2-10
Greek (220)
KBDCTY61
2-10
Greek (319 Latin)
KBDCTY65
2-10
Greek (319)
KBDCTY62
2-10
Selection
Setting
* Indicates default
Serial Command
# Indicates a numeric entry
Page
136
12 - 6
Greek (Latin)
KBDCTY63
2-11
Greek (MS)
KBDCTY66
2-11
Greek (Polytonic)
KBDCTY60
2-11
Hebrew
KBDCTY12
2-11
Hungarian (101 key)
KBDCTY50
2-11
Hungary
KBDCTY19
2-11
Iceland
KBDCTY75
2-11
Irish
KBDCTY73
2-11
Italian (142)
KBDCTY56
2-11
Italy
KBDCTY5
2-11
Japan ASCII
KBDCTY28
2-11
Kazakh
KBDCTY78
2-12
Kyrgyz (Cyrillic)
KBDCTY79
2-12
Latin America
KBDCTY14
2-12
Latvia
KBDCTY42
2-12
Latvia (QWERTY)
KBDCTY43
2-12
Lithuania
KBDCTY44
2-12
Lithuania (IBM)
KBDCTY45
2-12
Macedonia
KBDCTY34
2-12
Malta
KBDCTY74
2-12
Mongolian (Cyrillic)
KBDCTY86
2-12
Norway
KBDCTY9
2-12
Poland
KBDCTY20
2-13
Polish (214)
KBDCTY57
2-13
Polish (Programmers)
KBDCTY58
2-13
Portugal
KBDCTY13
2-13
Romania
KBDCTY25
2-13
Russia
KBDCTY26
2-13
Russian (MS)
KBDCTY67
2-13
Russian (Typewriter)
KBDCTY68
2-13
SCS
KBDCTY21
2-13
Serbia (Cyrillic)
KBDCTY37
2-13
Serbia (Latin)
KBDCTY36
2-13
Slovakia
KBDCTY22
2-14
Slovakia (QWERTY)
KBDCTY49
2-14
Slovakia (QWERTZ)
KBDCTY48
2-14
Slovenia
KBDCTY31
2-14
Spain
KBDCTY10
2-14
Spanish variation
KBDCTY51
2-14
Sweden
KBDCTY23
2-14
Switzerland (French)
KBDCTY29
2-14
Switzerland (German)
KBDCTY6
2-14
Tatar
KBDCTY85
2-14
Selection
Setting
* Indicates default
Serial Command
# Indicates a numeric entry
Page
137
12 - 7
Turkey F
KBDCTY27
2-14
Turkey Q
KBDCTY24
2-15
Ukrainian
KBDCTY76
2-15
United Kingdom
KBDCTY7
2-15
United Stated (Dvorak right)
KBDCTY89
2-15
United States (Dvorak left)
KBDCTY88
2-15
United States (Dvorak)
KBDCTY87
2-15
United States (International)
KBDCTY30
2-15
Uzbek (Cyrillic)
KBDCTY77
2-15
Keyboard Conversion
*Keyboard Conversion Off
KBDCNV0
2-16
Convert all Characters to Upper
Case
KBDCNV1
2-16
Convert all Characters to Lower
Case
KBDCNV2
2-16
Keyboard Style
*Regular
KBDSTY0
2-15
Caps Lock
KBDSTY1
2-15
Shift Lock
KBDSTY2
2-16
Automatic Caps Lock
KBDSTY6
2-16
Emulate External
Keyboard
KBDSTY5
2-16
Control Character Output
*Control Character Output Off
KBDNPE0
2-17
*Control Character Output On
KBDNPE1
2-17
Keyboard Modifiers
*Control + X Off
KBDCAS0
2-17
DOS Mode Control + X
KBDCAS1
2-17
Windows Mode Control + X
KBDCAS2
2-17
Windows Mode Prefix/Suffix Off
KBDCAS3
2-17
*Turbo Mode Off
KBDTMD0
2-18
Turbo Mode On
KBDTMD1
2-18
*Numeric Keypad Off
KBDNPS0
2-18
Numeric Keypad On
KBDNPS1
2-18
*Auto Direct Connect Off
KBDADC0
2-18
Auto Direct Connect On
KBDADC1
2-18
Baud Rate
300 BPS
232BAD0
2-18
600 BPS
232BAD1
2-18
1200 BPS
232BAD2
2-19
2400 BPS
232BAD3
2-19
4800 BPS
232BAD4
2-19
9600 BPS
232BAD5
2-19
19200 BPS
232BAD6
2-19
38400 BPS
232BAD7
2-19
57600 BPS
232BAD8
2-19
*115200 BPS
232BAD9
2-19
Word Length: Data Bits, Stop Bits,
and Parity
7 Data, 1 Stop, Parity Even
232WRD3
2-19
Selection
Setting
* Indicates default
Serial Command
# Indicates a numeric entry
Page
141
12 - 8
7 Data, 1 Stop, Parity None
232WRD0
2-20
7 Data, 1 Stop, Parity Odd
232WRD6
2-20
7 Data, 2 Stop, Parity Even
232WRD4
2-20
7 Data, 2 Stop, Parity None
232WRD1
2-20
7 Data, 2 Stop, Parity Odd
232WRD7
2-20
8 Data, 1 Stop, Parity Even
232WRD5
2-20
*8 Data, 1 Stop, Parity None
232WRD2
2-20
8 Data, 1 Stop, Parity Odd
232WRD8
2-20
8 Data, 1 Stop, Parity Mark
232WRD14
2-20
RS232 Receiver Time-out
Range 0 - 300 seconds
232LPT###
2-20
RS232 Handshaking
*RTS/CTS Off
232CTS0
2-21
Flow Control, No Timeout
232CTS1
2-21
Two-Direction Flow Control
232CTS2
2-21
Flow Control with Timeout
232CTS3
2-21
RS232 Timeout
232DEL####
2-21
*XON/XOFF Off
232XON0
2-22
XON/XOFF On
232XON1
2-21
*ACK/NAK Off
232ACK0
2-22
ACK/NAK On
232ACK1
2-22
Scanner-Bioptic Packet Mode
*Packet Mode Off
232PKT0
2-22
Packet Mode On
232PKT2
2-22
Scanner-Bioptic ACK/NAK Mode
*Bioptic ACK/NAK Off
232NAK0
2-22
Bioptic ACK/NAK On
232NAK1
2-23
Scanner-Bioptic ACK/NAK Timeout
ACK/NAK Timeout
*5100
232DLK#####
2-23
Cordless System Operation
Note: This section applies only to cordless systems. It does not apply to corded scanners.
Base Power Communication
Indicator
*On
:*:BASRED1
3-6
Off
:*:BASRED0
3-6
Reset Scanner
Reset Scanner
RESET_
3-6
Scanning While in Base Cradle
Scanning in Cradle Off
BT_SIC0
3-6
*Scanning in Cradle On (CCB01-
010BT default)
BT_SIC1
3-6
Shut Down Scanner in Cradle
BT_SIC2
3-6
Base Charging Modes
Base Charge Off
BASCHG0
3-7
*External or Interface Cable Power
BASCHG1
3-7
External Power Only
BASCHG2
3-7
Paging Mode
*On
BEPPGE1
3-7
Off
BEPPGE0
3-7
Paging Pitch
Range 400 - 9000 Hz (*1000)
BEPPFQ####
3-7
Beeper Pitch - Base Error
*Razz (250) (min 200Hz)
BASFQ2250
3-8
Medium (3250)
BASFQ23250
3-8
High (4200) (max 9000Hz)
BASFQ24200
3-8
Selection
Setting
* Indicates default
Serial Command
# Indicates a numeric entry
Page
Documents you may be interested
Documents you may be interested