15 Ethernet
15-46
CP2E CPU Unit Software User’s Manual(W614)
z
Send/Receive Data Address
Specify the address of the first word to send or the address of the first word where data is to be
received. Always set the bit number to 00 hexadecimal.
The following specifications can be used.
z
Response Codes
When processing of a request has been completed for socket services executed using Socket Ser-
vice Request Switches, a response code will be stored in the Response Code word in the Socket
Service Parameter Area. The following response codes will be stored depending on the service that
was requested.
UDP Socket Open Request
Area
Word address
Area
designation
(hexadecimal)
Word address
(hexadecimal)
CIO, HR,
and AR
Areas
CIO
0000 to 02
8
9 B0 0000
to
0121
HR
H000 to H127
B2
0000 to 007F
AR A44
8
to A959
B
3
01C0 to 0
3
BF
DM Area DM
D00000 to D16
383
8
2 0000
to
3
FFF
Response
code
Meaning
0000
Normal end
0105
Local IP address setting error.
1100
UDP socket number is not 1 to
8
or local UDP port number is 0.
110C
Request Switch turned ON during other processing.
220F
Specified socket is already open.
2211
Unit is busy; cannot execute.
2606
Specified socket is already open as TCP socket; cannot open UDPsocket.
2607
Specified Socket Service Parameter Area is already being used foranother socket.
0049
The same UDP port number has been specified more than once (EADDRINUSE).
00
8
1
The specified socket was closed during open processing.
Offset
15
8
7
0
+6
+7
Area
designation
Rightmost 2 digits
of
w
ord address
Bit n
u
m
b
er
(al
w
ays 00 Hex)
Leftmost 2 digits
of
w
ord 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: ......