MITSUBISHI ELECTRIC MELSEC System Q Programmable Logic Controllers User's Manual Q64AD-GH, Q62AD-DGH Channel Isolated High-Res. Analog-Digital Converter Modules Art. no.
• 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 PLC system, please read the user's manual for the CPU module to use.
[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. • Switch all phases of the external power supply off when 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 May, 2002 Feb., 2003 May, 2003 Manual Number Revision SH (NA)-080277-A First edition SH (NA)-080277-B Correction Safety precautions, Section 2.1, 3.4.1, 3.4.23, 4.4.2, 5.1, 5.5.2, 5.6.1, 5.6.3, 6.3.2, 6.5.2, 7.3.4, 7.3.6, 7.4, Appendix 1.2, Appendix 1.3 SH (NA)-080277-C Addition Section 2.3 Correction Section 2.2, 3.4.1, 3.4.22, 3.4.23, 4.5, 4.6, 4.6.1, 4.6.2, 5.3.1 May, 2004 SH (NA)-080277-D Correction Section 2.
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.5 Averaging process specification (buffer memory address 9: Un\G9)............................................. 3-38 3.4.6 A/D conversion completed flag (buffer memory address 10: Un\G10) .......................................... 3-39 3.4.7 CH digital output value (16bit) (buffer memory addresses 11 to 14: Un\G11 to Un\G14).......... 3-39 3.4.8 Write data error codes (buffer memory address 19: Un\G19) ........................................................ 3-40 3.4.
5.3 Explanation of Utility Package Operation............................................................................................... 5- 5 5.3.1 How to perform common utility package operations....................................................................... 5- 5 5.3.2 Operation overview .......................................................................................................................... 5- 8 5.3.3 Starting the intelligent function module utility ............................
7.3.6 When user range setting is used and initial setting was made with sequence program (other system is unavailable) ........................................................................................................... 7-30 7.4 Range Reference Table.......................................................................................................................... 7-35 7.5 Precautions for Online Module Change ......................................................................................
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.
Conformation to the EMC Directive and Low Voltage Instruction For details on making Mitsubishi PLC conform to the EMC directive and low voltage instruction when installing it in your product, please see Chapter 3, "EMC Directive and Low Voltage Instruction" of the User's Manual (Hardware) of the PLC CPU to use. The CE logo is printed on the rating plate on the main body of the PLC that conforms to the EMC directive and low voltage instruction.
About the Generic Terms and Abbreviations Unless otherwise specified, this manual uses the following general terms and abbreviations. Abbreviation/general terms Description of the abbreviation/general terms A/D converter module Generic term for Q64AD-GH and Q62AD-DGH DOS/V personal computer IBM PC/AT or compatible computer with DOS/V. GX Developer GX Configurator-AD QCPU (Q mode) ® Generic product name of the product types SWnD5C-GPPW-E, SWnD5C-GPPW-EA, SWnD5C-GPPW-EV and SWnD5C-GPPW-EVA.
Product Structure The product structure of this product is given in the table below.
1 OVERVIEW MELSEC-Q 1 OVERVIEW This User's Manual describes the specifications, handling and programming methods for the type Q64AD-GH channel isolated high resolution analog-digital converter module (hereinafter referred to as the Q64AD-GH) and type Q62AD-DGH channel isolated high resolution analog-digital converter module (with signal conditioning function) (hereinafter referred to as the Q62AD-DGH), which are used with the MELSEC-Q series CPU modules.
1 OVERVIEW MELSEC-Q (7) Changing the input range The input range 3 can easily be set from the GX Developer. 3 Input range refers to the type of offset/gain settings. The most frequently used range is set as the default but the user can also set the offset/gain. 1 (8) A/D conversion system There are the following five A/D conversion systems.
1 OVERVIEW MELSEC-Q (12) Offset/gain setting GX Configurator-AD, dedicated instruction (G. OFFGAN) or mode switching setting allows a shift to the offset/gain setting mode easily. (13) Easy settings using the utility package A utility package is sold separately (GX Configurator-AD). The utility package is not a required item, however, it is useful for on-screen setting of the intelligent function module parameters (initial setting/auto refresh setting).
2 SYSTEM CONFIGURATION MELSEC-Q 2 SYSTEM CONFIGURATION 2.1 Applicable Systems This section describes the system configuration for the A/D converter module. 2 (1) Applicable module and the number of modules that can be installed The following are the CPU module and network module (for remote I/O stations) in which the A/D converter module can be installed and the number of modules that can be installed.
2 SYSTEM CONFIGURATION MELSEC-Q (4) Compatibility with online module change To make an online module change, use the A/D converter module of function version C or later. POINT The A/D converter module does not have the products of function versions A and B. The products of function version C include the functions of the products of function versions A and B.
2 SYSTEM CONFIGURATION MELSEC-Q 2.2 How to Check the Function Version, Serial Number, Product Information and Software Version This section describes how to check the function version, serial number, product information of the A/D converter module and the software version of GX ConfiguratorAD.
2 SYSTEM CONFIGURATION MELSEC-Q REMARK The version indication for the GX Configurator-AD has been changed as shown below from the SW0D5C-QADU-E 50F upgrade product. Previous product Upgrade and subsequent versions GX Configurator-AD Version 1.10L SW0D5C-QADU-E 50F 2.3 Cautions for Power Supply from Q61P-A1/A2 to Q64AD-GH When using the Q61P-A1/A2 and Q64AD-GH in combination, it is required to use them within the range in Table 2.1.
3 SPECIFICATIONS MELSEC-Q 3 SPECIFICATIONS The description of this chapter and later is based on the Q64AD-GH. 3.1 Performance Specifications 3.1.1 Performance specifications list Table 3.1 shows the performance specifications of the A/D converter modules. Table 3.
3 SPECIFICATIONS MELSEC-Q Table 3.
3 SPECIFICATIONS MELSEC-Q REMARK See the user’s manual for the CPU module being used for general specifications of the A/D converter modules.
3 SPECIFICATIONS MELSEC-Q 3.1.2 I/O conversion characteristic The I/O conversion characteristic represents the angle formed by a straight line connecting the "offset value" and "gain value" when the analog signals (voltage or current input) from outside the PLC are converted to digital values. Offset value The offset value denotes the analog input value (voltage or current) that makes the digital output value 0.
3 SPECIFICATIONS MELSEC-Q (1) Input characteristics of Q64AD-GH (a) Voltage input characteristic Fig. 3.1 shows a graph of the voltage input characteristic. Analog input practical range 65535(32767) 64000(32000) Digital output value 3)4) 2) 1) 0 -1536(-768) 1 -64000(-32000) -65536(-32768) -15 -10 0 5 -5 Analog input voltage (V) 10 15 The value within parentheses indicates the digital output value (16 bits).
3 SPECIFICATIONS MELSEC-Q POINT (1) Set within the analog input range and digital output range for each input range. If these ranges are exceeded, the maximum resolution and accuracy may not fall within the performance specifications. (Avoid use in the dotted area of Fig. 3.1.) (2) Do not input an analog input voltage of more than ± 15 V. The input elements may be damaged. (3) 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 (b) Current input characteristic Fig. 3.2 shows a graph of the current input characteristic. Analog input practical range Digital output value 65535(32767) 64000(32000) 1) 2) 0 -1536(-768) 4 -10 0 10 20 30 Analog input voltage (mA) The value within parentheses indicates the digital output value (16 bits).
3 SPECIFICATIONS MELSEC-Q (2) Input characteristic of Q62AD-DGH Fig. 3.3 shows a graph of the Q62AD-DGH input characteristic. Analog input practical range 65535(32767) 64000(32000) Digital output value 1) 0 -1536(-768) 4 -10 0 Analog input range setting Offset value Gain value 1) 4 to 20mA 4mA 20mA — User range setting Number 1 1 10 20 24 30 Analog input current (mA) The value within parentheses indicates the digital output value (16 bits).
3 SPECIFICATIONS MELSEC-Q 3.1.3 Accuracy The reference accuracy is the accuracy at the ambient temperature for offset/gain setting. The temperature coefficient is the accuracy per temperature variation of 1°C. The reference accuracy is the accuracy relative to the maximum value of the digital output value.
3 SPECIFICATIONS MELSEC-Q 3.2 Function List Table 3.3 lists the functions of the A/D converter modules. Table 3.3 Function list Item Function Reference section (1) Specifies whether to enable or disable the A/D conversion for each A/D conversion enable/disable setting channel. (2) The conversion speed is 10ms regardless of the number of conversion Section 3.4.2 enabled channels.
3 SPECIFICATIONS MELSEC-Q 3.2.1 A/D conversion methods (1) Sampling processing A/D conversion is performed successively for the analog input value, and the converted digital output values are stored in the buffer memory. The conversion speed is 10ms regardless of the number of conversion enabled channels.
3 SPECIFICATIONS MELSEC-Q (3) Primary delay filter A digital value whose transient noise has been smoothed is output according to the preset time constant. The degree of smoothing varies with the time constant setting. The relational expression of the time constant and digital output value is indicated below.
3 SPECIFICATIONS MELSEC-Q 3.2.2 Maximum and minimum values hold function (1) The maximum and minimum values are held in the buffer memory channel by channel. (2) The maximum and minimum values are cleared to 0 when the maximum value/minimum value reset request (YD) or operating condition setting request (Y9) is turned ON, and new maximum and minimum values are stored when conversion is started.
3 SPECIFICATIONS MELSEC-Q (5) This function is executed at every sampling processing. (6) Perform the following procedure to use this function. 1) Set the input signal error detection setting value for the corresponding channel. 2) Enable the A/D conversion of the corresponding channel. 3) Enable the input signal error detection of the corresponding channel. 4) Turn ON the operating condition setting request (Y9). 3.2.
3 SPECIFICATIONS MELSEC-Q (2) Rate alarm (a) If the digital output value sampled at intervals of the rate alarm warning detection period indicated a varying rate equal to or greater than the rate alarm upper limit value or a varying rate equal to or less than the rate alarm lower limit value, the warning output flag (buffer memory address 48: Un\G48) and warning output signal (X8) turn ON and the ALM LED is lit to indicate the warning of the rate alarm.
3 SPECIFICATIONS MELSEC-Q (c) Set the rate alarm upper limit value/lower limit value in 0.1%/s increments relative to the maximum value (64000) of the digital output value. The setting range is -65536 to 65535 (-6553.6% to 6553.5%). (d) The setting range of the rate alarm warning detection period is 10 to 5000ms. When the period is set to 5000ms, the digital values are compared at intervals of 5 seconds to detect the varying rate.
3 SPECIFICATIONS MELSEC-Q 2) Example of setting the rate alarm upper limit value/lower limit value when it is desired to watch that the digital output value is at the fall rate within the specified range Varying rate (%) of digital output value 0 Rate alarm upper limit value -20% -30% Rate alarm lower limit value Time 3) Example of setting the rate alarm upper limit value/lower limit value when it is desired to watch that the digital output value is at the varying rate within the specified range Varyin
3 SPECIFICATIONS MELSEC-Q 3.2.5 A/D conversion starting time setting function (Q62AD-DGH only) (1) As the A/D conversion starting time, set the "time necessary from when the used 2-wire transmitter powers on until its output stabilizes". This setting allows A/D conversion processing to be started as soon as the output of the 2-wire transmitter stabilizes. (2) Set the time to the CH A/D conversion starting time setting (buffer memory addresses 5, 6: Un\G5, Un\G6).
3 SPECIFICATIONS MELSEC-Q 3.3 I/O Signals for the PLC CPU 3.3.1 List of I/O signals Table 3.4 lists the I/O signals of the Q64AD-GH. Table 3.5 lists the I/O signals of the Q62AD-DGH. Note that I/O numbers (X/Y) shown in this chapter and thereafter are the values when the start I/O number for the A/D converter module is set to 0. Table 3.4 List of I/O signal (Q64AD-GH) Signal direction CPU Module Device No. (Input) X0 Q64AD-GH Signal name Signal direction CPU Module Device No.
3 SPECIFICATIONS MELSEC-Q Table 3.5 List of I/O signal (Q62AD-DGH) Signal direction CPU Module Device No. (Input) X0 Q62AD-DGH Signal name Signal direction CPU Module Device No.
3 SPECIFICATIONS MELSEC-Q 3.3.2 Details of I/O signals I/O signals for the A/D converter modules are explained in detail below. (1) Input signals Device No. Signal Name Description (1) When the PLC CPU is powered on or reset, this signal turns on once the preparation for A/D conversion has been completed, and A/D conversion processing is then performed. X0 Module ready (2) In either of the following states, the Module ready (X0) turns OFF.
3 SPECIFICATIONS Device No. MELSEC-Q Signal Name Description (1) This signal is used as an interlock condition to turn ON/OFF the Operating condition setting request (Y9) when any of the following settings has been changed.
3 SPECIFICATIONS Device No. MELSEC-Q Signal Name Description [In offset/gain setting mode] (1) This signal is used as an interlock condition to turn ON/OFF the User range writing request (YA) when the value at completion of offset/gain setting adjustment is registered. (2) See Section 4.6 regarding the offset/gain settings.
3 SPECIFICATIONS Device No. MELSEC-Q Signal Name Description (1) This is used as an interlock condition for setting the channel change request (YB) to ON/OFF when changing the channel for which the offset/gain settings are to be performed. (2) See Section 4.6 regarding the offset/gain settings.
3 SPECIFICATIONS Device No. MELSEC-Q Signal Name Description (1) This signal is used as an interlock condition to turn ON/OFF the offset/gain change request (YC) when the offset/gain value is changed. (2) Refer to Section 4.6 for the offset/gain setting.
3 SPECIFICATIONS MELSEC-Q (2) Output signals Device No. Signal Name Description (1) Turn this signal ON when making any of the following settings valid.
3 SPECIFICATIONS MELSEC-Q POINT When the User range writing request (YA) is turned ON in the normal mode with A/D conversion enabled, the A/D converter module restores the user range.
3 SPECIFICATIONS MELSEC-Q 3.4 Buffer Memory 3.4.1 Buffer memory assignment This section describes the buffer memory assignments of the A/D converter modules. (1) Buffer memory assignment of Q64AD-GH Table 3.
3 SPECIFICATIONS MELSEC-Q Table 3.
3 SPECIFICATIONS MELSEC-Q Table 3.
3 SPECIFICATIONS MELSEC-Q Table 3.
3 SPECIFICATIONS MELSEC-Q Table 3.
3 SPECIFICATIONS MELSEC-Q (2) Buffer memory assignment of Q62AD-DGH Table 3.
3 SPECIFICATIONS MELSEC-Q Table 3.
3 SPECIFICATIONS MELSEC-Q Table 3.
3 SPECIFICATIONS MELSEC-Q 3.4.2 A/D conversion enable/disable setting (buffer memory address 0: Un\G0) (1) Sets whether the output of an A/D conversion value is enabled or disabled for each channel. For the Q62AD-DGH, the A/D conversion enable/disable setting also acts as the ON/OFF setting of the power supply to the 2-wire transmitter. (2) It is necessary to set the operating condition setting request (Y9) to ON/OFF in order to enable the A/D conversion enable/disable setting. (See Section 3.3.2.
3 SPECIFICATIONS MELSEC-Q 3.4.3 CH Average time/Average number of times/Move average/Time constant settings (buffer memory addresses 1 to 4: Un\G1 to Un\G4) (1) Set the average time, average count, move average count or primary delay filter time constant for each channel specified for averaging processing. (2) To make the setting valid, the operating condition setting request (Y9) must be turned ON/OFF. (Refer to Section 3.3.2.) (3) 0 is set as the default. (4) The setting ranges are as follows.
3 SPECIFICATIONS MELSEC-Q 3.4.5 Averaging process specification (buffer memory address 9: Un\G9) (1) When selecting sampling processing or averaging processing, write the setting to buffer memory address 9 (Un\G9). (2) When you selected averaging processing, select the average time, average count, move average or primary delay filter. (3) To make the setting valid, the operating condition setting request (Y9) must be turned ON/OFF. (Refer to Section 3.3.2.
3 SPECIFICATIONS MELSEC-Q 3.4.6 A/D conversion completed flag (buffer memory address 10: Un\G10) (1) When A/D conversion for the channels enabled for conversion is complete, the A/D conversion completed flag is set to 1. The A/D conversion completed flag (XE) is set to ON when the conversion for all A/D conversion enabled channels is complete. (2) When the operating condition setting request (Y9) is set to ON, the flag returns to the default setting of 0 and changes to 1 when A/D conversion is complete.
3 SPECIFICATIONS MELSEC-Q 3.4.8 Write data error codes (buffer memory address 19: Un\G19) (1) The error codes generated by the A/D converter modules are stored here. (2) See Section 8.1 for the details of the error codes. 3.4.9 Setting range (buffer memory address 20: Un\G20) (1) These areas are used to confirm the setting ranges of the A/D converter module. (2) The setting value is stored into the buffer memory address 20 (Un\G20).
3 SPECIFICATIONS MELSEC-Q 3.4.10 Offset/gain setting mode (buffer memory addresses 22, 23: Un\G22, Un\G23) (1) Specifies the channel to be adjusted for the offset/gain settings. (2) The channel for which the offset is to be adjusted is specified in buffer memory address 22 (Un\G22) and the channel for which the gain is to be adjusted is specified in buffer memory address 23 (Un\G23).
3 SPECIFICATIONS MELSEC-Q 3.4.12 Input signal error detection/warning output settings (buffer memory address 47: Un\G47) (1) This area is used to set whether the input signal error detection/process alarm/rate alarm warning will be output or stopped on a channel basis. (2) To make the input signal error detection/warning output settings valid, the operating condition setting request (Y9) must be turned ON/OFF. (Refer to Section 3.3.2.) (3) By default, all channels are set to disable.
3 SPECIFICATIONS MELSEC-Q 3.4.14 Input signal error detection flag (buffer memory address 49: Un\G49) (1) If the analog input value detected falls outside the setting range set to the CH input signal error detection setting value (buffer memory addresses 138 to 141: Un\G138 to Un\G141), the Input signal error detection flag for the corresponding channel turns to 1.
3 SPECIFICATIONS MELSEC-Q 3.4.16 CH maximum value/minimum value storage area (32bit) (buffer memory addresses 62 to 77: Un\G62 to Un\G77) (1) The maximum value and minimum value of the digital value converted on a channel basis are stored in 32-bit signed binary. (The data part is 16 bits long.
3 SPECIFICATIONS MELSEC-Q 3.4.18 CH rate alarm warning detection period (buffer memory addresses 118 to 121: Un\G118 to Un\G121) (1) Set the period, at which the varying rate of the digital output value will be checked, on a channel basis. (2) To make the setting valid, the operating condition setting request (Y9) must be turned ON/OFF. (Refer to Section 3.3.2.) (3) The setting range is 10 to 5000ms.
3 SPECIFICATIONS MELSEC-Q 3.4.19 CH rate alarm upper/lower limit value (buffer memory addresses 122 to 137: Un\G122 to Un\G137) (1) Set the varying rate range of the digital output value on a channel basis. (2) To make the setting valid, the operating condition setting request (Y9) must be turned ON/OFF. (Refer to Section 3.3.2.) (3) The setting range is -65536 to 65535 (-6553.6 to 6553.5%). Set the value in 0.1%/s increments.
3 SPECIFICATIONS MELSEC-Q 3.4.20 CH input signal error detection setting value (buffer memory addresses 138 to 141: Un\G138 to Un\G141) (1) Set the value, at which the error of the entered analog value will be detected, on a channel basis. (2) To make the setting valid, the Operating condition setting request (Y9) must be turned ON/OFF. (Refer to Section 3.3.2.) (3) The setting range is 0 to 250 (0 to 25.0%). Set the value in 0.1% increments.
3 SPECIFICATIONS MELSEC-Q 3.4.21 Mode switching setting (buffer memory addresses 158, 159: Un\G158, Un\G159) (1) Set the values of the mode desired to be switched to. (2) After setting the values, turning the operating 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.23 Industrial shipment settings and user range settings offset/gain value (buffer memory addresses 202 to 233: Un\G202 to Un\G233) (1) Areas used to restore the user range settings offset/gain values when online module change is made. Refer to chapter 7 for details of online module change. (2) When the offset/gain values of the user range setting are restored, the used data are stored.
4 SETUP AND PROCEDURES BEFORE OPERATION MELSEC-Q 4 SETUP AND PROCEDURES BEFORE OPERATION 4.1 Handling Precautions (1) Do not drop the module or subject it to heavy impact. (2) Do not remove the PCB of the module from its case. Doing so may cause the module to fail. (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 A/D converter module in the specified slot. Wiring Wire external devices to the A/D converter module. Intelligent function module switch settings Perform settings using GX Developer (see Section 4.5).
4 SETUP AND PROCEDURES BEFORE OPERATION MELSEC-Q 4.3 Part Identification Nomenclature The name of each part of the A/D converter module is listed below. Q64AD-GH 1) 3) Q64AD-GH RUN Q62AD-DGH 1) 2) CH1 1 V+ P I/CHK+ 2 CHK- 1 2 C VH I+ 1 3 3 4 4 SLD 5 V+ C VH I+ 2 SLD V+ 6 5 4) 6 7 7 8 CH2 9 8 P I/CHK+ 9 10 C VH I+ 3 10 11 11 SLD 12 12 13 13 V+ C VH I+ 4 SLD CHK- 14 14 IN 24VDC 15 16 A/D -10 10V 0 20mA 17 17 (FG) 18 1) RUN LED 2) ERR.
4 SETUP AND PROCEDURES BEFORE OPERATION MELSEC-Q Signal name Terminal number Q64AD-GH 1 Empty 2 Empty P I/CHK + CH1 3 V+ 4 V– Empty I+ Empty 5 CH1 CHK – 6 SLD Empty 7 V+ Empty V– Empty 8 9 CH2 I+ 10 SLD 11 V+ 12 P CH2 I/CHK + CHK – V– Empty I+ Empty 14 SLD Empty 15 V+ Empty 16 V– 24V I+ 24G SLD FG 13 17 18 P I/CHK + CHK – 4-4 Q62AD-DGH CH3 CH4 : Power supply for 2-wire transmitter : 2-wire transmitter current input/check (+) terminal : Check (–)
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 A/D 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) Q64AD-GH (a) For voltage input Signal source 0 to 10V *2 *1 500k + 500k - V+ I+ GND VShielded SLD *4 (b) For current input Signal source 0 to 20V *1 *2 *3 500k + 500k - V+ I+ 250 GND VShielded SLD *4 *1 Use a 2-core twisted shielded wire for the power wire. *2 Shows input resistance. *3 For current input, be sure to connect to (V+) and (I+) terminals. *4 Be sure to ground the shield wire of each channel.
4 SETUP AND PROCEDURES BEFORE OPERATION MELSEC-Q (2) Q62AD-DGH *3 (4 to 20mA) + 2-wire transmitter - *2 Current limiting circuit Transmitter power supply 250 Insulating circuit P V+ V V- I/CHK+ CHK- 24V 24G *1 Shielded *5 DC24V 24V 24V 24G Filter FG 24G *4 *1 Use a 2-core twisted shielded wire for the power wire. *2 Shows input resistance. *3 To connect with the 2-wire transmitter, be sure to connect to P and I/CHK+. *4 Always use a ground.
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 for 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 (2) Operating procedure Start the settings with GX Developer I/O assignment setting screen. (a) I/O assignment setting screen Set the following for the slot in which the A/D converter module is mounted. The type setting is required; set other items as needed. Type : Select "intelli." Model name : Enter the module model name. Points : Select 16 points. Start : Enter the start I/O number for the A/D converter module.
4 SETUP AND PROCEDURES BEFORE OPERATION MELSEC-Q 4.6 Offset/Gain Settings When using the user range setting, make the offset/gain setting according to the operation indicated in Section 4.6.1 or Section 4.6.2. When the industrial shipment setting is used, offset/gain setting is not necessary. If the utility package is installed, perform the offset/gain settings according to the procedure described in Section 5.6.2. 4.6.
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.1 (2), (a) • Setting made to mode switching setting (buffer memory addresses 158, 159: Un\G158, Un\G159) and turning the operation condition setting request (Y9) from OFF to ON ...................................................Refer to Section 4.6.
4 SETUP AND PROCEDURES BEFORE OPERATION MELSEC-Q (a) When switching the mode using the dedicated instruction (G.OFFGAN) The following program switches to the offset/gain setting mode with the dedicated instruction (G.OFFGAN), changes the channel where offset/gain setting will be made, writes the offset/gain values to the Q64AD-GH, and then switches to the normal mode. Switches to offset/gain setting mode Stores setting of dedicated instruction (G.OFFGAN) into D1. Dedicated instruction (G.
4 SETUP AND PROCEDURES BEFORE OPERATION MELSEC-Q (b) When switching the mode using the setting of the mode switching setting (buffer memory addresses 158, 159: Un\G158, Un\G159) and operation condition setting request (Y9) Switches to offset/gain setting mode Sets 4144H to buffer memory address 158. Sets 964H to buffer memory address 159. Turns ON operation condition setting request (Y9).
4 SETUP AND PROCEDURES BEFORE OPERATION MELSEC-Q 4.6.2 Offset/Gain Settings (Q62AD-DGH) (1) Offset/gain setting procedure Start Turn the channel change request (YB) to ON. 2 2) Switch to the offset/gain setting mode. 1 Verify that the mode is set to offset/gain setting and the RUN LED is flashing. 1) Set the offset setting channel in buffer memory address 22 (Un\G22). Set buffer memory address 23 (Un\G23) to 0. Turn the channel change request (YB) to ON.
4 SETUP AND PROCEDURES BEFORE OPERATION MELSEC-Q 1 The mode switching (normal mode to offset/gain setting mode to normal mode) method is given below. • Dedicated instruction (G.OFFGAN) ............. Refer to Section 4.6.2 (2), (a) • Setting made to mode switching setting (buffer memory addresses 158, 159: Un\G158, Un\G159) and turning the operation condition setting request (Y9) from OFF to ON ............................................................Refer to Section 4.6.
4 SETUP AND PROCEDURES BEFORE OPERATION MELSEC-Q (2) Program examples The program in the dotted area of (a) is common to (a), (b) and (c). In this example, the I/O signals for the Q62AD-DGH are X/Y0 to X/YF. • Channel selection .....................................................................................M0 • Offset setting.............................................................................................M1 • Gain setting....................................................................
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 A/D 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-AD) MELSEC-Q 5 UTILITY PACKAGE (GX Configurator-AD) 5.1 Utility Package Functions Table 5.1 shows an overview of the utility package functions. Table 5.1 Utility package (GX Configurator-AD) function list Item Description Reference section (1) Sets the following items that require initial setting.
5 UTILITY PACKAGE (GX Configurator-AD) MELSEC-Q 5.2 Installing and Uninstalling the Utility Package See "Method of installing the MELSOFT Series" attached with the utility package regarding the install and uninstall operation for the utility package. 5.2.
5 UTILITY PACKAGE (GX Configurator-AD) MELSEC-Q (6) About the number of parameters that can be set in GX Configurator-AD 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-AD) MELSEC-Q 5.2.2 Operating environment The operating environment of the personal computer where the GX Configurator-AD is used is explained. Item Peripheral devices 1 Installation (Add-in) destination Add-in to GX Developer Version 4 (English version) or later 2 ® Computer main unit Personal computer on which Windows operates. CPU Refer to the following table "Used operating system and performance required for Required memory personal computer".
5 UTILITY PACKAGE (GX Configurator-AD) MELSEC-Q 5.3 Explanation of Utility Package Operation 5.3.1 How to perform common utility package operations (1) Available control keys Special keys that can be used during operation of the utility package and their applications are shown in the table below. Name of key 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-AD) MELSEC-Q (2) Data to be created with the utility package The data and files shown below that are created with the utility package are also processed using GX Developer operation. Figure 5.1 shows which operation processes which data or file. (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-AD) 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-AD 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-AD) MELSEC-Q 5.3.2 Operation overview Intilligent function module parameter setting module select screen GX Developer screen [Tools] – [Intelligent function utility]– [Start] See Section 5.3.3 1) Initial setting Initial setting screen Auto refresh Auto refresh setting screen See Section 5.5 See Section 5.4 CH CH Initial setting Initial setting screen See Section 5.
5 UTILITY PACKAGE (GX Configurator-AD) 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.", then select "Module type" and "Module model name". Monitor/test screen See Section 5.
5 UTILITY PACKAGE (GX Configurator-AD) MELSEC-Q 5.3.3 Starting the intelligent function module utility [Purpose of setting] Start the intelligent function module utility from GX Developer, and display the module selection screen for the intelligent function module utility parameter setting. The screens for performing initial setting, automatic refresh setting and monitor/test module selection (selecting the module for which monitoring/testing is to be performed) can be started from this screen.
5 UTILITY PACKAGE (GX Configurator-AD) 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 Deletes the initial setting and automatic refresh setting for the Delete selected module.
5 UTILITY PACKAGE (GX Configurator-AD) MELSEC-Q POINT (1) Saving the intelligent function module parameter files Since files cannot be saved using the GX Developer project save operation, save the files using the module selection screen for intelligent function module parameter setting described above.
5 UTILITY PACKAGE (GX Configurator-AD) MELSEC-Q 5.
5 UTILITY PACKAGE (GX Configurator-AD) MELSEC-Q POINT Initial settings are stored in the intelligent function module parameters. After being written to the CPU module, the initial setting is made effective by either (1) or (2). (1) Cycle the RUN/STOP switch of the CPU module: STOP RUN. RUN STOP (2) With the RUN/STOP switch set to RUN, turn off and then on the power or reset the CPU module.
5 UTILITY PACKAGE (GX Configurator-AD) MELSEC-Q 5.5 Automatic Refresh Setting [Purpose of setting] Sets the buffer memory for the A/D converter module to be automatically refreshed. [Startup procedure] "Start I/O No. " "Module type" "Module model name" Auto refresh [Setting screen] [Explanation of items] (1) Contents of the screen display Model side Buffer size : Displays the size of the buffer memory for the setting item that can be transferred (fixed at one word).
5 UTILITY PACKAGE (GX Configurator-AD) MELSEC-Q (2) Explanation of command buttons End setup A file containing the screen contents is created in text file format. Confirms the setting data and ends the operation. Cancel Cancels the setting data and ends the operation. Make text file POINT The automatic refresh settings are stored in the intelligent function module parameters.
5 UTILITY PACKAGE (GX Configurator-AD) MELSEC-Q 5.6 Monitor/Test 5.6.1 Monitor/test screen [Purpose of setting] Buffer memory monitoring/testing, I/O signal monitoring/testing, operating condition setting, offset/gain settings (see Section 5.6.2) and pass data (see Section 5.6.3, 5.6.4) are started from this screen. [Startup procedure] Monitor/test module selection screen "Module model name" "Start I/O No. " "Module type" Monitor/test Enter the start I/O numbers in hexadecimal.
5 UTILITY PACKAGE (GX Configurator-AD) MELSEC-Q Pass data 1) CH Operating condition setting Offset/gain setting Conversion characteristic 5 - 18 5 - 18
5 UTILITY PACKAGE (GX Configurator-AD) MELSEC-Q [Explanation of items] (1) Contents of screen display Setting item Current value Setting value : The I/O signal or buffer memory names are displayed. : The I/O signal status or current value of buffer memory are monitored. : Select or enter the data to be written during test operation. (2) Explanation of the command buttons Current value display Make text file Start monitor / Stop monitor Execute test The current value of the selected item is displayed.
5 UTILITY PACKAGE (GX Configurator-AD) MELSEC-Q 5.6.2 Offset/gain setting operation Perform the offset/gain setting operation in the following sequence. (1) Switch to the offset/gain setting screen Perform the operation in Section 5.6.1 to display the offset/gain setting screen. At this point, a dialog box to confirm the transition of module’s operation mode (normal mode -> offset/gain setting mode) is displayed. Click the Yes button to transit to the offset/gain setting mode.
5 UTILITY PACKAGE (GX Configurator-AD) MELSEC-Q 5.6.3 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-AD) MELSEC-Q Analog/digital conversion: Select a conversion type shown below for confirming the correspondence between an analog value and a digital value caused by the conversion characteristic. • Digital analog • Analog digital Analog value: 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-AD) MELSEC-Q 5.6.4 Pass data (Q64AD-GH) Perform operation in the following sequence to save/restore the user range. (1) Switch to the pass data screen Perform the operation in Section 5.6.1 to display the Pass data screen. (2) User range saving (a) Set "Voltage specified" or "Current specified" in the Setting value field of Pass data classification setting, and click the Execute test button.
5 UTILITY PACKAGE (GX Configurator-AD) MELSEC-Q (3) User range restoration (a) Set "Voltage specified" or "Current specified" in the Setting value field of Pass data classification setting, and click the Execute test button. When the setting is completed, the set data is displayed in the Current value field of CH Pass data classification setting. (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-AD) MELSEC-Q 5.6.5 Pass data (Q62AD-DGH) Perform operation in the following sequence to save/restore the user range. (1) Switch to the Pass data screen Perform the operation in Section 5.6.1 to display the pass data screen. (2) User range saving (a) Change the Setting value field of pass data read request to "Request", and click the Execute test button.
5 UTILITY PACKAGE (GX Configurator-AD) MELSEC-Q 5.7 FB Conversion of Initial Setting/Auto Refresh Setting [Purpose of setting] FB is generated automatically from the intelligent function module parameter (initial setting/auto refresh setting). [Startup procedure] Intelligent Function Module Parameter Setting Module Selection Screen <> FB 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-AD) MELSEC-Q 5.8 Usage of FB This section describes the procedure for using FB with GX Developer. For details, refer to "GX Developer Version 8 Operating Manual (Function Block). " 5.8.1 Outline The procedure for creating FB is shown below. (1) Set up the intelligent function module parameter (initial setting/auto refresh setting). (2) Convert the intelligent function module parameter into FB. (3) Paste the FB to a sequence program.
5 UTILITY PACKAGE (GX Configurator-AD) MELSEC-Q POINT The initial setting/auto refresh setting of the intelligent function module can be performed by each of the following methods. (1) Set intelligent function parameters (Initial setting/Auto refresh setting) and write them to the PLC CPU. (2) Create an FB of the intelligent function module parameter (initial setting/auto refresh setting) and paste it to the sequence program.
5 UTILITY PACKAGE (GX Configurator-AD) MELSEC-Q 5.8.2 Paste an FB to a Sequence Program [Purpose of operation] Paste an FB in order to use it with a sequence program. [Operation procedure] Switch the <> tab into the <> tab on GX Developer, and drag & drop the FB to be used onto the sequence program.
5 UTILITY PACKAGE (GX Configurator-AD) MELSEC-Q 5.8.3 Convert (Compile) a Sequence Program [Purpose of operation] Convert (compile) the sequence program to which an FB was pasted so that it can be executed. [Operation procedure] Click the [Convert] menu 5 - 30 [Convert/Compile] menu of GX Developer.
5 UTILITY PACKAGE (GX Configurator-AD) MELSEC-Q MEMO 5 - 31 5 - 31
6 PROGRAMMING MELSEC-Q 6 PROGRAMMING This chapter describes the programs of the A/D converter modules. When diverting any of the program examples introduced in this chapter to the actual system, fully verify that there are no problems in the controllability of the target system. 6.1 Programming Procedure In the following procedure, create a program that will execute the analog/digital conversion of the A/D converter module.
6 PROGRAMMING MELSEC-Q 6.2 For Use in Normal System Configuration (Q64AD-GH) System configuration used in the program explanation (1) System configuration Power supply module Q n C P U Q 6 4 A D Q X 1 0 Q Y 1 0 G H X/Y0 X10 to to X/YF X1F Y20 to Y2F (2) Program conditions This program reads the digital output values that have been A/D converted using CH1 to CH3 of the Q64AD-GH.
6 PROGRAMMING MELSEC-Q 6.2.1 Programming Example Using the Utility Package (1) Operating the utility package (a) Initial setting (see Section 5.4) Set the initial settings of CH1 to 3. Refer to Section 6.2 for the settings. (b) Auto refresh setting (see Section 5.5) Set the digital output values, warning output flags, input signal error detection flags and error codes of CH1 to 3. (c) Writing the intelligent function module parameters (see Section 5.3.
6 PROGRAMMING MELSEC-Q (2) Programming example Read digital output values Read the A/D conversion completed flag. Read the CH1 digital output value (32bit). Read the CH2 digital output value (32bit). Read the CH3 digital output value (32bit). Warning (process alarm, rate alarm) occurrence status and processing at warning occurrence Read the warning output flag.
6 PROGRAMMING MELSEC-Q 6.2.
6 PROGRAMMING MELSEC-Q Input signal error detection status and processing at error detection Read the input signal error detection flag. Processing at error detection Processing at CH1 input signal error detection Turn ON the error clear request (YF). Read the input signal error detection flag. Output the error code in BCD. Turn ON the error clear request (YF). Turn OFF the error clear request (YF).
6 PROGRAMMING MELSEC-Q 6.3 For Use in Remote I/O Network (Q64AD-GH) System configuration used in the program explanation (1) System configuration 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.
6 PROGRAMMING MELSEC-Q 6.3.1 Programming Example Using the Utility Package (1) Operating GX Developer (a) CPU parameter setting • Network type • Starting I/O No. • Network No. • Total stations • Mode • Network range assignment • Refresh parameters : MNET/H (Remote master) : 0000H :1 :1 : Online : : (2) Operating the utility package (a) Initial setting (see Section 5.4) Set the initial settings of CH1 to 3. Refer to Section 6.3 for the settings.
6 PROGRAMMING MELSEC-Q (b) Auto refresh setting (see Section 5.5) Set the digital output values, warning output flags, input signal error detection flags and error codes of CH1 to 3. (c) Writing the intelligent function module parameters (see Section 5.3.3) Write the intelligent function module parameters to the CPU module. This operation is performed using the parameter setting module selection screen. (3) Programming example Read digital output values Read the A/D conversion completed flag.
6 PROGRAMMING MELSEC-Q Error code display and reset processing Output the error code in BCD. Turn ON the error clear request (YF). Turn OFF the error clear request (YF).
6 PROGRAMMING MELSEC-Q 6.3.2 Programming Example without Using the Utility Package (1) Operating GX Developer (CPU parameter setting) 6 - 11 • Network type • Starting I/O No. • Network No.
6 PROGRAMMING MELSEC-Q (2) Programming example Remote I/O station operating status checking Master station baton pass status checking Master station data link status checking Remote I/O station baton pass status checking Remote I/O station data link status checking Remote I/O parameter communication status checking Master module status checking Initial settings A/D conversion enable/disable setting CH2 Average time/ Average number of times/ Move average/Time constant settings CH3 Average time/ Average n
6 PROGRAMMING MELSEC-Q Turn ON the operating condition setting request (Y9). Turn OFF the operating condition setting request (Y9). Read digital output values Read the A/D conversion completed flag. Read the CH1 to CH3 digital output values (32bit). Read the CH1 digital output value (32bit). Read the CH2 digital output value (32bit). Read the CH3 digital output value (32bit). Warning (process alarm, rate alarm) occurrence status and processing at warning occurrence Read the warning output flag.
6 PROGRAMMING MELSEC-Q 6.4 For Use in Normal System Configuration (Q62AD-DGH) System configuration used in the program explanation (1) System configuration Power supply module Q n C P U Q 6 2 A D | D G H Q X 1 0 X/Y0 X10 to to X/YF X1F Q Y 1 0 Y20 to Y2F (2) Program conditions This program reads the digital output values that have been A/D converted using CH1 and CH2 of the Q62AD-DGH. CH1 performs sampling processing, and CH2 performs averaging processing every 50 times.
6 PROGRAMMING MELSEC-Q 6.4.1 Programming Example Using the Utility Package (1) Operating the utility package (a) Initial setting (see Section 5.4) Set the initial settings of CH1 and 2. Refer to Section 6.4 for the settings. (b) Auto refresh setting (see Section 5.5) Set the digital output values, warning output flags, input signal error detection flags and error codes of CH1 and 2. (c) Writing the intelligent function module parameters (see Section 5.3.
6 PROGRAMMING MELSEC-Q (2) Programming example Read digital output values Read the A/D conversion completed flag. Read the CH1 digital output value (32bit). Read the CH2 digital output value (32bit). Warning (process alarm) occurrence status and processing at warning occurrence Read the warning output flag.
6 PROGRAMMING MELSEC-Q 6.4.
6 PROGRAMMING MELSEC-Q 6.5 For Use in Remote I/O Network (Q62AD-DGH) System configuration used in the program explanation (1) System configuration Remote master station (Network No. 1) Q Q Q Q Y n J X 7 1 C 1 P 1 0 0 L U P 2 1 Power supply module Remote I/O station (Station No.
6 PROGRAMMING MELSEC-Q 6.5.1 Programming Example Using the Utility Package (1) Operating GX Developer (a) CPU parameter setting • Network type • Starting I/O No. • Network No. • Total stations • Mode • Network range assignment • Refresh parameters : MNET/H (Remote master) : 0000H :1 :1 : Online : : (2) Operating the utility package (a) Initial setting (see Section 5.4) Set the initial settings of CH1 and 2. Refer to Section 6.5 for the settings.
6 PROGRAMMING MELSEC-Q (b) Auto refresh setting (see Section 5.5) Set the digital output values, warning output flags, input signal error detection flags and error codes of CH1 and 2. (c) Writing the intelligent function module parameters (see Section 5.3.3) Write the intelligent function module parameters to the CPU module. This operation is performed using the parameter setting module selection screen. (3) Programming example Read digital output values Read the A/D conversion completed flag.
6 PROGRAMMING MELSEC-Q 6.5.2 Programming Example without Using the Utility Package (1) Operating GX Developer (CPU parameter setting) 6 - 21 • Network type • Starting I/O No. • Network No.
6 PROGRAMMING MELSEC-Q (2) Programming example Remote I/O station operating status checking Master station baton pass status checking Master station data link status checking Remote I/O station baton pass status checking Remote I/O station data link status checking Remote I/O parameter communication status checking Master module status checking Initial settings A/D conversion enable/disable setting CH2 Average time/ Average number of times/ Move average/Time constant settings Averaging process specifica
6 PROGRAMMING MELSEC-Q Warning (process alarm) occurrence status and processing at warning occurrence Read the warning output flag. Processing at warning occurrence Processing at CH2 process alarm upper limit value warning occurrence Processing at warning occurrence Processing at CH2 process alarm lower limit value warning occurrence Input signal error detection status and processing at error detection Read the input signal error detection flag.
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, A/D converter module, GX Developer and base unit given below are needed to perform an online module change. (1) CPU The Q12PHCPU or Q25PHCPU is needed. For precautions for multiple PLC system configuration, refer to the Process CPU User's Manual (Function Explanation/Program Fundamentals). (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 ConfiguratorAD 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-AD — 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) Monitor the digital output values (buffer memory addresses 11 to 14, 54 to 62, Un\G11 to 14, Un\G54 to 62) to check whether proper conversion has been made or not.
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) Set the A/D conversion enable/disable setting (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.
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 (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 (a) Mount a new module to the same slot and install the terminal block.
7 ONLINE MODULE CHANGE 7 - 12 MELSEC-Q (c) Click the [Close] button to close the System monitor screen. (d) Referring to (1), set the used channel to conversion enable, and monitor the digital output values (buffer memory addresses 11 to 14, 54 to 62, UnvG11 to 14, Un\G54 to 62) to check whether proper conversion has been made or not. (e) Since the new module is in a default status, it must be initialized by a sequence program after control resumption.
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-AD (other system is available) (1) Conversion disable (a) Set the A/D conversion enable/disable setting (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.
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, dismount the module as-is, 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.
7 ONLINE MODULE CHANGE (d) MELSEC-Q Monitor the digital output values (buffer memory addresses 11 to 14, 54 to 62, Un\G11 to 14, Un\G54 to 62) to check whether proper conversion has been made or not. (5) Resumption of control 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.
7 ONLINE MODULE CHANGE MELSEC-Q 7.3.4 When user range setting is used and initial setting was made with GX Configurator-AD (other system is unavailable) (1) Conversion disable 7 - 19 (a) On the Operating condition setting screen of GX Configurator-AD, set "Disable" in the Setting value field of CH A/D conversion enable/disable setting, and click the [Execute test] button.
7 ONLINE MODULE CHANGE (c) MELSEC-Q 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-AD. 2) Set the pass data classification setting and make a pass data read request. (Refer to Section 5.6.3, 5.6.4) 3) Compare the current values of the industrial shipment settings and user range settings offset/gain values with those of the range reference table. Refer to Section 7.4 for the range reference table.
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, dismount the module as-is, and perform the operation in Section (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 (a) Mount a new module to the same slot and install the terminal block.
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-AD, set the prerecorded values and make a pass data write request. (Refer to Section 5.6.3, 5.6.4.) (e) Monitor the digital output values (buffer memory addresses 11 to 14, 54 to 62, Un\G11 to 14, Un\G54 to 62) to check whether proper conversion has been made or not.
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) Set the A/D conversion enable/disable setting (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.
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, dismount the module as-is, and perform the operation in Section 7.3.6 (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 - 27 (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 - 28 (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.
7 ONLINE MODULE CHANGE (e) MELSEC-Q Since the new module is in a default status, it must be initialized by a sequence program after control resumption. Before performing initialization, check whether the contents of the initialization program are correct or not. 1) Normal system configuration The sequence program should perform initialization on the leading edge of Module READY (X9) of the A/D converter module.
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) Set the A/D conversion enable/disable setting (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.
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 operating 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, dismount the module as-is, 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.
7 ONLINE MODULE CHANGE MELSEC-Q (f) Referring to (1), set the used channel to conversion enable, and monitor the digital output values (buffer memory addresses 11 to 14, 54 to 62, Un\G11 to 14, Un\G54 to 62) to check whether proper conversion has been made or not. (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.
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 217: Un\G202 to 217) (a) For Q64AD-DGH 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 7.5 Precautions for Online Module Change The following are the precautions for online module change. 7 - 36 (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. Re-set the offset/gain values as necessary.
8 TROUBLESHOOTING MELSEC-Q 8 TROUBLESHOOTING The following section explains the types of errors that may occur when the A/D converter module is used, and how to troubleshoot such errors. 8.1 Error Code List If an error occurs in the A/D converter module while writing to or reading data from the PLC CPU, the applicable error code is written to buffer memory address 19 (Un\G19). Table 8.
8 TROUBLESHOOTING MELSEC-Q Table 8.1 Error code list (2/2) Error code (decimal) Error description Processing The process alarm upper/lower limit value at any of the buffer memory addresses 86 to 117 (Un\G86 to Un\G117) is outside the -65536 to 65535 range. 33 Re-set the process alarm upper/lower limit value to within -65536 to 65535. indicates the channel number set incorrectly.
8 TROUBLESHOOTING MELSEC-Q POINT (1) When two or more errors have occurred, the latest error found by the A/D converter module is stored. (2) The error can be cleared by setting the error clear request (YF) to "ON". 8.2 Troubleshooting 8.2.1 When the "RUN" 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).
8 TROUBLESHOOTING MELSEC-Q (2) When flashing Check item Is an input signal error being generated? Corrective action Check the input signal error detection flag (buffer memory address 49, Un\G49). 8.2.4 When the digital output values cannot be read Check item Corrective action Is 24VDC external supply power being supplied? (Q62ADDGH only) Check that the external supply power terminals (terminal Nos. 16, 17) are supplied with a 24VDC voltage.
8 TROUBLESHOOTING MELSEC-Q 8.2.5 When A/D conversion completed flag does not turn ON during use in normal mode Check item Corrective action Is 24VDC external supply power being supplied? (Q62ADDGH only) Is an input signal error being generated? Check that the external supply power terminals (terminal Nos. 16, 17) are supplied with a 24VDC voltage. Check the input signal error detection flag (buffer memory address 49, Un\G49). 8.2.
8 TROUBLESHOOTING MELSEC-Q (3) H/W information (a) H/W LED information The LED ON status is displayed. No. LED name 1) RUN LED 2) ERR. LED 3) ALM LED Status 0000H : Indicates that LED is unlit. 0001H : Indicates that LED is lit. Alternate display of 0000H and 0001H: Indicates that LED is flashing. (b) H/W SW information The status of the intelligent function module switch setting is displayed. No.
APPENDIX MELSEC-Q APPENDIX Appendix 1 Dedicated Instruction List The following table lists the dedicated instructions that can be used with the A/D converter modules. Instruction OFFGAN OGLOAD OGSTOR Description Switches to the offset/gain setting mode. Switches to the normal mode. Reads the offset/gain values of the user range setting to the CPU. Restores the offset/gain values of the user range setting stored in the CPU to the A/D converter module. Reference section Appendix 1.1 Appendix 1.
APPENDIX MELSEC-Q Appendix 1.1 OFFGAN Switches the mode of the A/D converter module. (Normal mode to offset/gain setting mode, offset/gain setting mode to normal mode) Set data Internal device (System, user) Bit (S) [Instruction symbol] Word File register — [Execution condition] Usable devices MELSECNET/H Special Direct J \ function module Bit Word U \G — Index register Z Constant Other K, H S — — — Command G.OFFGAN G.OFFGAN Un (S) GP.OFFGAN Un (S) Command GP.
APPENDIX MELSEC-Q (3) Program example The following program is designed to switch the A/D converter module mounted in the position of I/O number X/Y0 to X/YF to the offset/gain setting mode when M10 is turned ON, and to return it to the normal mode when M10 is turned OFF. Switches to offset/gain setting mode Stores setting of dedicated instruction (G.OFFGAN) into D1. Dedicated instruction (G.
APPENDIX MELSEC-Q Appendix 1.2 OGLOAD Reads the offset/gain values of the user range setting of the A/D converter module to the CPU. Usable devices Internal device Set data MELSECNET/H (System, user) Bit (S) Word File register Direct J \ Bit — [Execution condition] Index function Constant register module Word (D) [Instruction symbol] Special Z Other K, H S — — — — — — — — U \G Command G.OGLOAD G.OGLOAD Un (S) (D) GP.OGLOAD Un (S) (D) Command GP.
APPENDIX MELSEC-Q Control data Device (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 1 Item CH3 Industrial shipment settings offset value (L) (H) CH3 Industrial shipment settings gain value (L) (H) CH4 Industrial shipment settings offset value (L) (H) CH4 Industrial shipment settings gain value (L) (H) CH1 user range settings offset valu
APPENDIX MELSEC-Q Control data Device (S) + 20 (S) + 21 (S) + 22 (S) + 23 (S) + 24 (S) + 25 (S) + 26 (S) + 27 (S) + 28 to (S) + 35 Item CH1 user range settings offset value (L) (H) CH1 user range settings gain value (L) (H) CH2 user range settings offset value (L) (H) 2 of Q62AD-DGH (2/2) Set data Setting range Set by — — System — — System — — System CH2 user range settings gain value (L) (H) — — System System area — — — 2 Setting is not necessary.
APPENDIX MELSEC-Q (1) Functions (a) Reads the offset/gain values of the user range setting of the A/D converter module to the CPU. (b) There are two types of interlock signals for the G.OGLOAD instruction: the completion device (D) and the status display device at completion (D) + 1. 1) Completion device Turns ON in the END processing of the scan where the G.OGLOAD instruction is completed, and turns OFF in the next END processing.
APPENDIX MELSEC-Q Appendix 1.3 OGSTOR Restores the offset/gain values of the user range setting stored in the CPU to the A/D converter module. Internal device (System, user) Set data Bit (S) (D) Word File register — [Instruction symbol] [Execution condition] Usable devices MELSECNET/H Special Direct J \ function module Bit Word U \G — — Index 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 Q64AD-GH (2/2) Device Item (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 CH3 Industrial shipment settings offset value (L) (H) CH3 Industrial shipment settings gain value (L) (H) CH4 Industrial shipment settings offset value (L) (H) CH4 Industrial shipment settings gain value (L) (H) CH1 user range set
APPENDIX MELSEC-Q Control data of Q62AD-DGH (2/2) Device (S) + 20 (S) + 21 (S) + 22 (S) + 23 (S) + 24 (S) + 25 (S) + 26 (S) + 27 (S) + 28 to (S) + 35 APP -10 Item Set data Setting range Set by — — System — — System — — System CH2 user range settings gain value (L) (H) — — System System area — — — CH1 user range settings offset value (L) (H) CH1 user range settings gain value (L) (H) CH2 user range settings offset value (L) (H) APP -10
APPENDIX MELSEC-Q (1) Functions (a) Restores the offset/gain values of the user range setting stored in the CPU to the A/D converter module. (b) There are two types of interlock signals for the G.OGSTOR instruction: the completion device (D) and the status display device at completion (D) + 1. 1) Completion device Turns ON in the END processing of the scan where the G.OGSTOR instruction is completed, and turns OFF in the next END processing.
APPENDIX MELSEC-Q (3) Program example Program that restores the offset/gain setting to the A/D converter module mounted in the position of I/O No. X/Y10 to X/Y1F when M11 is turned OFF. Control data setting Offset/gain value restoration Dedicated instruction (GP.
APPENDIX MELSEC-Q Appendix 2 Performance Comparison between Q64AD-GH and Q64AD The following table indicates the performance comparison between the Q64AD-GH and Q64AD.
APPENDIX MELSEC-Q Appendix 3 External Dimensions (1) Q64AD-GH Q64AD-GH RUN ALM ERR. 1 V+ 2 C VH I+ 1 3 4 98(3.86) SLD 5 V+ C VH I+ 2 6 7 8 SLD 9 V+ C VH I+ 3 10 SLD 12 V+ C VH I+ 4 13 11 14 15 SLD 16 17 A/D -10 10V 0 20mA 90(3.54) 22(0.87) 18 27.4(1.08) (2) Q62AD-DGH Q62AD-DGH RUN ALM ERR. CH1 P I/CHK+ CHK- 1 2 3 98(3.86) 4 5 6 7 CH2 8 P I/CHK+ CHK- 9 10 11 12 13 14 IN 24VDC 15 16 17 FG 18 4~20mA 90(3.54) 22(0.87) 27.4(1.08) Unit(mm(in.
INDEX Ind [Number] Digital output ............................................ 3-1, 3-2 Digital output value (16 bits) ..........................3-39 Digital output value (32 bits) ..........................3-43 2-wire transmitter............................................. 1-1 [A] A/D conversion completed flag ............3-25, 3-39 A/D conversion enable/disable setting 3-10, 3-36 A/D conversion methods............................... 3-11 A/D converter module ...................................
Insulation resistance................................. 3-1, 3-2 Intelligent function module parameter setting module select screen ...................................... 5-8 Intelligent function module parameters .......... 5-6 Internal current consumption ................... 3-1, 3-2 Isolation method ....................................... 3-1, 3-2 [L] List of I/O signals..................................3-19, 3-20 Low Voltage Directive ...................................
Time constant................................................ 3-12 Transfer setup ............................................... 5-12 Troubleshooting............................................... 8-3 [U] Uninstalling ...................................................... 5-2 User range writing request............................ 3-26 Utility package ................................................. 5-1 [V] Voltage input characteristic............................. 3-5 [W] Warning output flag ...........
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.
MITSUBISHI ELECTRIC HEADQUARTERS EUROPEAN REPRESENTATIVES EUROPEAN REPRESENTATIVES EUROPEAN REPRESENTATIVES MITSUBISHI ELECTRIC EUROPE EUROPE B.V. German Branch Gothaer Straße 8 D-40880 Ratingen Phone: +49 (0) 2102 / 486-0 Fax: +49 (0) 2102 / 486-1120 e mail: megfamail@meg.mee.com MITSUBISHI ELECTRIC FRANCE EUROPE B.V. French Branch 25, Boulevard des Bouvets F-92741 Nanterre Cedex Phone: +33 1 55 68 55 68 Fax: +33 1 55 68 56 85 e mail: factory.automation@fra.mee.com MITSUBISHI ELECTRIC IRELAND EUROPE B.