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 12-12-2007, 05:10 PM
 
Join Date: Dec 2007
Location: USA
Posts: 11
Joe Engel is on a distinguished road
Drilling Problem with IJK

I have a problem with this program.
Could someone try it on their Fadal and see if it does the same thing?

When the G73 with IJK is called the first time, it works fine.
After that it gets erratic.(Initial peck reduces to "K" really quick)
No crashing or anything like that.
Stranglely though, it works fine again on or after a 180 degree rotation.(360/v3)
Then becomes erratic again.
Let me know if it does the same for you or if it works fine.
It should do an initial peck of .3 then reduce by .04(.26, .22, .18 etc)to a mininum of .04(cause of v1 sends you from line 320 to line 324-328) R3=.04

Note: I would not put a tool in T1 and set H1 to -10.00
Set E1 to X0 Y0
I took out M8's
You can just count the pecks per hole.

Thanks in advance,

Joe

%
N1O1(Sample)
#clear
v1=1'for setting speeds and feeds
v2=16'for setting location of y
v3=5'number of patterns for g68
v4=1'height, set tools from bottom of parts
v9=1'set innner bolt circle
v14=360/v3' set degrees
v15=180/v3
N317T1M6(1/4 DRILL)

N318M1

N319(MATERIAL SELECTION)

N320#IF V1=1 THEN GOTO:SF16-1

N321#IF V1=2 THEN GOTO:SF16-2

N322#IF V1=3 THEN GOTO:SF16-3

N323(SET SPEEDS AND FEEDS ACCORDINGLY)

N324#:SF16-1

N325S1500

N326#R9=6.

N327#R3=0.04

N328#GOTO:T16

N329#:SF16-2

N330S2500

N331#R9=10.

N332#R3=0.04

N333#GOTO:T16

N334#:SF16-3

N335S500

N336#R9=1.5

N337#R3=0.025

N338(DRILL 1/4 HOLES)

N339#:T16

N340#R6= ((V2/2)-.5)'1ST Y POSITION

N341G0G90G80X0Y+R6M3E1

N342Z4.H1

N345#R8=1

N346#R7=V14

N347#R6= ((V2/2)-.5)'1ST Y POSITION

N348#R5= ((V2/2)-2.625)'2ND Y POSITION

N349#R4=(V4+.1)'R LEVEL

N350#IF V4 GT 1.275 THEN R1=83

N351#IF V4 LE 1.275 THEN R1=73

N352#:LOOP16

N353G98G+R1X0Y+R6Z-0.125R+R4F+R9I-0.3J0.04K+R3

N354Y+R5

N355G80

N356#R7=V14*R8

N357G68R+R7X0Y0

N358#R8=R8+1

N359#IF R8 LE V3 THEN GOTO :LOOP16

N360#R7=V15

N361G68R+R7X0Y0

N362#IF V9=2 THEN R2=3.3125

N363#IF V9=1 THEN R2=4.6725

N364G98G+R1X0Y+R2Z-0.125R+R4F+R9I-0.3J0.04K+R3

N365Y-R2

N366G80M5M9M49

N367G69

N880(THE END OF PROGRAM)

N882G80

N884G0G40G80M5M9

N885Z0G53

N887X0Y15.Z0E0H0

N888M30

%
Reply With Quote

  #2   Ban this user!
Old 12-13-2007, 09:23 AM
 
Join Date: Jan 2007
Location: USA
Posts: 1,296
Delw is on a distinguished road

I am not good with macros, not even close, I just noticed it looks like you have an r3 value of .040 on 2 lines and and on another line .025
wouldnt that varible need to be a differernt R number?

N327#R3=0.04
N332#R3=0.04
N337#R3=0.025
Reply With Quote

  #3   Ban this user!
Old 12-13-2007, 09:54 AM
 
Join Date: Dec 2007
Location: USA
Posts: 11
Joe Engel is on a distinguished road

No, with V1=1, @ N320, the program goes to(goto) label SF16-1(N324). It reads the information for speed, R9(feed), R3(Min Peck), then GOTO T16(N339) to start the drilling process. Therefore it skipped the other settings. V1 is an earlier input with (3) options, (1,2,3), I just set it as (V1=1) for this example. If it were (V1=2), it would go to SF16-2(N329) etc.
I've even tried it without variables in the G73 line and had the same results.
Are you able to try this on a FadaL?
Reply With Quote

  #4   Ban this user!
Old 12-26-2007, 09:40 AM
 
Join Date: Dec 2007
Location: USA
Posts: 11
Joe Engel is on a distinguished road

