[Emc-users] pyVCP Actual position variable

2009-10-09 Thread Евгений Александрович
Hello guys, I try to create pyVCP panel, which show X,Y and Z positions So I created xml file with lines number halpinXdisplay/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

Re: [Emc-users] pyVCP Actual position variable

2009-10-09 Thread Michał Geszkiewicz
Евгений Александрович pisze: Hello guys, I try to create pyVCP panel, which show X,Y and Z positions So I created xml file with lines number halpinXdisplay/halpin format+004.4f/format /number create hal file, add PYVCP and POSTGUI_HALFILE in ini file start Emc with Axis ... I can

Re: [Emc-users] pyVCP Actual position variable

2009-10-09 Thread Евгений Александрович
-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

Re: [Emc-users] pyVCP Actual position variable

2009-10-09 Thread Andy Pugh
2009/10/9 Евгений Александрович evgeni_a...@mail.ru: I did not check HALUI variables before. I have to use halui.axis.n.pos-commanded  and  halui.axis.n.pos-relative Note that you need HALUI = halui in the .ini file or you can't see those pins. If I can hijack the thread slightly, is it

Re: [Emc-users] pyVCP Actual position variable

2009-10-09 Thread Michał Geszkiewicz
Евгений Александрович 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

Re: [Emc-users] pyVCP Actual position variable

2009-10-09 Thread Alex Joni
If I can hijack the thread slightly, is it possible to write to #5nnn parameters with halcmd? I am contemplating a user-defined G-code that calls a halcmd script to read back the current relative position into parameters for the G-Code to use. (I think that writing to the parameter file

Re: [Emc-users] pyVCP Actual position variable

2009-10-09 Thread Andy Pugh
2009/10/9 Alex Joni alex.j...@robcon.ro: You can use M66 for that Ooh! So I can! I hadn't put the various bits together to realise that I could net the analog inputs to something other than an actual, physical, analog input (I would still like the current relative and absolute coordinates

Re: [Emc-users] pyVCP Actual position variable

2009-10-09 Thread Евгений Александрович
Sorry guys, what does mean M66 ? Thire is no information at http://linuxcnc.org/docs/html/gcode.html You can use M66 for that Ooh! So I can! I hadn't put the various bits together to realise that I could net the analog inputs to something other than an actual, physical, analog input (I

Re: [Emc-users] pyVCP Actual position variable

2009-10-09 Thread Dave Caroline
see here http://linuxcnc.org/docs/html/gcode_main.html#sec:M66: Dave Caroline -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart

Re: [Emc-users] pyVCP Actual position variable

2009-10-09 Thread Евгений Александрович
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 Basically it is possible to use g92 and work with EMC without problems. Only one

Re: [Emc-users] pyVCP Actual position variable

2009-10-09 Thread Евгений Александрович
Do you mean you can change value of machine coords by M66. No, sorry. I am guilty of stealing your subject line with a different but related question. I was looking for a way to transfer the current relative coordinates into a G-code program. In EMC the machine coordinates are fixed. I