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