摘要 |
A method for creating a user program for a safety controller designed to control an automated installation having a plurality of sensors and a plurality of actuators involves several programming steps. The user program comprises a first program portion, in which safety-related program variables are processed in failsafe fashion, and comprises at least one second program portion, in which non-safety-related program variables are processed, wherein failsafe processing is not necessary for the non-safety-related program variables within the second program portion. The method steps involve a step of defining a number of safety-related program variables, a step of defining a number of non-safety-related program variables, a step of selecting a safety-related program variable from the number of safety-related program variables, a step of selecting a first non-safety-related program variable from the number of non-safety-related program variables, wherein the first non-safety-related program variable is repeatedly assigned an instantaneous value when the user program is executed, a step of defining at least one assignment condition which is processed when the user program is executed, a step of defining an association which associates the selected first non-safety-related program variable with the selected safety-related program variable, wherein the instantaneous value of the selected first non-safety-related program variable is assigned to the selected safety-related program variable depending on the assignment condition, when the user program is executed. |