Description
Used to compare two analog values.
Function
The function block is used to compare two input values. The following options are available: "==", "!=", "<", "<=", ">" and ">=".
Input
PIN | Description |
---|---|
Input1 | Input1 to be compared |
Input2 | Input2 to be compared |
Output
PIN | Description |
---|---|
Output | Output value after comparing inputs 1 and 2. If the equation is correct, the output is true, otherwise it is false. |
Input value
PIN | Data type | Unit | Default value | Range |
---|---|---|---|---|
Input1 | Analog | N/A | N/A | -999999...999999 |
Input2 | Analog | N/A | N/A | -999999...999999 |
Output value
PIN | Data type | Unit | Default value | Range |
---|---|---|---|---|
Output | Digital | N/A | N/A | True (1), False (0) |
Example
Determines the system date to be valid if the system clock is before a set date (inclusive).