Adding time on Setup Sheets

Adding time on Setup Sheets

Anonymous
Not applicable
1,981 Views
9 Replies
Message 1 of 10

Adding time on Setup Sheets

Anonymous
Not applicable

Is there a way to add time on the setup sheet for a toolpath? We have been finding that it has been taking a little longer for some toolpaths. So I know that CAD time isn't going to ever equal real time but is there a way that I can add time?

0 Likes
Accepted solutions (1)
1,982 Views
9 Replies
Replies (9)
Message 2 of 10

rafael.sansao
Advisor
Advisor

Cutting time, numeric value in minutes.

 

 

NCProgram:

 

${ncprogram.Statistics.nTotalTime}

 

 

Toolpath:

 

${stoolpath.nCuttingTime}

 

Rafael Sansão

OptiNC - www.optinc.tech

EESignature

0 Likes
Message 3 of 10

GlennM.MCAM
Collaborator
Collaborator

Time is very inaccurate.

 

See topic about this here: https://forums.autodesk.com/t5/powermill-forum/how-accurate-are-the-times-shown-in-toolpath-statisti...


Intel i7 4790 @ 3.60GHz -16GB RAM - Nvidia Quadro K620 - 250GB SSD - Win 7 Pro x64 SP1
PowerMILL Premium 2019.1 - PowerINSPECT Ultimate OMV 2017 SP6
0 Likes
Message 4 of 10

Anonymous
Not applicable

I understand that but higher ups are asking for more realistic cycle times

0 Likes
Message 5 of 10

GlennM.MCAM
Collaborator
Collaborator

I don't think there is a fix that will apply for every machine. Slowing down in corners, tool change time, ... are variables that powermill don't calculate with the toolpath time. I guess you should test some things out for a period of time and see how much percent deviation you have from the calculated time.


Intel i7 4790 @ 3.60GHz -16GB RAM - Nvidia Quadro K620 - 250GB SSD - Win 7 Pro x64 SP1
PowerMILL Premium 2019.1 - PowerINSPECT Ultimate OMV 2017 SP6
0 Likes
Message 6 of 10

Anonymous
Not applicable

We have been keeping track of the times and we have been finding that it has been around 1.5 times the original. Is there any way to multiple the cycle times as well as the total NC program time by 1.5?

0 Likes
Message 7 of 10

TK.421
Advisor
Advisor

heres what I use. change the 2.9 to 1.5  it outputs in hours

 

BOOL err = entity_exists ('ncprogram','')

IF NOT $err {
    STRING ncProg = INPUT ENTITY NCPROGRAM "Select NC Program"
    ACTIVATE NCPROGRAM $ncProg
}

STRING LIST tpNames = extract(entity('ncprogram','').nctoolpath, 'Name')
INT i = 0
REAL ncTime = 0

GRAPHICS LOCK
FOREACH name IN $tpNames {
    STRING str = $tpNames[i]
    ACTIVATE TOOLPATH $str
    DEACTIVATE TOOLPATH
    ACTIVATE TOOLPATH $str
    REAL nonCutting = $toolpath.Statistics.LeadsAndLinks.Times.Others + $toolpath.Statistics.LeadsAndLinks.Times.Plunge + $toolpath.Statistics.LeadsAndLinks.Times.Ramp + $toolpath.Statistics.LeadsAndLinks.Times.Rapid
    REAL cutting = $toolpath.Statistics.CuttingMoves.Times.Arcs + $toolpath.Statistics.CuttingMoves.Times.Linear
    REAL tpTime = (($nonCutting + $cutting) * 2.9) / 60

    $i = $i + 1
    $ncTime = $ncTime + $tpTime
}
GRAPHICS UNLOCK

MESSAGE INFO time_to_string($ncTime, "H")

the numbers never lie
Message 8 of 10

Anonymous
Not applicable

Thanks, would I put this into my summary html file to get the setup sheet cycle time to be adjusted?

0 Likes
Message 9 of 10

rui_rita
Advocate
Advocate
Accepted solution

Hi all

 

you can use this {Statistics.TotalTime *1.5} for each toolpath or ${time_to_string(project.ntotaltime*1.5,"M")} for all project



Os melhores cumprimentos | Best regards
Rui Rita
________________________________
NEWCAM, Lda.
Message 10 of 10

Anonymous
Not applicable

In Setup Sheet you can use:

 

{time_to_string(1.5*project.nTotalTime,"M")}                                 for total time

{time_to_string(1.5*stoolpath.nTotalTime, 'M')}                             for NC program time