C axis range limit alter in post processor

C axis range limit alter in post processor

c.teasdale.contact
Explorer Explorer
462 Views
3 Replies
Message 1 of 4

C axis range limit alter in post processor

c.teasdale.contact
Explorer
Explorer

Hi there

 

Recently posted about this and thought the response I had would work but after trying it out I discovered more limitations on machine

old post for reference: https://forums.autodesk.com/t5/fusion-360-manufacture/alter-c-axis-limit-of-degrees-of-rotation/m-p/...

The issue I've got is my machine only reads C axis movements up to +/- 9999.999 and my programme goes up to -30000.

I have tried editing post processor from:

if (true) {
var bAxisMain = createAxis({coordinate:1, table:false, axis:[0, -1, 0], range:[-0.001, 90.001], preference:0});
var cAxisMain = createAxis({coordinate:2, table:true, axis:[0, 0, 1], cyclic:true, preference:0}); // C axis is modal between primary and secondary spindle

var bAxisSub = createAxis({coordinate:1, table:false, axis:[0, -1, 0], range:[-0.001, 180.001], preference:0});
var cAxisSub = createAxis({coordinate:2, table:true, axis:[0, 0, 1], cyclic:true, preference:0}); // C axis is modal between primary and secondary spindle

 

to 

 

if (true) {
var bAxisMain = createAxis({coordinate:1, table:false, axis:[0, -1, 0], range:[-0.001, 90.001], preference:0});
var cAxisMain = createAxis({coordinate:2, table:true, axis:[0, 0, 1], cyclic:false, preference:0}); // C axis is modal between primary and secondary spindle

var bAxisSub = createAxis({coordinate:1, table:false, axis:[0, -1, 0], range:[-0.001, 180.001], preference:0});
var cAxisSub = createAxis({coordinate:2, table:true, axis:[0, 0, 1], cyclic:false, preference:0}); // C axis is modal between primary and secondary spindle

 

which worked but did not limit range, so I tried:

 

if (true) {
var bAxisMain = createAxis({coordinate:1, table:false, axis:[0, -1, 0], range:[-0.001, 90.001], preference:0});
var cAxisMain = createAxis({coordinate:2, table:true, axis:[0, 0, 1], cyclic:false, range:[-9999.999, 9999.999] preference:0}); // C axis is modal between primary and secondary spindle

var bAxisSub = createAxis({coordinate:1, table:false, axis:[0, -1, 0], range:[-0.001, 180.001], preference:0});
var cAxisSub = createAxis({coordinate:2, table:true, axis:[0, 0, 1], cyclic:false, range:[-9999.999, 9999.999] preference:0}); // C axis is modal between primary and secondary spindle

 

But post failed and gave rewind error:

 

Error: REWIND: Rewind of machine is required for simultaneous multi-axis toolpath and has been disabled.
Stop time: Mon Feb 20 17:34:03 2023
Post processing failed.


I've also tried keeping it cyclic and setting cyclic limit here:

var cFormat = createFormat({decimals:3, forceDecimal:true, scale:DEG, cyclicLimit:-9999.999, 9999.999});

The post just failed as 'invalid post'

Do I need to change the scale:DEG ?

0 Likes
463 Views
3 Replies
Replies (3)
Message 2 of 4

c.teasdale.contact
Explorer
Explorer

@boopathi.sivakumar  thank you for the help you gave on original post, are you able to help here ?

0 Likes
Message 3 of 4

boopathi.sivakumar
Autodesk
Autodesk

Hi @c.teasdale.contact 

I think the issues is your toolpath exceeds the rotation of 9999.99 deg. what do you want, ones the machine reaches it limits. by default the post will not do any retract and rewind. Once the machine reaches 9999 deg then retract to Z and reset the encoder and back to machining is this want you wanted to do? and what post it is?


Boopathi Sivakumar
Senior Technology Consultant

0 Likes
Message 4 of 4

c.teasdale.contact
Explorer
Explorer
Yes that is one of the problems; originally I wanted to be able to change the rotation limit so I could move out of the part and the encoder could reset - I also have the problem of memory in the machine so it might be that I set the limit to 2800

However, I realised I have been over complicating the situation and I can simply set boundary limits and keep posting new operations at each boundary increment , this keeps programme size small and c rotation won’t exceed machine limit

For reference the post I am using is Takisawa mill/turn with fanuc control

0 Likes