Socket Communication Function Instructions - Mitsubishi Electric Q03UDVCPU User Manual

Qnucpu series (communication via built-in ethernet port)
Hide thumbs Also See for Q03UDVCPU:
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 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 97, 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.
QCPU User's Manual (Hardware Design, Maintenance and Inspection)
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
Reference
Page 106, Section
7.4.1
Page 110, Section
7.4.2
Page 113, Section
7.4.3
Page 117, Section
7.4.4
Page 120, Section
7.4.5
7
Page 124, Section
7.4.6
Page 127, Section
7.4.7
Page 129, Section
7.4.8
Page 133, Section
7.4.9
Page 88, Section 7.1,
105

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents