A control device for controlling the movement of a machine having a position-guided movable base element and a position-guided movable supplementary element, the control device comprising:
- an input device for inputting actual values;
- a program for calculating values to operate the machine based upon the actual values, the program performing the steps of:
- calculating base position set values via a predetermined base track starting from a base start position and ending at a base end position,
- position controlling movement of the base element along the predetermined base track via the calculated base position set values,
- determining a supplementary end position set value via the base position set values for the position controlled guided movement of the base element, and
- calculating a supplementary position set value via a predetermined supplementary start position and a current supplementary end position of the supplementary element such that the supplementary element is moved in a position controlled manner from the supplementary start position along a current supplementary track to the current supplementary end position;
- and
- an output device for controlling the movement of the machine based on the program.