Socket Communication Function Instructions - Mitsubishi L02CPU User Manual

Melsec-l series
Hide thumbs Also See for L02CPU:
Table of Contents

Advertisement

7.4

Socket Communication Function Instructions

The socket communication function instructions are provided for the CPU module to use the socket communication
function.
This section describes 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 66, Section 7.1, Page
77, Section 7.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 Instruction)
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 7 SOCKET COMMUNICATION FUNCTION
Page 86, Section 7.4.1
Page 92, Section 7.4.2
Page 95, Section 7.4.3
Page 99, Section 7.4.4
Page 102, Section 7.4.5
Page 106, Section 7.4.6
Page 109, Section 7.4.7
Page 111, Section 7.4.8
Page 114, Section 7.4.9
Reference
7
85

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents