(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
SD1282
SD1284
D200
M200
• Program
112
Device number
Application
Open completion signal
Open request signal
SP.SOCCLOSE instruction control data
SP.SOCCLOSE instruction completion device
Processing for disconnection of
Connection No.1 by the target
Connection No.1 close
Setting SP.SOCCLOSE
executing flag
Normal completion
Error completion
Resetting SP.SOCCLOSE
executing flag