Is it Gedit, Axis, or is it me ?

More
25 Jun 2013 05:21 - 25 Jun 2013 05:29 #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:
Attachments:
Last edit: 25 Jun 2013 05:29 by grey1beard.

Please Log in or Create an account to join the conversation.

More
25 Jun 2013 09:42 #36018 by cradek
You've got slightly bogus gcode, that's all. You have
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 or Create an account to join the conversation.

More
25 Jun 2013 14:48 - 25 Jun 2013 15:04 #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 !
Last edit: 25 Jun 2013 15:04 by grey1beard.

Please Log in or Create an account to join the conversation.

Time to create page: 0.091 seconds
Powered by Kunena Forum