IAI America XSEL-KE User Manual

Page 114

Advertising
background image

99

Part 4 Commands

z TIMC (Cancel timer)

Command, declaration

Extension condition

(LD, A, O, AB, OB)

Input condition

(I/O, flag)

Command,
declaration

Operand 1

Operand 2

Output

(Output, flag)

Optional Optional TIMC

Program

number

Prohibited CP

[Function]

Cancel a timer in other program running in parallel.

(Note)

Timers in TIMW, WTON, WTOF and READ commands can be cancelled. In the case of
WTON, WTOF and READ commands, even if timeout is not specified it is assumed that an
unlimited timer has been specified and the wait time will be cancelled.

[Example 1]

TIMC

10

Cancel the wait time in program 10.

[Example 2]

LET

1

10

Assign 10 to variable 1.

TIMC

*1

Cancel the wait time in the content of variable 1
(program 10).

[Example 3]

Program 1

Program 10

: :
:

WTON 8 20

Program 10 waits for input 8 for 20 seconds.

:

(Wait for input 8)

TIMC 10

(Wait for input 8) Cancel the wait time in program 10.

: :

(Note)

The steps shown in the above example represent those executed simultaneously in different
programs.

Advertising
This manual is related to the following products: