The axis of rotation has no negative direction
- jess
- Offline
- New Member
Less
More
- Posts: 10
- Thank you received: 1
22 Dec 2021 08:15 - 22 Dec 2021 08:17 #229705
by jess
The axis of rotation has no negative direction was created by jess
I am a novice and am configuring a 5-axis program on raspberry PI 4 using GPIO to output pulses.
But in the simulation, I found that my axis of rotation had no negative direction, so that it always rotated 360°.
For example, if axis A moves from 30° to 0°, axis A will rotate 330° instead of -30°
I hope to get your help and I will be grateful.
But in the simulation, I found that my axis of rotation had no negative direction, so that it always rotated 360°.
For example, if axis A moves from 30° to 0°, axis A will rotate 330° instead of -30°
I hope to get your help and I will be grateful.
Last edit: 22 Dec 2021 08:17 by jess.
Please Log in or Create an account to join the conversation.
- Michael
- Offline
- Platinum Member
Less
More
- Posts: 335
- Thank you received: 59
22 Dec 2021 15:39 #229741
by Michael
Replied by Michael on topic The axis of rotation has no negative direction
Will need some config files to help sort it out. Hal and ini
Please Log in or Create an account to join the conversation.
- jess
- Offline
- New Member
Less
More
- Posts: 10
- Thank you received: 1
23 Dec 2021 00:54 - 23 Dec 2021 00:55 #229783
by jess
Replied by jess on topic The axis of rotation has no negative direction
这是我的配置文件,我是通过Stepconf配置复制过来的,可能有点乱。
Attachments:
Last edit: 23 Dec 2021 00:55 by jess.
Please Log in or Create an account to join the conversation.
- Michael
- Offline
- Platinum Member
Less
More
- Posts: 335
- Thank you received: 59
23 Dec 2021 01:47 - 23 Dec 2021 01:50 #229785
by Michael
Replied by Michael on topic The axis of rotation has no negative direction
Just looked at this real quick. But how are you asking for it to go in a negative direction?
If your command is to move from A30 to A0 then it will move to that in a positive direction. It looks like if you were to ask for A-0 then it would go in the negative direction.
wiki.linuxcnc.org/cgi-bin/wiki.pl?WrappedRotaryAxes
www.forum.linuxcnc.org/49-basic-configur...-wrapped-rotary-axis
Also noticed you have in your INI "WRAPPED_ROTARY = 3" and was wondering what that means.
If your command is to move from A30 to A0 then it will move to that in a positive direction. It looks like if you were to ask for A-0 then it would go in the negative direction.
wiki.linuxcnc.org/cgi-bin/wiki.pl?WrappedRotaryAxes
www.forum.linuxcnc.org/49-basic-configur...-wrapped-rotary-axis
Also noticed you have in your INI "WRAPPED_ROTARY = 3" and was wondering what that means.
Last edit: 23 Dec 2021 01:50 by Michael.
Please Log in or Create an account to join the conversation.
- jess
- Offline
- New Member
Less
More
- Posts: 10
- Thank you received: 1
23 Dec 2021 03:55 #229787
by jess
Replied by jess on topic The axis of rotation has no negative direction
Thank you very much
The articles were very useful to me, and he solved my problem
"WRAPPED_ROTARY = 3" this should be wrong, I didn't notice
Thank you again for
The articles were very useful to me, and he solved my problem
"WRAPPED_ROTARY = 3" this should be wrong, I didn't notice
Thank you again for
The following user(s) said Thank You: Michael
Please Log in or Create an account to join the conversation.
Time to create page: 0.072 seconds