Method for safety control of a beam source such as a laser light source which is arranged on a multi-axis manipulator and is moved by the latter within a protective enclosure which is not completely closed in order to perform an operating function, the beam source being attached to the manipulator at a predetermined mounting location and with a predetermined beam alignment, comprising the steps of a) providing a computer model comprising a data set for defining boundary surfaces (2, 3, 4, 5, 7) of the protective enclosure, at least one virtual boundary surface (8, 9) being assigned to an opening section of the protective enclosure; b) determining position coordinates of a predetermined reference point in the region of the mounting location on the manipulator or the beam source, in particular a flange attachment location or a beam exit location of the beam source; c) determining the beam direction of the beam source, taking into account the determined position coordinates of the reference point and the predetermined beam alignment of the beam source; d) determining a location of impingement (SP, SP') of the beam emerging from the beam source at at least one boundary surface (2, 3, 4, 5, 7) of the protective enclosure or at at least one virtual boundary surface (8, 9); e) testing whether the location of impingement (SP, SP') of the beam is on a boundary surface of the protective enclosure; f) determining the distance (L, L') of the determined location of impingement (SP, SP') to a predetermined reference location of the beam source, in particular to the beam exit location of the beam at the beam source; g) comparing the distance (L, L') with a predetermined distance threshold, an enable signal or non-enable signal being output as a function of the result of the comparison according to step f) and/or as a function of the result of the test according to step e), in order to control the beam source to emit a beam or not to emit a beam, wherein steps d) and e) are performed by means of a calculation on the basis of the data set for defining the boundary surfaces and/or the at least one virtual boundary surface as well as information about position coordinates of the reference point and the beam alignment of the beam source. a) providing a computer model comprising a data set for defining boundary surfaces (2, 3, 4, 5, 7) of the protective enclosure, at least one virtual boundary surface (8, 9) being assigned to an opening section of the protective enclosure; b) determining position coordinates of a predetermined reference point in the region of the mounting location on the manipulator or the beam source, in particular a flange attachment location or a beam exit location of the beam source; c) determining the beam direction of the beam source, taking into account the determined position coordinates of the reference point and the predetermined beam alignment of the beam source; d) determining a location of impingement (SP, SP') of the beam emerging from the beam source at at least one boundary surface (2, 3, 4, 5, 7) of the protective enclosure or at at least one virtual boundary surface (8, 9); e) testing whether the location of impingement (SP, SP') of the beam is on a boundary surface of the protective enclosure; f) determining the distance (L, L') of the determined location of impingement (SP, SP') to a predetermined reference location of the beam source, in particular to the beam exit location of the beam at the beam source; g) comparing the distance (L, L') with a predetermined distance threshold, an enable signal or non-enable signal being output as a function of the result of the comparison according to step f) and/or as a function of the result of the test according to step e), in order to control the beam source to emit a beam or not to emit a beam, wherein steps d) and e) are performed by means of a calculation on the basis of the data set for defining the boundary surfaces and/or the at least one virtual boundary surface as well as information about position coordinates of the reference point and the beam alignment of the beam source.