On 7/14/15 7:50 PM, Jerry Scharf wrote: > Hi, > > I am putting up some first thoughts on something that will be able to take > a stream of gcode commands over the net and do something useful to drive a > CNC machine. I welcome all thoughts and opinions on what is useful in what > we are looking at and ways to get the job done. If people decide it's > useful, I have no problems sharing it but will promise there is no support > beyond our own needs at this point. (This isn't to say that a good idea > won't be done if it isn't in our critical path, but if, when and how are > unknown.)
It sounds like you do not really want a "drip-feed g-code over TCP" solution, you want a full-fledged networked interface to the controller, including status feedback and error reporting. This would be a useful and welcome addition to LinuxCNC, but i would propose a different architecture than the "fit it into g-code comments" system you proposed. The networked interface should probably based on some standard encapsulation (perhaps json as you suggested) of the messages that currently pass between the user interfaces and Task (Task is the main interface to the controller, the other being HAL). The UI/Task interface currently uses shared memory for the message transport, there is some work on a TCP transport but it's not integrated. See the tests/linuxcncrsh-tcp directory in the master branch for the humble beginnings. We've also started to clean up the UI/Task interface, but have not yet reached the point where we can add the network protocol in a clean way. This work is happening in the branch called liblinuxcnc-ui. One option would be to write a "proxy" that would run on the same host as the controller, and accept this new network protocol, and turn it into the old-style shared-memory communication with the controller. Then the network protocol could be prototyped between a new version (or flavor) of the linuxcnc-ui library and this proxy server. Just some thoughts... -- Sebastian Kuzminsky ------------------------------------------------------------------------------ Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/ _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
