Mitsubishi Electric MELSEC Q Series User Manual
Mitsubishi Electric MELSEC Q Series User Manual

Mitsubishi Electric MELSEC Q Series User Manual

4mpps capable high-speed counter module
Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

Quick Links

4Mpps Capable High-Speed Counter Module
User's Manual
-QD64D2
-GX Configurator-CT (SW0D5C-QCTU-E)

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the MELSEC Q Series and is the answer not in the manual?

Questions and answers

Summary of Contents for Mitsubishi Electric MELSEC Q Series

  • Page 1 4Mpps Capable High-Speed Counter Module User's Manual -QD64D2 -GX Configurator-CT (SW0D5C-QCTU-E)
  • Page 3: Safety Precautions

    SAFETY PRECAUTIONS (Read these precautions before use.) Before using this product, please read this manual carefully and pay full attention to safety to handle the product correctly. The precautions given in this manual are concerned with this product. For the safety precautions of the programmable controller system, please read the User's Manual for the CPU module.
  • Page 4 [INSTALLATION PRECAUTIONS] CAUTION While pressing the installation lever located at the bottom of the module, fully insert the module fixing projection into the fixing hole in the base unit and press the module using the hole as a fulcrum. Incorrect module mounting may cause a malfunction, failure, or drop of the module. In an environment of frequent vibrations, secure the module with screws.
  • Page 5 [WIRING PRECAUTIONS] CAUTION Always ground the shielded cable on the module side. Failure to do may cause a malfunction. Correctly wire cables to the module after checking the rated voltage and terminal layout of the product. Connecting a voltage different from the rated voltage or incorrect wiring may result in a fire or failure. [STARTUP/MAINTENANCE PRECAUTIONS] CAUTION Do not disassemble or remodel each of the modules.
  • Page 6: Conditions Of Use For The Product

    Notwithstanding the above restrictions, Mitsubishi Electric may in its sole discretion, authorize use of the PRODUCT in one or more of the Prohibited Applications, provided that the usage of the PRODUCT is limited only for the specific applications agreed to by Mitsubishi Electric and provided further that no special quality assurance or fail-safe, redundant or other safety features which exceed the general specifications of the PRODUCTs are required.
  • Page 7: Revisions

    This manual confers no industrial property rights or any rights of any other kind, nor does it confer any 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. 2008 MITSUBISHI ELECTRIC CORPORATION...
  • Page 8: Table Of Contents

    INTRODUCTION Thank you for purchasing the Mitsubishi Electric MELSEC-Q series programmable controllers. Before using the product, please read this manual carefully to develop full familiarity with the functions and performance of the Q series programmable controller to ensure correct use.
  • Page 9 CHAPTER4 PROCEDURES AND SETTINGS BEFORE OPERATION 4 - 1 to 4 - 12 Handling Precautions........................4 - 1 Procedures before Operation ......................4 - 2 Part Names............................4 - 3 Wiring............................... 4 - 5 4.4.1 Wiring precautions........................4 - 5 4.4.2 Example of wiring the module and an encoder ................
  • Page 10 For Use in Normal System Configuration ..................7 - 3 7.2.1 Before creating a program ......................7 - 4 Programming Example when GX Configurator-CT is Used............. 7 - 6 Programming Example when GX Configurator-CT is not Used............. 7 - 12 Program Example when the Coincidence Detection Interrupt Function is Used ......
  • Page 11: Compliance With The Emc And Low Voltage Directives

    Compliance with the EMC and Low Voltage Directives (1) For programmable controller system To configure a system meeting the requirements of the EMC and Low Voltage Directives when incorporating the Mitsubishi programmable controller (EMC and Low Voltage Directives compliant) into other machinery or equipment, refer to Chapter 9 "EMC AND LOW VOLTAGE DIRECTIVES"...
  • Page 12: Generic Terms And Abbreviations

    GENERIC TERMS AND ABBREVIATIONS This manual describes the type QD64D2 4Mpps capable high-speed counter module using the following generic terms and abbreviations, unless otherwise specified. Generic term/abbreviation Description QD64D2 An abbreviation for the type QD64D2 4Mpps capable high-speed counter module A generic term for CH1 and CH2 Coincidence signal No.
  • Page 13: Chapter1 Overview

    OVERVIEW CHAPTER1 OVERVIEW This User's Manual describes the specifications, handling, and programming methods for the type QD64D2 4Mpps capable high-speed counter module used together with the MELSEC-Q series CPU module. The QD64D2 has the following input methods. •1 multiple of 1 phase pulse •2 multiples of 1 phase pulse •CW/CCW input...
  • Page 14: Features

    OVERVIEW Features This section describes the features of the QD64D2. (1) Counting at the maximum counting speed of 4Mpps is possible. (In 4 multiples of 2 phases) Since the QD64D2 can be used for high-resolution encoder (e.g. linear scale), the equipment can improve position detection accuracy and a workpiece can be moved at high-speed.
  • Page 15 OVERVIEW (b) Continuous comparison function Set from 1 to 16 as the coincidence detection point for each point to compare it with the present value (Only 1 point can be compared simultaneously). Whenever a coincidence is detected, the coincidence output signal is reset or the coincidence detection point is changed automatically.
  • Page 16: Chapter2 System Configuration

    SYSTEM CONFIGURATION CHAPTER2 SYSTEM CONFIGURATION This chapter describes system configurations for the QD64D2. 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 QD64D2 and quantities for each CPU model.
  • Page 17 SYSTEM CONFIGURATION Table 2.1 Applicable modules and the number of mountable modules (Continued) Applicable CPU module Base unit No. of Extension base CPU type CPU model modules Main base unit unit Q03UDECPU Q04UDEHCPU Q06UDEHCPU Q10UDEHCPU Universal model Programmable Q13UDEHCPU Up to 64 QCPU Q20UDEHCPU controller CPU...
  • Page 18: Supported Software Packages

    SYSTEM CONFIGURATION (b) Mounting to a MELSECNET/H remote I/O station The following table shows network modules that can be mounted to the QD64D2, the number of mountable network modules, and applicable base units. The QD64D2 module can be mounted into any I/O slots on the applicable base unit.
  • Page 19 SYSTEM CONFIGURATION Table 2.3 Software package version Software version Item GX Developer GX Configurator-CT GX Works2 Single CPU system Version 7 or later Q00J/Q00/Q01CPU Multiple CPU system Version 8 or later Q02/Q02H/Q06H/ Single CPU system Version 4 or later Q12H/Q25HCPU Multiple CPU system Version 6 or later Single CPU system...
  • Page 20: About Use Of The Qd64D2 With Redundant Cpu

    SYSTEM CONFIGURATION About Use of the QD64D2 with Redundant CPU This section explains how to use the QD64D2 with the Redundant CPU. (1) GX Configurator-CT GX Configurator-CT cannot be used when accessing the Redundant CPU via an intelligent function module on an extension base unit from GX Developer. Connect a personal computer with a communication path indicated below.
  • Page 21: About Use Of The Qd64D2 On The Melsecnet/H Remote I/O Station

    SYSTEM CONFIGURATION About Use of the QD64D2 on the MELSECNET/H Remote I/O Station This section explains how to use the QD64D2 on the MELSECNET/H remote I/O station. (1) Number of QD64D2 that can be installed when the remote I/O station is used Refer to Section 2.1 concerning the number of the QD64D2 that can be installed when the remote I/O station is used.
  • Page 22: How To Check The Function Version/Serial No./Software Version

    SYSTEM CONFIGURATION How to Check the Function Version/Serial No./Software Version (1) Checking the rating plate on the module side The rating plate is situated on the side face of the QD64D2. Serial No. (Upper 6 digits) function version 100812 Relevant regulation standards Figure 2.2 Checking the serial No.
  • Page 23 SYSTEM CONFIGURATION (3) Confirming the serial number on the system monitor (Product Information List) To display the screen for checking the serial number and function version, select [Diagnostics] [System monitor] and click the Product Inf. List button in GX Developer. Serial Function number...
  • Page 24 SYSTEM CONFIGURATION (4) Checking the software version of GX Configurator-CT The software version of GX Configurator-CT can be checked GX Developer's "Product information" screen. [Operating procedure] GX Developer [Help] [Product information] Software version (In the case of GX Developer Version 8) Figure 2.5 [Product information] screen of GX Developer 2.4 How to Check the Function Version/Serial No./Software Version...
  • Page 25: Chapter3 Specifications

    SPECIFICATIONS CHAPTER3 SPECIFICATIONS This chapter describes the performance specifications of the QD64D2, I/O signals to the programmable controller CPU, specifications of the buffer memory. For general specifications of the QD64D2, refer to the User's Manual for the CPU module. Performance Specifications The following table shows the performance specifications of the QD64D2.
  • Page 26: Relation Of Phase Difference Between Phase A And Phase B

    SPECIFICATIONS 3.1.1 Relation of phase difference between phase A and phase B The relation indicated below is for each pulse input mode at the maximum counting speed. Pulse input waveform that does not reach to the maximum counting speed is also applicable.
  • Page 27: Derating Chart

    SPECIFICATIONS 3.1.2 Derating chart Ambient temperature( ) Figure 3.4 Derating chart This section explains conditions for each counter value comparison function selection. (1) When all channels are the coincidence output function Take care so that the ratio of the number of points that external coincidence output (ON) is executed to the number of external coincidence output points of the module (4 points) does not exceed the ON ratio in Figure 3.4.
  • Page 28 SPECIFICATIONS (3) When (CH1 or CH2) is the coincidence output function and (CH2 or CH1) is the continuous comparison function Take care so that the addition of the ratio of above (1) "When all channels are the coincidence output function" in the CH where the coincidence output function is set and a value when the ratio of above (2) "When all channels are the continuous comparison function"...
  • Page 29: Function List

    SPECIFICATIONS Function List The following table shows the functions of the QD64D2. I/O numbers (X/Y) and buffer memory addresses in Description describe only for channel For I/O numbers (X/Y) of channel 2 and buffer memory addresses, refer to Section 3.3.1. Table 3.2 Function list of the QD64D2 Description Reference...
  • Page 30: I/O Signals To The Programmable Controller Cpu

    SPECIFICATIONS I/O Signals to the Programmable Controller CPU 3.3.1 List of I/O signals The following table shows the I/O signals from the QD64D2 to the programmable controller CPU. Note that I/O numbers (X/Y) mentioned in this and the subsequent chapters are assumed when the QD64D2 is mounted to the null I/O slot on the main base unit.
  • Page 31 SPECIFICATIONS (2) List of output signals (Signal direction: Programmable controller CPU QD64D2) Table 3.4 List of output signals Operation Operation Signal name Signal name number timing number timing Reserved Reserved Coincidence signal No.1 reset Coincidence signal No.1 reset command command Coincidence signal No.2 reset Coincidence signal No.2 reset command...
  • Page 32: Functions Of I/O Signals

    SPECIFICATIONS 3.3.2 Functions of I/O signals The following indicates the details of I/O signals of the QD64D2. In this section, I/O numbers (X/Y) and buffer memory addresses are listed only for channel For I/O numbers and buffer memory addresses used for channel 2, refer to Section 3.3.1 and Section 3.4.1.
  • Page 33 SPECIFICATIONS (2) Counter value large No.1 (X01), counter value coincidence No.1 (X02), counter value small No.1 (X03) counter value large No.2 (X04), counter value coincidence No.2 (X05), counter value small No.2 (X06) The signals notify a comparison result in the counter value comparison function (coincidence output function, continuous comparison function).
  • Page 34 SPECIFICATIONS (b) Operation when used for the continuous comparison function (Refer to Section 5.3.2.) Counter value Counter value Counter value large coincidence small No.1(X01) No.1(X02) No.1(X03) Continuous comparison No.1 point Present value < n setting (Un\G12 and 13) (Un\G54 to 85) Continuous comparison No.1 point Present value n setting...
  • Page 35 SPECIFICATIONS (3) External preset request detection (X08) • Turns ON when the preset input terminal (PRST) is turned ON. • To turn OFF the external preset request detection (X08), turn ON the external preset request detection reset command (Y08). • The preset cannot be executed while the external preset request detection (X08) is ON.
  • Page 36 SPECIFICATIONS (7) Blown fuse detection flag (X1F) • Turns ON when a fuse blown of the external coincidence output part is detected. • Even if the fuse is blown, the signal does not turn ON unless a voltage is applied to the external coincidence output power supply terminal.
  • Page 37 SPECIFICATIONS (10)Preset command (Y04) • Turn ON the preset command (Y04) to execute the preset function (Refer to Section 5.4). • Check that the present value (Un\G12 and 13) has been changed, then turn OFF the preset command (Y04). • While the external preset request detection (X08) is ON, the preset cannot be executed by the preset command (Y04).
  • Page 38 SPECIFICATIONS (13)Latch counter execution command (Y07) • When the latch counter execution command (Y07) is turned from OFF to ON, the present value (Un\G12 and 13) is stored in the latch count value (Un\G14 and 15). • Turn OFF the latch counter execution command (Y07) after the present value (Un\G12 and 13) is stored in the latch count value (Un\G14 and 15).
  • Page 39: Buffer Memory Assignment

    SPECIFICATIONS Buffer Memory Assignment 3.4.1 List of buffer memory assignment The following table shows the buffer memory assignment of the QD64D2. For details of each buffer memory, refer to Section 3.4.2. Table 3.5 List of buffer memory assignment Address Initial Read/ (decimal Setting contents...
  • Page 40 SPECIFICATIONS Table 3.5 List of buffer memory assignment (Continued) Address Initial (decimal Setting contents Read/write Remarks value notation) Continuous comparison No.1 point 4 setting Continuous comparison No.1 point 5 setting Continuous comparison No.1 point 6 setting Continuous comparison No.1 point 7 setting Continuous comparison No.1 point 8 setting...
  • Page 41 SPECIFICATIONS Table 3.5 List of buffer memory assignment (Continued) Address Initial (decimal Setting contents Read/write Remarks value notation) Continuous comparison No.2 point 3 setting Continuous comparison No.2 point 4 setting Continuous comparison No.2 point 5 setting Continuous comparison No.2 point 6 setting Continuous comparison No.2 point 7 setting...
  • Page 42 SPECIFICATIONS POINT • The reserved areas in the above table and areas not mentioned in the table are for system use, not for users. If written by a user, the functions of the QD64D2 are not guaranteed. • All data in the buffer memory of the QD64D2 are initialized when the module is powered on or the programmable controller CPU is reset.
  • Page 43: Details Of The Buffer Memory

    SPECIFICATIONS 3.4.2 Details of the buffer memory This section describes details of the QD64D2 buffer memory. In this section, I/O numbers (X/Y) and buffer memory addresses are listed for channel 1 and coincidence output No.1. For I/O numbers and buffer memory addresses used for channel 2 and coincidence output No.2, refer to Section 3.3.1 and Section 3.4.1.
  • Page 44 SPECIFICATIONS (3) Coincidence output No.1 point setting (Un\G6 and 7) Coincidence output No.1 point change request (Un\G10) Coincidence output No.2 point setting (Un\G8 and 9) Coincidence output No.2 point change request (Un\G11) • This area is used for setting the comparison point (the value used to compare with the present value) used for the coincidence output function.
  • Page 45 SPECIFICATIONS (4) Present value (Un\G12 and 13) • Present value of the counter is stored in this area. • Setting range: -2147483648 to 2147483647 • An example when the pulse input mode is CW/CCW is shown below. Count enable command (Y06) Present value (Un\G12 and 13)
  • Page 46 SPECIFICATIONS (6) Overflow detection flag (Un\G16) • Overflow occurrence status of the counter is stored in this area. (Refer to Section 5.2.1.) 0: No detection 1: Overflow occurred • Overflow occurs when the count value exceeds the range of -2147483648 to 2147483647.
  • Page 47 SPECIFICATIONS (8) Error code (Un\G18) • Error code of the detected error is stored in this area. • For operations when multiple errors occur concurrently, refer to POINT in Section 8.11.1. (9) Warning code (Un\G19) • Warning code of the detected error is stored in this area. •...
  • Page 48: Specifications Of I/O Interfaces With External Device

    SPECIFICATIONS Specifications of I/O Interfaces with External Device 3.5.1 Electrical specifications of I/O signals (1) Input specifications Table 3.6 Input specifications of the QD64D2 Rated input Operating ON voltage/ OFF voltage/ Input Response Signal name voltage/ voltage range current current resistance time current...
  • Page 49: Signal Layout For External Device Connector

    SPECIFICATIONS 3.5.2 Signal layout for external device connector The specifications of the connector section, which is the I/O interface for the QD64D2 and external device, are shown below. Figure 3.25 Appearance of the QD64D2 Table 3.8 Signal layout for external device connector Terminal layout Terminal Terminal...
  • Page 50: List Of I/O Signal Details

    SPECIFICATIONS 3.5.3 List of I/O signal details The details of each signal for the QD64D2 external device connector are shown below. Table 3.9 Details of each signal for external device connector Terminal Signal name number Symbol Signal details CH1 CH2 Phase A pulse input + PULSE A + •Inputs + (plus) side of phase A pulse.
  • Page 51: Interface For External Device

    SPECIFICATIONS 3.5.4 Interface for external device The following table shows the list of external device interface of the QD64D2. Table 3.10 List of external device interface of the QD64D2 Terminal Internal circuit number Signal name classification Phase A pulse input + 1/10W 4.7k 1/10W...
  • Page 52: Connectable Encoders

    SPECIFICATIONS Connectable Encoders The encoders connectable to the QD64D2 are described below. • Line driver output type encoders (Check that the encoder output voltage meets the specifications of the QD64D2.) - 28 3.6 Connectable Encoders...
  • Page 53: Chapter4 Procedures And Settings Before Operation

    PROCEDURES AND SETTINGS BEFORE OPERATION CHAPTER4 PROCEDURES AND SETTINGS BEFORE OPERATION This chapter describes the operating procedures before operation, part names, settings, and wiring of the QD64D2. Handling Precautions This section describes precautions on handling the QD64D2. (1) Do not drop the module case and/or connector or apply a strong impact to it.
  • Page 54: Procedures Before Operation

    PROCEDURES AND SETTINGS BEFORE OPERATION Procedures before Operation The following flowchart shows the procedures for operating the QD64D2. Start Module mounting Mount the QD64D2 to the specified slot. Wiring Wire external devices to the QD64D2. Intelligent function module switch setting Set the switches with GX Developer Section 4.5 (refer to Section 4.5).
  • Page 55: Part Names

    PROCEDURES AND SETTINGS BEFORE OPERATION Part Names The following explains the part names of the QD64D2. (Connector terminal number) (Connector terminal number) Figure 4.2 Appearance of the QD64D2 Table 4.2 Part names Name Description Indicates operating status of the QD64D2. ON: Normal operation OFF: Watchdog timer error Indicates error status of the QD64D2.
  • Page 56 PROCEDURES AND SETTINGS BEFORE OPERATION POINT Even if the fuse of the external coincidence output part is blown, the FUSE LED does not turn ON unless a voltage is applied to the external coincidence output power supply terminal. (1) Connectors for external wiring Purchase the connector for the QD64D2 separately.
  • Page 57: Wiring

    PROCEDURES AND SETTINGS BEFORE OPERATION Wiring This section describes wiring an encoder and controller to the QD64D2. 4.4.1 Wiring precautions One of the conditions to maximize the QD64D2 functions and make the system high- reliable, the external wiring has to be laid so that the QD64D2 becomes less subject to noise.
  • Page 58 (6) Take the following measures to conform the wiring to the EMC and Low Voltage Directives. (a) Ground the shielded twisted pair cables to a control panel with the AD75CK cable clamp (manufactured by Mitsubishi Electric Corporation) In a control panel 20cm...
  • Page 59: Example Of Wiring The Module And An Encoder

    PROCEDURES AND SETTINGS BEFORE OPERATION 4.4.2 Example of wiring the module and an encoder Alphanumeric characters in parentheses of QD64D2 terminal parts indicate CH2 terminal numbers. (1) Example of wiring with a line driver (AM26LS31 equivalent) encoder QD64D2 Encoder 1/10W Shielded PULSE 4.7k...
  • Page 60: Example Of Wiring A Controller And An External Input Terminal

    PROCEDURES AND SETTINGS BEFORE OPERATION 4.4.3 Example of wiring a controller and an external input terminal Alphanumeric characters in parentheses of QD64D2 terminal parts indicate CH2 terminal numbers. (1) Example of wiring with a controller (sink loading type) QD64D2 Controller Shielded twisted pair cable PRST...
  • Page 61: Example Of Wiring With An External Output Terminal

    PROCEDURES AND SETTINGS BEFORE OPERATION 4.4.4 Example of wiring with an external output terminal When using coincidence output No. 1 terminal (EQU1) and coincidence output No. 2 terminal (EQU2), external power supply of 10.2 to 30VDC is required. Figure 4.8 shows wiring example. Alphanumeric characters in parentheses of QD64D2 terminal parts indicate CH2 terminal numbers.
  • Page 62: Intelligent Function Module Switch Setting

    PROCEDURES AND SETTINGS BEFORE OPERATION Intelligent Function Module Switch Setting This section describes the intelligent function module switch setting. The switch setting is made on the [I/O assignment] screen of GX Developer. (1) Intelligent function module switch setting The switch has five switches and is set at 16-bit data. When the switch setting is not made, the default values of the switches from 1 to 5 are Table 4.5 Intelligent function module switches Setting item...
  • Page 63 PROCEDURES AND SETTINGS BEFORE OPERATION (Example) Target channel: channel 1, pulse input mode setting: 1 multiple of 2 phases, counter format: ring counter, and counter value comparison function selection: continuous comparison function Set the switch 1 = 1103 POINT The reserved bits in Table 4.5 are for system use, not for users. Therefore, always fix them to 0.
  • Page 64: Operating Procedure

    PROCEDURES AND SETTINGS BEFORE OPERATION (3) Operating procedure Set the switches on the [I/O assignment] screen of GX Developer. (a) [I/O assignment] screen Make the following settings to the slot to which the QD64D2 is mounted. [Type]: Select [Intelli]. [Model name]: Input the model of the module. [Points]: Select [32points].
  • Page 65: Chapter5 Functions

    FUNCTIONS CHAPTER5 FUNCTIONS This chapter describes functions of the QD64D2. Pulse Input and Count Methods 5.1.1 Types of the pulse input method The pulse input method has six types as shown on Table 5.1. This chapter describes I/O numbers (X/Y) of channel 1 only. For I/O numbers (X/Y) of channel 2, refer to Section 3.3.1.
  • Page 66 FUNCTIONS Table 5.1 Types of the pulse input method (continued) Pulse input Count timing method When B is OFF, counts on the rising edge ( ) of For addition count When B is ON, counts on the falling edge ( ) of 2 multiples of 2 phases...
  • Page 67: Selecting A Counter Format

    FUNCTIONS Selecting a Counter Format The counter format has the following two types. Select a counter format using the intelligent function module switch setting of GX Developer. (Refer to Section 4.5.) • Linear counter • Ring counter 5.2 Selecting a Counter Format 5.1.1 Types of the pulse input method...
  • Page 68: Selecting The Linear Counter

    FUNCTIONS 5.2.1 Selecting the linear counter (1) Linear counter operation (a) For the linear counter, the counting is executed within the range of -2147483648 to 2147483647. Present value Overflow +2147483647 Subtraction Addition -2147483648 Overflow Figure 5.1 Operation image of the linear counter (b) The following functions can be used in combination.
  • Page 69: Selecting The Ring Counter

    FUNCTIONS 5.2.2 Selecting the ring counter (1) Ring counter operation (a) For the ring counter, the counting is executed repeatedly within the range set by the ring counter lower limit value (Un\G0 and 1) and the ring counter upper limit value (Un\G2 and 3).
  • Page 70 FUNCTIONS (2) Count range of the ring counter (a) Count range is the following three types shown in Table 5.2 • Count range is determined by the ring counter lower limit value (Un\G0 and 1), the ring counter upper limit value (Un\G2 and 3) and the present value (Un\G12 and 13).
  • Page 71 FUNCTIONS (b) Setting method of the count range 1) Select a count range from range 1 to 3. 2) Preset the present value (Un\G12 and 13) in accordance with the setting condition. (Only when using a range 1 or 2) •...
  • Page 72: Using The Counter Value Comparison Function

    FUNCTIONS Using the Counter Value Comparison Function The counter value comparison function compares the present value (Un\G12 and 13) to a comparison point, and outputs the comparison result by the input signal (X01 to X06) or the external output (EQU1 and EQU2). The counter value comparison function has the following two types.
  • Page 73: Using The Coincidence Output Function

    FUNCTIONS 5.3.1 Using the coincidence output function Each channel has No.1 and No.2 comparison points. Each point individually compares to the present value (Un\G12 and 13) and outputs the comparison result. (Refer to Table 5.3.) One comparison point can be set for each No.1 and No.2. Table 5.3 Coincidence output function Signal and external output terminal used to output the Comparison point...
  • Page 74 FUNCTIONS Table 5.4 Details of operation example of the coincidence output function Number Description With the following procedures, start the coincidence detection using the value set in the coincidence output No.1 point setting (Un\G6 and 7). (1) Write "1000" for the coincidence output No.1 point setting (Un\G6 and 7). (2) Write "1"...
  • Page 75 FUNCTIONS POINT (1) At immediately after the power-on or resetting the programmable controller CPU, the relation of the present value and the coincidence output point setting is the following: "Present value = Coincidence output point setting = 0". Therefore, the counter value coincidence (X02, X05, X12, and X15) of channels that use the coincidence output function turns ON.
  • Page 76 FUNCTIONS (2) Wiring check for the coincidence output No.1 terminal (EQU1) and the coincidence output No.2 terminal (EQU2) For the coincidence output function, the wiring cannot be checked with the coincidence output test function (refer to Section 5.3.3). Check the wiring referring to the following procedures. Wiring check for the coincidence output No.1 terminal (EQU1) of channel 1 is indicated below.
  • Page 77: Using The Continuous Comparison Function

    FUNCTIONS 5.3.2 Using the continuous comparison function Each channel has No.1 and No.2 comparison points. Each point individually compares to the present value (Un\G12 and 13) and outputs the comparison result (refer to Table 5.5). 16 comparison points can be set for each No.1 and No.2. Without rewriting the comparison point in the middle of the control, multiple coincidence detections can be executed easily.
  • Page 78 FUNCTIONS (c) When A = B Example: A = 5, B = 5 After coincidence detection with the continuous comparison No.1 point 16 setting (Un\G84 and 85) is completed, the comparison target returns to the continuous comparison No.1 point 1 setting (Un\G54 and 55) again. When temporarily stopping the continuous comparison, turn OFF the count enable command (Y06) and so on, so that the present value (Un\G12 and 13) does not change.
  • Page 79 FUNCTIONS (2) Operation of the continuous comparison function Setting example for comparing between point 1 (1000) and point 2 (21000) repeatedly using the continuous comparison No.1 is indicated below. (a) Initial setting Write the following values beforehand. *1 Continuous comparison No.1 start point setting (Un\G50) = 1 Continuous comparison No.1 repeat point setting (Un\G51) = 2 Continuous comparison No.1 ON time setting (Un\G52) = 1ms Continuous comparison No.1 point 1 setting (Un\G54 and 55) = 1000...
  • Page 80 FUNCTIONS Table 5.6 Details of operation example of the continuous comparison function Number Description [Execution request] Turn ON the continuous comparison No.1 execution command (Y09). [Continuous comparison start] When the continuous comparison is ready, first comparison target will be the continuous comparison No.1 point 1 setting (Un\G54 and 55) because "1"...
  • Page 81 FUNCTIONS POINT (1) When the count value coincides with the comparison point, an external output is performed. Therefore, do not connect anything to the unused coincidence output terminal (EQU). (2) When the counter value coincidence No.1 (X02) is turned from OFF to ON by the coincidence detection process of the QD64D2, there may be cases where the counter value large No.1 (X01) or the counter value small No.1 (X03) turns ON.
  • Page 82 FUNCTIONS (3) When comparing with 17 points or more of the continuous comparison point setting For the QD64D2, settable continuous comparison No.1 point n setting (Un\G54 to 85) is up to 16 points each. Therefore, when comparing with 17 points or more, execute the following procedures.
  • Page 83 FUNCTIONS (c) Process after completion of comparison at end point 1) When repeatedly comparing from the 1st point Set the following after setting all continuous comparison point settings for the 17th point and later. • Continuous comparison No.1 point n setting (Un\G54 to 85) of (Continuous comparison No.1 point monitor during comparison (Un\G86) -1) = Continuous comparison point setting of the 1st point and later Figure 5.7 is the example when comparing with 19 points.
  • Page 84 FUNCTIONS Table 5.7 shows the example of continuous comparison point setting for 19 points. Table 5.7 Example of continuous comparison point setting Continuous Continuous comparison comparison Target continuous comparison No.1 point n setting order point setting Continuous comparison No.1 point 1 setting Continuous comparison No.1 point 2 setting Continuous comparison No.1 point 3 setting Continuous comparison No.1 point 4 setting...
  • Page 85 FUNCTIONS (4) Continuous comparison No.m point n setting interval For the interval of the continuous comparison No.m point n setting, set the values to satisfy the following conditions 1 and 2. (a) Condition 1: Interval of (Continuous comparison No.m point n setting) Input pulse speed [pps] (Continuous comparison No.m 1[ms]...
  • Page 86: Using The Coincidence Output Test Function

    FUNCTIONS 5.3.3 Using the coincidence output test function Use the coincidence output test function to check the wiring of the coincidence output No.1 terminal (EQU1) and the coincidence output No.2 terminal (EQU2) when selecting the continuous comparison function. When using the continuous comparison function, the coincidence output No.1 terminal (EQU1) and the coincidence output No.2 terminal (EQU2) automatically turn OFF.
  • Page 87 FUNCTIONS (c) Do not turn ON the continuous comparison execution command while the coincidence output test command is ON. If the continuous comparison execution command is turned ON while the test command is ON, a continuous comparison No.m execution not possible error (Error code: 311 and 312) occurs.
  • Page 88: Coincidence Detection Interrupt Function

    FUNCTIONS 5.3.4 Coincidence detection interrupt function Use the coincidence detection interrupt function to request an interrupt to the programmable controller CPU when a coincidence is detected, and start up the interrupt program. (a) Up to 16-point interrupt factors (SI) are allowed for a single MELSEC-Q series intelligent function module.
  • Page 89 FUNCTIONS 2) [PLC side] [Interrupt pointer No. of module] Set the number of interrupt factors (SI). Setting range: 1 to 4 3) [Intelli. module side] [Start I/O No.] Set the start I/O number of the QD64D2. Setting range: 0000 to 0FE0( 4) [Intelli.
  • Page 90 FUNCTIONS POINT • Coincidence detection interrupt occurs at the rising edge (OFF ON) of the counter value coincidence No.1 (X02) or the counter value coincidence No.2 (X05). Therefore, next interrupt request does not occur unless the counter value coincidence No.1 (X02) and the counter value coincidence No.2 (X05) are reset and turned OFF.
  • Page 91: Using The Preset Function

    FUNCTIONS Using the Preset Function Use the preset function to rewrite the present value (Un\G12 and 13) to any value (preset value) and start counting pulses from the value. The following two methods are available for presetting. • Turn ON the preset command (Y04) by the sequence program. •...
  • Page 92 FUNCTIONS (2) Operation when presetting by the external control signal Apply ON voltage to the preset input terminal (PRST) for external input to execute preset. Operation example is indicated in Figure 5.13. Count enable command (Y06) Counter input pulse Preset value setting 1000 2000 (Un\G4 and 5)
  • Page 93: Using The Latch Counter Function

    FUNCTIONS Using the Latch Counter Function The latch counter function latches the present value (Un\G12 and 13) to the latch count value (Un\G14 and 15). The following two methods are available for latch operation. • Turn ON the latch counter execution command (Y07) by the sequence program. •...
  • Page 94 FUNCTIONS Table 5.12 Details of operation example of the latch counter function Number Description When the latch counter execution command (Y07) is turned from OFF to ON, the present value (Un\G12 and 13) is stored in the latch count value (Un\G14 and 15).
  • Page 95: Response Delay Time

    FUNCTIONS Response Delay Time In the QD64D2, a response delays due to the cause indicated in (a) and (b) below. (a) Scan time of the sequence program It affects the delay of I/O signal. Use the direct access input (DX) or the direct access output (DY) to minimize the delay.
  • Page 96: Chapter6 Utility Package (Gx Configurator-Ct)

    UTILITY PACKAGE (GX Configurator-CT) CHAPTER6 UTILITY PACKAGE (GX Configurator-CT) Utility Package Functions Table 6.1 shows the functions of the utility package. Table 6.1 Utility package (GX Configurator-CT) functions list Function Description Reference (1) Make the initial settings for each channel to operate the QD64D2. Set the values of the items where initial settings are required.
  • Page 97 UTILITY PACKAGE (GX Configurator-CT) Table 6.1 Utility package (GX Configurator-CT) functions list Function Description Reference (1) Monitors/tests the following buffer memories and I/O signals of the QD64D2. • Y device • Ring counter lower limit • Ring counter upper limit •...
  • Page 98: Installing And Uninstalling The Utility Package

    UTILITY PACKAGE (GX Configurator-CT) 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 the utility is add-in software for GX Developer, read "SAFETY PRECAUTIONS"...
  • Page 99 UTILITY PACKAGE (GX Configurator-CT) Table 6.2 Maximum number of settable parameters using GX Configurator Maximum number of parameter settings When intelligent function modules are mounted to: Initial setting Auto refresh setting Q00J/Q00/Q01CPU Q02/Q02H/Q06H/Q12H/Q25HCPU Q02PH/Q06PH/Q12PH/Q25PHCPU Q12PRH/Q25PRHCPU Q00UJ/Q00U/Q01UCPU Q02UCPU 2048 1024 Q03UD/Q04UDH/Q06UDH/Q10UDH/ Q13UDH/Q20UDH/Q26UDH/ Q03UDE/Q04UDEH/Q06UDEH/ 4096...
  • Page 100: Operating Environment

    UTILITY PACKAGE (GX Configurator-CT) 6.2.2 Operating environment This section explains the operating environment of the personal computer that runs GX Configurator-CT. Table 6.4 Operating environment of the personal computer Item Description Installation (Add-in) target Add-in to GX Developer Version 4 (English version) or later. Computer Windows -based personal computer Refer to Table 6.5 "Operating system and performance required for personal...
  • Page 101 UTILITY PACKAGE (GX Configurator-CT) Table 6.5 Operating system and performance required for personal computer Performance required for personal computer Operating system Memory 32 MB or more Windows Pentium 133 MHz or more 32 MB or more Windows Pentium 133 MHz or more 32 MB or more Windows Pentium...
  • Page 102: Utility Package Operation

    UTILITY PACKAGE (GX Configurator-CT) Utility Package Operation 6.3.1 Common utility package operations (1) Control keys Table 6.6 shows the special keys that can be used in operations of the utility package and their applications. Table 6.6 Control keys Application Cancels the current entry in a cell. Closes the window.
  • Page 103 UTILITY PACKAGE (GX Configurator-CT) (b) Steps 1) to 3) shown in Figure 6.3 are performed as follows: 1) From GX Developer, select: [Project] [Open project]/[Save]/[Save as]. 2) From the module selection screen of the utility, select: [Intelligent function module parameter] [Open parameters]/[Save parameters].
  • Page 104: Operation Overview

    UTILITY PACKAGE (GX Configurator-CT) 6.3.2 Operation overview GX Developer screen [Tools] - [Intelligent function utility] - [Start] Screen for selecting a target intelligent function module Section 6.3.3. Refer to Enter "Start I/O No.", and select "Module type" and "Module model name". Initial setting Auto refresh [Initial setting] screen...
  • Page 105 UTILITY PACKAGE (GX Configurator-CT) [Online] - [Monitor/Test] [Select monitor/test module] screen Select a module to be monitored/tested. Monitor/Test [Monitor/Test] screen Section 6.6. Refer to Figure 6.4 General operation (continued) 6.3 Utility Package Operation - 10 6.3.2 Operation overview...
  • Page 106: Starting The Intelligent Function Module Utility

    UTILITY PACKAGE (GX Configurator-CT) 6.3.3 Starting the Intelligent function module utility [Purpose] Start the utility from GX Developer to display the [Intelligent function module utility] screen. From this screen, [Initial setting], [Auto refresh setting], and [Select monitor/test module] (selection of the module which performs monitor/test) screens for the QD64D2 can be started.
  • Page 107: Command Buttons

    UTILITY PACKAGE (GX Configurator-CT) (2) Command buttons Deletes the [Initial setting] and [Auto refresh setting] of the selected module. Closes this screen. (3) Menu bar (a) File menu Intelligent function module parameters of the project opened by GX Developer are handled.
  • Page 108 UTILITY PACKAGE (GX Configurator-CT) POINT (1) Saving intelligent function module parameters in a file Since intelligent function module parameters cannot be saved in a file by the project saving operation of GX Developer, save them on the shown module selection screen. (2) Reading/writing intelligent function module parameters from/to a programmable controller using GX Developer •...
  • Page 109: Initial Setting

    UTILITY PACKAGE (GX Configurator-CT) Initial Setting [Purpose] Make [Initial setting] for each channel to operate the QD64D2. For parameter types of [Initial setting], refer to Section 6.1. This setting allows skipping sequence program setting. By making the initial settings, the sequence program settings become unnecessary. [Operating procedure] "Start I/O No.*"...
  • Page 110 UTILITY PACKAGE (GX Configurator-CT) [Explanation of items] (1) Command buttons Creates a file containing the screen data in text file format. Saves the set data and ends the operation. Cancels the setting and ends the operation. POINT Initial settings are stored to the intelligent function module parameters. The initial settings become effective after writing them to the CPU module and executing (1) or (2).
  • Page 111: Auto Refresh

    UTILITY PACKAGE (GX Configurator-CT) Auto Refresh [Purpose] Set the buffer memory of the QD64D2 to which auto refresh is to be performed for each channel. For parameter types of [Auto refresh setting], refer to Section 6.1. This auto refresh setting eliminates the need for reading by sequence programs. [Operating procedure] "Start I/O No.*"...
  • Page 112 UTILITY PACKAGE (GX Configurator-CT) [Explanation of items] (1) Items Module side Buffer size : Displays the buffer memory size of the setting item. Module side Transfer word : Displays the number of words to be transferred. count Transfer direction : " " indicates that data are written from the programmable controller CPU to the buffer memory.
  • Page 113: Monitoring/Test

    UTILITY PACKAGE (GX Configurator-CT) Monitoring/Test 6.6.1 Monitoring/test [Purpose] Start buffer memory monitor/test and I/O signal monitor/test from this screen. [Operating procedure] "Select monitor/test module" screen "Start I/O No.*" "Module type" "Module model name" 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 114 UTILITY PACKAGE (GX Configurator-CT) Coincidence output Continuous comparison function function Latch counter function Ring counter function Figure 6.8 [Monitor/Test] screen (continued) - 19 6.6 Monitoring/Test 6.6.1 Monitoring/test...
  • Page 115 UTILITY PACKAGE (GX Configurator-CT) [Explanation of items] (1) Items Setting item : Displays I/O signals and buffer memory names. Current value : Monitors the I/O signal status and present buffer memory values. Setting value : Enter or select values to be written into the buffer memory for test operation.
  • Page 116: Chapter7 Programming

    PROGRAMMING CHAPTER7 PROGRAMMING This chapter describes the programs of the QD64D2. When applying any of the program examples introduced in this chapter to the actual system, verify the applicability and confirm that no problems will occur in the system control. Programming Procedure Create a program activating a count by the QD64D2 by the following procedures.
  • Page 117 PROGRAMMING From the previous page (1) Count control program (a) Count operation program (b) Preset execution program Use the latch counter function? (c) Latch counter function program (2) Counter value comparison program *4: Required to use the counter value comparison function. Continuous comparison function Setting of the counter value comparison function selection is...
  • Page 118: For Use In Normal System Configuration

    PROGRAMMING For Use in Normal System Configuration This section describes a program example under the following system configuration and use conditions. (1) System configuration QCPU QD64D2(X/Y00 to X/Y1F) CH1 encoder CH2 encoder QY40P(Y30 to Y3F) QX40(X20 to X2F) Figure 7.2 System configuration (2) Conditions for the intelligent function module switch setting Table 7.1 Conditions for the intelligent function module switch setting Channel...
  • Page 119: Before Creating A Program

    PROGRAMMING 7.2.1 Before creating a program Perform the following steps before creating a program. (1) Wiring of external devices Mount the QD64D2 on the base unit and connect the external devices. • Wire encoders to all CH1 and CH2 (refer to Section 4.4.2). [Wiring diagram] QD64D2 CH1 PULSE A+...
  • Page 120 PROGRAMMING (2) Intelligent function module switch setting Based on the setting conditions given in Section 7.2 (2), make the intelligent function module switch settings. (a) Each switch setting 1) Switch 1: CH1 setting <Switch 1> Pulse input mode CH1: 2 (CW/CCW) Use prohibited (0: fixed*) Counter format...
  • Page 121: Programming Example When Gx Configurator-Ct Is Used

    PROGRAMMING Programming Example when GX Configurator-CT is Used (1) List of devices Table 7.2 List of devices Device Function D0,D1 CH1 present value storage CH1 latch count value storage D2,D3 CH1 overflow status storage CH1 error code storage CH1 warning code storage D8,D9 CH2 present value storage CH2 error code storage...
  • Page 122 PROGRAMMING Table 7.2 List of devices (continued) Device Function CH1 coincidence confirmation LED signal CH1 overflow occurrence confirmation LED signal QY40P (Y30 to Y3F) CH2 coincidence confirmation LED signal * 1 Set this only when using the latch counter function. * 2 Set this only when using the linear counter function.
  • Page 123 PROGRAMMING Table 7.3 Item on the [Initial setting] screen Setting item Description Setting Preset value setting Set preset value. Coincidence output Set these only when 10000 No.1 point setting the counter value comparison function CH1 Initial setting Coincidence output selection (refer to No.1 point change Section 4.5) is the Change request...
  • Page 124 PROGRAMMING Table 7.4 Auto refresh setting Description Setting value CH1 Present value CH1 Latch count value CH1 Overflow detection flag CH2 Present value CH1 Error code D118 CH1 Warning code D119 CH2 Error code D120 CH2 Warning code D121 * 1 Set this only when using the latch counter function. * 2 Set this only when using the linear counter function.
  • Page 125 PROGRAMMING (3) Programming example CH1 coincidence signal No.1 reset command (Y01) ON CH1 count enable command (Y06) ON CH1 count enable command (Y06) OFF CH1 preset command (Y04) ON CH1 latch counter execution command (Y07) ON CH1 coincidence output enable command (Y03) ON CH1 coincidence confirmation LED signal ON CH1 counter value...
  • Page 126 PROGRAMMING CH2 count enable command (Y16) ON CH2 count enable command (Y16) OFF CH2 preset command (Y14) ON CH2 continuous comparison No.1 execution command (Y19) ON CH2 coincidence confirmation LED signal ON Stores CH2 error code to D10. Stores CH2 warning code to D11.
  • Page 127: Programming Example When Gx Configurator-Ct Is Not Used

    PROGRAMMING Programming Example when GX Configurator-CT is not Used (1) List of devices Table 7.5 List of devices Device Function D0,D1 CH1 present value storage CH1 latch count value storage D2,D3 CH1 overflow status storage CH1 error code storage CH1 warning code storage D118 CH1 error code D119...
  • Page 128 PROGRAMMING Table 7.5 List of devices (continued) Device Function CH1 count operation start signal CH1 count operation stop signal CH1 present value read signal CH1 preset command signal CH1 latch execution command signal CH1 latch count data read signal CH1 coincidence output enable signal QX40 (X20 to X2F) CH1 coincidence LED clear signal CH1 error/warning reset command signal...
  • Page 129 PROGRAMMING (2) Program example CH1 preset value setting CH1 coincidence output No.1 point setting CH1 coincidence output No.1 point change request CH1 coincidence signal No.1 reset command (Y01) ON CH2 ring counter lower limit value setting CH2 ring counter upper/lower limit value setting CH2 preset value setting CH2 continuous comparison...
  • Page 130 PROGRAMMING CH1 coincidence output enable command (Y03) ON CH1 coincidence confirmation LED signal ON CH1 counter value coincidence No.1 (X02) OFF Stores CH1 overflow status to CH1 overflow occurrence confirmation LED signal ON Stores CH1 error code to D118. Stores a value of D118 to D5 when error code is stored in D118.
  • Page 131 PROGRAMMING Stores CH2 error code to D120. Stores a value of D120 to D10 when error code is stored in D120. Stores CH2 warning code to D121. Stores a value of D121 to D11 when warning code is stored in D121.
  • Page 132: Program Example When The Coincidence Detection Interrupt Function Is Used

    PROGRAMMING Program Example when the Coincidence Detection Interrupt Function is Used This section describes a program example to start an interrupt program upon detecting coincidence of comparison point of channel 1. (1) System configuration QD64D2 (X/Y00 to X/Y1F) Figure 7.6 System configuration when the coincidence detection interrupt function is used (2) Program conditions (a) Interrupt pointer setting Set the values at [PLC parameter] - [PLC system] - [Intelligent function module...
  • Page 133 PROGRAMMING (3) Program example An interrupt must be enabled using the IMASK instruction before using an interrupt pointer. QD64D2 program Interrupt program POINT • When the above described program is executed, only I50 interrupt program is execution-enabled and other interrupt programs are execution-disabled.
  • Page 134: Chapter8 Troubleshooting

    TROUBLESHOOTING CHAPTER8 TROUBLESHOOTING This chapter describes the troubleshooting, error code and warning code of the QD64D2. Before performing a troubleshooting for the QD64D2, check that the CPU module does not have any errors. For error details of the CPU module, refer to the following manual. QCPU User's Manual(Hardware Design, Maintenance and Inspection) Error Processing and Recovery Methods 8.1.1...
  • Page 135 TROUBLESHOOTING (3) Checking Module's Detailed Information Check the status of LEDs and intelligent function module switch setting, and module information in [H/W status] on the [Module's Detailed Information] screen which can be displayed from [System Monitor] of GX Developer. [Setting procedure] Select [Diagnostics] [System monitor...] [QD64D2]...
  • Page 136: When The Run Led Turns Off

    TROUBLESHOOTING 8.1.2 When the RUN LED turns OFF Table 8.3 When the RUN LED turns OFF Check item Action Reference Check if the service voltage of the power supply Is the power supplied? ---- module is within the rated range. Calculate the consumption current of the modules Is the capacity of the power supply module mounted to the base unit such as CPU module, I/O...
  • Page 137: When The Qd64D2 Does Not Start Counting

    TROUBLESHOOTING When the QD64D2 does not Start Counting Table 8.6 When the QD64D2 does not start counting Check item Action Reference If they turn ON, check the external wiring, encoder Do the LEDs of A and B turn ON by directly side and so on, and correct the error.
  • Page 138: When The Counter Value Coincidence No.1 (X02) Or Counter Value Coincidence No.2 (X05) Does Not Turn On/Off

    TROUBLESHOOTING When the Counter Value Coincidence No.1 (X02) or Counter Value Coincidence No.2 (X05) does not Turn ON/OFF 8.4.1 When selecting the coincidence output function (1) When the counter value coincidence does not turn ON Table 8.8 When the counter value coincidence does not turn ON (when selecting the coincidence output function) Check item Action Reference...
  • Page 139: 8.5 When The Counter Value Coincidence No.1 (X02) Or Counter Value Coincidence No.2 (X05) Are Turned

    TROUBLESHOOTING When the Counter Value Coincidence No.1 (X02) or Counter Value Coincidence No.2 (X05) are Turned ON, but the Coincidence Output No.1 Terminal (EQU1) and Coincidence Output No.2 Terminal (EQU2) do not Turn ON Table 8.11 When the counter value coincidence No.1 (X02) or counter value coincidence No.2 (X05) are turned ON but the coincidence output No.1 terminal (EQU1) and coincidence output No.2 terminal (EQU2) do not turn ON Check item Action...
  • Page 140: When The Coincidence Output Test Function Cannot Be Executed

    TROUBLESHOOTING When the Coincidence Output Test Function Cannot be Executed Table 8.13 When the coincidence output function cannot be executed Check item Action Reference While selecting the coincidence output function, Has the counter value comparison function the coincidence output test function cannot be selection been set to the coincidence output used.
  • Page 141: When The Preset Cannot Be Executed

    TROUBLESHOOTING When the Preset Cannot be Executed 8.8.1 When the preset cannot be executed by the preset command (Y04) Table 8.14 When the preset cannot be executed by the preset command (Y04) Check item Action Reference Is the ON and OFF time of the preset command Set the ON and OFF time 2ms or longer.
  • Page 142: When The Latch Counter Function Cannot Be Executed

    TROUBLESHOOTING When the Latch Counter Function Cannot be Executed 8.9.1 When the latch counter function cannot be executed by the latch counter execution command (Y07) Table 8.16 When the latch counter function cannot be executed by the latch counter execution command (Y07) Check item Action Reference...
  • Page 143: Action And Handling Of Errors

    TROUBLESHOOTING 8.11 Action and Handling of Errors 8.11.1 Error code list This section describes the descriptions and corrective actions for the errors detected by the QD64D2. Table 8.19 Error code list Error Operation at error Description Action code Error channel Other channels (Normal) ----...
  • Page 144 TROUBLESHOOTING Table 8.19 Error code list (continued) Error Operation at error Description Action code Error channel Other channels [Continuous comparison No.m execution not possible The continuous error] comparison cannot The continuous comparison No.m execution Turn OFF the coincidence be started. (The command (Y09 and Y0A) is turned ON while one of output test command, then turn error does not...
  • Page 145 TROUBLESHOOTING POINT (1) When another error occurs during error occurrence, take the following action. • When an error code from 100 to 500 occurs, the latest error code is ignored and the error code stored before the latest error code is held. •...
  • Page 146: Warning Code List

    TROUBLESHOOTING 8.11.2 Warning code list This section describes the descriptions and corrective actions for the warnings detected by the QD64D2. Table 8.20 Warning code list Operation at warning Warning Description Action code Warning channel Other channels (Normal) ---- ---- ---- [Coincidence output No.m test output not possible] The coincidence output No.m test command (Y0B and Y0C) is turned ON while one of the following is...
  • Page 147: Appendices

    APPENDICES APPENDICES Appendix 1 External Dimensions 27.4 (unit: mm) Appendix 2 Difference with the QD62D Note that I/O signals, buffer memory assignment and external device interface (terminal layout) of this module is not compatible with the QD62D. The terminal block conversion module (A6TBXY36) cannot be used with the QD64D2. Appendix 1 External Dimensions...
  • Page 148 APPENDICES Memo Appendix 2 Difference with the QD62D...
  • Page 149 INDEX During continuous comparison No.m execution (X09 and X0A) ............. 3-11 Applicable systems..........2-1 Auto refresh ............6-16 A6CON1 ..............4-4 A6CON2 ..............4-4 Error code (Un\G18) ..........3-23 A6CON3 ..............4-4 Error occurrence (X0D)........3-11 A6CON4 ..............4-4 Error reset command (Y0D)......... 3-14 ERR.LED ...............
  • Page 150 Programming ............7-1 Pulse input method ..........5-1 Pulse input mode ..........4-11 Ring counter ............5-5 Ring counter lower limit value (Un\G0 and 1) ..3-19 Ring counter upper limit value (Un\G2 and 3) ..3-19 RUN ............... 4-3 SI .................
  • Page 151: Warranty

    Warranty Please confirm the following product warranty details before using this product. 1. Gratis Warranty Term and Gratis Warranty Range If any faults or defects (hereinafter "Failure") found to be the responsibility of Mitsubishi occurs during use of the product within the gratis warranty term, the product shall be repaired at no cost via the sales representative or Mitsubishi Service Company.
  • Page 152 INFORMATION AND SERVICES For further information and services, please contact your local Mitsubishi Electric sales office or representative. Visit our website to find our locations worldwide. MITSUBISHI ELECTRIC Factory Automation Global Website Locations Worldwide www.MitsubishiElectric.com/fa/about-us/overseas/ TRADEMARKS Microsoft, Windows, Windows NT, and Windows Vista are trademarks of the Microsoft group of companies.
  • Page 154 SH(NA)-080726ENG-C(2410)MEE MODEL: QD64D2-U-SY-E HEAD OFFICE: TOKYO BLDG., 2-7-3, MARUNOUCHI, CHIYODA-KU, TOKYO 100-8310, JAPAN NAGOYA WORKS: 1-14, YADA-MINAMI 5-CHOME, HIGASHI-KU, NAGOYA 461-8670, JAPAN When exported from Japan, this manual does not require application to the Ministry of Economy, Trade and Industry for service transaction permission. Specifications subject to change without notice.

Table of Contents