Viesturs,
I'll grab the code and give it a try.  So is Gantrykins just a trivkins
that someone compiled for those changes?

On Tue, May 29, 2012 at 9:06 AM, Viesturs Lācis <viesturs.la...@gmail.com>wrote:

> 2012/5/29 Bryce Johnson <sie...@gmail.com>:
> >
> > If I remember correctly on my previous machine (3axis 3 motors), even if
> > the jog speed was high, it would get limited by the axis speed in the
> ini.
> > This was nice so I could jog my x and y at high speed and then my z was
> > limited.  If on my new machine (XYZX) if I set it up the same way
> (hardwire
> > slaving) then the machine would respect those limits instead of throwing
> a
> > joint error.
> >
> > Also If I had it this way, the soft limits would be in place... which is
> > nice for jogging around.
> >
>
> Would You like trying to assign 2 joints to 1 axis the hardcore way
> right in kinematics module? I start thinking that there is only one
> way to find out, if changing kinematics module will help.
> To do so, You will need:
> 1) linuxcnc-dev package installed;
>
> 2) install git packages and get source code; see first 2 commands here:
>
> http://wiki.linuxcnc.org/cgi-bin/wiki.pl?Installing_EMC2#Getting_the_source_with_git
> I would suggest replacing emc2 with linuxcnc for the second command;
>
> 3) in the folder with source code:
> go to ~/src/emc/kinematics/
> open trivkins.c and save with name of Your choice (afterwards I will
> assume it to be called mykins.c, update the commands in steps 4 and 5
> to reflect the actual name);
>
> 4) now edit that file to assign joint[3] to X
>
> for that You will need to "free" joint[3] from A axis, so remove this line:
> pos->a = joints[3];
>
> and assign it to X by changing this line:
> joints[3] = pos->a;
> to this one:
> joints[3] = pos->tran.x;
>
> 5) replace "trivkins" with "mykins" in both places - first line and
> 9th line from bottom, otherwise next step will cause errors;
>
> 6) install the new kinematics module by running in terminal:
> cd linuxcnc-dev/src/emc/kinematics
> sudo comp --install mykins.c
>
> 7) adjust HAL file to load the new kinematics module;
>
> --
> * Viesturs*
>
> If you can't fix it, you don't own it.
> http://www.ifixit.com/Manifesto
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to