Hi!
Did you try it already?
I have a similar problem, I use 4 trigger when distance=1 before a PTP motion then after it an other trigger when distance=0.
The second trigger when distance=0 that is alone doesnt work.
I am thinking to use subprogram or handle bool as signal like an integer an give a value for it.