gwResume (Function) |
Top Previous Next |
Resumes the RTCU Communication Hub communication and optionally suspends it again after a time interval. This function, in combination with gwSuspend, can be used to control when the RTCU Communication Hub connection should be active.
Please note that changes to the RTCU Communication Hub configuration will NOT be applied when resuming the connection. To apply a new configuration, use gwClose and gwOpen instead.
Input: time : DINT (0..2147483647) (Default 0) The number of seconds to remain enabled. Use 0 to keep the RTCU Communication Hub enabled forever.
Returns: INT
Declaration: FUNCTION gwResume : INT;
Example: INCLUDE rtcu.inc
|