Hello . I'm trying to create a post processor to launch my Rotary CNC Roland 540, but I'm having this error
actually the roland rml post does not support rotary axes.
It is strictly limited to 3 axis toolpaths.
As I am not an expert in the RML specific format, so, I can't tell if it's a limitation in this mode.
Regards.
______________________________________________________________
If my post answers your question, please click the "Accept Solution" button. This helps everyone find answers more quickly!
Thank you for your reply, so how do I customize or create a post processor that can work with Roland 4 axis Rotary then ?
the roland iso/nc code mode version is prepared to support multi axis machine.
A machine configuration can be defined in the onOpen function to support up to 5 axis.
Regards
Thanks a lot for your support and help, so I download Roland ISO post processor and I did the changes needed for 4 axis Rotary CNC as the follow....
function onOpen() {
if (getProperty("useRadius")) {
maximumCircularSweep = toRad(90); // avoid potential center calculation errors for CNC
}
if (true) { // note: setup your machine here
var aAxis = createAxis({coordinate:0, table:false, axis:[0, 0, 1], range:[-360, 360], preference:1});
//var cAxis = createAxis({coordinate:2, table:false, axis:[0, 0, 1], range:[-360, 360], preference:1});
machineConfiguration = new MachineConfiguration(aAxis);
setMachineConfiguration(machineConfiguration);
optimizeMachineAngles2(0); // map tip mode
}
if (!machineConfiguration.isMachineCoordinate(0)) {
aOutput.disable();
}
if (!machineConfiguration.isMachineCoordinate(1)) {
bOutput.disable();
}
if (!machineConfiguration.isMachineCoordinate(2)) {
cOutput.disable();
}
if (!getProperty("separateWordsWithSpace")) {
setWordSeparator("");
}
I'm following the instruction Here for how to set up 4/5 axis machine https://knowledge.autodesk.com/support/autodesk-hsm/learn-explore/caas/sfdcarticles/sfdcarticles/How...
But I'm getting this Error
"Direction is not supported for machine configuration "
I did change it to var aAxis = createAxis({coordinate:0, table:false, axis:[0, 0, -1], range:[-360, 360], preference:1});
but still the same error, I think I'm misunderstanding something in the instruction above.
FYI I'm using Roland 540 CNC with Rotary axis.
You have to change some parameters and fix the axis definition.
Your 4th axis rotary table is rotating around which axis ?
Around X : axis:[1, 0, 0]
Around Y : axis:[0, 1, 0]
Around Z : axis:[0, 0, 1]
If the axis needs to be inverted replace 1 by -1
If the axis is rotating the part table:true, if it's rotating the tool table:false.
As it's a 4th axis machine, it will probably not support tcp, so this line must be changed :
optimizeMachineAngles2(1); // non tcp table or and head config
Regards.
______________________________________________________________
If my post answers your question, please click the "Accept Solution" button. This helps everyone find answers more quickly!
Hello again,
Thanks a lot for your effort, I did changed those in my code but I'm still getting the same error, I think my mistake in putting the correct values of the axis, Here is my Fusion Toolpath and My CNC, I'm using the option Rotary in the multi-axis bar in order to create the toolpath.
Thanks,
I am not able to find and fix the error just by looking at the pictures.
Can you share your post processor, and the Fusion file, please?
You can either share a link to your Fusion file. See:
https://knowledge.autodesk.com/support/fusion-360/learn-explore/caas/sfdcarticles/sfdcarticles/How-t...
or you can save an archive (f3d, or f3z) and share it on the forum
https://knowledge.autodesk.com/support/fusion-360/troubleshooting/caas/sfdcarticles/sfdcarticles/How...
Hello again, yes sure, Here is my Fusion file https://a360.co/3tHkoKu and the Post Processor that I'm using in the attachment.
hope we can figure out the mistake
Thanks again for your help.
Lots of things were wrong.
Let start from the beginning. Usually a milling machine have axis configured and named specifically.
The tool rotational axis is the Z axis, as shown in blue in the picture. Then, the X axis is frequently the longuest one, going from left to right on the machine. The Y axis is the last one, following the right hand convention. (X is the thumb, Y is the index, Z is the third finger)
Then, in Fusion, you should orient the wcs axis in the same way. In your example the part is aligned along X.
But your first definition was along Z!
So I fixed it this way:
Changing the wcs orientation, we now need to correct the rotary axis definition in the toolpath.
To avoid a warning with the wcs defintion , Using G54 instead, it can be fixed by selecting the first wcs.
I fixed the axis definition, and loosened it.
Initially the axis definition was
var aAxis = createAxis({coordinate:0, table:true, axis:[0, 0, 1], range:[-360, 360], preference:1});
The direction is wrong, it should be along X, and the range is "limiting" the number of turn the machine can do.
So, the following defintion is fixing issue one, and relaxing the second one.
var aAxis = createAxis({coordinate:0, table:true, axis:[1, 0, 0], preference:1});
Your axis is not really unlimited, but 360 degree is too restrictive, and I am not sure if the machine uses a cyclic axis.
For information, your toolpath require 43 rotations approximately. So expect a "lengthy" rewind at the end of the program, when going back to G0 A0.
Regards.
PS Find in attachment the fixed elements
______________________________________________________________
If my post answers your question, please click the "Accept Solution" button. This helps everyone find answers more quickly!
Try the attached modified Fusion f3d file using the attached modified Roland Post Processor, see image below for the PP modifications, I have assumed that the Left/Right axis of your machine is the X Axis so your Rotary is rotating around the X Axis. The generated G Code looks OK but I don`t know if it will run correctly at your CNC so take great care when testing this stuff 🙂 🙂 🙂
The Roland PP does not have the "Rewind" ability so I just put a large value in for the range and that allows the A Axis to keep revolving, a bit of a crude workaround but that`s all I have for now 🙂
Can you perhaps code this PP to have the "Rewind" capability? Reckon it would all work OK then 🙂 🙂
Thanks a lot for your effort and help, I was feeling that the problem is in my understanding of the 3 axis and their position, The machine is running perfect now.
Thanks again
Can't find what you're looking for? Ask the community or share your knowledge.