Skip to Content
Documentation03 · Data collectionProtocol pluginsProtocolsOPC AE alarm/event collection
On this page

OPC AE alarm/event collection

Windows OPC AE event subscription, conditional reception and variable mapping driver

Prerequisites

Before using this plugin, you must install OPC Core Components (OPC Core)  on the Windows hosts running the gateway and the OPC AE server. Match the component architecture to the corresponding process.

Open the plugin

Enter “Development Configuration → Collection Configuration”, create a device and select “OpcAeMaster” in “Collection Plugin”.

Supported channels and data types

Channel typePre-configuration check
Plugin built-in connectionConnection parameters are configured in the device dynamic properties and do not use public TCP, UDP or serial channel parameters.

Optional data type: Object (determined by protocol node or payload)

Plugin properties

Connection configuration

SettingDescription
OpcAeUrlDefault: opcae://localhost/Kepware.KEPServerEX_AE.V6; fill in: text input. Set the OpcAeUrl used when establishing a connection.

Running parameters

SettingDescription
CheckRateDefault: 10; Fill in: Numeric input. Sets the CheckRate used when the plugin is run.

Address rules

  • Variable address description
  • <SourceID> OPC AE event source ID
  • For example: Channel1.Device1.AlarmHigh

Device debug

Enter “Development Configuration → Collection Configuration”, select the current device then open “Protocol Debug” at the top of the workspace.

Protocol debug · EventMonitor

Execute parameter, connection or protocol operations specific to the current plugin and view the returned results.

Debugging notes

First confirm the event subscription and condition status, and then check the event monitoring results; it is normal for the list to be empty when there are no events.

Functions

FunctionPurpose
Last activityUse Last activity and review the returned result.
Variable tableUse Variable table to inspect mapped values, status, counters, recent messages, or the latest result.
Message statisticsView received, queued, dropped, and malformed message counts.
Message logView the latest messages received by the current debug session.

Verify the configuration

Replace the example with an actual source, trigger a test event on the AE server and compare source, time and payload.

Writes and control operations require an approved test point and the site safety procedure.

Troubleshooting

  • AE depends on Windows COM/DCOM permissions and receives events rather than polling registers; validate a matching event after connecting.