Requires: IP-Symcon >= 4.4
boolean ModBus_WriteRegisterShort (integer $InstanceID, integer $Value)
InstanceID | ID of the device to be switched |
Value | -32768 to 32767 |
If the command succeeds, it returns TRUE, otherwise FALSE. |
This function was named ModBus_WriteRegisterSmallInt up to and including Version 4.3
Sets address with ID InstanceID to Value
//Writes -123 into the register of the instance with the ID 12345 ModBus_WriteRegisterShort(12345, -123);