EasyManua.ls Logo

Hitachi EH-150 - Page 102

Hitachi EH-150
176 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Chapter 8 Register Structure
Sample program 8
To read Status Register
Slot No.
0 1 2
(for EHV-CPU)
EH-ETH2
- - *
When SCRW is executed at R100=1, the value of Status Register will be putting on WM100 to WM10C.
R0
(00001)
To set s parameter area
The request of Status Register getting
(without handshake)
To set the target area (Unit 0, slot2)
To configure WM100 as the starting area o
f
source
To configure 13 words for sending size
R7E3
(00003)
(00002)
R100
To set execution bit by setting R0=1
SCRW command execution
N
ormal end procedure
Abnormal end procedure
SCRW (WR000, R100)
SR read
Request bit
R100
WR003 = H2
WR004 = H22F
DR005 = ADR (WM100)
WR007 = 13
R103R101
R102
N
orma
l
End flag
Execute
flag
Abnormal
end flag
Execute
flag
During
execution
R100
R104R101
R102
N
ormal
en
d
R105R101
R102
Abnormal
en
d
R0 = 0
:
Normal end procedure
:
R104
R0 = 0
:
Abnormal end procedure
:
R105
N
ormal
en
d
Abnormal
en
d
(00004)
(00005)
(00006)
(00007)
To detect SCRW command status
The process is normal completion
SCRW is in status of wait for instruction.
The process is abnormal completion
SCRW is in status of wait for instruction.
8-19

Table of Contents

Related product manuals