Documentation
ModBus_WriteRegisterString
boolean ModBus_WriteRegisterString (int $InstanceID, string $Value)
Parameters
InstanceID | ID of the device to be switched |
Value | String which should be written into register |
Returns
If the command succeeds, it returns TRUE, otherwise FALSE.
Description
Sets address with ID InstanceID to Value
Example
//Writes "Hello world" into the register of the instance with the ID 12345
ModBus_WriteRegisterString(12345, "Hello world");