Machsupport Forum
Third party software and hardware support forums. => Newfangled Mill Wizard => Topic started by: kevinro on March 04, 2013, 05:19:40 PM
-
Ron,
The attached .JOB file shows two operations. I am doing a .625 hole on the top and bottom faces of a 1" sq tube using a line of holes using the circle function. The first hole operation has Ztop of 0, Zdepth of -0.130. The second operation is supposed to have Ztop of -0.875 and a Zdepth of -1.100. The operations list seem fine, but the GCode is not working. Ztop on the second cut is still 0.0 instead of what I specified.
(***New File Started***)
(created by NFS Mill, V4)
(New File Started 03/03/13 21:50:20)
(posted for Aluminum )
(Strategy: Equal )
(Rapid height: 0.5000 Clearance height: 0.0100 )
G98 G80 G17 G90 G54 G64
G20 G90
(***New Tool Selected***)
(ToolNum: 11 Diameter: 0.3750 )
(Feed: 24.0000 SFM: 850.0000 Plunge: 12.0000 ChipLoad: 0.0375 )
M9
M5
M06 T11 ()
G43 H11
M03 S5100
M8
(***Line of Holes***)
(Xstart: 0.5000 Ystart: -0.5000 Num: 01 Inc: 0.8750 )
(Angle: 0.0000 Depth: -0.1300 Peck: 0.0625 )
G00 Z0.5000
(***Cut Circle***)
(Xorign: 0.5000 Yorign: -0.5000 Dia: 0.6250 InOut: 00 Dir: 00 )
(Ztop: 0.0000 Zdepth: -0.1300 Zstep: 0.0433 )
(will make 3.0000 cuts of: 0.0433 )
X0.6250 Y-0.5000
Z0.0100
G01 Z0.0000 F12.0
G02 X0.3750 Z-0.0433 I-0.1250
G03 X0.6250 I0.1250
G02 X0.3750 I-0.1250 F24.0
X0.6250 I0.1250
G01 F12.0
G02 X0.3750 Z-0.0867 I-0.1250
[Edited out operations]
G01 F12.0
G02 X0.3750 Z-0.1300 I-0.1250
G03 X0.6250 I0.1250
G02 X0.3750 I-0.1250 F24.0
X0.6250 I0.1250
G00 Z0.5000
(***Line of Holes***)
(Xstart: 0.5000 Ystart: -0.5000 Num: 01 Inc: 0.8750 )
(Angle: 0.0000 Depth: -1.1000 Peck: 0.0625 )
G00 Z0.5000
(***Cut Circle***)
(Xorign: 0.5000 Yorign: -0.5000 Dia: 0.6250 InOut: 00 Dir: 00 )
(Ztop: 0.0000 Zdepth: -1.1000 Zstep: 0.0611 )
X0.6250 Y-0.5000
Z0.0100
G01 Z0.0000 F12.0
G02 X0.3750 Z-0.0611 I-0.1250
G03 X0.6250 I0.1250
G02 X0.3750 I-0.1250 F24.0
X0.6250 I0.1250
G01 F12.0
G02 X0.3750 Z-0.1222 I-0.1250
[edited out operations]
G01 F12.0
G02 X0.3750 Z-1.1000 I-0.1250
G03 X0.6250 I0.1250
G02 X0.3750 I-0.1250 F24.0
X0.6250 I0.1250
G00 Z0.5000
M09
M05
M30 (end of file)
-
That is NOT what your operations show. (;-) Both have a Ztop of 0.000.
Just a thought, (;-) TP
-
That is NOT what your operations show. (;-) Both have a Ztop of 0.000.
Just a thought, (;-) TP
You mean this operation? Hence the bug report.
-
Ok, I just found a bug. We added Ztop but forgot to add it to the Job string. Its in the internal data struct but not fully added to the code.
thanks
Ok, that was an easy fix. Brian will be updating the installer file tomorrow.
I checked and it was wrong on all 4 hole operations.. All fixed now
-
Ok, I just found a bug. We added Ztop but forgot to add it to the Job string. Its in the internal data struct but not fully added to the code.
thanks
Ok, that was an easy fix. Brian will be updating the installer file tomorrow.
Yay! I will watch for it.
Kevin
-
I just looked at your job file and it shows Ztop 0.000 for both operations ?????
(;-) TP
-
I just looked at your job file and it shows Ztop 0.000 for both operations Huh??
yes, that was the problem. Ztop was not being saved in the job file, and it was not being passed to the gcode generator. The same thing was happening to all 4 hole operations.
There is a bit of a problem on those ops. The Drill cycles do not have a parameter for Ztop, they always start at Z=0 Only the circle and circle pocket can have a non zero top.
-
Ron a Drill cycle can have Ztop anywhere +/- it does not have to start at Z0 The ztop is defined before the Cycle call and retracts back to where ever you want with the R value.
The G98/99 also control the R values so you can have Ztop defined at teh start AND the G98 will retract back to that point in lue of the R value.
NOW IF you do not define the Rvalue then Ztop will be Z0 and the retract will be Z0 which is NOT always correctly applied as to G98/99 mode
Just a thought, (;-) TP
-
Ok, we already had that in the code R is set as wxT(" R ") + gcFmt(a.Ztop + jobS.Clear)