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:

need help on Haas TR-160Y Trunnion Table


MSL
 Share

Recommended Posts

Hi,

Can someone help me with the changes in the post and machine def. for a Haas TR-160Y Trunnion Table? I can not make it work right.

I'm using the generic Haas TR series post that comes with Mastercam.

Using X6MU2

Thanks in advance.

Ara.

 

Here is some of the areas in the post you might need to see.

 

# 5 Axis Rotary Settings

# --------------------------------------------------------------------------

#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 : "B"

str_n_b_axis : "A"

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

rotdir1$ = -vecx #Direction

 

#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

rotdir2$ = vecx #Direction # Changed from (vecy) to (vecx) 09/26/12

 

#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

result = updgbl(rotdir1$, "-vecx") #Direction

result = updgbl(rotaxis2$, "vecz") #Zero

result = updgbl(rotdir2$, "vecy") #Direction

Link to comment
Share on other sites

Ara you are telling us what the issues are. I have used this post many time and worked well. what is the issues are having?

 

Hi.

The generic Haas TR series post that comes with Mastercam made for Haas Trunnion that sits along the X axis. The one I'm working on, sits along Y axis. First I changed This.(rotdir2$ = vecx #Direction Changed from (vecy) to (vecx) 09/26/12 ).

There is a hole at B-90. And A0. but the post, post out a positive B and A-90.

My pack plot and verify is not right either. When I verify my part instead of show my part on –x side, it shows on +Y quarter of screen.

Thanks.

Ara.

Link to comment
Share on other sites

Hi,

Can someone help me with the changes in the post and machine def. for a Haas TR-160Y Trunnion Table? I can not make it work right.

I'm using the generic Haas TR series post that comes with Mastercam.

Using X6MU2

Thanks in advance.

Ara.

 

Here is some of the areas in the post you might need to see.

 

# 5 Axis Rotary Settings

# --------------------------------------------------------------------------

#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 : "B"

str_n_b_axis : "A"

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 <---------------------------------------------------- Try this here rotaxis1$ = vecx #Zero

rotdir1$ = -vecx #Direction <--------------------------------------------------- rotdir1$ = vecy #Direction

 

#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 <---------------------------------------------------- leave this line as is

rotdir2$ = vecx #Direction # Changed from (vecy) to (vecx) 09/26/12 <---------------------------------------------------- Try this here rotdir2$ = -vecx #Direction

 

#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

result = updgbl(rotdir1$, "-vecx") #Direction

result = updgbl(rotaxis2$, "vecz") #Zero

result = updgbl(rotdir2$, "vecy") #Direction

 

 

Check out the primary and secondary axis angle discription line above.

I don't always trust what I see in backplot when doing multiaxis toolpaths. I would look at your code and see if this gets you what you're looking for.

This works for me. But I only have mine setup to rotate from A10. to A-90.

  • Like 1
Link to comment
Share on other sites

Check out the primary and secondary axis angle discription line above.

I don't always trust what I see in backplot when doing multiaxis toolpaths. I would look at your code and see if this gets you what you're looking for.

This works for me. But I only have mine setup to rotate from A10. to A-90.

 

Hi Oscar,

I did the changes, when I’m doing a simultaneous cut, it posts out good. But on drilling ops giving me a wrong B axis sign, ( all me B axis should be negative). I’ll work on it see what is the problem.

Thanks for your help.

Ara.

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