Rollover is wrong. Incorrect coordinates of the rotary axis.
Posted: Fri Mar 19, 2021 4:49 pm
Faced the problem of programming a rotary axis.
When the work goes with angles <180 - everything is ok. But with turns> 180 degrees - there are problems - they cannot be programmed in one line.
I read this thread - http://www.forum.cncdrive.com/viewtopic.php?f=4&t=2142- it mentions this issue even though there is logic in your words too.
Yes, there is ambiguity in the rotation, for example, from position A0 to position A250. But this cannot be in the G91 mode, even with the rollover turned on, working as it is now!
There can be no disagreement: A250 should turn 250 CCW, A-720 = 2 turns on CW
This is problem №1 - In the G91 mode, the path should not be shortened by multiples of 360 and should have a clear direction.
I will return to the previous topic from the link - problem number 2 - I also think that rollover should not work in the G1-G90 mode
You write -
- this is not true. RS274, mach3, and other systems do not work the same way as UCCNC..
The direction of rotation is clearly identified by the "-" sign!
If from position А10 - I want to go to position А300 using the long way - I will write А300 and it should make a CCW rotation of 290 degrees. If I write G1A-300, it will make a short turn 70 CW.
And you can't do a rollover in this place! It should only work in fast travel mode.
Using this, you can also say exactly what the axis should do in the A3600 or A-3600 command, excluding ambiguity.
When the work goes with angles <180 - everything is ok. But with turns> 180 degrees - there are problems - they cannot be programmed in one line.
I read this thread - http://www.forum.cncdrive.com/viewtopic.php?f=4&t=2142- it mentions this issue even though there is logic in your words too.
Yes, there is ambiguity in the rotation, for example, from position A0 to position A250. But this cannot be in the G91 mode, even with the rollover turned on, working as it is now!
There can be no disagreement: A250 should turn 250 CCW, A-720 = 2 turns on CW
This is problem №1 - In the G91 mode, the path should not be shortened by multiples of 360 and should have a clear direction.
I will return to the previous topic from the link - problem number 2 - I also think that rollover should not work in the G1-G90 mode
You write -
cncdrive wrote:What you saying makes no sense.
When an axis is rotary and is set to rollover on 360° then it can move 2 ways:
1.) Shorter path
2.) Longer path
Because G1 does not define which way to move, not like G2/G3 which defines CW or CCW therefor the control has to select one of the ways, because it is simply undefined.
So, moving "as it is programmed" makes no sense at all, because it is not programmed (cannot be programmed) with the G0 or G1 which way to move.
Rotary axis now works the same way as in Mach3. (If that makes any sense?)
- this is not true. RS274, mach3, and other systems do not work the same way as UCCNC..
The direction of rotation is clearly identified by the "-" sign!
If from position А10 - I want to go to position А300 using the long way - I will write А300 and it should make a CCW rotation of 290 degrees. If I write G1A-300, it will make a short turn 70 CW.
And you can't do a rollover in this place! It should only work in fast travel mode.
Using this, you can also say exactly what the axis should do in the A3600 or A-3600 command, excluding ambiguity.