Resetting Rotary Axis to Zero

More
5 years 3 months ago #215972 by Nbabka
Where do I put
writeBlock(
gMotionModal.format(0),
conditional(abcFormat.format(abc.x) == 0, "G10 L20 P#5220 A[#5423 MOD 360]")
);


I can't find anywhere in the post that this will work

Please Log in to join the conversation.

More
5 years 2 months ago #216529 by andypugh
I would suggest searching the post for where it writes the "M2" and put it before that.

Please Log in to join the conversation.

More
3 years 5 months ago #272204 by cadcam
Sorry mate, I just saw this.. don't come here much anymore. The Fusion post has changed a bit now, but just put this in your Section End function.

function onSectionEnd() {
if (currentSection.isMultiAxis()) {
writeBlock(gMotionModal.format(49));
/*Reset A axis to stop unwind */
writeBlock("G10 L20 P#5220 A[#5423 MOD 360]");
}

Cheers

Please Log in to join the conversation.

Time to create page: 0.037 seconds
Powered by Kunena Forum