Appendix 3 Compatibility with
GM7 XEC Type Contents Description
System
operation
state flag
_PADT_CNF
-
BYTE
Indicates the connection state of CPU module and
PADT
connection
Bit indicated connection state of local PADT
-
Remote GMWIN
connection
Bit indicated connection state of remote PADT
-
Bit indicated connection state of remote
communication
_RST_TY
-
BYTE
Restart mode
information
-
_INIT_RUN _INIT_RUN BOOL
Initialization is
running
Indicates that user-written initialization program is
running.
_SCAN_MAX _SCAN_MAX UINT
(ms)
Indicates Max. scan time while running.
_SCAN_MIN _SCAN_MIN UINT
Time(ms)
Indicates Min. scan time while running.
_SCAN_CUR _SCAN_CUR UINT
Current Scan
Time(ms)
Indicates current scan time data which is being
renewed.
_RTC_TIME[n]
_RTC_DATE
_RTC_WEEK
_RTC_TOD
BYTE Current time
The current BCD data of RTC (1.Jan.1984 ~
31.Dec.2083)
_RTC_TIME[0] : year, _RTC_TIME[1] :
_RTC_TIME[2] : day, _RTC_TIME[3] : time,
_RTC_TIME[4] : minute, _RTC_TIME[5] : second
_RTC_TIME[6] : day of the week,
_RTC_TIME[7] : not used
day of the week
XGT - 0:Sun, 1:Mon, 2:Tue, 3:Wed,
4:Thu, 5:Fri, 6:Sat
GLOFA - 0:Mon, 1:Tue, 2:Wed, 3:Thu,