The Less Than Equal function compares two inputs with each other. When the first In A is less than or equal to the In B, the block outputs "true"; otherwise it outputs "false".
Figure 1: LessThanEqual - Function Block |
Figure 2: LessThanEqual - Property Sheet |
The output is set to "true", if In A <= In B.
The output does not change or "false", if In A >= (InB + Hyst).
Figure 3: LessThanEqual Logic Diagram
Inputs
Input Name |
Description |
In A |
These are 32-bit floating point input slots. |
In B (In & Par) |
These are 32-bit floating point input slots. |
Hyst (In & Par) |
This hysteresis value is defined inorder to avoid cycling Output. |
Table 1: Inputs of LessThanEqual Function
Output
Output Name |
Description |
Out |
Output = "true" or "false". |
Table 2: Output of LessThanEqual Function
Parameter
Parameter Name |
Description |
In B Par (In & Par) |
If In B is "null", then In B Par is used. |
Hyst Par (In & Par) |
If Hyst is "null", then Hyst Par is used. |
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. |
Examples
If In A<= In B output is set to "true". Hystersis may be defined.
|
|
Figure 4: Example - LessThanEqual Function Block and Property Sheet
Refer to General Description for general information about IRMN4 Function Blocks.