boolean ModBus_WriteRegisterDWord (integer $InstanceID, integer $Wert)
InstanceID | ID of the device to be switched |
Wert | 0-4294967295 |
If the command succeeds, it returns TRUE, otherwise FALSE. |
Sets address with ID InstanceID to Value
Due to a limitation of 32-bit integers within PHP, the area can only be used to 2147483647.
//Writes 123 into the register of the instance with the ID 12345 ModBus_WriteRegisterDWord(12345, 123);