In the Oneshot function block, if the In becomes "true" from "false", Out is set to "true" for given duration.
Figure1:OneShot - Function Block |
Figure 2:OneShot - Property Sheet |
If In = "null", Out = 0.
Figure 3:OneShot - Logic Diagram
Example
The Input is a square wave of 2 sec amplitude. The time transition diagram of the Output for different Running time of 0 and 5 seconds is illustrated.
If Enable is set to "false", output is set to "false".
Figure 4:Time Transition Diagram
Input
Description |
|
Enable |
Set this property to true to enable the block. |
In |
This is Boolean point. |
Duration (In & Par) |
Range 0 - + inf sec. Zero keeps the output off no matter what changes occur at the In. |
Table 1:Inputs of OneShot Function
Output
Description |
|
Out |
Output = When In transitions from "false" to "true", Out will be set to "true"for given duration (seconds). |
Running Time |
It keeps a track of time that is passed in the given duration. |
Table 2:Outputs of OneShot Function
Parameter
Description |
|
Duration Par (In & Par) |
If input Duration is "null", Duration Par is used as parameter. |
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:Parameter of OneShot Function
Examples
Below mentioned is an example of OneShot function along with minimum on time requirement for Fan Command.
|
|
Figure 5: One shot Function with minimum on time requirement
|
Figure 6: One shot Function with minimum on time requirement Property Sheet
|
Refer to General Description for general information about IRMN4 Function Blocks.