Mitsubishi Electric CC-Link IE Basic Reference Manual
Mitsubishi Electric CC-Link IE Basic Reference Manual

Mitsubishi Electric CC-Link IE Basic Reference Manual

Field network
Hide thumbs Also See for CC-Link IE:

Advertisement

CC-Link IE Field Network Basic
Reference Manual

Advertisement

Table of Contents
loading

Summary of Contents for Mitsubishi Electric CC-Link IE

  • Page 1 CC-Link IE Field Network Basic Reference Manual...
  • Page 3: Safety Precautions

    This manual describes the specifications, procedures before operation, system configuration, functions, and troubleshooting of CC-Link IE Field Network Basic. Before using the products, please read this manual carefully and develop familiarity with CC-Link IE Field Network Basic to handle the products correctly.
  • Page 4: Table Of Contents

    CC-Link IE Field Network Basic System Configuration........
  • Page 5 APPENDICES Appendix 1 List of SM/SD/Buffer Memory Areas for CC-Link IE Field Network Basic ..... 52 Appendix 2 Processing Time ..............55 Link scan time .
  • Page 6: Terms

    Master station A station that controls the entire CC-Link IE Field Network Basic. Only one master station can be used in a network.
  • Page 7: Chapter 1 Overview

    OVERVIEW CC-Link IE Field Network Basic is an factory automation network using the standard Ethernet. Data is periodically communicated between the master station and slave stations using link devices (cyclic transmission). 192.168.3.39 192.168.3.1 192.168.3.2 192.168.3.3 Device RX, RWr RX, RWr...
  • Page 8: Features

    Features Cost saving of the system The CPU module with built-in Ethernet port is the master station of CC-Link IE Field Network Basic. Since a dedicated network module is not used, the cost for the system can be reduced. Using different protocols CC-Link IE Field Network Basic can be used with other standard Ethernet protocols.
  • Page 9 Easy system configuration Configure the entire network of CC-Link IE Field Network Basic in the master station. To perform the cyclic transmission, set an IP address and subnet mask to each slave station. Setting the information of the master station to each slave station is not required.
  • Page 10: Chapter 2 Specifications

    SPECIFICATIONS This chapter describes the specifications of CC-Link IE Field Network Basic. Performance Specifications The following table lists the performance specifications of CC-Link IE Field Network Basic. Item Specifications MELSEC iQ-R MELSEC iQ-F MELSEC-Q MELSEC-L Number of connectable modules per...
  • Page 11 Performance specifications vary depending on the version of the CPU module The following table lists performance specifications vary in the case below. • MELSEC iQ-R: When the programmable controller CPU (except for the R00CPU, R01CPU, and R02CPU) with the firmware version earlier than "28" is used. •...
  • Page 12: Chapter 3 Function List

    FUNCTION LIST This chapter describes the functions can be used in the master station on CC-Link IE Field Network Basic. Some functions have restrictions on versions of the CPU module of each series or GX Works3/CW Configurator/GX Works2. ( Page 58 Added and Enhanced Functions) iQ-R: MELSEC iQ-R, iQ-F: MELSEC iQ-F, Q: MELSEC-Q, L: MELSEC-L : Available, : Not available...
  • Page 13 MEMO 3 FUNCTION LIST...
  • Page 14: Chapter 4 Procedures Before Operation

    Cyclic transmission starts if the CPU module on the master station is powered off and on or reset. Diagnosing a network Check the status of a network by executing the CC-Link IE Field Network Basic diagnostics. ( Page 43 CC-Link IE Field Network Basic Diagnostics) Programming Create a program.
  • Page 15 Wiring precautions • Place the Ethernet cables in a duct or clamp them. If not, dangling cable may swing or inadvertently be pulled, resulting in damage to the module or cables or malfunction due to poor contact. • Do not touch the core of the cable-side or module-side connector, and protect it from dirt or dust. If oil from your hand, dirt or dust is attached to the core, it can increase transmission loss, arising a problem in data link.
  • Page 16: Chapter 5 System Configuration

    This chapter describes the system configuration of CC-Link IE Field Network Basic. CC-Link IE Field Network Basic System Configuration Configure a network system using modules and partner products supporting CC-Link IE Field Network Basic. Master station Switching hub Slave station Network topology Use a standard Ethernet cable and switching hub and connect slave stations in star topology.
  • Page 17: Access Range

    Access range The access range of CC-Link IE Field Network Basic is within the same network address of Ethernet. The device connected beyond a router is not accessible. When the subnet mask is 255.255.255.0 and the network address is 192.168.3....
  • Page 18: Number Of Link Points

    Setting the number of link points for a slave station to 2 stations occupied means that two slave stations are connected. Thus, if the number of link points is increased, the number of connectable slave stations per network is decreased. 5 SYSTEM CONFIGURATION 5.1 CC-Link IE Field Network Basic System Configuration...
  • Page 19: Product List

    CPU modules can be used as the master station The following table lists the CPU modules which can be used as the master station of CC-Link IE Field Network Basic. To check the firmware version of these CPU modules, refer to the following.
  • Page 20: Modules And Devices Can Be Used As A Slave Station

    Modules and devices can be used as a slave station For modules and devices which can be used as a slave station of CC-Link IE Field Network Basic, refer to the manual for each module and device. Use the CPU modules listed in the previous page (the CPU modules can be used as the master station) only as the master station.
  • Page 21: Chapter 6 Programming

    For details on SM/SD, refer to the following. Page 52 List of SM/SD/Buffer Memory Areas for CC-Link IE Field Network Basic Program using labels A program using labels is provided below.
  • Page 22 Program example The following is a program example of MELSEC iQ-R series. Communication program with station No.1 Communication program with station No.2 6 PROGRAMMING 6.1 Interlock Programs of Cyclic Transmission...
  • Page 23: Program Using Devices

    Program using devices A program using devices is provided below. Devices used in the program The following devices are used. Device Description MELSEC iQ-R MELSEC iQ-F MELSEC-Q MELSEC-L SM1536 SM1536 SM1700 SM1700 Cyclic transmission status SD1536.0 SD1536.0 SD1700.0 SD1700.0 Cyclic transmission status of each station (station No.1) SD1536.1 SD1536.1...
  • Page 24: Chapter 7 Functions

    FUNCTIONS This chapter describes the functions of CC-Link IE Field Network Basic. When the C Controller module is used, refer to the following. MELSEC iQ-R C Controller Module User's Manual (Application) Cyclic Transmission This function periodically performs data communication between the master station and slave stations using link devices.
  • Page 25 (The 'Data link status' (SM1540) does not turn on.) In addition, the transmission status of CC-Link IE Field Network Basic diagnostics becomes "Unfixed". • When slave stations are divided into groups, each of the groups performs the cyclic transmission. For the data flow of group number setting, refer to the following.
  • Page 26 ( Page 39 Link Scan Setting) For example, check the current link scan time (when all slave stations normally operate) using the CC-Link IE Field Network Basic diagnostics, and then specify a value, which is about five times as long as the link scan time, for timeout time. (When the current link scan time is 10ms, specify 50ms for the timeout time.)
  • Page 27 ■An abnormal response received from a slave station The master station immediately disconnects the slave station regardless of the timeout time and the number of times for disconnection detection set in the link scan settings. The following table lists the special relay and special register operations when a slave station is disconnected. Special relay/special register Operation 'Cyclic transmission status' (SM1536)
  • Page 28: Link Refresh

    Link refresh This function automatically transfers data between devices and link devices of the master station. Link refresh is performed in END processing. *1 It is also performed at the arbitrary timing of the COM instruction (Selecting refresh to be performed). (MELSEC iQ-F does not support the COM instruction.) Master station Device...
  • Page 29 Precautions ■Latched devices of the CPU module If data in latched devices of the CPU module is cleared to zero in a program when the CPU module is powered off and on or reset, the data may be output without being cleared to zero, depending on the timing of link scan and link refresh. Take the following actions so as not to output the data in the latched devices of the CPU module.
  • Page 30: Operation Of The Link Scan

    Operation of the link scan This section describes the operation of the link scan. MELSEC iQ-R, MELSEC-Q/L After sending the requests to all of slave stations and subsequently receiving responses from all the slave stations, the master station starts the next link scan. Link refresh is performed in END processing after receiving responses from all the slave stations.
  • Page 31 MELSEC iQ-F After sending requests to all slave stations, the master station receives responses from slave stations in END processing. After receiving responses from all the slave stations, the master station performs link refresh and starts the next link scan. Master station Slave station 1 Slave station 2...
  • Page 32: Group Number Setting

    Group number setting This function divides slave stations into groups by setting a group number to each slave station and each of groups performs the cyclic transmission. By organizing groups separating slave stations with shorter response processing time from ones with longer response processing time, the differences of the reference response times of each slave station does not badly affect the cyclic transmission.
  • Page 33 Data flow of cyclic transmission The following describes the data flow of cyclic transmission of when the group number setting is used. ■Basic operation The master station sends requests, that vary from a group to group, to all salve stations. Although slave stations receive multiple request messages from the master station, each slave station handles a request message for a group where each slave stations belong to.
  • Page 34: Input And Output Status When Failure Occurs

    Input and output status when failure occurs This section describes the status of input from a data link faulty station and output status of cyclic data if a stop error occurs in the CPU module. Status Operation Input status from data link faulty station RX is cleared.
  • Page 35: Reserved Station Specification

    Reserved Station Specification This functions reserves a station (a station not actually connected but counted as a connected station) for future use. A reserved station is not detected as a faulty station even though it is not actually connected. Master station Slave station 1 Slave station 2 Slave station 3...
  • Page 36: Chapter 8 Parameter Settings

    Settings for the master station in MELSEC iQ-R/MELSEC iQ-F are set in GX Works3. CC-Link IEF Basic Setting This section describes how to configure the basic settings such as whether to use CC-Link IE Field Network Basic. • MELSEC iQ-R [Navigation window] ...
  • Page 37 Network Configuration Settings Set the network configuration. Window List of stations Drag and drop the text. Network map Displayed items Item Description Setting range Default   [Detect Now] button Connected devices are automatically detected. ( Page 36 Automatic detection of connected device) [Link Scan Setting] button Configure link scan settings.
  • Page 38 *1 Groups do not need to be numbered serially. For example, setting group No.2 only (number of groups: one) and setting group No.1 and No.3 (number of groups: two) are both possible. For the CPU module that does not support the group number setting function, however, group No. is fixed to 1. ( Page 58 Added and Enhanced Functions) ■Automatic detection of connected device Actually connected slave stations are detected and reflected in the network configuration setting.
  • Page 39 If an error occurs while the automatic detection of connected device is being executed, the window shown below appears. Each of the error codes listed below fills the last four digits of <0x2c09****>. Error code Error details and cause Action 480CH The specified command cannot be executed because the After the automatic detection of connected devices is completed, execute the...
  • Page 40 Error code Error details and cause Action CF31H System error • Check the precautions for the function executed. • Check the operating status and connection status of the target device. • Check the connection of an Ethernet cable and a hub. •...
  • Page 41 ■Link Scan Setting Set timeout time and number of retries for slave station disconnection detection. Window Displayed items Item Description Setting Default range Slave Station Disconnect Time-out Period (10 to Set the timeout time (ms) for slave station disconnection 10 to 65535 Detected Setting 65535) detection.
  • Page 42 Refresh Settings Set refresh parameters. Window Displayed items Item Description Setting range Default   Link Side The number of points for the link devices (RX/RY, RWr/RWw) for the number of occupied stations and start/end device number set in the network configuration settings are displayed. CPU Side Target The target destination to be link refreshed is displayed.
  • Page 43: Settings For The Master Station In Melsec-Q/L

    Settings for the master station in MELSEC-Q/L are set in GX Works2. CC-Link IEF Basic Setting This section describes how to configure whether to use CC-Link IE Field Network Basic and the settings of the refresh parameters. [Project window]  [Parameter]  [PLC Parameter]  [Built-in Ethernet Port Setting] tabs To display the "CC-Link IEF Basic Setting"...
  • Page 44 Displayed items Item Description Setting range Default Use the CC-Link IEF Basic Set whether to use CC-Link IE Field Network Basic. • Checked Unchecked • Unchecked Network [Network Configuration Set the information of the slave station to the master ...
  • Page 45: Chapter 9 Troubleshooting

    This chapter describes troubleshooting of CC-Link IE Field Network Basic. CC-Link IE Field Network Basic Diagnostics Perform troubleshooting by executing the CC-Link IE Field Network Basic diagnostics and checking the network status and error details. When the C Controller module is used, refer to the following.
  • Page 46 • "CFE8" is displayed as the latest error for all slave stations. (No response received from a slave station) • "No Error" is displayed on the error code of the master station. 9 TROUBLESHOOTING 9.1 CC-Link IE Field Network Basic Diagnostics...
  • Page 47: Troubleshooting By Symptom

    Troubleshooting by Symptom This section describes the troubleshooting by symptom. If the CC-Link IE Field Network Basic diagnostics does not solve the problem, perform this troubleshooting. When the transmission status is disconnected or unfixed Check the following: ■Ethernet Check item...
  • Page 48 Perform troubleshooting for the slave station having an error. Is CC-Link IE Field Network Basic being simultaneously executed at a Separate the network and configure two CC-Link IE Field Network Basic lines. different network address on the same line? Are data communications with other Ethernet devices being performed on the...
  • Page 49 Is CC-Link IE Field Network Basic being simultaneously executed at a Separate the network and configure two CC-Link IE Field Network Basic lines. different network address on the same line? Are data communications with other Ethernet devices being performed on the...
  • Page 50: Acquiring Diagnostic Information Of Slave Stations

    Acquiring diagnostic information of slave stations If an error occurs in a slave station or the cyclic data cannot be read or written correctly, the status of each slave station by executing a program for acquiring diagnostic information of slave stations can be checked. When the C Controller module is used, refer to the following.
  • Page 51 ■Function block (FB) for diagnostic information acquisition (Slave station diagnostics) Store the diagnostic information acquisition target station number in the diagnostic request information and turn on the diagnostic information display request. Diagnostic information 1 and 2 is transferred when the request flag turns off. •...
  • Page 52 Program created by GX Works2 (MELSEC-Q/L) A program example created by GX Works2 is provided below. ■Program for acquiring diagnostic information Store the diagnostic information acquisition target station number in D0 and turn on M0. Diagnostic information 1 is transferred and stored in the area starting from D100 and diagnostic information 2 is transferred and stored in the area starting from D115 by the function block for diagnostic information acquisition.
  • Page 53 ■Function block (FB) for diagnostic information acquisition Store the diagnostic information acquisition target station number in the diagnostic request information and turn on the diagnostic information display request. Diagnostic information 1 and 2 is transferred when the request flag turns off. •...
  • Page 54: Appendices

    CC-Link IE Field Network Basic The special relay (SM)/special register (SD) numbers and the buffer memory addresses for CC-Link IE Field Network Basic differ depending on the series of the programmable controller used. The following is the comparison table of the corresponding numbers and addresses.
  • Page 55 Accumulated The accumulated number of disconnection detections of Un\G1064 SD11140 SD1754 number of the specified slave station is stored. disconnection detections APPX Appendix 1 List of SM/SD/Buffer Memory Areas for CC-Link IE Field Network Basic...
  • Page 56  MELSEC iQ-F FX5 User's Manual (Application)  QCPU User's Manual (Hardware Design, Maintenance and Inspection)  MELSEC-L CPU Module User's Manual (Hardware Design, Maintenance and Inspection) APPX Appendix 1 List of SM/SD/Buffer Memory Areas for CC-Link IE Field Network Basic...
  • Page 57: Appendix 2 Processing Time

    Appendix 2 Processing Time The processing time of CC-Link IE Field Network Basic consists of the time components below. Sequence scan time + Link scan time + Slave station response processing time = Transmission delay time When the C Controller module is used, refer to the following.
  • Page 58: Link Scan Time

    Link scan time Use the following formulas to calculate the link scan time. MELSEC iQ-R, MELSEC-Q/L Use the following formula to calculate the link scan time (Ls). = Ns + Nm Nm = KM1 + (KM2  (N - 1)) Item Description Link scan time [ms]...
  • Page 59: Transmission Delay Time

    Transmission delay time A transmission delay time includes an input transmission delay time and an output transmission delay time. Input transmission delay time The input transmission delay time means the following. • Time between when a signal (RX) is input to the slave station and when a device of the master station turns on or off •...
  • Page 60: Appendix 3 Added And Enhanced Functions

    Appendix 3 Added and Enhanced Functions This section describes added and enhanced functions of CC-Link IE Field Network Basic, as well as the corresponding firmware versions/serial numbers (first five digits) of the CPU module and software versions of GX Works3/GX Works2.
  • Page 61 MEMO APPX Appendix 3 Added and Enhanced Functions...
  • Page 62: Index

    INDEX ......15 Access range ..... . . 16 Assignment range .
  • Page 63 MEMO...
  • Page 64: Revisions

    Japanese manual number: SH-081683-C 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 65: 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 66: Trademarks

    TRADEMARKS Ethernet is a registered trademark of Fuji Xerox Co., Ltd. in Japan. The company names, system names and product names mentioned in this manual are either registered trademarks or trademarks of their respective companies.   In some cases, trademark symbols such as ' ' or ' ' are not specified in this manual.
  • Page 68 SH(NA)-081684ENG-C(1710)MEE MODEL: CCIEFB-R-E MODEL CODE: 13JX62 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.

Table of Contents