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 12-06-2007, 03:46 AM
 
Join Date: Jul 2007
Location: USA
Posts: 19
jlong58 is on a distinguished road
Thumbs down out of range alarm

Hi; I've got a problem with a haas machining center that I have been tasked to edit some code on. At the risk of sounding like a total newbie, I don't know at this minute what model the machine is, as I am sitting at home and the machine is in a shop 2oo miles away. When I get to work today I can find out which model, but I don't have internet access at work and I am hoping someone might make a suggestion before then.
OK, here is my problem. They have been running this machine in a production enviroment to machine aluminum castings. They have sent the machine to a vendor to have it retrofitted with laser tool-break sensors. We have another machine on which this has already been done, and I am trying to use basically the same code for this one. The machine runs the first tool and then the check code goes like this:
g80 g53 g0 z0
g90 g53 x-2.6 y-10.2
g53 z43.5
[if #1019 eq 0 goto500] (with 500 being a non-existant line so the machine will fault
Basically the x-2.6 y-10.2 z43.5 puts the tool in the path of the laser, and if the #1019 doesn't see 0 it faults out the machine.
The problem is everytime the machine reads this it throws an overtravel range alarm on the x axis and will not move to the location. I can move the spindle to the location in MDI mode with no problem, but it won't go there in auto.
These same commands supposedly work fine on another machine just like this one, but the guy who wrote the code is no longer available.
I would add that I know virtually nothing about Haas machines, but I am fairly competent on fanucs
Reply With Quote

  #2   Ban this user!
Old 12-06-2007, 08:49 AM
Donkey Hotey's Avatar  
Join Date: Nov 2007
Location: USA
Posts: 1,636
Donkey Hotey is on a distinguished road

I'm fairly green to this stuff but I'm seeing G53 in your code, not G54. Which work offset are you using?

< snip >

Your Z values also say 43 inches. I assume that you know this and it's just a typo. I don't know of any Haas machines with 43 inches of Z travel (or that really is your problem).

That's my guess. Now somebody will come along an make me look stupid

edit: yes, somebody came along and made me look stupid.
I was thinking of G52, not G53. DOH!
__________________
Greg

Last edited by Donkey Hotey; 12-06-2007 at 09:57 AM.
Reply With Quote

  #3   Ban this user!
Old 12-06-2007, 09:14 AM
 
Join Date: Oct 2003
Location: USA
Age: 36
Posts: 493
Edster is on a distinguished road

I think g53 is the machine coordinate system.

What is the g53 z43.5 line? how much z travel does the machine have?
Reply With Quote

  #4   Ban this user!
Old 12-06-2007, 10:09 AM
 
Join Date: Sep 2007
Location: USA
Posts: 116
SeymourDumore is on a distinguished road

G53 is machine coordinate.
On the Haas anyway, the absolute home of 0,0,0 is at the upper right of your table and toolchange position on Z. All machine coordinates are negative from there.
The 43.5" of Z travel sounds god awful much to begin with, but the definiate problem is that it's positive.
Reply With Quote

  #5   Ban this user!
Old 12-08-2007, 04:20 AM
 
Join Date: Jul 2007
Location: USA
Posts: 19
jlong58 is on a distinguished road

Sorry it took so long to reply. I got called out of town unexpectedly. Should have stated up front that the program is metric, so the z 43.5 is millimeters not inches
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 12-08-2007, 08:29 AM
Donkey Hotey's Avatar  
Join Date: Nov 2007
Location: USA
Posts: 1,636
Donkey Hotey is on a distinguished road

Originally Posted by SeymourDumore View Post
but the definiate problem is that it's positive.
If 'tool change' (all the way up) is zero, then a positive 43mm is still out of range. As SeymoreDumore already posted: did you mean Z-43.5?
__________________
Greg
Reply With Quote

  #7   Ban this user!
Old 12-08-2007, 09:02 AM
 
Join Date: Aug 2005
Location: USA
Posts: 578
PBMW is on a distinguished road

In other words, the farthest it can go is G53 Z0.0
G53 Z43.5 is above the stop. Thus the alarm
Reply With Quote

  #8   Ban this user!
Old 12-08-2007, 09:20 AM
 
Join Date: Jul 2005
Location: Canada
Posts: 11,565
Geof will become famous soon enough

Originally Posted by PBMW View Post
In other words, the farthest it can go is G53 Z0.0
G53 Z43.5 is above the stop. Thus the alarm
Not necessarily correct. With a carousel changer Z0.0 is the position where the shuttle moves in and the spindle lifts to Z+3.5 or something like that for the tool change. Some machines will actually go up to Z+4.something on the Z. Side mount tool changer machines do not do this because the changer arm drops to pull the tool out.

EDIT: 43mm is less than 2 inches.
__________________
An open mind is a virtue...so long as all the common sense has not leaked out.
Reply With Quote

  #9  
Old 12-08-2007, 12:13 PM
HuFlungDung's Avatar
Moderator
 
Join Date: Mar 2003
Location: Canada
Posts: 4,825
HuFlungDung is on a distinguished road

Is this a VMC? When you say you can move to that position in MDI, are you observing the position displays and the machine coordinate readout when you have jogged to that position?

Apart from that, you could try removing the G90 from in front of the G53, as it serves no purpose. Moves in the machine coordinate system are always absolute moves, and perhaps the presence of the G90 might mess with the command logic somehow. I never tried it
__________________
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

  #10   Ban this user!
Old 12-08-2007, 12:45 PM
 
Join Date: Jul 2005
Location: Canada
Posts: 11,565
Geof will become famous soon enough

Just a thought. I guess you typed the lines of code in your post. Are you sure on the machine that the X command is G53 X-2.6? I have made the mistake a few times of doing something like G53 X2.6 and failing to see the missing - for a long time.
__________________
An open mind is a virtue...so long as all the common sense has not leaked out.
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 12-08-2007, 01:57 PM
 
Join Date: Sep 2007
Location: USA
Posts: 116
SeymourDumore is on a distinguished road

In metric it is possible to have that 43mm in the positive direction, but is that really the place where the tool sensor is at?
Reply With Quote

  #12   Ban this user!
Old 12-09-2007, 06:18 AM
 
Join Date: Jul 2007
Location: USA
Posts: 19
jlong58 is on a distinguished road

yes it is the location of the laser. I was thrown into this deal after the guy who originally was involved refused to have any more to do with it, and the guy on the other end (who wrote the macro arguments) left the company. The problem I have is that the machine is in a vendors shop 150 miles from me.
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
Mid range design #1 CNCadmin Open Source CNC Machine Designs 101 01-23-2011 10:03 AM
Mid-range first CNC iXô Open Source CNC Machine Designs 14 09-18-2007 08:42 PM
Refractometers - What Range to Order bill south General Metalwork Discussion 7 05-11-2007 07:56 AM
CNC 35,000 to 50,000 price range deathbot3000 Commercial CNC Wood Routers 16 11-15-2006 01:14 PM
Puma 450 gear range? wjbzone Daewoo/Doosan 0 02-15-2006 06:15 AM




All times are GMT -5. The time now is 06:47 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 354 355 356 357 358 359 360 361