hit counter script

Mitsubishi Electric FX5 User Manual page 91

Melsec iq-f series, ethernet communication
Hide thumbs Also See for FX5:
Table of Contents

Advertisement

Processing details
This instruction closes a connection specified in (s1). (Disconnecting a connection)
The result of the SP.SOCCLOSE instruction can be checked with the completion device, (d)+0 and (d)+1.
• Completion device (d)+0: Turns on in the END processing of a scan after completion of the SP.SOCCLOSE instruction, and
turns off in the next END processing.
• Completion device (d)+1: Turns on or off according to the status at the time of completion of the SP.SOCCLOSE instruction.
Status
When completed
When failed
Program
SP.SOCCLOSE instruction
OFF
Completion device (d)+0
OFF
Completion device (d)+1
Operation error
Error code
Description
(SD0/SD8067)
3405H
The connection number specified by (s1) is other than 1 to 8.
2820H
The device number specified by (s2) or (d) is outside the range of the number of device points.
2822H
Device that cannot be specified is specified.
3582H
When an instruction which cannot be used in interruption routine program is used.
Do not use execute the SP.SOCCLOSE instruction for Passive open connection. Doing so will turn off the
Open completion signal and Open request signal of the connection and cause close processing, which
disables data transfer.
Description
Remains off.
Turns on in the END processing of a scan after completion of the SP.SOCCLOSE instruction, and turns off in the next END
processing.
END processing END processing END processing
Execute SP.SOCCLOSE instruction
ON
When failed
ON
1 scan when normally
Connection
completed
closed
7 SOCKET COMMUNICATION FUNCTION
7.4 Socket Communication Function Instructions
7
89

Advertisement

Table of Contents
loading

Table of Contents

Save PDF