开云体育

ctrl + shift + ? for shortcuts
© 2025 开云体育

Re: G-code in a macro:Needs more useful examples and docs


Art
 

Actual code is without the paren's as in

code "G0X6"

This will execute a move to 6 in X, haven't tried G53 yet.

Thanks,
Art
www.artofcnc.ca

----- Original Message -----
From: "barker806" <barker1@...>
To: <mach1mach2cnc@...>
Sent: Tuesday, August 05, 2003 2:30 PM
Subject: [mach1mach2cnc] Re: G-code in a macro:Needs more useful examples
and docs


The function as I have it is:
code (LPCTSTR block)
and will execute the commands in the string (VB script variable or
literal) that would be valid as an MDI line.
e.g. code ("F100G1X1Y3") in a macro will feed at 100 units per min
to 1,3
I have been trying to get the g code to run in the macros as well and
have not been successful. I think I am doing it wrong ;o) . Is there
anyone having any luck getting it to work?? What I would like to do
is change the tool change macros (G00 G53 Z-.1).

Thank you
Brian



To unsubscribe from this group, send an email to:
mach1mach2cnc-unsubscribe@...



Your use of Yahoo! Groups is subject to

Join [email protected] to automatically receive all group messages.