aboutsummaryrefslogtreecommitdiffstats
path: root/modbuslog.cfg
diff options
context:
space:
mode:
authorJonathan McCrohan <jmccrohan@gmail.com>2011-11-01 14:50:24 +0000
committerJonathan McCrohan <jmccrohan@gmail.com>2011-11-01 14:50:24 +0000
commitb8216bcb5698ca1aa2d74416c5103d407e846351 (patch)
treeab68fff5108da701b2ccda2bc98a87ae98e4e4c8 /modbuslog.cfg
parent78dce59594ebe24123889d0b5a4e7f224c811ac2 (diff)
downloadverteco-b8216bcb5698ca1aa2d74416c5103d407e846351.tar.gz
Fix indentation.
Diffstat (limited to '')
-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";
}
);