diff options
author | Jonathan McCrohan <jmccrohan@gmail.com> | 2011-11-14 01:09:14 +0000 |
---|---|---|
committer | Jonathan McCrohan <jmccrohan@gmail.com> | 2011-11-14 01:09:14 +0000 |
commit | 882643c1377fb19a3f77dcb6ab250bc3a27dbb08 (patch) | |
tree | 7ebe0bac58651ade9f10092c0e4ddbd091b72bab /modbuslog.cfg | |
parent | b784ec7d4d0b45c548b161ae83a3590a7fa91ff3 (diff) | |
download | verteco-882643c1377fb19a3f77dcb6ab250bc3a27dbb08.tar.gz |
Corrected byte readings.
Diffstat (limited to 'modbuslog.cfg')
-rw-r--r-- | modbuslog.cfg | 46 |
1 files changed, 39 insertions, 7 deletions
diff --git a/modbuslog.cfg b/modbuslog.cfg index 778b6f4..2451b3f 100644 --- a/modbuslog.cfg +++ b/modbuslog.cfg @@ -3,14 +3,14 @@ cfg_version = 0.99; modbus = { - device = "/dev/ttyUSB1"; + device = "/dev/ttyUSB2"; baud = 19200; data_bits = 8; parity = "E" stop_bits = 1; }; -register = ( +reading= ( { slaveid = 1; registertype = 4; @@ -22,17 +22,49 @@ register = ( { slaveid = 1; registertype = 4; - startaddress = 8; - numregisters = 4; + startaddress = 2; + numregisters = 2; intervalvalue = 1; intervalunit = "m"; }, { slaveid = 1; registertype = 4; - startaddress = 13; - numregisters = 1; - intervalvalue = 2; + 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"; } ); |