HA_CS31_RAMP_INT - HA Ramp with Integer¶
Function block HA_CS31_RAMP_INT
Available as of PLC runtime system | V1.3 and above |
Included in library | HA_CS31_AC500_V13.lib (V1.3) and above |
Type | Function Block with historical values. |
This function block is an integer ramp generator with automatic data synchronization in a High Availability application.
Note
Only internal variables and outputs are synchronized. Input variables and parameters are not synchronized. If needed, use HA_CS31_DATA_SYNC to achieve the same.
This function block serves to limit ascending or descending of a function:
The input consists of three INT values: IN (function input), and ASCEND and DESCEND, the maximum increase or decrease for a given time interval, which is defined by the TIMEBASE parameter. Setting RESET parameter to TRUE causes the function block to be initialized anew.
The output OUT of the type INT contains ascends and descends limited function value. If the TIMEBASE parameter is set to t#0s, ASCEND and DESCEND are not related to the time interval, but remain the same.