Mitsubishi Electronics QD64D2 User Manual

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

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.
In this manual, the safety precautions are classified into two levels: " WARNING" and " CAUTION".
WARNING
CAUTION
Note that the CAUTION level may lead to a serious consequence according to the circumstances.
Always follow the precautions of both levels because they are important to personal safety. Please save this manual to make it accessible when required and always forward it to the end user.
Indicates that incorrect handling may cause hazardous conditions, resulting in death or severe injury.
Indicates that incorrect handling may cause hazardous conditions, resulting in minor or moderate injury or property damage.
[DESIGN PRECAUTIONS]
WARNING
Do not write data to "read-only area" or "reserved area" in the buffer memory of the intelligent function module. Also do not turn ON/OFF the "reserved" signal in I/O signals to the programmable controller CPU. Doing any of these operations may cause a malfunction of the programmable controller system.
When a transistor for external output fails, the output may be ON or OFF status. Create a circuit for monitoring output signal that may lead to serious accident.
CAUTION
Do not install the control lines and/or pulse input wiring together with the main circuit or power lines, and also do not bring them close to each other. Keep a distance of 150mm (5.91 inch) or more between them. Failure to do so may cause a malfunction due to noise.
[INSTALLATION PRECAUTIONS]
CAUTION
Use the programmable controller in the environment conditions given in the general specifications of the User's Manual for the CPU module. Failure to do so may cause an electric shock, fire, malfunction, or damage to or deterioration of the product.
A - 1
[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.
The screws must be tightened within the specified torque range. If the screw is too loose, it may cause a drop, short circuit, or malfunction. Excessive tightening may damage the screw and/or the module, resulting in a drop, short circuit or malfunction.
Be sure to shut off all phases of the external power supply used by the system before mounting or removing the module. Failure to do so may cause damage to the product.
Do not directly touch any conductive part or electronic part of the module. Doing so may cause a malfunction or failure of the module.
[WIRING PRECAUTIONS]
CAUTION
For wiring and connection, properly crimp or solder the connector with the tools specified by the manufactures and attach the connector to the module securely.
Be careful to prevent foreign matter such as dust or wire chips from entering the module. Failure to do may cause a fire, failure or malfunction.
A protective film is attached to the module top to prevent foreign matter such as wire chips from entering the module during wiring. Do not remove the film during wiring. Be sure to remove it for heat dissipation before system operation.
Be sure to place the cables connected to the module in a duct or clamp them. If not, dangling cables may swing or inadvertently be pulled, resulting in damage to the module and/ or cables, or malfunctions due to poor cable connection.
When disconnecting the cable, do not pull it by holding the cable part. Disconnect the cable with connector with holding the connector plugged into the module. Pulling the cable part with the cable still connected to the module may cause a malfunction or damage to the module and/or cable.
A - 2
[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. Doing so may cause failure, malfunctions, personal injuries and/or a fire.
Be sure to shut off all phases of the external power supply used by the system before mounting or removing the module. Not doing so may result in a failure or malfunction of the module.
Do not mount/remove the module onto/from the base unit more than 50 times (IEC 61131-2 compliant), after the first use of the product. Doing so may cause malfunctions.
Do not touch the terminal while the power is ON. Failure to do may cause a malfunction.
Be sure to shut off all phases of the external power supply used by the system when cleaning the module or retightening the terminal or module fixing screws. Not doing so may result in a failure or malfunction of the module. If the screw is too loose, it may cause a drop, short circuit or malfunction. Excessive tightening may damage the screw and/or the module, resulting in a drop, short circuit or malfunction.
Before handling the module, touch a grounded metal object to discharge the static electricity from the human body. Not doing so may result in a failure or malfunction of the module.
[DISPOSAL PRECAUTIONS]
CAUTION
When disposing of this product, treat it as industrial waste.
A - 3

CONDITIONS OF USE FOR THE PRODUCT

(1) Mitsubishi programmable controller ("the PRODUCT") shall be used in conditions;
i) where any problem, fault or failure occurring in the PRODUCT, if any, shall not lead to any major or serious accident; and ii) where the backup and fail-safe function are systematically or automatically provided outside of the PRODUCT for the case of any problem, fault or failure occurring in the PRODUCT.
(2) The PRODUCT has been designed and manufactured for the purpose of being used in general
industries. MITSUBISHI SHALL HAVE NO RESPONSIBILITY OR LIABILITY (INCLUDING, BUT NOT LIMITED TO ANY AND ALL RESPONSIBILITY OR LIABILITY BASED ON CONTRACT, WARRANTY, TORT, PRODUCT LIABILITY) FOR ANY INJURY OR DEATH TO PERSONS OR LOSS OR DAMAGE TO PROPERTY CAUSED BY the PRODUCT THAT ARE OPERATED OR USED IN APPLICATION NOT INTENDED OR EXCLUDED BY INSTRUCTIONS, PRECAUTIONS, OR WARNING CONTAINED IN MITSUBISHI'S USER, INSTRUCTION AND/OR SAFETY MANUALS, TECHNICAL BULLETINS AND GUIDELINES FOR the PRODUCT. ("Prohibited Application") Prohibited Applications include, but not limited to, the use of the PRODUCT in;
• Nuclear Power Plants and any other power plants operated by Power companies, and/or any other cases in which the public could be affected if any problem or fault occurs in the PRODUCT.
• Railway companies or Public service purposes, and/or any other cases in which establishment of a special quality assurance system is required by the Purchaser or End User.
• Aircraft or Aerospace, Medical applications, Train equipment, transport equipment such as Elevator and Escalator, Incineration and Fuel devices, Vehicles, Manned transportation, Equipment for Recreation and Amusement, and Safety devices, handling of Nuclear or Hazardous Materials or Chemicals, Mining and Drilling, and/or other applications where there is a significant risk of injury to the public or property.
Notwithstanding the above, restrictions Mitsubishi 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 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. For details, please contact the Mitsubishi representative in your region.
A - 4

