TimeRamp Function Block

The Time Ramp functional block keeps decrementing the output till the output is equal to input during the duration of time provided when the block is enabled.

If the block is disabled (Enable = "false"), In = Out.

If the block is enabled (Enable = "true"), the Out will be summation of In and Delta Par, start decrementing the Out value towards the In value by defined duration time.

Figure 1:TimeRamp - Function Block

Figure 2:TimeRamp - Property Sheet

If you set Enable to "true", it starts the timer.

Figure 3: TimeRamp start timer Diagram

If you set Enable to "false", it stops the timer.

Figure 4: TimeRamp stop timer Diagram

Figure 5: TimeRamp Setpoint Example

Input

Input Name

Description

Enable

This enables or disables the block.

In

This is 32-bit floating point.

Duration

(In & Par)

Range 0 - + inf sec.

Zero keeps the output off no matter what changes occur at the In.

Delta

(In & Par)

It is the summation parameter with In during the block is enabled.

Table 1:Inputs of TimeRamp Function

Output

Output Name

Description

Out

This is 32-bit floating point.

If disabled, In = Out.

If enabled, Out = In + Delta Par, start decrementing towards In during the defined duration.

Running Time

It keeps a track of time that is passed in the given duration.

Table 2:Outputs of TimeRamp Function.

Parameter

Parameter Name

Description

Duration Par

(In & Par)

If input Duration is "null", Duration Par is used as parameter.

Delta Par

(In & Par)

It is the summation parameter with In during the block is enabled.

Out Save

Master Sync Enabled : If you set it to "true" the last output will be set as output for one cycle after the controller restarts. The application can use it to return to the same state before the controller restart.

Out: To enable or disable the Out feature.

Table 3:Parameters of TimeRamp Function

Examples

1.       If Enable set to "false":

Figure 6: Enable "false".

2.       If Enable set to "true", Out starts decrementing.

Figure 7: Enable "true",Out decrementing.

 

Figure 8: Enable "true", Out decrementing Property Sheet.

 

3.       If Enable set to "true", after duration.

Figure 9: Enable "true".

Refer to General Description for general information about IRM N4 Function Blocks.