aboutsummaryrefslogtreecommitdiffstats
path: root/modbuslog.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'modbuslog.cfg')
-rw-r--r--modbuslog.cfg23
1 files changed, 16 insertions, 7 deletions
diff --git a/modbuslog.cfg b/modbuslog.cfg
index d9e41df..1157a3d 100644
--- a/modbuslog.cfg
+++ b/modbuslog.cfg
@@ -10,23 +10,32 @@ modbus = {
stop_bits = 1;
};
-device = (
+register = (
{
slaveid = 1;
registertype = 4;
startaddress = 2;
numregisters = 6;
datatype = "byte";
- intervalvalue = 15;
+ intervalvalue = 2;
intervalunit = "M";
},
{
- slaveid = 1;
- registertype = 4;
- startaddress = 1;
- numregisters = 1;
- datatype = "byte";
+ slaveid = 99;
+ registertype = 5;
+ startaddress = 7;
+ numregisters = 8;
+ datatype = "word";
intervalvalue = 1;
+ intervalunit = "M";
+ },
+ {
+ slaveid = 2;
+ registertype = 3;
+ startaddress = 4;
+ numregisters = 2;
+ datatype = "byte";
+ intervalvalue = 12;
intervalunit = "H";
}
);