Run Time Estimation

Ask for help with NCPlot problems here

Run Time Estimation

Postby dixonc » Thu Oct 16, 2008 9:39 am

Hi,
I cannot get this to give a reasonable time for the job I am doing. It is a simple bush that runs about 2 minutes on the machine, but I get an estimation of 2hours & 18minutes.
My machine config is set at 25000 rapid, and 5sec toolchange. Am I doing something wrong here?
DixonC
dixonc
 
Posts: 2
Joined: Thu Oct 16, 2008 3:01 am

Postby scottmartinez » Thu Oct 16, 2008 2:49 pm

Hi Dixon,

Is this a lathe program? If so then first make sure you are using the correct G-Code format. This is on the machine configuration (Setup / Machine Configuration). Also check the coordinate resolution setting. If you still cannot find the culprit then please post or email me a sample program and I'll have a look.

Thanks,
Scott
User avatar
scottmartinez
Site Admin
 
Posts: 215
Joined: Sat Mar 11, 2006 8:49 pm

Postby DCGTenebrae » Wed Dec 17, 2008 10:31 am

I am also having the same problem with run time estimations being to long. It is a lathe program and i have the correct G-code format. But this may sound like a dumb question but what is the coordinate resolution setting?

Here is a the sample bit of program that under optimal conditions (no chip breakage or such) is running in about a hour and 20-30 minutes at the machine to run. But the run time estimation tool shows 8 hours to run.

Thank you in advance.

%
:6830(LT683)
(LM, 3/4/05)
(UPDATED-12/15/08)
(END CAP 12X GEN - REV. 10)

N90(CNMG 433 100DEG FACE TOOL)
(ROUGH FACE)
G00G40X0Z10.T900
G50G99S200M41
G96S500M03
G0X-24.61Z1.T909M08
Z.25
G01Z.09F.015
X-18.6163
X-8.75F.018
X-8.8Z.125
G00X-24.61
G01Z.055F.015
X-18.6163
X-8.75F.018
X-8.8Z.1
G00X-24.61
G01Z.02F.015
X-18.6163
X-8.75F.018
X-8.8Z.0354
G0Z1.M9
G00G40X0Z10.T900
M1

N95(CNMG 433 100DEG FACE TOOL)
(FINISH FACE)
G00G40X0Z10.T900
G50G99S300M41
G96S600M03
G0X-24.61Z1.T909M08
G0Z.25
G1Z0.F.012
G1X-8.75
X-8.8Z.0354
G0Z1.M9
G00G40X0Z10.T900
M1

N100(CNMG 433 OD TOOL)
(SEMI-FINISH OD +.01)
G00G40X0Z10.T1000
G50G99S200M41
G96S300M03
G0X-24.61Z1.T1010M08
G0X-24.45
G0Z.2
G1Z-1.F.018
X-24.525Z-0.875
G0Z.2
G0X-24.27
G1Z-1.F.018
X-24.3207Z-0.875
G0Z1.M9
G00G40X0Z10.T1000
M00(CHECK OD +.01)

N105(CNMG 433 OD TOOL)
(FINISH OD)
G00G40X0Z10.T1000
G50G99S300M42
G96S600M03
G0X-24.11Z1.T1010M08
Z.1
G01Z.0216F.012
X-24.2525Z-.0475
Z-0.825
X-24.3207Z-0.75
G0Z1.M9
G00G40X0Z10.T1000
M1

N60(CNMG 643 BORING BAR)
(SEMI-FINISH BORE -.02)
G00G40X0Z10.T600
G50G99S200M41
G96S400M03
G0X-9.15Z1.T606M08
Z.1
G71U1870R.04
G71P1030Q1040U.02W0.005F.018
N1030G0X-9.936
G01Z.05
X-9.75Z-.043
N1040Z-.9
G0Z1.M9
G00G40X0Z10.T600
M1(BORE -.02)

