- Todo:
- This node-type is currently under development.
Prerequisites
This node-type requires libiec61850 (>= 1.3.1).
Implementation
The source code of the node-type is available here: https://git.rwth-aachen.de/acs/public/villas/node/blob/master/lib/nodes/iec61850_sv.cpp
Datatypes
| Type | Format identifier | 
| boolean | b | 
| int8 | o | 
| int16 | w | 
| int32 | d | 
| int64 | g | 
| int8u | O | 
| int16u | W | 
| int32u | D | 
| int64u | G | 
| float32 | f | 
| float64 | F | 
| enumerated | e | 
| coded_enum | c | 
| octet_string | s | 
| visible_string | S | 
| objectname | n | 
| objectreference | r | 
| timestamp | t | 
| entrytime | e | 
| bitstring | B | 
Configuration
- Todo:
- Document config settings of IEC61850-9-2 node-type
Example
nodes = {
        sampled_values_node = {
                type = "iec61850-9-2",
                interface = "lo",
                dst_address = "01:0c:cd:01:00:01",
        
                out = {
                        signals = (
                                { iec_type = "float32" },
                                { iec_type = "float64" },
                                { iec_type = "int8" },
                                { iec_type = "int32" }
                        )
                        
                        svid = "test1234",
                        smpmod = "samples_per_second",
                        confrev = 55
                },
                in = {
                        signals = (
                                { iec_type = "float32" },
                                { iec_type = "float64" },
                                { iec_type = "int8" },
                                { iec_type = "int32" }
                        )
                }
        }
}