Tab: Redundancy Settings: General
Important
In the device editor, on the Communication Settings tab, configure the communication settings for PLC 1. Next, in the Redundancy Configuration object, on the Redundancy Status tab, configure the communication settings for PLC 2 (standby PLC). After that, in the Redundancy Configuration object, on the Redundancy Settings → General tab, configure the redundancy link.
Read | Reads into the dialog the current settings of the redundancy link for PLC 1 |
Write | Transfers the available settings of the redundancy link on both devices |
Function: The tab is used to configure the synchronous task with a timeout, the runtime system of the standby PLC, and the redundancy link.
Application
Redundancy task name | Name of the task that is synchronized between both devices Only this one task is synchronized. Example: NoteThe task name is also entered in the RTS configuration file when you click the Write button. Alternatively, you could also manually edit the file. |
Timeout (ms) | Time span to wait for the response from the active PLC After that, the passive PLC switches to standalone mode. In this case, the task execution is delayed by this time span. Example: ImportantRecommendation: Set the value higher than the maximum task jitter time plus the maximum transmission time for redundancy messages. Increase this setting in step-by-step when you encounter synchronization problems. NoteThe setting is also stored in the configuration file ( NoteWhen you deploy the CIFX-DP adapter, set the timeout to 100 ms in order to remain in sync in case of a reset. You can optimize the timeout value:
For more information, see also: Synchronization of Runtime Systems |
Synchronisation timeout (ms) | Time span to wait during a synchronization. After this period of time, the standby PLC switches to standalone mode. You can set the value optimally if you first determine the required synchronization time after getting a system trace from the PLC. See the Record the needed sync time in system trace option below. Example: If the synchronization takes longer than the timeout is allowed in Timeout (ms), and the jitter of PLC 1 is acceptable, then you can use this setting. Then the time span until the response has to be received is extended by this value. TipUse the same value as in the Timeout (ms) setting. TipIncrease this setting in step-by-step when you encounter these kinds of synchronization problems. The logger message Synchronization terminated after x ms because of SyncWaitTime refers to this situation. NoteA redundant system switches to the synchronization phase for the start of the redundant PLC, a download, an online change, and the synchronization by means of user commands. During the synchronization phase, the task cycle time of the active PLC can be longer. You can optimize the timeout value:
For more information, see also: Synchronization of Runtime Systems |
Bootup timeout (ms) | Duration (in ms) 5000 (default) Determines how long the EtherCAT Master waits for the initialization of all connected EtherCAT slaves. Within this time period, the slaves must complete their boot and configuration phase and be ready for operation. If this time is exceeded, then the master reports a timeout at system startup and sets the bus to an error state. |
Runtime Settings
Setting the TipWhen you click the Write button, the values set here in the development system are transferred to the runtime system. | |
Auto sync |
|
Data sync always |
|
Debug messages |
|
Record the needed sync time in system trace |
For more information, see the following: Synchronizing Redundant Data NoteThis option, which can be enabled here in the dialog, is entered in |
Redundancy Link
Configures the redundancy link between the two PLCs. The two devices exchange their status and process data via this link, enabling them to operate synchronously and trigger status changes.
Tip
Whenever possible, use a separate port especially for this communication only.
IP address PLC 1 | Example: |
IP address PLC 2 | Example: |
Browse | Clicking the button will scan the network adapter. Then the Select Network Adapter dialog opens with the search results. The dialog shows all available network adapters. The IP address, subnet mask, default gateway, and MAC address are displayed for each adapter. Select the desired IP address. For more information, see the following: EtherNet Adapter – General |
Port | Defines the IP port for the link between both devices The TCP port number is the UDP port number + 1. Example: |
Use two redundant links |
|
Use two redundant links
Requirement: The Use two redundant links option is selected.
In the case that the first network connection fails, the second one can be used.
Important
You can get information about the current connections using the GetConnectionInfo function from the CmpRedundancyConnection library.
When two redundant links are used, the performance is worse.
If one of the two links is disconnected, then this has no effect on the redundancy status.
IP address PLC 1 | Example: |
IP address PLC 2 | Example: |
Browse | Clicking the button will scan the network adapter. Then the Select Network Adapter dialog opens with the search results. The dialog shows all available network adapters. The IP address, subnet mask, default gateway, and MAC address are displayed for each adapter. Select the desired IP address. For more information, see the following: EtherNet Adapter – General |
Port | Defines the IP port for the first link between both devices The TCP port number is the UDP port number + 1. Example: |
IP address PLC 1 | Example: |
IP address PLC 2 | Example: |
Browse | Clicking the button will scan the network adapter. Then the Select Network Adapter dialog opens with the search results. The dialog shows all available network adapters. The IP address, subnet mask, default gateway, and MAC address are displayed for each adapter. Select the desired IP address. For more information, see the following: EtherNet Adapter – General |
Port | Defines the IP port for the second link between both devices The TCP port number is the UDP port number + 1. Example: |
