Mitsubishi Electric Q03UDVCPU User Manual page 127

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

Advertisement

(2) Control data
Device
Item
System area
+0
S2
Completion
+1
S2
status
+0
Target device IP
D
address
+1
D
Target device
+2
D
port number
Host station port
+3
D
number
Application
+4
D
setting area
*2
The "Set by" column indicates the following.
System: The CPU module stores the execution result of the SP.SOCCINF instruction.
*3
Using 0400
to 1387
H
are assigned for generally reserved port numbers (WELL KNOWN PORT NUMBERS), and F000
for other communication functions. Do not specify 1388
Page 200, Appendix 2)
*4
When the item is performed by the unopened connection, 0
*5
When the instruction is performed to the connection set the target device IP address to FFFFFFFF
broadcast), the source IP address of the received data is returned. In this case, perform the instruction when Receive
state signal (SD1286) is on. When the instruction is performed before the data are received, FFFFFFFF
*6
When the instruction is performed to the connection set the target device port number to FFFF
broadcast), the source port number of the received data is returned. In this case, perform the instruction when Receive
state signal (SD1286) is on. When the instruction is performed before the data are received, FFFF
Description
Completion status is stored.
0000
: Completed
H
Other than 0000
: Failed (Error code)
H
IP address of the target device is stored.
Port number of the target device is stored.
Port number of the host station is stored.
b15 b14 b13
to
b10 b9 b8 b7
[3]
0
[2] [1]
D +4
[1] Communication method (protocol)
0: TCP/IP
1: UDP/IP
[2] Socket communication procedure
1: Nonprocedural (fixed)
[3] Open system
00: Active open or UDP/IP
10: Unpassive open
11: Fullpassive open
and 1392
to EFFF
is recommended because the host station port numbers, 0001
H
H
H
CHAPTER 7 SOCKET COMMUNICATION FUNCTION
Setting range
-
1
to FFFFFFFF
H
1
H
1
H
1392
to
b0
0
to 1391
because these ports are used by the system. (
H
H
is returned.
H
*2
Set by
-
-
-
H
*4 *5
to FFFF
H
*4 *6
to 1387
H
to FFFE
H
H
*3 *4
System
*4
to 03FF
,
H
H
to FFFE
are used
H
H
(simultaneous
H
is returned.
H
(simultaneous
H
is returned.
H
125
7

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents