EasyManuals Logo
Home>Omron>Computer Hardware>SYSMAC CP2E-N D Series

Omron SYSMAC CP2E-N D Series User Manual

Omron SYSMAC CP2E-N D Series
578 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #373 background imageLoading...
Page #373 background image
15-43
15 Ethernet
CP2E CPU Unit Software User’s Manual(W614)
15-5 Socket Services
15
15-5-6 Data Memory Area Allocations
z Socket Services Parameter Area 1 to 3
When socket services are requested by control bit manipulation, the settings must be made in
advance in a Socket Service Parameter Area. The parameters used will vary depending on the ser-
vice requested.
The following table shows the parameters that are required for each service and the use of the
parameters by the socket service.
z UDP Socket Services
Note W: Written by user
RW: Written by user at execution and then read for results at completion
R: Read by user for results at completion
---: Not used.
Parameter Settings
Parameter No. of
words
Range
(decimal values in parentheses)
Socket service
UDP
open
UDP
receive
UDP
send
UDP
close
Socket option 1 Specified bit --- --- --- ---
UDP/TCP socket No. 0001 to 0003 hexadecimal
(1 to 3)
W W W W
Local UDP/TCP port No. 1 0000 to FFFF hexadecimal
(0 to 65,535)
W --- --- ---
Remote IP address 2 00000000 to FFFFFFFF
hexadecimal
(0.0.0.0 to 255.255.255.255)
--- R W ---
Remote UDP/TCP port No. 1 0000 to FFFF hexadecimal
(0 to 65,535)
--- R W ---
Number of bytes to
send/receive
1 0000 to 0400 hexadecimal
(0 to 1,024 bytes)
--- RW RW ---
Send/Receive data address 2 Memory area address --- W W ---
Time out time
(Unit: 100 ms)
1 0000 to FFFF hexadecimal
(0 to 65,535)
(0: No limit, 0.1 to 6,553.5 s)
--- W --- ---
Response code 1 --- R R R R
Offset Socket
No. 1
Socket
No. 3
Socket option UDP/TCP socket number (1 to 3)
Local UDP/TCP port number (0000 to FFFF Hex)
Remote IP address
(00000000 to FFFFFFFF Hex)
Number of send/receive bytes (0000 to 0400 Hex (1024))
Send/receive data address
(Same as FINS variable area designation method.)
Timeout value (0000 to FFFF Hex)
Response code
Remote UDP/TCP port number (0000 to FFFF Hex)
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
...
+0
+1
+2
+4
+5
+6
+8
+9
m+8 m+28
...
m+9 m+29
m+10
m+11
m+30
m+31
m+12 m+32
...
m+13 m+33
m+14 m+34
m+15 m+35
m+16 m+36
m+17 m+37
...

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron SYSMAC CP2E-N D Series and is the answer not in the manual?

Omron SYSMAC CP2E-N D Series Specifications

General IconGeneral
BrandOmron
ModelSYSMAC CP2E-N D Series
CategoryComputer Hardware
LanguageEnglish

Related product manuals