Sign in to follow this  
Followers 0
RObert TImby

Screw machine post for a tsugami

4 posts in this topic

I have a quick question for you guys I made a post for my tsugami bu25 but, I need to change the Z so the post out opposite of what the usual lathe post out. How would I do this?

 

Example:

 

Right now with the Z being negative

 

G0 T1515

G18

M8

G97 S2000 M03

G0 G54 X.1223 Z.025

G50 S2000

G96 S275

G99 G1 Z0. F.001

G18 G3 X.1756 Z-.0122 R.0353

X.1929 Z-.0353 R.0353

G1 Z-2.695

G3 X.1996 Z-2.6975 R.0156

G1 X.2231 Z-2.7093

G3 X.2323 Z-2.7203 R.0156

G1 Z-8.7864

Z-8.7614

M9

G28 U0. V0. W0. M05

T1500

M01

 

 

 

What I'm looking for with Z being positive

 

 

 

G0 T1515

G18

M8

G97 S2000 M03

G0 G54 X.1223 Z-.025

G50 S2000

G96 S275

G99 G1 Z0 F.001

G18 G3 X.1756 Z.0122 R.0353

X.1929 Z.0353 R.0353

G1 Z2.695

G3 X.1996 Z2.6975 R.0156

G1 X.2231 Z2.7093

G3 X.2323 Z2.7203 R.0156

G1 Z8.7864

Z8.7614

M9

G28 U0. V0. W0. M05

T1500

M01

 

 

Thanks

1 person likes this

Share this post


Link to post
Share on other sites

Without testing some things.... you could just put

 

zabs = zabs * -1

zinc = zinc * -1

 

at the top of a few postblocks. (psof, ptlchg, ptlchg0, plinout, prapidout, pretract.....)

 

If I get some time this afternoon I will try...

Share this post


Link to post
Share on other sites

Not the right way I would go about using the Z axis adjustments in the post that way all the other G2 and G3 stuff will calcuate like it is usppose to. Look under here in the post:

 

# --------------------------------------------------------------------------
#Machining position turret/spindle settings
# Switch strings based on turret position top/bottom-left/right and cut type.
# Turret position is based on the Mastercam settings (see lathtype).
# Strings are re-assigned for output in the routine psw_str_mult.
# The string variable sw_string holds the place position value to determine
# how to assign the strings.  Planes are relative to the view from Mastercam.
# Assign the 17 digit string following the alpha columns below:
# A - C axis, 1 = axis winds, 2 = axis signed, 3 = indexer, 4 = shortest direction
# B - Spindle direction, 0 = normal, 1 = reverse
# C - Plane 0 arc/comp, 0 = normal, 1 = switch
# D - Plane 1 arc/comp, 0 = normal, 1 = switch
# E - Plane 2 arc/comp, 0 = normal, 1 = switch
# F - Plane 0, 0 = G17, 1 = G19, 2 = G18
# G - Plane 1, 0 = G17, 1 = G19, 2 = G18
# H - Plane 2, 0 = G17, 1 = G19, 2 = G18
# Decimal (required)
# I - Plane 0, X axis, 0 = normal, 1 = switch sign from basic
# J - Plane 0, Y axis, 0 = normal, 1 = switch sign from basic
# K - Plane 0, Z axis, 0 = normal, 1 = switch sign from basic
# L - Plane 1, X axis, 0 = normal, 1 = switch sign from basic
# M - Plane 1, Y axis, 0 = normal, 1 = switch sign from basic
# N - Plane 1, Z axis, 0 = normal, 1 = switch sign from basic
# O - Plane 2, X axis, 0 = normal, 1 = switch sign from basic
# P - Plane 2, Y axis, 0 = normal, 1 = switch sign from basic
# Q - Plane 2, Z axis, 0 = normal, 1 = switch sign from basic
use_only_tl  : 1	 #Use only Top turret/Left spindle settings (below) for
				 #all Mastercam turret/spindle selections
				 #When configuring for multi-spindle/turret set to 0
