« Back to Product

Documentation

ModBus_WriteRegisterInt64

 boolean ModBus_WriteRegisterInt64 (int $InstanceID, int $Value) 

Parameters

InstanceID

ID of the device to be switched

Value

-9223372036854775808 bis 9223372036854775807

Returns

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

Description

Sets address with ID InstanceID to Value

Example

//Writes -123 into the register of the instance with the ID 12345
ModBus_WriteRegisterInt64(12345, -123);
Any questions?