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 

Examples of a Mazak macro

 
Post new topic   Reply to topic    Manufacturing Information Solutions Forum Index -> CNC Controls
View previous topic :: View next topic  
Author Message
JoeM
Master Poster


Joined: 09 Jul 2004
Posts: 122
Location: Jackson Hole, Wyoming USA

PostPosted: Tue Apr 26, 2005 10:12 pm    Post subject: Examples of a Mazak macro Reply with quote

Can someone give me some examples for a Mazak m32.

Thanks
_________________
Thanks.
===================
I would rather by Fly Fishing!
Back to top
View user's profile Send private message Send e-mail
dawn
Master Poster


Joined: 26 Jun 2004
Posts: 311
Location: Mishawaka, IN

PostPosted: Tue Apr 26, 2005 10:15 pm    Post subject: Reply with quote

Here is one from one of my customers, for a T-Plus but should be the same for M32.

What I sometimes do is write the program for one part that has a family of parts then change the values into variables. In this example the angle (#500) is the only thing diffrent between each part number.

Code:
%
O00010013(XXXXXXXXXX )

("X" ZERO= CENTERLINE OF PART)
("Y" ZERO= CENTERLINE OF PART)
("Z" ZERO= TOP OF PART)

(.2500 DIA. CARBIDE END MILL)
N100 G00 G90 G17 G54 G40 M39

(INSERT ANGLE ON MACRO #500 USUALLY 13)
#500=13.( ****SET ANGLE HERE**** )

G91 G30 Y0 Z0
T11 T30 M6
S5348 M03
#510=[#500/2]
#501=[90-#510]
#511=2.195(OUT SIDE START RADIUS AT CENTER OF CUTTER)
#512=1.9363(FINISH RADIUS AT CENTER OF CUTTER)
#513=[SIN[#510]*#511](Y START)
#514=[SIN[#510]*#512](Y FINISH)
#515=[TAN[#501]*#513](X START)
#516=[TAN[#501]*#514](X FINISH)
G00 G90 X-#515 Y-#513
G43 Z.5 H11 M08
G01 Z-.145 F100.0
X-#516 Y-#514 F21.4
G02 X-#516 Y#514 I#516 J#514
G01 X-#515 Y#513
G00 Z.5
X#515
G01 Z-.145 F100.0
X#516 Y#514 F21.4
G02 X#516 Y-#514 I-#516 J-#514
G01 X#515 Y-#513
G00 Z.5
G91 Z0 M09
G30 Z0
G30 Y0
M30
%

_________________
Dawn Mitchell
Manufacturing Information Solutions
www.mis-group.com
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Manufacturing Information Solutions Forum Index -> CNC Controls 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