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