258
____________________________________________________________________
I/O statement
POWER
Controls the automatic power-off facility.
____________________________________________________________________
Syntax:
Syntax:Syntax:
Syntax:
Syntax 1 (Turning off the power according to the power-off counter):
POWER counter
Syntax 2 (Turning off the power immediately):
POWER {OFF •0 }
Syntax 3 (Disabling the automatic power-off facility):
POWER CONT
Parameter:
Parameter:Parameter:
Parameter:
counter
A numeric expression which returns a value from 0 to 32767.
Description:
Description:Description:
Description:
Turning off the power according to the power-off counter
POWER counter turns off the power after the length of time specified by counter from
execution of the POWER statement.
• counter is a setting value of the power-off counter in seconds. Shown below is a
sample program for turning off the power after 4800 seconds from execution of POWER
statement.
POWER 4800
• If no POWER statement is issued, the default counter value is 180 seconds.
• If any of the following operations and events happens while the power-off counter is
counting, the counter will be reset to the preset value and start counting again:
- Any key is pressed.
- The trigger switch is pressed.
- The BHT sends or receives data via a communications device file. (If a communications
device file is closed, this operation does not reset the power-off counter.)
Comentários a estes Manuais