Tab ‘Log’ΒΆ

You can view the PLC log in this tab of the generic device editor. It lists the events that were recorded on the target system. This concerns:

Note

The Log tab also opens when you click Open log page. You can configure this as a menu command in the Customize dialog.

Offline recording

: Default settings

: The PLC also records actions that are not related to the connection with the controller. However, this is presently implemented only for the safety version of CODESYS.

UTC time

: Standard setting; the time stamp is converted to the local time on the computer as indicated by the time zone of the operating system.

: The time stamp of the runtime system is displayed.

Severity

There are four categories for the severity of the event:

  • : Message
  • : Warning
  • : Error
  • : Debugging

You can show or hide each category with the help of the corresponding button in the bar above the list. Each button shows the number of log entries of the category concerned.

Time stamp Date and time (example: 12-01-2007 09:48)
Description Description of the event, for example Import function failed of
Component Name of the runtime system component concerned, e.g. CmpApp
Drop-down list with component names The log list displays only events that concern the selected component
Logger Drop-down list with all available recordings. The standard setting is the <Default Logger> specified by the target system, at present identical to ‘PlcLog’ for the CODESYS runtime system
Refreshes the log list
Exports the list contents to an xml file. You can select the file name and storage directory.
Imports a log list from an xml file. The list is then displayed in a separate window.
The displayed log list is emptied, i.e. all entries are deleted.

Note

Note for error checking: For exceptions with the description *SOURCEPOSITION*, the affected function opens in the editor by double-clicking it or from the Display source code in editor command in the context menu. The cursor jumps to the line that is causing the error. You can also perform this diagnosis when you have the CODESYS project archive, including the download information files and the exported log file. If the affected function is protected, then the following message appears: “The source code is not available for <function name>”.

See also