Skip to content

Commit

Permalink
readme linting
Browse files Browse the repository at this point in the history
  • Loading branch information
Timur committed May 17, 2022
1 parent 18d2672 commit 638f0d7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions plugins/inputs/modbus/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -295,13 +295,13 @@ Each `request` can contain a list of fields to collect from the modbus device.

A field is identified by an `address` that reflects the modbus register address. You can usually find the address values for the different datapoints in the datasheet of your modbus device. This is a mandatory setting.

For _coil_ and _discrete input_ registers this setting specifies the __bit__ containing the value of the field.
For _coil_ and _discrete input_ registers this setting specifies the **bit** containing the value of the field.

##### name

Using the `name` setting you can specify the field-name in the metric as output by the plugin. This setting is ignored if the field's `omit` is set to `true` and can be omitted in this case.

__Please note:__ There cannot be multiple fields with the same `name` in one metric identified by `measurement`, `slave_id` and `register`.
**Please note:** There cannot be multiple fields with the same `name` in one metric identified by `measurement`, `slave_id` and `register`.

##### register datatype

Expand All @@ -315,7 +315,7 @@ You can use the `scale` setting to scale the register values, e.g. if the regist

This setting is ignored if the field's `omit` is set to `true` or if the `register` type is a bit-type (`coil` or `discrete`) and can be omitted in these cases.

__Please note:__ The resulting field-type will be set to `FLOAT64` if no output format is specified.
**Please note:** The resulting field-type will be set to `FLOAT64` if no output format is specified.

##### output datatype

Expand All @@ -337,7 +337,7 @@ If your device can produce many fields, you can list all of them as `omit=false`
#### Tags definitions

Each `request` can be accompanied by tags valid for this request.
__Please note:__ These tags take precedence over predefined tags such as `name`, `type` or `slave_id`.
**Please note:** These tags take precedence over predefined tags such as `name`, `type` or `slave_id`.

---

Expand Down

0 comments on commit 638f0d7

Please sign in to comment.