7. Maintenance
319
Diagnostics via Variables
Hadron Xtorm Series CPUs offer a set of global symbolic variables, which supplies several
diagnostics information related to the hardware and software.
These data structures showing the diagnostics of all modules declared on the bus are mapped within
variables of direct representation %Q. Additionally, they are symbolically defined through the AT
directive, in the GLV Diagnostics, which was automatically created by the MasterTool IEC XE
Summarized Diagnostics
Table 7-3 shows the meaning of each CPU summarized diagnostic variable:
Diagnostics
Message
DG_modulename.tSumma
rized.*
Type
Description
NO DIAG
-
-
No active diagnostic.
CONFIG.
MISMATCH
bConfigMismatch
BOOL
TRUE
– Bus configuration problem (e.g. module inserted in the wrong
position).
FALSE
– Correctly configuration.
ABSENT
MODULES
bAbsentModules
BOOL
TRUE
– One or more missing modules.
FALSE
– All declared modules are detected in the bus.
SWAPPED
MODULES
bSwappedModules
BOOL
TRUE
– There are changed modules in the bus.
FALSE
– There are no changed modules in the bus.
NON-DECLARED
MODULES
bNonDeclaredModules
BOOL
TRUE
– One or more bus modules are not declared in the configuration.
FALSE
– All modules are declared.
MODULES W/
DIAGNOSTICS
bModulesWithDiagnostic
BOOL
TRUE
– One or more modules in the bus present an active diagnostic.
FALSE
– There are no active diagnostics in the bus modules.
MODULES W/
FATAL ERROR
bModuleFatalError
BOOL
TRUE
– One or more modules in the bus are in fatal error.
FALSE
– all modules are working properly.
MODULES W/
PARAM. ERROR
bModuleParameterError
BOOL
TRUE
– One or more modules in the bus present parameterization error.
FALSE
– All modules are parameterized.
BUS ERROR
bWHSBBusError
BOOL
TRUE
– The master indicates a failure in the WHSB bus.
FALSE
– The WHSB bus is working properly.
ABSENT RACK
bAbsentRacks
BOOL
TRUE
– One or more declared racks are absent.
FALSE
– No absent racks.
DUPLICATED
RACK
bDuplicatedRacks
BOOL
TRUE
– Racks with duplicated identification number.
FALSE
– No racks with duplicated identification number.
INVALID RACK
bInvalidRacks
BOOL
TRUE
– Racks with invalid identification number.
FALSE
– No racks with an invalid identification number.
NON DECLARED
RACK
bNonDeclaredRacks
BOOL
TRUE
– Racks with a non-declared identification number
FALSE
– No racks with a non-declared identification number.
DUPLICATED
SLOT
bDuplicatedSlots
BOOL
TRUE
– Duplicated slot address.
TRUE
– No duplicated slot address
-
bReserved_13..15
BOOL
Reserved
HARDWARE
FAILURE
bHardwareFailure
BOOL
TRUE
– CPU hardware failure.
FALSE
– The hardware is working properly.
SOFTWARE
EXCEPTION
bSoftwareException
BOOL
TRUE
– One or more exceptions generated by the software.
FALSE
– No exceptions generated in the software.
-
bReserved_18
BOOL
Reserved
MEMORY CARD
ERROR
bMemoryCardError
BOOL
TRUE
– The memory card is inserted in the CPU, but is not working
properly.
FALSE
– The memory card is working properly.
-
bReserved_20..23
BOOL
Reserved
COM 1 CONF.
ERROR
bCOM1ConfigError
BOOL
TRUE
– Error during/after the COM 1 serial interface configuration.
FALSE
– Correct COM 1 serial interface configuration.
COM 2 CONF.
ERROR
bCOM2ConfigError
BOOL
TRUE
– Error during/after the COM 2 serial interface configuration.
FALSE
– Correct COM 2 serial interface configuration.