Let's say you wanted to access the hal pins and essentially run the machine 
using a different programming language like C instead of python.  

How's the linkage done from say the Axis GUI to the rest of the system?  Like 
Spindle ON button and then Spindle +

John


> -----Original Message-----
> From: andy pugh [mailto:bodge...@gmail.com]
> Sent: December-15-20 5:15 PM
> To: Enhanced Machine Controller (EMC)
> Subject: Re: [Emc-users] Python question
> 
> On Wed, 16 Dec 2020 at 01:10, <ken.stra...@gmail.com> wrote:
> >
> > Are the necessary environment variables document somewhere?
> 
> I think you just need to "import linuxcnc" to get access to linuxcnc
> command and state.
> 
> But you would probably still need to create and net hal pins to get
> values from hal.
> 
> 
> --
> atp
> "A motorcycle is a bicycle with a pandemonium attachment and is
> designed for the especial use of mechanical geniuses, daredevils and
> lunatics."
> � George Fitch, Atlanta Constitution Newspaper, 1912
> 
> 
> _______________________________________________
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users



_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to