740
10 BUILT-IN ETHERNET FUNCTION INSTRUCTIONS
10.1 Open/Close Processing Instructions
Processing details
This instruction performs the open processing for the connection specified by (s1).
The setting value used by the open processing is selected by (s2)+0.
The completion of the SP.SOCOPEN instruction can be checked using the completion devices (d)+0 and (d)+1.
• Completion device (d)+0: Turns ON during the END processing for the scan in which the SP.SOCOPEN instruction is
completed, and turns OFF during the next END processing.
• Completion device (d)+1: Turns ON or OFF depending on the status of when the SP.SOCOPEN instruction is completed.
• The connection in which no protocol is set with the parameter can be opened and used. In this case, specify 8000H in
(s2)+0 and the contents of the open processing in (s2)+2 to (s2)+9.
For details, refer to
MELSEC iQ-F FX5 User's Manual (Ethernet Communication).
Operation error
Status
Description
When completed normally
The device does not change (remains OFF).
When completed with an error
The device turns ON during the END processing for the scan in which the SP.SOCOPEN instruction is completed, and
turns OFF during the next END processing.
Error code
(SD0/SD8067)
Description
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.
Program
END processing END processing END processing
When failed
OFF
ON
ON
Completion device (d)+0
SP.SOCOPEN instruction
Execute SP.SOCOPEN instruction
OFF
Completion device (d)+1
1 scan when
normally completed
Connection
open
Summary of Contents for MELSEC iQ-F FX5
Page 1: ...MELSEC iQ F FX5 Programming Manual Instructions Standard Functions Function Blocks ...
Page 2: ......
Page 17: ...15 CONTENTS ...
Page 24: ...22 MEMO ...
Page 1050: ...1048 26 TIME DATA FUNCTIONS 26 4 Division MEMO ...
Page 1068: ...1066 29 COUNTER FUNCTION BLOCKS 29 4 Counter Function Block Operation error There is no error ...
Page 1107: ...I 1105 MEMO ...
Page 1111: ......