There is another config that starts out a bit simpler for gantries but 
for some reason it is only in master.

http://git.linuxcnc.org/gitweb?p=emc2.git;a=tree;f=configs/gantry;h=f3ae14446af4775372c3dd11bcc94ac227bf3fad;hb=HEAD

John

On 8/20/2011 7:11 PM, Bryce Johnson wrote:
> I am in the process of setting up a 4 stepper gantry machine (XYZX).  I
> started off using the stepgen and slaving the axis... this appeared to work.
>
>
> This stepup:
> Used the gecko 540 selection (i have the 251 which are the same) to get the
> correct steptime, stepspace, etc.
> Got a base period of 65449 in my INI.  (My jitter is at about 45000)
> Scale is 1909.9 steps per inch
>
> hal looks like this for the X and Y motors
>
> setp stepgen.0.position-scale [AXIS_0]SCALE
> setp stepgen.0.steplen 1
> setp stepgen.0.stepspace 0
> setp stepgen.0.dirhold 45200
> setp stepgen.0.dirsetup 45200
> setp stepgen.0.maxaccel [AXIS_0]STEPGEN_MAXACCEL
> 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 xstep<= stepgen.0.step
> net xdir<= stepgen.0.dir
> net xenable axis.0.amp-enable-out =>  stepgen.0.enable
>
>
> Now what I want to do is use gantrykins so I can home my X
> joints separately.
>
>   I based my config off of the stepper-gantry in the config. I got it to
> run... but when I increase the speed on the X or Y axis EMC will show it
> moving faster.  But the motor will be running slow (like it is missing
> steps).    This happens around 250 in/min.  Slaving the Xs together I ran it
> up to 480in/min
>
> Any idea would could be the issue?
>
>    I attached those hal and the INI files.  Not sure if you attach files to
> the list?
>
>
> ------------------------------------------------------------------------------
> Get a FREE DOWNLOAD! and learn more about uberSVN rich system,
> user administration capabilities and model configuration. Take
> the hassle out of deploying and managing Subversion and the
> tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2
>
>
> _______________________________________________
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
------------------------------------------------------------------------------
Get a FREE DOWNLOAD! and learn more about uberSVN rich system, 
user administration capabilities and model configuration. Take 
the hassle out of deploying and managing Subversion and the 
tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to