IF_ExceptionList - SetExceptionForOneReaction (Method)
Type: |
Method |
Available as of: |
V 1.0.0.0 |
Versions: |
Current version |
Sending an exception with one reaction.
Method to be able to send an exception.
Input |
Data type |
Description |
---|---|---|
i_xExceptionActive |
BOOL |
TRUE: The exception is active and shall be entered into the global exception list. |
i_etDiag |
Exception class according to GD.ET_Diag |
|
i_udiDiagExt |
UDINT |
Exception number according to ET_DiagExt of the respective library. |
i_sMsg |
STRING[80] |
Exception message in plain text. |
i_udiModuleId |
UDINT |
ModuleID of the module that reported the exception. |
i_sModuleName |
STRING[80] |
Name of the module that reported the exception. |
i_etReaction |
Enumeration that contains the reactions that were defined in the exception. |
|
i_etSource |
Type of the module that reported the exception. |
Output |
Data type |
Description |
---|---|---|
q_etDiag |
Output which indicates the condition of the module. It is defined in the PD_GlobalDiagnostic library. |
|
q_etDiagExt |
Output which indicates the performance condition of the module. Here, the extended diagnostic code that was defined in ET_DiagExt of each respective library is displayed as a number. |
|
q_sMsg |
STRING[80] |
Output which indicates a message to the user. Normally, a textual description of q_udiDiagExt |
Data type |
Description |
---|---|
DINT |
|