REVISIONS

* The manual number is given on the bottom left of the back cover.
Print date *Manual number Revision
Dec., 2008 SH(NA)-080726ENG-A First edition
Apr., 2010 SH(NA)-080726ENG-B
Correction
SAFETY PRECAUTIONS,GENERIC TERMS AND ABBREVIATIONS,
Chapter 1, Section 2.1,Section 2.2, Section 4.4.1, Section 5.3.4, Section 6.2.1
Addition
CONDITIONS OF USE FOR THE PRODUCT, Compliance with the EMC and
Low Voltage Directives, Section 2.3
Japanese Manual Version SH-080725-D
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
A - 5

INTRODUCTION

Thank you for purchasing the Mitsubishi programmable controller MELSEC-Q series. 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.

CONTENTS

SAFETY PRECAUTIONS •••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• A - 1
CONDITIONS OF USE FOR THE PRODUCT ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• A - 4
REVISIONS •••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••A - 5
INTRODUCTION •••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• A - 6
CONTENTS••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• A - 6
Compliance with the EMC and Low Voltage Directives •••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• A - 9
GENERIC TERMS AND ABBREVIATIONS ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• A - 10
PACKING LIST•••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• A - 10
CHAPTER1 OVERVIEW 1 - 1 to 1 - 3
1.1 Features •••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 1 - 2
CHAPTER2 SYSTEM CONFIGURATION 2 - 1 to 2 - 9
2.1 Applicable Systems•••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••2 - 1
2.2 About Use of the QD64D2 with Redundant CPU •••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••2 - 5
2.3 About Use of the QD64D2 on the MELSECNET/H Remote I/O Station •••••••••••••••••••••••••••••••••2 - 6
2.4 How to Check the Function Version/Serial No./Software Version •••••••••••••••••••••••••••••••••••••••••2 - 7
CHAPTER3 SPECIFICATIONS 3 - 1 to 3 - 28
3.1 Performance Specifications••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 3 - 1
3.1.1 Relation of phase difference between phase A and phase B•••••••••••••••••••••••••••••••••••••••••3 - 2
3.1.2 Derating chart ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••3 - 3
3.2 Function List •••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••3 - 5
3.3 I/O Signals to the Programmable Controller CPU •••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 3 - 6
3.3.1 List of I/O signals ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••3 - 6
3.3.2 Functions of I/O signals •••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 3 - 8
3.4 Buffer Memory Assignment ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 3 - 15
3.4.1 List of buffer memory assignment•••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 3 - 15
3.4.2 Details of the buffer memory •••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 3 - 19
3.5 Specifications of I/O Interfaces with External Device •••••••••••••••••••••••••••••••••••••••••••••••••••••• 3 - 24
3.5.1 Electrical specifications of I/O signals ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 3 - 24
3.5.2 Signal layout for external device connector •••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 3 - 25
3.5.3 List of I/O signal details •••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 3 - 26
3.5.4 Interface for external device••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 3 - 27
3.6 Connectable Encoders••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 3 - 28
A - 6
CHAPTER4 PROCEDURES AND SETTINGS BEFORE OPERATION 4 - 1 to 4 - 12
4.1 Handling Precautions •••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 4 - 1
4.2 Procedures before Operation •••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••4 - 2
4.3 Part Names •••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 4 - 3
4.4 Wiring ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 4 - 5
4.4.1 Wiring precautions ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••4 - 5
4.4.2 Example of wiring the module and an encoder•••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 4 - 7
4.4.3 Example of wiring a controller and an external input terminal ••••••••••••••••••••••••••••••••••••••••4 - 8
4.4.4 Example of wiring with an external output terminal ••••••••••••••••••••••••••••••••••••••••••••••••••••• 4 - 9
4.5 Intelligent Function Module Switch Setting •••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 4 - 10
CHAPTER5 FUNCTIONS 5 - 1 to 5 - 31
5.1 Pulse Input and Count Methods ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 5 - 1
5.1.1 Types of the pulse input method •••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••5 - 1
5.2 Selecting a Counter Format••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 5 - 3
5.2.1 Selecting the linear counter ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 5 - 4
5.2.2 Selecting the ring counter •••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••5 - 5
5.3 Using the Counter Value Comparison Function ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••5 - 8
5.3.1 Using the coincidence output function •••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 5 - 9
5.3.2 Using the continuous comparison function ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 5 - 13
5.3.3 Using the coincidence output test function ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 5 - 22
5.3.4 Coincidence detection interrupt function•••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 5 - 24
5.4 Using the Preset Function••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 5 - 27
5.5 Using the Latch Counter Function ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 5 - 29
5.6 Response Delay Time ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 5 - 31
CHAPTER6 UTILITY PACKAGE (GX Configurator-CT) 6 - 1 to 6 - 20
6.1 Utility Package Functions •••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••6 - 1
6.2 Installing and Uninstalling the Utility Package••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 6 - 3
6.2.1 Handling precautions ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 6 - 3
6.2.2 Operating environment ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 6 - 5
6.3 Utility Package Operation ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 6 - 7
6.3.1 Common utility package operations ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 6 - 7
6.3.2 Operation overview •••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••6 - 9
6.3.3 Starting the Intelligent function module utility •••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 6 - 11
6.4 Initial Setting ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 6 - 14
6.5 Auto Refresh ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 6 - 16
6.6 Monitoring/Test •••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 6 - 18
6.6.1 Monitoring/test ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 6 - 18
CHAPTER7 PROGRAMMING 7 - 1 to 7 - 18
7.1 Programming Procedure •••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 7 - 1
A - 7
7.2 For Use in Normal System Configuration ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••7 - 3
7.2.1 Before creating a program •••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••7 - 4
7.3 Programming Example when GX Configurator-CT is Used •••••••••••••••••••••••••••••••••••••••••••••••• 7 - 6
7.4 Programming Example when GX Configurator-CT is not Used•••••••••••••••••••••••••••••••••••••••••• 7 - 12
7.5 Program Example when the Coincidence Detection Interrupt Function is Used ••••••••••••••••••••• 7 - 17
CHAPTER8 TROUBLESHOOTING 8 - 1 to 8 - 13
8.1 Error Processing and Recovery Methods •••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 8 - 1
8.1.1 Checking error description using System Monitor of GX Developer ••••••••••••••••••••••••••••••••8 - 1
8.1.2 When the RUN LED turns OFF••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 8 - 3
8.1.3 When the RUN LED and ERR.LED turn ON•••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••8 - 3
8.1.4 When the RUN LED and FUSE LED turn ON •••••••••••••••••••••••••••••••••••••••••••••••••••••••••••8 - 3
8.2 When the QD64D2 does not Start Counting•••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••8 - 4
8.3 When the QD64D2 does not Normally Count •••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••8 - 4
8.4 When the Counter Value Coincidence No.1 (X02) or Counter Value Coincidence No.2 (X05) does not Turn ON/OFF •••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 8 - 5
8.4.1 When selecting the coincidence output function ••••••••••••••••••••••••••••••••••••••••••••••••••••••••8 - 5
8.4.2 When selecting the continuous comparison function•••••••••••••••••••••••••••••••••••••••••••••••••••8 - 5
8.5 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 ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••8 - 6
8.6 When the Coincidence Detection Interrupt does not Occur •••••••••••••••••••••••••••••••••••••••••••••••• 8 - 6
8.7 When the Coincidence Output Test Function Cannot be Executed •••••••••••••••••••••••••••••••••••••••8 - 7
8.8 When the Preset Cannot be Executed••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••8 - 8
8.8.1 When the preset cannot be executed by the preset command (Y04)••••••••••••••••••••••••••••••• 8 - 8
8.8.2 When the preset cannot be executed by the preset input terminal (PRST)••••••••••••••••••••••••8 - 8
8.9 When the Latch Counter Function Cannot be Executed ••••••••••••••••••••••••••••••••••••••••••••••••••••8 - 9
8.9.1 When the latch counter function cannot be executed by the latch counter execution command (Y07) •••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••8 - 9
8.9.2 When the latch counter function cannot be executed by the latch counter input terminal (LATCH)
•••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 8 - 9
8.10 When the Error Code (Un\G18)/Warning Code (Un\G19) Cannot be Reset ••••••••••••••••••••••••••••8 - 9
8.11 Action and Handling of Errors •••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 8 - 10
8.11.1 Error code list •••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 8 - 10
8.11.2 Warning code list •••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 8 - 13
APPENDICES App - 1 to App - 2
Appendix 1 External Dimensions •••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• App - 1
Appendix 2 Difference with the QD62D ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• App - 1
INDEX Index - 1 to Index - 2
A - 8

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" of the QCPU User's Manual (Hardware Design, Maintenance and Inspection). The CE mark, indicating compliance with the EMC and Low Voltage Directives, is printed on the rating plate of the programmable controller.
(2) For the product
For the compliance of this product with the EMC and Low Voltage Directives, refer to Section 4.4.1 Wiring precautions.
A - 9

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 and
abbreviation
QD64D2 Abbreviation for the type QD64D2 4Mpps capable high-speed counter module
CH
Coincidence signal No. m Generic term for the coincidence signal No. 1 and the coincidence signal No. 2
Coincidence output No. m Generic term for the coincidence output No. 1 and the coincidence output No. 2
Continuous comparison
No.m
Continuous comparison
No.1 point n
Continuous comparison
No.2 point n
Continuous comparison
No.m point n setting
Comparison point
External coincidence output
power supply terminal
Personal computer Generic term for IBM-PC/AT-compatible personal computer
GX Developer
GX Works2
GX Configurator-CT Abbreviation for GX Configurator-CT (SW0D5C-QCTU-E) of counter module setting/monitor tool
QCPU (Q mode)
Redundant CPU Generic term for the Q12PRHCPU and Q25PRHCPU
Windows Vista
Windows XP
Generic term for CH1 and CH2
Generic term for the continuous comparison No. 1 and the continuous comparison No. 2
Generic term for the continuous comparison No. 1 point 1 to the continuous comparison No. 1 point 16
Generic term for the continuous comparison No. 2 point 1 to the continuous comparison No. 2 point 16
Generic term for the continuous comparison No. 1 point n setting and the continuous comparison No. 2 point
n setting
Generic term for the coincidence output No. m point setting and the continuous comparison No. m point n
setting
Generic term for external coincidence output power supply 12/24V terminal and external coincidence output
power supply GND (0V) terminal
Product name for MELSEC software packerge
Generic term for the Q00JCPU, Q00CPU, Q01CPU, Q02CPU, Q02HCPU, Q06HCPU, Q12HCPU,
Q25HCPU, Q02PHCPU, Q06PHCPU, Q12PHCPU, Q25PHCPU, Q12PRHCPU, Q25PRHCPU, Q00UJCPU,
Q00UCPU, Q01UCPU, Q02UCPU, Q03UDCPU, Q04UDHCPU, Q06UDHCPU, Q10UDHCPU,
Q13UDHCPU, Q20UDHCPU, Q26UDHCPU, Q03UDECPU, Q04UDEHCPU, Q06UDEHCPU,
Q10UDEHCPU, Q13UDEHCPU, Q20UDEHCPU, Q26UDEHCPU, Q50UDEHCPU and Q100UDEHCPU
Generic term for the following:
Microsoft Windows Vista Home Basic Operating System,
Microsoft Windows Vista Home Premium Operating System,
Microsoft Windows Vista Business Operating System,
Microsoft Windows Vista Ultimate Operating System,
Microsoft Windows Vista Enterprise Operating System
Generic term for the following:
Microsoft Windows XP Professional Operating System,
Microsoft Windows XP Home Edition Operating System
Description

