On 26 July 2011 17:21, Viesturs Lācis <[email protected]> wrote:
> Here is my "remix" of trivkins (if You want to change its name, simply > replace the name through the file): I had a fiddle with this, and think I have it working. There are a few quirks which make me yearn for ja3. There is a sample config here: http://www.linuxcnc.org/images/fbfiles/files/stepper_xyza.zip It consists of a very basic config (though it only goes as far as a set of stepgens, there are no output pins configured) and a kinematics file called "swapkins" written by Visteurs and then fiddled with a bit. Unzip the attached file into your configs directory. You need to install the kinematics module, so navigate to the place where you extracted the files, and then: sudo comp --install swapkins.c You will be asked for your password. You will get three warning messages, ignore them. You should now be able to start the sample config in the normal way. Then you need to home the joints one by one (I am not sure why the homing sequence is inactive, or why the "homed" spot never appears by joint 4.) Then switch to world mode by pressing $ You can now jog X in the normal way, and watch the input to stepgen 0 change in the pyvcp panel on the right. select the "swap" checkbutton, and then jogging or moving X controls the 4 stepgen. Deselect the button and you have control of stepgen 0 again, and the x-display returns to the previous value. You quite often get a small twitch from the axes on the change, and a following error. I think this is some sort of timing problem with the changeover in the kinematics file, and that the solution is to be a bit cleverer during the first call to the kins after a mode change. However, moving to zero before swapping is another solution. -- atp "Torque wrenches are for the obedience of fools and the guidance of wise men" ------------------------------------------------------------------------------ Got Input? Slashdot Needs You. Take our quick survey online. Come on, we don't ask for help often. Plus, you'll get a chance to win $100 to spend on ThinkGeek. http://p.sf.net/sfu/slashdot-survey _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
