Announcements
Autodesk Community will be read-only between April 26 and April 27 as we complete essential maintenance. We will remove this banner once completed. Thanks for your understanding

Using Fusion for my Swiss lathe

tonyFTPQQ
Enthusiast

Using Fusion for my Swiss lathe

tonyFTPQQ
Enthusiast
Enthusiast

I am constantly getting code for use on our swiss style lathes and altering the g code to run. Thought I would start to alter a post to do some of the work for me. 

How can I make the post flip all the Z directions? I need all moves that were Z negative to be positive and vise versa?

attached it the post I am starting with, thank you.

0 Likes
Reply
2,153 Views
7 Replies
Replies (7)

BrandonTBFBF
Collaborator
Collaborator

You're in for a lot of work. I'll attach the post I use for my Swiss with a Mitsubishi control, it may give you some ideas.

 

My machine has a B-Axis so there's a lot of functionality built into my post to make it all work correctly. In my tool library I designate the tools like this:

 

OD Turning tools Main or Sub - Turret 1

B axis tools(live or static) for $1 - Turret 2

Axial tools for $2 - Turret 3

Radial Tools for $2 - Turret 4

 

Best of luck!

 

0 Likes

BrandonTBFBF
Collaborator
Collaborator
0 Likes

rgollob
Advocate
Advocate

Hey Brandon,

Any idea what it would take to modify that to work on Nomura NN32YB2?

0 Likes

BrandonTBFBF
Collaborator
Collaborator

Unfortunately I don't. Those machines are all so different.

 

You could always use it just to generate tool paths and hand code the rest.

0 Likes

rgollob
Advocate
Advocate

Thanks for the reply. Thats what we currently do and looking to eliminate the hand coding. 

0 Likes

msaunders68224
Explorer
Explorer

In the work setup:

Choose "Secondary Spindle" instead of primary spindle. This inverts the Z-Axis when posting code. Use this method to manipulate the post for swiss turning centers. Typically I'll use the Tsugami M08SY as the post processor. See depiction below...

Secondary Spindle.png

0 Likes

Don.Cyr
Collaborator
Collaborator

Be sure to backup your post before making any changes..

Find this line in your post:

var zFormat = createFormat({decimals:(unit == MM ? 3 : 4), trimLeadZero:true, forceDecimal:true});
Change it to:
var zFormat = createFormat({decimals:(unit == MM ? 3 : 4), trimLeadZero:true, forceDecimal:true, scale:-1});
 
The "Scale:-1" will invert the Z axis coordinates. If your sub coords post out in reverse, look for this section and flip the "Scale" value for the Z axis and/or any others to match what you need.
 
DonCyr_0-1730205038159.png

 

Please click "Accept Solution" if I helped with your question or issue.
0 Likes

Type a product name