boolean ModBus_WriteRegisterByte (integer $InstanceID, integer $Value)
InstanceID | ID of the device to be switched |
Value | 0-255 |
If the command succeeds, it returns TRUE, otherwise FALSE. |
Sets address with ID InstanceID to Value
//Writes 123 into the register of the instance with the ID 12345 ModBus_WriteRegisterByte(12345, 123);