66
6.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.
(2) Control data
*3
The "Set by" column indicates the following.
System: The CPU module stores the execution result of the SP.SOCRCV instruction.
Setting
data
Internal device
R, ZR
J
\
U
\G
Zn
Constant
K, H
Others
Bit
Word
Bit
Word
-
-
-
-
*1
*1
-
-
-
-
*1
*1
-
-
-
*1
-
*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
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
+0
Receive data
length
The length of the data which were read out from
the Socket communication receive data area is
stored (in bytes).
0 to 2046
+1
to
+n
Receive data
The data which were read out from the Socket
communication receive data area are stored in
order.
-
SP.SOCRCV
SP.SOCRCV
U0
S1
S2
D1
D2
Command
S1
S2
D1
D2
S1
S2
D1
D2
D2
S2
S2
D1
D1
D1
Summary of Contents for MELSEC L Series
Page 1: ......
Page 2: ......
Page 19: ...17 CHAPTER 1 OVERVIEW 1 Memo ...
Page 116: ...114 Memo ...
Page 123: ......