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 

Macro or Sub Program ?

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


Joined: 26 Jun 2004
Posts: 161
Location: Indiana, USA

PostPosted: Sun Jul 04, 2004 10:21 pm    Post subject: Macro or Sub Program ? Reply with quote

I have Monarch VMC with a fanuc 16 control.There is a rotary table that is mounted normal to the bed.I would like to make a X-Y cut,then rotate the table 3Deg. and make the same cut again.Continue (120 times) around the entire part.

Do I need a macro or sub program to do this Question
_________________
--------------------------
Thanks for everything.
Back to top
View user's profile Send private message
dawn
Master Poster


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

PostPosted: Sun Jul 04, 2004 10:22 pm    Post subject: Reply with quote

either way could work. if its not so common you could just make a sup program
maybe like this

Code:
T1M6
G0G54X10.Y0M3S2342
G43Z.1
M98P1L120(loop O1 120 times)
G0G91G28Z0
etc.

O1(INDEX SUB)
G98G81X10.Y0Z-.5R.1F20.
G80
G0G91A3.0
G90
M99

many ways to do it better than that even
_________________
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 -> 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