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.

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.

FB_AppMessage 3: Interfaces

Type

Description

I_AppMessage

Standard interface on FB_AppMessage.

Requirements

Development environment

Target platform

PLC libraries to include

TwinCAT v3.1.4024.42

PC or CX (x64, x86)

Tc3_PlasticBaseApplication (>= v3.12.6.2)