MAX (70)
MAX (70)
ID 70
Application: |
PLC |
SIM |
Group: MATH
Short description:
A function that returns the maximum value.
Inputs (2):
no. |
type |
impulse |
mark |
notes |
1 |
R |
no |
IN |
Real type input |
2 |
B |
no |
reset |
Signal reset |
Outputs (1):
no. |
type |
impulse |
mark |
notes |
1 |
R |
no |
min |
Maximum value |
Settings:
no. |
type |
impulse |
mark |
notes |
1 |
R |
no |
RESET_VALUE |
Output value for high RESET state |
Function operation:
The MAX function returns the highest value of the function's input values. The occurrence of a high stall at the RESET input causes the local variable corresponding to the output value MAX_VAL to be assigned the value of the RESET_VALUE variable, which was set when the function block was created.
R registers and M markers used: none