aboutsummaryrefslogtreecommitdiffstats
path: root/modbuslog.cfg
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--modbuslog.cfg46
1 files changed, 39 insertions, 7 deletions
diff --git a/modbuslog.cfg b/modbuslog.cfg
index 778b6f4..2451b3f 100644
--- a/modbuslog.cfg
+++ b/modbuslog.cfg
@@ -3,14 +3,14 @@
cfg_version = 0.99;
modbus = {
- device = "/dev/ttyUSB1";
+ device = "/dev/ttyUSB2";
baud = 19200;
data_bits = 8;
parity = "E"
stop_bits = 1;
};
-register = (
+reading= (
{
slaveid = 1;
registertype = 4;
@@ -22,17 +22,49 @@ register = (
{
slaveid = 1;
registertype = 4;
- startaddress = 8;
- numregisters = 4;
+ startaddress = 2;
+ numregisters = 2;
intervalvalue = 1;
intervalunit = "m";
},
{
slaveid = 1;
registertype = 4;
- startaddress = 13;
- numregisters = 1;
- intervalvalue = 2;
+ startaddress = 4;
+ numregisters = 2;
+ intervalvalue = 1;
+ intervalunit = "m";
+ },
+ {
+ slaveid = 1;
+ registertype = 4;
+ startaddress = 6;
+ numregisters = 2;
+ intervalvalue = 1;
+ intervalunit = "m";
+ },
+ {
+ slaveid = 1;
+ registertype = 4;
+ startaddress = 8;
+ numregisters = 2;
+ intervalvalue = 1;
+ intervalunit = "m";
+ },
+ {
+ slaveid = 1;
+ registertype = 4;
+ startaddress = 10;
+ numregisters = 2;
+ intervalvalue = 1;
+ intervalunit = "m";
+ },
+ {
+ slaveid = 1;
+ registertype = 4;
+ startaddress = 14;
+ numregisters = 2;
+ intervalvalue = 1;
intervalunit = "m";
}
);