# logic::Or2

    sys::Obj
      sys::Virtual
        sys::Component
          logic::Or2

`public class Or2` `[niagaraIcon="module://icons/x16/control/logic/or.png"]`

Or2 Two input Or logic object null inputs ignored. If all inputs null, output is null out = in1 || in2

in1

  `public property bool in1`

  input 1

in2

  `public property bool in2`

  input 2

out

  `public property bool out [readonly]`

  output = in1 || in2

execute

  `public virtual override void execute()`

  Execute is called once every scan.