113
CHAPTER 7 SOCKET COMMUNICATION FUNCTION
7
7.4 Socket Communication F
unction
Instr
uctions
7.4.3 R
eading out re
ceive
d data in the END
processing (SP.SOCRCV)
7.4.3
Reading out received data in the END processing
(SP.SOCRCV)
*1
File registers set for each local device or program cannot be used.
(1) Setting data
*2
The "Set by" column indicates the following.
User: The data must be set before executing the SP.SOCRCV instruction.
System: The CPU module stores the execution result of the SP.SOCRCV instruction.
When replacing the ZP.BUFRCV instruction (Ethernet module dedicated instruction), dummy argument can be used in a
Built-in Ethernet port QCPU instruction without rewriting.
Setting
data
Internal device
R, ZR
J
\
U
\G
Zn
Constant
K, H
Others
Bit
Word
Bit
Word
-
-
-
-
*1
*1
-
-
-
-
*1
*1
-
-
-
*1
(except for
T, ST, and
C)
*1
-
-
-
Setting data
Description
Set by
*2
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
specified
System
Device name
Start number of the device from which receive data are stored
Start number of the device which turns on for one scan upon
completion of the instruction
+1 also turns on when failed.
Bit
SP.SOCRCV
SP.SOCRCV
U0
S1
S2
D1
D2
Command
S1
S2
D1
D2
S1
S2
D1
D2
D2
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: ......