I don't know IF I ever mention this trick. It allows yoou to create a button that records your points in a points file.
'Macro Record Points
Message"New Point"
Zmv= (GetDro(2)+.0001)
Code"G31Z"&Zmv
While Ismoving()
Wend
Message"Point Recorded"
End
You would open the points file with a M40 call at the MDI. Then you assign a name for the file.
Next jog or move to a point to be recorded, press the button. Next move /jog to the next point and repeat,press the button. Each time you press the button MACH3 records the xyz points to the point file.
When you are done then at the MDI type M41 to close the file.
Works fine when nothing else will quite do the job. Can be use as a simple MACH3 DMM.
(;-) TP
(;-) TP