Mitsubishi QD60P8-G User Manual
Mitsubishi QD60P8-G User Manual

Mitsubishi QD60P8-G User Manual

Melsec-q series, channel isolated pulse input module
Table of Contents

Advertisement

Quick Links

Advertisement

Table of Contents
loading

Summary of Contents for Mitsubishi QD60P8-G

  • Page 3 • SAFETY PRECAUTIONS • (Always read these instructions before using this equipment.) Before using this product, please read this manual and the relevant manuals introduced in this manual carefully and pay full attention to safety to handle the product correctly. The instructions given in this manual are concerned with this product.
  • Page 4 [Installation Precautions] CAUTION • Use the programmable controller in an environment that meets the general specifications contained in the CPU module User's Manual. Using this programmable controller in an environment outside the range of the general specifications may cause electric shock, fire, malfunction, and damage to or deterioration of the product.
  • Page 5 [Wiring Precautions] CAUTION • When removing the cable from the module, do not pull the cable. When disconnecting a cable without a terminal block, unscrew on the part that is connected to the module. Pulling the cable that is still connected to the module may cause malfunction or damage to the module or cable.
  • Page 6 [Disposal Precautions] CAUTION • When disposing of the product, handle it as industrial waste. A - 4 A - 4...
  • Page 7: Revisions

    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 8: Table Of Contents

    2 SYSTEM CONFIGURATION 2- 1 to 2- 6 2.1 Applicable Systems..........................2- 1 2.2 About Use of the QD60P8-G with the Q12PRH/Q25PRHCPU ............. 2- 4 2.3 How to Check the Function Version and the Software Version ............. 2- 5 3 SPECIFICATIONS 3- 1 to 3- 14 3.1 Performance Specifications ........................
  • Page 9 5 DETAILS AND SETTING OF FUNCTIONS 5- 1 to 5- 17 5.1 Count Operation............................5- 1 5.1.1 Pulse input method ........................... 5- 1 5.1.2 Input pulse count operation....................... 5- 2 5.1.3 Count value reading .......................... 5- 3 5.1.4 Count cycle changing........................5- 4 5.2 Count Type Selection..........................
  • Page 10 9 TROUBLESHOOTING 9- 1 to 9- 11 9.1 Troubleshooting ............................9- 1 9.1.1 Confirming the error definitions using system monitor of GX Developer ........9- 3 9.2 Error Details.............................. 9- 5 9.3 List of Errors ............................. 9- 8 APPENDIX Appendix- 1 to Appendix - 2 Appendix 1 External Dimension Diagram ..................Appendix - 1 INDEX Index - 1 to Index - 3...
  • Page 11: Using This Manual

    (6) To perform initial setting, etc. from the optional utility package (Chapter 6) Chapter 6 gives the method for operating the utility package. (7) To know the example of operating the QD60P8-G using a sequence program (Chapter 7) Chapter 7 provides a sequence program example.
  • Page 12: Compliance With The Emc And Low Voltage Directives

    Details of generic term/abbreviation QD60P8-G Abbreviation for type QD60P8-G Channel Isolated Pulse Input Module. Programmable controller CPU Generic term for programmable controller CPU on which QD60P8-G can be mounted. Personal computer DOS/V-compatible personal computer of IBM PC/AT or its compatible.
  • Page 13: Component List

    Component List The component list of this product is given below. Type Component Quantity QD60P8-G Type QD60P8-G Channel Isolated Pulse Input Module SW0D5C-QCTU-E GX Configurator-CT Version 1 (1-license product) (CD-ROM) SW0D5C-QCTU-EA GX Configurator-CT Version 1 (Volume-license product) (CD-ROM) A - 11...
  • Page 14 MEMO A - 12 A - 12...
  • Page 15: Overview

    Channel Isolated Pulse Input Module (QD60P8-G) used with the MELSEC-Q series programmable controller CPU. The QD60P8-G counts the input pulse number (speed, rotation speed, instant flux or similar) and measures the quantity the length, accumulating flux and so forth. The input pulse value is updated every 10ms.
  • Page 16 1 OVERVIEW MELSEC-Q Sampling pulse number indication The value obtained by performing pre-scale conversion on the pulse number entered in the count cycle set to the count cycle setting value is displayed. If the input pulse number is not uniform, movement averaging processing can be performed to average the input pulse number.
  • Page 17 1 OVERVIEW MELSEC-Q (5) Online module change It is possible to change the module without stopping the system. (6) Easy setting by utility package Utility package (GX Configurator-CT) is sold separately. The utility package enables the initial setting and auto refresh setting to be made on the screen, reducing the sequence programs as well as resulting in easy monitoring of the setting and operating status.
  • Page 18 1 OVERVIEW MELSEC-Q MEMO 1 - 4 1 - 4...
  • Page 19: System Configuration

    2 SYSTEM CONFIGURATION MELSEC-Q CHAPTER 2 SYSTEM CONFIGURATION This chapter explains the system configuration of the QD60P8-G. 2.1 Applicable Systems This section describes the applicable systems. (1) Applicable modules and base units, and No. of modules (a) When mounted with a CPU module The table below shows the CPU modules and base units applicable to the QD60P8-G and quantities for each CPU model.
  • Page 20 *1: Limited within the range of I/O points for the CPU module. *2: Can be installed to any I/O slot of a base unit. *3: Use the QD60P8-G module whose serial No. (first five digits) is 09012 or later. (b) Mounting to a MELSECNET/H remote I/O station The table below shows the network modules and base units applicable to the QD60P8-G and quantities for each network module model.
  • Page 21 2 SYSTEM CONFIGURATION MELSEC-Q (2) Support of the multiple CPU system When using the QD60P8-G in a multiple CPU system, refer to the following manual first. • QCPU User's Manual (Multiple CPU System) Write intelligent function module parameters to the control CPU of the QD60P8-G only.
  • Page 22: About Use Of The Qd60P8-G With The Q12Prh/Q25Prhcpu

    2 SYSTEM CONFIGURATION MELSEC-Q 2.2 About Use of the QD60P8-G with the Q12PRH/Q25PRHCPU Here, use of the QD60P8-G with the Q12PRH/Q25PRHCPU is explained. (1) GX Configurator-CT connection GX Configurator-CT cannot be used when accessing the Q12PRH/Q25PRHCPU via an intelligent function module on an extension base unit from GX Developer.
  • Page 23: How To Check The Function Version And The Software Version

    MELSEC-Q 2.3 How to Check the Function Version and the Software Version This function version of the QD60P8-G and the software version of the GX Configuration-CT can be checked in the following methods. (1) Checking the function version of the QD60P8-G (a) Method using the rated plate on the module side face Check the alphabet at the end of "SERIAL"...
  • Page 24 2 SYSTEM CONFIGURATION MELSEC-Q POINT The serial No. on the rating plate may be different from the serial No. displayed on the product information screen of GX Developer. • The serial No. on the rating plate indicates the management information of the product.
  • Page 25: Specifications

    This chapter explains the performance specifications of the QD60P8-G, the I/O signals for the programmable controller CPU, and the specifications of the buffer memory. For the general specifications of the QD60P8-G, refer to the User's Manual of the used CPU module.
  • Page 26 3 SPECIFICATIONS MELSEC-Q <Rise/Fall time and the corresponding counting speed switch settings> Counting speed switch settings Rise/Fall Time 30kpps 10kpps 1kpps 100pps 50pps 10pps 1pps 0.1pps t = 8.4µs or less 30kpps 10kpps 1kpps 100pps 50pps 10pps 1pps 0.1pps t = 25µs or less 10kpps 10kpps 1kpps...
  • Page 27: List Of Functions

    3 SPECIFICATIONS MELSEC-Q 3.2 List of Functions The following table indicates the QD60P8-G functions. Name Details Reference This function counts from 0 to 99999999 and detects an overflow Linear counter function Section 5.2.1 when the count range is exceeded. Ring counter function This function repeats counting between 0 and 99999999.
  • Page 28: I/O Signals For Programmable Controller Cpu

    CPU. The I/O numbers (X/Y) and I/O addresses indicated in this chapter and later assume that the QD60P8-G is installed on the I/O slot No. 0 of the main base unit. Input signal (Signal direction: Output signal (Signal direction:...
  • Page 29: Details Of I/O Signals

    Initial Device Signal name Details value • This signal judges whether the QD60P8-G is normal or OFF: Not abnormal in the sequence program. This signal turns ON Prepared/ when the module starts normally at power-on or reset Module READY Watch dog operation.
  • Page 30 • Once turned OFF, this signal does not turn ON until the OFF: Accumulating accumulating count value reaches the comparison output count value setting value again after it has been reset. Comparison Executed by QD60P8-G Accumulating output setting Executed by sequence program counter value...
  • Page 31 3 SPECIFICATIONS MELSEC-Q (2) Details of output signals (programmable controller CPU QD60P8-G) The following table indicates the ON/OFF timings and functions of the output signals. Initial Device Signal name Details value • This signal turns ON to make the "comparison output setting value"...
  • Page 32: Buffer Memory

    3.4 Buffer Memory 3.4.1 List of buffer memory assignments The following table indicates the assignment of the QD60P8-G buffer memory. Refer to Section 3.4.2 for details of the buffer memory areas. The initial values are set to the buffer memory at power-on or when the programmable controller CPU is reset.
  • Page 33: Details Of Buffer Memory

    3 SPECIFICATIONS MELSEC-Q 3.4.2 Details of buffer memory The following table indicates the functions and setting values of the buffer memory areas. Initial Buffer memory address Item Details value CH1 CH2 CH3 CH4 CH5 CH6 CH7 CH8 • Stores the pulse number obtained by converting the input pulses into the unit pulse number using the pre-scale function.
  • Page 34 3 SPECIFICATIONS MELSEC-Q Initial Buffer memory address Item Details value CH1 CH2 CH3 CH4 CH5 CH6 CH7 CH8 • When "movement averaging processing" is set in the movement averaging processing selection, movement averaging processing is performed on the "sampling pulse number" of the buffer memory by the number of times set in the "number of movement averaging processing"...
  • Page 35 3 SPECIFICATIONS MELSEC-Q Initial Buffer memory address Item Details value CH1 CH2 CH3 CH4 CH5 CH6 CH7 CH8 • Set the pre-scale setting value. • The pre-scale function calculates the "sampling pulse number" of the buffer memory with the following operation formula: Sampling pulse number = input pulse value per count cycle pre-scale setting value...
  • Page 36 3 SPECIFICATIONS MELSEC-Q Initial Buffer memory address Item Details value CH1 CH2 CH3 CH4 CH5 CH6 CH7 CH8 • Setting "1" in the counter reset request resets the "sampling pulse number", "accumulating count value" or "input pulse value" of the buffer memory. •...
  • Page 37 3 SPECIFICATIONS MELSEC-Q Initial Buffer memory address Item Details value CH1 CH2 CH3 CH4 CH5 CH6 CH7 CH8 • Set the alarm output setting values (upper/upper limit, Alarm output upper/lower limit, lower/upper limit, lower/lower limit). setting value 115 147 179 211 243 •...
  • Page 38: Interface With External Devices

    3 SPECIFICATIONS MELSEC-Q 3.5 Interface with External Devices The internal circuit of the QD60P8-G interface for connection of external devices is shown in a schematic diagram. Input voltage Operating current Input/ Terminal Internal circuit Signal name Operation (guaranteed (guaranteed Output...
  • Page 39: Setup And Procedure Before Operation

    4 SETUP AND PROCEDURE BEFORE OPERATION MELSEC-Q CHAPTER 4 SETUP AND PROCEDURE BEFORE OPERATION The following describes the procedure prior to the QD60P8-G operation, the name and setting of each part of the QD60P8-G, and wiring method. 4.1 Handling Precautions The following are the precautions for handling the QD60P8-G.
  • Page 40: Procedure Before Operation

    The figure below shows the steps that should be followed before starting the QD60P8- G operation. Start Module mounting Mount the QD60P8-G in the specified slot. Wiring Wire the QD60P8-G. Intelligent function module switch setting Perform settings using the GX Developer (Refer to Section 4.5).
  • Page 41: Part Identification Nomenclature

    4 SETUP AND PROCEDURE BEFORE OPERATION MELSEC-Q 4.3 Part Identification Nomenclature (1) Part identification nomenclature The following are the part names of the QD60P8-G. QD60P8-G ERR. (FG) 5/12- 24VDC (2) LED Display The LEDs turn ON/OFF as described below depending on the operating status of the module.
  • Page 42: Wiring

    Failure to do so will make the cables susceptible to noise, surges and induction. (3) If there may be the effect of noise when a cable to be connected to the QD60P8-G and the power line are installed close to each other, use a general shielded twisted pair cable as a countermeasure against noise.
  • Page 43 4 SETUP AND PROCEDURE BEFORE OPERATION MELSEC-Q (6) To comply with the EMC Directive and Low-Voltage Directive, always ground the QD60P8-G to the control box using shielded twisted pair cables and AD75CK cable clamping (Mitsubishi Electric make). Inside control box 20cm (7.88 inch)
  • Page 44: Wiring Example

    MELSEC-Q 4.4.2 Wiring example This section shows an example of wiring the QD60P8-G and pulse generator. In the wiring example of this section, only CH1 is wired. Also, in this example, the voltage of the external power supply is 24VDC as the electrical specifications of the pulse generator.
  • Page 45 4 SETUP AND PROCEDURE BEFORE OPERATION MELSEC-Q (2) Wiring example with a sink logic type pulse generator (a) For transistor output QD60P8-G Pulse generator Shielded twisted pair cable CH1 V+ CH1 V- 24VDC power supply (b) For contact output QD60P8-G...
  • Page 46: Switch Setting For Intelligent Function Module

    4 SETUP AND PROCEDURE BEFORE OPERATION MELSEC-Q 4.5 Switch Setting for Intelligent Function Module Settings for QD60P8-G input voltage selection, pulse edge selection, linear counter or ring counter selection, and input filter setting can be made by the GX Developer intelligent function module switch setting.
  • Page 47 4 SETUP AND PROCEDURE BEFORE OPERATION MELSEC-Q Switch No. Setting items Setting details/bit assignment Default value Meaning Setting items CH1 Input filter 0:30kpps 1:10kpps Input filter setting Switch 3 2:1kpps 0000 CH2 Input filter (CH1 to CH4) 3:100pps 4:50pps CH3 Input filter 5:10pps 6:1pps 7:0.1pps...
  • Page 48 : Select 32 points. Start XY : Enter the start I/O signal for the QD60P8-G. (b) Switch setting for I/O and intelligent function module Click on Switch setting on the I/O assignment setting screen to display the screen at left and set switches 1 to 4.
  • Page 49: Details And Setting Of Functions

    5.1 Count Operation 5.1.1 Pulse input method The pulse input method of the QD60P8-G is 1-phase input and addition count. (Subtraction count is not available.) However, it is allowed to set whether pulses will be counted on the rise or fall by using the intelligent function module switches. Refer to Section 4.5 for details of the switch settings of intelligent function module.
  • Page 50: Input Pulse Count Operation

    (The update timing of the "input pulse value" of the buffer memory is fixed at 10ms.) REMARK In the pulse count operation of the QD60P8-G, is delayed due to the control cycle (10ms). Refer to Section 5.9 for details. 5 - 2...
  • Page 51: Count Value Reading

    5 DETAILS AND SETTING OF FUNCTIONS MELSEC-Q 5.1.3 Count value reading This section explains how to read the count values (sampling pulse number, accumulating count value, input pulse value) stored in the buffer memory. The accumulating count value and input pulse value are stored in the buffer memory as two words (32 bits).
  • Page 52: Count Cycle Changing

    5 DETAILS AND SETTING OF FUNCTIONS MELSEC-Q 5.1.4 Count cycle changing This section describes how to change the count cycles of the sampling pulse number and accumulating count value. To change the count cycle, set "1: Count cycle change function selection valid" in the "count cycle change function selection"...
  • Page 53: Count Type Selection

    The linear counter can be used with the comparison output function (refer to Section 5.4), pre-scale function (refer to Section 5.6), movement averaging function (refer to Section 5.7) and alarm output function (refer to Section 5.8). Executed by QD60P8-G Executed by sequence program Accumulating count value*...
  • Page 54 5 DETAILS AND SETTING OF FUNCTIONS MELSEC-Q • Overflow error An overflow error (error code: 100) occurs if the "accumulating count value" of the buffer memory exceeds 99999999 when the count type is the linear counter. If the overflow error occurs, count operation is stopped, and the "accumulating count value"...
  • Page 55: Ring Counter Operation

    The ring counter can be used with the comparison output function (refer to Section 5.4), pre-scale function (refer to Section 5.6), movement averaging function (refer to Section 5.7) and alarm output function (refer to Section 5.8). Executed by QD60P8-G Executed by sequence program Accumulating count value*...
  • Page 56 5 DETAILS AND SETTING OF FUNCTIONS MELSEC-Q Buffer memory address Item Read value/Setting value Accumulating count value 0 to 99999999 0: No carry over detection (OFF) Carry over detection flag 1: Carry over detection (ON) 1: Reset request (The value automatically turns Carry over reset request to "0"...
  • Page 57: Input Pulse Value

    5 DETAILS AND SETTING OF FUNCTIONS MELSEC-Q 5.3 Input Pulse Value The pulse number entered into the QD60P8-G is stored into the "input pulse value" of the buffer memory. This value is counted when the count enable (Y18 to Y1F) is ON.
  • Page 58: Comparison Output Function

    5 DETAILS AND SETTING OF FUNCTIONS MELSEC-Q 5.4 Comparison Output Function The comparison output function compares any count value set in the "comparison output setting value" of the buffer memory with the "accumulating count value" of the buffer memory, and if the "accumulating count value" is equal to or greater than the "comparison output setting value", turns ON the accumulating counter comparison flag (X10 to X17).
  • Page 59 5 DETAILS AND SETTING OF FUNCTIONS MELSEC-Q Outline of comparison output function operation The following gives the outline of the comparison output function operation. (For CH1) Operating condition setting complete flag (X1) Comparison output setting value 1200 (Buffer memory address:2,3) Count enable Count indication start (Y18)
  • Page 60: Counter Reset Function

    5 DETAILS AND SETTING OF FUNCTIONS MELSEC-Q 5.5 Counter Reset Function Setting "1" in the "counter reset request" of the buffer memory resets the "sampling pulse number", "accumulating count value" or "input pulse value" of the buffer memory. Buffer memory address Item Setting value 1: Reset request...
  • Page 61: Pre-Scale Function

    5 DETAILS AND SETTING OF FUNCTIONS MELSEC-Q 5.6 Pre-scale Function The pre-scale function converts the input pulse number into the unit pulse number when its weight per pulse is a fraction. The pre-scale function converts the input pulse value per count cycle into the unit pulse number using the following operation formula.
  • Page 62: Movement Averaging Function

    5 DETAILS AND SETTING OF FUNCTIONS MELSEC-Q 5.7 Movement Averaging Function The movement averaging function averages the values of the sampling pulse number, which were imported in the count cycle (refer to Section 5.1.4), by the specified number of times to calculate the average value. This function is used when variations occur in the values of the sampling pulse number.
  • Page 63: Alarm Output Function

    5 DETAILS AND SETTING OF FUNCTIONS MELSEC-Q 5.8 Alarm Output Function With "alarm output function valid" set in the "alarm output selection" of the buffer memory, the alarm output function outputs an alarm if the "sampling pulse number" of the buffer memory exceeds the upper/upper limit value or lower/lower limit value.
  • Page 64 5 DETAILS AND SETTING OF FUNCTIONS MELSEC-Q Outline of alarm output function operation The following gives the outline of the alarm output function operation. • Example of alarm output operation Upper/ upper limit value Upper/ lower limit value Count cycle Lower/ upper limit value Lower/ lower limit value Alarm output flag...
  • Page 65: Count Response Delay Time

    MELSEC-Q 5.9 Count Response Delay Time The count value of the QD60P8-G is delayed for the following reasons. Please take this into consideration when using the module as a counter. • A delay occurs due to the scan time of a sequence program at the time of count start processing using the count enable (Y18 to Y1F).
  • Page 66: Utility Package (Gx Configurator-Ct)

    (The initially set data are registered to the programmable controller CPU parameters, and when the programmable controller CPU is set to the RUN status, they are written to the QD60P8-G automatically.) Set the buffer memory batch to be automatically refreshed for each channel of the QD60P8-G.
  • Page 67: Installing And Uninstalling The Utility Package

    6 UTILITY PACKAGE (GX Configurator-CT) MELSEC-Q 6.2 Installing and Uninstalling the Utility Package For how to install or uninstall the utility package, refer to "Method of installing the MELSOFT Series" included in the utility package. 6.2.1 Handling precautions The following explains the precautions on using the Utility package. (1) For safety Since utility is add-in software for GX Developer, read "Safety Precautions"...
  • Page 68 The number of parameters that can be set for one module in GX Configurator-CT is as shown below. Target Module Initial setting Auto refresh setting QD60P8-G 24 (Fixed) 8 (Max.) (Example) Counting the number of parameter settings in Auto refresh setting This one row is counted as one setting.
  • Page 69: Operating Environment

    6 UTILITY PACKAGE (GX Configurator-CT) MELSEC-Q 6.2.2 Operating environment This section explains the operating environment of the personal computer that runs GX Configurator-CT. Item Description Installation (Add-in) target * Add-in to GX Developer Version 4 (English version) or later* Computer Windows -based personal computer Refer to the following table "Used operating system and performance required for...
  • Page 70 6 UTILITY PACKAGE (GX Configurator-CT) MELSEC-Q Operating system and performance required for personal computer Performance Required for Personal computer Operating system Memory Windows Pentium 133MHz or more 32MB or more Windows Pentium 133MHz or more 32MB or more Windows Pentium 150MHz or more 32MB or more Windows NT...
  • Page 71: Utility Package Operation

    6 UTILITY PACKAGE (GX Configurator-CT) MELSEC-Q 6.3 Utility Package Operation 6.3.1 Common utility package operations (1) Control keys Special keys that can be used for operation of the utility package and their applications are shown in the table below. Application Cancels the current entry in a cell.
  • Page 72 6 UTILITY PACKAGE (GX Configurator-CT) MELSEC-Q 3) From GX Developer, select: [Online] [Read from PLC] / [Write to PLC] "Intelligent function module parameters" Alternatively, from the intelligent function module selection screen of the utility, select: [Online] [Read from PLC] / [Write to PLC] <Text files>...
  • Page 73: Operation Overview

    6 UTILITY PACKAGE (GX Configurator-CT) MELSEC-Q 6.3.2 Operation overview GX Developer screen [Tools] - [Intelligent function utility] - [Start] Screen for selecting a target intelligent function module Enter "Start I/O No.", and select "Module type" and "Module model name". Refer to Section 6.3.3 To the next page 1) Initial setting Auto refresh...
  • Page 74 6 UTILITY PACKAGE (GX Configurator-CT) MELSEC-Q From the previous page 1) [Online] - [Monitor/Test] Selecting monitor/test module screen Select a module to be monitored/tested. Monitor/Test Monitor/Test screen Refer to Section 6.6 6 - 9 6 - 9...
  • Page 75: Starting The Intelligent Function Module Utility

    6 UTILITY PACKAGE (GX Configurator-CT) MELSEC-Q 6.3.3 Starting the intelligent function module utility [Operating procedure] Intelligent function module utility is started from GX Developer. [Tools] [Intelligent function utility] [Start] [Setting screen] [Explanation of items] (1) Activation of other screens Following screens can be displayed from the intelligent function module utility screen.
  • Page 76 (b) Set a target programmable controller CPU in GX Developer: [Online] [Transfer setup]. (c) When mounting the QD60P8-G on a remote I/O station, use Read from PLC and Write to PLC of GX Developer. (3) Checking the required utility While the start I/O is displayed on the Intelligent function module utility setting screen, "...
  • Page 77: Initial Setting

    6 UTILITY PACKAGE (GX Configurator-CT) MELSEC-Q 6.4 Initial Setting [Purpose] Make initial setting for operating the QD60P8-G for each channel. There are the following setting items as the initial setting data (buffer memory). • Comparison output selection • Alarm output setting value upper/upper limit •...
  • Page 78 6 UTILITY PACKAGE (GX Configurator-CT) MELSEC-Q [Explanation of items] (1) Command buttons Make text file Creates a file containing the screen data in text file format. End setup Saves the set data and ends the operation. Cancel Cancels the setting and ends the operation. POINT Initial settings are stored in the intelligent function module parameters.
  • Page 79: Auto Refresh Setting

    6 UTILITY PACKAGE (GX Configurator-CT) MELSEC-Q 6.5 Auto Refresh Setting [Purpose] Set the QD60P8-G buffer memory to be automatically refreshed, for each channel. There are the following buffer memory items to be automatically refreshed for each channel. • Sampling pulse number •...
  • Page 80 6 UTILITY PACKAGE (GX Configurator-CT) MELSEC-Q [Explanation of items] (1) Items Module side Buffer : Displays the buffer memory size of the setting item. size Module side : Displays the number of words to be transferred. Transfer word count Transfer direction : "...
  • Page 81: Monitoring/Test

    6 UTILITY PACKAGE (GX Configurator-CT) MELSEC-Q 6.6 Monitoring/Test [Purpose] Start buffer memory monitoring/testing and I/O signal monitoring/testing from this screen. [Operating procedure] "Select monitor/test module" screen "Start I/O No.*" "Module type" "Module model name" Monitor/test * Enter the start I/O No. in hexadecimal. The screen can also be started from System monitor of GX Developer Version 6 or later.
  • Page 82 6 UTILITY PACKAGE (GX Configurator-CT) MELSEC-Q [Explanation of items] (1) Items Setting item : Displays I/O signals and buffer memory names. Current value : Monitors the I/O signal states and present buffer memory values. Setting value : Enter or select values to be written into the buffer memory for test operation.
  • Page 83 6 UTILITY PACKAGE (GX Configurator-CT) MELSEC-Q (Example) Click this button after selecting "Error reset request" in the setting (value) field of "Error reset request" on the X/Y Monitor/Test screen. Select "Error reset request" Place cursor at "Error reset request" Click Execute test Perform similar operation also for the "Operating condition setting request flag".
  • Page 84: Programming

    MELSEC-Q CHAPTER 7 PROGRAMMING This chapter describes a sequence program for use of the QD60P8-G. Using the utility package (GX Configurator-CT), the QD60P8-G can operate the system without using a sequence program. Refer to Chapter 6 for details of how to operate the utility package (GX Configurator-CT).
  • Page 85: Programming Procedure

    This section explains the programming procedure for the QD60P8-G. In the following procedure, create the program that performs the initial setting of the QD60P8-G, then turns ON the operating condition setting request flag (Y1), and turns ON the count enable (Y18 to Y1F) to start count operation.
  • Page 86: For Use In Normal System Configuration

    System configuration used in the program explanation (1) System configuration (2) Program conditions The program performs the initial setting of the CH1 of the QD60P8-G, then turns ON the operating condition setting request flag (Y1), and turns ON the count enable (Y18) to start count operation.
  • Page 87 In Section 7.2.1 program example, the used devices are assigned as indicated in the following table. The I/O numbers for QD60P8-G indicate those when QD60P8-G is mounted in the 0-slot of the main base unit. If it is mounted in the slot other than the 0-slot of the main base unit, change the I/O number to that for the position where QD60P8-G was installed.
  • Page 88: Program Example

    7 PROGRAMMING MELSEC-Q 7.2.1 Program example Initial setting start Comparison output selection Comparison output setting value Movement averaging processing selection Number of movement averaging processing Pre-scale function selection Pre-scale setting value Alarm output selection Alarm output setting value upper/upper limit Alarm output setting value upper/lower limit Alarm output setting value...
  • Page 89 7 PROGRAMMING MELSEC-Q Read of error code Turn ON the error reset request Turn OFF the error reset request Read of overflow detection flag Counter reset request Turn ON the counter reseting Turn OFF the counter reseting Read of carry over detection flag Set "1"...
  • Page 90: For Use On Remote I/O Network

    X/Y11F X/Y13F (2) Program conditions The program performs the initial setting of the CH1 of the QD60P8-G, then turns ON the operating condition setting request flag (Y121), and turns ON the count enable (Y138) to start count operation. Set the input voltage selection, pulse edge selection, linear counter/ring counter selection and input filter setting using the intelligent function module switch of GX Developer.
  • Page 91 In Section 7.3.1 program example, the used devices are assigned as indicated in the following table. The I/O numbers for QD60P8-G indicate those when QD60P8-G is mounted on Slot 2 of the remote I/O station. If it is mounted on the slot other than Slot 2 of the remote I/O station, change the I/O numbers to those for the position where QD60P8-G was installed.
  • Page 92: Program Example

    7 PROGRAMMING MELSEC-Q 7.3.1 Program example Master station baton pass status check Master station data link status check Remote I/O station baton pass status check Remote I/O station data link status check Remote I/O station parameter communication status check Master module status check Comparison output selection Comparison output setting value Movement averaging...
  • Page 93 7 PROGRAMMING MELSEC-Q Write to buffer memory Turn ON the operating condition setting request flag (Y121) Turn ON the operation condition setting request flag (Y121) for 11ms Turn OFF the operation condition setting request flag (Y121) Read of buffer memory Turn ON the count enable (Y138) Turn OFF the count enable (Y138) Turn ON the comparison signal...
  • Page 94 7 PROGRAMMING MELSEC-Q Turn ON the carry over reseting Turn OFF the carry over reseting Read of sampling pulse number Read of alarm output flag Read of accumulating count value Read of input pulse value 7 - 11 7 - 11...
  • Page 95 7 PROGRAMMING MELSEC-Q MEMO 7 - 12 7 - 12...
  • Page 96: Online Module Change

    8 ONLINE MODULE CHANGE MELSEC-Q CHAPTER 8 ONLINE MODULE CHANGE When changing a module online, carefully read the QCPU User's Manual (Hardware Design, Maintenance and Inspection), section 12.4.1 "Online module change". This chapter describes the functions of an online module change. Perform an online module change by operating GX Developer.
  • Page 97: Online Module Change Conditions

    8 ONLINE MODULE CHANGE MELSEC-Q 8.1 Online Module Change Conditions The programmable controller CPU, MELSECNET/H remote I/O module, GX Developer and base unit given below are needed to perform an online module change. (1) Programmable controller CPU The Process CPU is required. For precautions for multiple CPU system configuration, refer to the QCPU User's Manual (Multiple CPU System).
  • Page 98: Online Module Change Operations

    GX Developer to make the module dismountable. Dismount the corresponding module (QD60P8-G). (3) Mounting of new module Mount a new module (QD60P8-G). X/Y refresh resumes and the module starts. RUN LED turns ON. After mounting the module, Default operation...
  • Page 99: Online Module Change Procedure

    8 ONLINE MODULE CHANGE MELSEC-Q 8.3 Online Module Change Procedure The online module change procedure is explained separately for the case where GX Configurator-CT was used for initial setting and for the case where a sequence program was used for initial setting. 8.3.1 GX Configurator-CT was used for initial setting (1) Operation stop Turn OFF all output signals (Y devices) from the sequence program or the device...
  • Page 100 8 ONLINE MODULE CHANGE MELSEC-Q (2) Dismounting of module After choosing [Diagnosis] - [Online module change] on GX Developer to enter the "Online module change" mode, double-click the module to be changed online to display the "Online module change" screen. Click the "Execution"...
  • Page 101 8 ONLINE MODULE CHANGE MELSEC-Q (3) Mounting of new module Mount a new module to the same slot and connect the external wiring. After mounting the module, click the [Execution] button and make sure that the "RUN" LED is lit. Module READY (X0) remains OFF. (4) Operation check When making an operation check, click the [Cancel] button to cancel control resumption.
  • Page 102 8 ONLINE MODULE CHANGE MELSEC-Q Click the [Close] button to close the System monitor screen. (5) Resumption of control After choosing [Diagnosis] - [Online module change] on GX Developer to redisplay the "Online module change" screen, click the [Execution] button to resume control.
  • Page 103: Sequence Program Was Used For Initial Setting

    8 ONLINE MODULE CHANGE MELSEC-Q 8.3.2 Sequence program was used for initial setting (1) Operation stop Turn OFF all output signals (Y devices) from the sequence program or the device test of GX Developer to stop the module operation. Prerecord the writable buffer memory contents that have been set initially in the sequence program.
  • Page 104 8 ONLINE MODULE CHANGE MELSEC-Q (2) Dismounting of module After choosing [Diagnosis] - [Online module change] on GX Developer to enter the "Online module change" mode, double-click the module to be changed online to display the "Online module change" screen. Click the "Execution"...
  • Page 105 8 ONLINE MODULE CHANGE MELSEC-Q After confirming that the "RUN" LED of the module has turned OFF, disconnect the external wiring and dismount the module. POINT Always dismount the module. If mounting confirmation is made without the module being dismounted, the module will not start properly and the "RUN" LED will not be lit.
  • Page 106 Normal system configuration The sequence program should perform initialization on the leading edge of Module Ready (X9) of the QD60P8-G. When control resumption is executed, Module Ready (X0) turns ON and initialization is performed. (If the sequence program performs initialization only one scan after RUN, initialization is not performed.)
  • Page 107 8 ONLINE MODULE CHANGE MELSEC-Q (5) Resumption of control After choosing [Diagnosis] - [Online module change] on GX Developer to redisplay the "Online module change" screen, click the [Execution] button to resume control. The FROM/TO instruction for the module resumes. The "Online module change completed"...
  • Page 108: Precautions For Online Module Change

    8 ONLINE MODULE CHANGE MELSEC-Q 8.4 Precautions for Online Module Change The following are the precautions for online module change. Always perform an online module change in the correct procedure. A failure to do so can cause a malfunction or failure. When an online module change is made, the following buffer memory values are cleared to "0".
  • Page 109: Troubleshooting

    This section explains the troubleshooting for the cases where the count of input pulses cannot be started and the input pulse count value is incorrect during use of the QD60P8-G. (1) When the RUN LED is turned OFF Check item...
  • Page 110 9 TROUBLESHOOTING MELSEC-Q (3) When count cannot be started or normal count cannot be made Check item Corrective action Refer to Section 3.5, and check and correct the external Is the terminal block external wiring normal? wiring. Does the pulse input wiring use a shielded Use a shielded twisted pair cable for the pulse input wiring.
  • Page 111: Confirming The Error Definitions Using System Monitor Of Gx Developer

    (1) Operation of GX Developer Choose [Diagnostics] [System monitor] "QD60P8-G module" and choose Module's Detailed Information . (2) Confirmation of error code The error code appears in the latest error code field. (By pressing the Error History button, the definition shown as the latest error code appears at No.
  • Page 112 [H/W LED Information] H/W LED information displays the following information. Item Signal name Value "RUN" LED of QD60P8-G 0: LED OFF 1: LED ON "ERR." LED of QD60P8-G [H/W SW Information] The setting status of the intelligent function module switches are displayed.
  • Page 113: Error Details

    MELSEC-Q 9.2 Error Details (1) Types of errors The following errors are detected by the QD60P8-G. (a) Overflow error This error occurs if the accumulating count value overflows (exceeds 99999999) when the count type of the accumulating counter is the linear counter.
  • Page 114 9 TROUBLESHOOTING MELSEC-Q (2) Error storage If any of the settings made in the buffer memory or the setting with the intelligent function module is outside the setting range, the error occurrence (X8 to XF) turns ON and the error code corresponding to the error definition is stored into the buffer memory.
  • Page 115 9 TROUBLESHOOTING MELSEC-Q MEMO 9 - 7 9 - 7...
  • Page 116: List Of Errors

    9 TROUBLESHOOTING MELSEC-Q 9.3 List of Errors The following table shows the error details and remedies to be taken when an error occurs. Error code Error name Error Operation status at error occurrence Normal status When the linear counter was selected, the Overflow error accumulating count value exceeded Count operation is stopped.
  • Page 117 9 TROUBLESHOOTING MELSEC-Q Related buffer memory address Setting range Remedy CH1 CH2 CH3 CH4 CH5 CH6 CH7 CH8 Set "1" in the "counter reset Accumulating count value request" of the buffer memory to reset the accumulating count value. (This error is cleared when the error reset request (Y8 to YF) 1: Reset request Counter reset request...
  • Page 118 9 TROUBLESHOOTING MELSEC-Q Error code Error name Error Operation status at error occurrence • Count operation cannot be Any of the setting values of setting with performed. • If an error occurs in any of the Switch setting error the intelligent function module set on GX channels, all channels result in an Developer is in error.
  • Page 119 9 TROUBLESHOOTING MELSEC-Q Related buffer memory address Setting range Remedy CH1 CH2 CH3 CH4 CH5 CH6 CH7 CH8 Set the correct setting value on GX Developer, perform Write to PLC, and Refer to "Section 4.5 Switch setting for intelligent function module". then switch power from OFF to ON or reset the programmable controller CPU.
  • Page 120: Appendix

    APPENDIX MELSEC-Q APPENDIX Appendix 1 External dimension diagram QD60P8-G ERR. (FG) 5/12- 24VDC 90(3.54) 27.4(1.08) Unit: mm (in.) App - 1 App - 1...
  • Page 121 APPENDIX MELSEC-Q MEMO App - 2 App - 2...
  • Page 122: Index

    INDEX [Numeral] Counter reset ∼ Function.......... 3- 3, 5-12 1-phase............5- 1 ∼ Request .........3-12, 5- 6, 5-12 Counting speed..........3- 1 Accumulating count value .....1- 1, 3-11, 5- 3 Accumulating counter........3- 3 Accumulating counter comparison flag Dielectric withstand voltage ....1- 2, 3- 1 ...............
  • Page 123 ∼ Selection function........3- 3 Linear counter......... 3- 3, 5- 5 Pulse generator......1- 1, 4- 6, 4- 7 Menu bar............6-11 Read Count value ∼ ..........5- 3 Module error ..........9-10 Module READY ..........3- 5 Related Manuals ..........A- 9 Module's Detailed Information .......
  • Page 124 MEMO Index - 3 Index - 3...
  • Page 125 6. Failure caused by reasons unpredictable by scientific technology standards at time of shipment from Mitsubishi. 7. Any other failure found not to be the responsibility of Mitsubishi or that admitted not to be so by the user. 2. Onerous repair term after discontinuation of production (1) Mitsubishi shall accept onerous product repairs for seven (7) years after production of the product is discontinued.
  • Page 126 Microsoft, Windows, Windows NT, and Windows Vista are registered trademarks of Microsoft Corporation in the United States and other countries. Pentium and Celeron are trademarks of Intel Corporation in the United States and other countries. Ethernet is a registered trademark of Xerox Corporation in the United States. Other company names and product names used in this document are trademarks or registered trademarks of respective companies.

This manual is also suitable for:

Sw0d5c-qctu-e

Table of Contents