Mitsubishi Electric QD62 User Manual

Mitsubishi Electric QD62 User Manual

Q series high-speed counter module
Hide thumbs Also See for QD62:
Table of Contents
Table of Contents
loading

Summary of Contents for Mitsubishi Electric QD62

  • 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 instructions given in this manual are concerned with this product. For the safety instructions of the programmable controller system, please read the User's Manual for the CPU module to use.
  • Page 4 [Installation Precautions] CAUTION • Use the programmable controller in an environment that meets the general specifications in the user’s manual for the CPU module used. Failure to do so may result in electric shock, fire, or damage to or deterioration of the product. •...
  • Page 5 [Wiring Precautions] CAUTION • When disconnecting the cable with the connector from the module, do not pull the cable by the cable part, but hold the connector to the module by hand and pull it out to remove the cable. Failure to do so may result in damage to the module or cable or malfunction due to poor contact.
  • Page 6: Revisions

    REVISIONS The manual number is given on the bottom left of the back cover. Print Date Manual Number Revision Dec., 1999 SH(NA)-080036-A First edition Oct., 2000 SH(NA)-080036-B Correction About the Generic Terms and Abbreviation, Section 2.1, Section 7.2.2, 7.3.3, 7.6.1 Jun., 2001 SH(NA)-080036-C Standardize the name from software package (GPP function) to Product...
  • Page 7 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.2 About Use of the QD62 (E/D) with the Q00J/Q00/Q01CPU ..............2- 4 2.3 About Use of the QD62 (E/D) with the Q12PRH/Q25PRHCPU............2- 4 2.4 About Use of the QD62 (E/D) on the MELSECNET/H Remote I/O Station.......... 2- 5 2.5 How to Check Software Version......................2- 5...
  • Page 9 4.5 Setting from GX Developer........................4-14 4.5.1 Intelligent function module detailed setting ..................4-14 4.5.2 Switch setting for intelligent function module .................. 4-16 5 BASIC USAGE 5- 1 to 5-11 5.1 Pulse Input and Counting Method ......................5- 1 5.1.1 Types of pulse input methods......................5- 1 5.1.2 Setting the count method .........................
  • Page 10 8.3 Example of a Program Using the Coincidence Detection Interrupt Function ........8-24 9 TROUBLESHOOTING 9- 1 to 9- 3 9.1 Error Information ............................. 9- 1 9.2 When the QD62(E/D) Does Not Start Counting..................9- 2 9.3 When the QD62(E/D) Does Not Normally Count................... 9- 3 APPENDIX App- 1 to App- 2 Appendix 1 External Dimension Diagram ....................App- 1...
  • Page 11: Compliance With The Emc And Low Voltage Directives

    No additional measures are necessary for the compliance of this product with the EMC and Low Voltage Directives. About the Generic Terms and Abbreviations This manual describes the Type QD62, QD62E and QD62D high-speed counter module using the following generic terms and abbreviations, unless otherwise specified.
  • Page 12: Product Structure

    Product Structure The following are included in the package. Model Name Product Name Quantity QD62 Type QD62 high-speed counter module QD62E Type QD62E high-speed counter module QD62D Type QD62D high-speed counter module SW0D5C-QCTU-E GX Configurator-CT Version 1 (1-license product) (CD-ROM)
  • Page 13 MEMO A - 11 A - 11...
  • Page 14: Overview

    Number of channels 2 channels The QD62(E/D) modules have the following input methods for 1 phase/2 phase pulse input: • Phase 1 pulse input multiple of 1 • Phase 1 pulse input multiple of 2 • CW/CCW • Phase 2 pulse input multiple of 1 • Phase 2 pulse input multiple of 2 •...
  • Page 15: Features

    The maximum speed of the QD62D can be changed by selecting from among 500 k, 200 k, 100 k and 10 k, while that of the QD62 and QD62E can be selected from among 200k, 100k and 10k. This allows an error-free count even with gradual rise/fall pulses.
  • Page 16 1 OVERVIEW MELSEC-Q (7) The preset function/counter selection function can be executed using an external control signal By applying voltage to the preset input terminal/function start input terminal of an external terminal, preset function/counter function selection can be executed. (8) Easy settings using the GX Configurator-CT The use of GX Configurator-CT sold separately allows you to execute the high-speed counter module setting on screen, resulting in reducing the number of sequence programs.
  • Page 17: System Configuration

    2 SYSTEM CONFIGURATIONS MELSEC-Q 2 SYSTEM CONFIGURATION This chapter explains the system configuration of the QD62 (E/D). 2.1 Applicable Systems This section describes the applicable systems. 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 QD62 (E/D) and quantities for each CPU model.
  • Page 18 3 For the coincidence detection interrupt function, use the Basic model QCPU of function version B or later. 4 Use the QD62 (E/D) whose serial No. (first five digits) is 09012 or later. 5 The coincidence detection interrupt function is not supported.
  • Page 19 • QCPU User's Manual (Multiple CPU System) If the QD62 (E/D) is used in a multiple CPU system, there are no restrictions depending on the module version. Write intelligent function module parameters to the control CPU of the QD62 (E/D).
  • Page 20: About Use Of The Qd62 (E/D) With The Q00J/Q00/Q01Cpu

    Here, use of the QD62 (E/D) with the Q00J/Q00/Q01CPU is explained. (1) Number of QD62 (E/D) that can be installed when the Q00J/Q00/Q01CPU is used See Section 2.1 concerning the number of QD62 (E/D) that can be installed when the Q00J/Q00/Q01CPU is used. (2) Limitations when using the Q00J/Q00/Q01CPU To use the coincidence detection interrupt function, use the Q00J/Q00/Q01CPU of function version B or later.
  • Page 21: About Use Of The Qd62 (E/D) On The Melsecnet/H Remote I/O Station

    2.4 About Use of the QD62 (E/D) on the MELSECNET/H Remote I/O Station Here, use of the QD62 (E/D) on the MELSECNET/H remote I/O station is explained. (1) Number of QD62 (E/D) that can be installed when the remote I/O station is used See Section 2.1 concerning the number of QD62 (E/D) that can be installed...
  • Page 22 2 SYSTEM CONFIGURATIONS MELSEC-Q (b) Checking on the front of the module The serial No. on the rating plate is also indicated on the front of the module (lower part). 100119000000000-B Serial No. REMARK The serial number is displayed on the front of the module from January 2008 production.
  • Page 23 2 SYSTEM CONFIGURATIONS 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 24: Specifications

    3 SPECIFICATIONS The following describes the performance specifications, I/O signals for the programmable controller CPU and buffer memory specifications of the QD62(E/D). For the general specifications of the QD62(E/D), see the User's Manual for the CPU module used. 3.1 Performance Specifications...
  • Page 25 3 SPECIFICATIONS MELSEC-Q (2) QD62E (DC input sourcing output type) performance specifications Model name QD62E Item Counting speed switch settings 200 k (100 k to 200 kPPS) 100 k (10 k to 100 kPPS) 10 k (10 kPPS or less) I/O occupied points 16 points (I/O assignment: Intelligent 16 points) Number of channels...
  • Page 26 3 SPECIFICATIONS MELSEC-Q (3) QD62D (differential input sinking output type) performance specifications Model name QD62D Item 500 k 200 k 100 k 10 k Counting speed switch settings (200 k to 500 kPPS) (100 k to 200 kPPS) (10 k to 100 kPPS) (10 kPPS or less) I/O occupied points 16 points (I/O assignment: Intelligent 16 points)
  • Page 27: Function List

    3 SPECIFICATIONS MELSEC-Q 3.2 Function List The QD62(E/D) functions are listed below. Name Function Reference section Values from –2147483648 to 2147483647 can be counted. If the count Linear counter function Section 5.2.1 exceeds the range, this function detects an overflow.
  • Page 28: I/O Signals For The Programmable Controller Cpu

    The I/O signals for the QD62(E/D) programmable controller CPU are listed in the table below. For the I/O numbers (X/Y) and I/O addresses indicated in this and succeeding sections, it is assumed that the QD62(E/D) is mounted into I/O slot 0 of the standard base module. Input signal (Signal direction QD62(E/D)
  • Page 29: Functions Of I/O Signals

    3 SPECIFICATIONS MELSEC-Q 3.3.2 Functions of I/O signals The details of the I/O signals for the QD62(E/D) are listed in the table below. (1) Input signals Signal name Device No. Description QD62(E/D) programmable controller CPU Turns ON when the count preparation for QD62(E/D) is completed at the...
  • Page 30 Signal name Device No. Operation Description programmable controller CPU timing QD62 (E/D) Coincidence signal No.1 reset Turns ON when the counter value coincidence (point command No.1) signal (X02/X09) is reset. Y09 Preset command Turns ON when the preset function is executed.
  • Page 31: Buffer Memory Assignments

    3.4 Buffer Memory Assignments (1) Buffer memory assignment list Buffer memory assignments (without battery backup) for the QD62 (E/D) are listed in the table below. The initial values are set for the buffer memory when the power is turned on or the programmable controller CPU is reset.
  • Page 32 3 SPECIFICATIONS MELSEC-Q (2) Preset value setting (Buffer memory addresses CH1: 0 to 1 CH2: 20 to 21 • This area is used to set the values that are preset in the counter. • The setting range is from –2147483648 to 2147483647 (32-bit signed binary values).
  • Page 33 3 SPECIFICATIONS MELSEC-Q (7) Sampling/periodic setting (Buffer memory addresses CH1: A CH2: 2A • This area is used to write the time setting values of the sampling counter function and periodic pulse counter function during counter function selection. • The setting range is from 1 to 65535 (16-bit binary values) and the time unit is 10[ms].
  • Page 34: Interface With External Devices

    3 SPECIFICATIONS MELSEC-Q 3.5 Interface with External Devices The table below lists the external device interface for the QD62(E/D). (1) QD62 (DC input sinking output type) Terminal Input voltage Operating current number Internal circuit Signal name Operation classification (guaranteed value) (guaranteed value) 4.7k...
  • Page 35 3 SPECIFICATIONS MELSEC-Q (2) QD62E (DC input sourcing output type) Terminal Input voltage Operating current number Internal circuit Signal name Operation classification (guaranteed value) (guaranteed value) 4.7k When ON 21.6 to 26.4 V 2 to 5 mA 1/3W Phase A pulse input 24 V When OFF 5 V or less 0.1 mA or less...
  • Page 36 3 SPECIFICATIONS MELSEC-Q (3) QD62D (Differential input sinking output type) Terminal Input voltage Operating current number Internal circuit Signal name Operation classification (guaranteed value) (guaranteed value) Input + 5V Phase A pulse input 4.7k 1/16W 1/16W 1/2W Line Line driver level (AM26LS31 [manufactured by Texas 4.7k receiver Instruments] or equivalent) that conforms to RS-422-A in...
  • Page 37: Encoders That Can Be Connected

    3 SPECIFICATIONS MELSEC-Q 3.6 Encoders that can be Connected The encoders that can be connected to the QD62(E/D) are described below. (1) Encoders that can be connected to the QD62 and QD62E • Open collector output type encoders • CMOS level voltage output type encoders (Verify that the encoder output voltage meets the specifications for the QD62 and QD62E.)
  • Page 38: Setup And Procedure Before Starting The Operation

    4 SETUP AND PROCEDURE BEFORE STARTING THE OPERATION MELSEC-Q 4 SETUP AND PROCEDURE BEFORE STARTING THE OPERATION The following describes the procedure prior to the QD62(E/D) operation, the name and setting of each part of the QD62(E/D), and wiring method. 4.1 Handling Precautions The following are the precautions for handling the QD62(E/D).
  • Page 39: Procedure Before Starting The Operation

    The figure below shows the steps that should be followed before starting the QD62(E/D) operation. Start Module mounting Mount the QD62(E/D) in the specified slot. Wiring Wire external devices to the QD62(E/D). Intelligent function module switch setting Perform settings using the GX Developer (see Section 4.5)
  • Page 40: Part Identification Nomenclature

    4 SETUP AND PROCEDURE BEFORE STARTING THE OPERATION MELSEC-Q 4.3 Part Identification Nomenclature The names of the parts used in the QD62(E/D) are shown below: External wiring connector (40-pin connector) (Connector terminal number) (Connector terminal number) Serial number plate LED name Description φA...
  • Page 41 4 SETUP AND PROCEDURE BEFORE STARTING THE OPERATION MELSEC-Q (1) External wiring Connector The connectors for use with the QD62(E/D) should be purchased separately by the user. The connector types are listed below. (a) Connector types Type Model name Soldering type, straight out...
  • Page 42: Wiring

    4 SETUP AND PROCEDURE BEFORE STARTING THE OPERATION MELSEC-Q 4.4 Wiring The following explains how to wire the encoder and the controller to the QD62(E/D). 4.4.1 Wiring precautions In order to fully utilise the functions of the QD62(E/D) and ensure system reliability, external wiring having a minimum of noise effect must be provided.
  • Page 43: Wiring Example Of A Module And An Encoder

    The number inside the ( ) indicates the terminal number for channel 2. POINT When wiring the QD62, QD62E, and the encoder, separate the power supply cable and signal cable. The following diagram shows an example. [Wiring example] QD62(E)
  • Page 44 4 SETUP AND PROCEDURE BEFORE STARTING THE OPERATION MELSEC-Q (2) Wiring example with a voltage output type encoder (5 V DC) QD62,QD62E Encoder 24 V A20(A13) 12 V Phase A B20(B13) Shielded twisted pair cable A19(A12) Shield ABCOM B19(B12) 24 V...
  • Page 45: Wiring Example Of A Controller And An External Input Terminal

    4 SETUP AND PROCEDURE BEFORE STARTING THE OPERATION MELSEC-Q 4.4.3 Wiring example of a controller and an external input terminal (1) When the controller (sink loading type) is 12 V DC QD62,QD62E Controller 24 V B17(B10) Shielded twisted pair cable...
  • Page 46 4 SETUP AND PROCEDURE BEFORE STARTING THE OPERATION MELSEC-Q (2) When the controller (source loading type) is 5 V DC QD62,QD62E Controller 24 V B17(B10) 12 V A16(A09) Preset Shielded twisted pair cable B16(B09) Shield CTRLCOM A15(A08) 24 V B15(B08)
  • Page 47 4 SETUP AND PROCEDURE BEFORE STARTING THE OPERATION MELSEC-Q (3) When the controller is a line driver QD62D 24 V A18(A12) Controller 12 V B18(B12) Preset Shielded twisted pair cable A17(A11) PRSTCOM B17(B11) Shield 24 V A16(A10) 12 V Function B16(B10) start Shielded twisted pair cable...
  • Page 48: Wiring Example With An External Output

    When the coincidence output (EQU terminal) is used, an external power supply of 10.2 to 30 V DC will be required for operation of the internal photocopier. A wiring example is shown below. (1) For QD62, QD62D (Sink output type) QD62,QD62D EQU1...
  • Page 49: Using The Connector/Terminal Block Converter Module

    4 SETUP AND PROCEDURE BEFORE STARTING THE OPERATION MELSEC-Q 4.4.5 Using the connector/terminal block converter module (1) The figure below shows the wiring when a connector/terminal block converter module and a cable are used in the QD62 (E/D). QD62 φ φ...
  • Page 50 (2) The following table lists the signal names and the corresponding connector side terminal numbers and terminal block side terminal symbols, when a connector/terminal block converter module is used in the QD62(E/D) . For the QD62 and QD62E For the QD62D...
  • Page 51: Setting From Gx Developer

    4 SETUP AND PROCEDURE BEFORE STARTING THE OPERATION MELSEC-Q 4.5 Setting from GX Developer This section explains the GX Developer settings required to operate the QD62(E/D). 4.5.1 Intelligent function module detailed setting Sets an external output method for the CPU stop error and a programmable controller CPU operation method for the QD62 (E/D) error detection.
  • Page 52 Continue: Continues the programs for modules other than those in which an error was detected when the QD62 (E/D) error is detected. The QD62 (E/D) error (SP.UNIT DOWN) is detected when the Unit READY flag is not in the READY status due to a module hardware failure.
  • Page 53: Switch Setting For Intelligent Function Module

    4 SETUP AND PROCEDURE BEFORE STARTING THE OPERATION MELSEC-Q 4.5.2 Switch setting for intelligent function module Five switches (switch numbers 1 to 5) are available for the intelligent function module and they are set with 16 bit data. If the switches for the intelligent function module are not set, the default value of 0 is used for switches 1 to 5.
  • Page 54 POINT The counting speed setting of 500kPPS can only be used with the QD62D. Setting the counting speed to 500k PPS for the QD62 and QD62E may cause miscounts. Thus, do not use this setting for the QD62 and QD62E.
  • Page 55 4 SETUP AND PROCEDURE BEFORE STARTING THE OPERATION MELSEC-Q MEMO 4 - 18 4 - 18...
  • Page 56: Basic Usage

    5 BASIC USAGE MELSEC-Q 5 BASIC USAGE This section explains the basic usage of the QD62(E/D). 5.1 Pulse Input and Counting Method 5.1.1 Types of pulse input methods Six types of the pulse input methods are available. These include 1 phase multiple of 1, 1 phase multiple of 2, CW/CCW pulse input, 2 phase multiple of 1, 2 phase multiple of 2, and 2 phase multiple of 4.
  • Page 57 For phase 1 pulse input, either a multiple of 1 or multiple of 2 count method can be selected. The relationship between the phase A pulse input and the down count command is shown below. QD62(E/D) Pulse input Encoder Down count command...
  • Page 58: Setting The Count Method

    5 BASIC USAGE MELSEC-Q 5.1.2 Setting the count method The count method is set using the GX Developer intelligent function module switch setting. See Section 4.5 for details on the setting method. 5.1.3 Reading the present values This section explains the methods of reading the present values stored in the buffer memory or the count values when counter function selection is executed.
  • Page 59: Selecting The Counter Format

    5 BASIC USAGE MELSEC-Q 5.2 Selecting the Counter Format Select either linear counter or ring counter with the GX Developer intelligent function module switch setting. See Section 4.5 for details on the setting method. 5.2.1 Selecting the linear counter (1) Linear counter operation When the linear counter is selected, the count operation is performed between –2147483648 (minimum value) and 2147483647 (maximum value).
  • Page 60: Selecting The Ring Counter

    5 BASIC USAGE MELSEC-Q 5.2.2 Selecting the ring counter (1) Ring counter operation When the ring counter is selected, the count operation is performed repeatedly between the ring counter minimum value (addresses CH1: 14 to 15 , CH2: 34 to 35 ) and maximum value (addresses CH1: 16 to 17 , CH2: 36...
  • Page 61 5 BASIC USAGE MELSEC-Q (a) The ring counter will operate as follows when the "present value < ring counter minimum value" or "ring counter maximum value < present value". • For up count Even if the present value reaches the ring counter minimum value, the ring counter minimum value will be retained as is.
  • Page 62: Using The Coincidence Output Function

    5 BASIC USAGE MELSEC-Q 5.3 Using the Coincidence Output Function The coincidence output function presets any count value, compares it with the present counter value, and outputs a signal when they match. For the coincidence output, 2 points can be set for each channel. To use the coincidence signal external output, turn ON the coincidence signal enable command {Y02(Y0A)}.
  • Page 63 (b) Select "PLC parameter" - "PLC system" - "Intelligent function module setting" - "Interrupt pointer settings" to set the interrupt factors (SI) of the QD62(E/D) and interrupt pointers of the PLC CPU. 1) CPU side [Interrupt pointer start No.] Set the start interrupt pointer number of the programmable controller CPU.
  • Page 64 Set the start interrupt factor (SI) No. of the QD62(E/D). Setting range: 0 to 3 The following example shows SI 0 to 3 of the QD62(E/D) installed in the slot where the start I/O is 20 being assigned to interrupt pointers I50 to I53.
  • Page 65: Using The Preset Function

    (Addresses 0 to 1 to 21 )) for the QD62 (E/D). At the start (OFF to ON) of the preset command, the preset value in the preset value setting buffer memory is preset in the present value storage buffer memory.
  • Page 66 (Addresses 0 to 1 to 21 )) for the QD62(E/D). At the start (OFF to ON) of the preset command (voltage applied to the preset input terminal), the preset value in the preset value setting buffer memory is preset in the present value storage buffer memory.
  • Page 67: Convenient Usage

    6 CONVENIENT USAGE MELSEC-Q 6 CONVENIENT USAGE 6.1 Selecting the Counter Function By selecting the counter function with the counter function selection setting, the disable count function, latch counter function, sampling counter function and periodic pulse counter function can be used. The counter function selection can be executed by writing the data shown in the table below into the counter function selection setting buffer memory (address 9 )} and...
  • Page 68: Reading The Counter Function Selection Count Value

    6 CONVENIENT USAGE MELSEC-Q 6.1.1 Reading the counter function selection count value The counter function selection count values are stored when the counter function selection is executed. The count values when the latch counter, sampling counter and periodic pulse counter functions are executed are stored in the counter function selection count value storage buffer memory at the addresses shown in the table below.
  • Page 69: Count Error

    6 CONVENIENT USAGE MELSEC-Q 6.1.2 Count error With the counter function selection, an error occurs in the count when it is executed using an external input (voltage applied to the function start input terminal) or by a sequence program (counter function selection start command ON). The following explains how to calculate the count error.
  • Page 70: Using The Disable Count Function

    6 CONVENIENT USAGE MELSEC-Q 6.2 Using the Disable Count Function The disable count function stops the count operation while the count enable command is ON. The relationships between the count enable command, counter function selection start command and the present counter value are illustrated below. Count enable command {Y04(Y0C)} Y06(Y0E)
  • Page 71: Using The Latch Counter Function

    6 CONVENIENT USAGE MELSEC-Q 6.3 Using the Latch Counter Function The latch counter function latches the present counter value at the time a signal was entered. The relationships between the present counter value for the latch counter function, the counter function selection start command and the latch count value storage buffer memory are illustrated below: Count enable command {Y04 (Y0C)}...
  • Page 72: Using The Sampling Counter Function

    6 CONVENIENT USAGE MELSEC-Q 6.4 Using the Sampling Counter Function The sampling counter function counts the pulses that are entered during the specified sampling time period. The relationships between the signals, buffer memory, etc. in the sampling counter function are illustrated below. Count enable command {Y04 (Y0C)} Present value storage buffer memory...
  • Page 73: Using The Periodic Pulse Counter Function

    6 CONVENIENT USAGE MELSEC-Q 6.5 Using the Periodic Pulse Counter Function The periodic pulse counter function stores the present and previous counter values for each specified periodic time (T) as the present and previous values. The relationships between the signals, buffer memory, etc. in the periodic pulse counter function are illustrated below.
  • Page 74 6 CONVENIENT USAGE MELSEC-Q Number Description The present counter value of 0 is stored in the present periodic pulse count value storage buffer memory {addresses 12 to 13 to 33 )} (hereinafter called the present value buffer memory). The present counter value of 200 is stored in the present value buffer memory. The value 0 that has been stored in the present value buffer memory will be stored in the previous periodic pulse count value storage buffer memory {addresses 10...
  • Page 75: Utility Package (Gx Configurator-Ct)

    Sampling/periodic counter flag • CH Overflow detection flag (2) Values set for auto refresh and stored in the QD62 (E/D)’s buffer memory are automatically read out when the END instruction is executed in the programmable controller CPU. The buffer memory and I/O signals of the QD62 (E/D) are monitored or tested.
  • Page 76: Installing And Uninstalling The Utility Package

    7 UTILITY PACKAGE (GX Configurator-CT) MELSEC-Q 7.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. 7.2.1 Handling precautions The following explains the precautions on using the utility package. (1) For safety Since the utility is add-in software for GX Developer, read "Safety Precautions"...
  • Page 77 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 QD62/QD62E/QD62D 8 (Fixed) 14 (Max.) Example) Counting the number of parameter settings in Auto refresh setting The number of settings in this one line is counted as one setting.
  • Page 78: Operating Environment

    7 UTILITY PACKAGE (GX Configurator-CT) MELSEC-Q 7.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 "Operating system and performance required for personal computer".
  • Page 79 7 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 80: Explanation Of Utility Package Operations

    7 UTILITY PACKAGE (GX Configurator-CT) MELSEC-Q 7.3 Explanation of Utility Package Operations 7.3.1 How to perform 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 81 7 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] ...
  • Page 82: Operation Overview

    7 UTILITY PACKAGE (GX Configurator-CT) MELSEC-Q 7.3.2 Operation overview GX Developer screen [Tools] – [Intelligent function utility] – [Start] Screen for intelligent function module parameter setting module select Enter "Start I/O No.", then select "Module type" and "Module model name". See Section 7.3.3 Initial setting Auto refresh...
  • Page 83 7 UTILITY PACKAGE (GX Configurator-CT) MELSEC-Q [Online] – [Monitor/test] Select monitor/test module screen Select a module to be Monitor/test monitored/tested. Monitor/test screen See Section 7.6 7 - 9 7 - 9...
  • Page 84: Starting The Intelligent Function Module Utility

    7 UTILITY PACKAGE (GX Configurator-CT) MELSEC-Q 7.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 85 (b) Set a target programmable controller CPU in GX Developer: [Online] [Transfer setup]. (c) When the QD62 (E/D) is mounted to the 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 86: Initial Settings

    7 UTILITY PACKAGE (GX Configurator-CT) MELSEC-Q 7.4 Initial Settings [Purpose of operation] Perform the initial settings for each channel to operate the QD62 (E/D). Set the following initial setting parameters: • Preset value • Sampling/periodic setting • Coincidence output point set No.1 •...
  • Page 87 7 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 module parameters.
  • Page 88: Auto Refresh

    7 UTILITY PACKAGE (GX Configurator-CT) MELSEC-Q 7.5 Auto Refresh [Purpose] Set the QD62 (E/D) buffer memory to be automatically refreshed, for each channel. Set the following auto refresh setting parameters: • Present value • Periodic pulse counter previous value • Latch count value •...
  • Page 89 7 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 Transfer : Displays the number of words to be transferred. word count Transfer direction : "...
  • Page 90: Monitoring/Test

    7 UTILITY PACKAGE (GX Configurator-CT) MELSEC-Q 7.6 Monitoring/Test 7.6.1 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 1 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 91 7 UTILITY PACKAGE (GX Configurator-CT) MELSEC-Q Counter selection Coincidence Ring counter output 7 - 17 7 - 17...
  • Page 92 Sampling/periodic setting [unit: 10 ms]. (4) After entering the sampling time, press the Enter key. At this point, nothing has been written to the QD62 (E/D). (5) Select the setting value fields that were specified in steps 1 to 4 while holding down the Ctrl key.
  • Page 93: Programming

    Counting speed setting Counter format 2-phase multiple of 1 200 kPPS User setting (3) Program conditions This program uses QD62 to perform counting with the conditions listed below. Item Setting value Preset value 2500 Coincidence output point No. 1 1000 Ring counter minimum value –5000...
  • Page 94: Program Example When Gx Configurator-Ct Is Used

    Overflow occurrence confirmation LED signal Module ready Counter value coincidence (point No. 1) Coincidence signal No. 1 reset command Preset command QD62(E/D) (X/Y0 to X/YF) Coincidence signal enable command Count enable command Counter function selection start command 8 - 2...
  • Page 95 8 PROGRAMMING MELSEC-Q (2) Operating GX Configurator-CT (a) Initial settings (see Section 7.4) Set the values on the screen as shown below. Setting item Description Setting Preset value setting Set the preset value. 2500 Coincidence output point set No. 1 Set the value for coincidence output point No.
  • Page 96 8 PROGRAMMING MELSEC-Q (b) Auto refresh settings (see Section 7.5) Set the values as shown in the screen below. (Use channel 1.) Setting item Description Setting CH1 Present value Set the device for storing the present value. CH1 Latch count value Set the device for storing the latch count value.
  • Page 97 8 PROGRAMMING MELSEC-Q (3) Program example Set only when the linear counter is used 8 - 5 8 - 5...
  • Page 98 8 PROGRAMMING MELSEC-Q (a) When using the functions listed below, use the following programs. 1) When the disable count function is used 2) When the latch counter function is used 3) When the sampling counter function is used 4) When the periodic pulse counter function is used 8 - 6 8 - 6...
  • Page 99: Program Example When Gx Configurator-Ct Is Not Used

    QY10 (Y20 to Y2F) Overflow occurrence confirmation LED signal Module ready Counter value coincidence (point No. 1) Coincidence signal No. 1 reset command QD62(E/D) (X/Y0 to X/YF) Preset command Coincidence signal enable command Count enable command Counter function selection start command...
  • Page 100 8 PROGRAMMING MELSEC-Q (2) Program example Set only when the ring counter is used 8 - 8 8 - 8...
  • Page 101 8 PROGRAMMING MELSEC-Q Set only when the linear counter is used (a) When using the sampling counter function and the periodic pulse counter function, use the following programs. 1) When the sampling counter function is used 2) When the periodic pulse counter function is used (b) When using the functions listed below, use the following programs.
  • Page 102 8 PROGRAMMING MELSEC-Q 2) When the latch counter function is used 3) When the sampling counter function is used 4) When the periodic pulse counter function is used 8 - 10 8 - 10...
  • Page 103: Using Programs On Remote I/O Network

    2-phase multiple of 1 200 kPPS User setting (3) Program conditions The CPU module mounted on the remote master station reads the values counted under the following condition by using the QD62 in a program. Item Setting value Preset value 2500 Coincidence output point No.
  • Page 104: Program Example When Gx Configurator-Ct Is Used

    Module ready X1022 Counter value coincidence (point No. 1) Y1020 Coincidence signal No. 1 reset command Y1021 Preset command QD62 (X/Y1020 to X/Y102F) Y1022 Coincidence signal enable command Y1024 Count enable command Y1026 Counter function selection start command T1 to T5...
  • Page 105 8 PROGRAMMING MELSEC-Q (2) GX Developer operation (Network parameter setting) • Network type : MNET/H [Remote master] • Starting I/O No. : 0000 • Network type • Total stations • Mode : Online • Network range assignment • Refresh parameters 8 - 13 8 - 13...
  • Page 106 8 PROGRAMMING MELSEC-Q (3) Operating GX Configurator-CT (a) Initial settings (see Section 7.4) Set the values on the screen as shown below. Setting item Description Setting Preset value setting Set the preset value. 2500 Coincidence output point set No. 1 Set the value for coincidence output point No.
  • Page 107 8 PROGRAMMING MELSEC-Q (b) Auto refresh settings (see Section 7.5) Set the values as shown in the screen below. (Use channel 1.) Setting item Description Setting CH1 Present value Set the device for storing the present value. CH1 Latch count value Set the device for storing the latch count value.
  • Page 108 8 PROGRAMMING MELSEC-Q (4) Program example Sets Coincidence signal No.1 reset command (Y1020) Sets Coincidence output enable command (Y1022) Resets Y1020 after the counter value coincidence signal is output Resets Coincidence output enable command (Y1022) Turns on Coincidence confirmation LED signal (Y20) in counter value coincidence Resets Counter value coincidence (Point No.1) (X1022)
  • Page 109 8 PROGRAMMING MELSEC-Q (a) When using the functions listed below, use the following programs. 1) When the disable count function is used Starts the disable count function Stops the disable count function 2) When the latch counter function is used Executes the latch counter function Turns off Counter function...
  • Page 110: Program Example When Gx Configurator-Ct Is Not Used

    QY10 (Y30 to Y3F) Overflow occurrence confirmation LED signal X1020 Module ready X1022 Counter value coincidence (point No. 1) Y1020 Coincidence signal No. 1 reset command QD62 (X/Y1020 to X/Y102F) Y1021 Preset command Y1022 Coincidence signal enable command Y1024 Count enable command Y1026...
  • Page 111 8 PROGRAMMING MELSEC-Q Device Function M208, M209 M212, M213 Z(P). REMFR instruction completion device M216, M217 M220, M221 D100, D101 D104, D105 Write data storage device for REMTO instruction D109 (for initial setting) D120 to D123 D210 SB20 Network module status SB47 Baton pass status of own station SB49...
  • Page 112 8 PROGRAMMING MELSEC-Q (3) Program example Checks master station baton pass status. Checks master station data link status. Checks remote I/O station baton pass status. Checks remote I/O station data link status. Checks remote I/O station parameter communication status. Set preset values Coincidence output No.1 to 1000 Set only when the ring counter is used...
  • Page 113 8 PROGRAMMING MELSEC-Q Sets Coincidence signal No.1 reset command (Y1020) Sets Coincidence output enable command (Y1022) Resets Y1020 after the counter value coincidence signal is output Resets Coincidence output enable command (Y1022) Turns on Coincidence confirmation LED signal (Y30) in counter value coincidence Resets Counter value coincidence (Point No.1) (X1022) Informs the reset completion of Counter...
  • Page 114 8 PROGRAMMING MELSEC-Q (a) When using the sampling counter function and the periodic pulse counter function, use the following programs. 1) When the sampling counter function is used Set the sampling time to 10000 ms 2) When the periodic pulse counter function is used Periodic pulse time to 5000 ms (b) When using the functions listed below, use the following...
  • Page 115 8 PROGRAMMING MELSEC-Q 3) When the sampling counter function is used Selects the sampling counter function Starts the sampling counter Stops the sampling counter function Reads the sampling count value 4) When the periodic pulse counter function is used Selects the periodic pulse counter function Starts the periodic pulse counter function...
  • Page 116: Example Of A Program Using The Coincidence Detection Interrupt Function

    "Intelligent functional module setting" – "Interrupt point settings" in the project data list of GX Developer. (2) Program example Before using an interrupt pointer, an interrupt must be enabled using the IMASK instruction. QD62(E/D) program Interrupt program 8 - 24 8 - 24...
  • Page 117 8 PROGRAMMING MELSEC-Q POINT • When the above described program is executed, only I50 interrupt program is execution-enabled and other interrupt programs are execution-disabled. When executing interrupt programs other than I50, set the corresponding bit for interrupt program to be executed to 1 (enabled). •...
  • Page 118: Troubleshooting

    9 TROUBLESHOOTING MELSEC-Q 9 TROUBLESHOOTING The following explains the types of errors that may occur when the QD62(E/D) is used, and how to troubleshoot them. 9.1 Error Information The error information detected by the QD62(E/D) is listed in the following chart.
  • Page 119: When The Qd62(E/D) Does Not Start Counting

    9 TROUBLESHOOTING MELSEC-Q 9.2 When the QD62(E/D) Does Not Start Counting Check item Action If the LED on the programmable controller CPU indicates an Doesn't the programmable controller CPU indicate an error, correct the error with reference to troubleshooting in the error? programmable controller CPU's manual for normal operation.
  • Page 120: When The Qd62(E/D) Does Not Normally Count

    Use the shielded twisted pair cables for pulse input wiring. input wiring? Doesn't any noise come from the ground part of the Separate the ground cable of the QD62(E/D) from the ground part. QD62(E/D)? When the QD62(E/D) case touches to the ground part, separate it.
  • Page 121: Appendix

    APPENDIX MELSEC-Q APPENDIX Appendix 1 External Dimension Diagram QD62,QD62E,QD62D 23 (0.91) 46 (1.81) 90 (3.54) 27.4 (1.08) Unit: mm (in.) A value in parentheses shows the reference measurement when the A6CON1 is installed. App. App - 1 App - 1...
  • Page 122: Appendix 2 Difference Between A1Sd62, A1Sd62E And A1Sd62D(S1)

    Programs that were used in earlier products such as A1SD62 (E/D/D-S1) cannot be used because the I/O signals and the buffer memory configuration of these products differ from those of QD62 (E/D). The conventional dedicated instructions cannot be used. App.
  • Page 123 INDEX Latch counter function......3-4, 6-5 A6CON1 ............4-4 Linear counter function ........3-4 A6CON2 ............4-4 List ............3-4, 7-1 A6CON3 ............4-4 Periodic pulse counter function ... 3-4, 6-7 A6CON4 ............4-4 Preset function ........3-4, 5-10 Applicable CPU modules ........ 2-1 Sampling counter function ....
  • Page 124 Phase 1 pulse input......... 5-2 Phase 2 pulse input......... 5-2 Precautions........4-1, 4-5, 7-2 Preset function........3-4, 5-10 Procedure before starting the operation..4-2 Procedure ............4-2 Program conditions ......... 8-1 Programming........... 8-1 Pulse input methods........5-1 Reading Count value..........6-2 Present value..........
  • Page 125 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 126 Microsoft, Windows, Windows NT, and Windows Vista are registered trademarks of Microsoft Corporation in the United States and other countries. Pentium is a trademark of Intel Corporation in the United States and other countries. Ethernet is a trademark of Xerox Corporation. All other company names and product names used in this manual are trademarks or registered trademarks of their respective companies.

This manual is also suitable for:

Qd62eQd62d

Table of Contents