Control Architectures for Manufacturing Systems