Hitachi HIDIC EH-150 Applications Manual page 111

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

Advertisement

Sample program
Ladder program for send/receive test
Please assign I/O configuration as slot-0 "COMM", slot-2 "COMM" and others "Empty 16".
R7E3
R7E3
R7E3
WR0
WR1
==
==
WR4010
WR4011
R706
UDP
massage
receive
TD64 DIF2
Rely wait
UDP message
Reply request
time
DIF3
M113
M107
RECR.
C1CSR.
Send
ASE1
TXC1
complete
detect
R700
SR read
execute flag
[Result] Shown in Table 10.2.4
I.ERR
Solid Green
WR4003 = H2
WR4004 = H22F
ADRIO (WR4005, R700)
ADRIO (WR4006, WM100)
WR4007 = 13
WR400B = H3
WR400C = H200
ADRIO (WR400D, R703)
ADRIO (WR400E, WM110)
WR400F = 10
WR4010 = H100
WR4011 = H0
DIF1
R706
Receive
UDP massage
data area
receive
change
TD64
Reply
wait time
M1130 = 1
R703 = 1
M1130 = 0
R703 = 1
R706 = 0
WR0
= 0
WR4011= WR4011 + H100
FUN201 ( WR4008 )
R700
SR read
execute flag
FUN201 ( WR4000 )
END
Table 10.2.4 Result of communication test
STATUS
ERR
Off
Green,
flickering
Solid Green One time Passed
Solid Green Solid Green Passed
Off
Solid Red
10-11
To set S parameter area
(00001)
The request of status register getting
To set the target area(unit0, slot2)
To configure R700 as the control bit I/O No.
To configure WM100 as the starting area of source
To configure 13 words for sending size
To set S parameter area
(00002)
To request of Control register putting
To set the target area(unit0, slot2)
To configure R703 as the control bit I/O No.
To configure WM100 as the starting area of source
To configure 10 words for sending size
(00003) Received data compression work 1
Received data compression work 2
(00004)
To detect the change of received I/O area
S
(receive data)
(00005)
Wait 1s after receive
.1s 10
(00006)
Request reply data(event send)
(00007) Complete sending reply data, cancel event
sending request.
Clear UDP message receive bit.
Clear receive area
Add message number
(00008) Execute FUN201 command CR putting.
(00009) Set SR read execute flag
(every scan read)
(00010) Execute FUN201 command SR getting.
(00011)
Condition or the diagnosis
result
On testing
Failure
Chapter 10 Troubleshooting

Advertisement

Table of Contents
loading

Table of Contents