Community
HSM Post Processor Forum
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

I need 5-axis simultaneous postprocessor for Heidenhain iTNC 530

27 REPLIES 27
SOLVED
Reply
Message 1 of 28
manfield07
5402 Views, 27 Replies

I need 5-axis simultaneous postprocessor for Heidenhain iTNC 530

Hello,

I am looking for postprocessor for Heidenhain iTNC530 for machine Rambaudi RC270L.

 

There is anyone who can make it?

 

Thank you.

27 REPLIES 27
Message 2 of 28

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.


Message 3 of 28

It is great. Thank you very much.

Message 4 of 28

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.


Message 5 of 28

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

Message 6 of 28


@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.


Message 7 of 28

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.

 

Message 8 of 28

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.


Message 9 of 28

Yes, I set it, we will test it on Monday.

Message 10 of 28

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 🙂

Message 11 of 28

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.


Message 12 of 28

Allright thanks man..

 

What about? MachineConfiguration still want aAxis in that? or dont we need bAxis and cAxis?

Message 13 of 28

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.


Message 14 of 28

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

Message 15 of 28

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.


Message 16 of 28

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.

Message 17 of 28
ctrflor
in reply to: ctrflor

Here the part giving the error
Message 18 of 28
ctrflor
in reply to: ctrflor

For some reason I can't get the file in.
Message 19 of 28
ctrflor
in reply to: ctrflor

 

 

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
}

Message 20 of 28
ctrflor
in reply to: ctrflor

I downloaded the latest 407 post, the problems with indexing is fixed. We have other things that we need to change and this NG is very helpfull! The code generated is 5 axis simultaneously but the 407 can only do 3 axis simultaneously.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report