Socrdata Instruction - Mitsubishi Electric MELSEC-L Special Instructions Manual

Melsec-q/l structured programming manual
Hide thumbs Also See for MELSEC-L:
Table of Contents

Advertisement

7.7

SOCRDATA Instruction

S(P)_SOCRDATA
QnUDE(H) LCPU
Structured ladder/FBD
S_SOCRDATA
EN
Un
s1
s2
n
The following instruction can go in the dotted squares.
S_SOCRDATA, SP_SOCRDATA
■Executing condition
Instruction
S_SOCRDATA
SP_SOCRDATA
■Argument
Input/output
argument
Input argument
Output argument
Setting
Internal device
data
Bit
(s1)
(s2)
n
(d)
Processing details
This instruction reads data for the specified number of words from the socket communication receive data area of a specified
connection, and stores it.
7 SOCKET COMMUNICATION FUNCTION INSTRUCTION
270
7.7 SOCRDATA Instruction
ENO
ENO:=
S_SOCRDATA
d
Executing condition
Name
Description
EN
Executing condition
Un
Dummy ("U0")
s1
Connection number (1 to 16)
s2
Variable that stores control data
n
Number of read data (1 to 1024 words)
ENO
Execution result
d
Variable that stores read data
R, ZR
Word
ST
(EN, Un, s1, s2, n, d);
J\
U\G
Bit
Word
Data type
Bit
String
ANY16
Array of ANY16 [0..1]
ANY16
Bit
ANY16
Zn
Constant
K, H
Others

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec-q

Table of Contents