Documentation
ModBus_WriteRegisterDWord
bool ModBus_WriteRegisterDWord (int $InstanceID, int $Wert)
Parameters
| InstanceID | ID of the device to be switched |
| Wert | 0-4294967295 |
Returns
If the command succeeds, it returns TRUE, otherwise FALSE.
Description
Sets address with ID InstanceID to Value
On armhf systems, only the range up to 2147483647 can be used due to the limitation to 32-bit integers in PHP. armhf is supported until Symcon 10.0.
Example
//Writes 123 into the register of the instance with the ID 12345
ModBus_WriteRegisterDWord(12345, 123);