iQF-Series Modbus TCP Master Setup
Equipment Used
- ST-Lite
- GX Works 3
- Version information – 1.055C
- Mitsubishi FX5U-32MR/ES
- Firmware Version – 1.110
- Serial Number – 17X0001 and higher
- Reference Manuals
- MELSEC iQ-F – FX5 User’s Manual (MODBUS Communication) – JY997D56101
- MELSEC iQ-F – FX5 User’s Manual (Startup) – JY997D58201
- MELSEC iQ-F – FX5UC User’s Manual (Hardware) – JY997D61401
- MELSEC iQ-F – FX5 User’s Manual (Serial Communication) – JY997D55901
- MELSEC iQ-F – FX5 User’s Manual (MELSEC Communication Protocol) – JY997D60801
- MELSEC iQ-F – FX5 User’s Manual (Ethernet Communication) – JY997D56201
Link can be found here
Step 1 – Go to this page https://eu3a.mitsubishielectric.com/fa/en/mymitsubishi/login
Step 2 – Create a profile for you to login with.
Step 3 – Login using your new profile.
Step 4 – Go to this link: https://eu3a.mitsubishielectric.com/fa/en/dl/13097/MEU+FX5UCPU_ModbusTCP_STlite_00A.zip
Step 5 – Download the program.
Step 1: Open GX Works 3 and start a new project:
Step 2: Select:
Series – FXCPU
Type – FX5U
Program Language – FBD/LD
Step 3: “Navigation window” -> [Parameter] -> [FX5UCPU] -> [Module Parameter] -> [Ethernet Port]:
Step 4: Change your IP-Address for your PLC:
Step 5: Select External Device Configuration and click on Detailed Setting:
Step 6: Add the following:
Step 7: Click “Close with Reflecting the Setting” button:
Step 8: Click on “Check” and if there is no error, click on “Apply”
Step 1: Open “Element Selection”
Step 2: Register Library
Step 3: Browse for the “MEU+FX5UCPU_ModbusTCP_STlite_00A.mslm” file and select “Open”
Step 4: The following should now be visible in the “Element Selection” window:
Step 1: “Navigation window” -> [Program] -> [Scan] -> [MAIN1] -> [Local Label]:
Step 2: Add the following to the Local Labels
Step 1: “Navigation window” -> [Label] -> [Global Label] -> [Global] -> [Local Label]:
Step 2: Add the following to the Global Labels
Step 1: “Navigation window” -> [Program] -> [Scan] -> [MAIN1] -> [ProgramBody]:
Step 2: Add the Following Program Code:
Step 3: Open the Element Selection Screen
Select MEU+FX5UCPU_ModbusTCPClientRequest_STLite Function Block from the Element Selection Screen. Drag and Drop it to the Program Screen.
Step 4: Add Parameters to Function Block MEU+FX5UCPU_ModbusTCPClientRequest_STLite
Step 1: Rebuild Program to check for any program issues – “Main Menu” -> [Convert] -> [Rebuild All]:
Step 2: Download PLC Program to the FX5U-PLC – “Main Menu” -> [Online] -> [Write to PLC]:
Download Manual Here:
Download Sample Program Here:
Download Function Block Here: