
- Gcode macro help haas ngc control
-
Member
Gcode macro help haas ngc control
N10 G90 G17
N15 G20
N20 G53 G0 Z0.
IF[[#3901 MOD 10] EQ 0] DO1
G154 P99 G0 XO YO
END1
N330 M5
N335 M9
N340 G53 G0 Z0.
N345 X0.
N350 G53 G0 Y0.
N355 M30
can someone tell me why that macro just loops indefinetly
its on a haas ngc control
it never gets to the end of the program.
and it seems to run the conditional no matter what the value of 3901 is.
Similar Threads:
-
-
Re: Gcode macro help haas ngc control
IF [...] THEN
or
IF [...] GOTO123
...
N123
or
WHILE [...] DO1
...
END1
-
Member
Re: Gcode macro help haas ngc control
it might be that [#3901 mod 10] address #3901 is not overwrite able or that #3901 mod 10 will always be 0?

- Gcode macro help haas ngc control
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules