FB_TcRemoteEventLogger

FB_TcRemoteEventLogger 1:

This function block represents the TwinCAT 3 EventLogger for a remote system.

Syntax

FUNCTION_BLOCK FB_RemoteEventLogger IMPLEMENTS I_RemoteEventLogger

FB_TcRemoteEventLogger 2: Methods

Name

Description

ClearAlarms

Clears active alarms.

ClearLoggedEvents

Clears logged events.

ConfirmAlarms

Confirms alarms.

Connect

Connects to the remote system.

Disconnect

Terminates the connection with the remote system.

SendMessage

Sends a message.

SendMessage2

Sends a message.

SendMessageEx

Sends a message.

SendMessageEx2

Sends a message.

FB_TcRemoteEventLogger 3: Properties

Name

Type

Access

Description

hrConnect

HRESULT

Get

Connection status to the remote system

hrInit

HRESULT

Get

Errors that occur during startup.

sNetId

T_AmsNetId

Get

AmsNetId of the remote system

Requirements

Development environment

Target platform

PLC libraries to include

TwinCAT v3.1.4026.0

PC or CX (x64, x86, ARM)

Tc3_EventLogger (>=3.3.7.0)