Specifications
154
10.1 Sleep Function
The BHT supports the sleep function that automatically interrupts program execution if no
event takes place within the specified length of time in the BHT, thereby minimizing its power
consumption. Upon detection of any event, the BHT in the sleep state immediately starts the
interrupted user program.
By using the
OUT statement, you may set the desired length of time to the sleep timer within
the range from 0 to 25.5 seconds in increment of 100 ms. The default is 1 second.
When setting the sleep timer, the
OUT statement also copies (assigns) the set value to its inter-
nal variable. The sleep timer immediately starts counting down the value assigned to the inter-
nal variable, -1 per 100 ms. If the value becomes 0, the BHT goes into a sleep.
Note that the sleep timer will not count in any of the following cases. When the BHT exits from
any of them, the value preset to the sleep timer will be assigned to the internal variable again
and the sleep timer will start counting.
• While a communications device file is opened by an
OPEN "COM:" statement.
• During execution of a
SEARCH, DATE$, or TIME$ function.
• When a value less than 10 seconds is set to a
TIMEA, TIMEB, or TIMEC function so that
the returned value is a nonzero.
• When the bar code device file is opened by the
OPEN "BAR:" statement under any of the
following conditions:
- With the continuous reading mode specified
- With the momentary switching mode or auto-off mode specified, and with the trigger switch
held down
- With the alternate switching mode, and with the illumination LED being on
• When any key is held down.
• When the touch screen is pressed (if the touch screen is enabled in models equipped with a
touch screen).
• When the backlight is on (except when the backlight is kept on).
• When the beeper is beeping.
• When the vibrator is working.
• When the BHT is updating data on the screen.
• When the BHT is writing data into a data file.
• When a register variable is undergoing change.