N120(TNMG 434 FACE GROOVING TOOL)
(ROUGH 18.75" DIAMETER)
G00G40X0Z10.T1200
G50G99S200M41
G96S350M03
G0X-22.312Z1.T12012M08
Z.1
G01Z.0001F.018
X-22.1505Z-.0325F.005
X-18.716F.018
X-18.6097Z.0206
X-18.638Z.0347
G00X-22.2
Z.0275
G01Z-.0225
X-21.8876Z-.0856F.005
X-18.76F.018
Z-.0545
X-18.696Z-.0225
X-18.7243Z-.0084
G00X-21.9371
Z-.0256
G01Z-.0756
X-21.6246Z-.1388F.005
X-18.76F.018
Z-.0756
X-18.7883Z-.0615
G0Z1.M9
G00G40X0Z10.T1200
M00(CHECK INSERT)

N121(TNMG 434 FACE GROOVING TOOL)
(ROUGH 18.75" DIAMETER)
G00G40X0Z10.T1200
G50G99S200M41
G96S350M03
G0X-21.6741Z1.T12012M08
Z.1
G01Z-.0788F.018
Z-.1288F.005
X-21.3617Z-.1919
X-18.76F.018
Z-.1288
X-18.7883Z-.1146
G00X-21.4112
Z-.1319
G01Z-.1819
X-21.0988Z-.245F.005
X-18.76F.018
Z-.1819
X-18.7883Z-.1677
G00Z.0356
G0Z1.M9
G00G40X0Z10.T1200
M1(OD +.01)

N122(TNMG 434 FACE GROOVING TOOL)
(FINISH 18.75" DIAMETER)
G00G40X0Z10.T1200
G50G99S300M41
G96S600M03
G0X-21.09Z1.T12012M08
Z-.2
G01Z-.25F.012
X-18.75
Z-.0566
X-18.6027Z.0171
X-18.631Z.0312
G0Z1.M9
G00G40X0Z10.T1200
M1

N20(TNMG 434 FACE GROOVING TOOL)
(ROUGH 23.75" DIAMETER)
G00G40X0Z10.T200
G50G99S200M41
G96S350M03
G0X-22.3Z1.T202M08
Z-.0325
G01X-23.774F.018
X-23.8803Z.0206
X-23.852Z.0347
G00X-22.04
Z-.0856
G01X-23.73
Z-.0545
X-23.794Z-.0225
X-23.7657Z-.0084
G00X-21.7
Z-.1388
G01X-23.73
Z-.0756
X-23.7017Z-.0615
G0U.1Z1.M9
G00G40X0Z10.T200
M00(CHECK INSERT)

N21(TNMG 434 FACE GROOVING TOOL)
(ROUGH 23.75" DIAMETER)
G00G40X0Z10.T200
G50G99S200M41
G96S350M03
G0X-21.4Z1.T202M08
Z-.1919
G01X-23.73F.018
Z-.1288
X-23.7017Z-.1146
G00X-20.9
Z-.2
G01Z-.245
X-23.73
Z-.1819
X-23.7017Z-.1677
G00Z1.M9
G00G40X0Z10.T200
M1(COUNTER BORE -.02)

N22(TNMG 434 FACE GROOVING TOOL)
(FINISH FACE, CB -.02)
G00G40X0Z10.T200
G50G99S300M41
G96S600M03
G0X-20.9Z1.T202M08
Z-.2288
G01Z-.25F.012
X-23.73
Z-.0566
X-23.8773Z.0171
X-23.859Z.0312
G0Z1.M9
G00G40X0Z10.T200
M1

N40(CNMG 643 BORING BAR)
(FINISH BORE)
G00G40X0Z10.T400
G50G99S300M42
G96S600M03
G0X-9.15Z1.T404M08
Z.1
G70P1030Q1040F.012
G0Z1.M9
G00G40X0Z10.T400
M00(CHECK BORE)

N41(CNMG 643 BORING BAR)
(FINISH COUNTER BORE)
G00G40X0Z10.T400
G50G99S300M42
G96S600M03
G0X-23.8882Z1.T404M08
Z.1
G01Z.0216F.012
X-23.75Z-.0475
Z-.2369
G2X-23.7238Z-.25R.0131
G01X-23.5Z-.24
G0Z1.M9
G00G40X0Z10.T400
M30
%
DCGTenebrae
 
Posts: 4
Joined: Tue Dec 16, 2008 7:08 pm

Postby scottmartinez » Wed Dec 17, 2008 11:15 am

Thanks for the sample program, this should be helpful. I'll have a look at it and let you know if I can find anything.

As for the coordinate resolution, this setting is used whenever you have an address value that does not have a decimal point. This setting determines where the assumed decimal point is. For example:

If coordinate resolution is set to "0.0001" and you have an axis endpoint of "X8", NCPlot interprets this as "X0.0008".

If coordinate resolution is set to "1.0" and you have an axis endpoint of "X5", NCPlot interprets this as "X5.0"

Hope this helps,
Scott
User avatar
scottmartinez
Site Admin
 
Posts: 215
Joined: Sat Mar 11, 2006 8:49 pm

Postby DCGTenebrae » Mon Jan 05, 2009 2:25 pm

Anything figured out yet?
DCGTenebrae
 
Posts: 4
Joined: Tue Dec 16, 2008 7:08 pm

Postby scottmartinez » Mon Jan 05, 2009 7:48 pm

Not yet. I took some time off over the holidays and this of course put me behind.

Scott
User avatar
scottmartinez
Site Admin
 
Posts: 215
Joined: Sat Mar 11, 2006 8:49 pm

Postby DCGTenebrae » Thu Jan 08, 2009 6:52 pm

perfectly understandable.
DCGTenebrae
 
Posts: 4
Joined: Tue Dec 16, 2008 7:08 pm

Postby scottmartinez » Mon Jan 26, 2009 7:46 pm

I just wanted to let you know that I *am* working on this and am tracking down at least one issue. It seems that the negative X values in your program are causing at least part of the miscalculation in NCPlot. Or, I should say that the miscacluation in NCPlot has something to do with the negative X values.

Thanks,
Scott
User avatar
scottmartinez
Site Admin
 
Posts: 215
Joined: Sat Mar 11, 2006 8:49 pm

Postby DCGTenebrae » Sat Jan 31, 2009 11:52 am

ahhh, so is it basically thinking it needs to travel from the positive to the negative, doubling the time of travel? Or maybe just having trouble calculating the negatives together?
DCGTenebrae
 
Posts: 4
Joined: Tue Dec 16, 2008 7:08 pm

Postby scottmartinez » Sat Jan 31, 2009 3:10 pm

Yes, it's something like that... calculating run time with CSS active is a real PITA. You have to take into account the maximum and minimum spindle RPM during each move. So there's potentially 3 separate calculations for each move, one for motion while the spindle is at max RPM, one for motion where the spindle RPM is changing due to CSS and one for motion while spindle is at min RPM. The real problem is that I didn't take negative X motion into account for these calculations. So really there's five separate calculations that could be required for a case where the X makes a long move where the spindle goes from min RPM to max RPM and back to min RPM.

Thanks,
Scott
User avatar
scottmartinez
Site Admin
 
Posts: 215
Joined: Sat Mar 11, 2006 8:49 pm

Run Time Estimation

Postby dixonc » Mon Feb 09, 2009 5:00 am

Hi Scott,
I have been trying all resolution settings, on the lathes and still get the same result, but a setting of 1.0 on the mills gets the correct times. I figured the problem to be the F codes which were posted with out any point. I am happy with the result here, as we checked it against the machine and it is within 10 seconds.
The other thing I have noticed is that Mastercam X3, gives the same run time as Nc Plot, for the lathes. These are positive X values, by the way.
Your "address adjustment" tool is fantastic. I never knew I had so many uses for it. Thanks a million. Hope you figure out the lathe run time estimation.

Good Luck
DixonC
dixonc
 
Posts: 2
Joined: Thu Oct 16, 2008 3:01 am


Return to Help

Who is online

Users browsing this forum: No registered users and 1 guest

cron