8.3.2
Software reset function
EH-ETH support software reset function by FUN201 command.
The below is the sample program of software reset.
Sample program 10
Execution of software reset
R7E3
1 scan on
after RUN
R7C0
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-ETH receive software reset request is approx. 6 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
R7C0 = 0
8-19
Chapter 8 Register Structure
Slot No.
EH-ETH
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)
0
1
2
*
-
-