Strange behaviour after program stop button pressed in axis
- RichJordan
- Offline
- New Member
Less
More
- Posts: 16
- Thank you received: 0
17 Dec 2018 23:52 #122540
by RichJordan
Hi all,
I have had some trouble with the execute stop button in axis. When pressed the spindle stops but he axes do some random moves. This tends to mean bad things happen such as tool getting jammed into the job (wooden stock). This seems wrong for this to be happening. Have I set up something wrong perhaps?
I have a parport controller and a huanyang vfd controlled by a 485 interface. I also think I have the latest version but I can double check that if it's important.
Cheers
Richard
I have had some trouble with the execute stop button in axis. When pressed the spindle stops but he axes do some random moves. This tends to mean bad things happen such as tool getting jammed into the job (wooden stock). This seems wrong for this to be happening. Have I set up something wrong perhaps?
I have a parport controller and a huanyang vfd controlled by a 485 interface. I also think I have the latest version but I can double check that if it's important.
Cheers
Richard
Please Log in or Create an account to join the conversation.
18 Dec 2018 09:39 #122560
by pl7i92
Replied by pl7i92 on topic Strange behaviour after program stop button pressed in axis
Hi
Does this also Happen if you Press Escape instead of the Stop Button
Maybe you pressed the Pause Button
As This behavior woudt show up
Does this also Happen if you Press Escape instead of the Stop Button
Maybe you pressed the Pause Button
As This behavior woudt show up
Please Log in or Create an account to join the conversation.
- RichJordan
- Offline
- New Member
Less
More
- Posts: 16
- Thank you received: 0
19 Dec 2018 01:38 #122585
by RichJordan
Replied by RichJordan on topic Strange behaviour after program stop button pressed in axis
Hi
Pressing the Esc or e-stop does not generate this problem.
The pause button works fine it was definitely the stop button behaving badly.
Pressing the Esc or e-stop does not generate this problem.
The pause button works fine it was definitely the stop button behaving badly.
Please Log in or Create an account to join the conversation.
19 Dec 2018 15:58 #122598
by pl7i92
Replied by pl7i92 on topic Strange behaviour after program stop button pressed in axis
can you tell here your Software in use
Operation system Kernal and Linuxcnc Version
From where did you get it
Operation system Kernal and Linuxcnc Version
From where did you get it
Please Log in or Create an account to join the conversation.
- RichJordan
- Offline
- New Member
Less
More
- Posts: 16
- Thank you received: 0
19 Dec 2018 20:29 #122610
by RichJordan
Replied by RichJordan on topic Strange behaviour after program stop button pressed in axis
I'll get those details tonight
Please Log in or Create an account to join the conversation.
- RichJordan
- Offline
- New Member
Less
More
- Posts: 16
- Thank you received: 0
21 Dec 2018 07:59 #122677
by RichJordan
Replied by RichJordan on topic Strange behaviour after program stop button pressed in axis
I have my system installed from the wheezy 2.7 iso available on the linuxcnc website. I am currently running 2.7.12
Please Log in or Create an account to join the conversation.
- RichJordan
- Offline
- New Member
Less
More
- Posts: 16
- Thank you received: 0
21 Dec 2018 08:52 #122679
by RichJordan
Replied by RichJordan on topic Strange behaviour after program stop button pressed in axis
So I have found some time to do some debugging here. I found not all g-code runs would produce the same error. This helped me trace it down to a line that the Fusion 360 post processor is adding after the tool change (M6 T5):
G43 Z7.35 H5
Removing this line stops the error. I tried removing the Z7.35 and having only G43 H5 but the move after a stop command still occurs.
I would assume this means there is a tool length offset for this tool somewhere I don't know where to find. The Z value in the tool table (which I have been assuming is the tool length offset) is zero. Any idea why it does this?
Clearly I can remove the line but I'd like to understand the behaviour.
Richard
G43 Z7.35 H5
Removing this line stops the error. I tried removing the Z7.35 and having only G43 H5 but the move after a stop command still occurs.
I would assume this means there is a tool length offset for this tool somewhere I don't know where to find. The Z value in the tool table (which I have been assuming is the tool length offset) is zero. Any idea why it does this?
Clearly I can remove the line but I'd like to understand the behaviour.
Richard
Please Log in or Create an account to join the conversation.
- RichJordan
- Offline
- New Member
Less
More
- Posts: 16
- Thank you received: 0
21 Dec 2018 09:13 #122680
by RichJordan
Replied by RichJordan on topic Strange behaviour after program stop button pressed in axis
After reading the G43 description I am wondering if the recent addition of the 'tool touch off with probe' sim that ships with LinuxCNC might be part of this issue. I have a spindle with collets (cant set the tool length the same between changes) and I think I am running the manual tool changer - is this a potential problem?
Please Log in or Create an account to join the conversation.
24 May 2020 00:50 - 24 May 2020 00:50 #168752
by cadcam
Replied by cadcam on topic Strange behaviour after program stop button pressed in axis
I just got caught with this and F'd everything.
I'm not sure this has always been the case... or that it's a Fusion issue. The only thing that has changed for me is linuxcnc - currently on 2-9-0.
Did you get anywhere with this?
It appears to only occur on the mill, not lathe (I use fusion for both). From what I can see, STOP does not stop until DTG on all axis is 0. And that's a problem!!
I'm not sure this has always been the case... or that it's a Fusion issue. The only thing that has changed for me is linuxcnc - currently on 2-9-0.
Did you get anywhere with this?
It appears to only occur on the mill, not lathe (I use fusion for both). From what I can see, STOP does not stop until DTG on all axis is 0. And that's a problem!!
Last edit: 24 May 2020 00:50 by cadcam.
Please Log in or Create an account to join the conversation.
24 May 2020 03:42 - 24 May 2020 03:43 #168762
by PCW
Replied by PCW on topic Strange behaviour after program stop button pressed in axis
This seems to be a 2.9 bug:
github.com/LinuxCNC/linuxcnc/issues/865
One suggestion (from rmu) is to add
260 emcTaskPlanClose();
+++ emcTaskPlanReset();
after line 260 in emctask.cc
This fixes the issue in my simulations, but AFAIK no task expert has looked at this yet
github.com/LinuxCNC/linuxcnc/issues/865
One suggestion (from rmu) is to add
260 emcTaskPlanClose();
+++ emcTaskPlanReset();
after line 260 in emctask.cc
This fixes the issue in my simulations, but AFAIK no task expert has looked at this yet
Last edit: 24 May 2020 03:43 by PCW.
Please Log in or Create an account to join the conversation.
Time to create page: 0.112 seconds