diff options
Diffstat (limited to 'modbuslog.cfg')
-rw-r--r-- | modbuslog.cfg | 20 |
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; |