Chapter 14. Statement Reference
245
• If readmode is omitted, the BHT defaults to the auto-off mode.
• In the momentary switching mode, alternate switching mode, or continuous reading
mode, after you read a low-quality bar code which needs more than one second to be
read, keeping applying the barcode reading window to that bar code may re-read the
same bar code in succession at intervals of one second or more.
beepercontrol and
and and
and LEDcontrol
The OPEN "BAR:" statement can control the beeper and the indicator LED to activate or
deactivate each of them when a bar code is read successfully. The BHT may also control
the vibrator with beepercontrol.
• You should describe parameters of readmode, beepercontrol, and LEDcontrol
without any space inbetween.
• You should describe readmode, beepercontrol, and LEDcontrol in this order.
• Specifying B to beepercontrol allows you to choose beeping only, vibrating only, or
beeping & vibrating by making setting on the adjustment screen of the LCD contrast,
beeper, and vibrator or by setting the I/O ports with the OUT statement.
To sound the beeper when a bar code is read successfully:
OPEN "BAR :B"AS #7 CODE "A"
To deactivate the indicator LED when a bar code is read successfully:
OPEN "BAR :L"AS #7 CODE "A"
Comentarios a estos manuales