x and y switched

More
25 Sep 2024 07:11 #310758 by bentiggin
x and y switched was created by bentiggin
I have a working axis config that I'm trying to convert to qtplasmac.
For some reason, qtplasmac thinks my x and y are opposite.
If I move my y axis, the x dro moves, and vice versa.
I looked at the recent post by the same name, but mdi button is grayed out.
This is my first time with qtplasmac so I'm sure I'm over looking something.
Attached are ini/hal files
Attachments:

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

  • Aciera
  • Aciera's Avatar
  • Away
  • Administrator
  • Administrator
More
25 Sep 2024 17:23 - 25 Sep 2024 17:25 #310793 by Aciera
Replied by Aciera on topic x and y switched
Maybe you have a rotation set in the XY plane. See this post:
forum.linuxcnc.org/plasmac/53347-x-and-y-switched#306106

[edit]
Ah, that is probably the post you were referring to.
Last edit: 25 Sep 2024 17:25 by Aciera.

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

More
25 Sep 2024 19:38 #310795 by bentiggin
Replied by bentiggin on topic x and y switched
I just went through and changed all the joint 0 to joint 1 and joint 1 to joint 0.
That seems to make it work. I don't think qtplasmac is ok with y being joint 0 and x being joint 1.

Despite this, I am immediately getting following errors when I try to jog.
So i increased the ferror and with one slight tap on jog with the continuous setting, the axis moved 10 inches.

Hmm. I know my encoderscale and scale are off, but they were close enough in my axis config to work. At least tapping jog would only move the axis a fraction of an inch.
Always something.

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

More
25 Sep 2024 19:50 #310796 by bentiggin
Replied by bentiggin on topic x and y switched
Ah, it was my ff1 being set to 1 instead of .0001. Seems to be working good enough to play around with it.

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

More
25 Sep 2024 22:01 #310799 by tommylight
Replied by tommylight on topic x and y switched
Hmmmm you have a 7i97T, that is analog, and that needs tuning:
forum.linuxcnc.org/10-advanced-configura...ning-detailed-how-to

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

More
27 Sep 2024 23:48 #310928 by bentiggin
Replied by bentiggin on topic x and y switched
Thanks tommy.
I briefly went through that thread when I first set them up, but am definitely going to revisit it once I get a chance to tune them better. I appreciate you writing that tutorial, I wouldn't know where to start without it.
The following user(s) said Thank You: tommylight

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

More
28 Sep 2024 00:01 #310929 by tommylight
Replied by tommylight on topic x and y switched
You are welcomed, always.

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

More
28 Sep 2024 10:37 #310969 by andypugh
Replied by andypugh on topic x and y switched

I just went through and changed all the joint 0 to joint 1 and joint 1 to joint 0.
That seems to make it work. I don't think qtplasmac is ok with y being joint 0 and x being joint 1.

This is OK in theory, but is likely to cause confusion. 

It is possible that the behaviour you see is because you are jogging before homing. (In so-called "joint mode"). This bypasses kinematics. Depending on how you are jogging this may map X to joint 0 and Y to joint 1. Keyboard jogging in the GUIs will tend to do this, but if you are button-jogging through HAL this would just suggest that the HAL connections are wrongly allocated. 

If this is what is happening you will see the XY swap before homing then it will do what you expect after homing. Which is probably a situation worth avoiding. 

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

Moderators: snowgoer540
Time to create page: 0.186 seconds
Powered by Kunena Forum