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 01-26-2012, 11:06 AM
 
Join Date: May 2007
Location: USA
Posts: 67
rdoty is on a distinguished road
Fadal won't Z home at program end

My program goes to Z-home for tool changes without a problem but I can't get it to stop at Z-home at the end of the program. It always goes above by the amount of the fixture height which causes the machine to do an E-stop.

I've tried several program endings with no success.

Here's the last few lines of code:

N47 M5 M9
N48 G0 G90
N49 G53 Z0
N50 M6 T9
N51 G0 G90 X-.44 Y0 E3 S4000 M3
N52 H9 Z0.8 M8 P2000
N53 G1 Z0.3 F10.
N54 Z0.8
N55 X0.22 Y-0.381
N56 G1 Z0.3 F10.
N57 Z0.8
N58 X0.22 Y0.381
N59 G1 Z0.3 F10.
N60 M5 M9
N61 G0 G90
N62 G53 Z0
N63 M6 T10
N64 H10 Z0.8 M8
N65 G84 G99 R0+1. Z0.425 F200.2 Q0.03125 P50 X-0.44 Y0 E3
N66 X0.22 Y-0.381
N67 Y0.381
N68 M5 M9
N69 G80 Z5.0
N70 G0 X0 Y5.
N71 M30

I had the same problem with all tool changes before I inserted G0 G90 followed by G53 Z0 and then the head would go to Zhome, do the tool change and proceed.

When I ended the program with G0 G90 and G53 Z0 and M30 the head would go above Zhome and fault.

Then I read that the sub-routine needed to be canceled which should be G80 so I added G80 Z5.0 and the Y move and M30, which I think should stop the program and wait until I reload a part then load the first tool but it doesn't. I'm baffled because all the other tool changes followed by G0 G90/G53 Z0 go to Zhome. What am I missing?
Reply With Quote

  #2   Ban this user!
Old 01-26-2012, 11:17 AM
 
Join Date: May 2004
Location: United States
Age: 48
Posts: 2,217
txcncman is on a distinguished road

Soooo...why don't you end the program with:

G0 G91 G28 Z0
G0 G90 X0 Y5.
M30

I do not think Fadal will do G53. You can try E0 though.
__________________
http://www.kirkcon.com/
Reply With Quote

  #3   Ban this user!
Old 01-26-2012, 12:38 PM
 
Join Date: May 2007
Location: USA
Posts: 67
rdoty is on a distinguished road

Thanks. That works.....sort of.

I'm beginning to think my machine is possessed.

That works except at the very end....the head retracts to Z home, the table moves to the front and then........the head drops down a little, taps one more hole in thin air, and retracts to 0.47 below Z home where it waits patiently for me to recycle, which happens normally.

If you have an answer (I'm even open to exorcism) that's great. As for me I'm off to make parts.

Thanks again for your help.
Reply With Quote

  #4   Ban this user!
Old 01-26-2012, 02:17 PM
 
Join Date: May 2004
Location: United States
Age: 48
Posts: 2,217
txcncman is on a distinguished road

What happened to the G80 Canned Cycle Cancel? Did you take it out?

G80 should come immediate when you want canned hole making cycles to end.
__________________
http://www.kirkcon.com/
Reply With Quote

  #5   Ban this user!
Old 01-26-2012, 02:34 PM
 
Join Date: Sep 2010
Location: Australia
Posts: 733
angelw is on a distinguished road

Originally Posted by rdoty View Post
Thanks. That works.....sort of.

I'm beginning to think my machine is possessed.

That works except at the very end....the head retracts to Z home, the table moves to the front and then........the head drops down a little, taps one more hole in thin air, and retracts to 0.47 below Z home where it waits patiently for me to recycle, which happens normally.

If you have an answer (I'm even open to exorcism) that's great. As for me I'm off to make parts.

Thanks again for your help.
The fact that the control executes another tap cycle, means that the Tap Canned Cycle (Fanuc parlance, Fadal call Canned Cycles Fixed Cycles) has not been canceled. Fadal Fixed Cycles are canceled with G80. After the last coordinate at which the Fixed Cycle is to execute has been programmed, program G80 as shown in the fix of your listed program example to cancel the Fixed Cycle.

N65 G84 G99 R0+1. Z0.425 F200.2 Q0.03125 P50 X-0.44 Y0 E3
N66 X0.22 Y-0.381
N67 Y0.381
N68 G80
N68 M5 M9

The P address may be used to increase or decrease the feed rate out of the hole in a Fixed Tapping Cycle. Use a positive P to increase and a negative P to decrease the feed rate out of the hole. The P address is specified in terms of percentage of the Feed In Rate. Accordingly, in your example P50 would be +50% of the In Feed Rate. Depending on the depth of the hole being tapped and the amount of extension available with the Tap Holder being used, this much increase of feed rate may give you grief.

Sorry txcncman, you Posted whilst I was typing my answer.

Regards,

Bill
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 01-26-2012, 02:37 PM
 
Join Date: Jan 2012
Location: usa
Posts: 2
nash398 is on a distinguished road

would G30 Z0 work just befor the M30
Reply With Quote

  #7   Ban this user!
Old 01-26-2012, 03:02 PM
 
Join Date: Sep 2010
Location: Australia
Posts: 733
angelw is on a distinguished road

Originally Posted by nash398 View Post
would G30 Z0 work just befor the M30
No G30 with the Fadal Control. G28 will work.

Regards,

Bill
Reply With Quote

  #8   Ban this user!
Old 01-30-2012, 12:26 PM
 
Join Date: May 2007
Location: USA
Posts: 67
rdoty is on a distinguished road

Sorry I didn't respond last week...

I did forget to put the G80 back in. Works wonders when you cancel the subroutine!
Also, angelw, you are correct that P50 might cause me grief. I think I originally wanted P5, not P50. Only broke one tap! Small tap (6-32) so it only went PINK!

I spent some time yesterday (Sunday) going over the program speeds and feeds and discovered that my seat-of-the-pants guestimates were off in the wrong direction. I need to slow down!
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
Need Help!- threading program using fadal vcm 18i control cwalter Fadal 1 02-19-2010 01:29 PM
fadal cnc 88 program limitation at line 734? Runner4404spd Fadal 12 03-04-2009 08:21 AM
Fadal work coords & home settings Shizzlemah Fadal 13 11-08-2006 07:57 PM
How do I drip feed a program to my Fadal f.100 Fadal 17 11-15-2004 04:58 AM
How to program G10 for Fadal CNC ? giengtet General CAM Discussion 5 11-20-2003 10:31 PM




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