C axis range limit alter in post processor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
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 ?