Mitsubishi Electric qd63p6 User Manual

Programmable
Hide thumbs Also See for qd63p6:
Table of Contents

Advertisement

Quick Links

Advertisement

Table of Contents
loading

Summary of Contents for Mitsubishi Electric qd63p6

  • 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 encoder side (relay box). 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: 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. 2007 MITSUBISHI ELECTRIC CORPORATION...
  • Page 7: Table Of Contents

    CHAPTER2 SYSTEM CONFIGURATION 2 - 1 to 2 - 6 Applicable Systems••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 2 - 1 About Use of the QD63P6 with the Q12PRH/Q25PRHCPU ••••••••••••••••••••••••••••••••••••••••••••••• 2 - 4 How to Check the Software Version •••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 2 - 5 CHAPTER3 SPECIFICATIONS 3 - 1 to 3 - 18 Performance Specifications•••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••...
  • Page 8 Checking error description using System Monitor of GX Developer ••••••••••••••••••••••••••••••••8 - 1 8.1.2 When the RUN LED turns OFF•••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••8 - 4 8.1.3 When the RUN LED and ERR. LED turn ON ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••8 - 4 When the QD63P6 Does Not Start Counting ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••8 - 5...
  • Page 9 When the QD63P6 Does Not Normally Count •••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 8 - 6 When the Coincidence Detection Interrupt Does Not Occur ••••••••••••••••••••••••••••••••••••••••••••••• 8 - 7 Error Codes List ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 8 - 8 APPENDICES App - 1 to App - 5 Appendix 1 Dedicated Instructions ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••...
  • Page 10: Compliance With The Emc And Low Voltage Directives

    Compliance with the EMC and Low Voltage Directives When incorporating the Mitsubishi programmable controller into other machinery or system and ensuring compliance with the EMC and Low Voltage Directives, refer to Chapter 3 "EMC and Low Voltage Directive" in the User's Manual (Hardware) of the programmable controller CPU included with the CPU module or base unit.
  • Page 11: Generic Terms And Abbreviations

    GENERIC TERMS AND ABBREVIATIONS This manual describes the type QD63P6 multichannel high-speed counter module using the following generic terms and abbreviations, unless otherwise specified. Generic term and Description abbreviation QD63P6 Abbreviation for the type QD63P6 multichannel high-speed counter module Personal computer...
  • Page 12: Chapter1 Overview

    Encoder 1) Pulses input to the QD63P6 are counted. 2) The status of the I/O signals and buffer memory of the QD63P6 can be checked with the sequence program. Also, start, stop, preset, and coincidence detection of the count can be executed.
  • Page 13: Features

    Count values can be stored in 6 channels and 32-bit signed binary. (2) Switching of the maximum counting speed Since the QD63P6 can switch between 200 k, 100 k, and 10 k, gradual rise/fall pulses can be correctly counted. (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.
  • Page 14: Applicable Systems

    SYSTEM CONFIGURATION CHAPTER2 SYSTEM CONFIGURATION This chapter describes system configurations for the QD63P6. 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 QD63P6 and quantities for each CPU model.
  • Page 15 SYSTEM CONFIGURATION (b) Mounting to a MELSECNET/H remote I/O station The following table shows network modules that can be mounted to the QD63P6, the number of mountable network modules, and applicable base units. The QD63P6 module can be mounted into any I/O slots on the applicable base unit.
  • Page 16 SYSTEM CONFIGURATION (2) Support of the multiple CPU system The function version of the first released QD63P6 is B, and it supports multiple CPU systems. When using the QD63P6 in a multiple CPU system, refer to the following manual first.
  • Page 17: About Use Of The Qd63P6 With The Q12Prh/Q25Prhcpu

    SYSTEM CONFIGURATION About Use of the QD63P6 with the Q12PRH/Q25PRHCPU Here, use of the QD63P6 with the Q12PRH/Q25PRHCPU is explained. (1) Dedicated instruction The dedicated instruction cannnot be used. (2) GX Configurator-CT GX Configurator-CT cannot be used when accessing the Q12PRH/Q25PRHCPU via an intelligent function module on an extension base unit from GX Developer.
  • Page 18: How To Check The Software Version

    SYSTEM CONFIGURATION How to Check the Software Version This section describes how to check the function version of the QD63P6 and software version of GX Configurator-CT. (1) Checking the function version of the QD63P6 (a) Checking the rating plate on the module side Check the version by the last character of "SERIAL".
  • Page 19 SYSTEM CONFIGURATION (2) 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.4 [Product information] screen of GX Developer Remark The version description for GX Configurator-CT has been changed as shown...
  • Page 20: Chapter3 Specifications

    This chapter describes the performance specifications of the QD63P6, I/O signals to the programmable controller CPU, specifications of the buffer memory. For general specifications of the QD63P6, refer to the User's Manual for the CPU module. Performance Specifications The following table shows the performance specifications of the QD63P6.
  • Page 21: Function List

    SPECIFICATIONS Function List The following table shows the functions of the QD63P6. I/O numbers (X/Y) and buffer memory addresses in Description describe only for channel For I/O numbers (X/Y) and buffer memory addresses from channels 2 to 6, refer to Section 3.3.1.
  • Page 22 The following table shows the I/O signals from the QD63P6 to the programmable controller CPU. Note that that I/O numbers (X/Y) and I/O addresses mentioned in this and the subsequent chapters are assumed when the QD63P6 is mounted to the null I/O slot on the main base unit. Table 3.4 I/O signal list...
  • Page 23: I/O Signals To The Programmable Controller Cpu

    SPECIFICATIONS POINT The reserved devices above are for system use, not for users. If used (turning ON/OFF) by a user, the functions of the QD63P6 are not ensured. 3.3 I/O Signals to the Programmable Controller CPU 3.3.1 I/O signal list...
  • Page 24: Functions Of I/O Signals

    Programmable controller •Turns ON at reset or power-ON of the programmable controller CPU when counting of the QD63P6 is ready, and the count processing is performed. •Turns OFF when watchdog timer error or an error which affects the system (error code: 810 to 850) occurs.
  • Page 25 •Turns ON when an error occurs at any of arbitrary channels. •To identify the channel where an error occurs, check the error code of the buffer memory (Un\G20). •Turns OFF when all channels are normal. Performed by the QD63P6. CH1 Error reset command (Un/G21) CH1 Error code...
  • Page 26 •Turn OFF the preset command (Y02) when the preset value setting (Un\G4 and 5) is stored to the present value A (Un\G10 and 11)/present value B (Un\G200 and 201). •For general operation, refer to "Section 5.4". Performed by the QD63P6. Preset command CH1 Preset value setting (Un/G4 and 5)
  • Page 27 Count enable command Count enable command (Y04) Present value A (Un\G10 and 11) Turn ON to execute the periodic pulse counter function. Performed by the QD63P6. Present value A (Un\G10 and 11) Periodic pulse counter start command (Y05) Period setting...
  • Page 28: Buffer Memory Assignment

    If written by a user, the functions of the QD63P6 are not ensured. • All data in the buffer memory of the QD63P6 are initialized when the programmable controller CPU is powered ON or reset. To save...
  • Page 29 SPECIFICATIONS POINT • Items with "*2" in Table 3.7 are stored in 32-bit signed binary to the buffer memory; therefore, make sure to read each value in units of 2 words. • Since the buffer memory contents are automatically updated by count operation, the latest count value can be read from the buffer memory.
  • Page 30: Details Of The Buffer Memory

    3.4.2 Details of the buffer memory This section describes details of the QD63P6 buffer memory. Each item contains the I/O numbers (X/Y) and buffer memory addresses of channel 1 only. For buffer memory addresses of channel 2 or later and I/O numbers (X/Y) of channel 2 or later, refer to Section 3.4.1 and Section 3.3.1, respectively.
  • Page 31 • When 1 (Change request) is written to the coincidence detection point change request (Un\G8), the value written to the coincidence detection point setting (Un\G6 and 7) becomes effective, the QD63P6 writes 0 (No change request) to the coincidence detection point change request (Un\G8), and then the coincidence detection point setting is started.
  • Page 32 • Setting range is from 1 to 65535 (16-bit binary) and unit of the time is 10 [ms]. Example) Writing 420 to the period setting (Un\G9) 4200 [ms] Performed by the QD63P6. Present value A (Un\G10 and 11) Periodic pulse...
  • Page 33 • According to the overflow occurrence status, 0 (No detection) or 1 (Overflow occurred) is stored to the overflow detection flag (Un\G12). • This flag operates as follows. (when the pulse input mode is 1 multiple of 1 phase) Performed by the QD63P6. Present value A 2147483646 2147483647...
  • Page 34 (refer to Section 5.5). • "0" is stored during stop of the periodic pulse counter function and "1"is stored during execution of the function in the periodic counter flag (Un\G13). Performed by the QD63P6. Present value A (Un\G10 and 11)
  • Page 35 (Un\G20) by "0". • Writing 1 (ON) to the error reset command (Un\G21) resets the error code. • After an error code is reset, the QD63P6 writes 0 (OFF) to the error reset command (Un\G21). • After fixing the error cause, make sure to reset the error code with the error reset command (Un\G21).
  • Page 36: Interface With External Devices

    SPECIFICATIONS Interface with External Devices The following table shows the list of external device interface for the QD63P6. Table 3.8 External device interface list for the QD63P6 Operating Input voltage Terminal current Internal circuit Signal name Operation (guaranteed classification number...
  • Page 37: Connectable Encoders

    SPECIFICATIONS Connectable Encoders The encoders connectable to the QD63P6 are described below. • Open collector output type encoders • CMOS level voltage output type encoders (Confirm that the encoder output voltage meets the specifications for the QD63P6.) POINT The following encoder is not applicable for the QD63P6.
  • Page 38: Chapter4 Procedures And Settings Before Operation

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

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

    PROCEDURES AND SETTINGS BEFORE OPERATION Part Names The following explains the part names of the QD63P6. (Connector terminal number) (Connector terminal number) Figure 4.2 Appearance of the QD63P6 Table 4.2 Part names Name Description Indicates operation status of the QD63P6.
  • Page 41 Crimp type, straight out A6CON2 Soldering type, usable for both straight out and A6CON4 diagonal out The A6CON3 connector (pressure welding type, straight out) cannot be used for the QD63P6. (b) Connector crimp tool Table 4.4 Connector crimp tool Type Model...
  • Page 42: Wiring

    Wiring precautions One of the conditions to maximize the QD63P6 functions and make the system high- reliable, the external wiring has to be laid so that the QD63P6 becomes less subject to noise. This section describes the precautions on external wiring.
  • Page 43 Figure 4.3 Example of wiring for measures against noise (6) When wiring the QD63P6 and an encoder, separate the power supply cable and signal line. (Refer to POINT in Section 4.4.2.) 4.4 Wiring...
  • Page 44 OPERATION (7) To conform the wiring to the EMC and Low Voltage Directives, 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 (7.87inch) 20cm (7.87inch) 20cm (7.87inch)
  • Page 45: Example Of Wiring The Module And An Encoder

    PROCEDURES AND SETTINGS BEFORE OPERATION 4.4.2 Example of wiring the module and an encoder (1) Example of wiring with an encoder of open collector output type (5 VDC) QD63P6 Encoder Phase A pulse input + Phase A Shielded twisted pair cable...
  • Page 46 PROCEDURES AND SETTINGS BEFORE OPERATION POINT When wiring the QD63P6 and an encoder, separate the power supply cable and signal line. The following diagram shows an example of wiring with Phase A. (Wire Phase B as well). [Wiring example] Shielded twisted pair cable...
  • Page 47 Figure 4.9 Example of wiring with an encoder (12/24 VDC) According to external power supply voltage, connect load resistance between each pulse input terminal of the QD63P6 and shielded twisted pair cable. The following table shows conditions on load resistance.
  • Page 48 PROCEDURES AND SETTINGS BEFORE OPERATION POINT When wiring the QD63P6 and an encoder, separate the power supply cable and signal line. The following diagram shows an example of wiring with Phase A. (Wire Phase B as well). [Wiring example] Shielded twisted pair cable...
  • Page 49 PROCEDURES AND SETTINGS BEFORE OPERATION (3) Example of wiring with an encoder of voltage output type (5 VDC) QD63P6 Encoder Phase A pulse input + Phase A Shielded twisted pair cable Shield Phase A pulse input - 1/8 W Phase B pulse input +...
  • Page 50 Figure 4.13 Example of wiring with an encoder (12/24 VDC) According to external power supply voltage, connect load resistance between each pulse input terminal of the QD63P6 and shielded twisted pair cable. The following table shows conditions on load resistance.
  • Page 51: 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.7 Intelligent function module switches Setting item...
  • Page 52 The reserved bits in Table 4.7 are for system use, not for users. Therefore, always fix them to 0. If used (changed from 0 to 1) by a user, the operations of the QD63P6 are not ensured. (2) Details of the intelligent function module switch setting Table 4.8 Details of the intelligent function module switch setting...
  • Page 53 (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 QD63P6 is mounted. [Type]: Select [Intelli]. [Model name]: Input the model of the module.
  • Page 54: Chapter5 Functions

    FUNCTIONS CHAPTER5 FUNCTIONS This chapter describes functions of the QD63P6. Pulse Input and Count Methods 5.1.1 Types of the pulse input method There are six kinds of the pulse input methods: 1 phase pulse input (1 or 2 multiples), CW/ CCW pulse input, and 2 phases pulse input (1, 2 or 4 multiples).
  • Page 55 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 56: Selecting Counter Format

    By selecting a counter format, the following counter operations are available. (1) Linear counter The linear counter generates an overflow error when the count value exceeds the count range of the QD63P6. (2) Ring counter (a) Counting is repeated within the range between the arbitrarily-set ring counter upper limit value (Un\G2 and 3) and ring counter lower limit value (Un\G0 and 1).
  • Page 57: Selecting The Linear Counter

    FUNCTIONS 5.2.1 Selecting the linear counter (1) Linear counter operation When the linear counter is selected, counting is operated in a range between - 2147483648 (lower limit value) and 2147483647 (upper limit value). This can be used in combination with the preset function and the coincidence detection function.
  • Page 58: Selecting The Ring Counter

    FUNCTIONS 5.2.2 Selecting the ring counter (1) Ring counter operation When the ring counter is selected, counting is repeated within the range between the ring counter lower limit value (Un\G0 and 1) and ring counter upper limit value (Un\G2 and 3), which are arbitrarily set in the buffer memory. No overflow error will occur when the ring counter is selected.
  • Page 59 FUNCTIONS (a) When using within the specified range 1) Normally the following range is applied. " Ring counter lower limit Present value A/ Ring counter upper limit " value present value B value Un\G0 and 1 Un\G10 and 11 Un\G2 and 3 Un\G200 and 201 a) General operation Present counter value...
  • Page 60 FUNCTIONS d) Setting example When the count is enabled with a ring counter lower limit value Un\G0 and of 0, ring counter upper limit value Un\G2 and 3 of 2000, and present value A Un\G10 and 11 /present value B Un\G200 and 201 of 500 Present counter value...
  • Page 61 FUNCTIONS 2) When the following range is applied, the operation is as shown in Figure 5.5. "Present value A/present value B Ring counter lower limit value" (Un\G10 and 11)/ (Un\G0 and 1) (Un\G200 and 201) "Ring counter upper limit value Present value A/present value B"...
  • Page 62 FUNCTIONS c) Count operation • Addition count Even if the present value A Un\G10 and 11 /present value B Un\G200 and 201 reaches the ring counter lower limit value Un\G0 and 1 , the ring counter lower limit value Un\G0 and 1 is held as it is.
  • Page 63 Un\G10 and 11 /present value B Un\G200 and 201 of 3000, the count is operated in the entire range of the QD63P6 (-2147483648 (lower limit value) to 2147483647 (upper limit value)). 5.2 Selecting Counter Format - 10 5.2.2 Selecting the ring counter...
  • Page 64 (Un\G0 and 1) with the count enable command (Y04) set to ON, turn OFF the count enable command (Y04) for 2ms or longer and then back ON again. The set value becomes effective in the QD63P6 by this operation.
  • Page 65: Using The Coincidence Detection Function

    When using the coincidence detection function, set any count value in advance. Then, the QD63P6 compares the value with the present A (Un\G10 and 11)/present value B (Un\G200 and 201) of the counter, and outputs the counter value coincidence (X02) when they match.
  • Page 66: Using The Coincidence Detection Function

    (Y01) is turned ON and OFF, the counter value coincidence (X02) turns ON again. • Coincidence detection processing inside the QD63P6 may cause the counter value large (X01) or the counter value small (X03) to turn ON...
  • Page 67 Figure 5.9 Timing of interrupt signal generation (b) It takes approx. 150 s from when the QD63P6 detects coincidence until it makes an interrupt request to a programmable controller CPU. (c) Select [PLC parameter] - [PLC system] - [Intelligent function module setting] - [Interrupt pointer settings] to set the interrupt factors (SI) of the QD63P6 and interrupt pointers of the programmable controller CPU.
  • Page 68 Set the start interrupt factor (SI) No. of the QD63P6. Setting range: 0 to 5 The following shows a setting example where SI 0 to 5 of the QD63P6 in the slot of start I/O No.20 are assigned to interrupt pointers I50 to I55.
  • Page 69 FUNCTIONS POINT • A coincidence detection interrupt occurs when the counter value coincidence (X02) rises (from OFF to ON). This means that, if the coincidence signal is reset and unless the counter value coincidence (X02) is turned OFF, the next interrupt request will not be issued. •...
  • Page 70: Using The Preset Function

    Table 5.4 Details of the preset function operation example Description Writes any value into the preset value setting (Un\G4 and 5) of the QD63P6 in the 32-bit binary format. When the preset command (Y02) rises (from OFF to ON), a value in the preset value setting (Un\G4 and 5) is stored in the present value A (Un\G10 and 11)/ present value B (Un\G200 and 201).
  • Page 71: Using The Periodic Pulse Counter Function

    FUNCTIONS Using the Periodic Pulse Counter Function This function allows the present value A (Un\G10 and 11)/present value B (Un\G200 and 201) and the previous value to be stored in the present periodic pulse count value (Un\G16 and 17) and previous periodic pulse count value (Un\G14 and 15) respectively at intervals of the preset period time (Un\G9), while the periodic pulse counter start command (Y05) is ON.
  • Page 72 FUNCTIONS Count enable command (Y04) Present value A (Un\G10 and 11) Periodic pulse counter start command (Y05) (Period setting) (Un\G9) Present periodic pulse count value (Un\G16 and 17) Previous periodic pulse count value (Un\G14 and 15) Judgment value for updated periodic pulse count value (Un\G18 and 19) Periodic counter flag...
  • Page 73 FUNCTIONS Table 5.5 Details of the periodic pulse counter function operation example Description The counter's present value A (Un\G10 and 11)/present value B (Un\G200 and 201), "0" is stored in the present periodic pulse count value (Un\G16 and 17). The counter's present value A (Un\G10 and 11)/present value B (Un\G200 and 201), "200"...
  • Page 74 The following example program reads the periodic pulse count value of channel 1 of the QD63P6 that is mounted in the slot position of I/O number X/ Y00 to X/Y1F when M0 is turned ON. Figure 5.13 Periodic pulse counter value reading program example (2) Use the dedicated instruction, G(P).PPCVRD .
  • Page 75: Count Response Delay Time

    FUNCTIONS Count Response Delay Time In the QD63P6, a delay will occur in counting in the following cases. (1) When starting counting by the count enable command (Y04), a delay due to the sequence program scan time will occur. (2) A delay due to the control cycle (1ms) will occur when executing the...
  • Page 76: Chapter6 Utility Package (Gx Configurator-Ct)

    (2) Data with initial settings are registered to programmable controller CPU parameters and are automatically written to the QD63P6 when the programmable controller CPU is in RUN. (1) Set the buffer memory of the QD63P6 to which auto refresh is to be performed for each channel.
  • Page 77: 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 78 Table 6.3 Number of settable parameters per module Target module Initial setting Auto refresh setting QD63P6 6 (fixed) 48 (Max.) Example) Counting the number of parameter settings in Auto refresh setting This one row is counted as one setting.
  • Page 79: 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 80 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 81: 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 82 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] 3) From GX Developer, select:...
  • Page 83: 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 Refer to Section 6.3.3. Enter "Start I/O No.", and select "Module type" and "Module model name". Initial setting Auto refresh Auto refresh setting screen...
  • Page 84 UTILITY PACKAGE (GX Configurator-CT) [Online] - [Monitor/Test] Selecting monitor/test module screen Enter "Start I/O No.", and select Monitor/Test "Module type" and "Module model name". Monitor/Test screen Refer to Section 6.6. Figure 6.4 General operation (Continued) 6.3 Utility Package Operation 6.3.2 Operation overview...
  • Page 85: Starting The Intelligent Function Module Utility

    Start the utility from GX Developer to display the [Intelligent function module parameter setting module select] 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 QD63P6 can be started. [Operating procedure] [Tools] [Intelligent function utility]...
  • Page 86 UTILITY PACKAGE (GX Configurator-CT) (2) Command buttons Deletes the initial setting and auto refresh setting of the selected module. Closes this screen. - 11 6.3 Utility Package Operation 6.3.3 Starting the Intelligent function module utility...
  • Page 87 • Set a target programmable controller CPU in GX Developer: [Online] [Transfer setup]. • When mounting the QD63P6 to the remote I/O station, use [Read from PLC]/[Write to PLC] of GX Developer. (3) Checking the required utility While the start I/O is displayed on the Intelligent function module utility setting screen, "...
  • Page 88: Initial Setting

    UTILITY PACKAGE (GX Configurator-CT) Initial Setting [Purpose] Make the initial settings for each channel to operate the QD63P6. The following setting items are available for parameters of [Initial setting]. • Preset value setting • Ring counter lower limit value • Coincidence detection point change request •...
  • Page 89 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 90: Auto Refresh

    UTILITY PACKAGE (GX Configurator-CT) Auto Refresh [Purpose] Set the buffer memory of the QD63P6 to which auto refresh is to be performed for each channel. The following setting items are available for parameters of [Auto refresh setting]. • Present value A •...
  • Page 91 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 92: Monitoring/Test

    UTILITY PACKAGE (GX Configurator-CT) Monitoring/Test 6.6.1 Monitoring/Test [Purpose] Start buffer memory monitoring/testing and I/O signal monitoring/testing from this screen. [Operating procedure] "Select monitor/test module" screen "Start I/O No.*" "Module type" "Module model name" 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 93: 6.6 Monitoring/Test

    UTILITY PACKAGE (GX Configurator-CT) [Setting screen] Selecting these buttons displays the following screens. X/Y Monitor/Test Preset function Figure 6.8 [Monitor/Test] screen 6.6 Monitoring/Test - 18 6.6.1 Monitoring/Test...
  • Page 94 UTILITY PACKAGE (GX Configurator-CT) Ring counter function Coincidence detection Periodic pulse counter function function Figure 6.8 [Monitor/Test] screen (Continued) - 19 6.6 Monitoring/Test 6.6.1 Monitoring/Test...
  • Page 95 (2) After inputting a period [unit: 10 ms] (input "300" in case of the above example), press the key. Enter At this moment, the input value has not yet been written to the QD63P6. (3) Select [ON] in [Setting item] field of [CH Periodic pulse counter start command (Y05)].
  • Page 96: Chapter7 Programming

    1 multiple of 2 phases 200 kPPS Present value A (3) Program conditions This program uses the QD63P6 to perform counting on the conditions listed below. Table 7.2 Initial setting Item Setting value Preset value setting 2500...
  • Page 97 PROGRAMMING Table 7.3 Auto refresh setting Item Setting value CH1 Present value A CH1 Overflow detection flag CH1 Previous periodic pulse count value D114 CH1 Present periodic pulse count value D116 CH1 Judgment value for updated periodic pulse D118 count value CH1 Error code D120 * 1 Set this only when using the linear counter function.
  • Page 98: Program Example When Gx Configurator-Ct Is Used

    PROGRAMMING Program Example when GX Configurator-CT is Used 7.1.1 GX Configurator-CT operation (1) Initial setting (refer to Section 6.4.) Figure 7.2 shows settings have to be made. Figure 7.2 [Initial setting] screen Table 7.5 Items on the [Initial setting] screen Setting item Description Setting...
  • Page 99 PROGRAMMING (2) Auto refresh setting (refer to Section 6.5.) Set the values on the screen as shown in Figure 7.3. (Channel 1 is used.) Figure 7.3 [Auto refresh setting] screen Table 7.6 Items on the [Auto refresh setting] screen Setting item Description Setting CH1 Present value A...
  • Page 100: Program Example

    PROGRAMMING 7.1.2 Program example <Initial setting> Set only when the counter value coincidence (X02) Module Initial READY Count setting Coincidence is turned OFF at enable completed signal reset initial setting. command signal command Initial setting completed signal <Count operation start> Module Count READY...
  • Page 101 PROGRAMMING <Overflow detection processing> Set only when the Module Overflow Overflow linear counter READY status occurrence function is used. storage confirmation LED signal <Error reset processing> Error Error code Error code Error code occurrence storage Error occurrence confirmation LED signal Error reset Error CH1 Error...
  • Page 102: Program Example When Gx Configurator-Ct Is Not Used

    PROGRAMMING Program Example when GX Configurator-CT is not Used 7.2.1 Program example when dedicated instructions are used <Initial setting> Module CH1 Count Initial setting CH1 Preset READY enable completed value setting command signal Coincidence detection point setting Coincidence detection point change request CH1 Ring counter...
  • Page 103 PROGRAMMING <Present value storage> Module Present value Present READY read signal Present value value A storage <Processing at count coincidence> Module Coincidence READY Counter Coincidence confirmation value signal reset LED signal coincidence command Coincidence Counter LED clear Coincidence value signal signal reset coincidence command...
  • Page 104 PROGRAMMING <Error reset processing> Error CH1 Error Error code occurrence code Error code Error code Error code storage Error occurrence confirmation LED signal Error reset Error CH1 Error command occurrence reset confirmation command LED signal 7.2 Program Example when GX Configurator-CT is not Used 7.2.1 Program example when dedicated instructions are used...
  • Page 105: Program Example When Dedicated Instructions Are Not Used

    PROGRAMMING 7.2.2 Program example when dedicated instructions are not used <Initial setting> Module CH1 Count Initial setting CH1 Preset READY enable completed value setting command signal Coincidence detection point setting Coincidence detection point change request CH1 Ring counter lower limit Set only when the value ring counter...
  • Page 106 PROGRAMMING <Present value storage> Module Present value Present READY read signal Present value value A storage <Processing at count coincidence> Module Coincidence READY Counter Coincidence confirmation value signal reset LED signal coincidence command Coincidence Counter LED clear Coincidence value signal signal reset coincidence command...
  • Page 107 PROGRAMMING <Error reset processing> Error CH1 Error Error code occurrence code Error code Error code Error code storage Error occurrence confirmation LED signal Error reset Error CH1 Error command occurrence reset confirmation command LED signal 7.2 Program Example when GX Configurator-CT is not Used - 12 7.2.2 Program example when dedicated instructions are not used...
  • Page 108: 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 coincidence detection point of channel 1. (1) System configuration QD63P6 (X/Y0 to X/Y1F) Figure 7.4 System configuration when the coincidence detection interrupt function is used...
  • Page 109 PROGRAMMING (3) Program example An interrupt must be enabled using the IMASK instruction before using an interrupt pointer. <Enabling interrupt of I50> QD63P6 program <Interrupt 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 110: Chapter8 Troubleshooting

    TROUBLESHOOTING CHAPTER8 TROUBLESHOOTING This chapter describes the description of errors regarding the QD63P6 and troubleshooting for it. Error Processing and Recovery Methods 8.1.1 Checking error description using System Monitor of GX Developer Error codes can be checked by selecting [Module's Detailed Information...] on the [System Monitor] screen of GX Developer.
  • Page 111 The following information is displayed on the [H/W LED Information] screen. Table 8.1 H/W LED Information Item Signal Value "RUN" LED on the QD63P6 0: The LED is OFF. ERR. "ERR." LED on the QD63P6 1: The LED is ON.
  • Page 112 TROUBLESHOOTING The LED display changes according to the operation status of the QD63P6 as follows. Table 8.3 LED display Display contents Display point Operation status Action If the RUN LED does not turn ON after •RUN LED is OFF. Hardware fault the programmable controller is powered ON, the module is a failure.
  • Page 113: When The Run Led Turns Off

    Reset the programmable controller CPU and check that the RUN LED turns ON. If the RUN LED remains OFF even doing so, the QD63P6 is a No watchdog timer error? Section 4.3 failure. Please consult your local Mitsubishi representative, explaining a detailed description of the problem.
  • Page 114: When The Qd63P6 Does Not Start Counting

    TROUBLESHOOTING When the QD63P6 Does Not Start Counting Table 8.6 When the QD63P6 does not start counting Check item Action Reference If the LED on the programmable controller CPU Doesn't the programmable controller CPU indicates an error, correct the error with reference...
  • Page 115: When The Qd63P6 Does Not Normally Count

    TROUBLESHOOTING When the QD63P6 Does Not Normally Count Table 8.7 When the QD63P6 does not normally count Check item Action Reference Check the pulse waveform with synchronoscope. When the input pulse does Does the input pulse waveform meet the performance not meet the performance specifications, Section 3.1...
  • Page 116: When The Coincidence Detection Interrupt Does Not Occur

    TROUBLESHOOTING When the Coincidence Detection Interrupt Does Not Occur Table 8.8 When the coincidence detection interrupt does not occur Check item Action Reference Change the CPU module to the one which Does the CPU module support the coincidence supports the intelligent function module event Section 2.1 (1) detection interrupt function? interrupt.
  • Page 117: Error Codes List

    TROUBLESHOOTING Error Codes List This section describes the descriptions and corrective actions for the errors detected by the QD63P6. Table 8.9 Error codes list Error Operation at error Error name Description Action Reference code Error channel Other channels (Normal) The present value A (Un\G10...
  • Page 118 TROUBLESHOOTING POINT (1) When another error occurs during error occurrence, take the following action. • When an error code from 100 to 600 occurs, the latest error code is ignored and the error code stored before the latest error code is held. •...
  • Page 119: Appendices

    APPENDICES APPENDICES Appendix 1 Dedicated Instructions Appendix 1.1 Dedicated instructions list The following table shows the dedicated instructions supported by the QD63P6. Table App.1 Dedicated instructions supported by the QD63P6 Dedicated Function Description Reference instruction G(P).PPCVRD1 Reads the periodic pulse count value of CH1.
  • Page 120: Appendix 1.2 G(P). Ppcvrd

    APPENDICES Appendix 1.2 G(P). PPCVRD Table App.2 Available devices Available device Link direct device Intelligent Internal device Setting Constant Other function Index (system, user) data File register module register Z Word Word K, H U \G [Instruction symbol] [Executing condition] Command G.PPCVRD G.PPCVRD...
  • Page 121 APPENDICES (1) Function (a) Reads the periodic pulse count value. (b) When reading the periodic pulse count value with the G(P).PPCVRD instruction, consistency between the previous periodic pulse count value and the present periodic pulse count value is retained. (Refer to Section 5.5.) (c) Completion device (D) and completion status indication device (D) +1 are available for the interlock signal of the G(P).PPCVRD instruction.
  • Page 122 The following example shows the program which reads the periodic pulse count value of CH 1 for the QD63P6 mounted to to the slot where I/O number X/Y00 to X/Y1F are assigned when the read command M0 is turned ON.
  • Page 123: Appendix 2 External Dimensions

    APPENDICES Appendix 2 External Dimensions 90 (3.54) 46 (1.81) 27.4 (1.08) 136 (5.35) Unit: mm (inch) Appendix 2 External Dimensions...
  • Page 124 INDEX Applicable System••••••••••••••••••••••••••••••••••••••• 2-1 Features ••••••••••••••••••••••••••••••••••••••••••••••••••• 1-2 Auto refresh•••••••••••••••••••••••••••••••••••••••••••••• 6-15 Function List •••••••••••••••••••••••••••••••••••••••••••••• 3-2 A6CON1••••••••••••••••••••••••••••••••••••••••••••••••••• 4-4 Function version ••••••••••••••••••••••••••••••••••••••••• 2-5 A6CON2••••••••••••••••••••••••••••••••••••••••••••••••••• 4-4 Functions of I/O signals •••••••••••••••••••••••••••••••• 3-5 A6CON3••••••••••••••••••••••••••••••••••••••••••••••••••• 4-4 Functions of the utility package ••••••••••••••••••••••• 6-1 A6CON4••••••••••••••••••••••••••••••••••••••••••••••••••• 4-4 G(P). PPCVRD•••••••••••••••••••••••••••••••••••••••• App-2 Buffer Memory Assignment••••••••••••••••••••••••••••...
  • Page 125: Program Example When Dedicated Instructions Are Used •••••••••••••••••••••••••••••••••••••••••••••7

    Version ••••••••••••••••••••••••••••••••••••••••••••••••2-3,2-5 When Coincidence Detection Interrupt does not occur ••••••••••••••••••••••••••••••••••••••••••• 8-7 When the QD63P6 does not normally count ••••••• 8-6 When the QD63P6 does not start counting •••••••• 8-5 When the RUN LED and ERR. LED turn ON •••••• 8-4 When the RUN LED turns OFF •••••••••••••••••••••••...
  • Page 126 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.

Table of Contents