Is it Gedit, Axis, or is it me ?

More
13 years 4 months ago #36012 by grey1beard
This has never occurred before, and I am at a complete loss to understand it, or how to get round it.
I'm continuing to edit a page of G-code which has worked on my current sim instalation of Axis 2.6.0~pre for a week or so.
However, testing a few changes while I get to understand how to nest a G10 instruction inside a repeated loop, suddenly Axis can't read an M30 instruction at the end !

I've managed to get a screen shot, which shows my code, including the last line, M30, and the Axis window, along with the error window.
(Please ignore the quality of the code as I'm still learning ! )

Other files don't produce this effect.
I've tried rebooting, altering the position of the M30 - putting it in the middle of the code- and changing it to M2, but it flatly refuses to have it.
I've also tried a % sign, whatever that is supposed to do.
Any ideas or suggestions ?

John

EDIT If I comment out the O101 repeat [3] and O101 endrepeat lines, it recognises the M30 line OK ... :unsure:

Please Log in to join the conversation.

  • cradek
  • New Member
  • New Member
More
13 years 4 months ago #36018 by cradek
Replied by cradek on topic Is it Gedit, Axis, or is it me ?
You've got slightly bogus gcode, that's all. You have
Code:
o100 do o101 repeat ... o100 while ... o101 endrepeat

You need either both o101 inside the o100 loop, or both o101 outside the o100 loop.
The way you have it does not make sense.

Please Log in to join the conversation.

More
13 years 4 months ago #36027 by grey1beard
ooops.
Thanks cradeck.
Must get my brain checked !

Curious that it should decide to not recognise the M30 code though, rather than the earlier error ?
Regards
John

EDIT
Just spotted that the o101endrepeat was wrong - I'd used figure 0 instead of letter o.
Changed that and the M30 problem vanished, but left me with still trying to sort out my repeats from my circular drillings !

Please Log in to join the conversation.

Time to create page: 0.080 seconds
Powered by Kunena Forum