ST_EventsHandling

Overview

Type:

Structure

Available as of:

V1.1.0.0

Inherits from:

Description

The structure ST_EventsHandling contains the handshake variables used for communication and an array with events for the data exchange with EcoStruxure Machine Expert Twin.

For more information on the data exchange with EcoStruxure Machine Expert Twin, refer to Handshake Variables.

NOTE: For generating event data, use the FB_EventWriter to help avoid invalid data.

Structure Elements

Name

Data type

Description

udiIndexOfLastEventInBuffer

UDINT

Provides information on the last written array element in astEventsBuffer.

udiTwinId

UDINT

The ID of the connected EcoStruxure Machine Expert Twin. When no EcoStruxure Machine Expert Twin is connected, the value of udiTwinId is 0.

udiHandshakeValue

UDINT

The controller provides the handshake value to verify whether the connection to EcoStruxure Machine Expert Twin is active.

udiHandshakeFeedback

UDINT

If an EcoStruxure Machine Expert Twin is connected, it returns the udiHandshakeValue as udiHandshakeFeedback value.
If no EcoStruxure Machine Expert Twin is connected, the value of udiHandshakeFeedback is 0.

astEventsBuffer

ARRAY
[1..GPL.Gc_udiMaxNumberOfEventData] OF ST_Event

The event data for target handling, managed in a ring buffer.