Mitsubishi MELSEC L Series User Manual page 67

Cpu module, built-in ethernet function
Hide thumbs Also See for MELSEC L Series:
Table of Contents

Advertisement

(5) Program example
When M2000 is turned on or when the connected device disconnects connection No.1, connection No.1 is
disconnected by the following program.
• Devices used
Device number
SD1282
SD1284
D200
M200
• Program
CHAPTER 6 SOCKET COMMUNICATION FUNCTION
Application
Open completion signal
Open request signal
SP.SOCCLOSE instruction control data
SP.SOCCLOSE instruction completion device
Processing for disconnection of
Connection No.1by the target
Connection No.1 close
Setting SP.SOCCLOSE
executing flag
Normal completion
Error completion
Resetting SP.SOCCLOSE
executing flag
6
65

Advertisement

Table of Contents
loading

Table of Contents