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


 
7-6
7.2 SOCCLOSE Instruction
SP_SOCCLOSE
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.
Program Example
The following program shuts off the connection 1 when the disconnect request flag turns ON or
the external device closes the connection 1.
[Structured ladder/FBD]
Device Item Setting data Setting range Setting side
[0]
System area

[1]
Completion status
The instruction completion status is stored.
0 : Normal completion
Other than 0 : Error completion (error code)
System
s2
s2
Turns flag ON when
open completion
signal turns OFF
Shuts off the
connection number 1
Turns execution
flag ON
Turns normal
completion flag ON
Turns error
completion flag ON
Turns execution
flag OFF