Mitsubishi Electric FX5 User Manual page 92

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

Advertisement

Program example
When M2000 is turned on, or when connection No.1 is disconnected from target device, this program disconnects connection
No.1.
• Devices used
Device No.
SD10680
SD10681
D200
M200
• Program
SD10680.0
SD10681.0
M2000
SD10680.0
M210
M161
M200
M201
M201
7 SOCKET COMMUNICATION FUNCTION
90
7.4 Socket Communication Function Instructions
Application
Open completion signal
Open request signal
SP.SOCCLOSE instruction control data
SP.SOCCLOSE instruction completion device
SP.SOCCLOSE
PLS
M161
"U0"
K1
D200
M200
SET
M210
SET
M202
SET
M202
RST
M210
END
Processing when connection
No.1 is cut from the target device
Close connection No.1
Set the SP.SOCCLOSE
instruction execution flag
Normal completion indication
Error completion indication
Reset the SP.SOCCLOSE
instruction execution flag

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents