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:

MACROS WITH FANUC O-M


ARP
 Share

Recommended Posts

THIS MIGHT BE DIRECTED TO A VERY SMALL AUDIENCE SINCE NOT TOO MANY PEOPLE SEEM TO BE USING A FANUC O-M CONTROL. HOWEVER, I AM WONDERING IF IT IS POSSIBLE TO CREATE MACROS WITH THIS CONTROL TO STORE WORK OFFSETS AND Z OFFSETS INSTEAD OF PUNCHING THEM IN BY HAND. I HAVE SEEN IT DONE ON OTHER MACHINES

P.S. SORRY FOR THE CAPITALS (HABIT) - I'M NOT YELLING (internet etiquette says caps are the equivalent of yelling? )

Link to comment
Share on other sites
Guest CNC Apps Guy 1

Yeah, it all hinges on weather or not you have Custom Macro B on the machine.

 

A quick test would be to run this program;

 

O0001(MILL SPINDLE BREAK IN)

(#100=STARTING RPM)

(#101=MAXIMUM RPM)

(#102=DWELL CHANGE RPM)

#100=500

#101=10000

#102=8000

WHILE[#100LT#101]DO1

S#100M03

IF[#100EQ#102]GOTO2

#100=#100+500

G04X100

END1

N2G04X900

WHILE[#100LT#101]DO2

#100=#100+500

S#100M03

G04X50

END2

WHILE[#100GT0]DO3

S#100

#100=#100-500

G04X900.

END3

M30

 

Basically this Macro will ramp up your spindle speed in increments of 500 RPM until it reaches 10000 then go back down in increments of 500 RPM until it reaches 500 RPM then it stops.

 

HTH

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