Documentation

OR

Function name

OR

ST call

PROGRAM OR_DEMO
VAR
BOOL1,BOOL2,BOOL3: BOOL;
END_VAR
BOOL3:= BOOL1 OR BOOL2;
END_PROGRAM

Description

The function performs a logical OR of two or more inputs.

Inputs

Input Type Description
IN1.. ANY_BIT Input value

Outputs

Output Type Description
=> ANY_BIT Output value

Application example