Download  Print this page

Mitsubishi Electric MELSEC iQ-R Series User Manual

Hide thumbs

Advertisement

MELSEC iQ-R Ethernet/CC-Link IE
User's Manual (Startup)
-RJ71EN71
-RJ71GP21-SX
-RJ71GP21S-SX
-RJ71GF11-T2
-R00CPU
-R01CPU
-R02CPU
-R04CPU
-R04ENCPU
-R08CPU
-R08ENCPU
-R08PCPU
-R08PSFCPU
-R08SFCPU
-R16CPU
-R16ENCPU
-R16PCPU
-R16PSFCPU
-R16SFCPU
-R32CPU
-R32ENCPU
-R32PCPU
-R32PSFCPU
-R32SFCPU
-R120CPU
-R120ENCPU
-R120PCPU
-R120PSFCPU
-R120SFCPU

Advertisement

Table of Contents
loading

  Related Manuals for Mitsubishi Electric MELSEC iQ-R Series

  Summary of Contents for Mitsubishi Electric MELSEC iQ-R Series

  • Page 1 MELSEC iQ-R Ethernet/CC-Link IE User's Manual (Startup) -RJ71EN71 -RJ71GP21-SX -RJ71GP21S-SX -RJ71GF11-T2 -R00CPU -R01CPU -R02CPU -R04CPU -R04ENCPU -R08CPU -R08ENCPU -R08PCPU -R08PSFCPU -R08SFCPU -R16CPU -R16ENCPU -R16PCPU -R16PSFCPU -R16SFCPU -R32CPU -R32ENCPU -R32PCPU -R32PSFCPU -R32SFCPU -R120CPU -R120ENCPU -R120PCPU -R120PSFCPU -R120SFCPU...
  • 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 ● 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 5 [Design Precautions] CAUTION ● Do not install the control lines or communication cables together with the main circuit lines or power cables. Keep a distance of 100mm or more between them. Failure to do so may result in malfunction due to noise. ●...
  • Page 6 [Installation Precautions] CAUTION ● 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 [Wiring Precautions] CAUTION ● Individually ground the FG and LG terminals of the programmable controller with a ground resistance of 100 ohms or less. Failure to do so may result in electric shock or malfunction. ● Use applicable solderless terminals and tighten them within the specified torque range. If any spade solderless terminal is used, it may be disconnected when the terminal screw comes loose, resulting in failure.
  • Page 8 [Startup and Maintenance Precautions] WARNING ● Do not touch any terminal while power is on. Doing so will cause electric shock or malfunction. ● Correctly connect the battery connector. Do not charge, disassemble, heat, short-circuit, solder, or throw the battery into the fire. Also, do not expose it to liquid or strong shock. Doing so will cause the battery to produce heat, explode, ignite, or leak, resulting in injury and fire.
  • 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 [Startup and Maintenance Precautions] CAUTION ● Startup and maintenance of a control panel must be performed by qualified maintenance personnel with knowledge of protection against electric shock. Lock the control panel so that only qualified maintenance personnel can operate it. ●...
  • Page 11: Conditions Of Use For The Product

    CONDITIONS OF USE FOR THE PRODUCT (1) Mitsubishi programmable controller ("the PRODUCT") shall be used in conditions; i) where any problem, fault or failure occurring in the PRODUCT, if any, shall not lead to any major or serious accident; ii) where the backup and fail-safe function are systematically or automatically provided outside of the PRODUCT for the case of any problem, fault or failure occurring in the PRODUCT.
  • Page 12: Introduction

    Before using this product, please read this manual and the relevant manuals carefully and develop familiarity with the functions and performance of the MELSEC iQ-R series programmable controller to handle the product correctly. When applying the program examples provided in this manual to an actual system, ensure the applicability and confirm that it will not cause system control problems.
  • Page 13: Table Of Contents

    CONTENTS SAFETY PRECAUTIONS ..............1 CONDITIONS OF USE FOR THE PRODUCT .
  • Page 14 CHAPTER 7 COMMUNICATION EXAMPLES Communication Examples of Ethernet ............69 System configuration example .
  • Page 15: Relevant Manuals

    This manual does not include information on the module function blocks. For details, refer to the Function Block Reference for the module used. e-Manual refers to the Mitsubishi Electric FA electronic book manuals that can be browsed using a dedicated tool.
  • Page 16: Terms

    A system that takes control and performs network communications in a redundant system CPU module A generic term for the MELSEC iQ-R series CPU modules CPU module (built-in Ethernet port part) A built-in Ethernet port part of the CPU module (CPU part for the RnENCPU) ( Page 23 CPU...
  • Page 17 Term Description Label A label that represents a device in a given character string Link device A device in a module on CC-Link IE Link refresh Automatic data transfer between a link device in a module on CC-Link IE and a device in a CPU module.
  • Page 18 Term Description Remote register (RWr) Word data input from a slave station to the master station of CC-Link IE Field Network (For some areas in a local station, data are input in the opposite direction.) Remote register (RWw) Word data output from the master station to a slave station of CC-Link IE Field Network (For some areas in a local station, data are output in the opposite direction.) Reserved station A station reserved for future use.
  • Page 19: Chapter 1 Part Names

    PART NAMES RJ71EN71 This section describes the names of each part of the RJ71EN71. Name Description Operation status indicator LED Indicates the operating status of the module. ( Page 19 Network used and LED indication) Dot matrix LED Indicates the station number set in the module and the module communication test result. ( Page 22 Dot matrix LED indication) For indication of the module communication test result, refer to the following.
  • Page 20: Available Combination Of Network

    Available combination of network Ethernet port (P1 and P2) of the RJ71EN71 can be used in the following network depending on the engineering tool setting. ( GX Works3 Operating Manual) • Ethernet • CC-Link IE Controller Network • CC-Link IE Field Network •...
  • Page 21: Network Used And Led Indication

    Network used and LED indication LED indication of the RJ71EN71 differs depending on the network used. The following table lists the LED indication when each network is used. When Ethernet or Q-compatible Ethernet is used LED name Description RUN LED Indicates the operating status.
  • Page 22 When CC-Link IE Controller Network is used LED name Description RUN LED Indicates the operating status. On: Normal operation Off: Error ( MELSEC iQ-R CC-Link IE Controller Network User's Manual (Application)) ERR LED Indicates the error status of the module. On, flashing: Error (...
  • Page 23 When CC-Link IE Field Network is used LED name Description RUN LED Indicates the operating status. On: Normal operation Off: Error ( MELSEC iQ-R CC-Link IE Field Network User's Manual (Application)) ERR LED Indicates the error status of the module. On, flashing: Error (...
  • Page 24 Dot matrix LED indication The following table lists the station number indicated on the dot matrix LED. Network combination Setting in GX Works3 Display Model Port 1 network type Port 2 network type Ethernet only RJ71EN71 (E+E) Ethernet Ethernet Always off CC-Link IE Controller Network RJ71EN71 (CCIEC) CC-Link IE Control...
  • Page 25: Cpu Module

    CPU Module This section describes the part names of the CPU module related to the Ethernet function. For other names of each part, refer to the following.  MELSEC iQ-R CPU Module User's Manual (Startup) (10) Name Description Built-in Ethernet port part A part to connect the CPU module to Ethernet Ethernet port A connector to connect the CPU module to the 10BASE-T/100BASE-TX (RJ45 connector)
  • Page 26: Available Combination Of Network

    Name Description (10) Ethernet port (P2) PORT2 connector for network. Connect an Ethernet cable. For wiring methods and wiring precautions, refer to the following. ( Page 61 WIRING) L ER LED Same as the P1 connector LINK LED Available combination of network Ethernet port (P1 and P2) of the RnENCPU can be used in the following network depending on the engineering tool setting.
  • Page 27: Network Used And Led Indication

    Network used and LED indication LED indication of the RnENCPU differs depending on the network used. For the LED indication when each network is used, refer to the following. • When Ethernet is used: Page 19 When Ethernet or Q-compatible Ethernet is used •...
  • Page 28: Rj71Gp21(S)-Sx

    RJ71GP21(S)-SX This section describes the names of each part of the RJ71GP21(S)-SX. Name Description RUN LED Indicates the operating status. On: Normal operation Off: Error ( MELSEC iQ-R CC-Link IE Controller Network User's Manual (Application)) ERR LED Indicates the error status of the module. On, flashing: Error (...
  • Page 29 *1 The LED is always off in offline mode. *2 When once a receive frame error is detected, the L ERR LED remains off. ('IN-side error frame detection of own station (SB006E))' or 'OUT-side error frame detection of own station (SB006F)' also remains off.) To turn off the L ERR LED, perform troubleshooting for when the L ERR LED turns on.
  • Page 30: Rj71Gf11-T2

    RJ71GF11-T2 This section describes the names of each part of the RJ71GF11-T2. Name Description RUN LED Indicates the operating status. On: Normal operation Off: Error ( MELSEC iQ-R CC-Link IE Field Network User's Manual (Application)) ERR LED Indicates the error status of the module. On: Error or at error detection on all stations (...
  • Page 31 Name Description Production information marking Shows the production information (16 digits) of the module. *1 The LED is always off in offline mode. 1 PART NAMES 1.4 RJ71GF11-T2...
  • Page 32: Chapter 2 Specifications

    SPECIFICATIONS This chapter describes the performance specifications and hardware specifications of each module. Performance Specifications of Ethernet The following table lists the performance specifications of Ethernet. Item RJ71EN71 CPU module Ethernet Q-compatible Built-in RnENCPU RnENCPU Ethernet Ethernet port (CPU part) (network part) part Transmission...
  • Page 33: Performance Specifications Of Cc-Link Ie Controller Network

    Performance Specifications of CC-Link IE Controller Network The following table lists the performance specifications of CC-Link IE Controller Network. Item RJ71GP21-SX RJ71GP21S-SX RJ71EN71, RnENCPU (network part) Maximum number of link points per 32K points (32768 points, 4K bytes) network 128K points (131072 points, 256K bytes)v 8K points (8192 points, 1K bytes) 8K points (8192 points, 1K bytes) Maximum number of link points per...
  • Page 34: Performance Specifications Of Cc-Link Ie Field Network

    Performance Specifications of CC-Link IE Field Network The following table lists the performance specifications of CC-Link IE Field Network. Item RJ71GF11-T2 RJ71EN71, RnENCPU (network part) Maximum number of link points per network 16K points (16384 points, 2K bytes) 16K points (16384 points, 2K bytes) 8K points (8192 points, 16K bytes) 8K points (8192 points, 16K bytes) Maximum number...
  • Page 35 *2 This function is not available for the RJ71EN71. For the RJ71GF11-T2, availability depends on the firmware version. ( MELSEC iQ-R CC-Link IE Field Network User's Manual (Application)) *3 Submaster station and local stations cannot be connected when "Communication Mode" under "Application Settings" is "High-Speed Remote Net".
  • Page 36: Hardware Specifications

    Hardware Specifications The following table lists the hardware specifications of each module. For the hardware specifications of the CPU module, refer to the following.  MELSEC iQ-R CPU Module User's Manual (Startup) Item RJ71EN71 RJ71GP21-SX RJ71GP21S-SX RJ71GF11-T2 Number of occupied I/O points 32 points 48 points 2 slots (I/O 32 points...
  • Page 37: Chapter 3 Function List

    FUNCTION LIST Function List of Ethernet This section describes the functions of Ethernet. For details on the functions, refer to the following.  MELSEC iQ-R Ethernet User's Manual (Application) : Available, : Partially available, : Not available Function Description Availability RJ71EN71, CPU module RnENCPU...
  • Page 38 Function Description Availability RJ71EN71, CPU module RnENCPU (built-in (network Ethernet part) port part) Communication setting reflection Reflects the communication settings (such as IP addresses) in devices   supporting iQSS in "Device map area" which are connected over Ethernet. For details, refer to the following. ...
  • Page 39: Function List Of Cc-Link Ie Controller Network

    Function List of CC-Link IE Controller Network This section describes the functions of CC-Link IE Controller Network. For details on the functions, refer to the following.  MELSEC iQ-R CC-Link IE Controller Network User's Manual (Application) Cyclic transmission : Available, : Partially available, : Not available Function Description Availability...
  • Page 40 : Available, : Partially available, : Not available Function Description Availability Control Normal station station   Automatic return Automatically returns the station disconnected from the network due to a data link error to the network when it recovers and restarts data link. ...
  • Page 41 Others : Available, : Partially available, : Not available Function Description Availability Control Normal station station   Reserved station specification Specifies stations reserved for future use. The reserved stations are not actually connected, but counted as connected stations. The stations are not detected as faulty stations even though they are not actually connected.
  • Page 42: Function List Of Cc-Link Ie Field Network

    Function List of CC-Link IE Field Network The following table lists the functions of CC-Link IE Field Network. For details on the functions, refer to the following.  MELSEC iQ-R CC-Link IE Field Network User's Manual (Application) Cyclic transmission : Available, : Partially available, : Not available Function Description Availability...
  • Page 43 : Available, : Partially available, : Not available Function Description Availability Master Local station, station submaster station   Slave station disconnection Disconnects only the slave station where an error occurs, and continues the data link with the stations that are operating normally. In a line topology, all stations connected after the faulty station are disconnected.
  • Page 44 Function Description Availability Master Local station, station submaster station Temporary cancel of the reserved station Temporarily cancels the reserved station specification without changing the   setting parameters.   Error invalid station and temporary error Prevents the master station from detecting a slave station as a faulty station invalid station setting even if the slave station is disconnected during data link.
  • Page 45 *2 The network synchronous communication cannot be performed with the stations in a redundant system. *3 This function cannot be used in the network including the submaster station. *4 This function cannot be used when the control CPU of the CC-Link IE Field Network-equipped master/local module is the Safety CPU. *5 This function is available only for the RJ71GF11-T2.
  • Page 46: Chapter 4 Procedures Before Operation

    PROCEDURES BEFORE OPERATION This chapter describes the procedures before operation. Network construction Configure the system and set the parameters which are required for start-up. • Wiring ( Page 61 WIRING) • Parameter setting ( User's Manual (Application) for each network) Network diagnostics Using network diagnostics, check if the cables are connected properly and communication is performed normally with the configured parameters.
  • Page 47 MEMO 4 PROCEDURES BEFORE OPERATION...
  • Page 48: Chapter 5 System Configuration

    SYSTEM CONFIGURATION This chapter describes the system configuration of each network. Ethernet For applicable CPU modules and the number of mountable modules, refer to the following.  MELSEC iQ-R Module Configuration Manual 5 SYSTEM CONFIGURATION...
  • Page 49: Ethernet Configuration

    Ethernet Configuration This section describes the system configuration of Ethernet. Direct connection to an engineering tool Engineering tool can be directly connected only with a single Ethernet cable, without using a hub. In direct connection, communications can be performed simply by the transfer setup, without setting IP address. Direct connection can cause an unauthorized connection from a remote location as an Ethernet cable is longer than an USB cable.
  • Page 50: Cc-Link Ie Controller Network Configuration

    CC-Link IE Controller Network Configuration CC-Link IE Controller Network is configured using optical fiber cables or Ethernet cables. Precautions CC-Link IE Controller Network of the optical fiber cable and CC-Link IE Controller Network of the Ethernet cable cannot be combined by using a media converter (optical fiber cable  Ethernet cable). When optical fiber cables are used Network topology Connect the RJ71GP21(S)-SX in a loop by using optical fiber cables.
  • Page 51: When Ethernet Cables Are Used

    When Ethernet cables are used Network topology For the Ethernet-equipped module, configure the network in star topology, line topology, or ring topology using the Ethernet cables. Star topology and line topology can be combined in a network. Ring topology cannot be combined with star or line topology. ■Star topology The network is configured into a star shape using a switching hub and Ethernet cables.
  • Page 52 ■Ring topology The network is configured into a ring using Ethernet cables. A switching hub is not required. When an error occurs in a normal station, data link can be continued with the stations that are operating normally. For the RJ71EN71, ring topology is available only when "CC-Link IE Control" is selected as network type for P1 connector. (1) Control station Station number and connection position Modules can be connected in any order regardless of the station number.
  • Page 53: Precautions When Ethernet Cables Are Used

    Precautions when Ethernet cables are used Addition of the normal stations Add/remove normal stations one by one. If multiple slave stations are added/removed at a time, all stations on the network will be reconnected, and an error may momentarily occur in all the stations. If a normal station is added to a system having 119 normal stations, the system operates as follows.
  • Page 54 Offline mode station in ring topology In following conditions, the station connected to the offline mode station cannot detect loopback • One of the Ethernet cables connected to the offline mode station is disconnected. (1) Control station (2) Station in offline mode (3) No loopback is detected.
  • Page 55 Connecting/disconnecting a cable and powering off/on a device When the operations listed below are performed, the following will occur depending on the firmware version of the control station. Network configuration Operation Star topology • Powering off and on a normal station or switching hub •...
  • Page 56: Cc-Link Ie Field Network Configuration

    CC-Link IE Field Network Configuration CC-Link IE Field Network is configured using Ethernet cables. Network topology For the CC-Link IE Field Network-equipped master/local module, configure the network in star topology, line topology, or ring topology using the Ethernet cables. Star topology and line topology can be combined in a network. Ring topology cannot be combined with star or line topology. ■Star topology The network is configured into a star shape using a switching hub and Ethernet cables.
  • Page 57 ■Ring topology The network is configured into a ring using Ethernet cables. A switching hub is not required. When an error occurs in a slave station, data link can be continued with the stations that are operating normally. For the RJ71EN71, ring topology is available only when "CC-Link IE Field" is selected as network type for P1 connector. (1) Master station (station No.0) Station number and connection position Modules can be connected in any order regardless of the station number.
  • Page 58 Cascade connection Cascade connection of the switching hub is available up to 20 levels. Up to 4 levels can be connected when the synchronous communication function of CC-Link IE Field is used. In a redundant system The RJ71GF11-T2 can be used in a redundant system. Using the redundant system function enables the module to track a system switching and to issue a system switching request to the Process CPU (redundant mode) when a data link error occurs.
  • Page 59: Precautions

    Precautions Addition of slave stations (including a submaster station) Add/remove slave stations one by one. If multiple slave stations are added/removed at a time, all stations on the network will be reconnected, and an error may momentarily occur in all the stations. If a slave station (including a submaster station) is added to a system having 120 slave stations (including a submaster station), the system operates as follows.
  • Page 60 Offline mode station in ring topology In following conditions, the station connected to the offline mode station cannot detect loopback • One of the Ethernet cables connected to the offline mode station is disconnected. (1) Master station (2) Station in offline mode (3) No loopback is detected.
  • Page 61 Connecting/disconnecting a cable and powering off/on a device When the operations listed below are performed, the following will occur depending on the firmware version of the control station. Network configuration Operation Star topology • Powering off and on a slave station or switching hub •...
  • Page 62: Precautions For System Configuration

    Precautions for System Configuration Connecting devices to the same network Do not connect the devices as described below. Doing so may cause the disconnection of all stations. • The devices having different network types (such as CC-Link IE Controller Network and CC-Link IE Controller Network) are connected to the same network line.
  • Page 63: Chapter 6 Wiring

    WIRING This chapter describes the wiring methods, wiring products, and wiring precautions when each network is used. Ethernet Wiring This section describes the wiring when Ethernet is used. Wiring methods The following describes connection and disconnection of the Ethernet cable. ■Connecting the cable Push the Ethernet cable connector into the Ethernet-equipped module until it clicks.
  • Page 64 Wiring products The following describes the devices used for Ethernet. An Ethernet-equipped module determines whether to use 1000BASE-T/100BASE-TX/10BASE-T and the full- duplex/half-duplex communication mode based on the hub. For connection to the hub with no automatic negotiation function, set the communication mode on the hub side to meet the mode of the Ethernet-equipped module.
  • Page 65: Wiring Of Cc-Link Ie Controller Network

    • IEEE802.3 (1000BASE-SX) • IEC 60793-2-10 Types A1a.1 Optical fiber cables with connectors are available from Mitsubishi Electric System & Service Co., Ltd. (Catalogs of the optical fiber cables are also available.) In addition, on-site connector polishing, terminal assembly, and fusion splicing is available. Please consult your local Mitsubishi representative.
  • Page 66: External Power Supply

    External power supply The following describes wiring of the external power supply when the RJ71GP21S-SX is used. Wiring diagram 24VDC +24V Wiring products The table below shows applicable solderless terminals connected to the external power supply terminal block. When wiring, use applicable wires and an appropriate tightening torque.
  • Page 67: Ethernet Cables

    Ethernet cables The following describes wiring of Ethernet cables when the RJ71EN71 or the RnENCPU (Network part) is used. Wiring methods The following describes connection and disconnection of the Ethernet cable. ■Connecting the cable Push the Ethernet cable connector into the RJ71EN71 or the RnENCPU (network part) until it clicks. Pay attention to the connector's direction.
  • Page 68 • IEEE802.3 (1000BASE-T) • ANSI/TIA/EIA-568-B (Category 5e) Cables for CC-Link IE Controller Network are available from Mitsubishi Electric System & Service Co., Ltd. (Catalogs for cable are also available.) In addition, the connector processing of cable length is available for your preference. Please consult your local Mitsubishi representative.
  • Page 69: Wiring Of Cc-Link Ie Field Network

    Wiring of CC-Link IE Field Network This section describes the wiring when CC-Link IE Field Network is used. Wiring methods The following describes connection and disconnection of the Ethernet cable. ■Connecting the cable Push the Ethernet cable connector into the CC-Link IE Field Network-equipped master/local module until it clicks. Pay attention to the connector's direction.
  • Page 70 • IEEE802.3 (1000BASE-T) • ANSI/TIA/EIA-568-B (Category 5e) Cables for CC-Link IE Field Network are available from Mitsubishi Electric System & Service Co., Ltd. (Catalogs for cable are also available.) In addition, the connector processing of cable length is available for your preference. Please consult your local Mitsubishi representative.
  • Page 71: Chapter 7 Communication Examples

    COMMUNICATION EXAMPLES Communication Examples of Ethernet This section describes the socket communications examples using Active open of TCP/IP communications. System configuration example The following system configuration is used to explain socket communications. System configuration GX Works3 Ethernet (1) Sending side (IP address: 192.0.1.100) (2) Receiving side (IP address: 192.0.1.101) Sending side Connect the engineering tool to the CPU module on the sending side and set the parameters.
  • Page 72 Set the RJ71EN71 as follows. [Navigation window]  [Parameter]  [Module Information]  Right-click  [Add New Module] Click the [OK] button to add the module labels of the RJ71EN71. Set the items in "Basic Settings" as follows. [Navigation window]  [Parameter]  [Module Information]  [RJ71EN71]  [Port 1 Module Parameter (Ethernet)]  [Basic Settings] 7 COMMUNICATION EXAMPLES 7.1 Communication Examples of Ethernet...
  • Page 73: Receiving Side

    Set the network configuration as follows. [Navigation window]  [Parameter]  [Module Information]  [RJ71EN71]  [Port 1 Module Parameter (Ethernet)]  [Basic Settings]  [External Device Configuration] Write the set parameters to the CPU module. Then reset the CPU module or power off and on the system. [Online] ...
  • Page 74 Set the items in "Basic Settings" as follows. [Navigation window]  [Parameter]  [Module Information]  [RJ71EN71]  [Port 1 Module Parameter (Ethernet)]  [Basic Settings] Set the network configuration as follows. [Navigation window]  [Parameter]  [Module Information]  [RJ71EN71]  [Port 1 Module Parameter (Ethernet)]  [Basic Settings] ...
  • Page 75: Program Example

    Program example Sending side Classification Label name Description Device Module label RCPU.stSM.bAlways_ON Always on SM400 EN71_EE_1.stPort1.uStatus_HUB_Connection_D.0 Connection status U0\G5192.0 EN71_EE_1.bnCompletion_ConnectionOpen[17] Open completion signal (connection No.17) U0\G1900001.0 EN71_EE_1.bnStatus_ConnectionOpenExecution[17] Open request signal (connection No.17) U0\G1900009.0 EN71_EE_1.uCompletion_EthernetInitialized.0 Initial status U0\G1900024.0 Label to be defined Define global labels as shown below: 7 COMMUNICATION EXAMPLES 7.1 Communication Examples of Ethernet...
  • Page 76 7 COMMUNICATION EXAMPLES 7.1 Communication Examples of Ethernet...
  • Page 77 7 COMMUNICATION EXAMPLES 7.1 Communication Examples of Ethernet...
  • Page 78 The refresh processing of the module label is performed. (The processing is required for when using the module function block. When the refresh processing is completed, 'bRunRefresh' (M0) is turned on. (56) When 'bStartOpen' (M1) is turned on, the open processing of connection No.17 is performed. When the open processing is completed successfully, 'bOpen_OK' (M3) is turned on.
  • Page 79 Receiving side Classification Label name Description Device Module label RCPU.stSM.bAlways_ON Always on SM400 EN71_EE_1.bnCompletion_ConnectionOpen[17] Open completion signal (connection No.17) U0\G1900001.0 EN71_EE_1.bnCompletion_ReceiveSocket_FixedBuffer[17] Socket/fixed buffer reception status signal U0\G1900017.0 (connection No.17) EN71_EE_1.uCompletion_EthernetInitialized.0 Initial status U0\G1900024.0 Label to be defined Define global labels as shown below: 7 COMMUNICATION EXAMPLES 7.1 Communication Examples of Ethernet...
  • Page 80 The refresh processing of the module label is performed. (The processing is required for when using the module function block. When the refresh processing is completed, 'bRunRefresh' (M0) is turned on. (97) When 'bStartRecv' (M9) is turned on, the data sent by the external device of connection No.17 is received and stored in 'uRecvData' (D2000). (The device range in which data is stored varies depending on the data length of the received data.) When the data receive is completed successfully, 'bRecv_OK' (M11) is turned on.
  • Page 81: Communication Examples Of Cc-Link Ie Controller Network

    Communication Examples of CC-Link IE Controller Network This section describes communications between the control station and normal station. System configuration example The following system configuration is used to explain communication between the control station and normal station. System configuration • Power supply module: R61P •...
  • Page 82: Setting In The Control Station

    Setting in the control station Connect the engineering tool to the CPU module on the control station and set the parameters. (1) Control station (station No.1) (2) Normal station (station No.2) (3) Normal station (station No.3) Set the CPU module as follows. [Project] ...
  • Page 83 Set the CC-Link IE Controller Network-equipped module as follows. [Navigation window]  [Parameter]  [Module Information]  Right-click  [Add New Module] Click the [OK] button to add the module labels of the CC-Link IE Controller Network-equipped module. Set the items in "Required Settings" as follows. [Navigation window] ...
  • Page 84 Set the refresh settings as follows. [Navigation window]  [Parameter]  [Module Information]  [RJ71GP21-SX]  [Basic Settings]  [Refresh Setting] Write the set parameters to the CPU module on the control station. Then reset the CPU module or power off and on the system.
  • Page 85: Setting In The Normal Stations

    Setting in the normal stations Connect the engineering tool to the CPU module on the normal station and set the parameters. Set the station number 2 and 3 to the same setting. Set the CPU module and add a module label 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 control station.
  • Page 86 Set the refresh settings as follows. Set the station number 2 and 3 of the normal station to the same refresh settings. [Navigation window]  [Parameter]  [Module Information]  [RJ71GP21-SX]  [Basic Settings]  [Refresh Setting] Write the set parameters to the CPU module on the normal station. Then reset the CPU module or power off and on the system.
  • Page 87: Checking The Network Status

    Checking the network status Once parameters are set for the control station and normal station, the CC-Link IE Controller Network diagnostics of the engineering tool can be used to check whether data link is normally operating. Connect the engineering tool to the CPU module on the control station. Start the CC-Link IE Controller Network diagnostics.
  • Page 88: Program Example

    Program example This section describes program examples. Program example of cyclic transmission The following shows a program example of cyclic transmission. ■Overview of the program example D0 of the control station (station No.1) is sent to Y50 to Y5F of the normal station (station No.2) through cyclic transmission. In the program example, an interlock is established with link relay (LB) and cyclic data is sent.
  • Page 89 ■Program example When creating a cyclic communication program, establish an interlock using 'Data link error status of own station' (SB0049) and 'Data link status of each station' (SW00B0 to SW00B7). • Control station (station No.1) Classification Label name Description Device Module label GP21_1.bDetect_DataLinkError Data link error status of own station...
  • Page 90 • Normal station (station No.2) Classification Label name Description Device Module label GP21_1.bDetect_DataLinkError Data link error status of own station SB0049 GP21_1.bnSts_CyclicTransmissionError_Station[1] Data link status of each station (station SW00B0.0 No.1) Label to be defined Define global labels as shown below: When 'bHandShake1' (B0) is turned on, the contents of 'uData' (W0) is stored in 'uOutputData' (Y50 to Y5F).
  • Page 91 Program example of error detection in other stations ■Data flow In the program example, the baton pass status and cyclic transmission status of each station is monitored and some network errors in other stations are detected in a system configured with three stations. •...
  • Page 92: Communication Examples Of Cc-Link Ie Field Network

    Communication Examples of CC-Link IE Field Network This section describes communications between the master station and local station. System configuration example The following system configuration is used to explain communication between the master station and local station. System configuration • Power supply module: R61P •...
  • Page 93 ■RWr/RWw assignment Each number in the figure, from No.0 to No.2, represents a station number. No.0 is master station, and No.1 and No.2 are local stations. R04CPU No.0 No.1 No.2 R04CPU 1000 1000 No.1 No.1 No.1 No.1 No.1 10FF 10FF 1100 1100 No.2...
  • Page 94: 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. (1) Master station (station No.0) (2) Local station (station No.1) (3) Local station (station No.2) Set the CPU module as follows. [Project] ...
  • Page 95 Set the master/local module as follows. [Navigation window]  [Parameter]  [Module Information]  Right-click  [Add New Module] Click the [OK] button to add the module labels of the master/local module. Set the items in "Required Settings" as follows. [Navigation window] ...
  • Page 96 Set the network configuration as follows. [Navigation window]  [Parameter]  [Module Information]  [RJ71GF11-T2]  [Basic Settings]  [Network Configuration Settings] Set the refresh settings as follows. [Navigation window]  [Parameter]  [Module Information]  [RJ71GF11-T2]  [Basic Settings]  [Refresh Setting] Write the set parameters to the CPU module on the master station.
  • Page 97: Setting In The Local Station

    Setting in the local station Connect the engineering tool to the CPU module on the local station and set the parameters. Set the station number 1 and 2 to the same setting. (1) Master station (station No.0) (2) Local station (station No.1) (3) Local station (station No.2) Set the CPU module and add a module label of the CPU module.
  • Page 98 Set the refresh settings as follows. Set the station number 1 and 2 of the local station to the same refresh settings. [Navigation window]  [Parameter]  [Module Information]  [RJ71GF11-T2]  [Basic Settings]  [Refresh Setting] Write the set parameters to the CPU module on the local station. Then reset the CPU module or power off and on the system.
  • Page 99: Checking The Network Status

    Checking the network status Once parameters are set for the master station and local station, the CC-Link IE Field Network diagnostics of the engineering tool can be used to check whether data link is normally operating. Connect the engineering tool to the CPU module on the master station. Start the CC-Link IE Field Network diagnostics.
  • Page 100: Program Example

    Program example • Master station (station No.0) Classification Label name Description Device Module label GF11_1.bSts_DataLinkError Data link error status of own station SB0049 GF11_1.bnSts_DataLinkError_Station[1] Data link status of each station (station No.1) SW00B0.0 GF11_1.bnSts_DataLinkError_Station[2] Data link status of each station (station No.2) SW00B0.1 Label to be defined Define global labels as shown below:...
  • Page 101 MEMO 7 COMMUNICATION EXAMPLES 7.3 Communication Examples of CC-Link IE Field Network...
  • Page 102: Appendix

    APPENDIX Appendix 1 External Dimensions This chapter describes the external dimensions of each module. For the external dimensions of the CPU module, refer to the following.  MELSEC iQ-R CPU Module User's Manual (Startup) RJ71EN71 27.8 (Unit: mm) RJ71GP21-SX 27.8 (Unit: mm) APPX Appendix 1 External Dimensions...
  • Page 103 RJ71GP21S-SX (Unit: mm) RJ71GF11-T2 27.8 (Unit: mm) APPX Appendix 1 External Dimensions...
  • Page 104: Index

    INDEX ......15 0 to 9 Local station ......62 1000BASE-T .
  • Page 105 ......16 Tracking cable ....16 Transient transmission .
  • Page 106: Revisions

    Japanese manual number: SH-081252-K This manual confers no industrial property 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 107: 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 108: Trademarks

    TRADEMARKS The company names, system names and product names mentioned in this manual are either registered trademarks or trademarks of their respective companies.   In some cases, trademark symbols such as ' ' or ' ' are not specified in this manual. SH(NA)-081256ENG-K...
  • Page 110 SH(NA)-081256ENG-K(1810)MEE MODEL: R-ETHER/CCIE-U-IN-E MODEL CODE: 13JX09 HEAD OFFICE : TOKYO BUILDING, 2-7-3 MARUNOUCHI, CHIYODA-KU, TOKYO 100-8310, JAPAN NAGOYA WORKS : 1-14 , YADA-MINAMI 5-CHOME , HIGASHI-KU, NAGOYA , JAPAN When exported from Japan, this manual does not require application to the Ministry of Economy, Trade and Industry for service transaction permission.