Or Function Block

The OR function block has six inputs OR functions. Each input can be inverted separately (NOT). If at least one of the inputs is "true" the OR output is "true".

Figure 1: OR - Function Block

 

Figure 2: OR - Property Sheet

In this function block, inputs with "null" are ignored, which means if either of the inputs is not equal to 0.00, the output is equal to the input.

Figure 3: Or Logic Diagram

Unconnected or invalid inputs default to "true", without negation, to have no effect on the result.

Figure 4: Or With trueDelay and falseDelay

Inputs

Input Name

Description

In A - In F

These are boolean point 6 input slots.

Table 1: Inputs of Or Function

Output

Output Name

Description

Out

Output is the In A multiply by In B.

Table 2: Output of Or Function

Parameter

Parameter Name

Description

In Out Negations

If this option is set to "true", it acts as an AND function block. It negates inputs and outputs

If it is "false", it acts as an Or function block.

Out Save

Master Sync Enabled : If you set it to "true" the last output will be set as output for one cycle after the controller restarts. The application can use it to return to the same state before the controller restart.

Out: To enable or disable the Out feature.

Table 3: Parameter of Or Function

Below Table shows the basic operation of OR (In Out Negations is true).

Input (x)

Input (y)

Output

0 (false)

0 (false)

0 (false)

0 (false)

1 (true)

1 (true)

1 (true)

0 (false)

1 (true)

1 (true)

1 (true)

1 (true)

Table 4: Basic Operation of OR

When the In Out Negations is set to "true", Or block turns into an AND block as it negates inputs and outputs.


 

Examples  

If any one of In A to In F = "true", the output is "true". If all In A to In F are "false", the output is "false".

Figure 5: OR Function Block -Example 1

With Not enable for In B, In Dand In E

Figure 6: OR Function Block with not Enable

Figure 7: OR Property Sheet with not Enable

 

Refer to General Description for general information about IRMN4 Function Blocks.