Showing results for 
Search instead for 
Do you mean 
Reply
Solved! Go to solution

doubt in post builder in creating machine time

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
Solution
Solution
Accepted by topic author ramtech
‎08-26-2015 04:32 AM

Re: doubt in post builder in creating machine time

[ Edited ]

 

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
Solution
Solution
Accepted by topic author ramtech
‎08-26-2015 04:32 AM

Re: doubt in post builder in creating machine time

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