Gmoccapy - spindle restarts at program stop
- HalaszAttila
- Offline
- Premium Member
-
Less
More
- Posts: 142
- Thank you received: 5
14 Dec 2023 23:36 - 15 Dec 2023 06:51 #288177
by HalaszAttila
Gmoccapy - spindle restarts at program stop was created by HalaszAttila
Hello,
I found a weird problem in the newest Linuxcnc (v2.9.1) with gmoccapy gui (3.4.6). The problem is with spindle signals. When a running program stops with Program Stop button from gmoccapy, or with halui.program.stop signal, the spindle does not stop (in the previous versions, on program stop, the spindle is stopped too). Better say, as you can -see on screenshot- the spindle stops a short time, and sets back again. I tested it on my own configs, and in simulations too, and in both cases the behavior is the same. If i press 5x-10x the physical button linked to halui.program.stop, 1x-2x stops the spindle, and does not restart it. If the spindle stopped, and press the Program Stop button again (phisical button -> halui.program.stop) the spindle started. It is very dangerous!!!
Has anyone encountered this error?I found another problem in gmoccapy:
forum.linuxcnc.org/gmoccapy/50994-gmocca...ack-commanded-actual
I found a weird problem in the newest Linuxcnc (v2.9.1) with gmoccapy gui (3.4.6). The problem is with spindle signals. When a running program stops with Program Stop button from gmoccapy, or with halui.program.stop signal, the spindle does not stop (in the previous versions, on program stop, the spindle is stopped too). Better say, as you can -see on screenshot- the spindle stops a short time, and sets back again. I tested it on my own configs, and in simulations too, and in both cases the behavior is the same. If i press 5x-10x the physical button linked to halui.program.stop, 1x-2x stops the spindle, and does not restart it. If the spindle stopped, and press the Program Stop button again (phisical button -> halui.program.stop) the spindle started. It is very dangerous!!!
Has anyone encountered this error?I found another problem in gmoccapy:
forum.linuxcnc.org/gmoccapy/50994-gmocca...ack-commanded-actual
Attachments:
Last edit: 15 Dec 2023 06:51 by HalaszAttila.
Please Log in or Create an account to join the conversation.
15 Dec 2023 07:02 - 15 Dec 2023 07:05 #288188
by Aciera
Replied by Aciera on topic Gmoccapy - spindle restarts at program stop
Yes, I can reproduce this in a sim config, I've had other issues with gmoccapy and qtdragon on some computers lately like this one:
github.com/LinuxCNC/linuxcnc/issues/2753
The problems seem to depend on the hardware and look like race conditions between the realtime and the non-realtime (ie gui) parts of linuxcnc. Axis Gui still seems to be solid.
Rather unsettling and difficult to troubleshoot I'm afraid.
[edit]
There are others as well:
github.com/LinuxCNC/linuxcnc/issues/2630
github.com/LinuxCNC/linuxcnc/issues/2753
The problems seem to depend on the hardware and look like race conditions between the realtime and the non-realtime (ie gui) parts of linuxcnc. Axis Gui still seems to be solid.
Rather unsettling and difficult to troubleshoot I'm afraid.
[edit]
There are others as well:
github.com/LinuxCNC/linuxcnc/issues/2630
Last edit: 15 Dec 2023 07:05 by Aciera.
Please Log in or Create an account to join the conversation.
- HalaszAttila
- Offline
- Premium Member
-
Less
More
- Posts: 142
- Thank you received: 5
15 Dec 2023 07:22 #288190
by HalaszAttila
Replied by HalaszAttila on topic Gmoccapy - spindle restarts at program stop
Thank you, then i will roll back to preveous version of linuxcnc. Unfortunately, because the new gmoccapy looks very good.
Please Log in or Create an account to join the conversation.
- HalaszAttila
- Offline
- Premium Member
-
Less
More
- Posts: 142
- Thank you received: 5
15 Dec 2023 08:14 #288200
by HalaszAttila
Replied by HalaszAttila on topic Gmoccapy - spindle restarts at program stop
Attachments:
Please Log in or Create an account to join the conversation.
16 Dec 2023 14:05 #288328
by zz912
Replied by zz912 on topic Gmoccapy - spindle restarts at program stop
Is it same bug?
github.com/LinuxCNC/linuxcnc/issues/2631
github.com/LinuxCNC/linuxcnc/issues/2631
Please Log in or Create an account to join the conversation.
16 Dec 2023 14:58 - 16 Dec 2023 15:20 #288334
by Aciera
Replied by Aciera on topic Gmoccapy - spindle restarts at program stop
Attachments:
Last edit: 16 Dec 2023 15:20 by Aciera.
Please Log in or Create an account to join the conversation.
16 Dec 2023 15:02 #288335
by Aciera
Replied by Aciera on topic Gmoccapy - spindle restarts at program stop
Current content is:
As we only want to select a single line it seems wrong to keep increasing the buffer size.
try:
buffer = glRenderMode(GL_RENDER)
except OverflowError:
self.select_buffer_size *= 2
continue
break
As we only want to select a single line it seems wrong to keep increasing the buffer size.
Please Log in or Create an account to join the conversation.
16 Dec 2023 15:11 - 16 Dec 2023 15:11 #288336
by Aciera
Replied by Aciera on topic Gmoccapy - spindle restarts at program stop
Also
does not seem to catch the error in the first place.
except OverflowError:
does not seem to catch the error in the first place.
Last edit: 16 Dec 2023 15:11 by Aciera.
Please Log in or Create an account to join the conversation.
16 Dec 2023 15:25 #288339
by Aciera
Replied by Aciera on topic Gmoccapy - spindle restarts at program stop
I have created a pull request:
github.com/LinuxCNC/linuxcnc/pull/2792/files
github.com/LinuxCNC/linuxcnc/pull/2792/files
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
- HalaszAttila
- Offline
- Premium Member
-
Less
More
- Posts: 142
- Thank you received: 5
28 Dec 2023 14:55 #289250
by HalaszAttila
Replied by HalaszAttila on topic Gmoccapy - spindle restarts at program stop
Hello,
is this Spindle Stop/Restart bug fixed in newest release (v2.9.2)?
is this Spindle Stop/Restart bug fixed in newest release (v2.9.2)?
Please Log in or Create an account to join the conversation.
Time to create page: 0.142 seconds