OR

Function

OR output becomes true (1) if at least one input is true (1). NOR output is the inverted OR output.

The OR statement is one of the dynamic control icons.

It has two inputs by default, but the user can add up to n (recommended limit 32) inputs in the slot sheet view, selecting the Add Slot function of the context menu.

Programming Hint

A numeric input (if not Boolean) is read as true if the value is >= 0.5 and false if the value is < 0.5 including negative values.


Fig. 100.   Wire-sheet Icon

Fig. 101.   Property Sheet

Fig. 102.   Slot Sheet


Inputs and Outputs

Table 69.   Inputs

Inputs

Type

Functional description

In A

boolean

Analog input value.

In B

boolean

Analog input value

In n

boolean/ numeric

Add up to n (recommended limit 32) inputs in the slot sheet

In Enabled

boolean

If the input “In Enabled” is set to false disabled in the slot sheet, the output “Out” will be disabled and is set to the value “0”.


Table 70.   Outputs

Outputs

Type

Functional description

Out

boolean

One output = OR value of all inputs


Parameter List

No parameters.