Lib.Mervis.v1_0.StartDetector
A helper block used to detect the start of a program.
program test
var
startdetector: lib.mervis.v1_0.StartDetector;
end_var
startdetector();
end_program
| Name | Data Type | Retain | Mandatory Connection | Meaning |
| PulseLength | time | No | No | Duration of the generated pulse |
| Name | Data Type | Meaning |
| FirstCycle | bool | Indicates that the first cycle is being executed |
The block is used to simplify repeated tasks with the detection of the first cycle in FBD. The FirstCycle output is active for the duration of PulseLength from the first FBD cycle.