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 > G-Code Programing


G-Code Programing Discuss G-code programing and problems here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 05-26-2008, 02:23 AM
 
Join Date: Feb 2008
Location: uk
Posts: 19
tturnbull50 is on a distinguished road
Machine freezing

When running a programme the machine freezes on a particular tool, after reset, it runs, after pallet change it drills one hole then freezes again, NO alarms. I have tried changing the tool No etc.. no luck. Particular part of prog is same for tap other than G84 depth etc. Can anyone help?
Thanks in advance.
Tom
Reply With Quote

  #2   Ban this user!
Old 05-26-2008, 02:29 AM
dcoupar's Avatar  
Join Date: Mar 2003
Location: USA
Posts: 2,312
dcoupar is on a distinguished road

What machine? What control? Please post "snippet" of the program where it freezes.
Reply With Quote

  #3   Ban this user!
Old 05-26-2008, 02:36 AM
 
Join Date: Feb 2008
Location: uk
Posts: 19
tturnbull50 is on a distinguished road
Thanks for speedy reply

Daewoo, fanuc o-m control,
T100
M6 (TAPPING DRILL 1/4 BSP)
#1 =54
WHILE[#1 LE57 ]DO1 (No OF OFFSETS)
G90 G0 G#1 X0. Y0. S1500 M3
G43 Z100.H100 M8 T101
G83 G98 Z-24.R5.Q14.5.F300
G0 Z100.
#1 =#1+1
END1
freezes when it reaches g55 x0y0
Reply With Quote

  #4   Ban this user!
Old 05-26-2008, 02:46 AM
dcoupar's Avatar  
Join Date: Mar 2003
Location: USA
Posts: 2,312
dcoupar is on a distinguished road

Is this code part of a macro, or part of the main program? To be honest, I've never tried running DO loops in the main. Have you tried coding it long hand to see if the problem's with the macro language or something else?

T100
M6 (TAPPING DRILL 1/4 BSP)
G90 G0 G54 X0. Y0. S1500 M3
G43 Z100.H100 M8 T101
G83 G98 Z-24.R5.Q14.5.F300
G55 X0. Y0.
G56 X0. Y0.
G57 X0. Y0.
G0 Z100.
Reply With Quote

  #5   Ban this user!
Old 05-26-2008, 02:51 AM
 
Join Date: Feb 2008
Location: uk
Posts: 19
tturnbull50 is on a distinguished road

Part of a much larger prog, the rest run fine but for some reason this one doesnt, mostly programmed offine via copy and paste, so loop works but on this one???? just wondered if there was a parameter wrong as I dont have book cant check it out.
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 05-26-2008, 03:20 AM
 
Join Date: Nov 2004
Location: ireland
Posts: 18
Ciaran is on a distinguished road

Are you dripfeeding the large program? I had this problem before and eventually found that when the screensaver or monitor power managment flicked on on the computer feeding the machine the machine would freeze with the spindle still running.Problem is that it is always in and around the same place making you think there is a problem with your program.Try running just the part causing the problem.

Also could be sub routines as some contollers prefer long hand programs.


Hope this may help,
Cheers
Reply With Quote

  #7   Ban this user!
Old 05-26-2008, 04:39 AM
 
Join Date: Nov 2006
Location: UK
Posts: 121
ChattaMan is on a distinguished road
Decimal point

Look at your G83 block

G83 G98 Z-24.R5.Q14.5.F300

You have two points in your number for Q

Last edited by ChattaMan; 05-26-2008 at 04:42 AM. Reason: edit
Reply With Quote

  #8   Ban this user!
Old 05-26-2008, 08:08 AM
beege's Avatar  
Join Date: Feb 2008
Location: USA
Posts: 518
beege is on a distinguished road

And if that doesn't work after you fix that extra decimal point, try using #100 instead of #1
Reply With Quote

  #9   Ban this user!
Old 05-26-2008, 04:01 PM
 
Join Date: Oct 2006
Location: U.S.
Posts: 15
Red Frog is on a distinguished road

Originally Posted by beege View Post
And if that doesn't work after you fix that extra decimal point, try using #100 instead of #1
I can agree with you beege. I try to stay away from 10 as well.
LE ? Perhaps a "<>" could replace this?
Reply With Quote

  #10   Ban this user!
Old 05-26-2008, 11:15 PM
dcoupar's Avatar  
Join Date: Mar 2003
Location: USA
Posts: 2,312
dcoupar is on a distinguished road

I don't believe "<>" is a valid Fanuc operator. Or... I could be mistaken.
Attached Thumbnails
Click image for larger version

Name:	Fanuc 0M Macro Operators.jpg‎
Views:	71
Size:	48.1 KB
ID:	60308  
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 05-26-2008, 11:42 PM
WayneHill's Avatar  
Join Date: Mar 2004
Location: Michigan
Posts: 777
WayneHill is on a distinguished road

"<>" = not equal to. "NE"
__________________
Wayne Hill
www.codemangler.com
Reply With Quote

  #12   Ban this user!
Old 05-27-2008, 07:57 AM
 
Join Date: Mar 2008
Location: USA
Posts: 4
AS9100 is on a distinguished road
Freezeing

Is it possible that you need to cancle the G54 Modal command before the machine will pick up the G55?/
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
madcam freezing skankpile MadCAM 8 03-21-2008 09:55 PM
freezing stepper Designsync Stepper Motors and Drives 6 12-31-2007 06:10 PM
freezing plate ilan General Metalwork Discussion 1 10-23-2007 10:32 AM
freezing plate ilan General Metalwork Discussion 0 10-23-2007 03:27 AM
freezing plate ilan General Metalwork Discussion 0 10-23-2007 03:16 AM




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