How correctly organize properties and methods within MethodSet and ParameterSet

Unified Architecture topics related to OPC UA Specification, compliant behavior and any technical issues of OPC UA, like Security, Information Model, Companion Specs DI, PLCopen, ADI, ...

Moderator: Support Team

Post Reply
natali.oliinyk
Jr. Member
Jr. Member
Posts: 1
Joined: 04 Oct 2024, 16:47

How correctly organize properties and methods within MethodSet and ParameterSet

Post by natali.oliinyk »

Hey, I have question about correct devices modelling. I'm using Softing SDK.
Imagine we are creating the subtype of DeviceType, e.g. MyDeviceType.
This custom subtype should have following methods:
-Method1
-Method2

And following properties:
-Property1
-Property2

When I create the instance of MyDeviceType, I see that my properties and methods are created, MethodSet and ParameterSet objects are also created.
My goal is to locate my properties/methods inside MethodSet and ParameterSet objects accordingly.
My question is should I move my properties and methods inside MethodSet and ParameterSet objects on the instance creation level, or it should be somehow done on the level of Type creation?

Thanks in advance!

User avatar
Support Team
Hero Member
Hero Member
Posts: 3204
Joined: 18 Mar 2011, 15:09

Re: How correctly organize properties and methods within MethodSet and ParameterSet

Post by Support Team »

Hi,

the MethodSet and ParameterSet are Nodes coming from the DI-Specification (Device Integration). You should make yourself familiar with the DI Spec and check out the examples in UaModeler and in the C++SDK including DemoServer on how to use the DI namespace (which is e.g. base for PLCOpen namespace) and how to create/extend node-instances referencing to the DI.

Your server specific nodes must live in your own namespace, you should not extend the DI type system (it is standardized).
Best regards
Unified Automation Support Team

Post Reply