If the existing robot control already works, then there is no sense in trying to control that with EMC2 directly.
I'd tie EMC2 together with the robot controls via digital I/O, or the Modbus interface via Classic Ladder. The interface should be pretty simple and consist of just a few handshake lines. Lathe Output -> Ready to load -> Robot input Robot output -> Release Chuck -> Lathe input Lathe output -> Chuck Released -> Robot input Robot output -> Part ready to chuck -> Lathe input Lathe output -> Chuck clamped -> Robot input Robot output -> Robot clear of lathe -> Lathe input Lathe output -> Lathe busy -> Robot input etc. Dave On 3/14/2010 6:50 AM, Viesturs Lācis wrote: > Hello! > > Request for a price quote from a potential client ended with a > revelation to me that i have to find a way to decrease the production > cost and that involves also reduction of labor time. It has lead me to > thinking, how can I automate putting the part in a spindle of lathe, > running the programm, taking the produced part from the spindle and > repeating this process. There is a video in > http://www.universal-robots.com/Cases/Watch_video.aspx. The second > from the top - "Feeding the CNC-machine" is the one. > > Just like the video shows, there are 2 elements in such a solution - > lathe itself and some kind of robotic arm that feeds the lathe (or > actually it can be mill as well). > > The question is - how can i make them work together? I feel that > creating the code, where the movements of the arm are written is not > the hardest part. I think that making them run specific file > automatically and starting it only after previous task is completed is > more tricky. > Can i control both of them from one EMC station or do i have to have > separate PC with separate EMC installation for each for them? The > first option seems to be more convinient, but it raises a question to > me - how can i configure EMC to control that much motors and axis? > Second option seems more difficult as i do not understand, how can i > make 2 separate EMC installations communicate one with other. > > The result i would like to achieve is that it is o.k. that both > elements do not work simultaneously - either the arm is moving the > part or the lathe is working. > > Is there anyone, who has tried to implement this kind of solution? Are > there any experience or ideas, how to do it? > > with best regards, > Viesturs Lacis > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Emc-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/emc-users > > ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
