- Posts: 10
- Thank you received: 0
The axis of rotation has no negative direction
4 years 10 months ago #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.
Please Log in to join the conversation.
4 years 10 months ago #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 to join the conversation.
4 years 10 months ago #229783
by jess
这是我的配置文件,我是通过Stepconf配置复制过来的,可能有点乱。
Replied by jess on topic The axis of rotation has no negative direction
Attachment not found
Attachment not found
Please Log in to join the conversation.
4 years 10 months ago #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.
Please Log in to join the conversation.
4 years 10 months ago #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
Please Log in to join the conversation.
Time to create page: 0.085 seconds
