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.

Note

It is not recommended to call utility blocks inside other function blocks in user application, this can impact the data synchronization between PLCs. For example, if HaModTon function block is used inside user’s function block, it will lead to data sync mismatch.

InOut:

Scope

Name

Type

Initial

Comment

Input

In

REAL

0

1:Input variable

Ascend

REAL

0

2:Maximum positive slope

Descend

REAL

0

3:Maximum negative slope (non-negative!!)

Timebase

TIME

TIME#0ms

4:Reference for Ascend/Descend :

t#0s : Ascend/Descend defined per call else : Ascend/Descend defined per specified time

Reset

BOOL

FALSE

5:Reset

Output

Out

REAL

0

1:Value of function with limited slope