-
Notifications
You must be signed in to change notification settings - Fork 46
Validate template
The templates validator serves a distinct purpose from the schema validator by identifying issues that are not related to the schema defined in IEC 61850-6, but rather with other sections of the standard such as IEC 61850-7-3, IEC 61850-7-4, and IEC 61850-8-1.
NOTE: It's important to note that OpenSCD utilizes namespace description (NSD) files as a reference for validation purposes, as per the standard's guidelines. However, these files are not available for all editions of the standard. Consequently, the validation of the
DataTypeTemplatesection is only performed for projects from 2007B3 and higher (Edition 2.1).
The validator is activated with each modification to the project basis, and the outcomes are exhibited in the diagnostics pane as follows:

The implemented rules currently address the following issues:
- Mandatory
DOis missing inLNodeType - Mandatory
DAis missing in theDOType - Mandatory
SDOis missing in theDOType - Mandatory
BDAis missing in theDAType - Missing
DAneeded for control operation depending in ctlModel-
sbo-with-enhanced-security: MissingOper,SBOw -
sbo-with-normal-security: MissingOper,SBO -
direct-with-enhanced-security: MissingOper -
direct-with-normal-security: MissingOper
-
- Check for correct service data implementation
Oper, - Broken reference of
DOtoDOType- missing type or invalid type - Broken reference of
SDOtoDOType- missing type or invalid type - Broken reference of
DAtoDAType- missing type or invalid type - Broken reference of
BDAtoDAType- missing type or invalid type