8 - 2
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].
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;
Summary of Contents for Youjie HH660
Page 1: ...Youjie HH660 Area Imaging Scanner User s Guide ...
Page 10: ...viii ...
Page 16: ...1 6 ...
Page 40: ...2 24 ...
Page 57: ...3 17 Vertical Top to Bottom ...
Page 58: ...3 18 ...
Page 72: ...5 10 Data Format 3 ...
Page 122: ...7 4 ...
Page 142: ...8 20 ...
Page 146: ...9 4 ...
Page 158: ...A 10 ...