Telegraf connect with serial rs232c

Hi

I’m testing the linkage with a telegraph with an analog temperature sensor.
I’m trying with the modbus plugin, but it doesn’t work.

TXD = stx cmd1 cmd2 checkSum
FF 0F 01 F1
When I give a signal of FF 0F 01 F1(crc), I get the thermometer temperature data.
(Check with Windows serial program)
I thing, this will disable holding_resisters.

How can I connect with TELEGRAF?


[[inputs.modbus]]
name = “temp_1”
slave_id = 0
timeout = “1s”

controller = “file:///COM8”
baud_rate = 19200
data_bits = 8
parity = “N”
stop_bits = 1
transmission_mode = “RTU”

holding_registers = [
{ name = “temp_1”, byte_order = “AB”, data_type = “INT16”, scale=1.0, address = [1]},
]