To Write To Control Register - Hitachi EH-150 Applications Manual

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

Advertisement

Sample program 9
When FUN201 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 EH-CPU)
WR00B = H3
WR00C = H200
ADRIO (WR00D, R200)
ADRIO (WR00E, WM110)
WR00F = 10
R200
Execute
flag
FUN201 (WR008)
R203
During
execution
R204
Normal
condition
R205
Error
condition
R1 = 0
:
Normal end procedure
:
R1 = 0
:
Abnormal end procedure
:
8-20
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 R200 as the control bit I/O No.
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)
FUN201command execution
(00004)
To detect FUN201 command status
(00005)
The process is normal completion
FUN 201 is in status of wait for instruction.
The process is abnormal completion
FUN 201 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