Gmoccapy - spindle restarts at program stop

More
2 years 10 months ago #289279 by HansU

Hello,

is this Spindle Stop/Restart bug fixed in newest release (v2.9.2)?

No. And I can't reproduce this with a simulation config. I appreciate input on this.

Please Log in to join the conversation.

More
2 years 10 months ago #289280 by HalaszAttila
  I am trying now in v2.9.1, gmoccapy sim.
If i open arcspiral.ngc, or 3dchips.ngc from nc_files, i can't reproduce the problem, but if i open my gcode file (%fej.ngc - attached) the spindle is restarts after i press the program stop gui button.
I will try to find which g code in the file causes this behavior.  
Please try to run and stop the attached file. 

 

Attachment not found

Please Log in to join the conversation.

More
2 years 10 months ago #289283 by HalaszAttila
I think the problem was in the length of the file.
My original gcode file (fej.ngc) has about 12k lines.
I deleted 1k lines from the end of the file (M30 remains on the end of file) while the bug remains.
The Spindle restart bug disappeared if I deleted ~10k lines from the program.
When the file has 3k lines, the spindle restarts after the program stop button is pressed, a file with 2k lines not - works how it needs to.

I think with this method you can reproduce the bug.

Please Log in to join the conversation.

More
2 years 10 months ago #289285 by HansU
Hmm the spindle seems to stop on my machine...

 

Attachment not found

Please Log in to join the conversation.

More
2 years 10 months ago #289312 by HalaszAttila
Hm, interesting. I will check it.
The difference is that I compiled the linuxcnc from source. Dont use preinstalled version comes with ISO, only reason is to compile from source is to increase #define HAL_SIZE (75*4096) in: linuxcnc/src/hal/hal_priv.h, becouse I use many components in HAL.

Please Log in to join the conversation.

More
2 years 9 months ago #290318 by Serg452
faced the same problem yesterday, program about 9,000 lines, LCNC 2.9.2.47

Please Log in to join the conversation.

More
2 years 9 months ago #290746 by HalaszAttila
Hello, you use LinuxCNC installed in ISO, or downloaded the source, and compiled it?

Please Log in to join the conversation.

More
2 years 9 months ago #290855 by Serg452
Update from 2.8 ISO from repo

Please Log in to join the conversation.

More
2 years 1 week ago #312846 by MennilTossFlykune
I assume this is the same issue:

2.10.0-pre0-3740-g5ec17ac2b8

The only way I've been able to reproduce it consistently is by starting and then stopping immediately, but when I recorded this video it happened without fail.
I think it's related to how the state is restored from a state tag after an abort(?).
If I comment out emcTaskStateRestore(); at line 2078 in emctaskmain.cc the spindle doesn't restart.

Please Log in to join the conversation.

More
2 years 1 week ago #312871 by MennilTossFlykune
Here it is in gmoccapy:

If I abort almost immediately with the ESC key, the spindle stays on.
Does not happen with emcTaskStateRestore(); commented out.

Please Log in to join the conversation.

Time to create page: 0.284 seconds
Powered by Kunena Forum