TCC > Variables & Functions > Variables:
Comments (...)
_ACSTATUS returns the AC line status.
value
meaning
0
Offline
1
Online
unknown
Unknown
Help URL: http://jpsoft.com/help/index.htm?_acstatus.htm