Patent ID: 7213239

Claim:
A method of generating and/or executing a diversified program flow from a program source code for or on at least two processing units of a machine tool, production machine or robot, comprising the steps of: reading in a first channel of a first sensor by a processing unit; generating a machine code from a program source code by a compiler for a first processing unit with a programmable processing module; running the machine code using the reading from the first channel of the first sensor and the first processing unit to produce data; generating a description file from the program source code using an interpreter; reading in a second channel of the first sensor by a further processing unit; running interpretatively the description file in the further processing unit by at least one further programmable processing module to produce data; saving the data produced by the processing units in at least one common memory; and checking the data for a match through respective data comparison, said programmable processing modules initiating a safe state in the machine tool, the production machine or the robot, if the data comparison is negative.