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! > MetalWorking Machines > Haas Mills


Haas Mills Discuss Haas machinery here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 06-06-2009, 12:57 AM
metlshpr's Avatar  
Join Date: Dec 2006
Location: usa
Posts: 103
metlshpr is on a distinguished road
Question Probe macro to find flat on A axis

What im doing is screwing a sqare tube onto a threaded shaft fixture an the A axis and would like to make a macro using the probe that would find the flat surface and set my G54 A cord. to that plane. Any help would be great.
Reply With Quote

  #2   Ban this user!
Old 06-06-2009, 11:16 AM
 
Join Date: Jul 2005
Location: Canada
Posts: 11,565
Geof will become famous soon enough

Donkey Hotey where are you?

Or Helicopter John and others.

I have to admit I am less than no help when it comes to probing but you have come up with an application that I could occasionally find useful. Setting the A axis to a particular orientation is sometimes tedious and sometimes a fixture has to be more complex to get the correct part alignment; your approach could simplify the fixture design if the parts could be held at random orientations with the machine sorting it out.
__________________
An open mind is a virtue...so long as all the common sense has not leaked out.
Reply With Quote

  #3  
Old 06-06-2009, 12:18 PM
HuFlungDung's Avatar
Moderator
 
Join Date: Mar 2003
Location: Canada
Posts: 4,825
HuFlungDung is on a distinguished road

Ideas: ask the operator for the diagonal diameter of the part.
Then, command the A axis to zero.
Devise a 2 vector probe sequence based on the following:
-calculate the Y offset required for a touch off at 45 degrees from top dead center. Move the machine to that Y.
-have the probe descend in Z, looking for a touch off point. Store the point.
-do a mathematical comparison to determine if the touch off point occurred within a given window of ranges between R (the radius of the part diagonal) and (R-R/5). You would do this in case the probe came in directly on the corner, or came in on top of a rounded over corner. If the point was in that region, you'd want to reject it, and index the A axis 10 degrees and start over.

-retract the probe to safe height, then offset in Y to the other side of centerline. Probe for the point.

Calculate the arctan of the angle of a line drawn between the collected points and the horizontal plane.

If the arctan is > than 45 degrees then add the derived angle to the current A position and store it in G54 A.
If the arctan is < than 45 degrees, then subtract the derived angle from the current A position. (or I might have the directions inverted, but a trial run should quickly debug that).

Exactly how you'd write that up, I don't know
__________________
First you get good, then you get fast. Then grouchiness sets in.

