6-2
Logic Task
CLM01.4-LAP-01VRS
DOK-CONTRL-CLM01.4LAP1-FK01-EN-P
6.3 Logical
Assignments
AND Logic
The ´AND Logic´ functions bit-by-bit.
AND
AND logic of the current value with the value of the operand
ANDN AND logic of the current value with the bit-by-bit negated value of
the operand
Examples:
AND Logic
FBS
AWL
Type
&
bool1
bool2
bool3
LD bool1
AND bool2
ST bool3
bool1: BOOL
bool2: BOOL
bool1: BOOL
bool1
1
0
1
0
bool2
1
1
0
0
bool3
1
0
0
0
FBS
AWL
Type
&
bool1
bool2
bool3
LD bool1
ANDN bool2
ST bool3
bool1: BOOL
bool2: BOOL
bool1: BOOL
bool1
1
0
1
0
bool2
1
1
0
0
bool3
0
0
1
0
Содержание CLM1.4
Страница 117: ...7 20 Functions CLM01 4 LAP 01VRS DOK CONTRL CLM01 4LAP1 FK01 EN P Notes...
Страница 205: ...9 42 Interfaces CLM01 4 LAP 01VRS DOK CONTRL CLM01 4LAP1 FK01 EN P Notes...
Страница 213: ...10 8 Command Communications CLM01 4 LAP 01VRS DOK CONTRL CLM01 4LAP1 FK01 EN P Notes...
Страница 233: ...11 20 Diagnostic Messages CLM01 4 LAP 01VRS DOK CONTRL CLM01 4LAP1 FK01 EN P Notes...
Страница 272: ......
Страница 273: ...Printed in the U S A Barcode...