rfbcSetSwitchState (Function) |
Top Previous Next |
This function will send a switch-change request. Most devices will only accept switch-change requests when paired with the RTCU device.
Note: if the request is broadcasted then the function will not wait for any confirmation.
Input: id : DINT [0 .. 16_777_215] (default 0) The ID of the device to receive the request. If the ID is "0" (zero), the request will be broadcast.
output : SINT [0..31] (default 1) The index of the output to update.
state : BOOL (default ON)
Output: None.
Returns: INT
Declaration: FUNCTION rfbcSetSwitchState : INT;
Example: INCLUDE rtcu.inc |