aboutsummaryrefslogtreecommitdiffstats
path: root/modbuslog.cfg
diff options
context:
space:
mode:
authorJonathan McCrohan <jmccrohan@gmail.com>2011-11-02 01:32:31 +0000
committerJonathan McCrohan <jmccrohan@gmail.com>2011-11-02 01:32:31 +0000
commitc9d1e4e78a1a13d396806e9b2b71bb8561f2ae3e (patch)
tree33d63c1077529d289c5741fcb3d765a591687342 /modbuslog.cfg
parentb8216bcb5698ca1aa2d74416c5103d407e846351 (diff)
downloadverteco-c9d1e4e78a1a13d396806e9b2b71bb8561f2ae3e.tar.gz
Modbus logging working.
Diffstat (limited to '')
-rw-r--r--modbuslog.cfg20
1 files changed, 10 insertions, 10 deletions
diff --git a/modbuslog.cfg b/modbuslog.cfg
index 1157a3d..f724e43 100644
--- a/modbuslog.cfg
+++ b/modbuslog.cfg
@@ -3,7 +3,7 @@
cfg_version = 0.99;
modbus = {
- device = "/dev/ttyUSB4";
+ device = "/dev/ttyUSB2";
baud = 19200;
data_bits = 8;
parity = "E"
@@ -14,25 +14,25 @@ register = (
{
slaveid = 1;
registertype = 4;
- startaddress = 2;
- numregisters = 6;
+ startaddress = 0;
+ numregisters = 2;
datatype = "byte";
intervalvalue = 2;
intervalunit = "M";
},
{
- slaveid = 99;
- registertype = 5;
- startaddress = 7;
- numregisters = 8;
+ slaveid = 1;
+ registertype = 4;
+ startaddress = 4;
+ numregisters = 4;
datatype = "word";
intervalvalue = 1;
intervalunit = "M";
},
{
- slaveid = 2;
- registertype = 3;
- startaddress = 4;
+ slaveid = 1;
+ registertype = 4;
+ startaddress = 10;
numregisters = 2;
datatype = "byte";
intervalvalue = 12;