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 > Fadal


Fadal Discuss Fadal machinery here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 08-19-2009, 06:35 PM
 
Join Date: Aug 2009
Location: usa
Posts: 5
guido5286 is on a distinguished road
Fadal VMC 15

I am very new at Fadal machines. I have been given the task of writing a new program for this machine, and I dont understand the programming. I do know how to program CNC machines but this is like no other CNC that I've worked with. I don't understand the "subroutine". The other 2 programs that Ihave in the machine have subroutines (L100) is that in the machine? if it is then how do I find it? also I wrote a new program today and it won't run. I'm getting a bad Z or R0 in can cycle statement when I go to "sum". Maybe you guys can catch my mistake. Thanks for any help!


N10G20
N20G17G40G80
N30G90G54G0X0.25Y-0.361S1000M03M8
N40G1.Z0.5F11.
N50M6T6(DRILL)
N60M3S1000
N70G81Z-0.85R1.1F11H6
N80X1.75
N90X3.25
N100X4.75
N110X6.25
N120X7.75
etc....

the machine says the error is in line 70, but I see nothing wrong.
Tweet this Post!Share on Facebook
Reply With Quote

  #2  
Old 08-19-2009, 07:13 PM
Gold Member
 
Join Date: May 2003
Location: USA
Age: 48
Posts: 232
heilcnc is on a distinguished road
fix

hears your fix one thing your z start was below the r value and you forgot G43
and you can not have 2 m commands in 1 line like m3 and m8

N10G20
N20G17G40G80
N30G90G54G0X0.25Y-0.361S1000M03
N35G43X0.25Y-0.361Z1.75H6M8
N40G1Z01.5F11.
N50M6T6(DRILL)
N60M3S1000
N70G81Z-0.85R1.1F11
N80X1.75
N90X3.25
N100X4.75
N110X6.25
N120X7.75
etc....

Last edited by heilcnc; 08-20-2009 at 08:08 PM.
Tweet this Post!Share on Facebook
Reply With Quote

  #3   Ban this user!
Old 08-19-2009, 07:16 PM
jbexplorer's Avatar  
Join Date: Jul 2008
Location: U.S.A.
Posts: 21
jbexplorer is on a distinguished road

I don't see an H offset and the Z is at .5 but the R0 is at 1.1 The Z needs to be the same or higher then the R0 Change it to this.


N30G90G54G0X0.25Y-0.361S1000M03M8
N40G1.Z0.5F11.
N50M6T6(DRILL)
N60M3S1000
E1X0Y0
H6Z.1

N70G81Z-0.85R0+.1F11.M45
N80X1.75
N90X3.25
N100X4.75
N110X6.25
N120X7.75
etc....
Tweet this Post!Share on Facebook
Reply With Quote

  #4   Ban this user!
Old 08-19-2009, 07:27 PM
 
Join Date: Aug 2009
Location: usa
Posts: 5
guido5286 is on a distinguished road

I noticed the Z is lower then the R0 and I changed that at the machine and it still didn't work. but I didn't think about the M43 or having 2 M codes in one line. Thanks alot guys! I'll try those suggestions tomorrow.

Still looking for a little help with the subroutines.
Tweet this Post!Share on Facebook
Reply With Quote

  #5   Ban this user!
Old 08-19-2009, 09:15 PM
 
Join Date: Feb 2005
Location: usa
Posts: 376
little bubba is on a distinguished road

First on a Fadal, you don't need a G43 when calling a height offset, it will take it, but its not necessary. Also M codes, no problem whatsoever with and M3 and an M8 on the same line.

I see several problems, besides the R being higher than than the Z.

N10G20
N20G17G40G80
N30G90G54G0X0.25Y-0.361S1000M03M8
N40G1.Z0.5F11. <--- go to Z .5
N50M6T6(DRILL) <--- change tool which brings you back to H0Z0
N60M3S1000
N70G81Z-0.85R1.1F11H6 <---- calling up a height offset in a canned cycle, not cool.
N80X1.75
N90X3.25
N100X4.75
N110X6.25
N120X7.75


JBexplorers code looks pretty happy to me, though I'm not sure what line 40 is for.

Guido, download the manuals, they are actually fairly easy to understand, also, type MU from the command line and I think it starts from page 29, but the syntax of all the canned cycles is actually in the control if you need a quick reference.
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 08-19-2009, 10:32 PM
 
Join Date: Apr 2008
Location: USA
Posts: 495
SBC Cycle is on a distinguished road

Originally Posted by guido5286 View Post
Still looking for a little help with the subroutines.
If you are familiar with sub programs, user subroutines will feel familiar. Instead of being a separate program, they are inside the program all the way at the top. In Format 2 (maybe 1 also??) they are separated from the main program by an M30. They have a special end of subroutine function denoted by M17

Code:
L100 ( FIRST SUBROUTINE )
G91
X0.5 Y0.866
G90
M17 ( END OF SUB 1 )
L200 ( SECOND SUBROUTINE )
G91
X-1
G90
M17 ( END OF SUB 2 )
L300 ( THIRD SUBROUTINE )
G91
X0.5 Y-.866
G90
M17 ( END OF SUB 3 )
M30 ( END OF ALL SUBROUTINES )
G20 ( FIRST LINE OF MAIN PROGRAM )
G0 G17 G40 G80 G90 (SAFE CODE, USE YOUR OWN! )
T1 M6 (TOOL CHANGE )
S1000 M3 (SET SPINDLE SPEED )
G90 E1 X0 Y0 ( RAPID TO FIXTURE 1, CAN USE G54 INSTEAD OF E1 )
G43 Z3.5 H1 (THE H AND THE G43 ARE TOTALLY REDUNTANT, USE H ALWAYS )
M8
Z0.25 D1
G1 Z-1. F25.
L101 ( RUN SUB 1 ONCE )
L201 ( RUN SUB 2 ONCE )
L301 ( RUN SUB 3 ONCE )
L102 ( RUN SUB 1 TWICE )
L202 ( RUN SUB 2 TWICE )
L302 (RUN SUB 3 TWICE )
G0 Z0.25
M5 M9
G53 Z0
Y8.5 E48
T1 M6
M30
Tweet this Post!Share on Facebook
Reply With Quote

  #7  
Old 08-20-2009, 01:11 PM
DareBee's Avatar
Monkeywrench Technician
 
Join Date: Jan 2004
Location: Stratford, Ont. Canada
Posts: 2,737
DareBee is on a distinguished road

N40G1.Z0.5F11. < you need to remove the decimal point between the G1 and Z as well
__________________
www.integratedmechanical.ca
Tweet this Post!Share on Facebook
Reply With Quote

Reply

Tags
bad z or r0, fadal, fadal vmc, subroutines




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
nc fadal fourperf Fadal 10 02-16-2010 08:10 AM
Need Help!- Advice from Fadal owners, for a (hopefully) new Fadal owner building it all Fadal 23 11-17-2008 04:28 PM
What is your best mod you have done to your Fadal carbidecraters Fadal 51 05-14-2008 12:43 AM
Using a non-Fadal Rotary Table With a Fadal VMC Fudd Fadal 4 03-01-2006 10:46 PM
Fadal EMC YZ426Tony Fadal 7 12-13-2005 02:01 PM




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