Hitachi EH-150 Applications Manual page 104

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

Advertisement

Sample program 9
When SCRW command is executed at R200 = 1, WM110 to WM119 will be putting on Control Register.
R7E3
R1
CR write
Request bit
R200
R201 R202
Execute
Normal
Error
flag
flag
flag
R200
R201 R202
Execute
Normal
Error
flag
flag
flag
R201 R202
Normal
Error
flag
flag
R204
Normal
condition
R205
Error
condition
To write to Control Register
(for EHV-CPU)
WR00B = H3
WR00C = H200
DR00D = ADR (WM110)
WR00F = 10
R200
Execute
flag
SCRW (WR008, R200)
R203
During
execution
R204
Normal
condition
R205
Error
condition
R1 = 0
:
Normal end procedure
:
R1 = 0
:
Abnormal end procedure
:
8-21
Chapter 8 Register Structure
EH-ETH2
To set s parameter area
(00001)
The request of Control Register putting
To set the target area (Unit 0, slot2)
To configure WM110 as the starting area of
source
To configure 10 words for sending size
(00002)
To set execution bit by setting R1=1
(00003)
SCRW command execution
(00004)
To detect SCRW command status
(00005)
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.
(00006)
Normal end procedure
(00007)
Abnormal end procedure
Slot No.
0
1
2
-
-
*

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents