Socrcv Instruction - Mitsubishi MELSEC-L series Programming Manual

Hide thumbs Also See for MELSEC-L series:
Table of Contents

Advertisement

SP_SOCRCV
7.3

SOCRCV Instruction

SP_SOCRCV
Structured ladder
SP_SOCRCV
EN
ENO
Un
d1
s1
d2
s2
Input argument
EN:
Un:
s1:
s2:
Output argument
ENO:
d1:
d2:
Function
This instruction reads receive data of a specified connection from the socket communication
receive data area at the end process performed after the instruction execution.
7.3 SOCRCV Instruction
7-8
ST
(EN, Un, s1,s2,d1,d2);
ENO:=
SP_SOCRCV
Executing condition
Dummy ("U0")
Connection number (1 to 16)
Variable that stores control data
Output status
Start number of the device that stores receive data
Variable that turns ON during one scan upon completion of the
instruction
d2[1] also turns ON at the time of error completion.
Internal device
Setting
R, ZR
data
Bit
Word
s1
*1
s2
*1
d1
*1
d2
Executing condition :
SP_SOCRCV
:Bit
:String
:ANY16
:Array of ANY16 [0..1]
:Bit
:ANY16
:Array of bit [0..1]
J
\
U
Bit
Word
*1
*1
*1
*1: Local devices and file registers per program cannot be used as setting data.
SP_SOCRCV
QnUDE(H)
L CPU
indicates the following instruction.
Constant
Zn
Others
\G
K, H

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec-q series

Table of Contents