Raise tool on pause net working in V2.9
- frayja2002
- Offline
- Premium Member
Less
More
- Posts: 151
- Thank you received: 11
27 Mar 2024 10:27 #296879
by frayja2002
Raise tool on pause net working in V2.9 was created by frayja2002
One of the other threads was getting a bit off topic so I thought I should start another thread. ( hope that's OK)
Some time ago cmorley did the programming so that when I press pause the spindle automatically raises out of the work piece & when I press stop the spindle goes to the home switches.
This is a great thing as it stops the work piece from burning while the spindle spins down & allows access to the job when a program is cancelled.
It works under Linuxcnc 2.10 however it is under development & occasionally things change unexpectedly.
I would like the get this function to work on 2.9 (which is more stable) however when I go to start Linuxcnc with the same config I get
custom_postgui.hal:6: Pin 'qtdragon.external-eoffset-state' does not exist
If i comment this out I get ...
custom_postgui.hal:13: Pin 'qtdragon.eoffset-spindle-count' does not exist
I'm not sure what these lines actually do & weather I need them but looking back at the previous thread....
forum.linuxcnc.org/qtvcp/49921-qtdragon-...-run?start=10#280421
So I think they are needed
Does anyone know if it is possible to get this working in V2.9 & how?
Attached are the relevant files
Thanks in advance.
Alex
Some time ago cmorley did the programming so that when I press pause the spindle automatically raises out of the work piece & when I press stop the spindle goes to the home switches.
This is a great thing as it stops the work piece from burning while the spindle spins down & allows access to the job when a program is cancelled.
It works under Linuxcnc 2.10 however it is under development & occasionally things change unexpectedly.
I would like the get this function to work on 2.9 (which is more stable) however when I go to start Linuxcnc with the same config I get
custom_postgui.hal:6: Pin 'qtdragon.external-eoffset-state' does not exist
If i comment this out I get ...
custom_postgui.hal:13: Pin 'qtdragon.eoffset-spindle-count' does not exist
I'm not sure what these lines actually do & weather I need them but looking back at the previous thread....
forum.linuxcnc.org/qtvcp/49921-qtdragon-...-run?start=10#280421
So I think they are needed
Does anyone know if it is possible to get this working in V2.9 & how?
Attached are the relevant files
Thanks in advance.
Alex
Please Log in or Create an account to join the conversation.
28 Mar 2024 12:36 #296996
by cmorley
Replied by cmorley on topic Raise tool on pause net working in V2.9
How did you download linuxcnc?
Please Log in or Create an account to join the conversation.
- frayja2002
- Offline
- Premium Member
Less
More
- Posts: 151
- Thank you received: 11
29 Mar 2024 10:44 - 29 Mar 2024 11:18 #297090
by frayja2002
Replied by frayja2002 on topic Raise tool on pause net working in V2.9
Downloaded debian 12 from their web site & installed Linuxcnc from the repositories.
Currently on LINUXCNC - 2.9.0~pre1+git20230208.f1270d6ed7
Thanks
Alex
Currently on LINUXCNC - 2.9.0~pre1+git20230208.f1270d6ed7
Thanks
Alex
Last edit: 29 Mar 2024 11:18 by frayja2002.
Please Log in or Create an account to join the conversation.
29 Mar 2024 20:20 #297138
by cmorley
Replied by cmorley on topic Raise tool on pause net working in V2.9
Ok. Debian's official version is way behind and I don't think it will be updated.
buildbot version would have all the latest updates.
for bookworm a deb from here should work:
buildbot2.highlab.com/debian/dists/bookw...uspace/binary-amd64/
this would give you the latest bug fixes to date.
I'm sure there is and ISO version from linuxcnc's website too.
That would give you the latest released version 2.9.2
Hopefully someone else can advise you the best way if that is how you wish to go.
buildbot version would have all the latest updates.
for bookworm a deb from here should work:
buildbot2.highlab.com/debian/dists/bookw...uspace/binary-amd64/
this would give you the latest bug fixes to date.
I'm sure there is and ISO version from linuxcnc's website too.
That would give you the latest released version 2.9.2
Hopefully someone else can advise you the best way if that is how you wish to go.
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
- frayja2002
- Offline
- Premium Member
Less
More
- Posts: 151
- Thank you received: 11
06 Apr 2024 10:13 #297675
by frayja2002
Replied by frayja2002 on topic Raise tool on pause net working in V2.9
Perhaps some-one can advise me on this.
I have uninstalled the dist LinuxCNC (from deb 12) & installed the deb files from the link above (LINUXCNC - 2.9.2-168-ge7cd5217d9)
However now every time I go to run my gcode I get the following errors (always line 105)
Sat06 20:58: Started program from line 1
Sat06 20:58: Linear move on line 105 would exceed Y's negative limit
Sat06 20:58: Linear move on line 105 would exceed joint 1's negative limit
Sat06 20:58: invalid params in linear command
Sat06 20:58: error parameter is [3.000000]
Sat06 21:02: Cannot switch pages while in AUTO mode
Sat06 21:02: Cannot switch pages while in AUTO mode
Sat06 21:02: Loaded program file : /home/alex/linuxcnc/nc_files/network/Documents/_01_cnc_g_code/Spiral_test.ngc
Sat06 21:02: Loaded file /home/alex/linuxcnc/nc_files/network/Documents/_01_cnc_g_code/Spiral_test.ngc
Sat06 21:02: Loaded program file : /home/alex/linuxcnc/nc_files/network/Documents/_01_cnc_g_code/flur_de_lys_04.ngc
Sat06 21:02: Loaded file /home/alex/linuxcnc/nc_files/network/Documents/_01_cnc_g_code/flur_de_lys_04.ngc
Sat06 21:03: Started program from line 1
Sat06 21:03: Linear move on line 105 would exceed Y's negative limit
Sat06 21:03: Linear move on line 105 would exceed joint 1's negative limit
Sat06 21:03: invalid params in linear command
Sat06 21:03: error parameter is [3.000000]
Sat06 21:03: Loaded program file : /home/alex/linuxcnc/nc_files/network/Documents/_01_cnc_g_code/V-Carve 10.ngc
Sat06 21:03: Loaded file /home/alex/linuxcnc/nc_files/network/Documents/_01_cnc_g_code/V-Carve 10.ngc
Sat06 21:03: Started program from line 1
Sat06 21:03: Linear move on line 105 would exceed Y's negative limit
Sat06 21:03: Linear move on line 105 would exceed joint 1's negative limit
Sat06 21:03: invalid params in linear command
Sat06 21:03: error parameter is [3.000000]
Please note I have tried several different files & these have been run previously & worked.
I am in the middle of the table & nowhere near the y limit.
I have included a copy of one of the gcodes.
Thanks
Alex
I have uninstalled the dist LinuxCNC (from deb 12) & installed the deb files from the link above (LINUXCNC - 2.9.2-168-ge7cd5217d9)
However now every time I go to run my gcode I get the following errors (always line 105)
Sat06 20:58: Started program from line 1
Sat06 20:58: Linear move on line 105 would exceed Y's negative limit
Sat06 20:58: Linear move on line 105 would exceed joint 1's negative limit
Sat06 20:58: invalid params in linear command
Sat06 20:58: error parameter is [3.000000]
Sat06 21:02: Cannot switch pages while in AUTO mode
Sat06 21:02: Cannot switch pages while in AUTO mode
Sat06 21:02: Loaded program file : /home/alex/linuxcnc/nc_files/network/Documents/_01_cnc_g_code/Spiral_test.ngc
Sat06 21:02: Loaded file /home/alex/linuxcnc/nc_files/network/Documents/_01_cnc_g_code/Spiral_test.ngc
Sat06 21:02: Loaded program file : /home/alex/linuxcnc/nc_files/network/Documents/_01_cnc_g_code/flur_de_lys_04.ngc
Sat06 21:02: Loaded file /home/alex/linuxcnc/nc_files/network/Documents/_01_cnc_g_code/flur_de_lys_04.ngc
Sat06 21:03: Started program from line 1
Sat06 21:03: Linear move on line 105 would exceed Y's negative limit
Sat06 21:03: Linear move on line 105 would exceed joint 1's negative limit
Sat06 21:03: invalid params in linear command
Sat06 21:03: error parameter is [3.000000]
Sat06 21:03: Loaded program file : /home/alex/linuxcnc/nc_files/network/Documents/_01_cnc_g_code/V-Carve 10.ngc
Sat06 21:03: Loaded file /home/alex/linuxcnc/nc_files/network/Documents/_01_cnc_g_code/V-Carve 10.ngc
Sat06 21:03: Started program from line 1
Sat06 21:03: Linear move on line 105 would exceed Y's negative limit
Sat06 21:03: Linear move on line 105 would exceed joint 1's negative limit
Sat06 21:03: invalid params in linear command
Sat06 21:03: error parameter is [3.000000]
Please note I have tried several different files & these have been run previously & worked.
I am in the middle of the table & nowhere near the y limit.
I have included a copy of one of the gcodes.
Thanks
Alex
Please Log in or Create an account to join the conversation.
06 Apr 2024 10:52 #297677
by MaHa
Replied by MaHa on topic Raise tool on pause net working in V2.9
On new installation, offsets are sometimes set to machine zero. If you intend to use G54, touchoff G54 x y at desired position, it should work
Please Log in or Create an account to join the conversation.
- frayja2002
- Offline
- Premium Member
Less
More
- Posts: 151
- Thank you received: 11
06 Apr 2024 22:37 - 06 Apr 2024 22:51 #297719
by frayja2002
Replied by frayja2002 on topic Raise tool on pause net working in V2.9
I'm not quite sure what you mean with that.
I have included some further screenshots.
The offsets are set to the middle of the table & you can see by pics that the job is well within the bounds of the machine
Is there some other way to set them?
Please note also I believe there is no Y axis movement in line 105.
Alex
I have included some further screenshots.
The offsets are set to the middle of the table & you can see by pics that the job is well within the bounds of the machine
Is there some other way to set them?
Please note also I believe there is no Y axis movement in line 105.
Alex
Last edit: 06 Apr 2024 22:51 by frayja2002.
Please Log in or Create an account to join the conversation.
06 Apr 2024 23:35 #297723
by cmorley
Replied by cmorley on topic Raise tool on pause net working in V2.9
The lines outside the box are surely the problem.
Please Log in or Create an account to join the conversation.
- frayja2002
- Offline
- Premium Member
Less
More
- Posts: 151
- Thank you received: 11
07 Apr 2024 00:13 #297725
by frayja2002
Replied by frayja2002 on topic Raise tool on pause net working in V2.9
oops..
That's the line for the remapped M6 routine. I had pinched the computer of another machine with the touch off button in a different location.
The error doesn't say which file the error is in although it should have been obvious.
Thanks for pointing this out.
I have changed the parameters in M6 and now everything is working as it should including the pause button.
Again thanks for persevering with me to solve this.
One last question,,,
At some stage i may setup a usb board to control the machine remotely, Can I link one of the buttons to the pause function & still get it to raise the head. What HAL pin should I link it to.
Alex
That's the line for the remapped M6 routine. I had pinched the computer of another machine with the touch off button in a different location.
The error doesn't say which file the error is in although it should have been obvious.
Thanks for pointing this out.
I have changed the parameters in M6 and now everything is working as it should including the pause button.
Again thanks for persevering with me to solve this.
One last question,,,
At some stage i may setup a usb board to control the machine remotely, Can I link one of the buttons to the pause function & still get it to raise the head. What HAL pin should I link it to.
Alex
Please Log in or Create an account to join the conversation.
07 Apr 2024 00:49 #297729
by cmorley
Replied by cmorley on topic Raise tool on pause net working in V2.9
ok I'm glad you stuck with it!
Do you want it to always automatically raise the spindle on pause? Right now you must press the 'spindle pause' button. That button currently does not have a pin associated with it.
Most people use HALUI for conecting with an operator panel, but it is not going to intergrate well with the spindle pause without some work.
HALUI pause will work fine but the HALUI resume function will not wait for qtdragon to lower the spindle before resuming the program.
This is a bit of a weak spot for qtdragon/linuxcnc.
We could probably find a work around.
Do you want it to always automatically raise the spindle on pause? Right now you must press the 'spindle pause' button. That button currently does not have a pin associated with it.
Most people use HALUI for conecting with an operator panel, but it is not going to intergrate well with the spindle pause without some work.
HALUI pause will work fine but the HALUI resume function will not wait for qtdragon to lower the spindle before resuming the program.
This is a bit of a weak spot for qtdragon/linuxcnc.
We could probably find a work around.
Please Log in or Create an account to join the conversation.
Moderators: cmorley
Time to create page: 0.098 seconds