Let me start by saying that I'm not very experiencettioaly, the d with Logic. I am in charge of programming the motion for our new robot though. It is communicating via Ethernet to an A-B CompactLogix. Our controls guy is going to handle all of the logic on that end and wants to work things like this:
PLC controls the logic, which programs to run and when.
Fanuc stores the motion and positioning data.
The theory is to basically call each program like it were a "push-button" being pressed, except that the PLC is the one pushing the button.
The plan is to have a "Main" program that is running and scanning for the buttons to be pushed and then run the appropriate program.
Does this sound like an ok way of doing this? How would you guys approach this?
Example sequence of programs to be called by the PLC. Each of these programs below has the motion and may contain some sub-programs inside of them (storing job data).
Pick Part
Grip Part
Retract Tool
Part Perch
Place Plart
Retract Tool
Part Perch
Move Home
Move Safe