

9:53, EEST

May 25, 2020

Hi,
wenn I connect to an OPC UA Server from Siemens (S7-1500) I get a node with dataType ns=3;i=3063 (SimaticOperatingState). In UaExpert I can see by the value attribute that this must be an enumeration but I get only an integer.
Where can I get the enumeration value(s)?
Can anyone help me?
Markus
12:35, EEST

December 21, 2011

Yes, the enumeration values are transferred as integers. You will have to look for the respective enumeration values from the DataType node. Look for the respective EnumStrings or EnumValues properties.
See https://reference.opcfoundation.org/v104/Core/docs/Part3/5.8.2/ for more about those.
Most Users Ever Online: 1919
Currently Online:
135 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: 793
Moderators: 7
Admins: 1
Forum Stats:
Groups: 3
Forums: 15
Topics: 1538
Posts: 6493
Newest Members:
sophiadavis, Waynegalse, Phillipbus, Oscarsat, WilliamJer, WilliamTunse, mvsjonah79, RaymondSmutt, Merlin AI pap, patlawrence98Moderators: Jouni Aro: 1027, Pyry: 1, Petri: 0, Bjarne Boström: 1037, Jimmy Ni: 26, Matti Siponen: 353, Lusetti: 0
Administrators: admin: 1