Hi, I have hacked up a simple program to allow a client to connect up to the linuxcnc system and issue g code commands. It's fairly stupid, just enough to get what we needed done.
I now need to extend it to run two separate robots off the same linuxcnc controller and receiver program. This brought up a question about the python interface. Can I issue two separate motion commands for different axes at the same time? One bot is a single axis on b and the other uses a,x,y,z. The motion for each is serialized by the nature of the network buffers, but I am trying to understand whether I need to serialize the commands between the different streams. It seems right now like if I move the machine manually from the GUI, the program then thinks the controller is not ready to accept mdi commands. I have an allocation command that is being extended to have you tell it which axes this client wants to move. This prevents two programs from fighting over a given stepper... It's really minimal code but I will share it if people are interested. jerry -- Jerry Scharf FINsix IT 650.285.6361 w 650.279.7017 m ------------------------------------------------------------------------------ Monitor Your Dynamic Infrastructure at Any Scale With Datadog! Get real-time metrics from all of your servers, apps and tools in one place. SourceForge users - Click here to start your Free Trial of Datadog now! http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140 _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
