- Posts: 12170
- Thank you received: 4153
Help with pinout. 2 motors (joints) on one axis. 2.8
- rodw
- Offline
- Platinum Member
-
If you have a look at this post on the other thread
forum.linuxcnc.org/49-basic-configuratio...lease?start=20#96019
This is the only fixed bit - the LCNC stepgen
And through this construct, you can send the stepgen output to any parport output pin
I think this is what makes LinuxCNC so flexible. You can do almost anything.
Please Log in or Create an account to join the conversation.
- Todd Zuercher
- Offline
- Platinum Member
-
- Posts: 4793
- Thank you received: 1480
I still think it would be slightly simpler to set up XYZY rather than XYYZ. But in the end it doesn't really matter, it can be set up either way. Just little more hand editing one way than the other (and more opportunity to confuse yourself or make mistakes).
Part of what makes Linuxcnc so powerful, is its flexibility in how it can be configured. This also is what makes it so complicated to set up. It is not locked into specific pin assignments or combinations for anything, unlike some other controllers.
Please Log in or Create an account to join the conversation.
- joel0407
- Offline
- Premium Member
-
- Posts: 95
- Thank you received: 22
Todd Zuercher wrote: (and more opportunity to confuse yourself or make mistakes).
Or opportunity to learn something new and make it neater.
LOL
I had been thinking the wrong thing for a short time. I thought with Stepgen.0 the 0 related to the joint. It doesn't so I'm lost again.
As I said, the "signal-name" can be anything. the signal-name is referenced to a source and then signal-name is referenced to a pinout. I have found how the signal-name is referenced to stepgen but that's just the step type not which joint. There must be a way to reference a signal-name to a joint. Just haven't found it.
Still looking.
Please Log in or Create an account to join the conversation.
- Todd Zuercher
- Offline
- Platinum Member
-
- Posts: 4793
- Thank you received: 1480
Please Log in or Create an account to join the conversation.
- joel0407
- Offline
- Premium Member
-
- Posts: 95
- Thank you received: 22
Todd Zuercher wrote: To see what is controlling a stepgen you have to look at what the stepgen's inputs are connected to. Look for a pin named "stepgen.0.position-cmd" (or possibly "stepgen.0.velocity-cmd") for the one controlling stepgen.0. That will be connected to a signal (of any name) then you have to find what output pin controls that signal. It is most likely "joint.0.motor-pos-cmd", but it could also be any number of other things.
That's exactly what I'm looking for. Thanks
I'll play with my configs when I get home from work.
Please Log in or Create an account to join the conversation.
- joel0407
- Offline
- Premium Member
-
- Posts: 95
- Thank you received: 22
I think you mentioned somewhere that many use XYZA in Stepconf then change the config files. That's going to be a bit confusing as well as stepconf creates the A axis as a rotary axis.
I still think it's going to be easier just to create XYZ, copy and paste one of those axis and make appropriate changes. One for me will be bumping along the joint numbers as XYZ will be joints:
0 = X
1 = Y
2 = Z
I will make it joints:
0 = X
1 = Y
2 = Y
3 = Z
By the way, I got my first stepped motor to run from my computer late Thursday night. By Friday morning, I had it running up to calculated 400mm/Second before it stalled. My ball screws wont handle anywhere near that so it's good to know the motors, drivers or computer wont be anything to slow down my travel speeds. The max rpm for the ball screws are going to be my limiting factor.
Happy Days
Please Log in or Create an account to join the conversation.