- Posts: 19899
- Thank you received: 4655
2 motors for the same axis
- andypugh
- Offline
- Moderator
-
Less
More
10 years 11 months ago - 10 years 11 months ago #65128
by andypugh
Replied by andypugh on topic 2 motors for the same axis
Can you go into Machine->Show HAL config and check the Signals
xpos-cmd, xpos-fb
apos-cmd, apos-fb?
xpos-cmd, xpos-fb
apos-cmd, apos-fb?
Last edit: 10 years 11 months ago by andypugh.
- andypugh
- Offline
- Moderator
-
Less
More
- Posts: 19899
- Thank you received: 4655
10 years 11 months ago #65129
by andypugh
Replied by andypugh on topic 2 motors for the same axis
Looking here:
linuxcnc.org/docs/html/man/man9/gantrykins.9.html
I wonder what this means, in practice?
linuxcnc.org/docs/html/man/man9/gantrykins.9.html
I wonder what this means, in practice?
In the inverse kinematics, each joint gets the value of its corresponding axis. In the forward kinematics, each axis gets the value of the highest numbered corresponding joint. For example, with coordinates=XYYZ the Y axis position comes from joint 2, not joint 1.
- andypugh
- Offline
- Moderator
-
Less
More
- Posts: 19899
- Thank you received: 4655
10 years 11 months ago #65130
by andypugh
This sort-of makes sense. There are two X-feedbacks from two (different) stepgens and only one can be compared to the internal X value.
Try short-circuiting the axis.0 feedback, like this: (ie comment out the stepgen and send the command back as feedback)
Replied by andypugh on topic 2 motors for the same axis
andypugh wrote: I wonder what this means, in practice?
This sort-of makes sense. There are two X-feedbacks from two (different) stepgens and only one can be compared to the internal X value.
Try short-circuiting the axis.0 feedback, like this: (ie comment out the stepgen and send the command back as feedback)
Code:
net xpos-cmd axis.0.motor-pos-cmd => stepgen.0.position-cmd
#net xpos-fb stepgen.0.position-fb => axis.0.motor-pos-fb
net xpos-cmd axis.0.motor-pos-fb
- Arro
- Offline
- Senior Member
-
Less
More
- Posts: 52
- Thank you received: 0
6 years 8 months ago #156688
by Arro
Replied by Arro on topic 2 motors for the same axis
Hi,
I have a similar problem with axis definition.
I was able to configure a tandem axis (X or Y) in "world-mode".
Now when I define a "tandem-axis" the system sets directly the "joint-mode" and I cannot set it back to world-mode with view-panel.
does anybody know about some wrong settings somewhere ?
I have a similar problem with axis definition.
I was able to configure a tandem axis (X or Y) in "world-mode".
Now when I define a "tandem-axis" the system sets directly the "joint-mode" and I cannot set it back to world-mode with view-panel.
does anybody know about some wrong settings somewhere ?
- tommylight
- Offline
- Moderator
-
Less
More
- Posts: 22011
- Thank you received: 7491
6 years 8 months ago #156693
by tommylight
Replied by tommylight on topic 2 motors for the same axis
Can you please attach the hal and ini files so we can have a look ?
- Arro
- Offline
- Senior Member
-
Less
More
- Posts: 52
- Thank you received: 0
6 years 7 months ago #159386
by Arro
Replied by Arro on topic 2 motors for the same axis
It has to do with the ohming
One time you perform the ohming for all axis the system turns into world-mode
One time you perform the ohming for all axis the system turns into world-mode
Time to create page: 0.260 seconds