« Back to Product

Documentation

LCN_SwitchRelayTimer

 boolean LCN_SwitchRelayTimer (int $InstanceID, int $TimeFactor) 

Parameters

InstanceID

ID of the device to be switched

TimeFactor

Time factor between 1..255

Returns

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

Description

Switches the relay with ID InstanceID to time factor TimeFactor

Warning

The time factor is not a linear value. 1 = 30ms and 255 = 240s

Example

//Set relay time factor to 255.
LCN_SwitchRelayTimer(12345, 255);
Any questions?