OR
PROGRAM OR_DEMO VAR BOOL1,BOOL2,BOOL3: BOOL; END_VAR BOOL3:= BOOL1 OR BOOL2; END_PROGRAM
The function performs a logical OR of two or more inputs.