According to what is written in clause 8.1.2.3:
"CODED ENUM is represented by a bit-string. The size of the bit-string .... The value of a particular bit-string shall be the unsigned integer encoding of the enumerated values in the order specified in IEC 61850-7-2 and IEC 61850-7-3."
In part 7-1 there is an example with a MMS message in which "stVal (CODED ENUM)" DataAttribute belonging to the Pos of a CSWI is mapped as an integer
There seems to be contradictions between different paragraphs of the standar.It's not clear if CODED ENUM must be mapped as a bit-string or as an integer.
Proposal
Clarify which of the two possible ways of maaping a CODED ENUM is correct:
* Mapped as a bit-string or
* Mapped as the smallest integer that meets the enumerated values of datas as specified in IEC 61850-7-2 and 7-3.
Discussion
Created
Status
8-1 is clear. If there is a problem in 7-1. Tissue will be transfered to 7-1.
02 Dec 05
Not Applicable
CODED ENUMs are always mapped to BITSTRINGS in 8-1 (unless otherwise noted). Therefore, the example in 7-1 is probably incorrect.