Appendix 2. Flag List
APP2 - 5
5) System Operation status Information Flag List
Keyword
Type
Data setting
range
Name
Description
_CPU_TYPE
Unit
0 to 16
System type
GM1 : 0, GM2 : 1, (GM3 : 2, GM4 : 3, GM% : 4)
(FSM : 5,6), Twofold : 16
_VER_NUM
Unit
-
O/S version No.
System O/S version No.
_MEM_TYPE
Unit
1 to 5
Memory module
type
Type of program memory module (0: Unloading state, type : 0 to 5)
Representati
ve keyword
PLC mode and
operation status
System operation mode and operation state information
Bit 0
Local control
Operation mode change is possible only by mode change switch or GMWIIN
Bit 1
STOP
Bit 2
RUN
Bit 3
PAUSE
Bit 4
DEBUG
CPU module operation state
Bit 5
Operation mode
change factor
Operation mode change by mode change switch
Bit 6
Operation mode
change factor
Operation mode change by GMWIN
Bit 7
Operation mode
change factor
Operation mode change by remote GMWIN
Bit 8
Operation mode
change factor
Operation mode change by communications
Bit 9
STOP by STOP
function
Operation in the RUN mode is stopped by STOP function after the scan has
finished
Bit 10
Force input
Input junction force On/Off is being executed.
Bit 11
Force output
Output junction force On/Off is being executed
Bit 12
STOP by ESTOP
function
Operation in the RUN mode is directly stopped by ESTOP function.
Bit 13
-
-
Bit 14
During monitoring
External monitoring is being executed for programs or variables
_SYS_STATE
Word
Bit 15
Remote mode ON
Operation in the remote mode
Representati
ve keyword
GMWIN
connection state
Connection state between CPU module and GMWIN
Bit 0
Local GMWIN
connection
Local GMWIN connection state
Bit 1
Remote GMWIN
connection
Remote GMWIN connection state
_GMWIN_CNF
Byte
Bit 2
Remote
communications
connection
Remote communications connection state
Representati
ve keyword
Restart mode
information
Restart type of program which is being executed in present. (History)
Bit 0
Cold restart
Bit 1
Warm restart
_RST_TY
Byte
Bit 2
Hot restart
See the Section 4.5.1
_INIT_RUN
Bool
-
During
initialization
An initialization program written by the user is being executed
_SCAN_MAX
Unit
-
Maximum scan
time (ms)
Maximum scan time is written during operation.
_SCAN_MIN
Unit
-
Minimum scan
time (ms)
Minimum scan time is written during operation.
_SCAN_CUR
Unit
-
Present scan time
(ms)
Present scan time is continuously updated during operation.
_RTC_TIME[n]
BCD
N : 0 to 7
Present time
BCD data of present time of RTC
(Example : 96-01-12-00-00-00-XX)
_RTC _TIME[0] : year, _RTC _TIME[1] : month, _RTC _TIME[2] : day,
_RTC _TIME[3] : hour, _RTC _TIME[4] : minute, _RTC _TIME[5] : second,
_RTC _TIME[6] : day of the week, _RTC _TIME[7] : unused
Day of the week : 0 : Mon., 1: Tue., 2: Wed., 3:Thur., 4:Fri., 5: Sat., 6:Sun.
_SYS_ERR
Unit
Error code
Error type
See the Section 12.5 Error Code List
Содержание GLOFA GM6 Series
Страница 1: ...U s e r s M a n u a l LG Programmable Logic Controller GLOFA GM6 Series L G Industrial Systems ...
Страница 2: ... CONTENTS ...
Страница 178: ...Chapter 15 The PID functions 15 24 Example program of 15 4 3 1 ...
Страница 179: ...Chapter 15 The PID functions 15 25 Example program of 15 4 3 2 continue to next page ...
Страница 180: ...Chapter 15 The PID functions 15 26 Example program of 15 4 3 2 continued ...
Страница 209: ...Appendix 4 Outer Dimensions APP4 3 ...