Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
billyt1
225 Views, 3 Replies

Issues with converting mach3 mill post processor to 5-axis

I am very new to milling and am attempting to set up a 5-axis mill. I am using mach3mill that has been modified to use the 6-axis set up, and am attempting to create a test piece to trial the features. My issue is that when I rotate the piece in the A-axis, the z and y outputs generate incorrectly, with both axis being too high. The simulation appears to function correctly.

I have included the code added to the mach3mill post processer below.

 

if(true){//setup your machine here
var aAxis = createAxis({coordinate:0,table:true, axis:[1, 0, 0], range:[-120-0.0001,120+0.0001],preference:1});
var cAxis = createAxis({coordinate:2,table:true, axis:[0, 0, 1], range:[-180-0.0001,180+0.0001],preference:1});
machineConfiguration = new MachineConfiguration(aAxis,cAxis);
setMachineConfiguration(machineConfiguration);
optimizeMachineAngles2(0); // TCP mode
}