Programmable control clocks are used to implement time functions in automation and control systems. The weekly programmer controls the output relay depending on the program settings (day, hour). The device also has additional functions, e.g. a random function that can be used to simulate the presence and a control input function that can be used to change the operating mode of the system by means of an external button. The construction of the housing allows the system to be mounted on a TH 35 rail and, if necessary, to seal the device. Ease and intuitive operation has been achieved through a clear menu layout and an ergonomic keyboard.