Iai-america XSEL-KET Uživatelský manuál Strana 108

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 436
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 107
89
Part 3 Controller Data Structure
INTELLIGENT ACTUATOR
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 bel
ow 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 the command is equivalent to “IF ~ THEN…” in BASIC.
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 follows (e.g., WTON, WTOF). Obviously nothing will
happen at the output port, but caution must be exercised.
2. If no condition is set, the command will be executed unconditionally.
3. To use the condition in reverse logic (so-called “contact b logic” ), add "N" (NOT) to the
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:
1. In the case of a control command relating to actuator operation, etc., the output will turn OFF the
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
certain value, and turn OFF if not.
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
IF ~ THEN ELSE
Command
Operand 1
Operand 2
Output
Zobrazit stránku 107
1 2 ... 103 104 105 106 107 108 109 110 111 112 113 ... 435 436

Komentáře k této Příručce

Žádné komentáře