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:

Reverse -A- axis direction


Recommended Posts

We just purchased another 5 axis machine and I am building a post for it using one of our other 5 axis machine post that has the same setup. The only difference is that the -A- axis is reversed. I have tried every combination of rotaxis and rotdir but the -A- axis always post out A-.  is there another section I should be looking at? Here's the secion I'm messing with. 

 

#Assign axis address
str_pri_axis : "B"
str_sec_axis : "A"
str_dum_axis : "C"

#Toolplane mapped to top angle position strings
str_n_a_axis : "A"
str_n_b_axis : "B"
str_n_c_axis : "C"

#Machine rotary routine settings
mtype        : 0     #Machine type (Define base and rotation plane below) 
                     #0 = Table/Table
                     #1 = Tilt Head/Table
                     #2 = Head/Head
                     #3 = Nutator Table/Table
                     #4 = Nutator Tilt Head/Table
                     #5 = Nutator Head/Head

head_is_sec  : 1     #Set with mtype 1 and 4 to indicate head is on secondary

#Preferred setup is pri. zero matches sec. zero/direction
#Zero machine and determine the planes perp. to axis rotations
#These plane combinations are valid:
#Primary plane   XY   XZ   YZ
#Secondary or    XZ   XY   XY
#Secondary       YZ   YZ   XZ

#Primary axis angle description (in machine base terms)
#With nutating (mtype 3-5) the nutating axis must be the XY plane
rotaxis1$ = -vecy  #Zero       -y
rotdir1$  = vecx  #Direction  +x

#Secondary axis angle description (in machine base terms)
#With nutating (mtype 3-5) the nutating axis and this plane normal
#are aligned to calculate the secondary angle 
rotaxis2$ = vecz  #Zero        +z
rotdir2$  = vecy  #Direction   was +y

#NOTE: Use of 'top_map' requires the dealer match the
#      above settings below.  These must match initial settings!!!
p_nut_restore    #Postblock, restores original axis settings 
      result = updgbl(rotaxis1$, "-vecy")#Zero was +y
      result = updgbl(rotdir1$, "vecx")#Direction was -x
      result = updgbl(rotaxis2$, "vecz")#Zero  was +z
      result = updgbl(rotdir2$, "vecY")#Direction was -x
 

 

Thanks

 

Link to comment
Share on other sites
5 minutes ago, Ray D said:

I figured it out. I ended up emailing our rep, and as soon as he said 'what's your -A- limits set to?"  I realized I never opened up the limit to allow a +A.

Now I feel dumb. LOL

Thanks for the help. 

And Millman, no I don't believe I have that documentation.  

Shoot me an email.

[email protected]

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