If in doubt about the operation or use, please contact your local Mitsubishi Electric representative. • Mitsubishi Electric will not accept responsibility for actual use of the product based on these illustrative examples. Please use it after confirming the function and safety of the equipment and system.
RELEVANT MANUALS The following relevant manuals can be downloaded from the Mitsubishi Electric FA site. https://www.mitsubishielectric.co.jp/fa/ref/ref.html?kisyu=plcf&manual=download_all [: Available, : Not available] Manual name Available form <manual number> e-Manual MELSEC iQ-F FX5U User's Manual (Hardware) <JY997D55301> MELSEC iQ-F FX5UC User's Manual (Hardware) <JY997D61401>...
TERMS Unless otherwise specified, this manual uses the following terms. Term Description Authentication Class A group of devices and switching hubs compatible with CC-Link IE TSN, ranked according to the functions and performance by the CC-Link Partner Association (www.cc-link.org). Cyclic transmission A function by which data is periodically exchanged among stations on the same network using link devices Data link Communications performed by cyclic transmission and transient transmission...
KEY FEATURES Flexible and optimum system construction with standard Ethernet devices Since the CC-Link IE TSN and the TCP/IP network can coexist, the standard Ethernet devices can be used on the same line. This enables to perform control communications and information communications on the same Ethernet, reducing the design and installation cost for the system construction.
PREPARATION This manual describes the settings for cyclic transmission (communicating data periodically among stations on the network using link devices). For other communication functions, refer to the following. Section 4.1 Function List in the MELSEC iQ-F FX5 User's Manual (CC-Link IE TSN) Applicable Models The programmable controllers described in this manual are shown in the following table.
Sample QR code for the code reader To read the QR code below, refer to the following for the procedure. (Page 37 Operation Check of the Code Reader (TCP/ IP Communications)) ABCDEFG01234 1 PREPARATION 1.2 Operation Flow Diagram...
System Configuration This section describes the system configuration in which two slave stations (a remote station and a local station) are connected to the master station (FX5U CPU module, FX5-CCLGN-MS). They are connected in a line topology. In this system, TCP/IP communications (code reader) are mixed.
Page 12
For the power supply wiring of FX5U/FX5UC CPU modules, refer to the following. Section 6.4 Power Supply Wiring in the MELSEC iQ-F FX5U User's Manual (Hardware) Section 6.4 Power Supply Wiring in the MELSEC iQ-F FX5UC User's Manual (Hardware) For the power supply wiring of CC-Link IE TSN remote module, refer to the following. Chapter 6 INSTALLATION AND WIRING in the CC-Link IE TSN Remote I/O Module User's Manual (CC-Link IE TSN Communication Mode) For the power supply wiring of code reader, refer to the following.
• Switching hub (layer 2 switch) *1 For information on how to obtain DataMan Setup Tool (configuration tool for MELSENSOR Code Reader), please contact your local Mitsubishi Electric sales office or representative. *2 A repeater hub cannot be used. 1 PREPARATION...
Page 14
Wiring of CC-Link IE TSN supports a star topology and a line topology. In the system configuration example of this manual, the master station, the slave stations and other devices are connected in a line topology. To connect them in a star topology, a dedicated TSN switching hub is required. For details, refer to the following.
SETTING PROGRAMMABLE CONTROLLER MASTER STATION This chapter describes the settings for the programmable controller master station in the system and the setting procedure. Communication Settings For the communication setting procedure, refer to Page 15 Setting Parameters, Step 4. Setting item Initial value Setting range Setting value...
Refresh Settings This section describes the refresh settings to perform the following data communications between the master station and the remote/local station using the link devices. For the refresh setting procedure, refer to Page 15 Setting Parameters, Step 8. Refresh Settings ■...
Setting Parameters This section describes the communication settings, network configuration settings, and refresh settings on GX Works3. Open the "Module Configuration" window. Select "FX5-CCLGN-MS", and drag and drop it onto the "Module Configuration" window. Double-click the added "FX5-CCLGN-MS". When the following window appears, click the [Yes] button. When the following window appears, click the [OK] button.
Page 18
Set the parameters according to the communication settings (Page 13 Communication Settings), and click the [Apply] button. Click "Basic Settings" Double-click <Detailed Setting> of "Network Configuration Settings". Select the remote station (NZ2GN2S1-32DT) and the local station (FX5-CCLGN-MS) from "Module List", and drag and drop them to the network map.
Page 19
Double-click <Detailed Setting> of "Refresh Settings". Set the parameters according to the refresh settings, and click the [Apply] button. (Page 14 Refresh Settings) 2 SETTING PROGRAMMABLE CONTROLLER MASTER STATION 2.4 Setting Parameters...
Communication Settings on GX Works3 This section describes how to perform the communication test before writing programs to the programmable controller. Directly connect the Ethernet ports with a cable as shown below. FX5U CPU module Ethernet Select [Online] [Current Connection Destination]. Select "Direct Coupled Setting".
Page 21
Specify an Ethernet adapter of the personal computer which is used when the personal computer is directly connected to the CPU module. When "Not Specified" is set, select an adapter to be used from the drop-down list. After the adapter is selected, click the [Communication Test] button. When the following window appears, click the [OK] button.
Writing Programs to the Programmable Controller This section describes how to write programs to the programmable controller. Before writing the program to the programmable controller, an operation to finalize the logic and parameters must be performed. Select [Convert] [Rebuild All]. Click the [OK] button.
Page 23
Click the [Parameter + Program] button, and click the [Execute] button. When the following window appears, click the [Yes to all] button. After the programs are written to the programmable controller, reset or power OFF and ON the programmable controller. 2 SETTING PROGRAMMABLE CONTROLLER MASTER STATION 2.6 Writing Programs to the Programmable Controller...
SETTING PROGRAMMABLE CONTROLLER LOCAL STATION This chapter describes the settings for the programmable controller local station in the system. Communication Settings For the communication setting procedure, refer to Page 23 Setting Parameters, Step 4. Setting item Initial value Setting range Setting value Station Type Local Station...
Setting Parameters This section describes the communication settings and refresh settings on GX Works3. Open the "Module Configuration" window. Select "FX5-CCLGN-MS", and drag and drop it onto the "Module Configuration" window. Double-click the added "FX5-CCLGN-MS". When the following window appears, click the [Yes] button. When the following window appears, click the [OK] button.
Set the parameters according to the communication settings (Page 22 Communication Settings), and click the [Apply] button. Double-click <Detailed Setting> of "Refresh Settings". Set the parameters according to the refresh settings (Page 22 Refresh Settings), and click the [Apply] button. Communication Settings on GX Works3 Directly connect the Ethernet ports with a cable.
SETTING REMOTE STATION The functions of the I/O module can be set using the function setting switch on the CC-Link IE TSN remote I/O module. The setting using the IP address/station number setting switches is enabled when the power of the I/O module is ON. Therefore, use the IP address/station number setting switches when the power of the I/O module is OFF.
Setting the Function Setting Switch The following functions are set using the function setting switch (1 to 10) on the front of the I/O module. The setting using the function setting switch is enabled when the power of the I/O module is ON. Therefore, use the function setting switch when the power of the I/O module is OFF.
TCP/IP COMMUNICATION SETTING of CODE READER This chapter describes the settings for communicating with the symbols to be read and the master station by connecting the code reader to the personal computer. DataMan Setup Tool DataMan Setup Tool Ethernet (1) Code reader (2) Ethernet cable (manufactured by Cognex Corporation) (3) General-purpose switching hub Setting an IP Address of the Personal Computer...
Page 30
Device assignment on the PLC side Name Selected device Offset Number of devices Description Control D-Data Register 1000 Vision control block starting address Status D-Data Register 1002 Vision status block starting address PLC Input D-Data Register 1005 User data block starting address PLC Output D-Data Register 1010...
OPERATION CHECK This chapter describes the operation check based on the system configuration (Page 9). Operation Check of the Local Station This section checks whether communications are performed between the master station and the local station normally. Configure the system as shown below. Set the RUN/STOP/RESET switch of the CPU module on the master station to the RUN position.
Page 32
On GX Works3 window of the master station, select [Online] [Current Connection Destination]. The "Connection Destination Simple Setting Connection" window appears. To set the connection other than "Direct Coupled Setting", perform Steps and . Select "Other Connection Method". ...
Page 33
Click the [Find] button. Click the [Yes] button. Select an Ethernet adapter connected to P1 connector of the personal computer from the drop-down list, and click the [OK] button. To set the connection destination to the IP address of the master station or the local station, perform Steps to . ...
Page 34
Double-click "Ethernet Board". Set a unique station number in "Station No." on the same loop. Set "3" in this manual. Select "TCP" for "Protocol". Click the [OK] button. Click the [Communication Test] button. When the message "Successfully connected with the FX5UCPU" appears, click the [OK] button.
Page 35
On GX Works3 window of the master station, select [Online] on the menu bar [Watch] [Register to Watch Window] [Watch Window 1]. Enter "D200" in "Name". Right-click on "D200", and select [Start Watching]. Right-click Enter "100" in the "Current Value" column. Enter 100.
Page 36
On GX Works3 window of the local station, select [Online] on the menu bar [Watch] [Register to Watch Window] [Watch Window 1]. Enter "D200" in "Name". Right-click on "D200", and select [Start Watching]. Right-click Check that "100" is entered in the "Current Value" column. Check that 100 is entered.
Operation Check of the Remote Station This section checks whether communications are performed between the master station and the remote station normally. Configure the system as shown below. Set the RUN/STOP/RESET switch of the CPU module on the master station to the RUN position. For the communication setting, refer to Page 18 Communication Settings on GX Works3.
Page 38
Enter "M3024" in "Device Name", and click the value as shown below to turn ON M3024 forcibly. Click Check that Y10 LED at the remote station is ON. 6 OPERATION CHECK 6.2 Operation Check of the Remote Station...
Operation Check of the Code Reader (TCP/IP Communications) This section checks whether communications are performed between the master station and the code reader normally. Configure the system as shown below. For the communication setting, refer to Page 18 Communication Settings on GX Works3. Ethernet TCP/IP communications (1) Built-in Ethernet port...
Page 40
To start reading the QR code by the code reader, perform Steps to . Enter "D1000" in "Device Name". Ò Ò Click Image Capturing Trigger Enable (D1000.0). (Change D1000.0 from "0" to "1".) Click Ó Ó Click Image Capturing Trigger (D1000.1). (Change D1000.1 from "0"...
TROUBLESHOOTING Checking Procedure 1. Checking the LED status Check the communication status with the LEDs of the master station, local station, and code reader. For the LEDs of the master station, refer to Page 40 Checking the LEDs of the master station. For the LEDs of the local station, refer to Page 43 Checking the LEDs of the local station.
Checking the LED Status Checking the LEDs of the master station Check error details with the LEDs of the CC-Link IE TSN master/local module (FX5-CCLGN-MS). ■LEDs of the CC-Link IE TSN master/local module Name Color Status Check item Action Green Has project data of the master station been written Write the project data of the master station to the FX5 CPU to the FX5 CPU module?
Page 43
Name Color Status Check item Action D LINK Green OFF or flashing Is there a reserved address fixed for a special • Correct the setting of the IP address in "Network purpose set as the IP address? Configuration Settings" of the master station. •...
Page 44
Name Color Status Check item Action L ER Do the Ethernet cables conform to the Ethernet • Use an Ethernet cable that conforms to the standard. Section 2.3 Performance Specifications in the MELSEC standard? iQ-F FX5 User's Manual (CC-Link IE TSN) •...
Page 45
Checking the LEDs of the local station Check error details with the LEDs of the CC-Link IE TSN master/local module (FX5-CCLGN-MS). ■LEDs of the CC-Link IE TSN master/local module Name Color Status Check item Action Green Has project data of the local station been written to Write the project data of the local station to the FX5 CPU the FX5 CPU module? module.
Page 46
Name Color Status Check item Action D LINK Green OFF or flashing Are other stations set in the network configuration Set connected slave stations in the network configuration of of the master station? the master station. Is a type of wiring described in the restrictions in the Correct the wiring.
Page 47
Checking the LEDs of the remote station Check error details with the LEDs of the CC-Link IE TSN remote I/O module (NZ2GN2S1-32DT). For details, refer to the following. Chapter 11 TROUBLESHOOTING in the CC-Link IE TSN Remote I/O Module User's Manual (CC-Link IE TSN Communication Mode) Checking the LEDs (indicators) of the code reader The following shows the display specifications of the indicators.
Checking the Error Details Master and local station module diagnostics This section describes how to check an error occurred in the module and error history, and identify the cause using GX Works3. The detailed information, such as error causes and corrective actions, obtained from GX Works3 is more helpful than those obtained from LEDs.
Page 49
List of error codes (master and local stations) The following table lists the error codes displayed by the module diagnostics. Error code Name Description and cause Action 1803H Network Over the number of stations that can be Reduce the number of authentication Class B devices to eight or configuration error connected.
Page 50
Error code Name Description and cause Action 3014H Multiple cycle When "Communication Mode" under • Set "Communication Mode" in "Application Settings" of the setting error "Application Settings" of the master station is master station to "Unicast". set to "Multicast", in the "Network Configuration •...
APPENDICES Appendix 1 CC-Link IE TSN/CC-Link IE Field Diagnostics This section describes how to start CC-Link IE TSN/CC-Link IE Field diagnostics. Select [Diagnostics] on the menu bar of GX Works3 [CC-Link IE TSN/CC-Link IE Field Diagnostics]. The "CC-Link IE TSN/CC-Link IE Field Diagnostics" window appears. Select a station whose connection status to be checked.
Appendix 2 Setting an IP Address of the Personal Computer This section describes the IP address setting of the personal computer with Windows Select [Network and Sharing Center] on Control Panel in Windows 10 Select [Ethernet*] for "Unidentified Network". * Select a different network depending on the personal computer environment.
Page 53
Double-click [Internet Protocol Version 4 (TCP/Pv4)]. Select the "Use the following IP address" checkbox. Enter "IP address" (Page 9 System Configuration) and "Subnet mask" (Page 9 System Configuration), and click the [OK] button. APPX Appendix 2 Setting an IP Address of the Personal Computer...
Page 54
Click the [OK] button. Click the [Close] button. Click "×" to close the control panel. APPX Appendix 2 Setting an IP Address of the Personal Computer...
First edition This manual confers no industrial property rights or any rights of any other kind, nor does it confer any patent licenses. Mitsubishi Electric Corporation cannot be held responsible for any problems involving industrial property rights which may occur as a result of using the contents noted in this manual.
Before using the product for special purposes such as nuclear power, electric power, aerospace, medicine or passenger movement vehicles, please contact Mitsubishi Electric sales office. The product has been manufactured under strict quality control. However, when installing the product where major accidents or losses could occur if the product fails, install appropriate backup or failsafe functions into the system.
Page 58
Mitsubishi Electric Programmable Controller MELSEC iQ-F Series HEAD OFFICE: TOKYO BLDG., 2-7-3, MARUNOUCHI, CHIYODA-KU, TOKYO 100-8310, JAPAN www.MitsubishiElectric.com L(NA)08729-A 2010(MEE)