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
%