// 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 = "uploaddir";
};
reading= (
{
slaveid = 1;
registertype = 4;
startaddress = 0;
numbytes = 2;
intervalvalue = 1;
intervalunit = "m";
},
{
slaveid = 1;
registertype = 4;
startaddress = 2;
numbytes = 2;
intervalvalue = 1;
intervalunit = "m";
},
{
slaveid = 1;
registertype = 4;
startaddress = 4;
numbytes = 2;
intervalvalue = 1;
intervalunit = "m";
},
{
slaveid = 1;
registertype = 4;
startaddress = 6;
numbytes = 2;
intervalvalue = 1;
intervalunit = "m";
},
{
slaveid = 1;
registertype = 4;
startaddress = 8;
numbytes = 2;
intervalvalue = 1;
intervalunit = "m";
},
{
slaveid = 1;
registertype = 4;
startaddress = 10;
numbytes = 2;
intervalvalue = 1;
intervalunit = "m";
},
{
slaveid = 1;
registertype = 4;
startaddress = 14;
numbytes = 2;
intervalvalue = 1;
intervalunit = "m";
}
);
ref='/verteco.git/tree/php?h=v1.5&id=3a3f779487fc45ad7890c4fba7e3735a721e51f4'>treecommitdiffstats
|