Stuart Stevenson wrote:
> Gentlemen,
> On one machine I have a handwheel without lines or
> detents. It holds position with a friction device.

I see why you aren't so worried about losing position then.

>     Would someone write this and commit it? 

Done.  (In CVS head.)

I don't have a jogwheel hooked up.  If you are willing to get a CVS
checkout and test that would be appreciated.  Chris has offered to
do a quick test tomorrow, but since you are the one who actually
wants the functionality, and you know what you want, your testing
would be beneficial.

If testing goes OK, I will backport to the 2.1 branch, and it will
be part of the 2.1.4 release coming soon.

Usage:

In addition to the existing jogwheel related HAL pins (jog-enable,
jog-counts, and jog-scale), there is a new pin "axis.N.jog-vel-mode".
It defaults to false, which gives you the traditional position mode.
Set it true, and you get velocity mode, where the machine tracks
the wheel unless you spin the wheel too fast - if you go too fast,
any "extra" position command is discarded, to prevent overrun when
you stop.

Note that there will always be _some_ overrun, because the machine
needs a finite amount of time to decelerate to a stop.  But it will
start deceling the instant the wheel stops.

Regards,

John Kasunich

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to