diff options
author | Jonathan McCrohan <jmccrohan@gmail.com> | 2011-11-03 01:05:06 +0000 |
---|---|---|
committer | Jonathan McCrohan <jmccrohan@gmail.com> | 2011-11-03 01:05:06 +0000 |
commit | d747c60873804a8e58edeb681cde117853bf20a1 (patch) | |
tree | 0ece0ab2a26fb23962a17736d1b01b01400f7915 /modbuslog.cfg | |
parent | c9d1e4e78a1a13d396806e9b2b71bb8561f2ae3e (diff) | |
download | verteco-d747c60873804a8e58edeb681cde117853bf20a1.tar.gz |
Logging to file as per spec.v1.0
Diffstat (limited to 'modbuslog.cfg')
-rw-r--r-- | modbuslog.cfg | 21 |
1 files changed, 9 insertions, 12 deletions
diff --git a/modbuslog.cfg b/modbuslog.cfg index f724e43..778b6f4 100644 --- a/modbuslog.cfg +++ b/modbuslog.cfg @@ -3,7 +3,7 @@ cfg_version = 0.99; modbus = { - device = "/dev/ttyUSB2"; + device = "/dev/ttyUSB1"; baud = 19200; data_bits = 8; parity = "E" @@ -16,27 +16,24 @@ register = ( registertype = 4; startaddress = 0; numregisters = 2; - datatype = "byte"; - intervalvalue = 2; - intervalunit = "M"; + intervalvalue = 1; + intervalunit = "m"; }, { slaveid = 1; registertype = 4; - startaddress = 4; + startaddress = 8; numregisters = 4; - datatype = "word"; intervalvalue = 1; - intervalunit = "M"; + intervalunit = "m"; }, { slaveid = 1; registertype = 4; - startaddress = 10; - numregisters = 2; - datatype = "byte"; - intervalvalue = 12; - intervalunit = "H"; + startaddress = 13; + numregisters = 1; + intervalvalue = 2; + intervalunit = "m"; } ); |