3 l_eatp_errorlisthandler, L_eatp_errorlisthandler, L_eatp_errorlisthandler ( 118) – Lenze PLC Designer ApplicationTemplate (PLC Designer R3-x) User Manual

Page 118: The l_eatp_applicationtemplate library

Advertising
background image

The L_EATP_ApplicationTemplate library

1_POUs - Program Organization Units

118

Lenze · ApplicationTemplate · 1.3 EN - 04/2013

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

11.2.3

L_EATP_ErrorListHandler

This FB manages/updates the global error list.

• This FB enables the creation of a CSV file containing all errors defined.

Inputs

Outputs

Function library:

L_EATP_ApplicationTemplate

Runtime software licence:

…

LPC 1x00

…

MPC 1x00

…

MPC 2x00

…

MPC 2x10

…

MPC 2x20

…

MPC 2x30

…

MPC 3x00

;

None

L_EATP_ErrorListHandler

BOOL ⎯ xExecuteCreateCSVFile

iDiagModuleCount ⎯ INT

xBusyCreateCSVFile ⎯ BOOL

xDoneCreateCSVFile ⎯ BOOL

sInfoCreateCSVFile ⎯ STRING

Identifier/data type

Information/possible settings

xExecuteCreateCSVFile

BOOL

A rising edge at this input (FALSE->TRUE) starts generation of a CSV file.

• The CSV file contains all errors which are defined in the machine modules.

Identifier/data type

Information/possible settings

iDiagModuleCount

INT

Provides the link to all subordinated machine modules (slaves).

• For slaves of the lowest hierarchy level, this output is not assigned.

xBusyCreateCSVFile

BOOL

TRUE: Create CSV file (creation process running).

xDoneCreateCSVFile

BOOL

FALSE->TRUE: CSV file created (creation process completed).

• Automatic reset of the signal: Three seconds after the CSV file creation process

has been completed.

sInfoCreateCSVFile

STRING

Detailed information about the CSV file creation process.

Advertising