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

Qnucpu series (communication via built-in ethernet port)
Hide thumbs Also See for Q03UDVCPU:
Table of Contents

Advertisement

7.4.9

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

S.SOCRDATA
SP.SOCRDATA
Internal device
Setting
data
Bit
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
1 to 1024 for the QnUDE(H)CPU with a serial number (first five digits) of "12051" or earlier
(2) Control data
Device
+0
S2
+1
S2
*2
The "Set by" column indicates the following.
System: The CPU module stores the execution result of the S(P).SOCRDATA instruction.
Command
Command
R, ZR
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 5120 words
Item
System area
Completion status is stored.
Completion
0000
: Completed
H
status
Other than 0000
CHAPTER 7 SOCKET COMMUNICATION FUNCTION
S.SOCRDATA
U0
S1
SP.SOCRDATA
U0
S1
J\
U\G
Bit
Word
-
-
-
-
*2
)
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
*2
Setting range
Set by
-
-
-
System
133
-
-
-
-
7

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents