Data Type: RedundancyState
The Redundancy
library provides the RedundancyState
structure with the components describes below.
By calling
GetRedundancyState(ADR(<RedundancyState name>));
, the state of the redundancy system is read and stored. As a result, you get programmatic access to the redundancy state and can display it, for example in a visualization.The redundancy state is also automatically displayed in the Redundancy Configuration editor, on the Redundancy State tab. There in the system graphic in the lower right corner of the respective PLC, the redundancy state is displayed symbolically by circle symbols. Moreover, the state is output as text below in the Redundancy State field. In this way, you can monitor the state of the redundancy system.
The following table compares these two options.
Circle Symbol | Output text under Redundancy State |
| Description |
---|---|---|---|
| Initial state Tries (when configured correctly) to synchronize with the other PLC If not correctly configured, then the state is set to | ||
| Boot application downloaded, data synchronized, and task started Fieldbus deactivated | ||
![]() | Enabled |
| Works in redundant synchronized mode as active PLC Fieldbus activated |
![]() | Passive |
| Works in redundant synchronized mode as standby PLC Fieldbus deactivated |
![]() | Standalone |
| Works in standalone mode, not synchronized with the other PLC Fieldbus activated |
![]() | Error |
| Fieldbus error, occurred in redundant synchronized mode as active PLC Fieldbus deactivated |
![]() | Simulation |
| If not configured Works in standalone mode, not synchronized with the other PLC Fieldbus deactivated |
| If in state The other PLC will become active because the PROFIBUS displays a problem with the active PLC (us). Fieldbus deactivated | ||
| Ends the runtime systems in state TipLeave the fieldbus activated on download. | ||
| Ends the runtime systems in state TipDeactivate the fieldbus on download. | ||
| Error occurred during the state Fieldbus deactivated | ||
| With setting Works in standalone mode after the start, not synchronized with the other PLC Fieldbus deactivated NoteA synchronization can be triggered later with library functions. | ||
| If no license is installed and the demo time has expired No operation | ||
![]() | Unknown | No assignment | Indicates that the connection to the PLC is not online |