StepConf - tandem axe Y - comment configurer 2 moteurs synchrones

More
05 Sep 2025 07:24 #334475 by 3Draf
Bonjour à tous,
J'ai une découpeuse plasma sous Mach3 et je souhaite l'utiliser avec LinuxCNC.
L'univers de LinuxCNC est nouveau pour moi donc j'avance à petit pas.
Après mes déboires avec l'axe X qui saccadait que j'ai pu régler en augmentant le "Base Period Maximum Jitter".

Je me retrouve dans l'impasse pour l'axe Y, j'ai 2 moteurs en symétrie (donc l'un des deux doit être inversé) mais quelle que soit la configuration des pins (ex: pin4= step Y/ pin 5= dir Y / pin 8 = tandem step Y / pin 9 = tandem dir Y inv), je n'arrive pas à faire bouger les 2 moteurs en même temps.
J'arrive à faire déplacer un moteur soit Y1, soit Y2 et seul celui config en step Y et dir Y fonctionne (juste Y1 s'ils sont configurés pareil).
Est-ce une mauvaise compréhension de ces paramètres ?
Dois-je éditer manuellement les fichiers .hal et .ini ?
Quel est la bonne méthode dans StepConf pour synchroniser 2 moteurs ?

Merci de m'avoir lu,
Raph

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

More
05 Sep 2025 12:36 #334492 by langdons
Are these stepper motors?

Can you just connect the inputs of the drivers for y1 and y2 together?

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

More
08 Sep 2025 14:02 #334625 by 3Draf
Hello, thank you for your reply.
I can't connect them to the same driver because the motors are symmetrically positioned, meaning the direction of motor Y2 must be reversed.
In addition, I plan to install two limit switches later to correct for positioning mismatches between the two motors, which requires two independent outputs (and inputs).

P.S.: I'm using LinuxCNC 2.9.4 on an old PC with a parallel port.
Bonjour, merci pour votre réponse.
Je ne peux pas les connecter sur le même driver, car les moteurs sont placés de manière symétrique, ce qui fait que la direction du moteur Y2 dois être inversée.
De plus, je compte par la suite installer deux capteurs de fin de course pour corriger les décalages de positionnement entre les deux moteurs, si qui nécessite d'avoir deux sorties (et entrer) indépendantes.

Ps : j'utilise linuxCNC 2.9.4 sur un vieux PC avec port parallèle.

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

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
08 Sep 2025 14:39 #334626 by tommylight

I can't connect them to the same driver because the motors are symmetrically positioned, meaning the direction of motor Y2 must be reversed.

You can, just switch places of ONE winding on the motor.

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

More
08 Sep 2025 15:47 #334636 by langdons
What does switch places mean?

Swap the wires of one winding?

If your motor driver isn't powerful enough to power both motors together, just connect two drivers to the same input, connect each motor to a driver, with one of the windings of one motor reversed.

The drivers should be as identical as possible to ensure they perform the same.
The following user(s) said Thank You: tommylight

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

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
08 Sep 2025 17:33 #334642 by tommylight

What does switch places mean?

Swap the wires of one winding?

Yes, exactly.
Sorry for my lackluster explanation, i had a friend waiting for me back then.

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

More
09 Sep 2025 07:04 #334674 by 3Draf
J'ai installé les interrupteurs de fin de course, un pour chaque moteur.
Je veux synchroniser les moteurs de manière logicielle pour qu'ils puissent se calibrer séparément et se déplacer de manière synchrone.

L'inversion des câbles est une bonne solution, mais cette machine appartient à mon employeur qui préfère ne pas toucher au matériel (et garder la compatibilité avec l'autre pc avec Mach3)

Dois-je modifier les fichiers .hal et .ini ou est-ce possible avec StepConf ?


I've installed limit switches, one for each motor.
I want to synchronize the motors in software so they can calibrate separately and move synchronously.

Reversing the cables is a good solution, but this machine belongs to my employer, who prefers not to touch the hardware (and maintain compatibility with the other PC with Mach3).

Do I need to modify the .hal and .ini files, or is this possible with StepConf?

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

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
09 Sep 2025 12:06 #334684 by tommylight
LinuxCNC 2.10 can do tandem axis, i do not know if 2.9.4 can.
You need this for the axis with 2 motors, and this way you can change direction of those motors separately, and this does require home switches for each joint that you already have, so all good.
Attachments:

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

More
09 Sep 2025 12:35 #334687 by langdons
Your employer is weird.

What's wrong with swapping 2 wires?

Simple, reversible, easy.

Whatever, the tandem axis seems like a good solution.

You have 4 home switches, meaning you only have one input pin for E-Stop, limit switch, etc.

A parallel port only has 5 input pins from machine to PC.

You can have an E-Stop input, you can have a hardware limit switch input, but not both.

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

More
09 Sep 2025 12:42 #334689 by langdons

LinuxCNC 2.10 can do tandem axis, i do not know if 2.9.4 can.
You need this for the axis with 2 motors, and this way you can change direction of those motors separately, and this does require home switches for each joint that you already have, so all good.

I've never seen LinuxCNC with MATE, only XFCE.
It looks so much better than XFCE!

(Though it brings back bad memories of GhostBSD)

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

Time to create page: 0.420 seconds
Powered by Kunena Forum