Hitachi HIDIC EH-150 Applications Manual page 110

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

Advertisement

(3) Send/ receive test
- In case of using 2 times of EH-ETH modules.
[Outline]
UDP message is communicated between the one EH-ETH for test and the other EH-ETH in normal operation.
[UDP massage format]
The UDP message format which EH-ETH sends network is below.
0
1
Message transmission
Command
number
H01
H0000
[Dip switch setting]
[Test procedure]
(a) Set communication parameter according to the Figure 10.2.2 as below.
(b) Press the reset button of EH-ETH-2.
(c) Download the sample program in the next page to the CPU module with EH-ETH-2. (In this sample, both
EH-ETH are used with the same CPU)
(d) Switch to RUN mode.
(e) Press the rest button of EH-ETH-1. The test will start.
*1: Right I/O assignment is set to CPU module.
[Test time] Approximate 70 seconds
EH-ETH1 (test object)
( ( ( ( Setting except Dip switch is factory setting.) ) ) )
・Dip switch setting
Bit 7, 8 ON, Others OFF
・Own IP address
192.168.0.1
・Send/receive test other station IP address
192.168.0.254
・Send/receive test logical port number(Own station, other station)
4000
(Dec)
Figure 10.2.2 System configuration of communication test (1)
2
3
4
Message
H00
H01
H02
Bit7 & Bit8 ON
1
2
3
4
5
6
7
8
ON
10-10
Chapter 10 Troubleshooting
........
Byte
5
1023
........
HFC
EH-ETH-2 (in normal operation)
・Dip switch setting
All OFF
・Own station IP address
192.168.0.254
・ASR connection 1 information
Own Station
Usage
:Send/Receive
Protocol
:UDP/IP
Open Type
:Passive
Port No.
:4000
Other Station
Other Station
:Specified
IP address
IP Address
:192.168.0.1
Port No.
:4000
Send Information
Type
:Event Send
Cyclic Time
:
・ASR connection 1 I/O area
Receive Area Information
No.
I/O
Top
1
WR
000000
Send Area Information
No.
I/O
Top
1
WR
000000
HUB
Size
727
Size
513

Advertisement

Table of Contents
loading

Table of Contents