Hitachi EH-150 Applications Manual page 99

Ethernet module 2 eh-eth2
Hide thumbs Also See for EH-150:
Table of Contents

Advertisement

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

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents