![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| |||
| |||
Hello all I´m trying to get Mach3 work with a zero tool indicator with a built in switch that connects to the Mach 3 inputs. I want to slowly lower the Z axis util it touches a plate and triggers the microswitch. Then it should back off until the switch opens again (like homing) and write this value plus the hight of the zero indicator device directly into the Z DRO. This will give me z zero between tool changes. Preferably it should do three "probings" on a row, calculate the mean value and use this for setting the Z DRO. Using G31 will write the values to a file, and it doesn´t back off like homing does. Is there a way to do this? Many thanks ye all! |
|
#2
| ||||
| ||||
| This might get you started. Z axis touch plate
__________________ Gerry Mach3 2010 Screenset http://home.comcast.net/~cncwoodworker/2010.html (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management) |
|
#3
| |||
| |||
It work a treat! Thanks! Just have to do some additioal lines to get it to touch a couple of times. Haven´t figured out yet how to store three measurements and do the average of them, but i think that will be solved soon. manyhanks for your quick reply! Pete |
|
#5
| ||||
| ||||
| Instead of using SetDRO, I think there's a GetDRO that will let you get the current Z position. Store it in a variable, and repeat two more times and take your average. Now how does the average relate to the switch?
__________________ Gerry Mach3 2010 Screenset http://home.comcast.net/~cncwoodworker/2010.html (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management) |
| Sponsored Links |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
| |