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:

Trouble with duel chucks on cnc lathe


Recommended Posts

Save a copy of your post and look for this section (Machining position turret/spindle settings

) and edit as needed.

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

#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

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

Link to comment
Share on other sites

1. Change (use_only_tl : 1) to (use_only_tl : 0) See note:When configuring for multi-spindle/turret set to 0

2. Look at the section named Top turret/Right spindle the test up top states the following to switch sign, this is an example for the turning section. Note: the live tooling sections (Right Face cut, Left Face cut, Cross cut, Y axis subs. Cycle, Y axis subs. and Multisurf Rotary) you change the same way, but you must understand the planes, and the arc/comp. Trial and error is a fundamental method of solving problems

 

# I - Plane 0, X axis, 0 = normal, 1 = switch sign from basic

# L - Plane 1, X axis, 0 = normal, 1 = switch sign from basic

# O - Plane 2, X axis, 0 = normal, 1 = switch sign from basic

 

Before

#Columns- ABCDEFGH.IJKLMNOPQ

scase_tr_c1 : "10000222.000000000" #Top turret/Right spindle, Turning cut

 

After

#Columns- ABCDEFGH.IJKLMNOPQ

scase_tr_c1 : "10000222.100100100" #Top turret/Right spindle, Turning cut

Link to comment
Share on other sites

I understand, you have to take it slow and not do much at one time. I had some trouble with the arc’s G2 and G3 when I started programming Y axis lathe with the sub spindle. and what I had to do, was create the same toolpath on the main and the sub spindle, then post and compare to see if the output was correct. Then I would change the switch in the post and then repost until I got it correct. This will give you an understanding of how they work for each axis. Try creating a test program for the main spindle and do each C axis toolpath with Y axis and without Y axis and the same on the sub spindle and compare the code. Some of the other forum members have this down to a science and can help as well or suggest a better method.

 

Note: The sub spindle programming is done different by some machine tool manufactures. I’m not sure about the Haas machine but if you have a good understanding of the main spindle, you will soon understand the sub spindle.

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