12
COMMUNICATION SETTING
This chapter explains the setup method for using slave station in MODBUS/TCP communication with an FX5.
12.1
Setup Method for Port No.
Set the port No. to identify the communication between the slave station and the master station.
"Navigation window" [Parameter ] [FX5UCPU] [Module Parameter] [Ethernet Port] [Basic Settings]
[External Device Configuration] <Detailed Setting> of "External Device Configuration" is double-clicked
Window
"Drag and drop the "MODBUS/TCP Connection Module" from "Module List" to the left side on the window. Execute the
settings as described below.
Item
PLC
Port No.
For setup method for IP address of slave station, refer to MELSEC iQ-F FX5 User's Manual (Ethernet Communication).
Precautions
When using the following functions, do not specify the port No. of the function to be used in MODBUS/TCP communication
function.
• File transfer function (FTP server): 20 (14H), 21 (15H)
• Web server function: 80 (50H)
• Time setting function (SNTP client): 123 (7BH)
• SLMP function: 61440 (F000H), 61441 (F001H)
• CC-Link IE field network Basic: 61450 (F00AH)
*1 Port No. can be changed. (Default: 80)
12.2
Setup Method for MODBUS/TCP Communication
For the MODBUS/TCP communication setting of the FX5, set parameters with GX Works3.
"Navigation window" [Parameter ] [FX5UCPU] [Module Parameter] [Ethernet Port] [Basic Settings]
[MODBUS/TCP Settings]
12 COMMUNICATION SETTING
52
12.1 Setup Method for Port No.
Description
1 to 4999, 5010 to 65534 (Default value: 502)
Do not specify 5000 to 5009 because these ports are reserved by the
system.
*1
Remarks
Set the port No. of slave station.