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 03-02-2010, 10:50 PM
Donkey Hotey's Avatar  
Join Date: Nov 2007
Location: USA
Posts: 1,636
Donkey Hotey is on a distinguished road
G53 Machine Coordinates and G90 / G91

I had a problem today that really stumped me. I'm dealing with a new seat of Mastercam and their latest Haas post. It seems that one setting or another seems to be using G91 after an operation. Being modal until the next operation, is what caused me the problem.

When I am building programs in Mastercam, I do manual entries like the following for part flips:

Code:
G53 X-30.0 Y0.0 Z0.0
M00
(Flip part against back jaw)
The idea is to position the table up front, where the operator (me) can change the part and restart. Now the problem:

I ran the program and for some reason, it was sending the table to the upper right corner of the cabinet at every one of those entries. Today, I moved the vise and the same program suddenly had an 'X travel' alarm.

That pointed to some kind of relative referencing problem with G90 vs G91. That did turn out to be the problem It was taking my G53 move and interpreting it in relative coordinates.

And finally my question to all of you who knew this and are laughing at me: WTF would I ever do with relative machine coordinates? I mean--seriously--if I want to move up 10" in Z, I sure as heck don't need to declare G53 to do it. I can stay in my current work system and just call the machine move. What difference would G53 make?

A machine coordinate is machine coordinate. What have Gene's software guys been smoking or what obvious use have I obviously overlooked for using relative machine coordinates?
__________________
Greg
Reply With Quote

  #2   Ban this user!
Old 03-02-2010, 11:46 PM
 
Join Date: Jul 2009
Location: Canada
Posts: 42
colton_m is on a distinguished road

Well there is one logical possibility,

If you had an extremely long tool and wanted to dodge clamps when sending the table towards the door for a part-flip...

Technically you could call the machine co-ordinate system, then select g91 and move the table to the left or right in X to a safe distance (without doing any math). then add a g90 and send y to 0 (bringing the table towards the door.

G53 G91 X3.0 G90 Y0.

I agree with you though it seems strange
Reply With Quote

  #3   Ban this user!
Old 03-02-2010, 11:58 PM
Donkey Hotey's Avatar  
Join Date: Nov 2007
Location: USA
Posts: 1,636
Donkey Hotey is on a distinguished road

Originally Posted by colton_m View Post
Technically you could call the machine co-ordinate system, then select g91 and move the table to the left or right in X to a safe distance (without doing any math).
I don't need G53 to do that move. That's my point: a relative move is a relative move, no G53 required.
__________________
Greg
Reply With Quote

  #4   Ban this user!
Old 03-03-2010, 08:39 PM
 
Join Date: Jul 2005
Location: Canada
Posts: 11,565
Geof will become famous soon enough

To some extent work coordinates, G54, 55, etc., are irrelevant when you are in G91 incremental mode. If your machine was in G91 and you had the command G54X10. Y10. Z10.0 you would not be surprised if the machine simply made the incremental move. Why should you be surprised if it behaves the same way when you specify G53 while in incremental?
__________________
An open mind is a virtue...so long as all the common sense has not leaked out.
Reply With Quote

  #5   Ban this user!
Old 03-03-2010, 08:50 PM
Donkey Hotey's Avatar  
Join Date: Nov 2007
Location: USA
Posts: 1,636
Donkey Hotey is on a distinguished road

It bothers me because I don't consider it a work offset. It's a commanded, machine position. Again: what use is there for an incremental machine coordinate?

I'm stumped because some programmer at Haas had to decide how G53 would behave in the code. I see an advantage to it always being non-modal machine coordinates. I don't see any advantage to incremental. What am I missing?
__________________
Greg
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 03-03-2010, 09:05 PM
 
Join Date: Jul 2005
Location: Canada
Posts: 11,565
Geof will become famous soon enough

Originally Posted by Donkey Hotey View Post
It bothers me because I don't consider it a work offset. It's a commanded, machine position.....
I think you are looking at it wrong; but then again maybe I am because I am currently in New Zealand with an upside down view.

G54 is a work coordinate system that uses a position defined by you in machine coordinate. You have no problem with making an incremental move when G54 is active.

G53 uses the machine coordinates as the work coordinate system; no different than leaving G54 at 0.0 for all the axes. The machine treats all work coordinate systems the same with respect to incremental moves; i.e., it does not use them, it just does the incremental shift.

P.S. don't expect another immediate reply, I am going offline to take in my washing and get ready for dinner.
__________________
An open mind is a virtue...so long as all the common sense has not leaked out.
Reply With Quote

  #7   Ban this user!
Old 03-03-2010, 10:24 PM
 
Join Date: Nov 2006
Location: US
Age: 26
Posts: 181
Ydna is on a distinguished road

The main case where I use G53 is specifically in incremental situations, but it's not actually something that *couldn't* be done using a G91 incremental code instead. In my case I'm calling a number subroutine (0 through 9) for serial numbers based on a macro that increments for each part. I move the G53 over by the width of the number for each digit....but the only reason I do this though is because I originally posted the number code in G90 absolute and haven't gone back to re-post each of the digit programs

I could think of reasons to use G53 in some manually-programmed cases but ultimately I think it's just another way of doing the same job by coming at it from a different angle (figuratively).
Reply With Quote

  #8   Ban this user!
Old 03-07-2010, 09:34 AM
 
Join Date: Apr 2008
Location: us
Posts: 8
ach59 is on a distinguished road

I think if you just use
G90G28X-30.Y0Z0
you will get what what you want
Reply With Quote

  #9   Ban this user!
Old 03-07-2010, 11:54 AM
Donkey Hotey's Avatar  
Join Date: Nov 2007
Location: USA
Posts: 1,636
Donkey Hotey is on a distinguished road

Yeah, there are a dozen ways around the problem but, the fact remains that there is no valid use for relative G53 addressing.

"What is your address?"

"Three houses from the corner."

"No, what is your mailing address?"

"North of the big brick house."

"How about GPS coordinates?"

"On which planet?"

Your address is your address. In a CNC machine, a machine coordinate is a machine coordinate...period. That's how G53 should work.

It's been a learning experience and a disappointing one at that.

Now if I could find out why/how Mastercam is inserting that stupid move, I could kill it. On a VF-5XT, when it goes home, the table is off on the left side of the cabinet and the left vise is completely inaccessable. That means I have to manually edit everything that comes out of Mastercam.
__________________
Greg
Reply With Quote

  #10   Ban this user!
Old 03-07-2010, 01:23 PM
 
Join Date: Nov 2006
Location: US
Age: 26
Posts: 181
Ydna is on a distinguished road

You might be able to find the code in the Masterclam post script. Not sure if you have experience with that before, but some codes are in the script but others are buried in the actual "operations" that can't be edited. It might be worth a look though.
If you send me the post I can give it a whirl if you don't want to bother. I only say that since I've never ran into that with any of the posts I use....I'm kinda thankful too
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 03-07-2010, 01:53 PM
Donkey Hotey's Avatar  
Join Date: Nov 2007
Location: USA
Posts: 1,636
Donkey Hotey is on a distinguished road

I took a 5-minute look through the post and came up with nothing. I'm going to dig deeper next week. Thanks for the offer, though.
__________________
Greg
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
How to zero machine coordinates??? Frogblender Mach Mill 4 08-04-2009 12:36 PM
zero machine coordinates stoneyreef Mach Software (ArtSoft software) 1 05-08-2009 02:50 AM
G92 coordinates monaro mike Fanuc 12 07-28-2008 07:27 AM
G31 uses machine coordinates? kerryveenstra Tormach PCNC 1 04-27-2007 01:45 AM
FanucOM machine coordinates bcdnm Fanuc 5 11-22-2006 05:29 AM




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