Mitsubishi Electric MELSEC iQ-R00CPU User Manual
Mitsubishi Electric MELSEC iQ-R00CPU User Manual

Mitsubishi Electric MELSEC iQ-R00CPU User Manual

Ethernet/cc-link ie
Hide thumbs Also See for MELSEC iQ-R00CPU:
Table of Contents

Advertisement

Quick Links

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
Need help?

Need help?

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

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Mitsubishi Electric MELSEC iQ-R00CPU

  • 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. If the equipment is used in a manner not specified by the manufacturer, the protection provided by the equipment may be impaired.
  • Page 4 [Design Precautions] WARNING  Configure safety circuits external to the programmable controller to ensure that the entire system operates safely even when a fault occurs in the external power supply or the programmable controller. Failure to do so may result in an accident due to an incorrect output or malfunction. (1) Emergency stop circuits, protection circuits, and protective interlock circuits for conflicting operations (such as forward/reverse rotations or upper/lower limit positioning) must be configured external to the programmable controller.
  • Page 5 [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 6 [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 7 Also, attach an extension connector protective cover to each unused extension cable connector as necessary. 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.
  • Page 8 [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 9 [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 10 [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 11 [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 12 [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 13: 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 14: Introduction

    DIRECTIVES Method of ensuring compliance To ensure that Mitsubishi Electric programmable controllers maintain the EMC and Low Voltage Directives or other regulations when incorporated into other machinery or equipment, certain measures may be necessary. Please refer to one of the following manuals.
  • Page 15: Table Of Contents

    CONTENTS SAFETY PRECAUTIONS ..............1 CONDITIONS OF USE FOR THE PRODUCT .
  • Page 16 Ethernet cables ................73 Wiring of CC-Link IE Field Network .
  • Page 17: Relevant Manuals

    RELEVANT MANUALS The following manuals are relevant to this product. Manual name [manual number] Description MELSEC iQ-R Ethernet/CC-Link IE User's Manual (Startup) Specifications, procedures before operation, system configuration, wiring, and [SH-081256ENG] (this manual) communication examples of Ethernet, CC-Link IE Controller Network, and CC-Link IE Field Network MELSEC iQ-R Module Configuration Manual The combination of the MELSEC iQ-R series modules, common information on the...
  • Page 18: Terms

    TERMS Unless otherwise specified, this manual uses the following terms. Term Description Baton pass A control mechanism in which transmission right (token) is passed around the network of CC-Link IE for data transmission. 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 Redundant function module A module that configures a redundant system and is used with a Process CPU (redundant mode) or a SIL2 Process CPU. The redundant function module model name is R6RFM. Redundant system A system consisting of two systems that have same configuration (CPU module, power supply module, network module, and other modules).
  • Page 20: Generic Terms And Abbreviations

    GENERIC TERMS AND ABBREVIATIONS Unless otherwise specified, this manual uses the following generic terms and abbreviations. Generic term/ Description abbreviation CC-Link IE A generic term for CC-Link IE Controller Network and CC-Link IE Field Network CC-Link IE Controller A generic term for the following modules: Network-equipped •...
  • Page 21: 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 22 Network used and LED indication) Dot matrix LED Indicates the station number set in the module and the module communication test result. ( Page 25 Dot matrix LED indication) For indication of the module communication test result, refer to the following.
  • Page 22: 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 23 • When the RJ71EN71 is used in the redundant system of the CPU module or the system of the remote head module, CC-Link IE Controller Network and CC-Link IE Field Network cannot be used. • When the control CPU of the RJ71EN71 is the Process CPU, CC-Link IE Controller Network cannot be used.
  • Page 24: 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 25 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 26 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 27 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 only RJ71EN71 (CCIEC) CC-Link IE Control...
  • Page 28: 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 29 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 69 WIRING) L ER LED Same as the P1 connector LINK LED 1 PART NAMES 1.2 CPU Module...
  • Page 30: Available Combination Of Network

    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. ( GX Works3 Operating Manual) • Ethernet • CC-Link IE Controller Network • CC-Link IE Field Network The following table lists the available combination of network and setting in GX Works3.
  • Page 31: 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 22 When Ethernet or Q-compatible Ethernet is used •...
  • Page 32: Rj71Gp21(S)-Sx

    RJ71GP21(S)-SX This section describes the names of each part of the RJ71GP21-SX and the RJ71GP21S-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.
  • Page 33 *1 The LED is always off in offline mode. *2 When once a receive frame error is detected, the L ERR LED remains on. ('IN-side error frame detection of own station (SB006E))' or 'OUT-side error frame detection of own station (SB006F)' also remains on.) To turn off the L ERR LED, perform troubleshooting for when the L ERR LED turns on.
  • Page 34: 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. ( MELSEC iQ-R CC-Link IE Field Network User's Manual (Application)) On: Error or at error detection on all stations Flashing (500ms interval): A data link faulty station was detected.
  • Page 35 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 36: 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 37: 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): When "Link points extended setting" is set to "Not to Extend" network •...
  • Page 38: 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...
  • Page 39 *1 The maximum number of points that a master station can assign to one station. A submaster station and a local station can receive the data from other stations in addition to this number of points. *2 This function is not available for the RJ71EN71. For the RJ71GF11-T2, availability depends on the firmware version. (...
  • Page 40: 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 assignment: empty 32 points...
  • Page 41: Chapter 3 Function List

    FUNCTION LIST The following are the symbols used for the availability column: : Available, : Partially available, : Not available Function List of Ethernet For details on the function that has no reference, refer to the following.  MELSEC iQ-R Ethernet User's Manual (Application) 3 FUNCTION LIST 3.1 Function List of Ethernet...
  • Page 42: Rj71En71, Rnencpu (Network Part)

    RJ71EN71, RnENCPU (network part) The following table lists the functions of the RJ71EN71, RnENCPU (network part). Function Description Availability Connection with MELSOFT Allows the programming and monitoring using the engineering tool, and monitoring and testing  products and a GOT programmable controller from the GOT with Ethernet connection.
  • Page 43: Cpu Module (Built-In Ethernet Port Part)

    CPU module (built-in Ethernet port part) The following table lists the functions of the CPU module (built-in Ethernet port part). Rn: RnCPU, RnEN: RnENCPU, RnP(P): Process CPU (process mode), RnP(R): Process CPU (redundant mode), RnPSF: SIL2 Process CPU, RnSF: Safety CPU Function Description Availability...
  • Page 44 Function Description Availability RnEN RnP(P) RnP(R) RnPSF RnSF       Troubleshooting Module Checks whether no error occurs in the hardware of communication test the module when the communication operation is unstable.      ...
  • Page 45: Function List Of Cc-Link Ie Controller Network

    Function List of CC-Link IE Controller Network For details on the function that has no reference, refer to the following.  MELSEC iQ-R CC-Link IE Controller Network User's Manual (Application) Cyclic transmission Data are periodically exchanged among stations on the network using link devices. Function Description Availability...
  • Page 46: Transient Transmission

    Transient transmission Data are exchanged at any timing. Function Description Availability Control Normal station station   Communications within the same network Performs the transient transmission to other stations using dedicated instructions and the engineering tool.   Communications with different networks Performs the transient transmission seamlessly to stations on different networks using dedicated instructions and the engineering tool.
  • Page 47 Others Function Description Availability Control Normal station station   Reserved station Is set in the parameters and included as a station in the network when its number is counted. A reserved station is a normal station reserved for network extension in the future, and thus the station is not actually connected, and is not detected as a faulty station despite being not connected.
  • Page 48: Function List Of Cc-Link Ie Field Network

    Function List of CC-Link IE Field Network For details on the function that has no reference, refer to the following.  MELSEC iQ-R CC-Link IE Field Network User's Manual (Application) Cyclic transmission Data are periodically exchanged among stations on the network using link devices. Function Description Availability...
  • Page 49 RAS stands for Reliability, Availability, and Serviceability. This function improves overall usability of automated equipment. Function Description Availability Master Local station, station submaster station   Device station disconnection Stops data link of the device station where an error occurred, and continues data link only for device stations that are operating normally.
  • Page 50 Troubleshooting Checks the status of modules or network using diagnostics or operation test of the engineering tool. Function Description Availability Master Local station, station submaster station   Communication test Checks whether the communication route for transient transmission from the own station to the destination station is correct or not. ...
  • Page 51 Others Function Description Availability Master Local station, station submaster station *3*4   CC-Link IE Field Network synchronous Synchronizes control intervals between device stations over CC-Link IE Field *1*2 communication function Network according to synchronization cycle specified in the master station. This allows different device stations on the same network to operate with the same timing.
  • Page 52 *1 When the network synchronous communication is performed with local stations, set the inter-module synchronization cycle to any of the following.  0.888ms  1.777ms  3.555ms  7.111ms  0.8 to 10.0ms (set in increments of 0.05ms) For the inter-module synchronization cycle when the network synchronous communication is performed with the device stations other than local stations, refer to the manual for the device station used.
  • Page 53: 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 69 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 54 MEMO 4 PROCEDURES BEFORE OPERATION...
  • Page 55: 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 56: 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 57: 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 58: 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 59: Cascade Connection

    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 60: 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 device 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 61 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 62 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 63: 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 64 Ring topology The network is configured into a ring using Ethernet cables. A switching hub is not required. When an error occurs in a device 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 65 Cascade connection Cascade connection of the switching hub is available up to 20 levels. Maximum levels which can be connected differs depending on the hub used when the synchronous communication function of CC-Link IE Field is used. ( Page 76 Wiring products) In a redundant system The RJ71GF11-T2 can be used in a redundant system.
  • Page 66: Precautions

    Precautions Addition of device stations (including a submaster station) Add/remove device stations one by one. If multiple device 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 device station (including a submaster station) is added to a system having 120 device stations (including a submaster station), the system operates as follows.
  • Page 67 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 68 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 device station or switching hub •...
  • Page 69 Replacing device stations To replace device stations, replace them one by one, ensuring that other device stations remain connected. In addition, do not change the connection positions. Doing so may cause station numbers to duplicate. Switching device stations on the same network To switch device stations on the same network, perform either of the following operations before reconnecting the switched stations.
  • Page 70: 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 71: 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 72: Wiring Products

    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 73: Wiring Of Cc-Link Ie Controller Network

    Wiring of CC-Link IE Controller Network This section describes the wiring when CC-Link IE Controller Network is used. Optical fiber cable The following describes the wiring of the optical fiber cable when the RJ71GP21(S)-SX is used. Wiring methods The following describes connection and disconnection of the optical fiber cable. The RJ71GP21(S)-SX has IN connector and OUT connector.
  • Page 74: External Power Supply

    • 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 75: 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 76 • 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 77: 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 78 • 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 79 Industrial managed switch NZ2MHG-T8F2 (Mitsubishi Electric Corporation) Industrial switching hub • NZ2EHG-T8N (Mitsubishi Electric Corporation) • NZ2EHG-T8 (Mitsubishi Electric Corporation) (discontinued) Use any of the following hubs when using the CC-Link IE Field Network synchronous communication function. Type Model (Manufacturer)
  • Page 80: Media Converter

    Media converter When an Ethernet cable is converted into an optical fiber cable, use a media converter that satisfies the following conditions. If not, the operations are not guaranteed. To check whether the media converter satisfies the conditions, consult the manufacturer of the media converter to be used. •...
  • Page 81: 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 82 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 83: 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 84 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 85: Program Example

    Program example Sending side Labels 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: FBs The following shows FBs to be used in the program example.
  • Page 86 7 COMMUNICATION EXAMPLES 7.1 Communication Examples of Ethernet...
  • Page 87 7 COMMUNICATION EXAMPLES 7.1 Communication Examples of Ethernet...
  • Page 88 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 89 Receiving side Labels 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: FBs The following shows FBs to be used in the program example.
  • Page 90 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 91: 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 92: 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 93 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 94 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 95: 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 96 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 97: 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 98: 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 99 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 100 • 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 101 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 102: 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 103 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 104: 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 105 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 106 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 107: 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 108 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 109: 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 110: 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 111: Appendices

    APPENDICES 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 112 RJ71GP21S-SX (Unit: mm) RJ71GF11-T2 27.8 (Unit: mm) APPX Appendix 1 External Dimensions...
  • Page 113: Appendix 2 Precautions Of Firmware Update Function

    Appendix 2 Precautions of Firmware Update Function This chapter describes the precautions of each module-specific when the firmware update function is used. Unavailable combination for updating Their firmware versions cannot be updated with the combination of the following production information and firmware version. Module to be updated The third and fourth digits from the left of Firmware version...
  • Page 114 MEMO APPX Appendix 2 Precautions of Firmware Update Function...
  • Page 115: Index

    INDEX . . . 55,57,62 0 to 9 Station number and connection position ......70 1000BASE-T .
  • Page 116 MEMO...
  • Page 117: Revisions

    REVISIONS *The manual number is given on the bottom left of the back cover. Revision date *Manual number Description June 2014 SH(NA)-081256ENG-A First edition July 2014 SH(NA)-081256ENG-B Error correction Added function November 2014 SH(NA)-081256ENG-C CC-Link IE Controller Network function of the RJ71EN71 Added or modified parts TERMS, Section 1.1, 2.2, 3.2, 5.2, 5.4, 6.2 Added models...
  • Page 118 Japanese manual number: SH-081252-Z 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 119: 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 120: 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 The company names, system names and product names mentioned in this manual are either registered trademarks or trademarks of their respective companies.
  • Page 122 SH(NA)-081256ENG-Z(2503)MEE MODEL: R-ETHER/CCIE-U-IN-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.

Table of Contents