Mitsubishi Electric MELSEC iQ-F Series Quick Connection Manual
Mitsubishi Electric MELSEC iQ-F Series Quick Connection Manual

Mitsubishi Electric MELSEC iQ-F Series Quick Connection Manual

Electric programmable controller for cc-link ie field network basic
Hide thumbs Also See for MELSEC iQ-F Series:

Advertisement

Quick Links

FACTORY AUTOMATION
Mitsubishi Electric Programmable Controller
Mitsubishi Electric Programmable Controller
MELSEC iQ-F Series
MELSEC iQ-F Series
Quick Connection Guide
Quick Connection Guide
Quick Connection Guide
MELSERVO-JET/J5 Series
MELSERVO-JET/J5 Series
MELSERVO-JET/J5 Series
for CC-Link IE Field Network Basic
for CC-Link IE Field Network Basic
for CC-Link IE Field Network Basic

Advertisement

Table of Contents
loading

Summary of Contents for Mitsubishi Electric MELSEC iQ-F Series

  • Page 1 FACTORY AUTOMATION Mitsubishi Electric Programmable Controller Mitsubishi Electric Programmable Controller MELSEC iQ-F Series MELSEC iQ-F Series Quick Connection Guide Quick Connection Guide Quick Connection Guide MELSERVO-JET/J5 Series MELSERVO-JET/J5 Series MELSERVO-JET/J5 Series for CC-Link IE Field Network Basic for CC-Link IE Field Network Basic...
  • Page 2: Introduction

    If in doubt about the operation or use, please contact your local Mitsubishi Electric representative. • Mitsubishi Electric will not accept responsibility for actual use of the product based on these illustrative examples. Please use it after confirming the function and safety of the equipment and system.
  • Page 3: Table Of Contents

    CONTENTS INTRODUCTION ................1 RELEVANT MANUALS .
  • Page 4 APPENDICES Appendix 1 Application Examples of the FB Library ..........58 Appendix 2 Downloading and Registering a Profile .
  • Page 5: Relevant Manuals

    RELEVANT MANUALS The following relevant manuals can be downloaded from the Mitsubishi Electric FA site. www.mitsubishielectric.com/fa/ref/ref.html?kisyu=plcf&manual=download_all MELSEC iQ-F [: Available, : Not available] Manual name Available form <manual number> e-Manual   MELSEC iQ-F FX5S/FX5UJ/FX5U/FX5UC User's Manual (Hardware) <SH-082452ENG> ...
  • Page 6 Engineering software [: Available, : Not available] Manual name Available form <manual number> e-Manual   GX Works3 Operating Manual <SH-081215ENG> Programmable Controller Engineering Software MELSOFT GX Works3 FB Quick Start Guide   <L(NA)-08475ENG> Others [: Available, : Not available] Manual name Available form <manual number>...
  • Page 7: Features

    FEATURES Simple and low-cost structures Because the MR-JET-G becomes compatible with CC-Link IE Field Network Basic, the FX5 CPU module with built-in Ethernet port can be connected to the MR-JET-Gs in line topology , which enables simple and low-cost network structures. Simple Simple Low-cost...
  • Page 8 Simpler and more user-friendly  FBs compatible with the specifications of PLCopen Motion Control FBs are available. Using the FBs enables the following: reduction of the time required for debugging or the costs on training; improvement of the reusability of software or the quality of equipment or machinery. Before Before After...
  • Page 9 MEMO...
  • Page 10: Chapter 1 Preparation

    PREPARATION Applicable Models The following models can be used for a series of operations described in this manual. Programmable controller Servo amplifier (Ethernet-compatible) FX5S CPU module FX5UJ CPU module FX5U CPU module FX5UC CPU module FX5-ENET MR-JET-G MR-J5-G *1 The MR-JET-G-N1 cannot be used. *2 The MR-J5-G-N1 and the MR-J5W...
  • Page 11: Required Products

    Required Products This manual describes the procedures required for the communications between FX5 CPU modules and servo amplifiers, using a system configuration example where one FX5S CPU module is connected to two servo amplifiers (MR-JET-G). FX5S CPU module  1 MR-JET-G ...
  • Page 12: System Configuration

    System Configuration This manual uses the system configuration where one FX5S CPU module is connected to two servo amplifiers (MR-JET-G). Use standard Ethernet cables for the connection and configure the system in line topology. In this example, IP addresses are set to 192.168.3., and subnet masks are set to 255.255.255.0 for all the devices. Note that, when communicating between multiple devices in a same network, the first three values of the IP addresses (first to third octets) need to be the same.
  • Page 13: Chapter 2 Servo Amplifier Setting

    SERVO AMPLIFIER SETTING Switch Setting and Display The IP address can be set with the rotary switches of the MR-JET-G. The communication status and alarm status of the network can be checked with the LEDs. * A protective film is attached on the front of the servo amplifier before shipment. Name Description Display...
  • Page 14: List Of Related Parameters

    List of Related Parameters The following tables list the servo-amplifier parameters required to be set. To perform Ethernet communications between servo amplifiers and connected devices, set the servo-amplifier parameters according to the communication specifications of the connected devices. If the initial setting is not configured or the setting has an error, data communications fail.
  • Page 15: Ethernet Parameter Settings

    Ethernet Parameter Settings Connect the servo amplifiers and the personal computer with the Ethernet cables, and set the parameters. This manual describes the parameter setting method using MR Configurator2. MR-JET-G MR-JET-G MR Configurator2 MR Configurator2 (Station number 1) (Station number 2) Ethernet When the power of servo amplifiers is off, set the fourth octet of IP addresses of servo amplifiers using the rotary switches.
  • Page 16 Set as shown below. After the parameters are set, check the connection to the servo amplifiers by clicking [Communications Test]. When the connection has succeeded, click [OK]. Item Setting value Axis 1 Axis 2 Connection Network CC-Link IEF Basic None PC side I/F Protocol Time-out...
  • Page 17: Parameter Settings

    Parameter Settings Select [Parameter]  [Parameter Setting]. Set each item from [List display]. Set the same value for both axis 1 and axis 2. List display Name Setting value Basic PA01 Operation mode 00003000h PA04 Function selection A-1 00002100h PA06 Electronic gear - Numerator PA07 Electronic gear -Denominator...
  • Page 18: Write To Servo Amplifier

    Write to Servo Amplifier Write the set parameters to the servo amplifier. Click the following icon on the toolbar to go online. They are grayed out offline. The functions are available online. Click [Axis Writing]. Click [Select All], and then click [Write]. After the writing is complete, reset the servo amplifier. 2 SERVO AMPLIFIER SETTING 2.5 Write to Servo Amplifier...
  • Page 19: Servo Amplifier Reset

    Servo Amplifier Reset Reset the servo amplifier. For some parameters, set values do not take effect unless the servo amplifier is reset. This manual describes the reset operation using MR Configurator2. Click the [Software Reset] icon on the toolbar. Click [Select All], and then click [OK]. 2 SERVO AMPLIFIER SETTING 2.6 Servo Amplifier Reset...
  • Page 20: Chapter 3 Programmable Controller Settings

    Downloading the FB Library In this manual, the FB library for servo amplifiers compatible with CC-Link IE Field Network Basic is used. To obtain the FB library, please contact your local Mitsubishi Electric representative. 3 PROGRAMMABLE CONTROLLER SETTINGS 3.1 Part Names...
  • Page 21: Importing The Fb Library

    Importing the FB Library This section describes how to register the obtained FB library to GX Works3. Decompress the FB library folder (zip file) before registering the FB library. Start GX Works3, and select [Project]  [New]. Set as follows, and click [OK]. Item Setting value Series...
  • Page 22 Select the "MotionControl_CCLinkIEFBasic_F.mslm" file in the decompressed FB library folder, and click [Open]. The selected file is added to [Library] in the "Element Selection" window. If the "Element Selection" window is not displayed, go to the menu bar, and select [View]  [Docking Window] ...
  • Page 23: Communication Settings Of Gx Works3

    Communication Settings of GX Works3 Connect the personal computer, the programmable controller, and servo amplifiers with the Ethernet cables. Perform the communications test before setting parameters for the programmable controller, MR-JET-G MR-JET-G FX5S CPU module Ethernet Select [Online]  [Current Connection Destination]. Select [Other Connection Method], and then click [Other Connection Method].
  • Page 24 Select [Ethernet Board] of "PC side I/F", and then double-click [PLC Module] of "PLC side I/F". Double-click Select [Connection via HUB], input "192.168.3.250" for "IP Address", and click [OK]. 3 PROGRAMMABLE CONTROLLER SETTINGS 3.4 Communication Settings of GX Works3...
  • Page 25 Select [No Specification] of "Target Station", and then click [Communication Test]. When the connection has succeeded, click [OK]. Precautions When the communications test detects a connection failure, perform the following. • Check the power supplies of the programmable controller and the servo amplifiers, wiring with Ethernet cables. •...
  • Page 26: Parameter Settings

    Parameter Settings This section describes how to set parameters required for the programmable controller using GX Works3. In the "Navigation" window of GX Works3, select [Parameter]  [FX5SCPU]  [Module Parameter]  [Ethernet Port]. If the "Navigation" window is not displayed, go to the menu bar, and select [View]  [Docking Window]  [Navigation] to open the window.
  • Page 27 In "CC-Link IEF Basic Setting", select "Use" for "To Use or Not to Use CC-Link IEF Basic Settings", and double-click "Detailed Setting" of "Network Configuration Settings". Double-click Click [Detect Now]. When the MR-JET-G profile is not registered, refer to the following. Page 59 Downloading and Registering a Profile The information of the servo amplifiers connected to the programmable controller is displayed in the table.
  • Page 28 When the following window appears, click [Yes]. Next, set parameters to automatically perform data transfer between link devices of the servo amplifiers and devices of the programmable controller. Double-click "Detailed Setting" of "Refresh Settings". Double-click Select "Specify Device" for the refresh targets on the CPU module side, and set the names and start addresses of the devices to be assigned to the link devices.
  • Page 29 Data flow between the master station and remote stations using link devices This manual describes data communications using cyclic transmission, for which the link devices of the servo amplifiers are used. Each link device is assigned as shown below. For how to set global labels, refer to the following. Page 29 Adding Structures and Global Labels ■MR-JET-G (Station number 1) Assignment target device on the programmable controller side...
  • Page 30: Adding Structures And Global Labels

    Adding Structures and Global Labels This section describes how to add structures and global labels in the FB library to the project. Addition of structures Select [MotionControl_CCLinkIEFBasic_F]  [Structured Data Type] in the registered FB library. Right-click on [Structured Data Type] and select [Add to Project]. Right-click The following will be added to [Structured Data Types] of [Label].
  • Page 31 Addition of global labels 1 Select [Label]  [Global Label]  [Global]. Double-click [Global] and set as follows. Label Name Class AxisInfo1 VAR_GLOBAL AxisInfo2 VAR_GLOBAL Click [Detailed Display]. Double-click Set Data Type as shown below. Label Name Data Type Class AxisInfo1 AXIS_REF_CCLinkIEFBasic_F VAR_GLOBAL...
  • Page 32 To set Data Type, click [...] and follow the step in the figure below. Type Category Data Type Structured Data Type AXIS_REF_CCLinkIEFBasic_F Input comments (English) as shown below. Label Name Data Type Class English AxisInfo1 AXIS_REF_CCLinkIEFBasic_F VAR_GLOBAL Axis information 1 AxisInfo2 AXIS_REF_CCLinkIEFBasic_F VAR_GLOBAL...
  • Page 33 Addition of structures (labels) Right-click on [Structured Data Types] in [Label], and select [Add New Data]. Input "stRemoteReg" for "Data Name", and click [OK]. Right-click Set labels for the structure as shown below. For how to input the label names and comments (English), refer to Page 30 Addition of global labels 1.
  • Page 34 To set Data Type, click [...] and follow the step in the figures below. Label Name Data Type Element (1 dimension) Element (2 dimensions) bnRX, bnRY unRWr, unRWw Word [Unsigned]/Bit String [16-bit] [bnRX, bnRY] [unRWr, unRWw] Select it. Select it. *1 Any desired data name can be set.
  • Page 35 To set Data Type, click [...] and follow the step in the figure below. Type Category Data Type Structured Data Type stRemoteReg Double-click "Detailed Setting" of "G_stLinkIEF" set in step 1. "Detailed Setting" is located in [Assign (Device/Label)] column. Deselect [Use Bit Specification], set the device as shown below, and click [OK]. Label Name Data Type Device...
  • Page 36: Writing Data To The Programmable Controller

    Writing Data to the Programmable Controller Write the parameter settings and programs to the programmable controller. Before the write execution, the operation to determine the parameters and programs is required. Execute the write to the programmable controller while the CPU module is in STOP state. Select [Convert] ...
  • Page 37 Click [Parameter + Program], and click [Execute]. When the following window appears, click [Yes to all]. After the writing is complete, reset (or power off and on) the programmable controller. 3 PROGRAMMABLE CONTROLLER SETTINGS 3.7 Writing Data to the Programmable Controller...
  • Page 38: Chapter 4 Communications Check Over Cc-Link Ie Field Network Basic

    COMMUNICATIONS CHECK OVER CC-Link IE Field Network Basic Check communications over CC-Link IE Field Network Basic while the servo amplifiers are connected to the programmable controller. MR-JET-G MR-JET-G FX5S CPU module Ethernet In GX Works3, select [View]  [Docking Window]  [Watch 1], and click [Watch 1]. Register the following in "Name".
  • Page 39 Select [Online]  [Watch]  [Start Watching]. Click [Start Watching] to go online. Click [ON] while the rows of G_stLinkIEF.bnRY[63] and G_stLinkIEF.bnRY[127] are selected. Click  When communications have no problems "Current Value" of G_stLinkIEF.bnRX[63] and G_stLinkIEF.bnRX[127] turn ON. After checking that the communications are normal, turn OFF G_stLinkIEF.bnRY[63] and G_stLinkIEF.bnRY[127] so that G_stLinkIEF.bnRX[63] and G_stLinkIEF.bnRX[127] turn OFF.
  • Page 40: Chapter 5 Creating Programs

    CREATING PROGRAMS Operation MR-JET-G (Station number 1) This program is to specify a target position and command speed, and to execute the relative positioning. The MR-JET-G on the station number 1 performs the positioning according to the instructions. 1) Execute the OPR. 2) Set a target position.
  • Page 41: Adding The Fb Library

    Adding the FB Library This section describes how to add the function blocks (FBs) in the FB library to the project. Select [MotionControl_CCLinkIEFBasic_F]  [FB]  [Operation-Individual] in the FB library. From [Operation-Individual], select an FB to be added and right-click on it, then select [Add to Project]  [Create FB File]. When repeating it to add two or more FBs, select [Add to Project] ...
  • Page 42: Local Labels

    Local Labels Set local labels to use for the programs. How to set local labels In the "Navigation" window, select [Program]  [Scan]  [MAIN]  [ProgPou]  [Local Label]. Double-click [Local Label]. Double-click Set the local labels as shown below. For how to input the label name, class, and comment (English), refer to Page 30 Addition of global labels 1.
  • Page 43 To set Data Type, click [...] and follow the step in the figures below. Setting value Type Category Data Type Element Element (1 dimension) (2 dimensions) Bit (1..2) Simple Types Word [Unsigned]/Bit String [16-bit] (1..2) Simple Types Word [Unsigned]/Bit String [16-bit] Double Word [Signed] (1..2) Simple Types Double Word [Signed]...
  • Page 44: List Of Local Labels

    List of local labels The following table lists the local labels to be used in this manual. Set them by referring to "How to set local labels". Label Name Data Type Class English PowerStatus Bit (1..2) Ready to operate status PowerBusy Bit (1..2) Ready to operate (executing)
  • Page 45: Device Comments

    Device Comments Set device comments to use for the programs. In the "Navigation" window, select [Device]  [Device Comment]  [Common Device Comment]. Double-click [Common Device Comment] and set the comments as shown below. Device Name English Servo ON command OPR execution 30000 pulses setting -30000 pulses setting...
  • Page 46: How To Use The Fb Library

    How to Use the FB Library Select an FB registered in the library from "Element Selection" window, and drag and drop it to the program editor. Create an input ladder and an output ladder of the pasted FB to create a program. Arrange the FB input ladder to the left side, and output ladder to the right side of the window in the same manner as standard ladder programs.
  • Page 47 Link Axis information to the left side of the FB. Link the output to the right side of the FB. Repeat these steps to create the ladder. In this manual, the FB library provided by Mitsubishi Electric is used. For how to set the FB library, refer to the following.
  • Page 48: Program Examples

    Program Examples The following programs are designed to control the servo amplifiers. The programs use the FBs for servo amplifiers compatible with CC-Link IE Field Network Basic. This section provides the sample programs for the station number 1 and station number 2. Initial setting After RUN, ON for 1 scan SM402...
  • Page 49 OPR FB1 Ready to Relative positioning MCv_Home_CCLinkIEFBasic_F_1 OPR execution operate status (executing) MCv_Home_CCLinkIEFBasic_F PowerStatus[1] MoveRelBusy[1] OPR completed Execute Done HomeDone[1] OPR (executing) Busy HomeBusy[1] OPR interrupted CommandAborted HomeCommandAborted[1] OPR (error) Error HomeError[1] Error code ErrorID HomeErrorID[1] Axis information 1 Axis information 1 Axis AxisInfo1 AxisInfo1...
  • Page 50 Setting the speed 20r/min setting 40r/min setting DMOV Speed K2000 Velocity[1] 40r/min setting 20r/min setting DMOV Speed K4000 Velocity[1] 20r/min setting 40r/min setting DMOV Speed Velocity[2] K2000 40r/min setting 20r/min setting DMOV Speed K4000 Velocity[2] Relative positioning Relative positioning FB1 Relative positioning Ready to MC_MoveRelative_CCLinkIEFBasic_F_1...
  • Page 51: Writing Data To The Programmable Controller

    Writing Data to the Programmable Controller Write the programs and the settings to the programmable controller. For how to do it, refer to the following. Page 35 Writing Data to the Programmable Controller Operation Check After writing the programs and the parameters to the programmable controller, check whether the programmable controller and servo amplifiers communicate data properly.
  • Page 52 Servo ON <Check with the LEDs.> Programmable controller Station number 1 Turns on X0 (Servo ON command). Station number 2 Turns on X10 (Servo ON command). Servo amplifiers The SON is lit in FX5S green. CPU module Programmable controller Servo amplifiers operation operation Station number 1 PowerStatus[1] (Ready to operate...
  • Page 53 Executing the relative positioning <Check with MR Configurator2.> Programmable controller Before positioning start 1) Sets a target position. Station number 1 Turns on X2 (30000 pulses setting) or X3 (-30000 pulses setting). Station number 2 Turns on X12 (30000 pulses setting) or X13 (-30000 pulses setting). 2) Sets a command speed.
  • Page 54 How to check the servo amplifier state Place MR Configurator2 online, select [Monitor]  [Display All], and click [Display All]. For how to go online, refer to the following. Page 17 Write to Servo Amplifier The servo amplifier state is quantified and displayed by each item. 5 CREATING PROGRAMS 5.8 Operation Check...
  • Page 55: Chapter 6 Troubleshooting

    TROUBLESHOOTING Checking Procedure This section describes how to check the state of the programmable controller and the servo amplifiers. Check with the LED status Check the communication status with the LEDs of the programmable controller and the servo amplifiers. For the programmable controller, Page 55 Check with the LED status For the servo amplifiers, Page 57 Check with the display LED Check depending on the error Check the following depending on the error that has occurred in the programmable controller or the servo amplifiers.
  • Page 56: Checking The Programmable Controller

    Checking the Programmable Controller Check with the LED status Check the programmable controller status with the LED. Communications without problems: Flashing at high speed Communications with an error: Lit (flickering at a regular interval) Ethernet cable of the programmable controller disconnected: Off Check of error details Go to the menu bar of GX Works3.
  • Page 57 List of error codes The following table lists the error codes related to the CC-Link IE Field Network Basic function. Error code Error name Error details and cause Action CFC0H Cyclic transmission The cyclic transmission cannot be performed Check whether the master stations are properly placed in error (master station) because multiple master stations exist in the same the networks.
  • Page 58: Checking The Servo Amplifiers

    Checking the Servo Amplifiers Check with the display LED The operation status can be checked with the servo status display LED of the servo amplifier. Servo status display LED (SRV) Network status display LED (N/W) For details on the LEDs of the servo amplifier, refer to the following. Page 12 Switch Setting and Display For details on the display of MR-J5-G servo amplifiers, refer to the following.
  • Page 59: Appendices

    APPENDICES Appendix 1 Application Examples of the FB Library The following table lists the FBs included in the FB library for servo amplifiers compatible with CC-Link IE Field Network Basic. Create programs by combining the FBs according to applications. List of FBs for servo amplifiers compatible with CC-Link IE Field Network Basic Name Description MC_Power_CCLinkIEFBasic_F (Ready to operate)
  • Page 60: Appendix 2 Downloading And Registering A Profile

    To register or delete a profile, log on to the personal computer as a user with the administrator privilege, and close the project in advance. To obtain the profile data, please contact your local Mitsubishi Electric representative. Start GX Works3, and select [Tool]  [Profile Management]  [Register].
  • Page 61: Appendix 3 Supplementary Information

    Appendix 3 Supplementary Information Information on servo amplifiers The following are the manuals and sections having information of the MR-J5-G. ■Power supply wiring MR-J5 User's Manual (Hardware) [3 SIGNALS AND WIRING] ■Display MR-J5-G/MR-J5W-G User's Manual (Introduction) [3.2 Switch setting and display of the servo amplifier] ■Parameters MR-J5-G/MR-J5W-G User's Manual (Parameters) ■Link devices (RWr, RWw, RX, RY)
  • Page 62: Revisions

    Front cover, INTRODUCTION, RELEVANT MANUALS, TRADEMARKS 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 63: Warranty

    • Before using the product for special purposes such as nuclear power, electric power, aerospace, medicine or passenger movement vehicles, please contact Mitsubishi Electric sales office. • The product has been manufactured under strict quality control. However, when installing the product where major accidents or losses could occur if the product fails, install appropriate backup or failsafe functions into the system.
  • Page 64 MITSUBISHI ELECTRIC EUROPE B.V. French Branch Tel : +33-1-55-68-55-68 25, Boulevard des Bouvets, 92741 Nanterre Cedex, France Fax : +33-1-55-68-57-57 Czech Republic MITSUBISHI ELECTRIC EUROPE B.V. Czech Branch, Prague Office Tel : +420-255-719-200 Pekarska 621/7, 155 00 Praha 5, Czech Republic Poland MITSUBISHI ELECTRIC EUROPE B.V.

This manual is also suitable for:

Melservo-jet seriesMelservo-j5 series

Table of Contents