« Back to Product

Documentation

ModBus_WriteRegisterReal64

 boolean ModBus_WriteRegisterReal64 (int $InstanceID, float $Value) 

Parameters

InstanceID

ID of the device to be switched

Value

64bit floating point value according to IEEE754

Returns

If the command succeeds, it returns TRUE, otherwise FALSE.

Description

Sets address with ID InstanceID to Value

Example

//Writes 23.5 into the register of the instance with the ID 12345
ModBus_WriteRegisterReal64(12345, 23.5);
Any questions?