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

Mitsubishi MELSEC Q Series User Manual

Channel isolated high resolution analog-digital converter module / channel isolated high resolution analog-digital converter module (with signal conditioning function)
Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

Channel Isolated High Resolution Analog-Digital
Converter Module / Channel Isolated High
Resolution Analog-Digital Converter Module (With
Signal Conditioning Function) User's Manual
-Q64AD-GH
-Q62AD-DGH
-GX Configurator-AD (SW2D5C-QADU-E)

Advertisement

Table of Contents
loading

Summary of Contents for Mitsubishi MELSEC Q Series

  • Page 1 Channel Isolated High Resolution Analog-Digital Converter Module / Channel Isolated High Resolution Analog-Digital Converter Module (With Signal Conditioning Function) User's Manual -Q64AD-GH -Q62AD-DGH -GX Configurator-AD (SW2D5C-QADU-E)
  • Page 3: Safety Precautions

     SAFETY PRECAUTIONS  (Always read these instructions before using this equipment.) Before using this product, please read this manual and the relevant manuals introduced in this manual carefully and pay full attention to safety to handle the product correctly. The instructions given in this manual are concerned with this product.
  • Page 4 [INSTALLATION PRECAUTIONS] CAUTION  Use the programmable controller in an environment that meets the general specifications contained in the user's manual of the CPU module to use. Using this programmable controller in an environment outside the range of the general specifications may cause electric shock, fire, malfunction, and damage to or deterioration of the product.
  • Page 5 [WIRING PRECAUTIONS] CAUTION  Always ground the FG terminal of the Q62AD-DGH. Not doing so can cause an electric shock or malfunction.  When turning on the power and operating the module after wiring is completed, always attach the terminal cover that comes with the product. There is a risk of electric shock if the terminal cover is not attached.
  • Page 6 [STARTING AND MAINTENANCE PRECAUTIONS] CAUTION  Do not disassemble or modify the modules. Doing so could cause failure, malfunction injury or fire.  Be sure to shut off all phases of the external power supply used by the system before mounting or removing the module.
  • Page 7: Conditions Of Use For The Product

    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.
  • Page 8: Revisions

    REVISIONS The manual number is given on the bottom left of the back cover. Print Date Manual Number Revision May, 2002 SH (NA)-080277-A First edition Feb., 2003 SH (NA)-080277-B Correction SAFETY PRECAUTIONS, Section 2.1, 3.4.1, 3.4.23, 4.4.2, 5.1, 5.5.2, 5.6.1, 5.6.3, 6.3.2, 6.5.2, 7.3.4, 7.3.6, 7.4, Appendix 1.2, Appendix 1.3 May, 2003 SH (NA)-080277-C Addition...
  • Page 9 This manual confers no industrial property rights or any rights of any other kind, nor does it confer any patent licenses. Mitsubishi Electric Corporation cannot be held responsible for any problems involving industrial property rights which may occur as a result of using the contents noted in this manual.
  • Page 10: Table Of Contents

    INTRODUCTION Thank you for purchasing the MELSEC-Q series programmable controller. Before using this product, please read this manual carefully to develop familiarity with the functions and performance of the Q series programmable controller to handle the product correctly. CONTENTS SAFETY PRECAUTIONS ..........................A- 1 CONDITIONS OF USE FOR THE PRODUCT .....................
  • Page 11 3.4.4 CH A/D conversion starting time setting (buffer memory addresses 5, 6: Un\G5, Un\G6) (Q62AD-DGH only) ..........3-52 3.4.5 Averaging process specification (buffer memory address 9: Un\G9) ..........3-54 3.4.6 A/D conversion completed flag (buffer memory address 10: Un\G10) .......... 3-55 3.4.7 CH digital output value (16bit) (buffer memory addresses 11 to 14: Un\G11 to Un\G14) ..
  • Page 12 5.2 Installing and Uninstalling the Utility Package ..................5- 2 5.2.1 Handling precautions ........................5- 2 5.2.2 Operating environment ........................5- 4 5.3 Utility Package Operation ........................5- 6 5.3.1 Common utility package operations ....................5- 6 5.3.2 Operation overview .......................... 5- 9 5.3.3 Starting the intelligent function module utility ..................
  • Page 13 7.3.5 When user range setting is used and initial setting was made with sequence program (other system is available) ....................... 7-25 7.3.6 When user range setting is used and initial setting was made with sequence program (other system is unavailable) ......................7-30 7.4 Range Reference Table ..........................
  • Page 14: About Manuals

    COMPLIANCE WITH EMC AND LOW VOLTAGE DIRECTIVES (1) Method of ensuring compliance To ensure that Mitsubishi programmable controllers maintain EMC and Low Voltage Directives when incorporated into other machinery or equipment, certain measures may be necessary. Please refer to one of the following manuals.
  • Page 15: Terms

    TERMS Unless otherwise specified, this manual uses the following general terms and abbreviations. Abbreviation/general terms Description of the abbreviation/general terms A/D converter module Generic term for Q64AD-GH and Q62AD-DGH ® DOS/V personal computer IBM PC/AT or compatible computer with DOS/V. GX Developer Product name of the software package for the MELSEC programmable controllers.
  • Page 16: Product Structure

    PRODUCT STRUCTURE The product structure of this product is given in the table below. Model code Product name Quantity Type Q64AD-GH Channel Isolated High Resolution Analog-Digital Q64AD-GH Converter Module Type Q62AD-DGH Channel Isolated High Resolution Analog-Digital Q62AD-DGH Converter Module (with Signal Conditioning Function) SW2D5C-QADU-E GX Configurator-AD Version 2 (1-license product) (CD-ROM)
  • Page 17 MEMO A - 15 A - 15...
  • Page 18: Overview

    1 OVERVIEW MELSEC-Q 1 OVERVIEW This User's Manual describes the specifications, handling and programming methods for the type Q64AD-GH channel isolated high resolution analog-digital converter module (hereinafter referred to as the Q64AD-GH) and type Q62AD-DGH channel isolated high resolution analog-digital converter module (with signal conditioning function) (hereinafter referred to as the Q62AD-DGH), which are used with the MELSEC-Q series CPU modules.
  • Page 19 1 OVERVIEW MELSEC-Q (7) Changing the input range The input range can easily be set from the GX Developer. 1: Input range refers to the type of offset/gain settings. The most frequently used range is set as the default but the user can also set the offset/gain. (8) A/D conversion system There are the following five A/D conversion systems.
  • Page 20 1 OVERVIEW MELSEC-Q (12) Offset/gain setting GX Configurator-AD, dedicated instruction (G(P). OFFGAN) or mode switching setting allows a shift to the offset/gain setting mode easily. (13) Easy configuration with GX Configurator-AD GX Configurator-AD, which is sold separately, allows the configuration of an A/D converter module on its screen, thus resulting in a reduction of sequence programs.
  • Page 21: System Configuration

    2 SYSTEM CONFIGURATION MELSEC-Q 2 SYSTEM CONFIGURATION This chapter explains the system configuration of the A/D converter module. 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 For the applicable modules, the number of modules, and base units applicable to the A/D converter module, refer to the user’s manual for the CPU module used.
  • Page 22 2 SYSTEM CONFIGURATION MELSEC-Q (3) Compatibility with online module change The A/D conversion module is configured for function version C by default, and supports online module change. For the procedure of online module change, refer to Chapter 7. (4) Q64AD-GH compatible software packages Relation between the system containing the Q64AD-GH and software package is shown in the following table.
  • Page 23 2 SYSTEM CONFIGURATION MELSEC-Q (5) Q62AD-DGH compatible software packages Relation between the system containing the Q62AD-DGH and software package is shown in the following table. GX Developer or GX Works2 is necessary when using the Q62AD-DGH. Software Version GX Developer GX Works2 GX Configurator-AD Single CPU system...
  • Page 24 2 SYSTEM CONFIGURATION MELSEC-Q POINT (1) The A/D converter module does not have the products of function versions A and B. The products of function version C include the functions of the products of function versions A and B. (2) Depending on the version of GX Configurator-AD, applicable system, CPU module and functions of A/D converter module.
  • Page 25: Precautions On System Configuration

    2 SYSTEM CONFIGURATION MELSEC-Q 2.2 Precautions on System Configuration (1) For use with the Redundant CPU (a) Dedicated instruction The dedicated instruction cannot be used. (b) GX Configurator-AD connection GX Configurator-AD cannot be used when accessing the Redundant CPU via an intelligent function module on an extension base unit from GX Developer.
  • Page 26 2 SYSTEM CONFIGURATION MELSEC-Q 2.3 How to Check the Function Version, Serial Number, Product Information and Software Version (1) Checking the function version and serial number The function version and serial number of the A/D converter module can be checked on the rating plate and the front of the module, as well as the system monitor of GX Developer.
  • Page 27 2 SYSTEM CONFIGURATION MELSEC-Q (c) Check on the system monitor (Production information list) To view the system monitor, on GX Developer, go to [Diagnostics] and select [System monitor], then click the Product Information List button. 1) Indication of the production number The A/D converter module does not support the production number display;...
  • Page 28 2 SYSTEM CONFIGURATION MELSEC-Q (2) Checking the software version of GX Configurator-AD To check the software version of GX Configurator-AD, follow these steps on GX Developer: [Help] [Product information]. Software version (In the case of GX Developer Version 7) REMARK The version indication for the GX Configurator-AD has been changed as shown below from the SW0D5C-QADU-E 50F upgrade product.
  • Page 29: Cautions For Power Supply From Q61P-A1/A2 To Q64Ad-Gh

    2 SYSTEM CONFIGURATION MELSEC-Q 2.4 Cautions for Power Supply from Q61P-A1/A2 to Q64AD-GH When using the Q61P-A1/A2 and Q64AD-GH in combination, it is required to use them within the range in Table 2.1. This requirement applies to the case where the Q64AD-GH satisfies any of the following conditions.
  • Page 30: Specifications

    SPECIFICATIONS MELSEC-Q 3 SPECIFICATIONS The description of this chapter and later is based on the Q64AD-GH. 3.1 Performance Specifications 3.1.1 Performance specifications list Table 3.1 shows the performance specifications of the A/D converter modules. Table 3.1 Performance Specifications of Q64AD-GH Model name Q64AD-GH Item...
  • Page 31 SPECIFICATIONS MELSEC-Q 1: Accuracy of offset/gain setting at ambient temperature 2: "digit" indicates a digital value. 3: Accuracy per temperature change of 1°C Example) Accuracy when temperature changes from 25 to 30°C 0.05% (reference accuracy) + 0.00714 %/°C (temperature coefficient) 5°C (temperature change difference) = 0.0857% 4: Current value indicates value of instant input current that does not break module inner electrical resistance.
  • Page 32 SPECIFICATIONS MELSEC-Q Table 3.2 Performance Specifications of Q62AD-DGH (2/2) Model name Q62AD-DGH Item Maximum number of writes for 100,000 PROM Number of I/O occupied points 16 points External interface 18 points terminal block Applicable wire size 0.3 to 0.75mm Applicable solderless terminals R1.25-3 (Solderless terminals with sleeves are not applicable) 24VDC +20%, -15% Ripple, spike within 500mV...
  • Page 33: I/O Conversion Characteristic

    SPECIFICATIONS MELSEC-Q 3.1.2 I/O conversion characteristic The I/O conversion characteristic represents the angle formed by a straight line connecting the "offset value" and "gain value" when the analog signals (voltage or current input) from outside the programmable controller are converted to digital values. Offset value The offset value denotes the analog input value (voltage or current) that makes the digital output value 0.
  • Page 34 SPECIFICATIONS MELSEC-Q Input characteristics of Q64AD-GH Voltage input characteristic Fig. 3.1 shows a graph of the voltage input characteristic. 1) 1 to 5V Analog input practical range 2) 0 to 5V Analog input practical range 32 bits 32 bits 65535 65535 64000 64000...
  • Page 35 SPECIFICATIONS MELSEC-Q POINT Set within the analog input range and digital output range for each input range. If these ranges are exceeded, the resolution and accuracy may not fall within the performance specifications. (Avoid the use of dotted areas of Fig. 3.1.) Do not input an analog input voltage of -15V or less, or +15V or more.
  • Page 36 SPECIFICATIONS MELSEC-Q Current input characteristic Fig. 3.2 shows a graph of the current input characteristic. 2) 0 to 20mA Analog input practical range 32 bits 65535 64000 16 bits 32767 32000 -768 -1536 Analog input current (mA) Fig. 3.2 Current input characteristic of Q64AD-GH 3 - 7 3 - 7...
  • Page 37 SPECIFICATIONS MELSEC-Q POINT Set within the analog input range and digital output range for each input range. If these ranges are exceeded, the resolution and accuracy may not fall within the performance specifications. (Avoid the use of dotted areas of Fig. 3.2.) Do not input an analog input current of -30mA or less, or +30mA or more.
  • Page 38 SPECIFICATIONS MELSEC-Q Input characteristic of Q62AD-DGH Fig. 3.3 shows a graph of the Q62AD-DGH input characteristic. Fig. 3.3 Input characteristic of Q62AD-DGH POINT Set within the analog input range and digital output range for each input range. If these ranges are exceeded, the resolution and accuracy may not fall within the performance specifications.
  • Page 39: Accuracy

    SPECIFICATIONS MELSEC-Q 3.1.3 Accuracy The reference accuracy is the accuracy at the ambient temperature for offset/gain setting. The temperature coefficient is the accuracy per temperature variation of 1°C. The reference accuracy is the accuracy relative to the maximum value of the digital output value.
  • Page 40: Function List

    SPECIFICATIONS MELSEC-Q 3.2 Function List Table 3.3 lists the functions of the A/D converter modules. Table 3.3 Function list Item Function Reference section (1) Specifies whether to enable or disable the A/D conversion for each A/D conversion channel. Section 3.4.2 enable/disable setting (2) The conversion speed is 10ms regardless of the number of conversion enabled channels.
  • Page 41 SPECIFICATIONS MELSEC-Q 1: When the input range is set as shown below, online module change with a module that does not support the analog input range extended mode causes an intelligent function module switch error. For the Q64AD-GH: 4 to 20mA (Extended mode): A 1 to 5V (Extended mode): B For the Q62AD-DGH: 4 to 20mA (Extended mode): A 3 - 12...
  • Page 42: A/D Conversion Methods

    SPECIFICATIONS MELSEC-Q 3.2.1 A/D conversion methods Sampling processing A/D conversion is performed successively for the analog input value, and the converted digital output values are stored in the buffer memory. The conversion speed is 10ms regardless of the number of conversion enabled channels.
  • Page 43 SPECIFICATIONS MELSEC-Q Primary delay filter A digital value whose transient noise has been smoothed is output according to the preset time constant. The degree of smoothing varies with the time constant setting. The relational expression of the time constant and digital output value is indicated below.
  • Page 44 SPECIFICATIONS MELSEC-Q [Example 2] Digital output value when the variation of the analog input value has a ringing waveform Under the condition that the Q64AD-GH is used with an input range of 0 to 10V, the digital output value with a time constant setting of 2000ms (2s), with a time constant setting of 1000ms (1s), or with the move averaging processing of 16 times changes as shown in the figure below, respectively.
  • Page 45: Maximum And Minimum Values Hold Function

    SPECIFICATIONS MELSEC-Q 3.2.2 Maximum and minimum values hold function The maximum and minimum values are held in the buffer memory channel by channel. The maximum and minimum values are cleared to 0 when the maximum value/minimum value reset request (YD) or operating condition setting request (Y9) is turned ON, and new maximum and minimum values are stored when conversion is started.
  • Page 46 SPECIFICATIONS MELSEC-Q 3 - 17 3 - 17...
  • Page 47 SPECIFICATIONS MELSEC-Q This function is executed at every sampling processing. Perform the following procedure to use this function. Set the input signal error detection setting value for the corresponding channel. Enable the A/D conversion of the corresponding channel. Enable the input signal error detection of the corresponding channel. Turn ON the operating condition setting request (Y9).
  • Page 48 SPECIFICATIONS MELSEC-Q REMARK The following table shows the lower limit value, offset value, and gain value for each range. Table 3.4 Lower limit value, offset value, and gain value for input range (Q64AD-GH) Input Analog input range Lower limit value Offset value Gain value 0 to 10V...
  • Page 49 SPECIFICATIONS MELSEC-Q Accordingly, set the input signal error detection setting value to "100 (10.0%)". With this setting, the input signal error detection setting value works as show below. (The setting "100 (10.0%)" allows an error to be detected at a level of 21.6mA as well as 2.4mA.) (9) Setting up input signal error detection with customized values for the upper limit value only, lower limit value only, or upper and lower limit values...
  • Page 50 SPECIFICATIONS MELSEC-Q 1) For input signal error detection at a level of the lower limit value only • Input signal error detection extended setting: 1 (Different upper limit value and lower limit value) • Input signal error detection upper limit setting value: 251 (Input signal error detection invalid) •...
  • Page 51 SPECIFICATIONS MELSEC-Q 3) For input signal error detection at a level of customized upper and lower limit values • Input signal error detection extended setting: 1 (Different upper limit value and lower limit value) • Input signal error detection upper limit value: 50 (5.0%) •...
  • Page 52: Warning Output Function

    SPECIFICATIONS MELSEC-Q 3.2.4 Warning output function Process alarm If the detected digital output value rose to or above the process alarm upper upper limit value or fell to or below the process alarm lower lower limit value and entered the warning output range, the warning output flag (buffer memory address 48: Un\G48) and warning output signal (X8) turn ON and the ALM LED is lit to indicate the warning.
  • Page 53 SPECIFICATIONS MELSEC-Q Rate alarm If the digital output value sampled at intervals of the rate alarm warning detection period indicated a varying rate equal to or greater than the rate alarm upper limit value or a varying rate equal to or less than the rate alarm lower limit value, the warning output flag (buffer memory address 48: Un\G48) and warning output signal (X8) turn ON and the ALM LED is lit to indicate the warning of the rate alarm.
  • Page 54 SPECIFICATIONS MELSEC-Q Set the rate alarm upper limit value/lower limit value in 0.1%/s increments relative to the maximum value (64000) of the digital output value. The setting range is -65536 to 65535 (-6553.6% to 6553.5%). The setting range of the rate alarm warning detection period is 10 to 5000ms.
  • Page 55 SPECIFICATIONS MELSEC-Q Example of setting the rate alarm upper limit value/lower limit value when it is desired to watch that the digital output value is at the fall rate within the specified range Varying rate (%) of digital output value Rate alarm upper limit value -20% -30%...
  • Page 56: A/D Conversion Starting Time Setting Function (Q62Ad-Dgh Only)

    SPECIFICATIONS MELSEC-Q 3.2.5 A/D conversion starting time setting function (Q62AD-DGH only) As the A/D conversion starting time, set the "time necessary from when the used 2-wire transmitter powers on until its output stabilizes". This setting allows A/D conversion processing to be started as soon as the output of the 2-wire transmitter stabilizes.
  • Page 57: I/O Signals For The Programmable Controller Cpu

    SPECIFICATIONS MELSEC-Q 3.3 I/O Signals for the Programmable Controller CPU 3.3.1 List of I/O signals Table 3.6 lists the I/O signals of the Q64AD-GH. Table 3.7 lists the I/O signals of the Q62AD-DGH. Note that I/O numbers (X/Y) shown in this chapter and thereafter are the values when the start I/O number for the A/D converter module is set to 0.
  • Page 58 SPECIFICATIONS MELSEC-Q Table 3.7 List of I/O signal (Q62AD-DGH) Signal direction CPU Module Q62AD-DGH Signal direction CPU Module Q62AD-DGH Device No. (Input) Signal name Device No. (Output) Signal name Module ready Use prohibited Use prohibited Warning output signal Operating condition setting completed flag Operating condition setting request Offset/gain setting mode flag User range writing request...
  • Page 59: Details Of I/O Signals

    SPECIFICATIONS MELSEC-Q 3.3.2 Details of I/O signals I/O signals for the A/D converter modules are explained in detail below. Input signals Device No. Signal Name Description (1) When the programmable controller CPU is powered on or reset, this signal turns on once the preparation for A/D conversion has been completed, and A/D conversion processing is then performed.
  • Page 60 SPECIFICATIONS MELSEC-Q Device No. Signal Name Description (1) This signal is used as an interlock condition to turn ON/OFF the Operating condition setting request (Y9) when any of the following settings has been changed. • A/D conversion enable/disable setting (buffer memory address 0: Un\G0) •...
  • Page 61 SPECIFICATIONS MELSEC-Q Device No. Signal Name Description [In offset/gain setting mode] (1) This signal is used as an interlock condition to turn ON/OFF the User range writing request (YA) when the value at completion of offset/gain setting adjustment is registered. (2) See Section 4.6 regarding the offset/gain settings.
  • Page 62 SPECIFICATIONS MELSEC-Q Device No. Signal Name Description (1) This is used as an interlock condition for setting the channel change request (YB) to ON/OFF when changing the channel for which the offset/gain settings are to be performed. (2) See Section 4.6 regarding the offset/gain settings. Performed by the A/D converter module Performed by the sequence program Offset/gain setting mode...
  • Page 63 SPECIFICATIONS MELSEC-Q Device No. Signal Name Description (1) This signal is used as an interlock condition to turn ON/OFF the offset/gain change request (YC) when the offset/gain value is changed. (2) Refer to Section 4.6 for the offset/gain setting. Offset/gain Performed by the A/D converter module change Performed by the sequence program...
  • Page 64 SPECIFICATIONS MELSEC-Q Output signals Device No. Signal Name Description (1) Turn this signal ON when making any of the following settings valid. • A/D conversion enable/disable setting (buffer memory address 0: Un\G0) • CH Average time/Average number of times/Move average/Time constant settings (buffer memory addresses 1 to 4: Un\G1 to Un\G4) •...
  • Page 65 SPECIFICATIONS MELSEC-Q POINT When the User range writing request (YA) is turned ON in the normal mode with A/D conversion enabled, the A/D converter module restores the user range. Offset/gain setting mode flag (XA) User range writing request (YA) During restoration Restoration completed User range restoration processing...
  • Page 66: Buffer Memory

    SPECIFICATIONS MELSEC-Q 3.4 Buffer Memory 3.4.1 Buffer memory assignment This section describes the buffer memory assignments of the A/D converter modules. (1) Buffer memory assignment of Q64AD-GH POINT Do not write data from system area or sequence program to the buffer memory area where writing is disabled.
  • Page 67 SPECIFICATIONS MELSEC-Q 1 Indicates whether reading from and writing to a sequence program are enabled. R : Read enabled W : Write enabled 2 When writing data to the buffer memory, always perform write under the interlock conditions (buffer memory write conditions) of the following I/O signals. Buffer memory writing conditions Writing Operating...
  • Page 68 SPECIFICATIONS MELSEC-Q Table 3.8 Buffer memory assignment of Q64AD-GH (2/5) Address Default Read/Write Description Reference value Hexadecimal Decimal CH1 Maximum value(16Bit) CH1 Minimum value(16Bit) CH2 Maximum value(16Bit) CH2 Minimum value(16Bit) Section 3.4.11 CH3 Maximum value(16Bit) CH3 Minimum value(16Bit) CH4 Maximum value(16Bit) CH4 Minimum value(16Bit) System area —...
  • Page 69 SPECIFICATIONS MELSEC-Q 1 Indicates whether reading from and writing to a sequence program are enabled. R : Read enabled W : Write enabled 2 When writing data to the buffer memory, always perform write under the interlock conditions (buffer memory write conditions) of the following I/O signals. Buffer memory writing conditions Writing Operating...
  • Page 70 SPECIFICATIONS MELSEC-Q Table 3.8 Buffer memory assignment of Q64AD-GH (3/5) Address Default Read/Write Description Reference value Hexadecimal Decimal System area — — — CH1 Process alarm lower lower limit value (L) CH1 Process alarm lower upper limit value (L) CH1 Process alarm upper lower limit value (L) CH1 Process alarm upper upper limit value (L) CH2 Process alarm lower lower limit value (L) CH2 Process alarm lower upper limit value (L)
  • Page 71 SPECIFICATIONS MELSEC-Q 1 Indicates whether reading from and writing to a sequence program are enabled. R : Read enabled W : Write enabled 2 When writing data to the buffer memory, always perform write under the interlock conditions (buffer memory write conditions) of the following I/O signals. Buffer memory writing conditions Writing Operating...
  • Page 72 SPECIFICATIONS MELSEC-Q Table 3.8 Buffer memory assignment of Q64AD-GH (4/5) Address Default Read/Write Description Reference value Hexadecimal Decimal CH2 Rate alarm upper limit value (L) CH2 Rate alarm lower limit value (L) CH3 Rate alarm upper limit value (L) Section 3.4.19 CH3 Rate alarm lower limit value (L) CH4 Rate alarm upper limit value (L)
  • Page 73 SPECIFICATIONS MELSEC-Q Table 3.8 Buffer memory assignment of Q64AD-GH (5/5) Address Read/Write Default Reference Description Hexadecimal Decimal value CH1 Industrial shipment settings offset value CH1 Industrial shipment settings gain value CH2 Industrial shipment settings offset value CH2 Industrial shipment settings gain value CH3 Industrial shipment settings offset value CH3 Industrial shipment settings gain value CH4 Industrial shipment settings offset value...
  • Page 74 SPECIFICATIONS MELSEC-Q Buffer memory assignment of Q62AD-DGH POINT Do not write data from system area or sequence program to the buffer memory area where writing is disabled. Doing so may cause malfunction. Table 3.9 Buffer memory assignment of Q62AD-DGH (1/4) Address Default Read/Write...
  • Page 75 SPECIFICATIONS MELSEC-Q 1 Indicates whether reading from and writing to a sequence program are enabled. R : Read enabled W : Write enabled 2 When writing data to the buffer memory, always perform write under the interlock conditions (buffer memory write conditions) of the following I/O signals. Buffer memory writing conditions Writing Operating...
  • Page 76 SPECIFICATIONS MELSEC-Q Table 3.9 Buffer memory assignment of Q62AD-DGH (2/4) Address Default Read/Write Description Reference value Hexadecimal Decimal System area — — — CH1 Digital output value(32Bit) (L) Section 3.4.15 CH2 Digital output value(32Bit) (L) System area — — — CH1 Maximum value(32Bit) (L) CH1 Minimum value(32Bit) (L) Section...
  • Page 77 SPECIFICATIONS MELSEC-Q 1 Indicates whether reading from and writing to a sequence program are enabled. R : Read enabled W : Write enabled 2 When writing data to the buffer memory, always perform write under the interlock conditions (buffer memory write conditions) of the following I/O signals. Buffer memory writing conditions Writing Operating...
  • Page 78 SPECIFICATIONS MELSEC-Q Table 3.9 Buffer memory assignment of Q62AD-DGH (3/4) Address Default Read/Write Description Reference value Hexadecimal Decimal System area — — — CH1 Rate alarm upper limit value (L) CH1 Rate alarm lower limit value (L) Section 3.4.19 CH2 Rate alarm upper limit value (L) CH2 Rate alarm lower limit value (L) System area —...
  • Page 79 SPECIFICATIONS MELSEC-Q Table 3.9 Buffer memory assignment of Q62AD-DGH (4/4) Address Default Read/Write Description Reference value Hexadecimal Decimal CH1 User range settings offset value CH1 User range settings gain value Section 3.4.23 CH2 User range settings offset value CH2 User range settings gain value 1 Indicates whether reading from and writing to a sequence program are enabled.
  • Page 80: A/D Conversion Enable/Disable Setting (Buffer Memory Address 0: Un\G0)

    SPECIFICATIONS MELSEC-Q 3.4.2 A/D conversion enable/disable setting (buffer memory address 0: Un\G0) Sets whether the output of an A/D conversion value is enabled or disabled for each channel. For the Q62AD-DGH, the A/D conversion enable/disable setting also acts as the ON/OFF setting of the power supply to the 2-wire transmitter.
  • Page 81: Ch Average Time/Average Number Of Times/Move Average/Time Constant Settings (Buffer Memory Addresses 1 To 4: Un\G1 To Un\G4)

    SPECIFICATIONS MELSEC-Q 3.4.3 CH average time/average number of times/move average/time constant settings (buffer memory addresses 1 to 4: Un\G1 to Un\G4) Set the average time, average count, move average count or primary delay filter time constant for each channel specified for averaging processing. To make the setting valid, the operating condition setting request (Y9) must be turned ON/OFF.
  • Page 82 SPECIFICATIONS MELSEC-Q POINT The channel where the value outside the above setting range has been written results in an error, the error code is stored into the Error code (buffer memory address 19: Un\G19), the error flag (XF) turns ON, and operation is performed at the pre-error setting.
  • Page 83: Averaging Process Specification (Buffer Memory Address 9: Un\G9)

    SPECIFICATIONS MELSEC-Q 3.4.5 Averaging process specification (buffer memory address 9: Un\G9) When selecting sampling processing or averaging processing, write the setting to buffer memory address 9 (Un\G9). When you selected averaging processing, select the average time, average count, move average or primary delay filter. To make the setting valid, the operating condition setting request (Y9) must be turned ON/OFF.
  • Page 84: A/D Conversion Completed Flag (Buffer Memory Address 10: Un\G10)

    SPECIFICATIONS MELSEC-Q POINT For the channel where the value outside the above setting range has been written, operation is performed by sampling processing. 3.4.6 A/D conversion completed flag (buffer memory address 10: Un\G10) When A/D conversion for the channels enabled for conversion is complete, the A/D conversion completed flag is set to 1.
  • Page 85: Ch Digital Output Value (16Bit) (Buffer Memory Addresses 11 To 14: Un\G11 To Un\G14)

    SPECIFICATIONS MELSEC-Q 3.4.7 CH digital output value (16bit) (buffer memory addresses 11 to 14: Un\G11 to Un\G14) The value in the digital output value (32bit) (buffer memory addresses 54 to 61: Un\G54 to Un\G61) is converted and the result of conversion is stored in 16-bit signed binary.
  • Page 86: Setting Range (Buffer Memory Address 20: Un\G20)

    SPECIFICATIONS MELSEC-Q 3.4.9 Setting range (buffer memory address 20: Un\G20) These areas are used to confirm the setting ranges of the A/D converter module. The setting value is stored into the buffer memory address 20 (Un\G20). b12 b11 b8 b7 b4 b3 For Q62AD-DGH, information of b8 to b15 is fixed at 0.
  • Page 87: Offset/Gain Setting Mode (Buffer Memory Addresses 22, 23: Un\G22, Un\G23)

    SPECIFICATIONS MELSEC-Q 3.4.10 Offset/gain setting mode (buffer memory addresses 22, 23: Un\G22, Un\G23) Specifies the channel to be adjusted for the offset/gain settings. The channel for which the offset is to be adjusted is specified in buffer memory address 22 (Un\G22) and the channel for which the gain is to be adjusted is specified in buffer memory address 23 (Un\G23).
  • Page 88: Input Signal Error Detection Extended/Input Signal Error Detection/Warning Output Settings (Buffer Memory Address 47: Un\G47)

    SPECIFICATIONS MELSEC-Q 3.4.12 Input signal error detection extended/input signal error detection/warning output settings (buffer memory address 47: Un\G47) This area is used to set whether the input signal error detection, process alarm, or rate alarm will be enabled or disabled for each channel. If the warning of input signal error detection is enabled, the input signal error detection can be performed by setting the same value of upper and lower limit or different value of upper and lower limit.
  • Page 89: Warning Output Flag (Buffer Memory Address 48 :Un\G48)

    SPECIFICATIONS MELSEC-Q 3.4.13 Warning output flag (buffer memory address 48 :Un\G48) If the digital output value or its varying rate falls outside the setting range set to the CH process alarm upper/lower limit value (buffer memory addresses 86 to 117: Un\G86 to Un\G117) or CH rate alarm upper/lower limit value (buffer memory addresses 122 to 137: Un\G122 to Un\G137), the warning output flag for the corresponding channel turns to 1.
  • Page 90: Input Signal Error Detection Flag (Buffer Memory Address 49: Un\G49)

    SPECIFICATIONS MELSEC-Q 3.4.14 Input signal error detection flag (buffer memory address 49: Un\G49) If the analog input value detected falls outside the setting range sets to the CH input signal error detection setting value/CH input signal error detection lower limit setting value (buffer memory addresses 138 to 141: Un\G138 to Un\G141), or CH input signal error detection upper limit setting value (buffer memory addresses 142 to 145: Un\G142 to Un\G145), the Input signal error detection flag...
  • Page 91: Ch Maximum Value/Minimum Value Storage Area (32Bit)

    SPECIFICATIONS MELSEC-Q 3.4.16 CH maximum value/minimum value storage area (32bit) (buffer memory addresses 62 to 77: Un\G62 to Un\G77) The maximum and minimum values of digital values converted on a channel basis are stored in 32-bit signed binary at each sampling time. (The data part is 16 bits long.) The stored values for all channels will be cleared to 0 when the operating condition setting request (Y9) is set to ON and the setting is changed or when...
  • Page 92: Ch Rate Alarm Warning Detection Period (Buffer Memory Addresses 118 To 121: Un\G118 To Un\G121)

    SPECIFICATIONS MELSEC-Q 3.4.18 CH rate alarm warning detection period (buffer memory addresses 118 to 121: Un\G118 to Un\G121) Set the period, at which the varying rate of the digital output value will be checked, on a channel basis. To make the setting valid, the operating condition setting request (Y9) must be turned ON/OFF.
  • Page 93: Ch Rate Alarm Upper/Lower Limit Value

    SPECIFICATIONS MELSEC-Q 3.4.19 CH rate alarm upper/lower limit value (buffer memory addresses 122 to 137: Un\G122 to Un\G137) Set the varying rate range of the digital output value for each channel. To make the setting valid, the operating condition setting request (Y9) must be turned ON/OFF.
  • Page 94: Ch Input Signal Error Detection Setting Upper Value

    SPECIFICATIONS MELSEC-Q 3.4.20 CH input signal error detection setting value/CH input signal error detection lower limit setting value (buffer memory addresses 138 to 141: Un\G138 to Un\G141) input signal error detection upper limit setting value (buffer memory addresses 142 to 145: Un\G142 to Un\G145) Set the value (upper limit setting value and lower limit setting value), at which the error of the entered analog value will be detected, on a channel basis.
  • Page 95 SPECIFICATIONS MELSEC-Q Refer to Section 3.2.3 for details of the input signal error detection function. POINT (1) Set the input signal error detection upper limit value to less than 25mA. If the setting is 25mA or more, the error may not be detected. (2) For the Q62AD-DGH, set the input signal error detection lower limit value to 0mA or more.
  • Page 96: Mode Switching Setting (Buffer Memory Addresses 158, 159: Un\G158, Un\G159)

    SPECIFICATIONS MELSEC-Q 3.4.21 Mode switching setting (buffer memory addresses 158, 159: Un\G158, Un\G159) Set the values of the mode desired to be switched to. After setting the values, turning the operating condition setting request (Y9) from OFF to ON switches to that mode. When mode switching is performed, this area is cleared to zero and the operating condition setting completed flag (X9) turns OFF.
  • Page 97: Industrial Shipment Settings And User Range Settings Offset/Gain Value (Buffer Memory Addresses 202 To 233: Un\G202 To Un\G233)

    SPECIFICATIONS MELSEC-Q 3.4.23 Industrial shipment settings and user range settings offset/gain value (buffer memory addresses 202 to 233: Un\G202 to Un\G233) Areas used to restore the user range settings offset/gain values when online module change is made. Refer to chapter 7 for details of online module change. When the offset/gain values of the user range setting are restored, the used data are stored.
  • Page 98: Setup And Procedures Before Operation

    SETUP AND PROCEDURES BEFORE OPERATION MELSEC-Q 4 SETUP AND PROCEDURES BEFORE OPERATION 4.1 Handling Precautions (1) Do not drop the module or subject it to heavy impact. (2) Do not remove the PCB of the module from its case. Doing so may cause the module to fail. (3) Be careful not to let foreign particles such as swarf or wire chips enter the module.
  • Page 99 SETUP AND PROCEDURES BEFORE OPERATION MELSEC-Q 4.2 Setup and Procedures before Operation Start Module mounting Mount the A/D converter module in the specified slot. Wiring Wire external devices to the A/D converter module. Intelligent function module switch settings Perform settings using GX Developer (see Section 4.5).
  • Page 100: Part Identification Nomenclature

    SETUP AND PROCEDURES BEFORE OPERATION MELSEC-Q 4.3 Part Identification Nomenclature The name of each part of the A/D converter module is listed below. Name and Number Description appearance Displays the operating status of the A/D converter module. : Normal operation Flickering : During offset/gain setting mode RUN LED : 5V power supply interrupted, watch dog timer...
  • Page 101 SETUP AND PROCEDURES BEFORE OPERATION MELSEC-Q Signal name Terminal number Q64AD-GH Q62AD-DGH Empty Empty I/CHK + CHK – V – Empty Empty Empty Empty V – Empty I/CHK + CHK – V – Empty Empty Empty Empty V – 1: P : Power supply for 2-wire transmitter I/CHK + : 2-wire transmitter current input/check (+) terminal CHK –...
  • Page 102: Wiring

    SETUP AND PROCEDURES BEFORE OPERATION MELSEC-Q 4.4 Wiring The wiring precautions and examples of module connection are provided below. 4.4.1 Wiring precautions In order to optimize the functions of the A/D converter module and ensure system reliability, external wiring that is protected from noise is required. Please observe the following precautions for external wiring: (1) Use separate cables for the AC control circuit and the external input signals of the Q64AD-GH to avoid the influence of the AC side surges and inductions.
  • Page 103: External Wiring

    SETUP AND PROCEDURES BEFORE OPERATION MELSEC-Q 4.4.2 External wiring Q64AD-GH Use a 2-core twisted shielded wire for the power wire. Shows input resistance. For current input, be sure to connect to (V+) and (I+) terminals. Be sure to ground the shield wire of each channel. The SLD terminal can be used when grounding, however it has not been wired inside the board.
  • Page 104 SETUP AND PROCEDURES BEFORE OPERATION MELSEC-Q Q62AD-DGH (a) For 2-wire transmitter input (b) For current input Use a 2-core twisted shielded wire for the power wire. Shows input resistance. To connect with the 2-wire transmitter, be sure to connect to P and I/CHK+. Always use a ground.
  • Page 105 SETUP AND PROCEDURES BEFORE OPERATION MELSEC-Q IMPORTANT Q62AD-DGH needs to powered on 30 minutes prior to operation for compliance to the specification (accuracy). Therefore, power on 30 minutes prior to offset/gain setting or after online module change. 4 - 8 4 - 8...
  • Page 106: Switch Setting For Intelligent Function Module

    SETUP AND PROCEDURES BEFORE OPERATION MELSEC-Q 4.5 Switch Setting for Intelligent Function Module The settings for the intelligent function module are performed using the I/O assignment settings for GX Developer. (1) Setting item The intelligent function module switches consist of switches 1 to 5 and are set using 16 bit data.
  • Page 107 SETUP AND PROCEDURES BEFORE OPERATION MELSEC-Q (2) Operating procedure Start the settings with GX Developer I/O assignment setting screen. (a) I/O assignment setting screen Set the following for the slot in which the A/D converter module is mounted. The type setting is required; set other items as needed.
  • Page 108: Offset/Gain Settings

    SETUP AND PROCEDURES BEFORE OPERATION MELSEC-Q 4.6 Offset/Gain Settings When using the user range setting, make the offset/gain setting according to the operation indicated in Section 4.6.1 or Section 4.6.2. When the industrial shipment setting is used, offset/gain setting is not necessary. If the utility package is installed, perform the offset/gain settings according to the procedure described in Section 5.6.2.
  • Page 109 SETUP AND PROCEDURES BEFORE OPERATION MELSEC-Q 1 The mode switching (normal mode to offset/gain setting mode to normal mode) method is given below. • Dedicated instruction (G(P).OFFGAN) ..Refer to Section 4.6.1 (2), (a) • Setting made to mode switching setting (buffer memory addresses 158, 159: Un\G158, Un\G159) and turning the operation condition setting request (Y9) from OFF to ON ..........
  • Page 110 SETUP AND PROCEDURES BEFORE OPERATION MELSEC-Q (2) Program examples The program in the dotted area of (a) is common to (a), (b) and (c). Is this example, the I/O signals for the Q64AD-GH are X/Y0 to X/YF • Channel selection.................. M0 •...
  • Page 111 SETUP AND PROCEDURES BEFORE OPERATION MELSEC-Q (a) When switching the mode using the dedicated instruction (G(P).OFFGAN) The following program switches to the offset/gain setting mode with the dedicated instruction (G(P).OFFGAN), changes the channel where offset/gain setting will be made, writes the offset/gain values to the Q64AD- GH, and then switches to the normal mode.
  • Page 112 SETUP AND PROCEDURES BEFORE OPERATION MELSEC-Q (b) When switching the mode using the setting of the mode switching setting (buffer memory addresses 158, 159: Un\G158, Un\G159) and operation condition setting request (Y9) Switches to offset/gain setting mode Sets 4144 to buffer memory address 158.
  • Page 113: Offset/Gain Settings (Q62Ad-Dgh)

    SETUP AND PROCEDURES BEFORE OPERATION MELSEC-Q 4.6.2 Offset/gain settings (Q62AD-DGH) Offset/gain setting procedure 4 - 16 4 - 16...
  • Page 114 SETUP AND PROCEDURES BEFORE OPERATION MELSEC-Q 1 The mode switching (normal mode to offset/gain setting mode to normal mode) method is given below. • Dedicated instruction (G(P).OFFGAN) ..Refer to Section 4.6.2 (2) (a) • Setting made to mode switching setting (buffer memory addresses 158, 159: Un\G158, Un\G159) and turning the operation condition setting request (Y9) from OFF to ON ............
  • Page 115 SETUP AND PROCEDURES BEFORE OPERATION MELSEC-Q POINT (1) Perform the offset/gain settings in the range that satisfies the conditions specified in POINT of Section 3.1.2 (2). If the setting exceeds the range, the resolution or accuracy may not fall within the range indicated in the performance specification.
  • Page 116 SETUP AND PROCEDURES BEFORE OPERATION MELSEC-Q (2) Program examples The program in the dotted area of (a) is common to (a), (b) and (c). In this example, the I/O signals for the Q62AD-DGH are X/Y0 to X/YF. • Channel selection ..................M0 •...
  • Page 117 SETUP AND PROCEDURES BEFORE OPERATION MELSEC-Q (b) When switching the mode using the setting of the mode switching setting (buffer memory addresses 158, 159: Un\G158, Un\G159) and operation condition setting request (Y9) POINT When running this program together with the normal-mode A/D conversion program (shown in Section 6.4.2), use 1 of this program as the initial setting program.
  • Page 118: A/D Conversion Value Storage During Offset/Gain Setting

    SETUP AND PROCEDURES BEFORE OPERATION MELSEC-Q 4.6.3 A/D conversion value storage during offset/gain setting If during the offset/gain setting, the A/D conversion values are stored into the buffer memory addresses 11 to 14, 54 to 61 (Un\G11 to Un\G14, Un\G54 to Un\G61) as in the normal mode.
  • Page 119: Utility Package (Gx Configurator-Ad)

    5 UTILITY PACKAGE (GX Configurator-AD) MELSEC-Q 5 UTILITY PACKAGE (GX Configurator-AD) 5.1 Utility Package Functions Table 5.1 shows an overview of the utility package functions. Table 5.1 Utility package (GX Configurator-AD) function list Item Description Reference section (1) Sets the following items that require initial setting. •...
  • Page 120: Installing And Uninstalling The Utility Package

    5 UTILITY PACKAGE (GX Configurator-AD) MELSEC-Q POINT 1 If initial setting and automatic refresh setting are performed, the intelligent function module parameters require a maximum of 76 bytes per module. 5.2 Installing and Uninstalling the Utility Package For how to install or uninstall the utility package, refer to "Method of installing the MELSOFT Series"...
  • Page 121 5 UTILITY PACKAGE (GX Configurator-AD) MELSEC-Q (6) Number of parameters that can be set in GX Configurator-AD When multiple intelligent function modules are mounted, the number of parameter settings must not exceed the following limit. Maximum number of parameter settings When intelligent function modules are installed Initial setting Auto refresh setting...
  • Page 122: Operating Environment

    5 UTILITY PACKAGE (GX Configurator-AD) MELSEC-Q 5.2.2 Operating environment This section explains the operating environment of the personal computer that runs GX Configurator-AD. Item Description Installation (Add-in) target Add-in to GX Developer Version 4 (English version) or later Computer Personal computer capable of running the operating systems listed below Refer to the following table "Operating system and performance required for personal computer".
  • Page 123 5 UTILITY PACKAGE (GX Configurator-AD) MELSEC-Q Operating system and performance required for personal computer Performance required for personal computer Operating system Memory ® ® Windows Pentium 133MHz or more 32MB or more ® ® Windows Pentium 133MHz or more 32MB or more ®...
  • Page 124: Utility Package Operation

    5 UTILITY PACKAGE (GX Configurator-AD) MELSEC-Q 5.3 Utility Package Operation 5.3.1 Common utility package operations (1) Control keys Special keys that can be used for operation of the utility package and their applications are shown in the table below. Application Cancels the current entry in a cell.
  • Page 125 5 UTILITY PACKAGE (GX Configurator-AD) MELSEC-Q (2) Data created with the utility package The following data or files that are created with the utility package can be also handled in GX Developer. Figure 5.1 shows respective data or files are handled in which operation.
  • Page 126 5 UTILITY PACKAGE (GX Configurator-AD) MELSEC-Q Steps 1) to 3) shown in Figure 5.1 are performed as follows: 1) From GX Developer, select: [Project] [Open project] / [Save]/ [Save as] 2) On the intelligent function module selection screen of the utility, select: [Intelligent function module parameter] [Open parameters] / [Save parameters]...
  • Page 127: Operation Overview

    5 UTILITY PACKAGE (GX Configurator-AD) MELSEC-Q 5.3.2 Operation overview Screen for selecting a target intelligent function module GX Developer screen [Tools] – [Intelligent function utility]– [Start] Refer to Section 5.3.3. Initial setting Auto refresh Initial setting screen Auto refresh setting screen Refer to Section 5.5.
  • Page 128 5 UTILITY PACKAGE (GX Configurator-AD) MELSEC-Q [Online] – [Monitor/Test] <<FB support parameter>> tab – FB conversion Selecting monitor/test module screen FB conversion screen Refer to Section 5.7. Select a module to be monitored/tested. Monitor/Test screen Refer to Section 5.6. 5 - 10 5 - 10...
  • Page 129: Starting The Intelligent Function Module Utility

    5 UTILITY PACKAGE (GX Configurator-AD) MELSEC-Q 5.3.3 Starting the intelligent function module utility [Operating procedure] Intelligent function module utility is started from GX Developer. [Tools] [Intelligent function utility] [Start] [Setting screen] Display when the <<FB support parameter>> tab is selected [Explanation of items] (1) Activation of other screens Following screens can be displayed from the intelligent function module utility...
  • Page 130 5 UTILITY PACKAGE (GX Configurator-AD) MELSEC-Q POINT The <<FB support parameter>> tab is displayed when the project which is being edited is a label project. (2) Command buttons Common operations to the <<Intelligent function module parameter>> tab and <<FB support parameter>> tab Deletes the initial setting and auto refresh setting of the selected Delete module.
  • Page 131 5 UTILITY PACKAGE (GX Configurator-AD) MELSEC-Q POINT (1) Saving intelligent function module parameters in a file Since intelligent function module parameters cannot be saved in a file by the project saving operation of GX Developer, save them on the shown module selection screen.
  • Page 132: Initial Setting

    5 UTILITY PACKAGE (GX Configurator-AD) MELSEC-Q 5.4 Initial Setting [Purpose] The following A/D initial setting parameters are set: • A/D conversion enable/disable setting • Averaging process specification • Average time/Average number of times/Move average/Time constant settings • A/D conversion starting time setting (Q62AD-DGH) •...
  • Page 133 5 UTILITY PACKAGE (GX Configurator-AD) MELSEC-Q [Explanation of items] (1) Setting contents Set A/D conversion enable/disable, averaging process specification and others for each channel. (2) Command buttons Creates a file containing the screen data in text file format. Make text file Saves the set data and ends the operation.
  • Page 134: Auto Refresh Settings

    5 UTILITY PACKAGE (GX Configurator-AD) MELSEC-Q 5.5 Auto Refresh Settings [Purpose] Configure the A/D converter module's buffer memory for auto refresh. [Operating procedure] "Start I/O No. " "Module type" "Module model name" Auto refresh 1: Enter the start I/O No. in hexadecimal. [Setting screen] [Explanation of items] (1) Items...
  • Page 135 5 UTILITY PACKAGE (GX Configurator-AD) MELSEC-Q (2) Command buttons Creates a file containing the screen data in text file format. Make text file Saves the set data and ends the operation. End setup Cancels the setting and ends the operation. Cancel POINT The auto refresh settings are stored in an intelligent function module parameter file.
  • Page 136: Monitoring/Test

    5 UTILITY PACKAGE (GX Configurator-AD) MELSEC-Q 5.6 Monitoring/Test 5.6.1 Monitor/test screen [Purpose] Buffer memory monitoring/testing, I/O signals monitoring/testing, operating condition setting, offset/gain settings (see Section 5.6.2) and pass data (see Section 5.6.3, 5.6.4) are started from this screen. [Operating procedure] "Select monitor/test module"...
  • Page 137 5 UTILITY PACKAGE (GX Configurator-AD) MELSEC-Q 5 - 19 5 - 19...
  • Page 138 5 UTILITY PACKAGE (GX Configurator-AD) MELSEC-Q [Explanation of items] (1) Items Setting item : Displays I/O signals and buffer memory names. Current value : Monitors the I/O signal states and present buffer memory values. Setting value : Select or enter the data to be written during test operation. (2) Command buttons Displays the current value of the item selected.
  • Page 139: Offset/Gain Setting Operation

    5 UTILITY PACKAGE (GX Configurator-AD) MELSEC-Q 5.6.2 Offset/gain setting operation Perform the offset/gain setting operation in the following sequence. (1) Switch to the offset/gain setting screen Perform the operation in Section 5.6.1 to display the offset/gain setting screen. At this point, a dialog box to confirm the transition of module’s operation mode (normal mode ->...
  • Page 140 5 UTILITY PACKAGE (GX Configurator-AD) MELSEC-Q (6) Switch to the normal mode When the offset/gain setting screen is closed by clicking the Close button after the setting operation has finished, module’s operation mode transits to the normal mode. POINT If an error code is displayed while performing the setting operation, the details and measure of the error can be confirmed by clicking the ...
  • Page 141: Confirmation Of Conversion Characteristic

    5 UTILITY PACKAGE (GX Configurator-AD) MELSEC-Q 5.6.3 Confirmation of conversion characteristic [Purpose] The converted value of digital-analog conversion can be confirmed according to the tilt of the graph, based on the offset/gain setting. [Operating procedure] Monitor/test screen Offset/gain setting Conversion characteristic [Setting screen] [Explanation of items] (1) Items displayed on the screen...
  • Page 142 5 UTILITY PACKAGE (GX Configurator-AD) MELSEC-Q Analog/Digital conversion: Select a conversion type shown below for confirming the correspondence between an analog value and a digital value caused by the conversion characteristic.  Digital Analog  Analog Digital Analog value: <When converted to a digital value> Enter an analog value to be converted to a digital value <When converted to an analog value>...
  • Page 143: Pass Data (Q64Ad-Gh)

    5 UTILITY PACKAGE (GX Configurator-AD) MELSEC-Q 5.6.4 Pass data (Q64AD-GH) Perform operation in the following sequence to save/restore the user range. (1) Switch to the pass data screen Perform the operation in Section 5.6.1 to display the Pass data screen. (2) User range saving (a) Set "Voltage specified"...
  • Page 144 5 UTILITY PACKAGE (GX Configurator-AD) MELSEC-Q (3) User range restoration (a) Set "Voltage specified" or "Current specified" in the Setting value field of Pass data classification setting, and click the Execute test button. When the setting is completed, the set data is displayed in the Current value field of CH Pass data classification setting.
  • Page 145: Pass Data (Q62Ad-Dgh)

    5 UTILITY PACKAGE (GX Configurator-AD) MELSEC-Q 5.6.5 Pass data (Q62AD-DGH) Perform operation in the following sequence to save/restore the user range. (1) Switch to the Pass data screen Perform the operation in Section 5.6.1 to display the pass data screen. (2) User range saving (a) Change the Setting value field of pass data read request to "Request", and click the Execute test button.
  • Page 146: Fb Conversion Of Initial Setting/Auto Refresh Setting

    5 UTILITY PACKAGE (GX Configurator-AD) MELSEC-Q 5.7 FB Conversion of Initial Setting/Auto Refresh Setting [Purpose] FB is generated automatically from the intelligent function module parameter (initial setting/auto refresh setting). [Operating procedure] Intelligent Function Module Parameter Setting Module Selection Screen <<FB Support Parameter>> tab FB conversion [Setting screen] [Explanation of items]...
  • Page 147: Usage Of Fb

    5 UTILITY PACKAGE (GX Configurator-AD) MELSEC-Q 5.8 Usage of FB This section describes the procedure for using FB with GX Developer. For details, refer to "GX Developer Version 8 Operating Manual (Function Block). " 5.8.1 Outline The procedure for creating FB is shown below. (1) Set up the intelligent function module parameter (initial setting/auto refresh setting).
  • Page 148 5 UTILITY PACKAGE (GX Configurator-AD) MELSEC-Q POINT The initial setting/auto refresh setting of the intelligent function module can be performed by each of the following methods. (1) Set intelligent function parameters (Initial setting/Auto refresh setting) and write them to the programmable controller CPU. (2) Create an FB of the intelligent function module parameter (initial setting/auto refresh setting) and paste it to the sequence program.
  • Page 149: Paste An Fb To A Sequence Program

    5 UTILITY PACKAGE (GX Configurator-AD) MELSEC-Q 5.8.2 Paste an FB to a sequence program [Purpose of operation] Paste an FB in order to use it with a sequence program. [Operation procedure] Switch the <<Project>> tab into the <<FB>> tab on GX Developer, and drag & drop the FB to be used onto the sequence program.
  • Page 150: Convert (Compile) A Sequence Program

    5 UTILITY PACKAGE (GX Configurator-AD) MELSEC-Q 5.8.3 Convert (compile) a sequence program [Purpose of operation] Convert (compile) the sequence program to which an FB was pasted so that it can be executed. [Operation procedure] Click the [Convert] menu [Convert/Compile] menu of GX Developer. 5 - 32 5 - 32...
  • Page 151: Programming

    6 PROGRAMMING MELSEC-Q 6 PROGRAMMING This chapter describes the programs of the A/D converter modules. When applying any of the program examples introduced in this chapter to the actual system, verify the applicability and confirm that no problems will occur in the system control.
  • Page 152: For Use In Normal System Configuration (Q64Ad-Gh)

    6 PROGRAMMING MELSEC-Q 6.2 For Use in Normal System Configuration (Q64AD-GH) System configuration used in the program explanation (1) System configuration Power supply module X/Y0 X/YF (2) Program conditions This program reads the digital output values that have been A/D converted using CH1 to CH3 of the Q64AD-GH.
  • Page 153: Programming Example Using The Utility Package

    6 PROGRAMMING MELSEC-Q 6.2.1 Programming example using the utility package (1) Operating the utility package (a) Initial setting (see Section 5.4) Set the initial settings of CH1 to CH3. Refer to Section 6.2 for the settings. (b) Auto refresh setting (see Section 5.5) Set the devices for storing digital output values, warning output flags, input signal error detection flags, and error codes of CH1 to CH3.
  • Page 154 6 PROGRAMMING MELSEC-Q (2) Programming example Read digital output values Read the A/D conversion completed flag. Read the CH1 digital output value (32bit). Read the CH2 digital output value (32bit). Read the CH3 digital output value (32bit). Warning (process alarm, rate alarm) occurrence status and processing at warning occurrence Read the warning output flag.
  • Page 155: Programming Example Without Using The Utility Package

    6 PROGRAMMING MELSEC-Q 6.2.2 Programming example without using the utility package 6 - 5 6 - 5...
  • Page 156 6 PROGRAMMING MELSEC-Q 6 - 6 6 - 6...
  • Page 157: For Use In Remote I/O Network (Q64Ad-Gh)

    6 PROGRAMMING MELSEC-Q 6.3 For Use in Remote I/O Network (Q64AD-GH) System configuration used in the program explanation (1) System configuration (2) Program conditions In this program, the digital output values that have been A/D converted using CH1 to CH3 of the Q64AD-GH are read by the CPU of the remote master station. CH1 performs sampling processing, CH2 performs averaging processing every 50 times, and CH3 performs primary delay filtering at intervals of 100ms time constant.
  • Page 158 6 PROGRAMMING MELSEC-Q (b) Devices used by the user • Initial setting request signal ........X20 • Digital output value read command input signal ..X21 • Input signal error detection reset signal ....X22 • Error reset signal ............X23 •...
  • Page 159: Programming Example Using The Utility Package

    6 PROGRAMMING MELSEC-Q 6.3.1 Programming example using the utility package (1) Operating GX Developer (a) CPU parameter setting • Network type : MNET/H (Remote master) • Starting I/O No. : 0000 • Network No. • Total stations • Mode : Online •...
  • Page 160 6 PROGRAMMING MELSEC-Q (2) Operating the utility package Operate the utility package on the remote I/O station side. Set the following in the Intelligent function module parameter setting module select area. • Start I/O No. : 20 • Module type : A/D Conversion Module •...
  • Page 161 6 PROGRAMMING MELSEC-Q (c) Writing the intelligent function module parameters (see Section 5.3.3) The intelligent function module parameters are written to the remote I/O station. This operation is performed using the intelligent function module parameter setting module selection screen. (3) Programming example Read digital output values Digital output value read processing Read the CH1 digital output value...
  • Page 162: Programming Example Without Using The Utility Package

    6 PROGRAMMING MELSEC-Q 6.3.2 Programming example without using the utility package POINT The dedicated instructions used for reading/writing the buffer memory of the intelligent function module on a remote I/O station (REMTO and REMFR) are the execution type for which several scans are needed. Therefore, transmissions of the execution results are not synchronized with the I/O signal operations.
  • Page 163 6 PROGRAMMING MELSEC-Q (2) Programming example Remote I/O station operating status checking Master station baton pass status checking Master station data link status checking Remote I/O station baton pass status checking Remote I/O station data link status checking Remote I/O parameter communication status checking Master module status checking Initial settings...
  • Page 164 6 PROGRAMMING MELSEC-Q 6 - 14 6 - 14...
  • Page 165 6 PROGRAMMING MELSEC-Q 6 - 15 6 - 15...
  • Page 166: For Use In Normal System Configuration (Q62Ad-Dgh)

    6 PROGRAMMING MELSEC-Q 6.4 For Use in Normal System Configuration (Q62AD-DGH) System configuration used in the program explanation (1) System configuration Power supply module X/Y0 X/YF (2) Program conditions This program reads the digital output values that have been A/D converted using CH1 and CH2 of the Q62AD-DGH.
  • Page 167: Programming Example Using The Utility Package

    6 PROGRAMMING MELSEC-Q 6.4.1 Programming example using the utility package (1) Operating the utility package (a) Initial setting (see Section 5.4) Set the initial settings of CH1 and CH2. Refer to Section 6.4 for the settings. (b) Auto refresh setting (see Section 5.5) Set the devices for storing digital output values, warning output flags, input signal error detection flags, and error codes of CH1 and CH2.
  • Page 168 6 PROGRAMMING MELSEC-Q (2) Programming example Read digital output values Read the A/D conversion completed flag. Read the CH1 digital output value (32bit). Read the CH2 digital output value (32bit). Warning (process alarm) occurrence status and processing at warning occurrence Read the warning output flag.
  • Page 169: Programming Example Without Using The Utility Package

    6 PROGRAMMING MELSEC-Q 6.4.2 Programming example without using the utility package 6 - 19 6 - 19...
  • Page 170: For Use In Remote I/O Network (Q62Ad-Dgh)

    6 PROGRAMMING MELSEC-Q 6.5 For Use in Remote I/O Network (Q62AD-DGH) System configuration used in the program explanation (1) System configuration (2) Program conditions In this program, the digital output values that have been A/D converted using CH1 and CH2 of the Q62AD-DGH are read by the CPU of the remote master station.
  • Page 171: Programming Example Using The Utility Package

    6 PROGRAMMING MELSEC-Q 6.5.1 Programming example using the utility package (1) Operating GX Developer (a) CPU parameter setting • Network type : MNET/H (Remote master) • Starting I/O No. : 0000 • Network No. • Total stations • Mode : Online •...
  • Page 172 6 PROGRAMMING MELSEC-Q (2) Operating the utility package Operate the utility package on the remote I/O station side. Set the following in the Intelligent function module parameter setting module select area. • Start I/O No. : 20 • Module type : A/D Conversion Module •...
  • Page 173 6 PROGRAMMING MELSEC-Q (c) Writing the intelligent function module parameters (see Section 5.3.3) The intelligent function module parameters are written to the remote I/O station. This operation is performed using the intelligent function module parameter setting module select screen. (3) Programming example Read digital output values Digital output value read processing Read the CH1 digital output value...
  • Page 174: Programming Example Without Using The Utility Package

    6 PROGRAMMING MELSEC-Q 6.5.2 Programming example without using the utility package POINT The dedicated instructions used for reading/writing the buffer memory of the intelligent function module on a remote I/O station (REMTO and REMFR) are the execution type for which several scans are needed. Therefore, transmissions of the execution results are not synchronized with the I/O signal operations.
  • Page 175 6 PROGRAMMING MELSEC-Q (2) Programming example Remote I/O station operating status checking Master station baton pass status checking Master station data link status checking Remote I/O station baton pass status checking Remote I/O station data link status checking Remote I/O parameter communication status checking Master module status checking Initial settings...
  • Page 176 6 PROGRAMMING MELSEC-Q 6 - 26 6 - 26...
  • Page 177 6 PROGRAMMING MELSEC-Q 6 - 27 6 - 27...
  • Page 178: Online Module Change

    ONLINE MODULE CHANGE MELSEC-Q 7 ONLINE MODULE CHANGE When changing a module online, carefully read the following manual. • QCPU User’s Manual (Hardware Design, Maintenance and Inspection) This chapter describes the specifications of an online module change. Perform an online module change by operating GX Developer. To ensure ease of offset/gain re-setting, there is a user range save/restoration function that is performed by executing the dedicated instruction or read/write from/to buffer memory.
  • Page 179: Online Module Change Conditions

    ONLINE MODULE CHANGE MELSEC-Q 7.1 Online Module Change Conditions The CPU, MELSECNET/H remote I/O module, A/D converter module, GX Developer and base unit given below are needed to perform an online module change. (1) CPU The Process CPU or Redundant CPU is required. For the precautions for multiple CPU system configuration, refer to the QCPU User's Manual (Multiple CPU System).
  • Page 180: Online Module Change Operations

    ONLINE MODULE CHANGE MELSEC-Q 7.2 Online Module Change Operations The following gives the operations performed for an online module change. CPU operation : Executed : Not executed GX Configurator FROM/TO (Intelligent function module Dedicated Device (User operation) Initial operation) instruction Monitor/ refresh instruction...
  • Page 181: Online Module Change Procedure

    ONLINE MODULE CHANGE MELSEC-Q 7.3 Online Module Change Procedure There are the following online module change procedures depending on whether the user range setting has been made or not, whether the initial setting of GX Configurator- AD has been made or not, and whether the other system exists or not. Range setting Initial setting Other system...
  • Page 182 ONLINE MODULE CHANGE MELSEC-Q (2) Dismounting of module After choosing [Diagnosis] - [Online module change] on GX Developer to enter the "Online module change" mode, double-click the module to be changed online to display the "Online module change" screen. Click the "Execution" button to enable a module change. If the following error screen appears, click the [OK] button, dismount the module as-is, and mount a new module.
  • Page 183 ONLINE MODULE CHANGE MELSEC-Q (3) Mounting of new module Mount a new module to the same slot and install the terminal block. After mounting the module, click the [Execution] button and make sure that the "RUN" LED is lit. Module ready (X0) remains OFF. (4) Operation check To make an operation check, click the [Cancel] button to cancel control resumption.
  • Page 184 ONLINE MODULE CHANGE MELSEC-Q Click the [Close] button to close the System monitor screen. Monitor the digital output values (buffer memory addresses 11 to 14, 54 to 62, Un\G11 to Un\G14, Un\G54 to Un\G62) to check whether proper conversion has been made or not. 7 - 7 7 - 7...
  • Page 185 ONLINE MODULE CHANGE MELSEC-Q (5) Resumption of control After choosing [Diagnosis] - [Online module change] on GX Developer to redisplay the "Online module change" screen, click the [Execution] button to resume control. Module READY (X0) turns on. The "Online module change completed" screen appears. 7 - 8 7 - 8...
  • Page 186: When Industrial Shipment Setting Is Used And Initial Setting Was Made With Sequence Program

    ONLINE MODULE CHANGE MELSEC-Q 7.3.2 When industrial shipment setting is used and initial setting was made with sequence program (1) Conversion disable Disable the conversion by the following procedures. Set the A/D conversion enable/disable setting (buffer memory address 0: Un\G0) for all channel conversion disable (F Turn on Operating condition setting request (Y9) to stop the conversion.
  • Page 187 ONLINE MODULE CHANGE MELSEC-Q (2) Dismounting of module After choosing [Diagnosis] - [Online module change] on GX Developer to enter the "Online module change" mode, double-click the module to be changed online to display the "Online module change" screen. Click the "Execution" button to enable a module change. If the following error screen appears, click the [OK] button, dismount the module as-is, and mount a new module.
  • Page 188 ONLINE MODULE CHANGE MELSEC-Q After confirming that the "RUN" LED of the module has turned off, remove the terminal block and dismount the module. POINT Always dismount the module. If mounting confirmation is made without the module being dismounted, the module will not start properly and the "RUN" LED will not be lit.
  • Page 189 ONLINE MODULE CHANGE MELSEC-Q Click the [Close] button to close the System monitor screen. Set the channel for use to conversion enable in A/D conversion enable/disable setting (buffer memory address 0: Un\G0), and then turn on and off Operating condition setting request (Y9). Monitor the digital output values (buffer memory addresses 11 to 14, 54 to 62: Un\G11 to Un\G14, Un\G54 to Un\G62) to check whether proper conversion has been made or not.
  • Page 190 ONLINE MODULE CHANGE MELSEC-Q (5) Resumption of control After choosing [Diagnosis] - [Online module change] on GX Developer to redisplay the "Online module change" screen, click the [Execution] button to resume control. Module READY (X0) turns on. The "Online module change completed" screen appears. 7 - 13 7 - 13...
  • Page 191: When User Range Setting Is Used And Initial Setting Was Made With Gx Configurator-Ad (Other System Is Available)

    ONLINE MODULE CHANGE MELSEC-Q 7.3.3 When user range setting is used and initial setting was made with GX Configurator-AD (other system is available) (1) Conversion disable Disable the conversion by the following procedures. Set the A/D conversion enable/disable setting (buffer memory address 0: Un\G0) for all channel conversion disable (F Turn on Operating condition setting request (Y9) to stop the conversion.
  • Page 192 ONLINE MODULE CHANGE MELSEC-Q (2) Dismounting of module After choosing [Diagnosis] - [Online module change] on GX Developer to enter the "Online module change" mode, double-click the module to be changed online to display the "Online module change" screen. Click the "Execution" button to enable a module change. If the following error screen appears, the user range cannot be saved.
  • Page 193 ONLINE MODULE CHANGE MELSEC-Q After confirming that the "RUN" LED of the module has turned off, remove the terminal block and dismount the module. POINT Always dismount the module. If mounting confirmation is made without the module being dismounted, the module will not start properly and the "RUN" LED will not be lit.
  • Page 194 ONLINE MODULE CHANGE MELSEC-Q (4) Operation check To make an operation check, click the [Cancel] button to cancel control resumption. Click the [OK] button to leave the "Online module change" mode. Click the [Close] button to close the System monitor screen. 7 - 17 7 - 17...
  • Page 195 ONLINE MODULE CHANGE MELSEC-Q Monitor the digital output values (buffer memory addresses 11 to 14, 54 to 62, Un\G11 to Un\G14, Un\G54 to Un\G62) to check whether proper conversion has been made or not. (5) Resumption of control After choosing [Diagnosis] - [Online module change] on GX Developer to redisplay the "Online module change"...
  • Page 196: When User Range Setting Is Used And Initial Setting Was Made With Gx Configurator-Ad (Other System Is Unavailable)

    ONLINE MODULE CHANGE MELSEC-Q 7.3.4 When user range setting is used and initial setting was made with GX Configurator-AD (other system is unavailable) (1) Conversion disable On the Operating condition setting screen of GX Configurator-AD, set "Disable" in the Setting value field of CH A/D conversion enable/disable setting, and click the [Execute test] button.
  • Page 197 ONLINE MODULE CHANGE MELSEC-Q If the saved buffer memory contents are not yet prerecorded, record them in the following procedure. Display the pass data screen of GX Configurator-AD. Set the pass data classification setting and make a pass data read request.
  • Page 198 ONLINE MODULE CHANGE MELSEC-Q (2) Dismounting of module After choosing [Diagnosis] - [Online module change] on GX Developer to enter the "Online module change" mode, double-click the module to be changed online to display the "Online module change" screen. Click the "Execution" button to enable a module change. If the following error screen appears, the user range cannot be saved.
  • Page 199 ONLINE MODULE CHANGE MELSEC-Q After confirming that the "RUN" LED of the module has turned off, remove the terminal block and dismount the module. POINT Always dismount the module. If mounting confirmation is made without the module being dismounted, the module will not start properly and the "RUN" LED will not be lit.
  • Page 200 ONLINE MODULE CHANGE MELSEC-Q Click the [Close] button to close the System monitor screen. On the pass data screen of GX Configurator-AD, set the prerecorded values and make a pass data write request. (Refer to Section 5.6.3, 5.6.4.) Monitor the digital output values (buffer memory addresses 11 to 14, 54 to 62, Un\G11 to Un\G14, Un\G54 to Un\G62) to check whether proper conversion has been made or not.
  • Page 201 ONLINE MODULE CHANGE MELSEC-Q (5) Resumption of control After choosing [Diagnosis] - [Online module change] on GX Developer to redisplay the "Online module change" screen, click the [Execution] button to resume control. Module READY (X0) turns on. The "Online module change completed" screen appears. 7 - 24 7 - 24...
  • Page 202 ONLINE MODULE CHANGE MELSEC-Q 7.3.5 When user range setting is used and initial setting was made with sequence program (other system is available) (1) Conversion disable Disable the conversion by the following procedures. Set the A/D conversion enable/disable setting (buffer memory address 0: Un\G0) for all channel conversion disable (F Turn on Operating condition setting request (Y9) to stop the conversion.
  • Page 203 ONLINE MODULE CHANGE MELSEC-Q (2) Dismounting of module After choosing [Diagnosis] - [Online module change] on GX Developer to enter the "Online module change" mode, double-click the module to be changed online to display the "Online module change" screen. Click the "Execution" button to enable a module change. If the following error screen appears, the user range cannot be saved.
  • Page 204 ONLINE MODULE CHANGE MELSEC-Q After confirming that the "RUN" LED of the module has turned off, remove the terminal block and dismount the module. POINT Always dismount the module. If mounting confirmation is made without the module being dismounted, the module will not start properly and the "RUN" LED will not be lit.
  • Page 205 ONLINE MODULE CHANGE MELSEC-Q (4) Operation check To make an operation check, click the [Cancel] button to cancel control resumption. Click the [OK] button to leave the "Online module change" mode. Click the [Close] button to close the System monitor screen. Set the channel for use to conversion enable in A/D conversion enable/disable setting (buffer memory address 0: Un\G0), and then turn on and off Operating condition setting request (Y9).
  • Page 206 ONLINE MODULE CHANGE MELSEC-Q Since the new module is in a default status, it must be initialized by a sequence program after control resumption. Before performing initialization, check whether the contents of the initialization program are correct or not. Normal system configuration The sequence program should perform initialization on the leading edge of Module READY (X9) of the A/D converter module.
  • Page 207 ONLINE MODULE CHANGE MELSEC-Q 7.3.6 When user range setting is used and initial setting was made with sequence program (other system is unavailable) (1) Conversion disable Disable the conversion by the following procedures. Set the A/D conversion enable/disable setting (buffer memory address 0: Un\G0) for all channel conversion disable (F Turn on Operating condition setting request (Y9) to stop the conversion.
  • Page 208 ONLINE MODULE CHANGE MELSEC-Q If the saved buffer memory contents are not yet prerecorded, record them in the following procedure. Make the pass data classification setting (buffer memory address 200: Un\G200). Turn operating condition setting request (Y9) from OFF to ON. Compare the offset/gain values of the industrial shipment settings and user range settings (buffer memory addresses 202 to 233: Un\G202 to Un\G233) with the range reference table.
  • Page 209 ONLINE MODULE CHANGE MELSEC-Q Click the "Execution" button to enable a module change. If the following error screen appears, the user range cannot be saved. Click the [OK] button, dismount the module as-is, and perform the operation in Section (2) (c) and later. After confirming that the "RUN"...
  • Page 210 ONLINE MODULE CHANGE MELSEC-Q (4) Operation check To make an operation check, click the [Cancel] button to cancel control resumption. Click the [OK] button to leave the "Online module change" mode. Click the [Close] button to close the System monitor screen. Choose [Online] - [Debug] - [Device test] on GX Developer and set the prerecorded values to the buffer memory.
  • Page 211 ONLINE MODULE CHANGE MELSEC-Q Set the channel for use to conversion enable in A/D conversion enable/disable setting (buffer memory address 0: Un\G0), and then turn on and off Operating condition setting request (Y9). Monitor the digital output values (buffer memory addresses 11 to 14, 54 to 62, Un\G11 to Un\G14, Un\G54 to Un\G62) to check whether proper conversion has been made or not.
  • Page 212: Range Reference Table

    ONLINE MODULE CHANGE MELSEC-Q 7.4 Range Reference Table The range reference tables are given below. (1) Reference table for offset/gain values of industrial shipment settings (buffer memory addresses 202 to 217: Un\G202 to Un\G217) (a) For Q64AD-GH The reference values change depending on the setting of the pass data classification setting (buffer memory address 200: Un\G200).
  • Page 213: Precautions For Online Module Change

    ONLINE MODULE CHANGE MELSEC-Q 7.5 Precautions for Online Module Change The following are the precautions for online module change. Always perform an online module change in the correct procedure. A failure to do so can cause a malfunction or failure. If an online module change is made with the user range setting, the accuracy after that will fall to about less than three times of the accuracy before that.
  • Page 214: Error Code List

    TROUBLESHOOTING MELSEC-Q 8 TROUBLESHOOTING The following section explains the types of errors that may occur when the A/D converter module is used, and how to troubleshoot such errors. 8.1 Error Code List If an error occurs in the A/D converter module while writing to or reading data from the programmable controller CPU, the applicable error code is written to buffer memory address 19 (Un\G19).
  • Page 215 TROUBLESHOOTING MELSEC-Q Table 8.1 Error code list (2/3) Error code Error description Processing (decimal) The process alarm upper/lower limit value at any of the buffer memory addresses 86 to 117 (Un\G86 to Un\G117) Reset the process alarm upper/lower limit is outside the -65536 to 65535 range. value to within -65536 to 65535.
  • Page 216 TROUBLESHOOTING MELSEC-Q Table 8.1 Error code list (3/3) Error code Error description Processing (decimal) When the “Same upper limit value/lower limit value” is selected for the input signal error detection extended setting, Reset the input signal error detection setting • The input signal error detection setting value at the buffer value to within 0 to 250.
  • Page 217: Troubleshooting

    TROUBLESHOOTING MELSEC-Q 8.2 Troubleshooting 8.2.1 When the "RUN" LED is flashing or turned off When flashing Check item Corrective action Reset switch 4 of the intelligent function module setting for Is the mode set to the offset/gain setting mode? GX Developer to the normal mode (see Section 4.5). When off Check item Corrective action...
  • Page 218: When The Digital Output Values Cannot Be Read

    TROUBLESHOOTING MELSEC-Q 8.2.4 When the digital output values cannot be read Check item Corrective action Is 24VDC external supply power being supplied? Check that the external supply power terminals (terminal (Q62AD-DGH only) Nos. 16, 17) are supplied with a 24VDC voltage. Is there any fault with the analog signal lines such as Check for faulty condition of the lines visually and perform disconnection (for the Q62AD-DGH, disconnection of the...
  • Page 219: When A/D Conversion Completed Flag Does Not Turn On During Use In Normal Mode

    TROUBLESHOOTING MELSEC-Q 8.2.5 When A/D conversion completed flag does not turn ON during use in normal mode Check item Corrective action Is 24VDC external supply power being supplied? (Q62AD- Check that the external supply power terminals (terminal DGH only) Nos. 16, 17) are supplied with a 24VDC voltage. Check the input signal error detection flag (buffer memory Is an input signal error being generated? address 49: Un\G49).
  • Page 220 TROUBLESHOOTING MELSEC-Q H/W information H/W LED information The LED ON status is displayed. LED name Status RUN LED 0000 : Indicates that LED is unlit. ERR. LED 0001 : Indicates that LED is lit. Alternate display of 0000H and 0001H: Indicates that LED is ALM LED flashing.
  • Page 221 APPENDIX MELSEC-Q APPENDIX Appendix 1 Dedicated Instruction List and Available Devices (1) Dedicated instruction list The following table lists the dedicated instructions that can be used with the A/D converter modules. Reference Instruction Description section Switches to the offset/gain setting mode. G(P).OFFGAN Appendix 1.1 Switches to the normal mode.
  • Page 222 APPENDIX MELSEC-Q Appendix 1.1 G(P).OFFGAN Switches the mode of the A/D converter module. (Normal mode to offset/gain setting mode, offset/gain setting mode to normal mode) Usable devices Internal device Link direct device Intelligent Index Constant Set data (System, user) File function register Other...
  • Page 223 APPENDIX MELSEC-Q (3) Program example The following program is designed to switch the A/D converter module mounted in the position of I/O number X/Y0 to X/YF to the offset/gain setting mode when M10 is turned ON, and to return it to the normal mode when M10 is turned OFF. Switches to offset/gain setting mode Stores setting of dedicated instruction (G.OFFGAN) into D1.
  • Page 224 APPENDIX MELSEC-Q Appendix 1.2 G(P).OGLOAD Reads the offset/gain values of the user range setting of the A/D converter module to the CPU. Usable devices Internal device Link direct device Intelligent Index Constant Set data (System, user) File function register Other register module Word...
  • Page 225 APPENDIX MELSEC-Q Control data of Q64AD-GH (2/2) Device Item Set data Setting range Set by (S) + 12 CH3 Industrial shipment settings offset value (L) — — System (S) + 13 (S) + 14 CH3 Industrial shipment settings gain value (L) —...
  • Page 226 APPENDIX MELSEC-Q Control data of Q62AD-DGH (2/2) Device Item Set data Setting range Set by (S) + 20 CH1 user range settings offset value (L) — — System (S) + 21 (S) + 22 CH1 user range settings gain value (L) —...
  • Page 227 APPENDIX MELSEC-Q (1) Functions (a) Reads the offset/gain values of the user range setting of the A/D converter module to the CPU. (b) There are two types of interlock signals for the G(P).OGLOAD instruction: the completion device (D) and the status display device at completion (D) + 1) Completion device Turns ON in the END processing of the scan where the G(P).OGLOAD instruction is completed, and turns OFF in the next END processing.
  • Page 228 APPENDIX MELSEC-Q Appendix 1.3 G(P).OGSTOR Restores the offset/gain values of the user range setting stored in the CPU to the A/D converter module. Usable devices Internal device Link direct device Intelligent Index Constant Set data (System, user) File function register Other register module...
  • Page 229 APPENDIX MELSEC-Q Control data of Q64AD-GH (2/2) Device Item Set data Setting range Set by (S) + 12 CH3 Industrial shipment settings offset value (L) — — System (S) + 13 (S) + 14 CH3 Industrial shipment settings gain value (L) —...
  • Page 230 APPENDIX MELSEC-Q Control data of Q62AD-DGH (2/2) Device Item Set data Setting range Set by (S) + 20 CH1 user range settings offset value (L) — — System (S) + 21 (S) + 22 CH1 user range settings gain value (L) —...
  • Page 231 APPENDIX MELSEC-Q (1) Functions (a) Restores the offset/gain values of the user range setting stored in the CPU to the A/D converter module. (b) There are two types of interlock signals for the G(P).OGSTOR instruction: the completion device (D) and the status display device at completion (D) + 1) Completion device Turns ON in the END processing of the scan where the G(P).OGSTOR instruction is completed, and turns OFF in the next END processing.
  • Page 232 APPENDIX MELSEC-Q (3) Program example Program that restores the offset/gain setting to the A/D converter module mounted in the position of I/O No. X/Y10 to X/Y1F when M11 is turned OFF. Control data setting Offset/gain value restoration Dedicated instruction (GP.OGSTOR) Performs processing at abnormal completion APP -12 APP -12...
  • Page 233 APPENDIX MELSEC-Q Appendix 2 Performance Comparison between Q64AD-GH and Q64AD The following table indicates the performance comparison between the Q64AD-GH and Q64AD. Table Appendix 1 Performance Comparison Table Model name Q64AD-GH Q64AD Item Number of analog 4 channels input channels Analog Voltage -10 to 10VDC (Input resistance 1 M )
  • Page 234 APPENDIX MELSEC-Q 1 The values in parentheses are the digital output values (16 bits). 2 The values in parentheses are those in the high resolution mode. 3 Maximum resolution in the user range setting. APP -14 APP -14...
  • Page 235 APPENDIX MELSEC-Q Appendix 3 Functions Added or Changed Due to Version Upgrade The A/D converter has been upgraded with new functions and specifications. The functions available for use of the A/D converter module vary with the first five digits of product number. Also, use the GX Configurator-AD whose version number is compatible one or later.
  • Page 236 APPENDIX MELSEC-Q (2) Q62AD-DGH Table Appendix 3 Q62AD-DGH Applicable version Added or changed Reference Description First 5 digits of GX Configurator- function section product number When the following input ranges are selected in the intelligent function module switch setting, the analog input ranges can be extended. Analog input range •...
  • Page 237 APPENDIX MELSEC-Q Appendix 4 External Dimensions (1) Q64AD-GH Unit: mm (inch) (2) Q62AD-DGH Unit: mm (inch) APP -17 APP -17...
  • Page 238 INDEX Digital output ..........3-1, 3-2 [Number] Digital output value (16 bits) ......3-56 2-wire transmitter ..........1-1 Digital output value (32 bits) ......3-61 A/D conversion completed flag .... 3-34, 3-55 EMC Directive ..........A-12 A/D conversion enable/disable setting ERR.
  • Page 239 Open parameters ........... 5-12 Input signal error detection setting ....3-59 Operating condition setting ......5-19 Input signal error detection extended setting Operating condition setting completed flag ... 3-31 ............... 3-59 Operating condition setting request ....3-35 Inrush current ..........3-2 Operating environment ........
  • Page 240 Text files ............5-7 Time averaging ..........3-13 Time constant ..........3-14 Transfer setup ..........5-13 Troubleshooting ..........8-4 Uninstalling ............5-2 User range writing request ......3-35 Utility package ..........5-1 Voltage input characteristic ......3-5 Warning output setting ........3-59 Warning output flag ........
  • Page 241 6. Failure caused by reasons unpredictable by scientific technology standards at time of shipment from Mitsubishi. 7. Any other failure found not to be the responsibility of Mitsubishi or that admitted not to be so by the user. 2. Onerous repair term after discontinuation of production (1) Mitsubishi shall accept onerous product repairs for seven (7) years after production of the product is discontinued.
  • Page 242 Microsoft, Windows, Windows Vista, Windows NT, Windows XP, Windows Server, Visio, Excel, PowerPoint, Visual Basic, Visual C++, and Access are either registered trademarks or trademarks of Microsoft Corporation in the United States, Japan, and other countries. Intel, Pentium, and Celeron are either registered trademarks or trademarks of Intel Corporation in the United States and other countries.
  • Page 244 SH(NA)-080277-N(1509)MEE MODEL: Q-A/D-(D)GH-U-SY-E MODEL CODE: 13JR51 HEAD OFFICE : TOKYO BUILDING, 2-7-3 MARUNOUCHI, CHIYODA-KU, TOKYO 100-8310, JAPAN NAGOYA WORKS : 1-14 , YADA-MINAMI 5-CHOME , HIGASHI-KU, NAGOYA , JAPAN When exported from Japan, this manual does not require application to the Ministry of Economy, Trade and Industry for service transaction permission.

This manual is also suitable for:

Q64ad-ghQ62ad-dgh

Table of Contents