Page 1 of 1

Incorrect program execution

PostPosted: Fri Jun 21, 2024 12:55 pm
by Ruslan
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
%

Re: Incorrect program execution

PostPosted: Fri Jun 21, 2024 1:05 pm
by Ruslan
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?

Re: Incorrect program execution

PostPosted: Tue Jun 25, 2024 4:29 pm
by cncdrive
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.