pause spindle using USB pendant

More
2 years 1 month ago #310693 by frayja2002
qtdragon.external-pause is momentary.... This causes qtdragon.spindle-inhibit & spindle.0.inhibit to go high.

If I press the button again the spindle does not restart & the spindle does not lower into the work piece. It just makes air cuts with the spindle paused.

However if I press the spindle paused button (next to reload on the ui) the spindle starts up. I get the dialog box & the spindle lowers to the correct height to continue the program.

I need to find a HAL pin for that spindle paused button.

Thanks
Alex

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

More
2 years 1 month ago #310704 by cmorley
Can you post the qtdragon_handler file?

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

More
2 years 1 month ago #310734 by frayja2002
How do I find the handler file (& what does it do)

Does this mean that qtdragon.external-pause is likely to dissappear the net time I reinstall linuxcnc?

Thanks

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

More
2 years 1 month ago #310740 by cmorley
Maybe the easiest is change the INI setting:
[DISPLAY]
DISPLAY = qtvcp -i qtdragon

and run linuxcnc from the terminal.

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

More
2 years 1 month ago #310775 by frayja2002
Hi there

Attached is the startup of linuxcnc.
I have also attached a copy of the pause_pin.py file referenced.

Thanks
Alex
 

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

More
2 years 1 month ago #310810 by cmorley
That pause_pin.py file is the modification that adds the two new pins.
That's how you got the behavior in 2.9.

anyways try this pause_pin.py file instead off the old one.
Don't forget to connect both of the new pins:

qtdragon.external-pause
qtdragon.external-eoffset-state (to motion.eoffset-active)

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

Moderators: cmorley
Time to create page: 0.128 seconds
Powered by Kunena Forum