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 07-05-2003, 09:00 AM
tahlinc's Avatar  
Join Date: May 2003
Location: Tucson, AZ USA
Posts: 64
tahlinc is on a distinguished road
Using Fanuc's G28

Mike Lynce at http://www.cncci.com/ helped me understand this.

What he taught me was:
G28 is a two part command.

First part is a rapid move to the coordinate location included with the command in the current coordinate system. This is an intermediate position.

The 2nd part is a rapid move (all at once) to machine zero for the same coordinates listed.

The simplest use of this command is to return Z to machine zero for tool change after making the preparatory move. Since only a move in Z is desired, Z is the only axis listed. Since we do not want the machine to move in Z during the preparatory we use G91 G28 Z0. We could also have used G91 G28 Z.1 that would first rapid up 0.1 then rapid to machine zero. Using Z0 is just simpler.

This command does introduce G91 so be sure to call G90 afterward.

Another use would be to rapid to machine zero in three axis at once (ouch!). First get away from every thing then rapid in all three axis to machine zero.

G91 G28 X0 Y0 Z4

This helped me.
Cheers,
Jim
www.tahlcam.com
Tweet this Post!Share on Facebook
Reply With Quote

  #2   Ban this user!
Old 07-05-2003, 02:54 PM
Paul_S's Avatar  
Join Date: Mar 2003
Location: Mira Loma, California
Posts: 147
Paul_S is on a distinguished road
G28 G53

I program Fadal mills. And they use the G28 different than the Fanuc format. Absoute mode and the code by itself.

N1G28 (typically)

We also have one Haas mill which follows the Fanuc format. But since the code G91G28X0Y0Z0 sends the machine spindle to the far right hand machine home position, I do not like to use it.

Instead I use the machine coordinate system command G53.

(first program blocks)
G90G53Z0
G53X-15.Y0 (machine has a 30 inch X axis travel)

(last program blocks)
G53X-15.Y0
G0G90G40G80T1M6
M30
__________________
Safety - Quality - Production.
Tweet this Post!Share on Facebook
Reply With Quote

  #3  
Old 07-05-2003, 04:32 PM
Rekd's Avatar
Community Moderator
 
Join Date: Apr 2003
Location: teh Debug Window
Posts: 1,877
Rekd is on a distinguished road
Re: G28 G53

Originally posted by Paul_S
I program Fadal mills. And they use the G28 different than the Fanuc format. Absoute mode and the code by itself.

N1G28 (typically)

We also have one Haas mill which follows the Fanuc format. But since the code G91G28X0Y0Z0 sends the machine spindle to the far right hand machine home position, I do not like to use it.

Instead I use the machine coordinate system command G53.

(first program blocks)
G90G53Z0
G53X-15.Y0 (machine has a 30 inch X axis travel)

(last program blocks)
G53X-15.Y0
G0G90G40G80T1M6
M30
The fadal can run either format. If you set it to FORMAT 2 (been years, I think it's 2), it will act more like the HAAS, including G54 offsets instead of E1.

You can change the HAAS code and remove the X move so it won't move the table all the way over.

'Rekd
__________________
Matt
San Diego, Ca

___ o o o_
[l_,[_____],
l---L - □lllllll□-
( )_) ( )_)--)_)

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

  #4   Ban this user!
Old 07-05-2003, 07:23 PM
Paul_S's Avatar  
Join Date: Mar 2003
Location: Mira Loma, California
Posts: 147
Paul_S is on a distinguished road
Format 1

Yes, Fadal format 2 is the Fanuc format on the Fadal. But I prefer not to use it, if I don't have to.

Some codes are not supported. G9 default on the Fadal is what is called a G61 on the Fanuc control. But the default Fanuc G64 milling mode code is equal to the G8 on the Fadal. But G64 & G61 is not supported in the Fadal Fanuc format 2.

Also using the Fadal format I don't need to use G43 with the H word or the D word with G41 or G42.

The Fanuc format only supports fixture offsets G54-G59 (same as the Fadal E1-E6.) The Fadal format uses E1 through E24. The Haas uses after G59, G110, G111, G112 etc.

The Mark Century 2000 control uses both G54-G59 fixture offsets along with E1-E24. So when I programmed that control I used G54 to set one program zero. And used the E offsets 1-8 for all
the others from the G54 offset. Was like having multiple G52 offsets except the E offsets had to set and pickup just as one would the G54-G59.
__________________
Safety - Quality - Production.
Tweet this Post!Share on Facebook
Reply With Quote

  #5   Ban this user!
Old 07-06-2003, 09:21 AM
tahlinc's Avatar  
Join Date: May 2003
Location: Tucson, AZ USA
Posts: 64
tahlinc is on a distinguished road
Re: G28 G53

Originally posted by Paul_S
But since the code G91G28X0Y0Z0 sends the machine spindle to the far right hand machine home position, I do not like to use it.
M30
Yes I see the problem. If you leave out the X and Y it will only home the Z.

G53 is great but not all Fanucs have it.
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 03-04-2008, 09:20 PM
 
Join Date: Mar 2008
Location: USA
Posts: 2
doc_holladay is on a distinguished road
machinist

Use of G28 commands vary from situation to situation. We have some older Motch/Merryweather turret lathes that have a pretty old Fanuc control that has only one offset table, no wear offsets. The only way to ZRN a tool in that situation is to retract the tool to a safe distance, WITHOUT a command to clear the offset, then G28 G91 X0 Z0. If you clear the offset first, the tool will physically repostion itself by the distance equal to the offset's value, which would be the tool's true lengths (X and Z on a turret lathe), possibly resulting in a crash.
On the newer Fanucs, which have wear AND Geometry offsets, The first execution of the G28 command (in G91 mode) physically repositions the tool by an amount equal to the values in the wear offset (usually only a few thousandths inch). The second execution of the G28 command in G91 mode (incremental mode) sends the tool to it's ZRN position. I noted the presence of G91 mode during this command because it is possible to execute a G28 command while in G90 mode (absolute mode). The results of this would be the positioning of the tool, in rapid traverse, to the center of the chuck in X axis and to the Programmed Z zero point, which never ends happily if there's a workpiece in the tool's way.
BUT, this is not always the case, depending on which G code group is being applied. We just got a new 3 axis vertical lathe (X, Z, and C) up and running this week that uses G code Group "A". In this setting, G28 U0 W0 H0 works the same way as the 2 step execution described above with Wear offsets ("U" for X axis, "W" for Z axis, "H" for C axis).
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


Similar Threads
Thread Thread Starter Forum Replies Last Post
CNC lathe tool and work offsets mm4039 General Metalwork Discussion 18 06-15-2005 12:45 PM




All times are GMT -5. The time now is 08:55 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