Check out stepper-gantry sample config - it has exactly the same
config as You need - 2 motors on Y axis.
The way I did it:
run stepconf wizard, select XYZA type of machine, configure all the
pins, at this stage consider Your second Y motor as A axis (put a
check in the "invert" for direction, if You will need both Y motors to
turn opposite directions for the synchronised movement - it was the
case for me). For easier understanding, let's assume You called the
machine "gantry"

find stepper gantry sample config folder (might be in /home/[your user
name]/emc2/configs/), copy kinematics.hal file to the "gantry" folder
on Your desktop, which was created by stepconf wizard.

open gantry.hal, delete first two lines:
first is loadrt trivkins
second one is longer

delete both of them

then open gantry.ini

scroll down to [HALFILE]
change the name of the filename in first line from gantry.hal to kinematics.hal
change the name of the filename in second line from custom.hal to gantry.hal

that should basically be it.

remove motors from machine and test out.

when You will open EMC2, it will start in joint mode, which allows You
to jog each motor separately - be careful with that, because it allows
You to jog a single motor on Y axis. remember to jog both Y motors
together. click "view" and "world mode" or shift+4 to switch to world
mode. now, if You will load some g-code, it should be executed
correctly - at least i can do it. i am still geting "joint 1 following
error" and other stuff, when i try to jog, so i have to work on it. I
would appreciate, if anyone, who is smarter than me, could comment on
possible reasons for that.

This is the way, how I have approached setting up my gantry-type machine.

with best regards,
Viesturs


2010/6/2 CRPE Solutions <[email protected]>:
> Hi,
>
> I have a 4 axis TB6560 driver board. I need to drive one motor for
> X-axis, two motors for Y-axis and 1 for Z-axis. In other words, my CNC
> machine has 3 axis (XYZ), but my machine has 1 step motor for x, TWO
> motors for the y axis and 1 for z. What is the best way to do that?
> Should i make a special input parallel cable jumping each y-axis pins
> with the a-axis pins, or you have a better idea?
>
> Thanks,
>
> Carlos Pena
> Santo Domingo,
> Dominican Republic
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> Emc-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/emc-users
>

------------------------------------------------------------------------------

_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to