Jump to content

Welcome to eMastercam

Register now to participate in the forums, access the download area, buy Mastercam training materials, post processors and more. This message will be removed once you have signed in.

Use your display name or email address to sign in:

4th axis indexing


Recommended Posts

Greetings Experts,

I have a couple machines that have indexers that are fired by an M code. I'm working with the mpmaster post. I would like the post to output the M code with the angle on it's own line.

this is what I'm currently getting

Th
G28 A0.  <---------- remove
N1 T1 M06 (7.4MM GUHRING DRILL)
(MAX - Z.25)
(MIN - Z-.4578)
<-----------------------------------  index code here
G00 G17 G90 G54 A0. X2.44 Y-1.0107 S1976 M03
G43 H1 Z.25
G94
G98 G81 Z-.4578 A0. R.1 F8.89  <-----------remove all the redundant "A" moves
X1.0107 Y-2.44 A0.
X-1.0107 A0.
X-2.44 Y-1.0107 A0.
Y1.0107 A0.
X-1.0107 Y2.44 A0.
X1.0107 A0.
X2.44 Y1.0107 A0.
G80
Off  <---------------------- Not sure why this is here?
M05
G49 G53 Z0.
M01

**What I'd like to see**


N1 T1 M06 (7.4MM GUHRING DRILL)
(MAX - Z.25)
(MIN - Z-.4578)

G15 B0
G00 G17 G90 G54  X2.44 Y-1.0107 S1976 M03
G43 H1 Z.25
G94
G98 G81 Z-.4578 R.1 F8.89
X1.0107 Y-2.44 
X-1.0107 
X-2.44 Y-1.0107 
Y1.0107 
X-1.0107 Y2.44 
X1.0107 
X2.44 Y1.0107 
G80
M05
G49 G53 Z0.
M01

TIA,

Doug

 

Link to comment
Share on other sites
22 hours ago, Doug Funny said:

I would like the post to output the M code with the angle on it's own line.

It looks like the A output is being forced, that's normally not the default condition for Mpmaster.

The OFF is a coolant conflict.

We will probably need a Zip2go or at least a post file.

  • Like 2
Link to comment
Share on other sites
22 minutes ago, nickbe10 said:

It looks like the A output is being forced, that's normally not the default condition for Mpmaster.

The OFF is a coolant conflict.

We will probably need a Zip2go or at least a post file.

Thanks nickbe10, I'll whip up a mock file since this is a customer file I'm working on and cannot share

Link to comment
Share on other sites

I've made some progress. I deleted irrelevant parts of the program so it isn't so long. It's not outputting a move every line anymore. I've attached a new Zip2go file of my progress

G00 G17 G20 G40 G49 G80 G90
G53 Z0.
M1
 
M15 A0  <-------------   I have it putting out the M code but, I'd like to move it after the tool change and have it after every tool change
so if I have to go back to this operation and it's in a different plane, it will index correctly
N1 T1 M6 (7.4MM GUHRING DRILL)
(MAX - Z.25)
(MIN - Z-.4578)
G00 G17 G54 G90 X2.44 Y-1.0107 S1976 M03
G43 H1 Z.25 M08
G94
G98 G81 Z-.4578 R.1 F8.89

G80 M09
M05
G49 G53 Z0.
M01
N2 T2 M6 (#25 GUHRING DRILL)
(MAX - Z.25)
(MIN - Z-.4522)
G00 G17 G54 G90 X-1.8511 Y1.8837 S3833 M03
G43 H2 Z.25 M08
G94
G98 G81 Z-.4522 R.1 F11.5

G80 M09
M05
G49 G53 Z0.
M01
                 *** not sure why it didn't out put index, it's moving to a different plane
N7 T5 M6 (3.149MM DRILL, HARVEY BVT1240-C3)
(MAX - Z.25)
(MIN - Z-.6526)
G00 G17 G55 G90 X2.0721 Y.2728 S4621 M03
G43 H5 Z.25 M08
G94
G98 G83 Z-.6526 A180 R.1 Q.375 F13.86 *** it put to A move in the drill cycle and in every cycle in this plane

G80 M09
M05
G49 G53 Z0.
M01
M15 A0
N8 T3 M6 (3/8 SPOTDRILL)
(MAX - Z.25)
(MIN - Z-.083)
G00 G17 G55 G90 X2.0721 Y.2728 S2546 M03
G43 H3 Z.25 M08
G94
G98 G82 Z-.083 A180 R.1 P.5 F5.09

G80 M09
M05
G49 G53 Z0.
M01
M15 A0
M0(USE MOLY-DEE)
N9 T6 M6 (6-32 ROLL TAP)
(MAX - Z.25)
(MIN - Z-.6)
G00 G17 G55 G90 X2.0721 Y.2728
G43 H6 Z.25 M08
G94
M29 S300
G98 G84 Z-.6 A180 R.1 F9.38

G80 M09
M05
G49 G53 Z0.
G28 Y0.
M15 A0
M30
%

sleeve.MCAM-CONTENT

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

×   Your link has been automatically embedded.   Display as a link instead

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.

Join us!

eMastercam - your online source for all things Mastercam.

Together, we are the strongest Mastercam community on the web with over 56,000 members, and our online store offers a wide selection of training materials for all applications and skill levels.

Follow us

×