Reading Out Received Data In The End Processing (Sp.socrcv) - Mitsubishi MELSEC L Series User Manual

Cpu module, built-in ethernet function
Hide thumbs Also See for MELSEC L Series:
Table of Contents

Advertisement

6.4.3

Reading out received data in the END processing (SP.SOCRCV)

SP.SOCRCV
Internal device
Setting
data
Bit
S1
S2
D1
D2
*1
File registers set for each local device or program cannot be used.
(1) Setting data
Setting data
U0
S1
S2
D1
D2
*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
Device
+0
S2
+1
S2
+0
D1
+1
D1
to
+n
D1
*3
The "Set by" column indicates the following.
System: The CPU module stores the execution result of the SP.SOCRCV instruction.
66
Command
R, ZR
Word
-
*1
*1
-
*1
*1
-
*1
*1
-
Dummy
Connection number (Setting range: 1 to 16)
Start number of the device from which control data are
specified
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.
D2
Item
System area
Completion status is stored.
Completion
0000
: Completed
H
status
Other than 0000
The length of the data which were read out from
Receive data
the Socket communication receive data area is
length
stored (in bytes).
The data which were read out from the Socket
Receive data
communication receive data area are stored in
order.
SP.SOCRCV
U0
J \
U \G
Bit
Word
-
-
-
-
Description
Description
-
: Failed (Error code)
H
S1
S2
D1
D2
Constant
Zn
Others
K, H
-
-
-
-
-
-
-
*2
Set by
-
Character string
User
System
Setting range
-
-
0 to 2046
-
Data type
BIN 16-bit
Device name
Bit
*3
Set by
-
System

Advertisement

Table of Contents
loading

Table of Contents