boolean LCN_SendCommand (int $InstanceID, string $Function, string $Data)
InstanceID | ID of the Instance; the ID of the splitter instance, not the device instance |
Function | The first two (2) signs of PCHK command (e.g. A1) |
Data | The remaining characters of PCHK command (e.g. DI000000). Any numbers must be sent in the decimal representation (3 characters). |
If the command succeeds, it returns TRUE, otherwise FALSE.
Sends a custom command to the instance with the ID InstanceID. For possible commands, refer to the PCHK documentation. If you do not have this, you can possibly refer to your dealer. We do not provide this option.
LCN_SendCommand(12345, "A1", "DI000000"); //Dim output 1 immediately to 0%.