AND
PROGRAM AND_DEMO VAR BOOL1,BOOL2,BOOL3: BOOL; END_VAR BOOL3:= BOOL1 AND BOOL2; END_PROGRAM
Logical “AND” of two or more inputs. All inputs must be TRUE for the output to be TRUE.
Input | Type | Description |
IN1.. | ANY_BIT | Input value |
Output | Type | Description |
⇒ | BOOL | Output value |