From a019465109bf99e2c823c1b3c6b6838f788170ec Mon Sep 17 00:00:00 2001
From: Philipp Jungkamp
Date: Thu, 19 May 2022 22:25:19 +0000
Subject: [PATCH] move example to correct directory
---
.../nodes/iec60870-5-104-slave.conf} | 16 ++++++----------
1 file changed, 6 insertions(+), 10 deletions(-)
rename etc/{iec104.conf => examples/nodes/iec60870-5-104-slave.conf} (84%)
diff --git a/etc/iec104.conf b/etc/examples/nodes/iec60870-5-104-slave.conf
similarity index 84%
rename from etc/iec104.conf
rename to etc/examples/nodes/iec60870-5-104-slave.conf
index 48bbf7646..190e9cfc0 100644
--- a/etc/iec104.conf
+++ b/etc/examples/nodes/iec60870-5-104-slave.conf
@@ -12,7 +12,9 @@ nodes = {
out = {
# map signals to information object addresses and asdu data types
- # one asdu per specified asdu_type is send for each batch of samples
+ # one asdu per specified asdu_type_id/asdu_type+with_timestamp is
+ # send for each sample. Signals of the same type are collected
+ # in a single asdu
signals = (
{
# the asdu data type
@@ -23,10 +25,12 @@ nodes = {
ioa = 4202832
},
{
+ # equivalent to the asdu_type above
asdu_type_id = "M_ME_NA_1"
ioa = 4202852
},
{
+ # a boolean value
asdu_type = "single-point"
with_timestamp = true
ioa = 4206948
@@ -66,14 +70,6 @@ paths = (
in = "signal"
out = "iec104"
hooks = (
- # {
- # type = "cast"
- # signals = (
- # "sine1",
- # "sine2"
- # )
- # new_type = "integer"
- # },
{
type = "cast"
signal = "bool"
@@ -81,7 +77,7 @@ paths = (
},
{
type = "print"
- },
+ }
)
}
)