Hello @toneanu_livia26,
the explanation provided above, was targeting a post modified in the last 6 months.
Your post had been modified 7 years ago by Autodesk; you can't expect to have the same functionality.
In order to implement this on your post you will need to change the following elements:
function onOpen() {
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:[0,360], cyclic:true});
machineConfiguration = new MachineConfiguration(aAxis);
setMachineConfiguration(machineConfiguration);
optimizeMachineAngles2(0);
}
The regular change is firstly the axis definition, informing the system that RTCP is not supported. (Page 7-174 in the actual revision of the manual)
var aAxis = createAxis({coordinate:0, table:true, axis:[1, 0, 0], range:[-360.0001,360.0001], preference:1, tcp:false});
Then we need to tell the post engine to ignore TCP optimization
optimizeMachineAngles2(2); // 2 instead of 0
Unfortunately, as the post if so old, other logic is missing, we will have to comment the TRAORI and TRAFOFF output.
//writeBlock("TRAORI");
and
//writeBlock("TRAFOOF");
In a more recent post, we would have had something like :
if (useTCP) {
writeBlock("TRAORI");
}
and we would have set the useTCP to false at the beginning.
Cheers
______________________________________________________________
If my post answers your question, please click the "Accept Solution" button. This helps everyone find answers more quickly!