Switching the tappet on and off as a function of xEnable

The additional xEdgeControl input influences the switch-on and switch-off of the tappet as a function of the xEnable input.

If the position is within a tappet when xEnable = TRUE ( xEdgeControl:=FALSE), the tappet is switched on or off via the xSwitch output immediately. This also means that the switch-on and switch-off positions of the tappets deviate. Since three identical tappets are defined for the cycle, the first tappet is only switched on later whereas the third tappet is switched off too early:

The xEdgeControl input prevents the first tappet from being switched when the FB is switched on with xEnable , since xEnable has only been switched on within the first tappet position. Then xEnable is switched off within the third tappet. Now the FB remains active until the tappet end of the third tappet has been reached: