Tool to parse IEC 61850 Sampled Values from the packet payload. The SV payload contains the following information:
Field |
Description |
|
Application ID |
|
Message length |
|
Number of ASDU in the sequence |
|
Sequence of ASDU |
And for each ASDU contains the following information:
Field |
Description |
|
User-defined unique string identifier used for subscription |
|
The name of the data set being sent |
|
Index of the SV message |
|
Configuration revision |
|
Synchronization mechanism of the clock used for sending the SV |
|
Sample Mode : samples/period, samples/sec, sec/sample |
|
Sample rate |
|
Time of the first sample |
|
Length of the sequence of data |
|
Sequence of measured voltage and current values |
The structure containing parser information can be managed using constructors and destructors.
All you need to do is call parser parse_SV_payload
, providing it with the SV network packet payload, and the previously created structure.
This documentation uses the AsciiDoc documentation generator. It is a convenient format that allows using plain-text formatted writing that can later be converted to various output formats such as HTML and PDF.
In order to generate an HTML version of this documentation, use the following command (the asciidoc package will need to be installed in your Linux distribution):
$ asciidoc README.adoc
This will result in a README.html file being generated in the current directory.
If you prefer a PDF version of the documentation instead, use the following command (the dblatex package will need to be installed on your Linux distribution):
$ asciidoctor-pdf README.adoc