You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/reference/modbus.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -197,7 +197,7 @@ Die Definition eines Registers benötigt folgende Parameter:
197
197
198
198
- `address`: die Registeradresse
199
199
- `type`: Der Registertyp, zulässig sind `coil`, `input`, `holding`
200
-
- `decode`: Die Art der Codierung der Daten. Zulässig sind: `int16|32|64, uint16|32|64, float32|64 and u|int32s + float32s`. Beim Typ `coil` wird die Codierung ignoriert, muss aber trotzdem angegeben werden.
200
+
- `decode`: Die Art der Codierung der Daten. Zulässig sind: `int16|32|64, uint16|32|64, float32|64 and u|int32s + float32s`. Beim Typ `coil` wird die Codierung ignoriert, muss aber trotzdem angegeben werden. Beim Typ `writecoil` muss `bool8` angegeben werden.
201
201
- `bitmask`: Eine optionale Angabe. Der angegebene Wert wird mit dem gelesenen UND verknüpft, um so einzelne Bits extrahieren zu können.
202
202
203
203
Weitere zulässige Parameter einer manuellen Konfiguration sind:
@@ -225,7 +225,7 @@ Bei den `int32s/uint32s` Dekodierungen wird die Wortreihenfolge vertauscht und s
225
225
226
226
Es können sowohl Holding-Register als auch Coils beschrieben werden. Dazu muss entweder `type: writeholding` für Holding-Register oder `type: writecoil` für Coils angegeben werden.
227
227
`type: writeholding` schreibt immer ein 16Bit Register (int oder bool16). Für `decode` muss hier daher immer `uint16` angegeben werden.
228
-
`type: writecoil` schreibt ein Coil. Angaben für `decode` werden ignoriert.
228
+
`type: writecoil` schreibt ein Coil. Für `decode` muss `bool8` angegeben werden.
Copy file name to clipboardExpand all lines: i18n/en/docusaurus-plugin-content-docs/current/reference/modbus.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -193,7 +193,7 @@ The definition of a register requires the following parameters:
193
193
194
194
- `address`: the register address
195
195
- `type`: The register type, allowed are `coil`, `input`, `holding`
196
-
- `decode`: The type of encoding of the data. Allowed are: `int16|32|64, uint16|32|64, float32|64 and u|int32s + float32s`. For type `coil` the encoding is ignored, but must still be specified.
196
+
- `decode`: The type of encoding of the data. Allowed are: `int16|32|64, uint16|32|64, float32|64 and u|int32s + float32s`. For type `coil` the encoding is ignored, but must still be specified. For type `writecoil`, `bool8` must be specified.
197
197
- `bitmask`: An optional specification. The specified value is ANDed with the read value to extract individual bits.
198
198
199
199
Other allowed parameters of a manual configuration are:
@@ -221,7 +221,7 @@ For the `int32s/uint32s` decodings, the byte order is swapped, which is useful f
221
221
222
222
Both holding registers and coils can be written. For this, either `type: writeholding` for holding registers or `type: writecoil` for coils must be specified.
223
223
`type: writeholding` always writes a 16-bit register (int or bool16). Therefore, for `decode`, `uint16` must always be specified.
224
-
`type: writecoil` writes a coil. Specifications for `decode` are ignored.
224
+
`type: writecoil` writes a coil. For `decode`, `bool8` must be specified.
0 commit comments