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:

misc M-codes


DW
 Share

Recommended Posts

Hi,

 

I'm a newbie at this and the answers is probably staring me in the face - but I'm trying to add some m codes for operating chip conveyors and spindle control for the live tooling on a VTL. I've found "misc functions for lathe" in the control definition but I'm having some problems understandting how it works.

 

Can I modify the post from here or do I have to modify the actual pst file?

 

Any explinations or links to the answers would be great.

 

Thanks in advance,

Dan

Link to comment
Share on other sites

DW , if you right click in your ops manager then go up to lathe toolpaths then a sub menu opens and there should be a manual entry selection. enter the code you need, and in the section NCI output method check the AS CODE dial. Now you can place this anywhere you want in the ops.

Link to comment
Share on other sites

That solved one of my problems.

 

I'm now trying to make the face drilling work.

 

This is an example of what I need:

N1610 (DRILL)

N1620 G0 G40 G30 U0. W0.

N1630 M59

N1640 T0808 (.437" KEN-TIP DRILL)

N1650 G80

N1660 M43

N1670 G28 H0.

N1680 M60

N1690 G97 S2500 M13

N1700 M08

N1710 X7.25 Z2.0

N1720 G98 G83 C0.0 Z-.95 R-1.9 F10.5 M90

N1730 H60.0 M90

N1740 H60.0 M90

N1750 H60.0 M90

N1760 H60.0 M90

N1770 H60.0 M90

N1780 G80 M9

N1790 M15

N1800 M59

N1810 M40

N1820 G30 U0. W0.

N1830 M1

 

 

Right now I get this for face drilling:

C-AXIS FACE DRILL )

N1400 G0 T12500

N1410 G17

N1420 M23

N1430 G0 G54 X7.155 Z-2.2696

N1440 C0.

N1450 G97 S2500 M52

N1460 G81 Z-3.5196 R-2.4196 F8.6

N1470 C60.

N1480 C120.

N1490 C180.

N1500 C240.

N1510 C300.

N1520 G80

N1530 G28 U0. V0. W0. H0. M55

 

I need the post to generate the M90 command (spindle clamp) for the G81 and each angle position. I also need an M60 for spindle engagement. The spindle start M - code is also different.

 

I'm using the MFLPAN pst and trying to post to a Fanuc 21i control.

 

Any ideas?

 

Thanks in advance,

Dan

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...