force:true not working for XYZ and IJK output variables
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi, we have an old anilam crusader II we managed to get running on fusion recently with a customized post processor and all of the sudden it refuses to work properly. the cnc needs all coordinates output on each line when moving and we were using force:true to accomplish this but all of the sudden after running it through the post fusion gives the warning "Unsupported output variable specifier 'force'." and we arent sure how to fix it. the lines in question are as follows:
var xOutput = createOutputVariable({onchange:function() {state.retractedX = false;}, prefix:"X"}, xyzFormat);
var yOutput = createOutputVariable({onchange:function() {state.retractedY = false;}, prefix:"Y"}, xyzFormat);
var zOutput = createOutputVariable({onchange:function() {state.retractedZ = false;}, prefix:"Z"}, xyzFormat);
var xOutputcirc = createOutputVariable({onchange:function() {state.retractedX = false;}, prefix:"X", force:true}, xyzFormat);
var yOutputcirc = createOutputVariable({onchange:function() {state.retractedY = false;}, prefix:"Y", force:true}, xyzFormat);
var zOutputcirc = createOutputVariable({onchange:function() {state.retractedZ = false;}, prefix:"Z", force:true}, xyzFormat);
var aOutput = createOutputVariable({prefix:"A"}, abcFormat);
var bOutput = createOutputVariable({prefix:"B"}, abcFormat);
var cOutput = createOutputVariable({prefix:"C"}, abcFormat);
var feedOutput = createOutputVariable({prefix:"F"}, feedFormat);
var sOutput = createOutputVariable({prefix:"S", control:CONTROL_FORCE}, rpmFormat);
// circular output
var iOutput = createOutputVariable({prefix:"I", force:true, control:CONTROL_FORCE}, xyzFormat);
var jOutput = createOutputVariable({prefix:"J", force:true, control:CONTROL_FORCE}, xyzFormat);
var kOutput = createOutputVariable({prefix:"K", force:true, control:CONTROL_FORCE}, xyzFormat);
var gMotionModal = createOutputVariable({}, gFormat); // modal group 1 // G0-G3, ...
var gPlaneModal = createOutputVariable({onchange:function () {gMotionModal.reset();}}, gFormat); // modal group 2 // G17-19
var gAbsIncModal = createOutputVariable({}, gFormat); // modal group 3 // G90-91
var gFeedModeModal = createOutputVariable({}, gFormat); // modal group 5 // G94-95
var gUnitModal = createOutputVariable({}, gFormat); // modal group 6 // G70-71
var gCycleModal = createOutputVariable({}, gFormat); // modal group 9 // G81, ...
var gRetractModal = createOutputVariable({}, gFormat); // modal group 10 // G98-99
Thanks in advance for any help
EDIT: here is a link to the full code on github
https://github.com/travisarty/Crusader-II-Post-Processor-for-fusion360/blob/main/crusader_mod1.cps