diff options
Diffstat (limited to '')
-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"; } ); |