Chapter 4 CPU modules MASTER-K
4-25
4.5.2 Forced I/O setting
It is possible to output a designated data regardless of the result of operation. This
function is useful to check operation of the output modules and wiring between the output
modules and external devices.
K200S K300S K1000S
Forced I/O request bit M1910
The forced I/O address D4700 ~ D9700 ~
The forced I/O data D4800 ~ D9800 ~
Example 1) Output h8721 to the P10 word by force (K200S / K300S)
a) Write the forced I/O data (h8721) to the corresponding data word. P10 is matched to
the D4810 word.
<D4810 word>
F E D C BA98765432 1 0
1 0 0 0 0 1 1 1 0 0 1 0 0 0 0 1
b) Write the forced I/O address (All bit = hFFFF) to the corresponding address word.
Write hFFFF to the D4710.
<D4710 word> ( 0 = disable forced I/O, 1 = enable forced I/O )
F E D C BA98765432 1 0
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
c) Switch on the forced I/O request bit (M1910).
d) Output of P10 word
(P : The previous result of operation)
F E D C BA98765432 1 0
P P P P P P P P P P P P P P P P
F E D C BA98765432 1 0
1 0 0 0 0 1 1 1 0 0 1 0 0 0 0 1