LIMITS (96)
LIMITS (96)
ID 96
Application: |
PLC |
SIM |
Group: MATH
Short description:
Function limiting the output value by upper and lower limits.
Inputs (1):
no. |
type |
impulse |
mark |
notes |
1 |
R |
no |
IN |
Real type input |
Outputs (3):
no. |
type |
impulse |
mark |
notes |
1 |
R |
no |
OUT |
Function output value |
2 | B | no | max | Marker for the occurrence of a max limit on the output value |
3 | B | no | min | Marker for the occurrence of a min limit on the output value |
Settings:
no. |
type |
mark |
notes |
1 |
R |
HIGH |
Value of the higher limit of the output |
2 | R | LOW | Value of the lower limit of the output |
Function operation:
The LIMITS function limits the output value with an upper and lower limit. When creating a function block, the output value range is set with the variables HIGH and LOW. If the input value is greater than the value assigned to the HIGH variable, the OUT output is equal to the HIGH value, and the max output is high. If the input value is lower than the value assigned to LOW, the OUT output is equal to the value of the LOW tagname and the min output is high. Otherwise, the OUT value is the same as the input IN value.
R registers and M markers used: none