BTW, there's also this:
https://forum.linuxcnc.org/forum/18-computer/22562-arduino-based-usb-pendant-for-linuxcnc


> -----Original Message-----
> From: John Dammeyer [mailto:jo...@autoartisans.com]
> Sent: September-08-21 8:28 PM
> To: Enhanced Machine Controller (EMC)
> Subject: [Emc-users] Serial Port access
> 
> I'm starting the next phase of a small project.  I just about have the power 
> draw bar ready to mount.    It's controlled by a small
> processor with two buttons for load and release which runs the air valves 
> which move the pneumatic cylinder and spin butterfly
> impact wrench.
> 
> To load/release from LinuxCNC I'd like to be able to put a couple of buttons 
> on the AXIS user interface.
> 
> The load button needs to create and send out a serial port the message 
> "t418102\r" and to release "t418104\r".  When AXIS first
> starts I'd also like to send out "C\r", "S5\r" and "O\r".  When AXIS closes 
> to send out a "O\r".  And obviously there has to be a way to
> select which serial port if there are a few.  (The one I want to use is USB 
> based).
> 
> In the long run I'd also like to be able to receive from the serial port.  
> Messages like "t718105\r" for example but that's not critical to
> start with.
> 
> I've been reading
> http://linuxcnc.org/docs/2.4/html/hal_comp.html
> 
> And I imagine there are a few other documents out there too.    Is there a 
> simple tutorial for adding a button to the AXIS screen and
> having the button press generate a message out a serial port?
> 
> Thanks
> John
> 
> 
> _______________________________________________
> 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