I'm trying to mill a 3mm x 30 degree chamfer on a rectangular block using a swarf tool path, but the head is tilting the opposite direction to what is shown in the simulation. Is there a way to invert the rotation direction in the post? I am using the stock heidenhain inspection post with B & C axis enabled.
Solved! Go to Solution.
Solved by ChristopherMarion. Go to Solution.
Hi @cam4ADNY
In the post properties section, there is an option for preferred tilt side (negative or positive). If you change this, does it do the trick for you?
If you prefer the positive side, you can open the post and have this set as the default.
Navigate to the "preferTilt" section in the user-defined properties and change the -1 value to 1.
Hi @cam4ADNY
I quickly outputted some code with the Heidenhain Inspection post from the Fusion 360 library.
I also loaded in the default table/head machine sim to compare between the machine sim and the output code.
You can see the B axis output is on the negative side in the code and on the machine sim.
On your machine, does the B axis need to be positive or negative to reach this angle?
B needs to be negative, the code you have posted is exactly what i'm after, obviously i have stuffed something up in the post.
Ok so i have had several go's at setting up the post using the information here:
But i keep getting the wrong B axis output (+ instead of -). below is a the area of the post i have made changes to to setup the post for B & C axis. from the above post its clear that i have something wrong but i cant work out what it is.
You have the B axis set to Table but it should be Head instead
Where it says table:true, should be table:false
hopefully that sorts you out
Good catch on that. That should do it!
I tried that but it didn't make any difference. post attached.
OK try changing the vector to -1 for the b axis
So [0,-1, 0]
also I think you should have TCP enabled for the B axis too
var bAxis = createAxis({coordinate:1, table:false, axis:[0, -1, 0], range:[-120.0001, 120.0001], preference:1, tcp:useTCP});
I tried this out on your post and it correctly puts out B- angle for the head
I copied and pasted the changes into my post, and i'm still getting the B axis output as positive values. Is there any settings in fusion i could be getting wrong when i'm posting the code? I'm pretty new to fusion, giving it a go now that featurecam is pretty much dead.
ok I used you actual fusion setup, added a generic machine like the doosan with the standard unmodified post processor for machine simulation purposes.
you can see it simulates fine
then I post process but change to your post processor with the hard coded machine config with the modification I have made, then post process and you can see the output code is correct
Hi @cam4ADNY
I made a slight change to your post and it seems like it is posting correctly. Changes are in bold.
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.0001, 120.0001], preference:getProperty("preferTilt"), tcp:useTCP});
var bAxis = createAxis({coordinate:1, table:false, axis:[0, -1, 0], range:[-120.0001, 120.0001], tcp:useTCP, preference:getProperty("preferTilt")});
var cAxis = createAxis({coordinate:2, table:true, axis:[0, 0, 1], range:[0, 360], cyclic:true, tcp:useTCP, preference:getProperty("preferTilt")});
machineConfiguration = new MachineConfiguration(bAxis, cAxis);
I think the biggest culprit was the tcp info in the b axis designation and the negative vector. I also placed the prefered tilt property in, but I don't think this really affects anything.
Please just carefully check everything before running on the machine.
On a side note, is there a reason you are not using a Machine Configuration. To me, this is the easiest way to setup you machine kinematics and the ability to plug in machine simulation.
Post attached too!
Thankyou very much, that has fixed it. I Didn't really know about machine configuration, I'm just testing out fusion as it part of our featurcam license, to see if it will be suitable for 5axis work on our new machine, before we fork out a small fortune for a featurecam post.
Can't find what you're looking for? Ask the community or share your knowledge.