The text of a manual · part 28 of 42
DS/DD Series B Enhanced Bar Code Decoders User Manual (Bulletin 2755): 15 - ASCII Host Commands, pages 249 to 258
Pages 249 to 258 of 361, from DS/DD Series B Enhanced Bar Code Decoders User Manual (Bulletin 2755)
The original document is the PDF (1.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 Allen-Bradley 2755-DD and Allen-Bradley 2755-DS
Page 249
ASCII Host Commands
15–61
IB - Configure Scanner B Source Identifier Command Format: IBlstring Function:
Defines a source identifier for Scanner B. Source identifiers are included in messages sent to the host. They identify whether the data was scanned (by Scanner A or B) or entered at the AUX terminal. NOTE: This command is valid only for dual head decoders.
Parameters:
lstring
Command Parameter l String
Parameter Function
Valid Values
Length of source identifier
0 to 4①
Characters in source identifier
Up to 4 characters
① A zero length string will disable the source identifier.
= rr <end>
Response:
rr = response code <end> = end of message control code Example: Command:
IB4SCNB
Parameters:
4SCNB
Command Parameter l String
Response:
Parameter Function
Values
Length of source identifier
4
Characters in source identifier
SCNB
= 00LF 00 = command complete response code LF= end of message control code for Line Feed
Publication 2755-833
Page 250
15–62
ASCII Host Commands
HM - Configure Header Message Command Format: HMIIstring Function:
Defines a header message for bar code data.
Parameters:
llstring
Command Parameter ll
Length of header message
00 to 32①
String
Header message characters
Up to 32 characters
Parameter Function
Valid Values
① A zero length string will disable the header message.
= rr <end>
Response:
rr = response code <end> = end of message control code Example: Command:
HM03A-B
Parameters:
03A-B
Response:
Command Parameter ll
Length of header message
03
String
Header message characters
A-B
Parameter Function
Values
= 00LF 00 = command complete response code LF = end of message control code for Line Feed
Publication 2755-833
Page 251
ASCII Host Commands
15–63
NM - Configure Default No-Read String Command Format: NMIIstring Function:
Defines a no-read message for bar codes that could not be scanned or decoded. No-read messages are optionally included in messages sent to the host.
Parameters:
llstring
Command Parameter ll
Length of no-read message
00 to 32①
String
No-read message characters
Up to 32 characters
Parameter Function
Valid Values
① A zero length string disables a no read string.. A nonzero length string enables the no read string
= rr <end>
Response:
rr = response code <end> = end of message control code Example: Command:
NM07NO-READ
Parameters:
07NO-READ
Response:
Command Parameter ll
Length of no-read message
07
String
No-read message characters
NO-READ
Parameter Function
Values
= 00CR 00 = command complete response code CR = end of message control code for Carriage Return
Publication 2755-833
Page 252
15–64
ASCII Host Commands
AX - Configure AUX Terminal Data Entry Operations Command Format: AXabceeefgg Function:
Configures AUX terminal data entry parameters. These parameters take effect when the AUX port is set to manual data entry mode (as described in Chapter 13).
Parameters:
abceeefgg
Command Parameter
Response:
Parameter Function a
Enable keyboard entry?
b
Confirm entry?
c
Format AUX Keyboard Data?
eee
Rubout character for keyboard data entry?
f
Echo keyboard data?
gg
Size of the display.
Valid Values 0= No 1= Yes 2= No-Read 0= No 1= Yes 0= Unformatted 1= Host Format ASCII Decimal Value 000 to 255 255 = None 0= No 1= Yes 10 through 80
= rr <end> rr= response code <end>= end of message control code
Publication 2755-833
Page 253
ASCII Host Commands
15–65
AX - Configure AUX Terminal Data Entry Operations (continued) Example: Command:
AX111008180
Parameters:
111008180
Command Parameter a b
1= Yes
Confirm entry?
1= Yes f gg
Size of the display.
eee
Values
Enable keyboard entry? Format Aux Terminal Keyboard Data? Rubout character for keyboard data entry Echo keyboard data?
c
Response:
Parameter Function
1= Host Format ASCII Decimal Value 008 = backspace 1= Yes 80
= 00CR 0= response code CR= end of message control code
Publication 2755-833
Page 254
15–66
ASCII Host Commands
TM - Display Text Message at AUX Terminal and LCD Command Format: TMfllstring Function:
Sends a message to the AUX port terminal (and/or LCD Display) and optionally enables the keyboard for one message. If a text message is not defined, the Default Prompt Message is sent.
Parameters:
fllstring
Command Parameters
Valid Values
Enable keyboard entry for one 1= Yes message. 0= No Length of text message. 00 through 80 f ll String
Response:
Parameter Function
Text message characters.
Up to 80 characters
= rr <end> rr= response code (see Table 17.D) <end>= end of message control code Note: If the previous message has not displayed, the response returns a code of 02 to indicate the command failed because the display buffer was not available. If the AUX port is set to configuration mode, (CONFIG jumper is open), the response returns a code of 01. The message will display on the LCD Display but not the AUX terminal.
Publication 2755-833
Page 255
ASCII Host Commands
15–67
TM - Display Text Message at AUX Terminal and LCD (continued) Example: Command:
TM111MESSAGETEXT
Parameters:
111MESSAGETEXT Command Parameters f ll String
Response:
Parameter Function
Values
Enable keyboard entry for one 1= Yes message. Length of text message. 11 Text message characters.
MESSAGETEXT
=00CR 00 = command complete response code CR= end of message control code for Carriage Return
Publication 2755-833
Page 256
15–68
ASCII Host Commands
PM - Default Prompt Message for AUX Terminal Command Format: PMllstring Function:
Defines the default prompt message for the AUX port terminal.
Parameters:
llstring
Command Parameters ll String
Parameter Function Length of the AUX terminal prompt message AUX terminal prompt message string.
Valid Values 00 through 20 Up to 20 characters
= rr <end>
Response:
rr = response code <end>= end of message control code Example: Command:
PM11ENTER DATA:
Parameters:
11ENTER DATA:
Command Parameters ll String
Response:
Parameter Function Length of the AUX terminal prompt message AUX terminal prompt message string.
Values 11 ENTER DATA:
=00CR 00 = command complete response code CR = end of message control code for Carriage Return
Publication 2755-833
Page 257
ASCII Host Commands
15–69
PI - Read Decoder Performance Indicators Command Format: PI Function:
Reads the decoder performance indicators for Scanners A and B.
Parameters:
None
Response Parameters
Parameter Function aaa
Scanner A Performance Indicator bbb
Scanner B Performance Indicator
Valid Values 3 digit value 000 through 100, 999① 3 digit value 000 through 100, 999①②
① 999 indicates the decoder is not decoding because of a buffer overflow condition. ② Applicable only with dual head scanner.
aaa<end> = rr <end> for single head scanners, or aaabbb<end> = rr <end> for dual head scanners.
Response:
<end>= end of message code rr= response code <end>= end of message code Example: Command:
PI
Response:
000099LF = 00LF Response Parameters aaa bbb
Parameter Function Scanner A Performance Indicator Scanner B Performance Indicator
Values 000 099
LF= end of message control code 00= command complete response code LF= end of message control code
Publication 2755-833
Page 258
15–70
ASCII Host Commands
PR - Read Package Counter Command Format: PR Function:
Returns the count maintained by the package counter.
Parameters:
None
Response:
pppppp<end>= rr <end> pppppp= package count, up to 999999 <end>= end of message control code rr = response code <end>= end of message control code
Example: Command:
PR
Response:
000075LF = 00LF 000075= number of packages read by decoder LF= end of message code for Line Feed 00= command complete response code L= end of message code for Line Feed
Publication 2755-833