Charles, What you are asking about actually has broader use than the "drip feed" that first comes to mind. If one is using LinuxCNC as a motion controller in a larger automation system, it could be very useful to make spontaneous commands for motion, perhaps generated by a vision system or other sensory input. I think you could indeed do what you want with the rsh interface, although I have not experimented with that yet myself.
-- Ralph ________________________________________ From: Charles Steinkuehler [[email protected]] Sent: Monday, June 24, 2013 7:50 AM To: Enhanced Machine Controller (EMC) Subject: [Emc-users] Brain-Dead LinuxCNC G-Code Interface? -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I have some folks from the 3D printer world asking me if LinuxCNC can be used in a "gcode mode" similar to how the Arduino currently operates these machines (a serial terminal that accepts gcode and spits out the occasional status message). I figure there might be something like this functionality buried in the ancient history of LinuxCNC/EMC, but I have no idea where to go excavating for such a "feature" or if it even exists. So...is it remotely straight-forward or even possible to get a recent LinuxCNC build into a mode where it listens on a serial port or network socket for gcode commands, or is everyone expected to load gcode from files these days? Or am I making this way to hard and I should just run linuxcncrsh for the interface and do something like "open /dev/ttyS0"? - -- Charles Steinkuehler [email protected] ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
