Table of Contents

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

InputType Description
IN1..ANY_BITInput value

Outputs

OutputType Description
ANY_BITOutput value

Application example