1. System for controlling the movements of components in an automated or remote operated system comprising independent transporting means for moving a number of components relative to each other, the control system being providing with means for controlling the position and velocity of the components relative to each other, wherein each component is assigned a respective imaginary three-dimensional object having a defined geometric shape and having dimensions corresponding to or exceeding the physical dimensions of the respective component in all directions, the dimensions of each said assigned imaginary three-dimensional object being fixed irrespective of subsequent movement of the respective component, each transporting means is related to a stop distance needed for the respective transporting means to come to a complete stop, and a critical allowed distance is defined between said respective imaginary three-dimensional objects, said critical allowed distance being greater than zero, whereby collisions between components can be avoided by changing at least one of a speed or direction of movement of at least one of said transporting means when a distance between respective imaginary three-dimensional objects moving on a common axis corresponds to said critical allowed distance, wherein said critical allowed distance is defined based on the relative movement of the respective transporting means.