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:
- Events during the startup and shutdown of the system (components loaded, with version)
- Application download and loading of the boot application
- Custom entries
- Log entries of I/O drivers
- Log entries of the data server
Note
The Log tab also opens when you click Open log page. You can configure this as a menu command in the Customize dialog box.
Offline recording |
|
UTC time |
|
Severity | There are four categories for the severity of the event:
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, e.g.: Import function failed of |
Component | Name of the runtime system component concerned, e.g. CmpApp |
Selection list with component names | The log list displays only events that concern the selected component |
Logger | Selection 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