Lenze PLC Designer PLC Designer (R2-x) Instrukcja Użytkownika Strona 52

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 844
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 51
L-force | PLC Designer
What is What in PLC Designer
50 DMS 3.2 EN 02/2011 TD29
Below you find a table of all operators in IL with their possible modifiers and the
relevant meaning:
Operator Modifiers Meaning
LD N Make current result equal to the operand
ST N Save current result at the position of the operand
S Then put the Boolean operand exactly at TRUE if the current result is TRUE
R Then put the Boolean operand exactly at FALSE if the current result is TRUE
AND N,( Bitwise AND
OR N,( Bitwise OR
XOR N,( Bitwise exclusive OR
ADD ( Addition
SUB ( Subtraction
MUL ( Multiplication
DIV ( Division
GT ( >
GE ( >=
EQ ( =
NE ( <>
LE ( <=
LT ( <
JMP CN Jump to the label
CAL CN Call programor function block or
RET CN Leave POU and return to caller.
) Evaluate deferred operation
Click here to get a listing of all IEC operators.
Example of an IL program while using some modifiers:
LD TRUE (*load TRUE in the accumulator*)
ANDN BOOL1 (*execute AND with the negated value of the BOOL1 variable*)
JMPC mark (*if the result was TRUE, then jump to the label "mark"*)
LDN BOOL2 (*save the negated value of *)
ST ERG (*BOOL2 in ERG*)
label:
LD BOOL2 (*save the value of *)
ST ERG *BOOL2 in ERG*)
Przeglądanie stron 51
1 2 ... 47 48 49 50 51 52 53 54 55 56 57 ... 843 844

Komentarze do niniejszej Instrukcji

Brak uwag