- GCode and Part Programs
- O Codes (subroutines) and NGCGUI
- Is it possible to reset the value of the axes from the G-code level - Not G92
Is it possible to reset the value of the axes from the G-code level - Not G92
- Adam Maszynotwór
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 31
- Thank you received: 2
10 Dec 2021 19:47 #228798
by Adam Maszynotwór
Is it possible to reset the value of the axes from the G-code level - Not G92 was created 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?
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.
- aleksamc
- Offline
- Platinum Member
Less
More
- Posts: 567
- Thank you received: 65
10 Dec 2021 20:30 #228806
by aleksamc
Replied by aleksamc on topic Is it possible to reset the value of the axes from the G-code level - Not G92
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.
[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.
- Todd Zuercher
- Offline
- Platinum Member
Less
More
- Posts: 5009
- Thank you received: 1443
10 Dec 2021 21:41 #228823
by Todd Zuercher
Replied by Todd Zuercher on topic Is it possible to reset the value of the axes from the G-code level - Not G92
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.
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.
- Adam Maszynotwór
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 31
- Thank you received: 2
10 Dec 2021 23:07 #228831
by Adam Maszynotwór
Replied by Adam Maszynotwór on topic Is it possible to reset the value of the axes from the G-code level - Not G92
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.
- GCode and Part Programs
- O Codes (subroutines) and NGCGUI
- Is it possible to reset the value of the axes from the G-code level - Not G92
Time to create page: 0.073 seconds