Jump to content

Welcome to eMastercam.com
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account
Photo

Screw machine post for a tsugami

Change z output

3 replies to this topic

#1
Robert Timby @ San Diego CadCam

Robert Timby @ San Diego CadCam

    Member

  • Members
  • PipPip
  • 228 posts
  • Location:Sunny San DIego, CA
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

#2
K2csq7

K2csq7

    Advanced Member

  • Members
  • PipPipPip
  • 2,403 posts
  • Location:CNC Software
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...

#3
5th Axis Consulting

5th Axis Consulting

    Regular Guy

  • Members
  • PipPipPip
  • 12,304 posts
  • Location:Murrieta Ca
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


#4
Robert Timby @ San Diego CadCam

Robert Timby @ San Diego CadCam

    Member

  • Members
  • PipPip
  • 228 posts
  • Location:Sunny San DIego, CA
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



Reply to this topic