diff options
author | Jonathan McCrohan <jmccrohan@gmail.com> | 2012-05-20 23:39:40 +0100 |
---|---|---|
committer | Jonathan McCrohan <jmccrohan@gmail.com> | 2012-05-20 23:39:40 +0100 |
commit | 8c581faab5dec6fd5b4b9e47946f54b8c4e70bce (patch) | |
tree | e866405378534f0bd6db8d91d8df824b5d35dc8c | |
parent | 7249087222c562b7afd16d76eb31de6a83aa98ef (diff) | |
download | verteco-8c581faab5dec6fd5b4b9e47946f54b8c4e70bce.tar.gz |
Update config filesv1.7
Diffstat (limited to '')
-rw-r--r-- | src/modbuslog.cfg | 222 | ||||
-rw-r--r-- | src/modbuslog_all.cfg | 275 | ||||
-rw-r--r-- | src/modbuslog_pulse.cfg | 93 | ||||
-rw-r--r-- | src/modbuslog_ws.cfg | 175 | ||||
-rw-r--r-- | src/modbuslog_wsgps.cfg | 204 |
5 files changed, 956 insertions, 13 deletions
diff --git a/src/modbuslog.cfg b/src/modbuslog.cfg index 4cc7c35..9c23660 100644 --- a/src/modbuslog.cfg +++ b/src/modbuslog.cfg @@ -15,65 +15,261 @@ ftp = { server = "ftp.verteco.ie"; username = "loggerdevice"; password = "securepassword"; - directory = "uploaddir"; + directory = "."; }; reading= ( { + # digirail series number + slaveid = 7; + registertype = 3; + startbyte = 0; + numbytes = 4; + signedvalue = 0; + intervalvalue = 1; + intervalunit = "m"; + }, + { + # digirail parity + slaveid = 7; + registertype = 3; + startbyte = 8; + numbytes = 2; + signedvalue = 0; + intervalvalue = 1; + intervalunit = "m"; + }, + { + # digirail firmware version + slaveid = 7; + registertype = 3; + startbyte = 10; + numbytes = 2; + signedvalue = 0; + intervalvalue = 1; + intervalunit = "m"; + }, + { + # digirail input 1 count + slaveid = 7; + registertype = 3; + startbyte = 36; + numbytes = 4; + signedvalue = 0; + intervalvalue = 1; + intervalunit = "m"; + }, + { + # digirail input 2 count + slaveid = 7; + registertype = 3; + startbyte = 40; + numbytes = 4; + signedvalue = 0; + intervalvalue = 1; + intervalunit = "m"; + }, + { + # digirail input 3 count + slaveid = 7; + registertype = 3; + startbyte = 44; + numbytes = 4; + signedvalue = 0; + intervalvalue = 1; + intervalunit = "m"; + }, + { + # digirail input 4 count + slaveid = 7; + registertype = 3; + startbyte = 48; + numbytes = 4; + signedvalue = 0; + intervalvalue = 1; + intervalunit = "m"; + }, + + + { + # weatherstation temp + slaveid = 1; + registertype = 4; + startbyte = 0; + numbytes = 2; + signedvalue = 1; + intervalvalue = 1; + intervalunit = "m"; + }, + { + # weatherstation sun south slaveid = 1; registertype = 4; - startaddress = 0; + startbyte = 4; numbytes = 2; + signedvalue = 0; intervalvalue = 1; intervalunit = "m"; }, { + # weatherstation sun east slaveid = 1; registertype = 4; - startaddress = 2; + startbyte = 8; numbytes = 2; + signedvalue = 0; intervalvalue = 1; intervalunit = "m"; }, { + # weatherstation sun west slaveid = 1; registertype = 4; - startaddress = 4; + startbyte = 12; numbytes = 2; + signedvalue = 0; intervalvalue = 1; intervalunit = "m"; - }, + }, { + # weatherstation light slaveid = 1; registertype = 4; - startaddress = 6; + startbyte = 16; numbytes = 2; + signedvalue = 0; intervalvalue = 1; intervalunit = "m"; - }, + }, { + # weatherstation wind slaveid = 1; registertype = 4; - startaddress = 8; + startbyte = 20; numbytes = 2; + signedvalue = 0; intervalvalue = 1; intervalunit = "m"; - }, + }, + { + # weatherstation GPS/RTC + slaveid = 1; + registertype = 4; + startbyte = 24; + numbytes = 1; + signedvalue = 0; + intervalvalue = 15; + intervalunit = "m"; + }, { + # weatherstation rain slaveid = 1; registertype = 4; - startaddress = 10; + startbyte = 25; + numbytes = 1; + signedvalue = 0; + intervalvalue = 15; + intervalunit = "m"; + }, + { + # weatherstation day + slaveid = 1; + registertype = 4; + startbyte = 28; numbytes = 2; + signedvalue = 0; intervalvalue = 1; intervalunit = "m"; - }, + }, + { + # weatherstation month + slaveid = 1; + registertype = 4; + startbyte = 32; + numbytes = 2; + signedvalue = 0; + intervalvalue = 1; + intervalunit = "m"; + }, + { + # weatherstation year + slaveid = 1; + registertype = 4; + startbyte = 36; + numbytes = 2; + signedvalue = 0; + intervalvalue = 1; + intervalunit = "m"; + }, + { + # weatherstation hour + slaveid = 1; + registertype = 4; + startbyte = 40; + numbytes = 2; + signedvalue = 0; + intervalvalue = 1; + intervalunit = "m"; + }, + { + # weatherstation minute + slaveid = 1; + registertype = 4; + startbyte = 44; + numbytes = 2; + signedvalue = 0; + intervalvalue = 1; + intervalunit = "m"; + }, + { + # weatherstation second + slaveid = 1; + registertype = 4; + startbyte = 48; + numbytes = 2; + signedvalue = 0; + intervalvalue = 1; + intervalunit = "m"; + }, + { + # weatherstation azimuth + slaveid = 1; + registertype = 4; + startbyte = 52; + numbytes = 2; + signedvalue = 1; + intervalvalue = 1; + intervalunit = "m"; + }, + { + # weatherstation elevation + slaveid = 1; + registertype = 4; + startbyte = 56; + numbytes = 2; + signedvalue = 1; + intervalvalue = 1; + intervalunit = "m"; + }, + { + # weatherstation longitude + slaveid = 1; + registertype = 4; + startbyte = 60; + numbytes = 2; + signedvalue = 1; + intervalvalue = 1; + intervalunit = "m"; + }, { + # weatherstation latitude slaveid = 1; registertype = 4; - startaddress = 14; + startbyte = 64; numbytes = 2; + signedvalue = 1; intervalvalue = 1; intervalunit = "m"; - } + } ); diff --git a/src/modbuslog_all.cfg b/src/modbuslog_all.cfg new file mode 100644 index 0000000..9c23660 --- /dev/null +++ b/src/modbuslog_all.cfg @@ -0,0 +1,275 @@ +// verteco modbus logger + +cfg_version = 0.99; + +modbus = { + device = "/dev/ttyUSB0"; + baud = 19200; + data_bits = 8; + parity = "E" + stop_bits = 1; + retry = 2; +}; + +ftp = { + server = "ftp.verteco.ie"; + username = "loggerdevice"; + password = "securepassword"; + directory = "."; +}; + +reading= ( + { + # digirail series number + slaveid = 7; + registertype = 3; + startbyte = 0; + numbytes = 4; + signedvalue = 0; + intervalvalue = 1; + intervalunit = "m"; + }, + { + # digirail parity + slaveid = 7; + registertype = 3; + startbyte = 8; + numbytes = 2; + signedvalue = 0; + intervalvalue = 1; + intervalunit = "m"; + }, + { + # digirail firmware version + slaveid = 7; + registertype = 3; + startbyte = 10; + numbytes = 2; + signedvalue = 0; + intervalvalue = 1; + intervalunit = "m"; + }, + { + # digirail input 1 count + slaveid = 7; + registertype = 3; + startbyte = 36; + numbytes = 4; + signedvalue = 0; + intervalvalue = 1; + intervalunit = "m"; + }, + { + # digirail input 2 count + slaveid = 7; + registertype = 3; + startbyte = 40; + numbytes = 4; + signedvalue = 0; + intervalvalue = 1; + intervalunit = "m"; + }, + { + # digirail input 3 count + slaveid = 7; + registertype = 3; + startbyte = 44; + numbytes = 4; + signedvalue = 0; + intervalvalue = 1; + intervalunit = "m"; + }, + { + # digirail input 4 count + slaveid = 7; + registertype = 3; + startbyte = 48; + numbytes = 4; + signedvalue = 0; + intervalvalue = 1; + intervalunit = "m"; + }, + + + { + # weatherstation temp + slaveid = 1; + registertype = 4; + startbyte = 0; + numbytes = 2; + signedvalue = 1; + intervalvalue = 1; + intervalunit = "m"; + }, + { + # weatherstation sun south + slaveid = 1; + registertype = 4; + startbyte = 4; + numbytes = 2; + signedvalue = 0; + intervalvalue = 1; + intervalunit = "m"; + }, + { + # weatherstation sun east + slaveid = 1; + registertype = 4; + startbyte = 8; + numbytes = 2; + signedvalue = 0; + intervalvalue = 1; + intervalunit = "m"; + }, + { + # weatherstation sun west + slaveid = 1; + registertype = 4; + startbyte = 12; + numbytes = 2; + signedvalue = 0; + intervalvalue = 1; + intervalunit = "m"; + }, + { + # weatherstation light + slaveid = 1; + registertype = 4; + startbyte = 16; + numbytes = 2; + signedvalue = 0; + intervalvalue = 1; + intervalunit = "m"; + }, + { + # weatherstation wind + slaveid = 1; + registertype = 4; + startbyte = 20; + numbytes = 2; + signedvalue = 0; + intervalvalue = 1; + intervalunit = "m"; + }, + { + # weatherstation GPS/RTC + slaveid = 1; + registertype = 4; + startbyte = 24; + numbytes = 1; + signedvalue = 0; + intervalvalue = 15; + intervalunit = "m"; + }, + { + # weatherstation rain + slaveid = 1; + registertype = 4; + startbyte = 25; + numbytes = 1; + signedvalue = 0; + intervalvalue = 15; + intervalunit = "m"; + }, + { + # weatherstation day + slaveid = 1; + registertype = 4; + startbyte = 28; + numbytes = 2; + signedvalue = 0; + intervalvalue = 1; + intervalunit = "m"; + }, + { + # weatherstation month + slaveid = 1; + registertype = 4; + startbyte = 32; + numbytes = 2; + signedvalue = 0; + intervalvalue = 1; + intervalunit = "m"; + }, + { + # weatherstation year + slaveid = 1; + registertype = 4; + startbyte = 36; + numbytes = 2; + signedvalue = 0; + intervalvalue = 1; + intervalunit = "m"; + }, + { + # weatherstation hour + slaveid = 1; + registertype = 4; + startbyte = 40; + numbytes = 2; + signedvalue = 0; + intervalvalue = 1; + intervalunit = "m"; + }, + { + # weatherstation minute + slaveid = 1; + registertype = 4; + startbyte = 44; + numbytes = 2; + signedvalue = 0; + intervalvalue = 1; + intervalunit = "m"; + }, + { + # weatherstation second + slaveid = 1; + registertype = 4; + startbyte = 48; + numbytes = 2; + signedvalue = 0; + intervalvalue = 1; + intervalunit = "m"; + }, + { + # weatherstation azimuth + slaveid = 1; + registertype = 4; + startbyte = 52; + numbytes = 2; + signedvalue = 1; + intervalvalue = 1; + intervalunit = "m"; + }, + { + # weatherstation elevation + slaveid = 1; + registertype = 4; + startbyte = 56; + numbytes = 2; + signedvalue = 1; + intervalvalue = 1; + intervalunit = "m"; + }, + { + # weatherstation longitude + slaveid = 1; + registertype = 4; + startbyte = 60; + numbytes = 2; + signedvalue = 1; + intervalvalue = 1; + intervalunit = "m"; + }, + { + # weatherstation latitude + slaveid = 1; + registertype = 4; + startbyte = 64; + numbytes = 2; + signedvalue = 1; + intervalvalue = 1; + intervalunit = "m"; + } +); + diff --git a/src/modbuslog_pulse.cfg b/src/modbuslog_pulse.cfg new file mode 100644 index 0000000..05377a9 --- /dev/null +++ b/src/modbuslog_pulse.cfg @@ -0,0 +1,93 @@ +// verteco modbus logger + +cfg_version = 0.99; + +modbus = { + device = "/dev/ttyUSB0"; + baud = 19200; + data_bits = 8; + parity = "E" + stop_bits = 1; + retry = 2; +}; + +ftp = { + server = "ftp.verteco.ie"; + username = "loggerdevice"; + password = "securepassword"; + directory = "."; +}; + +reading= ( + { + # digirail series number + slaveid = 7; + registertype = 3; + startbyte = 0; + numbytes = 4; + signedvalue = 0; + intervalvalue = 1; + intervalunit = "m"; + }, + { + # digirail parity + slaveid = 7; + registertype = 3; + startbyte = 8; + numbytes = 2; + signedvalue = 0; + intervalvalue = 1; + intervalunit = "m"; + }, + { + # digirail firmware version + slaveid = 7; + registertype = 3; + startbyte = 10; + numbytes = 2; + signedvalue = 0; + intervalvalue = 1; + intervalunit = "m"; + }, + { + # digirail input 1 count + slaveid = 7; + registertype = 3; + startbyte = 36; + numbytes = 4; + signedvalue = 0; + intervalvalue = 1; + intervalunit = "m"; + }, + { + # digirail input 2 count + slaveid = 7; + registertype = 3; + startbyte = 40; + numbytes = 4; + signedvalue = 0; + intervalvalue = 1; + intervalunit = "m"; + }, + { + # digirail input 3 count + slaveid = 7; + registertype = 3; + startbyte = 44; + numbytes = 4; + signedvalue = 0; + intervalvalue = 1; + intervalunit = "m"; + }, + { + # digirail input 4 count + slaveid = 7; + registertype = 3; + startbyte = 48; + numbytes = 4; + signedvalue = 0; + intervalvalue = 1; + intervalunit = "m"; + } +); + diff --git a/src/modbuslog_ws.cfg b/src/modbuslog_ws.cfg new file mode 100644 index 0000000..9d0d8e6 --- /dev/null +++ b/src/modbuslog_ws.cfg @@ -0,0 +1,175 @@ +// verteco modbus logger + +cfg_version = 0.99; + +modbus = { + device = "/dev/ttyUSB0"; + baud = 19200; + data_bits = 8; + parity = "E" + stop_bits = 1; + retry = 2; +}; + +ftp = { + server = "ftp.verteco.ie"; + username = "loggerdevice"; + password = "securepassword"; + directory = "."; +}; + +reading= ( + { + # digirail series number + slaveid = 7; + registertype = 3; + startbyte = 0; + numbytes = 4; + signedvalue = 0; + intervalvalue = 1; + intervalunit = "m"; + }, + { + # digirail parity + slaveid = 7; + registertype = 3; + startbyte = 8; + numbytes = 2; + signedvalue = 0; + intervalvalue = 1; + intervalunit = "m"; + }, + { + # digirail firmware version + slaveid = 7; + registertype = 3; + startbyte = 10; + numbytes = 2; + signedvalue = 0; + intervalvalue = 1; + intervalunit = "m"; + }, + { + # digirail input 1 count + slaveid = 7; + registertype = 3; + startbyte = 36; + numbytes = 4; + signedvalue = 0; + intervalvalue = 1; + intervalunit = "m"; + }, + { + # digirail input 2 count + slaveid = 7; + registertype = 3; + startbyte = 40; + numbytes = 4; + signedvalue = 0; + intervalvalue = 1; + intervalunit = "m"; + }, + { + # digirail input 3 count + slaveid = 7; + registertype = 3; + startbyte = 44; + numbytes = 4; + signedvalue = 0; + intervalvalue = 1; + intervalunit = "m"; + }, + { + # digirail input 4 count + slaveid = 7; + registertype = 3; + startbyte = 48; + numbytes = 4; + signedvalue = 0; + intervalvalue = 1; + intervalunit = "m"; + }, + + + { + # weatherstation temp + slaveid = 1; + registertype = 4; + startbyte = 0; + numbytes = 2; + signedvalue = 1; + intervalvalue = 1; + intervalunit = "m"; + }, + { + # weatherstation sun south + slaveid = 1; + registertype = 4; + startbyte = 4; + numbytes = 2; + signedvalue = 0; + intervalvalue = 1; + intervalunit = "m"; + }, + { + # weatherstation sun east + slaveid = 1; + registertype = 4; + startbyte = 8; + numbytes = 2; + signedvalue = 0; + intervalvalue = 1; + intervalunit = "m"; + }, + { + # weatherstation sun west + slaveid = 1; + registertype = 4; + startbyte = 12; + numbytes = 2; + signedvalue = 0; + intervalvalue = 1; + intervalunit = "m"; + }, + { + # weatherstation light + slaveid = 1; + registertype = 4; + startbyte = 16; + numbytes = 2; + signedvalue = 0; + intervalvalue = 1; + intervalunit = "m"; + }, + { + # weatherstation wind + slaveid = 1; + registertype = 4; + startbyte = 20; + numbytes = 2; + signedvalue = 0; + intervalvalue = 1; + intervalunit = "m"; + }, + { + # weatherstation GPS/RTC + slaveid = 1; + registertype = 4; + startbyte = 24; + numbytes = 1; + signedvalue = 0; + intervalvalue = 15; + intervalunit = "m"; + }, + { + # weatherstation rain + slaveid = 1; + registertype = 4; + startbyte = 25; + numbytes = 1; + signedvalue = 0; + intervalvalue = 15; + intervalunit = "m"; + } +); + diff --git a/src/modbuslog_wsgps.cfg b/src/modbuslog_wsgps.cfg new file mode 100644 index 0000000..0dbf5a4 --- /dev/null +++ b/src/modbuslog_wsgps.cfg @@ -0,0 +1,204 @@ +// verteco modbus logger + +cfg_version = 0.99; + +modbus = { + device = "/dev/ttyUSB0"; + baud = 19200; + data_bits = 8; + parity = "E" + stop_bits = 1; + retry = 2; +}; + +ftp = { + server = "ftp.verteco.ie"; + username = "loggerdevice"; + password = "securepassword"; + directory = "."; +}; + +reading= ( + + { + # weatherstation temp + slaveid = 1; + registertype = 4; + startbyte = 0; + numbytes = 2; + signedvalue = 1; + intervalvalue = 1; + intervalunit = "m"; + }, + { + # weatherstation sun south + slaveid = 1; + registertype = 4; + startbyte = 4; + numbytes = 2; + signedvalue = 0; + intervalvalue = 1; + intervalunit = "m"; + }, + { + # weatherstation sun east + slaveid = 1; + registertype = 4; + startbyte = 8; + numbytes = 2; + signedvalue = 0; + intervalvalue = 1; + intervalunit = "m"; + }, + { + # weatherstation sun west + slaveid = 1; + registertype = 4; + startbyte = 12; + numbytes = 2; + signedvalue = 0; + intervalvalue = 1; + intervalunit = "m"; + }, + { + # weatherstation light + slaveid = 1; + registertype = 4; + startbyte = 16; + numbytes = 2; + signedvalue = 0; + intervalvalue = 1; + intervalunit = "m"; + }, + { + # weatherstation wind + slaveid = 1; + registertype = 4; + startbyte = 20; + numbytes = 2; + signedvalue = 0; + intervalvalue = 1; + intervalunit = "m"; + }, + { + # weatherstation GPS/RTC + slaveid = 1; + registertype = 4; + startbyte = 24; + numbytes = 1; + signedvalue = 0; + intervalvalue = 15; + intervalunit = "m"; + }, + { + # weatherstation rain + slaveid = 1; + registertype = 4; + startbyte = 25; + numbytes = 1; + signedvalue = 0; + intervalvalue = 15; + intervalunit = "m"; + }, + { + # weatherstation day + slaveid = 1; + registertype = 4; + startbyte = 28; + numbytes = 2; + signedvalue = 0; + intervalvalue = 1; + intervalunit = "m"; + }, + { + # weatherstation month + slaveid = 1; + registertype = 4; + startbyte = 32; + numbytes = 2; + signedvalue = 0; + intervalvalue = 1; + intervalunit = "m"; + }, + { + # weatherstation year + slaveid = 1; + registertype = 4; + startbyte = 36; + numbytes = 2; + signedvalue = 0; + intervalvalue = 1; + intervalunit = "m"; + }, + { + # weatherstation hour + slaveid = 1; + registertype = 4; + startbyte = 40; + numbytes = 2; + signedvalue = 0; + intervalvalue = 1; + intervalunit = "m"; + }, + { + # weatherstation minute + slaveid = 1; + registertype = 4; + startbyte = 44; + numbytes = 2; + signedvalue = 0; + intervalvalue = 1; + intervalunit = "m"; + }, + { + # weatherstation second + slaveid = 1; + registertype = 4; + startbyte = 48; + numbytes = 2; + signedvalue = 0; + intervalvalue = 1; + intervalunit = "m"; + }, + { + # weatherstation azimuth + slaveid = 1; + registertype = 4; + startbyte = 52; + numbytes = 2; + signedvalue = 1; + intervalvalue = 1; + intervalunit = "m"; + }, + { + # weatherstation elevation + slaveid = 1; + registertype = 4; + startbyte = 56; + numbytes = 2; + signedvalue = 1; + intervalvalue = 1; + intervalunit = "m"; + }, + { + # weatherstation longitude + slaveid = 1; + registertype = 4; + startbyte = 60; + numbytes = 2; + signedvalue = 1; + intervalvalue = 1; + intervalunit = "m"; + }, + { + # weatherstation latitude + slaveid = 1; + registertype = 4; + startbyte = 64; + numbytes = 2; + signedvalue = 1; + intervalvalue = 1; + intervalunit = "m"; + } +); + |