9 error handling, 1 defining errors, Error handling – Lenze PLC Designer ApplicationTemplate (PLC Designer R3-x) User Manual

Page 92: Defining errors, Message, Architecture: the applicationtemplate in detail

Advertising
background image

Architecture: The ApplicationTemplate in detail

Error handling

92

Lenze · ApplicationTemplate · 1.3 EN - 04/2013

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

9.9

Error handling

The ApplicationTemplate contains an error handling for the output of error messages. It is defined

by default and can be changed if required.
The error handling has the following functions:

• Errors/warnings/information can be defined in the module applications (MAP) of the machine

modules.

• Forwarding of error states within the MachineModuleTree (MMT).
• An application-global error list with the current error status of all machine modules contained

in the MMT.

• The error handling is connected to the logbook of the controller, so that the error messages can

be viewed in the logbook.

9.9.1

Defining errors

The

SetErrors method defines the errors with the corresponding properties in the respective

module application.
The ApplicationTemplate contains the L_EATP_ErrorSet FB for changing the error handling. At the

xSetError input of the L_EATP_ErrorSet FB, application-specific errors can be triggered.



L_EATP_ErrorSet

( 119)

[9-24] FB L_EATP_ErrorSet: Add further instances of the FB if more than four error inputs per instance are required.

An error can be defined on the FB by the following characteristics:

• The L_EATP_ErrorSet FB has four inputs, xSetError[1...4], for setting errors.
• For every xSetError input, one error can be set.

Characteristic

Description

Further information

Error number

Unique error number (ID)

16 bit error number (WORD data type)

Error response

Error response

• Can be selected from the list.



Configuring an error response ( 93)

Acknowledgement

response

Information (yes/no) stating

whether the error tripped is to be

acknowledged.

The acknowledgement response cannot be changed

for all error response types.



Configuring an error response ( 93)



Acknowledging errors ( 93)

Advertising