diff options
author | Jonathan McCrohan <jmccrohan@gmail.com> | 2011-12-06 00:18:01 +0000 |
---|---|---|
committer | Jonathan McCrohan <jmccrohan@gmail.com> | 2011-12-06 00:18:01 +0000 |
commit | 9bccaac7efbf7221704154149e5df45e7567c831 (patch) | |
tree | 83877cfd0e3af722bf6f4642d2ab40a9586bfed3 /src/modbuslog.cfg | |
parent | 18dd11d1c2201418198d142ae5b2822722e65458 (diff) | |
download | verteco-9bccaac7efbf7221704154149e5df45e7567c831.tar.gz |
Create Makefile.
Diffstat (limited to 'src/modbuslog.cfg')
-rw-r--r-- | src/modbuslog.cfg | 72 |
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"; + } +); + |