10 BUILT-IN ETHERNET FUNCTION INSTRUCTIONS
10.1 Open/Close Processing Instructions
739
10
■
Control data
*1 User: Data to be set before the execution of the instruction. System: The CPU module stores the execution result of the instruction.
*2 When Unpassive open is selected, the target device IP address and target device port number are ignored.
*3 Of the host station port numbers, 1 to 1023 (0001H to 03FFH) are generally reserved port numbers and 61440 to 65534 (F000H to
FFFEH) are used by other communication functions. Thus, using 1024 to 5548 and 5570 to 61439 (0400H to 15ACH and 15C2H to
EFFFH) as the port numbers is recommended. Do not specify 5549 to 5569 (15ADH to 15C1H) since they are used by the system.
Device
Item
Description
Setting range
Set by
(s2)+0
Execution type/
completion type
Specify whether to use the parameter value set using the engineering
tool or to use the set values of the control data (s2)+2 to (s2)+9 during
the open processing of the connection.
0000H:
The open processing is performed with the settings configured using
"External Device Configuration" of the engineering tool.
8000H:
The open processing is performed with the set values of the control
data (s2)+2 to (s2)+9.
0000H
8000H
User
(s2)+1
Completion status
The status at the completion of the instruction is stored.
0000H: Completed successfully
Other than 0000H: Completed with an error (error code)
For error codes, refer to
MELSEC iQ-F FX5 User's Manual
(Ethernet Communication).
System
(s2)+2
Application setting area
[1] Communication method (protocol)
0: TCP/IP
1: UDP/IP
[2] Socket communications function procedure
0: Communication protocol
1: Socket communications (No procedure)
[3] Communication protocol setting
0: Do not use the communication protocol support function (use the
socket communications function)
1: Use the protocol support function
[4] Open method
00: Active open or UDP/IP
10: Unpassive open
11: Fullpassive open
As shown on the left
User
(s2)+3
Host station port number
Specify the host station port number.
1 to 5548, 5570 to 65534
(0001H to 15ACH, 15C2H to
FFFEH)
(s2)+4
(s2)+5
Target device IP
address
Specify the IP address of the target device.
1 to 3758096382
(00000001H to DFFFFFFEH)
(FFFFFFFFH: Simultaneous
broadcast)
(s2)+6
Target device port
number
Specify the port number of the target device.
1 to 65534 (0001H to
FFFEH)
(FFFFH: Simultaneous
broadcast)
(s2)+7 to
(s2)+9
Use prohibited
System
[4]
b15b14 b13 b11 b10 b9 b8 b7
b0
to
to
0
0
[2][1]
[3]
(s2)+2
Содержание MELSEC iQ-F FX5
Страница 1: ...MELSEC iQ F FX5 Programming Manual Instructions Standard Functions Function Blocks ...
Страница 2: ......
Страница 17: ...15 CONTENTS ...
Страница 24: ...22 MEMO ...
Страница 25: ...23 PART 1 PART 1 OVERVIEW Part 1 consists of the following chapter 1 OVERVIEW 2 PRECAUTIONS ON PROGRAMMING ...
Страница 126: ...124 6 SEQUENCE INSTRUCTIONS 6 3 Output Instructions Operation error There is no operation error ...
Страница 132: ...130 6 SEQUENCE INSTRUCTIONS 6 3 Output Instructions Operation error There is no operation error ...
Страница 140: ...138 6 SEQUENCE INSTRUCTIONS 6 3 Output Instructions Operation error There is no operation error ...
Страница 191: ...7 BASIC INSTRUCTIONS 7 2 Arithmetic Operation Instructions 189 7 Operation error There is no operation error ...
Страница 202: ...200 7 BASIC INSTRUCTIONS 7 2 Arithmetic Operation Instructions Operation error There is no operation error ...
Страница 278: ...276 7 BASIC INSTRUCTIONS 7 4 Bit Processing Instructions Operation error There is no operation error ...
Страница 280: ...278 7 BASIC INSTRUCTIONS 7 4 Bit Processing Instructions Operation error There is no operation error ...
Страница 915: ...18 TYPE CONVERSION FUNCTIONS 18 13 Converting DWORD to WORD 913 18 Operation error There is no operation error ...
Страница 917: ...18 TYPE CONVERSION FUNCTIONS 18 14 Converting DWORD to INT 915 18 Operation error There is no operation error ...
Страница 932: ...930 18 TYPE CONVERSION FUNCTIONS 18 26 Converting DINT to WORD Operation error There is no operation error ...
Страница 1050: ...1048 26 TIME DATA FUNCTIONS 26 4 Division MEMO ...
Страница 1068: ...1066 29 COUNTER FUNCTION BLOCKS 29 4 Counter Function Block Operation error There is no error ...
Страница 1107: ...I 1105 MEMO ...
Страница 1111: ......