Thanks John,
Your method works perfect. code ("F100G1X1Y3")
Todd
--- In mach1mach2cnc@..., "japrenticeuk" <john@c...>
wrote:
--- In mach1mach2cnc@..., "Lee Studley"
<indigo_red@q...> wrote:
Sorry, I didnt mean any offense, just needed to de-murkify my
self:-)
That's very useful, is it mentioned in the docs and I missed it? -
Lee
In regards to the question, "Can
I execute G-Code in a macro, yes, I believe the command is
GCode
("G0X0") for example, but I will have to look this up...
Lee
I am sure no offence has been taken.
The function to execute G-code is documented in manual revision A2 -
sadly this is of little use to you as this revision also covers the
function key screen selection and XML profiles (as in Release
Candidate 7) but, as RC2.2 is still suggested for mainstream use, I
have not published it yet to avoid confusion!
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
Thanks for your input I will definitely improve the explanations -
perhaps everyone should have somethink murky in their life
though ;=)
Best wishes
John Prentice