133
CHAPTER 7 SOCKET COMMUNICATION FUNCTION
7
7.4 Socket Communication F
unction
Instr
uctions
7.4.9 Socket communication re
ceive
data rea
d (S(P)
.SOCR
DATA)
7.4.9
Socket communication receive data read (S(P).SOCRDATA)
(1) Setting data
*1
The "Set by" column indicates the following.
User: The data must be set before executing the S(P).SOCRDATA instruction.
*2
1 to 1024 for the QnUDE(H)CPU with a serial number (first five digits) of "12051" or earlier
(2) Control data
*2
The "Set by" column indicates the following.
System: The CPU module stores the execution result of the S(P).SOCRDATA instruction.
Setting
data
Internal device
R, ZR
J
\
U
\G
Zn
Constant
K, H
Others
Bit
Word
Bit
Word
-
-
-
-
-
-
-
-
-
-
-
n
-
-
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
Device name
Start number of the device where read data are stored
n
Number of read data (1 to 5120 words
*2
)
BIN 16-bit
Device
Item
Description
Setting range
Set by
*2
+0
System area
-
-
-
+1
Completion
status
Completion status is stored.
0000
H
: Completed
Other than 0000
H
: Failed (Error code)
-
System
Command
Command
S.SOCRDATA
SP.SOCRDATA
S.SOCRDATA
SP.SOCRDATA
U0
U0
S1
S2
D
n
S1
S2
D
n
S1
S2
D
S1
S2
D
S2
S2
Summary of Contents for melsec q03ud(E)cpu
Page 2: ......
Page 11: ...9 Memo ...
Page 209: ...207 APPENDICES A Appendix 4 Specifications Comparison with Ethernet Module Memo ...
Page 213: ...211 Memo ...
Page 219: ......