Reading Out Received Data During Instruction Execution (S.socrcvs) - 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.4
Reading out received data during instruction execution
(S.SOCRCVS)
S.SOCRCVS
Internal device
Setting
data
Bit
S
D
(1) Setting data
Setting data
U0
S
D
*1
The "Set by" column indicates the following.
User: The data must be set before executing the S.SOCRCVS instruction.
System: The CPU module stores the execution result of the S.SOCRCVS instruction.
When replacing the Z.BUFRCVS instruction (Ethernet module dedicated instruction), dummy argument can be used in a
Built-in Ethernet port QCPU instruction without rewriting.
(2) Control data
Device
+0
D
+1
D
to
+n
D
*2
The "Set by" column indicates the following.
System: The CPU module stores the execution result of the S.SOCRCVS instruction.
*3
0 to 2046 for the QnUDE(H)CPU with a serial number (first five digits) of "12051" or earlier
Command
R, ZR
Word
-
-
Description
Dummy
Connection number (Setting range: 1 to 16)
Start number of the device from which received data are
stored
Item
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
ascending order of addresses.
CHAPTER 7 SOCKET COMMUNICATION FUNCTION
S.SOCRCVS
U0
J\
U\G
Bit
Word
-
-
Description
S
D
Constant
Zn
Others
K, H
-
*1
Data type
Set by
-
Character string
User
BIN 16-bit
System
Device name
*2
Setting range
Set by
*3
0 to 10238
System
-
117
-
-
7

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents