Problem enable only bAxis and cAxis

Problem enable only bAxis and cAxis

cosmedsrl
Participant Participant
916 Views
4 Replies
Message 1 of 5

Problem enable only bAxis and cAxis

cosmedsrl
Participant
Participant

Hi everyone,

I have a 5-axis with Heidenhain system, where the head rotates on the Y axis (bAxis) and the table rotates on the Z axis (cAxis) the machine is not enabled for rotation on the X axis (aAxis), I followed the guide for " disable "aAxis and enable only bAxis and cAxis as reported below:

else if (true) {
    // NOTE: setup your machine here
    //var aAxis = createAxis({coordinate:0, table:true, axis:[1, 0, 0], range:[-120.0001, 120.0001], preference: properties.preferTilt});
    var bAxis = createAxis({coordinate:1, table:true, axis:[0, 1, 0], range:[-5, 90], preference:1});
    var cAxis = createAxis({coordinate:2, table:true, axis:[0, 0, 1], range:[-360, 360], cyclic:true});
    machineConfiguration = new MachineConfiguration(bAxis, cAxis);

    setMachineConfiguration(machineConfiguration);
    optimizeMachineAngles2(0); // using M128 mode
  }

the problem is that when I go to do the operation where I set the tool orientation (2D Contour ) in the generated file it writes me a "wrong" positioning or better compiles me aAxis and bAxis instead of bAxis and cAxis, as follows :

 

11 PLANE SPATIAL SPA-90 SPB+90 SPC+0 TURN FMAX SEQ-

if instead he tries to do an operation in "continuous" mode:

cosmedsrl_0-1593095688571.png

this is the result of setting the axes

16 PLANE SPATIAL SPA+0 SPB+27.991 SPC-133.219 STAY

and then afterwards it works "correctly" with bAxis and cAxis, being a 5-axis simultaneous machining

 

my question is:

as it is possible to set in the PP not with 5 simultaneous axes but a simple Tool Orientation by rotating exclusively bAxis and cAxis.

0 Likes
917 Views
4 Replies
Replies (4)
Message 2 of 5

andrea.amilo
Community Manager
Community Manager

Hi @cosmedsrl ,

 

I think that your heidenhain postprocessor is working fine because PLANE SPATIAL doesn't rotate A and B axis, but it just defines SPA, SPB (and SPC) as solid angles. Your controller should rotate B and C thanks to 'TURN' option on PLANE SPATIAL command line.

 

Otherwise you could change the Property 'Tilted workplane' to 'Use Cycle19' and you would have something like this:

 

CYCL DEF 19.png

 

Please test it carefully and let me know.

 



Andrea Amilo

Senior Technical Consultant

Autodesk Knowledge Network | Fusion 360 Webinars | Autodesk Make
Message 3 of 5

cosmedsrl
Participant
Participant

@andrea.amilo 

sorry for the delay, I wanted to do some tests with Cycle 19, this is what emerged:

  • my Hermle machine needs the F function next to CYCL DEF 19.0 WORKING PLANE otherwise it doesn't know how fast to drive
  • before a rotation change it should reset the zeros but not the 
  • CYCL 19 should rotate "close" to the medium being that it makes continuous double rotation unlike the SPATIAL which rotates the axes individually
  • when passing from B + 0 C + 0 for example B + 90 and C-90 does not correctly recognize the previous zero and collides
    do you think there is no way to set the SPB and SPC rotations (would I be fine also not continuously or do I rotate SPB and ended the rotation rotate SPC?

I currently have a post processor that I use on FeatureCam which is based on the SPB and SPC rotation and this machine reads it perfectly.

 

Thanks

0 Likes
Message 4 of 5

cosmedsrl
Participant
Participant

@andrea.amilo 
is there any news?

 

thanks

0 Likes
Message 5 of 5

andrea.amilo
Community Manager
Community Manager

Hello @cosmedsrl ,

 

I've tried to modify 'setWorkPlane' function to have a PLANE SPATIAL function using only SPB and SPC arguments.

This is the code I made: the highlighted lines are the modified one:

 

Capture.JPG

 

Try to comment line 548 and to add lines from 549 to 553.

Test it carefully and let me know.

 

Please remember that we can provide an help to create your own postprocessors.
If you need a specific customization, e.g. a porting from an existing FeatureCAM post, I think the best solution is to contact one of our partners. You can see here any clarification:


https://forums.autodesk.com/t5/hsm-post-processor-forum/hsm-post-adjustments-needed-find-your-right-...



Andrea Amilo

Senior Technical Consultant

Autodesk Knowledge Network | Fusion 360 Webinars | Autodesk Make
0 Likes