Chapter 5 Power Supply / CPU
5 -27
5.6.3 Direct I/O Operation function
This function is useful when reads an input relay’s state directly during execution of a program and uses in the operation, or
write the operation result directly to an output relay. Direct input/output is executed by the ‘IORF’ instruction. If this instruction is
used, the input/output image area will be directly updated and applied to the continuing operations.
REMARK
-. For detailed operation, refer to the ‘MASTER-K Manual for instruction’.
5.6.4 System error history
When the system is stopped by error occurrence, the CPU stores the error occurrence time and error code to the special data
register area. The most recent 16 error occurring times and error codes are stored in the special data register.
1) Special data register for error history
Data area Description
D4901 ~ D4904
The 1
st
error information, The 17
th
error information
D4905 ~ D4908 The 2
nd
error information :
: :
Device
D4961 ~ D4964 The 16
th
error information
2) Description of each word
Data area Contents Description
D4900 H0001 Error occurred point
D4901 H0305 Year : 03, Month : 5
D4902 h2812 Date : 28, Hour : 12
D4903 h3030 Minute : 30, Second : 30
D4904 h0001 Error code (h0001)
3) Clear error data
Use a ‘data clear’ function of KGLWIN.
REMARK
Refer to the KGLWIN user’s Manual Chapter 7, for details.