[global_tags] [agent] interval = "10s" round_interval = true metric_batch_size = 1000 metric_buffer_limit = 10000 collection_jitter = "100ms" flush_jitter = "0s" precision = "ms" hostname = "" omit_hostname = false [[outputs.file]] files = ["stdout"] data_format = "influx" ############################################################################### # INPUT PLUGINS # ############################################################################### [[inputs.modbus]] name = "Electric_MB" controller = "tcp://192.168.1.1:502" slave_id = 1 timeout = "1s" holding_registers = [ {measurement = "V", name = "L1", byte_order = "ABCD", data_type = "FLOAT32", scale=1.0, address = [19000, 19001]}, {measurement = "V", name = "L2", byte_order = "ABCD", data_type = "FLOAT32", scale=1.0, address = [19002, 19003]}, {measurement = "V", name = "L3", byte_order = "ABCD", data_type = "FLOAT32", scale=1.0, address = [19004, 19005]}, {measurement = "I", name = "L1", byte_order = "ABCD", data_type = "FLOAT32", scale=1.0, address = [19012, 19011]}, {measurement = "I", name = "L2", byte_order = "ABCD", data_type = "FLOAT32", scale=1.0, address = [19014, 19015]}, {measurement = "I", name = "L3", byte_order = "ABCD", data_type = "FLOAT32", scale=1.0, address = [19016, 19017]}, {measurement = "P", name = "L1", byte_order = "ABCD", data_type = "FLOAT32", scale=1.0, address = [19020, 19021]}, {measurement = "P", name = "L2", byte_order = "ABCD", data_type = "FLOAT32", scale=1.0, address = [19022, 19023]}, {measurement = "P", name = "L3", byte_order = "ABCD", data_type = "FLOAT32", scale=1.0, address = [19024, 19025]}, {measurement = "P", name = "value", byte_order = "ABCD", data_type = "FLOAT32", scale=1.0, address = [19026, 19027]}, {measurement = "S", name = "L1", byte_order = "ABCD", data_type = "FLOAT32", scale=1.0, address = [19028, 19029]}, {measurement = "S", name = "L2", byte_order = "ABCD", data_type = "FLOAT32", scale=1.0, address = [19030, 19031]}, {measurement = "S", name = "L3", byte_order = "ABCD", data_type = "FLOAT32", scale=1.0, address = [19032, 19033]}, {measurement = "S", name = "value", byte_order = "ABCD", data_type = "FLOAT32", scale=1.0, address = [19034, 19035]}, {measurement = "Q", name = "L1", byte_order = "ABCD", data_type = "FLOAT32", scale=1.0, address = [19036, 19037]}, {measurement = "Q", name = "L2", byte_order = "ABCD", data_type = "FLOAT32", scale=1.0, address = [19038, 19039]}, {measurement = "Q", name = "L3", byte_order = "ABCD", data_type = "FLOAT32", scale=1.0, address = [19040, 19041]}, {measurement = "Q", name = "value", byte_order = "ABCD", data_type = "FLOAT32", scale=1.0, address = [19042, 19043]}, {measurement = "CosPhi", name = "L1", byte_order = "ABCD", data_type = "FLOAT32", scale=1.0, address = [19044, 19045]}, {measurement = "CosPhi", name = "L2", byte_order = "ABCD", data_type = "FLOAT32", scale=1.0, address = [19046, 19047]}, {measurement = "CosPhi", name = "L3", byte_order = "ABCD", data_type = "FLOAT32", scale=1.0, address = [19048, 19049]}, {measurement = "f", name = "value", byte_order = "ABCD", data_type = "FLOAT32", scale=1.0, address = [19050, 19051]}, {measurement = "W", name = "L1", byte_order = "ABCD", data_type = "FLOAT32", scale=1000.0, address = [19054, 19055]}, {measurement = "W", name = "L2", byte_order = "ABCD", data_type = "FLOAT32", scale=1000.0, address = [19056, 19057]}, {measurement = "W", name = "L3", byte_order = "ABCD", data_type = "FLOAT32", scale=1000.0, address = [19058, 19059]}, {measurement = "W", name = "value", byte_order = "ABCD", data_type = "FLOAT32", scale=1000.0, address = [19060, 19061]}, {measurement = "W", name = "in_L1", byte_order = "ABCD", data_type = "FLOAT32", scale=1000.0, address = [19062, 19063]}, {measurement = "W", name = "in_L2", byte_order = "ABCD", data_type = "FLOAT32", scale=1000.0, address = [19064, 19065]}, {measurement = "W", name = "in_L3", byte_order = "ABCD", data_type = "FLOAT32", scale=1000.0, address = [19066, 19067]}, {measurement = "W", name = "in", byte_order = "ABCD", data_type = "FLOAT32", scale=1000.0, address = [19068, 19069]}, {measurement = "W", name = "out_L1", byte_order = "ABCD", data_type = "FLOAT32", scale=1000.0, address = [19070, 19071]}, {measurement = "W", name = "out_L2", byte_order = "ABCD", data_type = "FLOAT32", scale=1000.0, address = [19072, 19073]}, {measurement = "W", name = "out_L3", byte_order = "ABCD", data_type = "FLOAT32", scale=1000.0, address = [19074, 19075]}, {measurement = "W", name = "out", byte_order = "ABCD", data_type = "FLOAT32", scale=1000.0, address = [19076, 19077]}, {measurement = "Ws", name = "L1", byte_order = "ABCD", data_type = "FLOAT32", scale=1000.0, address = [19078, 19079]}, {measurement = "Ws", name = "L2", byte_order = "ABCD", data_type = "FLOAT32", scale=1000.0, address = [19080, 19081]}, {measurement = "Ws", name = "L3", byte_order = "ABCD", data_type = "FLOAT32", scale=1000.0, address = [19082, 19083]}, {measurement = "Ws", name = "value", byte_order = "ABCD", data_type = "FLOAT32", scale=1000.0, address = [19084, 19085]}, {measurement = "Wq", name = "L1", byte_order = "ABCD", data_type = "FLOAT32", scale=1000.0, address = [19086, 19087]}, {measurement = "Wq", name = "L2", byte_order = "ABCD", data_type = "FLOAT32", scale=1000.0, address = [19088, 19089]}, {measurement = "Wq", name = "L3", byte_order = "ABCD", data_type = "FLOAT32", scale=1000.0, address = [19090, 19091]}, {measurement = "Wq", name = "value", byte_order = "ABCD", data_type = "FLOAT32", scale=1000.0, address = [19092, 19093]}, {measurement = "Wq_ind", name = "L1", byte_order = "ABCD", data_type = "FLOAT32", scale=1000.0, address = [19094, 19095]}, {measurement = "Wq_ind", name = "L2", byte_order = "ABCD", data_type = "FLOAT32", scale=1000.0, address = [19096, 19097]}, {measurement = "Wq_ind", name = "L3", byte_order = "ABCD", data_type = "FLOAT32", scale=1000.0, address = [19098, 19099]}, {measurement = "Wq_ind", name = "value", byte_order = "ABCD", data_type = "FLOAT32", scale=1000.0, address = [19100, 19101]}, {measurement = "Wq_cap", name = "L1", byte_order = "ABCD", data_type = "FLOAT32", scale=1000.0, address = [19102, 19103]}, {measurement = "Wq_cap", name = "L2", byte_order = "ABCD", data_type = "FLOAT32", scale=1000.0, address = [19104, 19105]}, {measurement = "Wq_cap", name = "L3", byte_order = "ABCD", data_type = "FLOAT32", scale=1000.0, address = [19106, 19107]}, {measurement = "Wq_cap", name = "value", byte_order = "ABCD", data_type = "FLOAT32", scale=1000.0, address = [19108, 19110]}, ]