QTDragon stop & pause run

More
05 Sep 2023 01:42 #279907 by cmorley
Replied by cmorley on topic QTDragon stop & pause run
I am not pushing out this behavior, but am pushing work to make it possible.
You won't need the stylesheet mod.

Next buildbot upgrade qtdragon will have a couple extra pins like:
qtdragon.spindle-fault-u32

When you see that then I can post the file needed.

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

More
10 Sep 2023 07:53 #280379 by frayja2002
I have updated my install & can see the new pins.

I'm hoping you haven't forgotten about me.;)

Thanks
Alex

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

More
10 Sep 2023 18:36 #280421 by cmorley
Replied by cmorley on topic QTDragon stop & pause run
Here is the file you need to add to your configuration folder.

Then in the INI under [DISPLAY] add:
USER_COMMAND_FILE = CONFIGFOLDER/pause_pin.py

And finally in a postgui file add:
net eoffset-state    qtdragon.external-eoffset-state <= motion.eoffset-active

You must also have auto raise Z on spindle pause working.

Please test very carefully, preferably in air before using.
You could also use these same instructions on one of the qtdragon sim configs to test how it works.

Chris
Attachments:

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

More
13 Sep 2023 08:24 #280608 by frayja2002
Hi there

I have tested this on a machine.

When I hit the stop button it runs returns to the home switches - Prefect. ( MDI_COMMAND = O<b01-go_to_switches> call )

When I hit pause the spindle pause comes on. Also good. However the spindle does not raise out of the material 
While looking on the internet I found this thread. The last entry describes exactly what I was thinking of, but there is no further information on how to do it.

I noticed that when the spindle pause is active, it does not actually stop the spindle. I guess there is something else I have missed.

Is there anything further you can help me with?

Thanks
Alex
 
Attachments:

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

More
13 Sep 2023 12:15 #280625 by MarkoPolo
Replied by MarkoPolo on topic QTDragon stop & pause run
For the spindle to lift, the value in this place must be greater than zero.

The method that Chris did works for me, minor corrections could be made to the button descriptions, but that's a detail.

Marek
Attachments:

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

More
13 Sep 2023 13:05 #280634 by cmorley
Replied by cmorley on topic QTDragon stop & pause run
Did you connect qtdragon.spindle-inhibit to spindle.0.inhibit ?
This is how the spindle is stopped temporarily by Qtdragon.

You have everything setup described here?
linuxcnc.org/docs/2.9/html/gui/qtdragon....xis_on_spindle_pause

As Marek said you also should set the 'spindle raise' setting in the settings tab.

i don't see the link to the thread you reference.

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

More
14 Sep 2023 08:12 - 14 Sep 2023 08:15 #280711 by frayja2002
Sorry I have had some trouble with the forum site timing out. not sure why.

Here is the link I referred to...
forum.linuxcnc.org/38-general-linuxcnc-q...iddle-of-the-program

I have everything setup as per your instructions.
I put the 3 lines in my postgut hal. Does the file name matter so long as its loaded?

I have added to my postgui hal file..
net spindle-stop         qtdragon.spindle-inhibit         spindle.0.inhibit
Which I had missed and now when paused the spindle speed goes to 0

I have the offset set to 20mm in the settings screen although I have now noticed that this is not saving when I exit.
I was working with a copy of my config which had a space in the dir name. Looking at the startup that seemed to be giving an error....

/usr/bin/linuxcnc: line 338: cd: $'/home/alex/linuxcnc/configs\n(copy)': No such file or directory

So I have renamed the dir (without spaces) but it still doesn't seem to be saving the settings. Not sure why?
Even if I set the spindle raise value & then run a program and then hit pause, the spindle goes to 0 speed but does not lift up.

I have added my config files againg incase there is something else I have missed.

Thanks
Alex

PS here is also the terminal text from the start up & shutdown (called error_02.txt even though there is no error)
 
Last edit: 14 Sep 2023 08:15 by frayja2002.

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

More
14 Sep 2023 12:52 #280740 by cmorley
Replied by cmorley on topic QTDragon stop & pause run
I don't see these two lines in your post fui file:

setp axis.z.eoffset-enable 1
setp axis.z.eoffset-scale 1.0

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

More
15 Sep 2023 08:38 - 15 Sep 2023 09:15 #280819 by frayja2002
Yes. That is definitely the problem. it is now working exactly as you described.
Sorry to waste your time. I had looked at the page & thought those lines were only ment for QTDragon_hd. My miss reading.

Do you have any idea why the spindle raise & other settings are not being saved when I exit?

Thanks
Alex

PS with that I noticed if I delete it & let LinuxCNC create a new profile it works (saves) but then I manually edited one of the lines.
shutdown_check = False
And after that LinuxCNC does not save any changes I make. Should we not normally hand edit this file (qtdragon.pref)
In the terminal Inoticed this line is now comming up.
Empty filename passed to function
 
Last edit: 15 Sep 2023 09:15 by frayja2002.

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

More
15 Sep 2023 16:43 #280867 by MarkoPolo
Replied by MarkoPolo on topic QTDragon stop & pause run
This only happens with the Shutdown_check = False option,
other options can be changed manually in the file and qtdragon accepts such changes, this is probably normal behavior.
Another problem is that if you stop using the keyboard, lifting the spindle does not work.
If you stop using the button and resume work from the keyboard, the machine will start but will not lower the spindle.

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

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