
Chapter 8. Files
145
■
Controlling the Reading Confirmation LED and Beeper (Vibrator) at the
Time of Scanning for Confirmation of Successful Reading
(BHT-5000/BHT-6000/BHT-6500/BHT-7000/BHT-7500)
By using the OPEN "BAR:" statement, you can control:
• whether the reading confirmation LED should light in green or not (Default: Light in
green)
• whether the beeper should beep or not (Default: No beep)
The BHT-6500/BHT-7000/BHT-7500 may control the vibrator also.
when a bar code is read successfully.
Controlling the reading confirmation LED
If you have activated the reading confirmation LED (in green) in the OPEN "BAR:" state-
ment, the
OUT statement cannot control the LED via output port 1 when the bar code
device file is opened. (For details about settings of bits 0 and 1 on output port 1, refer to
Appendix D.)
If you have deactivated the reading confirmation LED in the
OPEN "BAR:" statement, the
OUT statement can control the LED via output port 1 even when the bar code device file is
opened. (For details about settings of bits 0 and 1 on output port 1, refer to Appendix D.)
This way, you can control the reading confirmation LED, enabling that:
• a user program can check the value of a scanned bar code and turn on the green LED
when the bar code has been read successfully.
(For example, you can make the user program interpret bar code data valued from 0 to
100 as correct data.)
• a user program can turn on the red LED the moment the bar code has been read.
Controlling the beeper (vibrator)
If you activate the beeper in the OPEN "BAR:" statement, the BHT will beep when it reads
a bar code successfully.
In the BHT-6500/BHT-7000/BHT-7500, you may choose beeping only, vibrating only, or
beeping & vibrating on the LCD screen or by setting the output port in the
OUT statement.
Kommentare zu diesen Handbüchern