cancel
Showing results for 
Search instead for 
Did you mean: 

doubt in post builder in creating machine time

Experimenter
Experimenter

iam trying to get estimated machining time with hours and minutes in NC program.

i have created custom command for that and i got it but in minutes not with hours seperately and minutes seperately. i have attached files plz go through that and help to solve my problem. 

3 REPLIES

Re: doubt in post builder in creating machine time

Solution Partner Creator Solution Partner Creator
Solution Partner Creator

321123.JPG

 

Why not string "HOURS" and "MINUTES" ?

Please check it again!!!

Re: doubt in post builder in creating machine time

I have this saved as an example of outputing time as (##machine_time:0h 0m 15s ##)

 

global mom_toolpath_time

set str [format "(##machine_time:[expr int($mom_toolpath_time / 60)]h [expr int (((int($mom_toolpath_time / 60)-($mom_toolpath_time / 60))*60)*-1)]m [expr int (((int((int($mom_toolpath_time / 60)-($mom_toolpath_time / 60))*60))-(((int($mom_toolpath_time / 60)-($mom_toolpath_time / 60))*60)))*60)]s ##)"]

MOM_output_literal $str

 

Mark Rief
Retired Siemens

Re: doubt in post builder in creating machine time

Experimenter
Experimenter
actually i got it. i did a mistake. i have generated NC program with other
postprocess and not by modified and saved post process that's why my
modifications didn't reflected in my out put NC program.

--

Thanks and Regards,
Priyanka. Putta
Design Engineer
Ramtech Group of Industries
www.ramtechind.com

Learn online





Solution Information