Angular axis rotation direction

More
06 Jan 2015 21:35 #54658 by markus1984pl
Hello,
is there a possibility to select rotation direction when using angular axis?
E.g. I have axis A at 180 deg and want rotate it to 0 deg. So I can rotate forward to 190, 200 ... and finally 360 or I can rotate backward to 170, 160, ... and 0.

thank you for your help!

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

More
06 Jan 2015 23:00 #54664 by andypugh

Hello,
is there a possibility to select rotation direction when using angular axis?
E.g. I have axis A at 180 deg and want rotate it to 0 deg. So I can rotate forward to 190, 200 ... and finally 360 or I can rotate backward to 170, 160, ... and 0.


I think that if you configure the axis as WRAPPED_ROTARY
www.linuxcnc.org/docs/html/config/ini_co...tml#sub:AXIS-section
then starting from an angle of 0 degrees a command of G1 A90 will move 90 degrees clockwise, but G1 A -90 would move 270 degrees anticlockwise.

The default behaviour allows you to code the same thing, except that the second move would be G1 A -270 and then a move back to the starting position would be G1 A -360 rather than G1 A 0.

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

Time to create page: 0.062 seconds
Powered by Kunena Forum