Discrete Event Approach to Robust Control in Automated Manufacturing Systems