PACKI N G LIST

The following are included in the package.
Model Product name Quantity
QD64D2 Type QD64D2 4Mpps capable high-speed counter module 1
SW0D5C-QCTU-E GX Configurator-CT Version 1 (single license product) (CD-ROM) 1
SW0D5C-QCTU-EA GX Configurator-CT Version 1 (volume license product) (CD-ROM) 1
A - 10
1
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
OVERVIEW
2
•1 multiple of 1 phase pulse
input
•1 multiple of 2 phases pulse
input
•2 multiples of 1 phase pulse
input
•2 multiples of 2 phases pulse
input
For details of the input methods, refer to Section 5.1.
Figure 1.1 shows the general operation of the QD64D2.
Reading/writing
3) I/O signal and buffer memory
QD64D2
Pulse
Encoder
External
control signal
Controller
Preset
Latch counter
Pulse
Encoder
External
control signal
Controller
Preset
Latch counter
1)
2)
1)
2)
CH1
CH2
4)
5)
4)
5)
Coincidence signal output (2 points)
Coincidence signal output (2 points)
•CW/CCW
•4 multiples of 2 phases pulse
input
Programmable
controller CPU
QCPU (Q mode)
SYSTEM
3
4
PROCEDURES AND
SETTINGS BEFORE
5
6
CONFIGURATION
SPECIFICATIONS
OPERATION
FUNCTIONS
1) Pulses to be input to the QD64D2 are counted.
2) Preset value and count value can be latched with external control signal.
3) Status of the I/O signal and buffer memory of the QD64D2 can be checked with the sequence program.
Also, start/stop of a count, preset, and coincidence output can be performed.
4) When a counter value matches with the set value, an interrupt request can be issued to the programmable controller CPU.
5) The present value is compared with comparison point setting value and the coincidence signal can be output.
Figure 1.1 General operation of the QD64D2
1 - 1
7
8
UTILITY PACKAGE (GX
Configurator-CT)
PROGRAMMING
TROUBLESHOOTING
1
OVERVIEW
1.1 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.
(2) Wide range of expression on counting (from -2147483648 to 2147483647)
Count values can be stored in 32-bit signed binary.
(3) Pulse input selection
Pulse input can be selected from 1 multiple of 1 phase, 2 multiples of 1 phase, 1 multiple of 2 phases, 2 multiples of 2 phases, 4 multiples of 2 phases, and CW/CCW.
(4) Counter format selection
Either of the following counter formats can be selected.
(a) Linear counter format
From -2147483648 to 2147483647 can be counted and an overflow can be detected when the count range is overrun.
(b) Ring counter format
Counts are repeatedly executed between the ring counter upper limit value and ring counter lower limit value.
(5) Coincidence detection
The QD64D2 can compare the present value and comparison point, notify the comparison result with input signal, and start an interrupt program when they match. It also mounts 2-point external coincidence output for each channel, which permits controlling external devices at high-speed.
According to application, select the coincidence output function or continuous comparison function.
(a) Coincidence output function
Set 1 as the coincidence detection point for each point to compare it with the present value. Reset the coincidence output signal or change the coincidence detection point with the sequence program. Controlling equipment according to the operating status, such as change of the coincidence detection point according to condition, is possible.
1 - 2

