This is exactly what I modelled. The only difference is that I used individual Object Types derived from BaseObjectType (No Folders).
Analog to your example, it would be like that:
Code: Select all
Layer3 Type: derived from BaseObjectType
|
Var7
Var8
Layor2Type : derived from BaseObjectType
|
Var5 (individual Enumeration)
Var6
Object 3 (Layer3Type)
Layor1Type : derived from BaseObjectType
|
Var3
Var4
Object2 (Layor2Type)
MyObjectType : Layer0 Type derived from BaseObjectType
|
Var1
Var2
Object1 (Layor1Type)
I got it implemented in my Server. The thing is that the information model is not fully accessible from UaExpert. It is only displayed until Layer1. In Layer 1 you can see the Variables but not Object2.. Does this have anything to do with ModellingRules (Optional, Optional Placeholders)? I should mention that I chose all optional components and optional placeholders.
//EDIT:
I found out, that even when I choose all Optionals and Optional Placeholders manuelly by selecting them in the Object Menu "Select Optional Components" & "Select Optional Placeholders" they will appear in the Information Model, but when you analyze their status of "ModellingRule", it is selected "NoModellingRule". It gets worse if you try to change it manually with the dropdown menu. For some Objects / Variables it is possible to change the ModellingRule and for some it is not...
//EDIT
Thank you for your answer in advance!