The function block limits the input to the low and high limits. If the value of In is:
Lower than the lowLimit, Out is set to Limit Low.
Higher than the Limit High, Out is set to Limit High.
Between the Limit Low and Limit High, Out is set to In.
The two boolean outputs Out Min and Out Max can be used to determine whether the limitation has taken place.
|
Figure 1:Limit - Wire Sheet |
Figure 2:Limit Property Sheet |
||
Figure 3:Limit - Logic Diagram Curve |
Figure 4:Limit - Logic Diagram Flow |
|||
Input
Input Name |
Description |
Enable |
The limitation occurs, if Enable = "true". "false": No limitation "true" or "null": Limitation |
In |
This is the input value, which is limited at Out, if enabled and if Limit Low or Limit High are set. |
Limit Low (In & Par) |
This is the value for the lower limit. |
Limit High (In & Par) |
This is the value for the higher limit. |
Table 1:Input of Limit
Output
Output Name |
Description |
Out |
Out = In but limited to be between Low Limit and High Limit in case the Low and High Limits are configured and if Enabled is set accordingly. If Limit Low > Limit High, there is no limitation (Out = In). |
Out Min |
If In value is limited to the lower limit, output is "true". |
Out Max |
If In value is limited to the higher limit, the output is "true". |
Table 2:Output of Limit
Parameter
Parameter Name |
Description |
Limit Low Par (In & Par) |
If Limit Low is "null", Limit Low Par is used as parameter. If the parameter value is "null", Limit Low function is disabled. |
Limit High Par (In & Par) |
If Limit High is "null", Limit High Par is used as parameter. If the parameter value is "null", Limit High function is disabled. |
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. Out Min: To enable or disable the Out Min feature. Out Max: To enable or disable the Out Max feature. |
Table 3:Parameter of Limit
Examples
1. Limit to 0 - 100. Out = 100. Out Max = "true".
Figure 5: Limit Example with High Limitation
2. No high limitation. Out = In. No limitation, because Limit High is disabled ("null"). Low Limit is still working.
Figure 6: Limit Example with disabled High Limitation
Refer to General Description for general information about IRMN4 Function Blocks.