How to off RTCP

alexnittii
Community Visitor
Community Visitor

How to off RTCP

alexnittii
Community Visitor
Community Visitor

Hello,

 

I downloaded from the site head-head postprocessor with Mach3 cnc and corrected it for head-table.

But XYZ coordinates are output seemes for rotated coordinate system.

My machine has no tilted planes and RTCP functionality.

 optimizeMachineAngles2(2) - no RTCP

If anybody advice what is needed to do more I'd be very appriciate.

 

Regards.

 

 

0 Likes
Reply
298 Views
3 Replies
Replies (3)

serge.quiblier
Autodesk
Autodesk

Hi @alexnittii 

 

you are using a pretty old version of the post.

We have updated most of them to handle the machine kinematic in a different way.

But let's look at the problem:

  var aAxis = createAxis({coordinate:0, table:true, axis:[1, 0, 0], range:[-90.00, 90.00]});
  var cAxis = createAxis({coordinate:2, table:true, axis:[0, 0, 1], range:[-360.00, 360.00], cyclic:false});

 

There is no variable to clearly define the TCP support there. So, it will switch to the default mode. Wich is unfortunately for you to use TCP.

You must change that line to look like that

  var aAxis = createAxis({coordinate:0, table:true, axis:[1, 0, 0], range:[-90.00, 90.00], tcp:false});
  var cAxis = createAxis({coordinate:2, table:true, axis:[0, 0, 1], range:[-360.00, 360.00], cyclic:false, tcp:false});

 

Regards


______________________________________________________________

If my post answers your question, please click the "Accept Solution" button. This helps everyone find answers more quickly!

 



Serge.Q
Technical Consultant
cam.autodesk.com
0 Likes

alexnittii
Community Visitor
Community Visitor

Dear Serge.Q

 

I did like below

var aAxis = createAxis({coordinate:0, table:false, axis:[1, 0, 0], range:[-90.00, 90.00], tcp:false});
var cAxis = createAxis({coordinate:2, table:true, axis:[0, 0, 1], range:[-360.00, 360.00], cyclic:false, tcp:false});

 

and have nc-file (machining plane perpenducular -X)

G0 A90. C-90.
G17
G0 X-91. Y-25.
Z-25.
X-81.                                     - here must be Y-81
G94 G1 X-77. F333.                Y-77
X-75.                                       Y-75 
Z-50. F1000.

 

Still rotates WCS

 

Regards, Alex

0 Likes

bob.schultz
Autodesk
Autodesk

Hello Alex,

The program you are showing appears to be a 3+2 operation.  The optimizeMachineAngles2 function will only adjust the coordinates for multi-axis operations.  To optimize the coordinates for 3+2 operations, you will need to change the following setting in the getWorkPlaneMachineABC function from 'true' to 'false'.

  var tcp = false;  // <<< CHANGE THIS SETTING TO false
  if (tcp) {
    setRotation(W); // TCP mode
  } else {
    var O = machineConfiguration.getOrientation(abc);
    var R = machineConfiguration.getRemainingOrientation(abc, W);
    setRotation(R);
  }  


Bob Schultz
Sr. Post Processor Developer

0 Likes