
Chapter 2 Specification of Communication port for CPU module
2 – 20
[Sample program of EHV-CPU2]
R7E3
WRF601 = H0001
Opens the connection just after the RUN
start, or at the falling of OFF of the AS
open request flag after the connection o
ASR port 1 is closed.
WRF600.0
WRF601 = H0000
DFN
When the connection of ASR port 1 is cu
y other station and the cable is cut, the
ASR port open request flag falls when the
connection is closed.
WRF601.0 DFN
[Sample 2]
Network consists of one EHV-CPU and one server as follows, and the Control Editor set the ASR communication of
EHV-CPU. The setting information for EHV-CPU3 and the server is as follows.
When the even occurs, 5-word data from WRF00B to WRF00F of EHV-CPU3 is transmitted from EHV-Cpu3 to the
server.
Server
(Passive, Receive)
EHV-CPU3
(Active, Send)
Data sending at event occurrence
Figure 2.21 Connection diagram of Sample 2
Table 2.11 Setting information of Sample 2
Setting EHV-CPU3 Server
1 IP address 192.168.0.10 192.168.0.11
2 Port No. 4001 4002
3 Protocol TCP/IP-Active, Specified TCP/IP-Passive, Optional
4 Send / Receive Send Receive
5 Access Point – IP address 192.168.0.11 -
6 Access Point – Port No. 4002 -
7 Send Timing Event sending -
8 Transmission area WRF00B to WRF00F -
9 Receiving area - -
[Description of sample program]
The connection is opened when R0 of EHV-CPU3 is turned ON, and the event transmitting is performed by turning
ON R1 at the event occurrence.
Comentarios a estos manuales