Resetting Rotary Axis to Zero

More
26 Jul 2021 18:19 #215972 by Nbabka
Replied by Nbabka on topic Resetting Rotary Axis to Zero
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 or Create an account to join the conversation.

More
31 Jul 2021 23:43 #216529 by andypugh
Replied by andypugh on topic Resetting Rotary Axis to Zero
I would suggest searching the post for where it writes the "M2" and put it before that.

Please Log in or Create an account to join the conversation.

More
26 May 2023 10:52 - 26 May 2023 10:52 #272204 by cadcam
Replied by cadcam on topic Resetting Rotary Axis to Zero
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
Last edit: 26 May 2023 10:52 by cadcam.

Please Log in or Create an account to join the conversation.

Time to create page: 0.110 seconds
Powered by Kunena Forum