Create Dynamic information model with One Object data type and 4 variable nodes in each objectType node|OPC UA Standard|Forum|OPC Foundation

Avatar
Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
Lost password?
sp_Feed sp_PrintTopic sp_TopicIcon
Create Dynamic information model with One Object data type and 4 variable nodes in each objectType node
Avatar
Alex aa
Member
Members
Forum Posts: 3
Member Since:
01/02/2024
sp_UserOfflineSmall Offline
1
01/02/2024 - 06:22
sp_Permalink sp_Print

Hi Team,

I am new to this OPC UA, I need to create a dynamic information model. it having one ObjectTypeNode and inside that objectTypeNode having four variable nodes of String type or int type. 

How to proceed this any papers published for this to implement?

Please give some suggetions to implement the above requirement in  Embedded devices like stm32 development board in C-language.

 

Thanks in advanceSmile

Avatar
Randy Armstrong
Admin
Forum Posts: 1578
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
2
01/02/2024 - 07:03
sp_Permalink sp_Print

The answer is very dependent on the SDK you are using.

Most SDKs have generic classes that will allow you create in memory version of any Node you need.

Most ANSI C also assume that static information, like types, can be stored in read-only memory so the existing examples will not do what you need.

You would want to look for examples of creating a dynamic object node but replace the NodeClass with an ObjectType.

Avatar
Alex aa
Member
Members
Forum Posts: 3
Member Since:
01/02/2024
sp_UserOfflineSmall Offline
3
01/02/2024 - 22:47
sp_Permalink sp_Print

Hi Randy,

Thanks for your replay.

I am using open62541 sdk for opc ua. is this sdk will support to implement adding node and removing of node at runtime?

If possible please suggest the ideas how to implement.

is there any example source codes are present please suggest.

Thanks in advance

Avatar
Randy Armstrong
Admin
Forum Posts: 1578
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
4
01/02/2024 - 22:56
sp_Permalink sp_Print
Avatar
Alex aa
Member
Members
Forum Posts: 3
Member Since:
01/02/2024
sp_UserOfflineSmall Offline
5
01/04/2024 - 07:05
sp_Permalink sp_Print

Hallo Randy,

In OPC UA with .net stack is there any avaible examples present? to implement the dynamic information model like adding the node and removing the node at runtime. 

If any OPC UA stack is support please suggest that stack.

please suggest any information regarding this implementation. 

Thanks in advance.

Avatar
Randy Armstrong
Admin
Forum Posts: 1578
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
6
01/10/2024 - 01:06
sp_Permalink sp_Print

I am not aware of specific examples but I know you can create instances of new ObjectTypes at runtime.

Forum Timezone: America/Phoenix
Most Users Ever Online: 510
Currently Online:
Guest(s) 42
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Forum Stats:
Groups: 2
Forums: 10
Topics: 1444
Posts: 4887