1.1 Features

1
OVERVIEW
(b) Continuous comparison function
(6) Mounting the coincidence output test function (when using the
continuous comparison function)
By using the coincidence output test function, wiring of the coincidence output terminals (EQU1, EQU2) and operations can be checked without count operation.
(7) Preset function
The present value when the preset command (Y04) is input or the preset input terminal (PRST) is turned ON can be overwritten to preset value.
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. If this function is used when the coincidence detection point is predetermined, the sequence program can be reduced, which brings improvement in takt time.
1
2
3
OVERVIEW
SYSTEM
CONFIGURATION
(8) Latch counter function
The present value when the latch counter execution command (Y07) is input or the latch counter input terminal (LATCH) is turned ON can be latched.
(9) Executing the preset function/latch counter function with external
control signal
Since the QD64D2 is independent of scan time of the programmable controller CPU, disparity in a span before executing the preset function/latch counter function can be lessen.
(10)Fuse blown at external output part is detectable.
The QD64D2 can detect fuse blown at external output part and notify it with the blown fuse detection flag (X1F) and LED display on it.
(11)Easy setting using GX Configurator-CT
The QD64D2 setting can be performed on screen by using GX Configurator-CT sold separately. Thus, the number of sequence programs results in decreasing and checking a setting status or operation status of modules easily.
4
PROCEDURES AND
SETTINGS BEFORE
5
6
UTILITY PACKAGE (GX
7
SPECIFICATIONS
OPERATION
FUNCTIONS
Configurator-CT)
1.1 Features
PROGRAMMING
8
TROUBLESHOOTING
1 - 3
2
SYSTEM CONFIGURATION

CHAPTER2 SYSTEM CONFIGURATION

This chapter describes system configurations for the QD64D2.
2.1 Applicable Systems
This section describes the applicable systems.
(1) Applicable modules and base units, and No. of modules
(a) When mounted with a CPU module
The table below shows the CPU modules and base units applicable to the QD64D2 and quantities for each CPU model. Depending on the combination with other modules or the number of mounted modules, power supply capacity may be insufficient. Pay attention to the power supply capacity before mounting modules, and if the power supply capacity is insufficient, change the combination of the modules.
Programmable
controller CPU
Table 2.1 Applicable modules and the number of mountable modules
Applicable CPU module
CPU type CPU model Main base unit
Basic model
*3
QCPU
High Performance
model QCPU
Process CPU
Redundant CPU
Universal model
QCPU
Q00JCPU Up to 8
Q00CPU
Q01CPU
Q02CPU
Q02HCPU
Q06HCPU
Q12HCPU
Q25HCPU
Q02PHCPU
Q06PHCPU
Q12PHCPU
Q25PHCPU
Q12PRHCPU
*4
Q25PRHCPU
Q00UJCPU Up to 8
Q00UCPU
Q01UCPU
Q02UCPU Up to 36
Q03UDCPU
Q04UDHCPU
Q06UDHCPU
Q10UDHCPU
Q13UDHCPU
Q20UDHCPU
Q26UDHCPU
No. of
modules
Up to 24
Up to 64
Up to 64
Up to 53
Up to 24
Up to 64
*1
Base unit
*2
Extension base
unit
2 - 1

2.1 Applicable Systems

