89
Appendix 2 Control Commands
Control commands refer to commands that are exchanged between the host computer and the scanner via the
communications line.
Some of the control commands that the host computer issues are functionally equivalent to some parameters that can
be set with the QR-coded parameter menu (refer to Chapter 11). Settings of those control commands have priority
over settings made with the QR-coded parameter menu.
Note that turning off the scanner clears control command settings so that settings made with the QR-coded parameter
menu take effect unless the PW command is sent to the scanner for saving control command settings into the flash
ROM.
If commands other than the ones listed below are sent to the scanner, the scanner operation is not assured.
Note:
Selecting the USB keyboard interface disables the control commands.
Note:
Until the completion of execution of a specified control command, the subsequent command will not be
executed.
Note:
During configuration with the QR-coded parameter menu, the scanner does not receive any control command
and returns the "NG" response.
Note:
After recognition of the virtual COM port when the USB-COM interface is used, the scanner requires a
maximum of one second to be ready to receive control commands.
Control Commands
Parameter
Response
Function
Z
(Note 1)
None None
Switch to standby
Upon receipt of a Z command, the scanner goes standby.
R
(Note 1)
None None
Ready to scan
Upon receipt of an R command, the scanner becomes
ready to scan.
S
See Parameter Details,
[1] given later.
OK/NG
(Note 2)
Allow the specified code type to be read.
MA
None
None
Switch the scanning target to LCD and paper.
MP
(Note 3)
None None
Switch the scanning target to paper.
ML
(Note 6)
None None
Switch the scanning target to LCD.
NR
See Parameter Details,
[2] given later.
OK/NG
(Note 2)
Enable transmission of the number of digits.
NZ None
OK/NG
(Note 2)
Disable transmission of the number of digits.
CR None
OK/NG
(Note 2)
Enable transmission of code ID marks.
CZ None
OK/NG
(Note 2)
Disable transmission of code ID marks.
TR
See Parameter Details,
[3] given later.
OK/NG (Note 2)
Specify the double-read prevention timeout.
Summary of Contents for QK31-R
Page 1: ...2D Code Scanner Fixed type QK31 R QK31 U User s Manual...
Page 88: ...77 Header USB keyboard interface None default STX ETX CR LF CR LF TAB ESC ENTER Right Ctrl...
Page 89: ...78 Header USB keyboard interface...
Page 90: ...79 Terminator USB keyboard interface None STX ETX CR LF CR LF TAB ESC ENTER default Right Ctrl...
Page 107: ...96 Appendix 5 Outer Dimensions Unit mm QK31 R 125 90 85 40 50 51 5 58 50 10 QK31 U...