macroloop issue

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

macroloop issue

Postby girogiri » Wed Oct 06, 2021 7:55 am

Hi all,

can someone explain why some instructions are bypassed inside a macroloop?
the attacched macro does not execute line 27 : "exec.Code("G0 G53 Z -40");" even if Gcode execution was stopped.
Lately we are facing many similar macroloop issue, are we doing something wrong?

thanks
Giorgio
Attachments
Report.txt
(1.01 KiB) Downloaded 287 times
girogiri
 
Posts: 35
Joined: Fri Jun 19, 2020 2:50 pm

Re: macroloop issue

Postby dezsoe » Mon Oct 25, 2021 3:57 pm

Because you stopped the machine. If you press the stop button then the exec.Ismacrostopped() gets true and exec.Code will exit without doing anything. Try calling exec.Codesync() which clears the Ismacrostopped.
dezsoe
 
Posts: 2068
Joined: Sun Mar 12, 2017 4:41 pm
Location: Csörög, Hungary


Return to Report a bug

Who is online

Users browsing this forum: No registered users and 4 guests