Setup 3 Setup Log TwinCAT System errors It is possible since TwinCAT 2.8 to log NC errors and I/O errors with the TcEventLogger. This can be controlled with the following registry key: HKEY_LOCAL_MACHINE\SOFTWARE\Beckhoff\TwinCAT\System[LogMessageType] Possible values for LogMesssageType are: Message sources, database organisation, and the prompt on a TwinCAT System: - : not possible X : possible * only with the TcXmlFormatter. ** Not all messages will be logged to reduce the system load. TcEventLogger 13 Version: 1.1 Value Description 0 TwinCAT System message logged into the operating system. 1 TwinCAT System message logged into the TcEventLogger [} 127].
They available for Custom programs and the HMI in the list of logged events. System messages use the TcXmlFormatter [} 116]. 2 Default mode. TwinCAT system message will be logged into the operating system and the TcEventLogger [} 127]. Messages on a TwinCAT (PC) System source message text as xml file database prompt TcEventLog- ger (Twin- CAT *.tps - File) event viewer of the OS TcEventView er-Client e.g.
TcEvent- Bar.exe event viewer of the OS TwinCAT System Man- ager Logger OS - - X - X - AD- SLOGSTR, AD- SLOGDINT, AD- SLOGLREAL functions - - X - X X ADSLO- GEVENT module X* X - X - - TwinCAT System NC and IO-mes- sages X TwinCAT 2.8 or newer X** only at LogMes- sageType 1 or 2 X only at LogMes- sageType 0 or 2 X** only at LogMes- sageType 1 or 2 X only at LogMes- sageType 0 or 2 X