Project

General

Profile

Issues #656

Publish/subscribe enum with value > 127

Added by Richard Schimmel over 3 years ago. Updated 9 months ago.

Status:
Closed
Priority:
Low
Due date:
03/07/2023
Discuss in Upcoming Meeting:
No
Clause Reference:
61850 Standard:
8-1
Triggering Tissue:
Final Decision:
Initial Test Document:
Updated Test Document:
Test Case ID:
sGos16
Closed Reason:
Test Procedure Update
Triggering Tissue 2:
Triggering Tissue 3:

Description

Item 6 from Christophe Camelis list;
Is such enum value allowed by the standard?


Files


Related issues

Related to Server - Issues #657: Publish/subscribe enum with negative valueClosedRichard Schimmel03/07/2023Actions
#1

Updated by Thierry Dufaure over 3 years ago

8-1 does not prevent it.
Even fixedLength encoding forsees 2 bytes for the transmission of enumeration value - allowing a range of: -32768 to 32767.

#2

Updated by Joel Greene over 2 years ago

  • Status changed from New to In Progress
  • Assignee set to Richard Schimmel
  • Priority changed from Normal to Low

There are no enum values > 127 currently.

Makes sense to test for forward compatibility - GOOSE, client, tool.

#3

Updated by Joel Greene over 2 years ago

GOOSE subscriber, including Fixed length.

#4

Updated by Joel Greene over 2 years ago

  • Related to Issues #657: Publish/subscribe enum with negative value added
#5

Updated by IEC 61850 TPWG over 2 years ago

  • Due date set to 10/04/2022
  • Closed Reason Test Procedure Update added
  • Closed Reason deleted (--Not Set---)
#6

Updated by John Bruder over 2 years ago

This could really complicate the MMS mapping.
8-1 says "the MMS data type shall be the minimum size required to contain the maximum standardized value".
Currently, all Enums map to an 8-bit signed integer.
But if one attribute exceeds 127, it will need a different MMS data type than all other Enums. This can be done, but users will need to know the "maximum standardized value" for each Enum.

#7

Updated by Thierry Dufaure about 2 years ago

To respond to John:
"but users will need to know the "maximum standardized value" for each Enum"

It is not only about maximum standardized value, but minimum extended value. Users can check the EnumerationType from SCL since SCL Ed1.

#8

Updated by Richard Schimmel almost 2 years ago

Added solution to update sGos9 with fixed length ENUM value >127 and negative.

#9

Updated by Thierry Dufaure almost 2 years ago

The issue is not only for the scope of fixed-length GOOSE tests, but also for BER-encoded GOOSE tests.
Additionally, the test procedure shall indicate that the EnumType in the SCD is indicating ord values that are negative, or bigger than 129,...

#10

Updated by IEC 61850 TPWG almost 2 years ago

  • Due date changed from 10/04/2022 to 02/07/2023
#11

Updated by Richard Schimmel almost 2 years ago

Updated solution with new conditional test case: sGos16

#12

Updated by Thierry Dufaure almost 2 years ago

I wouldn't make the test conditional ENS can be subscribed.
The ENS using values outside the INT8 range, could be in a DataSet with bolean; those boolean are indeed subscribed (application) - and ping-ponged.
When a subscriber cannot subscribe to a type, I think it is meant: the application cannot receive it, but the communication can. Otherwise it is difficut to shre and configure dataSet based on what the subscriber is allowing. Am I wrong?

#13

Updated by IEC 61850 TPWG almost 2 years ago

  • Due date changed from 02/07/2023 to 02/21/2023

Test to be updated to remove ENS conditional.

Add a boolean to dataset and verify processing when ENS is not supported.

#14

Updated by IEC 61850 TPWG almost 2 years ago

  • Due date changed from 02/21/2023 to 03/07/2023
#15

Updated by Richard Schimmel almost 2 years ago

Updated solution - removed ENS condition and added boolean to the dataset when ENS is not supported

#16

Updated by IEC 61850 TPWG over 1 year ago

  • Status changed from In Progress to Resolved
#17

Updated by Richard Schimmel 9 months ago

  • Status changed from Resolved to Closed
  • Updated Test Document set to TP1.3

Also available in: Atom PDF