Mitsubishi MELSEC-L series Programming Manual page 347

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

Advertisement

Control Data
Device
Item
System area
[0]
s2
Completion status
[1]
s2
Precautions
Use the Built-in Ethernet port QCPU of which the function version is B or later and the first five
digits of the serial number are '11012' or higher.
Program Example
The following program reads the receive data length of the connection number 1.
[Structured ladder]
[ST]
IF((LDP(TRUE, Var_Flag_Inst)) &(SD1282.0=TRUE) &(SD1286.0=TRUE))THEN
SP_SOCRDATA(TRUE, "U0", 1, Var_ControlData, 1, D4000);
END_IF;
Setting data
The instruction application status is stored.
0
: Normal completion
Other than 0
: Error completion (error code)
(* Reads receive data length of connection number 1 *)
7.9 SOCRDATA Instruction
S_SOCRDATA
Setting range
Setting side
System
Reads receive data
length of the
connection number 1
7-25
7

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec-q series

Table of Contents