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:

POST HELP


DavidB
 Share

Recommended Posts

With this multi pass 2d contour toolpath I'm getting a Y Z move on the same line which is not correct.

What post mod can I make to get a Z move before the Y axis feed move?

Here is a snippet of the posted G-code .....

 

T8 M6 pcomment$ p_goto_strt_tl 70.

G00 G54 G90 X-422.455 Y-45.5 A90. B90. S640 M03 pcomment$ p__5:879 70.

M12 pcomment$ p__6:887 70.

M10 pcomment$ p__6:887 70.

G43 H8 Z73.991 pcomment$ p__3:870 70.

M08 pcomment$ p__3:870 70.

Z33.841 prapid$ prapidout 72.

G01 Y-23.5 F230. plin$ plinout 74.

Y27.69 plin$ plinout 76.

Y32.69 plin$ plinout 78.

G00 Z73.991 prapid$ prapidout 80.Rapid out OK

X-394.455 Y-45.5 prapid$ prapidout 82.Reposition to next multi pass OK

G01 Y-23.5 Z33.841 plin$ plinout 132.Bad line of code??? Z on sepperate line needed??

Y27.69 plin$ plinout 134.

Y32.69 plin$ plinout 136.

G00 Z73.991 prapid$ prapidout 138.Rapid out OK

X-388.455 Y-45.5 prapid$ prapidout 140.Reposition to next multi pass OK

G01 Y-23.5 Z33.841 plin$ plinout 190.Bad line of code??? Z on sepperate line needed??

Y27.69 plin$ plinout 192.

Y32.69 plin$ plinout 194.

G00 Z73.991 prapid$ prapidout 196.

M09 peof$ peof$ 198.

G00 G91 G28 Z0. peof$ peof$ 198.

M05 peof$ peof$ 198.

 

Thanks cheers.gif

Link to comment
Share on other sites

It happens after the first pass the tool Rapid retracts in Z Rapids to next pass start position then Feed moves in Z- and also the direction of lead in cut.

 

code:

 T8 M6

G00 G54 G90 X-422.455 Y-45.5 A90. B90. S640 M03

M12

M10

G43 H8 Z73.991

M08

Z33.841

G01 Y-23.5 F230.

Y27.69

Y32.69

G00 Z73.991

X-394.455 Y-45.5

G01 Y-23.5 Z33.841-- Z should be previous line

Y27.69

Y32.69

G00 Z73.991

X-388.455 Y-45.5

G01 Y-23.5 Z33.841-- Z should be previous line

Y27.69

Y32.69

G00 Z73.991

M09

G00 G91 G28 Z0.

Link to comment
Share on other sites

Mid,

The contour lies in the Y axis the first Y move is the lead in move where the tool rapids too. The next Y the start of the contour the 3rd Y the end point of the contour and the final Y move is the Lead out move.

 

posthelp.jpg

 

I have tried with Clearance also and Clearance only.

This is posted code of above toolpath...

code:

 G91 G28 Z0.

( 40MM TIPPED TOOL TOOL - 8 DIA. OFF. - 28 LEN. - 8 DIA. - 40. )

( FACE BACK OF PART )

M13

M11

T8 M6

G00 G54 G90 X-422.455 Y-45.5 A90. B90. S640 M03

M12

M10

G43 H8 Z73.991

M08

Z33.841

G01 Y-23.5 F230.

Y27.69

Y32.69

G00 Z73.991

X-394.455 Y-45.5

G01 Y-23.5 Z33.841??????

Y27.69

Y32.69

G00 Z73.991

X-388.455 Y-45.5

G01 Y-23.5 Z33.841???????

Y27.69

Y32.69

G00 Z73.991

M09

G00 G91 G28 Z0.

Link to comment
Share on other sites

David,

 

In your control definition look at the "Linear" page. Enable the radio button under XY plane control to "Break rapid moves - XY then Z for approach, Z then XY for retract". That should put all Z motion on seperate lines. If it does not, then your post might not be set up to take advantage of this feature. I know the MPMaster post supports this. So do all of the new "generic" posts that shipped with X.

 

FYI, you should be able to get an install disc from your reseller with something like 26 generic Mastercam posts for X. There is a Fadal, Haas, Mazak, Mori-Seki, Okuma, and a few others.

 

HTH,

 

Colin Gilchrist

The Boeing Company

MR2 and Beta test site

Link to comment
Share on other sites

code:

 prapidout       #Output to NC of linear movement - rapid               

pcan1, pbld, n$, `sgcode, sgplane, sgabsinc, pccdia,

xout, yout, zout, p_out, s_out, strctxt, scoolant, e$

 

plinout #Output to NC of linear movement - feed

punclamp

pcan1, pbld, n$, `sgcode, sgplane, sgabsinc, `sgfeed, pccdia,

xout, yout, zout, p_out, s_out, `feed, strctxt, scoolant, e$

if nc_lout$ <> m_one & feed = zero, psfeederror

pclamp

code:

 plin0$           #Linear movement, set brklinestype        

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

  Only 75 emoji are allowed.

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

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 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

×
×
  • Create New...