Only one Y Stepper is working

More
02 Sep 2023 23:57 #279683 by Elias B.
Hi,

I have a parallel Y-Axis Design and both sides have an individual motor and driver and are connected seperatly. But only the second one moves. I already checked all connections, the firmware should be loaded correctly, since all the other motors work (Y2, X, Z). 
I attached my ini and hal files.

Kind Regards
Elias
Attachments:

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

More
03 Sep 2023 01:12 #279688 by tommylight
There is nothing set up for tandem axis in your files, just 3 axis and spindle.
Use PncConf to create a new config, choose 4 stepgens, choose axis x, choose axis y, choose tandem axis y2, choose axis z.
One more, thing, those two Y axis must have separate home/limit switches.
The following user(s) said Thank You: Elias B.

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

More
03 Sep 2023 01:30 #279690 by JPL
Replied by JPL on topic Only one Y Stepper is working
The basic problem is that your configuration (hal and ini files) are for a 'standard' 3 axis machine and nothing is there for the second axis of the gantry.

You need a configuation with 2 joints for the gantry (Y) axis. I believe this could be automatically generated by pncconfig or you can manually add the second axis to your files.

Have a look at this discussion for an example of a gantry configuration: forum.linuxcnc.org/47-hal-examples/34072...ranch-gantry-example

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

More
03 Sep 2023 01:36 #279691 by JPL
Replied by JPL on topic Only one Y Stepper is working
Tommy you did it again!!!
(Well, I guess I'm getting too old and slow  )... (But I swear the forum damn delays slowed me down ) ...

Elias B. -> Here is an extensive discussion about gantry setup with lots of explanation and info: forum.linuxcnc.org/49-basic-configuratio...cnc-2-8-master#96594
 
The following user(s) said Thank You: tommylight

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

More
03 Sep 2023 15:31 #279726 by Elias B.
Hi, thanks for the answers. You were right, changing the setting helped!
But I have a new problem, I want to use my limit switches (which are also my home switches), but linuxcnc does't recognize them. I know that their are working because they have an red light as indicator of activation.
Since my last post my hal and ini files have changed a lot, so I repost them here.
Attachments:

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

More
03 Sep 2023 16:04 #279730 by Aciera
You will need to set your combined limit/home switches up for either positive OR negative limits. So this will not work (this goes for all of your axes):
net both-x => joint.0.neg-lim-sw-in
net both-x => joint.0.pos-lim-sw-in

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

More
03 Sep 2023 16:18 #279731 by Elias B.
I already did.

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

More
03 Sep 2023 16:28 #279732 by Aciera
You can use the 'halshow' tool to monitor signals in realtime:

linuxcnc.org/docs/devel/html/hal/halshow.html

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

More
03 Sep 2023 17:09 #279734 by Elias B.
My mistake, I should provided ed more information:
I have all my 4 limit switches connected on the ports 0-3 on TB6. I also configured them in LinuxCNC. But if i power my machine on, I get an error and in the halshow tab the input doesn't change.

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

More
03 Sep 2023 17:30 - 03 Sep 2023 17:31 #279737 by Aciera
So you have the output of your limit switches connected to Field-inputs 0...3 of your Mesa 7i76.
Likely a wiring issue. Can you provide more information on the switches (ie mechanical, inductive and/or maybe a datasheet)?
Last edit: 03 Sep 2023 17:31 by Aciera.

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

Moderators: cmorley
Time to create page: 0.140 seconds
Powered by Kunena Forum