I will really appreciate if you could help me with this Codesys program in Ladder logic: I am working on a project where I am using TOF function block + Falling edge trigger + Timer pulse so that when som input is given to TOF block it carries it for 5 seconds and falling edge trigger goes high for one scan cycle and timer pulse is high for 200 millisecond the only problem I have is that when the input is high for TOF for more than one times before the 5 seconds timer is finished it resets the TOF timer and the process is not complete, I need to know if I can use anything before TOF block so that when an input is high twice or three times it doesn't resets the TOF block timer instead its save it somewhere and wait for the TOF timer to finish and then move to TOF fb