Евгений Александрович pisze:
> -----Original Message-----
> From: Micha? Geszkiewicz <mic...@wp.pl>
> To: "Enhanced Machine Controller (EMC)" <emc-users@lists.sourceforge.net>
> Date: Fri, 09 Oct 2009 10:14:17 +0200
> Subject: Re: [Emc-users] pyVCP Actual position variable
>
>   
>> Евгений Александрович pisze:
>>     
>>> Hello guys,
>>>
>>> I try to create pyVCP panel, which show X,Y and Z positions
>>> So I created xml file with lines
>>>
>>> <number>
>>> <halpin>"Xdisplay"</halpin>
>>> <format>"+004.4f"</format>
>>> </number>
>>> ....
>>>
>>> create hal file, add PYVCP and POSTGUI_HALFILE in ini file
>>> start Emc with Axis ... I can see my panel with 0.000
>>> So I have to write in hal file something like
>>>
>>> net Xpos pyvcp.Xdisplay <= ???????
>>>
>>> What is variable to get machine and relative position value?
>>>   
>>>       
>> Read this
>> http://www.linuxcnc.org/docview/html//config_emc2hal.html
>>
>> and this
>> http://www.linuxcnc.org/docview/html//gui_halui.html#sec:Halui-pin-reference
>>
>> regards,
>>
>> Michael
>>     
>
> Thank You Michael!
> I did not check HALUI variables before.
> I have to use halui.axis.n.pos-commanded  and  halui.axis.n.pos-relative 
>
> So I have another question.
> All variables work only in OUT mode.
> Does exists to change value of axis position in machine coordinates?
>   
You can only change machine coordinates by machine moves.
There is no offsets and such for machine coords.
If you can describe what you're trying to do, we could find some 
solution for this.

regards,
Michael

> Best regards
> Evgeny
>
> P.S. I know about G92, but it is for relative, not machine position.
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay 
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>   


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to