8 alarm handling (error handling), 1 defining alarms, Alarm handling (error handling) – Lenze ApplicationTemplate PackML (PLC Designer R3-x) User Manual

Page 76: Defining alarms, Alarm handling, Error handling)

Advertising
background image

Architecture: The ApplicationTemplate PackML in detail

Alarm handling (error handling)

76

Lenze · ApplicationTemplate PackML · 1.0 EN - 05/2014

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

9.8

Alarm handling (error handling)

The ApplicationTemplate PackML contains an alarm handling for providing alarms. The alarm

handling defined by default can be changed individually. Errors/warnings/information can be

defined in the module applications (MAP) of the machine modules.
The alarm handling has the following functions:

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

in the MMT.

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

be viewed in the logbook.

9.8.1

Defining alarms

The

SetAlarms method defines the alarms with the corresponding properties in the respective

module application.
For changing the alarm handling, the ApplicationTemplate PackML provides the FB

L_EATP_Alarm_PackML. Application-specific errors can be triggered at the xAlarmTrigger input.

[9-28] Insert further instances of this FB if more than four error inputs are required per instance.

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

The FB L_EATP_Alarm_PackML has four inputs xAlarmTrigger[1...4] for setting alarms. One alarm

each can be set per xAlarmTrigger input.

L_EATP_Alarm_PackML

( 98)

Characteristic

Description

Further information

wAlarmID

Unique alarm number (ID).

16 bit alarm number, data type: WORD.

dwAlarmValue

Detailed alarm information: For each

alarm, an additional attribute of

DWORD type can be used which (in

connection with the alarm number)

can be interpreted.

For a "Drive Error" group alarm, for instance, the

detailed alarm information of the corresponding

controller can be used.

sAlarmMessage

Text description of the error.

The alarm text is stored in the table of attributes. The

alarm text always is to be used if no higher-level

mechanism for implementing the error number in

national languages is activated (example: Higher-

level visualisation).

dwAlarmCategory

Category/type of the alarm.

eAlarmReaction

Alarm reaction: Can be selected from the list.

Advertising