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 > Fanuc


Fanuc Discuss Fanuc controllers here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 10-22-2008, 12:58 PM
 
Join Date: Jun 2006
Location: usa
Posts: 38
yoshi900 is on a distinguished road
G28 question

I got a question about G28, homing the Z axis on a Fanuc OM-D.

currently, all my program at the end of each tool, there is a line:
G91 G28 Z0.

and it homes the Z axis to the machine zero. which is working fine.
the machine has the umbrella type tool changer, and the Z axis has to come down Z-4.8566 to do tool change. so right now, the z axis would go all the way up to Z0, then come down again to Z-4.8566 when it does tool change for the next tool.

Is there anyway to send it directly to Z-4.8566 instead of Z0? I have tried putting in:
G91 G28 Z-4.8566

but it actually wanted to go down -4.8566 from the last cutting position, and then still go to home Z0. so definitely that didn't work.

If anyone has any solution or suggestion to try, I would appreciated it.
Reply With Quote

  #2   Ban this user!
Old 10-22-2008, 01:07 PM
 
Join Date: Jul 2005
Location: Canada
Posts: 11,563
Geof will become famous soon enough

You should be able to use G53 (G90) G00 Z-4.8566

G53 tells the machine to use machine coordinates.

The G90 may not be needed, I just wanted to emphasize this is an absolute move.
__________________
An open mind is a virtue...so long as all the common sense has not leaked out.
Reply With Quote

  #3   Ban this user!
Old 10-22-2008, 01:18 PM
 
Join Date: Jun 2006
Location: usa
Posts: 38
yoshi900 is on a distinguished road

Originally Posted by Geof View Post
You should be able to use G53 (G90) G00 Z-4.8566

G53 tells the machine to use machine coordinates.

The G90 may not be needed, I just wanted to emphasize this is an absolute move.
Thank you Geof. That worked perfect!
Reply With Quote

  #4   Ban this user!
Old 10-22-2008, 01:45 PM
tnik's Avatar  
Join Date: Aug 2006
Location: USA
Posts: 258
tnik is on a distinguished road

you could also try to not send z home.. eg.

.......
G00 Z1. M09 (last movement away from part, kill coolant)
T3 M06 (do a tool change)

Not all controllers/machines require you to send things home before a tool change. I know on our haas I can call up a tool change and it will stop the spindle and send the spindle up for a toolchange.
__________________
Just when you thought you had it all figured out, all hell breaks loose..
Reply With Quote

  #5  
Old 10-22-2008, 02:13 PM
HuFlungDung's Avatar
Moderator
 
Join Date: Mar 2003
Location: Canada
Posts: 4,825
HuFlungDung is on a distinguished road

That sounds like kind of a nuisance sort of problem, almost like the setup parameters are not quite correct. I would think the machine should find its Z index on startup, call that point Z+4.8566 (via an internal parameter setting which would define the position), and then move to G53Z0 as the last step of the homing routine.
__________________
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

Sponsored Links
  #6   Ban this user!
Old 10-22-2008, 02:21 PM
 
Join Date: Jun 2008
Location: United States
Posts: 1,507
stevo1 is on a distinguished road

Tnik, That will usually depend on the MTB if the tool change was written into the ladder using the M6 or if there is a tool change macro. I am not firmilar with Hass but I would assume that if your machine does all of that automatically that you have a macro unless the Haas comes standard like that. I know on the Fanucs most of the time when the tool change is built into the ladder it is very basic and need to be in the right position when programming the M6.

I agree with you it is much easier when you add a macro for the tool change. Then you don't have to worry about anything. All you have to do is program T#M6 from any point in the machine.

On All of our machines I have the machine go to Z position tool change then Y postion. Cancel coolant and spindle off. Change tools cancel offset, reinstate current tool offset with no tool movement, get speed and feed for the tool, and skip the tool change if the tool your calling is already in the spindle.

Stevo
Reply With Quote

  #7   Ban this user!
Old 10-22-2008, 02:41 PM
tnik's Avatar  
Join Date: Aug 2006
Location: USA
Posts: 258
tnik is on a distinguished road

Stevo,

Yea, It is probably a macro that it comes with, I have other fanuc machines here that are picky about what axis is home or not for a tool change..

yea, normally each block ends like:

G00 Z(safe rapid height) M09
G28 G91 Z0. M05
G28 Y0.
M01

Just because thats how I have my post processor setup..

Unless I have a production job.. Then any movements I can take out I do..
__________________
Just when you thought you had it all figured out, all hell breaks loose..
Reply With Quote

  #8   Ban this user!
Old 10-22-2008, 02:59 PM
 
Join Date: Jun 2008
Location: United States
Posts: 1,507
stevo1 is on a distinguished road

Tnik thats the way I have most of my macros set up for the tool change. Depends on how I have my reference postions set up for home postion in the machine.

Sorry Huflungdung I over typed you in my last post and didn't see your post.

He is spot on with how it should be set up. On some of my machines with a rotary table I have the machine postion for the first point postion set to the center of the table for Z so G53Z0 does not get me to my tool change postion. However if appears for what Yoshi900 is trying to accomplish if the floating reference point or first through fourth coordinate value are set to the tool position of 4.8566 then programming a G53Z0, or G30, or G30.1 will take you to the tool change position.

Stevo
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 05:37 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