Task FBD3: Function block FB_Cascade_cycle_FBD
Section outline
FBD3 Function block FB_Cascade_cycle_FBD

Add a function block with the name FB_Cascade_cycle_FBD to your project tree using function block diagram as the programming language.
The function block should behave as follows:
If the IN_xActive input parameter is set to True, the OUT_xSignal output parameter should immediately follow and be set to True. As long as IN_xActive is set to True, the OUT_xSignal should be set to True for the time specified for IN_tOn and then switch to False for the time specified for IN_tOff. This switching shall continue until IN_xActive is set to False. In this case, the OUT_xSignal should also change to False immediately.
This behavior is shown in the following diagram:
Block help from the context menu: Edit Wizard → Help on FB/FU
Use the time diagram to develop programming step by step, i.e. section by section. An alternative option is based on the idea of two overlapping signals: the continuous activity signal and an alternating interference signal.
Blocks that can be helpful for creation:
