Справочник Пользователя для Mitsubishi Electronics MELSEC Q series MELSEC L series

Скачать
Страница из 412
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
SP_SOCOPEN
, , , 
Establishes a connection.
SP_SOCCLOSE
, , , 
Shuts a connection off.
Reading receive 
data
SP_SOCRCV
, , , , 
Reads receive data. (Reading at the end process)
S_SOCRCVS
, , 
Reads receive data. (Reading at the instruction 
execution)
Sending data
SP_SOCSND
, , , , 
Sends data.
Reading 
connection 
information
SP_SOCCINF
, , , 
Reads connection information.
Changing 
destination
SP_SOCCSET
, , 
Changes a destination of a UDP/IP connection.
Changing receive 
mode
SP_SOCRMODE
, , 
Changes the receive mode of a connection.
Reading data from 
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