MPC2000 Reference Manual [JAPANESE] [ENGLISH]
yFunctionz   yTimeControlz
yUSEz
TIME

IF TIME(0)<&H00182800 THEN
GOTO *aho
END_IF
yFORMATz yFUNCTIONz
TIME(0)
TIME(255)
TIME(VOID)

Get the time data
yEXPLANATIONz
Gives a hex value of the TIMEB When A value given in the argument, the result will be the logical AND of the value and TIME.
SET_RTC command initiates RTC value.




5 *aho
10 IF TIME(0)<&H00182800 THEN : GOTO *aho : END_IF
30 PRX TIME(0)
40 WAIT TIME(255)%16==0
[LASTMODIFY]2009-06-25 18:29:20 [CREATEDATE]2007-07-31 18:30:49
MPC2000 Reference Manual -R5.11-   (C)2007 ACCEL Corp. all right reserved.