Hitachi EH-150 Applications Manual page 111

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

Advertisement

(c-1) By user program (for EH-CPU)
User program can turn off ERR and IER LEDs. To turn each LED off, set Module control register (MDCR).
Module control register (MDCR)
Bit
15 to 8
-
+00
The below user program can monitor the status of ERR and I.ERR LEDs, and turn off LED automatically by the
light of LED. This sample program is in case the "open error" happens on ASR connection 1, which is specified as
positive station.
Set EC0 bit of MDCR to internal output M200 and EC1 bit to internal output M201 as well.
R7E3
R100
M110
M100
R3
M101
M200
M201
TD64 M200
DIF0
M201
R104
M200
R3
M201
ASR connection 1 open request retries circuit
R7E3
7
6
5
4
3
-
-
-
-
AEN IAV
0: Turn-off request cancellation
1: Turn off request
WM003 = H2
WM004 = H2F
ADRIO = (WM005, R100)
ADRIO = (WM006, WM10)
WM007 = 1
R100 = 13
R100
S
FUN201 (WM000)
M200
M201
TD64
R103 = 1
R104 = 0
R1 = 0
R3 = 1
R103 = 1
R104 = 0
R3 = 0
R4 = 1
WM00B = H3
WM00C = H0
ADRIO = (WM00D, R103)
ADRIO = (WM00E, WM20)
WM00F = 10
FUN201 (WM008)
9-4
Chapter 9 Maintenance, check, error
2
1
0
EC1
EC0
ERR LED
IER LED
(00001)
Set FUN201(s) parameter area.
Request to SR read
Set EH-ETH2 installation position(unit 0, slot0)
Set control I/O No. R100.
Set head of I/O No. WM10.
Set read size 1 word
Set SR read control bit 1.
(00002)
Reading out SR at R100 = 1
(00003)
FUN 201 for reading out SR
(00004)
Check the status of ERR and IER LED, if detecting an
open error at connection 1.
If each LED turns on, set the lights out instruction bit.
(00005)
1s
5
If the lights out instruction bit is set, start the timer.
(00006)
Set 1 to "request to write to CR bit", if it passes for
five seconds after detecting an open error.
Validate the lights out demand cancellation circuit
(00007)
Set 1 to "request to write to CR bit", if the lights out
instruction bit of ERR or IER LED is cleared.
Validate the lights out demand cancellation circuit
(0000x)
Parameter area setting of FUN201(s) for writing CR.
Request to write CR.
Area setting (unit:0, slot:0)
Control bit address is R103.
Transmission I/O address is starting from WM20.
Transmission data size is 10 words.
(0000y)
FUN 201 for writing CR

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents