Mitsubishi MELSEC Q Series User Manual

Mitsubishi MELSEC Q Series User Manual

High-speed counter module
Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

Quick Links

Advertisement

Table of Contents
loading

Summary of Contents for Mitsubishi MELSEC Q Series

  • Page 3: Safety Precautions

    • SAFETY PRECAUTIONS • (Always read before starting use.) Before using this product, please read this manual 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. 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 contained in the CPU 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 communication cable from the module, do not pull the cable. When removing the cable with a connector, hold the connector on the side that is connected to the modules. Pulling the cable that is still connected to the module may cause malfunction or damage to the module or cable.
  • 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

    INTRODUCTION Thank you for purchasing the MELSEC-Q series programmable controller. Before using the equipment, please read this manual carefully to develop full familiarity with the functions and performance of the Q series programmable controller you have purchased, so as to ensure correct use. CONTENTS SAFETY PRECAUTIONS..........................A- 1 REVISIONS ..............................A- 4...
  • Page 9 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 ......................... 5- 3 5.1.3 Reading the present values ......................5- 3 5.2 Selecting the Counter Format.........................
  • Page 10 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 Appendix 2 Difference Between A1SD62, A1SD62E and A1SD62D(S1) ..........App- 2 INDEX Index- 1 to Index- 2...
  • Page 11: Conformation To The Emc Directive And Low Voltage Instruction

    Conformation to the EMC Directive and Low Voltage Instruction When incorporating the Mitsubishi programmable controller into other machinery or equipment and keeping compliance with the EMC and low voltage directives, refer to Chapter 3, "EMC and Low Voltage Directives" of the User's Manual (Hardware) included with the CPU module or base unit used.
  • Page 12: Overview

    1 OVERVIEW MELSEC-Q 1 OVERVIEW This User's Manual describes the specifications, handling and programming method for the QD62, QD62E and QD62D high-speed counter modules (QD62 (E/D)) used together with the MELSEC-Q series CPUs. The QD62(E/D) modules are available with the following I/O types, maximum counting speeds and number of channels.
  • Page 13: Features

    1 OVERVIEW MELSEC-Q 1.1 Features The features of the QD62(ED) are as follows: (1) Counting can be performed in a wide range (The count value can be expressed within the range between –2147483648 and 2147483647) The count values are stored as 2-channel 32-bit signed binary codes. (2) The maximum counting speed can be changed 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...
  • Page 14 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 terminal/function start terminal of an external terminal, preset function/counter function selection can be executed. (8) Easy settings using the utility package A utility package is sold separately (GX Configurator-CT).
  • Page 15: System Configuration

    2 SYSTEM CONFIGURATIONS MELSEC-Q 2 SYSTEM CONFIGURATION This section describes the systems to which the QD62 (E/D) can be applied. 2.1 Applicable Systems This section explains the applicable system. Applicable modules and base units, and No. of modules (a) When mounting to 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 16 2 SYSTEM CONFIGURATIONS MELSEC-Q (b) Mounting to a MELSECNET/H remote I/O station The following shows the mountable network modules, No. of mountable modules, and mountable base unit of the QD62 (E/D) module. Power shortage may occur depending on the combination with other mounted modules or the number of mounted modules.
  • Page 17: About Use Of The Qd62 (E/D) With The Q00J/Q00/Q01Cpu

    2 SYSTEM CONFIGURATIONS MELSEC-Q (3) Supported software packages Relation between the system containing the QD62 (E/D) and software package is shown in the following table. GX Developer is necessary when using the QD62 (E/D). Software Version GX Developer GX Configurator-CT Version 7 or Version 1.10L or later Single CPU system...
  • Page 18: About Use Of The Qd62 (E/D) With The Q12Prh/Q25Prhcpu

    2 SYSTEM CONFIGURATIONS MELSEC-Q 2.3 About Use of the QD62 (E/D) with the Q12PRH/Q25PRHCPU Here, use of the QD62 (E/D) with the Q12PRH/Q25PRHCPU is explained. (1) GX Configurator-CT When using GX Developer to access the Q12PRH/Q25PRHCPU through the intelligent function module on the extension base unit, GX Configurator-CT cannot be used.
  • Page 19: How To Check Software Version

    2 SYSTEM CONFIGURATIONS MELSEC-Q 2.5 How to Check Software Version This section describes how to check the GX Configurator-CT software version. (1) Checking the software version of GX Configurator-CT The software version of GX Configurator-CT can be checked GX Developer’s "Product information"...
  • Page 20: Specifications

    3 SPECIFICATIONS MELSEC-Q 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 The following describes the performance specifications of the QD62(E/D): (1) QD62 (DC input sinking output type) performance specifications...
  • Page 21 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 22 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 23: 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. Repeatedly executes counting between the ring counter maximum and Ring counter function Section 5.2.2...
  • Page 24: I/O Signals For The Programmable Controller Cpu

    3 SPECIFICATIONS MELSEC-Q 3.3 I/O Signals for the Programmable Controller CPU 3.3.1 List of I/O signals 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.
  • Page 25: 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 time of programmable controller CPU power on or reset operation, and Module ready count processing is performed.
  • Page 26 3 SPECIFICATIONS MELSEC-Q (2) Output signals 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. Coincidence signal enable Turns ON when the counter value coincidence signal command...
  • Page 27: Buffer Memory Assignments

    3 SPECIFICATIONS MELSEC-Q 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 28 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 29 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 30: 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 When ON...
  • Page 31 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 32 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 (DC/DC converter) Phase A pulse input 4.7k 1/16W 1/16W 1/2W Line Line driver level (Am26LS31 [manufactured by Texas 4.7k receiver...
  • Page 33: 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.) (2) Encoders that can be connected to the QD62D...
  • Page 34: 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 35: Procedure Before Starting The Operation

    4 SETUP AND PROCEDURE BEFORE STARTING THE OPERATION MELSEC-Q 4.2 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).
  • Page 36: 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 Lit : Voltage is being applied to the Phase A pulse input terminal.
  • Page 37 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 A6CON1 Solderless type, straight out A6CON2...
  • Page 38: 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 39: Wiring Example Of A Module And An Encoder

    4 SETUP AND PROCEDURE BEFORE STARTING THE OPERATION MELSEC-Q 4.4.2 Wiring example of a module and an encoder (1) Wiring example with an open collector output type encoder (24 V DC) QD62,QD62E Encoder Shielded twisted pair cable 24 V A20 (A13) 12 V Phase A +24 V...
  • Page 40 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 A18(A11) 12 V Phase B...
  • Page 41: 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 Preset 12 V A16(A09)
  • Page 42 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) 12 V Function A14(A07)
  • Page 43 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 44: Wiring Example With An External Output

    4 SETUP AND PROCEDURE BEFORE STARTING THE OPERATION MELSEC-Q 4.4.4 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.
  • Page 45: 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 46 4 SETUP AND PROCEDURE BEFORE STARTING THE OPERATION MELSEC-Q (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 Connector side...
  • Page 47: Switch Settings For The Intelligent Function Module

    4 SETUP AND PROCEDURE BEFORE STARTING THE OPERATION MELSEC-Q 4.5 Switch Settings for the Intelligent Function Module This section explains the switch settings for the intelligent function module. These switch settings are performed with the GX Developer I/O assignments. (1) Switch setting for the 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.
  • Page 48 4 SETUP AND PROCEDURE BEFORE STARTING THE OPERATION MELSEC-Q (2) Details of the intelligent function module switch setting Data item Description Reference Pulse input mode Set the pulse input mode for each channel. Section 5.5.1 Counting speed setting Set the counting speed for each channel. Section 3.1 Section 5.2.1, Counter format...
  • Page 49 4 SETUP AND PROCEDURE BEFORE STARTING THE OPERATION MELSEC-Q (4) Operating procedure Perform settings, starting with the GX Developer I/O assignment screen. (a) I/O assignment screen Specify the following for the slot where the QD62(E/D) is mounted. Type : Select "Intelli." Model name : Enter the module's model name.
  • Page 50: 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 51 5 BASIC USAGE MELSEC-Q POINT In the case of addition in 1-phase pulse input, make sure that phase B pulse input and the subtraction count command {Y03(Y0B)} are OFF before performing pulse input of phase A. If either of phase B pulse input or the subtraction count command {Y03(Y0B)} is ON, subtraction count is performed in pulse input of phase A.
  • Page 52: 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 53: 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 54: 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 55 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 56: 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 57 5 BASIC USAGE MELSEC-Q (2) Output status setting during a CPU stop error The output status (clear/hold) can be set for the external output signal when a CPU stop error occurs. The output status is set using the GX Developer I/O assignment. See Section 4.5 for details on the I/O assignment setting method.
  • Page 58 5 BASIC USAGE MELSEC-Q 3) Intelli. module side "Start I/O No." Set the start I/O number of the QD62(E/D). Setting range: 0000 to 0FF0 (H) 4) Intelli. module side "Start SI No." 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 59: Using The Preset Function

    5 BASIC USAGE MELSEC-Q 5.4 Using the Preset Function The preset function rewrites the present counter value to any numeric value called the preset value. The preset function can be used when starting the pulse count from the preset value. The preset function has two preset methods: preset using a sequence program and preset using an external control signal.
  • Page 60 5 BASIC USAGE MELSEC-Q (2) Preset using an external control signal Preset is performed by applying ON voltage to the preset input terminal for external input. Count enable command {Y04 (Y0C)} Counter input pulse Preset value setting buffer memory {Addresses 0 to 1 to 21 Preset command...
  • Page 61: 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 62: 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 63: 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 64: 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 65: 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 66: 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 67: 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 68 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 69: Utility Package (Gx Configurator-Ct)

    7 UTILITY PACKAGE (GX Configurator-CT) MELSEC-Q 7 UTILITY PACKAGE (GX Configurator-CT) 7.1 Functions of the Utility Package Table 7.1 lists the functions of the utility package. Table 7.1 Utility package (GX Configurator-CT) function list Function Description Reference section (1) Performs initial settings for each channel to operate the QD62 (E/D). Sets values for the following items that require initial setting.
  • Page 70: 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 71 7 UTILITY PACKAGE (GX Configurator-CT) MELSEC-Q (6) Number of parameters that can be set in GX Configurator-CT The number of parameters that can be set by the GX Configurator for an intelligent function module installed in the CPU module and in a remote I/O station of the MELSECNET/H network system is limited.
  • Page 72: 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 73 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 74: 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 75 7 UTILITY PACKAGE (GX Configurator-CT) MELSEC-Q 3) From GX Developer, select: [Online] [Read from PLC] / [Write to PLC] "Intelligent function module parameters" Or, from the module selection screen of the utility, [Online] [Read from PLC] / [Write to PLC] <Text files>...
  • Page 76: 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 77 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 78: Starting The Intelligent Function Module Utility

    7 UTILITY PACKAGE (GX Configurator-CT) MELSEC-Q 7.3.3 Starting the Intelligent function module utility [Purpose] Starting the Intelligent function module utility from GX Developer, activate the screen for selecting a module to set parameters. From this screen, the screen for configuring auto refresh of the QD62 (E/D), and the screen for selecting a module to be monitored/tested can be started.
  • Page 79 7 UTILITY PACKAGE (GX Configurator-CT) MELSEC-Q (3) Menu bar (a) File menu Intelligent function module parameters of the project opened by GX Developer are handled. [Open parameters] : Reads a parameter file. [Close parameters] : Closes the parameter file. If any data are modified, a dialog asking for file saving will appear.
  • Page 80: 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 81 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 82: 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 83 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 84: 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 85 7 UTILITY PACKAGE (GX Configurator-CT) MELSEC-Q Counter selection Coincidence Ring counter output 7 - 17 7 - 17...
  • Page 86 7 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 87 7 UTILITY PACKAGE (GX Configurator-CT) MELSEC-Q MEMO 7 - 19 7 - 19...
  • Page 88: Programming

    8 PROGRAMMING MELSEC-Q 8 PROGRAMMING This chapter describes QD62 (E/D) programs, whose system configuration example shown below, in the following two cases: • GX Configurator-CT is used • GX Configurator-CT is not used When applying any of the program examples introduced in this chapter to the actual system, verify the applicability and confirm that no problem occurs in the system control.
  • Page 89: Program Example When Gx Configurator-Ct Is Used

    8 PROGRAMMING MELSEC-Q (b) Devices used by the user Description Device Description Device Count operation start signal Periodic pulse count data read signal Current value read signal Periodic pulse count start signal Coincidence output data setting signal Coincidence confirmation LED signal Preset command signal Overflow occurrence confirmation LED signal Count operation stop signal...
  • Page 90 8 PROGRAMMING MELSEC-Q (2) 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 91: Program Example

    8 PROGRAMMING MELSEC-Q 8.1.2 Program example Set only when the linear counter is used 8 - 4 8 - 4...
  • Page 92 8 PROGRAMMING MELSEC-Q (a) When using the functions listed below, the following programs are inserted. 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 - 5 8 - 5...
  • Page 93: Program Example When Gx Configurator-Ct Is Not Used

    8 PROGRAMMING MELSEC-Q 8.2 Program Example when GX Configurator-CT is not Used Set only when the ring counter is used 8 - 6 8 - 6...
  • Page 94 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, the following programs are inserted 1) When the sampling counter function is used 2) When the periodic pulse counter function is used (b) When using the functions listed below, the following programs are inserted 1) When the disable count function is used 8 - 7...
  • Page 95 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 - 8 8 - 8...
  • Page 96: Example Of A Program Using The Coincidence Detection Interrupt Function

    8 PROGRAMMING MELSEC-Q 8.3 Example of a Program Using the Coincidence Detection Interrupt Function The following describes an example of a program that starts an interrupt program upon detection of coincidence with the channel 1 coincidence output point No. 1. (1) Interrupt point setting Set the interrupt pointer by selecting "PLC parameter"...
  • Page 97 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 98: 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. Description/cause Error information display location Action...
  • Page 99: When The Qd62(E/D) Does Not Start Counting

    φ φ terminals of A and your local Mitsubishi representative, explaining a detailed description of the problem. Is the external wiring of φ A and φ B normal? Check the external wiring and correct the error. Turn the count enable command {Y04 (Y0C)} ON with the Is the count enable command {Y04 (Y0C)} ON? sequence program.
  • Page 100: When The Qd62(E/D) Does Not Normally Count

    9 TROUBLESHOOTING MELSEC-Q 9.3 When the QD62(E/D) Does Not Normally Count Check item Action Check the external wiring and correct the error. The module may miscount when ABCOM terminal is connected to φ φ Is the external wiring of A and B normal? a pulse signal.
  • Page 101: 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 102: Appendix 2 Difference Between A1Sd62, A1Sd62E And A1Sd62D(S1)

    APPENDIX MELSEC-Q Appendix 2 Difference Between A1SD62, A1SD62E and A1SD62D (S1) The following table lists the difference between A1SD62, A1SD62E and A1SD62D (S1). Model name QD62 D62E D62D A1SD62 A1SD62E A1SD62D (S1) Function 32-bit signed binary counter 32-bit unsigned binary counter Counting (–2147483648 to 2147483647) (0 to 16777215)
  • Page 103: Index

    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 104 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 105 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 106 Microsoft, Windows, Windows NT, and Windows Vista are registered trademarks of Microsoft Corporation in the United States and other countries. Adobe, Acrobat is a registered trademark of Adobe systems Incorporated. Pentium, Celeron is a registered trademark of Intel Corporation in the United States and other countries. Ethernet is a registered trademark of Xerox.co.ltd in the United States.

This manual is also suitable for:

Melsec qd62Melsec qd62eMelsec qd62d

Table of Contents