运行时系统
安装
为了冗余地操作控制系统, CmpRedundancy
冗余组件以及操作冗余链路的附加组件可在 运行时系统 PLC 的数量。这个附加组件是特定于设备的,但 IP 链接是常见的: CmpRedundancyConnectionIP
。
功能性
将两个 PLC 链接到冗余系统
同步冗余数据
切换 PLC 的运行状态
在记录器中记录冗余事件
注意
运行时发生的事件由运行时系统的记录器记录在两个设备上。
例 1. 例子
配置文件 *.cfg
对于一个运行时 CODESYS Control Win 存储在 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
启动应用程序
引导应用程序以相同方式存储在两个 PLC 上。当您想要更新引导应用程序时,只需将其下载到活动的 PLC 中即可。