Mitsubishi Electric MELSEC iQ-R Series User Manual
Mitsubishi Electric MELSEC iQ-R Series User Manual

Mitsubishi Electric MELSEC iQ-R Series User Manual

Cc-link ie tsn application
Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

Quick Links

MELSEC iQ-R CC-Link IE TSN User's Manual
(Application)
-RJ71GN11-T2
-RJ71GN11-SX

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the MELSEC iQ-R Series and is the answer not in the manual?

Questions and answers

Summary of Contents for Mitsubishi Electric MELSEC iQ-R Series

  • Page 1 MELSEC iQ-R CC-Link IE TSN User's Manual (Application) -RJ71GN11-T2 -RJ71GN11-SX...
  • Page 3: Safety Precautions

    SAFETY PRECAUTIONS (Read these precautions before using this product.) Before using this product, please read this manual and the relevant manuals carefully and pay full attention to safety to handle the product correctly. The precautions given in this manual are concerned with this product only. For the safety precautions of the programmable controller system, refer to the MELSEC iQ-R Module Configuration Manual.
  • Page 4 [Design Precautions] WARNING  In an output circuit, when a load current exceeding the rated current or an overcurrent caused by a load short-circuit flows for a long time, it may cause smoke and fire. To prevent this, configure an external safety circuit, such as a fuse.
  • Page 5 [Design Precautions] CAUTION  Do not install the control lines or communication cables together with the main circuit lines or power cables. Doing so may result in malfunction due to electromagnetic interference. Keep a distance of 100mm or more between those cables. ...
  • Page 6 [Installation Precautions] CAUTION  Use the programmable controller in an environment that meets the general specifications in the Safety Guidelines included with the base unit. Failure to do so may result in electric shock, fire, malfunction, or damage to or deterioration of the product. ...
  • Page 7 Directly touching any conductive parts of the connectors while power is on may result in electric shock. *1 For details, please consult your local Mitsubishi Electric representative. [Precautions for using CC-Link IE TSN (when optical fiber cables are used)] ...
  • Page 8 [Wiring Precautions] CAUTION  Tighten the terminal screws or connector screws within the specified torque range. Undertightening can cause drop of the screw, short circuit, fire, or malfunction. Overtightening can damage the screw and/or module, resulting in drop, short circuit, fire, or malfunction. ...
  • Page 9 [Startup and Maintenance Precautions] CAUTION  When connecting an external device with a CPU module or intelligent function module to modify data of a running programmable controller, configure an interlock circuit in the program to ensure that the entire system will always operate safely. For other forms of control (such as program modification, parameter change, forced output, or operating status change) of a running programmable controller, read the relevant manuals carefully and ensure that the operation is safe before proceeding.
  • Page 10 For details on how to eliminate static electricity from the module, refer to the following. Antistatic Precautions Before Using MELSEC iQ-R Series Products (FA-A-0368)  Use a clean and dry cloth to wipe off dirt on the module.
  • Page 11 [Transportation Precautions] CAUTION  When transporting lithium batteries, follow the transportation regulations. For details on the regulated models, refer to the MELSEC iQ-R Module Configuration Manual.  The halogens (such as fluorine, chlorine, bromine, and iodine), which are contained in a fumigant used for disinfection and pest control of wood packaging materials, may cause failure of the product.
  • Page 12: Conditions Of Use For The Product

    Notwithstanding the above restrictions, Mitsubishi Electric may in its sole discretion, authorize use of the PRODUCT in one or more of the Prohibited Applications, provided that the usage of the PRODUCT is limited only for the specific applications agreed to by Mitsubishi Electric and provided further that no special quality assurance or fail-safe, redundant or other safety features which exceed the general specifications of the PRODUCTs are required.
  • Page 13: Table Of Contents

    CONTENTS SAFETY PRECAUTIONS ..............1 CONDITIONS OF USE FOR THE PRODUCT .
  • Page 14 Data collection using the CC-Link IE TSN Communication Software ....... . 114 Co-recording .
  • Page 15 Settings in the local stations ............. . . 165 Checking the network status .
  • Page 16 Appendix 7 Processing Time ..............338 Cyclic transmission delay time .
  • Page 17: Relevant Manuals

    [SH-082129ENG] (this manual) CC-Link IE TSN MELSEC iQ-R Module Configuration Manual The combination of the MELSEC iQ-R series modules, common information on the [SH-081262ENG] installation/wiring in the system, and specifications of the power supply module, base unit, SD memory card, and battery...
  • Page 18: Terms

    TERMS Unless otherwise specified, this manual uses the following terms. Term Description Buffer memory Memory in an intelligent function module to store data such as setting values and monitor values. For CPU modules, it refers to memory to store data such as setting values and monitor values of the Ethernet function, or data used for data communication of the multiple CPU system function.
  • Page 19 Term Description Reserved address An IP address reserved for special purposes, defined by RFC 6890. This IP address cannot be used when the programmable controller is connected via the global IP network. RnENCPU (network part) A module on the right-hand side of the RnENCPU (MELSEC iQ-R Ethernet/CC-Link IE User's Manual (Startup)) Safety communications A function to exchange safety data between safety stations on the same network...
  • Page 20: Generic Terms And Abbreviations

    GENERIC TERMS AND ABBREVIATIONS Unless otherwise specified, this manual uses the following generic terms and abbreviations. Generic term/abbreviation Description CC-Link IE A generic term for the following items: • CC-Link IE TSN • CC-Link IE Controller Network (MELSEC iQ-R CC-Link IE Controller Network User's Manual (Application)) •...
  • Page 21: Generic Term/Abbreviation

    Generic term/abbreviation Description An abbreviation for remote output of a link device. Bit data output from the master station to a device station (For some areas in a local station, data are output in the opposite direction.) Safety CPU A generic term for the R08SFCPU, R16SFCPU, R32SFCPU, and R120SFCPU Safety station A generic term for a station that performs safety communications and standard communications An abbreviation for a link special relay.
  • Page 22: Chapter 1 Functions

    FUNCTIONS Cyclic Transmission This section describes periodic data communications among stations on the network using link devices. • The link device is assigned in the "CC-Link IE TSN Configuration" window. ( Page 138 "CC-Link IE TSN Configuration" Window) • The link refresh is assigned in "Refresh Settings" under "Basic Settings". ( Page 121 Refresh Settings) Unicast mode and multicast mode Cyclic transmission operates as follows with the communication mode set by the module parameter of the master station.
  • Page 23: Communications Using Rx, Ry, Rwr, And Rww

    Communications using RX, RY, RWr, and RWw This allows data to be exchanged in units of bits and units of words between the master station and the device station. Master station and remote stations Unicast mode 1:1 communications between the master station and each remote station. Remote stations do not communicate with each other.
  • Page 24 Multicast mode • The master station and remote station send data on the line in multicast mode in each send range. • The master station receives all data, but the remote station discards the data of another remote station. Therefore, communication at each station is performed in the same manner as unicast mode.
  • Page 25 Master station and local stations Unicast mode 1:1 communications between the master station and each local station. Local stations do not communicate with each other. For the RJ71GN11-SX with the firmware version "03" or earlier, only ring topology is supported. RCPU No.0 No.1...
  • Page 26 Multicast mode The master station and local station send data on the line in multicast mode in each send range. For the RJ71GN11-SX with the firmware version "03" or earlier, only ring topology is supported. RCPU No.0 No.1 No.2 RCPU 0000H 0000H 0000H...
  • Page 27 Coexistence of remote stations and local stations 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 28 Multicast mode The master station and each local station can obtain data of all device stations. Class B Class B Class A RCPU No.0 No.1 No.2 No.3 No.4 RCPU 0000H 0000H 0000H 0000H No.1 ←No.1 No.1 No.1 001FH 001FH 001FH 001FH 0020H 0020H...
  • Page 29: Communications Using Lb And Lw

    Communications using LB and LW This allows data to be communicated in units of bits and words between the master station and local stations. Master station and local stations, or between local stations Unicast mode 1:1 communications between the master station and each local station. Local stations do not communicate with each other. For the RJ71GN11-SX with the firmware version "03"...
  • Page 30 Multicast mode This allows link device data to be exchanged between local stations as well as between the master station and local stations. For the RJ71GN11-SX with the firmware version "03" or earlier, only ring topology is supported. RCPU No.0 No.3 RCPU No.1...
  • Page 31: Communications Using Rx, Ry, Rwr, Rww, Lb, And Lw

    Communications using RX, RY, RWr, RWw, LB, and LW The RJ71GN11 performs communications using RX, RY, RWr, and RWw and communications using LB and LW simultaneously. Coexistence of the master station and device stations While the RJ71GN11-SX with the firmware version of "03" or earlier can perform communications using RX, RY, RWr, RWw, LB, and LW, the remote station cannot be connected as it only uses ring topology.
  • Page 32 Multicast mode Class B Class B Class A RCPU No.0 No.1 No.2 No.3 No.4 RCPU 0000H 0000H 0000H 0000H No.1 No.1 No.1 ←No.1 001FH 001FH 001FH 001FH 0020H 0020H 0020H No.2 No.2 No.2 003FH 003FH 003FH 0040H 0040H 0000H 0040H No.3 No.3 No.3...
  • Page 33: Number Of Link Points Extension

    Number of link points extension The maximum number of link points can be extended by setting the parameters as follows. Station type Number of Link device Maximum number of link points per Maximum number of link points per link points network station Master station...
  • Page 34: Calculation Example

    Calculation example RX, RY, RWr, and RWw refer to the size (including gaps) from the minimum address to the maximum address across all stations. LB and LW refer to the total size (excluding gaps), obtained by calculating the LB/LW size / Communication period setting (LB/ LW) for each station (value rounded up to the nearest multiple of two).
  • Page 35 Combination of the master station and local stations Master station LB/LW Points Extended Local station Setting Supported version Unsupported version LB/LW Points Extended Setting Extend Not to extend    Supported version Extend Not to extend    ...
  • Page 36 Changing the communication cycle If the number of link points becomes too large by the link points extension, all data cannot be sent in one basic cycle. Therefore, the data is sent over a communication cycle that is multiple times longer than the basic cycle. (Sending over a communication cycle that is multiple times longer than the basic cycle is only performed when extending the number of link points.) The length of the communication cycle is set in "Communication Period Setting LB/LW".
  • Page 37 Setting method This section describes a setting example for the RJ71GN11-SX. Apply the following settings to the master station and local station. [Navigation window]  [Parameter]  [Module Information]  [RJ71GN11-SX]  [Application Settings]  [Link points extended setting] On the master station, set "Normal-Speed" and "Low-Speed" to appropriate multiples. [RJ71GN11-SX] ...
  • Page 38 Set the "Communication Period Setting (LB/LW)" • If "Link with Master Station" is selected from the drop-down menu, the local station "Communication Period Setting LB/LW" will be interlocked with the master station. • If "Set for Each Station" is selected from the drop-down menu, it is possible to set the local station "Communication Period Setting LB/LW"...
  • Page 39: Link Refresh

    Link refresh This function automatically transfers data between the devices of the RJ71GN11 and the devices of the CPU module. CPU module RJ71GN11 Link refresh Link refresh 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 to the area set in "Refresh Settings"...
  • Page 40: Setting Method

    Setting method The link refresh is assigned in "Refresh Settings" under "Basic Settings". ( Page 121 Refresh Settings) Precautions Latched devices of the CPU module If data in latched devices of the CPU module are cleared to 0 on a program when the CPU module is powered off and on or reset, the data may be output without being cleared to 0, depending on the timing of the cyclic data transfer processing and link refresh.
  • Page 41: Direct Access To Link Devices

    Direct access to link devices The corresponding data is directly read or written from/to link devices of the RJ71GN11 using the program. Specify a link device as the link direct device (J\) for direct access. The link special relay (SB) and link special register (SW) can be set using module label. ( Page 283 _D) Specification method Specify the network number and the link devices of the RJ71GN11 for reading or writing data.
  • Page 42 Readable and writable range Data can be read or written from/to the RJ71GN11 on the base unit where the CPU module is mounted. Read All link devices of the RJ71GN11 can be specified. ( Page 39 Specification method) Write The range that satisfies all of the following conditions can be specified. •...
  • Page 43: Direct Access

    When writing data to the area in the link refresh range, directly access the link device and write the same data in the device of the CPU module. • Bad example (Directly accessing the link refresh target only) Link refresh overwrites the value. CPU module Master/local module MOV K20 J1\W100...
  • Page 44 Shortening the transmission delay time The transmission delay time can be shortened by reducing the number of link refresh points and shortening a communication cycle interval. ( Page 344 Communication cycle intervals) The following methods can be used to reduce the number of the link refresh points. •...
  • Page 45: Cyclic Data Assurance

    Cyclic data assurance This function assures the cyclic data assurance in units of 32 bits or station-based units. : Assured, : Not assured Method Description Link refresh Direct access to Access to buffer link devices memory    32-bit data assurance Assures data in 32-bit units.
  • Page 46: Interlock Program

    Station-based block data assurance Cyclic data is assured for each station by a handshake between the CPU module and the RJ71GN11 for a link refresh. The link device is assured as follows. • RX, RY, RWw, and RWr data are assured for each station •...
  • Page 47: Setting Details

    • 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 48 Data assurance by handshake of the remote register An example of sending data in W0 to W3 of the master station (station No.0) to W1000 to W1003 of the local station (station No.1) is shown below. (B0 and B1000 are used for a handshake to the CPU module.) No.0 No.1 RJ71GN11...
  • Page 49 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 ...
  • Page 50 Data assurance by handshake of the link relay In communications using LB and LW, the link relay (LB) is sent after the link register (LW). Therefore, data inconsistency of the link register (LW) can be prevented by handshake in the data of the link relay (LB). The following shows the program example when 'Cyclic data (station No.0)' (W0 to W3) of the master station is sent to 'Cyclic data (station No.1)' (W0 to W3) of the local station.
  • Page 51 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 uOutputData [0] to [3] to the send data W0 to ...
  • Page 52: Communication Cycles Coexistence

    Communication cycles coexistence When device stations with different communication cycles are included in the network, multiple communication cycles according to each device station are used for communications. The time for each communication cycle is the total time of cyclic transmission, transient transmission, and system reservation time.
  • Page 53: Interlink Transmission

    Interlink transmission This function transfers data in the link devices of the master station to another network module on a relay station. Modules that can support interlink transmission are as follows. • RJ71GN11-T2 (master station and local station) • RJ71GN11-SX (master station and local station) •...
  • Page 54: I/O Maintenance Settings

    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 setting of (A), (B), or (C). ( Page 131 Supplementary Cyclic Settings) •...
  • Page 55 Devices where hold/clear settings are enabled The following table and figure show devices for which the settings on the sending side (A)(B) and the setting on the receiving side (C) are enabled. Setting to Setting items Hold/clear settings are enabled Hold regardless of setting Clear regardless of setting ...
  • Page 56 Output data hold/clear operation during CPU STOP The following shows the devices where the setting of "Output Hold/Clear Setting during CPU STOP" is enabled when the CPU module on the sending side changes from RUN to STOP. Unicast mode No.0 No.1 No.2 No.3...
  • Page 57 Multicast mode No.0 No.1 No.2 No.3 No.1 No.1 No.1 No.1 No.2 No.2 No.2 No.3 No.3 No.3 No.1 No.1 No.1 No.1 No.2 No.2 No.2 No.3 No.3 No.3 No.1 No.1 No.1 No.1 No.2 No.2 No.2 No.3 No.3 No.3 No.1 No.1 No.1 No.1 No.2 No.2 No.2...
  • Page 58 Input data hold/clear operation from the data link faulty station The following shows the devices where "Data Link Error Station Setting" is enabled when each station becomes faulty. Unicast mode No.0 No.1 No.2 No.3 No.1 No.1 No.2 No.2 No.3 No.3 No.1 No.1 No.2...
  • Page 59 Multicast mode No.0 No.1 No.2 No.3 No.1 No.1 No.1 No.1 No.2 No.2 No.2 No.3 No.3 No.3 No.1 No.1 No.1 No.1 No.2 No.2 No.2 No.3 No.3 No.3 No.1 No.1 No.1 No.1 No.2 No.2 No.2 No.3 No.3 No.3 No.1 No.1 No.1 No.1 No.2 No.2 No.2...
  • Page 60: Remote Device Test

    Remote device test The output of the remote station can be turned on or off when the CPU module is in STOP state. Ordinarily, the output of the remote station with the output HOLD/CLEAR setting function cannot be turned on or off. In that case, use the remote device test function.
  • Page 61: Output Hold/Clear Setting Function

    Setting method Execute the remote device test according to the following procedure. Set the RUN/STOP/RESET switch to the STOP position of the CPU module. Turn off and on the 'Remote device forced output request' (SB0016) to start the remote device test. Check that the 'Remote device forced output request accept' (SB0086) and 'Remote device forced output status' (SB0087) are on.
  • Page 62: Canopen Communications

    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.
  • Page 63: Transient Transmission

    Transient Transmission Transient transmission is used for communications at any timing and has the following three types. Page 61 Communications using a dedicated instruction Page 61 Communications using the SLMP Page 62 Communications using the engineering tool Communications using a dedicated instruction Data is read/written from the master station or local station to devices in a CPU module of the local station or the buffer memory areas of a remote station using the dedicated instructions.
  • Page 64: Communications Using The Engineering Tool

    Communications can be made with stations up to eight networks apart (number of relay stations: 7). When the networks consist of only MELSEC iQ-R series Communication paths are automatically set for communications with the following networks of MELSEC iQ-R series. • Ethernet •...
  • Page 65: Communication Test

    Communication test This test checks if transient transmission data can be properly routed from the own station to the communication target. ( Page 219 Communication Test) 1 FUNCTIONS 1.2 Transient Transmission...
  • Page 66: Ethernet Connection

    Ethernet Connection This type of connection allows one module to be connected to an Ethernet device without interfering with CC-Link IE TSN. Before using this function, check the firmware version of the RJ71GN11. ( Page 372 Added and Enhanced Functions) Connection with MELSOFT products and a GOT Programming and monitoring of the programmable controller using the engineering tool, and monitoring and testing of the programmable controller from the GOT are performed via Ethernet.
  • Page 67 Connection via a hub Settings on the RJ71GN11 side • For connection by specifying the IP address, set the IP address using "Required Settings". ( Page 118 Station No./IP Address Setting) • For connection by specifying the network number and station number, set the network number and station number in "Required Settings".
  • Page 68 Double-click the icon set in step 4, and open the "PLC side I/F Detailed Setting of CC IE TSN/Field Module" window. Select "Connection via HUB" for the connection method, and enter the station number and IP address or host name of the RJ71GN11. Specify "Other Station Setting"...
  • Page 69: Searching Modules On The Network

    Searching modules on the network Search for RJ71GN11 control CPUs on the same network. For a connection using an industrial switch, a list of modules that can be searched for will appear by clicking the "Search" button on the "PLC side I/F Detailed Setting of CC IE TSN/Field Module" window. Search target modules are as follows.
  • Page 70: Connection With Slmp-Compatible Devices

    Connection with SLMP-compatible devices This type of connection allows SLMP-compatible devices (such as a personal computer or a vision sensor) to be connected to the RJ71GN11. For details on an SLMP, refer to the following.  SLMP Reference Manual • For SLMP communication in the structure where communication speeds of 1Gbps and 100Mbps exist, set the same communication speed for the connected station and access destination.
  • Page 71: Security

    Security This function ensures security according to the network environment by restricting access for each communication path to the CPU module. The following two access restriction methods can be used. Page 69 IP filter Page 72 Remote password IP filter This function identifies the IP address of the access source, and prevents unauthorized access.
  • Page 72 The IP filter is one method of preventing unauthorized access (such as a program or data destruction) from an external device. It does not completely prevent unauthorized access. To maintain the security (confidentiality, integrity, and availability) of the programmable controller and the system against unauthorized access, denial- of-service (DoS) attacks, computer viruses, and other cyberattacks from external devices, take appropriate measures such as firewalls, virtual private networks (VPNs), and antivirus solutions.
  • Page 73 Setting method Set the IP address to be allowed or blocked in the "IP Filter Settings" window of "Security" under "Application Settings". (Page 133 Security) A warning is displayed in the following cases. • When blocking the IP address of the device station set in the "CC-Link IE TSN Configuration" window was attempted •...
  • Page 74: Remote Password

    Remote password This function permits or prohibits access from the external device to the CPU module via the RJ71GN11. This prevents unauthorized access to the CPU module from a remote location. A C Controller module and a MELSECWinCPU module cannot use this function. The remote password is one method of preventing unauthorized access (such as program or data destruction) from an external device.
  • Page 75 Setting method Set 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 start I/O number.
  • Page 76 Access permitted/prohibited processing operation This section describes the processing for permitting or prohibiting access of the CPU module with remote password by the external device. Access permit processing (Unlock processing) The external device trying to communicate unlocks the remote password set for the connected RJ71GN11. If the password is not unlocked, the RJ71GN11 to which the external device is connected prohibits access, so an error occurs in the external device.
  • Page 77 Accessible station The station accessible from the external device when a remote password is set for the CPU module and the station that can unlock/lock the remote password are limited to those in the same network number. The following figure shows an example of when the remote password is set for multiple stations in the system. Station 1-2 Station A RJ71GN11...
  • Page 78: Set Connection

    Precautions The following section describes the precautions for using remote password. Set connection Set the remote password for the connection used for data communication with an external device that can execute the unlock/ lock processing. When remote password is set for UDP/IP connection •...
  • Page 79: Ras

    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.
  • Page 80: Loopback Function

    Loopback Function This function continues data link with normal stations even if a cable disconnection or faulty station occurs in a ring topology network configuration. All stations after the cable disconnection point or faulty station are disconnected in a line topology. By using this function with ring topology, data link continues with normal stations.
  • Page 81 Setting method Configure the network in ring topology. Set "Network Topology" to "Ring" in "Basic Settings" of the master station. Operations when the network topology is different between the setting and actual configuration If "Network Topology" under "Basic Settings" does not match the actual connection status, the loopback function works as follows.
  • Page 82 Program that detects loopback station numbers By detecting loopback station numbers, a faulty station can be found. Whether loopback is being performed or not can be checked using 'Network topology setting' (SB0078) and 'Loopback status' (SB0065). Program that stores loopback station numbers to 'wLoopbackStationNumber_1' (D1000) and 'wLoopbackStationNumber_2' (D1001) with the RJ71GN11-T2 Classification Label name...
  • Page 83: Loopback Detection

    Precautions Supported version To use the loopback function, check that all stations support ring topology. ( Page 372 Added and Enhanced Functions) Loopback function setting and network configuration To use the loopback function, configure the network in ring topology and set "Network Topology" to "Ring" in "Basic Settings" of the master station.
  • Page 84: Master Station Duplication Detection

    Master station duplication detection If one network has multiple master stations, an overlap is detected. • When multiple master stations are simultaneously powered on, or when multiple master stations are simultaneously connected, Master station duplication detection (error code 300FH) is detected in all master stations and cyclic transmission cannot be performed in all stations.
  • Page 85: Ip Address Duplication Detection

    IP address duplication detection If one network has stations with the same IP address, an overlap is detected. • When adding a device station, if a station with the same IP address already exists, IP address duplication detection (error code 2160H) is detected in a station to be added and data link cannot be performed. Other stations continue data link. 192.163.3.0 192.163.3.1 192.163.3.2...
  • Page 86: Time Synchronization

    Time synchronization This function synchronizes the time of device stations with the time synchronization source (CPU module of the master station). No.0 No.1 No.2 The MELSECWinCPU module cannot use this function. Setting method The setting is made in Time distribution interval setting of the CPU module (Un\G1275136), Time reflection setting to the CPU module (Un\G1275137), and Master station time distribution start setting (Un\G1275138).
  • Page 87: Master Station Switch Function

    Master station switch function Even if the master station is disconnected, the local station becomes the current master station and continues to control the entire network. Even if the current master station is further disconnected, another local station becomes the current master station. This function prevents the entire network from going down due to disconnection of the master station.
  • Page 88: Conditions For Use

    Conditions for use The following table lists the conditions for using this function. Item RJ71GN11-T2 RJ71GN11-SX Firmware Version "22" or later Version "02" or later Engineering tool Version 1.105K or later Version 1.100E or later Devices that can be CC-Link IE TSN Class B local stations that support the master station switch function connected Communication speed 1Gbps...
  • Page 89 Even if the system is split into two systems due to a station going down, if there are multiple stations in the system, the local station will become the current master station and continue to control the network. No.0 No.1 No.2 No.3 No.4...
  • Page 90 Operation upon return When a disconnected master station returns The master station becomes the current master station. At this time, the local station continues cyclic transmission. No.0 No.1 No.2 No.3 No.0 No.1 No.2 No.3 No.0: Master station No.1, No.2, No.3: Local station (1) Current master station (2) Controls the entire network.
  • Page 91: Cyclic Transmission

    Cyclic transmission The following figure shows an example of cyclic transmission when this function is used. If the master station goes down, cyclic transmission continues between local stations. Normal operation No.0 No.1 No.2 No.3 LB, LW LB, LW LB, LW LB, LW No.0 No.0...
  • Page 92 Precautions • Transient transmission executed at the time of switching of the current master station or return of the master station may be completed with an error. In such a case, execute transient transmission again. • If a parameter error occurs in the master station, switching of the current master station is not performed. •...
  • Page 93 • When two systems without a master station are connected to form one system, the data link of the system whose current master station has a larger IP address will temporarily stop and then restart. No.0 No.1 No.2 No.3 No.0 No.1 No.2 No.3...
  • Page 94 • When two systems resulting from splitting of a system are connected to form one system due to the return of the disconnected local station, the stations in the system with the master station continue to perform data link, and the returned local station performs data link with the master station.
  • Page 95 Time synchronization when the master station switch function is enabled When the master station is disconnected, the time of the CPU module on the same base unit as the local station (current master station) is distributed from the local station (current master station) to the local station. The local station (current master station) can set the interval for distributing the CPU module time using 'Time distribution interval setting of the CPU module' (Un\G1275136).
  • Page 96 Master station time distribution start • When a master station with 'Master station time distribution start setting' (Un\G1275138) set to 1H returns, the master station reflects the CPU module time distributed by the local station to the CPU module on the same base unit as the master station.
  • Page 97 • When a master station with 'Master station time distribution start setting' (Un\G1275138) set to 0H returns, the master station does not wait for the CPU module time to be distributed from the local station, but instead distributes the CPU module time at the interval set in 'Time distribution interval setting of the CPU module' (Un\G1275136).
  • Page 98: Err Led Control

    ERR LED control This function prevents the ERR LEDs of other normally-operating stations from flashing when a data link error occurs at the specified station. ERR LED control information is sent from a station that is specified as the data link faulty station, which controls the flashing of ERR LEDs of other stations.
  • Page 99 Precautions • If connected devices are changed due to disconnection or return after ERR LED control, re-set this function. • This function does not work when a local station is acting as the current master station by the master station switch function.
  • Page 100: Cc-Link Ie Tsn Network Synchronous Communication Function

    CC-Link IE TSN Network Synchronous Communication Function This section describes the CC-Link IE TSN network synchronous communication function. For details, refer to the following.  MELSEC iQ-R Inter-Module Synchronization Function Reference Manual For the firmware versions of the CPU module and RJ71GN11 compatible with the CC-Link IE TSN network synchronous communication function, refer to the following.
  • Page 101 Setting method For the setting method, refer to the following manual.  MELSEC iQ-R Inter-Module Synchronization Function Reference Manual Inter-module synchronization cycle To use the CC-Link IE TSN network synchronous communication function, set the same cycle for the following two items. •...
  • Page 102 Synchronizable range To use this function, set the master station as an inter-module synchronous master. The communication cycles match based on time synchronization between the master station and device stations. This allows a device supporting the CC-Link IE TSN network synchronous communication function to operate in synchronization with the inter-module synchronization cycle of the programmable controllers of the master station.
  • Page 103: Compatible Device

    Compatible device The following table shows the devices that can be synchronized by the CC-Link IE TSN network synchronous communication function. : Synchronizable, : Not synchronizable Support of the CC-Link IE CC-Link IE TSN Class Communication speed Communication cycle Synchronizability TSN Network setting synchronous...
  • Page 104 Available range of network synchronous communication Structure with CC-Link IE TSN Class B only Ò Ò No.2 No.5 Class B (1Gbps) Basic cycle Class B (1Gbps) Basic cycle No.1 No.6 Class B (1Gbps) No.7 No.8 No.0 Class B (1Gbps) Basic cycle Class B (1Gbps) Class B (1Gbps) Class B (1Gbps)
  • Page 105 Structure with mixed CC-Link IE TSN Class B/A Ò Ò Ó Ó No.1 No.2 No.4 Class B (1Gbps) No.3 Class B (1Gbps) Class B (1Gbps) Basic cycle Class B (1Gbps) Basic cycle Basic cycle Basic cycle Ô Ô Ô Ô No.7 No.5 No.6...
  • Page 106 Network synchronous communication with multiple cycles When device stations with different communication cycles (excluding local stations) coexist, cyclic transmission between stations is performed according to the communication cycle. For the cyclic transmission of the master station and a remote station, data can be transmitted to other stations after two cycles. The following figure shows the cyclic transmission timing when "Communication Period Setting"...
  • Page 107 Cyclic transmission assurance by watchdog counter The watchdog counter is a function used to assure that normal cyclic transmission between stations on CC-Link IE TSN. Using the watchdog counter, the master station and a device station mutually monitor the data to be updated every communication cycle;...
  • Page 108 Precautions • CC-Link IE TSN Class A devices cannot synchronize using network synchronous communication. ( Page 101 Compatible device) • For the number of connectable modules or order of connection for CC-Link IE TSN supported devices to be connected, refer to the following. ...
  • Page 109 Restriction of firmware version Number of settable modules The following table lists the number of settable modules in "Select Inter-module Synchronization Target Module" of the "Inter- module Synchronization Setting" tab under "System parameter". Firmware version of the RJ71GN11-T2 Number of settable modules Master station Local station Firmware version "10"...
  • Page 110: Safety Communications (Rj71Gn11-T2 Only)

    Safety Communications (RJ71GN11-T2 Only) This section describes the safety communication function. The following modules are required to use the safety communications. • The RJ71GN11-T2 with the firmware version of "10" or later, and the safety CPU and safety function module with the firmware version of "20"...
  • Page 111 Safety communications flow Master station (safety station) and local station (safety station) The safety device status of the sending station is stored in the safety device of the receiving station. No.0 No.1 Safety CPU Safety CPU Master station Local station (safety station) (safety station) Safety device...
  • Page 112 Master station (safety station) and remote station (safety station) The safety device status of the Safety CPU on the master station (safety station) is reflected to the safety output of the remote station (safety station). The safety input status of the remote station (safety station) is stored in the Safety CPU on the master station (safety station).
  • Page 113: Safety Station Interlock Function

    Precautions • If an error occurs in safety communications, safety data from the faulty station is cleared. • A safety connection with the safety station can be established only while data link is performed after configuring the "Safety Communication Setting" under "Basic Settings" of the master station. The data link status can be checked in 'Data link status of each station' (SW00B0 to SW00B7).
  • Page 114: Others

    Others Reserved station setting A reserved station is a device station that is set in the parameters and included as a station in the network when its number is counted. This station is reserved for future network expansion and is not actually connected. Therefore, it is not detected as a faulty station despite being not connected.
  • Page 115: Device Station Parameter Automatic Setting

    Device station parameter automatic setting Parameters of the device station are saved in the master station, and the parameters will be automatically set when the device station is connected/returned. Before using this function, check the firmware version of the RJ71GN11. ( Page 372 Added and Enhanced Functions) Device station parameter automatic setting from the master station Parameters of the device station set using the engineering tool are saved in the memory of the CPU module in the...
  • Page 116: Data Collection Using The Cc-Link Ie Tsn Communication Software

    Data collection using the CC-Link IE TSN Communication Software The cyclic data of each CC-Link IE TSN station is received using the CC-Link IE TSN Communication Software. For details on the CC-Link IE TSN Communication Software, refer to the following. ...
  • Page 117: Co-Recording

    Co-recording This function uses a recording device and saves data in the CPU module and video data captured by the network camera to a file at a specified time or the timing at which a trigger such as an error occurrence is satisfied. The master station or the RJ71GN11 of the local station relays a co-recording trigger among the recording devices on the base unit of the own station and the recording devices of other stations, and performs co-recording on the network.
  • Page 118: Chapter 2 Parameter Settings

    PARAMETER SETTINGS This chapter describes the parameter settings required for communications between the RJ71GN11 and other stations. Setting Parameters Add the RJ71GN11 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 window shown below.
  • Page 119: Required Settings

    Required Settings Set the station type or IP address of the RJ71GN11. : Can be set, : Cannot be set Item Description Availability Reference Master Local station station   Station Type Set the station type of the RJ71GN11. Page 117 Station Type Network No.
  • Page 120: Network No

    Network No. Set the network number of the own station of the RJ71GN11. Item Description Setting range Network No. Set the network number of the RJ71GN11. 1 to 239 (Default: 1) Precautions Set a network number that does not overlap any other network numbers. In particular, when using an Ethernet-equipped module (CPU module) at default, the IP address is 192.168.3.39 and the network number is the third octet of the IP address, thus 3.
  • Page 121: Parameter Setting Method

    Parameter Setting Method Select whether to set "Basic Settings" and "Application Settings" items using the engineering tool or in program. Item Description Setting range Setting Method of Basic/ Parameter Editor • Parameter Editor Application Settings Select this item to set the parameter using the engineering tool. •...
  • Page 122: Basic Settings

    Basic Settings Set the network configurations, refresh settings, or other parameters for the RJ71GN11. In this manual, "Authentication Class" is described as "CC-Link IE TSN Class". : Can be set, : Cannot be set Item Description Availability Reference Master Local station station ...
  • Page 123: Refresh Settings

    Refresh Settings Assign link refresh ranges between the devices described below. • SB, SW of the RJ71GN11  Module label of the CPU module • SB, SW, link devices (RX, RY, RWr, RWw, LB, LW) of the RJ71GN11  Devices of the CPU module Setting method The procedure for the refresh settings is shown below.
  • Page 124: Setting Range

    Item Description Setting range Device Name 1 to 256 Link Side Set the link refresh ranges of link devices (RX, RY, RWr, RWw, LB, LW). Up to 256 ranges can be set. ( Page 37 Link refresh) • RX, RY, RWr, RWw, LB, LW (Default: empty) Points •...
  • Page 125 Precautions Device set to "CPU Side" Set a device range not to overlap the one used for the following: • "Refresh Setting" in "Basic Settings" of other network modules • "Link Refresh Settings" in "Basic Settings" of a CC-Link master/local module •...
  • Page 126: Network Topology

    Network Topology Select the network topology type according to the actual network configuration. Item Description Setting range Network Select the network topology type according to the actual • Line/Star Topology network configuration. • Ring To use the loopback function, select "Ring". ( Page 78 (Default for the RJ71GN11-T2: Line/Star.
  • Page 127: Connection Device Information

    • When using an industrial switch (CC-Link IE TSN Class B certified), set the timeslot information from the setting values in "Basic Period Setting". The timeslot information can be checked with the buffer memory. ( Page 300 Timeslot information) • Set "Communication Period Setting" according to the communication cycle supported by the device stations.
  • Page 128 Setting method The procedure for the safety communication setting is shown below. Set "Communication Destination" to "Local Network". For the master station, select the target module of safety communications in the "Select the target module for the Safety Communication Setting" window and click the [Add] button. Set the required items.
  • Page 129 Select the project of the master station, and the safety communication setting can be imported from the master station. The data to be imported by the [Import Setting] button covers the station numbers and IP addresses in the project of the master station. Setting items Item Description...
  • Page 130 Item Description Setting range  Network Network No. The network number of the communication destination is displayed. Configuration  Station No. When the own station is the master station: The station number of communication destination selected in the "Select the target module for the Safety Communication Setting"...
  • Page 131 Item Description Setting range Safety Authentication Code This code is used to identify the communication destination when safety 0 to FFFFFFFFH communications perform. Set the same value in the master station and device (Default: empty) station to perform the safety communications. When the communication destination is set to a local station, the safety approval code is masked with blank.
  • Page 132: Application Settings

    Application Settings Set the supplementary cyclic settings, transient transmission group number, and other settings for the RJ71GN11. : Can be set, : Cannot be set Item Description Availability Reference Master Local station station   Communication Speed Set the communication speed. Page 131 Communication speed setting ...
  • Page 133: Communication Speed Setting

    Item Description Availability Reference Master Local station station   Master Station Shift Sets whether to enable or disable the master station switch function, Page 137 Master Station Setting which allows the local station to continue controlling the entire Shift Setting network in place of the master station even if the master station is disconnected.
  • Page 134: Communication Mode

    Communication Mode Set the communication mode. Item Description Setting range Communication Mode Set the communication mode. • Unicast • Multicast (Default for the RJ71GN11- T2: Unicast, Default for the RJ71GN11-SX: Multicast) *1 This can be used for the RJ71GN11-T2 or RJ71GN11-SX with a firmware version "04" or later. Parameter Name Set a name for the module parameter if desired.
  • Page 135: Module Operation Mode

    Module Operation Mode Set the module operation mode of the RJ71GN11. Item Description Setting range Module Online • Online Operation Mode • Select this mode to connect the RJ71GN11 to the network for performing data link with other stations. • Offline Offline •...
  • Page 136: Interlink Transmission Settings

    Interlink Transmission Settings Set link device ranges when cyclic data are transferred from a station in the own network to a station in a different network. Setting method The procedure for the interlink transmission settings is shown below. Select combination of modules in the "Transfer Source Module" and "Transfer Destination Module" boxes and enter setting values.
  • Page 137 Item Description Setting range When not extending RWr/LW Source Enter the link device range of the transfer source and destination modules. Up to 64 ranges can be set. LW/RWw RWr, RWw, and LW points can be assigned in increments of 4. the number of link Destinatio LW/LW...
  • Page 138: Setting Example

    Setting example The following is a setting example to perform interlink transmission from the master station on CC-Link IE TSN to stations on CC-Link IE Controller Network. In this example, 128-point data input from the device station (station No.1) is transferred. No.1 No.0 No.4...
  • Page 139: Co-Recording Setting

    Co-recording Setting Set whether to relay a co-recording trigger. By changing the co-recording setting of the master station or local stations, the range of co-recording on the network can be changed. For details on the co-recording setting, refer to the following. ...
  • Page 140: Cc-Link Ie Tsn Configuration" Window

    "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  [Basic Settings]  [Network Configuration Settings] Parameter setting of a device station Set parameters of device stations (such as the number of points and assignment of link devices) in the master station.
  • Page 141 Setting items • Title bar: The status of "Module Operation Mode" and "Communication Mode" is displayed like [Online (Multicast Mode)]. ( Page 133 Module Operation Mode, Page 132 Communication Mode) • 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.
  • Page 142 Item (Detailed display) Description Setting range Parameter Automatic Setting Set whether to set the parameters of each device station automatically. • Checked: Distribute parameters This cannot be set for extension modules. However, the parameter • Not checked: Do not distribute parameters automatic setting of extension modules is interlocked with the settings of (Default: Not checked) the connected main module.
  • Page 143 Item (Detailed display) Description Setting range "CC-Link IE Cyclic The value that is calculated from the number of device stations and the number of link device points is displayed. Use the *1*3 Transmission displayed value as a guide. Configuration Time (Min.) The displayed value differs depending on "TSN HUB Setting"...
  • Page 144: Connected/Disconnected Module Detection

    Connected/Disconnected Module Detection Connected device stations are detected and displayed on the "CC-Link IE TSN Configuration" window. When setting up a network system, it is easier to create parameters when changing the network system configuration. If this function is performed immediately after a device station is connected, the information of the connected device may not be correctly read out.
  • Page 145: Operation Display

    Connection/Disconnection/Replacement When the [Connected/Disconnected Module Detection] button is clicked while the saved CC-Link IE TSN configuration is displayed, IP addresses of detected device stations are compared with the saved IP addresses of device stations and displayed as follows by connection/disconnection/replacement. IP address verification result Operation Display...
  • Page 146 Precautions • When the station number is set in the device station using the CC-Link IE TSN structure and parameters are written in CPU modules, the station number of the device station is held in the master station. When parameters are not to be written in CPU modules, they are saved in the CC-Link IE TSN structure as device stations with the station number not set.
  • Page 147: Parameter Processing Of Device Station

    Parameter processing of device station The processing is to read and save the parameters from the device station, and to write the saved parameters to the device station. Also, it automatically sets parameters of the device station from the master station. ( Page 113 Device station parameter automatic setting) When performing parameter processing for the main module to which an extension module is connected, check the following.
  • Page 148 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 113 Device station parameter automatic setting) •...
  • Page 149: Command Execution To Device Stations

    Command execution to device stations Commands to a device station (Error clear request, Error history clear request) are executed. When performing command execution for the main module to which an extension module is connected, check the following. Item RJ71GN11-T2 RJ71GN11-SX Firmware version "12"...
  • Page 150: Ip Address Setting Of Device Station

    IP address setting of device station This function sets the IP address of the device station connected to the master station. When setting the IP address of the device station and performing indicator display, check the following. Item RJ71GN11-T2 RJ71GN11-SX Firmware version "18"...
  • Page 151 Open the "IP Address Setting" window. Select the device station and right-click  [Online]  [IP Address Setting]. Click the [Real Machine Information Detection] button. Check whether the device station is in a state where the IP address can be set or the indicator display can be started. Follow the displayed message and click the [Execute] button.
  • Page 152 Precautions • If, after clicking the [Real Machine Information Detection] button, the system configuration is changed and IP address setting of device stations or indicator display is performed, normal completion may not occur. If the system configuration has been changed, click the [Real Machine Information Detection] button again and then perform device station IP address setting or indicator display.
  • Page 153: Station List Export/Import

    Station list export/import The number or type of devices can easily be changed according to each system by exporting the list of stations in the "CC- Link IE TSN Configuration" window into a CSV format, editing the exported file, and importing it. Precautions Modules whose profile could not be found are not imported.
  • Page 154: Pdo Mapping Setting

    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 to the RJ71GN11-T2, 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 RJ71GN11-T2 can connect up to 40 stations which is determined by divided 120 (the maximum number of connectable stations) by 3 (the number of axes).
  • Page 155 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: • The number of points in "RWr Setting" is one or more points and an entry is not assigned in TPDO. •...
  • Page 156: Change Of Module

    Change of module This section describes how to replace a general CC-Link IE TSN module with a module (device station) and vice versa. Replacement of CC-Link IE TSN module Replace a general CC-Link IE TSN module with a module (device station). Right-click a general CC-Link IE TSN module from the list of stations on the "CC-Link IE TSN Configuration"...
  • Page 157: Device Number Reassignment

    Device number reassignment Assign the device numbers successively to the link device of the specified target station. For the number of link device points, the points assigned in the list of stations on the "CC-Link IE TSN Configuration" window are used. Display "Device No.
  • Page 158: Object Name Display

    Object name display The object name of the module displayed in the list of stations on the "CC-Link IE TSN Configuration" is displayed. [View]  [Object Name Display] Change of object name Object names can be changed to any desired names. Changing object names helps users to identify each module on the "CC-Link IE TSN Configuration"...
  • Page 159: Chapter 3 Programming

    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)).
  • Page 160: Communication Example With Cc-Link Ie Tsn Class A Remote Station (Rj71Gn11-T2)

    Communication Example with CC-Link IE TSN Class A Remote Station (RJ71GN11-T2) 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 161: Link Device Assignment

    Link device assignment For RX and RWr, 256 points are assigned to each station. For RY and RWw, 256 points are assigned to a remote station and 512 points are assigned to a local station. Communication Mode In "Communication Mode" under "Application Settings", set "Multicast" (Default). RX/RY assignment Each of the following No.0 to No.2 represents a station number.
  • Page 162 RWr/RWw assignment Each of the following No.0 to No.2 represents a station number. • No.0: Master station (station No.0) • No.1: Remote station (station No.1) • No.2: Local station (station No.2) R04CPU No.0 No.1 No.2 R04CPU 1000H 0000H 0000H 0000H 1000H No.1 No.1...
  • Page 163: Setting In The Master Station

    Setting in the master station Connect the engineering tool to the CPU module on the master station and set the parameters. Set the CPU module as follows. [Project]  [New] Click the [Setting Change] button to use the module label. Set "Link Direct Device Setting"...
  • Page 164 Set the RJ71GN11-T2 as follows. [Navigation window]  [Parameter]  [Module Information]  Right-click  [Add New Module] Click the [OK] button to add a module label of the RJ71GN11-T2. Set the items in "Required Settings" as follows. [Navigation window]  [Parameter]  [Module Information]  [RJ71GN11-T2]  [Required Settings] 3 PROGRAMMING 3.2 Communication Example with CC-Link IE TSN Class A Remote Station (RJ71GN11-T2)
  • Page 165 Set the items in "Basic Settings" as follows. [Navigation window]  [Parameter]  [Module Information]  [RJ71GN11-T2]  [Basic Settings] In this manual, "Authentication Class" is described as "CC-Link IE TSN Class". Set the network configuration as follows. (Set the IP address for each station.) [Navigation window] ...
  • Page 166: Settings In The Remote Stations

    Set the items in "Application Settings" as follows. [Navigation window]  [Parameter]  [Module Information]  [RJ71GN11-T2]  [Application Settings] Click the [Apply] button. Write the set parameters to the CPU module on the master station. Then, reset the CPU module or power off and on the system.
  • Page 167: Settings In The Local Stations

    Settings in the local stations Connect the engineering tool to the CPU module on the local station and set parameters. Set the CPU module and add the module labels of the CPU module. The setting method of the CPU module and addition method of the module label are the same as those of the master station.
  • Page 168 Set the refresh settings as follows. [Navigation window]  [Parameter]  [Module Information]  [RJ71GN11-T2]  [Basic Settings]  [Refresh Settings]  [Detailed Setting] Set the items in "Application Settings" as follows. [Navigation window]  [Parameter]  [Module Information]  [RJ71GN11-T2]  [Application Settings] Click the [Apply] button.
  • Page 169: Checking The Network Status

    Checking the network status After starting up the system, check whether data link can be normally performed. Use the CC-Link IE TSN/CC-Link IE Field diagnostics of the engineering tool to check the status. Connect the engineering tool to the CPU module on the master station. Start the CC-Link IE TSN/CC-Link IE Field diagnostics.
  • Page 170: Program Example

    Program example 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 171 Master station (station No.0) (11)Communication program with a remote station (station) No.1 (32)Communication program with a local station (station No.2) (42)Program that sends the data received from a remote station (station No.1) to a local station (station No.2) 3 PROGRAMMING 3.2 Communication Example with CC-Link IE TSN Class A Remote Station (RJ71GN11-T2)
  • Page 172 Local station (station No.2) Classification Label name Description Device Module label GN11_1.bSts_DataLinkError 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) (4) Communication program with the master station (station No.0) and a remote station (station No.1) 3 PROGRAMMING 3.2 Communication Example with CC-Link IE TSN Class A Remote Station (RJ71GN11-T2)
  • Page 173: Communication Example With Cc-Link Ie Tsn Class A Remote Station (Rj71Gn11-Sx)

    Communication Example with CC-Link IE TSN Class A Remote Station (RJ71GN11-SX) 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 174: Link Device Assignment

    Link device assignment For RX and RWr, 256 points are assigned to each station. For RY and RWw, 256 points are assigned to a remote station and 512 points are assigned to a local station. Communication Mode In "Communication Mode" under "Application Settings", set "Multicast" (Default). RX/RY assignment Each of the following No.0 to No.2 represents a station number.
  • Page 175 RWr/RWw assignment Each of the following No.0 to No.2 represents a station number. • No.0: Master station (station No.0) • No.1: Remote station (station No.1) • No.2: Local station (station No.2) R04CPU No.0 No.1 No.2 R04CPU 1000H 0000H 0000H 0000H 1000H No.1 No.1...
  • Page 176: Setting In The Master Station

    Setting in the master station Connect the engineering tool to the CPU module on the master station and set the parameters. Set the CPU module as follows. [Project]  [New] Click the [Setting Change] button to use the module label. Set "Link Direct Device Setting"...
  • Page 177 Set the RJ71GN11-SX as follows. [Navigation window]  [Parameter]  [Module Information]  Right-click  [Add New Module] Click the [OK] button to add a module label of the RJ71GN11-SX. Set the items in "Required Settings" as follows. [Navigation window]  [Parameter]  [Module Information]  [RJ71GN11-SX]  [Required Settings] 3 PROGRAMMING 3.3 Communication Example with CC-Link IE TSN Class A Remote Station (RJ71GN11-SX)
  • Page 178 Set the items in "Basic Settings" as follows. [Navigation window]  [Parameter]  [Module Information]  [RJ71GN11-SX]  [Basic Settings] Set the network configuration as follows. (Set the IP address for each station.) [Navigation window]  [Parameter]  [Module Information]  [RJ71GN11-SX]  [Basic Settings]  [Network Configuration Settings] ...
  • Page 179: Settings In The Remote Stations

    Set the items in "Application Settings" as follows. [Navigation window]  [Parameter]  [Module Information]  [RJ71GN11-SX]  [Application Settings] Click the [Apply] button. Write the set parameters to the CPU module on the master station. Then, reset the CPU module or power off and on the system.
  • Page 180: Settings In The Local Stations

    Settings in the local stations Connect the engineering tool to the CPU module on the local station and set parameters. Set the CPU module and add the module labels of the CPU module. The setting method of the CPU module and addition method of the module label are the same as those of the master station.
  • Page 181 Set the refresh settings as follows. [Navigation window]  [Parameter]  [Module Information]  [RJ71GN11-SX]  [Basic Settings]  [Refresh Settings]  [Detailed Setting] Set the items in "Application Settings" as follows. [Navigation window]  [Parameter]  [Module Information]  [RJ71GN11-SX]  [Application Settings] Click the [Apply] button.
  • Page 182: Checking The Network Status

    Checking the network status After starting up the system, check whether data link can be normally performed. Use the CC-Link IE TSN/CC-Link IE Field diagnostics of the engineering tool to check the status. Connect the engineering tool to the CPU module on the master station. Start the CC-Link IE TSN/CC-Link IE Field diagnostics.
  • Page 183: Program Example

    Program example 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 184 Master station (station No.0) 3 PROGRAMMING 3.3 Communication Example with CC-Link IE TSN Class A Remote Station (RJ71GN11-SX)
  • Page 185 (11)Communication program with a remote station (station No.1) (32)Communication program with a local station (station No.2) (42)Program that sends the data received from a remote station (station No.1) to a local station (station No.2) 3 PROGRAMMING 3.3 Communication Example with CC-Link IE TSN Class A Remote Station (RJ71GN11-SX)
  • Page 186 Local station (station No.2) Classification Label name Description Device Module label GN11_SX_1.bSts_DataLinkError 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) (4) Communication program with the master station (station No.0) and a remote station (station No.1) 3 PROGRAMMING 3.3 Communication Example with CC-Link IE TSN Class A Remote Station (RJ71GN11-SX)
  • Page 187: Communication Example Of Safety Communication (Rj71Gn11-T2)

    Communication Example of Safety Communication (RJ71GN11-T2) This section describes an example of a program that performs safety communications between the master station (safety station), remote station (safety station), and local station (safety station). The safety device status of the Safety CPU on the master station (safety station) is reflected to the safety output (SA\Y) of the remote station (safety station), and the safety input (SA/X) status from the remote station (safety station) is stored into the safety device of the master station (safety station).
  • Page 188: Setting In The Master Station

    Setting in the master station Connect the engineering tool to the Safety CPU of the master station and set parameters. Set the Safety CPU as follows. [Project]  [New] In the following window, enter a password and re-enter password, and click the [OK] button. 3 PROGRAMMING 3.4 Communication Example of Safety Communication (RJ71GN11-T2)
  • Page 189 In the following window, enter a file name, and click the [Save] button. Click the [Setting Change] button to use the module labels of the CPU module. Add the safety program in the following. [Navigation window]  [Program]  [Fixed Scan]  Right-click  [Add New Data] 3 PROGRAMMING 3.4 Communication Example of Safety Communication (RJ71GN11-T2)
  • Page 190 Add the safety global label in the following. [Navigation window]  [Label]  [Global Label]  Right-click  [Add New Data] Set "Link Direct Device Setting" in "CPU Parameter" to "Extended Mode (iQ-R Series Mode)". [Navigation window]  [CPU Parameter]  [Memory/Device Setting]  [Link Direct Device Setting]  [Link Direct Device Setting] To write module parameters of the RJ71GN11-T2 to a Safety CPU using an engineering tool, set "Link Direct Device Setting"...
  • Page 191 Set the master/local module for slot No.1. Click the [OK] button to use the module labels of the safety function module. Click the [OK] button to use the module labels of the master/local module. 3 PROGRAMMING 3.4 Communication Example of Safety Communication (RJ71GN11-T2)
  • Page 192 Set the items in "Required Settings" as follows. [Navigation window]  [Parameter]  [Module Information]  [RJ71GN11-T2]  [Required Settings] Set the network configuration as follows. [Navigation window]  [Parameter]  [Module Information]  [RJ71GN11-T2]  [Basic Settings]  [Network Configuration Settings] ...
  • Page 193 Log on to the programmable controller. [Online]  [User Authentication]  [Log on to PLC] If logon fails, writing user information or initializing all information of the programmable controller is required. ( GX Works3 Operating Manual) Set "To Use or Not to Use the Safety Communication Setting" to "Use". [Navigation window] ...
  • Page 194: Settings In The Local Stations

    Settings in the local stations Connect the engineering tool to the Safety CPU of the local station and set parameters. Set the Safety CPU and add the module label. Then, add the safety program and safety global label. The setting method is the same as that of the master station.
  • Page 195 Select "Local Network" from "Communication Destination" in "Safety Communication Setting" window and click the [Import Setting] button in "Select the target module for the Safety Communication Setting" window. [Navigation window]  [Parameter]  [Module Information]  [RJ71GN11-T2]  [Basic Settings]  [Safety Communication Setting] ...
  • Page 196: Settings In The Remote Stations

    Settings in the remote stations Set the setting of the IP address set in "Network Configuration Settings" of the master station. Connect the engineering tool to the Safety CPU of the master station and set parameters of the remote stations. Set the parameters of the remote station in the "CC-Link IE TSN Configuration"...
  • Page 197 The flashing of the SAFETY LED of the NZ2GNSS2-16DTE stops. Select "Safety module validation" in "Method selection" and click the [Execute] button. • In the program example, default values are used for parameters that are not shown above. For the parameter setting, refer to the chapter explaining the parameters in this manual.
  • Page 198: Checking The Network Status

    Checking the network status After starting up the system, check whether a data link can be normally performed. Use the CC-Link IE TSN/CC-Link IE Field diagnostics of the engineering tool to check the status. Connect the engineering tool to the Safety CPU on the master station. Start the CC-Link IE TSN/CC-Link IE Field diagnostics.
  • Page 199: Program Example

    Program example The following shows a program example of each station when the safety program and safety global device are used. Master station (station No.0) Classification Device Description Safety special register SA\SD1008.0 Safety refresh communication status of each safety connection (1st module) (safety connection No.1) SA\SD1008.1 Safety refresh communication status of each safety connection (1st module) (safety...
  • Page 200 Master station (station No.0) 3 PROGRAMMING 3.4 Communication Example of Safety Communication (RJ71GN11-T2)
  • Page 201 (0) This processing is used to release the safety station interlock status in safety communications with station No.1. Turning on bResetSwitchStationNo1 releases the safety station interlock status of safety connection No.1. (6) Communication program with station No.1. When the safety refresh communication status with safety connection number No.1 is normal and bOtherSafeStateStationNo1 is on, safety output data is sent to the station number No.1 by turning on bSendSafetyDataStationNo1.
  • Page 202 Local station (station No.1) Classification Device Description Safety special register SA\SD1008.0 Safety refresh communication status of each safety connection (1st module) (safety connection No.1) SA\SD1232.0 Interlock status of each safety connection (1st module) (safety connection No.1) SA\SD1240.0 Interlock release request for each safety connection (1st module) (safety connection No.1) Label to be defined Define safety global labels as shown below:...
  • Page 203: Chapter 4 Troubleshooting

    TROUBLESHOOTING This chapter describes troubleshooting of CC-Link IE TSN. Checking with LED This section describes troubleshooting with the LEDs of the RJ71GN11. The RUN LED turns off When the RUN LED turns off after powering on the RJ71GN11, check the following. Check item Action Is the RJ71GN11 mounted correctly?
  • Page 204 Check item Action When "Master Station Shift Setting" under "Application Take one of the following actions. Settings" of the master station is set to "Enable", is a device • Check 'Master station switch each station supporting information' (SW0530 to SW0537) of station that does not support the master station switch the master station and update the firmware of all device stations to a version that supports function connected?
  • Page 205: Check The Following

    The D LINK LED turns off or is flashing Check the following. Check item Action Is the master station operating normally? • If an error has occurred in the CPU module on the master station, eliminate the cause of the CPU module error. ( MELSEC iQ-R CPU Module User's Manual (Application)) •...
  • Page 206 Check item Action Are time synchronization devices with time synchronization priority Remove time synchronization devices with time synchronization priority of 0 to 15, or of 0 to 15 connected? change the priority setting to between 16 and 255. ( Manual for the time synchronization devices used) Is an Ethernet switch connected in a ring topology? Do not connect an Ethernet switch in a ring topology.
  • Page 207 The LINK LED turns off (RJ71GN11-T2) Check the following. Check item Action Do the used Ethernet cables conform to the Ethernet standard? Replace the cables with Ethernet cables which conform to the standard. ( MELSEC iQ-R CC-Link IE TSN User's Manual (Startup)) Does the station-to-station distance meet the specifications? Set the station-to-station distance within range.
  • Page 208: Checking The Module Status

    Checking the Module Status This section describes troubleshooting to check the status of the module by executing diagnostics and operation tests using the engineering tool. Module Diagnostics The following items can be checked in the "Module Diagnostics" window for the RJ71GN11. Item Description [Error Information] tab...
  • Page 209: Module Information List

    Module Information List The LED information and individual information of the RJ71GN11 are displayed in the [Module Information List] tab. Item Description LED information Displays the LED status of the RJ71GN11. Individual information Station Type Displays the station type set for the selected module. Network No.
  • Page 210: Module Communication Test

    Module Communication Test This function checks the module hardware when communication using the RJ71GN11 is unstable. Connect the P1 and P2 of the RJ71GN11-T2 with an Ethernet cable or the P1 and P2 of the RJ71GN11-SX with an optical fiber cable. The following table lists the tests performed.
  • Page 211: Checking The Network Status

    Checking the Network Status This section describes troubleshooting to check the status of the network by executing diagnostics and operation tests using the engineering tool. CC-Link IE TSN/CC-Link IE Field Diagnostics For CC-Link IE TSN, perform status monitoring, operation tests, or others. Precautions In the following cases, the CC-Link IE TSN/CC-Link IE Field diagnostics cannot start.
  • Page 212 When starting the CC-Link IE TSN/CC-Link IE Field diagnostics by specifying "Other Station (Single Network)" or "Other Station (Co-existence Network)" in "Other Station Setting" on the "Specify Connection Destination Connection" window, the following restrictions apply. • A communication test cannot be used. •...
  • Page 213: Usage Methods

    Usage methods The following describes how to use the CC-Link IE TSN/CC-Link IE Field diagnostics. When "No Specification" is specified in "Other Station Setting" on the "Specify Connection Destination Connection" window Connect the engineering tool to the CPU module. If a device station cannot be monitored due to an error such as cable disconnection, directly connect the engineering tool to the device station.
  • Page 214 Select the station to be diagnosed from "Select Station" or in the network map. Disconnected Network map station In this manual, "Authentication Class" is described as "CC-Link IE TSN Class". • An icon indicating an error is displayed on the module icon of the station where an error occurs. •...
  • Page 215 When a setting other than "No Specification" is specified in "Other Station Setting" on the "Specify Connection Destination Connection" window Connect the engineering tool to the CPU module. Start the CC-Link IE TSN/CC-Link IE Field diagnostics. [Diagnostics]  [CC-Link IE TSN/CC-Link IE Field Diagnostics] The CC-Link IE TSN/CC-Link IE Field diagnostics cannot be started when "Other Station (Co-existence Network)"...
  • Page 216 "CC-Link IE TSN/CC-Link IE Field Diagnostics" window Network map In this manual, "Authentication Class" is described as "CC-Link IE TSN Class". Item Description Select Module The RJ71GN11 under diagnostics is displayed. Diagnostics [Change Module] Allows to change the target RJ71GN11 when multiple RJ71GN11s are mounted. Destination button However, when multiple RJ71GN11s with the same network number are mounted on the same base unit, the module...
  • Page 217 Item Description Selected Station Communication Status of the station selected in "Network Status" is displayed. ( Page 218 Selected Station Communication Status Status Monitor Monitor) Operation [Communication Test] Performs a communication test. ( Page 219 Communication Test) Test button Information [Station Information Displays information of the device stations which are performing data link in list form.
  • Page 218: Network Map

    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 219 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. No.0 No.2 (1) Industrial switch Industrial switches are in cascade connection.
  • Page 220 Selected Station Communication Status Monitor Displays status of the station selected in "Network Status". The RJ71GN11-T2 window is used for the explanation. Normal operation Error status In this manual, "Authentication Class" is described as "CC-Link IE TSN Class". Description Indicates the station number and operating status. Normal operation •...
  • Page 221: Communication Test

    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"...
  • Page 222 Precautions • When a relay sending station is set to "Target Station", the communication test ends with an error. Set a relay receiving station to "Target Station". Network No.2 Network No.1 Station Station Station Station No.0 No.1 No.2 No.0 Own station Receiving Sending (request source)
  • Page 223: Station Information List

    Station Information List The station information list displays information of the device stations which are performing data link in list form. Item Description Number of Stations Displays the number of device stations to be displayed in the station information list. Change IP Address Display Select an IP address display format.
  • Page 224: Remote Operation

    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.
  • Page 225: Troubleshooting By Symptom

    Troubleshooting by Symptom This section describes troubleshooting when a data link cannot be performed with the target station regardless of no error occurring in the RJ71GN11. If an error has occurred in the RJ71GN11, identify the error cause using the engineering tool. ( Page 209 Checking the Network Status) •...
  • Page 226 Cyclic transmission failed Check the following. Check item Action Is the D LINK LED turned on? Perform troubleshooting for when the D LINK LED turns off or is flashing. ( Page 203 The D LINK LED turns off or is flashing) Do the station types set in "Network Configuration Settings"...
  • Page 227 Check item Action For the RJ71GN11-T2 with firmware version "13" or earlier When "Connection Device Check the connected device and reduce the number of CC- Information" under "Basic Are nine or more CC-Link IE TSN Class B devices and Link IE TSN Class B devices and industrial switches (CC- Settings"...
  • Page 228 Check item Action When connected devices are protocol version 2.0 When "Connection Device Take one of the following actions. Information" under "Basic Is the event code 00C80H registered in the event history? • Check 'Station protocol version 2.0 support status' Settings"...
  • Page 229 Check item Action When "Connection Device Is the event code 00C72H registered in the event history? • Update the engineering tool to the latest version. Information" under "Basic • Update the device station firmware with IP address Settings" of the master displayed in the detailed information of the event history to station is set to "Mixture of the latest version.
  • Page 230 If the RJ71GN11-T2 with a firmware version of "03" or earlier is used Also check the following: Check item Action When "Connection Device Are 32 stations or more in total connected? Check the connected device and reduce the maximum Information" under "Basic number of connectable stations to 31 stations (master station: Settings"...
  • Page 231 Transient transmission failed 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 turned off? If turned off, perform troubleshooting for when the D LINK LED turns off or is flashing.
  • Page 232 Check item Action For the RJ71GN11-T2 with firmware version "13" or earlier When "Connection Device Check the connected device and reduce the number of CC- Information" under "Basic Are nine or more CC-Link IE TSN Class B devices and Link IE TSN Class B devices and industrial switches (CC- Settings"...
  • Page 233 Check item Action When connected When "Connection Device Is information on stations that do Take one of the following actions. Information" under "Basic devices are protocol not support the protocol version • Check 'Station protocol version 2.0 support status' Settings" of the master version 2.0 2.0 stored in 'Station protocol (SW01A0 to SW01A7) and update the firmware of all...
  • Page 234 Check item Action (RJ71GN11-T2 only) • Configure settings with the industrial switch (CC-Link IE In multicast mode, are a local station and a CC-Link IE TSN Class A remote station connected TSN Class B certified) so that the multicast frames (with on the end side via an industrial switch (CC-Link IE TSN Class B certified)? multicast MAC addresses 09:00:70:00:10:02 and 09:00:70:00:10:05) will not be transferred to the port of the...
  • Page 235: Also Check The Following

    If the RJ71GN11-T2 with a firmware version of "03" or earlier is used Also check the following: Check item Action When "Connection Device Are 32 stations or more in total connected? Check the connected device and reduce the maximum number of connectable Information"...
  • Page 236: Station Is Disconnected From The Network

    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 237 Check item Action When connected devices are protocol version 2.0 For details, refer to the following. Page 243 CC-Link IE TSN Class A device cannot perform data link Is there any difference between the CC-Link IE TSN Class B/A mixed system configuration and the "TSN HUB Setting"...
  • Page 238 Station is repeatedly disconnected and reconnected (RJ71GN11-SX) The following lists the actions to be taken when a station in data link to RJ71GN11-SX is repeatedly disconnected and reconnected. Check item Action Do the optical fiber cables or Ethernet cables used conform to the Replace the cable with one conforming to the standard.
  • Page 239 Check item Action In multicast mode, is the CC-Link IE TSN Class A remote station connected • Connect the local station or remote station supporting the multicast filter to the to a local station or remote station that does not support the multicast filter? CC-Link IE TSN Class A remote station.
  • Page 240 Communications are unstable When cyclic data transfer processing time or transmission delay time is long or when a transient transmission timeout occurred, check the following items. Check item Action RJ71GN11-T2 If turned on, perform troubleshooting for a case when the L ER LED is turned on. Is the L ER LED turned on? (...
  • Page 241 The control CPU of the local station cannot synchronize time Check the following. Check item Action Is the time zone and daylight savings time that is set to control CPUs Set the same time zone and daylight savings time to the control CPUs of the different between the master station and local stations? master station and local stations.
  • Page 242 Although the data link is normal, communications for the link device failed When the link device cannot communicate although the data link is normal (D LINK LED is on), check the following items. Check item Action Is "Reserved/Error Invalid Station" of the device station set to "Reserved Set "Reserved/Error Invalid Station"...
  • Page 243 Safety communications failed (RJ71GN11-T2 only) Check the following. Check item Action Is a safety station specified as a reserved station in "Network Configuration Set "No Setting" for "Reserved/Error Invalid Station" in "Network Configuration Settings" of "Basic Settings" of the master station? Settings"...
  • Page 244 The network map is not displayed correctly If the network map in "CC-Link IE TSN/CC-Link IE Field Diagnostics" is not displayed correctly, check the following. Check item Action Is the network in the ring topology configured correctly? • Match "Network Topology" under "Basic Settings" to the actual connection status.
  • Page 245 CC-Link IE TSN Class A device cannot perform data link When set to "Not to Use TSN HUB" If "TSN HUB Setting" in "Connection Device Information" under "Basic Settings" is set to "Not to Use TSN HUB", check the following. Check item Action Is a CC-Link IE TSN Class B device connected to a CC-Link IE TSN Class A...
  • Page 246 When set to "Use TSN HUB" If "TSN HUB Setting" in "Connection Device Information" under "Basic Settings" is set to "Use TSN HUB", check the following. Check item Action Are the CC-Link IE TSN Class B device and CC-Link IE TSN Class A device Set "TSN HUB Setting"...
  • Page 247 The master station switch function cannot properly work (RJ71GN11-T2 only) If the master station switch function is used but the master station cannot be correctly switched or a data link error occurs after the master station is switched, check the following. Check item Action Is an industrial switch (CC-Link IE TSN Class B certified) used?
  • Page 248: List Of Error Codes

    List of Error Codes This section lists the error codes, error definitions and causes, and actions for the errors that occur in the processing for data communication between the RJ71GN11 and external devices or occur by processing requests from the CPU module on the own station.
  • Page 249 Error Error definition and causes Action Detailed code information 1 Detailed information 2 1802H • At startup of a data link, an overlapping IP Change the IP address of devices with an overlapped IP address. Operation source address among device stations has been information detected.
  • Page 250 Error Error definition and causes Action Detailed code information 1 Detailed information 2 Own station 1804H During a data link, invalid connection structure Check the connection and setting on the end side of the station has been detected. shown in detailed information 2 and take the following actions. information •...
  • Page 251 Error Error definition and causes Action Detailed code information 1 Detailed information 2 1D10H Cyclic transmission skip occurred. • Increase the value for the inter-module synchronization cycle set  in "Fixed Scan Interval Setting of Inter-module Synchronization" under "Inter-module Synchronization Setting" in "System Parameter"...
  • Page 252 Error Error definition and causes Action Detailed code information 1 Detailed information 2 Parameter information 2220H • Parameters that are not supported by the • Check the firmware version of the network module. If a firmware version of the network module have parameter that is not supported is set, update the firmware or •...
  • Page 253 Error Error definition and causes Action Detailed code information 1 Detailed information 2 24C3H An error was detected on the system bus. • Take measures to reduce noise. System configuration • Reset the CPU module, and run it again. If the same error information occurs again even after taking the above action, the possible •...
  • Page 254 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 on module diagnostics of the Period Interval Setting" in "Communication Period engineering tool. Correct the parameter settings described below Target station Setting"...
  • Page 255 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" over the  Communication Setting" in "Communication Period Setting" under value in the detailed information displayed by module diagnostics "Basic Settings"...
  • Page 256 Error Error definition and causes Action Detailed code information 1 Detailed information 2 Parameter information 3017H "0.05ms Unit Setting" of "Fixed Scan Interval Set "0.05ms Unit Setting" of "Fixed Scan Interval Setting of Inter- Setting of Inter-module Synchronization" under module Synchronization" under "Inter-module Synchronization •...
  • Page 257 Error Error definition and causes Action Detailed code information 1 Detailed information 2 3130H Devices with time synchronization priority of 0 to Remove devices with time synchronization priority of 0 to 15, or Grandmaster MAC 15 have been connected. change the priority to between 16 and 255. address information •...
  • Page 258 Error Error definition and causes Action Detailed code information 1 Detailed information 2 Parameter information 31B1H "To Use or Not to Use the Safety Communication To use the master station switch function, set "To Use or Not to Setting" under "Basic Settings" is set to "Use". Use the Safety Communication Setting"...
  • Page 259 Error Error definition and causes Action Detailed code information 1 Detailed information 2 3604H A module to operate as an inter-module • Check that the industrial switch (CC-Link IE TSN Class B  Synchronous master synchronous master could not output an inter- certified) and the cables are connected properly.
  • Page 260 Error Error definition and causes Action Detailed code information 1 Detailed information 2  3C00H A hardware failure has been detected. • Take measures to reduce noise. • Reset the CPU module, and run it again. If the same error occurs again even after taking the above action, the possible cause is a hardware failure of the module, base unit, or extension cable.
  • Page 261 Error Error definition and causes Action Detailed code information 1 Detailed information 2 4000H to Errors detected by the CPU module (MELSEC iQ-R CPU Module User's Manual (Application)) 4FFFH  C011H The port number of the external device is not set Correct the port number of the external device.
  • Page 262 CC-Link IE TSN-equipped module again. • If the access target and connection stations are modules of the MELSEC iQ-R series, send the SLMP message again to the CC-Link IE TSN-equipped module using 003 and 002 of subcommands.
  • Page 263 Error Error definition and causes Action Detailed code information 1 Detailed information 2 C06FH The network number of request destination • If the 3E or 4E frame is used at SLMP, check that there is no  specified by the SLMP request message is not error for the network number of the request destination and available for communications with the station station number.
  • Page 264 Error Error definition and causes Action Detailed code information 1 Detailed information 2  C0D4H The number of relay stations to communicate with • Check if the specification (network number/station number) for other networks exceeds the allowable range. the communication destination is correct. •...
  • Page 265 Error Error definition and causes Action Detailed code information 1 Detailed information 2 C815H Remote password authentication has failed when Set a correct password and perform password authentication  required. again 60 minutes later.  C816H The security function was activated and remote Set a correct password and perform password authentication password authentication cannot be performed.
  • Page 266 Error Error definition and causes Action Detailed code information 1 Detailed information 2  CF44H Incorrect frame was received. • Check the operating status and connection status of the target device. • Check the connection of the Ethernet cable and industrial switch (CC-Link IE TSN certified).
  • Page 267 Error Error definition and causes Action Detailed code information 1 Detailed information 2 D20BH There was no master station when the specified Execute the instruction again after correcting the target station  master station was specified for transient number at the transient request source. transmission.
  • Page 268 Error Error definition and causes Action Detailed code information 1 Detailed information 2  D245H The target station number of the dedicated • Execute the instruction again after correcting the target station instruction is incorrect. number at the request source of the dedicated instruction. •...
  • Page 269 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 270 Error Error definition and causes Action Detailed code information 1 Detailed information 2  D25FH A remote instruction was executed from the Stations other than the master station cannot execute a remote module with a station type which cannot execute instruction.
  • Page 271 Error Error definition and causes Action Detailed code information 1 Detailed information 2 D27BH The IP address set in the UINI instruction is • Execute the instruction again after correcting the IP address in  incorrect. the control data. • If the error occurs again even after taking the above action, please consult your local Mitsubishi representative.
  • Page 272 Error Error definition and causes Action Detailed code information 1 Detailed information 2  D2CDH The communication mode of the CCPASETX • Execute the instruction again after correcting the communication instruction is incorrect. mode in the control data. • If the error occurs again even after taking the above action, please consult your local Mitsubishi representative.
  • Page 273 Error Error definition and causes Action Detailed code information 1 Detailed information 2 D60FH Parameter error (each station device range • Write the network parameter to the CPU module again.  assignment error (LW)) • Execute the instruction again after correcting the size of the link device of the device station in the setting data.
  • Page 274 Error Error definition and causes Action Detailed code information 1 Detailed information 2  D61CH Parameter error (device overlap error (RWr)) • Write the network parameter to the CPU module again. • Execute the instruction again after correcting the offset or size of the link device of the device station in the setting data.
  • Page 275 Error Error definition and causes Action Detailed code information 1 Detailed information 2 D637H The UINI instruction was executed at a station Execute the instruction again after setting "Station No./IP Address  where the station number/IP address has been Setting Method" under "Station No./IP Address Setting" in already set by parameter.
  • Page 276 Error Error definition and causes Action Detailed code information 1 Detailed information 2  D64EH Parameter error (motion control station setting) • Write the network parameter to the CPU module again. • Execute the instruction again after correcting the motion control station setting in the setting data.
  • Page 277 Error Error definition and causes Action Detailed code information 1 Detailed information 2 D65DH Parameter error (multiple period setting) • Write the network parameter to the CPU module again.  • Execute the instruction again after correcting "Multiple Period Setting" in the setting data. •...
  • Page 278 Error Error definition and causes Action Detailed code information 1 Detailed information 2  D842H • Routing information to the destination network • Execute the instruction again after correcting the target network number is not registered. number at the transient request source. •...
  • Page 279 Error Error definition and causes Action Detailed code information 1 Detailed information 2 D913H An error was detected in the network module. Please consult your local Mitsubishi representative.  D917H  D919H No response from the target station of the •...
  • Page 280: List Of Parameter Numbers

    List of Parameter Numbers This section lists the parameter numbers displayed in the 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 RJ71GN11. (...
  • Page 281 Item Parameter No. RJ71GN11-T2 RJ71GN11-SX Basic Refresh Settings Refresh Settings 7401H Settings Network Topology Network Topology A100H Communication Period Basic Period Setting in Units of 1s A100H Setting Setting Communication Period Interval Setting (Do Not A100H Set it in Units of 1s) Communication Period Interval Setting (Set it A100H in Units of 1s)
  • Page 282: Event List

    Event List This section lists the events which occur in CC-Link IE TSN. The three event types are system, security, and operation. The event type is displayed when the [Event History] button in the [Error Information] tab in the "Module Diagnostics" window of the RJ71GN11 is clicked.
  • Page 283 Event Overview Cause code 00C10H Own station: Data link stop (cyclic transmission stop) Own station data link was stopped. 00C11H Another station: Data link stop (cyclic transmission Data link of another station was stopped. stop) 00C21H Another station: Error occurrence An error has occurred in another station.
  • Page 284: Operation

    Event Overview Cause code 00C60H IP address of the external device acquisition error Target IP address could not be acquired from the network number and station number. 00C61H Time synchronization loss The time difference between the time notified from the grandmaster and the time of the own station exceeded the allowable value.
  • Page 285: Appendices

    APPENDICES Appendix 1 Module Label The I/O signals, buffer memory, link special relay (SB), and link special register (SW) of the RJ71GN11 can be set using module label. Structure of the module label The module label name is defined with the following structure. "Instance name"_"Module number"."Label name"...
  • Page 286: Appendix 2 I/O Signals

    Appendix 2 I/O Signals This section describes the I/O signals for the CPU module. The I/O signal assignment for when the start I/O number of the RJ71GN11 is "0" is listed below. List of I/O signals The following table lists I/O signals. The device X is an input signal from the RJ71GN11 to the CPU module. The device Y is an output signal from the CPU module to the RJ71GN11.
  • Page 287: Details Of I/O Signals

    Details of I/O signals Module failure (X0) This signal is used to check the status of the RJ71GN11. • Off: Module normal • On: Module failure Module failure (X0) Module READY (XF) Power-on Own station data link status (X1) This signal is used to check the data link status of the own station. •...
  • Page 288: Appendix 3 Buffer Memory

    Appendix 3 Buffer Memory The buffer memory is used to exchange data between the RJ71GN11 and the CPU module. Buffer memory values are reset to default (initial values) when the CPU module is reset or the system is powered off. List of buffer memory addresses : Same as the address of P1 Name...
  • Page 289 Name Initial Read value Write Address Address Address Address (decimal) (hexadecimal) (decimal) (hexadecimal)  1245440 to 130100H to Timeslot 0 Cycle start offset (ns Read 1245441 130101H information unit)  1245442 130102H Cycle start offset (s Read unit)  1245443 130103H System area ...
  • Page 290 Name Initial Read value Write Address Address Address Address (decimal) (hexadecimal) (decimal) (hexadecimal)  1248768 to 130E00H to RWr offset/size Station No.0 RWr Read 1248769 130E01H information offset  1248770 to 130E02H to Station No.0 RWr size Read 1248771 130E03H ...
  • Page 291 Name Initial Read value Write Address Address Address Address (decimal) (hexadecimal) (decimal) (hexadecimal)  1252104 131B08H Own station Controller information Read (controller) valid/invalid flag information  1252105 131B09H Manufacturer code Read  1252106 131B0AH Model type Read  1252107 131B0BH Model code (lower 2 Read bytes)
  • Page 292 Name Initial Read value Write Address Address Address Address (decimal) (hexadecimal) (decimal) (hexadecimal)  1277444 137E04H Communication Communication cycle Read period setting intervals (calculation value (protocol value) version 2.0)  1277445 137E05H Cyclic transmission Read time (calculation value)  1277446 137E06H Transient Read...
  • Page 293 Name Initial Read value Write Address Address Address Address (decimal) (hexadecimal) (decimal) (hexadecimal)  1277704 to 137F08H to PDO information Start offset of link Read 1277705 137F09H (Multidrop No.7 of device using RPDO the station No.1)  1277706 to 137F0AH to RPDO size Read 1277707...
  • Page 294 Name Initial Read value Write Address Address Address Address (decimal) (hexadecimal) (decimal) (hexadecimal)  1294352 to 13C010H to Master station Current master Read 1294353 13C011H switch information station IP address  1294354 to 13C012H to System area 1294367 13C01FH  1294368 13C020H ERR LED control...
  • Page 295 Name Initial Read value Write Address Address Address Address (decimal) (hexadecimal) (decimal) (hexadecimal) 2097252 to 200064H to 4194404 to 400064H to P1: Connection System area 2097379 2000E3H 4194531 4000E3H status storage area P2: System area 2097380 to 2000E4H to 4194532 to 4000E4H to Latest error code after Read...
  • Page 296 Name Initial Read value Write Address Address Address Address (decimal) (hexadecimal) (decimal) (hexadecimal) 2102192 to 2013B0H to 4199344 to 4013B0H to Status for each Received packet total Read 2102193 2013B1H 4199345 4013B1H protocol (ICMP count packet) 2102194 to 2013B2H to 4199346 to 4013B2H to Received packet...
  • Page 297 Name Initial Read value Write Address Address Address Address (decimal) (hexadecimal) (decimal) (hexadecimal) 2102452 2014B4H 4199604 4014B4H P1: Sending/ System area receiving 2102453 2014B5H 4199605 4014B5H RECV instruction Read instructions area execution request P2: System area 2102454 to 2014B6H to 4199606 to 4014B6H to System area...
  • Page 298 • Do not write data to the system areas. Doing so may cause malfunction of the programmable controller system. • If the value in an area of one word becomes equal to or higher than 65536, the count stops at 65535 (FFFFH).
  • Page 299: Details Of Buffer Memory Addresses

    Details of buffer memory addresses Link device area The RX, RY, RWw, RWr, LB, LW, SB, and SW values are stored. Remote input (RX) (Un\G57344 to Un\G58367) 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\G1245696 to Un\G1246179).
  • Page 300 Link register (LW) (Un\G75776 to Un\G92159) The LW value is stored. The LW start number and number of points for each station number can be checked by the LW offset/ size information (Un\G1250816 to Un\G1251299). ( Page 302 LW offset/size information) Address Un\G75776 Un\G75777...
  • Page 301 Link points extended device area When link points are not extended, values are 0 and this area is invalid. Use the link device area. ( Page 297 Link device area) Start offset and size of link device when link points are extended (Un\G98560 to Un\G98583) The start offset and size of RX, RY, RWw, RWr, LB, and LW with "LB/LW Points Extended Setting"...
  • Page 302 Timeslot information Timeslot 0 information (Un\G1245440 to Un\G1245455) Cycle start offset (ns, s unit) and cycle end offset (ns, s unit) or other information on timeslot 0 are stored. Address Name Description Un\G1245440 to Un\G1245441 Cycle start offset (ns unit) The ns digits of cycle start offset are stored.
  • Page 303 RY offset/size information RY offset/size information (Un\G1246720 to Un\G1247203) The start number and the number of points of RY for each station are stored. Address Description Un\G1246720 to Un\G1246721 Station No.0 offset Un\G1246722 to Un\G1246723 Station No.0 size (in units of words) Un\G1246724 to Un\G1246725 Station No.1 offset Un\G1246726 to Un\G1246727...
  • Page 304 LB offset/size information LB offset/size information (Un\G1249792 to Un\G1250275) The start number and the number of points of LB for each station are stored. Address Description Un\G1249792 to Un\G1249793 Station No.0 offset Un\G1249794 to Un\G1249795 Station No.0 size (in units of words) Un\G1249796 to Un\G1249797 Station No.1 offset Un\G1249798 to Un\G1249799...
  • Page 305 Own station information The information of the own station on the network is stored. Own station (network card) information (Un\G1252096 to Un\G1252103) Address Name Description Un\G1252096 Manufacturer code The information of the own station is stored. (Also used in the CLPA conformance test.) Un\G1252097 Model type (Updated even if set as an error invalid station.)
  • Page 306 Time synchronization Time distribution interval setting of the CPU module (Un\G1275136) The time distribution interval of the CPU module on the master station to device stations is set (CPU No.1 when the multiple CPU system is used). This setting is set to the buffer memory of the master station. 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 307: Time Synchronization Setting

    Time synchronization setting PTP frame send source check enable/disable (Un\G1275933) • 1: Check • 0: Do not check PTP frame send source check result (P1) (Un\G1275934) • 1: Two or more send sources • 0: One send source PTP frame send source check result (P2) (Un\G1275935) •...
  • Page 308 Communication period setting value (protocol version 2.0) Communication cycle interval (calculation value) (Un\G1277444) Stores the communication cycle intervals that are calculated by the number of device stations and the number of link device points set in "Network Configuration Settings" under "Basic Settings". Stores the communication cycle interval of protocol version 2.0 regardless of the setting value of 'Protocol setting' (Un\G1294018).
  • Page 309 CC-Link IE TSN Communication Software information Information related to the CC-Link IE TSN Communication Software is stored. CC-Link IE TSN Communication Software information (1st module) (Un\G1277456 to Un\G1277479) Address Name Description Un\G1277456 Manufacturer code Information of the CC-Link IE TSN Communication Software in the 1st module is stored.
  • Page 310 Protocol information Protocol information (Un\G1294016 to Un\G1294031) Address Name Description Un\G1294016 Protocol operating status Stores the operating status of the protocol. 0: Operating protocol not determined or CC-Link IE TSN Class settings set to CC-Link IE TSN Class B only 1: Operating with the protocol version 1.0 2: Operating with the protocol version 2.0 Un\G1294017...
  • Page 311 Timeslot information for device station cyclic transmission Timeslot information for device station cyclic transmission (Un\G1294048 to Un\G1294167) Address Name Description Un\G1294048 Timeslot for station number 1 cyclic transmission Stores the Timeslot for cyclic transmission of station number 1. 0: Undetermined 1: Timeslot 1 3: Timeslot 3 4: Timeslot 4...
  • Page 312 ERR LED control Send request (Un\G1294368) A send request is issued to a module. • 0: Do not send • 1: Send (enabled at startup) Send status (Un\G1294369) The send status of a module is stored. • 0: Not sent •...
  • Page 313 Own node setting status storage area Own node IP address (Un\G2097156 to Un\G2097157) The setting values of the IP address are stored. Range: 1H to DFFFFFFEH Subnet mask (Un\G2097166 to Un\G2097167) The setting values of the subnet mask are stored. Range: 1H to FFFFFFFFH 0: No setting Default gateway IP address (Un\G2097170 to Un\G2097171)
  • Page 314 Connection status storage area Latest error code after the 2nd connection of MELSOFT transmission port (TCP/IP) (Un\G2097380 to Un\G2097386) 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\G2097508 to Un\G2097514) The latest error code of the 2nd to 8th connection of the SLMP transmission port (TCP/IP) is stored.
  • Page 315 Status for each protocol (ICMP packet) Received packet total count (Un\G2102192 to Un\G2102193, Un\G4199344 to Un\G4199345) The status is counted from 0 to 4294967295 (FFFFFFFFH). Received packet checksum error discard count (Un\G2102194 to Un\G2102195, Un\G4199346 to Un\G4199347) The status is counted from 0 to 4294967295 (FFFFFFFFH). Sent packet total count (Un\G2102196 to Un\G2102197, Un\G4199348 to Un\G4199349) The status is counted from 0 to 4294967295 (FFFFFFFFH).
  • Page 316 Own node operation status storage area (LED on/off status) Own node operation status storage area (LED on/off status) (Un\G2102341) ERR LED (b0) • 1: On/flashing • 0: Off Own node operation status storage area (connection information area) Communication mode (Un\G2102343, Un\G4199495) •...
  • Page 317 Remote password lock status storage area Remote password lock status system port (Un\G2102782, Un\G4199934) [b0]: Auto-open UDP port [b1]: MELSOFT transmission port (UDP/IP) [b2]: MELSOFT transmission port (TCP/IP) [b5]: SLMP transmission port (UDP/IP) [b6]: SLMP transmission port (TCP/IP) • 0: Unlocked/remote password not set •...
  • Page 318 Ethernet P1/2 common information Initial status (Un\G6291480) The initial processing status of the RJ71GN11 Ethernet connection is stored. [b0]: Initial normal completion status • 1: Initialization normal completion • 0:  [b1]: Initial abnormal completion status • 1: Initialization abnormal completion •...
  • Page 319: Appendix 4 List Of Link Special Relay (Sb)

    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 320 Name Description Master Local station station Unicast Multicast mode mode    SB0036 RECV execution Stores the data reception status of own station channel 7. request flag CH7 Off: No data received On: Data received    SB0037 RECV execution Stores the data reception status of own station channel 8.
  • Page 321 Name Description Master Local station station Unicast Multicast mode mode    SB0064 Cyclic data receive Shows the receive status in the communication cycle in which the cyclic status data from the device station is set using "Disconnection Detection Setting" in the master station.
  • Page 322 Name Description Master Local station station Unicast Multicast mode mode    SB007D Hold/clear status Stores the setting status of "Output Hold/Clear Setting during CPU STOP" setting for CPU STOP under "I/O Maintenance Settings" in "Supplementary Cyclic Settings" of "Application Settings"...
  • Page 323 Name Description Master Local station station Unicast Multicast mode mode    SB00F0 CPU operating status Stores the operating status of the CPU module on each station. of each station Off: All stations are at RUN or PAUSE state On: Station at STOP or station with a moderate/major error exists.
  • Page 324 Name Description Master Local station station Unicast Multicast mode mode    SB01E9 Inter-module Stores the cycle over occurrence status of the inter-module synchronization. synchronization cycle This relay is turned on if output preparation processing (cyclic data transfer over flag processing for network modules) is not completed within the inter-module synchronization cycle.
  • Page 325: Appendix 5 List Of Link Special Register (Sw)

    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 326 Name Description Master Local station station Unicast Multicast mode mode    SW0045 Module type Stores the hardware status of the own station. b2 b1 b0 SW0252 0 b0 to b1: Model type 00: Module 01: Board 10: HMI (Human Machine Interface) b2: Connector type 0: RJ45 connector 1: Duplex LC connector...
  • Page 327 Name Description Master Local station station Unicast Multicast mode mode    SW005B Maximum data Stores the maximum station number of the station where the data link is normally link station performed. number Range: 1 to 120 (0 when own station is disconnected) Since a local station cannot obtain the station information of the CC-Link IE TSN Class A remote station when communicating in multicast mode, the CC-Link IE TSN Class A remote station is reflected as a station performing normal data link.
  • Page 328 Name Description Master Local station station Unicast Multicast mode mode    SW0075 PORT1 receive Stores the cumulative count that error data was received at the P1 side. error detection The count stores only error data that is not transmitted to all stations. count When 'Clear communication error count' (SB0006) is turned on, the stored count is cleared.
  • Page 329 Name Description Master Local station station Unicast Multicast mode mode    SW00B0 Data link status Stores the data link status of each station. of each station 0: Data link normally operating station SW00B7 1: Data link faulty station •...
  • Page 330 Name Description Master Local station station Unicast Multicast mode mode    SW00C8 Parameter Stores the status of parameter settings. setting status 0: Station not set in the parameter SW00CF 1: Station set in the parameter b15 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0 SW00C8 16 15 14 13 12 11 10 SW00C9...
  • Page 331 Name Description Master Local station station Unicast Multicast mode mode    SW00F0 CPU operating Stores the CPU operating status of each station. status of each 0: RUN, PAUSE SW00F7 station 1: STOP or moderate/major error b15 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0 SW00F0 16 15 14 13 12 11 10 SW00F1...
  • Page 332 Name Description Master Local station station Unicast Multicast mode mode    SW0110 CPU minor error For local stations, the minor error occurrence status of the CPU module on each status of each station is stored. SW0117 station For remote stations, the minor error occurrence status of each station is stored. 0: Normal, or a moderate or serious error occurring 1: Minor error occurring b15 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0...
  • Page 333 Name Description Master Local station station Unicast Multicast mode mode    SW0199 Link dedicated Stores the processing results of the link dedicated instruction that used channel 4 instructions of the own station. processing result 0: Completed successfully 1 or greater: Completed with an error (Error code is stored.) SW019A Link dedicated Stores the processing results of the link dedicated instruction that used channel 5...
  • Page 334 Name Description Master Local station station Unicast Multicast mode mode    SW01C0 Information of Stores the information about support or non-support of the CC-Link IE TSN CC-Link IE TSN Network synchronous communication function for each station. SW01C7 Network 0: Not supported synchronous 1: Supported...
  • Page 335 Name Description Master Local station station Unicast Multicast mode mode    SW01E9 Inter-module Indicates the number of times cyclic data transfer processing is not completed synchronization within the inter-module synchronization cycle. The status is cleared by powering cycle over count off and on the system or by resetting the CPU module.
  • Page 336 Name Description Master Local station station Unicast Multicast mode mode    SW0500 Co-recording Stores the supporting information on each station. (Station number: 1 to 120) each station 0: Not supported SW0507 supporting 1: Supported information b15 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0 SW0500 16 15 14 13 12 11 10 SW0501...
  • Page 337: Appendix 6 Dedicated Instruction

    Appendix 6 Dedicated Instruction This section describes dedicated instructions that can be used in the RJ71GN11 and the transient transmission ranges. For details on dedicated instructions, refer to the following.  MELSEC iQ-R Programming Manual (Module Dedicated Instructions) Precautions Data change Do not change any data specified (such as control data) until execution of the dedicated instruction is completed.
  • Page 338: Remote Instructions

    Remote instructions The following table lists the instructions used for transient transmission to the remote station. : Available, : Not available Instruction Description RJ71GN11-T2 RJ71GN11-SX   REMFR Reads data in units of words from the buffer memory in the remote station. (16-bit address specification) ...
  • Page 339: Other Dedicated Instructions

    Other dedicated instructions The following table lists the dedicated instructions used to set parameters for the own station. : Available, : Not available Instruction Description RJ71GN11-T2 RJ71GN11-SX CCPASET Set parameters. (Only partial parameters)     CCPASETX Set parameters. ...
  • Page 340: Appendix 7 Processing Time

    Appendix 7 Processing Time The transmission delay time of CC-Link IE TSN consists of the time components below. ( Page 338 Cyclic transmission delay time) (1) Master station sequence scan time + (2) Communication cycle interval (cyclic data transfer processing time) + (3) Device station processing time •...
  • Page 341 Details of n by which communication cycle intervals are multiplied In "Network Configuration Settings" of the master station, when "CC-Link IE TSN Class" is set to "CC-Link IE TSN Class A" and "Communication Period Setting" of the communication destination is set to "Low-Speed", multiply the communication cycle intervals by the multiplier ...
  • Page 342 • Variables used by the algorithm above 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. Other than ...
  • Page 343 Transmission delay time of master station  remote station The following table lists the calculation formulas for when data is transmitted from a remote station (input) to the master station (RX/RWr). Calculation value Station-based block data assurance No station-based block data assurance (SM ...
  • Page 344 When extending the number of link points "Communication Calculation Station-based block data assurance No station-based block Period Setting LB/ value data assurance LW" of sending station Basic Period Same as when link points are not extended. When LS  DV < SL and LS  DV < SM: SM + LS + (LS  DV  n1d) + SL •...
  • Page 345 When extending the number of link points "Communication Calculation Station-based block data assurance No station-based block Period Setting LB/ value data assurance LW" of sending station Basic Period Same as when link points are not extended. When LS  DV < SL and LS  DV < SM: SM + LS + (LS  DV  n3d) + SL •...
  • Page 346: Communication Cycle Intervals

    Communication cycle intervals The minimum value of the communication cycle interval (cyclic data transfer processing time) is calculated by the following calculation formula. Communication mode Master station Calculation formula references communication speed Page 346 Communication cycle interval: Unicast/1Gbps Unicast mode 1Gbps Page 350 Communication cycle interval: Unicast/100Mbps (RJ71GN11-T2 only) 100Mbps (RJ71GN11-T2 only)
  • Page 347 How to count modules to be used in variables The number of modules to be used in variables in a calculation formula for communication cycle intervals is counted in "Network Configuration Settings". When not specifying whether to count main modules or extension modules, the number is the total count of the both. Item Number of modules Remarks...
  • Page 348: Cyclic Transmission Time

    Communication cycle interval: Unicast/1Gbps The calculation formula of the communication cycle interval [s] for the RJ71GN11-T2 is  +  +  +  or 125000, whichever is larger. The calculation formula of the communication cycle interval [s] for the RJ71GN11-SX is c + p or 125000, whichever is larger.
  • Page 349 Name of variable Description The number of connections of "Safety Communication Setting" in "Basic Settings" set in the master station  80 sndm Number of device stations Number of device stations using safety communications Number of local stations Switching hub delay time  Number of industrial switches (CC-Link IE TSN certified) connected to the network Switching hub delay time: 50000 When "Network Topology"...
  • Page 350 Name of variable Description i = 1 20)/1488) = ((ends + en4 However, when ends is 0, en3 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)
  • Page 351 Name of variable Description 1800  (Number of device stations) + 10000 kuu: Inter-module synchronization However, if the inter-module synchronization is not performed in the master station , then kuu=0. processing time (unicast) *1 The switching hub delay time changes depending on the industrial switch (CC-Link IE TSN certified) models and settings. *2 This is the device station with the largest calculation value when, for each device station (including extension modules), (("RX Setting"...
  • Page 352 Communication cycle interval: Unicast/100Mbps (RJ71GN11-T2 only) The calculation formula of the communication cycle interval [s] is  +  +  +  Round up values of  ,  ,  ,  that are less than 1s. Cyclic transmission time Cyclic transmission time [s] is ...
  • Page 353 Name of variable Description Sn  nhs nhs: Value of (nds + (20  n4))/(1488  Sn) rounded up to the nearest integer Sn  (RXb + RWrb) + Ln  (LBxmb + LWxmb) + 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"...
  • Page 354 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 355 Communication cycle interval: Multicast/1Gbps The calculation formula of the communication cycle interval [s] for the RJ71GN11-T2 is  +  +  +  or 125000, whichever is larger. The calculation formula of the communication cycle interval [s] for the RJ71GN11-SX is c + p or 125000, whichever is larger.
  • Page 356 Variable For each variable to be used, round it up to one decimal point before assigning to the calculation formula. The parts enclosed in double quotation marks (" ") in the description are the setting values for "Network Configuration Settings". Name of variable Description (ndmr + (16 ...
  • Page 357 Name of variable Description Sn  (RXb + RWrb) + Ln  (LBxmb + LWxmb) + Sn + DIs 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"...
  • Page 358 Name of variable Description i = 1 20)/1488) = ((ends + en4 However, when ends is 0, en3 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)
  • Page 359 Name of variable Description When not extending the number of link points p2: LB/LW processing time {[(Total number of points of "LB Setting" excluding master station)/8] + [(Total number of points of "LW Setting" excluding master station)  2] + [(Number of points of "LB Setting" set in the master station)/8] + [(Number of points of "LW Setting" set in the master station) ...
  • Page 360 Communication cycle interval: Multicast/100Mbps (RJ71GN11-T2 only) The calculation formula of the communication cycle interval [s] is  +  +  +  Round up values of  ,  ,  ,  that are less than 1s. Cyclic transmission time Cyclic transmission time [s] is ...
  • Page 361 Variable For each variable to be used, round it up to one decimal point before assigning to the calculation formula. The parts enclosed in double quotation marks (" ") in the description are the setting values for "Network Configuration Settings". Name of variable Description (ndmr + (16 ...
  • Page 362 Name of variable Description en1r en1r i = 1 16)/1488) en1r = ((endmr + en2r When station No.i represents a station other than a remote station, en1r is 0. When endmr is 0, en1r is 0. 16, kr When mfr >16, kr =1, and when mfr =1488-mod...
  • Page 363 Name of variable Description eRxln +eRWrln +((endl+(eRxln +eRWrln )20)/1488) However, when endl is 0, the value for en6 is 0. i: Station number of the device station to be used as the maximum number of link points eRxln : 0 (fixed) eRWrln : Total number of extension modules with station No.i whose number of points of "RWr Setting"...
  • Page 364: Interlink Transmission Time

    Interlink transmission time The following is the formula to calculate the time required for interlink transmission. Interlink transmission does not affect the sequence scan time. Interlink transmission time to completely transmit all set points  = KM4  ((RX + RY)  16 + RWr + RWw) [ms] ...
  • Page 365: Transmission Delay Time Of Safety Communications (Rj71Gn11-T2 Only)

    Transmission delay time of safety communications (RJ71GN11- T2 only) The following are the formulas to calculate transmission delay time of safety communications. • When "Communication Period Setting" of the communication destination in "Network Configuration Settings" has been set to an option other than "Basic Period", multiply the LS: communication cycle intervals by the multiplier corresponding to the set option, which is specified in "Multiple Period Setting"...
  • Page 366 Master station (safety station)  remote station (safety station) The following table lists the time between a safety device of the Safety CPU on the master station (safety station) turning on or off and the output of the remote station (safety station) turning on or off. Calculation value Formula Normal value...
  • Page 367: Safety Response Time (Rj71Gn11-T2 Only)

    (safety station) turning off (including an error detection time). For calculation method of the safety response time, refer to the following.  Mitsubishi Safety Programmable Controller MELSEC iQ-R Series Machinery Directive (2006/42/EC) Compliance When "Communication Destination" is set to "CR800-R" in "Safety Communication Setting" under "Basic Settings"...
  • Page 368: Monitoring Time For Safety Communications (Rj71Gn11-T2 Only)

    Monitoring time for safety communications (RJ71GN11-T2 only) This section describes the monitoring time for the safety communications. The monitoring time is set for each safety connection. If the time exceeds the monitoring time, a safety communication timeout is detected and the safety communications are stopped. Setting station Item Description...
  • Page 369 Transmission interval monitoring time The value of transmission interval monitoring time set in the master/local module must satisfy all of the following conditions. Communication destination Condition • TM  SCown  3 Master station (safety station) or local station (safety station) •...
  • Page 370 Safety refresh monitoring time Set the safety refresh monitoring time at the Active side station. Set a value that satisfies all of the following conditions. • Master station (safety station)  local station (safety station)  remote station (safety station) Condition •...
  • Page 371 Setting examples of the monitoring times The following table lists setting examples of the transmission interval monitoring time and the safety refresh monitoring time of the communication cycle intervals when the safety cycle time of the master station is set to 10ms and the safety remote station refresh response processing time of the safety remote I/O module is set to 2.3ms.
  • Page 372: Appendix 8 Port Number

    Appendix 8 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...
  • Page 373: Appendix 9 Software Licenses And Copyright

    Appendix 9 Software Licenses and Copyright This section describes the licenses and copyrights to the software used in this product. MD5 Message-Digest Algorithm This product includes code that was developed by RSA Data Security, Inc. Copyright  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.
  • Page 374: Appendix 10Added And Enhanced Functions

    Appendix 10 Added and Enhanced Functions The following table lists the added and enhanced functions in the RJ71GN11. RJ71GN11-T2 Added and enhanced functions Firmware version Updated the firmware using the engineering tool "01" or later Multicast function to the communication mode under the application settings "04"...
  • Page 375: Firmware Version

    RJ71GN11-SX Added and enhanced functions Firmware version Updated the firmware using the engineering tool "01" or later Master station switch function "02" or later IP address setting of the device station "04" or later ERR LED control "04" or later Remote device test "04"...
  • Page 376: Index

    INDEX 0 to 9 ....43 ....152 32-bit data assurance PDO mapping setting .
  • Page 377 MEMO...
  • Page 378: Revisions

    Japanese manual number: SH-082128-Q 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.
  • Page 379: Warranty

    WARRANTY Please confirm the following product warranty details before using this product. 1. Gratis Warranty Term and Gratis Warranty Range If any faults or defects (hereinafter "Failure") found to be the responsibility of Mitsubishi occurs during use of the product within the gratis warranty term, the product shall be repaired at no cost via the sales representative or Mitsubishi Service Company.
  • Page 380: Information And Services

    INFORMATION AND SERVICES For further information and services, please contact your local Mitsubishi Electric sales office or representative. Visit our website to find our locations worldwide. MITSUBISHI ELECTRIC Factory Automation Global Website Locations Worldwide www.MitsubishiElectric.com/fa/about-us/overseas/ TRADEMARKS   and CANopen are registered Community Trademarks of CAN in Automation e.V.
  • Page 382 SH(NA)-082129ENG-O(2411)MEE MODEL: R-CCIETSN-U-OU-E 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.

This manual is also suitable for:

Melsec iq-rj71gn11-t2Melsec iq-rj71gn11-sx

Table of Contents