Table of Contents

Start Detector

Full Name

Lib.Mervis.v1_0.StartDetector

Required Project References

Description

A helper block used to detect the start of a program.

Usage in ST

program test
    var
        startdetector: lib.mervis.v1_0.StartDetector;
    end_var

    startdetector();
end_program

Inputs

Name Data TypeRetainMandatory ConnectionMeaning
PulseLengthtime No No Duration of the generated pulse

Outputs

Name Data TypeMeaning
FirstCycle bool Indicates that the first cycle is being executed

Detailed Function Description

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.