Mitsubishi Electric Q03UDVCPU User Manual page 95

Qnucpu series (communication via built-in ethernet port)
Hide thumbs Also See for Q03UDVCPU:
Table of Contents

Advertisement

(3) Program example for Passive open
The following shows a communication flow of a Passive open.
(a) Parameter setting
The following parameters are set for the sample program.
Project window
button can be used with the QnUDVCPU.
*1
• For "Ethernet Conf.", drag and drop "Unpassive Connection Module" or "Fullpassive Connection Module"
from "Module List" to the left side on the window. Set the port numbers and IP address as mentioned below.
Item
PLC
Port No.
IP Address
Sensor/Device
Port No.
Start
Waiting for TCP connection in
Passive open state.
NO
Send or receive?
YES
Send by the SP.SOCSND
instruction, or receive by
the SP.SOCRCV or
S.SOCRCVS instruction.
[Parameter]
[PLC Parameter]
*1
/
button
4096 (Setting range: 1 to 4999, 5010 to 65534)
Do not specify 5000 to 5009 because these ports are used by the system.
(
Page 200, Appendix 2)
Blank.
When "Fullpassive Connection Module" is selected, a value must be set.
(Setting range: 0.0.0.1 to 223.255.255.254)
Blank.
When "Fullpassive Connection Module" is selected, a value must be set.
(Setting range: 1 to 65534)
CHAPTER 7 SOCKET COMMUNICATION FUNCTION
[Built-in Ethernet Port Setting]
Setting
7
93

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents