What can we improve?

Documentation

(Edit)

ModBus_WriteCoil

boolean ModBus_WriteCoil (integer $InstanceID, boolean $Status)

Parameters

InstanceID ID of the device to be switched
Status TRUE for On, FALSE for Off

Returns

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

Description

Sets address with ID InstanceID to _Value

Example

//Turns instance with the ID "12345" on
ModBus_WriteCoil(12345, true);
Deutsche Webseite verfügbar
Go to cart
Any questions?