The text of a manual · part 18 of 23
PowerScan 7000 2D Imager Product Reference Guide: Serial Programming Commands, pages 155 to 164
Pages 155 to 164 of 204, from PowerScan 7000 2D Imager Product Reference Guide
The original document is the PDF (3.6 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 Datalogic 7000 (P70) and PSC 7000 (P70)
Page 155
Chapter 10
Serial Programming Commands 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 PowerScan 7000 2D. For complete descriptions and examples of each serial programming command, refer to the corresponding programming bar code in this manual. The device must be set to an RS-232 interface (see the Quick Reference Guide). 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.
Product Reference Guide
10-1
Page 156
Serial Programming Commands
Menu Command Syntax Menu commands have the following syntax (spaces have been used for clarity only): Prefix Tag SubTag {Data} [, SubTag {Data}] [; Tag SubTag {Data}] […] Storage PrefixThree ASCII characters: SYN M CR (ASCII 22,77,13). Tag A 3 character case-insensitive field that identifies the desired menu command group. For example, all RS-232 configuration settings are identified with a Tag of 232. SubTagA 3 character case-insensitive field that identifies the desired menu command within the tag group. For example, the SubTag for the RS-232 baud rate is BAD. DataThe new value for a menu setting, identified by the Tag and SubTag. StorageA 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 nonvolatile 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.)
10-2
PowerScan® 7000 2D
Page 157
Menu Command Syntax
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.
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: ACKIndicates a good command which has been processed. ENQIndicates an invalid Tag or SubTag command. NAKIndicates 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.
Product Reference Guide
10-3
Page 158
Serial Programming Commands
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 #1: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 #2: 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 #3: 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 #4: 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]. 10-4
PowerScan® 7000 2D
Page 159
Trigger Commands
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 imager with serial trigger commands. First, the imager must be put in Manual/Serial Trigger Mode either by scanning the Manual/Serial Trigger Mode bar code (page 3-5), or by sending the Manual/Serial Menu Command (page 10-10). Once the imager 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 imager 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 3-5 for a description) and the serial command on page 10-10).
Product Reference Guide
10-5
Page 160
Serial Programming Commands
Menu Commands Selection Factory Default Settings
Setting * Indicates default Default
Serial Command # Indicates a numeric entry
DEFALT
Page
1-2
Terminal Interfaces
Terminal ID
10-6
003 (PowerScan 7000 2D/ 010 and 050 models) 000 (PowerScan 7000 2D/ 030 models)
2-2
TERMID###
PowerScan® 7000 2D
Page 161
Menu Commands
Setting * Indicates default
Selection
Program Keyboard Country
Serial Command # Indicates a numeric entry
Page
*U.S.A.
KBDCTY0
2-3
Belgium
KBDCTY1
2-3
Brazil
KBDCTY16
2-3
Canada (French)
KBDCTY18
2-3
Czechoslovakia
KBDCTY15
2-3
Denmark
KBDCTY8
2-3
Finland (Sweden)
KBDCTY2
2-3
France
KBDCTY3
2-3
Germany/Austria
KBDCTY4
2-3
Greece
KBDCTY17
2-3
Hungary
KBDCTY19
2-3
Israel (Hebrew)
KBDCTY12
2-3
Italy
KBDCTY5
2-4
Latin America
KBDCTY14
2-4
Netherlands (Dutch)
KBDCTY11
2-4
Norway
KBDCTY9
2-4
Poland
KBDCTY20
2-4
Portugal
KBDCTY13
2-4
Romania
KBDCTY25
2-4
Russia
KBDCTY26
2-4
SCS
KBDCTY21
2-4
Slovakia
KBDCTY22
2-4
Spain
KBDCTY10
2-4
Sweden
KBDCTY23
2-4
Switzerland (German)
KBDCTY6
2-4
Turkey F
KBDCTY27
2-5
Turkey Q
KBDCTY24
2-5
U.K.
KBDCTY7
2-5
Product Reference Guide
10-7
Page 162
Serial Programming Commands
Selection
Keyboard Style
Setting * Indicates default
Serial Command # Indicates a numeric entry
Page
*Regular
KBDSTY0
2-5
Caps Lock
KBDSTY1
2-5
Shift Lock
KBDSTY2
2-5
Automatic Caps Lock
KBDSTY6
2-6
Auto Caps via Num Lock
KBDSTY7
2-6
KBDSTY5
2-6
KBDCAS0
2-7
Control + ASCII On
KBDCAS1
2-7
*Turbo Mode Off
KBDTMD0
2-7
Turbo Mode On
KBDTMD1
2-7
*Numeric Keypad Off
KBDNPS0
2-7
Numeric Keypad On
KBDNPS1
2-7
RS-232
PAP232
QRGa
300 BPS
232BAD0
2-8
600 BPS
232BAD1
2-8
1200 BPS
232BAD2
2-8
2400 BPS
232BAD3
2-8
4800 BPS
232BAD4
2-8
9600 BPS
232BAD5
2-8
19200 BPS
232BAD6
2-8
38400 BPS
232BAD7
2-8
57600 BPS
232BAD8
2-8
*115200 BPS
232BAD9
2-8
Emulate External Keyboard *Control + ASCII Off Keyboard Modifiers
Serial Port Connection
Baud Rate
10-8
PowerScan® 7000 2D
Page 163
Menu Commands
Setting * Indicates default
Selection
Word Length: Data Bits, Stop Bits, and Parity
RS-232 Receiver Time-out
Serial Command # Indicates a numeric entry
Page
7 Data, 1 Stop, Parity Even
232WRD3
2-9
7 Data, 1 Stop, Parity None
232WRD0
2-9
7 Data, 1 Stop, Parity Odd
232WRD6
2-9
7 Data, 2 Stop, Parity Even
232WRD4
2-9
7 Data, 2 Stop, Parity None
232WRD1
2-9
7 Data, 2 Stop, Parity Odd
232WRD7
2-9
8 Data, 1 Stop, Parity Even
232WRD5
2-9
*8 Data, 1 Stop, Parity None
232WRD2
2-9
8 Data, 1 Stop, Parity Odd
232WRD8
2-9
Range 0 - 300 seconds
232LPT###
2-10
*RTS/CTS Off
232CTS0
2-11
RTS/CTS On
232CTS1
2-11
*XON/XOFF Off
232XON0
2-11
XON/XOFF On
232XON1
2-11
*ACK/NAK Off
232ACK0
2-11
ACK/NAK On
232ACK1
2-11
*Off
BEPBEP0
3-1
On
BEPBEP1
3-1
Off
BEPBEP0
3-2
*On
BEPBEP1
3-1
Off
BEPLVL0
3-1
Low
BEPLVL1
3-2
*Medium
BEPLVL2
3-2
High
BEPLVL3
3-2
Beeper Pitch Good Read (Frequency)
Low (1250Hz)
BEPFQ11250
3-2
Medium (2300hz)
BEPFQ12300
3-2
*High (2900Hz)
BEPFQ12900
3-2
Beeper Duration Good Read
*Normal Beep
BEPBIP0
3-3
Short Beep
BEPBIP1
3-3
RS-232 Handshaking
Output Selections Image VGA Beeper - Good Read Beeper Volume Good Read
Product Reference Guide
10-9
Page 164
Serial Programming Commands
Setting * Indicates default
Selection
LED - Good Read Number of Beeps Good Read
Reread Delay
User-Specified Reread Delay
Good Read Delay
User-Specified Good Read Delay
Serial Command # Indicates a numeric entry
Page
Off
BEPLED0
3-3
*On
BEPLED1
3-3
*1
BEPRPT
3-3
Range 1 - 9
BEPRPT#
3-3
Short (500 ms)
DLYRRD500
3-4
*Medium (750 ms)
DLYRR750
3-9
Long (1000 ms)
DLYRRD1000
3-9
Extra Long (2000 ms)
DLYRRD2000
3-9
Range 0 - 30,000 ms
DLYRRD#####
3-9
*No Delay
DLYGRD0
3-4
Short Delay (500 ms)
DLYGRD500
3-4
Medium Delay (1000 ms)
DLYGRD1000
3-4
Long Delay (1500 ms)
DLYGRD1500
3-4
Range 0 - 30,000 ms
DLYGRD#####
3-4
*Manual/Serial Trigger
TRGMOD0
3-5
TRGSTO####
3-5
TRGMOD2
3-5
TRGLPT###
3-6
Scan Stand Mode
TRGMOD4
3-7
Read Time-Out Trigger Mode
(0 - 300,000 ms) *0 Manual Trigger, Low Power Low Power Time-Out Timer ( 0 - 300 seconds) *120
Scan Stand
Scan Stand Symbol
FNC3
3-7
Presentation
Presentation Mode
TRGMOD3
3-7
Presentation LED Timer
LEDs Off
TRGPCK0
3-8
*LEDs On
TRGPCK1
3-8
Presentation Sensitivity
Range 0-20 (*1)
TRGPMS##
3-8
Hands Free TimeOut
Range 0 - 300,000 ms
TRGPTO##### #
3-9
10-10
PowerScan® 7000 2D