Hi!
It seems like a bug in the post processor We are working on a fix for the brother mill turn post in general! so it should get fix this problem.
Time beign you can fix the issue by making a post processor change
Edit the post processor in any editor and find for the following section of code
var angle = toRad(toolAngle) + toolOrientation;
if (turret == 2) {
angle = (Math.PI / 2) - angle; // turret 2 turns with A-axis = 90
}
angle *= turningAngle == 270 ? -1 : 1; // adjust A-axis tilt when turning in +Y
if ((angle != 0) && !turningYAxis) {
error(localize("A-axis turning is only allowed when turning along the Y-axis."));
return abc;
}
and modify the code like below
var angle = toRad(toolAngle) + toolOrientation;
if (turret == 2) {
angle = (Math.PI / 2) - angle; // turret 2 turns with A-axis = 90
}
angle *= turningAngle == 270 ? -1 : 1; // adjust A-axis tilt when turning in +Y
if (section.getParameter("operation:turningMode", "") == "inner") {
angle = 0;
}
if ((angle != 0) && !turningYAxis) {
error(localize("A-axis turning is only allowed when turning along the Y-axis."));
return abc;
}
Save the post and post process now you should get the expected code.
Boopathi Sivakumar
Senior Technology Consultant