#Columns-	   ABCDEFGH.IJKLMNOPQ #Turret/Spindle		    #Path Type
scase_tl_c1  : "10000222.000000000"  #Top turret/Left spindle, Turning cut
scase_tl_c2  : "11000012.000000000"  #Top turret/Left spindle, Right Face cut
scase_tl_c_2 : "11110012.000000000"  #Top turret/Left spindle, Left Face cut
scase_tl_c3  : "10010102.000000000"  #Top turret/Left spindle, Cross cut
scase_tl_c4c : "10000111.000000000"  #Top turret/Left spindle, Y axis subs. Cycle
scase_tl_c4  : "10000222.000000000"  #Top turret/Left spindle, Y axis subs.
scase_tl_c5  : "10000222.000000000"  #Top turret/Left spindle, Multisurf Rotary
#Columns-	   ABCDEFGH.IJKLMNOPQ
scase_bl_c1  : "10000222.000000000"  #Bottom turret/Left spindle, Turning cut
scase_bl_c2  : "11000012.000000000"  #Bottom turret/Left spindle, Right Face cut
scase_bl_c_2 : "11110012.000000000"  #Bottom turret/Left spindle, Left Face cut
scase_bl_c3  : "10010102.000000000"  #Bottom turret/Left spindle, Cross cut
scase_bl_c4c : "10000111.000000000"  #Bottom turret/Left spindle, Y axis subs. Cycle
scase_bl_c4  : "10000222.000000000"  #Bottom turret/Left spindle, Y axis subs.
scase_bl_c5  : "10000222.000000000"  #Bottom turret/Left spindle, Multisurf Rotary
#Columns-	   ABCDEFGH.IJKLMNOPQ
scase_tr_c1  : "10000222.000000000"  #Top turret/Right spindle, Turning cut
scase_tr_c2  : "11000012.000000000"  #Top turret/Right spindle, Right Face cut
scase_tr_c_2 : "11110012.000000000"  #Top turret/Right spindle, Left Face cut
scase_tr_c3  : "10010102.000000000"  #Top turret/Right spindle, Cross cut
scase_tr_c4c : "10000111.000000000"  #Top turret/Right spindle, Y axis subs. Cycle
scase_tr_c4  : "10000222.000000000"  #Top turret/Right spindle, Y axis subs.
scase_tr_c5  : "10000222.000000000"  #Top turret/Right spindle, Multisurf Rotary
#Columns-	   ABCDEFGH.IJKLMNOPQ
scase_br_c1  : "10000222.000000000"  #Bottom turret/Right spindle, Turning cut
scase_br_c2  : "11000012.000000000"  #Bottom turret/Right spindle, Right Face cut
scase_br_c_2 : "11110012.000000000"  #Bottom turret/Right spindle, Right Face cut
scase_br_c3  : "10010102.000000000"  #Bottom turret/Right spindle, Cross cut
scase_br_c4c : "10000111.000000000"  #Bottom turret/Right spindle, Y axis subs. Cycle
scase_br_c4  : "10000222.000000000"  #Bottom turret/Right spindle, Y axis subs.
scase_br_c5  : "10000222.000000000"  #Bottom turret/Right spindle, Multisurf Rotary

Share this post


Link to post
Share on other sites

Can you please show an example of what to change? I understand (some what) the configuration in the post. The letters on top correspond to the letters on the bottom so you can customize your post to mimic of how your machine is set upped. But to change the Z? I do not know how to change that. Here is the machine's axis plate to show what I have.

 

axis for tsugami bu 26

 

Also, in the lanthtype what one would I choose? But does this define what and where the primary turret and spindle is if so, does this effect the turret and spindle location or does it not matter?

 

lathtype : 0 #Lathe turret and spindle selection

#0 = Bottom turret/Left spindle

#1 = Top turret/Left spindle

#2 = Bottom turret/Right spindle

#3 = Top turret/Right spindle

Thanks

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

  • 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