The goals of this project are to show how 3D-simulation can be used to aid the developmentof control programs for manufacturing cells and to investigate the pros and cons with this method.The project includes building a virtual 3D-model of a real manufacturing cell, connecting themodel's functions to a soft PLC and finally to develop and test a control program for the cell.The manufacturing cell consists of three industrial robots, two AGV's (Autonomous GuidedVehicle) and one conveyor. In the cell two metal parts are merged together with rivets. Theholes for the rivets are drilled by one robot and the rivets are put in place by the other tworobots. The AGV's and the conveyor are used to transport the metal parts to and from the robots.The simulation software Process Simulate from Siemens is used to build the virtual model. 3DCAD models are used to build the 3D representation of the cell in Process Simulate. The functionsin the model are connected to the soft PLC via an OPC-server. This method enables thevirtual model to be controlled with the same type of code as the real cell.