Справочник Пользователя для Mitsubishi Electronics MELSEC Q series MELSEC L series
2.4 Socket Communication Function Instruction
2-11
2
INSTRU
CTION
TABLES
2.4
Socket Communication Function Instruction
Classification
Instruction name
Argument
Processing details
Executing
condition
Page
Opening/closing
connection
connection
SP_SOCOPEN
, , ,
Establishes a connection.
SP_SOCCLOSE
, , ,
Shuts a connection off.
Reading receive
data
data
SP_SOCRCV
, , , ,
Reads receive data. (Reading at the end process)
S_SOCRCVS
, ,
Reads receive data. (Reading at the instruction
execution)
execution)
Sending data
SP_SOCSND
, , , ,
Sends data.
Reading
connection
information
connection
information
SP_SOCCINF
, , ,
Reads connection information.
Changing
destination
destination
SP_SOCCSET
, ,
Changes a destination of a UDP/IP connection.
Changing receive
mode
mode
SP_SOCRMODE
, ,
Changes the receive mode of a connection.
Reading data from
receive data area
receive data area
S_SOCRDATA
, , ,
n,
Reads data from the receive data area.
SP_SOCRDATA
s1
s2
d
s1
s2
d
s1
s2
d1
d2
s
d
s1
s2
s3
d
s1
s2
d
s1
s2
s1
s2
s1
s2
d