99
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.
I
See Parameter Details,
[2] given later.
None
Control the speaker beeping time, speaker volume,
speaker tone, and indicator LEDs as specified
temporarily.
BR
See Parameter Details,
[3] given later.
OK/NG
(Note 2)
Enable the speaker, and control the speaker beeping time,
speaker volume and speaker tone as specified.
BZ None
OK/NG
(Note 2)
Disable the speaker.
DR None
OK/NG
(Note 2)
Enable the indicator LEDs.
DZ None
OK/NG
(Note 2)
Disable the indicator LEDs.
U
See Parameter Details,
[4] given later.
OK/NG
(Note 2)
Switch to the specified reading mode.
NR
See Parameter Details,
[5] 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.
LA None
OK/NG
(Note 2)
Control ON/OFF of the illumination LEDs
automatically.
Summary of Contents for QK20-R
Page 1: ...2D Code Scanner Fixed type QK20 R QK20 U User s Manual...
Page 94: ...83 Header USB keyboard interface None default STX ETX CR LF CR LF TAB ESC ENTER Right Ctrl...
Page 95: ...84 Header USB keyboard interface...
Page 96: ...85 Terminator USB keyboard interface None STX ETX CR LF CR LF TAB ESC ENTER default Right Ctrl...
Page 120: ......