2
SYSTEM CONFIGURATION
Applicable CPU module
CPU type CPU model Main base unit
Programmable
controller CPU
C Controller module
Table 2.1 Applicable modules and the number of mountable modules (Continued)
No. of
*1
Q03UDECPU
Q04UDEHCPU
Q06UDEHCPU
Universal model
QCPU
Safety CPU QS001CPU N/A
* 1 Limited within the range of I/O points for the CPU module. * 2 Can be installed to any I/O slot of a base unit. * 3 For the coincidence detection interrupt function, use the Basic model QCPU of function version B
* 4 The coincidence detection interrupt function is not supported. * 5 Connection of extension base units is not available with any safety CPU.
Q10UDEHCPU
Q13UDEHCPU
Q20UDEHCPU
Q26UDEHCPU
Q50UDEHCPU
Q100UDEHCPU
Q06CCPU-V
Q06CCPU-V-B
Q12DCCPU-V
or later.
Up to 64
Up to 64
modules
Base unit
*2
Extension base
: Applicable : N/A
unit
1
OVERVIEW
2
SYSTEM
CONFIGURATION
*5
3
SPECIFICATIONS
4
Remark
For the use of the C Controller module, refer to C Controller Module User's Manual.
PROCEDURES AND
SETTINGS BEFORE
5
6
UTILITY PACKAGE (GX
7
8
OPERATION
FUNCTIONS
Configurator-CT)
PROGRAMMING
2.1 Applicable Systems
TROUBLESHOOTING
2 - 2
T
2
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 unit. However, the power capacity may be insufficient depending on the combination with the other mounted modules and the number of mounted modules. Be sure to check the power capacity when mounting the modules.
Table 2.2 Mountable network modules, No. of mountable modules, and mountable base unit
Mountable network
module
QJ72LP25-25
QJ72LP25G
QJ72LP25GE
QJ72BR15
* 1 Limited within the range of I/O points for the network module. * 2 Can be installed to any I/O slot of a base unit. * 3 The coincidence detection interrupt function is not supported.
*3
Up to 64
Number of
mountable
modules
*1
*1
Applicable base unit
Main base unit on
the remote I/O
station
on the applicable base
*2
Extension base unit
on the remote I/O
station
: Applicable : N/A
Remark
The Basic model QCPU or C Controller module cannot create the MELSECNET/ H remote I/O network.
2 - 3
2.1 Applicable Systems
2
SYSTEM CONFIGURATION
(2) Support of the multiple CPU system
The QD64D2 of first released version to function version B supports multiple CPU system. When using the QD64D2 in a multiple CPU system, refer to the following manual first.
QCPU User's Manual (Multiple CPU System)
(a) Intelligent function module parameters
Write intelligent function module parameters to only the control CPU of the QD64D2.
(3) Supported software packages
Relation between the system using the QD64D2 and software package is shown in the following table. GX Developer is necessary when using the QD64D2.
Table 2.3 Software package version
Item
Q00J/Q00/Q01CPU
Q02/Q02H/Q06H/
Q12H/Q25HCPU
Q02H/Q06HCPU
Q12PH/Q25PHCPU
Q12PRH/
Q25PRHCPU
Q00UJ/Q00U/
Q01UCPU
Q02U/Q03UD/
Q04UDH/
Q06UDHCPU
Q10UDH/
Q20UDHCPU
Q13UDH/
Q26UDHCPU
Q03UDE/Q04UDEH/
Q06UDEH/Q13UDEH/
Q26UDEHCPU
Q10UDEH/
Q20UDEHCPU
Q50UDEH/
Q100UDEHCPU
When mounted to the MELSECNET/H remote I/
O station
Single CPU system Version 7 or later
Multiple CPU system Version 8 or later
Single CPU system Version 4 or later
Multiple CPU system Version 6 or later
Single CPU system
Multiple CPU system
Single CPU system
Multiple CPU system
Redundant system Version 8.45X or later
Single CPU system
Multiple CPU system
Single CPU system
Multiple CPU system
Single CPU system
Multiple CPU system
Single CPU system
Multiple CPU system
Single CPU system
Multiple CPU system
Single CPU system
Multiple CPU system
Single CPU system
Multiple CPU system
Software version
GX Developer GX Configurator-CT GX Works2
Version 1.10N or later
Version 1.08J or later
Version 8.68W or later
Version 7.10L or later
Version 8.76E or later
Version 1.28AE or later
Version 8.48A or later
Version 8.76E or later
Version 8.62Q or later
Version 8.68W or later
Version 8.76E or later
Use prohibited Use prohibited Version 1.31H or later
Version 6 or later Version 1.28AE or later Use prohibited
Use prohibited
Version 1.08J or later
1
2
SYSTEM
3
4
PROCEDURES AND
SETTINGS BEFORE
5
6
UTILITY PACKAGE (GX
7
8
OVERVIEW
CONFIGURATION
SPECIFICATIONS
OPERATION
FUNCTIONS
Configurator-CT)
PROGRAMMING
(4) Connector
The connector is not included with the QD64D2. Purchase it with reference to Section 4.3.
2.1 Applicable Systems
TROUBLESHOOTING
2 - 4
2
SYSTEM CONFIGURATION
2.2 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.
1 2
Main base unit
Extension base unit
(GX Configurator-CT cannot be used.)
Connecting directly to a programmable controller CPU
1
Connecting to a programmable controller CPU via an intelligent function module
2
(Ethernet module, MELSECNET/H module, or CC-Link module) on the main base unit
Figure 2.1 Communication path which GX Configrator-CT can use
(2) Restrictions when using the Redundant CPUs
The coincidence detection interrupt function is not available.
2 - 5

2.2 About Use of the QD64D2 with Redundant CPU

2
SYSTEM CONFIGURATION
2.3 About Use of the QD64D2 on the MELSECNET/H Remote I/O Station
1
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.
(2) Limitations when using the remote I/O station
(a) The coincidence detection interrupt function cannot be used.
(b) When the QD64D2 is used on the MELSECNET/H remote I/O station, a delay will
occur due to the link scan time. Therefore, fully verify that there will be no problem with controllability in the target system.
(Example) When processing is executed using the counter value input by a sequence program, variations will occur due to a delay in the link scan time.
2
SYSTEM
3
4
PROCEDURES AND
SETTINGS BEFORE
5
OVERVIEW
CONFIGURATION
SPECIFICATIONS
OPERATION

