13 logbook – Lenze ApplicationTemplate PackML (PLC Designer R3-x) User Manual

Page 81

Advertising
background image

Lenze · ApplicationTemplate PackML · 1.0 EN - 05/2014

81

Architecture: The ApplicationTemplate PackML in detail

Logbook

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

• The CSV file (file name: AT_DefinedErrors.CSV) after creation from the »PLC Designer« can be

found in the main directory of the controller (volatilely in the flash memory of the controller).

Thus the file can be used during the project planning phase of a machine application (example:

for an external visualization system).

How to write the CSV file:

On the visualization interface of

L_Main, click the Create CSV File button.

[9-30] Example: Structure of the exported CSV file

For experts: Export of the CSV file via application

• Alternatively, the file export via xExecuteCreateCSVFile of the Error List Handler

L_EATP_GVL.ErrorListHandler can be called from the application program (FALSE->TRUE edge).

• The following outputs provide information on the progress:

xBusyCreateCSVFile, xDoneCreateCSVFile, and sInfoCreateCSVFile .

9.13

Logbook

The ApplicationTemplate PackML transmits the error events to the logbook function of the

Controller. The logbook entries are visible in chronological order in the logbook of the controller.

How to display the logbook of the controller:

1. Double-click the controller in the device view.
2. Call the Log tab to show the contents of the logbook:

• Example: Logbook view (two warnings/errors). Click the

button to update the view.

The Description column contains information about the cause of the respective message.

The logbook entries (Description) column have the following structure:

Example:

M1.2, Module2, F12002, Demo: Drive Error of drive 2

<(absolute) machine module address>, <module name>, <error response with error ID>,
<error text> <(optional) detailed error information >

Advertising