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. Both static reflective elements and movable reflective elements are described. The sustain electrode and the address electrode may be elongated in a lengthwise direction thereof.