Hello,
I am looking for postprocessor for Heidenhain iTNC530 for machine Rambaudi RC270L.
There is anyone who can make it?
Thank you.
Solved! Go to Solution.
Solved by Laurens-3DTechDraw. Go to Solution.
The generic Heidenhain post processor is all reayd to support 5-axis.
it only needs to know the kinematics of you machine.
Those are these lines:
if (properties.machineDefinition) { machineConfiguration = MachineConfiguration.createFromPath(findFile(properties.machineDefinition)); log(""); log("Machine configuration:"); log(getMachineConfigurationAsText(machineConfiguration)); setMachineConfiguration(machineConfiguration); optimizeMachineAngles2(0); // using M128 mode } else if (false) { // NOTE: setup your machine here var aAxis = createAxis({coordinate:0, table:true, axis:[1, 0, 0], range:[-120.001,30.001], preference:-1}); //var bAxis = createAxis({coordinate:1, table:true, axis:[0, 1, 0], range:[-120.0001,120.0001], preference:1}); var cAxis = createAxis({coordinate:2, table:true, axis:[0, 0, 1], range:[0,360], cyclic:true}); machineConfiguration = new MachineConfiguration(aAxis, cAxis); setMachineConfiguration(machineConfiguration); optimizeMachineAngles2(0); // using M128 mode }
Look at anything in the else if(false).
Set the false to true and give in your machine kinematics and you are good to go.
Laurens Wijnschenk
3DTechDraw
AutoDesk CAM user & Post editor.
René for Legend.
I just googled your machine.
Have you set:
table:true
to
table:false
For both rotary axis?
Laurens Wijnschenk
3DTechDraw
AutoDesk CAM user & Post editor.
René for Legend.
Hello.. sorry for hijacking your thread.. but is there a machine defenition in the siemens 840D post aswell? ive been looking for it without any sucess.
Cheers
@Vohnsen wrote:
Hello.. sorry for hijacking your thread.. but is there a machine defenition in the siemens 840D post aswell? ive been looking for it without any sucess.
Cheers
Yes!
looks like this:
if (false) { var aAxis = createAxis({coordinate:0, table:true, axis:[1, 0, 0], range:[-120.0001,120.0001], preference:1}); //var bAxis = createAxis({coordinate:1, table:true, axis:[0, 1, 0], range:[-120.0001,120.0001], preference:1}); var cAxis = createAxis({coordinate:2, table:true, axis:[0, 0, 1], range:[0,360], cyclic:true}); machineConfiguration = new MachineConfiguration(aAxis, cAxis); setMachineConfiguration(machineConfiguration); optimizeMachineAngles2(0); }
Laurens Wijnschenk
3DTechDraw
AutoDesk CAM user & Post editor.
René for Legend.
Ok so if i got a DMU 125 FD that got a C axis that can turn around endless 360 and a B axis with tilting head that can turn -10 to 180 my code would be:
function onOpen() { if (false) { //var aAxis = createAxis({coordinate:0, table:true, axis:[1, 0, 0], range:[-120.0001,120.0001], preference:1}); var bAxis = createAxis({coordinate:1, table:true, axis:[0, 1, 0], range:[-10,180], preference:1}); var cAxis = createAxis({coordinate:2, table:true, axis:[0, 0, 1], range:[0,360], cyclic:true}); machineConfiguration = new MachineConfiguration(aAxis, cAxis); setMachineConfiguration(machineConfiguration); optimizeMachineAngles2(0); }
note: B axis 180 actualy only does 90 degrees on the part afaik..
Its a tilting head like this.
Nearly correct!
Code would be like this:
if (true) { //var aAxis = createAxis({coordinate:0, table:true, axis:[1, 0, 0], range:[-120.0001,120.0001], preference:1}); var bAxis = createAxis({coordinate:1, table:false, axis:[0, 1, 0], range:[-10,180], preference:1}); var cAxis = createAxis({coordinate:2, table:true, axis:[0, 0, 1], range:[0,360], cyclic:true}); machineConfiguration = new MachineConfiguration(aAxis, cAxis); setMachineConfiguration(machineConfiguration); optimizeMachineAngles2(0); }
Changed the false to true, and for the b-axis the table to false.
Laurens Wijnschenk
3DTechDraw
AutoDesk CAM user & Post editor.
René for Legend.
Hello I am using a Fermat Horizontal Boring Mill WFT 13 with contol iTNC530 Heidenhain and i need a post processor for it, im using the rotary table (B axis) but not simultaneously im using it as 3 + 1 can you help me with this?? thanks 🙂
You need to do the same in the post processor and it should work.
Laurens Wijnschenk
3DTechDraw
AutoDesk CAM user & Post editor.
René for Legend.
Allright thanks man..
What about? MachineConfiguration still want aAxis in that? or dont we need bAxis and cAxis?
Something I forgot to edit in your file here the working one:
if (true) { //var aAxis = createAxis({coordinate:0, table:true, axis:[1, 0, 0], range:[-120.0001,120.0001], preference:1}); var bAxis = createAxis({coordinate:1, table:false, axis:[0, 1, 0], range:[-10,180], preference:1}); var cAxis = createAxis({coordinate:2, table:true, axis:[0, 0, 1], range:[0,360], cyclic:true}); machineConfiguration = new MachineConfiguration(bAxis, cAxis); setMachineConfiguration(machineConfiguration); optimizeMachineAngles2(0); }
This line was faulty:
machineConfiguration = new MachineConfiguration(aAxis, cAxis);
Laurens Wijnschenk
3DTechDraw
AutoDesk CAM user & Post editor.
René for Legend.
Could you explain me briefly what do you mean with the kinematics of the machine?, do you refer a things like which axis the machine use and the pivot center? Thanks in advance
You need to give information of the rotary axis.
Like explained above.
The system need to know what rotary axis the machine has, around what XYZ axis they rotate around.
And if it's a table or a head axis. And what the rotational limits are.
Laurens Wijnschenk
3DTechDraw
AutoDesk CAM user & Post editor.
René for Legend.
We use a 407 with A axis (turning around X)
I followed the steps given here for a 407 heidenhain post with a A axis.
However, when posting the feature that is under 90 degrees gives an error.
We use HSMworks professional.
I also tested the generic Iso heidenhain post which works oke but the code
was incompatible with the 407.
Thanks for any ideas how to get it working for the 407.
Information: Configuration: Heidenhain TNC 407
Information: Vendor: Heidenhain
Information: Posting intermediate data to 'C:\Users\user1\AppData\Local\HSMWorks\nc\38.h'
Information: Total number of warnings: 1
Error: Failed to post process. See below for details.
...
Loading locale from 'C:\Program Files\HSMXpress\locales\english_us.xml'
Code page changed to '1252 (ANSI - Latijns I)'
Start time: Wednesday, November 16, 2016 3:54:56 PM
Post processor engine: 4.2.1 41078
Configuration path: C:\Program Files\HSMWorks\posts\heidenhain 407a.cps
Include paths: C:\Program Files\HSMWorks\posts
Configuration modification date: Wednesday, November 16, 2016 3:50:37 PM
Output path: C:\Users\user1\AppData\Local\HSMWorks\nc\38.h
Checksum of intermediate NC data: bcf02b018104cd7b1e6629a16481b2d5
Checksum of configuration: ffc453a3634e5d38f2102bf0c02599f4
Vendor url: http://www.heidenhain.com
Legal: Copyright (C) 2012-2013 by Autodesk, Inc.
Generated by: HSMWorks 2016 R4.41178
...
Warning: Work offset has not been specified.
Error: Tool orientation is not supported.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error: Failed to invoke function 'onSection'.
Error: Failed to invoke 'onSection' in the post configuration.
Error: Failed to execute configuration.
Stop time: Wednesday, November 16, 2016 3:54:57 PM
Post processing failed.
function onOpen() {
// NOTE: setup your machine here
if (true) {
var aAxis = createAxis({coordinate:0, table:true, axis:[1, 0, 0], range:[-360.0001,360.0001], preference:-1});
//var bAxis = createAxis({coordinate:1, table:true, axis:[0, 1, 0], range:[-120.0001,120.0001], preference:1});
//var cAxis = createAxis({coordinate:2, table:true, axis:[0, 0, 1], range:[10*-360,10*360], preference:1});
machineConfiguration = new MachineConfiguration(aAxis);
machineConfiguration = new MachineConfiguration();
setMachineConfiguration(machineConfiguration);
optimizeMachineAngles2(0); // using M128 mode
}
Can't find what you're looking for? Ask the community or share your knowledge.