2.3 About Use of the QD64D2 on the MELSECNET/H Remote I/O Station

2 - 6
6
7
8
UTILITY PACKAGE (GX
FUNCTIONS
Configurator-CT)
PROGRAMMING
TROUBLESHOOTING
2
SYSTEM CONFIGURATION
2.4 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
Figure 2.2 Checking the serial No. and function version (rating plate)
(2) Checking on the front of the module
The serial No. on the rating plate is also indicated on the front of the module (lower part).
standards
2 - 7
100812000000000-B
Serial number
Figure 2.3 Display on the front of the module
Remark
The serial number is displayed on the front of the module from August 2008 production. Products manufactured during switching period may not have the serial number on the front of the module.

2.4 How to Check the Function Version/Serial No./Software Version

2
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.
1
OVERVIEW
2
Serial
number
Figure 2.4 System monitor
(a) Production number display
Since the QD64D2 does not support the production number display, "-" is displayed.
Function
version
POINT
The serial No. displayed in the Product Information List of GX Developer may be different from the one on the rating plate and the front of the module.
• The serial No. on the rating plate and the front of the module indicates the management information of the product.
• The serial No. in the Product Information List of GX Developer indicates the functional information on the product, which is updated when a new function is added.
SYSTEM
3
4
PROCEDURES AND
SETTINGS BEFORE
5
CONFIGURATION
SPECIFICATIONS
OPERATION
2.4 How to Check the Function Version/Serial No./Software Version
2 - 8
6
7
8
UTILITY PACKAGE (GX
FUNCTIONS
Configurator-CT)
PROGRAMMING
TROUBLESHOOTING
2
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 - 9
2.4 How to Check the Function Version/Serial No./Software Version
3
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.
3.1 Performance Specifications
The following table shows the performance specifications of the QD64D2.
Table 3.1 Performance specifications of the QD64D2
Item Specifications
Number of channels 2 channels
Count
input
signal
Phase 1-phase input, 2-phase input
Signal level ( A, B)
Counting speed (max.)
*1 *2
Counting range 32-bit signed binary (-2147483648 to 2147483647)
Typ e
(AM26LS31 (manufactured by Texas Instruments Incorporated) or equivalent)
EIA Standard RS-422-A Differential line driver level
4 multiples of 2 phases : 4Mpps
2 multiples of 1 phase, 2 multiples of 2 phases: 2Mpps
1 multiple of 1 phase, 1 multiple of 2 phases, CW/CCW: 1Mpps
Addition method, subtraction method
linear counter format, ring counter format
preset counter function, latch counter function
1
2
3
4
OVERVIEW
SYSTEM
CONFIGURATION
SPECIFICATIONS
1
Counter
Minimum count pulse
width
(Duty ratio 50 %)
(Minimum phase difference for 2-phase input: 0.25 s)
Comparison range 32-bit signed binary
Coincide
nce
detection
External
input
External
output
Number of occupied I/O points 32 points (I/O assignment: Intelligent 32 points)
5VDC internal current consumption 0.53 A
Weight 0.16 kg
Comparison result
Interrupt With coincidence detection interrupt function
Preset
Count value latch
Coincidence output
Derating Applied (refer to Section 3.1.2 )
* 1 Note that counting a pulse whose phase difference between phase A and phase B is small may
result in a count error. For the relation of phase difference between phase A and phase B, refer to Section 3.3.1.
* 2 The maximum counting speed is determined in the pulse input mode.
Counting speed cannot be changed.
0.5 0.5
0.25
For details, refer to Section 3.1.1
Setting value < Count value
Setting value = Count value
Setting value > Count value
24VDC 2 to 5mA
Transistor (sinking type) output: 2 points/channel
12/24VDC 0.5 A/point 2 A/common

3.1 Performance Specifications

(Unit: s)
3 - 1
PROCEDURES AND
SETTINGS BEFORE
5
6
UTILITY PACKAGE (GX
7
8
OPERATION
FUNCTIONS
Configurator-CT)
PROGRAMMING
TROUBLESHOOTING
3
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.
(a) At 1-phase input
Pulse input waveform at 1-phase input input needs to satisfy the following conditions (duty ratio of 50%).
t (=t
H+tL) = 1.0 s
t
H, tL = 0.5 s (= 0.5 t)
Differential voltage
H level
0.1V
L level
Figure 3.1 Pulse input waveform at 1-phase input
t
-0.1V
t
H
t
0.1V
L
(b) At 2-phase input
Pulse input waveform at 2-phase input needs to satisfy both the condition at 1­phase input and the condition below. t
1, t2, t3, t4 = 0.25 s (= 0.25 t)
Differential voltage
H level
-0.1V
0.1V
0.1V
A
L level
Differential voltage
H level
B
L level
Figure 3.2 Pulse input waveform at 2-phase input 1
0.1V -0.1V
t1
0.1V
t2
3 - 2
Differential voltage
H level
A
L level
Differential voltage
H level
B
L level
Figure 3.3 Pulse input waveform at 2-phase input 2
-0.1V
t3
0.1V -0.1V
0.1V
t4
-0.1V 0.1V
3.1 Performance Specifications

