Hitachi EH-150 Applications Manual page 112

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

Advertisement

(c-2) By user program (for EHV-CPU)
The below user program is the sample which converted (c-1) into for EHV-CPUs.
R7E3
R100
M110
M100
R3
M101
M200
M201
TD64 M200
DIF
M201
R104
M200
R3
M201
ASR connection 1 open request retries circuit
R7E3
WM003 = H2
WM004 = H2F
DM005 = ADR (WM10)
WM007 = 1
R100 = 13
R100
S
SCRW (WM000, R100)
M200
M201
TD64
R103 = 1
R104 = 0
R1 = 0
R3 = 1
R103 = 1
R104 = 0
R3 = 0
R4 = 1
WM00B = H3
WM00C = H0
DM00D = ADR (WM20)
WM00F = 10
SCRW (WM008, R103)
9-5
Chapter 9 Maintenance, check, error
(00001)
Set SCRW(s) parameter area.
Request to SR read
Set EH-ETH2 installation position(unit 0, slot0)
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)
SCRW 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)
If the lights out instruction bit is set, start the timer.
1s
5
(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 SCRW(s) for writing CR.
Request to write CR.
Area setting (unit:0, slot:0)
Transmission I/O address is starting from WM20.
Transmission data size is 10 words.
(0000y)
SCRW for writing CR

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents