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:

B axis calculator


Recommended Posts

I put the finishing touches on my first non-customer specific Okuma THINC app this morning. It is a B axis coordinate calculator, updates a new offset number after calculating the new XZ coordinates based on the specified B axis rotation amount. *Requires version 1.15.0.0 or newer API

 

10192412893_3807843b38.jpg

  • Like 1
Link to comment
Share on other sites

Sweet.

 

 

We're rockin this in one of our machines without G54.2... :smoke:

 

 

O9901(DYNAMIC WORK OFFSET)

 

(ORIGINALLY CREATED BY YODOUG)

(FIXED AND MODIFIED TO COPY Y AND B OFFSETS MJG 8/20/13)

 

(W = WORK OFFSET TO BE USED FOR CALC)

(R = NEW WORK OFFSET NUMBER)

(B = INDEX AMOUNT)

(X = INC TO NEW X ZERO AFTER ROTATION)

(Z = INC TO NEW Z ZERO AFTER ROTATION)

(H = MAX DIFFERENCY BETWEEN ORIGINAL -)

(VALUES. DEFAULT SET BEFOR N1 LINE VALUE OF 99 SKIPS THE CHECK)

 

IF[#11GT#0]GOTO1(SKIP DEFAULT IF H VALUE ASSIGNED)

 

#11=.1(DEFAULT COMPARE VALUE)

 

N1

 

IF[#23GT49]GOTO50

IF[#23GE1]GOTO200

IF[#23EQ#0]GOTO101

 

N50#100=[#23-53]

#101=[#18-53]

 

#540=0.(MACHINE POS X ROTATION)

#541=0.(MACHINE POS Z ROTATION)

Link to comment
Share on other sites

I put the finishing touches on my first non-customer specific Okuma THINC app this morning. It is a B axis coordinate calculator, updates a new offset number after calculating the new XZ coordinates based on the specified B axis rotation amount. *Requires version 1.15.0.0 or newer API

 

10192412893_3807843b38.jpg

 

Woah! Doug! That looks totally cool! I need to try that out :)

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