AND

AND output becomes TRUE if all inputs are TRUE. This function is a six-input AND Function Block. Each input may be individually inverted (NOT). The function block has 6 input pins Input1 through Input6, TrueDelay and FalseDelay input pins.

Unconnected or invalid inputs default to True, without negation, so as to have no effect on the result.

From iteration to iteration, the function block keeps track of the last computed output value and the current true or false delay time. These values are cleared on power up/reset.

Logic Inputs

Input Name Input Value Logic Value Description
in1-6 VAL != 0.0 1  
  0 0  
  unconnected 1 Inputs with a not interpreted as logic 1 when disconnected.
  invalid 1 Negin does not affect the invalid logic value.

Analog Inputs

  Range    
Input Name Low High Input Value Description
trueDelay 0 32767 unconnected val = 0
It is the minimum time the computed output must stay True before the output actually changes from False to True.
(sec)     invalid val = 0
falseDelay 0 32767 unconnected val = 0
It is the minimum time the computed output must stay False before the output actually changes from True to False.
(sec)     invalid val = 0

Output

Output Name Range Description
OUTPUT Any floating point value Output = AND/NAND (inputs).
Negating the Output makes the AND function block behave like a NAND function block.

Example

  1. Set In1- In6 = 1, and True delay = 2, and False delay = 6.

In this case, the output is set to 1 after a time delay of 2 seconds as specified by the True delay.

  1. Set In1 = 0, In2 - In6 = 1, and True delay = 2, and False delay = 6.

In this case, the output is set to 0 after a time delay of 6 seconds as specified by the False delay.