![background image](http://html.mh-extra.com/html/omron/sysmac-cp-series/sysmac-cp-series_user-manual_742262375.webp)
15-45
15 Ethernet
CP2E CPU Unit Software User’s Manual(W614)
15-5 Soc
ket Ser
vic
es
15
15-5-6 D
ata Memor
y
Are
a Alloca
tions
z
Remote IP Address
Specify the IP address of the remote device.
•
2 in the Socket Service Parameter Area contains the upper bytes of the Remote IP
Address, and
3
contains the lower bytes.
Example: The contents of o2 and +
3
would be as shown below when the Remote IP
Address is 196.
3
6.
3
2.55 (C4.24.20.
3
7 hexadecimal).
+2: C424
+
3
: 20
3
7
•
This parameter is not used when making a receive request for a UDP socket. The remote IP
address will be stored with the response data and will be written as the Remote IP Address in the
Socket Service Parameter Area.
•
When opening a passive TCP socket, the combination of the remote IP address and the remote
TCP port number can be used to affect processing as shown in the following table.
If the Remote IP Address is set to 0, a connection can be made to any remote node and the remote
IP address of the node that is connected will be stored as the Remote IP Address in the Socket Ser-
vice Parameter Area. If a specific remote IP address is set, then a connection can be made only to
the node with the specified address.
If the Remote TCP Port No. is set to 0, a connection can be made to any remote node regardless of
the TCP port number it is using. If a specific remote TCP port number is set, then a connection can
be made only to a node using the specified TCP port number.
z
Remote UDP/TCP Port No.
Specify the UDP or TCP port number used by the remote device.
•
This parameter is not used when making a receive request for a UDP socket. The remote
UDP/TCP port number will be stored with the response data and will be written as the Remote
UDP/TCP Port No. in the Socket Service Parameter Area.
•
When opening a passive TCP socket, the combination of the remote IP address and the remote
TCP port number can be used to affect processing as shown in the table for the Remote IP
Address, above. If the Remote UDP/TCP Port No. is set to 0, the UDP/TCP port number of the
remote device will be written as the Remote UDP/TCP Port No. in the Socket Service Parameter
Area.
z
Time Out Time
Set the time limit in units of 0.1 s for completion of communications from the time that the Receive
Request Switch (TCP or UDP) or the TCP Passive Open Request Switch is turned ON. A response
code of 00
8
0 hexadecimal (timeout) will be stored if communications time out. If 0 is set, the
requested service will not be timed.
z
Number of Bytes to Send/Receive
Send the number of bytes to be sent or the number of bytes to receive. When the transfer has been
completed, the actual number of bytes that have been sent or received will be written here.
Remote IP
Address
Remote TCP
Port No.
Processing
0
0
All connection requests accepted.
0
Not 0
Connection requests accepted only for the
same port number.
Not 0
0
Connection requests accepted only for the
same IP address.
Not 0
Not 0
Connection requests accepted only for the
same port number and IP address.
Содержание SYSMAC CP Series
Страница 1: ...USER S MANUAL Cat No W614 E1 01 SYSMAC CP Series CP2E E D CP2E S D CP2E N D CP2E CPU Unit Software ...
Страница 3: ......
Страница 32: ...1 Overview 1 4 CP2E CPU Unit Software User s Manual W614 ...
Страница 44: ...3 CPU Unit Operation 3 8 CP2E CPU Unit Software User s Manual W614 ...
Страница 116: ...6 I O Allocation 6 8 CP2E CPU Unit Software User s Manual W614 ...
Страница 144: ...7 PLC Setup 7 28 CP2E CPU Unit Software User s Manual W614 ...
Страница 170: ...10 Interrupts 10 14 CP2E CPU Unit Software User s Manual W614 ...
Страница 200: ...11 High speed Counters 11 30 CP2E CPU Unit Software User s Manual W614 ...
Страница 272: ...12 Pulse Outputs 12 72 CP2E CPU Unit Software User s Manual W614 ...
Страница 278: ...13 PWM Outputs 13 6 CP2E CPU Unit Software User s Manual W614 ...
Страница 460: ...18 Programming Device Operations 18 28 CP2E CPU Unit Software User s Manual W614 ...
Страница 576: ...Revision 2 CP2E CPU Unit Software User s Manual W614 ...
Страница 577: ......