08/10/2022
Hey Everyone,
I am working with woodworking object. I have generated classes from NodeSet2 file via OPC Model Complier. There are 2 types of enum according to specification in the object which are CurrentMode and CurrectState.
When the woodworking object is initialized and created. This enum are also create within the object. I am accessing this enum as BaseVariableState. However, for both the enum Datatype Identifier is different.
For Current Mode has DataType Identifier = 20 (Qualified Name)
For Current State has DataType Identifier = 21 (Localizied Text)
Why the enum has different datatype identifier? Is this correct or am I missing anything here?
Thanks in advance!
Regards
05/30/2017
Can you please find the sections you are referring to:
08/10/2022
Directly within the WwMachineTypeState Object. (Click here for downloading image file. Link is valid for 30 days)
05/30/2017
The DataTypes are NOT i=20 and i=21.
The DataTypes ARE ns=2;i=20 and ns=2;i=21
The ns=2 means a different namespace and therefore a completely different node.
If you look at these pages you can see that those datatypes are:
WwUnitModeEnumeration: https://reference.opcfoundatio...../100/20677
WwUnitStateEnumeration: https://reference.opcfoundatio...../100/20678
1 Guest(s)