beautypg.com

Ò8. structure of sel language – IAI America DS-S-C1 User Manual

Page 21

background image

19

 Carry out a command when an input condition is established, and turn the post ON, if post is

designated. When not established, go on to the next step regardless of the next command (ex. WTON, WTOF).
The designated post remains the same , however it needs to be monitored carefully.

‚ If there is no conditioning set up, carry out command unconditionally.

ƒ If condition is used as "negative condition", then place an "N" (NOT).

„ Input/output port & flag can be used for condition.

 Actuator motion control commands: becomes OFF immediately after the command starts to be executed,

and becomes ON when the command is completed. Computation commands: when the result becomes a certain
value, it turns ON, and it stays OFF otherwise.

‚ Output ports and flags can be used for the post section.

(1) The conditions before the commands are equivalent to "if ~ then" statements in BASIC language.

Putting this in a ladder diagram,

The outstanding feature of Super SEL Language is the simplicity of its command structure which eliminates the need for a
compiler and allows high speed operation with just an interpreter.

8.2 Commands

8. 2-1

Structure of Super SEL Language

One step of the command has the following structure.

n

o

i

s

n

a

p

x

E

)

R

O

·

D

N

A

(

n

o

i

t

i

d

n

o

C

t

u

p

n

I

)

g

a

l

F

·

O

/

I

(

d

n

a

m

m

o

C

t

s

o

P

·

t

r

o

p

t

u

p

t

u

O

(

)

g

a

l

F

d

n

a

m

m

o

C

1

d

n

a

r

e

p

O

2

d

n

a

r

e

p

O

ò

-

n

a

m

m

o

C

d

d

n

a

r

e

p

O

1

d

n

a

r

e

p

O

2

t

s

o

P

(2) Post is set based on the result of the command execution.

-

n

a

m

m

o

C

d

d

n

a

r

e

p

O

1

d

n

a

r

e

p

O

2

t

s

o

P

IF ~ THEN

ELSE

-

n

a

m

m

o

C

d

d

n

a

r

e

p

O

1

d

n

a

r

e

p

O

2

t

s

o

P

To the next step,

ò

8.

Structure of SEL Language

. . . . .