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:

Radius mill variables or parameters


Recommended Posts

I finished a post, with much help, to post out a macro number that is assigned a certain tool type. I mean that if it is a ball endmill it will post out the measuring macro for a ball endmill, or whatever type of tool it is. Now I would like to pass some variables to the machine to be used in the macro. My problem: I can not find everything I need for a radius mill. I searched through the portfolio of information and did not find everything. The picture attached is what the macro calls for. I have shank dia. and flute length. I could calculate z = flute length - B, y=R+(W/2). So it looks like W is the one that is need. Where do I find this variable?

Link to comment
Share on other sites

This is what I found:

 

Mill / General parameters

PRM_TP_TOOL

15830.....

15834 | Shank/arbor diameter (new for X6)

 

This is what I put in my post:

radtla : 0

fmt "A" 11 radtla

if prmcode$ = 15834, radtla = rparsngl(sparameter$, 1)

 

shank dia is .5

 

output: A0.

I tried with (sparameter$, 1) and sparameter$

 

edit: There is no 15834 in my nci

arbor dia - duh

Link to comment
Share on other sites

Read from parameter 20007 instead. It's the fifth value. You need to format variables to hold as many values as the value you want to read.

 

 

fmt 2 dummy1
fmt 2 dummy2
fmt 2 dummy3
fmt 2 dummy4
fmt "A" 11 radtla


if prmcode$ = 20007, dummy1 = rpar(sparameter$, 5)

 

Radtla will now output your arbor diameter.

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