Specifications
Chapter 2. Development Environment and Procedures
45
2.6 Executing a User Program
2.6.1 Starting
To run a user program, start System Mode and select the desired program in the Program Exe-
cution menu.
If you have selected a user program as an execution program in the Setting menu of System
Mode, the BHT automatically runs the user program when powered on.
For the operating procedure of System Mode, refer to the BHT User’s Manual.
2.6.2 Execution
The Interpreter interprets and executes a user program from the first statement to the next, one
by one.
2.6.3 Termination
The BHT system program terminates a running user program if
• the
END, POWER OFF, or POWER 0 statement is executed in a user program,
• the power switch is pressed,
• no valid operations are performed within the specified time length (Automatic powering-
off),
Valid operations: - Entry by pressing any key
- Bar-code reading by pressing the trigger switch
- Data transmission
- Data reception
Specified time length: Length of time specified by the POWER statement in the
user program. If not specified in the program, three min-
utes will apply.
or
• the battery voltage level becomes low.
Low battery: If the voltage level of the rechargeable battery cartridge
or that of the dry cells drops below the specified level,
the BHT displays the low battery warning message on
the LCD and powers itself off.
If the resume function is activated in System Mode, only the execution of the
END, POWER
OFF
, or POWER 0 statement can terminate a running user program. Other cases above
merely turn off the power, so turning it on again resumes the program.