
Chapter 2. Functions
2-28
Example 2) Switch On/Off the last bit of P07 word (K1000S)
a) Write the forced I/O data (h0001) to the corresponding data word. P10 is matched to the
D9807 word.
<D9807 word>
F
E
D
C
B
A
9
8
7
6
5
4
3
2
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
b) Write the forced I/O address (last bit = h0001) to the corresponding address word. Write
h0001 to the D9707.
<D9707 word> ( 0 = disable forced I/O, 1 = enable forced I/O )
F
E
D
C
B
A
9
8
7
6
5
4
3
2
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c) Switch on the forced I/O request bit (M1910).
d) Output of P07 word
(P : The previous result of operation)
F
E
D
C
B
A
9
8
7
6
5
4
3
2
1
0
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
F
E
D
C
B
A
9
8
7
6
5
4
3
2
1
0
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
1
2.6.4
Program edit in RUN mode
(Applicable for K80S / 200S / K300S / K1000S)
User can insert, delete, or change instructions of program while the CPU is running. This
function is useful to debugging or test-operation. Please refer the user’s manual of KLD- 150S or
KGL-WIN for detail information.
The program edit in RUN mode can not be performed for the following instructions – JMP, JME, CALL, SBRT,
FOR, and NEXT instructions. Moreover, the program that has very long scan time (longer than 2 seconds) can
not be edit while the CPU is in the RUN mode.
Remark