Socket Communication Function Instructions - Mitsubishi MELSEC L Series User Manual

Cpu module, built-in ethernet function
Hide thumbs Also See for MELSEC L Series:
Table of Contents

Advertisement

6.4

Socket Communication Function Instructions

The socket communication function instructions are provided for the CPU module to use the socket communication
function.
This section explains the socket communication function instructions.
The following is a list of the instructions.
Instruction
SP.SOCOPEN
SP.SOCCLOSE
SP.SOCRCV
S.SOCRCVS
SP.SOCSND
SP.SOCCINF
SP.SOCCSET
SP.SOCRMODE
S(P).SOCRDATA
● For configuration of data communication using the socket communication function, refer to:
Page 49, Section 6.2
● If the instruction has a completion device, do not change any data, such as control data and request data, that are
specified for the instruction until the execution of the instruction is completed.
● Do not execute any socket communication function instruction in an interrupt program.
● For error codes, refer to the following.
MELSEC-Q/L Programming Manual (Common Instructions)
Description
Establishes a connection.
Closes a connection.
Reads out received data (in END processing).
Reads out received data (upon instruction execution).
Sends data.
Reads out connection information.
Changes the target of the connection for UDP/IP
communication.
Changes receive mode of the connection.
Reads out data from the socket communication receive data
area.
CHAPTER 6 SOCKET COMMUNICATION FUNCTION
Page 58, Section 6.4.1
Page 63, Section 6.4.2
Page 66, Section 6.4.3
Page 69, Section 6.4.4
Page 72, Section 6.4.5
Page 75, Section 6.4.6
Page 78, Section 6.4.7
Page 80, Section 6.4.8
Page 83, Section 6.4.9
Reference
6
Page 40, Section 6.1,
57

Advertisement

Table of Contents
loading

Table of Contents