Manufacturing Information Solutions Forum Index Manufacturing Information Solutions
Your Place for Support and Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How To Time Your Tools on a Mazak

 
Post new topic   Reply to topic    Manufacturing Information Solutions Forum Index -> G-Code Programming
View previous topic :: View next topic  
Author Message
JamieR
Frequent Poster


Joined: 30 Jun 2004
Posts: 54
Location: Chicago

PostPosted: Fri Jul 02, 2004 12:08 pm    Post subject: How To Time Your Tools on a Mazak Reply with quote

Have you ever wanted to compare the time your CAM system says a tool will take to the actual time it takes on the machine?

Don't stand around with a stop watch, this simple macro will do it automatically.

At the beginning of the tool you want to time add #3001=0 to reset the machine's timer to 0. Then add M98P9100 to the end of the tool. The macro will put the time for the tool in variable 510 plus the tool number. For example, the time for tool 1 will be stored in #511. This macro is useful if you embed it into your CAM system's post processor and output it as part of the CNC program.

Code:
%
O9100         
#2=#51999(ACTIVE TOOL)
#100=#3001(TIMER VALUE)
#100=#100/1000
#[510+#2]=#100(WRITE TIME)
M99
%


JamieR
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Manufacturing Information Solutions Forum Index -> G-Code Programming All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group