The text of a manual · part 29 of 42
DS/DD Series B Enhanced Bar Code Decoders User Manual (Bulletin 2755): 15 - ASCII Host Commands, pages 259 to 265
Pages 259 to 265 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 259
ASCII Host Commands
15–71
NR - Read Symbols Not Read Counter Command Format: NR Function:
Returns the count in the no-read counter.
Parameters:
None
Response:
pppppp<end>= rr <end> pppppp = no-read count, up to 999999 <end> = end of message control code rr= response code <end>= end of message control code
Example: Command:
NR
Response:
000016CR = 00CR 000016= no-read count of 16 CR= end of message control code for Carriage Return 00 = command complete response code CR= end of message control code Carriage Return
Publication 2755-833
Page 260
15–72
ASCII Host Commands
MC - Read Output Counter Command Format: MCn Function:
Reads the selected output counter.
Parameters:
n = counter 1 through 8
Response:
mmmmmm<end>=rr<end> mmmmmm= output counter count. Maximum value of 999999 <end>= end of message code rr= response code <end>= end of message code
Example: Command:
MC3
Parameters:
3 = read output counter #3.
Response:
000121LF = 00LF 000121= Counter activated 121 times since last restart or reset LF= end of message code for Line Feed 00= command complete response code LF= end of message code for Line Feed
Publication 2755-833
Page 261
ASCII Host Commands
15–73
PC - Clear Package Counter Command Format: PC Function:
Clears the package counter to 0.
Parameters:
None
Response:
= rr <end> rr= response code <end>= end of message control code
Example: Command:
PC
Response:
= 00 <CR> 00= command complete response code CR= end of message control code
NC - Clear Symbols Not Read Counter Command Format: NC Function:
Clears the no-read counter to 0.
Parameters:
None
Response:
= rr <end> rr= response code <end>= end of message control code
Example: Command:
NC
Response:
= 00CR 0= command complete response code CR= end of message control code for Carriage Return
Publication 2755-833
Page 262
15–74
ASCII Host Commands
RN - Save Configuration to Storage Memory and Restart Command Format: RN Function:
Saves current configuration in to storage memory and restarts the decoder. Operation then resumes using the new configuration parameters.
Parameters:
None
Response:
= 97 <end> 97= Indicates the command was received and the decoder is resetting. The reset takes approximately 5 seconds. <end>= end of message code
SA - Save Configuration to Storage Memory (No Restart) Command Format: SA Function:
Saves current configuration to storage memory.
Parameters:
None
Response:
= 00 <end> 00 = Indicates the command was received <end>= end of message code Important: Host communication parameter changes do not take effect until the decoder is restarted.
Publication 2755-833
Page 263
ASCII Host Commands
15–75
DD - Set Configuration to Default Values Command Format: DD Function:
Sets configuration in operating memory to the default values. Important: Host port communication parameters and the contents of storage memory are not changed with the DD command.
Parameters:
None
Response:
= rr<end> rr = response code <end>= end of message control code
Example: DD Command:
DD
Response:
= 00CRLF 00 = command complete response code CRLF = end of message control code for Carriage Return and Line Feed.
RD - Set Configuration to Factory Defaults and Restart Command Format: RD Function:
Resets decoder to factory defaults, saves the configuration in storage memory, and then restarts the decoder. Operation then resumes using the new configuration parameters. Refer to Appendix B for factory default settings. Important: Host port communication parameters are not changed to default values with this command.
Parameters:
None
Response:
= 98 <end> 98 = Indicates the command was received and the decoder is resetting. The reset takes approximately 5 seconds. <end>= end of message control code
Publication 2755-833
Page 264
15–76
ASCII Host Commands
RE - Reset Decoder Command Format: RE Function:
Resets decoder. Recalls the configuration from storage memory and restarts the decoder.
Parameters:
None
Response:
= 97 <end> 97 = Indicates the command was received and the decoder is resetting. The reset takes approximately 5 seconds. <end>= end of message code
ID - Version of Software Command Format: ID Function:
Read the version of decoder software presently running.
Parameters:
None
Response:
aa.aa <end>=00<end> aa.aa = Software revision number 00 = Complete and successful response code <end>= end of message control code
Publication 2755-833
Page 265
ASCII Host Commands
15–77
DM – Configure Bar Code Data Mask Command Format: DM Function:
Obsolete command. Formerly used to define a data mask to return and/or suppress selected characters in each field sent to the host. Host Message Replacement Rules replace this function.
Response:
=50 rr <end> 50= Unknown Command response code <end>= end of message control code
PD - Configure Pad Data Character Command Format: PD Function:
Obsolete command. Formerly used to define thepad character for the bar code data mask command (DM), which is not used in this series.
Response:
=50 rr <end> 50= Unknown Command response code <end>= end of message control code
Publication 2755-833