Mitsubishi Electric Q68AD-G User Manual

Mitsubishi Electric Q68AD-G User Manual

Channel isolated analog-digital converter module/ channel isolated analog-digital converter module (with signal conditioning function)
Table of Contents

Advertisement

Channel Isolated Analog-Digital Converter Module/
Channel Isolated Analog-Digital Converter Module
(With Signal Conditioning Function)
User's Manual
-Q68AD-G
-Q66AD-DG
-GX Configurator-AD (SW2D5C-QADU-E)

Advertisement

Table of Contents
loading

Summary of Contents for Mitsubishi Electric Q68AD-G

  • Page 1 Channel Isolated Analog-Digital Converter Module/ Channel Isolated Analog-Digital Converter Module (With Signal Conditioning Function) User's Manual -Q68AD-G -Q66AD-DG -GX Configurator-AD (SW2D5C-QADU-E)
  • Page 3: Safety Precautions

    SAFETY PRECAUTIONS (Read these precautions before using this product.) Before using this product, please read this manual and the relevant manuals carefully and pay full attention to safety to handle the product correctly. In this manual, the safety precautions are classified into two levels: " WARNING"...
  • Page 4 For the Q66AD-DG, secure the module with fixing brackets after installation to the base unit. When using the Q68AD-G in an environment where they are frequent vibrations, screw the module to the base unit after installation.
  • Page 5 [Wiring Precautions] CAUTION Individually ground the FG terminal of the programmable controller with a ground resistance of 100Ω or less. 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.
  • 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

    CONDITIONS OF USE FOR THE PRODUCT (1) Mitsubishi programmable controller ("the PRODUCT") shall be used in conditions; i) where any problem, fault or failure occurring in the PRODUCT, if any, shall not lead to any major or serious accident; and ii) where the backup and fail-safe function are systematically or automatically provided outside of the PRODUCT for the case of any problem, fault or failure occurring in the PRODUCT.
  • Page 8: Revisions

    REVISIONS * The manual number is given on the bottom left of the back cover. Print Date *Manual Number Revision Oct., 2006 SH (NA)-080647ENG-A First edition Jan., 2007 SH(NA)-080647ENG-B Correction Section 3.3.2, 3.4.12, 4.6.2, 6.3.1, 6.3.2, 6.5.1, 6.5.2 Correction Jan., 2008 SH(NA)-080647ENG-C SAFETY PRECAUTIONS, About the Generic Terms and Abbreviations, Section 1.1, Section 2.1, Section 2.3, Section 3.2.1, Section 3.4.1, Section 4.1, Section...
  • 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 Mitsubishi Electric MELSEC-Q series programmable controllers. Before using the equipment, please read this manual carefully to develop full familiarity with the functions and performance of the Q series programmable controller you have purchased, so as to ensure correct use.
  • Page 11 3.4.23 Mode switching setting (Un\G158, Un\G159) ............... 3 - 74 3.4.24 Save data classification setting (Un\G200) (Q68AD-G only)..........3 - 74 3.4.25 Factory default and User range settings offset/gain value (Un\G202 to Un\G233) ....3 - 75 4 SETUP AND PROCEDURES BEFORE OPERATION 4 - 1 to 4 - 24 Handling Precautions........................
  • Page 12 Convert (compile) a sequence program ................5 - 33 6 PROGRAMMING 6 - 1 to 6 - 38 Programming Procedure........................6 - 1 For Use in Normal System Configuration (Q68AD-G) ..............6 - 2 6.2.1 Before creating a program ...................... 6 - 3 6.2.2 Programming example using the utility package ..............
  • Page 13 7.3.3 When user range setting is used and initial setting was made with GX Configurator-AD (other system is available)....................7 - 15 7.3.4 When user range setting is used and initial setting was made with GX Configurator-AD (other system is unavailable)....................7 - 20 7.3.5 When user range setting is used and initial setting was made with sequence program (other system is available)....................
  • Page 14: Manuals

    COMPLIANCE WITH THE EMC, LOW VOLTAGE, AND MACHINERY DIRECTIVES (1) Method of ensuring compliance To ensure that Mitsubishi Electric 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: Generic Terms And Abbreviations

    Unless otherwise specified, this manual uses the following general terms and abbreviations. General term/Abbreviation Description A/D converter module A generic term for the Q68AD-G and Q66AD-DG DOS/V personal computer An IBM PC/AT or compatible computer with DOS/V GX Developer The product name of the software package for the MLSEC programmable controllers...
  • Page 16: Packing List

    PACKING LIST The product package contains the following. Model Product Quantity Q68AD-G Type Q68AD-G Channel Isolated Analog-Digital Converter Module Type Q66AD-DG Channel Isolated Analog-Digital Converter Module (with Signal Conditioning Function) Q66AD-DG FG terminal L-Shaped metal fitting SW2D5C-QADU-E GX Configurator-AD Version 2 (1-license product)(CD-ROM)
  • Page 17: Overview

    The Q66AD-DG is also isolated between the external power supply and channels. (2) Multi-channel analog input is available. (a) By using a single Q68AD-G, analog voltage or current inputs of 8 channels are available. (b) A single Q66AD-DG allows connection of 2-wire transmitters of 6 channels.
  • Page 18 OVERVIEW (6) High accuracy The reference accuracy is as high as ±0.1% and the temperature coefficient is as high as ±71.4ppm/°C. *1 Accuracy of offset/gain setting at ambient temperature *2 Accuracy per temperature change of 1°C Example) Accuracy when the temperature varies from 25 to 30°C 0.1% (reference accuracy) + 0.00714 %/°C (temperature coefficient) 5°C (temperature variation difference) = 0.1357%...
  • Page 19 OVERVIEW (11)Scaling function A/D conversion values can be converted to percentage values (%) in the preset range and be loaded into the buffer memory. This function can reduce the time required for programming. (Refer to Section 3.2.6.) (12)Online module change Furthermore, the following operations can be processed by using sequence pro- grams.
  • Page 20: System Configuration

    SYSTEM CONFIGURATION SYSTEM CONFIGURATION This chapter explains the system configuration of the A/D converter module. 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 CPU modules, the number of modules, and base units applicable to the A/ D converter module, refer to the following.
  • Page 21 SYSTEM CONFIGURATION (4) Supported software packages Relation between the system containing the Q68AD-G and software package is shown in the following table. GX Developer or GX Works2 is required to use the A/D converter module. Software Version GX Developer GX Configurator-AD...
  • Page 22: Precautions On System Configuration

    SYSTEM CONFIGURATION Precautions on System Configuration (1) When using the A/D converter module with Redundant CPU (a) Dedicated instruction The dedicated instruction cannnot be used. (b) GX Configurator-AD connection GX Configurator-AD cannot be used when accessing Redundant CPU via an intelligent function module on an extension base unit from GX Developer.
  • Page 23: How To Check The Function Version, Serial No., And Software Version

    SYSTEM CONFIGURATION How to Check the Function Version, Serial No., and Software Version (1) Checking the function version and serial No. The serial No. and function version of the A/D converter module can be checked on the rating plate, front of the module, and system monitor of GX developer. (a) On the rating plate The rating plate is put on the side of the A/D converter module.
  • Page 24 SYSTEM CONFIGURATION (c) On the system monitor (product information list) To display the system monitor, select [Diagnostics] [System moni- Product Inf. List tor] of GX Developer. Serial Function Product version 1) Production number Production number indication is not available for the A/D converter module; "-" is shown.
  • Page 25 SYSTEM CONFIGURATION (2) Checking the software version of GX Configurator-AD The software version of GX Configurator-AD can be checked on GX Developer by clicking [Help] [Product information]. Software version (In the case of GX Developer Version 8) 2.3 How to Check the Function Version, Serial No., and Software Version...
  • Page 26: Specifications

    SPECIFICATIONS SPECIFICATIONS The description of this chapter and later is based on the Q68AD-G. Performance Specifications 3.1.1 Performance specifications list Table 3.1 shows the performance specifications of the A/D converter modules. Table3.1 Performance Specifications of Q68AD-G Item Specifications Number of analog input...
  • Page 27: 3.1.1 Performance Specifications List

    *4 The cycle in which A/D conversion values are updated. *5 The time required for an input signal to reach the A/D converter inside the Q68AD-G. *6 Current value indicates value of instant input current that does not break module inner electrical resistance.
  • Page 28 SPECIFICATIONS Table3.2 Performance Specifications of Q66AD-DG Item Specifications Number of analog input channels (2-wire 6 channels transmitters) With 2-wire 4 to 20mADC (Input resistance 250 ) Input transmitter specification Without 2-wire 0 to 20mADC±1 (Input resistance 250 ) transmitter Supply voltage 26±2VDC Maximum supply Power supply part...
  • Page 29 SPECIFICATIONS Table3.2 Performance Specifications of Q66AD-DG Item Specifications Internal current consumption (5VDC) 0.42A Weight 0.22kg *1 Accuracy of offset/gain setting at ambient temperature Q66AD-DG needs to be powered on 30 minutes prior to operation for compliance to the specification (accuracy). *2 "digit"...
  • Page 30: I/O Conversion Characteristic

    SPECIFICATIONS 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 31 High resolution mode 4095 4095 4000 4000 Normal resolution mode Normal resolution mode -384 -4000 -4096 -16000 -16384 Analog input voltage (V) Analog input voltage (V) Fig.3.1 Voltage input characteristic of Q68AD-G (1/2) 3.1 Performance Specifications 3.1.2 I/O conversion characteristic...
  • Page 32 -16000 -16384 Analog input voltage (V) Fig.3.1 Voltage input characteristic of Q68AD-G (2/2) (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 shown by the dotted lines in Fig.3.1.)
  • Page 33 3) 4 to 20mA (Expanded mode) Analog input practical range High resolution mode 13787 13500 12000 Normal resolution mode 4595 4500 4000 -1000 -1096 -3000 -3288 20 22 Analog input current (mA) Fig.3.2 Current input characteristic of Q68AD-G 3.1 Performance Specifications 3.1.2 I/O conversion characteristic...
  • Page 34 SPECIFICATIONS (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 shown by the dotted lines in Fig.3.2.) (2) Do not input an analog input current of -30mA or less and 30mA or more.
  • Page 35 SPECIFICATIONS (2) Input characteristic of Q66AD-DG Fig. 3.3 shows a graph of the Q66AD-DG input characteristic. Analog input practical range 2) 0 to 20mA 1) 4 to 20mA Practical analog input range High resolution High resolution mode mode 12287 12287 12000 12000 Normal resolution...
  • Page 36 SPECIFICATIONS (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 shown by the dotted lines in Fig.3.3.) (2) Do not input an analog input current of -30mA or less and 30mA or more.
  • Page 37: Accuracy

    SPECIFICATIONS 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 digital output value. Even if you change the offset/gain setting or input range to change the input characteristic, the reference accuracy and temperature coefficient do not change and are kept within the ranges given in the performance specifications.
  • Page 38: 3.2 Function List

    SPECIFICATIONS Function List Table 3.3 lists the functions of the A/D converter modules. Table3.3 Function list Item Function Reference section Specifies whether to enable or disable the A/D conversion for each channel. A/D conversion enable/ Since the conversion time is 10ms per channel, disabling A/D conversion of Section 3.4.2 disable setting unused channels can reduce the entire conversion time.
  • Page 39 *1 If the module is changed online to a module that has no extended mode for analog input range under the following input range settings, an intelligent function module switch error will occur. Q68AD-G: 4 to 20mA (extended mode): A 1 to 5V (extended mode): B...
  • Page 40: A/D Conversion Methods

    SPECIFICATIONS 3.2.1 A/D conversion methods (1) Sampling processing A/D conversion is performed successively for analog input values, and the converted digital output values are stored in the buffer memory. The sampling processing time varies depending on the number of channels used (number of channels set as A/D conversion enable).
  • Page 41 SPECIFICATIONS Moving average processing at the preset count of 4 times A/D conversion value Sampling time 12000 10) 11) Buffer memory 6000 First storage Second storage Digital output value Third storage Time [ms] A/D conversion completed flag ON Data transition inside buffer memory First storage Second storage Third storage...
  • Page 42 [Example 1] Digital output value when the analog input value varied from 0 to 1V When the high resolution mode and the input range of 0 to 10V is specified for the Q68AD-G The variation of the digital output value at the time constant setting of 1000ms (1s) is as shown below.
  • Page 43: Maximum And Minimum Values Hold Function

    SPECIFICATIONS 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 44 SPECIFICATIONS (4) When the analog input value returns to within the setting range, A/D conversion is resumed independently of whether the input signal error detection flag (Un\G49) and input signal error detection signal (XC) are reset or not, the A/D conversion completed flag (Un\G10) of the corresponding channel turns ON again after the first updating.
  • Page 45 SPECIFICATIONS (7) How to set an input signal error detection upper/lower limit values Set input signal error detection upper/lower limit values based on the input signal error detection setting value (input signal error detection upper/lower limit setting values). (Set the values in the unit of 1 (0.1%)). The input signal error detection setting value is reflected to both the input signal error detection upper and lower limit values by default.
  • Page 46 Remark The following table lists the lower limit value, offset value, and gain value for each input range Table3.4 The lower limit value, offset value, and gain value for each input range (Q68AD-G) Input Analog input range Lower limit value...
  • Page 47 SPECIFICATIONS (8)Setting example of input signal error detection Example) To detect an input signal error when the analog input value falls below 2.4mA in the channel where the input range of 4 to 20mA (extended mode) and the normal resolution mode is set Apply the following values to the calculation formula for an input signal error detection lower limit value.
  • Page 48 SPECIFICATIONS (9)Specifying a condition to detect input signal errors By setting the following buffer memory areas, input signal errors can be detected only at an upper limit value or lower limit value, or at different upper/lower limit values. • Input signal error detection extended/input signal error detection setting (Un\G47) •...
  • Page 49 SPECIFICATIONS 2) To detect input signal errors at an upper limit value only • Input signal error detection extended setting: 1 (different upper/lower limit values) • Input signal error detection upper limit setting value: 100 (10.0%) • Input signal error detection lower limit setting value: 251 (input signal error detection disabled) Input signal error detection Error...
  • Page 50: Warning Output Function

    SPECIFICATIONS 3.2.4 Warning output function (1) Process alarm (a) 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 zone, the warning output flag (process alarm)(Un\G50) and warning output signal (X8) turn ON and the ALM LED is lit to indicate the warning.
  • Page 51 SPECIFICATIONS (2) Rate alarm (a) If the range of change in the digital output value sampled at intervals of the rate alarm warning detection period is equal to or greater than the rate alarm upper limit value or is equal to or less than the rate alarm lower limit value, the warning output flag (rate alarm) (Un\G51) and warning output signal (X8) turn ON and the ALM LED is lit to indicate the warning of the rate alarm.
  • Page 52 SPECIFICATIONS (c) Set the rate alarm upper limit value/lower limit value in 0.1%/s increments relative to the maximum value (16000/12000/4000) of the digital output value. The setting range is -32768 to 32767 (-3276.8% to 3276.7%). (d) The setting range of the rate alarm warning detection period is 10 to 5000ms. When the period is set to 5000ms, the digital values are compared at intervals of 5 seconds to detect the varying rate.
  • Page 53 SPECIFICATIONS 2) Example of setting the rate alarm upper limit value/lower limit value when it is desired to watch that the digital output value decreases within the specified range Varying rate (%) of digital output value Rate alarm upper limit value -20% -30% Rate alarm lower limit value...
  • Page 54: Conversion Starting Time Setting Function (Q66Ad-Dg Only)

    SPECIFICATIONS 3.2.5 Conversion starting time setting function (Q66AD-DG 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 55: Scaling Function

    Example 1) Input range setting: 0 to 20mA, or 4 to Example 2) Input range setting: -10 to 10V 20mA (Q68AD-G, Q66AD-DG) (Q68AD-G) Digital output value Digital output value...
  • Page 56 : The minimum digital output value in the input range being used : Scaling upper limit value : Scaling lower limit value Example) On the Q68AD-G, using the scaling function in High resolution mode and in the input range of -10 to 10V If the setting is...
  • Page 57 (A/D conversion value corresponding to the gain value) : Scaling upper limit value : Scaling lower limit value Example) On the Q68AD-G, using the scaling function in High resolution mode and in the user range setting If the setting is...
  • Page 58: I/O Signals For The Programmable Controller Cpu

    I/O Signals for the Programmable Controller CPU 3.3.1 List of I/O signals Table 3.4 lists the I/O signals of the Q68AD-G. Table 3.5 lists the I/O signals of the Q66AD-DG. 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 59 SPECIFICATIONS Table3.7 List of I/O signal (Q66AD-DG) Signal direction CPU Module Q66AD-DG Signal direction CPU Module Q66AD-DG Device No. (Input) Signal name Device No. (Output) Signal name Module ready Use prohibited Use prohibited High resolution mode status flag Warning output signal Operating condition setting completed flag Operating condition setting request Offset/gain setting mode flag...
  • Page 60: Details Of I/O Signals

    SPECIFICATIONS 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 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 per- formed.
  • Page 61 SPECIFICATIONS Device No. Signal Name Description 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 (Un\G0) CH Average time/Average number of times/Moving average/Time constant settings (Un\G1 to Un\G8) Averaging process specification (Un\G24, Un\G25) Input signal error detection extended/input signal error detection setting (Un\G47) Warning output settings (Un\G48)
  • Page 62 SPECIFICATIONS Device No. Signal Name Description [In offset/gain setting mode] 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. Refer to Section 4.6 regarding the offset/gain settings. Performed by the A/D converter module Performed by the sequence program Module ready (X0)
  • Page 63 SPECIFICATIONS Device No. Signal Name Description This signal turns ON when the analog input value falls outside the setting range set to the Input signal error detection setting value value/input signal error detection lower limit setting value (Un\G142 to Un\G149), Input signal error detection upper limit setting value (Un\G150 to Un\G157) on any of the channels enabled for A/D conversion after the Input signal error detec- tion is made valid.
  • Page 64 SPECIFICATIONS Device No. Signal Name Description [For the Q68AD-G] This signal turns ON when all conversion-enabled channels have completed the initial A/D con- version. This signal or the A/D conversion completed flag (Un\G10) is used as an interlock condition to read out the digital output value.
  • Page 65 SPECIFICATIONS Device No. Signal Name Description This signal turns ON when a write error occurs. To clear the error code, set the error clear request (YF) to ON. Performed by the A/D converter module Performed by the sequence program Error code(Un\G19) Error occurs Error flag Error flag (XF)
  • Page 66 SPECIFICATIONS (2) Output signals Device No. Signal Name Description Turn this signal ON when making any of the following settings valid. A/D conversion enable/disable setting (Un\G0) Average time/Average number of times/Moving average/Time constant settings (Un\G1 to Un\G8) Averaging process specification (Un\G24, Un\G25) Input signal error detection extended/input signal error detection setting (Un\G47) Warning output settings (Un\G48) Scaling enable/disable setting(Un\G53)
  • Page 67 SPECIFICATIONS 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 A/D conversion completed flag...
  • Page 68: Buffer Memory

    SPECIFICATIONS Buffer Memory 3.4.1 Buffer memory assignment This section describes the buffer memory assignments of the A/D converter modules. 3.4 Buffer Memory - 43 3.4.1 Buffer memory assignment...
  • Page 69 (1) Buffer memory assignment of Q68AD-G Do not write data from system area or sequence program to the buffer memory area where writing is disabled. Doing so may cause malfunction. Table3.8 Buffer memory assignment of Q68AD-G (1/6) Address Description Default...
  • Page 70 SPECIFICATIONS Table3.8 Buffer memory assignment of Q68AD-G (2/6) Address Description Default Reference Hexadecimal Decimal System area — — — CH1 Maximum value CH1 Minimum value CH2 Maximum value CH2 Minimum value CH3 Maximum value CH3 Minimum value CH4 Maximum value CH4 Minimum value Section 3.4.10...
  • Page 71 SPECIFICATIONS Table3.8 Buffer memory assignment of Q68AD-G (3/6) Address Description Default Reference Hexadecimal Decimal CH4 Scaling lower limit value CH4 Scaling upper limit value CH5 Scaling lower limit value CH5 Scaling upper limit value CH6 Scaling lower limit value Section 3.4.17...
  • Page 72 SPECIFICATIONS Table3.8 Buffer memory assignment of Q68AD-G (4/6) Address Description Default Reference Hexadecimal Decimal CH8 Process alarm lower lower limit value CH8 Process alarm lower upper limit value Section 3.4.19 CH8 Process alarm upper lower limit value CH8 Process alarm upper upper limit value...
  • Page 73 SPECIFICATIONS Table3.8 Buffer memory assignment of Q68AD-G (5/6) Address Description Default Reference Hexadecimal Decimal CH7 Input signal error detection setting value/CH7 Input signal error detection lower limit setting value CH8 Input signal error detection setting value/CH8 Input signal error detection lower limit setting value...
  • Page 74 SPECIFICATIONS Table3.8 Buffer memory assignment of Q68AD-G (6/6) Address Description Default Reference 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 CH3 User range settings offset value...
  • Page 75 SPECIFICATIONS (2) Buffer memory assignment of Q66AD-DG Do not write data from system area or sequence program to the buffer memory area where writing is disabled. Doing so may cause malfunction. Table3.9 Buffer memory assignment of Q66AD-DG (1/5) Address Description Default Reference Hexadecimal Decimal...
  • Page 76 SPECIFICATIONS Table3.9 Buffer memory assignment of Q66AD-DG (2/5) Address Description Default Reference Hexadecimal Decimal System area — — — CH1 Maximum value CH1 Minimum value CH2 Maximum value CH2 Minimum value CH3 Maximum value CH3 Minimum value Section 3.4.10 CH4 Maximum value CH4 Minimum value CH5 Maximum value CH5 Minimum value...
  • Page 77 SPECIFICATIONS Table3.9 Buffer memory assignment of Q66AD-DG (3/5) Address Description Default Reference Hexadecimal Decimal CH5 Scaling lower limit value CH5 Scaling upper limit value Section 3.4.17 CH6 Scaling lower limit value CH6 Scaling upper limit value System area — — —...
  • Page 78 SPECIFICATIONS Table3.9 Buffer memory assignment of Q66AD-DG (4/5) Address Description Default Reference Hexadecimal Decimal CH1 Rate alarm warning detection period CH2 Rate alarm warning detection period CH3 Rate alarm warning detection period Section 3.4.20 CH4 Rate alarm warning detection period CH5 Rate alarm warning detection period CH6 Rate alarm warning detection period System area...
  • Page 79 SPECIFICATIONS Table3.9 Buffer memory assignment of Q66AD-DG (5/5) Address Description Default Reference Hexadecimal Decimal CH4 Input signal error detection upper limit setting value CH5 Input signal error detection upper limit setting value Section 3.4.22 CH6 Input signal error detection upper limit setting value System area —...
  • Page 80: A/D Conversion Enable/Disable Setting (Un\G0)

    (2) It is necessary to set the operating condition setting request (Y9) to ON/OFF in order to validate the A/D conversion enable/disable setting. (Refer to Section 3.3.2.) (3) The Q68AD-G is preset to enable A/D conversion on all channels. The Q66AD-DG is preset to disable A/D conversion on all channels.
  • Page 81: Ch[ ] Average Time/Average Number Of Times/Moving Average/Time Constant Settings (Un\G1 To Un\G8)

    SPECIFICATIONS 3.4.3 average time/average number of times/moving average/ time constant settings (Un\G1 to Un\G8) (1) Set the average time, average count, moving average count or primary delay filter time constant for each channel for which averaging processing is specified. (2) To validate the setting, the operating condition setting request (Y9) must be turned ON/OFF.
  • Page 82: A/D Conversion Completed Flag (Un\G10)

    CH8 CH7 CH6 CH5 CH4 CH3 CH2 CH1 1 : A/D conversion completed For Q68AD-G, information of b8 to b15 is fixed at 0. 0 : A/D conversion in For Q66AD-DG, information of b6 to b15 is fixed at 0.
  • Page 83: Ch[ ] Digital Output Value (Un\G11 To Un\G18)

    SPECIFICATIONS (3) Use this area or the A/D conversion competed flag (XE) as an interlock to read out the digital output value. 3.4.5 digital output value (Un\G11 to Un\G18) (1) Digital values converted from analog values are stored for respective channels. (2) Digital values are stored in 16-bit signed binary format.
  • Page 84: Write Data Error Code (Un\G19)

    Un\G20 (Setting range CH1 to CH4) Un\G21(Setting range CH5 to CH8) For Q66AD-DG, information of b8 to b15 is fixed at 0. Setting ranges of Q68AD-G Input range Setting value 4 to 20 mA 0 to 20 mA...
  • Page 85: Offset/Gain Setting Mode Offset/Gain Specification (Un\G22, Un\G23)

    CH8 CH7 CH6 CH5 CH4 CH3 CH2 CH1 1 : Channel set For Q68AD-G, information of b8 to b15 is fixed at 0. 0 : Invalid For Q66AD-DG, information of b6 to b15 is fixed at 0. 3.4 Buffer Memory - 60 3.4.8 Offset/gain setting mode offset/gain specification (Un\G22, Un\G23)
  • Page 86: Averaging Process Specification (Un\G24, Un\G25))

    Time averaging Count averaging Moving average Primary delay filter [Setting example of Q68AD-G] When setting channel 1 to count averaging, channel 2 to time averaging, channel 3 to primary delay filter, and channel 4 to sampling processing, store 412 into Un\G24.
  • Page 87: Ch[ ] Maximum Value/Minimum Value Storage Area (Un\G30 To Un\G45)

    SPECIFICATIONS 3.4.10 maximum value/minimum value storage area (Un\G30 to Un\G45) (1) For each channel, the maximum and minimum values of the converted digital values are stored in this area every sampling time in 16-bit signed binary. (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 88 SPECIFICATIONS [Setting example of Q68AD-G] If the following setting is performed, store 01EA into Un\G47. • The channel 1, 3 and 5 specified for input signal error detection are set to 0 (enabled). • The channel 1 specified for input signal error detection extended setting is set to 1 (different value of lower and upper limit).
  • Page 89: Warning Output Settings (Un\G48)

    0: Enable, 1: Disable For Q66AD-DG, information of b6, b7, b14, b15 is fixed at 0. [Setting example of Q68AD-G] When process alarm warning output is enabled for channel 1 and rate alarm warning output is enabled for channel 3, FBFE is stored into Un\G48.
  • Page 90: Input Signal Error Detection Flag (Un\G49)

    Un\G49 CH8 CH7 CH6 CH5 CH4 CH3 CH2 CH1 0: Normal For Q68AD-G, information of b8 to b15 is fixed at 0. 1: Input signal error For Q66AD-DG, information of b6 to b15 is fixed at 0. 3.4 Buffer Memory - 65 3.4.13 Input signal error detection flag (Un\G49)
  • Page 91: Warning Output Flag (Un\G50,Un\51)

    CH8 CH7 CH6 CH5 CH4 CH3 CH2 CH1 0: Active For Q68AD-G, information of b8 to b15 is fixed at 0. 1: Inactive For Q66AD-DG, information of b6 to b15 is fixed at 0. When the Scaling enable/disable setting (Un\G53) is set to "Disable", 0s are stored in the CH scaling value storage area (Un\G54 to Un\G61).
  • Page 92: Ch[ ] Scaling Value Storage Area (Un\G54 To Un\G61)

    SPECIFICATIONS 3.4.16 scaling value storage area (Un\G54 to Un\G61) (1) Digital output values after scaling are stored for respective channels. (2) Scaling values are stored as 16-bit signed binaries. b14 b13b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0 Un\G54 to Un\G61 Bit data section Sign bit...
  • Page 93: Ch[ ] Process Alarm Upper/Lower Limit Value (Un\G86 To Un\G117)

    SPECIFICATIONS (3) The setting range is 0 to 3276.7 seconds (0 to 54 minutes and 36.7 seconds) [0 to 32767]. Set the time in 100ms increments. Example) When setting the A/D conversion starting time to 5 seconds, store 50 into the buffer memory. (4) The default is set to 3 seconds [30].
  • Page 94: Ch[ ] Rate Alarm Warning Detection Period (Un\G118 To Un\G125)

    SPECIFICATIONS 3.4.20 rate alarm warning detection period (Un\G118 to Un\G125) (1) Set a period, with which the varying rate of the digital output value will be checked, on a channel basis. (2) To validate the setting, the operating condition setting request (Y9) must be turned ON/OFF.
  • Page 95: Ch[ ] Rate Alarm Upper/Lower Limit Value (Un\G126 To Un\G141)

    SPECIFICATIONS 3.4.21 rate alarm upper/lower limit value (Un\G126 to Un\G141) (1) For each channel, set the range of change rate of digital output values. (2) To validate the setting, the operating condition setting request (Y9) must be turned ON/OFF. (Refer to Section 3.3.2.) (3) The setting range is -32768 to 32767 (-3276.8 to 3276.7%).
  • Page 96: Ch[ ] Input Signal Error Detection Setting Value/Ch[ ] Input Signal Error Detection Lower

    SPECIFICATIONS 3.4.22 input signal error detection setting value/CH[ Input signal error detection lower limit setting value (Un\G142 to Un\G149) Input signal error detection upper limit setting value (Un\G150 to Un\G157) (1) Set the value (upper limit setting value and lower limit setting value), by which an error of the input analog value will be detected, on a channel basis.
  • Page 97 [Example When same upper limit value/lower limit value is selected for the input signal error detection extended setting, setting 15% (150) to the input signal error detection setting value in the Q68AD-G] Resolution mode : High resolution mode Used range...
  • Page 98 (3) The following table lists the lower limit value, offset value, and gain value for each input range. Table3.10 The lower limit value, offset value, and gain value for each input range (Q68AD-G) Input Analog input range...
  • Page 99: Mode Switching Setting (Un\G158, Un\G159)

    If any value other than the above is written, mode switching is not performed and only the operating condition is changed. 3.4.24 Save data classification setting (Un\G200) (Q68AD-G only) (1) This area is used to restore the User range settings offset/gain values when the module is replaced online.
  • Page 100: Factory Default And User Range Settings Offset/Gain Value (Un\G202 To Un\G233)

    SPECIFICATIONS 3.4.25 Factory default and User range settings offset/gain value (Un\G202 to Un\G233) (1) The areas are used to restore the User range settings offset/gain values when the module is replaced online. 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 101: Setup And Procedures Before Operation 4 - 1 To

    SETUP AND PROCEDURES BEFORE OPERATION SETUP AND PROCEDURES BEFORE OPERATION 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 102: Attaching A Module Fixing Bracket (Q66Ad-Dg Only)

    SETUP AND PROCEDURES BEFORE OPERATION 4.1.1 Attaching a module fixing bracket (Q66AD-DG only) After mounting the Q66AD-DG on the base unit, fix the module with a module fixing bracket. Make sure that the module fixing bracket is hooked on the 3rd slit viewed from the front of Q66AD-DG.
  • Page 103 SETUP AND PROCEDURES BEFORE OPERATION 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 (Refer to Section 4.5).
  • Page 104: Part Names

    SETUP AND PROCEDURES BEFORE OPERATION Part Names The name of each part of the A/D converter module is shown below. (1) Q68AD-G External device connector Terminal Terminal number number (2) Q66AD-DG Module fixing bracket Module fixing screw External device connector...
  • Page 105 SETUP AND PROCEDURES BEFORE OPERATION Number Name and appearance Description Displays the operating status of the A/D converter module. Normal operation Flashing : During offset/gain setting mode RUN LED 5V power supply interrupted, watchdog timer error occurred, or online module change enabled. Displays the error status of the A/D converter module.
  • Page 106 SETUP AND PROCEDURES BEFORE OPERATION (1) Q68AD-G (2) Q66AD-DG Terminal Terminal Terminal Terminal Signal name Signal name Signal name Signal name number number number number CH1 V + CH1 V -/I - CH1 P CH1 I +/CHK + CH1 I +...
  • Page 107: Wiring

    (1) Use separate cables for the AC control circuit and the external input signals of the Q68AD-G to prevent influences of AC surge or induction. (2) Use separate cables for the AC control circuit, the external input signals and external power supply of the Q66AD-DG to avoid influences of AC side surge or induction.
  • Page 108: External Wiring

    Always ground the shield of the wire of each channel. Remark If the external wiring is disconnected during use of voltage input on the Q68AD-G, depending on the internal circuit characteristics, a certain time is required until the digital output reaches a value equivalent to 0V.
  • Page 109 SETUP AND PROCEDURES BEFORE OPERATION (2) Q66AD-DG (a) For 2-wire transmitter input Current Transmitter 2-wire limiting power circuit supply transmitter (4 to 20 mA) I+/CHK+ Modu- Demodu- I-/CHK- lator lator *1 Shielded 24VDC Filter (b) For current input Current Transmitter limiting power circuit...
  • Page 110 SETUP AND PROCEDURES BEFORE OPERATION Remark The Q66AD-DG needs to powered on 30 minutes prior to operation for compli- ance to the specification (accuracy). Therefore, power on 30 minutes prior to offset/gain setting or after online module change. 4.4 Wiring - 10 4.4.2 External wiring...
  • Page 111: Connector/Terminal Block Converter Module

    SETUP AND PROCEDURES BEFORE OPERATION 4.4.3 Connector/terminal block converter module For the following products, please consult your local Mitsubishi Electric sales office or rep- resentative. (1) Q68AD-G Product Model Manufacturer Dedicated cable FA-CBL Q68ADGN Mitsubishi Electric Engineering Co., Connector/terminal block con- FA1-TBS40ADGN Ltd.
  • Page 112: Intelligent Function Module Switch Setting

    16-bit data. When the intelligent function module switches are not set, the default value for switches 1 to 5 is 0. Table4.1 Switch setting item Switch No. Setting item Q68AD-G Input range Analog input range setting value 4 to 20mA...
  • Page 113 SETUP AND PROCEDURES BEFORE OPERATION (2) Operating procedure Start the settings with GX Developer I/O assignment setting window. I/O assignment setting window 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 114: Offset/Gain Settings

    SETUP AND PROCEDURES BEFORE OPERATION 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 Factory default 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 115 ON.) Do not perform the operations below during the steps indicated with *2. If they are performed, the data inside a flash memory will have a problem, and the Q68AD-G may not operate normally. Powering off the programmable controller CPU Resetting the programmable controller CPU 4.6 Offset/Gain Settings...
  • Page 116: Offset/Gain Settings (Q66Ad-Dg)

    The program in the dotted area of (a) is common to (a), (b) and (c). Is this example, the I/O signals for the Q68AD-G are X/Y0 to X/YF • Channel selection........M0 •...
  • Page 117 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 Q68AD-G, and then switches to the normal mode. Switches to offset/gain setting mode Stores setting of dedicated instruction (G.OFFGAN) into D1.
  • Page 118 (Y9). Turns OFF operation condition setting request (Y9) Processing in normal mode (c) When switching the mode by making intelligent function module switch setting Only the common program is necessary. 4.6 Offset/Gain Settings - 18 4.6.1 Offset/gain settings (Q68AD-G)
  • Page 119 SETUP AND PROCEDURES BEFORE OPERATION 4.6.2 Offset/gain settings (Q66AD-DG) (1) Offset/gain setting procedure Start Verify that the channel change Switch to the offset/gain setting completed flag (XB) is ON. mode. Set the channel change request Verify that the mode is set to (YB) to OFF.
  • Page 120 SETUP AND PROCEDURES BEFORE OPERATION 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 (Un\G158, Un\G159) and turning the operation condition setting request (Y9) from OFF to ON ..
  • Page 121 SETUP AND PROCEDURES BEFORE OPERATION (1) Perform the offset/gain settings in the range that satisfies the conditions specified in POINT of Section 3.1.2 (2). When the setting exceeds this range, the maximum resolution or total accuracy may not be within the range indicated in the performance specification.
  • Page 122 SETUP AND PROCEDURES BEFORE OPERATION (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 Q66AD-DG are X/Y0 to X/YF. • Channel selection........M0 •...
  • Page 123 SETUP AND PROCEDURES BEFORE OPERATION (b) When switching the mode using the setting of the mode switching setting (Un\G158, Un\G159) and operation condition setting request (Y9) * Normal mode initial setting Turns ON Module ready check flag. A/D conversion enable/disable setting Adding initial setting items Turns ON operation condition...
  • Page 124: A/D Conversion Value Storage During Offset/Gain Setting

    A/D conversion value storage during offset/gain setting If during the offset/gain setting, the A/D conversion values are stored into Un\G11 to Un\G18 as in the normal mode. (1) Q68AD-G The A/D conversion values of all channels are stored into the buffer memory. (2) Q66AD-DG The A/D conversion values of the channels specified in the offset/gain setting mode (Un\G22, Un\G23) are stored into the buffer memory.
  • Page 125: Utility Package (Gx Configurator-Ad)

    UTILITY PACKAGE (GX Configurator-AD) UTILITY PACKAGE (GX Configurator-AD) Utility Package Functions Table 5.1 shows an overview of the utility package functions. Table5.1 Utility package (GX Configurator-AD) function list Item Description Reference section (1) Sets the following items that require initial setting. A/D conversion enable/disable setting Averaging process specification Average time/Average number of times/Move average/...
  • Page 126: Installing And Uninstalling The Utility Package

    UTILITY PACKAGE (GX Configurator-AD) Installing and Uninstalling the Utility Package For how to install or uninstall the utility package, refer to "Method of installing the MEL- SOFT Series" included in the utility package. 5.2.1 Handling precautions The following explains the precautions on using the GX Configurator-AD. (1) For safety Since GX Configurator-AD is add-in software for GX Developer, read "Safety Precau- tions"...
  • Page 127 The number of parameters that can be set for one module in GX Configurator-AD is as shown below. Target module Initial setting Auto refresh setting Q68AD-G 6 (Fixed) 36 (Max.) Q66AD-DG 10 (Fixed) 28 (Max.) Example) Counting the number of parameter settings in Auto refresh setting This one row is counted as one setting.
  • Page 128: Operating Environment

    UTILITY PACKAGE (GX Configurator-AD) 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 A personal computer with any of the operating systems below Refer to the next page "Operating system and performance required for personal computer".
  • Page 129 UTILITY PACKAGE (GX Configurator-AD) Operating system and performance required for personal computer Performance required for personal computer Operating system Memory 32MB or more Windows Pentium 133MHz or more 32MB or more Windows Pentium 133MHz or more 32MB or more Windows Pentium 150MHz or more 32MB or more...
  • Page 130: Utility Package Operation

    UTILITY PACKAGE (GX Configurator-AD) 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 applica- tions are shown in the table below. Application Cancels the current entry in a cell. Closes the window.
  • Page 131 UTILITY PACKAGE (GX Configurator-AD) (2) Data created with the utility package The following data or files that are created with the utility package can be also han- dled in GX Developer. Figure 5.1 shows respective data or files are handled in which operation.
  • Page 132 UTILITY PACKAGE (GX Configurator-AD) (b) Text files A text file can be created by clicking the button on the initial setting, Auto refresh setting, or Monitor/Test window. The text files can be utilized to cre- ate user documents. GX Developer/ Disk GX Configurator-AD Project...
  • Page 133: Operation Overview

    UTILITY PACKAGE (GX Configurator-AD) 5.3.2 Operation overview Window for selecting a target intelligent function module GX Developer window [Tools] – [Intelligent function utility] – [Start] Refer to Section 5.5.3. Initial setting Auto refresh Initial setting window Auto refresh setting window Refer to Section 5.4.
  • Page 134 UTILITY PACKAGE (GX Configurator-AD) [Online] – [Monitor/Test] <<FB support parameter>> tab – FB conversion window Selecting monitor/test module window FB conversion window Refer to Section 5.7. Select a module to be monitored/tested. Monitor/Test window Refer to Section 5.6. 5.3 Utility Package Operation - 10 5.3.2 Operation overview...
  • Page 135: Starting The Intelligent Function Module Utility

    UTILITY PACKAGE (GX Configurator-AD) 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 window] Display when the <<FB support parameter>> tab is selected [Explanation of items] (1) Activation of other windows Following windows can be displayed from the intelligent function module utility win- dow.
  • Page 136 UTILITY PACKAGE (GX Configurator-AD) 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 Delete selected module.
  • Page 137 UTILITY PACKAGE (GX Configurator-AD) (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 window. (2) Reading/writing intelligent function module parameters from/to a programma- ble controller CPU using GX Developer (a) Intelligent function module parameters can be read from and written into...
  • Page 138: Initial Setting

    UTILITY PACKAGE (GX Configurator-AD) 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 (Q66AD-DG) Warning output settings (Process alarm setting) Process alarm upper upper limit value/upper lower limit value/lower upper limit value/lower lower limit value Warning output settings (Rate alarm setting)
  • Page 139 UTILITY PACKAGE (GX Configurator-AD) [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 window data in text file for- Make text file mat. Saves the set data and ends the operation.
  • Page 140: Auto Refresh Setting

    UTILITY PACKAGE (GX Configurator-AD) Auto Refresh Setting [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 * Enter the start I/O No. in hexadecimal. [Setting window] [Explanation of items] (1) Items Module side Buffer size...
  • Page 141 UTILITY PACKAGE (GX Configurator-AD) (2) Command buttons Creates a file containing the window data in text file for- Make text file mat. Saves the set data and ends the operation. End setup Cancels the setting and ends the operation. Cancel Auto refresh setting data are stored in intelligent function module parameters.
  • Page 142: Monitoring/Test

    UTILITY PACKAGE (GX Configurator-AD) Monitoring/Test 5.6.1 Monitor/test window [Purpose] Buffer memory monitoring/testing, I/O signal monitoring/testing, operating condition setting, offset/gain settings (Refer to Section 5.6.2) and pass data (Refer to Section 5.6.3, 5.6.4) are started from this window. [Operating procedure] "Select monitor/test module" window "Start I/O No.
  • Page 143 UTILITY PACKAGE (GX Configurator-AD) Pass data Offset/gain setting CH Operating condition setting Conversion characteristic 5.6 Monitoring/Test - 19 5.6.1 Monitor/test window...
  • Page 144 UTILITY PACKAGE (GX Configurator-AD) [Explanation of items] (1) Items Setting item : Displays I/O signals and buffer memory names. Current : Monitors the I/O signal states and present buffer memory value 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 145: Offset/Gain Setting Operation

    UTILITY PACKAGE (GX Configurator-AD) 5.6.2 Offset/gain setting operation Perform the offset/gain setting operation in the following sequence. (1) Switch to the offset/gain setting window Perform the operation in Section 5.6.1 to display the offset/gain setting window. At this point, a dialog box to confirm the transition of module’s operation mode (normal mode ->...
  • Page 146 UTILITY PACKAGE (GX Configurator-AD) (5) Write settings into module Write the content set up by operations (2) to (4) into module by clicking the button. Registration (a) Precaution While the set data of the steps (2) to (4) are written to the module after clicking the button, do not perform the operations below.
  • Page 147: Confirmation Of Conversion Characteristic

    UTILITY PACKAGE (GX Configurator-AD) 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 window Offset/gain setting Conversion characteristic [Setting window] [Explanation of items] (1) Items displayed on the window I/O characteristic diagram: Displays the I/O conversion characteristic to the prepared...
  • Page 148 UTILITY PACKAGE (GX Configurator-AD) 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> The analog value converted from a digital value is displayed. Digital value : <When converted to a digital value>...
  • Page 149: Pass Data (Q68Ad-G)

    User range settings offset/gain values. (c) Compare the values with those in the range reference table, and record them if they are correct. Refer to Section 7.4 for the range reference table. 5.6 Monitoring/Test - 25 5.6.4 Pass data (Q68AD-G)
  • Page 150 (d) Change the Setting value field of Pass data write request to "Request", and click button. Execute test Make sure that the indication in the Current value field of Pass data write request changes from "Request" to "OFF" on completion of write. 5.6 Monitoring/Test - 26 5.6.4 Pass data (Q68AD-G)
  • Page 151: Pass Data (Q66Ad-Dg)

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

    UTILITY PACKAGE (GX Configurator-AD) 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 Window <<FB Support Parameter>> FB conversion [Setting window] [Explanation of items] (1) Items displayed on the window...
  • Page 153 UTILITY PACKAGE (GX Configurator-AD) (2) Explanation of window command buttons FB conversion is performed for the checked columns of initial Conversion setting and auto refresh setting. 5.7 FB Conversion of Initial Setting/Auto Refresh Setting - 29...
  • Page 154: Usage Of Fb

    UTILITY PACKAGE (GX Configurator-AD) 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 155 UTILITY PACKAGE (GX Configurator-AD) 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 156: Paste An Fb To A Sequence Program

    UTILITY PACKAGE (GX Configurator-AD) 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 157: Convert (Compile) A Sequence Program

    UTILITY PACKAGE (GX Configurator-AD) 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.8 Usage of FB - 33 5.8.3 Convert (compile) a sequence program...
  • Page 158: Programming

    PROGRAMMING 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 159: For Use In Normal System Configuration (Q68Ad-G)

    • Rate alarm upper limit value: 0.1% (e) In the event of a write error, an error code shall be displayed in BCD format. The error code shall be reset after removal of the cause. 6.2 For Use in Normal System Configuration (Q68AD-G)
  • Page 160: Before Creating A Program

    Perform the following steps before creating a program. (1) Wiring of external devices Mount the Q68AD-G on the base unit and connect the external devices. • For all of CH1 to CH3, run the cables for current input. For details, refer to "4.4.2 (2) (b) For current input".
  • Page 161 *1:If any other than 0 is set to Switch 5, an error occurs. (b) Write the settings in (a) to the Q68AD-G. On GX Developer’s "Parameter setting" window, select the "I/O assignment" tab, click "Switch setting", and make settings of Switch 1 to 5 on the window shown below.
  • Page 162: Programming Example Using The Utility Package

    (2) Operating the utility package (a) Initial setting (Refer to Section 5.4) Set the initial settings of CH1 to CH3. Refer to Section 6.2 for the settings. 6.2 For Use in Normal System Configuration (Q68AD-G) 6.2.2 Programming example using the utility package...
  • Page 163 (c) Writing the intelligent function module parameters (Refer to Section 5.3.3) Write the intelligent function module parameters to the CPU module. This operation is performed using the parameter setting module selection window. 6.2 For Use in Normal System Configuration (Q68AD-G) 6.2.2 Programming example using the utility package...
  • Page 164 Error code display and reset processing Output the error code in BCD. Turn ON the error clear request (YF). Turn OFF the error clear request (YF). 6.2 For Use in Normal System Configuration (Q68AD-G) 6.2.2 Programming example using the utility package...
  • Page 165: Programming Example Without Using The Utility Package

    QX10 (X10 to X1F) Input signal error detection reset signal Error reset signal Y20 to Y2B Error code display (BCD 3 digits) QY10 (Y20 to Y2F) 6.2 For Use in Normal System Configuration (Q68AD-G) 6.2.3 Programming example without using the utility package...
  • Page 166 Processing at warning occurrence alarm upper limit value warning occurrence Processing at CH3 rate Processing at warning occurrence alarm lower limit value warning occurrence 6.2 For Use in Normal System Configuration (Q68AD-G) 6.2.3 Programming example without using the utility package...
  • Page 167 Error code display and reset processing Output the error code in BCD. Turn ON the error clear request (YF). Turn OFF the error clear request (YF). 6.2 For Use in Normal System Configuration (Q68AD-G) - 10 6.2.3 Programming example without using the utility package...
  • Page 168: For Use In Remote I/O Network (Q68Ad-G)

    Setting value Switch 1 0000 (CH1 to CH3: 4 to 20mA Switch 2 0000 CH4 to CH8: Default) Switch 3 Switch 4 0F00 (High resolution mode) Switch 5 0000 : Fixed) 6.3 For Use in Remote I/O Network (Q68AD-G) - 11...
  • Page 169 X12E A/D conversion completed flag (X/Y120 to X/Y12F) X12F Error flag Y129 Operating condition setting request Y12F Error clear request *1:Devices used for the auto refresh function of GX Configurator-AD. 6.3 For Use in Remote I/O Network (Q68AD-G) - 12...
  • Page 170 PROGRAMMING For details on the MELSECNET/H remote I/O network, refer to the Q Correspond- ing MELSECNET/H Network System Reference Manual (Remote I/O Network). 6.3 For Use in Remote I/O Network (Q68AD-G) - 13...
  • Page 171: Programming Example Using The Utility Package

    : MNET/H (Remote master) Network type Starting I/O No. : 0000 Network No. Total stations : Online Mode Network range assignment : Refresh parameters 6.3 For Use in Remote I/O Network (Q68AD-G) - 14 6.3.1 Programming example using the utility package...
  • Page 172 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 window. 6.3 For Use in Remote I/O Network (Q68AD-G) - 15 6.3.1 Programming example using the utility package...
  • Page 173 • Directly connecting GX Developer to the remote I/O station. • Connecting GX Developer to another device such as a CPU module and passing through the network. 6.3 For Use in Remote I/O Network (Q68AD-G) - 16 6.3.1 Programming example using the utility package...
  • Page 174: Programming Example Without Using The Utility Package

    : MNET/H (Remote master) Network type : 0000H Starting I/O No. Network No. Total stations Mode : Online Network range assignment : Refresh parameters 6.3 For Use in Remote I/O Network (Q68AD-G) - 17 6.3.2 Programming example without using the utility package...
  • Page 175 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 setting 6.3 For Use in Remote I/O Network (Q68AD-G) - 18 6.3.2 Programming example without using the utility package...
  • Page 176 CH3 rate alarm lower limit value CH1 input signal error detection setting value Write to buffer memory Turn ON operation condition setting request (Y9). 6.3 For Use in Remote I/O Network (Q68AD-G) - 19 6.3.2 Programming example without using the utility package...
  • Page 177 Read the error code. Output the error code in BCD. Turn ON the error clear request (YF). Turn OFF the error clear request (YF). 6.3 For Use in Remote I/O Network (Q68AD-G) - 20 6.3.2 Programming example without using the utility package...
  • Page 178: For Use In Normal System Configuration (Q66Ad-Dg)

    PROGRAMMING For Use in Normal System Configuration (Q66AD-DG) (1) System configuration CH1 external device CH2 external device CH3 external device QY10 (Y20 toY 2F) QX10 (X10 to X1F) Q66AD-DG (X/Y0 to X/YF) (2) Conditions for the intelligent function module switch setting Input range setting Normal resolution mode/ High resolution mode 4 to 20mA...
  • Page 179: Before Creating A Program

    Perform the following steps before creating a program. (1) Wiring of external devices Mount the Q68AD-G on the base unit and connect the external devices. • For all of CH1 to CH3, run the cables for current input. For details, refer to "4.4.2 (2) (a) For 2-wire transmitter input".
  • Page 180 PROGRAMMING (2) Intelligent function module switch setting Based on the setting conditions given in Section 6.2 (2), make the intelligent function module switch settings. (a) Each switch setting 1) Switch1,Switch2: Input range setting <Switch 2> <Switch 1> CH6 CH5 CH4 CH3 CH2 CH1 Fixed at 0 CH1 to CH3: 0H(4 to 20mA input) CH4 to CH6: 0H(default)
  • Page 181: Programming Example Using The Utility Package

    PROGRAMMING 6.4.2 Programming example using the utility package (1) List of devices Device Function D1, D11 CH1 Digital output value D2, D12 CH2 Digital output value D3, D13 CH3 Digital output value Warning output flag D6,D7 Input signal error detection flag Error code M0 to M2 A/D conversion completed flag...
  • Page 182 PROGRAMMING (b) Auto refresh setting (Refer to Section 5.5) Set the digital output values, warning output flags, input signal error detection flags, and error codes of CH1 to CH3. (c) Writing the intelligent function module parameters (Refer to Section 5.3.3) Write the intelligent function module parameters to the CPU module.
  • Page 183 PROGRAMMING (3) Programming example Read digital output values Read the A/D conversion completed flag. Read the CH1 digital output value. Read the CH2 digital output value. Read the CH3 digital output value. Warning (process alarm, rate alarm) occurrence status and processing at warning occurrence Read the warning output flag.
  • Page 184: Programming Example Without Using The Utility Package

    PROGRAMMING 6.4.3 Programming example without using the utility package (1) List of devices Device Function CH1 Digital output value CH2 Digital output value CH3 Digital output value M0 to M2 A/D conversion completed flag M100 Module ready check flag M12,M13 CH2 Warning output flag (Process alarm) M34,M35 CH3 Warning output flag (Rate alarm)
  • Page 185 PROGRAMMING (2) Programming example Initial settings Turns ON Module ready check flag. 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 settings Warning output settings CH2 process alarm lower...
  • Page 186 PROGRAMMING Input signal error detection status and processing at error detection Read the input signal error detection flag. Processing at CH1 input Processing at error detection signal error detection Turn ON the error clear request (YF). Error code display and reset processing Output the error code in BCD.
  • Page 187: For Use In Remote I/O Network (Q66Ad-Dg)

    PROGRAMMING For Use in Remote I/O Network (Q66AD-DG) (1) System configuration Remote master station (Network No. 1) Remote I/O station (Station No. 1) QJ71LP21-25 QY10 (X20 to X2F) QY10 (Y30 to Y3F) Q66AD-DG (X/Y120 to X/Y12F) QY10 (X/Y110 to X/Y11F) QX10 (X/Y100 to X/Y10F) QJ72LP25...
  • Page 188 PROGRAMMING (c) CH2 uses the warning output setting (process alarm) (Refer to Section 3.2.4 (1).) • Process alarm lower lower limit value: 1000 • Process alarm lower upper limit value: 1500 • Process alarm upper lower limit value: 6000 • Process alarm upper upper limit value: 7000 (d) CH3 uses the warning output setting (rate alarm) (Refer to Section 3.2.4 (2).) •...
  • Page 189: Programming Example Using The Utility Package

    PROGRAMMING 6.5.1 Programming example using the utility package (1) Operating GX Developer (a) CPU parameter setting : MNET/H (Remote master) Network type : 0000 Starting I/O No. Network No. Total stations Mode : Online Network range assignment : Refresh parameters 6.5 For Use in Remote I/O Network (Q66AD-DG) - 32 6.5.1 Programming example using the utility package...
  • Page 190 PROGRAMMING (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 191 PROGRAMMING (c) Writing the intelligent function module parameters (Refer to 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 window. (3) Programming example Read digital output values Read the CH1 digital output value.
  • Page 192: Programming Example Without Using The Utility Package

    PROGRAMMING 6.5.2 Programming example without using the utility package 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 193 PROGRAMMING (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 setting...
  • Page 194 PROGRAMMING 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 settings Warning output settings CH2 process alarm lower lower limit value CH2 process alarm lower upper limit value CH2 process alarm upper lower limit value CH2 process alarm upper upper limit value...
  • Page 195 PROGRAMMING Turn OFF operation condition setting request (Y9) * Digital output value read processing Concurrently read the A/D conversion completed flag and CH1 to CH3 digital output values. Read the CH1 digital output value. Read the CH2 digital output value. Read the CH3 digital output value.
  • Page 196: Online Module Change

    ONLINE MODULE CHANGE ONLINE MODULE CHANGE To perform online module change, read the following manual. • QCPU User's Manual (Hardware Design, Maintenance and Inspection) (1) Perform an online module change by operating GX Developer. (2) 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 197: Online Module Change Conditions

    ONLINE MODULE CHANGE 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 are required. For precautions on multiple CPU system configuration, refer to the QCPU User's Manual (Multiple CPU System).
  • Page 198: Online Module Change Operations

    Also, the analog input range extended mode cannot be used in that case. Q68AD-G: 4 to 20mA (extended mode): A 1 to 5V (extended mode): B...
  • Page 199: Online Module Change Procedure

    ONLINE MODULE CHANGE 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 200: When Industrial Shipment Setting Is Used And Initial Setting Was Made With Gx Configurator-Ad

    After confirming that conversion has stopped with the A/D conversion completion flag (Un\G10), turn off Operation Condition Setting Request (Y9). (The window shows the setting example of the Q68AD-G.) (2) Dismounting of module (a) After choosing [Diagnosis] - [Online module change] on GX Developer to enter the "Online module change"...
  • Page 201 ONLINE MODULE CHANGE (b) Click the "Execution" button to enable a module change. If the following error window appears, click the [OK] button, dismount the module as-is, and mount a new module. (c) After confirming that the "RUN" LED of the module has turned off, remove the connector and dismount the module.
  • Page 202 ONLINE MODULE CHANGE (3) Mounting of new module (a) Mount a new module to the same slot and install the connector. (b) 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 (a) To make an operation check, click the [Cancel] button to cancel control resumption.
  • Page 203 ONLINE MODULE CHANGE (c) Click the [Close] button to close the System monitor window. (d) Monitor CH digital output values (Un\G11 to Un\G18) to check if the conversion is processed normally. 7.3 Online Module Change Procedure 7.3.1 When industrial shipment setting is used and initial setting was made with GX Configurator-AD...
  • Page 204 ONLINE MODULE CHANGE (5) Resumption of control (a) After choosing [Diagnosis] - [Online module change] on GX Developer to redisplay the "Online module change" window, click the [Execution] button to resume control. Module ready (X0) turns on. (b) The "Online module change completed" window appears. 7.3 Online Module Change Procedure 7.3.1 When industrial shipment setting is used and initial setting was made with GX Configurator-AD...
  • Page 205: When Industrial Shipment Setting Is Used And Initial Setting Was Made With Sequence Program

    After confirming that conversion has stopped with the A/D conversion completion flag (Un\G10), turn off Operation Condition Setting Request (Y9). (The window shows the setting example of the Q68AD-G.) (2) Dismounting of module (a) After choosing [Diagnosis] - [Online module change] on GX Developer to enter the "Online module change"...
  • Page 206 ONLINE MODULE CHANGE (b) Click the "Execution" button to enable a module change. If the following error window appears, click the [OK] button, dismount the module as-is, and mount a new module. (c) After confirming that the "RUN" LED of the module has turned off, remove the connector and dismount the module.
  • Page 207 ONLINE MODULE CHANGE (3) Mounting of new module (a) Mount a new module to the same slot and install the connector. (b) 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 (a) To make an operation check, click the [Cancel] button to cancel control resumption.
  • Page 208 ONLINE MODULE CHANGE (c) Click the [Close] button to close the System monitor window. (d) Enable the conversion of the channel to be used in A/D conversion enable/disable setting (Un\G0). Monitor CH digital output values (Un\G11 to Un\G18) to check if the conversion is processed normally.
  • Page 209 ONLINE MODULE CHANGE (5) Resumption of control (a) After choosing [Diagnosis] - [Online module change] on GX Developer to redisplay the "Online module change" window, click the [Execution] button to resume control. Module ready (X0) turns on. (b) The "Online module change completed" window appears. 7.3 Online Module Change Procedure - 14 7.3.2 When industrial shipment setting is used and initial setting was made with sequence program...
  • Page 210: When User Range Setting Is Used And Initial Setting Was Made With Gx Configurator-Ad (Other System Is Available)

    After confirming that conversion has stopped with the A/D conversion completion flag (Un\G10), turn off Operation Condition Setting Request (Y9). (The window shows the setting example of the Q68AD-G.) (2) Dismounting of module (a) After choosing [Diagnosis] - [Online module change] on GX Developer to enter the "Online module change"...
  • Page 211 ONLINE MODULE CHANGE (b) Click the "Execution" button to enable a module change. If the following error window appears, the user range cannot be saved. Click the [OK] button, dismount the module as-is, and perform the operation in Section 7.3.4 (2) (c) and later. (c) After confirming that the "RUN"...
  • Page 212 ONLINE MODULE CHANGE (3) Mounting of new module (a) Mount the dismounted module and new module to the other system. (b) Using the G(P).OGLOAD instruction, save the user set values to the CPU device. Refer to Appendix 1.2 for the G(P).OGLOAD instruction. (c) Using the G(P).OGSTOR instruction, restore the user set values to the module.
  • Page 213 ONLINE MODULE CHANGE (4) Operation check (a) To make an operation check, click the [Cancel] button to cancel control resumption. (b) Click the [OK] button to leave the "Online module change" mode. (c) Click the [Close] button to close the System monitor window. 7.3 Online Module Change Procedure - 18 7.3.3 When user range setting is used and initial setting was made with GX Configurator-AD (other system...
  • Page 214 ONLINE MODULE CHANGE (d) Monitor CH digital output values (Un\G11 to Un\G18) to check if the conversion is processed normally. (5) Resumption of control (a) After choosing [Diagnosis] - [Online module change] on GX Developer to redisplay the "Online module change" window, click the [Execution] button to resume control.
  • Page 215: When User Range Setting Is Used And Initial Setting Was Made With Gx Configurator-Ad (Other System Is Unavailable)

    ONLINE MODULE CHANGE 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 (a) On the Operating condition setting window 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 216 ONLINE MODULE CHANGE (c) If the saved buffer memory contents are not yet prerecorded, record them in the following procedure. 1) Display the pass data window of GX Configurator-AD. 2) Set the pass data classification setting and make a pass data read request. (Refer to Section 5.6.3, 5.6.4) 3) Compare the current values of the industrial shipment settings and user range settings offset/gain values with those of the range reference table.
  • Page 217 ONLINE MODULE CHANGE (b) Click the "Execution" button to enable a module change. If the following error window 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. (c) After confirming that the "RUN"...
  • Page 218 ONLINE MODULE CHANGE (3) Mounting of new module (a) Mount a new module to the same slot and install the connector. (b) After mounting the module, click the [Execution] button and make sure that the "RUN" LED is lit. Module ready (X0) remains OFF. (4) Oeration check (a) To make an operation check, click the [Cancel] button to cancel control resumption.
  • Page 219 ONLINE MODULE CHANGE (c) Click the [Close] button to close the System monitor window. (d) On the pass data window of GX Configurator-AD, set the prerecorded values and make a pass data write request. (Refer to Section 5.6.3, 5.6.4.) (e) Monitor CH digital output values (Un\G11 to Un\G18) to check if the conversion is processed normally.
  • Page 220 ONLINE MODULE CHANGE (5) Resumption of control (a) After choosing [Diagnosis] - [Online module change] on GX Developer to redisplay the "Online module change" window, click the [Execution] button to resume control. Module ready (X0) turns on. (b) The "Online module change completed" window appears. 7.3 Online Module Change Procedure - 25 7.3.4 When user range setting is used and initial setting was made with GX Configurator-AD (other system...
  • Page 221: When User Range Setting Is Used And Initial Setting Was Made With Sequence Program (Other System Is Available)

    After confirming that conversion has stopped with the A/D conversion completion flag (Un\G10), turn off Operation Condition Setting Request (Y9). (The window shows the setting example of the Q68AD-G.) (2) Dismounting of module (a) After choosing [Diagnosis] - [Online module change] on GX Developer to enter the "Online module change"...
  • Page 222 ONLINE MODULE CHANGE (b) Click the "Execution" button to enable a module change. If the following error window appears, the user range cannot be saved. Click the [OK] button, dismount the module as-is, and perform the operation in Section 7.3.6 (2) (c) and later. (c) After confirming that the "RUN"...
  • Page 223 ONLINE MODULE CHANGE (e) 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 (a) To make an operation check, click the [Cancel] button to cancel control resumption.
  • Page 224 ONLINE MODULE CHANGE (c) Click the [Close] button to close the System monitor window. (d) Enable the conversion of the channel to be used in A/D conversion enable/disable setting (Un\G0). Monitor CH digital output values (Un\G11 to Un\G18) to check if the conversion is processed normally.
  • Page 225 ONLINE MODULE CHANGE (5) Resumption of control (a) After choosing [Diagnosis] - [Online module change] on GX Developer to redisplay the "Online module change" window, click the [Execution] button to resume control. Module ready (X0) turns on. (b) The "Online module change completed" window appears. 7.3 Online Module Change Procedure - 30 7.3.5 When user range setting is used and initial setting was made with sequence program (other system is...
  • Page 226: When User Range Setting Is Used And Initial Setting Was Made With Sequence Program (Other System Is Unavailable)

    After confirming that conversion has stopped with the A/D conversion completion flag (Un\G10), turn off Operation Condition Setting Request (Y9). (The window shows the setting example of the Q68AD-G.) 7.3 Online Module Change Procedure - 31 7.3.6 When user range setting is used and initial setting was made with sequence program (other system is...
  • Page 227 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 Q68AD-G, or follow the flowchart in Section 4.6.2 for the Q66AD-DG, and make offset/gain setting in the device test of GX Developer.
  • Page 228 ONLINE MODULE CHANGE (b) Click the "Execution" button to enable a module change. If the following error window 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. (c) After confirming that the "RUN"...
  • Page 229 ONLINE MODULE CHANGE (3) Mounting of new module (a) Mount a new module to the same slot and install the connector. (b) 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 (a) To make an operation check, click the [Cancel] button to cancel control resumption.
  • Page 230 ONLINE MODULE CHANGE (c) Click the [Close] button to close the System monitor window. (d) Choose [Online] - [Debug] - [Device test] on GX Developer and set the prerecorded values to the buffer memory. (e) Turn the user range writing request (YA) from OFF to ON to restore the user set values to the module.
  • Page 231 ONLINE MODULE CHANGE (5) Resumption of control (a) After choosing [Diagnosis] - [Online module change] on GX Developer to redisplay the "Online module change" window, click the [Execution] button to resume control. Module ready (X0) turns on. (b) The "Online module change completed" window appears. 7.3 Online Module Change Procedure - 36 7.3.6 When user range setting is used and initial setting was made with sequence program (other system is...
  • Page 232: Range Reference Table

    20mA Approx. 547B Example) When the offset value of the Q68AD-G channel 1 is 1V and its gain value is 5V, the reference value of the CH1 user range settings offset value (Un\G218) is approxi- mately 0A3D , and the reference value of the CH1 user range settings gain value (Un\G220) is approximately 3333 7.4 Range Reference Table...
  • Page 233: Precautions For Online Module Change

    ONLINE MODULE CHANGE Precautions for Online Module Change The following are the precautions for online module change. (1) Always perform an online module change in the correct procedure. A failure to do so can cause a malfunction or failure. (2) 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 234: Troubleshooting

    TROUBLESHOOTING 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. Error Code List If an error occurs in the A/D converter module while writing to or reading data from the pro- grammable controller CPU, an error code is written to buffer memory address 19 (Un\G19).
  • Page 235 TROUBLESHOOTING Table 8.1 Error code list (2/3) Error code Error description Processing (decimal) Reset the averaging time setting to within 40 to The averaging time set in Un\G1 to Un\G8 is outside the range of 5000ms. 40 to 5000ms. Also, the set value must be "4 x 10 x No. of indicates the channel number set incorrectly.
  • Page 236 TROUBLESHOOTING Table 8.1 Error code list (3/3) Error code Error description Processing (decimal) The process alarm upper/lower limit value (Un\G86 to Un\G117) are set contradictorily. indicates the channel number set incorrectly. Reset the contents of the process alarm upper/ indicates the following state. lower limit values (Un\G86 to Un\G117).
  • Page 237 TROUBLESHOOTING (1) When two or more errors have occurred, the latest error found by the A/D converter module is stored. (2) The error codes marked with *1 can be cleared by turning ON the error clear request (YF). (3) Error code 161 marked with *2 is not stored in the Error code (Un\G19) area. It is written to the Completion status area, (S) + 1, of the G(P).OGSTOR instruction.
  • Page 238: When The "Run" Led Is Flashing Or Turned Off

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

    In the case of current input are terminals (V+) and (|+) connected ? In the case of current input, connect terminals (V+) and (|+) (For the Q68AD-G only) referring to Section 4.4.2. The module may be faulty if the digital output values cannot be read after proper corrective actions have been taken according to the above check items.
  • Page 240: When A/D Conversion Completed Flag Does Not Turn On During Use In Normal Mode

    TROUBLESHOOTING 8.2.5 When A/D conversion completed flag does not turn ON during use in normal mode Check item Corrective action Check that the external power supply terminals (between terminals Is 24VDC external power supply being supplied? (Q66AD-DG No. A19 and A20 or B19 and B20) are supplied with a 24VDC only) voltage.
  • Page 241 TROUBLESHOOTING (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 flash- ALM LED ing.
  • Page 242: Appendix

    APPENDIX 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 sec- Instruction Description tion Switches to the offset/gain setting mode. G(P).OFFGAN Appendix 1.1 Switches to the normal mode.
  • Page 243: Appendix 1.1G(P).Offgan

    APPENDIX 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 Link direct device Intelligent Internal device Constant function (System, user) Set data File Index reg- module Other register...
  • Page 244 APPENDIX (1) When the offset/gain setting mode is switched to the normal mode, Module ready (X0) turns from OFF to ON. Note that initial setting processing will be executed if there is a sequence program that makes initial setting when Module ready (X0) turns ON. (2) When one mode is switched to the other (the normal mode is switched to the offset/gain setting mode or the offset/gain setting mode is switched to the normal mode), the A/D converter module suspends A/D conversion and...
  • Page 245: Appendix 1.2G(P).Ogload

    APPENDIX 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 Link direct device Intelligent Internal device Constant function (System, user) Set data File Index reg- module Other register ister Z device...
  • Page 246 APPENDIX Control data of Q68AD-G Device Item Set data Setting range Set by System area — — — Stores the status when the instruction is complete. (S) + 1 Completion status — System : Normal completion Other than 0: Abnormal completion Specify the voltage/current of the offset/gain values to be read.
  • Page 247 APPENDIX Control data of Q66AD-DG Device Item Set data Setting range Set by System area — — — Stores the status when the instruction is complete. (S) + 1 Completion status — System : Normal completion Other than 0: Abnormal completion (S) + 2 System area —...
  • Page 248 APPENDIX (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. 1) Completion device Turns ON in the END processing of the scan where the G(P).OGLOAD instruc- tion is completed, and turns OFF in the next END processing.
  • Page 249: Appendix 1.3G(P).Ogstor

    APPENDIX Appendix 1.3 G(P).OGSTOR Restores the offset/gain values of the user range setting stored in the CPU to the A/D con- verter module. Usable devices Link direct device Intelligent Internal device Constant function Index (System, user) Set data File module register Other register...
  • Page 250 APPENDIX Control data of Q68AD-G Device Item Set data Setting range Set by System area — — — Stores the status when the instruction is complete. (S) + 1 Completion status — System : Normal completion Other than 0: Abnormal completion The value set to Pass data classification setting (S)+2 using the G.OGLOAD instruc-...
  • Page 251 APPENDIX Control data of Q66AD-DG Device Item Set data Setting range Set by System area — — — Stores the status when the instruction is complete. (S) + 1 Completion status — System : Normal completion Other than 0: Abnormal completion (S) + 2 System area —...
  • Page 252 APPENDIX (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. 1) Completion device Turns ON in the END processing of the scan where the G(P).OGSTOR instruc- tion is completed, and turns OFF in the next END processing.
  • Page 253 APPENDIX (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 - 12...
  • Page 254: Appendix 2 Functions Added Or Changed Due To Version Upgrade

    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. (1) Q68AD-G App.1 Q68AD-G Applicable version Added or changed...
  • Page 255 APPENDIX (2) Q66AD-DG App.2 Q66AD-DG Applicable version Added or changed First 5 digits Reference Description GX Configurator- function of product section number When the following input ranges are selected in the intelligent function module switch setting, the analog input ranges can be extended. •...
  • Page 256 APPENDIX (a) When using the product with product number 15031 or earlier 1) How the A/D conversion completed flag status changes Signal name Description This signal turns ON when all conversion-enabled channels have completed the initial A/D conversion. When the external power supply is turned off, the A/D conversion stops and this signal turns OFF. At this time, the previous digital output values are held.
  • Page 257 APPENDIX • When the remote I/O network is employed Check the master station baton pass status. Check the master station data link status. Check the remote I/O station baton pass status. Check the remote I/O station data link status. Check the remote I/O station parameter communication status.
  • Page 258: Appendix 3 External Dimensions

    APPENDIX Appendix 3 External Dimensions (1) Q68AD-G 27.4 (Unit: mm) (2) Q66AD-DG M3 screw (Accessory) 97.5 27.4 FG terminal (Accessory) M3 screw (Accessory) (Unit: mm) - 17...
  • Page 259 INDEX [Number] 2-wire transmitter........... 1-1 G(P).OFFGAN ...........App-2 G(P).OGLOAD...........App-4 G(P).OGSTOR...........App-8 Gain value.............. 3-5 A/D conversion completed flag....3-39,3-57 GX Configurator-AD......... 2-2,5-1 A/D conversion enable/disable setting ..3-13,3-55 GX Developer ..........A-13,2-2 A/D conversion methods ........3-13 A/D conversion starting time setting ....3-67 A/D conversion starting time setting function ..
  • Page 260 Utility package ............5-1 Number of I/O occupied points ......3-2,3-3 Offset value ............3-5 Voltage input characteristic........3-6 Offset/gain setting......4-15,4-19,5-21,5-23 Offset/gain setting change completed flag ..3-38 Offset/gain setting change request ...... 3-41 Warning output flag..........3-66 Offset/gain setting mode........3-60 Warning output function ........
  • Page 261 WARRANTY Please confirm the following product warranty details before using this product. 1. Gratis Warranty Term and Gratis Warranty Range If any faults or defects (hereinafter "Failure") found to be the responsibility of Mitsubishi occurs during use of the product within the gratis warranty term, the product shall be repaired at no cost via the sales representative or Mitsubishi Service Company.
  • Page 262 Microsoft and Windows are either registered trademarks or trademarks of Microsoft Corporation in the United States and/or other countries. Celeron, Intel, and Pentium are either registered trademarks or trademarks of Intel Corporation in the United States and/or other countries. Ethernet is a registered trademark of Fuji Xerox Co., Ltd. in Japan. The company names, system names and product names mentioned in this manual are either registered trade- marks or trademarks of their respective companies.
  • Page 264 SH(NA)-080647ENG-I(1707)MEE MODEL: Q-A/D-(D)G-U-SY-E MODEL CODE: 13JR96 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:

Q66ad-dgGx configurator-ad (sw2d5c-qadu-e)

Table of Contents