15 Ethernet
15-36
CP2E CPU Unit Software User’s Manual(W614)
15-5 Socket Services
The socket services allow devices on the Ethernet to send and receive various data using either the
UDP or TCP protocol.
The way to use socket services is to set the required parameters in the parameter area allocated in the
DM Area, and then to request particular UDP or TCP socket services by turning ON dedicated control
bits in the AR Area. When the PLC has completed the requested process, the same bit is turned OFF to
provide notification. Data that is sent or received is automatically handled according to the I/O memory
locations specified in the parameter area.
A total of three ports (UDP and TCP combined) can be used for socket services.
15-5-1 Overview of Socket Service
15-5-2 Procedure for Using Socket Service Functions
Ethernet
S
ervice re
qu
e
s
t
s
witch
P
a
r
a
meter
s
UNIX comp
u
ter, etc.
(node with
s
ocket
s
ervice
s
interf
a
ce)
CP2E-N
-type
CPU Unit
TCP/UDP
protocol
TCP/UDP
protocol
IP
TCP
UDP
S
ocket
1. M
a
ke the
bas
ic
s
etting
s
.
Refer to
15-3-3
Basic Settings
.
2. U
s
e the CX-Progr
a
mmer or Progr
a
mming Con
s
ole to m
a
ke the
s
ocket
s
ervice
s
etting
s
in the
s
ocket
s
ervice p
a
r
a
meter
a
re
as
1 to 3 (m+8 to m+37)
a
lloc
a
ted in the DM Are
a
.
Note
The fir
s
t word m in the
a
lloc
a
ted DM Are
a
= D16000
3.
S
elect
Tran
s
fer to PLC
from the Option
s
Men
u
,
a
nd then click the
Ye
s
bu
tton. The
S
et
u
p d
a
t
a
in the
a
lloc
a
ted DM Are
a
will
b
e tr
a
n
s
ferred to the
CPU Unit.
Summary of Contents for SYSMAC CP Series
Page 3: ......
Page 32: ...1 Overview 1 4 CP2E CPU Unit Software User s Manual W614 ...
Page 44: ...3 CPU Unit Operation 3 8 CP2E CPU Unit Software User s Manual W614 ...
Page 116: ...6 I O Allocation 6 8 CP2E CPU Unit Software User s Manual W614 ...
Page 144: ...7 PLC Setup 7 28 CP2E CPU Unit Software User s Manual W614 ...
Page 170: ...10 Interrupts 10 14 CP2E CPU Unit Software User s Manual W614 ...
Page 200: ...11 High speed Counters 11 30 CP2E CPU Unit Software User s Manual W614 ...
Page 272: ...12 Pulse Outputs 12 72 CP2E CPU Unit Software User s Manual W614 ...
Page 278: ...13 PWM Outputs 13 6 CP2E CPU Unit Software User s Manual W614 ...
Page 460: ...18 Programming Device Operations 18 28 CP2E CPU Unit Software User s Manual W614 ...
Page 576: ...Revision 2 CP2E CPU Unit Software User s Manual W614 ...
Page 577: ......