Mitsubishi Electric MELSEC iQ-R Series User Manual page 549

Master/local module
Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

■When "Open by Program" is set
Before the open/close request is received from the external device, the CC-Link IE TSN Plus module must execute the
CONOPEN/CONCLOSE instructions on the CC-Link IE TSN Plus module side and enter the open/close standby state. Data
can be sent and received after the open processing completes normally.
For CONOPEN/CONCLOSE instructions, refer to the following.
 MELSEC iQ-R Programming Manual (Module Dedicated Instructions)
Ex.
Open/close processing for connection No.1
Power-on
Open status
Open enable status (closed)
(Active open acceptance
enabled)
Closed status
'Initial status'
(Un\G6291480.0)
CONOPEN instruction
CONOPEN instruction
completion device
CONOPEN instruction
completion device +1
CONCLOSE instruction
CONCLOSE instruction
completion device
CONCLOSE instruction
completion device +1
'Open completion signal
(connection No.1)'
(Un\G6291456.0)
'Open request signal
(connection No.1)'
(Un\G6291464.0)
 After the module parameters are set, check that the initial processing for the CC-Link IE TSN Plus module has completed normally. ('Initial status'
(Un\G6291480.0): On)
 Start the open processing using the CONOPEN instruction. ('Open request signal (connection No.1)' (Un\G6291464.0): On)
 The CC-Link IE TSN Plus module executes the open processing when an open request (SYN) is received from the external device. When the open
processing ends normally, 'Open completion signal (connection No.1)' (Un\G6291456.0) turns on and data communication is enabled.
 The CC-Link IE TSN Plus module executes the close processing when the close request (FIN) is received from the external device. When the close
processing completes normally, the open completion signal turns off and data communication is disabled.
*1 The open request (SYN) received between the initial processing normal completion to the open request standby state is handled as an
error, and the CC-Link IE TSN Plus module sends a connection forced close (RST) (to the external device that sent the open request
(SYN)).
• Change the connection setting before executing the CONOPEN instruction.
• After the open processing is executed, the open request cannot be canceled until the open processing
completes. Execute the close processing (CONCLOSE instruction) after open completes.
Parameter
communications
completed
*1
SYN + ACK
SYN
Appendix 8 TCP/IP Communications, UDP/IP Communications
1 scan
Completed
with an error
Completed
with an error
FIN + ACK
ACK
FIN
ACK
1 scan
A
APPX
547

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec iq-r cc-link ie tsn plus

Table of Contents