Hello Guest it is December 08, 2024, 03:24:01 AM

Author Topic: New to G-Code, need HLC / tools  (Read 3311 times)

0 Members and 1 Guest are viewing this topic.

New to G-Code, need HLC / tools
« 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,
Re: New to G-Code, need HLC / tools
« Reply #1 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 :)
Fixing problems one post at a time ;)

www.newfangledsolutions.com
www.machsupport.com