Auxiliary POU that processes the data for various visualization frames, which shall be displayed.
Input |
Data type |
Description |
---|---|---|
i_xEnable |
BOOL |
A rising edge FALSE -> TRUE activates the POU, a falling edge TRUE -> FALSE deactivates the POU. A deactivated POU does not execute any actions. |
i_pstMachineStandardItf |
POINTER TO ST_StandardModuleInterface |
Standard interface of the MainMachine |
i_pstCurrentStandardItf |
POINTER TO ST_StandardModuleInterface |
Standard interface of the currently chosen submodule |
i_xUpdateData |
BOOL |
Signals the function block to generate the raw data again. |
i_udiNumberOfExceptions |
UDINT |
Number of currently active exceptions |
Output |
Data type |
Description |
---|---|---|
q_xActive |
BOOL |
TRUE: The POU is active and has to be executed further. FALSE: The POU is inactive. |
q_xReady |
BOOL |
TRUE: The POU is ready to operate and accepts user commands. FALSE: the POU is not ready to operate and does not accept user commands. |
q_etDiag |
General, library-independent statement on the diagnostic. A value unequal GD.ET_Diag.Ok equates an error message. |
|
q_etDiagExt |
POU-specific output on the diagnostic. q_etDiag = GD.ET_Diag.Ok -> status message q_etDiag <> GD.ET_Diag.Ok -> diagnostic message |
|
q_udiSetAsCurrentModule |
UDINT |
Module that shall be displayed. |
Input/Output |
Data type |
Description |
---|---|---|
iq_stExceptionList |
Global exception list |
|
iq_stLogDataList |
Global log data list |
|
iq_astExceptionListCopy |
ARRAY[1..Gc_udiMaxNumberOfExceptions] OF ST_Exception |
Copy of the global exception list |
iq_udiExceptionDetailsSelectIndex |
UDINT |
Exceptions the details of which shall be displayed. |
q_etDiag |
q_etDiagExt |
Enumeration value |
Description |
---|---|---|---|
OK |
Disabled |
22 |
Diagnostic message disabled |
OK |
Initializing |
37 |
Initialization |
OK |
Working |
47 |
The POU processes the function |
InputParameterInvalid |
PointerCurrentStandardItfInvalid |
59 |
The pointer CurrentStandardItf is invalid |
InputParameterInvalid |
PointerMachineStandardItfInvalid |
58 |
The pointer MachineStandardItf is invalid |
Enumeration name: |
Disabled |
Enumeration value: |
22 |
Description: |
Diagnostic message disabled |
The function block is disabled and executes no actions whatsoever. i_xEnable and q_xActive are set to FALSE
Enumeration name: |
Initializing |
Enumeration value: |
37 |
Description: |
Initialization |
The function block is bein initialized and thus is not yet ready to receive commands at its inputs.
The function block will signalize that it is ready for operation with the signal q_xReady = TRUE.
Enumeration name: |
PointerCurrentStandardItfInvalid |
Enumeration value: |
59 |
Description: |
The pointer CurrentStandardItf is invalid |
Issue |
Cause |
Solution |
---|---|---|
- |
An invalid value was applied at the i_pstCurrentStandardItf input. |
A valid memory address unequal 0 has to be transferred to the i_pstCurrentStandardItf input. |
Enumeration name: |
PointerMachineStandardItfInvalid |
Enumeration value: |
58 |
Description: |
The pointer MachineStandardItf is invalid |
Issue |
Cause |
Solution |
---|---|---|
- |
An invalid value was applied at the i_pstMachineStandardItf input. |
A valid memory address unequal 0 has to be transferred to the i_pstMachineStandardItf input. |