A system comprising a safety-related device (1, 1', 1", 1′′′) which is a safety-related input/output module of a machine or system or a safety-related control device of a machine or system and is designed to generate safety-related input signals and/or safety-related output signals or to react to safety-related input signals for carrying out safety-related control functions in the field of functional safety, and a separate electronic storage device (2, 2', 2", 2′′′) in which only exactly one data content for the safety-related device (1, 1', 1", 1"') is stored, wherein the exactly one data content is either an operating software update or an address, wherein the electronic storage device (2, 2', 2", 2"') comprises a first connection device (3, 3', 3", 3′′′) for mechanically and electrically coupling to the device (1, 1', 1", 1′′′), said first connection device (3, 3', 3", 3′′′) having a first mechanical encoding device (4, 4', 4", 4′′′), and wherein the device (1, 1', 1", 1′′′) comprises a memory device in which an operating system is stored, a microcontroller and a second connection device (5, 5', 5", 5′′′) for mechanically and electrically coupling with the electronic memory device (2, 2', 2", 2"'), wherein the second connecting device (5, 5', 5", 5′′′) comprises a second mechanical coding device (6, 6', 6", 6′′′), wherein the first (4, 4', 4", 4′′′) mechanical coding device and the second mechanical coding device (6, 6', 6", 6′′′) are complementary to each other, wherein the microcontroller of the device (1, 1', 1", 1′′′) is designed to recognise whether the electronic storage device (2, 2', 2", 2′′′) is connected via its first connecting device (3, 3', 3", 3′′′) to the second connecting device (5, 5', 5", 5′′′) of the device (1, 1', 1", 1′′′), and in this case is further designed to download the exact one data content stored in the electronic storage device (2, 2', 2", 2′′′) from the electronic storage device (2, 2', 2", 2′′′) into the storage device of the device (1, 1', 1", 1′′′), and wherein the electronic storage device (2, 2', 2", 2′′′) stores a data content identifier which indicates whether the exact one data content stored in the electronic storage device (2, 2', 2", 2"') is an operating software update or an address for the safety-related device (1, 1', 1", 1′′′), and the microcontroller is designed to, in the event that the electronic storage device (2, 2', 2", 2′′′) is connected via its first connection device (3, 3', 3", 3′′′) to the second connection device (5, 5', 5", 5′′′) of the device (1, 1', 1", 1′′′), first read out and interprete the data content identifier from the electronic storage device (2, 2', 2", 2′′′) and then to download the operating software update or the address into the storage device of the safety-related device (1, 1', 1", 1′′′) in dependence of the interpreted data content identifier. wherein the electronic storage device (2, 2', 2", 2"') comprises a first connection device (3, 3', 3", 3′′′) for mechanically and electrically coupling to the device (1, 1', 1", 1′′′), said first connection device (3, 3', 3", 3′′′) having a first mechanical encoding device (4, 4', 4", 4′′′), and wherein the device (1, 1', 1", 1′′′) comprises a memory device in which an operating system is stored, a microcontroller and a second connection device (5, 5', 5", 5′′′) for mechanically and electrically coupling with the electronic memory device (2, 2', 2", 2"'), wherein the second connecting device (5, 5', 5", 5′′′) comprises a second mechanical coding device (6, 6', 6", 6′′′), wherein the first (4, 4', 4", 4′′′) mechanical coding device and the second mechanical coding device (6, 6', 6", 6′′′) are complementary to each other, wherein the microcontroller of the device (1, 1', 1", 1′′′) is designed to recognise whether the electronic storage device (2, 2', 2", 2′′′) is connected via its first connecting device (3, 3', 3", 3′′′) to the second connecting device (5, 5', 5", 5′′′) of the device (1, 1', 1", 1′′′), and in this case is further designed to download the exact one data content stored in the electronic storage device (2, 2', 2", 2′′′) from the electronic storage device (2, 2', 2", 2′′′) into the storage device of the device (1, 1', 1", 1′′′), and wherein the electronic storage device (2, 2', 2", 2′′′) stores a data content identifier which indicates whether the exact one data content stored in the electronic storage device (2, 2', 2", 2"') is an operating software update or an address for the safety-related device (1, 1', 1", 1′′′), and the microcontroller is designed to, in the event that the electronic storage device (2, 2', 2", 2′′′) is connected via its first connection device (3, 3', 3", 3′′′) to the second connection device (5, 5', 5", 5′′′) of the device (1, 1', 1", 1′′′), first read out and interprete the data content identifier from the electronic storage device (2, 2', 2", 2′′′) and then to download the operating software update or the address into the storage device of the safety-related device (1, 1', 1", 1′′′) in dependence of the interpreted data content identifier.