HaModRampReal (FB)
FUNCTION_BLOCK HaModRampReal
Function block HaModRampReal is a standard real ramp generator with automatic data synchronization in a high availability system Only internal variables and outputs are synchronized. Input variables and parameters are not synchronized. If needed, use HaModDataSync to achieve the same.
- InOut:
Scope
Name
Type
Initial
Comment
Input
InREAL0
1:Input variable
AscendREAL0
2:Maximum positive slope
DescendREAL0
3:Maximum negative slope (non-negative!!)
TimebaseTIMETIME#0ms
- 4:Reference for Ascend/Descend :
t#0s : Ascend/Descend defined per call else : Ascend/Descend defined per specified time
ResetBOOLFALSE
5:Reset
Output
OutREAL0
1:Value of function with limited slope