WHEN USING AN INDUSTRIAL SWITCH WITH CC- Link IE TSN To connect modules on CC-Link IE TSN, a dedicated industrial switch (for CC-Link IE TSN Class B) may be required depending on parameter settings or the network topology used. Read the following carefully. Page 64 SYSTEM CONFIGURATION Page 128 Industrial switch SAFETY PRECAUTIONS...
Page 4
[Design Precautions] WARNING ● Make sure to set up the following safety circuits outside the programmable controller to ensure safe system operation even during external power supply problems or programmable controller failure. Otherwise, malfunctions may cause serious accidents. - Most importantly, set up the following: an emergency stop circuit, a protection circuit, an interlock circuit for opposite movements (such as normal vs.
Page 5
[Design Precautions] CAUTION ● Do not bundle the control line and communication cables together with or lay them close to the main circuit or power line. Keep a distance of 100mm or more between them. Failure to do so may result in malfunction due to noise.
Page 6
[Installation Precautions] CAUTION ● Do not touch the conductive parts of the product directly. Doing so may cause device failures or malfunctions. ● When drilling screw holes or wiring, make sure that cutting and wiring debris do not enter the ventilation slits of the programmable controller.
Page 7
[Wiring Precautions] CAUTION ● Perform class D grounding (grounding resistance: 100 or less) of the grounding terminal on the CPU module and extension modules with a wire 2 or thicker. Do not use common grounding with heavy electrical systems (refer to the User's Manual (Hardware) for the CPU module used).
Page 8
● Do not disassemble or modify the programmable controller. Doing so may cause fire, equipment failures, or malfunctions. For repair, consult your local Mitsubishi Electric representative. ● Turn off the power to the programmable controller before connecting or disconnecting any extension cable.
This manual contains text, diagrams and explanations which will guide the reader in the correct installation, safe use and operation of the CC-Link IE TSN module of MELSEC iQ-F series and should be read and understood before attempting to install or use the module.
RELEVANT MANUALS Manual name (manual number) Description MELSEC iQ-F FX5S/FX5UJ/FX5U/FX5UC User's Manual (Hardware) Details of hardware of the FX5 CPU module, including performance [SH-082452ENG] specifications, wiring, installation, and maintenance MELSEC iQ-F FX5 User's Manual (Application) Basic knowledge about programming, functions of the CPU module, devices/ <JY997D55401>...
OVERVIEW • CC-Link IE TSN is a high-speed (1Gbps) and large-capacity open field network that is based on Ethernet (1000BASE-T). • The FX5-CCLGN-MS master/local module for CC-Link IE TSN (hereinafter referred to as FX5-CCLGN-MS) is an intelligent function module for connecting to CC-Link IE TSN as a master or local station. •...
SPECIFICATIONS This chapter describes the specifications of the FX5-CCLGN-MS. General Specifications The general specifications of the FX5-CCLGN-MS other than the following are same as those of the FX5 CPU module to be connected. For the general specifications, refer to the following. ...
Page 18
1.0, the FX5-CCLGN-MS may operate with the CC-Link IE TSN Protocol version 1.0. *6 Use the latest version of the engineering tool. For the latest GX Works3, please consult your local Mitsubishi Electric representative. 2 SPECIFICATIONS 2.3 Performance Specifications of CC-Link IE TSN...
Performance Specifications of Ethernet The following table lists the performance specifications of Ethernet for the FX5-CCLGN-MS. Item Description Data transmission speed • 1Gbps • 100Mbps Communication mode 1000BASE-T Full-duplex 100BASE-TX Full-duplex Interface RJ45 connector (Auto MDI/MDI-X) Maximum frame size 1518 bytes Jumbo frame Not available Maximum segment length...
Part Names This section describes the part names of the FX5-CCLGN-MS. 2-I4.5 Mounting holes (10) (11) Name Description Modular jack for P1 (RJ45) A port for CC-Link IE TSN connection. Connects an Ethernet cable. (with cap) For wiring methods and wiring precautions, refer to the following. Page 125 WIRING Modular jack for P2 (RJ45) Same as the modular jack for P1 (RJ45)
LED indication The following table lists the LED indications. LED name Description color Green Indicates the operating status. On: Operating as a master station Off: Operating as a local station D LINK Green Indicates the cyclic transmission status. On: Cyclic transmission being performed Flashing: Cyclic transmission stopped Off: Disconnected P1 SD/RD...
PROCEDURES BEFORE OPERATION This chapter describes the procedures before operation. Checking the specifications of the FX5-CCLGN-MS Check the specifications of the FX5-CCLGN-MS. ( Page 15 SPECIFICATIONS) Mounting the FX5-CCLGN-MS Mount the FX5-CCLGN-MS to the FX5 CPU module. For details, refer to the following. ...
FUNCTIONS Function List The following tables list the functions of CC-Link IE TSN. The symbols in the availability column mean as follows: : Available, : Not available Cyclic transmission This function communicates data periodically among stations on the network using link devices. Function Description Availability...
Page 25
Transient transmission This function is used for data communications at any timing and has the following three types. Function Description Availability Reference Master Local station station Communications using a dedicated Reads/writes data from the master station or local station to Page 46 instruction devices in a CPU module of the local station using the...
Page 26
RAS stands for Reliability, Availability, and Serviceability. This function improves overall usability of automated equipment. Function Description Availability Reference Master Local station station Device station disconnection Stops data link of the station where an error occurred, and Page 59 continues data link only for stations that are operating Device station normally.
Page 27
Others Function Description Availability Reference Master Local station station "CC-Link IE TSN Parameter setting of a Sets parameters of device stations (the number of points and Page 140 Configuration" device station assignment of link devices) in the master station. Parameter window setting of a...
Cyclic Transmission This function communicates data periodically among stations on the network using link devices. • The link devices can be assigned in "Network Configuration Settings" under "Basic Settings". ( Page 140 "CC-Link IE TSN Configuration" Window) • The link refresh is assigned in "Refresh Settings" under "Basic Settings". ( Page 133 Refresh settings) Cyclic transmission operates as follows with the communication mode set by the module parameter of the master station.
Communications using RX, RY, RWr, and RWw This function allows data communications in units of bits and in units of words between the master station and device station. Master station and local stations At unicast mode 1:1 communications between the master station and each local station. Local stations do not communicate with each other. FX5 CPU module No.0 No.1...
Page 30
At multicast mode The master station and local station send data on the line in multicast mode in each send range. FX5 CPU module No.0 No.1 No.2 FX5 CPU module 0000H 0000H 0000H No.1 No.1 No.1 Ù 001FH 001FH 001FH Õ...
Page 31
Master station and remote stations At unicast mode 1:1 communications between the master station and each remote station. Remote stations do not communicate with each other. CPU module No.0 No.1 No.2 0000H 0000H 0000H 0000H No.1 mNo.1 mNo.2 Ø 001FH 001FH 001FH 0020H...
Page 32
Coexistence of remote stations and local stations At unicast mode • 1:1 communications between the master station and each remote station, and between the master station and each local station. • Communications are not performed between remote stations, between local stations, and between a remote station and a local station.
Page 33
At multicast mode The master station and each local station can obtain data of all device stations. Class B Class B Class A No.0 No.1 No.2 No.3 No.4 CPU module CPU module 0000H 0000H 0000H 0000H No.1 ←No.1 No.1 No.1 001FH 001FH 001FH...
Link refresh This function automatically transfers data between the devices of the FX5-CCLGN-MS and the devices of the FX5 CPU module. FX5 CPU module FX5-CCLGN-MS Link refresh Link refresh Link refresh Link refresh Link refresh Link refresh Concept of the link refresh range (number of points) The link refresh is performed in the range set in "Refresh Settings"...
Page 35
Setting method The link refresh is assigned in "Refresh Settings" under "Basic Settings". ( Page 133 Refresh settings) Precautions Latched devices of the FX5 CPU module If data in latched devices of the FX5 CPU module are cleared to zero on a program when the FX5 CPU module is powered off and on or reset, the data may be output without being cleared to zero, depending on the timing of the cyclic data transfer processing and link refresh.
Cyclic data assurance This function assures the cyclic data integrity in units of 32 bits or station-based units. : Assured, : Not assured Method Description Link refresh Access to buffer memory 32-bit data assurance Assures data in 32-bit units. Data is automatically assured by satisfying assignment conditions of link devices.
Page 37
Station-based block data assurance Integrity of the cyclic data is assured for each station by handshake between the FX5 CPU module and the FX5-CCLGN-MS for a link refresh. Setting Set station-based block data assurance under "Supplementary Cyclic Settings" in "Application Settings" of the master station. (...
Page 38
• Program Sending station: Master station (station No.0) Classification Setting details Label to be defined Define global labels as shown below: Receiving station: Local station (station No.1) Classification Setting details Label to be defined Define global labels as shown below: •...
Page 39
Data assurance by handshake of the remote register The following shows an example of sending data in W0 to W3 of the master station (station No.0) to W100 to W103 of the local station (station No.1). (B0 and B40 are used for a handshake to the FX5 CPU module.) No.0 No.1 FX5-CCLGN-MS...
Page 40
Receiving station: Local station (station No.1) Classification Setting details Label to be defined Define global labels as shown below: • Program flow The master station checks that the send request bStartDirection (M0) is turned on, and transfers contents of uTransferFrom [0] to [3] to the send data W0 to ...
Communication cycle coexistence When device stations with different communication cycles are included in the network, communicates data using multiple communication cycles according to each device station. The time for each communication cycle is the total time of cyclic transmission, transient transmission, and system reservation time.
I/O maintenance settings When using cyclic transmission, set whether to hold or clear output on the sending side or input on the receiving side by using the following settings of (A), (B), and (C). ( Page 138 Supplementary Cyclic Settings) •...
Page 43
Output data hold/clear operation during CPU STOP The following figure shows the devices where the setting of "Output Hold/Clear Setting during CPU STOP" is enabled when the FX5 CPU module on the sending side changes from RUN to STOP. At unicast mode No.0 No.1 No.2...
Page 45
Input data hold/clear operation from the data link faulty station The following figure shows the devices where "Data Link Faulty Station Setting" is enabled when each station becomes faulty. At unicast mode No.0 No.1 No.2 No.3 No.1 No.1 No.2 No.2 No.3 No.3 No.1...
CANopen communications CANopen communications are used for controlling a device that supports the CANopen profile. CANopen communications have SDO communication using transient transmission and PDO communication using cyclic transmission for devices that support the CANopen profile. SDO communication is performed using the SLMPSND instruction.
Transient Transmission This function is used for data communications at any timing and has the following three types. Page 46 Communications using a dedicated instruction Page 47 Communications using the SLMP Page 47 Communications using the engineering tool FX5-CCLGN-MS can communicate only in the same network. Communications using a dedicated instruction This type of the data communication is used to read/write data from the master station or local station to devices in a CPU module of the local station using the dedicated instructions.
Communications using the SLMP This type of the data communication is used to read/write data from the external device, such as a personal computer or HMI (Human Machine Interface), to devices in the CPU module of the master station and local station and the buffer memory areas of the remote station via an SLMP.
Ethernet Connection This function connects an Ethernet device to a module without interfering with CC-Link IE TSN. Connection with MELSOFT products Programming and monitoring of the programmable controller are performed via Ethernet using the engineering tool. This function enables remote control using long-distance connectivity and high-speed communications via Ethernet. The following table lists the methods of connecting the FX5-CCLGN-MS to MELSOFT products (such as engineering tool).
Page 51
Settings on the engineering tool side Set in the "Specify Connection Destination Connection" window. [Online] [Current Connection Destination] [Other Connection Method] [Other Connection Method (Open the Specify Connection Destination window)] 4 FUNCTIONS 4.4 Ethernet Connection...
Page 52
Set "PC side I/F" to "Ethernet Board". Double-click "Ethernet Board", and open the "PC side I/ F Detailed Setting of Ethernet Board" window. Set the network number, station number, and protocol of the personal computer. TCP: A connection is established during communication. Since data is exchanged while checking that the data has correctly reached the communication destination, the data reliability can be ensured.
Searching modules on the network For a connection using an industrial switch, a list of modules that can be searched for will appear by clicking the [Find] button on the detailed setting window. Search target modules are as follows. • FX5 CPU module connected to the same industrial switch as the engineering tool •...
Security This function ensures security according to the network environment by restricting access for each communication path to the FX5 CPU module. The following two access restriction methods can be used. Page 52 IP filter Page 54 Remote password IP filter This function identifies the IP address of the access source, and prevents unauthorized access.
Page 55
Setting method Set the IP address to be allowed or blocked in the "IP Filter Settings" window of "Security" under "Application Settings". ( Page 139 Security) A warning is displayed in the following cases. • When blocking the IP address of the device station set in "Network Configuration Settings" under "Basic Settings" was attempted •...
Remote password This function permits or prohibits access from the external device to the FX5 CPU module via the FX5-CCLGN-MS. This prevents unauthorized access to the FX5 CPU module from a remote location. The remote password is one method of preventing unauthorized access (such as program or data destruction) from an external device.
Page 57
Setting method Set a remote password on the "Remote Password Setting" window. [Navigation window] [Parameter] [Remote Password] Click the [Password] button, and register the remote password on the "Register Password" window. [Password] button Select the module for which the remote password is to be applied, and set the "Intelligent Module No."...
Page 58
Access permitted/prohibited processing operation The following describes the processing for permitting or prohibiting access from the external device to the FX5 CPU module with a remote password. Access permit processing (Unlock processing) The external device trying to communicate unlocks the remote password set for the connected FX5-CCLGN-MS. If the password is not unlocked, the FX5-CCLGN-MS to which the external device is connected prohibits access, so an error occurs in the external device.
Page 59
Accessible station The station accessible from the external device when a remote password is set for the FX5 CPU module and the station that can unlock/lock the remote password are limited to those with the same network number. The following figure shows an example when the remote password is set for multiple stations in the system. Station 1-2 Station A FX5-CCLGN-MS...
Page 60
Relay function The MELSOFT transmission port (UDP/IP) and SLMP transmission port (UDP/IP) are subject to the dedicated instructions and CC-Link IE TSN relay transmission port. The relay functions of these ports are disabled when the remote password is enabled. 4 FUNCTIONS 4.5 Security...
RAS stands for Reliability, Availability, and Serviceability. This function improves overall usability of automated equipment. Device station disconnection Data link of the station where an error occurred is stopped, and the data link continues only for stations that are operating normally.
IP address duplication detection When one network has stations with the same IP address, duplication is detected. Precautions When IP address duplication is detected in the master station (error codes: 1802H, 3021H), change the IP address of the corresponding station, and power off and on the master station, or reset it. Detection in each station When adding a device station, if a station with the same IP address already exists, IP address duplication (error code : 2160H) is detected in a station to be added, and data link cannot be performed.
Time synchronization The time of device stations is synchronized with the time synchronization source (CPU module of the master station). No.0 No.1 No.2 Setting method The time synchronization is set to the buffer memory. ( Page 263 Time synchronization) Set the same time zone to the CPU modules of the master and local stations. When the FX5-CCLGN-MS is used as the master station, do not connect time synchronization devices whose time synchronization priority is 0 to 15.
Others Device station parameter automatic setting This function saves parameters of the device station in the master station, and automatically sets the parameters when the device station is connected or returned to the network. When the parameters are changed on the device station side, the saved parameters on the master station side are automatically updated.
Page 65
Setting method Set in the "Parameter of Device Station" window. ( Page 146 Parameter processing of a device station) Precautions • A device station whose device station parameter automatic setting abnormally ended does not start data link, and 'Execution result of device station parameter automatic setting function' (SW0160 to SW0167) turns on. Check 'Detailed execution result of device station parameter automatic setting' (SW0194) and the event history and perform corrective actions according to Action of the error codes list.
SYSTEM CONFIGURATION CC-Link IE TSN is configured using Ethernet cables. ( Page 128 Ethernet cable) (1) FX5-CCLGN-MS (2) Inverter device (3) Remote I/O module (4) Ethernet device (such as a vision sensor) System configuration list The following table shows the system configuration list. Configuration Firmware version of the CC-Link IE TSN Protocol...
Page 67
Unicast mode and multicast mode Cyclic transmission differs depending on the communication mode set by the module parameter of the master station. The communication modes are as follows: • Unicast mode • Multicast mode For details, refer to the following. Page 26 Cyclic Transmission CC-Link IE TSN Class settings From "Connection Device Information"...
Structure of CC-Link IE TSN Class B Devices and Ethernet Devices This section describes the system configuration when "Connection Device Information" under "Basic Settings" of the engineering tool is set to "CC-Link IE TSN Class B Only". For the maximum number of connectable stations when "Connection Device Information" under "Basic Settings" of the master station is set to "CC-Link IE TSN Class B Only", check the following.
Structure of unicast mode This mode indicates the availability of connection with a network configuration device when "Communication Mode" under "Application Settings" is set to "Unicast". When the communication speed for the master station is set to 1Gbps The following table lists the availability of connection with a network configuration device when the communication speed for the master station is set to 1Gbps.
Page 70
When the communication speed for the master station is set to 100Mbps This mode indicates the availability of connection with a network configuration device when "Communication Speed" of the master station set to "100Mbps". : Connection available, : Connection available via an industrial switch, : Connection not available S: Industrial switches (for CC-Link IE TSN Class B) can be used.
Structure of multicast mode This mode indicates the availability of connection with a network configuration device when "Communication Mode" under "Application Settings" is set to "Multicast". When the communication speed for the master station is set to 1Gbps The following table lists the availability of connection with a network configuration device when the communication speed for the master station is set to 1Gbps.
Page 72
When the communication speed for the master station is set to 100Mbps This mode indicates the availability of connection with a network configuration device when "Communication Speed" of the master station set to "100Mbps". : Connection available, : Connection available via an industrial switch, : Connection not available S: Industrial switches (for CC-Link IE TSN Class B) can be used.
Structure with modules on CC-Link IE TSN only Connection with modules on CC-Link IE TSN only Line topology The network is configured in a line topology. An industrial switch (for CC-Link IE TSN Class B) is not required. When an error occurs in a device station, the stations connected after the faulty station will be disconnected. No.0 No.1 No.2...
Page 74
Connection with modules on CC-Link IE TSN with a communication speed of 100Mbps The following shows the network topologies when a CC-Link IE TSN module with a communication speed of 100Mbps is connected. Line topology The communication speed of the module must be adjusted for connection. (When connecting modules with different communication speeds, an industrial switch (for CC-Link IE TSN Class B) is required.) No.0 No.2...
Page 75
• When "Communication Mode" is set to "Multicast" and "Communication Speed" of the master station is set to "1Gbps", communication may not be possible depending on the type of the device if device stations with different communication speeds of 1Gbps and 100Mbps coexist on the end side via the industrial switch. The communication will be enabled by configuring settings with the industrial switch (for CC-Link IE TSN Class B) so that the multicast frame (with multicast MAC address 09:00:70:00:10:02 and 09:00:70:00:10:05) will not be transferred to the device station with 100Mbps.
Page 76
• When the communication speed of the master station is 1Gbps, a connection cannot be established if the total cyclic data size of all device stations on the 100Mbps device side exceeds 2K bytes. This includes the devices with a communication speed of 100Mbps that form a boundary between the communication speed of 1Gbps and 100Mbps.
Structure of modules on CC-Link IE TSN and Ethernet devices Connection with modules on CC-Link IE TSN and Ethernet devices Line topology The network with modules and devices is configured in a line topology. An industrial switch (for CC-Link IE TSN Class B) is not required.
Structure of CC-Link IE TSN Class B/A Devices (CC-Link IE TSN Protocol Version 2.0 Only) and Ethernet Devices The following diagram shows the system configuration under the conditions below: • "Mixture of CC-Link IE TSN Class B/A or CC-Link IE TSN Class A Only" set for "Connection Device Information" under "Basic Settings"...
Page 79
The following terms are used to describe the terms in the tables referenced. No.0: Master station No.1: Local station No.2: Remote station (1) Device on the master station side (The master station or a device near the master station) No.0 No.1 (2) Device on the end side (A device far from the master station) No.2...
Structure of unicast mode This mode indicates the availability of connection with a network configuration device when "Communication Mode" under "Application Settings" is set to "Unicast". When the communication speed for the master station is set to 1Gbps The following table lists the availability of connection with a network configuration device when the communication speed for the master station is set to 1Gbps.
Page 81
When the communication speed for the master station is set to 100Mbps This mode indicates the availability of connection with a network configuration device when "Communication Speed" of the master station set to "100Mbps". : Connection available, : Connection available via an industrial switch, : Connection not available S: Industrial switches (for CC-Link IE TSN Class B) can be used.
Structure of multicast mode This mode indicates the availability of connection with a network configuration device when "Communication Mode" under "Application Settings" is set to "Multicast". When the communication speed for the master station is set to 1Gbps The following table lists the availability of connection with a network configuration device when the communication speed for the master station is set to 1Gbps.
Page 83
When the communication speed for the master station is set to 100Mbps This mode indicates the availability of connection with a network configuration device when "Communication Speed" of the master station set to "100Mbps". : Connection available, : Connection available via an industrial switch, : Connection not available S: Industrial switches (for CC-Link IE TSN Class B) can be used.
Structure with modules on CC-Link IE TSN only Connection with modules on CC-Link IE TSN only Line topology Connect a CC-Link IE TSN Class A device to the end of an CC-Link IE TSN Class B device. No.1 No.0 Class B Class B No.2 No.3...
Page 85
• When connecting a CC-Link IE TSN Class A device in a star topology, connect via an industrial switch (for CC-Link IE TSN Class B) or an industrial switch (for CC-Link IE TSN Class A). No.0 Industrial switch Class B (for CC-Link IE TSN Class A) No.2 Class A...
Page 86
• When connecting a CC-Link IE TSN Class A device only structure in a star topology, connect with an industrial switch (for CC-Link IE TSN Class A). No.0 No.3 Class A Industrial switch Industrial switch No.1 No.2 (for CC-Link IE TSN Class A) (for CC-Link IE TSN Class A) Class A Class A...
Page 87
• When connecting a CC-Link IE TSN Class B device in a line topology in a CC-Link IE TSN Class B/A mixed structure, connect the CC-Link IE TSN Class A device directly or via an industrial switch (for CC-Link IE TSN Class A). Industrial switch No.0 No.8...
Page 88
Connection with modules on CC-Link IE TSN with a communication speed of 100Mbps This section describes the network topology when "Communication Speed" under "Application Settings" is set to "100Mbps". Line topology Adjust the communication speed of the module to 100Mbps to establish connections. (When connecting modules with different communication speeds, an industrial switch is required.) No.0 No.1...
Page 89
• Set the same communication speed (100Mbps) for the master station and local stations. No.0 No.2 No.0 No.2 Class B (100Mbps) Class B (1Gbps) Class B (100Mbps) Class B (100Mbps) Industrial switch Industrial switch (for CC-Link IE TSN (for CC-Link IE TSN Class B) Class B) No.1...
Page 90
Coexistence of line and star topologies Line and star topologies can be mixed in the same network configuration. • When the master station with a communication speed of 1Gbps and a local or remote station with a communication speed of 100Mbps exist in the structure, set "Communication Period Setting" to "Low-Speed" for the local or remote station with a communication speed of 100Mbps.
Page 91
• If the communication speed of the master station is 1Gbps, the total cyclic data size of all device stations on the 100Mbps device side at the boundary between communication speeds of 1Gbps and 100Mbps must not exceed 2K bytes. Ò...
Structure of modules on CC-Link IE TSN and Ethernet devices Connection with modules on CC-Link IE TSN and Ethernet devices Line topology The network with modules and devices is configured in a line topology. An industrial switch (for CC-Link IE TSN Class A) is not required.
Page 93
Coexistence of line and star topologies Line and star topologies can be mixed according to the availability of each connection. • Connect Ethernet devices at the end of line topology. • When connecting an Ethernet device in a star topology, connect it with an industrial switch (for CC-Link IE TSN Class B) or an industrial switch (for CC-Link IE TSN Class A).
Structure of CC-Link IE TSN Class B/A Devices (Mixture of CC-Link IE TSN Protocol Version 1.0 and 2.0) and Ethernet Devices The following diagram shows the system configuration under the conditions below: • "Mixture of CC-Link IE TSN Class B/A or CC-Link IE TSN Class A Only" set for "Connection Device Information" under "Basic Settings"...
Page 95
Setting method Operating protocol setting The protocol for operation when a device supporting the CC-Link IE TSN Protocol version 2.0 and a device supporting the CC-Link IE TSN Protocol version 1.0 coexist in the network can be set with 'Protocol information' (Un\G44320 to Un\G44335) in the buffer memory.
Page 96
Operation when versions of connected devices are combined The following tables show whether restrictions apply to possible combinations of connected devices that support the CC-Link IE TSN Protocol version 2.0 and those that do not. • Restrictions: Up to eight CC-Link IE TSN Class B devices can be connected to each port of the master station CC-Link IE TSN Protocol version 2.0 support Restrictions CC-Link IE TSN Class A device...
Page 97
Operation when combined with versions of other products The following tables show how parameters used for the FX5-CCLGN-MS operate in combination with other products that support or do not support the CC-Link IE TSN Protocol version 2.0. Combination with the engineering tool •...
Connection configuration of CC-Link IE TSN-compatible devices The following table shows time synchronization methods based on the CC-Link IE TSN Protocol version 2.0 support status of each CC-Link IE TSN-compatible device in the network. With CC-Link IE TSN Protocol version 1.0: Devices that do not support the CC-Link IE TSN Protocol version 2.0 are included. CC-Link IE TSN Protocol version 2.0 only: There are only devices that support the CC-Link IE TSN Protocol version 2.0.
Structure of CC-Link IE TSN Class B/A Devices (CC-Link IE TSN Protocol Version 1.0 Only) and Ethernet Devices The following diagram shows the system configuration under the conditions below: • "Mixture of CC-Link IE TSN Class B/A or CC-Link IE TSN Class A Only" set for "Connection Device Information" under "Basic Settings"...
Structure of unicast mode This mode indicates the availability of connection with a network configuration device when "Communication Mode" under "Application Settings" is set to "Unicast". When the communication speed for the master station is set to 1Gbps The following table lists the availability of connection with a network configuration device when the communication speed for the master station is set to 1Gbps.
Page 101
When the communication speed for the master station is set to 100Mbps This mode indicates the availability of connection with a network configuration device when "Communication Speed" of the master station set to "100Mbps". : Connection available, : Connection available via an industrial switch, : Connection not available S: Industrial switches (for CC-Link IE TSN Class B) can be used.
Structure of multicast mode This mode indicates the availability of connection with a network configuration device when "Communication Mode" under "Application Settings" is set to "Multicast". When the communication speed for the master station is set to 1Gbps The following table lists the availability of connection with a network configuration device when the communication speed for the master station is set to 1Gbps.
Page 103
*8 When the firmware version of the master station is "1.002" or earlier, a local station and CC-Link IE TSN Class A remote station cannot be connected together on the end side via the industrial switch. *9 A connection cannot be established if the total cyclic data size of all device stations on the 100Mbps device side exceeds 2K bytes. This includes the devices with a communication speed of 100Mbps that form a boundary between the communication speed of 1Gbps and 100Mbps.
Page 104
When the communication speed for the master station is set to 100Mbps This mode indicates the availability of connection with a network configuration device when "Communication Speed" of the master station set to "100Mbps". : Connection available, : Connection available via an industrial switch, : Connection not available S: Industrial switches (for CC-Link IE TSN Class B) can be used.
Structure with modules on CC-Link IE TSN only Connection with modules on CC-Link IE TSN only Line topology The network is configured in a line topology. • Up to eight CC-Link IE TSN Class B devices can be connected to P1 or P2 of the master station. No.0 Class B Class B...
Page 106
• When the device stations are CC-Link IE TSN Class A devices only, up to 60 device stations can be connected. No.0 No.1 Class B No.2 No.3 No.4 Class A Class A Class A Class A ..No.0: Master station No.1, No.2, No.3, and No.4: Remote station Class A: CC-Link IE TSN Class A device Class B: CC-Link IE TSN Class B device...
Page 107
• When "Communication Mode" is set to "Multicast", communication may not be possible depending on the device if both a local station and a CC-Link IE TSN Class A remote station are connected on the end side via an industrial switch. The communication will be enabled by configuring settings with the industrial switch so that the multicast frame (with multicast MAC address 09:00:70:00:10:02 and 09:00:70:00:10:05) will not be transferred to the CC-Link IE TSN Class A remote station port.
Page 108
Coexistence of line and star topologies Line and star topologies can be mixed according to the availability of connection as described below. • Configure the system with the number of CC-Link IE TSN Class B device stations and industrial switches (for CC-Link IE TSN Class B) as eight or less in total for each port of the master station on the transmission path from the master station to the CC-Link IE TSN Class B device of the end.
Page 109
• Connection cannot be made if the total cyclic data size of all device stations on the CC-Link IE TSN Class A device side that form a boundary between CC-Link IE TSN Class B and CC-Link IE TSN Class A devices exceeds 2K bytes. Ò...
Page 110
Connection with modules on CC-Link IE TSN with a communication speed of 100Mbps This section describes the network topology when "Communication Speed" under "Application Settings" is set to "100Mbps". Line topology In a configuration where modules with a communication speed of 100Mbps exist, the communication speed must be the same for all connected modules.
Page 111
• When "Communication Mode" is set to "Multicast" and the communication speed of the master station is 1Gbps, communication may not be possible depending on the type of the device if device stations with different communication speeds of 1Gbps and 100Mbps coexist on the end side via the industrial switch. The communication will be enabled by configuring settings with the industrial switch so that the multicast frame (with multicast MAC address 09:00:70:00:10:02 and 09:00:70:00:10:05) will not be transferred to the port of the device station with 100Mbps.
Page 112
• When the communication speed of the master station is 1Gbps, a connection cannot be established if the total cyclic data size of all device stations on the 100Mbps device side exceeds 2K bytes. This includes the devices with a communication speed of 100Mbps that form a boundary between the communication speed of 1Gbps and 100Mbps.
Structure of modules on CC-Link IE TSN and Ethernet devices Connection with modules on CC-Link IE TSN and Ethernet devices Line topology The network with modules and devices is configured in a line topology. An industrial switch (for CC-Link IE TSN Class A) is not required.
Page 114
Coexistence of line and star topologies Line and star topologies can be mixed according to the availability of each connection. • Configure the system with the number of CC-Link IE TSN Class B device stations and industrial switches (for CC-Link IE TSN Class B) as eight or less in total for each port of the master station on the transmission path from the master station to the CC-Link IE TSN Class B device of the end.
Connection Examples Category Connection Description Reference Structure of CC-Link IE TSN Class Connection of remote I/O modules • The master station and all of the device Page 113 Connection of remote I/O B devices only and inverters (for line topology) stations are CC-Link IE TSN Class B.
Page 116
Connection of remote I/O modules and inverters (for star topology) The following figure shows connection of master/local module + remote I/O modules + inverters (for star topology). No.3 Class B (1Gbps) No.0 No.4 Industrial switch No.1 No.2 Class B (1Gbps) Class B (1Gbps) (for CC-Link IE TSN Class B) Class B (1Gbps)
Page 117
Servo amplifier (CC-Link IE TSN Class B) connection The following figure shows connection of master/local module + servo amplifiers (CC-Link IE TSN Class B). No.0 No.1 No.2 No.3 Class B (1Gbps) Class B (1Gbps) Class B (1Gbps) Class B (1Gbps) No.6 No.5 No.4...
Structure of CC-Link IE TSN Class B devices and Ethernet devices Direct connection of Ethernet devices The following figure shows direct connection of Ethernet devices to CC-Link IE TSN-compatible devices. No.1 Class B (1Gbps) No.0 Industrial switch No.2 Class B (1Gbps) (for CC-Link IE TSN Class B) Class B (1Gbps) No.3...
Page 119
Connection of Ethernet devices to an industrial switch The configuration for connecting Ethernet devices to industrial switches (for CC-Link IE TSN Class B) and industrial switches (for CC-Link IE TSN Class A) in the configuration is shown below. No.2 Class B (1Gbps) Industrial switch No.4 (for CC-Link IE...
Structure of CC-Link IE TSN Class B/A devices only Connection of inverters (Only the master station is CC-Link IE TSN Class B.) If an industrial switch is used to configure a system (master station: 1Gbps) The following figure shows connection of master/local module (1Gbps) + inverters. (Only the master station is CC-Link IE TSN Class B.) No.1 No.2...
Page 121
If an industrial switch is not used to configure a system (master station: 100Mbps) The following figure shows connection of master/local module (100Mbps) + inverters. (Only the master station is CC-Link IE TSN Class B.) No.0 No.1 No.2 No.3 No.4 No.5 Class B (100Mbps) Class A (100Mbps)
Page 122
If an industrial switch is used to configure a system (master station: 100Mbps) The following figure shows connection of master/local module (100Mbps) + inverters. (Only the master station is CC-Link IE TSN Class B.) No.1 No.2 Class A (100Mbps) Class A (100Mbps) No.3 Industrial switch Class A (100Mbps)
Page 123
Connection of remote I/O modules and inverters The following figure shows connection of master/local module + remote I/O modules + inverters. Ò Ó No.1 No.2 Class B (1Gbps) Class B (1Gbps) No.5 Class A (100Mbps) Class B No.0 Class B (1Gbps) Industrial switch (for CC-Link IE TSN Class A)
Page 124
Precautions If the firmware version is "1.002" or earlier, connection cannot be made if the total cyclic data size of the CC-Link IE TSN Class A devices exceeds 2K bytes. (The total cyclic data size of the CC-Link IE TSN Class A devices in the entire system configuration, regardless of the connection path) For example, when the cyclic data size of one device is 0.2K bytes, the upper limit is 10 devices.
Structure of CC-Link IE TSN Class B/A devices and Ethernet devices Connection of Ethernet devices The configuration for connecting Ethernet devices to CC-Link IE TSN-compatible devices or industrial switches (for CC-Link IE TSN Class A) in the configuration is shown below. Ò...
Precautions for System Configuration Restriction of firmware version Combination of the master station and local stations For the FX5-CCLGN-MS, when using the CC-Link IE TSN Protocol version 2.0 (mixture of CC-Link IE TSN Class B/A), perform the firmware update on modules with "1.002" or earlier to update to "1.010" or later before use. However, if the CC-Link IE TSN Protocol version 2.0 (mixture of CC-Link IE TSN Class B/A) is used and any CC-Link IE TSN Class A device station that does not support the CC-Link IE TSN Protocol version 2.0 is included in the network, operation reverts to the CC-Link IE TSN Protocol version 1.0, and the restrictions of the connection configuration apply accordingly.
WIRING This chapter describes the wiring methods, wiring products, and wiring precautions when using the FX5-CCLGN-MS. Power Supply Wiring Power connector layout (Green) (Black) (Red) Power supply wiring Master/local module Red Black Green Ground resistance of 24VDC 100 ohms or less (Grounding resistance: 100: or less) Grounding...
CC-Link IE TSN Wiring This section describes the wiring when using CC-Link IE TSN. Wiring methods The following describes connection and disconnection of the Ethernet cable. ■Connecting the cable Power off the FX5-CCLGN-MS and the external device. Push the Ethernet cable connector into the FX5-CCLGN-MS until it clicks. Pay attention to the connector's direction. Lightly pull it to check that it is securely connected.
Page 129
■Precautions Be sure to follow the precautions for wiring. Otherwise, some functions may not operate normally. (They may operate normally temporarily.) • The bending radius of the Ethernet cable is limited. For details, check the specifications of the Ethernet cable to be used. •...
Page 130
• IEEE 802.3 (100BASE-TX) • ANSI/TIA/EIA-568-B (Category 5) Cables for CC-Link IE TSN are available from Mitsubishi Electric System & Service Co., Ltd. (Catalogs for cable are also available.) In addition, the connector processing of cable length is available for your preference. Please consult your local Mitsubishi representative.
PARAMETER SETTINGS This chapter describes the parameter settings required for communications between the FX5-CCLGN-MS and other stations. Setting Parameters Add the FX5-CCLGN-MS in the engineering tool. [Navigation window] [Parameter] [Module Information] Right-click [Add New Module] The required settings, basic settings, and application settings are included in the parameter settings. Select one of the settings from the tree on the following window.
Network No. Set the network number of the FX5-CCLGN-MS. Item Description Setting range Network No. Set the network number of the FX5-CCLGN-MS. 1 to 239 (Default: 1) Precautions Set a network number that does not duplicate any other network numbers. When a network number is duplicated in the same system, an error will occur in the CPU module.
Station No./IP Address Setting Set the station number and IP address of the own station of the FX5-CCLGN-MS. Item Description Setting range Station No./IP Address Select whether to set the station number using the engineering tool or set the station number/IP •...
Basic Settings Set the network configurations, refresh settings, or other parameters for the FX5-CCLGN-MS. : Can be set, : Cannot be set Item Description Availability Reference Master Local station station Network Configuration Set the parameters of device stations (the number of points and Page 140 "CC-Link IE TSN Settings assignment of link devices) in the master station.
Refresh settings Assign link refresh ranges between the following devices. • SB, SW, link devices (RX, RY, RWr, RWw) of the FX5-CCLGN-MS Devices of the FX5 CPU module Setting method The procedure for the refresh settings is as follows. Set the required items.
Page 136
Item Description Setting range For master stations For local stations Device name Device name 1 to 256 Link Side Set the link refresh ranges of RX, RY, RWr, and RWw. A maximum of 256 • RX, RY, RWr, RWw points can be set for the link refresh range of each. ( Page 32 Link •...
Network Topology Select the network topology type according to the actual network configuration. Setting is not required and can be left as "Line/Star" (default). Communication Period Setting Perform basic cycle setting and multiple cycle setting. • Basic cycle setting requires calculation of the communication cycle interval and cyclic transmission time. ( Page 286 Communication cycle intervals) •...
Connection Device Information Set the information of the connected device. Item Description Setting range CC-Link IE Sets the CC-Link IE TSN Class of connected devices. • CC-Link IE TSN Class B Only TSN Class • Mixture of CC-Link IE TSN Class B/A or CC-Link IE TSN Class A Setting Only (Default: CC-Link IE TSN Class B Only)
Application Settings Set the supplementary cyclic settings, transient transmission group number, and other settings for the FX5-CCLGN-MS. Item Description Reference Communication Speed Set the communication speed. Page 137 Communication Speed Supplementary Cyclic Settings Set the station-based block data assurance and I/O maintenance settings. Page 138 Supplementary Cyclic Settings Transient Transmission Group No.
Supplementary Cyclic Settings Set the station-based block data assurance and I/O maintenance settings. Item Description Setting range Station-based Block Data Assurance Select whether to ensure data integrity of the data blocks being refreshed • Enable between the FX5 CPU module and the FX5-CCLGN-MS. ( Page 34 •...
Module Operation Mode Set the mode for the FX5-CCLGN-MS. For details on the module communication test mode, refer to the following. Page 200 Module communication test Item Description Setting range Module Operation Mode Online • Online • Select this mode to connect the FX5-CCLGN-MS to the network for performing data •...
"CC-Link IE TSN Configuration" Window Perform the parameter setting of device stations, the detection of connected/disconnected devices, or others. [Navigation window] [Parameter] [Module Information] Target module [Module Parameter] [Basic Settings] [Network Configuration Settings] Parameter setting of a device station Set parameters of device stations (the number of points and assignment of link devices) in the master station.
Page 143
Setting items • Simple Display: Click the [Simple Display] button to display a narrow portion of items. Use for operation with default settings or the minimum required settings. (Default) • Detailed Display: Click the [Detailed display] button to display all items. Item (Detailed display) Description Setting range...
Page 144
Item (Detailed display) Description Setting range RX Setting Assign RX/RY points in increments of 16. ( Page 27 Communications • Number of points: 16 to 8192 using RX, RY, RWr, and RWw) • Start: 0H to 1FF0H RY Setting Modules with settings provided by profile are automatically set from selected •...
Page 145
*1 When the settings cannot be determined with the module parameter and "Network Configuration Settings", a hyphen or incorrect calculation result may be displayed. *2 If "CC-Link IE TSN Class" of the general CC-Link IE TSN module added to the list of stations under the network configuration setting is CC-Link IE TSN Class A, cyclic transmission may not be possible when the minimum value for the communication cycle interval and cyclic transmission time are set to "Communication Period Interval Setting"...
Connected/disconnected module detection This function detects connected device stations, and displays the stations on the "CC-Link IE TSN Configuration" window. Click the [Connected/Disconnected Module Detection] button. When the [Execute] button is clicked according to the instruction on the window, connected device stations are detected and displayed on the "CC-Link IE TSN Configuration"...
Page 147
IP address verification Operation Display When station numbers of result detected device stations are not set Detected device stations are not Connect Detected device stations are added. (Settings other than "IP Address", A station number is automatically in the saved CC-Link IE TSN "STA#", and "Station Type"...
Parameter processing of a device station This function reads and saves the parameters from the device station, and writes the saved parameters to the device station. Also, it automatically sets parameters of the device station from the master station. ( Page 62 Device station parameter automatic setting) [Navigation window] ...
Page 149
Item Description Target Module Information Information for the selected device stations is displayed. Method selection Select processing to be executed for selected device stations. • Parameter auto-setting: Automatically set contents of "Write Value/Setting Value" to the device station. ( Page 62 Device station parameter automatic setting) •...
Command execution to device stations This function executes commands (Error clear request, Error history clear request) to a device station. [Navigation window] [Parameter] [Module Information] Target module [Basic Settings] [Network Configuration Settings] Select and right-click the device station, select "Command Execution of Device Station" from "Online" to display the "Command Execution of Device Station"...
PDO mapping setting Set the PDO mapping to the station that supports CANopen communications. When an extension module such as the multi-axis servo amplifier having PDO mapping information is connected, the maximum number of connectable modules varies depending on the number of axes. When a multi-axis servo amplifier with three axes is connected, the number of connectable stations is 20, which is 60 (the maximum number of connectable stations) divided by 3 (the number of axes).
Page 152
Select a PDO mapping pattern of RPDO assigned in the link device (RWw). Click the [OK] button. Check the selected PDO mapping pattern. Click the [OK] button to close "PDO Mapping Setting". Cases where the PDO mapping is not set The PDO mapping is not set to the target device stations in the following cases: •...
DEDICATED INSTRUCTION This chapter describes the transmission ranges and dedicated instructions that can be used in the FX5-CCLGN-MS. For details on dedicated instructions, refer to the following. MELSEC iQ-F FX5 Programming Manual (Instructions, Standard Functions/Function Blocks) Link dedicated instructions The following table lists the instructions used for transient transmission to or from programmable controllers on other stations.
Precautions for Dedicated Instructions This section describes precautions when using dedicated instructions. Precautions for dedicated instructions (common) ■When changing data specified by dedicated instructions Do not change any data (such as control data) until execution of the dedicated instruction is completed. ■When the dedicated instruction is not completed Check whether the mode of the FX5-CCLGN-MS is set to online.
PROGRAMMING This chapter describes programming and startup examples of CC-Link IE TSN. Precautions for Programming This section describes precautions to create CC-Link IE TSN programs. Cyclic transmission program For a cyclic transmission program, configure an interlock with the following module labels (link special relay (SB), link special register (SW)).
Communication Example Between the Master Station and Local Station The following system configuration is used to explain communication between the master station and local station. System configuration • CPU module: FX5U-32MT/ES • Master/local module: FX5-CCLGN-MS (Intelligent module No.: 0000H to 001FH) No.0 No.1 No.2...
Page 157
RWr/RWw assignment Each of the following No.0 to No.2 represents a station number. No.0 is master station, and No.1 and No.2 are local stations. FX5 CPU module No.0 No.1 No.2 FX5 CPU module 0000H 0000H 0000H No.1 No.1 No.1 00FFH 00FFH 00FFH 0100H...
Page 158
Multicast mode RX/RY assignment Each of the following No.0 to No.2 represents a station number. No.0 is master station, and No.1 and No.2 are local stations. FX5 CPU module No.0 No.1 No.2 FX5 CPU module 1000 1000 0000H 0000H 0000H No.1 No.1 No.1...
Setting in the master station Connect the engineering tool to the FX5 CPU module on the master station and set the parameters. Set the FX5 CPU module as follows. [Project] [New] Click the [Setting Change] button to use the module label. 9 PROGRAMMING 9.2 Communication Example Between the Master Station and Local Station...
Page 160
Set the FX5-CCLGN-MS as follows. [Navigation window] [Parameter] [Module Information] Right-click [Add New Module] Click the [OK] button to add a module label of the FX5-CCLGN-MS. Set the items in "Required Settings" as follows. [Navigation window] [Parameter] [Module Information] [FX5-CCLGN-MS] [Required Settings] 9 PROGRAMMING 9.2 Communication Example Between the Master Station and Local Station...
Page 161
Set the network configuration as follows. (Set the IP address for each station.) [Navigation window] [Parameter] [Module Information] [FX5-CCLGN-MS] [Basic Settings] [Network Configuration Settings] Click the [Close with Reflecting the Setting] button to close the "CC-Link IE TSN Configuration" window. Set the refresh settings as follows.
Settings in the local stations Connect the engineering tool to the FX5 CPU module on the local station and set parameters. Set the same setting for station No.1 and station No.2. Set the FX5 CPU module and add the module labels of the FX5 CPU module. The setting method of the FX5 CPU module and addition method of the module label are the same as those of the master station.
Page 163
Set the items in "Required Settings" as follows. [Navigation window] [Parameter] [Module Information] [FX5-CCLGN-MS] [Required Settings] • For station No.1 • For station No.2 Set the refresh settings as follows. Set the local stations with station No.1 and station No.2 to the same refresh settings. [Navigation window] ...
Checking the network status Once parameters are set for the master station and local station, check whether data links between the master station and local station is normally operating. For the check, use the CC-Link IE TSN/CC-Link IE Field diagnostics of the engineering tool.
Program example (At unicast mode) This section describes a program example when "Communication Mode" under "Application Settings" is set to "Unicast". Master station (station No.0) Classification Label name Description Device Module label FX5CCLGN_1.bSts_DataLinkError_D Data link error status of own station SB0049 FX5CCLGN_1.bnSts_DataLinkError_Station_D[1] Data link status of each station (station No.1)
Page 166
Master station (station No.0) (11)Communication program with the local station (station No.1) (39)Communication program with the local station (station No.2) If no response is received for several cycles, 'Data link status of each station' (SW00B0 to SW00B7) is determined to be a cyclic transmission faulty station. 9 PROGRAMMING 9.2 Communication Example Between the Master Station and Local Station...
Page 167
Local station (station No.1, station No.2) Classification Label name Description Device Module label FX5CCLGN_1.bSts_DataLinkError_D Data link error status of own station SB0049 Label to be defined Define global labels as shown below: • Local station (station No.1) • Local station (station No.2) Local station (station No.1) (8) Communication program with the master station (station No.0) 9 PROGRAMMING...
Page 168
Local station (station No.2) (8) Communication program with the master station (station No.0) When "Communication Mode" is set to "Unicast", 'Data link status of each station' (SW00B0 to SW00B7) cannot be used as an interlock in the local station. Execute communications with other stations, taking account of the operating status in stations to be communicated.
Program example (At multicast mode) This section describes a program example when "Communication Mode" under "Application Settings" is set to "Multicast". Master station (station No.0) Classification Label name Description Device Module label FX5CCLGN_1.bSts_DataLinkError_D Data link error status of own station SB0049 FX5CCLGN_1.bnSts_DataLinkError_Station_D[1] Data link status of each station (station No.1)
Page 170
Local station (station No.1, station No.2) Classification Label name Description Device Module label FX5CCLGN_1.bSts_DataLinkError_D Data link error status of own station SB0049 FX5CCLGN_1.bnSts_DataLinkError_Station_D[1] Data link status of each station (station No.1) SW00B0.0 FX5CCLGN_1.bnSts_DataLinkError_Station_D[2] Data link status of each station (station No.2) SW00B0.1 Label to be defined Define global labels as shown below:...
Page 171
Local station (station No.2) (8) Communication program with the master station (station No.0) (36)Communication program with the local station (station No.1) 9 PROGRAMMING 9.2 Communication Example Between the Master Station and Local Station...
Examples of Communication with CC-Link IE TSN Class A Remote Stations When "Communication Mode" is set to "Multicast", the local station cannot obtain data output by the CC-Link IE TSN Class A remote station. Use the following communication examples so that the local station can obtain data output by the CC-Link IE TSN Class A remote station.
Page 173
Link device assignment For RX and RWr, 128 points are assigned to each station. For RY and RWw, 128 points are assigned to a remote station and 256 points to a local station. RX/RY assignment Each of the following No.0 to No.2 represents a station number. •...
Setting in the master station Connect the engineering tool to the FX5 CPU module on the master station and set the parameters. Set the FX5 CPU module as follows. [Project] [New] Click the [Setting Change] button to use the module label. Set the FX5-CCLGN-MS as follows.
Page 175
Click the [OK] button to add a module label of the FX5-CCLGN-MS. Set the items in "Required Settings" as follows. [Navigation window] [Parameter] [Module Information] [FX5-CCLGN-MS] [Required Settings] Set the items in "Basic Settings" as follows. [Navigation window] ...
Page 176
Set the network configuration as follows. (Set the IP address for each station.) [Navigation window] [Parameter] [Module Information] [FX5-CCLGN-MS] [Basic Settings] [Network Configuration Settings] Click the [Close with Reflecting the Setting] button to close the "CC-Link IE TSN Configuration" window. Set the refresh settings as follows.
Set the items in "Application Settings" as follows. [Navigation window] [Parameter] [Module Information] [FX5-CCLGN-MS] [Application Settings] Click the [Apply] button. Write the set parameters to the FX5 CPU module on the master station. Then, reset the FX5 CPU module or power off and on the system.
Settings in the local stations Connect the engineering tool to the FX5 CPU module on the local station and set parameters. Set the FX5 CPU module and add the module labels of the FX5 CPU module. The setting method of the FX5 CPU module and addition method of the module label are the same as those of the master station.
Page 179
Set the refresh settings as follows. [Navigation window] [Parameter] [Module Information] [FX5-CCLGN-MS] [Basic Settings] [Refresh Settings] Set the items in "Application Settings" as follows. [Navigation window] [Parameter] [Module Information] [FX5-CCLGN-MS] [Application Settings] Click the [Apply] button.
Checking the network status After starting up the system, check whether data link can be normally performed. For the check, use the CC-Link IE TSN/CC- Link IE Field diagnostics of the engineering tool. Connect the engineering tool to the FX5 CPU module on the master station. Start the CC-Link IE TSN/CC-Link IE Field diagnostics.
Program examples The following is a program example of communications between the CC-Link IE TSN Class B master station (station No.0), CC-Link IE TSN Class A remote station (station No.1), and local station (station No.2). Master station (station No.0) Classification Label name Description Device...
Page 182
Local station (station No.2) Classification Label name Description Device Module label FX5CCLGN_1.bSts_DataLinkError_D Data link error status of own station SB0049 Label to be defined Define global labels as shown below: • Local station (station No.2) Local station (station No.2) (8) Communication program with the master station (station No.0) and the remote station (station No.1) 9 PROGRAMMING 9.3 Examples of Communication with CC-Link IE TSN Class A Remote Stations...
Communication Example Between the Master Station and Servo Amplifier In profile position mode (pp), by simply configuring settings such as target position and target speed from the master station and turning on the start signal, the servo amplifier will generate a command to the target position and start the positioning operation.
Page 184
Operation The following conceptual figure shows a positioning operation in the program example. Acceleration time constant Target speed Profile acceleration (6083H) Profile velocity (6081H) Deceleration time constant Motor speed Profile deceleration (6084H) Time Target position Target position (607AH) Motor position Time Start signal New set-point...
Setting in the master station Connect the engineering tool to the FX5 CPU module on the master station and set the parameters. Set the FX5 CPU module as follows. [Project] [New] Click the [Setting Change] button to use the module label. Set the FX5-CCLGN-MS as follows.
Page 186
Click the [OK] button to add a module label of the FX5-CCLGN-MS. Set the items in "Required Settings" as follows. [Navigation window] [Parameter] [Module Information] [FX5-CCLGN-MS] [Required Settings] Set the network configuration as follows. [Navigation window] [Parameter] [Module Information] [FX5-CCLGN-MS] [Basic Settings] [Network Configuration Settings] Check that the IP address of the servo amplifier is 192.168.3.1 (rotary switch is 01h (SW1 is 0h, SW2 is 1h)).
Page 187
Set the PDO mapping as follows. [Network Configuration Settings] [PDO Mapping Setting] <Detail Setting> Select "3rd Transmit PDO Mapping" and "3rd Receive PDO Mapping" for the mapping pattern. For details, refer to the following. Page 304 Connection Method for MR-J5(W)-G 9 PROGRAMMING 9.4 Communication Example Between the Master Station and Servo Amplifier...
Page 188
Set the parameters of the servo amplifier (MR-J5-10G) as follows. Select [Network Configuration Settings] [Parameter Automatic Setting] <Detail Setting>. After clicking <Detail Setting>, click the [Yes] button. Set "PA04.2 Servo forced stop selection" to "1: Disabled (the forced stop input EM2 and EM1 are not used)". 9 PROGRAMMING 9.4 Communication Example Between the Master Station and Servo Amplifier...
Page 189
Set "PD01.0-7 Input signal automatic ON selection 1" to "00000C00". Close the window by clicking "" in the upper right corner of the window, and click the [Yes] button. Click the [Close with Reflecting the Setting] button to close the "CC-Link IE TSN Configuration" window. Set the refresh settings as follows.
Servo amplifier settings In this program example, the parameters of the servo amplifier (MR-J5-10G) are set using the master station parameter setting. Therefore, individual setting is not required. Page 183 Setting in the master station To set only the parameters of the servo amplifier (MR-J5-10G) individually, use MR Configurator2. Link device assignment (PDO mapping) CPU side device Link device...
Page 191
CPU side device Link device PDO mapping Index Subindex Entry name W113 RWw0013 2d03 Control DI 3 W114 RWw0014 2d04 Control DI 4 W115 RWw0015 (Not assigned) (Not assigned) (Not assigned) W116 RWw0016 W117 RWw0017 9 PROGRAMMING 9.4 Communication Example Between the Master Station and Servo Amplifier...
Checking the network status After starting up the system, check whether data link can be normally performed. For the check, use the CC-Link IE TSN/CC- Link IE Field diagnostics of the engineering tool. Connect the engineering tool to the FX5 CPU module on the master station. Start the CC-Link IE TSN/CC-Link IE Field diagnostics.
Program examples The following is an example of a program that controls a servo amplifier (MR-J5-10G) in profile position mode (pp). Classification Label name Description Device Module label FX5CCLGN_1.bIn_ModuleReady_D Module READY Un\G34.F FX5CCLGN_1.bIn_DataLink_D Own station data link status Un\G34.1 Label to be defined Define global labels as shown below: PDO communication (positioning operation) (0) Check startup and prepare for operation.
Page 194
(65)Perform positioning operation with relative position command. (118)Servo-off/ready-off 9 PROGRAMMING 9.4 Communication Example Between the Master Station and Servo Amplifier...
Page 195
SDO communication (SLMPSND instruction) The following is an example of using the SLMPSND instruction to read [Power ON cumulative time (Obj.2C18h)] from the object dictionary of the servo amplifier (MR-J5-10G). (0) Set the control data for the SLMPSND instruction. (49)Set the request frame for the SLMP command. 9 PROGRAMMING 9.4 Communication Example Between the Master Station and Servo Amplifier...
Page 196
(81)Execute the SLMPSND instruction. 9 PROGRAMMING 9.4 Communication Example Between the Master Station and Servo Amplifier...
TROUBLESHOOTING This chapter describes troubleshooting of CC-Link IE TSN. 10.1 Checking with LED This section describes troubleshooting with LEDs. When the RUN LED turns off When the RUN LED turns off after powering on the FX5-CCLGN-MS, check the following. Check item Action Is the FX5-CCLGN-MS mounted correctly? Securely mount the FX5-CCLGN-MS on the FX5 CPU module.
Page 198
When the D LINK LED turns off or is flashing When the D LINK LED turns off or is flashing, check the following. Check item Action Is the master station operating normally? • If an error occurs in the FX5 CPU module on the master station, eliminate the cause of the FX5 CPU module error.
Page 199
Check item Action Are time synchronization devices with time synchronization Remove time synchronization devices with time synchronization priority of 0 to 15, or priority of 0 to 15 connected? change the priority to between 16 and 255. Manual for the time synchronization devices used Is the connected industrial switch (for CC-Link IE TSN Class B) Power off and on the industrial switch (for CC-Link IE TSN Class B).
10.2 Checking the Module Status Module diagnostics The following items can be checked in the "Module Diagnostics" window for the FX5-CCLGN-MS. Item Description [Error Information] tab Displays the details of the errors currently occurring and the corrective actions for these errors. "-"...
Page 201
Module Information List The LED information and individual information of the FX5-CCLGN-MS are displayed in the [Module Information List] tab. Item Description LED information Displays the LED status of the FX5-CCLGN-MS. Individual Station Type Displays the station type set for the selected module. information Network No.
Module communication test The module communication test checks the hardware of the FX5-CCLGN-MS. The module hardware is checked when the communication using the FX5-CCLGN-MS is unstable. The following table lists the tests performed. Test item Description Internal self-loopback test Checks whether the communication function of the module can be performed normally. External self-loopback test Checks whether the communication can be performed normally with the Ethernet cable connected between two connectors of the module.
10.3 Checking the Network Status The network status is checked and troubleshooting is performed by using the CC-Link IE TSN/CC-Link IE Field diagnostics to check the network status and error definition and by performing an operation test to check communications. CC-Link IE TSN/CC-Link IE Field diagnostics For CC-Link IE TSN, perform status monitoring, operation tests, or others.
Page 204
Function Function Description Connection destination of Reference type engineering tool Master Local station station Operation test/ Communication Test • This test specifies the network number and Page 208 execution station number or the IP address to check Communication test function whether transient transmission can be performed from the connected station (own...
Page 205
Select the station to be diagnosed from "Select Station" or in the network map. Disconnected Network map station • An icon indicating an error is displayed on the module icon of the station where an error occurs. • A disconnected station that has performed data link is indicated with the disconnected station icon in the network map. However, a disconnected station in the following cases are displayed on the right end of the area.
Page 206
"CC-Link IE TSN/CC-Link IE Field Diagnostics" window Network map Item Description Select Module The FX5-CCLGN-MS under diagnostics is displayed. Diagnostics [Change Module] Allows to change the target FX5-CCLGN-MS when multiple FX5-CCLGN-MSs are mounted. Destination button When two FX5-CCLGN-MSs with the same network number are mounted on the FX5 CPU module, the FX5-CCLGN- MS which is closer to the FX5 CPU module is always diagnosed, regardless of setting.
Page 207
Network map Icon The module type and station number are displayed with an icon. • Click: Selection • Right-click: Executes tests or debugging. • keys on the keyboard: Move the focus to the module to be diagnosed, and determine it with the ...
Page 208
In the following cases, the network map is displayed differently from the actual connection status. Connection status Display of the network map Two stations are connected through an industrial switch. Branches are not displayed in the network map. Industrial switch (for CC-Link IE TSN Class B) No.0 No.1...
Page 209
Selected Station Communication Status Monitor Status of the station selected in "Network Status" is displayed. When a station where an error has occurred is selected Description Indicates the station number and operating status. • Station number No error (light blue): Normal operation •...
Communication test This function checks if transient transmission data can be properly routed from the own station to the communication target. Depending on selection for "Communication Method" ("Network No./Station No." or "IP Address"), the range that can be checked may vary. Selection of "Communication Communication target of transient transmission Method"...
Remote operation This function executes remote operations (such as RUN, STOP, and RESET operations) to the station selected on the "CC- Link IE TSN/CC-Link IE Field Diagnostics" window, from the engineering tool. (Remote operation for device stations is available only for RESET.) The displayed window varies depending on the station selected.
10.4 Troubleshooting by Symptom This section describes troubleshooting by symptom. Perform the troubleshooting by symptom when a data link cannot be performed with the target station even though no error occurs in the FX5-CCLGN-MS. If an error has occurred in the FX5- CCLGN-MS, identify the error cause using the engineering tool.
Page 213
Check item Action The connection device In multicast mode, are a local station and a CC-Link • Configure settings with the industrial switch so that the multicast frame information of the master IE TSN Class A remote station connected on the end (with multicast MAC address 09:00:70:00:10:02 and station is set to "Mixture of side using an industrial switch?
Page 214
Check item Action For devices supporting the CC-Link IE TSN The connection device For details, refer to the following. Page 220 A CC-Link IE TSN Class A device does not perform data information of the master Protocol version 2.0 station is set to "Mixture of Do the system configuration of mixture of CC-Link IE link.
Page 215
When transient transmission cannot be performed The following lists the actions to be taken if transient transmission cannot be performed with the target station, and the engineering tool cannot perform monitoring. Check item Action Is the D LINK LED of the FX5-CCLGN-MS flashing or turned on? Perform troubleshooting to be performed when the D LINK LED turns off.
Page 216
Check item Action For firmware version "1.010" or later The connection device Change "CC-Link IE TSN Class" under "Network information of the master Is the event code 00C81 registered in the event history? Configuration Settings" or "CC-Link IE TSN Class" on the station is set to "Mixture of device station side so that the "CC-Link IE TSN Class"...
Page 217
Check item Action For devices supporting the CC-Link IE TSN Protocol version The connection device Select the actual device to be used from "Module List" of the information of the master network configuration setting and add it to the list of stations, station is set to "Mixture of If the "CC-Link IE TSN Class"...
Page 218
When a station is disconnected from the network The following is the action to be taken when a station in data link is disconnected. Check item Action Is the ambient temperature for the module outside the specified range? Keep the ambient temperature within the specified range by taking action such as removing heat source.
Page 219
Check item Action Does any of the stations breaks any restriction for the industrial switch (for CC- Follow the restrictions for the industrial switch (for CC-Link IE TSN Class B). Link IE TSN Class B)? For the restrictions, refer to the manual for the industrial switch (for CC-Link IE TSN Class B) used.
Page 220
When communication with an SLMP-compatible device cannot be performed When communication with an SLMP-compatible device cannot be performed, check the following items. Check item Action Has the connection with the external device been opened normally? • If the connection with the external device is not opened, perform the open processing.
Page 221
When communications with Ethernet devices cannot be performed When communications (CC-Link IE TSN/CC-Link IE Field diagnostics, transient transmission, remote password, or communication test) with Ethernet devices cannot be performed, check the following items. Check item Action Is the firewall or proxy server setting enabled on the Ethernet device? Check and correct the firewall and proxy server settings on the Ethernet device such as checking if a response to the PING command (ICMP echo request) is disabled.
Page 222
A CC-Link IE TSN Class A device does not perform data link. When "Not to Use TSN HUB" is set When "TSN HUB Setting" in "Connection Device Information" under "Basic Settings" is set to "Not to Use TSN HUB", check the following.
10.5 List of Error Codes The following table lists the error codes, error definitions and causes, and actions for the errors that occur in the processing for data communication between the FX5-CCLGN-MS and external devices or occur by processing requests from the FX5 CPU module on the own station.
Page 224
Error Error definition and causes Action Detailed code information 1 Detailed information 2 Operation source 1802H During data link, overlapping IP addresses have Change the IP address of devices with a duplicated IP address. been detected. information • IP address IP address duplication information...
Page 225
Error Error definition and causes Action Detailed code information 1 Detailed information 2 1805H • The total cyclic data size of all device stations Check the connection and setting on the end side of the station Own station on the CC-Link IE TSN Class A device side that shown in detailed information 2 based on the error definition and information form a boundary between CC-Link IE TSN...
Page 226
Error Error definition and causes Action Detailed code information 1 Detailed information 2 3009H The result when the value set in "Communication Check the detailed information in "Module Diagnostics" of the Period Interval Setting" in "Communication Period engineering tool. Correct the parameter settings described below so Target station Setting"...
Page 227
Error Error definition and causes Action Detailed code information 1 Detailed information 2 3010H The value set in "Communication Period Interval Set the value of "Communication Period Interval Setting" as a value Communication Setting" in "Communication Period Setting" under equal to or larger than the value in the detailed information displayed "Basic Settings"...
Page 228
Error Error definition and causes Action Detailed code information 1 Detailed information 2 Operation source 3021H At startup of data link, IP address duplication Correct the IP addresses of the device stations. among device stations has been detected. information • IP address IP address duplication information...
Page 229
Error Error definition and causes Action Detailed code information 1 Detailed information 2 3160H The number of points of link devices of the device In "Network Configuration Settings" under "Basic Settings", review Parameter stations set to "CC-Link IE TSN Class A" in "CC- the device assignment settings so that the number of points of link information Link IE TSN Class"...
Page 230
Error Error definition and causes Action Detailed code information 1 Detailed information 2 3C2FH An error was detected in the memory. Reset the CPU module, and run it again. If the same error occurs again even after taking the above, the possible cause is a hardware failure of the error module.
Page 231
Error Error definition and causes Action Detailed code information 1 Detailed information 2 C039H Data was not sent correctly with TCP/IP. • Check the settings for connection with the external device (including an industrial switch) and the operation of the external device (error or during resetting).
Page 232
Error Error definition and causes Action Detailed code information 1 Detailed information 2 C05CH • The received request data of the SLMP • Correct the request data and send the SLMP message to the message is incorrect. Ethernet-equipped module again. •...
Page 233
Error Error definition and causes Action Detailed code information 1 Detailed information 2 C073H The access destination of the SLMP message Correct the request details of the SLMP message. cannot issue this request. (For example, the number of double word access points cannot be specified for modules other than a MELSEC iQ-R/ Q/QnACPU.) ...
Page 234
Error Error definition and causes Action Detailed code information 1 Detailed information 2 C204H The device is different from the one requesting Request the lock processing of the remote password from the the remote password unlock processing. external device that requested the unlock processing of the remote password.
Page 235
Error Error definition and causes Action Detailed code information 1 Detailed information 2 CCC9H A read-only object was accessed for write. • Check if the specified index and subindex are correct. • Check the conditions that permit access to the object corresponding to the specified index and subindex.
Page 236
Error Error definition and causes Action Detailed code information 1 Detailed information 2 D0A3H Send processing of the transient transmission has • Check the network status using the CC-Link IE TSN/CC-Link IE failed. Field diagnostics of the engineering tool, and take action. •...
Page 237
Error Error definition and causes Action Detailed code information 1 Detailed information 2 D245H The target station number of the dedicated Correct the target station number at the request source of the instruction is incorrect. dedicated instruction, and retry the operation. ...
Page 238
Error Error definition and causes Action Detailed code information 1 Detailed information 2 D253H A response timeout has occurred when the • Check the network status using the CC-Link IE TSN/CC-Link IE dedicated instruction was executed. Field diagnostics of the engineering tool, and take action. •...
Page 239
Error Error definition and causes Action Detailed code information 1 Detailed information 2 D273H The request data size of transient transmission is • Correct the request command at the transient request source, and incorrect. retry the operation. • If the error occurs again even after taking the above, please consult your local Mitsubishi representative.
Page 240
Error Error definition and causes Action Detailed code information 1 Detailed information 2 D615H Parameter error (each station device range • Write the network parameter to the CPU module again. assignment error (RY)) • Execute again after correcting the size of the device station link device in the setting data.
Page 241
Error Error definition and causes Action Detailed code information 1 Detailed information 2 D629H Parameter error (station number range error) • Write the network parameter to the CPU module again. • Execute again after correcting the station number in the setting data so it is within 1 to 120.
Page 242
Error Error definition and causes Action Detailed code information 1 Detailed information 2 D64AH Parameter error (number of data link error • Write the network parameter to the CPU module again. detection) • Execute again after correcting the number of data link error detection in the setting data.
Page 243
Error Error definition and causes Action Detailed code information 1 Detailed information 2 D65AH Parameter error (maximum number of • Parameters are set over the maximum number of connectable connectable stations) stations. Correct the network parameters so that the number of device stations is 60 or less, then write the parameters to the CPU module again.
Page 244
Error Error definition and causes Action Detailed code information 1 Detailed information 2 D909H The header information of transient transmission Correct the header information at the transient request source, and is incorrect. retry the operation. D90AH During execution of the communication test, the Check the network status using the CC-Link IE TSN/CC-Link IE Field test was retried.
10.6 List of Parameter Numbers The following table lists the parameter numbers displayed in "Module Diagnostics". If there is an error in the parameter settings and the parameter number is displayed, the corresponding parameter can be identified. It is displayed in "Detailed information" in the [Error Information] tab in the "Module Diagnostics" window of the FX5-CCLGN- MS.
Page 246
Item Parameter No. Basic Settings Communication Period Basic Period Setting Setting in Units of 1s A100H Setting Communication Period Interval Setting (Do Not A100H Set it in Units of 1s) Communication Period Interval Setting (Set it in A100H Units of 1s) Cyclic Transmission Time A100H Transient Transmission Time...
10.7 Event List This section lists the events which occur in CC-Link IE TSN. The event history is displayed when the [Event History] button in the [Error Information] tab in the "Module Diagnostics" window of the FX5-CCLGN-MS is clicked. ( Page 198 Error Information) System Event Description...
Conformity of the entire machinery manufactured by using this product to the following directives is not guaranteed. The manufacturer of the machinery must determine whether to declare conformity to the EMC Directive and the Low Voltage Directive (LVD). For details, consult Mitsubishi Electric separately. Measures to comply with the EMC Directive...
Attach the ferrite core with each cable wrapped around it three times at a location within approximately 200mm from the terminal block of the power cable and connector. (Ferrite core used for testing by Mitsubishi Electric: E04SR401938 manufactured by SEIWA ELECTRIC MFG. CO., LTD.) Precautions when using an Ethernet port Use a double shielded twisted pair cable as the 1000BASE-T cable.
Appendix 3 Buffer Memory The buffer memory is used to exchange data between the FX5-CCLGN-MS and the FX5 CPU module. Buffer memory values are reset to default when the FX5 CPU module is reset or the system is powered off. List of buffer memory addresses : Same as the address of P1 Name...
Page 252
Name Read, write Address Address Address Address (decimal) (hexadecimal) (decimal) (hexadecimal) 24832 to 24833 6100H to 6101H RY offset/size Station No.0 RY offset Read information 24834 to 24835 6102H to 6103H Station No.0 RY size Read ...
Page 253
Name Read, write Address Address Address Address (decimal) (hexadecimal) (decimal) (hexadecimal) 44256 to 44257 ACE0H to ACE1H PDO information Start offset of link device Read (Multidrop No.0 using RPDO of station 44258 to 44259 ACE2H to ACE3H RPDO size Read No.120) ...
Page 255
Name Read, write Address Address Address Address (decimal) (hexadecimal) (decimal) (hexadecimal) 52992 to 52993 CF00H to CF01H 60928 to 60929 EE00H to EE01H Status for each Received packet total count Read protocol (IP 52994 to 52995 CF02H to CF03H 60930 to 60931 EE02H to EE03H Received packet checksum Read...
Page 256
Name Read, write Address Address Address Address (decimal) (hexadecimal) (decimal) (hexadecimal) 53292 D02CH 61228 EF2CH P1: Area for System area sending/ 53293 D02DH 61229 EF2DH RECV instruction execution Read receiving request instructions 53294 to 53319 D02EH to D047H 61230 to 61255 EF2EH to EF47H System area P2: System area...
Details of buffer memory addresses Module information area Latest error code (Un\G29) The error code for the latest error that occurred in the FX5-CCLGN-MS is stored. (0 is stored in normal condition.) For details on error codes, refer to the following. Page 221 List of Error Codes Unique code (Un\G30) The unique code (6988H) of the FX5-CCLGN-MS is stored.
Page 258
Device area The RX, RY, RWw, RWr, SB, and SW values are stored. Remote input (RX) (Un\G256 to Un\G1279) The RX value is stored. The RX start number and number of points for each station number can be checked by the RX offset/ size information (Un\G23808 to Un\G24831).
Page 259
Link special register (SW) (Un\G18944 to Un\G23039) The SW value is stored. Address Un\G18944 Un\G18945 Un\G23039 SWFFF Timeslot information Timeslot 0 information (Un\G23552 to Un\G23567) Cycle start offset (ns, s unit) and cycle end offset (ns, s unit) of timeslot 0 are stored. Address Name Description...
Page 260
RY offset/size information RY offset/size information (Un\G24832 to Un\G25855) The start number and the number of points of RY for each station are stored. Address Description Un\G24832 to Un\G24833 Station No.0 offset Un\G24834 to Un\G24835 Station No.0 size (in units of words) Un\G24836 to Un\G24837 Station No.1 offset Un\G24838 to Un\G24839...
Page 261
Own station information The information of the own station on the network is stored. Own station (network card) information (Un\G28160 to Un\G28167) Address Name Description Un\G28160 Manufacturer code The FX5-CCLGN-MS information of the own station is stored. (Also used in the CLPA conformance test.) Un\G28161 Model type (Updated even if set as an error invalid station.)
Page 262
Protocol information Protocol information (Un\G44320 to Un\G44335) Address Name Description Un\G44320 Protocol operating status The operating status of the protocol is stored. 0: The operating protocol is not determined, or "CC-Link IE TSN Class Setting" is set to "CC-Link IE TSN Class B Only" 1: A device is operating with CC-Link IE TSN Protocol version 1.0 2: A device is operating with CC-Link IE TSN Protocol version 2.0 Un\G44321...
Page 263
Timeslot information for device station cyclic transmission Timeslot information for device station cyclic transmission (Un\G44336 to Un\G44395) The timeslot for cyclic transmission is stored for each station number. Address Description Un\G44336 The timeslot for cyclic transmission (Station No.1) is stored. •...
Page 264
Communication cycle setting value ( CC-Link IE TSN Protocol version 2.0) Communication cycle interval (calculation value) (Un\G44596) The communication cycle interval calculated by the number of device stations and the number of points that are set in "Network Configuration Settings" under "Basic Settings" are stored. (Unit: s) The communication cycle interval (CC-Link IE TSN Protocol version 2.0) are stored regardless of the setting value of 'Protocol setting' (Un\G44322).
Page 265
Time synchronization Time distribution interval setting of the CPU module (Un\G51200) This setting specifies the interval for distributing the clock time of the CPU module on the same system as the master module from the master station to device stations. When the setting is changed, the new setting value is enabled after the interval of the distribution operating with the old setting value has elapsed.
Page 266
Own node setting status storage area Own node IP address (Un\G52228 to Un\G52229) The setting values of the IP address are stored. Range: 1H to DFFFFFFEH Subnet mask (Un\G52238 to Un\G52239) The setting values of the subnet mask are stored. Range: 1H to FFFFFFFFH 0: No setting Default gateway IP address (Un\G52242 to Un\G52243)
Page 267
Connection status storage area Latest error code after the 2nd connection of MELSOFT transmission port (TCP/IP) (Un\G52452 to Un\G52458) The latest error code of the 2nd to 8th connection of the MELSOFT transmission port (TCP/IP) is stored. Latest error code after the 2nd connection of SLMP transmission port (TCP/IP) (Un\G52580 to Un\G52586) The latest error code of the 2nd to 8th connection of the SLMP transmission port (TCP/IP) is stored.
Page 268
Status for each protocol (ICMP packet) Received packet total count (Un\G53032 to Un\G53033, Un\G60968 to Un\G60969) The status is counted from 0 to 4294967295 (FFFFFFFFH). Received packet checksum error discard count (Un\G53034 to Un\G53035, Un\G60970 to Un\G60971) The status is counted from 0 to 4294967295 (FFFFFFFFH). Sent packet total count (Un\G53036 to Un\G53037, Un\G60972 to Un\G60973) The status is counted from 0 to 4294967295 (FFFFFFFFH).
Page 269
Own node operation status storage area (industrial switch connection information area) Communication mode (Un\G53183, Un\G61119) • 0: Half-duplex • 1: Full-duplex Connection status (Un\G53184, Un\G61120) • 0: Industrial switch not connected/disconnected • 1: Industrial switch connected Communication speed (Un\G53185, Un\G61121) •...
Page 270
Remote password function monitoring area Auto-open UDP port continuous unlock failure count (Un\G59640, Un\G67576) The mismatch count of remote password at unlock of the auto-open UDP port is stored. The count is cleared when the password matches. Range: 0 to 65535 (Values of 65535 or more are not changed) MELSOFT transmission port (UDP/IP) continuous unlock failure count (Un\G59641, Un\G67577) The mismatch count of remote password at unlock of the MELSOFT transmission port (UDP/IP) is stored.
Appendix 4 List of Link Special Relay (SB) The link special relay (SB) is turned on/off depending on various factors during data link. Any error status of the data link can be checked by using or monitoring it in the program. Application of link special relay (SB) By using link special relay (SB), the status of CC-Link IE TSN can be checked from HMI (Human Machine Interfaces) as well as the engineering tool.
Page 272
List of link special relay (SB) The following table lists the link special relay areas (SB) when they are assigned from SB0000 to SB0FFF. Do not turn on or off areas whose numbers are not in the following list. Doing so may cause malfunction of the programmable controller system.
Page 273
Name Description Availability Master Local station station Unicast Multicast mode mode SB0049 Data link error status of own Stores the data link error status of the own station. station Off: Normal On: Error When this relay is turned on, the cause of the error can be checked with 'Cause of data link stop' (SW0049).
Page 274
Name Description Availability Master Local station station Unicast Multicast mode mode SB0074 Reserved station Stores the status of reserved station specification by parameter. The specification status station number of the station set as a reserved station can be checked with 'Reserved station setting status' (SW00C0 to SW00C7).
Page 275
Name Description Availability Master Local station station Unicast Multicast mode mode SB00D0 Error invalid station setting Set whether an error invalid station is set. current status Off: No setting On: Set When this relay is turned on, the status of each station can be checked with 'Error invalid station setting status' (SW00D0 to SW00D7).
Page 276
Name Description Availability Master Local station station Unicast Multicast mode mode SB0110 CPU minor error status of For local stations, stores the minor error occurrence status of the each station CPU module on each station. For remote stations, stores the minor error occurrence status of each station.
Appendix 5 List of Link Special Register (SW) The link special register (SW) stores the information during data link as a numerical value. Faulty areas and causes can be checked by using or monitoring the link special register (SW) in programs. Application of link special register (SW) By using link special register (SW), the status of CC-Link IE TSN can be checked from HMI (Human Machine Interfaces) as well as the engineering tool.
Page 278
List of link special register (SW) The following table lists the link special register areas (SW) when they are assigned from SW0000 to SW0FFF. Do not write any data to an area whose number is not on the following list. Doing so may cause malfunction of the programmable controller system.
Page 279
Name Description Availability Master Local station station Unicast Multicast mode mode SW004B CPU status of own station Stores the status of the FX5 CPU module on the own station. 00H: No CPU module mounted 01H: STOP (normal) 02H: STOP (moderate/major error) 03H: STOP (minor error) 04H: RUN (normal)
Page 280
Name Description Availability Master Local station station Unicast Multicast mode mode SW0073 Cyclic transmission time Stores the cyclic transmission time calculated by the number of (calculation value) device stations and the number of points that are set in "Network Configuration Settings"...
Page 281
Name Description Availability Master Local station station Unicast Multicast mode mode SW00C8 Parameter setting status Stores the status of parameter settings. 0: No parameter setting SW00CF 1: Parameter set (Conditions) • Stations that surpass the maximum station number are ignored. SW00D0 Error invalid station setting Stores the error invalid station setting status of each station.
Page 282
Name Description Availability Master Local station station Unicast Multicast mode mode SW0199 Link dedicated instructions Stores the processing results of the link dedicated instruction that processing result CH4 used channel 4 of the own station. 0: Completed successfully 1 or greater: Completed with an error (Error code is stored.) SW019A Link dedicated instructions...
Appendix 6 Processing Time The transmission delay time of CC-Link IE TSN consists of the time components below. ( Page 282 Cyclic transmission delay time) (1) Master station sequence scan time + (2) Communication cycle interval (cyclic data transfer processing time) + (3) Device station processing time •...
Cyclic transmission delay time This section shows how to calculate the following cyclic transmission delay time. • The time between the transmission source CPU module device turning on or off and the transmission destination CPU module device turning on or off •...
Page 285
Processing Detail Loop Loop Branch Start Check the stations in "Network Configuration Settings" for the master station in the order of the station number column to assign stations with "CC-Link IE TSN Class A" whose "Communication Period Setting" is "Low-Speed" to groups. ...
Page 286
The following table shows the variables used in the algorithm. Name of variable Description Round up the calculated value to the nearest integer of (ndmi + (16 n2i)) 1484 When the calculation result of n1i is 2 or greater, add 1 to n2i. (RYbi+RWwbi) RYbi: Round up the calculated value to the nearest integer of (The "RY Setting"...
Page 287
Master station remote station When data is transmitted from the master station (RY/RWw) to a remote station (output). Calculation value Station-based block data assurance No station-based block data assurance (SM n2) + (LS 1) + Rio (SM 1) + (LS 1) + Rio Normal value (SM ...
Communication cycle intervals The minimum value of the communication cycle interval (cyclic data transfer processing time) is calculated by the following calculation formula. The parts enclosed in double quotation marks (" ") in the table of Variable are the values set for "Network Configuration Settings"...
Page 289
Unicast mode (1Gbps) Calculation formula Communication cycle interval [ns] = + or 250000, whichever is larger. Round up values of and that are less than 1s. Cyclic transmission time [ns] = • : This value varies depending on whether a CC-Link IE TSN Class A device station with the basic period or normal speed period exists or not.
Page 290
Name of variable Description (RXl/8) + (RWrl 2) + 8 RXl: Number of points of "RX Setting" of main modules of the device station to be used as the maximum number of link points RWrl: Number of points of "RWr Setting" of main modules of the device station to be used as the maximum number of link points E: (Sn-1)830+39102 Round up values of E that are less than 1s.
Page 291
Name of variable Description ((endl + 20en6)/1488) However, when endl is 0, en5 is 0. 20, k When sf >20, k =1, and when sf =1488-mod 20) + (mRWr 20))/1488} mod: Remainder of {((mRx + (mRx /1468) + (mRWr /1468) However, the value is 0 when the calculation result of sf is 1488.
Page 292
*6 The relation of dw (Total number of words) and p4 (RX/RY/RWr/RWw data transfer time) is as follows. (Station-based block data assurance: When "not assured") When used as a master station 5500.00μs Device station: 60 modules Device station: 60 modules 5000.00μs Device station: 32 modules Device station: 32 modules...
Page 293
Unicast mode (100Mbps) Calculation formula Communication cycle interval [ns] = + . Round up values of and that are less than 1s. Cyclic transmission time [ns] = • : This value varies depending on whether a CC-Link IE TSN Class A device station with the basic period or normal speed period exists or not.
Page 294
Name of variable Description D: (Sn-1)5150+187440 Round up values of D that are less than 1s. When "CC-Link IE TSN Class Setting" is set to "Mixture of CC-Link IE TSN Class B/A or CC-Link IE TSN Class A Only", and "TSN HUB Setting"...
Page 295
Name of variable Description ((endl + 20en6)/1488) However, when endl is 0, en5 is 0. 20, k When sf >20, k =1, and when sf =1488-mod 20) + (mRWr 20))/1488} mod: Remainder of {((mRx + (mRx /1468) + (mRWr /1468) However, the value is 0 when the calculation result of sf is 1488.
Page 296
*6 The relation of dw (Total number of words) and p4 (RX/RY/RWr/RWw data transfer time) is as follows. (Station-based block data assurance: When "not assured") When used as a master station 5500.00μs Device station: 60 modules Device station: 60 modules 5000.00μs Device station: 32 modules Device station: 32 modules...
Page 297
Multicast mode (1Gbps) Calculation formula Communication cycle interval [ns] = + or 250000, whichever is larger. Round up values of and that are less than 1s. Cyclic transmission time [ns] = • : This value varies depending on whether a CC-Link IE TSN Class A device station with the basic period or normal speed period exists or not.
Page 298
Name of variable Description Industrial switch delay time Number of industrial switches connected to the network Industrial switch delay time: 50000 Sn nhs nhs: Value of (nds + (20 n4))/(1488 Sn) rounded up to the nearest integer Sn ...
Page 299
Name of variable Description i = 1 = eRxn + eRWrn + ((ends + (eRxn + eRWrn )20)/1488) However, when ends is 0, en4 is 0. i: Station number eRxn : 0 (fixed) eRWrn : Number of extension modules with station No.i whose number of points of "RWr Setting" is more than 0 ends ends i = 1...
Page 300
*1 The industrial switch delay time changes depending on the industrial switch model and settings. *2 A sum of values starting from the smallest value set in "Start" to the largest value set in "End" of "Network Configuration Settings". *3 This is the device station with the largest calculation value when, for each device station (including extension modules), ("RX Setting"/8) + ("RWr Setting"...
Page 301
Multicast mode (100Mbps) Calculation formula Communication cycle interval [ns] = + . Round up values of and that are less than 1s. Cyclic transmission time [ns] = • : This value varies depending on whether a CC-Link IE TSN Class A device station with the basic period or normal speed period exists or not.
Page 302
Name of variable Description Sn (RXb + RWrb) + Sn RXb: Value of (Total number of points of "RX Setting" of main modules) / (11744 Sn) rounded up to the nearest integer RWrb: Value of (Total number of points of "RWr Setting" of main modules) / (734 Sn) rounded up to the nearest integer ((Total number of points of "RX Setting"...
Page 303
Name of variable Description ends ends i = 1 2 ends = eRxAll /8 + eRWrAll i: Station number eRxAll : 0 (fixed) eRWrAll : Total number of points of "RWr Setting" of extension modules with station No.i ((endl + 20en6)/1488) However, when endl is 0, en5 is 0.
Page 304
*7 The relation of dw (Total number of words) and p4 (RX/RY/RWr/RWw data transfer time) is as follows. (Station-based block data assurance: When "not assured") When used as a master station 5500.00μs Device station: 60 modules Device station: 60 modules 5000.00μs Device station: 32 modules Device station: 32 modules...
Appendix 7 Port Number A port number for the system cannot be specified. Use a port number according to the content of and the method for communications with the communication destination. Port number Applications Decimal Hexadecimal 20 to 21 14H to 15H For system 161 to 162 A1H to A2H...
Appendix 8 Connection Method for MR-J5(W)-G This section describes how to configure the settings for connection with the MR-J5(W)-G and how to use various functions. For details on the wiring and parameters of the MR-J5(W)-G, refer to the manual for the MR-J5(W)-G. For the network settings of the FX5-CCLGN-MS, refer to the following.
Page 307
In the detailed settings of "PDO Mapping Setting" for the station to be used, configure the PDO mapping pattern selection setting. (1) Configure the PDO mapping setting. (1) Select a mapping pattern of a link device (RWr) appropriate for each mode and click the [Next] button. (2) Select a mapping pattern of a link device (RWw) appropriate for each mode and click the [OK] button.
Page 308
Set the transfer range between the link device of the set station and the CPU module device. [Navigation window] [Parameter] [Module Information] Target module [Module Parameter (Network)] [Basic Settings] [Refresh Setting] (1) Select [Refresh Setting]. (2) Set the start and end of the link device so as to align them with the station to be used.
Page 309
Usage methods The following shows the procedure for driving the motor. Operation start Connecting the FX5-CCLGN-MS and MR-J5(W)-G with a LAN cable Powering on the FX5-CCLGN-MS and MR-J5(W)-G Change the link device to which Modes of operation has been Switching to a mode in which the MR- assigned from the program or watch, and switch to a mode in J5(W)-G is used (If switching to profile which the MR-J5(W)-G is used.
Appendix 9 Added and Enhanced Functions The following table lists the added and enhanced functions in the FX5-CCLGN-MS. Added and enhanced functions Firmware version Updated the firmware using the engineering tool "1.002" or later Communication speed of 100Mbps supported "1.010" or later Time managed polling method (CC-Link IE TSN Protocol version 2.0) support "1.010"...
Appendix 10 Software Licenses and Copyrights This section describes the licenses and copyrights of software used in this product. MD5 Message-Digest Algorithm This product includes code that was developed by RSA Data Security, Inc. Copyright (C) 1991-2, RSA Data Security, Inc. License to copy and use this software is granted provided that it is identified as the "RSA Data Security, Inc.
Japanese manual number: SH-082214-K 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.
WARRANTY Please confirm the following product warranty details before using this product. 1. Gratis Warranty Term and Gratis Warranty 2. Onerous repair term after discontinuation of production Range If any faults or defects (hereinafter "Failure") found to be Mitsubishi shall accept onerous product repairs for the responsibility of Mitsubishi occurs during use of the seven (7) years after production of the product is product within the gratis warranty term, the product shall...
TRADEMARKS Microsoft and Windows are trademarks of the Microsoft group of companies. The company names, system names and product names mentioned in this manual are either registered trademarks or trademarks of their respective companies. In some cases, trademark symbols such as ' ' or ' ' are not specified in this manual.
Page 318
Manual number: SH(NA)-082215ENG-K MODEL: FX5-U-CCIETSN-E MODEL CODE: 09R739 HEAD OFFICE: TOKYO BLDG., 2-7-3, MARUNOUCHI, CHIYODA-KU, TOKYO 100-8310, JAPAN NAGOYA WORKS: 1-14, YADA-MINAMI 5-CHOME, HIGASHI-KU, NAGOYA 461-8670, JAPAN When exported from Japan, this manual does not require application to the Ministry of Economy, Trade and Industry for service transaction permission. Specifications subject to change without notice.
Need help?
Do you have a question about the MELSEC iQ-F Series and is the answer not in the manual?
Questions and answers