I am using two RevPi Connect PLCs with 'CODESYS Control for Raspberry Pi MC SL' license. The PLCs work as redundant. Redundancy license is installed on both of them, and the redundancy works fine.
No and then, the problem occurs and a primary PLC switches to SIMULATION mode. On the secondary PLC an redundancy error occurs - RDCY_NOMESSAGE_ERROR and then it switches state to STANDALONE. After a few seconds, the primary PLC gets back to ACTIVE state and it resets it CODESYS runtime.
In the log I can see thet there was an error on primary PLC:
2023-03-03T18:03:56Z, 0x00000129, 1, 0, 0, RedundancySynchronizeData called2023-03-03T18:03:56Z, 0x00000129, 4, 1, 0, **** ERROR: Synchronization terminated after 303ms because of SyncWaitTime2023-03-03T18:03:56Z, 0x00000129, 1, 0, 0, RedundancySynchronizeData called2023-03-03T18:03:56Z, 0x00000129, 1, 0, 0, RedundancySynchronizeData called2023-03-03T18:03:56Z, 0x00000129, 1, 1, 0, No sync telegram RSRV_EndCycleReply (8) received after 300ms2023-03-03T18:03:56Z, 0x00000129, 1, 1, 0, Last tick recv 0xdb2e030 send 0xdb2e1602023-03-03T18:03:56Z, 0x00000129, 4, 1, 0, **** ERROR: Timeout: No sync message RSRV_EndCycleReply (8) from standby: Standalone2023-03-03T18:03:56Z, 0x00000129, 1, 0, 0, RedundancySynchronizeData called2023-03-03T18:03:56Z, 0x00000129, 4, 1, 0, **** ERROR: RedundancySynchronizeData called state not allowed2023-03-03T18:03:56Z, 0x00000129, 1, 0, 0, RedundancySynchronizeData called2023-03-03T18:03:56Z, 0x00000129, 4, 1, 0, **** ERROR: RedundancySynchronizeData called state not allowed2023-03-03T18:03:56Z, 0x00000129, 4, 33, 0, **** ERROR: Telegram received (sync): 82023-03-03T18:03:56Z, 0x00000129, 4, 33, 0, **** ERROR: -> MsgId: received RSRV_EndCycleReply2023-03-03T18:03:56Z, 0x00000129, 4, 33, 0, **** ERROR: expected 1, 3, 11 2023-03-03T18:03:56Z, 0x00000129, 4, 33, 0, **** ERROR: Received RSRV_EndCycleReply in standalone.2023-03-03T18:03:56Z, 0x00000129, 1, 0, 0, Connection still established: Go to simulation and try to synchronize
Hello,
I am using two RevPi Connect PLCs with 'CODESYS Control for Raspberry Pi MC SL' license. The PLCs work as redundant. Redundancy license is installed on both of them, and the redundancy works fine.
No and then, the problem occurs and a primary PLC switches to SIMULATION mode. On the secondary PLC an redundancy error occurs - RDCY_NOMESSAGE_ERROR and then it switches state to STANDALONE. After a few seconds, the primary PLC gets back to ACTIVE state and it resets it CODESYS runtime.
In the log I can see thet there was an error on primary PLC:
And after a few seconds:
I can not get log from secondary PLC in the time the error occurd.
In every cycle I call RedundancySynchronizeData() on the begining and the end of the cycle.
Begining of the cycle:
End of the cycle:
In redundancy settings, I have configured the Timeout = 1000ms and Synchronization timeout = 3000ms
I have put the log from primary PLC in the attachment, in the log there can be seen the moment the problem occurs.
Is there something wrong in the configuration? How can I stop this from happening?