boolean ModBus_WriteRegisterInt64 (int $InstanceID, int $Value)
InstanceID | ID of the device to be switched |
Value | -9223372036854775808 bis 9223372036854775807 |
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_WriteRegisterInt64(12345, -123);