Lenze DDS v2.3 Uživatelský manuál Strana 40

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 340
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 39
Drive PLC Developer Studio
Programming languages
4-2
l
DDS EN 2.3
4.2 Instruction list (IL)
An instruction list (IL) consists of a sequence of instructions.
Each instruction starts with a new line, contains an operator and - depending on the type of
operation - one or several comma-separated operands.
An instruction may be preceded by a jump label followed by a colon (;).
Additional comments can be entered.
Blank lines may be inserted between instructions.
All commands are saved in an accumulator where intermediate results and the result of the
last command are stored.
Example:
LD 17
ST lint (* comment *)
GE 5
JMPC next
LD idword
EQ istruct.sdword
STN test
next:
4.2.1 Operators and modifiers
The following operators and modifiers can be used in IL.
Modifiers
C: conditional for JMP, CAL, RET:
The instruction will only be carried out if the result of the preceding expression is TRUE.
N for JMPC, CALC, RETC:
The instruction will only be carried out if the result of the preceding expression is FALSE.
N otherwise
Negation of the operand (not of the accumulator).
Show/Hide Bookmarks
Zobrazit stránku 39
1 2 ... 35 36 37 38 39 40 41 42 43 44 45 ... 339 340

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

Žádné komentáře