Appendix 4
This section describes the dedicated instruction that can be used in Ethernet.
For details on dedicated instructions, refer to the following.
MELSEC iQ-R Programming Manual (CPU Module Instructions, Standard Functions/Function Blocks)
MELSEC iQ-R Programming Manual (Module Dedicated Instructions)
Open/close instructions
The following table lists the dedicated instructions used for open or close processing.
: Available, : Not available
Instruction
Description
GP.CONOPEN
Establishes a connection.
SP.SOCOPEN
OPEN
GP.CONCLOSE
Closes the connection.
SP.SOCCLOSE
CLOSE
Instructions for predefined protocol communications
The following table lists the dedicated instructions used for communications using the predefined protocol.
: Available, : Not available
Instruction
Description
GP.ECPRTCL
Executes the protocol registered with the engineering tool's communication
protocol support function.
SP.ECPRTCL
*1
SP.SOCCINF
Reads connection information
*1
SP.SOCCSET
Changes the communication target
*1 These instructions are the same as the instruction for the socket communications (SP.SOCCINF/SP.SOCCSET). ( MELSEC iQ-R
Programming Manual (CPU Module Instructions, Standard Functions/Function Blocks))
*2 Only the following models can be used. The supporting firmware version differs depending on the model.
R00CPU, R01CPU, R02CPU: There are no restrictions on the version.
Programmable controller CPUs other than the above: "29" or later
APPX
374
Appendix 4 Dedicated Instruction
Dedicated Instruction
Availability
RJ71EN71,
CPU module (built-in
RnENCPU (network
Ethernet port part)
part)
Availability
RJ71EN71,
CPU module (built-in
RnENCPU (network
Ethernet port part)
part)
*2
*2