Introduction
This topic shows you how to configure the Hot Standby functionality of an M580 BMEH58•040 CPU. For information on how to configure the non-Hot Standby functions for the CPU, refer to the M580 Hardware Reference Manual.
Accessing the M580 CPU Hot Standby Configuration Tab
Use the M580 BMEH58•040 CPU to configure its Hot Standby function. To access this tab:
tab of anStep |
Action |
---|---|
1 |
Add a BMEH58•040 CPU to your project. |
2 |
In the , navigate to and select . |
3 |
Click the right mouse button, then select . |
4 |
Click the tab. |
Configuring the Hot Standby Function
The
tab presents the following configurable settings:Setting |
Description |
|
---|---|---|
|
|
Specify if a PAC A and PAC B operates online at the next start-up:
|
|
||
|
|
The maximum number of online build changes from 1...50 that can be performed on the primary PAC. When this number of online build changes has been reached, you need to transfer the application from the primary to the standby to be able to make additional online build changes. Default = 20. NOTE:
|
|
|
Specify the sections of the MAST task the standby PAC executes in Wait state:
When Control Expert is connected to the standby controller, all in the are preceded by:
NOTE:
You can also individually specify the sections of the MAST task the standby CPU executes while in Wait state. Do this by adding a condition of execution in the tab of the window for a MAST task section. |
|
– |
A bar graph displays the percentage of CPU memory used by Hot Standby data. The value depends on the M580 Hot Standby configuration. The total data exchanged is displayed in KB as well as:
|
Configuring Controller Online State
Controller A is the CPU with the A/B/Clear rotary selector switch (located on the back of the CPU) set to “A”. Controller B is the CPU with the A/B/Clear rotary selector switch set to “B”.
You can use the
and settings, for the following purposes:To specify the PAC that will be primary on a cold start. For example, set to and to . PAC A powers up as primary, and PAC B powers up in wait state. After power up, you can manually set to .
To avoid an unintended switchover. For example, if PAC A is primary and PAC B is standby, set to . PAC B enters wait state, and no switchover can occur.
These settings can be modified during runtime, or when the Hot Standby system is not operating.
Settings entered when the Hot Standby system is not running take effect after the next project build, when the Hot Standby system next starts-up.
If the Change Configuration on The Fly (CCOTF) function is enabled, settings entered when the Hot Standby system is running take effect immediately on the next project build (or re-build).
No Local I/O Configuration
Because the local rack of a Hot Standby PAC cannot include I/O modules, the following settings in a BMEH58•040 or BMEH58•040S CPU tab are disabled:
(safety PAC)
Use a BMENOC0301 or BMENOC0311 communication module and the IPsec protocol to provide a secure connection to the CPU.
Then use the
CMD_RUN_REMOTE
orCMD_STOP_REMOTE
commands of theT_M_ECPU_HSBY
DDT to change a remote CPU operating state.
Enabling FDR Server Synchronization in a Hot Standby System
In an M580 Hot Standby system, a BMEH58•040 CPU, a BMENOC0311 CPU, or a BMENOC0301/11 Ethernet communication module can perform the role of an FDR server. To permit the synchronization of the FDR server in the primary PAC with the FDR server in the standby PAC, you need to enable the TFTP service for the Hot Standby system.
To enable the TFTP service, follow these steps:
Step |
Action |
---|---|
1 |
In the double-click on the following:. The window opens. |
2 |
Click the tab. |
3 |
For the service, select . |
4 |
If TFTP access to the CPU. is enabled, create an entry for each device or subnet that you want to haveNOTE: Select the column for each entry.
|
5 |
and your edits. |
EthPort_Control_MX
function
in the application.If you want to programmatically enable or disable TFTP, include the EthPort_Control_MX
function in a section of the application that is executed by the
standby CPU, so that this function will be executed by both the primary
and standby CPUs.