Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: deleteallusers on May 04, 2007, 03:09:44 PM

Title: New to G-Code, need HLC / tools
Post by: deleteallusers on May 04, 2007, 03:09:44 PM

HLC - High Level Control (like a more flexable programming language)

I'm totaly new to G-Code, but I'm a programmer, I need to...

do somthing like this.

10 g00 X0
20 g00 x-11.9844

30 'and here's really what I need
40 g00 y=y+1
50 if y=11.9844 then goto HOME_IT
60 goto 10

:HOME_IT
g00 x0 y0 z0

********************************
It does not need to be exactly like the above code, I just need
a way to use variables, loops and functions.
It would be nice to be able to define constants, and/or macros also.

Like I said I'm totaly new to G-Code. Is there
a tool I can use to do this ? is it built in ?

Where is a tutoral, How do I do it ?

Thanks,
Title: Re: New to G-Code, need HLC / tools
Post by: Brian Barker on May 04, 2007, 04:08:49 PM
you could make the code with VB... have a look at the wizards and have a look at the Mach2 customization manual.

That will show you how to make code with a VB button on the screen... I think you will like :)