Mitsubishi Electronics MELSEC Q series MELSEC L series Home Theater Server User Manual


 
7.6 SOCCINF Instruction
7-17
7
SOCKET COMMUNICATION
FUNCTION INSTRUCTION
SP_SOCCINF
SP_SOCCINF
Control Data
Precautions
(1) Use the Built-in Ethernet port QCPU of which the function version is B or later and the first
five digits of the serial number are '11012' or higher.
(2) Use the LCPU other than L02SCPU and L02SCPU-P.
Device Item Setting data Setting range Setting side
[0]
System area

[1]
Completion status
The instruction application status is stored.
0 : Normal completion
Other than 0 : Error completion (error code)
System
Device Item Setting data Setting range Setting side
[0]
[1]
Destination IP address The IP address of the external device is stored.
1H to
FFFFFFFF
H
0H : No
destination
(FFFFFFFF
H :
broadcast)
System
[2]
Destination port No. The port number of the external device is stored.
1H to FFFFH
(FFFFH:
broadcast)
System
[3]
Host station port No. The port number of the host station is stored.
1H to 1387H,
1392
H to
FFFE
H
System
[4]
Application setting area
Communication method (protocol)
0: TCP/IP
1: UDP/IP
With/without procedure in socket communication function
1: Nonprocedural communication
Open system
00: Active open or UDP/IP
10: Unpassive open
11: Fullpassive open
-System
s2
s2
d
d
d
d
d
[4]
b15b14b13b10b9b8b7 b0to to
00
d
3 2 1