write
Perform a write operation to the connected Modbus server
Description
write(m,
additionally specifies target
,address
,values
,serverId
,'precision
')serverId
, which is the address of the server to send the read command to, and the precision
, which is the data format of the register being read.
serverId
can be used for both coils and holding registers, and precision
can be used for registers only. You can use either argument by itself, or use both arguments together when the write target is holding registers.