Professional OPC
Development Tools

logos

Online Forums

Technical support is provided through Support Forums below. Anybody can view them; you need to Register/Login to our site (see links in upper right corner) in order to Post questions. You do not have to be a licensed user of our product.

Please read Rules for forum posts before reporting your issue or asking a question. OPC Labs team is actively monitoring the forums, and replies as soon as possible. Various technical information can also be found in our Knowledge Base. For your convenience, we have also assembled a Frequently Asked Questions page.

Do not use the Contact page for technical issues.

Subscription

More
12 May 2021 15:23 #9670 by support
Replied by support on topic Subscription
Hello.

Do you have an evidence that KepServerEx actually supports OPC UA Alarms&Conditions? I cannot find it listed anywhere. And, I tried approximately the same operation using another OPC client and got BadMonitoredItemFilterUnsupported as well.

Best regards

Please Log in or Create an account to join the conversation.

More
12 May 2021 09:15 - 12 May 2021 15:22 #9669 by alr1976
Subscription was created by alr1976
Hi!

I have some difficult to subscribe alarm and event with Kepware 6 in delphi.
I have created 1 event but it seem that i can't subscribe it.
const
  UAObjectIds_Server = 'nsu=KEPServerEX;ns=2;s=FLOWSERVE.FLOWSERVE.Modbus_List_Overall.MOTOR RUNNING.HI';
var
  Client: TEasyUAClient;
  ClientEventHandlers: TClientEventHandlers18;
  EndpointDescriptor: string;
begin
  EndpointDescriptor := 'opc.tcp://127.0.0.1:49320';
 
  // Instantiate the client object and hook events
  Client := TEasyUAClient.Create(nil);
  ClientEventHandlers := TClientEventHandlers18.Create;
  Client.OnEventNotification := ClientEventHandlers.Client_EventNotification;
 
  WriteLn('Subscribing...');
  Client.SubscribeEvent(EndpointDescriptor, UAObjectIds_Server, 1000);
 
  WriteLn('Processing event notifications for 30 seconds...');
  PumpSleep(30*1000);
 
  WriteLn('Unsubscribing...');
  Client.UnsubscribeAllMonitoredItems;
 
  WriteLn('Waiting for 5 seconds...');
  Sleep(5*1000);
 
  WriteLn('Finished.');
  FreeAndNil(Client);
  FreeAndNil(ClientEventHandlers);

but i got BadMonitoredItemFilterUnsupported.

i have attached my simple alarm and event(You can import it in Kepware alarm&event)

Br,Alessandro

File Attachment:

File Name: Area1.csv
File Size:1 KB
Attachments:
Last edit: 12 May 2021 15:22 by support.

Please Log in or Create an account to join the conversation.

Moderators: support
Time to create page: 0.053 seconds