Digital-Analog Converter Module U User's Manual Digital-Analog Converter Module User's Manual Digital-Analog Converter Module User's Manual MODEL Q-D/A-U-S-E MODEL CODE 13JR02 SH(NA)-080054-L(0511)MEE HEAD OFFICE : 1-8-12, OFFICE TOWER Z 14F HARUMI CHUO-KU 104-6212,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.
• SAFETY PRECAUTIONS • (Always read these precautions 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 precautions given in this manual are concerned with this product. For the safety precautions of the PLC system, please read the user's manual of the CPU module to use. In this manual, the safety precautions are ranked as "DANGER" and "CAUTION".
[INSTALLATION PRECAUTIONS] ! CAUTION • Use the PLC in an environment that meets the general specifications contained in the user's manual of the CPU module to use. Using this PLC in an environment outside the range of the general specifications may cause electric shock, fire, malfunction, and damage to or deterioration of the product. • While pressing the installation lever located at the bottom of module, insert the module fixing tab into the fixing hole in the base unit until it stops.
[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. Not doing so may cause failure or malfunction of the module. In the system where a CPU module supporting the online module change is used and on the MELSECNET/H remote I/O stations, modules can be replaced online (during energizing).
REVISIONS The manual number is given on the bottom left of the back cover. Print Date Dec., 1999 Oct., 2000 Manual Number Revision SH (NA)-080054-A First printing SH (NA)-080054-B Add the contents of the function version B. Correction About the Generic Terms and Abbreviations, Section 2.1, Section 3.1.3, 3.3.1, 3.4, Section 4.3, Section 5.2.1, 5.2.2, 5.3.3, 6.5.1 Partial addition Section 1.1, Section 3.1.1, 3.1.2, 3.2.1, 3.2.2, 3.3.1, 3.3.2, 3.4.3, Section 4.5, Section 5.6.1, Section 7.2.3, 7.2.
Print Date May, 2002 Manual Number SH(NA)-080054-F Revision Correction Section 3.4.1, 3.4.2, 3.4.3, 3.4.4, 3.4.6, 3.4.13, 3.4.14, Section 4.5, 4.6, Section 7.3.1, 7.3.2, 7.3.3, 7.3.4, 7.3.5, 7.3.6, 7.4, 7.5, Appendix 1.1, 2.2, 2.3 Partial addition Section 3.3.2, Section 8.2.3 Feb., 2003 SH(NA)-080054-G Correction SAFETY PRECAUTIONS, Section 1.2, Section 3.2, 3.4.1 to 3.4.4, 3.4.14, Section 4.5, Section 5.1, 5.2.1, 5.2.2, 5.3.2, 5.6.1 to 5.6.3, Section 7.3.3 to 7.3.6, 7.4, Appendix 1.1 to Appendix 1.
INTRODUCTION Thank you for purchasing the MELSEC-Q series PLC. Before using the equipment, please read this manual carefully to develop full familiarity with the functions and performance of the Q series PLC you have purchased, so as to ensure correct use. Please forward a copy of this manual to the end user. CONTENTS SAFETY PRECAUTIONS..............................................................................................................................A- 1 REVISIONS ................................
3.4.9 Setting range (buffer memory address 20, 21: Un\G20, Un\G21)................................................ 3-27 3.4.10 Offset/gain setting mode and offset/gain specification (buffer memory addresses 22, 23: Un\G22, Un\G23) ..................................................... 3-27 3.4.11 Setting value specification (buffer memory address 24: Un\G24) .............................................. 3-27 3.4.12 Mode switching setting (buffer memory addresses 158, 159: Un\G158, Un\G159) .................
6.2 For Use on Remote I/O Network ............................................................................................................ 6- 6 6.2.1 Programming example using the utility package........................................................................... 6- 7 6.2.2 Programming example without using the utility package.............................................................. 6-11 7 ONLINE MODULE CHANGE 7- 1 to 7-36 7.1 Online Module Change Conditions................................
About Manuals The following manuals are also related to this product. If necessary, order them by quoting the details in the tables below. Related Manuals Manual Name GX Developer Version 8 Operating Manual Describes the methods of using GX Developer to create a program and print out, monitor, and debug the program. (Sold separately) GX Developer Version 8 Operating Manual (Function Block) Describes the methods of using GX Developer to create a function block and print out the function block.
About the Generic Terms and Abbreviations Unless otherwise specified, this manual uses the following generic terms and abbreviations. Abbreviation/general terms Description of the abbreviation/general terms D/A converter module Generic term for Q62DAN, Q64DAN, Q68DAVN, Q68DAIN, Q62DA, Q64DA, Q68DAV, Q68DAI. DOS/V personal computer IBM PC/AT or compatible computer with DOS/V. GX Developer Generic product name of the product types SWnD5C-GPPW-E, SWnD5C-GPPW-EA, SWnD5C-GPPW-EV and SWnD5C-GPPW-EVA.
1 OVERVIEW MELSEC-Q 1 OVERVIEW This User’s Manual provides the specifications, handling instructions and programming methods for the following digital-analog converter modules that are used in combination with MELSEC-Q series CPU modules (hereinafter referred to as PLC CPU).
1 OVERVIEW MELSEC-Q (9) Easy settings using the utility package A utility package is sold separately (GX Configurator-DA). The utility package is not a required item, however, it is useful for on-screen setting of the intelligent function module parameters (initial setting/auto refresh 1 setting). In addition, FB can be generated automatically from the intelligent function module parameters that have been set up and used in a sequence program.
2 SYSTEM CONFIGURATION MELSEC-Q 2 SYSTEM CONFIGURATION 2.1 Applicable Systems This section describes the system configuration for the D/A converter module. (1) Applicable module and the number of modules that can be installed The following are the CPU module and network module (for remote I/O stations) in which the D/A converter module can be installed and the number of modules that can be installed.
2 SYSTEM CONFIGURATION MELSEC-Q (4) Compatibility with online module change To make an online module change, use the module of function version C or later. POINT The products of function version C include the functions of the products of function versions A and B. Note that, for the Q62DAN, Q64DAN, Q68DAVN and Q68DAIN, there are no function versions A and B. 2 (5) Software packages supported Correspondence between systems which use D/A converter modules and software packages are as shown below.
2 SYSTEM CONFIGURATION MELSEC-Q 2.2 How to Check the Function Version and Software Version This section describes how to check the function version of the D/A converter module and the GX Configuration-DA software version. (1) How to check the function version of the D/A converter module (a) To check the version using the "SERIAL column of the rating plate" located on the side of the module Function version Conformed standard (b) To check the version using the GX Developer See Section 8.2.
2 SYSTEM CONFIGURATION MELSEC-Q REMARK The version indication for the GX Configurator-DA has been changed as shown below from the SW0D5C-QDAU-E 60G upgrade product. Previous product Upgrade and subsequent versions SW0D5C-QDAU-E 60G GX Configurator-DA Version 1.
3 SPECIFICATIONS MELSEC-Q 3 SPECIFICATIONS 3.1 Performance Specifications 3.1.1 Performance specifications list (1) Q62DAN, Q64DAN, Q68DAVN, Q68DAIN Table 3.1 Performance specifications list Model name Item Number of analog output points Q62DAN Q64DAN 2 points (2 channels) Voltage Current –10 to 10 V DC (External load resistance value: 1 k 0 to 20 mA DC (External load resistance value: 0 Accuracy (Accuracy in respect to maximum analog output value) 0 to 12000 1.0 mV -10 to 10V 2.
3 SPECIFICATIONS MELSEC-Q (2) Q62DA, Q64DA, Q68DAV, Q68DAI Table 3.
3 SPECIFICATIONS MELSEC-Q When the voltage of the external power supply is less than 22.85V DC, the analog output current and the external load resistance value are as follows. 20 Analog output current External power supply 22.85V to 28.8V 22V 21V 20.4V 18.5 17.3 16.5 (mA) 480 510 550 External load resistance value( ) 600 REMARK See the user's manual for the CPU module being used for the general specifications for the D/A converter module. 3.1.
3 SPECIFICATIONS MELSEC-Q (1) Voltage output characteristic (a) Voltage output characteristic in normal resolution mode Figure 3.1 shows a graph of the voltage output characteristic in normal resolution mode.
3 SPECIFICATIONS MELSEC-Q (b) Voltage output characteristic in high resolution mode Figure 3.2 shows a graph of the voltage output characteristic in high resolution mode.
3 SPECIFICATIONS MELSEC-Q POINT (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) Set the offset/gain values for the user setting range 1 within a range in which the following conditions are satisfied. (a) Setting range is from –10 to 10 V.
3 SPECIFICATIONS MELSEC-Q (2) Current output characteristic (a) Current output characteristic in normal resolution mode Figure 3.3 shows a graph of the current output characteristic in normal resolution mode.
3 SPECIFICATIONS MELSEC-Q (b) Current output characteristic in high resolution mode Figure 3.4 shows a graph of the current output characteristic in high resolution mode.
3 SPECIFICATIONS MELSEC-Q POINT (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 setting range 1 within a range in which the following conditions are satisfied.
3 SPECIFICATIONS MELSEC-Q 3.1.3 Accuracy Accuracy is represented with respect to the maximum analog output value. Accuracy does not change and remains within the range listed in the performance specification even if the output characteristic is changed by changing offset/gain settings, output range and resolution mode. Figure 3.5 shows the range of fluctuation in accuracy when a -10 to 10V range is selected and in normal resolution mode. Accuracy for the analog output is within ± 0.
3 SPECIFICATIONS MELSEC-Q 3.2 D/A Converter Module Function Table 3.3 shows the function of the D/A converter modules. Table 3.3 Function list Item Function Reference section D/A conversion enable/disable function (1) Specifies whether to enable or disable the D/A conversion for each channel. (2) By disabling the D/A conversion for the channels that are not used, the conversion speed can be shortened. Section 3.4.
3 SPECIFICATIONS MELSEC-Q 3.2.2 Analog output HOLD/CLEAR function Whether the output analog value will be retained or cleared according to the PLC CPU operating status (RUN, STOP, and Stop error) can be set using the intelligent function module switch (see Section 4.5). Table 3.4 lists available analog output status based on the combinations of D/A conversion enable/disable and CH output enable/disable. Perform settings according to the system application. Table 3.
3 SPECIFICATIONS MELSEC-Q 3.2.3 Analog output test during PLC CPU STOP When the PLC CPU stops, an analog output test as shown in Table 3.5 can be performed. The analog output test performs the following operations in GX Developer device testing or GX Configurator-DA selection testing described in Section 5.6.1. (1) Set D/A Conversion enable/disable (buffer memory address 0: Un\G0) of the channel to be tested to enable. (2) Turn Operating condition setting request (Y9) from OFF to ON. (Refer to Section 3.
3 SPECIFICATIONS MELSEC-Q 3.3 I/O Signals for the PLC CPU 3.3.1 List of I/O signals Table 3.6 shows a list of the I/O signals for the D/A converter modules. The following explanation is mentioned based on the Q68DAVN, Q68DAIN, Q68DAV and Q68DAI with 8-channel analog output (CH1 to CH8). Note that I/O numbers (X/Y) shown in this chapter and thereafter are the values when the start I/O number for the D/A converter module is set to 0. Table 3.
3 SPECIFICATIONS MELSEC-Q 3.3.2 Details of I/O signals I/O signals for the D/A converter module are explained in detail below. (1) Input signals Device No. Signal name Description (1) When the PLC CPU is powered on or reset, this signal turns on once the preparation for D/A conversion has been completed, and D/A conversion processing is then performed. X0 Module READY (2) When the Module READY (X0) signal is off, D/A conversion processing is not performed.
3 SPECIFICATIONS Device No. MELSEC-Q Signal name Description [In offset/gain setting mode] (1) This is used as an interlock condition for setting the user range write request (YA) to ON/OFF when registering the value after adjustment of the offset/gain settings have been completed. (2) See Section 4.6 regarding the offset/gain settings.
3 SPECIFICATIONS Device No. MELSEC-Q Signal name Description (1) This is used as an interlock condition for setting the set value change request (YC) to ON/OFF when adjusting the offset/gain settings. (2) See Section 4.6 regarding the offset and gain settings.
3 SPECIFICATIONS MELSEC-Q (2) Output signals Device No. Y1 to Y8 Y9 YA Signal name Description (1) Specifies whether to output the D/A converted value or offset value for each channel. CH output ON: D/A converted value OFF: Offset value enable/disable flag (2) The D/A conversion speed is constant regardless of whether the output enable/disable flag is ON or OFF. Operating condition setting request (1) This turns ON when the contents of the D/A conversion enable/disable setting are validated.
3 SPECIFICATIONS MELSEC-Q 3.4 Buffer Memory The explanation in Section 3.4.5 and later is based on the 8-channel analog output (CH1 to CH8) Q68DAVN/Q68DAIN/Q68DAV/Q68DAI. 3.4.1 Buffer memory assignment (Q62DAN/Q62DA) This section describes the assignment of the Q62DAN/Q62DA buffer memory. Table 3.
3 SPECIFICATIONS MELSEC-Q 3.4.2 Buffer memory assignment (Q64DAN/Q64DA) This section describes the assignment of the Q64DAN/Q64DA buffer memory. Table 3.
3 SPECIFICATIONS MELSEC-Q 3.4.3 Buffer memory assignment (Q68DAVN/Q68DAV) This section describes the assignment of the Q68DAVN/Q68DAV buffer memory. Table 3.
3 SPECIFICATIONS MELSEC-Q Table 3.
3 SPECIFICATIONS MELSEC-Q 3.4.4 Buffer memory assignment (Q68DAIN/Q68DAI) The following explanation is mentioned based on Q68DAIN/Q68DAI with 8-channel analog output (CH1 to CH8). Table 3.
3 SPECIFICATIONS MELSEC-Q Table 3.
3 SPECIFICATIONS MELSEC-Q 3.4.5 D/A conversion enable/disable (buffer memory address 0: Un\G0) (1) Set whether D/A conversion is enabled or disabled for each channel. (2) It is necessary to set the operating condition setting request (Y9) to ON/OFF to validate the D/A conversion enable/disable setting. (See Section 3.3.2.) (3) By default, all channels are set to D/A conversion disabled. (4) When Q62DAN, Q62DA is used, b2 to b7 (CH3 to CH8) become invalid.
3 SPECIFICATIONS 3.4.7 CH MELSEC-Q set value check codes (buffer memory addresses 11 to 18: Un\G11 to Un\G18) (1) This area stores the result of checking whether a digital value that was set is within or outside the valid range. (2) When a digital value outside the valid range (see Table 3.11) is written, one of the check codes listed in Table 3.12 is stored. Table 3.12 Check code list Check code Description 000FH A digital value exceeding the valid range was written.
3 SPECIFICATIONS MELSEC-Q 3.4.9 Setting range (buffer memory address 20, 21: Un\G20, Un\G21) (1) This area is used to confirm the setting range of the D/A converter module. Settings for channels 1 to 4 are stored in Un\G20. Settings for channels 5 to 8 are stored in Un\G21. (2) For Q62DAN, Q62DA, b8 to b15 (CH3 and 4 information) for Un\G20 and Un\G21 (information of CH5 to CH8) are invalid. For Q64DAN, Q64DA, Un\G21 (CH5 to CH8 information) is invalid.
3 SPECIFICATIONS MELSEC-Q 3.4.12 Mode switching setting (buffer memory addresses 158, 159: Un\G158, Un\G159) (1) Set the values of the mode to which you want to switch. (2) After setting the values, turning the operation condition setting request (Y9) from OFF to ON switches to that mode. (3) When mode switching is performed, this area is cleared to zero and the operating condition setting completed flag (X9) turns OFF.
3 SPECIFICATIONS MELSEC-Q 3.4.14 Industrial shipment settings and user range settings offset/gain values (buffer memory addresses 202 to 233: Un\G202 to Un\G233) (1) Areas used to restore the user range settings offset/gain values when online module change is made. Refer to chapter 7 for details of online module change. (2) When the offset/gain values of the user range setting are restored, the used data are stored.
4 SETUP AND PROCEDURES BEFORE OPERATION MELSEC-Q 4 SETUP AND PROCEDURES BEFORE OPERATION 4.1 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 to fail. (3) Be careful not to let foreign particles such as swarf or wire chips enter the module. They may cause a fire, mechanical failure or malfunction.
4 SETUP AND PROCEDURES BEFORE OPERATION MELSEC-Q 4.2 Setup and Procedures before Operation Start Module mounting Mount the D/A converter module in the specified slot. Wiring Wire external devices to the D/A converter module. Intelligent functional module switch settings Perform settings using GX Developer (see Section 4.5). 4 Use industrial shipment settings.
4 SETUP AND PROCEDURES BEFORE OPERATION MELSEC-Q 4.3 Part Identification Nomenclature This section explains each part name of the D/A converter module, providing examples of the Q62DAN, Q64DAN, Q68DAVN and Q68DAIN. Differences between the Q62DAN/Q64DAN/Q68DAVN/Q68DAIN and Q62DA/Q64DA/Q68DAV/Q68DAI are model names and external dimensions only. For details, refer to Appendix 3 External Dimension Diagram.
4 SETUP AND PROCEDURES BEFORE OPERATION Terminal number Signal name Q62DAN, Q62DA Q64DAN, Q64DA V+ V+ 1 2 CH1 COM 3 CH1 COM I+ 4 I+ Vacant 5 6 MELSEC-Q Vacant V+ CH2 V+ COM 7 CH2 COM I+ 8 Vacant 9 Vacant 10 Vacant 11 Vacant 12 Vacant 13 Vacant 14 Vacant 15 Vacant I+ Vacant V+ CH3 COM I+ Vacant V+ CH4 COM I+ Q68DAVN, Q68DAV CH1 CH2 CH3 CH4 CH5 CH6 CH7 CH8 Q68DAIN, Q68DAI V+ CH1 COM V+ CH2 COM V+ CH3 COM V+ CH4 COM V+ CH5 COM V+ CH6 COM V+ CH7 COM
4 SETUP AND PROCEDURES BEFORE OPERATION MELSEC-Q 4.4 Wiring The wiring precautions and examples of module connection are provided below. 4.4.1 Wiring precautions In order to optimize the functions of the D/A converter module and ensure system reliability, external wiring that is protected from noise is required.
4 SETUP AND PROCEDURES BEFORE OPERATION MELSEC-Q 4.4.2 External wiring (1) For Q62DAN, Q64DAN, Q62DA and Q64DA (a) For voltage output 1 D/A conversion 2 Motor drive module, etc. 1k to 1M V+ COM GND +15 V +24 V 24 V DC 24V DC/DC converter A.G –15 V Filter 24G FG A.G 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 F 25V capacitor between the V+ terminal and COM.
4 SETUP AND PROCEDURES BEFORE OPERATION MELSEC-Q (2) For Q68DAVN, Q68DAV 1 D/A conversion 2 Motor drive module, etc. 1k to 1M V+ COM GND +15 V +24 V 24 V DC 24V DC/DC converter A.G –15 V Filter 24G FG A.G 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 F 25V capacitor between the V+ terminal and COM. (3) For Q68DAIN, Q68DAI 1 D/A conversion 2 Motor drive module, etc.
4 SETUP AND PROCEDURES BEFORE OPERATION MELSEC-Q 4.5 Switch Setting for Intelligent Function Module The settings for the intelligent function module are performed using the I/O assignment settings of GX Developer. (1) Setting item The intelligent function module switches consist of switches 1 to 5 and are set using 16 bit data. When the intelligent function module switches are not set, the default value for switches 1 to 5 is 0. Table 4.
4 SETUP AND PROCEDURES BEFORE OPERATION MELSEC-Q POINT (1) Depending on the type of module used, the settings for D/A module output range are shown below. • Q62DAN, Q64DAN, Q62DA, Q64DA ...... 0H to 4H, FH • Q68DAVN, Q68DAV................................. 0H, 2H to 4H, FH 1 When the setting is 0H, the output operating range swill be 1 to 5 V. • Q68DAIN, Q68DAI.................................... 0H, 1H, FH (2) For Q62DAN, Q64DAN, Q62DA and Q64DA, leave the switch2 vacant.
4 SETUP AND PROCEDURES BEFORE OPERATION MELSEC-Q (2) Operating procedure Start the settings with GX Developer I/O assignment setting screen. (a) I/O assignment setting screen Set the following for the slot in which the D/A converter module 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. Start XY : Enter the start I/O number for the D/A converter module.
4 SETUP AND PROCEDURES BEFORE OPERATION MELSEC-Q 4.6 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 procedure described in Section 5.6.2. (1) Offset/gain setting procedure Start 3) Switch to the offset/gain setting mode.
4 SETUP AND PROCEDURES BEFORE OPERATION MELSEC-Q 1 The mode switching (normal mode to offset/gain setting mode to normal mode) method is given below. • Dedicated instruction (G.OFFGAN) .............. Refer to Section 4.6 (2), (a) • Setting made to mode switching setting (buffer memory addresses 158, 159: Un\G158, Un\G159) and turning the operation condition setting request (Y9) from OFF to ON ..................................................... Refer to Section 4.
4 SETUP AND PROCEDURES BEFORE OPERATION MELSEC-Q (2) Program examples The program in the dotted area of (a) is common to (a), (b) and (c). In this example, the I/O signals for the D/A converter module are X/Y0 to X/YF. • Channel selection ................................................................................... M0 • Offset setting ........................................................................................... M1 • Gain setting .........................................................
4 SETUP AND PROCEDURES BEFORE OPERATION MELSEC-Q (a) When switching the mode using the dedicated instruction (G.OFFGAN) The following sample program switches to the offset/gain setting mode with the dedicated instruction (G.OFFGAN), changes the channel where offset/gain setting will be made, adjusts the offset/gain values, and writes the offset/gain values to the D/A converter module. Switches to offset/gain setting mode Stores setting of dedicated instruction (G.OFFGAN) into D2.
4 SETUP AND PROCEDURES BEFORE OPERATION MELSEC-Q (b) When switching the mode using the setting of the mode switching setting (buffer memory addresses 158, 159: Un\G158, Un\G159) and operation condition setting request (Y9) 2 D/A conversion enable/disable setting Turns ON operation condition setting request (Y9). Switches to offset/gain setting mode Sets 4144H to buffer memory address 158. Sets 964H to buffer memory address 159. Turns ON operation condition setting request (Y9).
5 UTILITY PACKAGE (GX Configurator-DA) MELSEC-Q 5 UTILITY PACKAGE (GX Configurator-DA) 5.1 Utility Package Functions Table 5.1 shows an overview of the utility package functions. Table 5.1 Utility package (GX Configurator-DA) function list Item Description Reference section (1) Sets the D/A conversion enable/disable. Initial Setting 1 (2) The data for which initial setting has been completed is registered in the parameters for the PLC CPU, and automatically written to the Section 5.
5 UTILITY PACKAGE (GX Configurator-DA) MELSEC-Q 5.2 Installing and Uninstalling the Utility Package See "Method of installing the MELSOFT Series" attached with the utility package regarding the install and uninstall operation for the utility package. 5.2.
5 UTILITY PACKAGE (GX Configurator-DA) MELSEC-Q (6) About the number of parameters that can be set in GX Configurator-DA The number of parameters that can be set by the GX Configurator for an intelligent function module installed in the CPU module and in a remote I/O station of the MELSECNET/H network system is limited.
5 UTILITY PACKAGE (GX Configurator-DA) MELSEC-Q 5.2.2 Operating environment The operating environment of the personal computer where the GX Configurator-DA is used is explained. Item Peripheral devices Installation (Add-in) destination Computer main unit Add-in to GX Developer Version 4 (English version) or later 2 Personal computer on which Windows operates. R Required memory Refer to the following table "Used operating system and performance required for personal computer".
5 UTILITY PACKAGE (GX Configurator-DA) MELSEC-Q 5.3 Explanation of Utility Package Operation 5.3.1 How to perform common utility package operations (1) Available control keys Special keys that can be used during operation of the utility package and their applications are shown in the table below. Name of key Esc Application Cancels a newly entered value when entering data in a cell. Closes the window. Tab Ctrl Moves between controls in the window.
5 UTILITY PACKAGE (GX Configurator-DA) MELSEC-Q (2) Data to be created with the utility package The data and files shown below that are created with the utility package are also processed using GX Developer operation. Figure 5.1 shows which operation processes which data or file. (a) This data is created with the automatic refresh setting, and stored in the intelligent function module parameter file of the project to be created using GX Developer.
5 UTILITY PACKAGE (GX Configurator-DA) MELSEC-Q (a) A text file is created by performing the initial setting or automatic refresh setting, or selecting text file creation in the monitor/test screen. The text files can be utilized to create user documents. GX Developer/ GX Configurator-DA Disk Project Project 1) A 2) A Personal computer B QCPU 3) Q25HCPU MODE. RUN. ERR. USER. BAT. BOOT. A : Indicates an intelligent function module parameter.
5 UTILITY PACKAGE (GX Configurator-DA) MELSEC-Q 5.3.2 Operation overview GX Developer screen [Tools] [Intelligent function utility] [Start] Intelligent function module parameter setting module select screen 1) See Section 5.3.3 Enter "Start I/O No.", than select "Module type" and "Module model name". Initial setting Initial setting screen Auto refresh Auto refresh setting screen See Section 5.5 See Section 5.
5 UTILITY PACKAGE (GX Configurator-DA) MELSEC-Q 1) [Online] [Monitor/test] Select monitor/test module screen <> tab FB conversion FB conversion screen See Section 5.7 Enter "Start I/O No.", than select "Module type" and "Module model name". Monitor/test screen See Section 5.
5 UTILITY PACKAGE (GX Configurator-DA) MELSEC-Q 5.3.3 Starting the intelligent function module utility [Purpose of setting] Start the intelligent function module utility from GX Developer, and display the module selection screen for the intelligent function module utility parameter setting.
5 UTILITY PACKAGE (GX Configurator-DA) MELSEC-Q POINT The <> tab is displayed when the project which is being edited is a label project. (2) Explanation of screen command buttons Common operations to the <> tab and <> tab Delete Deletes the initial setting and automatic refresh setting for the selected module.
5 UTILITY PACKAGE (GX Configurator-DA) MELSEC-Q POINT (1) Saving the intelligent function module parameter files Since files cannot be saved using the GX Developer project save operation, save the files using the module selection screen for intelligent function module parameter setting described above.
5 UTILITY PACKAGE (GX Configurator-DA) MELSEC-Q 5.4 Initial Setting [Purpose of setting] Set D/A conversion enable/disable with an initial setting parameter. The initial setting parameter eliminates the need to set D/A conversion enable/disable in the sequence program. [Startup procedure] "Start I/O No. " "Module type" "Module model name" Initial setting [Setting screen] [Explanation of items] (1) Setting contents Set whether D/A conversion is "Enable" or "Disable" for each channel.
5 UTILITY PACKAGE (GX Configurator-DA) MELSEC-Q 5.5 Automatic Refresh Settings [Purpose of setting] Sets the buffer memory for the D/A converter module to be automatically refreshed. [Startup procedure] "Start I/O No. " "Module type" "Module model name" Auto refresh [Setting screen] [Explanation of items] (1) Contents of the screen display Model side Buffer size : Displays the size of the buffer memory for the setting item (fixed at one word).
5 UTILITY PACKAGE (GX Configurator-DA) MELSEC-Q (2) Explanation of command buttons Make text file A file containing the screen contents is created in text file format. End setup Confirms the setting data and ends the operation. Cancel Cancels the setting data and ends the operation. POINT The automatic refresh settings are stored in the intelligent function module parameters.
5 UTILITY PACKAGE (GX Configurator-DA) MELSEC-Q 5.6 Monitor/Test 5.6.1 Monitor/test screen [Purpose of setting] Buffer memory monitoring/testing, I/O signals monitoring/testing, operating condition setting, offset/gain settings (see Section 5.6.2, 5.6.3), pass data (see Section 5.6.4, 5.6.5) are started from this screen. [Startup procedure] Monitor/test module selection screen "Module model name" "Start I/O No. " "Module type" Monitor/test Enter the start I/O numbers in hexadecimal.
5 UTILITY PACKAGE (GX Configurator-DA) MELSEC-Q Pass data 1) Operating setting Offset/gain setting Conversion characteristic 5 - 17 5 - 17
5 UTILITY PACKAGE (GX Configurator-DA) MELSEC-Q [Explanation of items] (1) Contents of screen display Setting item : Buffer memory name is displayed. Current value : Current value of the buffer memory is monitored. Setting value : Select or enter the data to be written into the buffer memory during test operation. (2) Explanation of the command buttons Current value The current value of the selected item is displayed. (This is used to check text that cannot be displayed in the current value field.
5 UTILITY PACKAGE (GX Configurator-DA) MELSEC-Q 5.6.2 Offset/gain setting operation (Function version C or later) Perform the offset/gain setting operation in the following sequence. (1) Switch to the offset/gain setting screen Perform the operation in Section 5.6.1 to display the offset/gain setting screen. At this point, a dialog box to confirm the transition of module’s operation mode (normal mode -> offset/gain setting mode) is displayed.
5 UTILITY PACKAGE (GX Configurator-DA) MELSEC-Q (5) 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. (6) Write settings into module Write the content set up by operations (2) to (5) into module by clicking the Registration button.
5 UTILITY PACKAGE (GX Configurator-DA) MELSEC-Q 5.6.3 Offset/gain setting operation (Function version B or earlier) Perform the offset/gain setting operation in the following sequence. (1) Switch to the offset/gain setting mode Change switch 4 for intelligent function module switch setting to the offset/gain setting mode (see Section 4.5). (2) Switch to the offset/gain setting screen Display the offset/gain setting screen using the operation described in Section 5.6.1.
5 UTILITY PACKAGE (GX Configurator-DA) MELSEC-Q (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 module Write the content set up by operations (3) to (6) into module by clicking the Registration button.
5 UTILITY PACKAGE (GX Configurator-DA) MELSEC-Q 5.6.4 Confirmation of Conversion Characteristic [Purpose of setting] The converted value of digital-analog conversion can be confirmed according to the tilt of the graph, based on the offset/gain setting.
5 UTILITY PACKAGE (GX Configurator-DA) MELSEC-Q Analog/digital conversion: Select a conversion type shown below for confirming the correspondence between an analog value and a digital value caused by the conversion characteristic. • Digital analog • Analog digital Analog value: Enter an analog value to be converted to a digital value The analog value converted from a digital value is displayed.
5 UTILITY PACKAGE (GX Configurator-DA) MELSEC-Q 5.6.5 Pass data (Q62DAN/Q64DAN/Q62DA/Q64DA) Perform operation in the following sequence to save/restore the user range. (1) Switch to the pass data screen Perform the operation in Section 5.6.1 to display the Pass data screen. (2) User range saving (a) Set "Voltage specified" or "Current specified" in the Setting value field of Pass data classification setting, and click the Execute test button.
5 UTILITY PACKAGE (GX Configurator-DA) MELSEC-Q (3) User range restoration (a) Set "Voltage specified" or "Current specified" in the Setting value field of Pass data classification setting, and click the Execute test button. When the setting is completed, the set data is displayed in the Current value field of CH Pass data classification setting. (b) Set the recorded values in the Setting value fields of CH Industrial shipment settings offset/gain values/user range settings offset/gain values.
5 UTILITY PACKAGE (GX Configurator-DA) MELSEC-Q 5.6.6 Pass data (Q68DAVN/Q68DAIN/Q68DAV/Q68DAI) Perform operation in the following sequence to save/restore the user range. (1) Switch to the Pass data screen Perform the operation in Section 5.6.1 to display the pass data screen. (2) User range saving (a) Change the Setting value field of Pass data read request to "Request", and click the Execute test button.
5 UTILITY PACKAGE (GX Configurator-DA) MELSEC-Q 5.7 FB Conversion of Initial Setting/Auto Refresh Setting [Purpose of setting] FB is generated automatically from the intelligent function module parameter (initial setting/auto refresh setting). [Startup procedure] Intelligent Function Module Parameter Setting Module Selection Screen <> FB conversion [Setting screen] [Explanation of items] (1) Items displayed on the screen Start I/O No.: The start I/O No.
5 UTILITY PACKAGE (GX Configurator-DA) MELSEC-Q 5.8 Usage of FB This section describes the procedure for using FB with GX Developer. For details, refer to "GX Developer Version 8 Operating Manual (Function Block). " 5.8.1 Outline The procedure for creating FB is shown below. (1) Set up the intelligent function module parameter (initial setting/auto refresh setting). (2) Convert the intelligent function module parameter into FB. (3) Paste the FB to a sequence program.
5 UTILITY PACKAGE (GX Configurator-DA) MELSEC-Q POINT The initial setting/auto refresh setting of the intelligent function module can be performed by each of the following methods. (1) Set intelligent function parameters (Initial setting/Auto refresh setting) and write them to the PLC CPU. (2) Create an FB of the intelligent function module parameter (initial setting/auto refresh setting) and paste it to the sequence program.
5 UTILITY PACKAGE (GX Configurator-DA) MELSEC-Q 5.8.2 Paste an FB to a Sequence Program [Purpose of operation] Paste an FB in order to use it with a sequence program. [Operation procedure] Switch the <> tab into the <> tab on GX Developer, and drag & drop the FB to be used onto the sequence program.
5 UTILITY PACKAGE (GX Configurator-DA) MELSEC-Q 5.8.3 Convert (Compile) a Sequence Program [Purpose of operation] Convert (compile) the sequence program to which an FB was pasted so that it can be executed. [Operation procedure] Click the [Convert] menu 5 - 32 [Convert/Compile] menu of GX Developer.
6 PROGRAMMING MELSEC-Q 6 PROGRAMMING This chapter describes the programs of the D/A converter module. 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. 6.
6 PROGRAMMING MELSEC-Q 6.1.1 Programming example using the utility package (1) Operating the utility package (a) Initial setting (see Section 5.4.) CH1, CH2 D/A conversion enable/disable setting .......... "Enable" (b) Automatic refresh setting (see Section 5.5.) CH1, CH2 Digital value ......... "D11, D12" Error code ............................. "D13" 6 (c) Writing the intelligent function module parameters (see Section 5.3.3) Write the intelligent function module parameters to the CPU module.
6 PROGRAMMING MELSEC-Q (2) Programming example Set analog output to enable X10 0 Y1 CH1 Output enable/disable Enables analog output for CH1 and CH2. Y2 CH2 Output enable/disable Digital value write program X11 X0 18 Module READY Error code display and reset processing X12 X0F 40 Error flag MOV K500 D11 CH1 Digital value MOV K1000 D12 CH2 Digital value BCD D13 K3Y20 Error code SET Write the digital values for CH1 and CH2 in D11 and D12 that have been automatically refreshed.
6 PROGRAMMING MELSEC-Q 6.1.2 Programming example without using the utility package (1) Programming example using the FROM/TO commands Set the D/A conversion enabled channel (initial setting). X0 0 Module READY T0 H0 K0 H0 K1 SET X0 Y9 X9 33 RST Operating Operating condition condition setting setting completed request Set analog output to enable X10 37 Module READY Y9 Operating condition setting request Set CH1 and CH2 to D/A conversion enable.
6 PROGRAMMING MELSEC-Q (2) Programming example using the intelligent function module device (U \G ) Set the D/A conversion enabled channel (initial setting) X0 0 Module READY MOV U0\ G0 H0 SET X0 Y9 X9 32 RST Operating Operating condition condition setting setting completed request Set analog output to enable. X10 33 Module READY Y9 Operating condition setting request Set CH1 and CH2 to D/A conversion enable.
6 PROGRAMMING MELSEC-Q 6.2 For Use on Remote I/O Network System configuration used in the program explanation (1) System configuration Remote master station (Network No.1) Power supply module Q n C P U Q J 7 1 L P 2 1 Q X 1 0 Q Y 1 0 Remote I/O station (Station No.1) Power supply module Q J 7 1 L P 2 5 Q X 1 0 Q Y 1 0 Q 6 2 D A X/Y100 X/Y110 X/Y120 to to to X/Y10F X/Y11F X/Y12F Perform the following intelligent function module switch settings in advance.
6 PROGRAMMING MELSEC-Q 6.2.1 Program example using the utility package (1) Operating GX Developer (a) Network parameter setting • Network type • Head I/O No. • Network No.
6 PROGRAMMING MELSEC-Q (2) Operating the utility package (a) Initial setting (see Section 5.4) CH1, CH2 D/A conversion enable/disable setting ...."Enable" (b) Auto refresh setting (see Section 5.5) CH1, CH2 digital values .............................................W11, W12 Error code ...................................................................W113 (c) Write of intelligent function module parameters (Refer to Section 5.3.
6 PROGRAMMING MELSEC-Q (3) Programming example Set analog output enable X21 Write digital values X22 Y121 CH1 output enable Y122 CH2 output enable X120 MOV K500 W11 CH1 digital value setting MOV K1000 W12 CH2 digital value setting BCD W113 K3Y20 Error code output in BCD SET Y12F Error clear request (YF) ON RST Y12F Error clear request (YF) OFF Error code display and reset processing X23 X12F Y12F X12F END POINT To write the intelligent function module parameters, set the target
6 PROGRAMMING MELSEC-Q 6.2.2 Program example without using the utility package (1) Operation of GX Developer (Network parameter setting) 6 - 10 • Network type • Head I/O No. • Network No.
6 PROGRAMMING MELSEC-Q (2) Programming example 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 D/A conversion enable/disable setting Write to buffer memory Operating condition setting request (Y9) ON Operating condition setting request (Y9) OFF CH1 output enable CH2 output enable CH1 digital value setting CH2
7 ONLINE MODULE CHANGE MELSEC-Q 7 ONLINE MODULE CHANGE When changing a module online, carefully read the QCPU User's Manual (Hardware Design, Maintenance and Inspection), section 12.4.1 "Online module change". This chapter describes the specifications of an online module change. (1) Perform an online module change by operating GX Developer.
7 ONLINE MODULE CHANGE MELSEC-Q 7.1 Online Module Change Conditions The CPU, MELSECNET/H remote I/O module, D/A converter module, GX Developer and base unit given below are needed to perform an online module change. (1) CPU The Q12PHCPU or Q25PHCPU is needed. For precautions for multiple PLC system configuration, refer to the Process CPU User's Manual (Function Explanation/Program Fundamentals). (2) MELSECNET/H remote I/O module The module of function version D or later is necessary.
7 ONLINE MODULE CHANGE MELSEC-Q 7.2 Online Module Change Operations The following gives the operations performed for an online module change. CPU operation X/Y refresh : Executed FROM/TO Dedicated instruction instruction 1 : Not executed GX Configurator Device test Initial setting parameter Monitor/ test (User operation) (Intelligent function module operation) (1) Conversion disable Turn OFF all Y signals that were turned ON by a sequence program.
7 ONLINE MODULE CHANGE MELSEC-Q 7.3 Online Module Change Procedure There are the following online module change procedures depending on whether the user range setting has been made or not, whether the initial setting of GX ConfiguratorDA has been made or not, and whether the other system exists or not. Range setting Initial setting Other system Reference section Industrial shipment setting GX Configurator-DA — Section 7.3.1 Industrial shipment setting Sequence program — Section 7.3.
7 ONLINE MODULE CHANGE MELSEC-Q (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.
7 ONLINE MODULE CHANGE MELSEC-Q (3) Mounting of new module (a) Mount a new module to the same slot and install the terminal block. (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 7-6 (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.
7 ONLINE MODULE CHANGE 7-7 MELSEC-Q (c) Click the [Close] button to close the System monitor screen. (d) Set digital values to the digital values (buffer memory addresses 1 to 8: Un\G1 to 8) and turn Operating condition setting request (Y9) from OFF to ON. Turn ON the output enable/disable flag (Y1 to Y8) of the used channel to check whether proper conversion has been made or not. (Be careful since analog outputs are provided actually.
7 ONLINE MODULE CHANGE MELSEC-Q (5) Resumption of control 7-8 (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 ONLINE MODULE CHANGE MELSEC-Q 7.3.2 When industrial shipment setting is used and initial setting was made with sequence program (1) Conversion disable (a) 7-9 Set D/A Conversion enable/disable (buffer memory address 0: Un\G0) for all channel conversion disable and turn Operating condition setting request (Y9) from OFF to ON to stop conversion. After confirming that conversion has stopped with the actual analog output value, turn OFF Operating condition setting request (Y9).
7 ONLINE MODULE CHANGE MELSEC-Q (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.
7 ONLINE MODULE CHANGE MELSEC-Q (3) Mounting of new module (a) Mount a new module to the same slot and install the terminal block. (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 7 - 11 (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.
7 ONLINE MODULE CHANGE 7 - 12 MELSEC-Q (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 (buffer memory addresses 1 to 8: Un\G1 to 8), and turn Operating condition setting request (Y9) from OFF to ON. Turn ON the output enable/disable flag (Y1 to Y8) of the used channel to check whether proper conversion has been made or not.
7 ONLINE MODULE CHANGE MELSEC-Q (5) Resumption of control 7 - 13 (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 ONLINE MODULE CHANGE MELSEC-Q 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) 7 - 14 Set D/A Conversion enable/disable (buffer memory address 0: Un\G0) for all channel conversion disable and turn Operating condition setting request (Y9) from OFF to ON to stop conversion. After confirming that conversion has stopped with the actual analog output value, turn OFF Operating condition setting request (Y9).
7 ONLINE MODULE CHANGE MELSEC-Q (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. Click the [OK] button, and perform the operation in Section 7.3.4 (2)(c) and later.
7 ONLINE MODULE CHANGE (c) MELSEC-Q After confirming that the "RUN" LED of the module has turned off, remove the terminal block and dismount the module. POINT Always dismount the module. If mounting confirmation is made without the module being dismounted, the module will not start properly and the "RUN" LED will not be lit. (3) Mounting of new module 7 - 16 (a) Mount the dismounted module and new module to the other system. (b) Using the G.
7 ONLINE MODULE CHANGE MELSEC-Q (4) Operation check 7 - 17 (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 screen. (d) Set digital values to the digital values (buffer memory addresses 1 to 8: Un\G1 to 8) and turn Operating condition setting request (Y9) from OFF to ON.
7 ONLINE MODULE CHANGE MELSEC-Q (5) Resumption of control 7 - 18 (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 ONLINE MODULE CHANGE MELSEC-Q 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) 7 - 19 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 the [Execute test] button. Confirm that conversion has stopped with the actual analog output value.
7 ONLINE MODULE CHANGE MELSEC-Q (b) After making sure that the indication in the Current value field of CH D/A conversion enable/disable setting is "Disable", change the Setting value field of Operating condition setting request to "Setting request", and click the [Execute test] button to stop conversion. (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.
7 ONLINE MODULE CHANGE MELSEC-Q (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. Click the [OK] button, and perform the operation in Section (2)(c) and later.
7 ONLINE MODULE CHANGE MELSEC-Q (3) Mounting of new module (a) Mount a new module to the same slot and install the terminal block. (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 7 - 22 (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.
7 ONLINE MODULE CHANGE 7 - 23 MELSEC-Q (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.5, 5.6.6.) (e) Set digital values to the digital values (buffer memory addresses 1 to 8: Un\G1 to 8) and turn Operating condition setting request (Y9) from OFF to ON.
7 ONLINE MODULE CHANGE MELSEC-Q (5) Resumption of control 7 - 24 (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 ONLINE MODULE CHANGE MELSEC-Q 7.3.5 When user range setting is used and initial setting was made with sequence program (other system is available) (1) Conversion disable (a) 7 - 25 Set D/A Conversion enable/disable (buffer memory address 0: Un\G0) for all channel conversion disable and turn Operating condition setting request (Y9) from OFF to ON to stop conversion. After confirming that conversion has stopped with the actual analog output value, turn OFF Operating condition setting request (Y9).
7 ONLINE MODULE CHANGE MELSEC-Q (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. Click the [OK] button, and perform the operation in Section 7.3.6 (2)(c) and later.
7 ONLINE MODULE CHANGE MELSEC-Q (3) Mounting of new module (a) Mount the dismounted module and new module to the other system. (b) Using the G.OGLOAD instruction, save the user set values to the CPU device. Refer to Appendix 2.2 for the G.OGLOAD instruction. (c) Using the G.OGSTOR instruction, restore the user set values to the module. Refer to Appendix 2.3 for the G.OGSTOR instruction.
7 ONLINE MODULE CHANGE 7 - 28 MELSEC-Q (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 (buffer memory addresses 1 to 8: Un\G1 to 8), and turn Operating condition setting request (Y9) from OFF to ON. Turn ON the output enable/disable flag (Y1 to Y8) of the used channel to check whether proper conversion has been made or not.
7 ONLINE MODULE CHANGE MELSEC-Q (5) Resumption of control 7 - 29 (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 ONLINE MODULE CHANGE MELSEC-Q 7.3.6 When user range setting is used and initial setting was made with sequence program (other system is unavailable) (1) Conversion disable (a) 7 - 30 Set D/A Conversion enable/disable (buffer memory address 0: Un\G0) for all channel conversion disable and turn Operating condition setting request (Y9) from OFF to ON to stop conversion. After confirming that conversion has stopped with the actual analog output value, turn OFF Operating condition setting request (Y9).
7 ONLINE MODULE CHANGE (b) MELSEC-Q If the saved buffer memory contents are not yet prerecorded, record them in the following procedure. 1) Make the pass data classification setting (buffer memory address 200: Un\G200). 2) Turn Operation Condition Setting Request (Y9) from OFF to ON. 3) Compare the offset/gain values of the industrial shipment settings and user range settings (buffer memory addresses 202 to 233: Un\G202 to Un\G233) with the range reference table. Refer to Section 7.
7 ONLINE MODULE CHANGE (b) MELSEC-Q Click the "Execution" button to enable a module change. If the following error screen appears, the user range cannot be saved. Click the [OK] button, 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 terminal block and dismount the module. POINT Always dismount the module.
7 ONLINE MODULE CHANGE MELSEC-Q (4) Operation check 7 - 33 (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 screen. (d) Choose [Online] - [Debug] - [Device test] on GX Developer and set the prerecorded values to the buffer memory. (e) Turn the user range write request (YA) from OFF to ON to restore the user set values to the module.
7 ONLINE MODULE CHANGE MELSEC-Q (f) Referring to (1), enable the conversion of the channels to be used, set digital values to the digital values (buffer memory addresses 1 to 8: Un\G1 to 8), and turn Operating condition setting request (Y9) from OFF to ON. Turn ON the output enable/disable flag (Y1 to Y8) of the used channel to check whether proper conversion has been made or not. (Be careful since analog outputs are provided actually.
7 ONLINE MODULE CHANGE MELSEC-Q 7.4 Range Reference Table The range reference tables are given below. (1) Reference table for offset/gain values of industrial shipment settings (buffer memory addresses 202 to 233: Un\G202 to 233) (a) For Q62DAN, Q62DA The reference values change depending on the setting of the pass data classification setting (buffer memory address 200: Un\G200).
7 ONLINE MODULE CHANGE MELSEC-Q (2) Reference table for user range settings offset/gain values (buffer memory addresses 218 to 233: Un\G218 to 233) Example: When the offset value and gain value of channel 1 are 1V and 5V, respectively, in the Q68DAV, the reference value of the CH1 user range settings offset value (buffer memory address 218: Un\G218) is approx. 8CB4H and that of the CH1 user range settings gain value (buffer memory address 220: Un\G220) is approx. BFAEH.
8 TROUBLESHOOTING MELSEC-Q 8 TROUBLESHOOTING This chapter explains the types of errors that may occur when the D/A converter module is used, and how to troubleshoot such errors. 8.1 Error Code List If an error occurs in D/A converter module while writing to or reading data from the PLC CPU, the applicable error code is written to buffer memory address 19 (Un\G19). Table 8.
8 TROUBLESHOOTING MELSEC-Q 8.2 Troubleshooting 8.2.1 When the "RUN" LED is flashing or turned off (1) When flashing Check item Is the mode set to the offset/gain setting mode? Corrective action Reset switch 4 of the intelligent function module setting for GX Developer to the normal mode (see Section 4.5). (2) When off Check item Corrective action Is power being supplied? Confirm that the supply voltage for the power supply module is within the rated range.
8 TROUBLESHOOTING MELSEC-Q 8.2.3 When an analog output value is not output Check item Action to be taken Is 24VDC external power supply being supplied? Verify that 24VDC voltage is being supplied to the external power supply terminals (Q62DAN, Q64DAN, Q62DA, Q64DA: terminal numbers 16, 17 Q68DAVN, Q68DAIN, Q68DAV, Q68DAI: terminal numbers 17, 18).
8 TROUBLESHOOTING MELSEC-Q 8.2.4 When analog output value is not held Check item Action to be taken Is the HOLD/CLEAR setting correct? Check the Switch 3 setting of the intelligent function module switch setting on GX Developer. Is the D/A converter module used on a MELSECNET/H remote I/O station? Take action, referring to POINT (2) in Section 3.2.2. 8.2.
8 TROUBLESHOOTING MELSEC-Q (3) H/W information (a) H/W LED information The LED status is displayed. No. LED name Status 1 RUN LED 0000H : Indicates that LED is unlit. 2 ERROR LED 0001H : Indicates that LED is lit (b) H/W SW information The status of the intelligent function module switch setting is displayed. 8-5 No.
APPENDIX MELSEC-Q APPENDIX Appendix 1 Function upgrade for the D/A converter module The D/A converter modules of function versions B and C have more functions than the conventional model (function version A). This section describes a comparison of functions of the D/A converter module based on the function additions, combinations with GX Configurator-DA software version and precautions when replacing the module. Appendix 1.
APPENDIX MELSEC-Q Appendix 1.2 Combinations of D/A converter module functions and GX Configurator-DA software versions The following table indicates the D/A converter module functions and corresponding GX Configurator-DA software versions. Software version Function SW0D5C-QDAU-E SW0D5C-QDAU-E GX Configurator-DA GX Configurator-DA 00A 10B Version 1.10L to 1.15R Version 1.
APPENDIX MELSEC-Q Appendix 1.3 Precautions for replacing the module of function version A with the one of function version B or later (1) Incorporation into an existing system You can use the wiring designed for function version A as-is to mount the D/A converter module of function version B or later. (2) Program utilization You can use the program created for function version A as-is with the D/A converter module of function version B or later.
APPENDIX MELSEC-Q Appendix 1.4 Precautions for replacing Q62DA/Q64DA/Q68DAV/Q68DAI with Q62DAN/Q64DAN/Q68DAVN/Q68DAIN (1) Wiring precautions To use existing wires of the Q62DA/Q64DA/Q68DAV/Q68DAI, an extra length of 30mm is required for the wiring of an alternative module. When replacing the module, verify this in the actual system configuration.
APPENDIX MELSEC-Q Appendix 2 Dedicated Instruction List The following table lists the dedicated instructions that can be used with the D/A converter modules. Instruction Description Reference section G.OFFGAN Switches to the offset/gain setting mode. Switches to the normal mode. Appendix 2.1 G.OGLOAD Reads the offset/gain values of the user range setting to the CPU. Appendix 2.2 G.OGSTOR Restores the offset/gain values of the user range setting stored in the CPU to the D/A converter module.
APPENDIX MELSEC-Q (1) Function Switches the mode of the D/A converter module. • Normal mode to offset/gain setting mode (the offset/gain setting mode status flag (XA) turns ON) • Offset/gain setting mode to normal mode (the offset/gain setting mode status flag (XA) turns OFF) POINT (1) When the offset/gain setting mode is switched to the normal mode, Module Ready (X0) turns from OFF to ON.
APPENDIX MELSEC-Q Appendix 2.2 OGLOAD Reads the offset/gain values of the user range setting of the D/A converter module to the CPU. Usable devices Internal device (System, user) Bit Word Set data (S) File register MELSECNET/H Direct J \ Bit Word — (D) [Instruction symbol] [Execution condition] Special function Index module U \G register Z Constant Other K, H S — — — — — — — — Command G.OGLOAD G.OGLOAD Un (S) (D) GP.OGLOAD Un (S) (D) Command GP.
APPENDIX MELSEC-Q Control data Device Item (S) System area (S) + 1 Completion status (S) + 2 Pass data classification setting (S) + 3 (S) + 4 (S) + 5 (S) + 6 (S) + 7 (S) + 8 (S) + 9 (S) + 10 (S) + 11 (S) + 12 (S) + 13 (S) + 14 (S) + 15 (S) + 16 (S) + 17 (S) + 18 (S) + 19 System area CH1 Industrial shipment settings offset value CH1 Industrial shipment settings gain value CH2 Industrial shipment settings offset value CH2 Industrial shipment settings gain value CH3 Industrial shipment settings offs
APPENDIX MELSEC-Q Control data Device (S) Item System area (S) + 1 Completion status (S) + 2 (S) + 3 (S) + 4 (S) + 5 (S) + 6 (S) + 7 (S) + 8 (S) + 9 (S) + 10 (S) + 11 (S) + 12 (S) + 13 (S) + 14 (S) + 15 (S) + 16 (S) + 17 (S) + 18 (S) + 19 (S) + 20 (S) + 21 (S) + 22 (S) + 23 (S) + 24 (S) + 25 (S) + 26 (S) + 27 (S) + 28 (S) + 29 (S) + 30 (S) + 31 (S) + 32 (S) + 33 (S) + 34 (S) + 35 3 of Q68DAVN, Q68DAV Set data — Stores the status when the instruction is complete.
APPENDIX MELSEC-Q Control data Device (S) Item System area (S) + 1 Completion status (S) + 2 (S) + 3 (S) + 4 (S) + 5 (S) + 6 (S) + 7 (S) + 8 (S) + 9 (S) + 10 (S) + 11 (S) + 12 (S) + 13 (S) + 14 (S) + 15 (S) + 16 (S) + 17 (S) + 18 (S) + 19 (S) + 20 (S) + 21 (S) + 22 (S) + 23 (S) + 24 (S) + 25 (S) + 26 (S) + 27 (S) + 28 (S) + 29 (S) + 30 (S) + 31 (S) + 32 (S) + 33 (S) + 34 (S) + 35 4 of Q68DAIN, Q68DAI Set data — Stores the status when the instruction is complete.
APPENDIX MELSEC-Q (1) Functions (a) Reads the offset/gain values of the user range setting of the D/A converter module to the CPU. (b) There are two types of interlock signals for the G.OGLOAD instruction: the completion device (D) and the status display device at completion (D) + 1. 1) Completion device Turns ON in the END processing of the scan where the G.OGLOAD instruction is completed, and turns OFF in the next END processing.
APPENDIX MELSEC-Q Appendix 2.3 OGSTOR Restores the offset/gain values of the user range setting stored in the CPU to the D/A converter module. Usable devices Internal device (System, user) Bit Word Set data (S) MELSECNET/H Direct J \ Bit Word File register — (D) [Instruction symbol] [Execution condition] Special function Index module U \G register Z Constant Other K, H S — — — — — — — — Command G.OGSTOR G.OGSTOR Un (S) (D) GP.OGSTOR Un (S) (D) Command GP.
APPENDIX MELSEC-Q Control data of Q64DAN, Q64DA Device Item (S) System area (S) + 1 Completion status (S) + 2 Pass data classification setting (S) + 3 (S) + 4 (S) + 5 (S) + 6 (S) + 7 (S) + 8 (S) + 9 (S) + 10 (S) + 11 (S) + 12 (S) + 13 (S) + 14 (S) + 15 (S) + 16 (S) + 17 (S) + 18 (S) + 19 App - 13 System area CH1 Industrial shipment settings offset value CH1 Industrial shipment settings gain value CH2 Industrial shipment settings offset value CH2 Industrial shipment settings gain value CH3 Indust
APPENDIX MELSEC-Q Control data of Q68DAVN, Q68DAV Device Item (S) System area (S) + 1 Completion status (S) + 2 (S) + 3 (S) + 4 (S) + 5 (S) + 6 (S) + 7 (S) + 8 (S) + 9 (S) + 10 (S) + 11 (S) + 12 (S) + 13 (S) + 14 (S) + 15 (S) + 16 (S) + 17 (S) + 18 (S) + 19 (S) + 20 (S) + 21 (S) + 22 (S) + 23 (S) + 24 (S) + 25 (S) + 26 (S) + 27 (S) + 28 (S) + 29 (S) + 30 (S) + 31 (S) + 32 (S) + 33 (S) + 34 (S) + 35 App - 14 Set data — Stores the status when the instruction is complete.
APPENDIX MELSEC-Q Control data of Q68DAIN, Q68DAI Device Item (S) System area (S) + 1 Completion status (S) + 2 (S) + 3 (S) + 4 (S) + 5 (S) + 6 (S) + 7 (S) + 8 (S) + 9 (S) + 10 (S) + 11 (S) + 12 (S) + 13 (S) + 14 (S) + 15 (S) + 16 (S) + 17 (S) + 18 (S) + 19 (S) + 20 (S) + 21 (S) + 22 (S) + 23 (S) + 24 (S) + 25 (S) + 26 (S) + 27 (S) + 28 (S) + 29 (S) + 30 (S) + 31 (S) + 32 (S) + 33 (S) + 34 (S) + 35 App - 15 Set data — Stores the status when the instruction is complete.
APPENDIX MELSEC-Q (1) Functions (a) Restores the offset/gain values of the user range setting stored in the CPU to the D/A converter module. (b) There are two types of interlock signals for the G.OGSTOR instruction: the completion device (D) and the status display device at completion (D) + 1. 1) Completion device Turns ON in the END processing of the scan where the G.OGSTOR instruction is completed, and turns OFF in the next END processing.
APPENDIX MELSEC-Q (3) Program example The following program is designed to read the offset/gain values of the D/A converter module mounted in the position of I/O number X/Y0 to X/YF when M11 is turned ON. Control data setting Offset/gain value restoration Dedicated instruction (GP.
APPENDIX MELSEC-Q Appendix 3 External Dimension Diagram (1) Q62DAN Q62DAN RUN ERROR V+ C COM H 1 I+ 1 2 3 98 (3.86) 4 V+ C COM H 2 I+ 5 6 7 8 9 10 11 12 13 14 15 16 17 18 90 (3.54) 112 (4.41) 27.4 (1.08) (2) Q64DAN Q64DAN RUN ERROR V+ C H COM 1 I+ 1 2 3 98 (3.86) 4 V+ C H COM 2 I+ 5 6 7 8 V+ C H COM 3 I+ 9 10 11 12 V+ C H COM 4 I+ 13 14 15 16 17 18 90 (3.54) 112 (4.41) 27.4 (1.
APPENDIX MELSEC-Q (3) Q68DAVN Q68DAVN RUN ERROR V+ C H 1 COM 1 V+ C H 2 COM 3 V+ 98 (3.86) C H 3 COM V+ C H 4 COM V+ C H 5 COM 2 4 5 6 7 8 9 10 V+ C H 6 COM 11 V+ C H 7 COM 13 V+ C H 8 COM 15 12 14 16 17 9.5 (0.37) 18 M3 screw (Accessory) M3 screw (Accessory) FG terminal L-shaped metal fitting (Accessory) 63 (2.48) 71.5 (2.81) 90 (3.54) 112 (4.41) 27.4 (1.08) (4) Q68DAIN Q68DAIN RUN 98 (3.
APPENDIX MELSEC-Q (5) Q62DA Q62DA RUN ERROR 1 2 3 4 5 6 7 V+ C COM H I+ 1 98 (3.86) V+ C COM H 2 I+ IN 24VDC (FG) D/A 0-±10V 0-20mA 90 (3.54) 8 9 10 11 12 13 14 15 16 17 18 27.4 (1.08) (6) Q64DA Q64DA RUN ERROR V+ C COM H I+ 1 98 (3.86) V+ C H 2 COM I+ V+ C COM H I+ 3 V+ C H 4 COM I+ IN 24VDC (FG) D/A 0-±10V 0-20mA 90 (3.54) 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 27.4 (1.
APPENDIX MELSEC-Q (7) Q68DAV Q68DAV RUN ERROR V+ C H COM 1 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 V+ C H COM 2 98 (3.86) V+ C H COM 3 V+ C H COM 4 V+ C H COM 5 V+ C H COM 6 V+ C H COM 7 V+ C H COM 8 IN 24VDC D/A 0-± 10V 3.7 (0.15) FG 27.4 (1.08) 2 (0.08) 90 (3.54) 6.7 (0.26) FG terminal L-shaped metal fitting 7.4 (0.29) 8.5 (0.33) 10.5 (0.41) FG terminal screw (M3 screw) (8) Q68DAI Q68DAI RUN ERROR I+ C H COM 1 I+ C H COM 2 98 (3.
APPENDIX MELSEC-Q MEMO App - 22 App - 22
INDEX Ind [A] Absolute maximum output ....................... 3-1, 3-2 Accuracy..........................................3-1, 3-2, 3-10 Analog output ........................................... 3-1, 3-2 Analog output HOLD/CLEAR function... 3-12, 4-8 Analog output test during PLC CPU STOP ... 3-13 [B] Buffer memory............................................... 3-19 [C] Channel change completed flag ................... 3-16 Channel change request............................... 3-18 CH digital values .....
[O] Ind OFFGAN......................................................App-5 Offset value ..................................................... 3-3 Offset/gain setting mode flag ........................ 3-16 Offset/gain setting mode ............................... 3-27 Offset/gain settings..................... 4-11, 5-17, 5-19 OGLOAD .....................................................App-7 OGSTOR ...................................................App-12 Online module change ................................
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.
Microsoft, Windows, Windows NT are registered trademarks of Microsoft Corporation in the United States and other countries. Pentium is a registered trademark of Intel Corporation in the United States and other countries. Other company and product names herein are either trademarks or registered trademarks of their respective owners. SPREAD Copyright (c) 1996 FarPoint Technologies, Inc.
Digital-Analog Converter Module U User's Manual Digital-Analog Converter Module User's Manual Digital-Analog Converter Module User's Manual MODEL Q-D/A-U-S-E MODEL CODE 13JR02 SH(NA)-080054-L(0511)MEE HEAD OFFICE : 1-8-12, OFFICE TOWER Z 14F HARUMI CHUO-KU 104-6212,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.