## RS485 specific settings. Only take effect for serial controllers. ## Note: This has to be at the end of the modbus configuration due to ## TOML constraints. # [inputs.modbus.rs485] ## Delay RTS prior to sending # delay_rts_before_send = "0ms" ## Delay RTS after to sending # delay_rts_after_send = "0ms" ## Pull RTS line to high during sending # rts_high_during_send = false ## Pull RTS line to high after sending # rts_high_after_send = false ## Enabling receiving (Rx) during transmission (Tx) # rx_during_tx = false ## Enable workarounds required by some devices to work correctly # [inputs.modbus.workarounds] ## Pause after connect delays the first request by the specified time. ## This might be necessary for (slow) devices. # pause_after_connect = "0ms" ## Pause between read requests sent to the device. ## This might be necessary for (slow) serial devices. # pause_between_requests = "0ms" ## Close the connection after every gather cycle. ## Usually the plugin closes the connection after a certain idle-timeout, ## however, if you query a device with limited simultaneous connectivity ## (e.g. serial devices) from multiple instances you might want to only ## stay connected during gather and disconnect afterwards. # close_connection_after_gather = false ## Force the plugin to read each field in a separate request. ## This might be necessary for devices not conforming to the spec, ## see https://github.com/influxdata/telegraf/issues/12071. # one_request_per_field = false ## Enforce the starting address to be zero for the first request on ## coil registers. This is necessary for some devices see ## https://github.com/influxdata/telegraf/issues/8905 # read_coils_starting_at_zero = false ## String byte-location in registers AFTER byte-order conversion ## Some device (e.g. EM340) place the string byte in only the upper or ## lower byte location of a register see ## https://github.com/influxdata/telegraf/issues/14748 ## Available settings: ## lower -- use only lower byte of the register i.e. 00XX 00XX 00XX 00XX ## upper -- use only upper byte of the register i.e. XX00 XX00 XX00 XX00 ## By default both bytes of the register are used i.e. XXXX XXXX. # string_register_location = ""