Patent ID: 8433831

Claim:
A method for programming a safety-oriented programmable logic controller (SO-PLC), the method comprising: connecting said safety-oriented programmable logic controller (SO-PLC) to a device that provides a device-integrated safety function, which is a drive-integrated safety function, wherein said drive-integrated safety function is activated using predetermined, first data; equipping the safety-oriented programmable logic controller (SO-PLC) with at least one first program part, which is programmed by a user, for providing second data; equipping the safety-oriented programmable logic controller (SO-PLC) with at least one second program part having at least two influencing devices including a NOT gate, a first OR gate, a second OR gate, and a first AND gate and a second AND gate, wherein said at least one second program part is instantiated when the device is linked into a program of the safety-oriented programmable logic controller (SO-PLC), for converting the second data into the first data using the at least two influencing devices, wherein the first OR gate is configured to receive a value determined by said NOT gate and based on said value, forward said first data to an output channel and wherein said first AND gate is configured to receive inputs from said NOT gate and said second OR gate and forward first data to said second AND gate and to an output channel, wherein said first data are also made available at the first AND gate, which also receives response-data of the activated device-integrated safety function of the device in the form of the first data and is forwarded output data in the form of second data to the first program part, wherein said device-integrated safety function is activated using the predetermined, first data, wherein the second program part automatically interlocks the second data of the at least one program part.