2019-02-06 03:31:15 +00:00
|
|
|
write_coil:
|
|
|
|
description: Write to a modbus coil.
|
|
|
|
fields:
|
2019-12-16 19:07:46 +00:00
|
|
|
address: {description: Address of the register to write to., example: 0}
|
2019-02-06 03:31:15 +00:00
|
|
|
state: {description: State to write., example: false}
|
|
|
|
unit: {description: Address of the modbus unit., example: 21}
|
|
|
|
write_register:
|
|
|
|
description: Write to a modbus holding register.
|
|
|
|
fields:
|
|
|
|
address: {description: Address of the holding register to write to., example: 0}
|
|
|
|
unit: {description: Address of the modbus unit., example: 21}
|
2019-03-11 12:17:31 +00:00
|
|
|
value: {description: Value (single value or array) to write., example: "0 or [4,0]"}
|