There are 4 logic functions available: BOOL 1, 2, 3, and 4. There are 6 operations to choose from:
NOT: the NOT operator returns the inverse value of factor A, the factor B does not be configured as NOT has only one binary variable. Therefore, if the operand A is zero, the result will be 1 and vice versa.
AND: the AND operator returns a value of 1 if all the factors have a value of 1, while it returns 0 in all other cases: when the operand A is 1 and the operand B is zero o vice versa or if both operands are zero. This operation is equivalent to having two contacts in series: they both must be closed for the signal to pass.
OR: the OR logic operation return 1 if at least one of the operands is 1, while it returns 0 in every other cases. This operation is equivalent to having two contacts in parallel: one of the two must be closed for the signal to pass.
XOR: the XOR operation, also known as EX-OR, exclusive OR, or sum module 2, returns 1 if and only if the number of operands equal to 1 is odd, while it returns 0 in all other cases.
PHOTO TBD
FLIP FLOP S/R: flip/flop are sequential digital circuits whose task is to save a bit. A digital circuit is said sequential if the output (Result) depends on the applied inputs (Operands) and on the previous status of the same output. A sequential circuit, therefore, must remember its previous status. The Flip-flop S/R (Set-Reset or Start-Stop) is the simplest memory device and has two inputs called Set (Operand A) and Reset (Operand B) and one output referred to as Result. Therefore, if the Operand A is equal to 1 even for 1 second, the result is 1 as long as Operand B being equal to 1 (even just for a second) resets the value of the result back to zero.
FFAP: is always a flip-flop that accepts two operands, the first Operand A is the Start signal, therefore if it is equal to 1 the result is equal to 1, while the result is equal to zero only if both operands (Start operand A and Stop operand B) are equal to zero.
PHOTO TBD
All 6 operations can return a value of 0 or 1 and can be used anywhere in RegConfig when digital inputs are provided, e.g., as block signal of a source by selecting VDoutH from the drop-down menu and then the logic function programmed in Free Signals:
PHOTO TBD
Logic functions can also be used to manage digital outputs:
PHOTO TBD