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" - }, + } ) } )