SendAlarm()

SendAlarm() 1:

Triggers an alarm.

Syntax:

METHOD SendAlarm : HRESULT
VAR_INPUT
    stEventEntry:       TcEventEntry;   // TcEventEntry to be created and send
    sString:            STRING(255);    // additional STRING attribute
    bWithConfirm:       BOOL;           // additional Flag to set confirm necessity
END_VAR

SendAlarm() 2: Inputs

Name

Type

Description

stEventEntry

TcEventEntry

Event from an event configuration.

sString

STRING(255)

Additional information that will be attached to the event.

bWithConfirm

BOOL

The event requires an acknowledgement.

SendAlarm() 3: Outputs

Name

Type

Description

SendAlarm

HRESULT

Return value with feedback on the success of the execution

Requirements

Development environment

Target platform

PLC libraries to include

TwinCAT v3.1.4024.35

PC or CX (x64, x86)

Tc3_PlasticBaseApplication (>= v3.12.5.0)