The Time Delay function block is used to delay the input value appearing at the output for a delay time provided in the block.
Figure 1:TimeDelay - Function Block |
Figure 2:TimeDelay - Property Sheet |
Input
Description |
|
Enable |
This enables the delay. If the Enable is set to "false", In will be set to Out at the same time without any delay. |
In |
This is a Boolean point |
Preset Time (In & Par) |
It is a pre-defined delay duration. |
Table 1:Inputs of TimeDelay Function
Output
Description |
|
Out |
Output =Time delay in seconds. |
Running Time |
It gives information of the time passed during the block execution. |
Table 2:Outputs of TimeDelayFunction
Parameter
Description |
|
Operation |
There are five operations: Off, OnDelay, OffDelay, OnOffDelay and Pass. Off: Pass: |
Preset Time Par (In & Par) |
It is a pre-defined delay duration. |
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 TimeDelay Function
OnDelay: If you select this operation, it delays driving of output value for preset.
Figure 3: TimeDelay-On Delay
OffDelay: If you select this operation, it delays Off (false) value after given time duration is completed and input is pushed output.
Figure 4: TimeDelay-Off Delay
OnOffDelay: Every change in the input, output keeps on delaying.
Figure 5: TimeDelay-On and Off Delay
Examples
On Delay
1. If the Enable and In is set to "true", starts the delay running time up till the preset time is reached.
Figure 6: Enable and In "true".
2. If the running time is elapsed, In = Out.
Figure 7:In= Out, after running time elapsed.
Off Delay
1. If the Enable is set to "true" and In is set to "false", starts the delay running time up till the preset time is reached.
Figure 8: Enable "true", In "false".
2. If the running time is elapsed, In = Out.
Figure 9: In= Out after running time elapsed.
Refer to General Description for general information about IRMN4 Function Blocks.