How To Turn Off Led - Hitachi EH-150 Applications Manual

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

Advertisement

9.3.2

How to turn off LED

The status of ERR LED and IER LED can be read out or turned off by user program.
(1) Confirm LED light
User program can confirm the status (light or unlighted) of ERR and IER.
The status of each LED is stored in Module status register (MDSR) in EH-ETH2.
Module status register (MDSR)
Bit
15 to 7
-
+00
You can read the value of MDSR to WM10 by the below user program (example of EH-CPU). As a result,
M100 means the status of ERR LED and M101 means status of IER LED.
R7E3
R100
(2) How to turn off LED
There are 3 ways to turn off ERR LED or IER LED.
(a) By E.CLR button
ERR LED and IER LED go off by pushing E.CLR button.In this way, both LED go off. To turn off ERR LED or
IER LED individually, operate the way of (b) or (c).
(b) By WYs1
Partial data of Module control register (MDCR) is assigned to WYs1
corresponding LED goes off.
*1 : "s" means slot No. that EH-ETH2 is allocated.
WYs1
Bit
15
14
-
APR
+00
6
5
4
3
OPM
-
EIE AVR ATR IERR ERR
0: unlighted
WM003 = H2
WM004 = H2F
ADRIO = (WM005, R100)
ADRIO = (WM006, WM10)
WM007 = 1
R100 = 1
R100
S
FUN201 (WM000)
13 to 8
7 to 4
3
AnR
TnR
-
0: Turn-off request cancellation
1: Turn off request
9-3
Chapter 9 Maintenance, check, error
2
1
0
ERR LED
1: light
IER LED
(00001)
Set FUN201(s) parameter area for SR read
Mounted position of EH-ETH2 (unit 0, slot 0)
Set control bit I/O No. R100
Set head of I/O No. WM10.
Set transmission sizes 1 word.
Set SR read control bit.
(00002)
Execute SR read by R100 = 1.
(00003)
Execute FUN201 command for SR read.
(*1)
. By setting "1" in the appropriate bit,
2
1
0
-
EC1
EC0
ERR LED
IER LED

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents