pmPowerDown (Function) |
Top Previous Next |
This powers down the device – similar to PowerDown. The device will wake up with a full reset when the ignition input (please refer to the technical manual of the RTCU) is activated and optionally after a specific time period defined by the time input variable. A manual reset of the RTCU or restoring the external power will also wake up the RTCU.
Input: time : DINT Time to power down in seconds. Leave empty if not used.
Returns: INT
Declaration: FUNCTION pmPowerDown : INT;
Example: INCLUDE rtcu.inc |