Depending on how much or how little control you need between the two, I might 
not even hassle with the network interface and just use a few GPIOs to signal 
between the two, and maybe a remote desktop control for setup changes.

----- Original Message -----
From: "Nicklas Karlsson" <nicklas.karlsso...@gmail.com>
To: "Enhanced Machine Controller (EMC)" <emc-users@lists.sourceforge.net>
Sent: Wednesday, March 15, 2017 4:04:55 PM
Subject: Re: [Emc-users] Suggestions wanted - how to control robot

> > We have a surface grinder that is fitted with L-CNC and used as a
> > creep-feed machine.  We are using steppers with encoders on XYZ and
> > rotary A.  It works awesome and we are very pleased with the performance
> > but will likely be putting servos on a second machine that we are
> > beginning to build in an attempt to make it even better, but that is for
> > another day.
> >
> > What I seek advice on, is adding a robot to load/unload work pieces in
> > our existing machine.  Specifically, can we or should we try to run an
> > additional four or five axes from our existing controller? Pros and cons
> > of having a second instance of L-CNC running the robot, and how to have
> > one controller or the other slave?
> >
> > Can anyone point to examples of these or possibly other ideas?
> 
> I would run a separate instance of LinuxCNC on the robot, rather than 
> try to run both the robot and the grinder off the same instance of LinuxCNC.
> 
> I would put both LinuxCNC controllers on the network, and have them 
> communicate via TCP.  When the grinder finishes a job it would execute 
> an M-code backed by a shell script 
> (http://linuxcnc.org/docs/2.7/html/gcode/m-code.html#mcode:m100-m199), 
> and the script would contact the robot via the network and cause it to 
> run its "change parts" program.  When the robot finishes that program it 
> tells the grinder, and the next cycle starts.

Sounds perfectly reasonable for me to.

Nicklas Karlsson

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to