Command part, 1 sel language structure – IAI America XSEL-KE User Manual
Page 89
![background image](/manuals/350328/89/background.png)
74
INTELLIGENT ACTUATOR
Part 3 Controller Data Structure
3. Command Part
The primary feature of SEL language is its very simple command structure. Since the structure is
simple, there is no need for a compiler (to translate into computer language) and high-speed
operation is possible via an interpreter (the program runs as commands are translated).
3.1
SEL language Structure
The table below shows the structure of one command step.
Command, declaration
Extension condition
(AND, OR)
Input condition
(I/O, flag)
Command,
declaration
Operand 1
Operand 2
Output
(Output port, flag)
Using a ladder diagram, this is
expressed as follows:
(1) The condition before t
KHFRPPDQGLVHTXLYDOHQWWR³,)a7+(1«´LQ%$6,&
1. If the input condition is satisfied, the command will be executed. If there is an output specification, the
specified output port will be turned ON. If the input condition is not satisfied, the program will proceed
to the next step regardless of the command that
IROORZVHJ:721:72)2EYLRXVO\QRWKLQJZLOO
happen at the output port, but caution must be exercised.
2. If no condition is set, the command will be executed unconditionally.
7RXVHWKHFRQGLWLRQLQUHYHUVHORJLFVRFDOOHG³FRQWDFWEORJLF´ DGG1127WRWKH
condition.
4. The input condition supports input port, output port and flag.
5. The operand 1, operand 2 and output fields can be specified indirectly.
(2) The output field, which follows the command, operand 1 and operand 2 fields, will specify the following
action:
,QWKHFDVHRIDFRQWUROFRPPDQGUHODWLQJWRDFWXDWRURSHUDWLRQHWFWKHRXWSXWZLOOWXUQ2))WKH
moment the execution of command is started, and turn ON when the execution is completed. In the
case of a calculation operation command, etc., the output will turn ON if the result corresponds to a
FHUWDLQYDOXHDQGWXUQ2))LIQRW
2. The output field supports output port and flag.
To the next step
Command
Operand 1
Operand 2
Output
Command
Operand 1
Operand 2
Output
,)a7+(1
ELSE
p
Command
Operand 1
Operand 2
Output