Software Reset Function; To Execute Software Reset - Hitachi EH-150 Applications Manual

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

Advertisement

8.3.2

Software reset function

EH-ETH2 support software reset function by the command FUN 201 or SCRW. The below is the sample program
of software reset.
Sample program 10

To execute software reset

(for EH-CPU)
R7E3
1 scan on
after RUN
R7B0
Error
detected
R110
R111 R112
Execute
Normal
Error
flag
flag
flag
R110
R111 R112
Execute
Normal
Error
flag
flag
flag
R111 R112
Normal
Error
flag
flag
R113 R114
During
Normal
reset
condition
Sample program 10
To execute software reset
(for EHV-CPU)
R7E3
1 scan on
after RUN
R7B0
Error
detected
R110
R111 R112
Execute
Normal
Error
flag
flag
flag
R110
R111 R112
Execute
Normal
Error
flag
flag
flag
R111 R112
Normal
Error
flag
flag
R113 R114
During
Normal
reset
condition
The average time to complete initial procedure after EH-ETH2 receive software reset request is approx. 3 seconds.
WR023 = HA55A
WR024 = H0
ADRIO ( WR025, R110 )
WR026 = 0
WR027 = 0
R110
Execute
flag
FUN201 ( WR020 )
R113
During
execution
R114
Normal
condition
R115
Error
condition
R7B0 = 0
WR023 = HA55A
WR024 = H0
DR025 = 0
WR027 = 0
R110
Execute
flag
SCRW ( WR020, R110 )
R113
During
execution
R114
Normal
condition
R115
Error
condition
R7B0 = 0
8-22
Chapter 8 Register Structure
Slot No.
EH-ETH2
To set s parameter area
(00001)
Software reset control
To set the target area(unit 0, slot 0)
To configure R110 as the control bit
No need to set starting area
No need to set sending size
(00002)
(00003)
(00004)
(00005)
(00006)
Slot No.
EH-ETH2
To set s parameter area
(00001)
Software reset control
To set the target area(unit 0, slot 0)
No need to set starting area
No need to set sending size
(00002)
(00003)
(00004)
(00005)
(00006)
0
1
2
*
-
-
0
1
2
*
-
-

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents