Not all topics are available at the moment and content links may be broken.
boolean ModBus_WriteCoil (integer $InstanceID, boolean $Status)
|InstanceID||ID of the device to bes switched|
|Status||TRUE for On, FALSE for Off|
|If the command succeeds, it returns TRUE, otherwise FALSE.|
Sets address with ID InstanceID to _Value
ModBus_WriteCoil(12345, true); //Turn device on