Ok here is a simple block diagram, its not the only way of doing it, but it lets me show you my thinking, and you can alter it to suit your system and i will be able to see what you have..

Click image for larger version. 

Name:	mill.jpg 
Views:	577 
Size:	50.7 KB 
ID:	7896

Let me know

Rick