aboutsummaryrefslogtreecommitdiffstats
path: root/modbuslog.c
diff options
context:
space:
mode:
authorJonathan McCrohan <jmccrohan@gmail.com>2011-10-19 23:48:00 +0100
committerJonathan McCrohan <jmccrohan@gmail.com>2011-10-19 23:48:00 +0100
commit2643a5dc67dc6945ce8e0a3962818b16a240f0b5 (patch)
tree4d415ae9a32a8ccbfa4ddf6283d8277f4194ef88 /modbuslog.c
parentd0726dfb75459f99ad946fcdc8cc657c19af7431 (diff)
downloadverteco-2643a5dc67dc6945ce8e0a3962818b16a240f0b5.tar.gz
Add time code.
Diffstat (limited to '')
-rw-r--r--modbuslog.cfg23
1 files changed, 20 insertions, 3 deletions
diff --git a/modbuslog.cfg b/modbuslog.cfg
index e80a610..d9e41df 100644
--- a/modbuslog.cfg
+++ b/modbuslog.cfg
@@ -11,6 +11,23 @@ modbus = {
};
device = (
- { address = 1;
- interval = 15;
-
+ {
+ slaveid = 1;
+ registertype = 4;
+ startaddress = 2;
+ numregisters = 6;
+ datatype = "byte";
+ intervalvalue = 15;
+ intervalunit = "M";
+ },
+ {
+ slaveid = 1;
+ registertype = 4;
+ startaddress = 1;
+ numregisters = 1;
+ datatype = "byte";
+ intervalvalue = 1;
+ intervalunit = "H";
+ }
+);
+