Mitsubishi Electronics MELSEC Q series MELSEC L series Home Theater Server User Manual


 
7.4 SOCRCVS Instruction
7-11
7
SOCKET COMMUNICATION
FUNCTION INSTRUCTION
S_SOCRCVS
S_SOCRCVS
7.4 SOCRCVS Instruction
S_SOCRCVS
Function
This instruction reads receive data of a specified connection from the socket communication
receive data area.
Control Data
S_SOCRCVS
Executing condition
:
indicates the following instruction.
S_SOCRCVS
Input argument EN:
Executing condition :Bit
Un:
Dummy ("U0") :String
s:
Connection number (1 to 16) :ANY16
Output argument ENO:
Execution result :Bit
d:
Start number of the device that stores receive data :ANY16
Setting
data
Internal device
R, ZR
J\
U\G
Zn
Constant
K, H
Others
Bit Word Bit Word


Device Item Setting data Setting range Setting side
[0]
Receive data length
Data length of the data read from the socket communication receive
data area is stored.
(number of bytes)
0 to 2046 System
+1
to
+n
Receive data
Data read from the socket communication receive data area are stored
in ascending address order.
System
QnUDE(H)
LCPU
S_SOCRCVS
EN
ENO
d
s
ST
S_SOCRCVS
(EN, Un, s, d);
ENO:=
Un
Structured ladder/FBD
s
d
d
d
d