3.1.1 Relation of phase difference between phase A and phase B

3
SPECIFICATIONS
3.1.2 Derating chart
100
90
80
70
ON ratio (%)
60
50
40
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.
ON ratio [%]
0 1020304050
Ambient temperature( )
Figure 3.4 Derating chart
The number of points that
external coincidence output
(ON) is executed
4 (point)
55
100 [%]
1
2
3
4
OVERVIEW
SYSTEM
CONFIGURATION
SPECIFICATIONS
(2) When all channels are the continuous comparison function
Take care so that the ratio of continuous comparison No. m ON time setting (Un\G52, Un\G102) (t1) to the time from start of coincidence output to the next coincidence output (t2) in Figure 3.5 may not exceed the ON ratio in Figure 3.4. (For interval of the continuous comparison No. m point n setting that decides t2, refer to Section 5.3.2.)
ON
OFF
t1[ms]
t2[ms]
100 [%]
t1
t2
t1
ON ratio [%]
Coincidence output No. m terminal
Figure 3.5 Relationship between ON time setting in the case of the continuous comparison function (t1) and the time from start of
coincidence output to the next coincidence output (t2)
PROCEDURES AND
SETTINGS BEFORE
5
6
UTILITY PACKAGE (GX
7
8
OPERATION
FUNCTIONS
Configurator-CT)
PROGRAMMING
3.1 Performance Specifications

3.1.2 Derating chart

TROUBLESHOOTING
3 - 3
3
ON ratio [%]
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" in the CH where the continuous comparison function is set is divided by 2 may not exceed the ON ratio in Figure 3.4
Ratio of above (1) "When all channels are the coincidence output function" [%]
The number of points that external coincidence output (ON) is executed
(
4 (point)
(
100 [%]
Ratio of above (2) "When all channels are the continuous comparison function" [%]
+
t1[ms]
(
+
t2[ms]
2
100 [%]
(
2
3 - 4
3.1 Performance Specifications
3.1.2 Derating chart
3
SPECIFICATIONS
3.2 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
1. 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
Function
Linear counter function
Ring counter function
Coincidence output
function
Counter
value
comparison
function
Preset function Overwrites present value to an arbitrary value. Section 5.4
Latch counter function Latches the present value. Section 5.5
Continuous comparison
function
Coincidence detection
interrupt function
*1
Coincidence output
test function
* 1 The functions can be used in combination.
However, as for the following functions, select either of them.
Counts within the range from -2147483648 to 2147483647.
An overflow occurs when a count exceeds the count range.
Repeats a count between the ring counter upper limit value
and the lower limit value.
Compares preset coincidence detection point of an arbitrary
channel with the present counter value and outputs the
counter value coincidence.
Compares any of preset coincidence detection points of an
arbitrary channel with the present counter value and
outputs the counter value coincidence during the set time
after the coincidence.
Checks wiring of coincidence output.
This function can be used only when the continuous
comparison function is selected.
Generates an interrupt signal to the programmable
controller CPU when a coincidence is detected, and starts
an interrupt program.
Linear counter function, ring counter function
Coincidence output function, continuous comparison function
Description Reference
Section 5.2.1
Section 5.2.2
Section 5.3.1
Section 5.3.2
Section 5.3.3
Section 5.3.4
1
2
SYSTEM
3
4
PROCEDURES AND
SETTINGS BEFORE
5
6
OVERVIEW
CONFIGURATION
SPECIFICATIONS
OPERATION
FUNCTIONS

3.2 Function List

3 - 5
7
8
UTILITY PACKAGE (GX
Configurator-CT)
PROGRAMMING
TROUBLESHOOTING
3
SPECIFICATIONS
3.3 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.
(1) List of input signals (Signal direction: QD64D2 Programmable
controller CPU)
Table 3.3 List of input signals
I/O
number
X00 Module READY X10 Reserved
X01
Counter value large No.1 X11
Signal name
I/O
number
Counter value large No.1
Signal name
X02 Counter value coincidence No.1 X12 Counter value coincidence No.1
X03 Counter value small No.1 X13 Counter value small No.1
X04 Counter value large No.2 X14 Counter value large No.2
X05 Counter value coincidence No.2 X15 Counter value coincidence No.2
X06 Counter value small No.2 X16 Counter value small No.2
X07 Reserved X17 Reserved
X08 External preset request detection X18 External preset request detection
X09
X0A
X0B Reserved X1B Reserved
X0C Reserved X1C Reserved
X0D Error occurrence X1D Error occurrence
X0E Warning occurrence X1E Warning occurrence
X0F Reserved X1F Blown fuse detection flag
CH1
During continuous comparison No.1
execution
During continuous comparison No.2
execution
*1
*1
* 1 The signals are used only for the continuous comparison function.
X19
X1A
CH2
During continuous comparison No.1
execution
During continuous comparison No.2
execution *1
*1
POINT
The reserved signals above are for system use, not for users. If used (turning ON/ OFF) by a user, the functions of the QD64D2 are not guaranteed.
3 - 6

3.3 I/O Signals to the Programmable Controller CPU

3.3.1 List of I/O signals

Loading...
+ 124 hidden pages