FB_AppMessage

FB_AppMessage 1:

This class is part of the FB_Base class and provides an interface to the EventLogger for almost every TwinCAT 3 Plastic Base Application object.

Syntax:

FUNCTION_BLOCK FB_AppMessage EXTENDS FB_TcMessage

FB_AppMessage 2: Methods

Name

Description

ClearAlarm(stEventEntry)

Clears a specific alarm.

FB_AppMessage

AnnounceAlarmArg()

Announces an alarm that is to be triggered with several arguments.

GetAlarmState(stAlarmEntry)

Returns the E_AlarmState of the transferred alarm.

ConfirmAlarm(stEventEntry)

Acknowledges a specific alarm.

Reset()

Resets all alarms generated by this instance.

SendAlarm()

Triggers an alarm.

SendEqualMessage()

Logs a message in the EventLogger.

SendHresult()

Logs a message in the EventLogger with the hexadecimal representation of the error code.

SendMessage()

Logs a message in EventLogger, unless the message has been sent before.

Tc3_EventLogger.FB_TcMessage

Other methods

Implemented by FB_TcMessage

FB_AppMessage 3: Interfaces

Type

Description

I_AppMessage

Standard interface on FB_AppMessage.

Further interfaces

Implemented by FB_TcMessage

Requirements

Development Environment

Target platform

PLC libraries to include

TwinCAT 4026 >= v3.1.4026.16
TwinCAT 4024 >= v3.1.4024.66

PC or CX (x64, x86)

Tc3_PlasticBaseApplication (>= v12.12.0.0)