beautypg.com

Chapter 4. programming – IAI America S-SEL-E User Manual

Page 122

background image

Page 117

Carry out a command when an input condition is established, and turn the output port ON, if output is desig-

nated. When not established, go on to the next step regardless of the next command (ex. WTON, WTOF). The
designated output port 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.

Actuators 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 port and flag can be used for output section.

Chapter 4. Programming

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

Putting this in a ladder diagram,

2.

Application Program (Commands)

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.

2-1 Structure of Super SEL language

One step of the command has the following structure.

E xpansion

(AN D · O R )

Input C ondition

(I/O · Flag)

C om m and

P ost

(O utput port · Flag)

C om m and

O perand 1

O perand 2

ò

Command Operand 1 Operand 2

Post

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

Command Operand 1 Operand 2

Post

IF ~ THEN

ELS

Command Operand 1 Operand 2

Post

To the next step,

т

This manual is related to the following products: