- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
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
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I believe you can just change the cycle to this in the post..:
case "chip-breaking":
expandCyclePoint(x, y, z);
break;
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
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;
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
just change the line
if ((cycle.accumulatedDepth < cycle.depth) || (P > 0)) {
to
if (true) {
and that will expand the cycle to G1 moves
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Thank you George !!!! java post programming is so not my strong point !
Tony
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Fusion