EasyManua.ls Logo

Mitsubishi Electric MELSEC iQ-R Series - Page 1088

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...
1086
8 BUILT-IN ETHERNET FUNCTION INSTRUCTIONS
8.1 Open/Close Processing Instructions
Applicable devices
Control data
*1 In Unpassive open mode, the IP address of the external device and destination port number are ignored.
Port numbers 0001H to 03FFH are generally reserved port numbers (WELL KNOWN PORT NUMBERS), and
therefore port numbers 0400H or later should be used.
Operand Bit Word Double word Indirect
specification
Constant Others
(U)
X, Y, M, L,
SM, F, B,
SB, FX, FY
J\ T, ST, C, D, W,
SD, SW, FD, R,
ZR, RD
U\G, J\,
U3E\(H)G
Z LT, LST,
LC
LZ K, H E $
(U) 
(s1)  
(s2)  
(d)  
Operand: (s2)
Device Item Description Setting range Set by
+0 Execution/completion
type
Specify whether to use the parameter value set by the engineering tool or the value
set in (s2)+2 to (s2)+9 of control data for opening a connection.
0000H: Performs open processing according to the "open setting" by the
engineering tool.
8000H: Performs open processing according to the setting in (s2)+2 to (s2)+9 of
control data.
0000H
8000H
User
+1 Completion status The completion status is stored upon completion of the instruction.
0000H: Completed successfully
Other than 0000H: Completed with an error (error code)
System
+2 Application setting area Specify the application of a connection.
(1) Communication method (protocol) (b8)
0: TCP/IP
1: UDP/IP
(2) Socket communications function procedure (b9)
1: No procedure (fixed)
(3) Open method (b15, b14)
00: Active open or UDP/IP
10: Unpassive open
11: Fullpassive open
(4) Predefined protocol setting (b10)
0: Do not use the predefined protocol support function. (Use the socket
communications function.)
1: Use the predefined protocol support function.
User
+3 Own station port
number.
Specify the port number of the own station. 0001H to 1387H,
1392H to FFFEH
(0400H or later
recommended)
User
+4
+5
IP address of external
device
*1
Specify the IP address of an external device. 00000001H to
FFFFFFFFH
(FFFFFFFFH:
simultaneous
broadcast)
User
+6 Destination port
number
Specify the destination port number. 0001H to FFFFH
(FFFFH:
simultaneous
broadcast)
User
+7 to +9 Reserved System
b15 b14 b10 b9 b8
0 (1)
(2)(4) 0
b0
……
(3)
(s2)+2

Table of Contents

Other manuals for Mitsubishi Electric MELSEC iQ-R Series

Related product manuals