aboutsummaryrefslogtreecommitdiffstats
path: root/src/modbuslog.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'src/modbuslog.cfg')
-rw-r--r--src/modbuslog.cfg72
1 files changed, 72 insertions, 0 deletions
diff --git a/src/modbuslog.cfg b/src/modbuslog.cfg
new file mode 100644
index 0000000..615cea4
--- /dev/null
+++ b/src/modbuslog.cfg
@@ -0,0 +1,72 @@
+// verteco modbus logger
+
+cfg_version = 0.99;
+
+modbus = {
+ device = "/dev/ttyUSB2";
+ baud = 19200;
+ data_bits = 8;
+ parity = "E"
+ stop_bits = 1;
+ retry = 2;
+};
+
+reading= (
+ {
+ slaveid = 1;
+ registertype = 4;
+ startaddress = 0;
+ numregisters = 2;
+ intervalvalue = 1;
+ intervalunit = "m";
+ },
+ {
+ slaveid = 1;
+ registertype = 4;
+ startaddress = 2;
+ numregisters = 2;
+ intervalvalue = 1;
+ intervalunit = "m";
+ },
+ {
+ slaveid = 1;
+ registertype = 4;
+ 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";
+ }
+);
+