Runtime System
Installation
In order to redundantly operate a control system, the CmpRedundancy redundancy component as well as an additional component, which operates the redundancy link, are available in the runtime system of the PLCs. This additional component is device-specific, but an IP link is usual: CmpRedundancyConnectionIP.
Functionality
- Links two PLCs to a redundant system 
- Synchronizes the redundancy data 
- Switches over the operating states of the PLCs 
- Records the redundancy events in the logger - Note- Events which occur at runtime are recorded on both devices by the loggers of the runtime systems. 
The configuration file *.cfg for the runtime of a CODESYS Control Win is stored in ProgramData.
[CmpRedundancyConnectionIP] Link1.IpAddressLocal=192.168.56.1 ; IP address of redundancy link of local PLC Link1.IpAddressPeer=192.168.56.101 ; IP address of redundancy link of peer PLC Link1.Port=1205 [CmpRedundancy] BootupWaitTime=5000 TcpWaitTime=2000 StandbyWaitTime=50 ; This timeout depends on the quality of real time task and communication system LockTimeout=20 ; Maximum time of timer lock Bootproject=Application ; Name of your CODESYS application RedundancyTaskName=MainTask ; Task name in your CODESYS application PlcIdent=1 ; PlcIdent=2 on other PLC
Boot application
The boot application is stored identically on both PLCs. When you want to update the boot application, it is enough to download it to the active PLC.