boolean ModBus_WriteRegisterReal (int $InstanceID, float $Value)
InstanceID | ID of the device to be switched |
Value | 32bit floating point value according to IEEE754 |
If the command succeeds, it returns TRUE, otherwise FALSE.
Sets address with ID InstanceID to Value
//Writes 23.5 into the register of the instance with the ID 12345
ModBus_WriteRegisterReal(12345, 23.5);