I have to configure the value of an enumerated DAI in SCL.
Should I use the ordinal "ord" (see option A) or the value (see option B) of the enumerated of the DataTypeTemplate section?
Reading table 45 it can be concluded that enumerated values must be used (not the ordinal "ord").
But the following definition can be found in the scheme ("SCL_DataTypeTemplates.xsd"), which indicates that "ord" identifier must be unique across the enumerated (theoretically value can be repeated):
This makes me think that "ord" should be the best option for configuring enumerated DAIs (it must be unique).
Perhaps value should be repeated across the enumerated (options like "unknown", "reserved", "not used", "for future use"... assigned to several "ord"), so using value of enumerated in DAI would be ambiguous.
I am aware that allowing both options shouldn´t be possible to avoid ambiguities (0 can be a valid "ord" and a valid value for an enumerated).
That´s why I think using "ord" to configure enumerated DAIs should be the best option.
Thanks in advance:
Javi.
Proposal
Discussion
Created
Status
The interpretation of Table 45 is correct, the value strings of the enumeration shall be used, making life for human engineers more easy (your option B example). Inside each enumeration definition also the value strings are unique - this is assured already in the defining parts 7-3 and 7-4.