Setting/Acquisition of Power ON Alarm

This terminal has a function to automatically turn on the power to the main unit at the specified time. This function requires the RTC (Real Time Clock) function. Normally, an INT4Ah interrupt will occur when the setting is being made on the RTC. This function makes it possible to add the function which turns on the main unit at the desired time.

SYNTAX

int SYS_SetPowerOnAlarm(int OnOff);

INPUT

OnOff = Power On setup

0Does not turn on the power.

Other than 0 Turns on the power.

OUTPUT

0 Normal

SYNTAX

int SYS_GetPowerOnAlarm();

INPUT

 

None

 

OUTPUT

 

0

= Does not turn on the power.

Other than 0 = Turns on the power.

Note :

The power ON alarm set with this function will be reset if rebooting occurs because the reset button is pressed or due to the software.

193

Page 193
Image 193
Casio IT-2000W manual Setting/Acquisition of Power on Alarm, Int SYSSetPowerOnAlarmint OnOff, Int SYSGetPowerOnAlarm