6. HX3040 Redundancy
308
String do Estado
State
Value
Log Message
Description
NON_ACT_OTHER_CPU_A
PP_RESET_BY_USER
601
Application of the other CPU was
reset
Application of the other CPU was reset.
NON_ACT_OTHER_CPU_A
PP_BRKP_BY_USER
602
Application of the other CPU is
stopped by breakpoint
Application of other CPU is at breakpoint.
Table 6-6. Reasons of Redundancy States Change
Redundancy Commands
The command fields of the RedCmdLoc and RedCmdRem structures always have a suffix that can be
Local or Remote. For example, there are command fields StandbyLocal and StandbyRemote, which
have an effect equivalent to the command "Switch to Standby" in the CPU display.
A command with Local suffix generated in RedCmdLoc will be executed on the CPU itself (local).
On the other hand, a command with Remote RedCmdLoc-generated suffix will run on another CPU
(remote). This works as follows:
The remote CPU, in each cycle of MainTask, receives a copy of RedCmdLoc from local CPU via
sync channels, and this copy is called RedCmdRem on remote CPU
The remote CPU only performs RedCmdRem commands that have the suffix Remote
Example 1: If the local CPU is in the active state, and the user wants to switch it to Standby State, the
bit DG_HX3040_01.RedCmdLoc.bStandbyLocal must be set to 1 in the local CPU.
Example 2: If the remote CPU is in the active state, and the user wants to switch it to Standby State,
the bit DG_HX3040_01. RedCmdLoc. bStandbyRemote must be set to 1 in the local CPU.
ATTENTION:
If the diagnosis DG_HX3040_01. RedDgnLoc. RedundancyDiagnostics. bExchangeSync is
indicating failure in Diagnostics and Commands Exchange service, a command with Remote suffix
cannot be passed to the remote CPU, and therefore will not run.
To trigger a command, the corresponding bit in RedCmdLoc must be set. This can be done by a
SCADA system, making a written via MasterTool, or even calling the bit inside a POU as UserPrg or
NonSkippedPrg.
The user does not have to worry about turning off the command bit, which will be done automatically
by the redundancy manager:
In the case of commands executed on the local CPU (RedCmdLoc-command with Local suffix),
the bit is turned off as soon as the command is realized and executed
In the case of commands executed on remote CPU (RedCmdRem-command with Remote
suffix):
o
On remote CPU, the command is executed when the redundancy manager notices a raise
trigger in control bit
The fields of structures RedCmdLoc and RedCmdRem are defined next:
.RedCmdLoc.*
.RedCmdRem.*
Type
Description
bAutoConfigLocal
BOOL
TRUE
– This diagnostic reports a request for automatic configuration, needed to leave
the non-Configured state in some situations.
FALSE - automatic configuration request disabled.
bStandbyLocal
BOOL
TRUE
– This command produces an action equivalent to the " Switch to Standby "
request in the Redundancy menu available on the CPU display.
FALSE - There is no pending request.
bMenuStandbyLocal
BOOL
TRUE
– Turns on by a cycle of MainTask, indicating that the user has requested a
"Switch to Standby" command through the Menu of the CPU display.