
Chapter 2 Specification of Communication port for CPU module
2 – 22
Tale 2.12 Setting information of Sample 3
Setting EHV-CPU4 Web controller
1 IP address 192.168.0.1 192.168.0.2
2 Port No. 4000 4000
3 Protocol TCP/IP-active, Specified TCP/IP-passive, Specified
4 Send / Receive Send / Receive Send / Receive
5 Access point – IP address 192.168.0.2 192.168.0.1
6 Access point – Port No. 4000 4000
7 Send Timing Cyclic sending: 1 second Cyclic sending: 1 second
8 Transmission area WR0 to WRF WR10 to WR1F
9 Receiving area WR10 to WR1F WR0 to WRF
[Description of sample program]
The connection is established between EHV-CPU4 and Web controller in two seconds after RUN of EHV-CPU4, and
the sending and receiving are started.
(If the connection is established before RUN of EHV-CPU4, the connection is closed immediately after RUN and the
connection is established again.)
[Sample program of EHV-CPU4]
R7E3
WRF601 = H0000
R0 = 1
ASR port is closed immediatel
after RUN or in falling which AS
ort status flag turned off after AS
ort 1 was closed.
R0
1ms
2000
WRF600.0 DFN
TD0
WRF601 = H0000
ASR port open request bit is turned
on in 2 seconds from ASR por
close, and then ASR port is opened.
TD0
TC
TD0 turns on in 2 seconds late
from ASR port close.
[Sample program of Web controller]
When Web controller is set to TCP/IP passive station, the connection stands by to open when the power supply is
turned on or immediately after the connection is cut. Therefore a program to control the connection is unnecessary.
Kommentare zu diesen Handbüchern