diff options
Diffstat (limited to '')
-rw-r--r-- | src/modbuslog_pulse.cfg | 93 |
1 files changed, 93 insertions, 0 deletions
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"; + } +); + |