1. A method for automated provision of a monitoring function for a processing process which is to be performed by an industrial robot, wherein the method comprises the following steps: a processor executing a postprocessor to perform: a. analyzing a computer aided manufacturing (CAM) program of the processing process, wherein the processing process comprises a plurality of processing steps, and wherein the analyzing identifies a subset of the plurality of processing steps for monitoring operation of the industrial robot utilizing one or more sensors in order to detect operational errors in the industrial robot; and b. automatically inserting at least one monitoring instruction specific to the identified subset of the plurality of processing steps into the CAM program, and generating a control program for the industrial robot from the CAM program, wherein the at least one monitoring instruction is executed when performing the processing process.