Machsupport Forum
General CNC Chat => Share Your GCode => Topic started by: johnnydoughey on January 07, 2013, 05:33:08 AM
-
I came up with a device for finding the surface height of my material (when bit touches a 1" magnet, it turns on a light). I've been looking for a gcode which I can use to have the bit "SLOWLY"drop until it touches the magnet. I could then use the g00z-1.00 to place the bit on the material surface. What would the code be for ensuring the z goes slow enough to allow me to hit the stop button?
Thanks in advance for the help...
Bill McGuire
-
Hi Bill,
If you use G01 then you could set the feed-rate (F) to any speed that suits your purpose.
Tweakie.
-
yes you could rapid G0 to say g0z-1.25 then g1 f1. z-1. this would be very slow not sure what your using but would you z be z1. insted of a negitave?
-
why would you want to just manualy lower z down to your work leaving the bit loose so it can push it up and down then set and tighten
-
Why not wire the light output into Mach and use G31 to stop the Z axis when it sees the input.