On 11/26/13 10:41 , Russell Brown wrote:
>
> Quoth Sebastian Kuzminsky <[email protected]>
>>
>> What is the end goal of this change?  What are you trying to do that you
>> need this change for?
>
> Longer Version:  I'm trying to stop myself cursing when I'm standing in
> front of my mill twiddling the dial on my pendant, having nowt move and
> glancing back over at the computer screen to see that Axis is in MDI
> mode...  trudging back over to the keyboard, muttering 'idiot' under my
> breath, and pressing F3.

Let me see if i understand your situation.  Your setup is this:

You're using Axis as your GUI, and you're using a jog pendant.  The 
pendant uses halui to jog the machine, and can trigger MDI commands for 
things like Z touch-off.


The problem you're having is this:

Sometimes when you pick up the pendant, LinuxCNC is in the wrong mode 
and you can't jog using your pendant.


Is that all right?

Chris Radek, Dewey Garrett and I talked about this problem on 
#linuxcnc-devel a bit, and we came up with a different solution, that we 
started to implement and that's not yet done, but is in a testable state.

Look at the halui-jit-manual branch on git.linuxcnc.org.  It does two 
things:

1. Teach the Axis GUI to detect what mode the controller is in, and 
display the appropriate tab (Manual or MDI).

2. Teach halui to switch the controller to manual mode automatically 
when the user requests a jog.


The changed behavior is that if you're in MDI mode (F5 tab displayed in 
Axis) and you poke the halui.jog.*.{plus,minus} pins in HAL, halui 
switches to Manual mode (and Axis notices and switches to the F3 tab) 
and does your jog.


I know of two problems with that branch:

1. It breaks jogwheel jogging somehow (motion no longer responds to 
axis.*.jog-counts).

2. There's a perceptible delay when halui switches mode to task=manual, 
which makes the jog feel jerky


Does this new behavior address your issue?  If so, further testing & 
development in this area seems worthwhile.


-- 
Sebastian Kuzminsky

------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to