EasyManua.ls Logo

Mitsubishi Electric MELSEC iQ-R02CPU - Page 386

Mitsubishi Electric MELSEC iQ-R02CPU
416 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
384
APPX
Appendix 5 TCP/IP Communications, UDP/IP Communications
When "Open by Program" is set
Before the open/close request is received from the external device, the Ethernet-equipped module must execute the OPEN/
CLOSE instruction and enter the open/close standby state. Data can be sent and received after the open processing
completes normally.
For OPEN/CLOSE instruction, refer to the following.
MELSEC iQ-R Programming Manual (Module Dedicated Instructions)
Ex.
Open/close processing for connection No.1
After the module parameters are set, checks that the initial processing for the Ethernet-equipped module has completed normally. ('Initial status'
(Un\G1900024.0): On)
Start the open processing using the OPEN instruction. ('Open request signal (connection No.1)' (Un\G1900008.0): On)
The Ethernet-equipped module executes the open processing. (only internal processing)
Data can be exchanged after the open processing completes normally.
Start the close processing using the CLOSE instruction. ('Open request signal (connection No.1)' (Un\G1900008.0): Off)
The Ethernet-equipped module executes the close processing. (only internal processing)
Data communication ends when close processing completes normally.
Ò
Ó
Ö
ÔÕ ×Ø
Open status
Open enable status (closed)
Closed status
'Initial status'
(Un\G1900024.0)
OPEN instruction
OPEN instruction
completion device
OPEN instruction
completion device +1
CLOSE instruction
CLOSE instruction
completion device
CLOSE instruction
completion device +1
'Open completion signal
(connection No.1)'
(Un\G1900000.0)
Internal processing Internal processing
1 scan
1 scan
Power-on
Parameter
communications
completed
Abnormally ended
Abnormally
ended

Table of Contents

Related product manuals