HIYA RAY, No I use the get/setVAR Or some call them Gcode Vars or some call them System vars. Last I remember there are about 10,320 of them out there. Some are used for Gcode, some for SYSTEM functions and some are persistant( user use) some are for retaining fixture settings etc.
I'll try and find a listing of the Param & Vars available for us. That way we can at least write it down somewhere.
I use macros a lot myself to automate functions such as Bolthole circles, probing, Cord rotation, S/n engrave (consectutive), Cutting circles, thread milling, etc.
There is also a side of GCODE call parametric programming that you would probably like as well.
It would be NICE to start a MACH TOOLBOX online to store usefull macros for us to swap ideas. (IF you are interested) (;-)
Just a thought (;-) TP
Terry,
I'm always happy to share what I've done. I've sent many of my drawings and DXFs out to lots of people.
I kinda like the macros I did yesterday. I made them hierarchical, so there's virtually no duplicated code. I have a single edge finder macro, that provides the core functionality for all the others, then higher-level ones that use that one to perform all the other functions, so most are just a few lines of code. So, for instance, I have 5 macros for edge finding (X+, X-, Y+, Y-, Z-), then one that finds the mid-point between two edges, and one that uses that one for doing center-finding in holes and pockets. Lots of very simple, very small files, but lots fo good functionality. Most important of all *NO* frickin' button scripts!
Regards,
Ray L.