Chapter 5 CPU Module
5-
ై
5.5.3 Direct I/O Operation function
This function is usefully available when an input junction state is directly read during execution of a program and used in the
operation, or the operation result is directly output to an output junction.
Direct input/output is executed by use of the ‘ IORF’ instruction. If this instruction is used, the input/output image area will be
directly updated and applied to the continuing operations.
REMARK
1) For detailed operation, refer to the K7 Manual for instruction’ .
5.5.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 latest error information
D4905 ~ D4908 The 2
nd
latest error information
::
Device
D4961 ~ D4964 The 16
th
latest error information
2) Description of each word
Contents Description
D4901 h9905 Year : 99, 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 or KLD-150S