Built-In Ethernet Function Instructions - Mitsubishi Electric MELSEC iQ-R Series Programming Manual

Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

2.4

Built-in Ethernet Function Instructions

Open/close processing instructions
■Opening a connection
Instruction symbol
SP.SOCOPEN
■Closing a connection
Instruction symbol
SP.SOCCLOSE
Socket communications instructions
■Reading receive data during the END processing
Instruction symbol
SP.SOCRCV
■Reading receive data when the instruction is executed
Instruction symbol
S.SOCRCVS
■Sending data
Instruction symbol
SP.SOCSND
■Reading connection information
Instruction symbol
SP.SOCCINF
■Changing the communication target (UDP/IP)
Instruction symbol
SP.SOCCSET
■Changing the receive mode
Instruction symbol
SP.SOCRMODE
■Reading socket communications receive data
Instruction symbol
S.SOCRDATA
SP.SOCRDATA
2 CPU MODULE INSTRUCTIONS
118
2.4 Built-in Ethernet Function Instructions
Processing details
Opens the connection specified by (s1).
Processing details
Closes the connection specified by (s1). (Closing a connection)
Processing details
Reads the receive data of the connection specified by (s1) during END processing from the socket
communication receive data area.
Processing details
Reads the receive data of the connection specified by (s) during instruction execution from the
socket communication receive data area.
Processing details
Sends the data in the device specified by (s3) to the external device of the connection specified by
(s1).
Processing details
Reads the connection information of the connection specified by (s1).
Processing details
Changes the communication target IP address and port number of the connection specified by
(s1).
(UDP/IP communications only)
Processing details
Changes the TCP receive mode and receive data size for the connection specified by (s1).
Processing details
Reads data by the number of words specified by (n) from the socket communication receive data
area of the connection specified by (s1), and stores them in the device specified by (d) and later.
Reference
Page 1085
SP.SOCOPEN
Reference
Page 1088
SP.SOCCLOSE
Reference
Page 1090
SP.SOCRCV
Reference
Page 1093
S.SOCRCVS
Reference
Page 1096
SP.SOCSND
Reference
Page 1099
SP.SOCCINF
Reference
Page 1101
SP.SOCCSET
Reference
Page 1103
SP.SOCRMODE
Reference
Page 1107
S(P).SOCRDATA

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents