hit counter script
Mitsubishi Electric MELSEC-Q Series User Manual

Mitsubishi Electric MELSEC-Q Series User Manual

Loop control module
Hide thumbs Also See for MELSEC-Q Series:
Table of Contents

Advertisement

Quick Links

Loop Control Module User's Manual
-Q62HLC
-GX Configurator-TC (SW0D5C-QTCU-E)

Advertisement

Table of Contents
loading

Summary of Contents for Mitsubishi Electric MELSEC-Q Series

  • Page 1 Loop Control Module User's Manual -Q62HLC -GX Configurator-TC (SW0D5C-QTCU-E)
  • Page 3: Safety Precautions

     SAFETY PRECAUTIONS  (Read these precautions before using this product.) Before using this product, please read 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 only. For the safety precautions of the programmable controller system, refer to the user's manual for the CPU module used.
  • Page 4 [Security Precautions] WARNING  To maintain the security (confidentiality, integrity, and availability) of the programmable controller and the system against unauthorized access, denial-of-service (DoS) attacks, computer viruses, and other cyberattacks from external devices via the network, take appropriate measures such as firewalls, virtual private networks (VPNs), and antivirus solutions.
  • Page 5 [Wiring Precautions] CAUTION  Prevent foreign matter such as dust or wire chips from entering the module. Such foreign matter can cause a fire, failure, or malfunction.  A protective film is attached to the top of the module to prevent foreign matter, such as wire chips, from entering the module during wiring.
  • Page 6 [Startup and Maintenance Precautions] CAUTION  Do not disassemble or modify the modules. Doing so may cause failure, malfunction, injury, or a fire.  Shut off the external power supply (all phases) used in the system before mounting or removing the module.
  • Page 7: Conditions Of Use For The Product

    PRODUCT in one or more of the Prohibited Applications, provided that the usage of the PRODUCT is limited only for the specific applications agreed to by Mitsubishi Electric and provided further that no special quality assurance or fail-safe, redundant or other safety features which exceed the general specifications of the PRODUCTs are required.
  • Page 8: Revisions

    REVISIONS * The manual number is given on the bottom left of the back cover. Print Date Manual Number Revision Aug., 2005 SH (NA)-080573ENG-A First edition Jan., 2008 SH (NA)-080573ENG-B Correction SAFETY PRECAUTION, CONTENTS, ABOUT THE GENERIC TERMS AND ABBREVIATIONS, Chapter 1, Section 1.1, 2.1 to 2.3, 3.1.1, 3.2, 3.2.1, 3.2.10, 3.2.13, 3.5.1, 3.5.3, 3.5.14, 3.5.15, 3.5.49, 3.5.50, 3.5.57, 3.5.65, 5.1, 5.2.2, 6.2.1, 6.2.2, 8.1, INDEX Apr., 2008...
  • Page 9 This manual confers no industrial property rights or any rights of any other kind, nor does it confer any patent licenses. Mitsubishi Electric Corporation cannot be held responsible for any problems involving industrial property rights which may occur as a result of using the contents noted in this manual.
  • Page 10: Table Of Contents

    INTRODUCTION Thank you for purchasing the Mitsubishi Electric MELSEC-Q series programmable controller. Before using the equipment, please read this manual carefully to develop full familiarity with the functions and performance of the Q series programmable controller you have purchased, so as to ensure correct use.
  • Page 11 3.2.10 Alert function ............................ 3-18 3.2.11 Control output setting at CPU stop error occurrence function ............3-23 3.2.12 Program control function ......................... 3-24 3.2.13 Cascade control function ........................ 3-37 3.2.14 Scaling function ..........................3-39 3.2.15 SV tracking function ........................3-41 3.2.16 Forced output function ........................
  • Page 12 3.5.28 Upper/lower setting limiter (buffer memory address 55, 56, 87, 88: Un\G55, Un\G56, Un\G87, Un\G88)......3-95 3.5.29 Program control run/reset (buffer memory address 57, 89: Un\G57, Un\G89) ......3-95 3.5.30 Loop disconnection detection judgment time (buffer memory address 59, 91: Un\G59, Un\G91) ................ 3-96 3.5.31 Loop disconnection detection dead band (buffer memory address 60, 92: Un\G60, Un\G92) ................
  • Page 13 3.5.67 Zone setting (buffer memory address 275 to 313, 531 to 569: Un\G275 to Un\G313, Un\G531 to Un\G569) ................3-109 3.5.68 Program pattern (buffer memory address 320 to 500, 576 to 756: Un\G320 to Un\G500, Un\G576 to Un\G756) ................3-111 3.5.69 Set value at program control start (SV_PCS) setting (buffer memory address: 501, 757: Un\G501, Un\G757) ............
  • Page 14 7.4 Precautions for Online Module Change ....................7-14 7.4.1 Precautions before module change ....................7-14 7.4.2 Precautions after module change ..................... 7-16 7.4.3 Precautions depending on parameter setting method ..............7-17 8 TROUBLESHOOTING 8- 1 to 8-10 8.1 Error Codes .............................. 8- 1 8.2 Processing Performed by the Q62HLC at Error Occurrence ..............
  • Page 15: Compliance With Emc And Low Voltage Directives

    COMPLIANCE WITH EMC AND LOW VOLTAGE DIRECTIVES (1) Method of ensuring compliance To ensure that Mitsubishi programmable controllers maintain EMC and Low Voltage Directives when incorporated into other machinery or equipment, certain measures may be necessary. Please refer to one of the following manuals. •...
  • Page 16: About The Generic Terms And Abbreviations

    ABOUT THE GENERIC TERMS AND ABBREVIATIONS Unless otherwise specified, this manual uses the following generic terms and abbreviations to describe the Loop control module. Generic term/abbreviation Description Personal computer DOS/V-compatible personal computer of IBM PC/AT or its compatible GX Developer Product name of MELSEC programmable controller software package GX Works2 Generic term of the Q00JCPU, Q00CPU, Q01CPU, Q02CPU, Q02HCPU, Q06HCPU,...
  • Page 17: Overview

    This manual describes the specifications, handling, wiring, and programming of the loop control module Q62HLC (hereinafter abbreviated as Q62HLC) that is used with the MELSEC-Q series programmable controller CPU. (1) About Q62HLC (a) The Q62HLC is intelligent function module for the continuous proportional control.
  • Page 18: Features

    1 OVERVIEW MELSEC-Q 1.1 Features The Q62HLC has the following features. (1) High speed PID control The Q62HLC is an intelligent function module that performs the continuous proportional control. With the Q62HLC, the high speed sampling cycle (25ms), analog input (thermocouple, micro voltage, voltage, and current) with high accuracy and resolution, and the current output are available.
  • Page 19 1 OVERVIEW MELSEC-Q (3) Connection of thermocouples compatible with JIS, IEC, NBS and ASTM Standards (a) Thermocouples compatible with the JIS, IEC, NBS, and ASTM Standards can be connected to the Q62HLC. • JIS Standards : R, K, J, S, B, E, T • IEC Standards: R, K, J, S, B, E, T, N •...
  • Page 20 1 OVERVIEW MELSEC-Q (12) Online module change function The Q62HLC can be replaced without the system being stopped (refer to Chapter 7). (13) Storing setting values in FeRAM The setting data in the buffer memory can be stored into FeRAM for backup. When the data is directly written to the buffer memory using the test functions of GX Developer, the sequence program required is only "LD "...
  • Page 21: Pid Control System

    1 OVERVIEW MELSEC-Q 1.2 PID Control System (1) PID control system Figure 1.2 shows the system configuration to perform PID control. Fig. 1.2 PID control system (2) PID control procedure Figure 1.3 describes the PID control procedure. Fig. 1.3 PID control procedure (3) PID control (simplified two-degree-of-freedom control) Generally in the PID control, when the P, I, and D constants to improve the "response to the setting"...
  • Page 22: Pid Operation

    1 OVERVIEW MELSEC-Q 1.3 PID Operation The Q62HLC can perform PID control in measured value incomplete differentiation. 1.3.1 Operation method and formula The PID control in measured value incomplete differentiation is an operation method which puts the primary delay filter as the input for derivative control action, and performs PID operation with the deviation (E) after eliminating the high-frequency noise component.
  • Page 23: Actions In The Q62Hlc

    1 OVERVIEW MELSEC-Q 1.3.2 Actions in the Q62HLC The Q62HLC performs PID operations in reverse action and forward action. (1) Reverse action In a reverse action, the measured value (PV) increases toward the set value (SV) as the manipulated value (MV) increases. The reverse action is effective for heat control.
  • Page 24: Proportional Action (P-Action)

    1 OVERVIEW MELSEC-Q 1.3.3 Proportional action (P-action) (1) The proportional action calculates the manipulated value proportional to the deviation (difference between the set value and measured value). (2) With the proportional action, the relationship between the changes in the deviation and manipulated value can be expressed in the following formula: MV = Kp is a proportional constant and is called the proportional gain.
  • Page 25: Integral Action (I-Action)

    1 OVERVIEW MELSEC-Q 1.3.4 Integral action (I-action) (1) When a deviation occurs, the integral action continuously changes the manipulated value to eliminate the deviation. The offset produced by the proportional action can be eliminated. (2) In the integral action, the time from the deviation occurrence until the manipulated value of the integral action becomes that of the proportional control action is called the integral time, and is indicated by T (3) Figure 1.8 shows the integral action for the step response with a constant deviation.
  • Page 26: Derivative Action (D-Action)

    1 OVERVIEW MELSEC-Q 1.3.5 Derivative action (D-action) (1) When a deviation occurs, the derivative action adds the manipulated value proportional to the change speed to eliminate the deviation. This can protect the control target from a sudden change due to disturbance. (2) In the derivative action, the time from the deviation occurrence until the manipulated value of the derivative action becomes that of the proportional action is called the derivative time, and is indicated by T...
  • Page 27: Pid Action

    1 OVERVIEW MELSEC-Q 1.3.6 PID action (1) The PID action performs control using the manipulated value calculated by proportional action, integral action, and derivative action. (2) The PID action for the step response when the deviation is constant is shown in Figure 1.10.
  • Page 28: System Configuration

    2 SYSTEM CONFIGURATION MELSEC-Q 2 SYSTEM CONFIGURATION This chapter describes the system configuration of the Q62HLC. 2.1 Applicable Systems This section describes the applicable systems. (1) Applicable modules and base units, and number of modules (a) When mounted with a CPU module The following table lists the CPU modules and base units applicable to the Q62HLC and quantities for each CPU model.
  • Page 29 2 SYSTEM CONFIGURATION MELSEC-Q Applicable CPU module Base unit Number of modules CPU type CPU model Main base unit Extension base unit Q03UDECPU Q04UDEHCPU Q06UDEHCPU Q10UDEHCPU Universal model Q13UDEHCPU Up to 64 Programmable QCPU controller CPU Q20UDEHCPU Q26UDEHCPU Q50UDEHCPU Q100UDEHCPU Safety CPU QS001CPU Not applicable...
  • Page 30 2 SYSTEM CONFIGURATION MELSEC-Q (2) Support of the multiple CPU system When using the Q62HLC in a multiple CPU system, refer to the following manual first. • QCPU User's Manual (Multiple CPU System) (a) Intelligent function module parameters Write intelligent function module parameters to the control CPU of the Q62HLC.
  • Page 31 2 SYSTEM CONFIGURATION MELSEC-Q (4) Supported software packages Relation between the system containing the Q62HLC and software package is listed in the following table. GX Developer or GX Works2 is necessary when the Q62HLC is used. Software version GX Developer GX Configurator-TC GX Works2 Single CPU system...
  • Page 32: For Using The Q62Hlc With Redundant Cpus

    2 SYSTEM CONFIGURATION MELSEC-Q POINT (1) Supported system and CPU module differ according to the version of GX Configurator-TC. (2) When using GX Works2, refer to the following. • GX Works2 Version 1 Operating Manual (Common) • GX Works2 Version 1 Operating Manual (Intelligent Function Module) 2.2 For Using the Q62HLC with Redundant CPUs This section describes the Q62HLC with Redundant CPUs.
  • Page 33: Checking Function Version, Production Information, Serial Number, And Software Version

    2 SYSTEM CONFIGURATION MELSEC-Q 2.3 Checking Function Version, Production Information, Serial Number, and Software Version This section describes how to check the function version, production information and product information of the Q62HLC and the GX Configuration-TC software version. (1) Checking the function version and serial number of the Q62HLC The serial number and function version of the Q62HLC can be checked on the rating plate, on the front part of the module, and the System monitor window of GX Developer.
  • Page 34 2 SYSTEM CONFIGURATION MELSEC-Q (c) Checking the System monitor window (Product Information List) To display the system monitor, select [Diagnostics] [System monitor] and click the Product Information List button of GX Developer. Function version Serial No. Product No. 1) Displaying the product number Since the Q62HLC does not support the display function, "-"...
  • Page 35 2 SYSTEM CONFIGURATION MELSEC-Q (2) Checking the software version of GX Configurator-TC The software version of GX Configurator-TC can be checked by selecting [Help] [Product information] of GX Developer. Software version (In the case of GX Developer Version 8) 2 - 8 2 - 8...
  • Page 36: Specifications

    3 SPECIFICATIONS MELSEC-Q 3 SPECIFICATIONS This chapter describes the performance specifications, I/O signals transferred to/from the programmable controller CPU, and buffer memory areas of the Q62HLC. For the general specifications of the Q62HLC, refer to the user's manual (hardware) for the CPU module used. 3.1 Performance Specifications 3.1.1 Performance specifications of the Q62HLC Table 3.1 Performance specifications...
  • Page 37 3 SPECIFICATIONS MELSEC-Q Table 3.1 Performance specifications (continued) Item Specifications Control method Continuous proportional control PID constant PID constant Auto tuning setting available range setting Proportional Thermocouple: 0.1 to Full-scale band (P) Micro voltage, voltage, current: 0.1 to 1000.0% Integral time (I) 0.0 to 3276.7s Derivative time 0.0 to 3276.7s...
  • Page 38 3 SPECIFICATIONS MELSEC-Q (1) Types, measurement ranges, and resolution of applicable input sensors Table 3.2 lists types, measurement ranges, and resolution of input sensors applicable to the Q62HLC. Table 3.2 Types, measurement ranges, and resolution of applicable input sensors Input Input range Digital value Resolution...
  • Page 39 3 SPECIFICATIONS MELSEC-Q (2) Indication accuracy Table 3.3 and Table 3.4 list the indication accuracy against ambient temperature. (a) At ambient temperature 23 2 Table 3.3 Indication accuracy at ambient temperature 23 2 Item Error Less than -100 K, J, T, -100 to less than 500 E, PLII or more...
  • Page 40: Operation At Input Disconnection

    3 SPECIFICATIONS MELSEC-Q 3.1.2 Operation at input disconnection Table 3.5 lists the operations of each input at input disconnection. Table 3.5 Operations at input disconnection Input Input range Operation Thermocouple Up scale Micro voltage 1 to 5V Down scale Voltage 0 to 1V, -1 to 1V, 0 to 5V, -5 to 5V, A value near 0V is displayed.
  • Page 41: Functions

    3 SPECIFICATIONS MELSEC-Q 3.2 Functions Table 3.6 lists the functions of the Q62HLC. Table 3.6 List of functions Item Description Reference Auto tuning function • Automatically sets the optimal PID constants for the loop control module. 3.2.1 • Sets the auto tuning mode according to the control target by setting AT (auto tuning) Auto tuning mode setting function 3.2.2 differential gap and AT additional lag.
  • Page 42: Auto Tuning Function

    3 SPECIFICATIONS MELSEC-Q 3.2.1 Auto tuning function (1) What is the auto tuning function? (a) The auto tuning function is designed for the Q62HLC to set the optimum PID constants automatically. In auto tuning, a manipulated value turns on/off and the PID constants are calculated according to the hunting cycle and amplitude, which take place when the measured value to a set value alternates between overshooting and undershooting.
  • Page 43 3 SPECIFICATIONS MELSEC-Q (2) Executing auto tuning Conditions for starting auto tuning When any of the following conditions is met, auto tuning can not be executed. In Unused channel setting (buffer memory address: 61, 93), 1 (Unused) is set for the channel. Control mode (buffer memory address: 50, 82) is set in any of manual control mode 1, manual control mode 2 or program control mode.
  • Page 44 3 SPECIFICATIONS MELSEC-Q Auto tuning operation The following figure shows the auto tuning operation. Auto tuning output is provided. Data collection starts when the measured value meets the set value after the first overshoot and undershoot. After data collection, auto tuning ends when PID constants and loop disconnection detection judgment time are set.
  • Page 45 3 SPECIFICATIONS MELSEC-Q Forced PID control stop command (YnC, YnD) has been turned on. The mode is changed to other than the normal control mode (setting mode, manual control mode1/2, program control mode). (Exception: when PID continuation flag (buffer memory address: 169) is set to "Continue"...
  • Page 46 3 SPECIFICATIONS MELSEC-Q REMARKS 1) The time required for auto tuning differs depending on the control-target device. 2) The completion of auto tuning can be checked with the status change (on to off) of Auto turning status flag (Xn4, Xn5). 3) When Automatic backup setting after auto tuning of PID constants (buffer memory address: 63, 95) is set to enabled in advance at the start of auto tuning, the PID constants and loop disconnection detection judgment time are...
  • Page 47: Auto Tuning Setting Function

    3 SPECIFICATIONS MELSEC-Q 3.2.2 Auto tuning setting function This function sets the auto tuning mode according to the control target by setting AT differential gap (buffer memory address: 46, 78) and AT additional lag (buffer memory address: 47, 79). AT differential gap and AT additional lag can be set within the setting range. However, almost all control targets are accepted by the following setting of "Standard mode"...
  • Page 48: Reverse/Forward Action Select Function

    3 SPECIFICATIONS MELSEC-Q 3.2.3 Reverse/forward action select function With the Q62HLC, "reverse action" or "forward action" can be selected to perform the PID operations. (1) Default setting The default is set to "reverse action". To perform PID operations with the forward action, set "forward action" in Forward/reverse action setting (buffer memory address: 54, 86).
  • Page 49: Unused Channel Setting Function

    3 SPECIFICATIONS MELSEC-Q 3.2.6 Unused channel setting function (1) Unused channel setting This function sets the channel status (used/unused). (a) When a channel of the Q62HLC is set to be unused, an alert will not occur at the channel where no sensor is connected and the ALM LED does not flash.
  • Page 50: Loop Disconnection Detection Function

    3 SPECIFICATIONS MELSEC-Q 3.2.8 Loop disconnection detection function The loop disconnection detection function detects errors in the control system (control loop) caused by a load (heater) disconnection, external operation device (e.g. magnetic relay) fault, input disconnection and others. The execution of the loop disconnection detection is performed with the setting of Loop disconnection detection judgment time (buffer memory address: 59, 91).
  • Page 51: Data Storage In Feram Function

    3 SPECIFICATIONS MELSEC-Q POINT (1) To disable the loop disconnection detection function, set 0 in Loop disconnection detection judgment time (buffer memory address: 59, 91). (2) If Loop disconnection detection dead band (buffer memory address: 60, 92) is set, a loop disconnection is not detected even if there is no temperature variation of 2 or more when the control output is provided 100% or 0% at the set value (refer to Section 3.5.31).
  • Page 52 3 SPECIFICATIONS MELSEC-Q (2) Writing data to FeRAM (a) To write data to FeRAM, turn on FeRAM backup start command (Yn8). • FeRAM write completion flag (Xn8) turns on at completion of data write to FeRAM. After FeRAM backup start command (Yn8) is turned on, it takes more than 10 seconds until FeRAM write completion flag (Xn8) turns on.
  • Page 53: Alert Function

    3 SPECIFICATIONS MELSEC-Q 3.2.10 Alert function (1) The alert function sets the system in an alert status when the measured value (PV) or deviation reaches the alert set value. It is used to turn on the device's hazard signal or operate the safety device. The alert function is classified as follows: •...
  • Page 54 3 SPECIFICATIONS MELSEC-Q 2) Lower limit deviation alert When the deviation [measured value (PV) - set value (SV)] is equal to or smaller than the alert set value, the system is put in alert status. The setting range is full-scale. 3) Upper/lower limit deviation alert When the absolute value of deviation [measured value (PV) - set value (SV)] is equal to or greater than the alert set value, the system is put in...
  • Page 55 3 SPECIFICATIONS MELSEC-Q (2) When the Q62HLC uses the alert function, additional settings (alert dead band, alert delay count, and wait/re-wait settings) can be configured. The following table lists the alert functions which can be used with the addition of alert dead band, alert delay count and wait/re-wait.
  • Page 56 3 SPECIFICATIONS MELSEC-Q (b) Alert delay count setting The system is set in the alert status when the measured value (PV) that has reached the alert set value remains in the alert range until the sampling count becomes equal to or greater than the alert delay count. An alert dead band can be set in Alert delay count (buffer memory address: 165).
  • Page 57 3 SPECIFICATIONS MELSEC-Q (c) Wait alert Choosing the wait alert ignores the alert status if the measured value (PV)/deviation is in that status when the setting mode is changed to the operation mode, and makes the alert function invalid until the measured value comes out of the alert status.
  • Page 58: Control Output Setting At Cpu Stop Error Occurrence Function

    3 SPECIFICATIONS MELSEC-Q (3) The Q62HLC uses four alerts (Alert 1 to 4) among alert, alert with wait, and alert with re-wait. Alert modes for Alert 1 to 4 can be set in the following buffer memory areas. Buffer memory address (decimal) Channel No.
  • Page 59: Program Control Function

    3 SPECIFICATIONS MELSEC-Q 3.2.12 Program control function (1) Program control function The Q62HLC performs PID control changing the set value (SV), according to the schedule set by users. Program control function performs the control according to the settings of the following items.
  • Page 60 3 SPECIFICATIONS MELSEC-Q The following gives the detailed explanation of control data, program pattern, and zone PID data. (a) Control data Common data required for executing the program control are set. Buffer memory address (decimal) Buffer memory area Description name Execution pattern Select a program pattern to be executed from the program patterns 1 to 3.
  • Page 61 3 SPECIFICATIONS MELSEC-Q Buffer memory address (decimal) Buffer memory area name Description Program pattern Final segment Sets the final segment to complete the program pattern. Pattern link Sets the program pattern of link destination when linking several program patterns. Iteration Sets the number of execution times for the program control.
  • Page 62 3 SPECIFICATIONS MELSEC-Q (From the previous page) Buffer memory address (decimal) Program pattern Buffer memory area name Description Segment Executing time Sets the execution time of segment. Sets the PID data No. used in Zone PID data No. segment. 3 - 27 3 - 27...
  • Page 63 3 SPECIFICATIONS MELSEC-Q The number of execution times for when patters are linked The following setting example is used to explain the number of execution times for when patterns and linked. Buffer Setting item memory Setting value Remarks address CH1 Execution pattern (executed from the pattern 1) CH1 Program pattern 1 pattern link (link to the pattern 2)
  • Page 64 3 SPECIFICATIONS MELSEC-Q (c) Zone PID data The zone PID data divides input range into 8 zones by zone upper limit setting, and then sets the PID constants and control response parameters used for each zone. Zone dividing is performed by the upper limit setting (refer to the table on the next page for the buffer memory area) of zone 1 to 8.
  • Page 65 3 SPECIFICATIONS MELSEC-Q Buffer memory Description Buffer memory address (decimal) area name Zone Upper limit Sets the upper limit for each zone to divide input range into zones. Proportional band Sets the constants (P) setting of proportional band (P) for zones. Integral time (I) Sets the constants of integral time (I)
  • Page 66 3 SPECIFICATIONS MELSEC-Q (a) Zero start Program control starts from time 0, specifying 0 as the set value (SV) at time 0. POINT When the set value of Lower setting limiter (buffer memory address: 56, 88) is greater than 0, program control starts from the value set in Lower setting limiter (buffer memory address: 56, 88).
  • Page 67 3 SPECIFICATIONS MELSEC-Q (c) PV start 2 (time shortened) Specifying 0 as the set value (SV) at time 0, program control starts from where the straight line connecting 0 and the set value (SV) of the segment 1 reaches the measured value (PV) at the start of program control.
  • Page 68 3 SPECIFICATIONS MELSEC-Q (d) PV start 3 (time shortened/find type) Through the entire program pattern, the Q62HLC searches the point where the measured value (PV) at the start of program control and the set value (SV) of each segment match. When a matching point is found, program control starts from that point.
  • Page 69 3 SPECIFICATIONS MELSEC-Q (e) SV start Program control starts from the set value in Set value at program control start (SV_PCS) setting (buffer memory address: 501, 757) regardless of the measured value (PV) at the start of program control and the program pattern. (3) Execution of program control (a) The following is the program control execution procedure.
  • Page 70 3 SPECIFICATIONS MELSEC-Q The following is the example of program pattern 1 controlled by the PID control in the order of segment 1 2 3 4. This section explains the program pattern data, control data, and zone PID data No. using this example. Set value Set value Measured value...
  • Page 71 3 SPECIFICATIONS MELSEC-Q (c) Operation at the completion of program control After the PID control of the final segment set by the final segment completes and reaches the pattern end, the pattern end output is performed. • The pattern end output continues the PID control at the set value of the final segment for the time set in Output time setting of pattern end (buffer memory address: 323, 387, 451, 579, 643, 707).
  • Page 72: Cascade Control Function

    3 SPECIFICATIONS MELSEC-Q 3.2.13 Cascade control function (1) Cascade control function The cascade control can perform the control with the channel 1 as master and the channel 2 as slave. The channel 2 cannot be used as master and the channel 1 cannot be used as slave.
  • Page 73 3 SPECIFICATIONS MELSEC-Q (2) Cascade control and control mode The cascade control function can only be used with the combination of the following three control modes. When the control modes are combined with other ones in the following table, the cascade control is not performed even if Cascade ON/OFF (buffer memory address: 176) is set to 1 (ON).
  • Page 74: Scaling Function

    3 SPECIFICATIONS MELSEC-Q 3.2.14 Scaling function The scaling function scales the measured value and stores it in Scaling value (buffer memory address: 196, 212). The conversion method differs for thermocouple input and for micro voltage, voltage, and current input. The conversion method is automatically selected depending on the setting of Input range (buffer memory address: 32, 64).
  • Page 75 3 SPECIFICATIONS MELSEC-Q (2) Micro voltage, voltage, current input The value converted from the digital output value within the range between Scaling range lower limit value (buffer memory address: 198, 214) and Scaling range upper limit value (buffer memory address: 197, 213) is stored in the scaling value.
  • Page 76: Tracking Function

    3 SPECIFICATIONS MELSEC-Q 3.2.15 SV tracking function (1) SV tracking function When control is switched, drastic change of the set value (SV) is prevented. In case of the following control shifts, this function is executed. • Switching from the program control mode (RUN) to the normal control mode, manual control mode 1, or manual control mode 2 •...
  • Page 77 3 SPECIFICATIONS MELSEC-Q (2) Execution of SV tracking The SV tracking function is enabled by setting 1 (Enable SV tracking) in SV tracking setting (buffer memory address: 203, 219). To execute SV tracking in cascade control, set 1 (Enable SV tracking) in only CH2 SV tracking setting (buffer memory address: 219).
  • Page 78 3 SPECIFICATIONS MELSEC-Q (b) Cascade control shift from ON to OFF The SV tracking function operates as shown below. The value in CH2 Set value monitor (buffer memory address: 26) at the cascade control shift to OFF is set as the set value (SV) of the slave channel.
  • Page 79: Forced Output Function

    3 SPECIFICATIONS MELSEC-Q 3.2.16 Forced output function (1) Forced output function Specified manipulated value (MV) can be forcibly output regardless of the control mode. Using this function, analog output can be processed forcibly without being affected by the operation result of the control. This function is enabled only when the bit 0 of the switch 3 is set to 1 (Enable) in the intelligent function module switch setting.
  • Page 80 3 SPECIFICATIONS MELSEC-Q (3) Operation of the forced output function The forced output function operates as follows. (a) Shift to a forced output status When the value in Forced output command (buffer memory address: 204, 220) is changed to 1 (Forced output commanded), the manipulated value (MV) at that point is stored in Forced output manipulated value (MV) (buffer memory address: 205, 221).
  • Page 81 3 SPECIFICATIONS MELSEC-Q The following table lists the relationship of Forced output manipulated value (MV) (buffer memory address: 205, 221), Manipulated value (MV) (buffer memory address: 13, 14), and analog output value. Manipulated value (MV) Forced output manipulated value (buffer memory address: (MV) (buffer memory address: Analog output value 13, 14)
  • Page 82 3 SPECIFICATIONS MELSEC-Q (4) Operation during program control When Forced output command (buffer memory address: 204, 220) is set to 1 (Forced output commanded) while Program control run/reset (buffer memory address: 57, 89) is 1(RUN), the module goes into a forced output status. Meanwhile, the program control operation continues inside the module.
  • Page 83: Simplified Analog I/O Function

    3 SPECIFICATIONS MELSEC-Q 3.2.17 Simplified analog I/O function This function enables an unused channel of the Q62HLC to be used as a simplified thermocouple/micro voltage input module, analog-digital converter module, or digital-analog converter module. The execution of the simplified analog I/O function is performed in manual control mode 2.
  • Page 84: Parameter Change In Program Control Function

    3 SPECIFICATIONS MELSEC-Q 3.2.18 Parameter change in program control function (1) Parameter change in program control function Buffer memory settings can be changed and reflected to the control in execution without stopping program control. This function is enabled only when the bit 1 of the switch 3 is set to 1 (Enable) in the intelligent function module switch setting.
  • Page 85 3 SPECIFICATIONS MELSEC-Q (c) Pattern data Buffer memory address (decimal) Program pattern Segment Buffer memory area name Reflection timing Final segment* Pattern link Iteration Output time of pattern end Wait zone setting Set value (SV) setting Setting change command (YnB) Executing time (To the next page) *1: Regardless of reflection timing of each, turning Setting change command (YnB) from off to...
  • Page 86 3 SPECIFICATIONS MELSEC-Q (From the previous page) Buffer memory address (decimal) Program pattern Segment Buffer memory area name Reflection timing Setting change Zone PID data No. command (YnB) *1: Regardless of reflection timing of each, turning Setting change command (YnB) from off to on checks whether each setting is within the setting range.
  • Page 87: Q62Hlc Control Status Controlling Output Signal And Buffer Memory Settings And Control Status

    3 SPECIFICATIONS MELSEC-Q 3.2.19 Q62HLC control status controlling output signal and buffer memory settings and control status The Q62HLC has the output signals (Y), buffer memory and intelligent function module switch setting which set its control status. The control status of the Q62HLC differs depending on the mode of the Q62HLC.
  • Page 88 3 SPECIFICATIONS MELSEC-Q (c) Between control modes (8) to 15) in the figure below) The mode is switched by setting a value in Control mode (buffer memory address: 50, 82) when Setting/operation mode status (Xn1) is set to on. After the mode is switched, the new control mode is stored in Control mode monitor (buffer memory address: 30) Value in Control mode (buffer memory address: Setting mode...
  • Page 89 3 SPECIFICATIONS MELSEC-Q (c) Other settings Setting/operation Forced PID control Control status PID continuation flag Stop mode setting mode command stop command (refer to Section 3.5.39) (refer to Section 3.5.12) (refer to Section 3.4) (refer to Section 3.4.3) Temperature Alert PID control Buffer memory address Buffer memory address...
  • Page 90 3 SPECIFICATIONS MELSEC-Q (3) Control status selection when switching to program control When the normal control mode is switched to the program control mode or the manual control mode is switched to the program control mode in the operation mode (Xn1: on), the control status at switching can be selected. Set the control status at switching with the intelligent function module switch setting (Switch 2).
  • Page 91: Sampling Period

    3 SPECIFICATIONS MELSEC-Q 3.3 Sampling Period (1) Sampling period (a) This is the time taken from the channel (CHn) where PID operations are currently executed until restart of PID operations of the current channel (CHn). The time is fixed at 25ms regardless of the number of channels used. 3 - 56 3 - 56...
  • Page 92: I/O Signals Transferred To/From The Programmable Controller Cpu

    3 SPECIFICATIONS MELSEC-Q 3.4 I/O Signals Transferred to/from the Programmable Controller CPU This section describes the I/O signal assignment and the applications of each signal. 3.4.1 I/O signals (1) The Q62HLC uses 16 input points and 16 output points to transfer signals to/from the programmable controller CPU.
  • Page 93: Input Signal Functions

    3 SPECIFICATIONS MELSEC-Q 3.4.2 Input signal functions (1) Watchdog timer error flag (Xn0) This signal turns on when the Q62HLC detects a watchdog timer error. (2) Setting/operation mode status (Xn1) This signal turns on in the operation mode and turns off in the setting mode. Modes can be switched using Setting/operation mode command (Yn1).
  • Page 94 3 SPECIFICATIONS MELSEC-Q (4) Module ready flag (Xn3) (a) This signal turns on when the Q62HLC is ready for operation after the programmable controller CPU is powered on or reset. (b) To read/write data in the buffer memory of the Q62HLC from/to the programmable controller CPU, Module ready flag (Xn3) needs to be on.
  • Page 95 3 SPECIFICATIONS MELSEC-Q (7) Default value write completion flag (Xn9) (a) This signal turns on when default values of the Q62HLC are successfully written to the buffer memory after Default setting registration start command (Yn9) is turned on. (b) When Default setting registration start command (Yn9) turns off, this flag (Xn9) also turns off.
  • Page 96 3 SPECIFICATIONS MELSEC-Q (9) Setting change completion flag (XnB) (a) This signal turns on when any setting value of the buffer memory areas is changed and reflected to the control after Setting change command (YnB) is turned on. (b) When Setting change command (YnB) turns off, this flag (XnB) also turns off.
  • Page 97: Output Signal Functions

    3 SPECIFICATIONS MELSEC-Q 3.4.3 Output signal functions (1) Setting/operation mode command (Yn1) (a) This signal sets the mode of the Q62HLC. During the process of switching the modes, the setting value cannot be changed. • OFF : Setting mode • ON : Operation mode (b) This signal is set to all 2 channels together.
  • Page 98 3 SPECIFICATIONS MELSEC-Q (d) Turning off this command (Yn4, Yn5) during auto tuning execution stops auto tuning. When auto tuning is stopped, the PID constants in buffer memory do not change. POINT To execute auto tuning in a row, wait for more than 1 second after the first auto tuning is completed (this command turns off), and then turn on this command for the second auto tuning.
  • Page 99 3 SPECIFICATIONS MELSEC-Q (6) Setting change command (YnB) (a) This signal determines the values in the following buffer memory areas (areas where values can be changed only in the setting mode) as setting values. • Input range (buffer memory address: 32, 64) •...
  • Page 100: Buffer Memory Areas

    3 SPECIFICATIONS MELSEC-Q 3.5 Buffer Memory 3.5.1 Buffer memory areas The following table lists the buffer memory areas of the Q62HLC. Areas not listed are use prohibited areas. Do not write any data into the use prohibited areas. Doing so may cause malfunction of the programmable controller CPU. Address Write condition (decimal (hexadecimal))
  • Page 101 3 SPECIFICATIONS MELSEC-Q (From the previous page) Write condition Address (decimal (hexadecimal)) Item Range Default Setting Reference Always Disabled mode 45 (2D 77 (4D Sensor compensation value setting -5000 to 5000 Section — — 0.1 , 0.01%) 3.5.18 46 (2E 78 (4E AT differential gap 0 to 10000 (...
  • Page 102 3 SPECIFICATIONS MELSEC-Q (From the previous page) Write condition Address (decimal (hexadecimal)) Item Range Default Reference Setting Always Disabled mode Thermocouples 0 to 100 0.1 ) Section 167 (A7 Approach range setting Micro voltage — — 3.5.37 1 to 100 (mV), voltage (V), 0.1%) current input (mA)
  • Page 103 3 SPECIFICATIONS MELSEC-Q (From the previous page) Write condition Address (decimal (hexadecimal)) Item Range Default Setting Reference Always Disabled mode Section 261 (105 517 (205 Wait status flag — — — — 3.5.58 Section 262 (106 518 (206 Hold status flag —...
  • Page 104 3 SPECIFICATIONS MELSEC-Q (From the previous page) Write condition Address (decimal (hexadecimal)) Item Range Default Reference Setting Always Disabled mode Thermocouple 1 to full-scale 0.1 ) Proportional band (P) 290 (122 546 (222 Micro voltage — — setting 1 to 10000 (mV), voltage (V), 0.1%) current (mA)
  • Page 105 3 SPECIFICATIONS MELSEC-Q (From the previous page) Write condition Address (decimal (hexadecimal)) Item Range Default Setting Reference Always Disabled mode 320 (140 576 (240 Final segment 1 to 16 — — 321 (141 577 (241 Pattern link 0 to 3 (0: No link) —...
  • Page 106 3 SPECIFICATIONS MELSEC-Q (From the previous page) Write condition Address (decimal (hexadecimal)) Item Range Default Setting Reference Always Disabled mode Set value(SV) 346 (15A ) 602 (25A Input range — — setting Executing 0 to 30000 ( 0.01s, 0.1s, 347 (15B ) 603 (25B Segment 8 —...
  • Page 107 3 SPECIFICATIONS MELSEC-Q (From the previous page) Write condition Address (decimal (hexadecimal)) Item Range Default Setting Reference Always Disabled mode 384 (180 640 (280 Final segment 1 to 16 — — 385 (181 641 (281 Pattern link 0 to 3 (0: No link) —...
  • Page 108 3 SPECIFICATIONS MELSEC-Q (From the previous page) Write condition Address (decimal (hexadecimal)) Item Range Default Setting Reference Always Disabled mode Set value(SV) 410 (19A ) 666 (29A Input range — — setting Executing 0 to 30000 ( 0.01s, 0.1s, 411 (19B ) 667 (29B Segment 8 —...
  • Page 109 3 SPECIFICATIONS MELSEC-Q (From the previous page) Write condition Address (decimal (hexadecimal)) Item Range Default Setting Reference Always Disabled mode 448 (1C0 ) 704 (2C0 Final segment 1 to 16 — — 449 (1C1 ) 705 (2C1 Pattern link 0 to 3 (0: No link) —...
  • Page 110 3 SPECIFICATIONS MELSEC-Q (From the previous page) Write condition Address (decimal (hexadecimal)) Item Range Default Setting Reference Always Disabled mode Set value(SV) 474 (1DA ) 730 (2DA Input range — — setting Executing 0 to 30000 ( 0.01s, 0.1s, 475 (1DB ) 731 (2DB Segment 8 —...
  • Page 111: Error Code (Buffer Memory Address 0: Un\G0)

    3 SPECIFICATIONS MELSEC-Q 3.5.2 Error code (buffer memory address 0: Un\G0) An error code is stored when an error occurs in the Q62HLC. When checking the error code on the system monitor of GX Developer, monitor with hexadecimal. The numeric value at the last digit shows the error code. When data is written from the programmable controller CPU, the Q62HLC checks: •...
  • Page 112: Alert Definition (Buffer Memory Address 5, 6: Un\G5, Un\G6)

    3 SPECIFICATIONS MELSEC-Q 3.5.3 Alert definition (buffer memory address 5, 6: Un\G5, Un\G6) When the cause of the alert is removed, the bit is set to "0". The bit corresponding to the alert detected on the channel is set to 1. When the cause of the alert is removed, the bit is set to 0.
  • Page 113: Manipulated Value (Mv) (Buffer Memory Address 13, 14: Un\G13, Un\G14)

    3 SPECIFICATIONS MELSEC-Q 3.5.5 Manipulated value (MV) (buffer memory address 13, 14: Un\G13, Un\G14) (1) The result of PID operations, which are performed based on the measured value, is stored. (2) The stored value differs depending on the control mode. For control modes, refer to Control mode monitor (buffer memory address: 30) and Control mode (buffer memory address: 50, 82) (Section 3.5.9 and 3.5.23).
  • Page 114: Control Mode Monitor (Buffer Memory Address 30: Un\G30)

    3 SPECIFICATIONS MELSEC-Q 3.5.9 Control mode monitor (buffer memory address 30: Un\G30) After a control mode shift is completed, the value corresponds to the new control mode is stored. A value of a control mode consists of 4-bit data for each channel, and the data are stored in the lower 8 bits.
  • Page 115: Pid Constant Read/Write Completion Flag From Feram (Buffer Memory Address 31: Un\G31)

    3 SPECIFICATIONS MELSEC-Q 3.5.10 PID constant read/write completion flag from FeRAM (buffer memory address 31: Un\G31) (1) This flag indicates a normal completion or failure of the following functions. • PID constant read command from FeRAM (buffer memory address: 62, 94) •...
  • Page 116 3 SPECIFICATIONS MELSEC-Q (3) The following chart shows the on/off timings of this flag relative to Automatic backup setting after auto tuning of PID constants (buffer memory address: 63, 95). (For channel 1) The automatic backup completion status can be checked by checking this flag upon completion of auto tuning.
  • Page 117: Input Range (Buffer Memory Address 32, 64: Un\G32, Un\G64)

    3 SPECIFICATIONS MELSEC-Q 3.5.11 Input range (buffer memory address 32, 64: Un\G32, Un\G64) (1) Set the input range setting value according to the sensor and measuring range used. The following table lists the types of input sensor connectable to the Q62HLC and their setting ranges.
  • Page 118 3 SPECIFICATIONS MELSEC-Q After the input range setting is changed, the setting ranges of the following items will change accordingly. As a result, the previous setting value may become out of the setting range and a write data error may be detected. Before changing the input range, set the values of the following items within the expected setting range after change.
  • Page 119: Stop Mode Setting (Buffer Memory Address 33, 65: Un\G33, Un\G65)

    3 SPECIFICATIONS MELSEC-Q 3.5.12 Stop mode setting (buffer memory address 33, 65: Un\G33, Un\G65) (1) A mode when the PID operation is stopped by Forced PID control stop command (YnC, YnD) is set. The default is set to "Monitor". (2) The following table describes the setting modes and operations of each mode. Operation Setting Measured...
  • Page 120: Pid Constant Setting

    3 SPECIFICATIONS MELSEC-Q 3.5.14 PID constant setting (buffer memory address 35 to 37, 67 to 69: Un\G35 to Un\G37, Un\G67 to Un\G69) (1) The proportional band (P), integral time (I), and derivative time (D) for performing PID operation in normal control mode are set. (2) For thermocouple input, set the proportional band (P) with temperature.
  • Page 121 3 SPECIFICATIONS MELSEC-Q POINT Proportional band (P) is the variation width of deviation (E), required to change the manipulated value (MV) from 0% to 100%. With the proportional action, the relationship between the changes in the deviation (E) and manipulated value (MV) can be expressed in the following formula: (Kp: proportional gain) MV=Kp E From the formula above, the proportional band (P) is directed as shown below.
  • Page 122: Alert Set Value 1 To

    3 SPECIFICATIONS MELSEC-Q 3.5.15 Alert set value 1 to 4 (buffer memory address 38 to 41, 70 to 73: Un\G38 to Un\G41, Un\G70 to Un\G73) (1) Set the conditions to turn alerts 1 to 4 on, before setting the alert set values. The alert mode used in the alerts 1 to 4 is set in Alert 1 to 4 mode setting (buffer memory address: 192 to 195, 208 to 211).
  • Page 123: Output Variation Limiter (Buffer Memory Address 44, 76: Un\G44, Un\G76)

    3 SPECIFICATIONS MELSEC-Q 3.5.17 Output variation limiter (buffer memory address 44, 76: Un\G44, Un\G76) (1) A sudden change in the manipulated value is controlled by setting this value. Set the variation of the manipulated value per second. Mainpulated value (MV) Mainpulated value (MV)2 Output variation limiter Mainpulated value (MV)1...
  • Page 124: At Differential Gap (Buffer Memory Address 46, 78: Un\G46, Un\G78)

    3 SPECIFICATIONS MELSEC-Q 3.5.19 AT differential gap (buffer memory address 46, 78: Un\G46, Un\G78) (1) The waiting time required from the output on/off status change to the next status change during auto tuning is set. (2) The setting range is 0 to 10000 (0.00 to 100.00s). (3) The target setting value for standard mode is 10 (0.1s), for fast response mode is 1 (0.01s).
  • Page 125: Primary Delay Digital Filter Setting (Buffer Memory Address 48, 80: Un\G48, Un\G80)

    3 SPECIFICATIONS MELSEC-Q 3.5.21 Primary delay digital filter setting (buffer memory address 48, 80: Un\G48, Un\G80) (1) The primary delay digital filter is designed to absorb sudden changes when the measured value (PV) is input in a pulse format. (2) The time required for 63.3% of the measured value (PV) to change is set. When 0 is set, the primary delay digital filter turns off.
  • Page 126: Control Response Parameter (Buffer Memory Address 49, 81: Un\G49, Un\G81)

    3 SPECIFICATIONS MELSEC-Q 3.5.22 Control response parameter (buffer memory address 49, 81: Un\G49, Un\G81) (1) The response level to the PID control set value (SV) change is set. (a) Slow : Set 0. Set this level to suppress the overshooting caused by the set value change.
  • Page 127: Control Mode (Buffer Memory Address 50, 82: Un\G50, Un\G82)

    3 SPECIFICATIONS MELSEC-Q 3.5.23 Control mode (buffer memory address 50, 82: Un\G50, Un\G82) (1) A control mode (normal control mode, manual control mode, or program control mode) is set. • Normal control mode : Set 0. The manipulated value calculated in PID operations is used for control output.
  • Page 128: Man Output Setting (Buffer Memory Address 51, 83: Un\G51, Un\G83)

    3 SPECIFICATIONS MELSEC-Q 3.5.24 MAN output setting (buffer memory address 51, 83: Un\G51, Un\G83) (1) The manipulated value in manual control mode is set. (2) MAN output setting is valid for the manual control mode 1 and 2 only. The changed setting value is not output in the normal control mode and the program control mode even if the setting value has been changed, as the system overwrites it with the manipulated value calculated in PID operations.
  • Page 129: At Bias (Buffer Memory Address 53, 85: Un\G53, Un\G85)

    3 SPECIFICATIONS MELSEC-Q 3.5.26 AT bias (buffer memory address 53, 85: Un\G53, Un\G85) (1) The auto tuning decides each PID constant by executing the ON/OFF operation of control output and hunching the measured value. Set the AT bias, if the overshoot of this hunching is not suitable for the control target.
  • Page 130: Upper/Lower Setting Limiter (Buffer Memory Address 55, 56, 87, 88: Un\G55, Un\G56, Un\G87, Un\G88)

    3 SPECIFICATIONS MELSEC-Q 3.5.28 Upper/lower setting limiter (buffer memory address 55, 56, 87, 88: Un\G55, Un\G56, Un\G87, Un\G88) (1) The upper and lower limits of the set value (SV) are set. (2) Set a value within the input range specified for the input range. Set the value so that the lower output limiter value becomes smaller than the upper output limiter value.
  • Page 131: Loop Disconnection Detection Judgment Time (Buffer Memory Address 59, 91: Un\G59, Un\G91)

    3 SPECIFICATIONS MELSEC-Q 3.5.30 Loop disconnection detection judgment time (buffer memory address 59, 91: Un\G59, Un\G91) (1) The loop disconnection detection function detects errors in the control system due to a load disconnection, external operation device fault, sensor disconnection and the like. No temperature change of greater than 2 for thermocouple input and greater than 0.2% of full-scale for micro voltage, voltage and current within the loop...
  • Page 132: Unused Channel Setting (Buffer Memory Address 61, 93: Un\G61, Un\G93)

    3 SPECIFICATIONS MELSEC-Q 3.5.32 Unused channel setting (buffer memory address 61, 93: Un\G61, Un\G93) (1) This setting is used for making unused channels where the PID control will not be performed and sensors will not be connected. • Used : Set 0 (default). •...
  • Page 133: Automatic Backup Setting After Auto Tuning Of Pid Constants (Buffer Memory Address 63, 95: Un\G63, Un\G95)

    3 SPECIFICATIONS MELSEC-Q 3.5.34 Automatic backup setting after auto tuning of PID constants (buffer memory address 63, 95: Un\G63, Un\G95) (1) This function backs up PID constants set at the completion of auto tuning automatically in FeRAM. When 1 is set and auto tuning is started, data in the following buffer memory addresses are automatically backed up to FeRAM at the completion of auto tuning.
  • Page 134: Approach Range Setting (Buffer Memory Address 167: Un\G167)

    3 SPECIFICATIONS MELSEC-Q 3.5.37 Approach range setting (buffer memory address 167: Un\G167) (1) The approach range is set. Set the rise/fall values for thermocouple, the rise/fall % of full-scale for micro voltage, voltage and current, at which a rise will be judged as completed, relative to the set value.
  • Page 135: Cascade Gain (Buffer Memory Address 177: Un\G177)

    3 SPECIFICATIONS MELSEC-Q 3.5.41 Cascade gain (buffer memory address 177: Un\G177) (1) This is a gain for converting to the cascade signal after adding cascade bias in manipulated value of master and converting to full-scale of slave input range on the cascade control.
  • Page 136: Alert 1 To 4 Mode Setting

    3 SPECIFICATIONS MELSEC-Q 3.5.44 Alert 1 to 4 mode setting (buffer memory address 192 to 195, 208 to 211: Un\G192 to Un\G195, Un\G208 to Un\G211) This setting is available in the setting mode only. To activate the change, turn on Setting change command (YnB). (1) The alert mode is set.
  • Page 137: Scaling Range Upper/Lower Limit Value (Buffer Memory Address 197, 198, 213, 214: Un\G197, Un\G198, Un\G213, Un\G214)

    3 SPECIFICATIONS MELSEC-Q 3.5.46 Scaling range upper/lower limit value (buffer memory address 197, 198, 213, 214: Un\G197, Un\G198, Un\G213, Un\G214) (1) The upper limit value and lower limit value of the scaling range is set. The setting range is within the input range. (a) Thermocouple input Set the scaling range of measured temperature value.
  • Page 138: Hold Command (Buffer Memory Address 201, 217: Un\G201, Un\G217)

    3 SPECIFICATIONS MELSEC-Q 3.5.48 Hold command (buffer memory address 201, 217: Un\G201, Un\G217) (1) This is the command to pause and restart the program control. • Hold OFF : Set 0 (default). When the program control has paused, it restarts from the set value at the point where it paused.
  • Page 139: Command Advancing (Buffer Memory Address 202, 218: Un\G202, Un\G218)

    3 SPECIFICATIONS MELSEC-Q 3.5.49 Command advancing (buffer memory address 202, 218: Un\G202, Un\G218) (1) This is the command of the advancing operation to carry the progress of the program control forward to the next segment. • Advancing OFF : Set 0 (default). The advancing operation is not performed.
  • Page 140: Forced Output Command (Buffer Memory Address 204, 220: Un\G204, Un\G220)

    3 SPECIFICATIONS MELSEC-Q 3.5.51 Forced output command (buffer memory address 204, 220: Un\G204, Un\G220) (1) This is the command to execute the forced output function. • Forced output not commanded: Set 0 (default). • Forced output commanded: Set 1. The forced output function is executed. (2) The status of the forced output function can be checked in Forced output status flag (buffer memory address: 266, 522).
  • Page 141: Execution Times Monitor (Buffer Memory Address 258, 514: Un\G258, Un\G514)

    3 SPECIFICATIONS MELSEC-Q 3.5.55 Execution times monitor (buffer memory address 258, 514: Un\G258, Un\G514) (1) Execution times of the currently executed program pattern are stored. (2) Execution times are updated at the pattern end. When the program pattern is linked, execution times are updated at the pattern end of the final program pattern.
  • Page 142: Advancing Completion Flag (Buffer Memory Address 263, 519: Un\G263, Un\G519)

    3 SPECIFICATIONS MELSEC-Q 3.5.60 Advancing completion flag (buffer memory address 263, 519: Un\G263, Un\G519) (1) This is a flag to check if the advancing operation according to the setting in Command advancing (buffer memory address: 202, 218) is completed in the program control.
  • Page 143: Execution Pattern (Buffer Memory Address 272, 528: Un\G272, Un\G528)

    3 SPECIFICATIONS MELSEC-Q 3.5.64 Execution pattern (buffer memory address 272, 528: Un\G272, Un\G528) This setting is available only in the setting mode. However, when the parameter change in program control function is enabled, this setting can be changed in the operation mode also.
  • Page 144: Time Scale (Buffer Memory Address 274, 530: Un\G274, Un\G530)

    3 SPECIFICATIONS MELSEC-Q 3.5.66 Time scale (buffer memory address 274, 530: Un\G274, Un\G530) This setting is available only in the setting mode. However, when the parameter change in program control function is enabled, this setting can be changed in the operation mode also.
  • Page 145 3 SPECIFICATIONS MELSEC-Q (d) The following lists the setting ranges. The default value is the upper limit of the input range. • Zone 1 upper limit: Lower limit of the input range to upper limit of the input range • Zone 2 upper limit: Zone 1 upper limit to upper limit of the input range •...
  • Page 146: Un\G320 To Un\G500, Un\G576 To Un\G756)

    3 SPECIFICATIONS MELSEC-Q 3.5.68 Program pattern (buffer memory address 320 to 500, 576 to 756: Un\G320 to Un\G500, Un\G576 to Un\G756) The program pattern used for the program control function is set. There are three program patterns and the following eight items (1) to (8) need to be set.
  • Page 147 3 SPECIFICATIONS MELSEC-Q (c) The following lists the setting ranges. • No link: Set 0 (default). • Patten 1: Set 1. • Patten 2: Set 2. • Patten 3: Set 3. (d) The program pattern and segment No. in execution can be monitored in Execution pattern monitor (buffer memory address: 264, 520) and Segment monitor (buffer memory address: 256, 512).
  • Page 148 3 SPECIFICATIONS MELSEC-Q Pattern end output time of program pattern (a) The time required for the pattern end output at the completion of the program pattern is set. The default value is 0. (b) When the program pattern is completed, the Q62HLC holds the set value at the pattern end and continues the PID control only for the pattern end output time.
  • Page 149 3 SPECIFICATIONS MELSEC-Q (c) The wait zone is set to the zone where the setting value of the wait zone is divided into the plus side and the minus side for the set value. For example, in the case where the set value is 100 and the setting value of the wait zone is 10 , the actual wait zone will be 90 to 110 .
  • Page 150: Set Value At Program Control Start (Sv_Pcs) Setting

    3 SPECIFICATIONS MELSEC-Q 3.5.69 Set value at program control start (SV_PCS) setting (buffer memory address: 501, 757: Un\G501, Un\G757) This setting is available only in the setting mode. However, when the parameter change in program control function is enabled, this setting can be changed in the operation mode also.
  • Page 151: Procedures And Settings Before System Operation

    4 PROCEDURES AND SETTINGS BEFORE SYSTEM OPERATION MELSEC-Q 4 PROCEDURES AND SETTINGS BEFORE SYSTEM OPERATION The following describes the procedure prior to the Q62HLC operation, the name and setting of each part of the Q62HLC, and wiring method. 4.1 Handling Precautions The following are the precautions for handling the Q62HLC.
  • Page 152: Procedures Before Operation

    4 PROCEDURES AND SETTINGS BEFORE SYSTEM OPERATION MELSEC-Q 4.2 Procedures before Operation Follow the instructions below to operate the Q62HLC. POINT When executing temperature control as a temperature sensor, perform warmup operation about 5 minutes before starting operation to make temperature compensation properly.
  • Page 153: Part Names

    4 PROCEDURES AND SETTINGS BEFORE SYSTEM OPERATION MELSEC-Q 4.3 Part Names This section explains the names of the Q62HLC parts. [Without a cold junction temperature compensation resistor] Name Application Indicates the operating status of the Q62HLC. On: Operating normally. RUN LED Off: 5V power is off, watchdog timer error occurred, or changing online module is allowed.
  • Page 154 4 PROCEDURES AND SETTINGS BEFORE SYSTEM OPERATION MELSEC-Q (1) Terminal number and signal name Terminal No. Signal name Description 24VDC+external power supply 24VDC+ for current output 24VDC- external power supply 24VDC- for current output Current output+ OUT1 Current output- Current output+ OUT2 Current output- Current input+...
  • Page 155: Wiring

    4 PROCEDURES AND SETTINGS BEFORE SYSTEM OPERATION MELSEC-Q 4.4 Wiring This section describes wiring instructions and module connection examples. 4.4.1 Wiring precautions External wiring must be noise-resistant as one of the conditions to fully exhibit the Q62HLC functions and configure a highly reliably system. The instructions given below should be followed in wiring.
  • Page 156: External Wiring

    4 PROCEDURES AND SETTINGS BEFORE SYSTEM OPERATION MELSEC-Q 4.4.2 External wiring (1) Input (a) Thermocouple input *1: Use a shielded compensating lead wire. POINT Use a compensating lead wire for a thermocouple cable. Otherwise, when there is a distance between the cold junction temperature compensation resistor and the end part of the thermocouple, the measured value (PV) may be abnormal due to the ambient temperature difference.
  • Page 157 4 PROCEDURES AND SETTINGS BEFORE SYSTEM OPERATION MELSEC-Q (d) Current input *1: Use a shielded cable. (2) Output *1: Use a shielded cable. *2: Separate the wiring of each channel between the control devices and Q62HLC. If not, the current cannot be output correctly. (3) External power supply REMARKS For saving an installation space, when wiring to a FG terminal is difficult, install a FG...
  • Page 158: Intelligent Function Module Switch Setting

    4 PROCEDURES AND SETTINGS BEFORE SYSTEM OPERATION MELSEC-Q 4.5 Intelligent Function Module Switch Setting This section explains the intelligent function module switch settings. Configure intelligent function module switch settings with I/O assignment setting on GX Developer. Using intelligent function module switch settings, the Q62HLC output status can be set when an error stop occurred in the programmable controller CPU.
  • Page 159 4 PROCEDURES AND SETTINGS BEFORE SYSTEM OPERATION MELSEC-Q (2) Operating procedure Start the settings with GX Developer I/O assignment setting window. (a) I/O assignment window Specify the following for the slot where the Q62HLC is mounted. Type : Select "Intelli." Model name : Enter the module's model name.
  • Page 160: Utility Package (Gx Configurator-Tc)

    5 UTILITY PACKAGE (GX Configurator-TC) MELSEC-Q 5 UTILITY PACKAGE (GX Configurator-TC) 5.1 Utility Package Functions The following table lists the utility package functions. Table 5.1 Utility Package (GX Configurator-TC) Function List Function Description Reference (1) Configure initial setting for Q62HLC in each channel. Set the values of the items which require the initial setting.
  • Page 161 5 UTILITY PACKAGE (GX Configurator-TC) MELSEC-Q (From the previous page) Function Description Reference (1) Set the Q62HLC buffer memory performed the auto refresh in each channel •Error Code •CH Execution times monitor •CH Measured value (PV) •CH Execution pattern monitor •CH Manipulated value (MV) •CH...
  • Page 162 5 UTILITY PACKAGE (GX Configurator-TC) MELSEC-Q (From the previous page) Function Description Reference •CH Alert 1 mode setting •CH Zone PID monitor •CH Alert set value 1 •CH Wait status flag •CH Alert 2 mode setting •CH Hold status flag •CH Alert set value 2 •CH...
  • Page 163: Installing And Uninstalling The Utility Package

    5 UTILITY PACKAGE (GX Configurator-TC) MELSEC-Q 5.2 Installing and Uninstalling the Utility Package For how to install or uninstall the utility package, refer to "Method of installing the MELSOFT Series" included in the utility package. 5.2.1 Handling precautions The following explains the precautions on using the utility package. (1) For safety Since the utility package is add-in software for GX Developer, read "SAFETY PRECATIONS"...
  • Page 164 5 UTILITY PACKAGE (GX Configurator-TC) MELSEC-Q (6) Number of parameters that can be set in GX Configurator-TC When multiple intelligent function modules are mounted, the number of parameter settings must not exceed the following limit. When intelligent function modules are Maximum number of parameter settings installed to: Initial setting...
  • Page 165: Operating Environment

    5 UTILITY PACKAGE (GX Configurator-TC) MELSEC-Q 5.2.2 Operating environment This section describes the operating environment of the personal computer that runs GX Configurator-TC. Item Description Installation (Add-in) target Add-in to GX Developer Version 4 (English version) or later Personal computer A personal computer with any of the operating systems below Refer to the next page "Operating system and performance required for personal computer".
  • Page 166 5 UTILITY PACKAGE (GX Configurator-TC) MELSEC-Q Operating system and performance required for personal computer Performance required for personal computer Operating system Memory ® ® Windows Pentium 133MHz or more 32MB or more ® ® Windows Pentium 133MHz or more 32MB or more ®...
  • Page 167: Utility Package Operation

    5 UTILITY PACKAGE (GX Configurator-TC) MELSEC-Q 5.3 Utility Package Operation 5.3.1 Common utility package operations (1) Control keys Special keys that can be used for operations of the utility package and their applications are listed in the table below. Application Cancels the current entry in a cell.
  • Page 168 5 UTILITY PACKAGE (GX Configurator-TC) MELSEC-Q 3) From GX Developer, select: [Online] [Read from PLC] / [Write to PLC] "Intelligent function module parameters" Alternatively, from the intelligent function module selection window of the utility, select: [Online] [Read from PLC] / [Write to PLC] <Text files>...
  • Page 169: Operation Overview

    5 UTILITY PACKAGE (GX Configurator-TC) MELSEC-Q 5.3.2 Operation overview GX Developer screen [Tools] – [Intelligent function utility] – [Start] Screen for selecting a target intelligent function module Enter "Start I/O No.", and select Refer to Section 5.3.3. "Module type" and "Module model name". Initial setting Auto refresh Initial setting screen...
  • Page 170 5 UTILITY PACKAGE (GX Configurator-TC) MELSEC-Q 5 - 11 5 - 11...
  • Page 171: Starting The Intelligent Function Module Utility

    5 UTILITY PACKAGE (GX Configurator-TC) MELSEC-Q 5.3.3 Starting the intelligent function module utility [Operating procedure] Intelligent function module utility is started from GX Developer. [Tools] [Intelligent function utility] [Start] [Setting screen] [Explanation of items] (1) Activation of other windows Following screens can be displayed from the intelligent function module utility window.
  • Page 172 5 UTILITY PACKAGE (GX Configurator-TC) MELSEC-Q (3) Menu bar (a) Intelligent function module's parameter items Intelligent function module parameters of the project opened by GX Developer are handled. [Open : Reads a parameter file. parameters] [Close : Closes the parameter file. If any data are modified, a parameters] dialog asking for file saving will appear.
  • Page 173: Initial Settings

    5 UTILITY PACKAGE (GX Configurator-TC) MELSEC-Q 5.4 Initial Settings [Purpose] Configure initial settings for operating the Q62HLC in each channel. For the initial setting parameter types, refer to Section 5.1. Setting parameters in the Initial setting window can omit parameter settings with sequence program.
  • Page 174 5 UTILITY PACKAGE (GX Configurator-TC) MELSEC-Q Auto tuning setting Program control setting Normal control setting Cascade control setting 5 - 15 5 - 15...
  • Page 175 5 UTILITY PACKAGE (GX Configurator-TC) MELSEC-Q Scaling setting 5 - 16 5 - 16...
  • Page 176 5 UTILITY PACKAGE (GX Configurator-TC) MELSEC-Q [Explanation of items] (1) Command buttons Creates a file containing the window data in the text file Make text file format. End setup Saves the set data and ends the operation. Cancel Cancels the setting and ends the operation. POINT Initial settings are stored in the intelligent module parameters.
  • Page 177: Auto Refresh

    5 UTILITY PACKAGE (GX Configurator-TC) MELSEC-Q 5.5 Auto Refresh Setting [Purpose] Configure the Q62HLC buffer memory for automatic refresh in each channel. For the automatic refresh setting types, refer to Section 5.1. This auto refresh setting eliminates the need for reading and writing by sequence programs.
  • Page 178 5 UTILITY PACKAGE (GX Configurator-TC) MELSEC-Q [Explanation of items] (1) Items Module side Buffer : Displays the buffer memory size of the setting item. size Module side Transfer : Displays the number of words to be transferred. word count Transfer direction : "...
  • Page 179: Monitoring/Test

    5 UTILITY PACKAGE (GX Configurator-TC) MELSEC-Q 5.6 Monitoring/Test [Purpose] Start the buffer memory monitoring/testing and I/O signals monitoring/testing from this screen. [Operating procedure] Select monitor/test module window "Start I/O No. " "Module type" "Module model name" Monitor/test *1: Enter the start I/O No. in hexadecimal. The window can also be started from System monitor of GX Developer Version 6 or later.
  • Page 180 5 UTILITY PACKAGE (GX Configurator-TC) MELSEC-Q 5 - 21 5 - 21...
  • Page 181 5 UTILITY PACKAGE (GX Configurator-TC) MELSEC-Q 5 - 22 5 - 22...
  • Page 182 5 UTILITY PACKAGE (GX Configurator-TC) MELSEC-Q [Explanation of items] (1) Items Setting item : Displays I/O signals and buffer memory names. Current value : Monitors the I/O signal states and present buffer memory values. Setting value : Enters or selects values to be written into the buffer memory for test operation.
  • Page 183: Programming

    6 PROGRAMMING MELSEC-Q 6 PROGRAMMING This chapter describes the programs of the Q62HLC. When applying any of the program examples introduced in this chapter to the actual system, verify the applicability and confirm that no problems will occur in the system control.
  • Page 184: For Use In Normal System Configuration

    6 PROGRAMMING MELSEC-Q 6.2 For Use in Normal System Configuration System configuration for program explanation (1) System configuration (2) Program conditions The programs are written to control the temperature measured by the thermocouple (K: -200 to 1372 ) connected to the channel 1. •...
  • Page 185 6 PROGRAMMING MELSEC-Q (a) Devices used by user Device Function Description Setting value write command Sets the parameter to execute normal control and program control using CH 1 and writes into FeRAM. PID constant read command from FeRAM Reads PID constant set by auto tuning from FeRAM. (when GX Configurator-TC is used) Auto tuning execution command Executes auto tuning for the specified set value.
  • Page 186 6 PROGRAMMING MELSEC-Q *2: Before executing program control, the PID constants of zone 1 and zone 2 need to be set by the program control auto tuning (X11). When program control is executed by the set pattern, it operates as follows. Setting value Segment number Set value...
  • Page 187: Program Example Using The Utility Package

    6 PROGRAMMING MELSEC-Q 6.2.1 Program example using the utility package (1) Operation of utility package (a) Initial setting (refer to Section 5.4) <When cascade control is not executed> CH1 Input range ............"0" CH2 Unused channel setting ........"Not Used" [Limiter setting] CH1 Upper setting limiter..........."2000"...
  • Page 188 6 PROGRAMMING MELSEC-Q [Cascade control setting] Cascade bias.............."-500" Cascade gain.............."2000" (b) Auto refresh setting (refer to Section 5.5) Error code .............."D50" CH1 measured value (PV) ........."D51" (c) Writing intelligent function module parameters (refer to Section 5.3.3) Write the parameter values of the intelligent function module to the programmable controller CPU.
  • Page 189 6 PROGRAMMING MELSEC-Q (d) Executing auto tuning by selecting [Online], [Monitor/test] from the menu (refer to Section 5.6) Execute auto tuning following the procedure shown on the screen. CH1 Automatic backup setting after AT of PID constants ...."Yes" After completing auto tuning, change the following setting items. •...
  • Page 190 6 PROGRAMMING MELSEC-Q (2) Program example 6 - 8 6 - 8...
  • Page 191 6 PROGRAMMING MELSEC-Q *1: The program in this area is executed when the PID constants in FeRAM are different from those set in intelligent function module parameter. 6 - 9 6 - 9...
  • Page 192: Program Example Without Using The Utility Package

    6 PROGRAMMING MELSEC-Q 6.2.2 Program example without using the utility package 6 - 10 6 - 10...
  • Page 193 6 PROGRAMMING MELSEC-Q *1: The program in this area is required to write the input range, alert setting, set value, and other values to FeRAM. These values do not need to be written to FeRAM if initial settings of GX Configurator-TC are used or these values are written using a sequence program at power-on.
  • Page 194 6 PROGRAMMING MELSEC-Q *1: The program in this area is required to write the input range, alert setting, set value, and other values to FeRAM. These values do not need to be written to FeRAM if initial settings of GX Configurator-TC are used or these values are written using a sequence program at power-on.
  • Page 195 6 PROGRAMMING MELSEC-Q 6 - 13 6 - 13...
  • Page 196 6 PROGRAMMING MELSEC-Q CH1 P1S4 PID data Setting change command Program Setting Setting operation_ change change Pattern completion command data setting command 6 - 14 6 - 14...
  • Page 197 6 PROGRAMMING MELSEC-Q Cascade control setting Cascade Setting/ Module CH1 Unused control_ operation ready error channel setting Setting mode flag flag command status CH2 Unused channel setting CH1 Control mode CH2 Control mode CH1 Input range CH2 Input range CH1 Upper setting limiter setting CH1 Lower...
  • Page 198 6 PROGRAMMING MELSEC-Q 6 - 16 6 - 16...
  • Page 199 6 PROGRAMMING MELSEC-Q 6 - 17 6 - 17...
  • Page 200 6 PROGRAMMING MELSEC-Q 6 - 18 6 - 18...
  • Page 201 6 PROGRAMMING MELSEC-Q AT completion- 1 sec. clock waiting counter AT completion- Setting Setting waiting counter change change completion command Proportional band_Saving Proportional register band setting Integral time_ Integral Saving time register Derivative time_Saving Derivative register time 6 - 19 6 - 19...
  • Page 202: For Use On Remote I/O Network

    6 PROGRAMMING MELSEC-Q 6.3 For Use on Remote I/O Network System configuration used in the program explanation (1) System configuration *1: Device numbers are on the basis of the remote I/O master station. The following table lists the device numbers on the basis of the remote station.
  • Page 203 6 PROGRAMMING MELSEC-Q (a) Devices used Device Function Description Sets the parameter to execute normal control and program control X100 Setting value write command using CH 1 and writes into FeRAM. PID constant read command from FeRAM Reads PID constant set by auto tuning from FeRAM. (when GX Configurator-TC is used) X101 Auto tuning execution command...
  • Page 204 6 PROGRAMMING MELSEC-Q *2: Before executing program control, PID constants of zone 1 and zone 2 need to be set by the program control auto tuning execution command (X111). When program control is executed by the set pattern, it operates as follows. Setting value Segment number Set value...
  • Page 205: Program Example Using The Utility Package

    6 PROGRAMMING MELSEC-Q 6.3.1 Program example using the utility package (1) Operating GX Developer (a) Network parameter setting • Network type : MNET/H (remote master) • Start I/O No. : 0000 • Network No. • Total number of (slave) stations : 1 •...
  • Page 206 6 PROGRAMMING MELSEC-Q (2) Operating the utility package (a) Initial setting (refer to Section 5.4) <When cascade control is not executed> CH1 Input range ............"0" CH2 Unused channel setting ........"Not Used" [Limiter setting] CH1 Upper setting limiter ........."2000" CH1 Lower setting limiter ........."0" [Alert function setting] CH1 Alert 1 mode setting ........."UprLmt Input"...
  • Page 207 6 PROGRAMMING MELSEC-Q [Cascade control setting] Cascade bias ............"-500" Cascade gain ............"2000" (b) Auto refresh setting (refer to Section 5.5) Error code .............."W500" CH1 measured value (PV) ........."W501" (c) Writing intelligent function module parameters (refer to Section 5.3.3) Write the parameter values of the intelligent function module to the remote I/O station.
  • Page 208 6 PROGRAMMING MELSEC-Q (d) Executing auto tuning by selecting [Online], [Monitor/test] from the menu (refer to Section 5.6) Execute auto tuning following the procedure shown on the screen. CH1 Automatic backup after AT of PID contents.."Yes" After completing auto tuning, change the following setting items. •...
  • Page 209 6 PROGRAMMING MELSEC-Q (3) Program example B/W for handshaking Master station baton pass status confirmation Local station baton pass execution status Master station data link status confirmation Local station cyclic transmission status Remote I/O baton pass status confirmation Baton pass execution status 1 Remote I/O station data link status confirmation...
  • Page 210 6 PROGRAMMING MELSEC-Q Module Setting Control ready error mode mode flag flag switching command Control mode switch Normal Control control mode switching command Control mode switch Program Control control mode switching command Control mode switch Manual Control control mode mode 2 switching command Control...
  • Page 211 6 PROGRAMMING MELSEC-Q 6 - 29 6 - 29...
  • Page 212 6 PROGRAMMING MELSEC-Q <Write to the Q62HLC buffer memory> Remote Buffer I/O buffer memory memory write write completion 1 Buffer Buffer memory memory write write completion 2 completion 1 Buffer Buffer memory memory write write completion 2 completion 3 Buffer Buffer memory memory...
  • Page 213 6 PROGRAMMING MELSEC-Q 6 - 31 6 - 31...
  • Page 214 6 PROGRAMMING MELSEC-Q *1: The program in this area is executed when the PID constants in FeRAM are different from those set in intelligent function module parameter. 6 - 32 6 - 32...
  • Page 215 6 PROGRAMMING MELSEC-Q Always Remote I/O buffer memory write command POINT To write the intelligent function module parameters, set the target remote I/O station from [Online] - [Transfer setup] on GX Developer. They can be written by: • Directly connecting GX Developer to the remote I/O station. •...
  • Page 216: Program Example Without Using The Utility Package

    6 PROGRAMMING MELSEC-Q 6.3.2 Program example without using the utility package (1) Operation of GX Developer (Network parameter setting) • Network type : MNET/H (remote master) • Start I/O No. : 0000 • Network No. • Total number of (slave) stations •...
  • Page 217 6 PROGRAMMING MELSEC-Q (2) Program example B/W for handshaking Master station baton pass status confirmation Local station baton pass execution status Master station data link status confirmation Local station cyclic transmission status Remote I/O station baton pass status confirmation Baton pass execution status 1 Remote I/O station data link status confirmation Cyclic transmission...
  • Page 218 6 PROGRAMMING MELSEC-Q Module Setting Control ready error mode mode flag flag switching command Control mode switch Normal Control control mode switching command Control mode switch Program Control control mode switching command Control mode switch Manual Control mode control mode 2 switching command Control...
  • Page 219 6 PROGRAMMING MELSEC-Q Setting value write command Module Setting value ready error write command flag flag Normal control_Auto tuning execution Module AT execution ready error command flag flag execution AT status AT status command Program control_Auto tuning execution request Module Program ready flag error flag...
  • Page 220 6 PROGRAMMING MELSEC-Q 6 - 38 6 - 38...
  • Page 221 6 PROGRAMMING MELSEC-Q <Write to the Q62HLC buffer memory> Buffer Remote memory I/O buffer memory write write completion 1 Buffer Buffer memory memory write write completion 1 completion 2 Buffer Buffer memory memory write write completion 3 completion 2 Buffer Buffer memory memory...
  • Page 222 6 PROGRAMMING MELSEC-Q 6 - 40 6 - 40...
  • Page 223 6 PROGRAMMING MELSEC-Q Setting value write_Input range, Alert 1 mode setting CH2 Unused channel setting Setting Setting/ value operation write mode command command CH1 Input range CH1 Alert 1 mode setting Setting Remote I/O buffer Setting value memory write change write command command...
  • Page 224 6 PROGRAMMING MELSEC-Q *1: The program in this area is required to write the input range, alert setting, set value, and other values to FeRAM. These values do not need to be written to FeRAM if initial settings of GX Configurator-TC are used or these values are written using a sequence program at power-on.
  • Page 225 6 PROGRAMMING MELSEC-Q 6 - 43 6 - 43...
  • Page 226 6 PROGRAMMING MELSEC-Q Setting change Program Remote I/O command buffer memory operation_Pattern write command data setting command Setting change Setting change completion command 6 - 44 6 - 44...
  • Page 227 6 PROGRAMMING MELSEC-Q 6 - 45 6 - 45...
  • Page 228 6 PROGRAMMING MELSEC-Q Remote I/O Setting change Cascade buffer memory command control_Setting write command command Setting change Setting change command completion AT for program control (Zone PID data setting) CH1 Control mode Error flag CH1 AT CH1 AT command status CH1 Set value setting Proportional band save Proportional...
  • Page 229 6 PROGRAMMING MELSEC-Q 6 - 47 6 - 47...
  • Page 230 6 PROGRAMMING MELSEC-Q Setting change Remote I/O command buffer memory write command Setting change Setting change command completion Proportional band_Saving register Integral time_Saving register Derivative time_Saving register Remote I/O buffer memory write command Remote I/O buffer memory write command Always ON Remote I/O buffer memory write command...
  • Page 231 6 PROGRAMMING MELSEC-Q 6 - 49 6 - 49...
  • Page 232: Online Module Change

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

    7 ONLINE MODULE CHANGE MELSEC-Q 7.1 Online Module Change Conditions To change the Q62HLC online, the following programmable controller CPU, MELSECNET/H remote I/O module, GX Developer, and base unit are required. (1) Programmable controller CPU The Process CPU or Redundant CPU is required. For precautions for multiple CPU system configuration, refer to the QCPU User's Manual (Multiple CPU System).
  • Page 234: Operations When An Online Module Change Is Performed

    7 ONLINE MODULE CHANGE MELSEC-Q 7.2 Operations When an Online Module Change is Performed The following table lists the operations of the Q62HLC when an online module change is performed. Programmable controller CPU operation : Executed : Not executed (Intelligent function module (User operation) GX Configurator operation)
  • Page 235: Online Module Change Procedure

    7 ONLINE MODULE CHANGE MELSEC-Q 7.3 Online Module Change Procedure This section describes two online module change procedures: configuring the initial settings using GX Configurator-TC and configuring the initial settings using a sequence program. 7.3.1 When GX Configurator-TC is used for the initial setting (1) Stopping operation Turn off the following output signals to stop module operation.
  • Page 236 7 ONLINE MODULE CHANGE MELSEC-Q (2) Removing a module Select [Diagnosis] - [Online module change] from the menu of GX Developer. Select "Online module change" under "Mode" and double-click the module to be changed online to display the "Online module change" screen.
  • Page 237 7 ONLINE MODULE CHANGE MELSEC-Q (3) Mounting a new module Mount a new module in the same slot and connect external cables. When the module is mounted, click the [Execution] button and check that the RUN LED is on. Module ready flag (Xn3) remains off. (4) Checking operation To check the operation, click the [Cancel] button and cancel the control restart.
  • Page 238 7 ONLINE MODULE CHANGE MELSEC-Q Click the [Close] button to close the System monitor screen. Before restarting the control, check the following on the Q62HLC. If there is any problem, refer to Chapter 8 and take a corrective action. 1) The RUN LED is on. 2) The ERR.
  • Page 239 7 ONLINE MODULE CHANGE MELSEC-Q (5) Restarting control Select [Diagnosis] - [Online module change] from the menu of GX Developer to display the Online module change screen again. Click the [Execution] button and restart the control. Module ready flag (Xn3) turns on. The Online module change completed screen appears.
  • Page 240: When A Sequence Program Is Used For The Initial Setting

    7 ONLINE MODULE CHANGE MELSEC-Q 7.3.2 When a sequence program is used for the initial setting (1) Stopping operation Turn off the following output signals to stop module operation. Device No. Signal name Setting/operation mode command FeRAM backup start command Default setting registration start command Setting change command POINT...
  • Page 241 7 ONLINE MODULE CHANGE MELSEC-Q (2) Removing a module Select [Diagnosis] - [Online module change] from the menu of GX Developer. Select "Online module change" under "Mode" and double-click the module to be changed online to display the "Online module change" screen.
  • Page 242 7 ONLINE MODULE CHANGE MELSEC-Q Check that the RUN LED of the module is off, disconnect the external cable, and remove the module. POINT (1) If the terminal block is removed, the measured temperature may vary within the accuracy range due to the individual differences of the cold junction temperature compensation resistors (for the thermocouple input only).
  • Page 243 7 ONLINE MODULE CHANGE MELSEC-Q (4) Checking operation To check the operation, click the [Cancel] button and cancel the control restart. Click the [OK] button to leave the "Online module change" mode. Click the [Close] button to close the System monitor screen. Select [Online] - [Debug] - [Device test] from the menu of GX Developer and set the stored data to the buffer memory.
  • Page 244 7 ONLINE MODULE CHANGE MELSEC-Q Before restarting the control, check the following on the Q62HLC. If there is any problem, refer to Chapter 8 and take a corrective action. 1) The RUN LED is on. 2) The ERR. LED is off. 3) Watchdog timer error flag (Xn0) is off.
  • Page 245: Precautions For Online Module Change

    7 ONLINE MODULE CHANGE MELSEC-Q 7.4 Precautions for Online Module Change This section lists precautions for changing a module online. Perform an online module change following the correct procedure. Not doing so may cause malfunction or failure. Even if pre-recorded data are set to the buffer memory in the module that was changed online and control is restarted, control cannot be restarted in the same control status since the data in Manipulated value (MV) (buffer memory address: 13, 14) is cleared once control is stopped...
  • Page 246 7 ONLINE MODULE CHANGE MELSEC-Q (3) Saving data After a module is changed, values in the buffer memory areas return to default (values read from FeRAM). Save and restore data in the buffer memory to continue previous operating status in the changed module. However, if data can be restored using sequence programs or initial settings, the save and restore processing is not required.
  • Page 247: Precautions After Module Change

    7 ONLINE MODULE CHANGE MELSEC-Q 7.4.2 Precautions after module change (1) Restoring data Once a module is changed successfully, the online module change mode is terminated and restoration of data is enabled before restart of the control. Since the direct device access (MOV Un\G*) using a sequence program, FROM/TO instructions, and auto refresh setting are disabled at this point, restore data manually with test operation of GX Developer or GX Configurator-TC.
  • Page 248: Precautions Depending On Parameter Setting Method

    7 ONLINE MODULE CHANGE MELSEC-Q 7.4.3 Precautions depending on parameter setting method : Used, : Not used Parameter setting method Precautions When not saving Sequence When saving and GX Configurator- and restoring data FeRAM backup program for writing restoring data in TC initial setting in the buffer initial values...
  • Page 249: Troubleshooting

    8 TROUBLESHOOTING MELSEC-Q 8 TROUBLESHOOTING 8.1 Error Codes The error has the following three types. • Write data error ( • AT error completion (001E , 002E , 003E , 004E , 005E • Hardware error (001F , 002F , 003F The buffer memory address occurring write data error is displayed at hexadecimal.
  • Page 250 8 TROUBLESHOOTING MELSEC-Q (2) Error code list Error code (hexadecimal) Error type Error cause Error-time operation Action • Write to the area write-enabled • The written data is held as • Reset an error in the following in the setting mode only was procedure: performed in the operation •...
  • Page 251 8 TROUBLESHOOTING MELSEC-Q Error code (hexadecimal) Error type Error cause Error-time operation Action • The measured value is out of • Auto tuning status flag • Remove an error cause after Error reset 001E the input range during AT. (Xn4, Xn5) turns off. command (Yn2: ON), and execute AT •...
  • Page 252: Processing Performed By The Q62Hlc At Error Occurrence

    8 TROUBLESHOOTING MELSEC-Q 8.2 Processing Performed by the Q62HLC at Error Occurrence The Q62HLC performs processing as explained below if an error occurs in the Q62HLC/programmable controller CPU or when the programmable controller CPU is switched from RUN to STOP. Status Processing Control output setting for CPU stop...
  • Page 253: When The Run Led Flashes Or Turns Off

    8 TROUBLESHOOTING MELSEC-Q 8.3 When the RUN LED Flashes or Turns Off Check item Action • Check the power supply module. Is 5VDC supplied? • Mount the module securely. Is the sum of current capacities of the modules Make the sum of current capacities of the mounted on the base unit equal to or less than modules mounted on the base unit equal to or the current capacity of the power supply...
  • Page 254: When The Alm Led Turns On Or Flashes

    8 TROUBLESHOOTING MELSEC-Q 8.5 When the ALM LED Turns On or Flashes (1) When the LED turns on Check item Action Check the contents of Alert definition (buffer Has Alert flag (XnC and XnD) turned on? memory address: 5, 6) and take action for it. (2) When the LED flashes Check item Action...
  • Page 255: When Module Ready Flag (Xn3) Does Not Turn On

    8 TROUBLESHOOTING MELSEC-Q 8.8 When Module Ready Flag (Xn3) Does Not Turn On Check item Action Refer to the user's manual for the Has an error occurred on the programmable programmable controller CPU module used controller? and handle it. 8.9 When FeRAM Write Failure Flag (XnA) Is On Check item Action Execute writing into FeRAM again.
  • Page 256: When Alert Flag (Xnc And Xnd) Is On

    8 TROUBLESHOOTING MELSEC-Q 8.12 When Alert Flag (XnC and XnD) is On Check item Action Is the measured value error/alert set value Check Alert definition (buffer memory address: beyond the range? 5, 6) and take action for the alert that occurred.
  • Page 257: Checking The Q62Hlc Status By System Monitor Of Gx Developer

    8 TROUBLESHOOTING MELSEC-Q 8.13 Checking the Q62HLC Status by System Monitor of GX Developer When the detailed information of the Q62HLC in system monitor of GX Developer is chose, the error codes and LED lit-up states can be checked. (1) Operating GX Developer [Diagnostics] [System monitor] Select the "Q62HLC"...
  • Page 258 8 TROUBLESHOOTING MELSEC-Q (3) H/W Information (a) H/W LED information The H/W LED information gives the following information. Description (condition where the value Description (condition where the value Item Item becomes 1) becomes 1) When the RUN LED is on AT error completion (refer to Section 8.1) AT ERR A write error (refer to Section 8.1)
  • Page 259: Appendices

    APPENDICES MELSEC-Q APPENDICES Appendix 1 External Dimensions M3 screw L-shaped bracket (accessory) for FG terminal (accessory) (49 (1.93)) (57.5 (2.26)) M3 screw (accessory) 90 (3.54) 23 (0.91) 112 (4.41) 27.4 (1.08) Unit: mm (inch) App. Appendix - 1 Appendix - 1...
  • Page 260: Appendix 2 New Functions Of The Q62Hlc

    APPENDICES MELSEC-Q Appendix 2 New Functions of the Q62HLC The following describes the new function of the Q62HLC. (1) Functions added to products with product information (first five digits) of "10022" or later, or a serial number (first five digits) of "10011"...
  • Page 261 APPENDICES MELSEC-Q (2) Functions added to products with a serial number (first five digits) of "13102" or later Description Applicable Item Model (serial number (first five software Reference Existing model package digits) of "13102" or later) A starting method of program A starting method of program control can be selected from the control can be selected from the...
  • Page 262 INDEX Advancing completion flag ......3-107 Data resolution..........3-3 Alert 1 to 4 mode setting ......3-101 Data storage in FeRAM function ....3-16 Alert dead band setting ......... 3-98 Default setting registration start command Alert definition..........3-77 (Yn9)...............3-63 Alert delay count..........3-98 Default value write completion flag (Xn9) ..3-60 Alert flag (XnC, XnD)........
  • Page 263 Program control function .......3-24 Program control run/reset......3-95 Handling precautions ........4-1 Program pattern ...........3-111 Hold command ..........3-103 Pattern end output time of program Hold status flag..........3-106 pattern ............3-113 Program pattern final segment ....3-111 Program pattern iteration ......3-112 I/O signals............3-57 Program pattern link setting.....3-111 Indication accuracy .........
  • Page 264 Time scale ..........3-109 Troubleshooting..........8-1 Unused channel setting .......3-14, 3-97 Upper/lower output limiter ......3-87 Upper/lower setting limiter ......3-95 Utility package ..........5-1 Utility package functions ......... 5-1 Auto refresh setting ......5-2, 5-18 Initial setting ........5-1, 5-14 Monitor/test .........
  • Page 265 WARRANTY...
  • Page 266 TRADEMARKS Intel and Pentium are either registered trademarks or trademarks of Intel Corporation in the United States and/or other countries. Microsoft, Windows, Windows NT, Windows Vista, and Windows XP are either registered trademarks or trademarks of Microsoft Corporation in the United States and/or other countries. The company names, system names and product names mentioned in this manual are either registered trademarks or trademarks of their respective companies.
  • Page 268 SH(NA)-080573ENG-H(2010)KWIX MODEL: Q62HLC-U-SY-E MODEL CODE: 13JR85 HEAD OFFICE : TOKYO BUILDING, 2-7-3 MARUNOUCHI, CHIYODA-KU, TOKYO 100-8310, JAPAN NAGOYA WORKS : 1-14 , YADA-MINAMI 5-CHOME , HIGASHI-KU, NAGOYA , JAPAN When exported from Japan, this manual does not require application to the Ministry of Economy, Trade and Industry for service transaction permission.

This manual is also suitable for:

Melsec-q62hlcMelsec-gx configurator-tcSw0d5c-qtcu-e

Table of Contents