EasyManua.ls Logo

COBHAM SAILOR 6194 - Page 85

COBHAM SAILOR 6194
100 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Appendix B: Lua extensions
Miscellaneous functions 75
BBBBB
Lua extensions
tcu_power_off_for
Purpose: Power off TCU for specified time. After the time-out,
the Terminal Control Unit will power on again.
If the Terminal Control Unit is used with a SAILOR 3027 mini-C, the TCU
will attempt to power down the mini-C before powering down itself. This
can potentially delay the power off by up to 3 minutes if the mini-C is busy
or unable to respond.
A timeout value may be given to wake up the TCU later. The timeout is
counted from the time of the actual power off. Other events may trigger
the TCU to power up before the timeout occurs (external power cycle, CAN
activity, etc.).
Format: tcu_power_off_for (time)
time: Timeout value in seconds counted from time of actual
power off.
Value: 0 = No time out (powered off until woken for other
reason)
1 - 2.147.483.647 seconds
Return value:
Error code: 0=OK, <0=error
Example: --Power TCU off for 2 hours
tcu_power_off_for(7200);