CNCzone.com-The Largest Machinist Community on the net!



Home Page Mark Forums Read Today's Posts My Replies Classifieds Reviews Photo Gallery Web Links Share Files Advertise With Us Ad List
Go Back   CNCzone.com-The Largest Machinist Community on the net! > Machine Controllers Software and Solutions > Mach Software (ArtSoft software) > Machines running Mach Software


Machines running Mach Software Discuss your set-up and experiences running your machine using Mach software here.


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 06-14-2006, 06:44 AM
 
Join Date: Jun 2004
Location: Australia
Posts: 258
Moondog is on a distinguished road
Auto Tool Zero

On the main screen of Mach2 there is a button & DRO called Auto Tool Zero?... how does this work?... I cannot find anything relating to this in the documentation.

I am wanting to use an electric tool touch switch for setting Z 0.

How best to achieve this.

cheers


Frans
Tweet this Post!Share on Facebook
Reply With Quote

  #2   Ban this user!
Old 08-15-2006, 05:07 AM
 
Join Date: Jun 2004
Location: Australia
Posts: 258
Moondog is on a distinguished road
Thought I would bring this to the top again.... anybody have any ideads... I am sure the Button is there for a reason.



Originally Posted by Moondog
On the main screen of Mach2 there is a button & DRO called Auto Tool Zero?... how does this work?... I cannot find anything relating to this in the documentation.

I am wanting to use an electric tool touch switch for setting Z 0.

How best to achieve this.

cheers


Frans
Tweet this Post!Share on Facebook
Reply With Quote

  #3  
Old 12-18-2006, 10:50 PM
mikkojay's Avatar
Gold Member
 
Join Date: Mar 2006
Location: USA
Age: 41
Posts: 100
mikkojay is on a distinguished road
Z Axis Zero- I want one too!

OK, My turn...
I have 2 machines- a home-built benchtop mill running Mach2 (see pic) and a Techno-Isel gantry wood router.
My Techno machine has a great software feature, MS Dos no less, that allows for auto tool touchoff.
Here is how it works-
1) place a board in the X-Y pivot point. This lines up to X & Y = zero.
2) place the metallic touchswitch on top of the board
3) start software touchoff process, z axis starts to drop
4) at the instant the tool touches the switch, z backs off a predetermined amount.
5) z height/position is calculated to be touchoff point - switch thickness - distance backed off

It is VERY simple, and works like clockwork, a real no-brainer.

Is there ANY way to do anything comparable with Mach software?

Thanks, Mike
Attached Thumbnails
Click image for larger version

Name:	100_0097.JPG‎
Views:	278
Size:	53.2 KB
ID:	27536   Click image for larger version

Name:	101_0102.JPG‎
Views:	231
Size:	45.8 KB
ID:	27537   Click image for larger version

Name:	101_0101.JPG‎
Views:	213
Size:	48.4 KB
ID:	27538   Click image for larger version

Name:	SENSOR_UNDER_BIT.JPG‎
Views:	332
Size:	94.8 KB
ID:	27539  

Click image for larger version

Name:	start_touch.JPG‎
Views:	232
Size:	103.3 KB
ID:	27540   Click image for larger version

Name:	thick_measure1pt6.JPG‎
Views:	258
Size:	84.1 KB
ID:	27541   Click image for larger version

Name:	touch_done.JPG‎
Views:	178
Size:	91.2 KB
ID:	27542  
__________________
Expensive tools can be cheaper than professional therapy
Tweet this Post!Share on Facebook
Reply With Quote

  #4   Ban this user!
Old 12-18-2006, 11:36 PM
 
Join Date: Oct 2004
Location: usa
Posts: 83
powerr is on a distinguished road
yes but you have to write your own scipt for the button. i've done a couple of the for setting zero and tool length. and when i find them i will post example. if you go to the yahoo mach group you can find examples to get you started under files and probes.
Tweet this Post!Share on Facebook
Reply With Quote

  #5  
Old 12-19-2006, 12:05 AM
mikkojay's Avatar
Gold Member
 
Join Date: Mar 2006
Location: USA
Age: 41
Posts: 100
mikkojay is on a distinguished road
Hey powerr,
If you can dig up a sample, that would be right on!
It sux having a machine that is accurate to .0001, but when you try to set zero on your material, you hold up your thumb, squint, and eyeball it to around .01 or so (if that). That just goes beyond ridiculous man! I want to do some really micro milling now that I have this thing all put together.
Did you notice the touchswitch in my earlier post? It is a spongy base with a metal plate on top. This allows about .5" of "give" so that if the Z axis continues to drop, it won't try to drive the bit down into the switch/work.

Thanks, Mike
__________________
Expensive tools can be cheaper than professional therapy
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 12-19-2006, 01:19 AM
 
Join Date: Jun 2003
Posts: 1,984
turmite is on a distinguished road
Hey guys the Auto tool set button in Mach is just that. I have my machine set up with a permanent switch under the z axis while the machine is homed. My sequence starts like this. I reference the machine when I power up, hit the go to zero's and then place what bit I need for the job in the collet, hit auto tool set and the z axis will lower till the switch is tripped then move 2" above the switch which gives me a know distance above either my table or my 4th axis centerline. Now the newer versions of mach may require tweaking for your own needs but it can be done quite easily.

Mike
__________________
No greater love can a man have than this, that he give his life for a friend.
Tweet this Post!Share on Facebook
Reply With Quote

  #7   Ban this user!
Old 12-19-2006, 03:35 AM
 
Join Date: Nov 2006
Location: Australia
Posts: 34
Syil_Australia is on a distinguished road
I didn't think the Auto Tool Zero on the main screen worked.... Even Art said it wasn't implemented.

