Is it possible to reset the value of the axes from the G-code level - Not G92

More
10 Dec 2021 19:47 #228798 by Adam Maszynotwór
Hi. :) I use the C axis for turning. I do larger series. for this purpose, the C axis controls G91j incrementally for one detail, the value of the degrees is huge, e.g. ends the piece at the C999999 position. I'm afraid LinuxCNC could go crazy with the hundredth. I thought about zeroing the G92 axis, but it doesn't mean that when I see C0, the machine zero is still not counted to a gigantic value.
How to solve my problem or maybe there is no problem and the C axis can grow to infinity?

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

More
10 Dec 2021 20:30 #228806 by aleksamc
You can try add in .ini file parameter
[AXIS_#]WRAPPED_ROTARY=1
It will tell you machine to count only to 360 or -360 degrees and then reset counter.
The following user(s) said Thank You: Adam Maszynotwór

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

More
10 Dec 2021 21:41 #228823 by Todd Zuercher
The wrapped rotary setting will only affect the display, the encoder still continues to count up.

Yes there is a limit to how high Linuxcnc can count, but it shouldn't really be a problem since the double precision float value that is used should be able to count revolutions for eons.
The following user(s) said Thank You: Adam Maszynotwór

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

More
10 Dec 2021 23:07 #228831 by Adam Maszynotwór
OK, then I leave it as it is and see if I run into problems when the machine actually starts working after 12 hours

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

Time to create page: 0.066 seconds
Powered by Kunena Forum