| �yFunction�z |
|
�yTimeControl�z |
|
�yUSE�z |
TIMEOUT
|
WAIT SW(1)&SW(2) OR TIMEOUT(0) |
| �yFORMAT�z |
�yFUNCTION�z |
TIMEOUT(n)
|
check timer_ if it is ZERO or NON_ZERO |
| �yEXPLANATION�z |
When n is 0�ATIMEOUT(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 |
|
|
|