If you dont mind writing some C code, I think you should extend halui to do it. 
 Read the values you want from the stat buffers and export them to hal pins.  
See how halui reports the axis positions for an example.

These changes should go in the master branch, not in 2.5.

----- Reply message -----
From: "Brian May" <bri...@diezorlich.com>
Date: Thu, Jun 7, 2012 07:57
Subject: [Emc-users] Work Coordinates
To: "Enhanced Machine Controller (EMC)" <emc-users@lists.sourceforge.net>

Would it be possible to write my own hal component that read the values from 
the file?

Sent from my iPod

On Jun 7, 2012, at 3:35 AM, andy pugh <bodge...@gmail.com> wrote:

> On 6 June 2012 19:29, andy pugh <bodge...@gmail.com> wrote:
> 
>> O100 IF [#5220 EQ 1]
>> M66 E0 Q#5221
>> M66 E1 Q#5222
>> …
>> O100 ENDIF
>> O101 IF [#5220 EQ 2]
>> M66 E0 Q#5241
> 
> 
> Actually, I think that you can skip the IF statements because numbered
> parameters can be indirected
> 
> M66 E0 Q#[5211 + 10 * #5220] ; 5211 because #5220 is always at least 1
> M66 E1 Q#[5212 + 10 * #5220]
> M66 E2 Q#[5213 + 10 * #5220]
> M66 E3 Q#[5214 + 10 * #5220]
> 
> 
> -- 
> atp
> If you can't fix it, you don't own it.
> http://www.ifixit.com/Manifesto
> 
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and 
> threat landscape has changed and how IT managers can respond. Discussions 
> will include endpoint security, mobile security and the latest in malware 
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to