(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Reply With Quote

  #4   Ban this user!
Old 06-06-2009, 12:53 PM
Donkey Hotey's Avatar  
Join Date: Nov 2007
Location: USA
Posts: 1,636
Donkey Hotey is on a distinguished road

I have not done a single custom probe application yet. I'm eagerly watching these posts and getting ideas. My problem is the syntax of the macros. I get that it has functions. I can read somebody else's code and see abs[#501-5] and know what it's doing but I don't know where to get a list of all of the functions available and what form it wants them in (Haas really needs to publish a decent Macro manual--hint...hint).

My guess would be that you would need to manually index the A-axis to be visibly close, probe two points, trig the height difference into an angle, adjust the A-axis, then verify (probe again). That's kind of how all the other work offset routines work except they don't check their work (the second probing).

I've been thinking about this same thing for determining the 5-axis origin of my T5C. I wanted to use a 5-C with a tooling ball but I can't get my brain around how to find the ball in 3D space, without knowing the position.

I have a solid 5C disk (4") that I bought for that purpose. I figure that the A-axis method above would be the first step (to find horizontal), then it would kick the axis 90 degrees, approach from one side, kick the axis -90 and do the other side. Divide that in half and you have the axis offset distance.
__________________
Greg
Reply With Quote

  #5   Ban this user!
Old 06-06-2009, 02:50 PM
 
Join Date: Jul 2005
Location: Canada
Posts: 11,565
Geof will become famous soon enough

Originally Posted by Donkey Hotey View Post
..... (Haas really needs to publish a decent Macro manual--hint...hint).
Have you searched through the Manual pdf file on the Haas website? I have a copy and it has all the Macro stuff between pages 80 and 111 or something like that. It seems pretty complete and I was able to puzzle through okay for the one and only macro I have ever written.

I read the two procedures you and Hu propose and wonder if it could be done somewhat easier in this particular situation.

The part is square which means no matter what orientation it pulls tight at there is always a flat facing up in some manner. My thoughts are that you could have a macro in which you enter a Y value for the width of the square then probe at plus and minus this value divided by 1.5 to make sure you don't run off the edge. Then it would be a matter of trigonometry to figure out how much to rotate the A axis and which way, to bring the flat level. Maybe do a repeat for better precision then writew the A axis position in machine coordinate into the G54 A register.

Maybe I am missing something because I don't do this sort of thing.
__________________
An open mind is a virtue...so long as all the common sense has not leaked out.
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 06-08-2009, 09:28 PM
 
Join Date: Jul 2007
Location: Australia
Posts: 48
omy005 is on a distinguished road

I have attached a few pages out of the Renishaw manual for HAAS machines that deal with this procedure.

Andrew.
Attached Files
File Type: pdf Renishaw 108-115.pdf‎ (56.9 KB, 91 views)
__________________
VF3+TRT210, VF3, VF2+HRT160, VF2SS+TR160, VF2SS+TR160, VF5TR, VF5TR, VF2SS+HRT-210HSHS,VF2SS+HRT-210HSHS,VF2SS+HRT-210HSHS
Reply With Quote

  #7   Ban this user!
Old 06-08-2009, 10:16 PM
 
Join Date: Jul 2005
Location: Canada
Posts: 11,565
Geof will become famous soon enough

Originally Posted by omy005 View Post
I have attached a few pages out of the Renishaw manual for HAAS machines that deal with this procedure.

Andrew.
I feel vindicated.
__________________
An open mind is a virtue...so long as all the common sense has not leaked out.
Reply With Quote

  #8  
Old 06-08-2009, 10:55 PM
HuFlungDung's Avatar
Moderator
 
Join Date: Mar 2003
Location: Canada
Posts: 4,825
HuFlungDung is on a distinguished road

The gist of my method was to allow a brain dead operator to probe the part without paying any attention to the start orientation of the part.
__________________
First you get good, then you get fast. Then grouchiness sets in.

(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Reply With Quote

  #9   Ban this user!
Old 06-08-2009, 11:06 PM
 
Join Date: Jul 2005
Location: Canada
Posts: 11,565
Geof will become famous soon enough

Originally Posted by HuFlungDung View Post
The gist of my method was to allow a brain dead operator to probe the part without paying any attention to the start orientation of the part.
Yes, I was taking advantage of the symmetry of a square part, my approach and actually the approach in the pdf is not general in application; the brain dead guy would have to be awake enough to rotate the single flat to the top.

But I do have to be honest and confess that this is an application for which I would be inclined to get a probe package for.
__________________
An open mind is a virtue...so long as all the common sense has not leaked out.
Reply With Quote

  #10   Ban this user!
Old 06-09-2009, 01:00 AM
Donkey Hotey's Avatar  
Join Date: Nov 2007
Location: USA
Posts: 1,636
Donkey Hotey is on a distinguished road

Originally Posted by omy005 View Post
I have attached a few pages out of the Renishaw manual for HAAS machines that deal with this procedure.
Don't anybody go getting too cocky about that. That's from the Renishaw Inspection Plus manual. I can say for sure that my 2004 VF-2, with the factory installed probing and software did not have most of the programs described in those pages (even though I was given those manuals when I bought it).

I'm also not optimistic that the newer IPS-driven probing routines include it either. I think programming it on your own may still be the only option for most users.
__________________
Greg
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 06-30-2009, 07:30 AM
 
Join Date: Aug 2005
Location: usa
Posts: 59
mt92 is on a distinguished road

Did anyone get this to work yet?
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


Similar Threads
Thread Thread Starter Forum Replies Last Post
"A" value in probe macro kendo Haas Mills 8 09-24-2008 09:17 AM
probe macro damon1313 Digitizing and Laser Digitizing 0 04-22-2008 03:21 PM
720 interact z axis does not mill flat birdog1952 Bridgeport and Hardinge Mills 4 07-19-2007 02:42 PM
Z axis THK flat or Round linear bearing flash319 Linear and Rotary Motion 6 03-26-2007 02:26 AM
Macro for a probe signal mcash3000 General CNC (Mill and Lathe) Control Software (NC) 3 04-11-2006 01:04 PM




All times are GMT -5. The time now is 12:02 PM.





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 354 355 356 357 358 359 360 361