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.
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. |