Variable/property initial value and status code|OPC UA Standard|Forum|OPC Foundation

Avatar
Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
Lost password?
sp_Feed sp_PrintTopic sp_TopicIcon
Variable/property initial value and status code
Avatar
Thomas Wirtz-Baumann
Member
Members
Forum Posts: 19
Member Since:
06/02/2020
sp_UserOfflineSmall Offline
1
10/19/2021 - 05:12
sp_Permalink sp_Print

Hello,

I would like to know the best practices regarding the initial value and status code of variables/properties, when the server is starting up and data value is not set in the variable/property yet and the variable/property has no default value set into the model. I assume in that situation that

  • the variable/property value will be null (is that correct?)
  • and what should be the status code, Good or Bad_WaitingForInitialData?

Thanks

Avatar
Randy Armstrong
Admin
Forum Posts: 1564
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
2
10/19/2021 - 16:41
sp_Permalink sp_Print

Bad_WaitingForInitialData with no value.

Avatar
Thomas Wirtz-Baumann
Member
Members
Forum Posts: 19
Member Since:
06/02/2020
sp_UserOfflineSmall Offline
3
10/19/2021 - 22:38
sp_Permalink sp_Print

Thank you Randy.

Forum Timezone: America/Phoenix
Most Users Ever Online: 510
Currently Online:
Guest(s) 24
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Forum Stats:
Groups: 2
Forums: 10
Topics: 1435
Posts: 4855