Status code to return for TransitionType.TransitionNumber when undefined|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
Status code to return for TransitionType.TransitionNumber when undefined
Avatar
EG
Member
Members
Forum Posts: 35
Member Since:
12/06/2021
sp_UserOfflineSmall Offline
1
08/23/2022 - 04:28
sp_Permalink sp_Print

OPC 10000-5 B.4.5 states that (my emphasis):

Each Transition shall have a BrowseName which is unique within the StateMachine and may have a TransitionNumber which shall also be unique across all Transitions defined in the StateMachine.

I am implementing a companion specification which leaves TransitionNumber undefined - which seems OK given the "may" clause above. But since TransitionNumber has a Mandatory modelling rule, I still need to implement this property. Am I correct that I should then return a bad status code when the value of this property is read? What is the correct status code to return?

Avatar
EG
Member
Members
Forum Posts: 35
Member Since:
12/06/2021
sp_UserOfflineSmall Offline
2
01/28/2023 - 03:35
sp_Permalink sp_Print

Bump.

FYI it is the PackML companion specification I am referring to.

Avatar
Randy Armstrong
Admin
Forum Posts: 1423
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
3
01/28/2023 - 13:08
sp_Permalink sp_Print

This needs a mantis issue. The current model makes TransitionNumber Node mandatory and that single sentence looks like an error. If the TransitionNumber is optional the the spec needs to define the correct error code to return if it is not supported but for now you should assume it is Mandatory.

If the PackML specification missing the TransitionNumbers then it needs an update to add them.

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