ランタイムシステム
インストール
制御システムを二重化して運用するには、 CmpRedundancy
冗長コンポーネントと、冗長リンクを操作する追加コンポーネントは、 ランタイムシステム PLCの。この追加コンポーネントはデバイス固有ですが、IP リンクが通常です。 CmpRedundancyConnectionIP
。
機能性
2つの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にダウンロードするだけで十分です。