Incorrect program execution

If you think you've found a bug post it here.

Incorrect program execution

Postby Ruslan » Fri Jun 21, 2024 12:55 pm

Hi. Today I made some part and accidently found incorrect program execution. After execution subprograms 7 times machine starts to make abnormal arc movement(G3 I#108) but it must do circle movement.
Program
O0001
G90 G54
G0 Z100
S2200 M3
#107=98(RADIUS)
#108=-#107
X#107 Y0
Z10 M7(AIR)
G1 Z0 F1000
M98 P1210 L7
G3 I#108
G91 G1 X-0.3
G90 G0 Z80. M5
M30

O1210
G91 G3 I#108 Z-0.5 F1000.
M99
%
Ruslan
 
Posts: 28
Joined: Wed Jan 25, 2023 11:05 am

Re: Incorrect program execution

Postby Ruslan » Fri Jun 21, 2024 1:05 pm

After adding G91 before G3 I#108 the program do what it must. It turns out that G91 is not modal after quiting from subprogram?
Ruslan
 
Posts: 28
Joined: Wed Jan 25, 2023 11:05 am

Re: Incorrect program execution

Postby cncdrive » Tue Jun 25, 2024 4:29 pm

Yes, thats a limitation unfortunately.
It is planned to be fixed, but it was not fixed yet, because it is complicated due to the working of the GC interpreter.
cncdrive
Site Admin
 
Posts: 4887
Joined: Tue Aug 12, 2014 11:17 pm


Return to Report a bug

Who is online

Users browsing this forum: No registered users and 2 guests