> -----Original Message-----
> From: Chris Albertson [mailto:[email protected]]
> 
> I'd like to build a handheld pendant controller.   I have some ideas about
> how it should work.  One thing I want is an LCD screen.   This could evolve
> into a "smart pendant" that can do things like move along an arc, rather
> than just one axis at a time.
> 
> I think the best physical interface from a handheld device to the computer
> is USB.    Is there a way to get data from USB to HAL?   I could use a USB
> virtual serial port but then the question is getting serial port data to
> HAL.
> 
> Maybe the best interface is wireless, so how to get data from a UNIX socket
> to HAL?
> 
> Note that we don't need "hard" real-time to the computer.  Latency of a few
> tens of milliseconds is acceptable for a human interface so this could be
> done in userspace.  If so, then maybe all I need is a way to get data from
> an arbitrary Linux application to HAL.
> 
> It just occurred to me that this "arbitrary Linux application" could be the
> Apache webserver.  Then you run a browser on the tablet.
> 
> Summary:   How to move data from USB or serial or socket to HAL?
> 
> --
> 
> Chris Albertson
> Redondo Beach, California

Hi Chris,
You're back to describing what I've been talking about for th last few months.  
Essentially an ELS for the MILL but from the opposite direction. 
My idea is the control does say the step/dir signalling etc to the hardware.  
The Ethernet (or SPIbus) connection to it from LinuxCNC.    So if you just want 
to use the mill in a manual fashion then you can.  And you what you have is  
power feed on each axis with begin/end positions and DROs.  Along with limit 
and ESTOP.

But connect to LinuxCNC and it becomes that MPG you are describing.

Anyway, check out 

linuxcnc-master\lib\hallib\xhc-hb04.tcl

which is added into the ini file in the [HAL] seciton.
HALFILE = LIB:xhc-hb04.tcl

And then your INI file also has 
[XHC_HB04_CONFIG]

John



D:\Projects\LinuxCNC\linuxcnc-master\lib\hallib




_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to