6. Redundancy with NX3030 CPU
337
Direct Representation
Variable
AT variable
DG_NX4010.tRedundancy.R
edDgnLoc.sGeneral_Diag.*
MasterTool command used to write on this non-
volatile variable is described.
informs the redundancy state of this PLC:
- Not-Configured = 0
- Starting = 2
- Stand-by = 3
- Active = 4
- Inactive = 5
Previous RedState value before the data
transition.
Measures for how long (milliseconds) the current
redundancy state has been assumed. This time
stops incrementing when reaches 65535ms.
Error code discovered during the configuration
process in the Not-Configured state. See
ConfigError diagnostics described previously.
32 bits applicative project CRC, used to detect
differences between the applicative projects of
the 2 PLCs.
32 bits project archive CRC, used to detect
differences between the project archive of the 2
PLCs.
This PLC firmware version, used to verify the
compatibility between both PLC firmware.
The IEC Timer synchronization is necessary for
the bump-less operation of some function block
as TON and TOF. Through this diagnostic the
IEC Timer from the Active PLC is received and
updated in the Non-Active PLC, since the
Diagnostics and Commands Exchange service
has been executed successfully. The counting
starts at 0 and is incremented up to 4294967295.
After counting overflow restarts with 0.
16 bits counter, used as sequence auxiliary
information in the Redundancy Event Log. In the
Active PLC, it’s incremented each MainTask
cycle. In the Non-Active PLC, receives a copy of
the value existent in the Active PLC, since the
Diagnostics and Commands Exchange service
has been executed successfully. The counting
starts at 0 and is incremented up to 65535. After
counting overflow restarts with 0.
Table 6-6. Redundancy General Diagnostics
Notes:
Diagnostics Structures Visualization: The diagnostics structures added to the project can be
visualized accessing the “Library Manager” from the tree view in the MasterTool IEC XE window.
With that it’s possible to visualize all data types defined in the structure.
Direct Representation Variables: The “n” represents the configured value in the NX4010 module,
through MasterTool IEC XE software, as a Diagnostics Initial Address in %Q. This definition is true
for all diagnostics structure.
AT Directive: The AT directive is a word reserved in the programming software which is connected
to a variable address. In case of a NX4010 module the DG_NX4010 variable is related to the module
diagnostics initial address.
DG_NX4010.tRedundancy.RedDgnLoc.sGeneral_Diag.bExchangeSync: When this diagnostic
variable is with value FALSE, is not possible to define the state of some other diagnostics, such as
bIncompatibleFirmware, bApplicationProjectDiff and bProjectArchiveDiff. There will not represent