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

Programable controller; ethernet module(eh-eth)
Hide thumbs Also See for HIDIC EH-150:
Table of Contents

Advertisement

9.3.2

How to turn off LED

The status of ERR LED and I.ERR LED can be read out or turned off by ladder program.
(1) Confirm LED light
Ladder program can confirm the status(light or unlighted) of ERR and I.ERR.
The status of each LED is stored in module status register(MDSR) in EH-ETH.
Module status register (MDSR)
Bit
15 to 8
-
+00
You can read the value of MDSR to WM10 by the below ladder program. As a result, M100 means the status
of ERR LED and M101 means status of I.ERR LED.
R7E3
R100
(2) How to turn off LED
Ladder program can turn off ERR and I.ERR LEDs. To turn each LED off, set module control register(MDCR).
Module control register (MDCR)
Bit
15 to 8
-
+00
7
6
5
4
3
FAE OPM SME EIE AVR ATR IERR ERR
0: unlighted
WM003 = H2
WM004 = H2F
ADRIO = (WM005, R100)
ADRIO = (WM006, WM10)
WM007 = 1
R100 = 1
R100
FUN201 (WM000)
7
6
5
4
3
-
-
-
-
AEN IAV
0: Turn-off request cancellation
1: Turn off request
Chapter 9 Maintenance, check, error
2
1
0
ERR LED
1: light
I.ERR LED
(00001)
Set FUN201(s) parameter area for SR read
EH-ETH's mounted position (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)
S
Execute SR read by R100 = 1.
(00003)
Execute FUN201 command for SR read.
2
1
0
EC1
EC0
ERR LED
I.ERR LED
9-3

Advertisement

Table of Contents
loading

Table of Contents