IF_EventWriter – General Information

Overview

Type:

Interface

Available as of:

V1.1.0.0

Inherits from:

Task

Interface for sending events to the EcoStruxure Machine Expert Twin.

Description

The interface IF_EventWriter provides methods and properties for setting events for the EcoStruxure Machine Expert Twin.

The interface is implemented by the function block FB_EventWriter.

For connecting to an EcoStruxure Machine Expert Twin, the OPC UA server must be active.

The event is written to the internal events buffer and to the OPC UA structure by the method Update.

Properties

Name

Data type

Accessing

Description

lrBufferFillLevel

LREAL

Read

Indicates the memory usage of the internal events buffer in percentage.

udiFreeBufferPositions

UDINT

Read

Indicates the number of free positions of the internal events buffer.

xTwinConnected

BOOL

Read

Indicates TRUE if an EcoStruxure Machine Expert Twin is connected.

udiTimeoutTwin

UDINT

Read/Write

The timeout period for the connection between EcoStruxure Machine Expert Twin and the connected controller in milliseconds (ms). Default value: 100 ms.