Socket Communication Receive Data Read (S(P).Socrdata) - Mitsubishi L02CPU User Manual

Melsec-l series
Hide thumbs Also See for L02CPU:
Table of Contents

Advertisement

7.4.9

Socket communication receive data read (S(P).SOCRDATA)

S.SOCRDATA
SP.SOCRDATA
Setting data
S1
S2
D
n
(1) Setting data
Setting data
U0
S1
S2
D
n
*1
The "Set by" column indicates the following.
User: The data must be set before executing the S(P).SOCRDATA instruction.
(2) Control data
Device
+0
S2
+1
S2
*1
The "Set by" column indicates the following.
System: The CPU module stores the execution result of the S(P).SOCRDATA instruction.
(3) Function
This instruction reads out the data of the amount specified for n from the Socket communication receive data
area of the connection specified in
performed when the number of read data (n) is 0.
114
Command
Internal device
R, ZR
Bit
Word
Description
Dummy
Connection number (Setting range: 1 to 16)
Start number of the device from which control data are stored
Start number of the device where read data are stored
Number of read data (1 to 1024 words)
Item
System area
Completion status is stored
Completion
0000
: Completed normally
H
status
Other than 0000
, and stores them in the device specified in
S1
S.SOCRDATA
"U0"
S1
SP.SOCRDATA "U0"
S1
J\
U\G
Bit
Word
Description
: Failed (Error code)
H
S2
D
n
S2
D
n
Constant
Zn
Others
K, H
*1
Data type
Set by
Character string
BIN 16-bit
User
Device name
BIN 16-bit
Setting range
Set by
System
or higher. No processing is
D
*1

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents