Avatar

Please consider registering
guest

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed Topic RSS sp_TopicIcon
DataTypeIdentifiers.Date removed?
September 26, 2023
12:06, EEST
Avatar
t.tulka
Member
Members
Forum Posts: 15
Member Since:
March 31, 2022
sp_UserOfflineSmall Offline

Hello,
I have noticed that the element Date was removed from DataTypeIdentifiers. Why is that so? Was it moved to a different place?

Thanks!

September 26, 2023
13:34, EEST
Avatar
Bjarne Boström
Moderator
Moderators
Forum Posts: 983
Member Since:
April 3, 2012
sp_UserOfflineSmall Offline

Hi,

Thanks for the notice. ‘Identifiers’ etc. are related to the core information model, and thus directly on files provided by the OPC Foundation https://github.com/OPCFoundation/UA-Nodeset/, thus SDK basically takes them as-is for code-generation, which then e.g. creates DataTypeIdentifiers.

OPC Foundation does time to time add new features, but also fix issues (that people report on https://mantis.opcfoundation.org/). I believe the removal of ‘Date’ has been one such instance of fixing (though I cannot right now find the issue for that). At least (1.04) https://raw.githubusercontent.com/OPCFoundation/UA-Nodeset/v1.04/Schema/NodeIds.csv does show
Time,292,DataType
Date,293,DataType
UtcTime,294,DataType

but (1.05) https://raw.githubusercontent.com/OPCFoundation/UA-Nodeset/v1.04/Schema/NodeIds.csv only shows
UtcTime,294,DataType

thus, they have been removed. However, as far as I’m aware, the ‘Date’ and ‘Time’ have never been part of the spec text https://reference.opcfoundation.org/Core/Part3/v104/docs/8 in any version. That is that it has been just an error that they have ever existed in the csv. The UtcTime does exist, but I think it was attempted to also be removed in the past as it is basically useless as the base DateTime is already specified to be in UTC when transferred as binary betweeen client-server. The ‘Time’ and ‘Date’ should have been also subtypes of ‘DateTime’, thus they would always be transferred as ‘DateTime’ in binary. Thus, you should be able to just swap the usage of ‘Date’ to ‘DateTime’. Obviously if it is used in a model this does change the NodeId, which could cause issues, but say if this is just e.g. a DataType Attribute value then using DateTime should work.

If you have or know an information model (a NodeSet2 XML file basically) that uses the ids 292/293, then I think it would be best if you contact the OPC Foundation directly e.g. at https://opcfoundation.org/forum/.

Forum Timezone: Europe/Helsinki

Most Users Ever Online: 518

Currently Online:
10 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

hbrackel: 135

pramanj: 86

Francesco Zambon: 81

rocket science: 77

Ibrahim: 76

Sabari: 62

kapsl: 57

gjevremovic: 49

Xavier: 43

TimK: 41

Member Stats:

Guest Posters: 0

Members: 683

Moderators: 16

Admins: 1

Forum Stats:

Groups: 3

Forums: 15

Topics: 1467

Posts: 6261

Newest Members:

digitechroshni, LouieWreve, Kickbiche, karrimacvitie5, graciela2073, sagarchau, elviralangwell4, Donnavek, Eddiefauth, DonaldPooma

Moderators: Jouni Aro: 1010, Otso Palonen: 32, Tuomas Hiltunen: 5, Pyry: 1, Petri: 0, Bjarne Boström: 983, Heikki Tahvanainen: 402, Jukka Asikainen: 1, moldzh08: 0, Jimmy Ni: 26, Teppo Uimonen: 21, Markus Johansson: 42, Niklas Nurminen: 0, Matti Siponen: 321, Lusetti: 0, Ari-Pekka Soikkeli: 5

Administrators: admin: 1