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 Modification For Makino A51NX Pro6 Control


Recommended Posts

We just purchased a Makino A51NX  four axis horizontal mill with a Professional 6 control.  The control is Fanuc based and it runs along side windows 7.  Oddly every tool has to have an H value of 1 and a D value of 1 called out in the program for the tool length and diameter offsets.

For example I need the code to be:

T1 H1 D1

T2 H1 D1

T3 H1 D1

I am using Mastercam 2018 and I started with the 2018 MPmaster post. I'm not sure how to force H1 and D1 output for every tool. 

Any help is greatly appreciated.

 

Link to comment
Share on other sites

Do this:

At the top of your post, enter the following Global Formulas, starting in the Left Column. (MP is a column position dependent language.)

tloffno$ = 1

tlngno$ = 1

A Global Formula, will override MP's output, just prior to output to the NC File.

That last bit is important, because it just means that the Global Formula will cancel whatever MP was about to output, and output the value of the formula instead. So in this case, H1 and D1 will always be output, no matter what you enter in Mastercam. All you need to enter is the Tool Number.

Conversely,

If you were to enter this:

tloffno$ = t$

tlngno$ = t$

Those formulas tell MP to always make the H and D numbers, match the Tool Number.

  • Like 3
Link to comment
Share on other sites

Colin,

Thank you for helping me. Everything works perfectly. I added the lines to the post here. 

# --------------------------------------------------------------------------
# FORMULAS - global formulas
# --------------------------------------------------------------------------
toolcountn = toolcount + 1   # Index!
toolcountp = toolcount - 1   # Index!
tloffno$ = 1 # ADDED TO FORCE T1 OUTPUT FOR EVERY TOOL JB
tlngno$ = 1 # ADDED TO FOR D1 OUTPUT FOR EVERY TOOL JB    

Is this where you would typically add these lines

 

 

 

  • Like 1
Link to comment
Share on other sites
7 hours ago, Justin Beebe at Folsom Tool said:

Colin,

Thank you for helping me. Everything works perfectly. I added the lines to the post here. 

# --------------------------------------------------------------------------
# FORMULAS - global formulas
# --------------------------------------------------------------------------
toolcountn = toolcount + 1   # Index!
toolcountp = toolcount - 1   # Index!
tloffno$ = 1 # ADDED TO FORCE T1 OUTPUT FOR EVERY TOOL JB
tlngno$ = 1 # ADDED TO FOR D1 OUTPUT FOR EVERY TOOL JB    

Is this where you would typically add these lines

 

 

 

That is exactly where I would add them... 😀

  • Like 1
Link to comment
Share on other sites
  • 4 years later...
On 3/10/2019 at 11:09 AM, Colin Gilchrist said:

I'm happy to help when I can Justin. Glad it is working for you. 

Wanted to explore this because I am experiencing the same issue. Now, I could make the suggested post modification above, but we have a shop with a number of various machine tools that all require D/H offsets to match the tool. So, in keeping things uniform, is there an internal parameter in the Makino controller that will enable it to accept D/H offsets with the same number as the tool?

Just curious.

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