Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.

hurco post mod help .

Anonymous

hurco post mod help .

Anonymous
Not applicable

Could someone help with getting the drilling chip brake cycle to output g1 moves and not caned cycle . I have it done with my flashcut post but this is more complicated because of the switch between isnc and bnc posting . with simple post it is just commenting out the wright block but with the hurco post it doesn't work  ,It just errors out 

0 Likes
Reply
Accepted solutions (1)
405 Views
5 Replies
Replies (5)

George-Roberts
Collaborator
Collaborator

I believe you can just change the cycle to this in the post..:

 

   case "chip-breaking":
        expandCyclePoint(x, y, z);
      break;

 

 

0 Likes

Anonymous
Not applicable

This is what it what I have  , I am running bnc mode so I commented out ((cycle.accumulatedDepth < cycle.depth) || (P > 0)) and wright block . I keep getting errors.  

 

break;
case "chip-breaking":
if ((cycle.accumulatedDepth < cycle.depth) || (P > 0)) {
expandCyclePoint(x, y, z);
} else {
if (properties.isnc) {
writeBlock(
gRetractModal.format(98), gAbsIncModal.format(90), gCycleModal.format(73),
getCommonCycle(x, y, z, cycle.retract),
"Q" + xyzFormat.format(cycle.incrementalDepth),
feedOutput.format(F)
);
} else { // BNC mode
writeBlock(
gRetractModal.format(98), gAbsIncModal.format(90), gCycleModal.format(73),
getCommonCycle(x, y, cycle.clearance - cycle.bottom, zOutput.getCurrent() - cycle.retract),
"Q" + xyzFormat.format(cycle.incrementalDepth),
feedOutput.format(F)
);
}
}
break;

 

 

 

0 Likes

George-Roberts
Collaborator
Collaborator
Accepted solution

just change the line

 

if ((cycle.accumulatedDepth < cycle.depth) || (P > 0)) {

 

to

 

if (true) {

 

and that will expand the cycle to G1 moves

2 Likes

Anonymous
Not applicable

Thank you George !!!! java post programming is so not my strong point !

 

Tony 

0 Likes

George-Roberts
Collaborator
Collaborator

Awesome :)! Good luck

0 Likes