Download Print this page
Mitsubishi Electric MELSEC iQ-F Series User Manual

Mitsubishi Electric MELSEC iQ-F Series User Manual

Programmable controller
Hide thumbs Also See for MELSEC iQ-F Series:

Advertisement

Quick Links

MELSEC iQ-F
FX5 User's Manual (CC-Link IE)

Advertisement

loading

Summary of Contents for Mitsubishi Electric MELSEC iQ-F Series

  • Page 1 MELSEC iQ-F FX5 User's Manual (CC-Link IE)
  • Page 3 SAFETY PRECAUTIONS (Read these precautions before use.) Before using this product, please read this manual and the relevant manuals introduced in this manual carefully and pay full attention to safety in order to handle the product correctly. This manual classifies the safety precautions into two categories: [ WARNING] and [ CAUTION].
  • Page 4 WARNING ● Do not write any data to the "system area" and "write-protect area" of the buffer memory in the module. Executing data writing to the "system area" or "write protect area" may cause malfunction of the programmable controller alarm. For the "system area" or "write-protect area", refer to Page 132 Buffer Memory.
  • Page 5 [INSTALLATION PRECAUTIONS] CAUTION ● Do not touch the conductive parts of the product directly. Doing so may cause device failures or malfunctions. ● When drilling screw holes or wiring, make sure that cutting and wiring debris do not enter the ventilation slits of the PLC.
  • Page 6 [WIRING PRECAUTIONS] CAUTION ● Perform class D grounding (grounding resistance: 100 Ω or less) of the grounding terminal on the CPU module and extension modules with a wire 2 mm or thicker. Do not use common grounding with heavy electrical systems (refer to the User's Manual (Hardware) of the CPU module used).
  • Page 7 ● Do not disassemble or modify the PLC. Doing so may cause fire, equipment failures, or malfunctions. For repair, contact your local Mitsubishi Electric representative. ● Turn off the power to the PLC before connecting or disconnecting any extension cable. Failure to do so may cause device failures or malfunctions.
  • Page 8 This manual contains text, diagrams and explanations which will guide the reader in the correct installation, safe use and operation of the CC-Link IE Field Network module of MELSEC iQ-F series and should be read and understood before attempting to install or use the module.
  • Page 9 MEMO...
  • Page 10 CONTENTS SAFETY PRECAUTIONS ..............1 INTRODUCTION .
  • Page 11 Application Settings ..............40 Supplementary Cyclic Settings .
  • Page 12 RELEVANT MANUALS Manual name <manual number> Description MELSEC iQ-F FX5 User's Manual (Startup) Performance specifications, procedures before operation, and troubleshooting of the <JY997D58201> CPU module. MELSEC iQ-F FX5UJ User's Manual (Hardware) Describes the details of hardware of the FX5UJ CPU module, including input/output <SH-082206ENG>...
  • Page 13 Manual name <manual number> Description MELSEC iQ-F FX5 User's Manual (Safety Control) Describes the safety extension modules. <SH-082078ENG> GX Works3 Operating Manual System configuration, parameter settings, and online operations of GX Works3. <SH-081215ENG> Transition from MELSEC FX3G, FX3U, FX3UC Series to MELSEC iQ- Describes the transition from MELSEC FX3G/FX3U/FX3UC series to MELSEC iQ-F F Series Handbook series.
  • Page 14 Different name for FX3U-32BL Peripheral device Generic term for engineering tools and GOTs Generic term for Mitsubishi Electric Graphic Operation Terminal GOT1000 and GOT2000 series ■Software packages Engineering tool The product name of the software package for the MELSEC programmable controllers...
  • Page 15 OUTLINE • CC-Link IE Field Network is a high-speed (1 Gbps) and large-capacity open field network using Ethernet (1000BASE-T). • The FX5-CCLIEF is the intelligent function module to connect the FX5 CPU module as an intelligent device station of CC- Link IE Field Network.
  • Page 16 SPECIFICATIONS This chapter describes the FX5-CCLIEF specifications. General Specifications The general specifications other than below are the same as those for the FX5 CPU module to be connected. For general specifications, refer to the following. MELSEC iQ-F FX5UJ User's Manual (Hardware) MELSEC iQ-F FX5U User's Manual (Hardware) MELSEC iQ-F FX5UC User's Manual (Hardware) Items...
  • Page 17 Part Names This section describes the names of each part of the FX5-CCLIEF. 2-φ4.5 mounting holes [10] [11] [12] Name Description Modular jack for P2 (RJ-45) PORT2 connector for CC-Link IE Field Network. Connect an Ethernet cable. (with cap) Modular jack for P1 (RJ-45) PORT1 connector for CC-Link IE Field Network.
  • Page 18 LED display The following table lists the LED display. LED display Description color D. LINK Green Indicates the data link status. On: Data link (cyclic transmission being performed) Flashing: Data link (cyclic transmission stopped) Off: Data link not performed (disconnection) Green Indicates the data sending status.
  • Page 19 PROCEDURES BEFORE OPERATION This chapter describes the procedures before operation. Checking the specifications of the FX5-CCLIEF Check the specifications of the FX5-CCLIEF. (Page 14 SPECIFICATIONS) Installation of the FX5-CCLIEF Connect the FX5-CCLIEF to the FX5 CPU module. For details, refer to the following. MELSEC iQ-F FX5UJ User's Manual (Hardware) MELSEC iQ-F FX5U User's Manual (Hardware) MELSEC iQ-F FX5UC User's Manual (Hardware)
  • Page 20 FUNCTIONS Function List The following table lists the function available for the FX5-CCLIEF. Cyclic transmission Function Description Reference Communications with Communications using Communicates I/O data in units of bits between the own station and master station. Page 19 the master station RX and RY Communications using Communicates I/O data in units of words between the own station and master station.
  • Page 21 Others Function Description Reference Interrupt request to CPU module Checks interrupt conditions every link scan, and makes an interrupt request to the FX5 Page 29 CPU module to start the interrupt program if the interrupt conditions are met. Station number setting using a program Sets the station number of the FX5-CCLIEF (own station) using a program.
  • Page 22 • Input from the slave station  The status data of the external device are stored in the link devices (RX, RWr) of the slave station.  The status data of the link devices (RX, RWr) of the slave station are stored in the link devices (RX, RWr) of the master station by link scan. ...
  • Page 23 Link refresh This function automatically transfers data between the link devices of the FX5-CCLIEF and the devices of the CPU module. FX5 CPU module FX5-CCLIEF Device Link device Link refresh Concept of the link refresh range (number of points) The link refresh is performed to the area set with the refresh parameters. (1) Range set in the refresh parameters FX5 CPU module FX5-CCLIEF...
  • Page 24 Cyclic data integrity assurance This function assures the cyclic data integrity in units of 32 bits or station-based units. : Assured, : Not assured Method Description Availability Link refresh Access to buffer memory 32-bit data assurance Assures data in 32-bit units. ...
  • Page 25 ■Access to link devices During a link refresh, data are assured for each station as shown below. FX5 CPU module FX5-CCLIEF Device Link device Data Station Station Data assurance No. 1 No. 1 assurance Data Station Station Data assurance No. 2 assurance No.
  • Page 26 • Program Sending station: Master station (station No. 0)   B1000 BMOV  B1000  Receiving station: Slave station (station No. 1)   B1000 BMOV W1000 D0  B1000  • Program flow Sending station: 'Start direction' (M0) is turned on. Sending station: The contents of 'Transfer source' (D0 to D3) are stored in W0 to W3.
  • Page 27 • Program Sending station: Master station (station No. 0)   B1000 BMOV  B1000  Receiving station: Slave station (station No. 1)   B1000 BMOV W1000 D0  B1000  • Program flow Sending station: 'Start direction' (M0) is turned on. Sending station: The contents of 'Transfer source' (D0 to D3) are stored in W0 to W3.
  • Page 28 Input and output status settings when failure occurs For the FX5-CCLIEF, status of input from the master station when a data link error occurs and output status of cyclic data if a stop error occurs in the FX5 CPU module can be set. Status Description Input status for data link error...
  • Page 29 ■Cyclic data output when a stop error occurs in the FX5 CPU module Under "Supplementary Cyclic Settings" in "Application Settings", set the cyclic data output status for when a stop error occurs in the FX5 CPU module. (Page 40 Supplementary Cyclic Settings) Precautions ■When data link is stopped by user When cyclic transmission is stopped using the link special relay (SB), the input status of the faulty station is held.
  • Page 30 Transient Transmission This function allows communications with other stations when a request is made by a method such as a dedicated instruction or engineering tool. Communications with different networks is also possible. Communications within the same network This function performs transient transmission to other stations using dedicated instructions and the engineering tool. For details on dedicated instructions, refer to the following.
  • Page 31 Communications can be made with stations up to eight networks apart (number of relay stations: 7). (Page 44 Link dedicated instructions) When the relay station of own network is a local station, communications can be made with stations up to seven networks apart (number of relay stations: 6).
  • Page 32 SYSTEM CONFIGURATION This chapter describes the system configuration of CC-Link IE Field Network. CC-Link IE Field Network Configuration CC-Link IE Field Network is configured using Ethernet cables. Network topology Configure the network in star topology, line topology, or ring topology using Ethernet cables. Star topology and line topology can be combined in a network.
  • Page 33 Item Description Star topology The network is configured into a star shape using a switching hub and Ethernet cables. Slave stations can be easily added to the network using this topology. When an error occurs in a slave station, data link can be continued with the stations that are operating normally. Line topology The network is configured into a line using Ethernet cables.
  • Page 34 Precautions ■Addition of slave stations (including submaster station) Do not connect 121 or more slave stations (including submaster station). If a slave station is added to a system having 120 slave stations (including submaster station), all stations will fail and data link cannot be performed. ■Configuration in which data link cannot be performed (illegal ring connection) Do not use a switching hub for ring topology.
  • Page 35 WIRING This chapter describes the wiring methods, wiring products, and wiring precautions when the FX5-CCLIEF is used. Power Supply Wiring Wiring of power connector Ground (green) (black) (red) Power supply wiring FX5-CCLIEF 24 V DC Class D grounding (Grounding resistance: 100 Ω or less) Grounding Perform the following.
  • Page 36 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 Power off the FX5-CCLIEF and external device. Push the Ethernet cable connector into the FX5-CCLIEF until it clicks.
  • Page 37 Straight cable • 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 your preferred cable length is available. Consult your local Mitsubishi Electric representative.
  • Page 38 PARAMETER SETTINGS This chapter describes the parameter settings required for communications between the FX5-CCLIEF and other stations. Setting Parameters Add the intelligent function module in the engineering tool. Navigation window  [Parameter]  [Module Information]  Right-click  [Add New Module] The required settings, basic settings, and application settings are included in the parameter settings.
  • Page 39 Network Number Set the network number of the FX5-CCLIEF. Item Description Setting range Network Number Set the network number of the FX5-CCLIEF. 1 to 239 (Default: 1) Station Number Set the station number of the FX5-CCLIEF. Item Description Setting range Setting Method Select whether to set the station number in parameter editor or in program (G(P).UINI •...
  • Page 40 Basic Settings Set the refresh settings of the FX5-CCLIEF. Item Description Reference Refresh Setting Set link refresh ranges between the devices of the FX5 CPU module and the link Page 38 special relay (SB), link special register (SW), and link devices of the FX5-CCLIEF. Refresh setting Set link refresh ranges between the devices of the FX5 CPU module and link devices of the FX5-CCLIEF.
  • Page 41 Item Description Setting range  Link Side Set the link refresh ranges of SB and SW. One range can be set for each of Device Name SB and SW. (Page 21 Link refresh) • SB (fixed) • SW (fixed) Points •...
  • Page 42 Precautions ■Device set to "CPU Side" Set a device range not to overlap with the one used for the following: • "Refresh Setting" of intelligent function modules ■Link refresh range Set only link devices used in the FX5 CPU module for link refresh range. Doing so will reduce link refresh points, resulting in a shorter link refresh time.
  • Page 43 Interrupt Settings Set conditions for sending an interrupt request to the FX5 CPU module. Setting method The procedure for the interrupt settings is shown below. Set the interrupt conditions. Up to 16 interrupt conditions can be set. Click the [Apply] button and close "Interrupt Settings". Setting items Item Description...
  • Page 44 Precautions ■When "Detection Method" is set to "Level" and the interrupt condition is always met If the sequence scan takes much longer than the link scan, since interrupt processing is activated in each link scan, sequence scan time may greatly increase, resulting in a watchdog timer error of the FX5 CPU module. When "Detection Method"...
  • Page 45 Parameter Name Set a name for the module parameter if desired. Item Description Setting range Parameter Name Set a name for the module parameter if desired. Up to 8 one-byte or two-byte characters (Default: Blank) Module Operation Mode Set the mode of the FX5-CCLIEF. For details on module communication test mode, refer to the following.
  • Page 46 DEDICATED INSTRUCTION This chapter describes dedicated instructions that can be used in the FX5-CCLIEF. Link dedicated instructions The following table lists the instructions used for transient transmission to or from programmable controllers on other stations. Each link dedicated instruction allows access to a station on a network other than CC-Link IE Field Network. ■Instruction list Instruction Description...
  • Page 47 ■Specifications of character string data specified by link dedicated instructions Some operands specified in link dedicated instructions are specified in character strings. The following table summarizes the specifications of character string data specified. Instructio Applicable Specifications of character string data n symbol operand ■Specification method...
  • Page 48 Precautions for Dedicated Instructions This section describes precautions when using dedicated instructions. Precautions for dedicated instructions (common) ■When changing data specified by dedicated instructions Do not change any data (such as control data) until execution of the dedicated instruction is completed. ■When the dedicated instruction is not completed Check whether the mode of the FX5-CCLIEF is online.
  • Page 49 Link Dedicated Instructions Reading data from the programmable controller on another station GP.READ This instruction reads data from a device in another station programmable controller. (In units of words) Ladder ENO:=GP_READ(EN,Un,s1,s2,d1,d2); (s1) (s2) (d1) (d2) FBD/LD ("GP_READ" enters .) Setting data ■Description, range, data type Operand Description...
  • Page 50 ■Applicable devices Operand Word Double word Indirect Constant Others specification X, Y, M, L, SM, T, ST, C, D, W, U\G K, H F, B, SB, S SD, SW, R           ...
  • Page 51 Device Item Description Setting range Set by  (s1)+12 Clock data Upper 8 bits: Month (01H to 12H) System (Set only in an Lower 8 bits: Lower 2 digits of year (00H to 99H) abnormal state) (s1)+13 Upper 8 bits: Hour (00H to 23H) ...
  • Page 52 • The following figure shows the execution timing of the GP.READ instruction. ■When completed normally READ Sequence scan Start contact CPU module on Completion device the own station (d2) Completion status 1 scan indication device (d2)+1 Read data storage device (d1) FX5-CCLIEF Channel 1 Network...
  • Page 53 Program example The following program is for reading data of D250 to D254 of station No. 4 (target station) into D700 to D704 of station No. 1 (own station) when M102 is turned on. • System configuration Station No. 1 Station No.
  • Page 54 • Program Write the following program to the FX5 CPU module of station No. 1. M100 D200 D202 D203 D204 Control data setting for GP.READ instruction D205 D208 D209 M102 SB47 D207 Execution of GP.READ U1 D200 ‘D250’ D700 M105 GP.READ instruction M105 M106...
  • Page 55 ■Program using module FB Program as follows when using the module FB. • Devices used Device Description SB0047 Baton pass status of own station M100 Setting command of module FB M102 Execution command of module FB M104 to M106 Bit-type input output label for module FB (Refer to the following table for the setting.) D202, D204, D205, D209 and D218 Word-type input output label for module FB (Refer to the following table for the setting.) D700 to D704...
  • Page 56 • Program Add the processing program when completed successfully and completed with an error after the program above. 8 DEDICATED INSTRUCTION 8.2 Link Dedicated Instructions...
  • Page 57 Reading data from the programmable controller on another station (with notification) GP.SREAD This instruction reads data from a device in another station programmable controller. (In units of words) After the data reading is completed by the GP.SREAD instruction, the device of the other station is turned on. The other station can recognize that data has been read by the GP.SREAD instruction.
  • Page 58 ■Applicable devices Operand Word Double word Indirect Constant Others specification X, Y, M, L, SM, T, ST, C, D, W, U\G K, H F, B, SB, S SD, SW, R           ...
  • Page 59 Device Item Description Setting range Set by  (s1)+11 Clock setting flag The validity status (valid or invalid) of the data in (s1)+12 and later is stored. Note System that the data in (s1)+12 and later is not cleared even when the instruction is completed successfully.
  • Page 60 • The following figure shows the execution timing of the GP.SREAD instruction. ■When completed normally SREAD Sequence scan Start contact CPU module on Completion device the own station (d2) Completion status 1 scan indication device (d2)+1 Read data storage device (d1) FX5-CCLIEF Channel 1 Network...
  • Page 61 Program example The following program is for reading data of D250 to D254 of station No. 4 (target station) into D700 to D704 of station No. 1 (own station) when M102 is turned on and for turning on Y60 of the target station when the read notification device (d3) is turned on in the target station.
  • Page 62 • Program Write the following program to the FX5 CPU module of station No. 1. M100 D200 D202 D203 D204 Control data setting for GP.SREAD instruction D205 D208 D209 M102 SB47 D207 GP.SREAD U1 D200 ‘D250’ D700 M105 ‘M107’ Execution of GP.SREAD instruction M105 M106...
  • Page 63 Writing data to the programmable controller on another station GP.WRITE This instruction writes data to the device in another station programmable controller. (In units of words) Ladder ENO:=GP_WRITE(EN,Un,s1,s2,d1,d2); (s1) (s2) (d1) (d2) FBD/LD ("GP_WRITE" enters .) Setting data ■Description, range, data type Operand Description Range...
  • Page 64 ■Control data Device Item Description Setting range Set by (s1)+0 Execution/error 0000H User … … completion type 0001H 0080H 0081H (1) Execution type (bit 0) • 0: No arrival acknowledgment When the target station is in the own network: Completed when data has been sent from the own station.
  • Page 65 Device Item Description Setting range Set by (s1)+5 Target station number Specify the station number of the target station. Station No.: 1 to User (1) Station number specification 120, 125, 126 • 125: Master station Group number • 126: Master operating station specification: •...
  • Page 66 • When a number from 1 to 120 is specified for the target station number, the GP.WRITE instruction should be executed with the execution type set to "Arrival acknowledgment used" to improve data reliability. When a number from 81H to A0H or FFH is specified for the target station number, the GP.WRITE instruction should be executed with the execution type set to "No arrival acknowledgment".
  • Page 67 • The following figure shows the execution timing of the GP.WRITE instruction. ■When completed normally WRITE Sequence scan Start contact CPU module on Completion device the own station (d2) Completion status 1 scan indication device (d2)+1 Write data storage device (s2) 3000 FX5-CCLIEF Channel 1...
  • Page 68 Program example The following program is for writing data of D750 to D753 of station No. 2 (own station) into D300 to D303 of station No. 3 (target station) when M112 is turned on. • System configuration Station No. 0 Station No.
  • Page 69 • Program Write the following program to the FX5 CPU module of station No. 2. M110 D220 D222 D223 Control data setting D224 for GP.WRITE instruction D225 D228 D229 M111 D750 D751 Store write data in D750 to D753. D752 D753 M112 SB47...
  • Page 70 ■Program using module FB Program as follows when using the module FB • Devices used Device Description SB0047 Baton pass status of own station M110 Setting command of module FB M112 Execution command of module FB M114 to M116 Bit-type input output label for module FB (Refer to the following table for the setting.) D222, D224, D225, D229 and D238 Word-type input output label for module FB (Refer to the following table for the setting.) D750 to D753...
  • Page 71 • Program Add the processing program when completed successfully and completed with an error after the program above. 8 DEDICATED INSTRUCTION 8.2 Link Dedicated Instructions...
  • Page 72 Writing data to the programmable controller on another station (with notification) GP.SWRITE This instruction writes data to the device in another station programmable controller. (In units of words) After the data writing is completed by the GP.SWRITE instruction, the device of the other station is turned on. The other station can recognize that data has been written by the GP.SWRITE instruction.
  • Page 73 ■Applicable devices Operand Word Double word Indirect Constant Others specification X, Y, M, L, SM, T, ST, C, D, W, U\G K, H F, B, SB, S SD, SW, R           ...
  • Page 74 Device Item Description Setting range Set by (s1)+3 Target station CPU type Specify the CPU type of the target station. 0000H User • 0000H: Addressed to target station CPU (control CPU) 03D0H to 03D3H • 03D0H: Addressed to control system CPU 03E0H to 03E3H •...
  • Page 75 Device Item Description Setting range Set by  (s1)+17 Error-detected station The station number of the station where an error was detected is stored. (No System number information is stored if an error is detected in the own station.) • 125: Master station •...
  • Page 76 • The following figure shows the execution timing of the GP.SWRITE instruction. ■When completed normally SWRITE Sequence scan Start contact CPU module on Completion device the own station (d2) Completion status 1 scan indication device (d2)+1 Write data storage device (s2) 3000 FX5-CCLIEF Channel 1...
  • Page 77 Operation error Error code Description ((s1)+1) Refer to Page 120 List of Error Codes. D000H to DFFFH Program example The following program is for writing data of D750 to D753 of station No. 2 (own station) into D300 to D303 of station No. 3 (target station) when M112 is turned on and for storing data of D300 to D303 into D500 to D503 when the write notification device (d3) is turned on in the target station.
  • Page 78 • Control data Device Item Set value (s1)+0 D220 Execution/error completion type 0081H • Arrival acknowledgment used • Set data for error completion. (s1)+1 D221 Completion status Setting not required (s1)+2 D222 Own station channel (s1)+3 D223 Target station CPU type 0000H Addressed to target station CPU (control CPU) (s1)+4...
  • Page 79 Sending data to the programmable controller on another station GP.SEND This instruction sends data to another station programmable controller. Ladder ENO:=GP_SEND(EN,Un,s1,s2,d); (s1) (s2) FBD/LD ("GP_SEND" enters .) Setting data ■Description, range, data type Operand Description Range Data type Data type (label) ■FX5UJ CPU module Position number of the module connected 16-bit unsigned binary...
  • Page 80 ■Control data Device Item Description Setting range Set by (s1)+0 Execution/error 0000H User … … completion type 0001H 0080H 0081H (1)?Execution type (bit 0) • 0: No arrival acknowledgment When the target station is in the same network: Completed when data has been sent from the own station.
  • Page 81 Device Item Description Setting range Set by (s1)+7 Number of resends Effective when the execution type specified by (s1)+0 is "1: Arrival acknowledgment 0 to 15 User/ (retries) used". system ■Before instruction execution Specify the number of resends to be performed if the instruction is not completed within the monitoring time specified by (s1)+8.
  • Page 82 • When a number from 1 to 120 is specified for the target station number, the instruction should be executed with the execution type set to "Arrival acknowledgment used" to improve data reliability. When a group number or all stations are specified, the instruction should be executed with the execution type set to "No arrival acknowledgment".
  • Page 83 Processing details • The instruction sends data by the specified number of words ((s1)+9) from the own station head device (s2) into the specified channel of a target station. The data that has been sent is stored in the channel specified by (s2) in the target station.
  • Page 84 • The following figure shows the execution timing of the SEND instruction. ■When completed normally (With arrival acknowledgment) SEND Sequence scan Start contact CPU module on Completion device the own station Completion status 1 scan indication device (d)+1 Send data storage device (s2) 3000 FX5-CCLIEF...
  • Page 85 ■When completed with an error SEND Sequence scan Start contact Completion device CPU module on the own station Completion status indication device (d)+1 1 scan Send data storage device (s2) 3000 Completion status Error code (s1)+1 FX5-CCLIEF Channel 1 Data Data Data transmission...
  • Page 86 Program example The following program is for sending data of D750 to D753 of station No. 1 (own station) into channel 2 of station No. 2 (target station) when M152 is turned on. • System configuration Station No. 1 Station No. 2 FX5 CPU module FX5-CCLIEF Master/local module...
  • Page 87 • Program Write the following program to the FX5 CPU module of station No. 1. M150 D350 D352 D353 Control data setting D354 for GP.SEND instruction D355 D358 D359 M151 D750 D751 Store write data in D750 to D753. D752 D753 M152 SB47...
  • Page 88 ■Program using module FB Program as follows when using the module FB • Devices used Device Description SB0047 Baton pass status of own station M150 Setting command of module FB M151 Send data setting command M152 Execution command of module FB M154 to M156 Bit-type input output label for module FB (Refer to the following table for the setting.) D352 to D355, D359 and D368...
  • Page 89 • Program Add the processing program when completed successfully and completed with an error after the program above. 8 DEDICATED INSTRUCTION 8.2 Link Dedicated Instructions...
  • Page 90 Receiving data from the programmable controller on another station GP.RECV This instruction reads data received from another station programmable controller. (For the main routine program) Ladder ENO:=GP_RECV(EN,Un,s,d1,d2); (d1) (d2) FBD/LD ("GP_RECV" enters .) Setting data ■Description, range, data type Operand Description Range Data type...
  • Page 91 ■Control data Device Item Description Setting range Set by (s)+0 Error completion type 0000H User … … 0080H (1) Error completion type (bit 7) Specify whether to set data at completion with an error. • 0: Clock data at error occurrence is not stored in (s1)+11 and later. •...
  • Page 92 Processing details • This instruction reads data, which were sent from another station by the SEND instruction, from the specified channel of the own station to the own station word device (after (d1)). When the data reading from the specified channel of the own station is completed, the completion device (d2) turns on.
  • Page 93 • The following figure shows the execution timing of the GP.RECV instruction. ■When completed normally For the execution timing, refer to the following the instruction. (Page 77 GP.SEND) ■When completed with an error Intelligent Channel 2 device station RECV Arrival timeout Sequence scan RECV execution request area...
  • Page 94 Program example The following program is for reading the data sent from station No. 1 (another station) by the SEND instruction, from channel 2 of station No. 2 (own station) to D770 to D773, when SB0031 is turned on. • System configuration Station No.
  • Page 95 ■Program using module FB Program as follows when using the module FB • Devices used Device Description SB0031 GP.RECV execution request flag CH2 M164 to M166 Bit-type input output label for module FB (Refer to the following table for the setting.) D372, D379 and D388 Word-type input output label for module FB (Refer to the following table for the setting.) D770 to D773...
  • Page 96 Other Instructions Setting parameters G(P).CCPASET Set the parameters to the FX5-CCLIEF. Ladder ENO:=G_CCPASET(EN,Un,s1,s2,s3,s4,d); ENO:=GP_CCPASET(EN,Un,s1,s2,s3,s4,d); (s1) (s2) (s3) (s4) FBD/LD ("G_CCPASET", "GP_CCPASET" enters .) Setting data ■Description, range, data type Operand Description Range Data type Data type (label) Position number of the module connected ■FX5UJ CPU module 16-bit unsigned binary ANY16...
  • Page 97 ■Applicable devices Operand Word Double word Indirect Constant Others specification X, Y, M, L, SM, T, ST, C, D, W, U\G K, H F, B, SB, S SD, SW, R           ...
  • Page 98 • The following figure shows the operation at completion of the G(P).CCPASET instruction. ■When completed normally CCPASET Sequence scan CPU module on Start contact the own station Completion device Completion status 1 scan indication device (d)+1 FX5-CCLIEF Parameter setting ■When completed with an error CCPASET Sequence scan Start contact...
  • Page 99 Program example The following program is for setting parameters into the intelligent device station of network No. 1 when M181 turns on. • System configuration Network No. 1 G(P).CCPASET FX5-CCLIEF CPU module instruction request source (Own station) Device Parameter setting Master station (Station No.
  • Page 100 ■Program using module FB Program as follows when using the module FB • Devices used Device Description M181 Baton pass status of own station M184 to M186 Bit-type input output label for module FB (Refer to the following table for the setting.) D2741 Word-type input output label for module FB (Refer to the following table for the setting.) D2710, D2720, D2730 and D2740...
  • Page 101 Operating procedure The procedure of parameter settings using the G(P).CCPASET instruction is as follows. Before setting parameters using the G(P).CCPASET instruction, set the following item in the network parameters of GX Works3. • Network Number: Set the desired value. • Setting Method: Set the desired value. •...
  • Page 102 Setting the station number to own station G(P).UINI This instruction sets the station number to the intelligent device station (own station) whose station number has not yet been set. Ladder ENO:=G_UINI(EN,Un,s,d); ENO:=GP_UINI(EN,Un,s,d); FBD/LD ("G_UINI", "GP_UINI" enters .) Setting data ■Description, range, data type Operand Description Range...
  • Page 103 ■Control data Device Item Description Setting range Set by   (s)+0 Not used System (s)+1 Completion status The instruction completion status is stored.  System • 0: Normal • Other than 0: Error (error code) (s)+2 Change target 0001H (fixed) 0001H User specification...
  • Page 104 ■When completed with an error UINI Sequence scan Start contact CPU module on Completion device the own station Completion status indication device (d)+1 1 scan Completion status Error code (s)+1 FX5-CCLIEF Station number setting error Operation error Error code Description ((s)+1) Refer to Page 120 List of Error Codes.
  • Page 105 • Program Write the following program to the FX5 CPU module. SB46 MOVP D602 Control data MOVP D603 Execution of GP.UINI GP.UINI ‘U1’ D600 M192 instruction M192 M193 Processing program upon normal completion M193 Processing program upon error completion ■Program using module FB Program as follows when using the module FB •...
  • Page 106 Operating procedure The procedure of station number setting using the G(P).UINI instruction is as follows. Before setting parameters using the G(P).UINI instruction, set the following item in the network parameters of GX Works3. • Network Number: Set the desired value. •...
  • Page 107 PROGRAMMING This chapter describes programming and startup examples of CC-Link IE Field Network. Procedure for Creating Programs Cyclic transmission program This is a program that performs the cyclic transmission in the master station (station No. 0) and intelligent device station (station No.
  • Page 108 • Receiving station (station No. 1) Receiving station (Station No. 1) SB49 <Communication program with station No. 0> Data link error status of own station <Communication program with station No. 0 (Processing to be performed)> B200 BMOV W400 D100 Master station Station No.
  • Page 109 Transient transmission program This is a program that reads D300 to D304 in the master station (station No. 0) to D800 to D804 of the intelligent device station (station No. 1) using the GP.READ instruction. • Devices used Device Description Control data set command Read command Completion device (normal)
  • Page 110 ■Program using module FB Program as follows when using the module FB. • Devices used Device Description Control data set command Read command Completion device (normal) Completion device (error) Execution status D1002 Own station channel D1003 Target station CPU type D1004 Target network number D1005...
  • Page 111 • Program Add the processing program when read is completed and when completed successfully and completed with an error after the program above. Precautions For a transient transmission program, establish an interlock using the following link special relay (SB). • Baton pass status of own station (SB0047) Interlock example Start contact SB47...
  • Page 112 TROUBLESHOOTING This chapter describes troubleshooting of CC-Link IE Field Network. 10.1 Checking with LEDs This section describes troubleshooting using LED. Error status can be determined by status of the RUN LED and the ERR LED. RUN LED ERR LED Error status Description On, flashing Major error...
  • Page 113 If the D. LINK LED turns off or is flashing If the D. LINK LED is turned off or flashing, check the following items. Item to check Action Is the master station connected to the network? Check if the master station is performing data link using CC-Link IE Field Network diagnostics.
  • Page 114 If the L ERR LED is turned on If the L ERR LED is turned on, check the following items. Item to check Action Are the Ethernet cables used operating normally? • Check if the Ethernet cable conforms to the standard. (Page 14 Performance Specifications) •...
  • Page 115 Replace the Ethernet cable and perform the test again. If the test fails again, please consult communication error your local Mitsubishi Electric representative. Precautions When "0" is displayed as the port number, the H/W test may have failed. Consult your local Mitsubishi Electric representative. 10 TROUBLESHOOTING 10.2 Checking the Module Status...
  • Page 116 10.3 Checking the Network Status Perform the CC-Link IE Field Network diagnostics to check the network status and error details or to perform an operation test for troubleshooting. Diagnostic items The following table lists items of the FX5-CCLIEF that can be diagnosed by the CC-Link IE Field Network diagnostics. Item Restrictions Reference...
  • Page 117 Starting diagnostics This section describes how to use the CC-Link IE Field Network diagnostics. Connect the engineering tool to the FX5 CPU module. Start the CC-Link IE Field Network diagnostics. [Diagnostics]  [CC-Link IE Field Diagnostics] The status of the own station is displayed on the "Selected Station Communication Status Monitor". The status of the own station is displayed on the top of "Selected Station Communication Status Monitor".
  • Page 118 Selected Station Communication Status Monitor The status of the own station is displayed. ■When an error occurs Description Displays the operating status. • Station No.: Normal operation • Station No. Error (yellow): Error (Data link is continued.) • Station No. Error (red): Error (Data link is stopped.) Displays a mode.
  • Page 119 Cable Test Cable test checks if the Ethernet cables are properly connected. Only the Ethernet cable connected to P1 or P2 of the own station is tested. ■Procedure Click the [Cable Test] button in the "CC- Link IE Field Diagnostics" window. "Cable Test"...
  • Page 120 10.4 Troubleshooting for Each Symptom This section describes troubleshooting method by symptom. Perform these troubleshooting if data link cannot be performed even though no error is detected in the intelligent device station. If an error has occurred in the intelligent device station, identify the cause of error using the engineering tool.
  • Page 121 When a station is repeatedly disconnected and reconnected The following lists the actions to be taken when a station in data link is repeatedly disconnected and reconnected. Item to check Action Are 1000BASE-T-compliant Ethernet cable used? Replace the cables with 1000BASE-T-compliant Ethernet cables. (Page 35 Ethernet cable) Is the station-to-station distance 100 m or less? Change the station-to-station distance to 100 m or less.
  • Page 122 An error was detected in the network module. • Take measures to reduce noise. • Execute the module communication test. If the error occurs again even after taking the above action, hardware failure is a possible cause. Consult your local Mitsubishi Electric representative. D001H An error was detected in the network module.
  • Page 123 • Connect the cable to the other port, and retry the operation. • Execute the module communication test. If the error occurs again even after taking the above action, hardware failure is a possible cause. Consult your local Mitsubishi Electric representative.
  • Page 124 Error Error details and causes Action code D207H In transient transmission, the number of relay to Change the system configuration so that the number of relay stations may be seven or less. other networks exceeded seven. D208H The network number of transient transmission is Correct the network number at the request source, and retry the operation.
  • Page 125 Error Error details and causes Action code D220H The master station does not exist. Add the master station to the network. D238H The send queue is full. • Pause the transient transmission temporarily, and retry the operation. • Lower the transient transmission usage frequency, and then perform again. •...
  • Page 126 Error Error details and causes Action code D251H When the dedicated instruction was executed, • Execute again after increasing the number of resends at the request source. arrival check error has occurred. • When the own station, target station, or relay station detected an error, identify the cause of the error and take action.
  • Page 127 An error was detected in the network module. • Take measures to reduce noise. • Execute the module communication test. If the error occurs again even after taking the above action, hardware failure is a possible cause. Consult your local Mitsubishi Electric representative. 10 TROUBLESHOOTING...
  • Page 128 An error was detected in the network module. • Take measures to reduce noise. • Execute the module communication test. If the error occurs again even after taking the above action, hardware failure is a possible cause. Consult your local Mitsubishi Electric representative. D60FH An error was detected in the network module.
  • Page 129 An error was detected in the network module. • Take measures to reduce noise. • Execute the module communication test. If the error occurs again even after taking the above action, hardware failure is a possible cause. Consult your local Mitsubishi Electric representative. D816H An error was detected in the network module.
  • Page 130 An error was detected in the network module. • Take measures to reduce noise. • Execute the module communication test. If the error occurs again even after taking the above action, hardware failure is a possible cause. Consult your local Mitsubishi Electric representative. DA13H An error was detected in the network module.
  • Page 131 10.6 List of Parameter Numbers This section lists the parameter numbers displayed in the module diagnostics. Item Parameter No. Required Station Type Station Type 7700H Settings Network Number Network Number 7100H Station Number Setting Method 7100H Station No. 7100H Parameter Setting Method Setting Method of Basic/Application Settings 7100H Basic Settings...
  • Page 132 Compliance to EMC directive and LVD directive of the entire mechanical module should be checked by the user/ manufacturer. For more details please contact to the local Mitsubishi Electric sales site. Requirement for compliance with EMC directive...
  • Page 133 Caution for compliance with EC Directive Caution for when the FX5-CCLIEF is used When the FX5-CCLIEF is used, attach a ferrite core and make 3 turns within approximately 200 mm from the power cable connectors. (Ferrite core used in tests by Mitsubishi: ZCAT3035-1330 manufactured by TDK Co.) Caution for when the Ethernet port is used •...
  • Page 134 Appendix 2 Buffer Memory The buffer memory is used to exchange data between the FX5-CCLIEF and the FX5 CPU module. Buffer memory values are reset to default when the FX5 CPU module is reset or the system is powered off. List of buffer memory addresses Address Address...
  • Page 135 Details of buffer memory addresses Link device area The RX, RY, RWw, and RWr values are stored. ■Remote input (RX) (Un\G0 to Un\G23) The RX value is stored. Address Un\G0  Un\G23 RX17 RX17 RX17 RX17 RX17 RX17 RX17 RX17 RX17 RX17 RX17...
  • Page 136 ■Link special register (SW) (Un\G18464 to Un\G18975) The SW value is stored. Address Un\G18464 Un\G18465  Un\G18975 SW1FF Own station information The information of the own station on the network is stored. ■Own station (network card) information (Un\G20512 to Un\G20515) Address Name Description...
  • Page 137 Appendix 3 List of Link Special Relay (SB) The link special relay (SB) is turned on/off depending on various factors during data link. Any error status of the data link can be checked by using or monitoring it in the program. Application of link special relay (SB) By using link special relay (SB), the status of CC-Link IE Field Network can be checked from HMI (Human Machine Interfaces) as well as the engineering tool.
  • Page 138 Name Description SB0046 Station number setting status of Stores the station number setting status. own station : Station number set : Station number not set If parameters are set using the engineering tool, this relay is always OFF. SB0047 Baton pass status of own station Stores the baton pass status (transient transmission availability) of the own station.
  • Page 139 Name Description SB006B PORT2 link-down status of own Stores the link down status of the own station P2 side. station : Link-up : Link-down The time that link-up starts after power-on or Ethernet cable connection may vary. Normally link-up takes several seconds.
  • Page 140 Name Description SB0131 PORT2 current error frame Stores whether the error frame is currently received at the P2 side of the master station (master operating reception status of master station station). : Not received : Currently receiving (Conditions) • This relay is enabled when 'Baton pass status of own station' (SB0047) is off. •...
  • Page 141 Appendix 4 List of Link Special Register (SW) The link special register (SW) stores the information during data link as a numerical value. Error locations and causes can be checked by using or monitoring the link special register (SW) in programs. Application of link special register (SW) By using link special register (SW), the status of CC-Link IE Field Network can be checked from HMI (Human Machine Interfaces) as well as the engineering tool.
  • Page 142 Name Description SW0048 Cause of baton pass Stores the cause of interruption in the communication (baton pass) of the own station. interruption 00H: At normal communication or power-on 30H: Cable disconnection 33H: Disconnection or return in progress 40H: Offline mode 41H: Module communication test SW0049 Cause of data link stop...
  • Page 143 Name Description SW0069 PORT1 line error Stores the occurrence rate (present value) of received error frames at the P1 side of the own station. (Unit: %) occurrence rate present When 'Clear communication error count' (SB0006) is turned on, the stored value for the occurrence rate is cleared. value SW006A PORT2 line error...
  • Page 144 Appendix 5 Processing Time I/O response time The calculation formula for the response time of the intelligent device station is as follows: Rio = (Number of RX/RY points) × 0.16 + (Number of RWw/RWr points) × 5.5 + 430 + Ka [μs] The above formula calculates the average response time when auto refresh of the same number of points as the number of RX/RY and RWw/RWr points is performed.
  • Page 145 INDEX 0 to 9 ....22 ......36 32-bit data assurance Network Number .
  • Page 146 SAFETY PRECAUTIONS, WARRANTY 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 147 WARRANTY Please confirm the following product warranty details before using this product. 1. Gratis Warranty Term and Gratis Warranty 2. Onerous repair term after discontinuation of production Range If any faults or defects (hereinafter "Failure") found to be Mitsubishi shall accept onerous product repairs for the responsibility of Mitsubishi occurs during use of the seven (7) years after production of the product is product within the gratis warranty term, the product shall...
  • Page 148 TRADEMARKS Ethernet is a registered trademark of Fuji Xerox Co., Ltd. in Japan. PROFIBUS is a trademark of PROFIBUS Nutzerorganisation e.V. Anywire and AnyWireASLINK are either registered trademarks or trademarks of Anywire Corporation. The company names, system names and product names mentioned in this manual are either registered trademarks or trademarks of their respective companies.
  • Page 150 Manual number: JY997D64201C Model: FX5-U-CCIEF-E Model code: 09R733 When exported from Japan, this manual does not require application to the Ministry of Economy, Trade and Industry for service transaction permission. HEAD OFFICE: TOKYO BUILDING, 2-7-3 MARUNOUCHI, CHIYODA-KU, TOKYO 100-8310, JAPAN Specifications are subject to change without notice.

This manual is also suitable for:

Fx5