Well, to date there's been 107 people look at this. None have attempted to help! I know people are busy. I thought it wouldn't take someone very long to test. Just thought this would get me some results. Perhaps they're afraid of the macro format.
Fadal doesn't email me back anymore. I guess they don't want to bother with it either. My main concern is if a board is going bad or not. I'll try to write my own drilling cycle to get around this.
Thanks Anyway.
Happy Holidays to All!
Reply With Quote

  #5   Ban this user!
Old 12-27-2007, 03:55 PM
 
Join Date: Oct 2006
Location: USA
Posts: 134
donl517 is on a distinguished road

What control are you running?

Have you tried to single block it?

Don
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 12-27-2007, 05:31 PM
Neal's Avatar  
Join Date: Mar 2003
Location: Chatsworth, Ca
Posts: 896
Neal is on a distinguished road

Joe--
The reason that this macro doesn't work is that it violates the restriction of the G68 code:
• CRC can be used after rotation is in effect and should be canceled before G69
is used. A part program cannot be rotated while CRC is in effect.
• Rotation continues until a G69 is coded.
• Fixture offsets are allowed with rotation. The moves to the offsets are not
rotated.
• Rotation must be established prior to Fixed Cycle definitions and affects only
the positions for execution. Fixed cycles and Fixed Subroutines will not be
rotated to another plane.
• All X and Y (or X, Z or Y, Z or X, Y, and Z) positions are required for linear
moves, even if they are zero or non-motion moves.
• In the selected plane, all X, Y, I and J (or X, Z, I, K or Y, Z, J, K) positions are
required for circular moves, even if they are zero or non-motion moves.

Neal
Reply With Quote

  #7   Ban this user!
Old 12-28-2007, 06:45 AM
 
Join Date: Dec 2007
Location: USA
Posts: 11
Joe Engel is on a distinguished road

Neal,
Exactly which code am I violating? As far as I can see, I'm not violating any. Not using CRC, circular moves, or linear moves. And the rotation is established before the Fixed Cycle call. Does "established" mean called or moved into position? Should I put a line in after the G68 to position the XY before the cycle call? Or will this not work at all?
I wrote the subroutine for now. It works faster than the Fixed Cycles anyway. I still would like to understand and resolve the issue for future use.
By the way, thanks for replying.
Joe
Reply With Quote

  #8   Ban this user!
Old 12-28-2007, 07:02 AM
 
Join Date: Dec 2007
Location: USA
Posts: 11
Joe Engel is on a distinguished road

Well, answered my own question. Positioning before the Fixed Cycle call doesn't work. Same results.
Reply With Quote

  #9  
Old 12-28-2007, 07:37 AM
HuFlungDung's Avatar
Moderator
 
Join Date: Mar 2003
Location: Canada
Posts: 4,825
HuFlungDung is on a distinguished road

I notice that you have the sign of the values in your drill cycle as follows:
I-
J+
K+

Have you tried with all positive values? If J and K are reckoned to be in the Z- direction, then I would assume 'I' should be as well. If it is a real bug, it might not work correctly with I+ on the first cycle, but should work on subsequent cycles. Depends
__________________
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-28-2007, 07:56 AM
 
Join Date: Dec 2007
Location: USA
Posts: 11
Joe Engel is on a distinguished road

Yes. I haved tried many different scenarios. I've tried #WAIT also(inserted many different places). And the last one, positioning before the fixed cycle call. Thanks for the thought though.
Reply With Quote

Sponsored Links
  #11  
Old 12-28-2007, 10:21 AM
HuFlungDung's Avatar
Moderator
 
Join Date: Mar 2003
Location: Canada
Posts: 4,825
HuFlungDung is on a distinguished road

What I would try is running the program with the feedrate turned way down at the start of the second running of the drill cycle, and watch the Z position display to try to quantify exactly how much the cycle is changing 'all by itself'. Maybe you can track down a variable that is not being cleared properly, or an incorrect sign...
__________________
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

  #12   Ban this user!
Old 12-28-2007, 12:14 PM
Neal's Avatar  
Join Date: Mar 2003
Location: Chatsworth, Ca
Posts: 896
Neal is on a distinguished road

Joe--
There may be a way to do this, but I will have to spend some time to figure it out. Macros can be very tricky. Since I'm no longer in the Programming Department I'll have to work on it in between my other duties in Tech Support.
It won't be a fast answer but I'll put as much time in on it as I can.

Neal
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
problem drilling tiny holes gilessim Steam Engines 7 05-26-2009 05:04 PM
Canned Drilling problem. sandefuj Mach Software (ArtSoft software) 0 04-21-2007 07:20 PM
drilling and drilling cycles tutorial wmorre General Metalwork Discussion 0 10-18-2006 06:30 PM
q about drilling o1 eaven Composites, Exotic Metals etc 3 08-05-2005 08:20 PM
PCB Drilling drk Carken Products (Deskam, DeskCNC etc) 3 12-14-2004 08:27 AM




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