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

WAIT SW(1)&SW(2) OR TIMEOUT(0)
yFORMATz yFUNCTIONz
TIMEOUT(n)

check timer_ if it is ZERO or NON_ZERO
yEXPLANATIONz
When n is 0ATIMEOUT(0) return the same value as (timer_==0)
The description "WAIT SW(1)&SW(2) OR TIMEOUT(0)" shows a programmer the clear meaning of the code
When the argument is given as follows
n : -1 shows the status of timer_ of TASK 0
n : 1`31 shows the status of timer_ of TASK n




timer_=10
PRINT TIMEOUT(0)
WAIT SW(1)&SW(2) OR TIMEOUT(0)
PRINT TIMEOUT(0)
[LASTMODIFY]2009-07-24 12:02:33 [CREATEDATE]2009-07-24 12:02:33
MPC2000 Reference Manual -R5.11-   (C)2007 ACCEL Corp. all right reserved.