- Posts: 1
- Thank you received: 0
Resetting Rotary Axis to Zero
5 years 3 months ago #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
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.
5 years 2 months ago #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 to join the conversation.
3 years 5 months ago #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
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
