A control system for an industrial robot. The control system includes a
memory unit configured to store at least one task program intended for
controlling movements of the robot and including movement instructions
for controlling the movements of the robot. A program executer is
configured to generate instructions based on movement instructions
included in the task program and data necessary to be able to carry out
the instructions. A path planner is configured to receive the
instructions from the program executer and based thereon to plan how the
movements of the robot are to be designed to enable the robot to carry
out the movement instructions. The control system includes a recording
device, with at least one memory unit connected thereto, arranged for the
purpose of recording and storing the instructions and the data sent to
the path planner from the program executer.