EasyManua.ls Logo

Mitsubishi Electric MELSEC iQ-R Series - Page 1539

Mitsubishi Electric MELSEC iQ-R Series
2110 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...
16 ETHERNET INSTRUCTIONS
16.1 Open/Close Processing Instructions
1537
16
Control data
Operand: (s2)
Device Item Description Setting range Set by
+0 Execution type/End
type
(1) Execution type
*1
Specify whether to use the parameter value set by the engineering tool or the value
set in (s2)+4 to (s2)+14 of control data for opening a connection.
0: Performs open processing according to the "external device connection
configuration" set by the engineering tool.
1: Performs open processing according to the setting in (s2)+4 to (s2)+14 of
control data.
If the CP.CONOPEN instruction is executed by setting the value for the external
device connection configuration of the engineering tool and also setting device
(s2)+0 to 1, the instruction performs open processing according to the value set in
its control data.
Even if a value is set in (s2)+4 and later after setting (s2)+0 to 0, the value is
ignored.
0000H
0100H
User
+1 Completion status The completion status is stored upon completion of the instruction.
0: Completed successfully
Other than 0: Completed with an error (error code)
System
+2 System area 
+3 System area 
+4 Application setting area Specify the application of a connection.
Fixed buffer communications
(1) Application of fixed buffer (b0)
0: For sending
1: For receiving
(2) Communication code (b1)
0: Binary code
1: ASCII code
(3) Online program change (b3)
0: Disable
1: Enable
(4) Pairing open (b4)
0: Disable pairing open.
1: Enable pairing open.
*2
(5) Communication method (protocol) (b5)
0: TCP/IP
1: UDP/IP
(6) Fixed buffer communications with/without procedure (b6 and b7)
00: With procedure
01: Without procedure
(7) Alive check (b8 and b9)
00: KeepAlive
*4
01: Alive check with UDP
*5
10: Disable the alive check.
(8) Opening method (b10 and b11)
00: Active open or UDP/IP
10: Unpassive open
11: Fullpassive open
Socket communications
(1) Online program change (b3)
0: Disable
1: Enable
(2) Communication method (protocol) (b5)
0: TCP/IP
1: UDP/IP
(3) Opening method (b10 and b11)
00: Active open or UDP/IP
10: Unpassive open
11: Fullpassive open
Left User
b15 b8
0 (1) 0
b0
……
b15 b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1
0 (7)(8)
b0
(1)
(2)0(3)(6) (5) (4)
b15 b12 b11 b10 b9 b6 b5 b4 b3 b2
0000(3)
b0
……
(1)(2)

Table of Contents

Other manuals for Mitsubishi Electric MELSEC iQ-R Series

Related product manuals