Mitsubishi Electric MELSEC iQ-R C User Manual
Mitsubishi Electric MELSEC iQ-R C User Manual

Mitsubishi Electric MELSEC iQ-R C User Manual

Programmable controller intelligent function module
Hide thumbs Also See for MELSEC iQ-R C:

Advertisement

MELSEC iQ-R C Intelligent Function Module
User's Manual (Startup)
-RD55UP06-V

Advertisement

Table of Contents
loading

Summary of Contents for Mitsubishi Electric MELSEC iQ-R C

  • Page 1 MELSEC iQ-R C Intelligent Function Module User's Manual (Startup) -RD55UP06-V...
  • Page 3: Safety Precautions

    SAFETY PRECAUTIONS (Read these precautions before using this product.) Before using this product, please read this manual and the relevant manuals carefully, and pay full attention to safety to handle the product correctly. The precautions given in this manual are concerned with this product only. For the safety precautions for the programmable controller system, refer to the user's manual for the CPU module used.
  • Page 4 [Design Precautions] WARNING ● Configure safety circuits external to the programmable controller to ensure that the entire system operates safely even when a fault occurs in the external power supply or the programmable controller. Failure to do so may result in an accident due to an incorrect output or malfunction. (1) Emergency stop circuits, protection circuits, and protective interlock circuits for conflicting operations (such as forward/reverse rotations or upper/lower limit positioning) must be configured external to the programmable controller.
  • Page 5 [Design Precautions] WARNING ● Do not write any data to the "system area" and "write-protect area" of the buffer memory in the module. Also, do not use any "use prohibited" signals as an output signal from the CPU module to each module.
  • Page 6 [Installation Precautions] WARNING ● Shut off the external power supply (all phases) used in the system before mounting or removing the module. Failure to do so may result in electric shock or cause the module to fail or malfunction. [Installation Precautions] CAUTION ●...
  • Page 7 [Wiring Precautions] CAUTION ● Individually ground the FG and LG terminals of the programmable controller with a ground resistance of 100 ohms or less. Failure to do so may result in electric shock or malfunction. ● Use applicable solderless terminals and tighten them within the specified torque range. If any spade solderless terminal is used, it may be disconnected when the terminal screw comes loose, resulting in failure.
  • Page 8 [Wiring Precautions] CAUTION ● Programmable controllers must be installed in control panels. Connect the main power supply to the power supply module in the control panel through a relay terminal block. Wiring and replacement of a power supply module must be performed by qualified maintenance personnel with knowledge of protection against electric shock.
  • Page 9 [Startup and Maintenance Precautions] CAUTION ● When connecting an external device with a CPU module or intelligent function module to modify data of a running programmable controller, configure an interlock circuit in the program to ensure that the entire system will always operate safely. For other forms of control (such as program modification, parameter change, forced output, or operating status change) of a running programmable controller, read the relevant manuals carefully and ensure that the operation is safe before proceeding.
  • Page 10 [Startup and Maintenance Precautions] CAUTION ● Before handling the module, touch a conducting object such as a grounded metal to discharge the static electricity from the human body. Failure to do so may cause the module to fail or malfunction. [Operating Precautions] CAUTION ●...
  • Page 11: Conditions Of Use For The Product

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

    INTRODUCTION Thank you for purchasing the Mitsubishi MELSEC iQ-R series programmable controllers. This manual describes the performance specifications, procedure before operation, wiring, and operation examples to use the module listed below. Before using this product, please read this manual and the relevant manuals carefully and develop familiarity with the performance of the MELSEC iQ-R series programmable controller to handle the product correctly.
  • Page 13: Table Of Contents

    CONTENTS SAFETY PRECAUTIONS ..............1 CONDITIONS OF USE FOR THE PRODUCT .
  • Page 14: Relevant Manuals

    • Installation For details, refer to the following manual. MELSEC iQ-R Module Configuration Manual e-Manual refers to the Mitsubishi Electric FA electronic book manuals that can be browsed using a dedicated tool. e-Manual has the following features: • Required information can be cross-searched in multiple manuals.
  • Page 15: Terms

    TERMS Unless otherwise specified, this manual uses the following terms. Term Description C Controller module A generic term for MELSEC iQ-R series C Controller modules. C intelligent function module A generic term for MELSEC iQ-R series C intelligent function modules. C intelligent function module dedicated A dedicated function library offered by a C intelligent function module.
  • Page 16: Chapter 1 Part Names

    PART NAMES This chapter shows the part names of a C intelligent function module. Name Description RUN LED Indicates an operating status. • ON: In operation • Flashing (high-speed) : Waiting for the online module change confirmation • Flashing (low-speed) : Initializing (including the execution of the script file, "STARTUP.CMD") •...
  • Page 17 MEMO 1 PART NAMES...
  • Page 18: Chapter 2 Specifications

    SPECIFICATIONS This chapter shows the specifications of C intelligent function modules. Performance Specifications This section shows the performance specifications. Item Specification Hardware Endian format Little endian  Cortex-A9 Dual Core Memory capacity Work RAM 128 MB 12 MB Software VxWorks Version 6.9 Programming language C language (C/C++) SD memory card slot...
  • Page 19: Drive And File Configuration

    Drive and File Configuration This section shows drives and file configuration. Drive configuration The following table shows the drive names and file systems corresponding to memory. Type Memory name Drive name File system Application CPU built-in memory Standard ROM /ROM FAT16 Memory to store user programs, script files, or any file/folder.
  • Page 20 File configuration The following tables show the availability of the files stored in each drive. ■/ROM : Access allowed/Valid, : Access not allowed/Invalid File name Description Storage location Factory After access setting initializat    User program Created by a user /ROM Script file ...
  • Page 21 ■Creating a folder Do not create a folder in the root ("/") of a C intelligent function module. If a folder is created, an error may occur or an unintended folder may be created. (These errors also occur when transferring a folder to the root ("/") from FTP.) ■File names and folder names Use alphanumeric characters and special characters (excluding \, /, *, ?, <, >, |, :, ", $) for a file name and folder name to be stored.
  • Page 22: Chapter 3 Function List

    FUNCTION LIST This chapter shows the functions of C intelligent function modules. Function Description Program related function Device access function To access devices of a CPU module. Label communication function To read/write data from/to labels stored in a CPU module. User program execution function from To execute the registered user program by a dedicated instruction from a CPU module.
  • Page 23 MEMO 3 FUNCTION LIST...
  • Page 24: Chapter 4 Procedure Before Operation

    PROCEDURE BEFORE OPERATION This chapter shows the procedure before operation of a C intelligent function module. Mounting modules on a base unit Do not use an electric screwdriver to attach and remove module fixing screws. Inserting an SD memory card (Page 33 Inserting and removing an SD memory card) Insert an SD memory card if necessary.
  • Page 25: Setting Parameters

    Setting Parameters Set parameters with an engineering tool. Parameters can be set in CW Configurator with the following procedure. However, the settings regarding program language and module labels are not available. Startup method Operating procedure Start an engineering tool.  [MELSOFT] ...
  • Page 26 Add a C intelligent function module. Item Description Module Type Select "Information Module". Module Name Select "RD55UP06-V". Mounting Slot No. Select the slot number where the C intelligent function module is mounted. Start I/O No. If "Start I/O No." of the C intelligent function module is not specified, select "Not Set", and if specified, select "Set". Specification Start I/O No.
  • Page 27: Creating User Program

    For details on the dedicated function library of the C intelligent function module, refer to the following manual. MELSEC iQ-R C Intelligent Function Module Programming Manual MELSEC iQ-R C Controller Module/C Intelligent Function Module Programming Manual (Data Analysis) For details on sample programs, please consult your local Mitsubishi representative.
  • Page 28 ■User program execution Execute a user program by starting a task from the script file. The system may malfunction if the user program is executed without the task being started. ■Startup of a task performing floating-point operations Always specify the VX_FP_TASK option for the third argument of taskSpawn when activating the following tasks. •...
  • Page 29 ■Settings of IP address Set the IP address of the C intelligent function module using an engineering tool. If it is set by a user program, the network may be no longer functional properly. ■Considerations for interrupt service routine Fully understand the specifications on VxWorks, operating system of a C intelligent function module, before creating a routine which will be executed in an interrupt service routine.
  • Page 30: Checking Vxworks Image File

    Checking VxWorks image file Check that VxWorks image files of the personal computer and C intelligent function module are in the same version before debugging the user program. The image files of different version cannot debug normally. (1) VxWorks image file (2) Same version Checking method The checking methods for the VxWorks image file are shown below.
  • Page 31: Creating A Script File

    Creating a script file A script file "STARTUP.CMD" is a file to describe the loading destination of a user program which starts when starting a C intelligent function module and the starting order of tasks. Considerations for creating a script file ■Starting a user program Describe a command so that a user program is executed by activating the task *1 Priority: 100 to 255...
  • Page 32 Example of script file description The following shows an example to load a user program in the standard ROM and SD memory card using a script file in the standard ROM. ■Storage file Memory File storage destination File name Description path Standard ROM /ROM...
  • Page 33: Registering A User Program

    Registering a user program This section shows the procedure to register a user program. Describe the loading destination of the user program which starts at the time of the C intelligent function module startup in the script file "STARTUP.CMD". Write the script files and user program file to the C intelligent function module. Reset the CPU module, or turn the power OFF and ON.
  • Page 34 ■When writing files from an SD memory card by copying with a command in a script file The following shows the procedure to copy files in an SD memory card by using a command in a script file. Copy a file in the SD memory card in the following cases. •...
  • Page 35: Sd Memory Card

    SD Memory Card This section explains the SD memory card which is to be inserted in the C intelligent function module. For the usable SD memory card, refer to the following section. Page 35 Connected Device Configuration Inserting and removing an SD memory card Insert or remove an SD memory card by following the procedure below.
  • Page 36: Chapter 5 System Configuration

    SYSTEM CONFIGURATION This chapter shows the system configuration of a C intelligent function module. For system configurations applicable for MELSEC iQ-R series and the number of mountable CPU modules when using a C intelligent function module, refer to the following manual. MELSEC iQ-R Module Configuration Manual Overall System Configuration This section shows the overall system configuration using a C intelligent function module.
  • Page 37: Connected Device Configuration

    Connected Device Configuration This section shows the device that can be mounted on a C intelligent function module. SD memory card (need to purchase separately) Only one SD memory card can be inserted in a single C intelligent function module. Use one of the following SD memory cards manufactured by Mitsubishi.
  • Page 38: Chapter 6 Wiring

    WIRING Wiring of an Ethernet cable This section shows the procedure for connecting and disconnecting Ethernet cables. Ethernet Cable An Ethernet cable compliant with IEEE802.3 1000BASE-T/100BASE-TX/10BASE-T standards can be used. Transmission rate Unshielded twisted pair cable (UTP cable) Shielded twisted pair cable (STP cable) Straight cable Crossing cable 1 Gbps...
  • Page 39 Precautions ■Considerations for IP address setting The following shows the considerations for setting IP address. • Set the same value for the network portion of the IP addresses for the target device to be connected and the Ethernet port. • Do not set the IP address for a C intelligent function module with a user program. ■Considerations for Ethernet device connection The following shows the considerations for connecting Ethernet devices.
  • Page 40: Chapter 7 Operation Examples

    OPERATION EXAMPLES This chapter shows the examples for operating USER LED using a C intelligent function module dedicated function by the system on which a C intelligent function module is used. (Page 22 PROCEDURE BEFORE OPERATION) The USER LED of the C intelligent function module flashes as shown in the following operation example: •...
  • Page 41 Use the initial parameters when adding modules in the operation example. For details on the parameters, refer to the following manual. MELSEC iQ-R C Intelligent Function Module User's Manual (Application) Write the parameters to the CPU module, and reset the CPU module, or turn the power OFF and ON.
  • Page 42 Creating a user program The following shows the procedure for creating a user program. Source codes to be used in the operation example are as follows: ■Header file/function to be used Header file/function Description CITLFunc.h A header file of a C intelligent function module dedicated function. CITL_SetLEDStatus A function that sets the LED status of a C intelligent function module.
  • Page 43 MEMO 7 OPERATION EXAMPLES...
  • Page 44: Appendix

    APPENDIX Appendix 1 External Dimensions The following figure shows the external dimensions of a C intelligent function module. 27.8 (Unit: mm) APPX Appendix 1 External Dimensions...
  • Page 45 MEMO APPX Appendix 1 External Dimensions...
  • Page 46: Index

    INDEX ....13 ......14 C intelligent function module USER LED .
  • Page 47 MEMO...
  • Page 48: Revisions

    Japanese manual number: SH-081563-E 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 49: 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 50: Trademarks

    TRADEMARKS The SD and SDHC logos are trademarks of SD-3C, LLC. VxWorks and Wind River are either registered trademarks or trademarks of Wind River Systems, Inc. Windows is either a registered trademark or a trademark of Microsoft Corporation in the United States and/or other countries. The company names, system names and product names mentioned in this manual are either registered trademarks or trademarks of their respective companies.
  • Page 52 SH(NA)-081566ENG-E(1809)KWIX MODEL: RD55UP06-V-U-IN-E MODEL CODE: 13JX42 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