Hitachi HIDIC EH-150 Applications Manual page 98

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

Advertisement

The below ladder 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
WM003 = H2
WM004 = H2F
ADRIO = (WM005, R100)
ADRIO = (WM006, WM10)
WM007 = 1
R100 = 13
R100
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)
Chapter 9 Maintenance, check, error
(00001)
SET FUN201(s) parameter area.
Request to SR read
Set EH-ETH 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)
S
(00003)
(00004)
(00005)
1s
5
(00006)
(00007)
(0000x)
(0000y)
9-4

Advertisement

Table of Contents
loading

Table of Contents