Hi
Tks for the help but i am feeling dumb here.
I i think i have done all of that.


In C:\Mach3\macros\Mach3Mill i have M1000 that just has:
SetTriggerMacro(1001)
Message "Ready"
And the Ready prints out when mach3 starts up or i press reset.
M1001 has the code you suggested.
But nothing happens when the pin goes low (running program or not).
To debug i used your code in a button script and that works.
Do not think it is electric issue, since it work for probe and i can see the pin go low in diag screen.
Regards