9:32, EEST
June 25, 2014
Hello,
I’m new to OPC, so my question might be stupid, but I was wondering if there are any standards or best practices of how to set up Address Space (nodes) on server. I’m not going to set up server Address Space nor even manage the server myself, but I’m trying to find out the best way or provide the easiest way to define what nodes the client will read or be able to recommend a specific settings.
Let me give you an example. I have 3 machines with some common attributes (lets say temperature, pressure and state).
1) Should every attribute be stored in separate node?
2) Should the nodes be in specific hierarchy, for example:
– Machine 1
– Temperature
– Pressure
– State
– Machine 2
– Temperature
– Pressure
… etc
3) Should the name convension of nodes (node IDs) reflect its hierarchy?
4) Are there any performance advances in specific heirarchy / Address Space settings?
5) Are there any standards reflecting my questions?
Thank you in anvance,
Best Regards,
Ladislav Asenbrener
13:15, EEST
December 21, 2011
1) Yes, every variable needs it’s own node, which can be a DataVariable or Property. They are both Variable nodes (NodeClass=Variable)
2) Yes, that looks good. A good convention is to define an ObjectType (for example YourMachineType) that defines a common structure. The Object instances (i.e. Machines) can then refer to the type using a HasTypeDefinition reference and tell the client applications what type of objects they are.
3) The NodeIds can be assigned freely. Often they are composed using the hierarchy, to ensure that they are unique. But you can also use for example random GUID identifiers (although they are harder to recognise and memorise for yourself).
4) No, I wouldn’t say so
5) The DI, ADI and FDI specifications, for example define standard device types. DI also defines some standards for the address space structuring: for example DeviceSet folder in which the devices should be located in the address space.
https://opcfoundation.org/developer-tools/specifications-unified-architecture
Most Users Ever Online: 1919
Currently Online:
51 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Heikki Tahvanainen: 402
hbrackel: 144
rocket science: 88
pramanj: 86
Francesco Zambon: 83
Ibrahim: 78
Sabari: 62
kapsl: 57
gjevremovic: 49
Xavier: 43
Member Stats:
Guest Posters: 0
Members: 726
Moderators: 7
Admins: 1
Forum Stats:
Groups: 3
Forums: 15
Topics: 1529
Posts: 6471
Newest Members:
gabriellabachus, Deakin, KTP25Zof, Wojciech Kubala, efrennowell431, wilfredostuart, caitlynfajardo, jeromechubb7, franciscagrimwad, adult_galleryModerators: Jouni Aro: 1026, Pyry: 1, Petri: 0, Bjarne Boström: 1032, Jimmy Ni: 26, Matti Siponen: 349, Lusetti: 0
Administrators: admin: 1