Hello everyone,
I am a noob here and finally have the guts to do some rotational movement to utilize my machine.
I am trying to do a simple rotation for engraving.
There are 2 faces that is 3.434 deg and -3.434 deg.
I am trying to fix my post processor and it is still giving me the positive 3.434 degree for both operation.
(in the testrotation setup)
Can anyone help and teach me how to modify the postprocessor correctly?
I think I have messed with commenting out 68.2/53.1
and written in writeBlock("G00", "B" + abcFormat.format(abc.y));
Also, i have messed with baxis in line 1460
var bAxis = createAxis({coordinate:1, table:true, axis:[0, 1, 0], range:[-180, 180], preference:0, tcp:useTCP});
my fanuc ddr goes from -360 to 0 to 360, machine can continue to go 361+ or -361+ after the full rotation
Please kindly help!
Thank you,
David
I had the same problem. I changed the orientation for the "B" axis to "-1". See attached image.
To do it within the post processor would look like this.
var bAxis = createAxis({coordinate:1, table:true, axis:[0, -1, 0], preference:0, tcp:useTCP});Notice I also removed the range. If your range is infinite then the range is not necessary.
Hope this helps!
oh wow i think i got it working on posts!
my machine b axis is turning on x axis, which i put the -1 into the first of the 3 positions
var bAxis = createAxis({coordinate:1, table:true, axis:[-1, 0, 0], preference:0, tcp:useTCP});
also i have set the eulerconvention into true and etc
Hopefully it wont crash anything on machine =D
Thank you and let's see!
Also now after i post the nc, it gave me this warning beside the NC program: Warning: The provided CAM machine configuration is overwritten by the postprocessor.
is this normal for 4th axis/5th?
i think it maybe my post processor difference between the machine builder and the post
function defineMachine() {
var useTCP = true;
if (true) { // note: setup your machine here
//var aAxis = createAxis({coordinate:0, table:true, axis:[1, 0, 0], range:[-120, 120], preference:0, tcp:useTCP});
var bAxis = createAxis({coordinate:1, table:true, axis:[-1, 0, 0], preference:0, tcp:useTCP});
//var cAxis = createAxis({coordinate:2, table:true, axis:[0, 0, 1], range:[-360, 360], preference:0, tcp:useTCP});
machineConfiguration = new MachineConfiguration(bAxis);
setMachineConfiguration(machineConfiguration);
if (receivedMachineConfiguration) {
warning(localize("The provided CAM machine configuration is overwritten by the postprocessor."));
receivedMachineConfiguration = false; // CAM provided machine configuration is overwritten
}
}
do you know what should i look out for? Thank you guys!
If you use the "defineMachine()" function then it will override what you have set in the machine builder.
Just set the "if" statement to false and it will follow your machine builder.
Can't find what you're looking for? Ask the community or share your knowledge.