====== Start Detector ====== {{:cs:mervis-ide:35-help:startdetector.png}} ==== Full Name ==== Lib.Mervis.v1_0.StartDetector ==== Required Project References ==== * Lib.Mervis ===== 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 Type|Retain|Mandatory Connection|Meaning| |PulseLength|time |No |No |Duration of the generated pulse| ===== Outputs ===== |Name |Data Type|Meaning| |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.