03-17-2022
10:19 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
03-17-2022
10:19 AM
Hello @eratus
as the firmware settings can be edited at compilation time, we can't guess how a specific machine using an hobbyist firmware will react.
Your are complaining that this is not functionning on your so you can eventually edit your post processor.
Using any text editor open the cps file, search the onSection function inside.
then alter the code to look like this
var initialPosition = getFramePosition(currentSection.getInitialPosition());
if (!retracted) {
if (getCurrentPosition().z < initialPosition.z) {
writeBlock(gMotionModal.format(0), zOutput.format(initialPosition.z));
}
}
if (insertToolCall) { // Code added
zOutput.reset(); //make sure Z will be output always
writeBlock(gMotionModal.format(0), zOutput.format(initialPosition.z));
} // end of code addition
if (insertToolCall || retracted) {
gMotionModal.reset();
writeBlock(
gAbsIncModal.format(90),
gMotionModal.format(0), xOutput.format(initialPosition.x), yOutput.format(initialPosition.y)
);
writeBlock(gMotionModal.format(0), zOutput.format(initialPosition.z));
} else {
Hope it will fix your issue, before we eventually change the post behaviour.
Cheers.
______________________________________________________________
If my post answers your question, please click the "Accept Solution" button. This helps everyone find answers more quickly!
Fusion