2013/2/7 Tomaz T. <[email protected]>:
>
> I have added just two simple buttons (pyVCP), one for "go to home" and other 
> "go to machine home" but after executing one or another, when machine reaches 
> its position, it switches Manual control[F3] to Joint mode, so it is not 
> possible straight away to jog with arrow keys on keyboard...  I would need to 
> be in Axis mode, because of kinematics of my machine (gantry construction)...
> In my INI file is:[HALUI]#HOMEMDI_COMMAND = G0 X0 Y0 Z0#MACHINE 
> HOMEMDI_COMMAND = G54 X10 Y10 Z-10
> In my HAL file is:net remote-rapid-to-home halui.mdi-command-00 <= 
> pyvcp.rapid-to-homenet remote-rapid-to-mhome halui.mdi-command-01 <= 
> pyvcp.rapid-to-mhome

For move to machine home You might want to use G53, not G54.
G53 is machine coordinate system, G54 is one of workpiece coordinate
systems, whose origin is easy to move around.

I am sorry for not answering Your main concern about unwanted
switching to joint mode.

-- 
Viesturs

If you can't fix it, you don't own it.
http://www.ifixit.com/Manifesto

------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to