On 12/2/14 9:12 AM, Marius Liebenberg wrote:
>
> On 2014-12-02 17:59, andy pugh wrote:
>> On 2 December 2014 at 15:26, Marius Liebenberg <[email protected]> 
>> wrote:
>>
>>> Is it possible to do a synchronized jog of at least two axis? I need to
>>> move two axis along a specific curve in manual jog mode if possible.
>> I think the answer is "no"
> Thought as much. I will have to take the current position and work out
> the curve to the end of the travel and then trigger an MDI routine with
> the parameters to complete the spiral travel to the end.
> Can I do that from a python script to HAL?

Yes, this is possible.

You can write a python script that presents a gui and runs your MDI 
command when you want it.  This custom python mdi gui can run at the 
same time as Axis or other guis.

For an example of a python program that runs MDI, look at 
tests/tlo/test-ui.py.  That particular test does not run alongside Axis, 
but there's no reason it couldn't.  (Though note that running multiple 
UIs simultaneously works much better in 2.7~pre and master than it does 
in 2.6 and older.)


> I will need a forward and reverse button that must know about the
> current position and then do something with that.

Forward and reverse i'm not sure about.  You can use Feed Override 
(again, from your custom python gui, if you like) to vary the forward 
speed, but i dont think it'll let you go in reverse.


-- 
Sebastian Kuzminsky

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to