Kirk,

Hey!  That worked perfectly!  Thanks!

I inserted:

setp axis.0.jog-vel-mode TRUE
setp axis.1.jog-vel-mode TRUE
setp axis.2.jog-vel-mode TRUE

into the hal file right after the:

setp axis.0.jog-enable TRUE
setp axis.1.jog-enable TRUE
setp axis.2.jog-enable TRUE

commands and now when I let go of the stick, the axis stops moving.

Now I have to figure out how to map the buttons the way I want.

- Michael

On Apr 17, 2009, at 11:30 AM, Michael Jones wrote:

> Kirk,
>
> That looks promising.. I'll try inserting that into the Hal.
>
> Thanks,
>
> - Michael
> On Apr 17, 2009, at 11:13 AM, Kirk Wallace wrote:
>
>> On Fri, 2009-04-17 at 10:48 -0700, Kirk Wallace wrote:
>>> On Fri, 2009-04-17 at 01:06 -0700, Michael Jones wrote:
>>> ... snip
>>>> I've used the first script in the knowledgebase as a initial
>>>> attempt,
>>>> but am having a slight problem.  When I let go of the stick on the
>>>> pad
>>>> the axis keeps going.. UHOH! ;-)
>>>>
>>>> I've looked at the other scripts in the knowledgebase and noticed a
>>>> setting called a "deadzone".  Would this solve my problem?
>>>>
>>>> Any useful tips?
>>>>
>>>> Thanks
>>>>
>>>> - Micahel
>>>
>>> I seem to recall that there was either a loadrt parameter or
>>> component
>>> parameter that let you set the jog mode to either follow the
>>> commanded
>>> position or follow the input activity. In other words, when the
>>> joystick
>>> is held the position commands build up, when you release the
>>> joystick,
>>> EMC2 continues to try to move to the commanded position causing a
>>> run-on. In the other mode, when you release the joystick, the motion
>>> stops at the release and cancels the position command. I did a brief
>>> search and couldn't find the parameter information, maybe you came
>>> across something like this in your research? Maybe someone else
>>> remembers where it is.
>>
>> I think I found more:
>> "
>> axis.N.jog-vel-mode IN bit
>>       When FALSE (the default), the jog wheel operates in position
>>       mode. The axis will move exactly jog-scale units for each
>> count,
>>       regardless of how long that might take. When TRUE, the wheel
>>       operates in velocity mode - motion stops when the wheel stops,
>>       even if that means the commanded motion is not completed.
>> "
>> in:
>> http://www.linuxcnc.org/docs/html/config_emc2hal.html
>>
>> -- 
>> Kirk Wallace
>> http://www.wallacecompany.com/machine_shop/
>> http://www.wallacecompany.com/E45/index.html
>> California, USA
>>
>>
>> ------------------------------------------------------------------------------
>> Stay on top of everything new and different, both inside and
>> around Java (TM) technology - register by April 22, and save
>> $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
>> 300 plus technical and hands-on sessions. Register today.
>> Use priority code J9JMT32. http://p.sf.net/sfu/p
>> _______________________________________________
>> Emc-users mailing list
>> Emc-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/emc-users
>
>
> ------------------------------------------------------------------------------
> Stay on top of everything new and different, both inside and
> around Java (TM) technology - register by April 22, and save
> $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
> 300 plus technical and hands-on sessions. Register today.
> Use priority code J9JMT32. http://p.sf.net/sfu/p
> _______________________________________________
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users


------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to