FC_DiagMsgWrite - General Information
Type: |
Function |
Available as of: |
SystemInterface_1.32.6.0 |
Versions: |
Current version |
Trigger diagnostic message.
This function allows you to trigger diagnostic messages from the program. The diagnostic class (in the range 0 to 4) of the diagnostic message is set via the parameter i_diDiagClass. Use i_sDiagText to transfer the diagnostic text. The maximum length is set to 14 characters. These are extended diagnostic messages.
DiagClass |
Diagnostic message |
---|---|
0 |
|
1 |
|
2 |
|
3 |
|
4 |
Input |
Data type |
Description |
---|---|---|
i_diDiagClass |
DINT |
Diagnostic class |
i_sDiagText |
STRING[80] |
Diagnostic text (maximum 14 characters). |
Data type |
Description |
---|---|
DINT |
0: OK -2: Invalid class. |