Socket Communication Function Instruction - Mitsubishi MELSEC-L series Programming Manual

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

Advertisement

2.4

Socket Communication Function Instruction

Classification
Instruction name
SP_SOCOPEN
Opening/closing
connection
SP_SOCCLOSE
SP_SOCRCV
Reading receive
data
S_SOCRCVS
Sending data
SP_SOCSND
Reading
connection
SP_SOCCINF
information
Changing
SP_SOCCSET
destination
Changing receive
SP_SOCRMODE
mode
S_SOCRDATA
Reading data from
receive data area
SP_SOCRDATA
2.4 Socket Communication Function Instruction
2-10
2.3.2 PID control instruction (exact differential)
Argument
Establishes a connection.
,
,
,
s1
s2
d
Shuts a connection off.
,
,
,
s1
s2
d
Reads receive data. (Reading at the end process)
,
,
,
,
s1
s2
d1
d2
Reads receive data. (Reading at the instruction
,
,
s
d
execution)
Sends data.
,
,
,
,
s1
s2
s3
d
Reads connection information.
,
,
,
s1
s2
d
Changes a destination of a UDP/IP connection.
,
,
s1
s2
Changes the receive mode of a connection.
,
,
s1
s2
Reads data from the receive data area.
,
,
,
s1
s2
d
Processing details
Executing
Page
condition
7-2
7-5
7-8
7-11
7-13
7-16
7-19
7-22
7-24

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec-q series

Table of Contents