Pause and restart program do not work in G02 and software frozen

Post Reply
aldoo
Posts: 40
Joined: Sat Feb 09, 2019 6:23 pm

Pause and restart program do not work in G02 and software frozen

Post by aldoo »

Hi, we have tested linear interpolation without problems, and now we are testing circular interpolation.
Let me explain what happens.
The program start right and doing the interpolation with G02, but when we pause and restart the program after, we get error on the screen and the software frozen, even the hardkeys (M5 mainly) connecteds do not respond, we have to hit E-Stop button for stop the spindle and the program, but the software still frozen. Some time I have noticed when I restart the single board computer from TTY1 and If I do not hit the E-Stop button before for stop the spindle and the program, the program is still running even while the SBC is restarting, like the program is loaded in a kind of buffer.
Please help! Photos attached and G-code.
Regards.

Code: Select all

G54 G17 G80 G21
M3 S3600
G0 A0
G0 Z0
G0G90 X0.0Y0.0
G0Z0.0
M98 P100 L180
G90G0Z0.0
M5
G80
M30
(SUBRUTINE)
O100
G91G01Z-0.3F500
G01X-11.0Y0.0F1200
G02X22.0Y0.0R11
G02X-22.0Y0.0R11
G1X11.0
M99
IMG-20200615-WA0018.jpg
IMG-20200615-WA0021.jpg

ivan
Posts: 292
Joined: Tue Apr 16, 2019 5:30 pm
Location: Ottawa, Canada

Re: Pause and restart program do not work in G02 and software frozen

Post by ivan »

Hi there! This is obviously not intended behaviour, we will be taking a closer look at the problem to see what the issue might be. In the meanwhile, please attach your latest profile with your settings so we can take a look at it as well.

ivan
Posts: 292
Joined: Tue Apr 16, 2019 5:30 pm
Location: Ottawa, Canada

Re: Pause and restart program do not work in G02 and software frozen

Post by ivan »

From your screenshots, I can see you are on the 1.88.3619 - the latest modifications and bug fixes to subroutines in myCNC have been done around March 2020 in version 1.88.3815. I'd recommend updating to the latest version to get access to those fixes.

I've also modified the program code you've attached to not use G91, but instead switch to G90 (absolute programming):

Code: Select all

G54 G17 G80 G21
M3 S3600
G0 A0
G0 Z0
G0G90 X0.0Y0.0
G0Z0.0
#10=0
#11=0
M98 P100 L180
G90G0Z0.0
M5
G80
M30
(SUBRUTINE)
O100
#10 = #10 - 0.3
G90 G1 Z#10
#11 = #11 - 11
G90G01X#11Y0.0F1200
#11 = #11 + 22
G90G02X#11Y0.0R11
#11 = #11 - 22
G90G02X#11Y0.0R11
#11 = #11 + 11
G90G1X#11
M99
Despite not encountering any crashes, stopping and resuming the program does not work correctly with incremental programming (G91). In this video, you can see that the behaviour is correct with G90 for the code above:

youtu.be/HGwkF79PTIE

Post Reply