Debug messages in TwinCAT->Error List
Debugging messages written to the TwinCAT XAE->Error List facilitate troubleshooting of the system. In order to view the activated debugging messages start the TwinCATT XAE and select the View->Other Windows->Error List menue command. A debug output is shown below. The two different message types are identified with the respective numbers.
The messages are activated in different ways (with different parameters). Below the list of the different parameter names.
1. Hexadecimal output of the ASDUs (without link layer control header). 32 ASDU data bytes per row are output as hexadecimal numbers. Bigger frames are split into multiple lines:
Name |
ON |
OFF |
---|---|---|
eIEC870_FIFO_DBG_ALL |
eIEC870_FIFO_DBG_OFF |
2. Hexadecimal output of the APDUs (RS232/RS485). 32 APDU data bytes per row are output as hexadecimal numbers. Bigger frames are split into multiple lines:
Name |
ON |
OFF |
---|---|---|
FB_IEC870_5_103TProtocol.bOutDbg |
TRUE |
FALSE |
3. Messages from PLC application logged using the FB_IEC870_DebugLogFifo function block.
Name |
ON |
OFF |
---|---|---|
Action call: A_LogError, A_LogWarning, A_LogHint |
- |
Further diagnostic tools:
- Portmon for Windows (v3.02, Windows Sysinternals);
- Diverse protocoll test suite products;