Mitsubishi Q64AD-GH User Manual
Mitsubishi Q64AD-GH User Manual

Mitsubishi Q64AD-GH User Manual

Melsec-q series, programmable logic controller, channel isolated high resolution analog-digital converter module with signal conditioning function
Hide thumbs Also See for Q64AD-GH:
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
Mitsubishi Programmable
Logic Controller
Q64AD-GH
Q62AD-DGH
GX Configurator-AD
(SW2D5C-QADU-E)

Advertisement

Table of Contents

Troubleshooting

loading

Summary of Contents for Mitsubishi Q64AD-GH

  • 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 Mitsubishi Programmable Q62AD-DGH Logic Controller 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 PLC in an environment that meets the general specifications contained in the user's manual of the CPU module to use. Using this PLC 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 [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 6: Revisions

    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 7: Table Of Contents

    2- 1 to 2- 6 2.1 Applicable Systems..........................2- 1 2.2 How to Check the Function Version, Serial Number, Product Information and Software Version ..2- 3 2.3 Cautions for Power Supply from Q61P-A1/A2 to Q64AD-GH............... 2- 5 3 SPECIFICATIONS 3- 1 to 3-49 3.1 Performance Specifications ........................
  • Page 8 (buffer memory addresses 138 to 141: Un\G138 to Un\G141) ............ 3-47 3.4.21 Mode switching setting (buffer memory addresses 158, 159: Un\G158, Un\G159)....3-48 3.4.22 Pass data classification setting (buffer memory addresses 200: Un\G200) (Q64AD-GH only).. 3-48 3.4.23 Industrial shipment settings and user range settings offset/gain value (buffer memory addresses 202 to 233: Un\G202 to Un\G233) ............
  • Page 9 6- 1 to 6-25 6.1 Programming Procedure......................... 6- 1 6.2 For Use in Normal System Configuration (Q64AD-GH) ................ 6- 2 6.2.1 Programming Example Using the Utility Package ................6- 3 6.2.2 Programming Example without Using the Utility Package.............. 6- 5 6.3 For Use in Remote I/O Network (Q64AD-GH)..................
  • Page 10 Appendix 1 Dedicated Instruction List and Available Devices..............App.- 1 Appendix 1.1 OFFGAN ........................App.- 2 Appendix 1.2 OGLOAD........................App.- 4 Appendix 1.3 OGSTOR........................App.- 8 Appendix 2 Performance Comparison between Q64AD-GH and Q64AD..........App.-13 Appendix 3 External Dimensions......................App.-14 INDEX Index- 1 to Index- 3...
  • Page 11: About Manuals

    About Manuals The following manuals are also related to this product. If necessary, order them by quoting the details in the tables below. Related Manuals Manual Number Manual Name (Model Code) GX Developer Version 8 Operating Manual SH-080373E Describes the methods of using GX Developer to create a program and print out, monitor, and debug (13JU41) the program.
  • Page 12: Conformation To The Emc Directive And Low Voltage Instruction

    Conformation to the EMC Directive and Low Voltage Instruction When incorporating the Mitsubishi PLC into other machinery or equipment and keeping compliance with the EMC and low voltage directives, refer to Chapter 3, "EMC Directives and Low Voltage Directives" of the User's Manual (Hardware) included with the CPU module or base unit used.
  • Page 13: About The Generic Terms And Abbreviations

    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. Generic product name of the product types SWnD5C-GPPW-E, SWnD5C-GPPW-EA, GX Developer SWnD5C-GPPW-EV and SWnD5C-GPPW-EVA.
  • Page 14: 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)
  • Page 15: Overview

    (hereinafter referred to as the Q62AD-DGH), which are used with the MELSEC-Q series CPU modules. The Q62AD-DGH is exclusively used for current input. In this manual, the Q64AD-GH and Q62AD-DGH are collectively referred to as the A/D converter modules. 1.1 Features (1) Channel isolated The channels are isolated.
  • Page 16 1 OVERVIEW MELSEC-Q (7) Changing the input range The input range 3 can easily be set from the GX Developer. 3 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 17 1 OVERVIEW MELSEC-Q (12) Offset/gain setting GX Configurator-AD, dedicated instruction (G. OFFGAN) or mode switching setting allows a shift to the offset/gain setting mode easily. (13) Easy settings using the utility package A utility package is sold separately (GX Configurator-AD). The utility package is not a required item, however, it is useful for on-screen setting of the intelligent function module parameters (initial setting/auto refresh setting).
  • Page 18: System Configuration

    2 SYSTEM CONFIGURATION MELSEC-Q 2 SYSTEM CONFIGURATION 2.1 Applicable Systems This section describes the system configuration for the A/D converter module. (1) Applicable module and the number of modules that can be installed The following are the CPU module and network module (for remote I/O stations) in which the A/D converter module can be installed and the number of modules that can be installed.
  • Page 19 A and B. (5) Q64AD-GH compatible software packages The following table indicates the compatibility of the systems using the Q64AD- GH with the software packages. GX Developer is required when the Q64AD-GH is used. Software Version GX Configurator-AD GX Developer...
  • Page 20: How To Check The Function Version, Serial Number, Product Information And Software Version

    2 SYSTEM CONFIGURATION MELSEC-Q 2.2 How to Check the Function Version, Serial Number, Product Information and Software Version This section describes how to check the function version, serial number, product information of the A/D converter module and the software version of GX Configurator- (1) How to check the function version, serial number and product information of the A/D converter module (a) To check the function version and serial number using the "SERIAL column...
  • Page 21 2 SYSTEM CONFIGURATION MELSEC-Q (2) How to check the GX Configurator-AD software version The GX Configurator-AD software version can be checked in GX Developer's "Product information" screen. [Startup procedure] 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 22: Cautions For Power Supply From Q61P-A1/A2 To Q64Ad-Gh

    MELSEC-Q 2.3 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 23 2 SYSTEM CONFIGURATION MELSEC-Q MEMO 2 - 6 2 - 6...
  • Page 24: Specifications

    3 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...
  • Page 25 3 SPECIFICATIONS MELSEC-Q Table 3.2 Performance Specifications of Q62AD-DGH Model name Q62AD-DGH Item Number of Input analog input 2 points (2 channels) points specification Analog input 4 to 20mADC 4(Input resistance 250 ) Connecting Supply voltage 26±2VDC with 2-wire Supply Maximum transmitter 24mADC...
  • Page 26 3 SPECIFICATIONS MELSEC-Q REMARK See the user’s manual for the CPU module being used for general specifications of the A/D converter modules. 3 - 3 3 - 3...
  • Page 27: I/O Conversion Characteristic

    3 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 PLC 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 28 0 to 10V User range setting 0 to 64000 0 to 32000 — (Uni-polar) 47.4µV 94.8µV User range setting — -64000 to 64000 -32000 to 32000 (Bi-polar) Fig. 3.1 Voltage input characteristic of Q64AD-GH 3 - 5 3 - 5...
  • Page 29 3 SPECIFICATIONS MELSEC-Q POINT (1) Set within the analog input range and digital output range for each input range. If these ranges are exceeded, the maximum resolution and accuracy may not fall within the performance specifications. (Avoid use in the dotted area of Fig. 3.1.) (2) Do not input an analog input voltage of more than ±...
  • Page 30 — 151.6nA 303.2nA (Uni-polar) Fig. 3.2 Current input characteristic of Q64AD-GH POINT (1) Set within the analog input range and digital output range for each input range. If these ranges are exceeded, the maximum resolution and accuracy may not fall within the performance specifications. (Avoid use in the dotted area of Fig.
  • Page 31 3 SPECIFICATIONS MELSEC-Q (2) Input characteristic of Q62AD-DGH Fig. 3.3 shows a graph of the Q62AD-DGH input characteristic. Analog input practical range 65535(32767) 64000(32000) -1536(-768) Analog input current (mA) The value within parentheses indicates the digital output value (16 bits). Maximum resolution Analog input Offset...
  • Page 32: Accuracy

    3 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 33: Function List

    3 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 34: A/D Conversion Methods

    3 SPECIFICATIONS MELSEC-Q 3.2.1 A/D conversion methods (1) 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 35 3 SPECIFICATIONS MELSEC-Q (3) 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 36: Maximum And Minimum Values Hold Function

    3 SPECIFICATIONS MELSEC-Q 3.2.2 Maximum and minimum values hold function (1) The maximum and minimum values are held in the buffer memory channel by channel. (2) 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 37: Warning Output Function

    3 SPECIFICATIONS MELSEC-Q (5) This function is executed at every sampling processing. (6) Perform the following procedure to use this function. 1) Set the input signal error detection setting value for the corresponding channel. 2) Enable the A/D conversion of the corresponding channel. 3) Enable the input signal error detection of the corresponding channel.
  • Page 38 3 SPECIFICATIONS MELSEC-Q (2) Rate alarm (a) 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 39 3 SPECIFICATIONS MELSEC-Q (c) 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%). (d) The setting range of the rate alarm warning detection period is 10 to 5000ms.
  • Page 40 3 SPECIFICATIONS MELSEC-Q 2) 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 41: A/D Conversion Starting Time Setting Function (Q62Ad-Dgh Only)

    3 SPECIFICATIONS MELSEC-Q 3.2.5 A/D conversion starting time setting function (Q62AD-DGH only) (1) 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 42: I/O Signals For The Plc Cpu

    3.3 I/O Signals for the PLC CPU 3.3.1 List of I/O signals Table 3.4 lists the I/O signals of the Q64AD-GH. Table 3.5 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 43 3 SPECIFICATIONS MELSEC-Q Table 3.5 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 44: Details Of I/O Signals

    3 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. (1) Input signals Device No. Signal Name Description (1) When the PLC 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 45 3 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 46 3 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.
  • Page 47 3 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 48 3 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...
  • Page 49 3 SPECIFICATIONS MELSEC-Q (2) 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 50 3 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...
  • Page 51: Buffer Memory

    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 Table 3.6 Buffer memory assignment of Q64AD-GH (1/5) Address Description Default Hexadecimal Decimal A/D conversion enable/disable setting...
  • Page 52 3 SPECIFICATIONS MELSEC-Q Table 3.6 Buffer memory assignment of Q64AD-GH (2/5) Address Description Default Hexadecimal Decimal CH3 Maximum value(16Bit) CH3 Minimum value(16Bit) CH4 Maximum value(16Bit) CH4 Minimum value(16Bit) System area — — Input signal error detection/warning output settings 0FFF Warning output flag...
  • Page 53 3 SPECIFICATIONS MELSEC-Q Table 3.6 Buffer memory assignment of Q64AD-GH (3/5) Address Description Default Hexadecimal Decimal CH1 Process alarm lower lower limit value (L) CH1 Process alarm lower upper limit value (L) CH1 Process alarm upper lower limit value (L)
  • Page 54 3 SPECIFICATIONS MELSEC-Q Table 3.6 Buffer memory assignment of Q64AD-GH (4/5) Address Description Default Hexadecimal Decimal CH2 Rate alarm upper limit value (L) CH2 Rate alarm lower limit value (L) CH3 Rate alarm upper limit value (L) CH3 Rate alarm lower limit value (L)
  • Page 55 3 SPECIFICATIONS MELSEC-Q Table 3.6 Buffer memory assignment of Q64AD-GH (5/5) Address Description Default Hexadecimal Decimal CH1 User range settings offset value CH1 User range settings gain value CH2 User range settings offset value CH2 User range settings gain value...
  • Page 56 3 SPECIFICATIONS MELSEC-Q (2) Buffer memory assignment of Q62AD-DGH Table 3.7 Buffer memory assignment of Q62AD-DGH (1/3) Address Description Default Hexadecimal Decimal A/D conversion enable/disable setting 0003 CH1 Average time/Average number of times/Move average/ Time constant settings CH2 Average time/Average number of times/Move average/ Time constant settings System area —...
  • Page 57 3 SPECIFICATIONS MELSEC-Q Table 3.7 Buffer memory assignment of Q62AD-DGH (2/3) Address Description Default Hexadecimal Decimal CH2 Digital output value(32Bit) (L) System area — — CH1 Maximum value(32Bit) (L) CH1 Minimum value(32Bit) (L) CH2 Maximum value(32Bit) (L) CH2 Minimum value(32Bit) (L) System area —...
  • Page 58 3 SPECIFICATIONS MELSEC-Q Table 3.7 Buffer memory assignment of Q62AD-DGH (3/3) Address Description Default Hexadecimal Decimal CH1 Rate alarm lower limit value (L) CH2 Rate alarm upper limit value (L) CH2 Rate alarm lower limit value (L) System area — —...
  • Page 59: A/D Conversion Enable/Disable Setting (Buffer Memory Address 0: Un\G0)

    (2) It is necessary to set the operating condition setting request (Y9) to ON/OFF in order to enable the A/D conversion enable/disable setting. (See Section 3.3.2.) (3) The Q64AD-GH defaults to A/D conversion enable on all channels. (4) The Q62AD-DGH defaults to A/D conversion disable on all channels.
  • Page 60: Ch Average Time/Average Number Of Times/Move Average/Time Constant Settings

    3 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) (1) Set the average time, average count, move average count or primary delay filter time constant for each channel specified for averaging processing. (2) To make the setting valid, the operating condition setting request (Y9) must be turned ON/OFF.
  • Page 61: Averaging Process Specification (Buffer Memory Address 9: Un\G9)

    3 SPECIFICATIONS MELSEC-Q 3.4.5 Averaging process specification (buffer memory address 9: Un\G9) (1) When selecting sampling processing or averaging processing, write the setting to buffer memory address 9 (Un\G9). (2) When you selected averaging processing, select the average time, average count, move average or primary delay filter.
  • Page 62: A/D Conversion Completed Flag (Buffer Memory Address 10: Un\G10)

    CH4 CH3 CH2 CH1 1 : A/D conversion completed For Q64AD-GH, information of b4 to b15 is fixed at 0. For Q62AD-DGH, information of b2 to b15 is fixed at 0. 0 : A/D conversion in...
  • Page 63: Write Data Error Codes (Buffer Memory Address 19: Un\G19)

    (2) 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. Setting ranges of Q64AD-GH Input range Setting value 4 to 20 (mA) 0 to 20 (mA)
  • Page 64: Offset/Gain Setting Mode (Buffer Memory Addresses 22, 23: Un\G22, Un\G23)

    CH4 CH3 CH2 CH1 Un\G23 (Gain specification) CH4 CH3 CH2 CH1 For Q64AD-GH, information of b4 to b15 is fixed at 0. 1 : Channel to be set For Q62AD-DGH, information of b2 to b15 is fixed at 0. 0 : Invalid 3.4.11 CH...
  • Page 65: Input Signal Error Detection/Warning Output Settings (Buffer Memory Address 47: Un\G47)

    3 SPECIFICATIONS MELSEC-Q 3.4.12 Input signal error detection/warning output settings (buffer memory address 47: Un\G47) (1) This area is used to set whether the input signal error detection/process alarm/rate alarm warning will be output or stopped on a channel basis. (2) To make the input signal error detection/warning output settings valid, the operating condition setting request (Y9) must be turned ON/OFF.
  • Page 66: Input Signal Error Detection Flag (Buffer Memory Address 49: Un\G49)

    CH4 CH3 CH2 CH1 For Q64AD-GH, information of b4 to b15 is fixed at 0. 0: Normal For Q62AD-DGH, information of b2 to b15 is fixed at 0. 1: Input signal error 3.4.15 CH...
  • Page 67: Ch Maximum Value/Minimum Value Storage Area (32Bit)

    3 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) (1) The maximum value and minimum value of the digital value converted on a channel basis are stored in 32-bit signed binary. (The data part is 16 bits long.) (2) 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 the maximum value/minimum value reset request (YD) is set to ON.
  • Page 68: Ch Rate Alarm Warning Detection Period (Buffer Memory Addresses 118 To 121: Un\G118 To Un\G121)

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

    3 SPECIFICATIONS MELSEC-Q 3.4.19 CH rate alarm upper/lower limit value (buffer memory addresses 122 to 137: Un\G122 to Un\G137) (1) Set the varying rate range of the digital output value on a channel basis. (2) To make the setting valid, the operating condition setting request (Y9) must be turned ON/OFF.
  • Page 70: Ch Input Signal Error Detection Setting Value (Buffer Memory Addresses 138 To 141: Un\G138 To Un\G141)

    Example) Lower limit value when the gain value setting is 8V and the offset value setting is 4V For the user range setting (uni-polar) of the Q64AD-GH or the user range setting of the Q62AD-DGH, the offset value is the lower limit value.
  • Page 71: Mode Switching Setting (Buffer Memory Addresses 158, 159: Un\G158, Un\G159)

    If the values written are other than the above, mode switching is not performed and only the operating condition is changed. 3.4.22 Pass data classification setting (buffer memory addresses 200: Un\G200) (Q64AD-GH only) (1) Areas used to restore the user range settings offset/gain values when online module change is made.
  • Page 72: Industrial Shipment Settings And User Range Settings Offset/Gain Value (Buffer Memory Addresses 202 To 233: Un\G202 To Un\G233)

    3 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) (1) 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. (2) When the offset/gain values of the user range setting are restored, the used data are stored.
  • Page 73: Setup And Procedures Before Operation

    4 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.
  • Page 74 4 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 75: Part Identification Nomenclature

    4 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. Q64AD-GH Q62AD-DGH Q64AD-GH Q62AD-DGH ERR. ERR. I/CHK+ CHK- I/CHK+ CHK- 24VDC (FG) -10 10V 4 20mA...
  • Page 76 4 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 –...
  • Page 77: 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. (2) Use separate cables for the AC control circuit and the external input signals and external supply power of the Q62AD-DGH to avoid the influence of the AC side surges and inductions.
  • Page 78: External Wiring

    4 SETUP AND PROCEDURES BEFORE OPERATION MELSEC-Q 4.4.2 External wiring (1) Q64AD-GH (a) For voltage input Signal source 0 to 500k 500k Shielded (b) For current input Signal source 0 to 20V 500k Shielded 500k *1 Use a 2-core twisted shielded wire for the power wire.
  • Page 79 4 SETUP AND PROCEDURES BEFORE OPERATION MELSEC-Q (2) Q62AD-DGH Current Transmitter (4 to 20mA) limiting circuit power supply 2-wire transmitter I/CHK+ Insulating circuit CHK- *1 Shielded DC24V Filter *1 Use a 2-core twisted shielded wire for the power wire. *2 Shows input resistance. *3 To connect with the 2-wire transmitter, be sure to connect to P and I/CHK+.
  • Page 80: Switch Setting For Intelligent Function Module

    16 bit data. When the intelligent function module switches are not set, the default value for switches 1 to 5 is 0. Table 4.1 Switch setting item Setting item Q64AD-GH Analog input range Input range setting value 4 to 20 mA...
  • Page 81 4 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 82: Offset/Gain Settings

    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. 4.6.1 Offset/Gain Settings (Q64AD-GH) (1) Offset/gain setting procedure Start Set the channel change Switch to the offset/gain request (YB) to ON.
  • Page 83 Refer to chapter 7 for details of online module change. (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 • Offset setting..................M1 •...
  • Page 84 The following program switches to the offset/gain setting mode with the dedicated instruction (G.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. Switches to offset/gain setting mode Stores setting of dedicated instruction (G.OFFGAN) into D1.
  • Page 85 4 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 86: Offset/Gain Settings (Q62Ad-Dgh)

    4 SETUP AND PROCEDURES BEFORE OPERATION MELSEC-Q 4.6.2 Offset/Gain Settings (Q62AD-DGH) (1) Offset/gain setting procedure Start Turn the channel change request (YB) to ON. Switch to the offset/gain setting mode. Verify that the channel change completed flag (XB) is ON. Verify that the mode is set to offset/gain setting and the RUN LED is flashing.
  • Page 87 4 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.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 ............Refer to Section 4.6.2 (2), (b) •...
  • Page 88 4 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 89: 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. (1) Q64AD-GH The A/D conversion values of all channels are stored into the buffer memory. (2) Q62AD-DGH...
  • Page 90: 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 91: Installing And Uninstalling The Utility Package

    5 UTILITY PACKAGE (GX Configurator-AD) MELSEC-Q 5.2 Installing and Uninstalling the Utility Package See "Method of installing the MELSOFT Series" attached with the utility package regarding the install and uninstall operation for the utility package. 5.2.1 User precautions The following provides the precautions on using the GX Configurator-AD: (1) Important safety information Since GX Configurator-AD is add-in software for GX Developer, read "Safety Precautions"...
  • Page 92 The number of parameter settings that can be set for one module in the GX Configurator-AD is as shown below. Object Module Initial setting Automatic refresh setting Q64AD-GH 4 (Fixed) 27 (Maximum number of settings) Q62AD-DGH 8 (Fixed) 15 (Maximum number of settings)
  • Page 93: Operating Environment

    5 UTILITY PACKAGE (GX Configurator-AD) MELSEC-Q 5.2.2 Operating environment The operating environment of the personal computer where the GX Configurator-AD is used is explained. Item Peripheral devices Installation (Add-in) destination Add-in to GX Developer Version 4 (English version) or later ®...
  • Page 94: Explanation Of Utility Package Operation

    5 UTILITY PACKAGE (GX Configurator-AD) MELSEC-Q 5.3 Explanation of Utility Package Operation 5.3.1 How to perform common utility package operations (1) Available control keys Special keys that can be used during operation of the utility package and their applications are shown in the table below. Name of key Application Cancels a newly entered value when entering data in a cell.
  • Page 95 5 UTILITY PACKAGE (GX Configurator-AD) MELSEC-Q (2) Data to be created with the utility package The data and files shown below that are created with the utility package are also processed using GX Developer operation. Figure 5.1 shows which operation processes which data or file.
  • Page 96 5 UTILITY PACKAGE (GX Configurator-AD) MELSEC-Q <Text file> (a) A text file is created by performing the initial setting or automatic refresh setting, or selecting text file creation in the monitor/test screen. The text files can be utilized to create user documents. GX Developer/ Disk GX Configurator-AD...
  • Page 97: Operation Overview

    5 UTILITY PACKAGE (GX Configurator-AD) MELSEC-Q 5.3.2 Operation overview Intilligent function module parameter setting module select screen GX Developer screen [Tools] – [Intelligent function utility]– [Start] See Section 5.3.3 Initial setting Auto refresh Initial setting screen Auto refresh setting screen See Section 5.5 See Section 5.4 Initial setting...
  • Page 98 5 UTILITY PACKAGE (GX Configurator-AD) MELSEC-Q <<FB support parameter>> tab – [Online] – [Monitor/test] FB conversion Select monitor/test module screen FB conversion screen See Section 5.7 Enter "Start I/O No.", then select "Module type" and "Module model name". Monitor/test screen See Section 5.6 5 - 9 5 - 9...
  • Page 99: Starting The Intelligent Function Module Utility

    5 UTILITY PACKAGE (GX Configurator-AD) MELSEC-Q 5.3.3 Starting the intelligent function module utility [Purpose of setting] Start the intelligent function module utility from GX Developer, and display the module selection screen for the intelligent function module utility parameter setting. The screens for performing initial setting, automatic refresh setting and monitor/test module selection (selecting the module for which monitoring/testing is to be performed) can be started from this screen.
  • Page 100 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) Explanation of screen command buttons Common operations to the <<Intelligent function module parameter>> tab and <<FB support parameter>>...
  • Page 101 5 UTILITY PACKAGE (GX Configurator-AD) MELSEC-Q POINT (1) Saving the intelligent function module parameter files Since files cannot be saved using the GX Developer project save operation, save the files using the module selection screen for intelligent function module parameter setting described above. (2) Reading from and writing to PLC operations for the intelligent function module parameters using GX Developer (a) After the intelligent function module parameters are saved in a file, they...
  • Page 102: Initial Setting

    5 UTILITY PACKAGE (GX Configurator-AD) MELSEC-Q 5.4 Initial Setting [Purpose of setting] 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 103 5 UTILITY PACKAGE (GX Configurator-AD) MELSEC-Q POINT Initial settings are stored in the intelligent function module parameters. After being written to the CPU module, the initial setting is made effective by either (1) or (2). (1) Cycle the RUN/STOP switch of the CPU module: STOP STOP RUN.
  • Page 104: Automatic Refresh Setting

    5 UTILITY PACKAGE (GX Configurator-AD) MELSEC-Q 5.5 Automatic Refresh Setting [Purpose of setting] Sets the buffer memory for the A/D converter module to be automatically refreshed. [Startup procedure] "Start I/O No. " "Module type" "Module model name" Auto refresh [Setting screen] [Explanation of items] (1) Contents of the screen display Model side Buffer size...
  • Page 105 5 UTILITY PACKAGE (GX Configurator-AD) MELSEC-Q (2) Explanation of command buttons A file containing the screen contents is created in text file Make text file format. Confirms the setting data and ends the operation. End setup Cancels the setting data and ends the operation. Cancel POINT The automatic refresh settings are stored in the intelligent function module...
  • Page 106: Monitor/Test

    5 UTILITY PACKAGE (GX Configurator-AD) MELSEC-Q 5.6 Monitor/Test 5.6.1 Monitor/test screen [Purpose of setting] Buffer memory monitoring/testing, I/O signal 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. [Startup procedure] Monitor/test module selection screen "Start I/O No.
  • Page 107 5 UTILITY PACKAGE (GX Configurator-AD) MELSEC-Q Pass data Operating condition setting Offset/gain setting Conversion characteristic 5 - 18 5 - 18...
  • Page 108 5 UTILITY PACKAGE (GX Configurator-AD) MELSEC-Q [Explanation of items] (1) Contents of screen display Setting item : The I/O signal or buffer memory names are displayed. Current value : The I/O signal status or current value of buffer memory are monitored.
  • Page 109: 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 110: Confirmation Of Conversion Characteristic

    When the target module is the Q62AD-DGH, "Current" only can be selected. Range setting: For the Q64AD-GH, select "Unipolar" or "Bipolar". Note that, when "Current" is selected in "Analog", "Unipolar" only is allowed. For the Q62AD-DGH, "User range setting" only is selectable.
  • Page 111 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 112: 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.
  • Page 113 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 114: 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 115: 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 of setting] FB is generated automatically from the intelligent function module parameter (initial setting/auto refresh setting). [Startup procedure] Intelligent Function Module Parameter Setting Module Selection Screen <<FB Support Parameter>>...
  • Page 116: 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 117 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 PLC CPU. (2) Create an FB of the intelligent function module parameter (initial setting/auto refresh setting) and paste it to the sequence program.
  • Page 118: 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 119: 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 - 30 5 - 30...
  • Page 120 5 UTILITY PACKAGE (GX Configurator-AD) MELSEC-Q MEMO 5 - 31 5 - 31...
  • Page 121: 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 122: For Use In Normal System Configuration (Q64Ad-Gh)

    (2) Program conditions This program reads the digital output values that have been A/D converted using CH1 to CH3 of the Q64AD-GH. CH1 performs sampling processing, CH2 performs averaging processing every 50 times, and CH3 performs primary delay filtering at intervals of 100ms time constant. An error code appears in BCD if a write error occurs.
  • Page 123: 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 3. Refer to Section 6.2 for the settings. (b) Auto refresh setting (see Section 5.5) Set the digital output values, warning output flags, input signal error detection flags and error codes of CH1 to 3.
  • Page 124 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 125: Programming Example Without Using The Utility Package

    6 PROGRAMMING MELSEC-Q 6.2.2 Programming Example without Using the Utility Package Initial settings A/D conversion enable/ disable setting CH2 Average time/ Average number of times/ Move average/ Time constant settings CH3 Average time/ Average number of times/ Move average/ Time constant settings Averaging process specification Input signal error detection/...
  • Page 126 6 PROGRAMMING MELSEC-Q Input signal error detection status and processing at error detection Read the input signal error detection flag. Processing at CH1 input signal error Processing at error detection detection Turn ON the error clear request (YF). Read the input signal error detection flag. Output the error code in BCD.
  • Page 127: For Use In Remote I/O Network (Q64Ad-Gh)

    (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 128 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 • Error code display (BCD 3 digits) ......Y30 to Y3B •...
  • Page 129 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 130 6 PROGRAMMING MELSEC-Q (b) Auto refresh setting (see Section 5.5) Set the digital output values, warning output flags, input signal error detection flags and error codes of CH1 to 3. (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.
  • Page 131 6 PROGRAMMING MELSEC-Q (3) 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 132: Programming Example Using The Utility Package

    6 PROGRAMMING MELSEC-Q 6.3.2 Programming Example without Using the Utility Package (1) Operating GX Developer (CPU parameter setting) • Network type : MNET/H (Remote master) • Starting I/O No. : 0000 • Network No. • Total stations • Mode : Online •...
  • Page 133 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 134 6 PROGRAMMING MELSEC-Q Turn ON the operating condition setting request (Y9). Turn OFF the operating condition setting request (Y9). Read digital output values Read the A/D conversion completed flag. Read the CH1 to CH3 digital output values (32bit). Read the CH1 digital output value (32bit).
  • Page 135: 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 136: 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 2. Refer to Section 6.4 for the settings. (b) Auto refresh setting (see Section 5.5) Set the digital output values, warning output flags, input signal error detection flags and error codes of CH1 and 2.
  • Page 137 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 138: Programming Example Without Using The Utility Package

    6 PROGRAMMING MELSEC-Q 6.4.2 Programming Example without Using the Utility Package Initial settings A/D conversion enable/disable setting CH2 Average time/ Average number of times/ Move average/Time constant settings Averaging process specification Input signal error detection/warning output settings CH2 process alarm lower lower limit value CH2 process alarm lower upper limit value...
  • Page 139: 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 Remote master station (Network No. 1) Remote I/O station (Station No. 1) Power Power supply supply module module X/Y100 X/Y110 X/Y120 X/Y10F...
  • Page 140: 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 141 6 PROGRAMMING MELSEC-Q (b) Auto refresh setting (see Section 5.5) Set the digital output values, warning output flags, input signal error detection flags and error codes of CH1 and 2. (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.
  • Page 142 6 PROGRAMMING MELSEC-Q 6.5.2 Programming Example without Using the Utility Package (1) Operating GX Developer (CPU parameter setting) • Network type : MNET/H (Remote master) • Starting I/O No. : 0000 • Network No. • Total stations • Mode : Online •...
  • Page 143 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 144 6 PROGRAMMING MELSEC-Q Warning (process alarm) occurrence status and processing at warning occurrence Read the warning output flag. Processing at CH2 process alarm upper Processing at warning occurrence limit value warning occurrence Processing at CH2 process alarm lower Processing at warning occurrence limit value warning occurrence Input signal error detection status and processing at error detection Read the input signal error detection...
  • Page 145 6 PROGRAMMING MELSEC-Q MEMO 6 - 25 6 - 25...
  • Page 146: Online Module Change

    7 ONLINE MODULE CHANGE MELSEC-Q 7 ONLINE MODULE CHANGE When changing a module online, carefully read the QCPU User's Manual (Hardware Design, Maintenance and Inspection), section 12.4.1 "Online module change". This chapter describes the specifications of an online module change. Perform an online module change by operating GX Developer.
  • Page 147: Online Module Change Conditions

    7 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 Q12PHCPU or Q25PHCPU is needed. For precautions for multiple PLC system configuration, refer to the Process CPU User's Manual (Function Explanation/Program Fundamentals).
  • Page 148: Online Module Change Operations

    7 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 (Intelligent function module FROM/TO Dedicated Device Initial (User operation) instruction operation) Monitor/ refresh...
  • Page 149: Online Module Change Procedure

    (Y9) from OFF to ON to stop conversion. After confirming that conversion has stopped with the A/D conversion completion flag (buffer memory address 10: Un\G10), turn off Operation Condition Setting Request (Y9). (The screen shows the setting example of the Q64AD-GH.) 7 - 4 7 - 4...
  • Page 150 7 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"...
  • Page 151 7 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 152 7 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 14, Un\G54 to 62) to check whether proper conversion has been made or not.
  • Page 153 7 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. The FROM/TO instruction for the module resumes. The "Online module change completed"...
  • Page 154: When Industrial Shipment Setting Is Used And Initial Setting Was Made With Sequence Program

    (Y9) from OFF to ON to stop conversion. After confirming that conversion has stopped with the A/D conversion completion flag (buffer memory address 10: Un\G10), turn off Operation Condition Setting Request (Y9). (The screen shows the setting example of the Q64AD-GH.) 7 - 9 7 - 9...
  • Page 155 7 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"...
  • Page 156 7 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 157 7 ONLINE MODULE CHANGE MELSEC-Q Click the [Close] button to close the System monitor screen. Referring to (1), set the used channel to conversion enable, and monitor the digital output values (buffer memory addresses 11 to 14, 54 to 62, UnvG11 to 14, Un\G54 to 62) to check whether proper conversion has been made or not.
  • Page 158 7 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. The FROM/TO instruction for the module resumes. The "Online module change completed"...
  • Page 159: When User Range Setting Is Used And Initial Setting Was Made With Gx Configurator-Ad

    (Y9) from OFF to ON to stop conversion. After confirming that conversion has stopped with the A/D conversion completion flag (buffer memory address 10: Un\G10), turn off Operation Condition Setting Request (Y9). (The screen shows the setting example of the Q64AD-GH.) 7 - 14 7 - 14...
  • Page 160 7 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"...
  • Page 161 7 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 162 7 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 163 7 ONLINE MODULE CHANGE MELSEC-Q Monitor the digital output values (buffer memory addresses 11 to 14, 54 to 62, Un\G11 to 14, Un\G54 to 62) 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 164: When User Range Setting Is Used And Initial Setting Was Made With Gx Configurator-Ad

    7 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 165 7 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 166 7 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"...
  • Page 167 7 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 168 7 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 14, Un\G54 to 62) to check whether proper conversion has been made or not.
  • Page 169 7 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. The FROM/TO instruction for the module resumes. The "Online module change completed"...
  • Page 170: When User Range Setting Is Used And Initial Setting Was Made With Sequence Program

    (Y9) from OFF to ON to stop conversion. After confirming that conversion has stopped with the A/D conversion completion flag (buffer memory address 10: Un\G10), turn off Operation Condition Setting Request (Y9). (The screen shows the setting example of the Q64AD-GH.) 7 - 25 7 - 25...
  • Page 171 7 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"...
  • Page 172 7 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 173 7 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. Referring to (1), set the used channel to conversion enable, and monitor the digital output values (buffer memory addresses 11 to 14, 54 to 62, Un\G11 to 14, Un\G54 to 62) to check whether proper conversion has been made...
  • Page 174 7 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 175: (Other System Is Unavailable)

    (Y9) from OFF to ON to stop conversion. After confirming that conversion has stopped with the A/D conversion completion flag (buffer memory address 10: Un\G10), turn off Operation Condition Setting Request (Y9). (The screen shows the setting example of the Q64AD-GH.) 7 - 30 7 - 30...
  • Page 176: Range Reference Table

    If the buffer memory values compared with the reference table are not proper, save and restoration of the user range cannot be executed. Before resuming module control, follow the flowchart in Section 4.6.1 for the Q64AD-GH, or follow the flowchart in Section 4.6.2 for the Q62AD-DGH, and make offset/gain setting in the device test of GX Developer.
  • Page 177 7 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 178 7 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 179 7 ONLINE MODULE CHANGE MELSEC-Q Referring to (1), set the used channel to conversion enable, and monitor the digital output values (buffer memory addresses 11 to 14, 54 to 62, Un\G11 to 14, Un\G54 to 62) to check whether proper conversion has been made or not.
  • Page 180 (2) Reference table for user range settings offset/gain values (buffer memory addresses 218 to 233: Un\G218 to 233) Example) When the offset value of the Q64AD-GH channel 1 is 1V and its gain value is 5V, the reference value of the CH1 user range settings offset...
  • Page 181: Precautions For Online Module Change

    7 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 182: Troubleshooting

    8 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 PLC CPU, the applicable error code is written to buffer memory address 19 (Un\G19).
  • Page 183: Troubleshooting

    8 TROUBLESHOOTING MELSEC-Q Table 8.1 Error code list (2/2) 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) Re-set the process alarm upper/lower limit is outside the -65536 to 65535 range.
  • Page 184: When The "Run" Led Is Flashing Or Turned Off

    8 TROUBLESHOOTING MELSEC-Q POINT (1) When two or more errors have occurred, the latest error found by the A/D converter module is stored. (2) The error can be cleared by setting the error clear request (YF) to "ON". 8.2 Troubleshooting 8.2.1 When the "RUN"...
  • Page 185: When The Digital Output Values Cannot Be Read

    8 TROUBLESHOOTING MELSEC-Q (2) When flashing Check item Corrective action Check the input signal error detection flag (buffer memory Is an input signal error being generated? address 49, Un\G49). 8.2.4 When the digital output values cannot be read Check item Corrective action Is 24VDC external supply power being supplied? (Q62AD- Check that the external supply power terminals (terminal...
  • Page 186: When A/D Conversion Completed Flag Does Not Turn On During Use In Normal Mode

    8 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.
  • Page 187 8 TROUBLESHOOTING MELSEC-Q (3) H/W information (a) 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 188: Appendix

    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. OFFGAN Appendix 1.1 Switches to the normal mode.
  • Page 189: Appendix 1.1 Offgan

    APPENDIX MELSEC-Q Appendix 1.1 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 MELSECNET/H Special Index Constant Set data (System, user) File Direct J \ function register Other...
  • Page 190 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 191 Device that is turned ON 1 scan on completion of dedicated Within the range of the instruction processing. specified device (D) + 1 also turns ON at an abnormal completion. Control data of Q64AD-GH (1/2) Device Item Set data Setting range Set by System area —...
  • Page 192 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 193 APPENDIX MELSEC-Q Control data of Q62AD-DGH (2/2) Device Item Set data Setting range Set by CH1 user range settings offset value (L) (S) + 20 — — System (S) + 21 CH1 user range settings gain value (L) (S) + 22 —...
  • Page 194 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.OGLOAD instruction: the completion device (D) and the status display device at completion (D) + 1. 1) Completion device Turns ON in the END processing of the scan where the G.OGLOAD instruction is completed, and turns OFF in the next END processing.
  • Page 195 1 When executing the G.OGLOAD instruction, specify the device designated in (S). Do not change the data read with the G.OGLOAD instruction. If it is changed, normal operation cannot be guaranteed. Control data of Q64AD-GH (1/2) Device Item Set data...
  • Page 196 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 197 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 198 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.OGSTOR instruction: the completion device (D) and the status display device at completion (D) + 1. 1) Completion device Turns ON in the END processing of the scan where the G.OGSTOR instruction is completed, and turns OFF in the next END processing.
  • Page 199 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 200: Appendix 2 Performance Comparison Between Q64Ad-Gh And Q64Ad

    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 points (4 channels)
  • Page 201: Appendix 3 External Dimensions

    APPENDIX MELSEC-Q Appendix 3 External Dimensions (1) Q64AD-GH Q64AD-GH ERR. -10 10V 0 20mA 90(3.54) 22(0.87) 27.4(1.08) (2) Q62AD-DGH Q62AD-DGH ERR. I/CHK+ CHK- I/CHK+ CHK- 24VDC 4~20mA 90(3.54) 22(0.87) 27.4(1.08) Unit(mm(in.)) APP -14 APP -14...
  • Page 202 INDEX [Number] Digital output ..........3-1, 3-2 2-wire transmitter..........1-1 Digital output value (16 bits) ......3-39 Digital output value (32 bits) ......3-43 A/D conversion completed flag ....3-25, 3-39 A/D conversion enable/disable setting 3-10, 3-36 EMC Directive ..........A-10 A/D conversion methods....... 3-11 ERR.
  • Page 203 Maximum number of writes for E PROM ..............3-1, 3-2 Q62AD-DGH ............1-1 Maximum resolution ......... 3-1, 3-2 Q64AD-GH............1-1 Maximum supply current......... 3-2 QCPU (Q mode) ........... A-11 Maximum value/minimum value reset completed flag ..............3-25 Maximum value/minimum value reset request Rate alarm............3-15...
  • Page 204 Time constant..........3-12 Transfer setup ..........5-12 Troubleshooting..........8-3 Uninstalling ............5-2 User range writing request......3-26 Utility package ..........5-1 Voltage input characteristic......3-5 Warning output flag ........3-42 Warning output function ........ 3-14 Warning output signal ........3-21 Weight............
  • Page 205 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 206 Microsoft, Windows, Windows NT are registered trademarks of Microsoft Corporation in the United States and other countries. Pentium is a registered trademark of Intel Corporation in the United States and other countries. Other company and product names herein are either trademarks or registered trademarks of their respective owners.
  • Page 208 Channel Isolated High Resolution Analog-Digital Converter Module Channel Isolated High Resolution Analog-Digital Converter Module (With Signal Conditioning Function) User's Manual Q-A/D-(D)GH-U-SY-E MODEL MODEL 13JR51 CODE SH(NA)-080277-H(0602)MEE 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:

Sw2d5c-qadu-eQ62ad-dghGx configurator-ad

Table of Contents