Simulation of Robots in Intelligent Manufacturing Systems