Thank you Thomas
That was exactly what I needed. Now I got all the logics in place.
There is however a slight delay in the stop command.
I have the modbus refresh rate in the config of mach 3 set to minimum 25ms, but there is a slight delay ater the limit switch is hit. not sure what causes it, but anyway, I think it will work
Thank you, and there might be a question or two down the road.
I will post a screenshot of the screenset when I finish it.
Have a great day, and thanks again Sir
Best reg
Roy