129
CHAPTER 7 SOCKET COMMUNICATION FUNCTION
7
7.4 Socket Communication F
unction
Instr
uctions
7.4.8 C
hanging the r
eceive mode of a connection (SP.SOCRMODE)
7.4.8
Changing the receive mode of a connection (SP.SOCRMODE)
(1) Setting data
*1
The "Set by" column indicates the following.
User: The data must be set before executing the SP.SOCRMODE instruction.
System: The CPU module stores the execution result of the SP.SOCRMODE instruction.
(2) Control data
*2
Invalid for connections in UDP communications.
*3
The "Set by" column indicates the following.
User: The data must be set before executing the SP.SOCRMODE instruction.
System: The CPU module stores the execution result of the SP.SOCRMODE instruction.
*4
1 to 2046 for the QnUDE(H)CPU with a serial number (first five digits) of "12051" or earlier
Setting
data
Internal device
R, ZR
J
\
U
\G
Zn
Constant
K, H
Others
Bit
Word
Bit
Word
-
-
-
-
-
-
-
Setting data
Description
Set by
*1
Data type
U0
Dummy
-
Character string
Connection number (Setting range: 1 to 16)
User
BIN 16-bit
Start number of the device from which control data are stored
User, System
Device name
Device
Item
Description
Setting range
Set by
*3
+0
System area
-
-
-
+1
Completion
status
Completion status is stored.
0000
H
: Completed
Other than 0000
H
: Failed (Error code)
-
System
+2
TCP receive
mode
*2
TCP receive mode is stored.
0: TCP standard receive mode
1: TCP fixed-length receive mode
0 or 1
User
+3
Receive data size
Receive data size in the socket communication
is stored (in bytes).
1 to 10238
*4
SP.SOCRMODE
SP.SOCRMODE
U0
S1
S2
Command
S1
S2
S1
S2
S2
S2
S2
S2
Содержание melsec q03ud(E)cpu
Страница 2: ......
Страница 11: ...9 Memo ...
Страница 209: ...207 APPENDICES A Appendix 4 Specifications Comparison with Ethernet Module Memo ...
Страница 213: ...211 Memo ...
Страница 219: ......