[CMP_MS] Compare of multistate
Function block CMP_MS compares two Multistate values and supplies a Boolean value at the output.
CMP_MS compares two Multistate values and supplies a Boolean value at the output.
Functioning
CMP_MS compares the two input values [In1] and [In2] and sets either '1' or '0' at the beginning of the output in dependence of the result [Eq].
| Result |
|---|---|
Condition | Eq |
In1 = In2 | 1 |
In1 ≠ In2 | 0 |