6. HX3040 Redundancy
291
GVL Module_Diagnostics
The "Module_Diagnostics" GVL declares the diagnostic variables of the modules used in the project,
except for the CPU and communication drivers. This GVL is not editable, so the variables are
automatically declared with the type specified by the module to which it belongs, when it is added to
the project.
Example:
Module_Diagnostics
VAR_GLOBAL
DG_HX1120 : T_DIAG_HX1120_1;
DG_HX2320 : T_DIAG_HX2320_1;
DG_HX6000 : T_DIAG_HX6000_1;
DG_HX6020 : T_DIAG_HX6020_1;
DG_HX8320 : T_DIAG_HX8320_1;
END_VAR
By sending an application to the HX3040 CPU and putting it in "Execution", through GVL
"Module_Diagnostics" you can monitor the diagnostics of each module that was added to the project
(Figure 6-12).
Figure 6-12. GVL Modules_Diagnostic in Online Mode
Qualities GVL
The "Qualities" GVL declares the quality variables of the internal variables mappings, MODBUS
Master/Client and DNP3 Client. It is not mandatory but is recommended to use the automatic
generation of these variables, by clicking in the correspondent item in the device mappings tab.
These variables are declared as "LibDataTypes.QUALITY" and follow the subsequent structure: