1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

initial example for iec61850-goose node

Signed-off-by: Philipp Jungkamp <philipp.jungkamp@rwth-aachen.de>
This commit is contained in:
Philipp Jungkamp 2023-01-31 11:27:48 +00:00
parent 75ebfbc623
commit 2d643b8f47

View file

@ -0,0 +1,66 @@
nodes = {
goose = {
type = "iec61850-goose"
in = {
# ethernet interface to listen on
interface = "lo"
# use the goose timestamp for a sample
with_timestamp = true
# list of named subscriber definitions
subscribers = {
relay = {
# mandatory GoCbRef
go_cb_ref = "AA1J1Q01A3LD0/LLN0$GO$gcbdata"
# optional filter by packet destination MAC address
# dst_address = "01:0c:cd:01:00:00"
# optional filter by AppID
# app_id = 0
# optional trigger specification (either "always" or "change")
#
# "always" = emit an updated sample for each incoming GOOSE message
# "change" = only emit an updated sample when SqNum is 0
trigger = "change"
}
}
# mapping from goose events to signals
signals = (
{
name = "ABB_relay_state"
type = "boolean"
# mandatory MmsType specification
mms_type = "boolean"
# mandatory subscriber name
subscriber = "relay"
# mandatory index within the received vector of GOOSE values
index = 0
},
{
name = "ABB_relay_state_meta_bitset"
type = "integer"
mms_type = "bit-string"
subscriber = "relay"
index = 1
}
)
}
}
}
paths = (
{
in = "goose"
hooks = (
{
type = "print"
}
)
}
)