beautypg.com

Sel language – IAI America DS-S-C1 User Manual

Page 46

background image

44

12.6

Timer Commands

[Function]

The program stops and waits for the time set in operand 1.
Setting range is 0.01 ~ 99 and units are seconds.
When the designated time has elapsed and the program moves to the next step, the output turns ON.

[Example 1]

TIMW 1.5

Wait for 1.5 seconds.

12. SEL Language

TIMW (Timer)

n

o

i

s

n

a

p

x

E

n

o

it

i

d

n

o

c

)

R

O

·

D

N

A

(

t

u

p

n

I

n

o

it

i

d

n

o

c

)

g

a

l

F

·

O

/I

(

d

n

a

m

m

o

C

t

s

o

P

)

g

a

l

F

·

t

r

o

p

t

u

p

t

u

O

(

d

n

a

m

m

o

C

1

d

n

a

r

e

p

O

2

d

n

a

r

e

p

O

l

a

n

o

it

p

O

l

a

n

o

it

p

O

W

M

I

T

E

M

I

T

U

T

[Example 2]

LET

1

10

Assign 10 to variable 1.

TIMW

*1

Contents of variable 1 waits 10 seconds.

n

o

i

s

n

a

p

x

E

n

o

i

t

i

d

n

o

c

·

D

N

A

(

)

R

O

t

u

p

n

I

n

o

i

t

i

d

n

o

c

)

g

a

l

F

·

O

/

I

(

d

n

a

m

m

o

C

t

s

o

P

)

g

a

l

F

·

t

r

o

p

t

u

p

t

u

O

(

d

n

a

m

m

o

C

1

d

n

a

r

e

p

O

2

d

n

a

r

e

p

O

l

a

n

o

i

t

p

O

l

a

n

o

i

t

p

O

C

M

I

T

.

o

N

m

a

r

g

o

r

P

TIMC (Timer Cancel)

[Function]

Cancels the time of the other programs designated in operand 1 that are running in parallel.

[Example 1]

TIMC

10

Cancel time wait for prorgam 10.

[Example 2]

LET

1

10

Assign 10 to variable 1.

TIMC

*1

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