1 adapting the error handling system, 2 acknowledging errors, Adapting the error handling system – Lenze PLC Designer ApplicationTemplate (PLC Designer R3-x) User Manual

Page 120: Acknowledging errors, The l_eatp_applicationtemplate library

Advertising
background image

The L_EATP_ApplicationTemplate library

1_POUs - Program Organization Units

120

Lenze · ApplicationTemplate · 1.3 EN - 04/2013

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

Output

11.2.4.1

Adapting the error handling system

How to change the error handling system:

1. Double-click the

A70_MachineModuleSources folder in the device view.

2. Double-click the

SetErrors method.

• Add a further FB.

• The declaration has to be carried out in the

MAP_EmptyModul_App1 FB.

[11-1] Example linking of the L_EATP_ErrorSet function block

The visualization of the L_EATP_ErrorSet block facilitates the operation of the error handling in the

ApplicationTemplate:



Getting started - operating the ApplicationTemplate

( 35)

11.2.4.2

Acknowledging errors

If the currently pending error requires acknowledgement and the error cause has been eliminated,

the error, by default, can be acknowledged via the higher-level master module (xEHQuitError

BaseChannel data element).

• Optionally, the error can be acknowledged via the ErrorHandler.xQuitErrors data element (from

the module application) for the user's own module/the subordinated slave modules.

• The following command line is to be called from the corresponding module application

(signal is edge-based):

Identifier/data type

Information/possible settings

xError[1...4]Active

BOOL

Status of the currently set error.

TRUE Setting of an error is active.

FALSE No error has been set.

• Connect the desired

xError[1...4]) error input to the application.

• Assign the properties of the error to the

corresponding inputs: error texts, error

response type, acknowledgement

behaviour, priority.

ErrorHandler.xQuitErrors := TRUE;

Advertising