Mitsubishi MELSEC-Q series User Manual
Mitsubishi MELSEC-Q series User Manual

Mitsubishi MELSEC-Q series User Manual

Gx configurator-da. channel isolated digital-analog converter module
Hide thumbs Also See for MELSEC-Q series:
Table of Contents

Advertisement

Advertisement

Table of Contents
loading

Summary of Contents for Mitsubishi MELSEC-Q series

  • Page 3: Safety Precautions

    SAFETY PRECAUTIONS (Always read these instructions before using this equipment.) Before using this product, please read this manual and the relevant manuals introduced in this manual carefully and pay full attention to safety to handle the product correctly. The instructions given in this manual are concerned with this product. For the safety instructions of the programmable controller system, please read the user's manual for the CPU module to use.
  • Page 4 [INSTALLATION PRECAUTIONS] CAUTION Use the programmable controller in an environment that meets the general specifications contained in the user's manual of the CPU module to use. Using this programmable controller in an environment outside the range of the general specifications may cause electric shock, fire, malfunction, and damage to or deterioration of the product.
  • Page 5 [WIRING PRECAUTIONS] CAUTION Always ground the FG terminal for the programmable controller. There is a risk of electric shock or malfunction. Tighten the terminal screws within the range of specified torque. If the terminal screws are loose, it may result in short circuits or malfunction. If the terminal screws are tightened too much, it may cause damage to the screw and/or the module, resulting in short circuits or malfunction.
  • Page 6 [WIRING PRECAUTIONS] CAUTION The top surface of the module is covered with protective film to prevent foreign objects such as cable offcuts from entering the module when wiring. Do not remove this film until the wiring is complete. Before operating the system, be sure to remove the film to provide adequate ventilation. [STARTING AND MAINTENANCE PRECAUTIONS] CAUTION Do not disassemble or modify the modules.
  • Page 7: Revisions

    This manual confers no industrial property rights or any rights of any other kind, nor does it confer any patent licenses. Mitsubishi Electric Corporation cannot be held responsible for any problems involving industrial property rights which may occur as a result of using the contents noted in this manual.
  • Page 8: Table Of Contents

    INTRODUCTION Thank you for purchasing the MELSEC-Q series programmable controller. 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 9 3.4.1 Buffer memory assignment....................3 - 27 3.4.2 D/A conversion enable/disable setting (Un\G0)..............3 - 30 3.4.3 CH digital values (Un\G1 to Un\G6) ..................3 - 30 3.4.4 CH[ ]set value check codes (Un\G11 to Un\G16)..............3 - 31 3.4.5 Error codes (Un\G19) ......................
  • Page 10 5.6.4 Pass data..........................5 - 27 FB Conversion of Initial Setting/Auto Refresh Setting ..............5 - 29 Usage of FB ........................... 5 - 31 5.8.1 Outline ..........................5 - 31 5.8.2 Paste an FB to a Sequence Program ................... 5 - 33 5.8.3 Convert (Compile) a Sequence Program................
  • Page 11 8.2.7 Checking the Q66DA-G status using GX Developer system monitor........8 - 6 APPENDIX App- 1 to App - 10 Appendix 1 Dedicated Instruction List and Available Devices..............App- 1 Appendix 1.1 G(P).OFFGAN ........................App- 2 Appendix 1.2 G(P).OGLOAD ........................App- 4 Appendix 1.3 G(P).OGSTOR........................App- 7 Appendix 2 External Dimension Diagram....................
  • Page 12: About Manuals

    (1) For programmable controller system To configure a system meeting the requirements of the EMC and Low Voltage Directives when incorporating the Mitsubishi programmable controller (EMC and Low Voltage Directives compliant) into other machinery or equipment, refer to Chapter 9 "EMC AND LOW VOLTAGE DIRECTIVES" of the QCPU User's Manual (Hardware Design, Maintenance and Inspection).
  • Page 13: About The Generic Terms And Abbreviations

    ABOUT THE GENERIC TERMS AND ABBREVIATIONS Unless otherwise specified, this manual uses the following general terms and abbreviations. Abbreviation/general terms Description of the abbreviation/general terms DOS/V personal computer IBM PC/AT or compatible computer with DOS/V. Generic product name for the SWnD5C-GPPW-E, SWnD5C-GPPW-EA, SWnD5C-GPPW-EV and GX Developer SWnD5C-GPPW-EVA.
  • Page 14: Product Structure

    PRODUCT STRUCTURE The product structure of this product is given in the table below. Model code Product name Quantity Q66DA-G Q66DA-G Model Channel Isolated Digital-Analog Converter module SW2D5C-QDAU-E GX Configurator-DA Version 2(1-license product) (CD-ROM) SW2D5C-QDAU-EA GX Configurator-DA Version 2(Multiple-license product) (CD-ROM) - 12...
  • Page 15: Overview

    This User's Manual describes the specifications, handling and programming methods for the Q66DA-G type channel isolated digital-analog converter module (hereinafter referred to as the Q66DA-G) which are used in conjunction with MELSEC-Q series CPU module (hereinafter referred to as the programmable controller CPU).
  • Page 16 OVERVIEW (7) Warning output function A warning is output if a digital input value falls outside the setting range. (Refer to Section 3.2.4.) (8) Rate control function The increase and decrease in analog output values per 6ms *1 can be limited, preventing rapid change of the values.
  • Page 17: System Configuration

    SYSTEM CONFIGURATION SYSTEM CONFIGURATION This chapter explains the system configuration of the Q66DA-G. Applicable Systems This section describes the applicable systems. (1) Applicable modules and base units, and No. of modules (a) When mounted with a CPU module The table below shows the CPU modules and base units applicable to the Q66DA-G and quantities for each CPU model.
  • Page 18 SYSTEM CONFIGURATION (b) Mounting to a MELSECNET/H remote I/O station The table below shows the network modules and base units applicable to the Q66DA-G and quantities for each network module model. Depending on the combination with other modules or the number of mounted modules, power supply capacity may be insufficient.
  • Page 19 SYSTEM CONFIGURATION (4) Supported software packages Relation between the system containing the Q66DA-G and software package is shown in the following table. GX Developer is necessary when using the Q66DA-G. Software Version GX Developer GX Configurator-DA Single CPU system Version 7 or later Q00J/Q00/Q01CPU Multiple CPU system Version 8 or later...
  • Page 20: Precautions On System Configuration

    SYSTEM CONFIGURATION Precautions on System Configuration (1) For Use with Q12PRH/Q25PRHCPU (a) Dedicated instruction The dedicated instruction cannnot be used. (b) GX Configurator-DA connection GX Configurator-DA cannot be used when accessing the Q12PRH/Q25PRHCPU via an intelligent function module on an extension base unit from GX Developer. Connect a personal computer with a communication path indicated below.
  • Page 21: How To Check The Function Version And Software Version

    SYSTEM CONFIGURATION How to Check the Function Version and Software Version This section describes how to check the function version of the Q66DA-G and the GX Configuration-DA software version. (1) Checking the function version of the Q66DA-G (a) Checking at "the SERIAL field of the rating plate" located on the side of the mod- Function version 080810 Relevant regulation...
  • Page 22 SYSTEM CONFIGURATION (2) Checking the software version of GX Configuration-DA The software version of GX Configurator-DA can be checked in GX Developer's "Pro- ductinformation" screen. [Operating procedure] GX Developer [Help] [Product information] Software version (In the case of GX Developer Version 8) 2.3 How to Check the Function Version and Software Version...
  • Page 23: Specifications

    SPECIFICATIONS SPECIFICATIONS Performance Specifications 3.1.1 Performance specifications list Table3.1 Performance specifications list Item Specifications Number of analog outputs 6 points (6 channels) 16-bit signed binary (normal resolution mode:-4096 to 4095 Digital input high resolution mode: -12288 to 12287, -16384 to 16383) Using scaling function 16-bit signed binary (-32768 to 32767) Voltage...
  • Page 24: I/O Conversion Characteristics

    SPECIFICATIONS *1: Accuracy of offset/gain setting at ambient temperature Q66DA-G needs to be powered on 30 minutes prior to operation for compliance to the specification (accuracy). *2: Accuracy per temperature change of 1 °C Example: Accuracy when temperature changes from 25 to 30 °C 0.1% (Reference accuracy) + 0.008%/ °C (temperature coefficient) 5 °C (temperature change difference) = 0.14%...
  • Page 25 SPECIFICATIONS (1) Voltage output characteristic (a) Voltage output characteristic in normal resolution mode Fig.3.1 shows a graph of the voltage output characteristic in normal resolution mode. -2000 -4096 -4000 2000 4000 4095 Digital input value Number Output range setting Offset value Gain value Digital input value Maximum resolution...
  • Page 26 SPECIFICATIONS (b) Voltage output characteristic in high resolution mode Fig.3.2 shows a graph of the voltage output characteristic in high resolution mode. -16384 -16000 -8000 -288 8000 12000 16000 16383 12287 Digital input value Number Output range setting Offset value Gain value Digital input value Maximum resolution...
  • Page 27 SPECIFICATIONS (1) Set within the digital input range and analog output range for each output range. If these ranges are exceeded, the maximum resolution and accuracy may not fall within the performance specifications. (Avoid using the dotted line area shown in Figures 3.1 and 3.2.) (2) In user range setting 2, the maximum and minimum output values are 6V and -6V respectively.
  • Page 28 SPECIFICATIONS (2) Current output characteristic (a) Current output characteristic in normal resolution mode Fig.3.3 shows a graph of the current output characteristic in normal resolution mode. 2000 4000 4095 Digital input value Number Output range setting Offset value Gain value Digital input value Maximum resolution 4 to 20 mA...
  • Page 29 SPECIFICATIONS (b) Current output characteristic in high resolution mode Fig.3.4 shows a graph of the current output characteristic in high resolution mode. -288 6000 12000 12287 Digital input value Number Output range setting Offset value Gain value Digital input value Maximum resolution 4 to 20 mA 4 mA 20 mA...
  • Page 30 SPECIFICATIONS (1) Set within the digital input range and analog output range for each output range. If these ranges are exceeded, the maximum resolution and accuracy may not fall within the performance specifications. (Avoid using the dotted line area shown in Figures 3.3 and 3.4.) (2) Set the offset/gain values for the user range setting 1 *1 within a range in which the following conditions are satisfied.
  • Page 31: 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 The reference accuracy is the accuracy relative to the maximum value of the analog out- put value.
  • Page 32: 3.2 Function List

    SPECIFICATIONS Function List Table 3.2 shows the function of the Q66DA-G. Table3.2 Function list Item Function Reference section D/A conversion enable/ • Specifies whether to enable or disable the D/A conversion for each channel. Section 3.4.2 disable function • Disabling D/A conversion of unused channels can increase the conversion speed. •...
  • Page 33: Analog Output Hold/Clear Function

    SPECIFICATIONS 3.2.1 Analog output HOLD/CLEAR function (1) For the case where the programmable controller CPU is placed in STOP or in a stop error status, whether to hold (HOLD) or clear (CLEAR) the analog output value can be set. (2) Make the setting in the HOLD/CLEAR setting (Refer to Section4.5 (1).) of the intelli- gent function module switch.
  • Page 34 SPECIFICATIONS The following conditions should be satisfied when the analog output HOLD/ CLEAR function is used on a MELSECNET/H remote I/O station. • The master module of function version D or later and the remote I/O mod- ule of function version D or later are required. •...
  • Page 35: Analog Output Test During Programmable Controller Cpu Stop

    SPECIFICATIONS 3.2.2 Analog output test during programmable controller CPU STOP (1) While the programmable controller CPU is in STOP, an analog output test as shown in Table 3.4 can be performed. (2) To conduct an analog output test, perform the following on Device test of GX Devel- oper or on the relevant test screens of Configurator-DA (Refer to Section 5.6.1.).
  • Page 36: Warning Output Function

    SPECIFICATIONS 3.2.3 Warning output function (1) If the digitat input value is equal to or greater than the warning output upper limit value or equal to or less than the warning output lower limit value, the warning output flag (Un\G48) and warning output signal (XE) turn ON to give a warning. The warning is output for the D/A conversion enabled channel only.
  • Page 37 SPECIFICATIONS (1) If the warning is output immediately after D/A conversion is enabled, make a warning output clear request after writing the digital value that is less than the warning output upper limit value and is greater than the warning output lower limit value.
  • Page 38: Rate Control Function

    SPECIFICATIONS 3.2.4 Rate control function (1) The increase and decrease in analog output values per 6ms can be limited, which can prevent rapid change of the values. *1 6ms is the D/A conversion cycle per channel. (2) To use this function, the following settings are required for each setting. •...
  • Page 39 SPECIFICATIONS (4) If the operation of the programmable controller CPU varies at the setting of D/A con- version enable, D/A output enable and analog output CLEAR, the rate control func- tions operate as indicated below. • If the programmable controller CPU has switched from RUN to STOP (error): Rate control does not function.
  • Page 40: Scaling Function

    SPECIFICATIONS 3.2.5 Scaling function The digital input value range can be changed to any given range between -32000 and 32000. To use this function, the following settings are required for each channel. • Enable the scaling function: Scaling enable/disable setting (Un\G53) •...
  • Page 41 SPECIFICATIONS (2) When using the user range setting for the output range (a) Set a digital value, which is equivalent to the analog gain value to be output, as the scaling upper limit value. Also, set a digital value, which is equivalent to the analog offset value to be output, as the scaling lower limit value.
  • Page 42 SPECIFICATIONS (1) Even if the digital value input range is enlarged, the resolution will not be more than the one applied when the scaling function is not used. As the digital value input range is narrowed, the resolution is lowered. (2) When a digital value input range not including zero (0), such as “1000 to 6000”, is specified, turn ON the output enable/disable flag after setting values within the input range in the CH...
  • Page 43: I/O Signals For The Programmable Controller Cpu

    SPECIFICATIONS I/O Signals for the Programmable Controller CPU 3.3.1 List of I/O signals Table 3.5 shows a list of the I/O signals for the Q66DA-G. Table3.5 List of I/O signal Signal direction Signal direction CPU module Q66DA-G Q66DA-G CPU module Device No Signal name Device No.
  • Page 44: Details Of I/O Signals

    SPECIFICATIONS 3.3.2 Details of I/O signals I/O signals for the Q66DA-G 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 when the initial processings in the Q66DA-G are all completed.
  • Page 45 SPECIFICATIONS Device No. Signal name Description This is used as an interlock condition for turning ON/OFF the operating condition setting request (Y9) when any of the following settings is changed. D/A conversion enable/disable setting (Un\G0) Rate control enable/disable setting (Un\G46) Warning output setting (Un\G47) Scaling enable/disable setting (Un\G53) Scaling upper/lower limit value (Un\G54 to Un\G65)
  • Page 46 SPECIFICATIONS Device No. Signal name Description This is used as an interlock condition for turning ON/OFF the channel change request (YB) when specifying the user range and channel to perform offset/gain settings. Refer to Section 4.6 regarding the offset/gain settings. Performed by the Q66DA-G Performed by the sequence program Offset/gain setting mode, Offset/gain...
  • Page 47 SPECIFICATIONS (2) Output signals Device No. Signal name Description (1) Specify whether to output the D/A converted value or output the offset value for each channel. ON: D/A converted value OFF: Offset value output enable/ Y1 to Y6 (2) The D/A conversion speed is 6ms X the number conversion-enabled channels regardless of disable flag whether the output enable/disable flag is ON or OFF.
  • Page 48 SPECIFICATIONS When the user range write request (YA) is turned ON with D/A conversion enabled in the normal mode, the Q66DA-G restores the user range. Offset/gain setting mode flag (XA) User range write request (YA) During Restoration Restoration processig restoration completed During conversion During conversion...
  • Page 49: Buffer Memory

    SPECIFICATIONS Buffer Memory 3.4.1 Buffer memory assignment Table 3.6 indicates the buffer memory assignment of the Q66DA-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.6 Buffer memory assignment (1/3) Address Description...
  • Page 50 SPECIFICATIONS Table 3.6 Buffer memory assignment (2/3) Address Description Default *1 Read/write *2 Hexadecimal Decimal Scaling enable/disable setting 003F CH1 Scaling lower limit value CH1 Scaling upper limit value CH2 Scaling lower limit value CH2 Scaling upper limit value CH3 Scaling lower limit value CH3 Scaling upper limit value CH4 Scaling lower limit value CH4 Scaling upper limit value...
  • Page 51 SPECIFICATIONS Table 3.6 Buffer memory assignment (3/3) Address Description Default *1 Read/write *2 Hexadecimal Decimal System area Mode switching setting System area Save data classification setting System area CH1 Factory default setting offset value CH1 Factory default setting gain value CH2 Factory default setting offset value CH2 Factory default setting gain value CH3 Factory default setting offset value...
  • Page 52: D/A Conversion Enable/Disable Setting (Un\G0)

    SPECIFICATIONS 3.4.2 D/A conversion enable/disable setting (Un\G0) (1) Set whether D/A conversion is enabled or disabled for each channel. (2) To validate the settings, ON/OFF of the Operating condition setting request (Y9) is required. (Refer to Section 3.3.2.) (3) By default, all channels are set to D/A conversion disabled. b15 b14 b13 b12 b11 b10 Un\G0 1: D/A connversion disabled...
  • Page 53: Ch[ ]Set Value Check Codes (Un\G11 To Un\G16)

    SPECIFICATIONS 3.4.4 ]set value check codes (Un\G11 to Un\G16) (1) Digital values set in CH Digital value (Un\G1 to Un\G6) are checked and if any of them is outside the settable range, the check result is stored in this area. (2) When a digital value outside the settable range (Refer to Section 3.4.3 and Table 3.7) is written, one of the check codes listed in Table 3.8 is stored.
  • Page 54: Setting Range (Un\G20, Un\G21)

    SPECIFICATIONS 3.4.6 Setting range (Un\G20, Un\G21) (1) This area is used to confirm the setting range of the Q66DA-G. b12 b11 Un\G20 (setting range CH1 to CH4) Un\G21 (setting range CH5, CH6) b8 to b15 information is fixed at 0. Output range Storing value 4 to 20 (mA)
  • Page 55: Offset/Gain Adjustment Value Specification (Un\G24)

    SPECIFICATIONS 3.4.8 Offset/gain adjustment value specification (Un\G24) (1) This area is used to set the amount of adjustment for analog output values in the off- set/gain setting mode. (2) Turning the set value change request (YC) from OFF to ON increments or decrements the analog output value by the adjustment value.
  • Page 56: Rate Control Enable/Disable Setting (Un\G46)

    SPECIFICATIONS 3.4.10 Rate control enable/disable setting (Un\G46) (1) Set whether to enable or disable the rate control on each channel. (2) To validate the settings, ON/OFF of the operating condition setting request (Y9) is required. (Refer to Section 3.3.2.) (3) The default setting is all-channel rate control disable. b15 b14 b13 b12 b11 b10 Un\G46 1: Rate control disable...
  • Page 57: Warning Output Flag (Un\G48)

    SPECIFICATIONS 3.4.12 Warning output flag (Un\G48) (1) When the digital input value falls outside the CH warning output upper limit value/ lower limit value (Un\G86 to Un\G97) range, the bit corresponding to each channel turns to "1". (2) Whether the warning is the upper or lower limit value warning can be checked on each channel.
  • Page 58: Scaling Upper/Lower Limit Value (Un\G54 To Un\G65)

    SPECIFICATIONS 3.4.14 Scaling upper/lower limit value (Un\G54 to Un\G65) (1) When the scaling function is used, set a digital value input range. (Refer to Section 3.2.5.) (2) The setting range is -32000 to 32000. Set them so that the scaling upper limit value is greater than the scaling lower limit value.
  • Page 59: Mode Switching Setting (Un\G158, Un\G159)

    SPECIFICATIONS 3.4.17 Mode switching setting (Un\G158, Un\G159) (1) Set the values of the mode to switch. (2) After setting the values, turning the operation condition setting request (Y9) from OFF to ON enables mode switching. (3) When mode switching is performed, this area is cleared to zero and the operating condition setting completed flag (X9) turns OFF.
  • Page 60: Factory Default Setting And User Range Settings Offset/Gain Values (Un\G202 To Un\G225)

    SPECIFICATIONS 3.4.19 Factory default setting and user range settings offset/gain val- ues (Un\G202 to Un\G225) (1) Areas used to restore the user range settings offset/gain values when online module change is made. Refer to Chapter 7 for details of online module change. (2) When the offset/gain values of the user range setting are restored, the used data are stored.
  • Page 61: 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 case or subject it to heavy impact. (2) Do not remove the PCB of the module from its case. Doing so may cause the module failure.
  • Page 62 SETUP AND PROCEDURES BEFORE OPERATION (7) Fix the Q66DA-G with module fixing bracket after the Q66DA-G is mounted to the base unit. Make sure that the hook at the tip of the module fixing bracket is hooked on the 3rd slit viewed from the front of Q66DA-G. Tighten the module fixing screw by the specified torque.
  • Page 63 SETUP AND PROCEDURES BEFORE OPERATION Setup and Procedures before Operation Start Module mounting Mounting the Q66DA-G in the specified slot wiring Wire external devices to the Q66DA-G (see Section 4.3, 4.4) Intelligent functional module switch settings Perform settings using GX Developer (See setcion 4.5) Use the factory default setting output range...
  • Page 64: Part Names

    SETUP AND PROCEDURES BEFORE OPERATION Part Names The name of each part in the Q66DA-G is listed below. Module fixing screw Module fixing bracket Q66DA-G External device connector ERR. Terminal Terminal number number Q66DA-G (FG) Number Name Description Displays the operating status of the Q66DA-G. : Normal operation RUN LED Flashing...
  • Page 65 SETUP AND PROCEDURES BEFORE OPERATION Terminal number Signal name Terminal number Signal name CH1 V + CH1 COM1 CH1 I + CH2 V + CH1 COM2 CH2 I + CH3 V + CH1 COM3 CH3 I + CH4 V + CH1 COM4 CH4 I + CH5 V +...
  • Page 66: Wiring

    SETUP AND PROCEDURES BEFORE OPERATION Wiring The wiring precautions and examples of module connection are provided below. 4.4.1 Wiring precautions In order to optimize the functions of the Q66DA-G and ensure system reliability, external wiring that is protected from noise is required. The following shows the precautions for external wiring.
  • Page 67: External Wiring

    SETUP AND PROCEDURES BEFORE OPERATION 4.4.2 External wiring (1) For voltage output Motor driving module etc. conversion +15V 24VDC DC/DC filter converter -15V *1 Use a twisted two-core shielded wire for the power wire. *2 If there is noise or ripples in the external wiring, connect a 0.1 to 0.47 F25V capacitor between the V+ terminal and COM terminal.
  • Page 68: Intelligent Function Module Switch Setting

    SETUP AND PROCEDURES BEFORE OPERATION Intelligent Function Module Switch Setting The intelligent function module switch settings are performed using the I/O assignment settings of GX Developer. (1) Setting item The intelligent function module switches consist of switches 1 to 5 and are set using 16 bit data.
  • Page 69 SETUP AND PROCEDURES BEFORE OPERATION (1) The switch 3 is set in binary. Setting will be easy if the input format is changed to binary number. [Example For setting CH3, CH5 and CH6 to HOLD.] Input format Binary Hexadecimal Setting value 00110100 (2) If the offset/gain setting mode is set using intelligent function module switch 4, resolution mode will be ignored.
  • Page 70 SETUP AND PROCEDURES BEFORE OPERATION (a) I/O assignment setting screen Set the following for the slot in which the Q66DA-G is mounted. The type setting is required; set other items as needed. Type :Select "intelli." Model name :Enter the module model name. Points :Select 16 points.
  • Page 71: Offset/Gain Settings

    SETUP AND PROCEDURES BEFORE OPERATION Offset/Gain Settings When the user range setting is used, perform the offset and gain settings according to the following procedure. When the industrial shipment setting is used, offset/gain setting is not necessary. If the utility package is installed, perform the offset/gain settings according to the proce- dure described in Section 5.6.2.
  • Page 72 SETUP AND PROCEDURES BEFORE OPERATION *1 The mode switching (normal mode to offset/gain setting mode to normal mode) method is given below. • Dedicated instruction (G(P).OFFGAN)......Refer to Section 4.6 (2), (a) • Setting made to mode switching setting (Un\G158, Un\G159) and turning the operation condition setting request (Y9) from OFF to ON ..Refer to Section 4.6 (2), (b) •Intelligent function module switch setting ....
  • Page 73 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 Q66DA-G are X/Y0 to X/YF. • Channel selection..................M0 •...
  • Page 74 SETUP AND PROCEDURES BEFORE OPERATION (a) When switching the mode using the dedicated instruction (G(P).OFFGAN) The following sample 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, adjusts the offset/gain values, and writes the offset/gain val- ues to the Q66DA-G.
  • Page 75 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 D/A conversion enable/disable setting Adding initial setting items Turns ON operation condition setting request (Y9).
  • Page 76: Utility Package (Gx Configurator-Da)

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

    UTILITY PACKAGE (GX Configurator-DA) 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-DA: (1) For safety Since GX Configurator-DA is add-in software for GX Developer, read "Safety Precau- tions"...
  • Page 78 UTILITY PACKAGE (GX Configurator-DA) (5) Switching between two or more Intelligent function module utilities When two or more Intelligent function module utility screens cannot be displayed side by side, select a screen to be displayed on the top of others using the task bar. (6) Number of parameters that can be set in GX Configurator-DA When multiple intelligent function modules are mounted, the number of parameter settings must not exceed the following limit.
  • Page 79: Operating Environment

    UTILITY PACKAGE (GX Configurator-DA) 5.2.2 Operating environment This section explains the operating environment of the personal computer that runs GX Configurator-DA. Item Description Add-in to GX Developer Version 4 (English version) or later Installation (Add-in) target Computer Windows -based personal computer Refer to the next page "Operating system and performance required for personal computer".
  • Page 80 UTILITY PACKAGE (GX Configurator-DA) 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 81: Utility Package Operation

    UTILITY PACKAGE (GX Configurator-DA) 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 82 UTILITY PACKAGE (GX Configurator-DA) (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 83 UTILITY PACKAGE (GX Configurator-DA) <Text files> (a) A text file can be created by clicking the button on the initial set- Make text file ting, Auto refresh setting, or Monitor/Test screen. The text files can be utilized to create user documents. GX Developer/ Disk GX Configurator-DA...
  • Page 84: Operation Overview

    UTILITY PACKAGE (GX Configurator-DA) 5.3.2 Operation overview GX Developer screen [Tools] - [Intelligent function utility] - [Start] Screen for selecting a target intelligent function module Enter "Start I/O No.", and select "Module type" and "Module model name". Initial setting Auto refresh Initial setting screen Auto refresh setting screen Refer to Section 5.4.
  • Page 85 UTILITY PACKAGE (GX Configurator-DA) <<FB support parameter>> tab [Online] - [Monitor/Test] - FB conversion Selecting monitor/test module screen FB conversion screen Refer to Section 5.7. Select a module to be monitored/tested. Monitor/Test screen Refer to Section 5.6. 5.3 Utility Package Operation - 10 5.3.2 Operation overview...
  • Page 86: Starting The Intelligent Function Module Utility

    UTILITY PACKAGE (GX Configurator-DA) 5.3.3 Starting the Intelligent function module utility [Operating procedure] Intelligent function module utility is started from GX Developer. [Tools] [Intelligent function utility] [Start] [Setting screen] Display when the <<FB support parameter>> tab is selected [Explanation of items] (1) Activation of other screens Following screens can be displayed from the intelligent function module utility screen.
  • Page 87 UTILITY PACKAGE (GX Configurator-DA) The <<FB support parameter>> tab is displayed when the project which is being edited is a label project. 5.3 Utility Package Operation - 12 5.3.3 Starting the Intelligent function module utility...
  • Page 88 UTILITY PACKAGE (GX Configurator-DA) (2) Command buttons Common operations to the <<Intelligent function module parameter>> tab and <<FB support parameter>> tab Deletes the initial setting and auto refresh setting of the selected module. However, if initial setting and auto refresh setting have been pre- pared and the cell of initial setting or auto refresh setting is selected and executed, only the setting of the selected cell is deleted.
  • Page 89 UTILITY PACKAGE (GX Configurator-DA) (1) Saving intelligent function module parameters in a file Since intelligent function module parameters cannot be saved in a file by the project saving operation of GX Developer, save them on the shown module selection screen for intelligent function module parameter setting. (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 90: Initial Setting

    UTILITY PACKAGE (GX Configurator-DA) Initial Setting [Purpose] Set the following items in the initial setting parameters. • D/A conversion enable/disable setting • Rate control enable/disable setting • Increase/decrease digital limit values • Disconnection detection setting • Warning output setting • Warning output upper limit value/lower limit value This initial setting makes sequence program setting unnecessary.
  • Page 91 UTILITY PACKAGE (GX Configurator-DA) (2) Command button Creates a file containing the screen data in text file format. Saves the set data and ends the operation. Cancels the setting and ends the operation. Initial settings are stored in an intelligent function module parameter file. After being written to the CPU module, the initial setting is made effective by either (1) or (2).
  • Page 92: Auto Refresh Setting

    UTILITY PACKAGE (GX Configurator-DA) Auto Refresh Setting [Purpose] Configure the Q66DA-G's buffer memory for automatic refresh. [Operating procedure] "Start I/O No.*" "Module type" "Module model name" Auto refresh * Enter the start I/O No. in hexadecimal. [Setting screen] - 17 5.5 Auto Refresh Setting...
  • Page 93 UTILITY PACKAGE (GX Configurator-DA) [Explanation of items] (1) Items Module side Buffer size : Displays the buffer memory size of the setting item (fixed at one word). Module side Transfer word count : Displays the number of words to be transferred to the CPU devices from the designated address (fixed at one word).
  • Page 94 UTILITY PACKAGE (GX Configurator-DA) (2) Command buttons Creates a file containing the screen data in text file format. Saves the set data and ends the operation. Cancels the setting and ends the operation. The auto refresh settings are stored in an intelligent function module parameter file.
  • Page 95: Monitoring/Test

    UTILITY PACKAGE (GX Configurator-DA) Monitoring/Test 5.6.1 Monitor/test screen [Purpose] Start buffer memory monitoring/testing, I/O signal monitoring/testing, operating condi- tion setting, offset/gain settings (refer to Section 5.6.2) and pass data (refer to Section 5.6.3) from this screen. [Operating procedure] "Select monitor/test module" screen "Start I/O No.*"...
  • Page 96 UTILITY PACKAGE (GX Configurator-DA) Offset/gain setting Pass data Conversion characteristic - 21 5.6 Monitoring/Test 5.6.1 Monitor/test screen...
  • Page 97 UTILITY PACKAGE (GX Configurator-DA) [Explanation of items] (1) Items Setting item : Displays buffer memory names. Current value : Monitors the present buffer memory values. Setting value : Enter or select values to be written into the buffer memory for test operation. (2) Command buttons Displays the current value of the item selected.
  • Page 98: Offset/Gain Setting Operation

    UTILITY PACKAGE (GX Configurator-DA) 5.6.2 Offset/gain setting operation Perform the offset/gain setting operation in the following sequence. (1) Switch to the offset/gain setting screen Perform the operation in Screen 5.6.1 to display the offset/gain setting screen. At this point, a dialog box to confirm the transition of Q66DA-G’s operation mode (nor- mal mode ->...
  • Page 99 UTILITY PACKAGE (GX Configurator-DA) (6) Fine adjustment of voltage output or current output By clicking the button or button, the value of voltage output or current output for the prepared adjustment value is finely adjusted. (7) Write settings into Q66DA-G Write the content set up by operations (2) to (6) into Q66DA-G by clicking the button.
  • Page 100: Confirmation Of Conversion Characteristic

    UTILITY PACKAGE (GX Configurator-DA) 5.6.3 Confirmation of Conversion Characteristic [Purpose] The converted value of digital-analog conversion can be confirmed according to the tilt of the graph, based on the offset/gain setting. [Operating procedure] Monitor/Test screen [Setting screen] [Explanation of items] (1) Items I/O characteristic diagram: Displays the I/O conversion characteristic to the prepared offset/gain setting.
  • Page 101 UTILITY PACKAGE (GX Configurator-DA) Analog/digital conversion: Select a conversion type shown below for confirming the correspondence between an analog value and a digital value caused by the conversion characteristic. •Digital Analog •Analog Digital Analog value: <When converted to a digital value> Enter an analog value to be converted to a digital value <When converted to an analog value>...
  • Page 102: Pass Data

    UTILITY PACKAGE (GX Configurator-DA) 5.6.4 Pass data Perform operation in the following sequence to save/restore the user range. (1) Switch to the pass data screen Perform the operation in Section 5.6.1 to display the Pass data screen. (2) User range saving (a) Set the user range to be used in the Setting value field of CH Pass data classifi- cation setting, and click the Execute test...
  • Page 103 UTILITY PACKAGE (GX Configurator-DA) (3) User range restoration (a) Set the user range to be used in the Setting value field of CH Pass data classifi- cation setting, and click the button. When the user range setting is completed, the set user range is displayed in the Current value field of CH Pass data classification setting.
  • Page 104: Fb Conversion Of Initial Setting/Auto Refresh Setting

    UTILITY PACKAGE (GX Configurator-DA) FB Conversion of Initial Setting/Auto Refresh Setting [Purpose] FB is generated automatically from the intelligent function module parameter (initial setting/auto refresh setting). [Operating procedure] Intelligent Function Module Parameter Setting Module Selection Screen <<FB Support Parameter>> FB conversion [Setting screen] [Explanation of items] (1) Items...
  • Page 105 UTILITY PACKAGE (GX Configurator-DA) FB program name : Set up the name of the converted FB program. Up to six single-byte characters can be set up as an FB pro- gram name. However, the characters and terms shown below cannot be set up as FB program name.
  • Page 106: Usage Of Fb

    UTILITY PACKAGE (GX Configurator-DA) Usage of FB This section describes the procedure for using FB with GX Developer. Refer to the "GX Developer Version 8 Operating Manual (Function Block)" for details. 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 107 UTILITY PACKAGE (GX Configurator-DA) The initial setting/auto refresh setting of the intelligent function module can be per- formed 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 108: Paste An Fb To A Sequence Program

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

    UTILITY PACKAGE (GX Configurator-DA) 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 - 34 5.8.3 Convert (Compile) a Sequence Program...
  • Page 110: Programming

    PROGRAMMING PROGRAMMING This chapter describes the programs of the Q66DA-G. When applying any of the program examples introduced in this chapter to the actual sys- tem, verify the applicability and confirm that no problems will occur in the system control. Programming Procedure Create the program that will execute the digital-analog conversion of the Q66DA-G in the following procedure.
  • Page 111: For Use In Normal System Configuration

    PROGRAMMING For Use in Normal System Configuration (1) System configuration QX10 (X/Y10 to X/Y1F) QY10 (X/Y20 to X/Y2F) CH1: 4 to 20mA output Q66DA-G CH2: 0 to 5V output (X/Y0 to X/YF) (2) Conditions for the intelligent function module switch setting Input range setting HOLD/CLEAR function setting Normal resolution mode/ High resolution mode...
  • Page 112: Before Creating A Program

    PROGRAMMING 6.2.1 Before creating a program Perform the following steps before creating a program. (1) Wiring of external devices Mount the Q66DA-G on the base unit and connect the external devices. • CH1: run the cables for current output. (For details, refer to “4.4.2 (2) .) •...
  • Page 113 PROGRAMMING (2) Intelligent function module switch setting Based on the setting conditions given in Section6.2 (2), make the intelligent function module switch settings. (a) Each switch setting 1) Switch1,Switch2: output range setting <Switch 2> <Switch 1> CH6 CH5 CH4 CH3 CH2 CH1 0:Fixed (4 to 20mA output) (0 to 5V output)
  • Page 114: Program Example Using The Utility Package

    PROGRAMMING 6.2.2 Program example using the utility package (1) List of devices Device Function CH1 Digital value CH2 Digital value Warning output flag Error code M20,M21 CH1 Warning output flag M22,M23 CH2 Warning output flag Module ready External power supply ready Warning output signal Q66DA-G (X/Y0 to X/YF) Error flag...
  • Page 115 PROGRAMMING (2) Operation of utility package (a) Initial settings (Refer to Section 5.4) CH1, CH2 D/A conversion enable/disable setting "Enable" CH1 rate control enable/disable setting "Enable" CH1 increase digital limit value "100" CH1 decrease digital limit value "30" CH2 warning output setting "Enable" CH2 warning output upper limit value "10000"...
  • Page 116 PROGRAMMING (c) Write of intelligent function module parameters (Refer to Section 5.3.3) Write the intelligent function module parameters to the CPU module. Perform this operation on the parameter setting module selection screen. (3) Program example Write digital values CH1 digital value setting CH2 digital value setting Set analog output enable CH1 output enable...
  • Page 117: Programming Example Without Using The Utility Package

    PROGRAMMING 6.2.3 Programming example without using the utility package (1) List of devices Device Function M20,M21 CH1 Warning output flag M22,M23 CH2 Warning output flag Module ready External power supply ready Operating condition setting completed flag Warning output signal Q66DA-G Error flag (X/Y0 to X/YF) Operating condition setting request...
  • Page 118 PROGRAMMING (2) Program example Initial setting D/A conversion enable/disable setting Rate control enable/disable setting CH1 increase digital limit value CH1 decrease digital limit value Warningoutput setting CH2 warning output upper limit value setting CH2 warning output lower limit value setting Operating condition setting request (Y9) ON Operating condition setting...
  • Page 119: For Use On Remote I/O Network

    PROGRAMMING For Use on Remote I/O Network (1) System configuration Remote master station (Network No.1) Remote I/O station (Station No.1) QJ71LP21 QX10(X20 to X2F) QY10(Y30 to Y3F) Q66DA-G(X/Y120 to X/Y12F) QY10 (Y110 to Y11F) QX10 (X100 to X10F) QJ71LP25 (2) Conditions for the intelligent function module switch setting Input range setting HOLD/CLEAR function setting Normal resolution mode/ High resolution mode...
  • Page 120 PROGRAMMING (3) Program conditions (a) CH1 uses the rate control function (Refer to Section 3.2.4.) • CH1 increase digital limit value: 100 • CH1 decrease digital limit value: 30 (b) CH2 uses the warning output function (Refer to Section 3.2.3.) •...
  • Page 121: Program Example Using The Utility Package

    PROGRAMMING 6.3.1 Program example using the utility package (1) Operating GX Developer (a) Network parameter setting • Network type : MNET/H (remote master) • Head I/O No. : 0000 • Network No. • Total number of (slave) stations • Mode : Online •...
  • Page 122 PROGRAMMING (2) Operating the utility package (a) Initial setting (Refer to Section 5.4) CH1, CH2 D/A conversion enable/disable setting.."Enable" CH1 rate control enable/disable setting ...."Enable" CH1 increase digital limit value ......... "100" CH1 decrease digital limit value ........ "30" CH2 warning output setting........
  • Page 123 PROGRAMMING (3) Programming example Write digital values CH1 digital value setting CH2 digital value setting Set analog output enable CH1 output enable CH2 output enable Read warning output flag Warning output channel check CH2 warning output (upper Processing for warning output limit value) processing CH2 warning output (lower Processing for warning output...
  • Page 124: Program Example Without Using The Utility Package

    PROGRAMMING 6.3.2 Program example without using the utility package (1) Operation of GX Developer (Network parameter setting) • Network type : MNET/H (remote master) • Head I/O No. : 0000 • Network No. • Total number of (slave) stations • Mode : Online •...
  • Page 125 PROGRAMMING (2) Programming exaple Remote I/O station operating status check Master station baton pass status check Master station data link status check Remote I/O station baton pass status check Remote I/O station data link status check Remote I/O station parameter communication status check Master module status check Initial setting...
  • Page 126 PROGRAMMING Operating condition setting request (Y9) ON Write to buffer memory Operating condition setting request (Y9) OFF Write digital values CH1 digital value setting CH2 digital value setting Write to buffer memory Set analog output enable CH1 output enable CH2 output enable - 17 6.3 For Use on Remote I/O Network 6.3.2 Program example without using the utility package...
  • Page 127 PROGRAMMING Read warning output flag Read warning output flag Warning output channel check CH2 warning output (upper Processing for warning output limit value) processing CH2 warning output (lower Processing for warning output limit value) processing Warning output clear request (YE) ON Warning output clear request (YE) OFF Error code display and reset processing...
  • Page 128: Online Module Change

    ONLINE MODULE CHANGE ONLINE MODULE CHANGE This chapter describes the specifications of an online module change. (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 129: Online Module Change Conditions

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

    ONLINE MODULE CHANGE Online Module Change Operations The following gives the operations performed for an online module change. CPU operation : Executed : Not executed Dedi- GX Configurator (Intelligent function FROM/TO Initial Moni- (User operation) cated Device module operation) setting tor/ refresh instruc-...
  • Page 131: 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-DA has been made or not, and whether the other system exists or not. Range setting Initial setting Other system...
  • Page 132 ONLINE MODULE CHANGE (2) Dismounting of module (a) After choosing [Diagnosis] - [Online module change] on GX Developer to enter the "Online module change" mode, double-click the module to be changed online to display the "Online module change" screen. (b) Click the "Execution" button to enable a module change. If the following error screen appears, click the [OK] button, dismount the module as-is, and mount a new module.
  • Page 133 ONLINE MODULE CHANGE (c) After confirming that the "RUN" LED of the module has turned off, remove the connector and dismount the module. Always dismount the module. If mounting confirmation is made without the mod- ule being dismounted, the module will not start properly and the "RUN" LED will not be lit.
  • Page 134 ONLINE MODULE CHANGE (b) Click the [OK] button to leave the "Online module change" mode. (c) lick the [Close] button to close the System monitor screen. (d) Set digital values to the digital values (Un\G1 to Un\G6) and turn Operating condition setting request (Y9) from OFF to ON.
  • Page 135 ONLINE MODULE CHANGE (b) The "Online module change completed" screen appears. 7.3 Online Module Change Procedure 7.3.1 When industrial shipment setting is used and initial setting was made with GX Configurator-DA...
  • Page 136: When Industrial Shipment Setting Is Used And Initial Setting Was Made With Sequence Program

    ONLINE MODULE CHANGE 7.3.2 When industrial shipment setting is used and initial setting was made with sequence program (1) Conversion disable (a) Set D/A Conversion enable/disable setting (Un\G0) for all channel conversion disable and turn Operating condition setting request (Y9) from OFF to ON to stop conversion.
  • Page 137 ONLINE MODULE CHANGE (b) Click the "Execution" button to enable a module change. If the following error screen appears, click the [OK] button, dismount the module as-is, and mount a new module. (c) After confirming that the "RUN" LED of the module has turned off, remove the connector and dismount the module.
  • Page 138 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 139 ONLINE MODULE CHANGE (c) Click the [Close] button to close the System monitor screen. (d) Referring to (1), enable the conversion of the channels to be used, set digital values to the digital values (Un\G1 to Un\G6), and turn Operating condition setting request (Y9) from OFF to ON.
  • Page 140 ONLINE MODULE CHANGE (5) Resumption of control (a) After choosing [Diagnosis] - [Online module change] on GX Developer to redisplay the "Online module change" screen, click the [Execution] button to resume control. The FROM/TO instruction for the module resumes. (b) The "Online module change completed" screen appears. - 13 7.3 Online Module Change Procedure 7.3.2 When industrial shipment setting is used and initial setting was made with sequence program...
  • Page 141: When User Range Setting Is Used And Initial Setting Was Made With Gx Configurator-Da (Other System Is Available)

    ONLINE MODULE CHANGE 7.3.3 When user range setting is used and initial setting was made with GX Configurator-DA (other system is available) (1) Conversion disable (a) Set D/A Conversion enable/disable setting (Un\G0) for all channel conversion disable and turn Operating condition setting request (Y9) from OFF to ON to stop conversion.
  • Page 142 ONLINE MODULE CHANGE (b) Click the "Execution" button to enable a module change. If the following error screen appears, the user range cannot be saved. Click the [OK] button, and perform the operation in Section 7.3.4 (2) (c) and later. After confirming that the "RUN"...
  • Page 143 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 144 ONLINE MODULE CHANGE (b) Click the [OK] button to leave the "Online module change" mode. (c) Click the [Close] button to close the System monitor screen. (d) Set digital values to the digital values (Un\G1 to Un\G6) and turn Operating condition setting request (Y9) from OFF to ON.
  • Page 145 ONLINE MODULE CHANGE (b) The "Online module change completed" screen appears. 7.3 Online Module Change Procedure - 18 7.3.3 When user range setting is used and initial setting was made with GX Configurator-DA (other system...
  • Page 146: When User Range Setting Is Used And Initial Setting Was Made With Gx Configurator-Da (Other System Is Unavailable)

    ONLINE MODULE CHANGE 7.3.4 When user range setting is used and initial setting was made with GX Configurator-DA (other system is unavailable) (1) Conversion disable (a) On the Operating condition setting screen of GX Configurator-DA, set "Disable" in the Setting value field of CH D/A conversion enable/disable setting, and click button.
  • Page 147 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 screen of GX Configurator-DA. 2) Select the user range used for pass data classification setting, and make a pass data read request.
  • Page 148 ONLINE MODULE CHANGE (b) Click the "Execution" button to enable a module change. If the following error screen appears, the user range cannot be saved. Click the [OK] button, and perform the operation in Section (2)(c) and later. (c) After confirming that the "RUN" LED of the module has turned off, remove the connector and dismount the module.
  • Page 149 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 150 ONLINE MODULE CHANGE (c) Click the [Close] button to close the System monitor screen. (d) On the pass data screen of GX Configurator-DA, set the prerecorded values and make a pass data write request. (Refer to Section 5.6.3.) (e) Referring to (1), change the D/A conversion enable/disable setting of the used channel to conversion enable.
  • Page 151 ONLINE MODULE CHANGE (g) Turn ON the output enable/disable flag (Y1 to Y6) of the used channel and check whether proper conversion has been made or not. (Be careful since analog outputs are provided actually) (5) Resumption of control (a) After choosing [Diagnosis] - [Online module change] on GX Developer to redisplay the "Online module change"...
  • Page 152: When User Range Setting Is Used And Initial Setting Was Made With Sequence Program (Other System Is Available)

    ONLINE MODULE CHANGE 7.3.5 When user range setting is used and initial setting was made with sequence program (other system is available) (1) Conversion disable (a) Set D/A Conversion enable/disable setting (Un\G0) for all channel conversion disable and turn Operating condition setting request (Y9) from OFF to ON to stop conversion.
  • Page 153 ONLINE MODULE CHANGE (b) Click the "Execution" button to enable a module change. If the following error screen appears, the user range cannot be saved. Click the [OK] button, and perform the operation in Section 7.3.6 (2) (c) and later. (c) After confirming that the "RUN"...
  • Page 154 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 155 ONLINE MODULE CHANGE (b) Click the [OK] button to leave the "Online module change" mode. (c) Click the [Close] button to close the System monitor screen. (d) Referring to (1), enable the conversion of the channels to be used, set digital values to the digital values (Un\G1 to Un\G6), and turn Operating condition setting request (Y9) from OFF to ON.
  • Page 156 ONLINE MODULE CHANGE (5) Resumption of control (a) After choosing [Diagnosis] - [Online module change] on GX Developer to redisplay the "Online module change" screen, click the [Execution] button to resume control. The FROM/TO instruction for the module resumes. (b) The "Online module change completed" screen appears. 7.3 Online Module Change Procedure - 29 7.3.5 When user range setting is used and initial setting was made with sequence program (other system is...
  • Page 157: When User Range Setting Is Used And Initial Setting Was Made With Sequence Program (Other System Is Unavailable)

    ONLINE MODULE CHANGE 7.3.6 When user range setting is used and initial setting was made with sequence program (other system is unavailable) (1) Conversion disable (a) Set D/A Conversion enable/disable setting (Un\G0) for all channel conversion disable and turn Operating condition setting request (Y9) from OFF to ON to stop conversion.
  • Page 158 ONLINE MODULE CHANGE (2) Dismounting of module (a) After choosing [Diagnosis] - [Online module change] on GX Developer to enter the "Online module change" mode, double-click the module to be changed online to display the "Online module change" screen. (b) Click the "Execution" button to enable a module change. If the following error screen appears, the user range cannot be saved.
  • Page 159 ONLINE MODULE CHANGE (c) After confirming that the "RUN" LED of the module has turned off, remove the connector and dismount the module. Always dismount the module. If mounting confirmation is made without the mod- ule being dismounted, the module will not start properly and the "RUN" LED will not be lit.
  • Page 160 ONLINE MODULE CHANGE (b) Click the [OK] button to leave the "Online module change" mode. (c) Click the [Close] button to close the System monitor screen. (d) Choose [Online] - [Debug] - [Device test] on GX Developer and set the values prerecorded in Section (2) to the buffer memory.
  • Page 161 ONLINE MODULE CHANGE (g) Since the new module is in a default status, it must be initialized by a sequence program after control resumption. Before performing initialization, check whether the contents of the initialization program are correct or not. 1) Normal system configuration The sequence program should perform initialization on the leading edge of Module READY (X9) of the Q66DA-G.
  • Page 162: Range Reference Table

    ONLINE MODULE CHANGE Range Reference Table The range reference tables are given below. (1) Reference table for offset/gain values of industrial shipment settings (Un\G202 to 213) The reference values change depending on the setting of the pass data classification setting (Un\G200). Address (Decimal) Reference value Description...
  • Page 163: 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 164: Troubleshooting

    If the error occurs again, the module may be malfunction- 120* ber of the error channel cannot be identified. ing. Please consult your local Mitsubishi represeutative, explaining a detailed descriptopm of the problem. Perform the offset/gain setting again for the error channel.
  • Page 165 TROUBLESHOOTING Table8.2 Error code list (2/2) Error code Error description Processing (decimal) The offset value is equal to or larger than the gain value. Reset so that the offset value is smaller than the gain 40 * value. indicates the channel number causing the error. More than one channel was set at the same time during Set the correct value in offset/ gain setting mode(Un\G22, 500*...
  • Page 166: When The "Run" Led Is Flashing Or Turned Off

    Reset the programmable controller CPU and verify that it is lit. If the RUN LED does not light even after doing this, the module may be Has a watchdog timer error occurred? malfunctioning. Please consult your local Mitsubishi representative, explaining a detailed description. Is the module correctly mounted on the base unit? Check the mounting condition of the module.
  • Page 167: When An Analog Output Value Is Not Output

    If the analog output value is not output after the proper corrective action is taken in accordance with the above check item, the possible cause is a module failure. Please consult your local Mitsubishi representative, explaining a detailed descrip- tion of the problem.
  • Page 168: When The Analog Value Is Not Within The Reference Accuracy Of The Theoretical Value

    TROUBLESHOOTING 8.2.5 When the analog value is not within the reference accuracy of the theoretical value Check item Action to be taken If observed, because a voltage drop due to the wiring impedance and load current is large and the voltage applied to the external device is When using voltage output, is a small load resistance of the con- low, the factory default range setting may not satisfy the reference nected external device and a long wiring distance observed?
  • Page 169: Checking The Q66Da-G Status Using Gx Developer System Monitor

    TROUBLESHOOTING 8.2.7 Checking the Q66DA-G status using GX Developer system monitor When the Q66DA-G detail information is selected in GX Developer system monitor, func- tion version, error code, LED ON status and status of the intelligent function module switch setting can be checked. (1) Operating the GX Developer [Diagnostics] [System monitor]...
  • Page 170 TROUBLESHOOTING (3) H/W information (a) H/W LED information The LED status is displayed. LED name Status RUN LED 0000 : Indicates that LED is unlit. ERR. LED 0001 : Indicates that LED is lit ALM LED (b) H/W SW information The status of the intelligent function module switch setting is displayed.
  • Page 171: 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 Q66DA- Reference Instruction Description section Switches to the offset/gain setting mode. G(P).OFFGAN Appendix 1.1 Switches to the normal mode.
  • Page 172: Appendix 1.1 G(P).Offgan

    APPENDIX Appendix 1.1 G(P).OFFGAN Switches the mode of the Q66DA-G. (Normal mode to offset/gain setting mode, offset/gain setting mode to normal mode) Usable devices Link direct device Intelli- Internal device Constant gent func- (System, user) Index tion Set data File register Other module...
  • Page 173 APPENDIX (2) Operation error No errors. (3) Program example The following program is designed to switch the Q66DA-G mounted in the position of I/O number X/Y0 to X/YF to the offset/gain setting mode when M10 is turned ON, and to return it to the normal mode when M10 is turned OFF. Switches to offset/gain setting mode Stores setting of dedicated instruction (G.OFFGAN) into D1.
  • Page 174: Appendix 1.2 G(P).Ogload

    APPENDIX Appendix 1.2 G(P).OGLOAD Reads the offset/gain values of the user range setting of the Q66DA-G to the CPU. Usable devices Link direct device Intelli- Internal device Constant gent func- (System, user) Index tion Set data File register Other module register Word Word...
  • Page 175 APPENDIX Control data (2/2) Setting Device Item Set data Set by range (S) + 7 CH2 Industrial shipment settings gain value System (S) + 8 CH3 Industrial shipment settings offset value System (S) + 9 CH3 Industrial shipment settings gain value System (S) + 10 CH4 Industrial shipment settings offset value...
  • Page 176 APPENDIX (1) Functions (a) Reads the offset/gain values of the user range setting of the Q66DA-G 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 177: Appendix 1.3 G(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 Q66DA- Usable devices Link direct device Intelli- Internal device Constant gent func- (System, user) Index tion Set data File register Other module register Word...
  • Page 178 APPENDIX Control data * Setting Device Item Set data Set by range System area Stores the status when the instruction is complete. : Normal completion (S) + 1 Completion status System Other than 0: Abnormal completion (error code) The value set to pass data classification setting (S)+2 using the G(P).OGLOAD instruction is stored.
  • Page 179 APPENDIX (1) Functions (a) Restores the offset/gain values of the user range setting stored in the CPU to the Q66DA-G. (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 180: Appendix 2 External Dimension Diagram

    APPENDIX Appendix 2 External Dimension Diagram Q66DA-G ERR. 22mA Q66DA-G (FG) FG terminal screw (M3 screw) 89 (3.50) 97.5 (3.84) 130 (5.12) 47 (1.85) 27.4 (1.08) 177 (8.97) FG terminal L-Shaped metal fitting FG terminal screw (M3 screw) (Unit: mm (inch)) - 10 Appendix 2 External Dimension Diagram...
  • Page 181 INDEX Absolute maximum output ........3-1 List of I/O signals ..........3-21 Accuracy............3-1,3-9 ALM LED ............... 4-4 Analog output ............3-1 Maximum resolution..........3-1 Analog output HOLD/CLEAR function....3-10 Mode switching setting ........3-29 Analog output test during programmable controller Module ready ............
  • Page 182 Warning output clear request ......3-21 Warning output flag ..........3-27 Warning output function........3-10 Warning output signal .......... 3-21 Weight ..............3-1 Index - 2...
  • Page 183 6. Failure caused by reasons unpredictable by scientific technology standards at time of shipment from Mitsubishi. 7. Any other failure found not to be the responsibility of Mitsubishi or that admitted not to be so by the user. 2. Onerous repair term after discontinuation of production (1) Mitsubishi shall accept onerous product repairs for seven (7) years after production of the product is discontinued.
  • Page 184 Microsoft, Windows, Windows NT, and Windows Vista are registered trademarks of Microsoft Corporation in the United States and other countries. Pentium and Celeron are trademarks of Intel Corporation in the United States and other countries. Ethernet is a registered trademark of Xerox Corporation in the United States. Other company names and product names used in this document are trademarks or registered trademarks of respective companies.

This manual is also suitable for:

Q66da-g

Table of Contents