Chapter 8 Register Structure
[Basic operation 2]
To read Status Register (Control type "H0001"(handshake valid))
Wait execute
instruction
Command execute
(00001)
R7E3
WR00B = H1
WR00C = H0
ADRIO ( WR00D, R103 )
ADRIO ( WR00E, WM110 )
WR00F = 13
(00002)
R7E4
R103 = 1
(00003)
FUN201 ( WR008 )
END
:
:
:
(0000n)
1
st
scan
2
nd
scan
(00001)
R7E3
WR00B = H1
WR00C = H0
ADRIO ( WR00D, R103 )
ADRIO ( WR00E, WM110 )
WR00F = 13
(00002)
R7E4
R103 = 1
(00003)
FUN201 ( WR008 )
END
:
:
:
(0000n)
Wait execute
instruction
(00001)
R7E3
WR00B = H1
WR00C = H0
ADRIO ( WR00D, R103 )
ADRIO ( WR00E, WM110 )
WR00F = 13
(00002)
R7E4
R103 = 1
(00003)
FUN201 ( WR008 )
END
:
:
:
(0000n)
3
rd
scan
Wait execute
instruction
FUN201 command
- Keep Execute flag R100=1
- Clear normal complete flag and abnormal
complete flag
FUN201 command
- Keep Execute flag R100=1
- Clear normal complete flag and abnormal
complete flag
FUN201 command
- execute flag clear 0
- set normal complete flag or abnormal
complete flag depend on the result of
execution
FUN201 is in execution. So this instruction is
not executed.
Namely, data is not written to Control Register
from 2nd scan to 3rd scan.
8-16