However you can use the Z home switch function to Zero your Z axis. If you set up a switch such as a limit switch that is moveable you can position it under your tool and hit the Z reference button. The Z then lowers until it touches the switch and backs off. If your switch is say 20mm you enter this amount in the Home Switch Offset in diagnostics.

Works brilliantly.

cheers

Frans
Tweet this Post!Share on Facebook
Reply With Quote

  #8   Ban this user!
Old 12-19-2006, 10:18 AM
 
Join Date: Jun 2003
Posts: 1,984
turmite is on a distinguished road
I'm still using Mach 2 and it for sure works in 2. I have run 3 but do not remember if I copied my script over from 2 or not. I have a very unique situation that requires I use G92 and my tool set function is scripted using that rather than the tool offsets that I "think" they are trying to implement for the current version. The best way to get a direct answer on this is go to either the mach support site or the yahoo users group. I sometimes don't bother answering questions related to this because of my special use of the function but Moondog sounded desperate!

Mike
__________________
No greater love can a man have than this, that he give his life for a friend.
Tweet this Post!Share on Facebook
Reply With Quote

  #9  
Old 12-19-2006, 11:08 AM
mikkojay's Avatar
Gold Member
 
Join Date: Mar 2006
Location: USA
Age: 41
Posts: 100
mikkojay is on a distinguished road
I like the idea of combining the Z home switch with determining tool height to work surface zero. Last night I wondered about using my Z axis' "bottom" limit switch somehow, since the TRUE bottom limit consists of a tool bit grinding into your table surface! Arghhhhh! My current Z home switch is located about 2/3 towards the top of the Z axis. Why? For lack of a better idea at the time I was mounting it... Thanks for the ideas thus far- I will let you know what happens. I will most likely use a metallic touch switch similar to the one I use on my Isel machine. The +5v will ground on the home switch when the tool bit touches the switch. Then it will back off a reasonable amount. Sounds like a plan. I'll let you know how it goes.
I would like to try cutting a PCB or two, with minimum depth cuts- so accurate Z zero will be very important.
Thanks, Mike
__________________
Expensive tools can be cheaper than professional therapy
Tweet this Post!Share on Facebook
Reply With Quote

  #10  
Old 12-19-2006, 11:40 AM
Gold Member
 
Join Date: Mar 2005
Location: USA
Posts: 582
InspirationTool is on a distinguished road
Mikko, I don't have a switch, but I use a gauge block to set the Z...

Test by sliding block under bit... if it slides, drop .001, if it doesn't, raise .001... lather rinse, repeat.

Much better than by eye

-Jeff
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #11  
Old 12-19-2006, 07:30 PM
mikkojay's Avatar
Gold Member
 
Join Date: Mar 2006
Location: USA
Age: 41
Posts: 100
mikkojay is on a distinguished road
Hey Syil,
I see "origin offset" and "axis offset" in the diagnostics screen, but I do not see one called "Home Switch Offset". Are we talking about Mach 2? I tried the ones I mentioned, and they did not seem to do anything.
I reversed the logic on my Z axis home switch, so now it starts to creep downward while looking for a ground (like I want it to). I am currently faking it out by waving something thru the light sensor to make it stop. It just stops, which is a good start, but I have yet to get it to back off & calculate the "fudge factor" for switch thickness. I am going to splice into my home sensor in order to ground the line with a touch-switch as planned.
Thanks, Mike
__________________
Expensive tools can be cheaper than professional therapy
Tweet this Post!Share on Facebook
Reply With Quote

  #12   Ban this user!
Old 12-21-2006, 08:05 PM
 
Join Date: Oct 2004
Location: usa
Posts: 83
powerr is on a distinguished road
here i one for machine zero. i use this to set the spindle and then apply tool off sets. i would not try to use this on a diffrent machine its just a example that works for me. your best bet is to goto mach home page and look up and read the cutomizing wiki.

feed = getdro(18) 'gets feedrate

If issuchsignal(22) Then 'checks for probe signal

code "g31 z-7 f35" ' fast move to probe/height sensor set z move to your height
While ismoving()
Wend

sensor = getoemdro(85) 'machine z refrence

pullback = sensor + .1 'add .1 to sensor height


code "g53 g01 z" & pullback 'moves the z axis away from sensor
While ismoving()
Wend

nextmove = getoemdro(85) 'get machine z axis

move = nextmove -.11 ' adds .11 to machine axis for slow move down


code "f1" 'changes feed rate
code "g31 z" & move 'moves the z axis to sensor slow
While ismoving()
Wend

ofst = getoemdro(1001) ' dro that i added for the tool height sensor
code "G4P.10" 'pause 10
While ismoving()
Wend

Call SetDRO(2,ofst) ' sets z axis for program

code "g01 z" & ofst + .25 'sets z axis .25 above sensor
While ismoving()
Wend

code "f " & feed 'feedrate back to normal

End If

End

to find the height of my sensor i take the spindle all the way down to the table and use a guage block to set machine zero then set the sensor up and use another set of code to find the sensor height. there is also another set of probe variblesx=(2000),y=(2001),z=(2002) this gets the actual probe point of contact because the spindle will move past this point while it is coming to a stop. i found out about this after i did the code above and just never went back to change it. (thats why i did a fast probe and a slow probe) you guys really need to read the Wiki and look at the files on the mach group under probing. if i felt it was safe i would write some files for you but you never know how others have their machines set up and it's not a risk i want to take with your equipment. play around and keep you e-stop close.
by tha way i can't remember how many times i crash my machine into the probe.

Last edited by powerr; 12-21-2006 at 08:33 PM.
Tweet this Post!Share on Facebook
Reply With Quote

Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





All times are GMT -5. The time now is 03:28 AM.





Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Content Relevant URLs by vBSEO
Template-Modifications by TMS

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353