Active pin during halui.program.step

More
09 Nov 2021 06:22 #225780 by GuiHue
Hi everyone,
I'm looking for a  pin that is high while linuxcnc:
- is running a program
and  the program has been paused (halui.program.pause)
and a single step has been triggered (i.e. halui.program.step has received a pulse)

What I'd like to do is blink the LED in my run button while the machine is performing a single step in this mode. I have thus far failed to isolate a suitable pin. Can anyone help?
Thank You.
Best Regards
Guido
 

Please Log in or Create an account to join the conversation.

More
09 Nov 2021 23:18 #225893 by andypugh
I don't know of a pin that does what you need.
motion.motion-type = 0 when stopped, perhaps that works?

Please Log in or Create an account to join the conversation.

Time to create page: 0.118 seconds
Powered by Kunena Forum