Mitsubishi Electric MELSEC-QD75MH1 User Manual
Mitsubishi Electric MELSEC-QD75MH1 User Manual

Mitsubishi Electric MELSEC-QD75MH1 User Manual

Positioning module
Table of Contents

Quick Links

MELSEC-Q
QD75MH Positioning Module
User's Manual (Details)
-QD75MH1
-QD75MH2
-QD75MH4
Table of Contents
loading

Summary of Contents for Mitsubishi Electric MELSEC-QD75MH1

  • Page 1 MELSEC-Q QD75MH Positioning Module User's Manual (Details) -QD75MH1 -QD75MH2 -QD75MH4...
  • Page 2 SAFETY PRECAUTIONS (Please read these instructions before using this equipment.) Before using this product, please read this manual and the relevant manuals introduced in this manual carefully and pay full attention to safety to handle the product correctly. Refer to the Users manual of the QCPU module to use for a description of the PLC system safety precautions.
  • Page 3 For Safe Operations 1. Prevention of electric shocks DANGER Never open the front case or terminal covers while the power is ON or the unit is running, as this may lead to electric shocks. Never run the unit with the front case or terminal cover removed. The high voltage terminal and charged sections will be exposed and may lead to electric shocks.
  • Page 4 3. For injury prevention CAUTION Do not apply a voltage other than that specified in the instruction manual on any terminal. Doing so may lead to destruction or damage. Do not mistake the terminal connections, as this may lead to destruction or damage. Do not mistake the polarity ( + / - ), as this may lead to destruction or damage.
  • Page 5 CAUTION The system must have a mechanical allowance so that the machine itself can stop even if the stroke limits switch is passed through at the max. speed. Use wires and cables that have a wire diameter, heat resistance and bending resistance compatible with the system.
  • Page 6 CAUTION Some devices used in the program have fixed applications, so use these with the conditions specified in the instruction manual. The input devices and data registers assigned to the link will hold the data previous to when communication is terminated by an error, etc. Thus, an error correspondence interlock program specified in the instruction manual must be used.
  • Page 7 CAUTION Store and use the unit in the following environmental conditions. Conditions Environment Module/Servo amplifier Servomotor Ambient 0°C to +40°C (With no freezing) According to each instruction manual. temperature (32°F to +104°F) 80% RH or less According to each instruction manual. Ambient humidity (With no dew condensation) Storage...
  • Page 8 CAUTION Do not mistake the direction of the surge absorbing diode installed on the DC relay for the control signal output of brake signals, etc. Incorrect installation may lead to signals not being output when trouble occurs or the protective functions not functioning. Servo amplifier Servo amplifier 24VDC...
  • Page 9 (6) Usage methods CAUTION Immediately turn OFF the power if smoke, abnormal sounds or odors are emitted from the module, servo amplifier or servomotor. Always execute a test operation before starting actual operations after the program or parameters have been changed or after maintenance and inspection. Do not attempt to disassemble and repair the units excluding a qualified technician whom our company recognized.
  • Page 10 (7) Corrective actions for errors CAUTION If an error occurs in the self diagnosis of the module or servo amplifier, confirm the check details according to the instruction manual, and restore the operation. If a dangerous state is predicted in case of a power failure or product failure, use a servomotor with electromagnetic brakes or install a brake mechanism externally.
  • Page 11 CAUTION After maintenance and inspections are completed, confirm that the position detection of the absolute position detector function is correct. Do not drop or impact the battery installed to the module. Doing so may damage the battery, causing battery liquid to leak in the battery. Do not use the dropped or impacted battery, but dispose of it.
  • Page 12: Revisions

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

    INTRODUCTION Thank you for purchasing the Mitsubishi general-purpose programmable logic controller MELSEC-Q Series. Always read through this manual, and fully comprehend the functions and performance of the Q Series PLC before starting use to ensure correct usage of this product. CONTENTS SAFETY INSTRUCTIONS..........................A- 1 REVISIONS ..............................A- 11...
  • Page 14 3.2.3 QD75MH sub functions and common functions ................3- 8 3.2.4 Combination of QD75MH main functions and sub functions............3- 12 3.3 Specifications of input/output signals with PLC CPU ................3- 14 3.3.1 List of input/output signals with PLC CPU..................3- 14 3.3.2 Details of input signals (QD75MH PLC CPU)................
  • Page 15 5.2.7 Servo parameters (Basic setting) ....................5- 62 5.2.8 Servo parameters (Gain • filter setting)................... 5- 68 5.2.9 Servo parameters (Expansion setting) .................... 5- 80 5.2.10 Servo parameters (Input/Output setting) ..................5- 86 5.3 List of positioning data ..........................5- 90 5.4 List of block start data ..........................
  • Page 16 Section 2 Control Details and Setting 8. OPR Control 8- 1 to 8- 16 8.1 Outline of OPR control ..........................8- 2 8.1.1 Two types of OPR control ......................... 8- 2 8.2 Machine OPR ............................8- 5 8.2.1 Outline of the machine OPR operation..................... 8- 5 8.2.2 Machine OPR method........................
  • Page 17 9.2.20 NOP instruction ..........................9- 111 9.2.21 JUMP instruction .......................... 9- 112 9.2.22 LOOP............................9- 114 9.2.23 LEND ............................9- 115 10. High-Level Positioning Control 10- 1 to 10- 26 10.1 Outline of high-level positioning control ....................10- 2 10.1.1 Data required for high-level positioning control................10- 3 10.1.2 "Block start data"...
  • Page 18 12. Control Sub Functions 12- 1 to 12-106 12.1 Outline of sub functions ........................12- 2 12.1.1 Outline of sub functions ........................ 12- 2 12.2 Sub functions specifically for machine OPR ..................12- 4 12.2.1 OPR retry function......................... 12- 4 12.2.2 OP shift function ...........................
  • Page 19 14. Dedicated Instructions 14- 1 to 14- 18 14.1 List of dedicated instructions ....................... 14- 2 14.2 Interlock during dedicated instruction is executed ................14- 2 14.3 PSTRT1, PSTRT2, PSTRT3, PSTRT4....................14- 3 14.4 TEACH1, TEACH2, TEACH 3, TEACH 4 ................... 14- 7 14.5 PFWRT..............................
  • Page 20: About Manuals

    About Manuals The following manuals are also related to this product. In necessary, order them by quoting the details in the tables below. Related Manuals Manual Number Manual Name (Model Code) GX Configurator-QP Operating Manual Describes how to use GX Configurator-QP for the following and other purposes: creating data SH-080172 (parameters, positioning data, etc.), sending the data to the module, monitoring the positioning (13JU19)
  • Page 21: Generic Terms And Abbreviations

    Generic Terms and Abbreviations Unless specially noted, the following generic terms and abbreviations are used in this manual. Generic term/abbreviation Details of generic term/abbreviation PLC CPU Generic term for PLC CPU on which QD75MH can be mounted. Generic term for positioning module QD75MH1, QD75MH2 and QD75MH4. QD75MH The module type is described to indicate a specific module.
  • Page 22: Section 1 Product Specifications And Handling

    Section 1 Product Specifications and Handling Section 1 is configured for the following purposes (1) to (5). (1) To understand the outline of positioning control, and the QD75MH specifications and functions (2) To carry out actual work such as installation and wiring (3) To set parameters and data required for positioning control (4) To create a PLC program required for positioning control (5) To understand the memory configuration and data transmission process...
  • Page 23 MEMO...
  • Page 24 Chapter 1 Product Outline The purpose and outline of positioning control using QD75MH are explained in this chapter. Reading this chapter will help you understand what can be done using the positioning system and which procedure to use for a specific purpose. By understanding "What can be done", and "Which procedure to use"...
  • Page 25: Product Outline

    1 PRODUCT OUTLINE MELSEC-Q 1.1 Positioning control 1.1.1 Features of QD75MH The features of the QD75MH are shown below. (1) Availability of one, two, and four axis modules (a) One, two and four axis positioning modules are available. They can be selected according to the PLC CPU type and the number of required control axes.
  • Page 26 1 PRODUCT OUTLINE MELSEC-Q (c) Continuous positioning control using multiple positioning data can be executed in accordance with the operation patterns the user assigned to the positioning data. (Refer to Section 5.3 and 9.1.2.) Continuous positioning control can be executed over multiple blocks, where each block consists of multiple positioning data.
  • Page 27 1 PRODUCT OUTLINE MELSEC-Q (6) Control can be realized with the mechanical system input The external inputs, such as external start, stop, and speed/position switching is used to perform the positioning control without using the PLC program. (7) Easy maintenance Each QD75MH positioning module incorporates the following improvements in maintainability: (a) Data such as the positioning data and parameters can be stored on a flash...
  • Page 28: Purpose And Applications Of Positioning Control

    1 PRODUCT OUTLINE MELSEC-Q 1.1.2 Purpose and applications of positioning control "Positioning" refers to moving a moving body, such as a workpiece or tool (hereinafter, generically called "workpiece") at a designated speed, and accurately stopping it at the target position. The main application examples are shown below. Punch press (X, Y feed positioning •...
  • Page 29 1 PRODUCT OUTLINE MELSEC-Q Lifter (Storage of Braun tubes onto aging rack) • During the aging process of Braun tubes, Unloader storage onto the rack is carried out by Loader/unloader positioning with the AC servo. • The up/down positioning of the lifter is carried B conveyor Aging rack out with the 1-axis servo, and the horizontal...
  • Page 30: Mechanism Of Positioning Control

    1 PRODUCT OUTLINE MELSEC-Q 1.1.3 Mechanism of positioning control In the positioning system using the QD75MH, various software and devices are used for the following roles. The QD75MH realizes complicated positioning control when it reads in various signals, parameters and data and is controlled with the PLC CPU. Stores the created program.
  • Page 31: Overview Of Positioning Control Functions

    1 PRODUCT OUTLINE MELSEC-Q 1.1.4 Overview of positioning control functions The outline of the "overview of positioning control" and "overview of individual positioning control and continuous positioning control", "overview of block positioning control" and "overview of acceleration/deceleration processing control" is shown below. ositioning control An overview of positioning using positioning data described below.
  • Page 32 1 PRODUCT OUTLINE MELSEC-Q (Note) (b) 2-axis linear interpolation control This controls interpolation along a linear locus from the start point address (current stop position) defined by two axes. [Control using the absolute system] 1) This performs linear interpolation using two axes from the start point address to the endpoint address.
  • Page 33 1 PRODUCT OUTLINE MELSEC-Q (Note) (2) Circular interpolation control There are two types of circular interpolation controls: circular interpolation with a specified sub point and circular interpolation with the specified center point. (a) Circular interpolation with a specified sub point Circular interpolation is performed using the specified endpoint address and sub point (passing point) address.
  • Page 34 1 PRODUCT OUTLINE MELSEC-Q (3) Fixed-feed control This performs positioning for the specified increment of travel. Positioning direction Operation timing [1-axis fixed-feed control] Stop position Reverse direction Forward direction Movement direction for Movement direction for a negative movement amount a positive movement amount Start [2-axis fixed-feed control] Forward...
  • Page 35 1 PRODUCT OUTLINE MELSEC-Q (5) Speed-position switching control This starts positioning under speed control, and switches to position control according to the input of the QD75MH speed-position switching signal and perform positioning for the specified increment of travel. Specified travel Speed control Position control increment...
  • Page 36 1 PRODUCT OUTLINE MELSEC-Q ndividual positioning control and continuous positioning control The QD75 performs positioning according to the user-set positioning data, which is a set of information comprised of the control method (position control, speed control, speed-position switching control), positioning address, operation pattern, and so on. Up to 600 of positioning data are assigned respectively to positioning data Nos.
  • Page 37 1 PRODUCT OUTLINE MELSEC-Q (2) Continuous positioning control (operation pattern = 01: positioning continues) The operation stops temporarily upon the completion of positioning for the specified positioning data, and then continues with the next positioning data number. This is specified when performing positioning in which the direction changes because of multiple positioning data items having consecutive positioning data numbers.
  • Page 38 1 PRODUCT OUTLINE MELSEC-Q (3) Continuous path control (operation pattern = 11: positioning continue) After executing positioning using the specified positioning data, the operation changes its speed to that of the next positioning data number and continues positioning. This is specified when continuously executing multiple positioning data items having consecutive positioning data numbers at a specified speed.
  • Page 39 1 PRODUCT OUTLINE MELSEC-Q lock positioning control Block positioning is a control that continuously executes the positioning of specified blocks. One block equivalent to a series of positioning data up to the completion of positioning (operation pattern = 00) by Independent or continuous positioning control. A maximum of 50 blocks per axis can be specified.
  • Page 40 1 PRODUCT OUTLINE MELSEC-Q Overview of acceleration/deceleration processing control Acceleration/deceleration processing for the positioning processing, manual pulse- generator processing, OPR processing and JOG processing is performed using the user-specified method, acceleration time and deceleration time. (1) Acceleration/deceleration method There are two types of acceleration and deceleration processing: the automatic trapezoidal acceleration/deceleration processing method and S-pattern acceleration/deceleration processing method.
  • Page 41: Outline Design Of Positioning System

    1 PRODUCT OUTLINE MELSEC-Q 1.1.5 Outline design of positioning system The outline of the positioning system operation and design, using the QD75MH, is shown below. (1) Positioning system using QD75MH Servo MR-J3-B QD75MH motor Positioning command Positioning Speed Current Inverter control control control...
  • Page 42: Communicating Signals Between Qd75Mh And Each Module

    1 PRODUCT OUTLINE MELSEC-Q 1.1.6 Communicating signals between QD75MH and each module The outline of the signal communication between the QD75MH (positioning module) and PLC CPU, peripheral device and servo amplifier, etc., is shown below. (A peripheral device communicates with the QD75MH via the PLC CPU to which it is connected) QD75MH PLC CPU...
  • Page 43 1 PRODUCT OUTLINE MELSEC-Q QD75MH PLC CPU The QD75MH and PLC CPU communicate the following data via the base unit. Direction QD75MH PLC CPU PLC CPU QD75MH Communication Signal indicating QD75MH state Signal related to commands • QD75 READY signal •...
  • Page 44 1 PRODUCT OUTLINE MELSEC-Q QD75MH Manual pulse generator The QD75MH and manual pulse generator communicate the following data via the external device connection connector. (The manual pulse generator should be connected to an external device connection connector for axis 1 or for axes 1 and 2.) Direction QD75MH Manual pulse generator...
  • Page 45: Flow Of System Operation

    1 PRODUCT OUTLINE MELSEC-Q 1.2 Flow of system operation 1.2.1 Flow of all processes The positioning control processes, using the QD75MH, are shown below. GX Configurator-QP QD75MH Servo, etc. PLC CPU GX Developer Understand the functions and performance, and determine the positioning operation method Design (system design) Installation, wiring...
  • Page 46 1 PRODUCT OUTLINE MELSEC-Q The following work is carried out with the processes shown on the previous page. Details Reference • Chapter 1 • Understand the product functions and usage methods, the configuration devices Chapter 2 and specifications required for positioning control, and design the system. •...
  • Page 47: Outline Of Starting

    1 PRODUCT OUTLINE MELSEC-Q 1.2.2 Outline of starting The outline for starting each control is shown with the following flowchart. It is assumed that each module is installed, and the required system configuration, etc., has been prepared. Flow of starting Installation and connection of module Preparation Setting of hardware...
  • Page 48 1 PRODUCT OUTLINE MELSEC-Q Setting method : Indicates the PLC program that must be created. Write Set with GX Configurator-QP Set the parameter and data for executing main function, and the sub functions that need to be set beforehand. QD75MH ...
  • Page 49: Outline Of Stopping

    1 PRODUCT OUTLINE MELSEC-Q 1.2.3 Outline of stopping Each control is stopped in the following cases. (1) When each control is completed normally. (2) When the Servo READY signal is turned OFF. (3) When a PLC CPU error occurs. (4) When the PLC READY signal is turned OFF. (5) When an error occurs in the QD75MH.
  • Page 50 1 PRODUCT OUTLINE MELSEC-Q Axis Stop process operation OPR control Manual control M code status Stop Major High-level Manual Stop cause ON signal after Machine Fast JOG/ axis positioning positioning pulse after stop stopping Inching control control generator control control operation Md.26 operation...
  • Page 51: Outline For Restarting

    1 PRODUCT OUTLINE MELSEC-Q 1.2.4 Outline for restarting When a stop cause has occurred during operation with position control causing the axis to stop, positioning to the end point of the positioning data can be restarted from the stopped position by using the " Cd.6 Restart command".
  • Page 52 Chapter 2 System Configuration In this chapter, the general image of the system configuration of the positioning control using QD75MH, the configuration devices, applicable CPU and the precautions of configuring the system are explained. Prepare the required configuration devices to match the positioning control system. 2.1 General image of system .....................2- 2 2.2 Component list......................2- 4 2.3 Applicable system......................2- 6...
  • Page 53: General Image Of System

    2 SYSTEM CONFIGURATION MELSEC-Q 2.1 General image of system The general image of the system, including the QD75MH, PLC CPU and peripheral devices is shown below. (The Nos. in the illustration refer to the "No." in Section 2.2 "Component list". Main base unit Extension cable...
  • Page 54 2 SYSTEM CONFIGURATION MELSEC-Q Servo Motor amplifer Extenal connector of servo amplifer Upper/lower stroke limit switch Near-point dog signal Manual pulse generator SSCNET cable Machine system inputs (switches) Cable Forced stop input signal Upper/lower stroke limit switch External-command signal/switching signal Stop signal Peripheral device Near-point dog signal...
  • Page 55: Component List

    For details, refer to GX Configurator-QP Operating Manual. Servo amplifier – (Prepared by user) (Prepared by user) Manual pulse – generator Recommended: MR-HDP01 (Mitsubishi Electric) SSCNET cable (Prepared by user) (For connecting – between the Cables are needed to connect the QD75MH with the servo amplifier.
  • Page 56 2 SYSTEM CONFIGURATION MELSEC-Q Part name Type Remarks • Connection between QD75MH and MR-J3- B. • Connection between MR-J3- B and MR-J3- B. MR-J3BUS M • Standard code for inside panel. • 0.15m(0.49ft.), 0.3m(0.98ft.), 0.5m(1.64ft.), 1m(3.28ft.), 3m(9.84ft.) • Connection between QD75MH and MR-J3- B. •...
  • Page 57: Applicable System

    2 SYSTEM CONFIGURATION MELSEC-Q 2.3 Applicable system The QD75MH can be used in the following system. (1) Applicable modules and the number of installable modules The following table indicates the CPU modules and network modules (for remote I/O station) usable with the QD75MH and the number of installable modules. Applicable modules Number of installable modules Remarks...
  • Page 58 2 SYSTEM CONFIGURATION MELSEC-Q (4) Supported software packages The following table lists the compatibility between the systems using the QD75MH and the software packages. GX Developer is required for use of the QD75MH. Software version GX Developer GX Configurator-QP Single PLC Version 7 or later system Q00J/Q00/Q01CPU...
  • Page 59: How To Check The Function Version And Serial No

    2 SYSTEM CONFIGURATION MELSEC-Q 2.4 How to check the function version and SERIAL No. The function version and the SERIAL No. of the QD75MH can be checked in the following methods. [1] Method using the rated plate on the module side face [2] Method using the software [1] Method using the rated plate on the module side face Check the alphabet of "SERIAL".
  • Page 60 Chapter 3 Specifications and Functions The various specifications of the QD75MH are explained in this chapter. The "General specifications", "Performance specifications", "List of functions", "Specifications of input/output signals with PLC CPU", and the "Specifications of input/output interfaces with external devices", etc., are described as information required when designing the positioning system.
  • Page 61: Specifications And Functions

    3 SPECIFICATIONS AND FUNCTIONS MELSEC-Q 3.1 Performance specifications Model QD75MH1 QD75MH2 QD75MH4 Item No. of control axes 1 axis 2 axes 4 axes 2-, 3-, or 4-axis linear 2-axis linear interpolation Interpolation function None interpolation 2-axis circular interpolation 2-axis circular interpolation PTP (Point To Point) control, path control (both linear and arc can be set), speed control, speed- Control system position switching control, position-speed switching control...
  • Page 62 3 SPECIFICATIONS AND FUNCTIONS MELSEC-Q Model QD75MH1 QD75MH2 QD75MH4 Item 1-axis linear control Factors in starting time extension The following times will be added to 1-axis speed control the starting time in the described 2-axis linear interpolation control (Composite speed) conditions: 2-axis linear interpolation control (Reference axis speed) •...
  • Page 63: List Of Functions

    3 SPECIFICATIONS AND FUNCTIONS MELSEC-Q 3.2 List of functions 3.2.1 QD75MH control functions The QD75MH has several functions. In this manual, the QD75MH functions are categorized and explained as follows. Main functions (1) OPR control "OPR control" is a function that established the start point for carrying out positioning control, and carries out positioning toward that start point.
  • Page 64 3 SPECIFICATIONS AND FUNCTIONS MELSEC-Q Sub functions Main functions OPR control Control registered in QD75MH (Functions characteristic to machine OPR) [Positioning start No.] retry function Machine OPR [9001] OP shift function [9002] Fast OPR Backlash compensation function Electronic gear function Major positioning control Control using "Positioning data"...
  • Page 65: Qd75Mh Main Functions

    3 SPECIFICATIONS AND FUNCTIONS MELSEC-Q 3.2.2 QD75MH main functions The outline of the main functions for positioning control with the QD75MH is described below. (Refer to "Section 2" for details on each function.) Reference Main functions Details section Mechanically establishes the positioning start point using Machine OPR control a near-point dog or stopper.
  • Page 66 3 SPECIFICATIONS AND FUNCTIONS MELSEC-Q Reference Main functions Details section With one start, executes the positioning data in a random block Block start (Normal start) 10.3.2 with the set order. Carries out condition judgment set in the "condition data" for the designated positioning data, and then executes the "block start data".
  • Page 67: Qd75Mh Sub Functions And Common Functions

    3 SPECIFICATIONS AND FUNCTIONS MELSEC-Q 3.2.3 QD75MH sub functions and common functions Sub functions The functions that assist positioning control using the QD75MH are described below. (Refer to Section 2 for details on each function. Reference Sub function Details section This function retries the machine OPR with the upper/lower limit switches during OPR.
  • Page 68 3 SPECIFICATIONS AND FUNCTIONS MELSEC-Q Reference Sub function Details section This function temporarily stops the operation to confirm the positioning operation during debugging, etc. Step function 12.7.1 The operation can be stopped at each "automatic deceleration" or "positioning data". This function stops (decelerates to a stop) the positioning being Skip function executed when the skip signal is input, and carries out the next 12.7.2...
  • Page 69 3 SPECIFICATIONS AND FUNCTIONS MELSEC-Q Common functions The outline of the functions executed as necessary are described below. (Refer to Section 2 for details on each function.) Reference Common functions Details section This function returns the "parameters" stored in the QD75MH buffer memory and flash ROM to the default values.
  • Page 70 3 SPECIFICATIONS AND FUNCTIONS MELSEC-Q MEMO 3 - 11...
  • Page 71: Combination Of Qd75Mh Main Functions And Sub Functions

    3 SPECIFICATIONS AND FUNCTIONS MELSEC-Q 3.2.4 Combination of QD75MH main functions and sub functions With positioning control using the QD75MH, the main functions and sub functions can be combined and used as necessary. A list of the main function and sub function combinations is given below.
  • Page 72 3 SPECIFICATIONS AND FUNCTIONS MELSEC-Q Functions that Functions that change Functions that limit control Other functions compensate control control details REMARK • The "common functions" are functions executed as necessary. (These are not combined with the control.) • "High-level positioning control" is a control used in combination with the "major positioning control".
  • Page 73: Specifications Of Input/Output Signals With Plc Cpu

    3 SPECIFICATIONS AND FUNCTIONS MELSEC-Q 3.3 Specifications of input/output signals with PLC CPU 3.3.1 List of input/output signals with PLC CPU The QD75MH uses 32 input points and 32 output points for exchanging data with the PLC CPU. The input/output signals when the QD75MH is mounted in slot No. 0 of the main base unit are shown below.
  • Page 74: Details Of Input Signals (Qd75Mh Plc Cpu)

    3 SPECIFICATIONS AND FUNCTIONS MELSEC-Q 3.3.2 Details of input signals (QD75MH PLC CPU) The ON/OFF timing and conditions of the input signals are shown below. Device Signal name Details QD75 READY ON: READY • When the PLC READY signal [Y0] turns from OFF to ON, the parameter setting OFF: Not READY/ range is checked.
  • Page 75 3 SPECIFICATIONS AND FUNCTIONS MELSEC-Q Important 1 : The BUSY signal turns ON even when position control of movement amount 0 is executed. However, since the ON time is short, the ON status may not to be detected in the PLC program. 2 : "Positioning complete"...
  • Page 76: Qd75Mh)

    3 SPECIFICATIONS AND FUNCTIONS MELSEC-Q 3.3.3 Detail of output signals (PLC CPU QD75MH) The ON/OFF timing and conditions of the output signals are shown below. Device No. Signal name Details PLC READY OFF: (a) This signal notifies the QD75MH that the PLC CPU is normal. PLC READY OFF •...
  • Page 77: Specifications Of Interfaces With External Devices

    3 SPECIFICATIONS AND FUNCTIONS MELSEC-Q 3.4 Specifications of interfaces with external devices 3.4.1 Electrical specifications of input signals Input specifications Rated input Working Input Response Signal name voltage/current voltage range voltage/current voltage/current resistance time Forced stop input signal (EMI) Upper limit signal 19.2 to 17.5VDC or more/ 7VDC or less/...
  • Page 78: Signal Layout For External Device Connection Connector

    3 SPECIFICATIONS AND FUNCTIONS MELSEC-Q 3.4.2 Signal layout for external device connection connector The specifications of the connector section, which is the input/output interface for the QD75MH and external device, are shown below. The signal layout for the QD75MH external device connection connector is shown. QD75MH1 QD75MH2 QD75MH4...
  • Page 79: List Of Input Signal Details

    3 SPECIFICATIONS AND FUNCTIONS MELSEC-Q 3.4.3 List of input signal details The details of each QD75MH external device connection connector are shown below: Pin No. Signal details Signal name (Negative logic is selected by external input signal logic selection) AX1 AX2 AX3 AX4 •...
  • Page 80: Interface Internal Circuit

    3 SPECIFICATIONS AND FUNCTIONS MELSEC-Q 3.4.4 Interface internal circuit The outline diagrams of the internal circuits for the QD75MH1 external device connection interface are shown below. (1) Input Need for wiring External wiring Pin No. Internal circuit Signal name When Upper-limit switch is not used Upper-limit LS signal When Lower-limit...
  • Page 81: External Circuit Design

    3 SPECIFICATIONS AND FUNCTIONS MELSEC-Q 3.5 External circuit design Configure up the power supply circuit and main circuit which turn off the power supply after detection alarm occurrence and servo forced stop. When designing the main circuit of the power supply, make sure to use a no fuse breaker (NFB).
  • Page 82 3 SPECIFICATIONS AND FUNCTIONS MELSEC-Q (1) Example when using the forced stop of the QD75MH Alarm Forced stop Operation ready Servo amplifer Servomotor 3-phase MR-J3-B 200VAC to 230VAC Ground Electromagnetic breake DICOM SSCNET CN1A CN1B DOCOM 24VDC Servo amplifer Servomotor MR-J3-B Ground Electromagnetic...
  • Page 83 3 SPECIFICATIONS AND FUNCTIONS MELSEC-Q (2) Example when using the forced stop of the QD75MH and MR-J3-B Alarm Forced stop Operation ready Servo amplifer Servomotor 3-phase MR-J3-B 200VAC to 230VAC Ground Electromagnetic breake DICOM SSCNET CN1A CN1B DOCOM 24VDC Servo amplifer Servomotor MR-J3-B Ground...
  • Page 84 Chapter 4 Installation, Wiring and Maintenance of the Product The installation, wiring and maintenance of the QD75MH are explained in this chapter. Important information such as precautions to prevent malfunctioning of the QD75MH, accidents and injuries as well as the proper work methods are described. Read this chapter thoroughly before starting installation, wiring or maintenance, and always following the precautions.
  • Page 85: Outline Of Installation, Wiring And Maintenance

    4 INSTALLATION, WIRING AND MAINTENANCE OF THE PRODUCT MELSEC-Q 4.1 Outline of installation, wiring and maintenance 4.1.1 Installation, wiring and maintenance procedures The outline and procedures for QD75MH installation, wiring and maintenance are shown below. STEP 1 Understand the "Handling precautions" and "Names of each part"...
  • Page 86: Names Of Each Part

    4 INSTALLATION, WIRING AND MAINTENANCE OF THE PRODUCT MELSEC-Q 4.1.2 Names of each part (1) The part names of the QD75MH are shown below: For QD75MH4 (1) RUN indicator LED, ERR indicator LED QD75MH4 (2) Axis display LED QD75MH4 (3) External device connector (40-pin connector) AX1: Axis 1 AX2: Axis 2...
  • Page 87 4 INSTALLATION, WIRING AND MAINTENANCE OF THE PRODUCT MELSEC-Q (2) The LED display indicates the following operation statuses of the QD75MH and axes. QD75 MH 4 QD75MH4 Display Attention point Description Display Attention point Description Hardware failure, AX1 (or other corresponding RUN is OFF.
  • Page 88: Handling Precautions

    4 INSTALLATION, WIRING AND MAINTENANCE OF THE PRODUCT MELSEC-Q 4.1.3 Handling precautions Handle the QD75MH and cable while observing the following precautions. [1] Handling precautions CAUTION Use the PLC within the general specifications environment given in this manual. Using the PLC outside the general specification range environment could lead to electric shocks, fires, malfunctioning, product damage or deterioration.
  • Page 89 4 INSTALLATION, WIRING AND MAINTENANCE OF THE PRODUCT MELSEC-Q [2] Other precautions (1) Main body • The main body case is made of plastic. Take care not to drop or apply strong impacts onto the case. • Do not remove the QD75MH PCB from the case. Failure to observe this could lead to faults.
  • Page 90: Installation

    4 INSTALLATION, WIRING AND MAINTENANCE OF THE PRODUCT MELSEC-Q 4.2 Installation 4.2.1 Precautions for installation The precautions for installing the QD75MH are given below. Refer to this section as well as "4.1.3 Handling precautions" when carrying out the work. [1] Precautions for SSCNET cable wiring SSCNET cable is made from optical fiber.
  • Page 91 4 INSTALLATION, WIRING AND MAINTENANCE OF THE PRODUCT MELSEC-Q (4) Twisting If SSCNET cable is twisted, it will become the same stress added condition as when local lateral pressure or bend is added. Consequently, transmission loss increases, and the breakage of SSCNET cable may occur at worst.
  • Page 92 4 INSTALLATION, WIRING AND MAINTENANCE OF THE PRODUCT MELSEC-Q [3] Precautions for installation DANGER Completely turn off the externally supplied power used in the system before clearing or tightening the screws. Not doing so may cause electric shocks. CAUTION Never disassemble or modify the module. Failure to observe this could lead to trouble, malfunctioning, injuries or fires.
  • Page 93: Wiring

    4 INSTALLATION, WIRING AND MAINTENANCE OF THE PRODUCT MELSEC-Q 4.3 Wiring The precautions for wiring the QD75MH are given below. Refer to this section as well as "4.1.3 Handling precautions" when carrying out the work. 4.3.1 Precautions for wiring DANGER Completely turn off the externally supplied power used in the system before installation or wiring.
  • Page 94 4 INSTALLATION, WIRING AND MAINTENANCE OF THE PRODUCT MELSEC-Q CAUTION After removal of the SSCNET cable, be sure to put a cap on the SSCNET connector. Otherwise, adhesion of dirt deteriorates in characteristic and it may cause malfunctions. Do not remove the SSCNET cable while turning on the power supply of QD75MH and servo amplifier.
  • Page 95 4 INSTALLATION, WIRING AND MAINTENANCE OF THE PRODUCT MELSEC-Q CAUTION If the adhesion of solvent and oil to the cord part of SSCNET cable may lower the optical characteristic and machine characteristic. If it is used such an environment, be sure to do the protection measures to the cord part.
  • Page 96 4 INSTALLATION, WIRING AND MAINTENANCE OF THE PRODUCT MELSEC-Q [Wiring example of shielded cable] The following shows a wiring example for noise reduction in the case where the connector A6CON1 is used. Connector For forced stop Shielded (A6CON1) input signal cable For limit signal and etc.
  • Page 97 4 INSTALLATION, WIRING AND MAINTENANCE OF THE PRODUCT MELSEC-Q [Processing example of shielded cables] Connections of FG wire and each shielded cable Remove the covering from all shielded cables and bind the appeared shield with a conductive tape. Coat the wire with insulaing tape.
  • Page 98 (5) To make this product conform to the EMC directive and low voltage instruction, be sure to used of a AD75CK type cable clamp (manufactured by Mitsubishi Electric) for grounding connected to the control box and the shielded cable. Inside control box 20cm(7.88inch)
  • Page 99 4 INSTALLATION, WIRING AND MAINTENANCE OF THE PRODUCT MELSEC-Q [Wiring examples using duct (incorrect example and corrected example)] Wiring duct Relay Relay Servo Servo Relay amplifier amplifier Control panel The servo amplifiers are placed Noise source near the noise source. (Power system, The connection cable between etc.)
  • Page 100: Confirming The Installation And Wiring

    4 INSTALLATION, WIRING AND MAINTENANCE OF THE PRODUCT MELSEC-Q 4.4 Confirming the installation and wiring 4.4.1 Items to confirm when installation and wiring are completed Check the following points when completed with the QD75MH installation and wiring. • Is the module correctly wired? ... "Connection confirmation" With "connection confirmation", the following three points are confirmed using GX Configurator-QP's connection confirmation function.
  • Page 101: Maintenance

    4 INSTALLATION, WIRING AND MAINTENANCE OF THE PRODUCT MELSEC-Q 4.5 Maintenance 4.5.1 Precautions for maintenance The precautions for servicing the QD75MH are given below. Refer to this section as well as "4.1.3 Handling precautions" when carrying out the work. DANGER Completely turn off the externally supplied power used in the system before clearing or tightening screws.
  • Page 102 Chapter 5 Data Used for Positioning Control The parameters and data used to carry out positioning control with the QD75MH are explained in this chapter. With the positioning system using the QD75MH, the various parameters and data explained in this chapter are used for control. The parameters and data include parameters set according to the device configuration, such as the system configuration, and parameters and data set according to each control.
  • Page 103: Types Of Data

    5 DATA USED FOR POSITIONING CONTROL MELSEC-Q 5.1 Types of data 5.1.1 Parameters and data required for control The parameters and data required to carry out control with the QD75MH include the "setting data", "monitor data" and "control data" shown below. Setting data (Data set beforehand according to the machine and application, and stored in the flash ROM.) Positioning...
  • Page 104 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Even when the PLC READY signal [Y0] is ON, the values or contents of the following can be changed: basic parameters 2, detailed parameters 2, positioning data, and block start data. The servo parameter is transmitted from QD75MH to the servo amplifier when the initialized communication carried out after the power supply is turned ON or the PLC CPU is reset.
  • Page 105 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Monitor data (Data that indicates the control state. Stored in the buffer memory, and monitors as necessary.) Md.1 Md.100 Md.50 Md.111 System monitor data Monitors the QD75MH specifications and the operation history. Md.1 Md.19 , Md.50 Monitors the data related to the operating axis, such as the current position Axis monitor data...
  • Page 106 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q MEMO 5 - 5...
  • Page 107: Setting Items For Positioning Parameters

    5 DATA USED FOR POSITIONING CONTROL MELSEC-Q 5.1.2 Setting items for positioning parameters The table below lists items set to the positioning parameters. Setting of positioning parameters is similarly done for individual axes for all controls achieved by the QD75. For details of controls, refer to Section 2.
  • Page 108 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Control Major positioning control Manual control Position control Other control Positioning parameter Pr.25 Acceleration time 1 – – – Pr.26 Acceleration time 2 – – – Pr.27 Acceleration time 3 – – – 12.7.7 Pr.28 Deceleration time 1...
  • Page 109: Setting Items For Opr Parameters

    5 DATA USED FOR POSITIONING CONTROL MELSEC-Q 5.1.3 Setting items for OPR parameters When carrying out "OPR control", the "OPR parameters" must be set. The setting items for the "OPR parameters" are shown below. The "OPR parameters" are set commonly for each axis. Refer to Chapter 8 "OPR control"...
  • Page 110: Setting Items For Servo Parameters

    5 DATA USED FOR POSITIONING CONTROL MELSEC-Q 5.1.4 Setting items for servo parameters The servo parameters are used to control the servomotor and the data that is determined by the specification of the servo being used. The table below lists items set to the servo parameters. Servo amplifier MR-J3-B Remark...
  • Page 111 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Servo amplifier MR-J3-B Remark Servo parameters Pr.146 Gain changing time constant Gain changing ratio of load inertia Pr.147 moment to servomotor inertia moment Pr.148 Gain changing position loop gain Pr.149 Gain changing speed loop gain Refer to the section Gain changing speed integral 5.2.8...
  • Page 112: Setting Items For Positioning Data

    5 DATA USED FOR POSITIONING CONTROL MELSEC-Q 5.1.5 Setting items for positioning data Positioning data must be set for carrying out any "major positioning control". The table below lists the items to be set for producing the positioning data. One to 600 positioning data items can be set for each axis. For details of the major positioning controls, refer to Chapter 9 "Major Positioning Control".
  • Page 113 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Checking the positioning data Da.1 Da.10 The items are checked at the following timings: (1) Startup of a positioning operation (2) Error check performed by GX Configurator-QP 5 - 12...
  • Page 114 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q MEMO 5 - 13...
  • Page 115: Setting Items For Block Start Data

    5 DATA USED FOR POSITIONING CONTROL MELSEC-Q 5.1.6 Setting items for block start data The "block start data" must be set when carrying out "high-level positioning control". The setting items for the " block start data" are shown below. Up to 50 points of " block start data" can be set for each axis. Refer to Chapter 10 "High-level Positioning Control"...
  • Page 116: Setting Items For Condition Data

    5 DATA USED FOR POSITIONING CONTROL MELSEC-Q 5.1.7 Setting items for condition data When carrying out "high-level positioning control" or using the JUMP instruction in the "major positioning control", the "condition data" must be set as required. The setting items for the "condition data" are shown below. Up to 10 "condition data"...
  • Page 117: Types And Roles Of Monitor Data

    5 DATA USED FOR POSITIONING CONTROL MELSEC-Q 5.1.8 Types and roles of monitor data The monitor data area in the buffer memory stores data relating to the operating state of the positioning system, which are monitored as required while the positioning system is operating.
  • Page 118 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Monitoring details Corresponding item Number of write accesses Md.19 to the flash ROM after the Number of write accesses to flash ROM No. of write accesses to flash ROM power is switched ON Forced stop input signal Forced stop input signal (EMI) Md.50 Forced stop input...
  • Page 119 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Monitoring the state Monitor details Corresponding item Md.26 Monitor the axis operation state Axis operation status Md.23 Monitor the latest error code that occurred with the axis Axis error No. Md.24 Monitor the latest warning code that occurred with the axis Axis warning No.
  • Page 120 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q MEMO 5 - 19...
  • Page 121: Types And Roles Of Control Data

    5 DATA USED FOR POSITIONING CONTROL MELSEC-Q 5.1.9 Types and roles of control data Operation of the positioning system is achieved through the execution of necessary controls. (Data required for controls are given through the default values when the power is switched ON, which can be modified as required by the PLC program.) Controls are performed over system data or machine operation.
  • Page 122 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q [2] Controlling the operation Controlling the operation Control details Corresponding item Cd.3 Set which positioning to execute (start No.). Positioning start No. Cd.5 Md.23 Md.24 Clear (reset) the axis error ( ) and warning ( Axis error reset Cd.6 Issue instruction to restart (When axis operation is stopped).
  • Page 123 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Making settings related to operation Control details Corresponding item Cd.7 Turn M code ON signal OFF. M code OFF request Cd.9 Set new value when changing current value. New current value Cd.24 Validate speed-position switching signal from external device. Speed-position switching enable flag Change movement amount for position control during speed- Speed-position switching control...
  • Page 124 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q MEMO 5 - 23...
  • Page 125: List Of Parameters

    5 DATA USED FOR POSITIONING CONTROL MELSEC-Q 5.2 List of parameters 5.2.1 Basic parameters 1 Setting value buffer memory Default Setting value, setting range Item address value Value set with peripheral device Value set with PLC program Axis 1 Axis 2 Axis 3 Axis 4 0 : mm 1 : inch Pr.1...
  • Page 126 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Pr.2 to Pr.4 Electronic gear Mechanical system value used when the QD75MH performs positioning control. Pr.2 Pr.4 The settings are made using The electronic gear is expressed by the following equation. No. of pulses per rotation (AP) Electronic gear = Movement amount per rotation (AL) Unit magnification (AM)
  • Page 127 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q However, the maximum value that can be set for this "movement amount per rotation (AL)" parameter is 20000000.0 µ m (20m). Set the "movement amount per rotation (AL)" as shown below so that the "movement amount per rotation (AL)" does not exceed this maximum value.
  • Page 128 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q MEMO 5 - 27...
  • Page 129: Basic Parameters 2

    5 DATA USED FOR POSITIONING CONTROL MELSEC-Q 5.2.2 Basic parameters 2 Setting value buffer memory Default Setting value, setting range Item address value Value set with peripheral device Value set with PLC program Axis 1 Axis 2 Axis 3 Axis 4 The setting range differs depending on the "...
  • Page 130 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q [Table 1] Pr.1 setting value Value set with peripheral device (unit) Value set with PLC program (unit) 1 to 2000000000 (×10 mm/min) 0 : mm 0.01 to 20000000.00 (mm/min) 1 : inch 0.001 to 2000000.000 (inch/min) 1 to 2000000000 (×10 inch/min) 1 1 to 2000000000 (×10...
  • Page 131: Detailed Parameters 1

    5 DATA USED FOR POSITIONING CONTROL MELSEC-Q 5.2.3 Detailed parameters 1 Setting value buffer memory Setting value, setting range address Item Default value Value set with PLC Value set with peripheral device Axis 1 Axis 2 Axis 3 Axis 4 program Pr.1 The setting value range differs according to the "...
  • Page 132 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Backlash compensation amount) No. of pulses per rotation) Pr.11 Pr.2 0 ≤ ( = A) ≤ 65535 (PLS) ….(1) Pr.3 Movement amount per pulse) Pr.2 An error (error code: 920) occurs when " No.
  • Page 133 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q 1) Generally, the OP is set at the lower limit or upper limit of the stroke limit. 2) By setting the upper limit value or lower limit value of the software stroke limit, overrun can be prevented in the software.
  • Page 134 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Pr.17 Torque limit setting value Set the maximum value of the torque generated by the servomotor as a percentage between 1 and 1000%. The torque limit function limits the torque generated by the servomotor within the set range.
  • Page 135 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Setting value buffer memory Default Setting value, setting range Item address value Value set with peripheral device Value set with PLC program Axis 1 Axis 2 Axis 3 Axis 4 0 : Standard speed switching mode Pr.19 1 : Front-loading speed switching Speed switching mode...
  • Page 136 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Pr.19 Speed switching mode Set whether to switch the speed switching mode with the standard switching or front-loading switching mode. 0 : Standard switching....Switch the speed when executing the next positioning data. 1 : Front-loading switching ..
  • Page 137 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Pr.21 Current feed value during speed control Md.20 Specify whether you wish to enable or disable the update of " Current feed value" while operations are performed under the speed control (including the speed-position and position-speed switching control).
  • Page 138 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Pr.24 Manual pulse generator input selection Set the manual pulse generator input pulse mode. (Only the value specified against the axis 1 is valid.) 0: A-phase/B-phase; multiplied by 4 1: A-phase/B-phase; multiplied by 2 2: A-phase/B-phase;...
  • Page 139: Detailed Parameters 2

    5 DATA USED FOR POSITIONING CONTROL MELSEC-Q 5.2.4 Detailed parameters 2 Setting value buffer memory Setting value, setting range Default address Item value Value set with PLC Value set with peripheral device Axis 1 Axis 2 Axis 3 Axis 4 program Pr.25 Acceleration time 1...
  • Page 140 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q [Table 1] Value set with peripheral device Pr.1 setting value Value set with PLC program (unit) (unit) 1 to 2000000000 ( × 10 0 : mm 0.01 to 20000000.00 (mm/min) mm/min) 1 to 2000000000 ( × 10 1 : inch 0.001 to 2000000.000 (inch/min) inch/min)
  • Page 141 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Setting value buffer memory Default Setting value, setting range Item address value Value set with peripheral device Value set with PLC program Axis 1 Axis 2 Axis 3 Axis 4 0 : Automatic trapezoid Pr.34 acceleration/deceleration process Acceleration/deceleration...
  • Page 142 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Pr.35 S-pattern ratio Set the S-pattern ratio (1 to 100%) for carrying out the S-pattern acceleration/deceleration process. The S-pattern ratio indicates where to draw the acceleration/deceleration curve using the Sin curve as shown below. (Example) Positioning speed...
  • Page 143 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Pr.36 Sudden stop deceleration time Pr.8 Set the time to reach speed 0 from " Speed limit value" during the sudden stop. The illustration below shows the relationships with other parameters. 1) Positioning start 2) Sudden stop cause occurrence 3) Positioning stop When positioning is started,...
  • Page 144 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Pr.37 Stop group 1 sudden stop selection Pr.39 Stop group 3 sudden stop selection Set the method to stop when the stop causes in the following stop groups occur. • Stop group 1 ....Stop with hardware stroke limit •...
  • Page 145 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Setting value buffer memory Default Setting value, setting range Item address value Value set with peripheral device Value set with PLC program Axis 1 Axis 2 Axis 3 Axis 4 0 to 65535 (ms) 0 to 32767 : Pr.40 Set as a decimal...
  • Page 146 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q [Table 1] Value set with peripheral device Value set with PLC program Pr.1 setting value (unit) (unit) 0 to 100000 ( × 10 µ m) 0 to 10000.0 ( µ m) 0 : mm 0 to 100000 ( ×...
  • Page 147 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Pr.42 External command function selection Select a command with which the external command signal should be associated. 0: External positioning start The external command signal input is used to start a positioning operation. 1: External speed change request The external command signal input is used to change the speed in the current positioning operation.
  • Page 148 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Pr.84 Restart allowable range when servo OFF to ON (1) What is the restart function when servo OFF to ON ? The QD75MH restart function when servo OFF changes to ON, performs continuous positioning operation (positioning start, restart) when the servo is switched from OFF to ON in the stopped state (including servo emergency stop).
  • Page 149 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q 2) When the difference between the last command position of the QD75MH at the time the servo stop signal turned ON and the present value at the time the servo stop signal turned OFF is greater than the value set in the buffer memory for the restart allowable range setting, the positioning operation is judged as on-standby and cannot be restarted.
  • Page 150 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q (3) Precautionary notes (a) The difference between the last command position when the servo turned OFF and the present value when the servo turned ON, is output at the first operation of restart. If the restart allowable range is large at this time, an overload may occur on the servo side.
  • Page 151: Opr Basic Parameters

    5 DATA USED FOR POSITIONING CONTROL MELSEC-Q 5.2.5 OPR basic parameters Setting value buffer memory Default Setting value, setting range Item address value Value set with peripheral device Value set with PLC program Axis 1 Axis 2 Axis 3 Axis 4 0 : Near-point dog method Pr.43 4 : Count method 1)
  • Page 152 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q 4 : Count method 1) (1) Start machine OPR. Pr.46 (Start movement at the " OPR speed" in the Pr.44 " OPR direction".) (2) Detect the near-point dog ON, and start deceleration. Pr.50 OPR speed Pr.46 Setting for the movement...
  • Page 153 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Setting value buffer memory Setting value, setting range Default address Item value Value set with PLC Value set with peripheral device Axis 1 Axis 2 Axis 3 Axis 4 program 0 : Positive direction (address Pr.44 increment direction) 1 : Negative direction (address...
  • Page 154 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q [Table 1] Value set with peripheral device Value set with PLC program Pr.1 setting value (unit) (unit) -2147483648 to 2147483647 ( × 10 µ m) -214748364.8 to 214748364.7 ( µ m) 0 : mm -2147483648 to 2147483647 ( ×...
  • Page 155 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Setting value buffer memory Default Setting value, setting range Item address value Value set with peripheral device Value set with PLC program Axis 1 Axis 2 Axis 3 Axis 4 Pr.1 The setting value range differs depending on the " Unit Pr.47 setting".
  • Page 156 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Pr.48 OPR retry Set whether to carry out OPR retry. When the OPR retry function is validated and the machine OPR is started, first the axis will move in the OPR direction (1)). If the upper/lower limit signal turns OFF before the near-point dog signal ON is detected (2)), the axis will decelerate to a stop, and then will move in the direction opposite the OPR direction (3)).
  • Page 157: Opr Detailed Parameters

    5 DATA USED FOR POSITIONING CONTROL MELSEC-Q 5.2.6 OPR detailed parameters Setting value buffer memory Setting value, setting range Default Item address value Value set with peripheral device Value set with PLC program Axis 1 Axis 2 Axis 3 Axis 4 The setting value range differs depending on the "...
  • Page 158 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q [Table 1] Value set with peripheral device Value set with PLC program Pr.1 setting value (unit) (unit) 0 to 2147483647 ( × 10 µ m) 0 to 214748364.7 ( µ m) 0 : mm 0 to 2147483647 ( ×...
  • Page 159 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Setting value buffer memory Setting value, setting range Default address Item value Value set with peripheral Value set with PLC program Axis 1 Axis 2 Axis 3 Axis 4 device The setting value range differs depending on the " Pr.1 Unit setting".
  • Page 160 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q [Table 1] Value set with peripheral device Value set with PLC program Pr.1 setting value (unit) (unit) -2147483648 to 2147483647 ( × 10 µ m) -214748364.8 to 214748364.7 ( µ m) 0 : mm -2147483648 to 2147483647 ( ×...
  • Page 161 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Pr.56 Speed designation during OP shift Set the operation speed for when a value other than "0" is set for " Pr.53 OP shift Pr.46 Pr.47 amount". Select the setting from " OPR speed" or " Creep speed".
  • Page 162 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q MEMO 5 - 61...
  • Page 163: Servo Parameters (Basic Setting)

    5 DATA USED FOR POSITIONING CONTROL MELSEC-Q 5.2.7 Servo parameters (Basic setting) Do not set other than the buffer memory addresses of the servo parameters in this section. Item Setting details Setting value Used to select the servo amplifier series, which is connected to the QD75MH.
  • Page 164 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Setting Value, setting range Setting value buffer memory address Value set with peripheral device Default Servo amplifier setting invalid value Value set with PLC program : Valid, : Invalid) Axis 1 Axis 2 Axis 3 Axis 4 MR-J3-B 0 to 1 30100 30300 30500 30700...
  • Page 165 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Item Setting details Setting value Low response (10.0Hz) (11.3Hz) (12.7Hz) (14.3Hz) (16.1Hz) (18.1Hz) (20.4Hz) (23.0Hz) (25.9Hz) 10 : (29.2Hz) 11 : (32.9Hz) 12 : (37.0Hz) 13 : (41.7Hz) 14 : (47.0Hz) Used to set the response of auto tuning. 15 : (52.9Hz) (When "...
  • Page 166 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Setting Value, setting range Setting value buffer memory address Value set with peripheral device Default Servo amplifier setting invalid value Value set with PLC program : Valid, : Invalid) Axis 1 Axis 2 Axis 3 Axis 4 MR-J3-B 1 to 32 30109 30309 30509 30709...
  • Page 167 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Item Setting details Setting value 0: Forward rotation (CCW) with the increase of the positioning Pr.114 address. (PA14) Rotation direction selection Used to set the rotation direction of the servomotor. 1: Reverse rotation (CW) with the increase of the positioning address.
  • Page 168 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Setting Value, setting range Setting value buffer memory address Value set with peripheral device Default Servo amplifier setting invalid value Value set with PLC program : Valid, : Invalid) Axis 1 Axis 2 Axis 3 Axis 4 MR-J3-B 0 to 1 30114 30314 30514 30714...
  • Page 169: Servo Parameters (Gain • Filter Setting)

    5 DATA USED FOR POSITIONING CONTROL MELSEC-Q 5.2.8 Servo parameters (Gain • filter setting) Do not set other than the buffer memory addresses of the servo parameters in this section. Item Setting details Setting value • Used to set the adaptive filter tuning of the servo amplifier.
  • Page 170 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Setting Value, setting range Setting value buffer memory address Value set with peripheral device Default Servo amplifier setting invalid value Value set with PLC program : Valid, : Invalid) Axis 1 Axis 2 Axis 3 Axis 4 MR-J3-B 0 to 2 30119 30319 30519 30719...
  • Page 171 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Item Setting details Setting value • Used to set the feed forward gain of the positioning control. When the setting is 100[%], the droop pulses during operation at constant speed are Pr.122 nearly zero. However, sudden (PB04) Feed forward gain acceleration/deceleration will increase the...
  • Page 172 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Setting Value, setting range Setting value buffer memory address Value set with peripheral device Default Servo amplifier setting invalid value Value set with PLC program : Valid, : Invalid) Axis 1 Axis 2 Axis 3 Axis 4 MR-J3-B 0 to 100 30122 30322 30522 30722...
  • Page 173 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Item Setting details Setting value • Used to set the integral time constant of the speed loop. • Higher setting increases the response level but is liable to generate vibration and/or noise. Pr.128 Speed integral compensation •...
  • Page 174 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Setting Value, setting range Setting value buffer memory address Value set with peripheral device Default Servo amplifier setting invalid value Value set with PLC program : Valid, : Invalid) Axis 1 Axis 2 Axis 3 Axis 4 MR-J3-B 1 to 10000 30128 30328 30528 30728...
  • Page 175 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Item Setting details Setting value Machine resonance suppression filter 2 selection 0: Invalid 1: Valid Notch depth selection 0: Deep (-40db) Pr.134 • Use to selection the machine resonance (-14db) Notch form selection 2 (PB16) suppression filter 2.
  • Page 176 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Setting Value, setting range Setting value buffer memory address Value set with peripheral device Default Servo amplifier setting invalid value Value set with PLC program : Valid, : Invalid) Axis 1 Axis 2 Axis 3 Axis 4 MR-J3-B Machine resonance suppression filter 2...
  • Page 177 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Item Setting details Setting value 0: Automatic selection Pr.141 Low-pass filter selection Select the low pass filter. 1: Manual selection (" Pr.136 (PB23) Low-pass filter" setting value) Slight vibration suppression control selection • Select the slight vibration suppression control and 0: Invalid Pr.142 Slight vibration suppression...
  • Page 178 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Setting Value, setting range Setting value buffer memory address Value set with peripheral device Default Servo amplifier setting invalid value Value set with PLC program : Valid, : Invalid) Axis 1 Axis 2 Axis 3 Axis 4 MR-J3-B 0000 30141 30341 30541 30741...
  • Page 179 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Item Setting details Setting value • Used to set the ratio of load inertia moment to servo Gain changing ratio of load Pr.147 motor inertia moment when gain changing is valid. inertia moment to 0.0 to 300.0[Times] (PB29) •...
  • Page 180 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Setting Value, setting range Setting value buffer memory address Value set with peripheral device Default Servo amplifier setting invalid value Value set with PLC program : Valid, : Invalid) Axis 1 Axis 2 Axis 3 Axis 4 MR-J3-B 0 to 3000 30147 30347 30547 30747...
  • Page 181: Servo Parameters (Expansion Setting)

    5 DATA USED FOR POSITIONING CONTROL MELSEC-Q 5.2.9 Servo parameters (Expansion setting) Do not set other than the buffer memory addresses of the servo parameters in this section. Item Setting details Setting value Pr.164 • Set error excessive alarm level with rotation amount (PC01) Error excessive alarm level 1 to 200[rev]...
  • Page 182 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Setting Value, setting range Setting value buffer memory address Value set with peripheral device Default Servo amplifier setting invalid value Value set with PLC program : Valid, : Invalid) Axis 1 Axis 2 Axis 3 Axis 4 MR-J3-B 1 to 200 30164 30364 30564 30764...
  • Page 183 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Item Setting details Setting value 7: Droop pulses (Note-1) ( 10V/1 x 10 [PLS]) 8: Droop pulses (Note-1) ( 10V/1 x 10 [PLS]) 9: Droop pulses (Note-1) ( 10V/1 x 10 [PLS]) Used to set the output signal from analog monitor A: Feedback position output 1 of the servo amplifier.
  • Page 184 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Setting Value, setting range Setting value buffer memory address Value set with peripheral device Default Servo amplifier setting invalid value Value set with PLC program : Valid, : Invalid) Axis 1 Axis 2 Axis 3 Axis 4 MR-J3-B 0 to D 30172 30372 30572 30772...
  • Page 185 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Item Setting details Setting value C: Feedback position Used to set the output signal from analog monitor (Note-1), ( 10V/1 x 10 [PLS]) output 2 of the servo amplifier. (Note-3) Pr.173 (Note-1): Encoder pulse unit. Analog monitor output 2 (PC10) (Note-2): 8V is outputted at the maximum torque.
  • Page 186 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Setting Value, setting range Setting value buffer memory address Value set with peripheral device Default Servo amplifier setting invalid value Value set with PLC program : Valid, : Invalid) Axis 1 Axis 2 Axis 3 Axis 4 MR-J3-B 0 to D 30173 30373 30573 30773...
  • Page 187: Servo Parameters (Input/Output Setting)

    5 DATA USED FOR POSITIONING CONTROL MELSEC-Q 5.2.10 Servo parameters (Input/output setting) Do not set other than the buffer memory addresses of the servo parameters in this section. Item Setting details Setting value 00: Always OFF (Note-3) 01: Maker setting 02: RD (Servo ON) 03: ALM (Servo alarm) (Note-1)
  • Page 188 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Setting Value, setting range Setting value buffer memory address Value set with peripheral device Default Servo amplifier setting invalid value Value set with PLC program : Valid, : Invalid) Axis 1 Axis 2 Axis 3 Axis 4 MR-J3-B Output signal device 0005...
  • Page 189 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Item Setting details Setting value Used to select the output signal (CN3-9 pin) of the (Note-3) 10: Maker setting servo amplifier. (Note-1): It becomes to always OFF in speed control Pr.203 Output signal device selection mode.
  • Page 190 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Setting Value, setting range Setting value buffer memory address Value set with peripheral device Default Servo amplifier setting invalid value Value set with PLC program : Valid, : Invalid) Axis 1 Axis 2 Axis 3 Axis 4 MR-J3-B Output signal device 0004...
  • Page 191: List Of Positioning Data

    5 DATA USED FOR POSITIONING CONTROL MELSEC-Q 5.3 List of positioning data Da.1 Da.10 Before explaining the positioning data setting items , the configuration of the positioning data will be shown below. The positioning data stored in the QD75MH buffer memory has the following type of configuration.
  • Page 192 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q ˆ Ê ’ u Œ ˆ ‚ ß Ž ¯ • Ê Ž q ˆ Ê ’ u Œ ˆ ‚ ß Ž ¯ • Ê Ž q 19990 19980 Da.1@ ` @ Da.4 Da.1@ ` @ Da.4 Positioning data No.
  • Page 193 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Setting value buffer memory Default Setting value Item address value Value set with peripheral device Value set with PLC program Axis 1 Axis 2 Axis 3 Axis 4 00: Positioning complete Da.1 Operation pattern Operation 01: Continuous positioning control pattern...
  • Page 194 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Da.1 Operation pattern The operation pattern designates whether positioning of a certain data No. is to be ended with just that data, or whether the positioning for the next data No. is to be carried out in succession.
  • Page 195 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Da.4 Deceleration time No. Set which of "deceleration time 0 to 3" to use for the deceleration time during positioning. Pr.10 0 : Use the value set in " Deceleration time 0". Pr.28 1 : Use the value set in "...
  • Page 196 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q (2) Incremental (INC) system, fixed-feed 1, fixed-feed 2, fixed-feed 3, fixed-feed 4 • The setting value (movement amount) for the INC system is set as a movement amount with sign. When movement amount is positive: Moves in the positive direction (address increment direction) When movement amount is negative: Moves in the negative direction (address decrement direction)
  • Page 197 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q (3) Speed-position switching control • INC mode: Set the amount of movement after the switching from speed control to position control. • ABS mode: Set the absolute address which will be the target value after speed control is switched to position control.
  • Page 198 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Pr.1 When " Unit Setting" is "PLS" The table below lists the control systems that require the setting of the positioning address or movement amount and the associated setting ranges. (With any control system excluded from the table below, neither the positioning address nor the movement amount needs to be set.) Value set with peripheral device Da.2...
  • Page 199 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Pr.1 When " Unit Setting" is "inch" The table below lists the control systems that require the setting of the positioning address or movement amount and the associated setting ranges. (With any control system excluded from the table below, neither the positioning address nor the movement amount needs to be set.) Value set with PLC program Value set with peripheral device...
  • Page 200 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q MEMO 5 - 99...
  • Page 201 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Setting value buffer memory Default Setting value, setting range Item address value Value set with peripheral device Value set with PLC program Axis 1 Axis 2 Axis 3 Axis 4 Da.2 The setting value range differs according to the " Control system".
  • Page 202 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q [Table 1] Pr.1 When " Unit Setting" is "mm" The table below lists the control systems that require the setting of the arc address and shows the setting range. (With any control system excluded from the table below, the arc address does not need to be set.) Value set with PLC program Value set with peripheral device...
  • Page 203 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Setting value buffer memory Default Setting value, setting range Item address value Value set with peripheral device Value set with PLC program Axis 1 Axis 2 Axis 3 Axis 4 Pr.1 The setting value range differs depending on the " Unit setting".
  • Page 204 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Da.10 M code (or condition data No./No. of LOOP to LEND repetitions) Set an "M code", a "condition data No. ", or the "number of LOOP to LEND Da.2 repetitions" depending on how the " Control system"...
  • Page 205 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Da.9 Dwell time/JUMP designation positioning data No. Da.2 Set the "dwell time" or "positioning data No." corresponding to the " Control system". • Da.2 When a method other than "JUMP instruction " is set for " Control system"...
  • Page 206 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q MEMO 5 - 105...
  • Page 207: List Of Block Start Data

    5 DATA USED FOR POSITIONING CONTROL MELSEC-Q 5.4 List of block start data The illustrations below show the organization of the block start data stored in the QD75 Da.11 Da.14 buffer memory. The block start data setting items are explained in the pages that follow.
  • Page 208 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q 50th point Buffer memory Setting item address 2nd point 1st point Buffer memory Setting item address 28049 Buffer memory Setting item address œ ˆ Ê ’ u Œ ˆ ‚ ß Ž n “ ® ƒ f [ ƒ ^ 28001 28000 Da.12 Start data No.
  • Page 209 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q REMARK To perform an high-level positioning control using block start data, set a number Cd.3 between 7000 and 7004 to the " Positioning start No." and use the Cd.4 " Positioning starting point No." to specify a point number between 1 and 50, a position counted from the beginning of the block.
  • Page 210 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Setting value buffer memory Setting value Default address Item value Value set with peripheral Value set with PLC program Axis 1 Axis 2 Axis 3 Axis 4 device 0 : End Da.11 Shape 0 0 0 1 : Continue 0000...
  • Page 211 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Da.11 Shape Set whether to carry out only the local "block start data" and then end control, or to execute the "block start data" set in the next point. Setting value Setting details 0 : End Execute the designated point's "block start data", and then complete the control.
  • Page 212 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q MEMO 5 - 111...
  • Page 213: List Of Condition Data

    5 DATA USED FOR POSITIONING CONTROL MELSEC-Q 5.5 List of condition data The illustrations below show the organization of the condition data stored in the QD75 Da.15 Da.19 buffer memory. The condition data setting items are explained in the pages that follow. No.10 Up to 10 block start data points can be set (stored) Buffer memory...
  • Page 214 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q No.10 Buffer memory Setting item address No.2 Buffer memory No.1 Setting item address 28190 Buffer memory Setting item address 28110 28191 28192 28100 28193 Da.16 Condition Da.15 Condition 28194 operator target 28111 28195 28112 Open 28101...
  • Page 215 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q REMARK To perform an high-level positioning control using block start data, set a number Cd.3 between 7000 and 7004 to the " Positioning start No." and use the Cd.4 " Positioning starting point No." to specify a point number between 1 and 50, a position counted from the beginning of the block.
  • Page 216 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Setting value buffer memory Default Setting value Item address value Value set with peripheral device Value set with PLC program Axis 1 Axis 2 Axis 3 Axis 4 01 : Device X 02 : Device Y Da.15 Condition target 03 : Buffer memory (1-word)
  • Page 217 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Da.15 Condition target Set the condition target as required for each control. Setting value Setting details : Device X Set the input/output signal ON/OFF as the conditions. : Device Y : Buffer memory (1-word) Set the value stored in the buffer memory as the condition.
  • Page 218 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Da.18 Parameter 1 Da.16 Set the parameters as required for the " Condition operator". Da.16 Setting value Setting details Condition operator : ∗∗=P1 : ∗∗ ≠ P1 The value of P1 should be equal to or smaller than the value of : ∗∗≤P1 P2.
  • Page 219: List Of Monitor Data

    5 DATA USED FOR POSITIONING CONTROL MELSEC-Q 5.6 List of monitor data 5.6.1 System monitor data Storage item Storage details Whether the mode is the test mode from the peripheral device or not is stored. Md.1 • In test mode flag When not in test mode : OFF •...
  • Page 220 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Storage buffer memory address Reading the monitor value Default value (common for axis 1 to axis 4) Monitoring is carried out with a decimal. Monitor Storage value 1200 value 0: Not in test mode 1: In test mode (Unless noted in particular, the monitor value is saved as binary data.) 5 - 119...
  • Page 221 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Storage item Storage details Reading the monitor value [Storage details] This area stores the start information (restart flag, start origin, and start axis): • Restart flag: Indicates whether the operation has or has not been halted and restarted.
  • Page 222 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Default value Storage buffer memory address (common to axes 1 to 4) Md.8 1292 Start history pointer 0000 Indicates a pointer No. that is next to the Pointer No. assigned to the latest of the existing starting history records. Pointer No.
  • Page 223 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Storage item Storage details Reading the monitor value [Storage details] This area stores the following results of the error judgment performed upon starting: • BUSY start warning flag • Error flag • Error No. [Reading the monitor value] Monitoring is carried out with a hexadecimal display.
  • Page 224 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Default value Storage buffer memory address (common to axes 1 to 4) Md.8 1292 Start history pointer Indicates a pointer No. that is next to the Pointer No. assigned to the latest of the existing starting history records. Pointer No.
  • Page 225 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Storage item Storage details Reading the monitor value Monitoring is carried out with a decimal display. Md.9 Stores a number (Axis No.) Monitor Storage value Axis in which that indicates the axis that value 1: Axis 1 the error...
  • Page 226 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Default value Storage buffer memory address (common to axes 1 to 4) Md.13 1357 Error history pointer Indicates a pointer No. that is next to the Pointer No. assigned to the latest of the existing error history records. Pointer No.
  • Page 227 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Storage item Storage details Reading the monitor value Monitoring is carried out with a decimal display. Md.14 Stores a number (Axis No.) Monitor Storage value Axis in which that indicates the axis that value 1: Axis 1 the warning...
  • Page 228 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Default value Storage buffer memory address (common to axes 1 to 4) Md.18 1422 Warning history pointer Indicates a pointer No. that is next to the Pointer No. assigned to the latest of the existing warning history records. Pointer No.
  • Page 229: Axis Monitor Data

    5 DATA USED FOR POSITIONING CONTROL MELSEC-Q 5.6.2 Axis monitor data Storage item Storage details The currently commanded address is stored. (Different from the actual motor position during operation) The current position address is stored. If "degree" is selected as the unit, the addresses will have a ring structure for values between 0 and 359.99999 degrees.
  • Page 230 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Storage buffer Default memory address Reading the monitor value value Axis 1 Axis 2 Axis 3 Axis 4 Monitoring is carried out with a hexadecimal. Low-order buffer memory Example) 800 1100 1000 Monitor 0000 value 1001...
  • Page 231 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Storage item Storage details Whenever an axis warning is reported, a related warning code is stored. • This area stores the latest warning code always. (Whenever an axis warning is reported, a new warning code replaces the stored warning code.) Md.24 Axis warning No.
  • Page 232 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Storage buffer Default memory address Reading the monitor value value Axis 1 Axis 2 Axis 3 Axis 4 Monitoring is carried out with a decimal display. Monitor Warning No. value For details of warning Nos. 1007 1107 (warning codes), refer to Section 15.3 "List of warn-...
  • Page 233 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Storage item Storage details • The speed which is actually output as a command at that time in each axis is stored. (May be different from the actual motor speed) "0" is stored when the axis is at a stop. Update timing: 56.8ms Md.28 Axis feedrate...
  • Page 234 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Storage buffer Default memory address Reading the monitor value value Axis 1 Axis 2 Axis 3 Axis 4 Monitoring is carried out with a hexadecimal. Low-order buffer memory Example) 812 Monitor value High-order buffer memory Example) 813 1012 1112 0000...
  • Page 235 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Storage item Storage details This area stores the states (ON/OFF) of various flags. Information on the following flags is stored. In speed control flag: This signal that comes ON under the speed control can be used to judge whether the operation is performed under the speed control or position control.
  • Page 236 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Storage buffer Default memory address Reading the monitor value value Axis 1 Axis 2 Axis 3 Axis 4 Monitoring is carried out with a hexadecimal display. Monitor value Buffer 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 memory Not used Not used...
  • Page 237 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Storage item Storage details • During operation with positioning data : The actual target speed, considering the override and speed limit value, etc., is stored. "0" is stored when positioning is completed. • During interpolation : The composite speed or reference axis speed is stored in the reference...
  • Page 238 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Storage buffer Default memory address Reading the monitor value value Axis 1 Axis 2 Axis 3 Axis 4 Monitoring is carried out with a hexadecimal display. Low-order buffer memory Example) 820 Monitor value High-order buffer memory Example) 821 1020 1120...
  • Page 239 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Storage item Storage details Md.36 • Special start data instruction The " instruction code" used with special start and indicated by the start data pointer currently being executed is stored. code setting value The "instruction parameter"...
  • Page 240 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Storage buffer Default memory address Reading the monitor value value Axis 1 Axis 2 Axis 3 Axis 4 Monitoring is carried out with a decimal display. Monitor Storage value value 00: Block start (Normal start) 01: Condition start 1027 1127 02: Wait start...
  • Page 241 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Storage item Storage details • This area stores the remaining number of repetitions during "repetitions" specific to special starting. Md.41 Special start repetition • The count is decremented by one (-1) at the loop end. counter •...
  • Page 242 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Storage buffer Default memory address Reading the monitor value value Axis 1 Axis 2 Axis 3 Axis 4 Monitoring is carried out with a decimal display. Storage value 1032 1132 0 to 255 Monitor value Monitoring is carried out with a hexadecimal display.
  • Page 243 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Storage item Storage details • "1" is stored when the constant speed status or acceleration status switches to the deceleration status during position control whose operation pattern is "Positioning complete". • "0" is stored at the next operation start or manual pulse generator operation Deceleration start flag enable.
  • Page 244 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Storage buffer Default memory address Reading the monitor value value Axis 1 Axis 2 Axis 3 Axis 4 Monitoring is carried out with a decimal display. Storage value Monitor value 0: Status other than below 1099 1199 1: Status from deceleration start to next operation...
  • Page 245 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Storage item Storage details • This area stores the Software No. of the servo amplifier used. Servo amplifier Software No. Md.106 • This area is update when the control power of the servo amplifier is turned on. •...
  • Page 246 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Storage buffer Default memory address Reading the monitor value value Axis 1 Axis 2 Axis 3 Axis 4 Monitoring is carried out with a decimal display. Monitor value Example) -B35W200 A0 Address Monitor Stored 1064 1164...
  • Page 247 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Storage item Storage details This area stores the servo status. • Zero point pass Turns ON if the zero point of the encoder has been passed even once. • Zero speed Turns ON when the motor speed is lower than the servo parameter “zero speed.” •...
  • Page 248 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Storage buffer Default memory address Reading the monitor value value Axis 1 Axis 2 Axis 3 Axis 4 Monitoring is carried out with a decimal display. Stored items Meaning 0000 1076 1176 Zero point pass 0: OFF Zero speed 1: ON...
  • Page 249: List Of Control Data

    5 DATA USED FOR POSITIONING CONTROL MELSEC-Q 5.7 List of control data 5.7.1 System control data Setting item Setting details • Requests writing of data (parameters, positioning data, and block start data) from the buffer memory to the flash ROM. POINT (1) Do not turn the power OFF or reset the PLC CPU while writing to the flash ROM.
  • Page 250 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Storage buffer memory address Setting value Default value (common to axes 1 to 4) Set with a decimal. Setting value 1900 Flash ROM write request 1: Requests write access to flash ROM. The QD75MH resets the value to "0" automatically when the write access completes. (This indicates the completion of write operation.) Set with a decimal.
  • Page 251: Axis Control Data

    5 DATA USED FOR POSITIONING CONTROL MELSEC-Q 5.7.2 Axis control data Setting item Setting details • Set the positioning start No. Cd.3 Positioning start No. (Only 1 to 600 for the Pre-reading start function. For details, refer to Section 12.7.8 "Pre-reading start function".) •...
  • Page 252 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Storage buffer Default memory address Setting value value Axis 1 Axis 2 Axis 3 Axis 4 Set with a decimal. Setting value 1500 1600 1700 1800 Positioning data No. : Positioning data No. 1 to 600 : Block start designation 7000 to7004...
  • Page 253 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Setting item Setting details Cd.8 • External command valid Validates or in validates external command signals. • When changing the "current feed value" using the start No. "9003", use this data item to specify a new feed value. •...
  • Page 254 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Storage buffer Default memory address Setting value value Axis 1 Axis 2 Axis 3 Axis 4 Set with a decimal. Setting value 1505 1605 1705 1805 External command valid 0: Invalidates an external command. 1: Validates an external command.
  • Page 255 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Setting item Setting details • When changing the acceleration time during a speed change, use this data item to specify a new acceleration time. Cd.10 New acceleration time value Cd.10 setting range (unit) 0 to 8388608 (ms) •...
  • Page 256 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Storage buffer Default memory address Setting value value Axis 1 Axis 2 Axis 3 Axis 4 1508 1608 1708 1808 Set with a decimal. 1509 1609 1709 1809 Cd.10 New acceleration time value Setting value Cd.11 New deceleration time value...
  • Page 257 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Setting item Setting details • To use the positioning operation speed override function, use this data item to specify an "override" value. For details of the override function, refer to Section 12.5.2 "Override function". Cd.13 Positioning operation speed override...
  • Page 258 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Storage buffer Default memory address Setting value value Axis 1 Axis 2 Axis 3 Axis 4 Set with a decimal. Setting value 1513 1613 1713 1813 Override value (%) 1 to 300 Set with a decimal. Actual value Cd.14 New speed value Conversion into an integer value...
  • Page 259 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Setting item Setting details • Use this data item to set the amount of movement by inching. • The machine performs a JOG operation if "0" is set. • Set a value within the following range: inch degree Pr.1...
  • Page 260 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Storage buffer Default memory address Setting value value Axis 1 Axis 2 Axis 3 Axis 4 Set with a decimal. Actual value Cd.16 Inching movement amount Conversion into an integer value Unit conversion table ( Cd.16 ) Unit Setting value 1517 1617 1717 1817...
  • Page 261 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Setting item Setting details • The PLC program can use this data item to forcibly turn the OPR request flag from ON to OFF. Cd.19 OPR request flag OFF request POINT This parameter is made valid when the increment system is valid. •...
  • Page 262 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Storage buffer Default memory address Setting value value Axis 1 Axis 2 Axis 3 Axis 4 Set with a decimal. Setting value OPR request flag OFF request 1521 1621 1721 1821 1: Turns the "OPR request flag" from ON to OFF.
  • Page 263 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Setting item Setting details • During the speed control stage of the speed-position switching control (INC mode), it is possible to change the specification of the movement amount during the position control stage. For that, use this data item to specify a new movement amount.
  • Page 264 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Storage buffer Default memory address Setting value value Axis 1 Axis 2 Axis 3 Axis 4 Set with a decimal. Speed-position switching Cd.23 Actual value control movement amount change register Conversion into an integer value Unit conversion table ( Cd.23 ) Unit 1526...
  • Page 265 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Setting item Setting details • Cd.26 Position-speed switching Set whether the external control signal (external command signal [CHG]: "speed- control enable flag position, position-speed switching request" is selected) is enabled or not. • When changing the target position during a positioning operation, use this data item to specify a new positioning address.
  • Page 266 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Storage buffer Default memory address Setting value value Axis 1 Axis 2 Axis 3 Axis 4 Set with a decimal. Setting value Position-speed switching 1532 1632 1732 1832 enable flag 0: Position control will not be taken over by speed control even when the external command signal comes ON.
  • Page 267 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Setting item Setting details Cd.30 Simultaneous starting axis start data No. (axis 1 start data No.) Cd.31 Simultaneous starting axis start data No. (axis 2 start data No.) • Use these data items to specify a start data No. for each axis that has to start simultaneously.
  • Page 268 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Storage buffer Default memory address Setting value value Axis 1 Axis 2 Axis 3 Axis 4 1540 1640 1740 1840 Set with a decimal. 1541 1641 1741 1841 Setting value Cd.30 to Cd.33 Simultaneous starting axis start data No.: 1542 1642 1742 1842...
  • Page 269 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Setting item Setting details • During a step operation, this data item determines whether the operation is Cd.36 Step start information continued or restarted. • To skip the current positioning operation, set "1" in this data item. Cd.37 Skip command Cd.38...
  • Page 270 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Storage buffer Default memory address Setting value value Axis 1 Axis 2 Axis 3 Axis 4 Set with a decimal. Setting value 1546 1646 1746 1846 Step start information 1: Continues step opration 2: Restarts operation The QD75MH resets the value to "0"...
  • Page 271 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Setting item Setting details • Turns OFF each axis servo. POINT Cd.100 Servo OFF command When you want to turn ON the servo for two to four axes with only the servo for one axis turned OFF, write "1"...
  • Page 272 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Storage buffer Default memory address Setting value value Axis 1 Axis 2 Axis 3 Axis 4 Set with a decimal. Setting value 1551 1651 1751 1851 Servo OFF command 0: Servo ON 1: Servo OFF When all axis servo ON is valid.
  • Page 273 5 DATA USED FOR POSITIONING CONTROL MELSEC-Q MEMO 5 - 172...
  • Page 274 Chapter 6 PLC Program Used for Positioning Control The programs required to carry out positioning control with the QD75MH are explained in this chapter. The PLC program required for control is created allowing for the "start conditions", "start time chart", "device settings" and general control configuration. (The parameters, positioning data, block start data and condition data, etc., must be set in the QD75MH according to the control to be executed, and program for setting the control data or a program for starting the various control must be created.)
  • Page 275: Precautions For Creating Program

    6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q 6.1 Precautions for creating program The common precautions to be taken when writing data from the PLC CPU to the QD75MH buffer memory are described below. When diverting any of the program examples introduced in this manual to the actual system, fully verify that there are no problems in the controllability of the target system.
  • Page 276 6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q (4) System configuration Unless particularly designated, the PLC program for the following system is shown in this chapter and subsequent. Refer to Section 6.2 for the application of the devices to be used. Q35B X40 to X4F Extenal...
  • Page 277 6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q (b) When the circuit uses the "intelligent function device" on the source(s) side and the destination (D) side of a MOV command, change the command to a FROM command and a TO command. MOVP G826 Set the...
  • Page 278: List Of Devices Used

    6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q 6.2 List of devices used In the PLC programs shown in this chapter and subsequent, the application of the devices used are as follows. The I/O numbers for QD75MH indicate those when QD75MH is mounted in the 0-slot of the main base.
  • Page 279 6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q Device Device Application Details when ON name Axis 1 Axis 2 Axis 3 Axis 4 M code OFF command Commanding M code OFF JOG operation speed setting Commanding JOG operation speed command setting Commanding forward run JOG/inching Forward run JOG/inching command...
  • Page 280 6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q Device Device Application Details when ON name Axis 1 Axis 2 Axis 3 Axis 4 OPR request OFF command Commanding OPR request OFF OPR request OFF command pulse OPR request OFF commanded OPR request OFF command storage OPR request OFF command held Fast OPR command Commanding fast OPR...
  • Page 281 6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q Device Device Application Details when ON name Axis 1 Axis 2 Axis 3 Axis 4 TEACH1 instruction complete device TEACH1 instruction completed TEACH1 instruction error complete TEACH1 instruction error completed device PINIT instruction complete device PINIT instruction completed PINIT instruction error complete device PINIT instruction error completed...
  • Page 282 6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q Device Device Application Details of storage name Axis 1 Axis 2 Axis 3 Axis 4 Acceleration time setting (low-order 16 bits) Cd.10 New acceleration time Acceleration time setting value) (high-order 16 bits) Deceleration time setting (low-order 16 bits) Cd.11...
  • Page 283 6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q Device Device Application Details of storage name Axis 1 Axis 2 Axis 3 Axis 4 No. of pulses per rotation (low-order 16 bits) Pr.2 No. of pulses per rotation) No. of pulses per rotation (high-order 16 bits) Movement amount per rotation (low-order 16 bits)
  • Page 284 6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q Device Device Application Details of storage name Axis 1 Axis 2 Axis 3 Axis 4 D107 Positioning address (high-order 16 bits) Da.7 Circular interpolation address) Circular interpolation address Da.8 Command speed) D108 (low-order 16 bits) Da.9 Dwell time)
  • Page 285 6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q Device Device Application Details of storage name Axis 1 Axis 2 Axis 3 Axis 4 D144 Command speed (low-order 16 bits) Da.4 Deceleration time No.) D145 Command speed (low-order 16 bits) Da.5 Axis to be interpolated) D146 Positioning address (low-order 16 bits)
  • Page 286 6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q Device Device Application Details of storage name Axis 1 Axis 2 Axis 3 Axis 4 Data No.15 D240 Positioning identifier Da.1 Operation pattern) D241 M code Da.2 Control system) D242 Dwell time Da.3 Acceleration time No.) D243...
  • Page 287 6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q Device Device Application Details of storage name U0\G806 Error code Md.23 Axis error No.) U0\G809 Axis operation status Md.26 Axis operation status) U0\G817 Status Md.31 Status) U0\G1500 Positioning start No. Cd.3 Positioning start No.) U0\G1502 Axis error reset Cd.5...
  • Page 288: Creating A Program

    6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q 6.3 Creating a program The "positioning control operation program" actually used is explained in this chapter. The functions and programs explained in Section 2 are assembled into the "positioning control operation program" explained here. (To monitor the control, add the required monitor program that matches the system.
  • Page 289: Positioning Control Operation Program

    6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q 6.3.2 Positioning control operation program The various programs that configure the "positioning control operation program" are shown below. When creating the program, refer to the explanation of each program and Section 6.4 "Positioning program examples", and create an operation program that matches the positioning system.
  • Page 290 6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q Continued from previous page Initialization program Not carried out OPR is... No.5 Refer to Section 6.5.1 OPR request OFF program Carried out No.6 External command function valid Refer to Section 6.5.1 setting program No.7 PLC READY signal [Y0] ON Required...
  • Page 291 6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q Continued from previous page Start details setting program Program required to carry out • "OPR control" • "Major positioning control" No.9 • "High-level positioning control" Positioning start No. Refer to Section 6.5.2 setting program Start program No.10...
  • Page 292 6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q Continued from previous page Sub program Program added according to control details. (Create as required.) No.16 Speed change program Refer to Section 12.5.1 No.17 Override program Refer to Section 12.5.2 No.18 Acceleration/deceleration time Refer to Section 12.5.3 change program No.19...
  • Page 293: Positioning Program Examples

    6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q 6.4 Positioning program examples An example of the "Axis 1" positioning program is given in this section. [No. 1] to [No. 3] parameter and data setting program When setting the parameters or data with the PLC program, set them in the QD75MH using the TO command from the PLC CPU.
  • Page 294 6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q 6 - 21...
  • Page 295 6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q 6 - 22...
  • Page 296 6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q 6 - 23...
  • Page 297 6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q 6 - 24...
  • Page 298 6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q 6 - 25...
  • Page 299 6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q 6 - 26...
  • Page 300 6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q 6 - 27...
  • Page 301 6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q 6 - 28...
  • Page 302 6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q 6 - 29...
  • Page 303 6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q 6 - 30...
  • Page 304 6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q 6 - 31...
  • Page 305 6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q 6 - 32...
  • Page 306 6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q 6 - 33...
  • Page 307 6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q 6 - 34...
  • Page 308 6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q 6 - 35...
  • Page 309 6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q 6 - 36...
  • Page 310 6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q 6 - 37...
  • Page 311 6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q 6 - 38...
  • Page 312 6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q 6 - 39...
  • Page 313 6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q 6 - 40...
  • Page 314 6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q 6 - 41...
  • Page 315 6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q 6 - 42...
  • Page 316 6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q 6 - 43...
  • Page 317 6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q 6 - 44...
  • Page 318 6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q 6 - 45...
  • Page 319 6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q 6 - 46...
  • Page 320 6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q 6 - 47...
  • Page 321 6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q 6 - 48...
  • Page 322 6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q 6 - 49...
  • Page 323 6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q 6 - 50...
  • Page 324 6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q 6 - 51...
  • Page 325: Program Details

    6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q 6.5 Program details 6.5.1 Initialization program [1] OPR request OFF program Md.31 This program forcibly turns OFF the "OPR request flag" ( Status: b3) which is ON. When using a system that does not require OPR, assemble the program to cancel the "OPR request"...
  • Page 326: Start Details Setting Program

    6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q 6.5.2 Start details setting program This program sets which control, out of "OPR", "major positioning control" or "high-level positioning control" to execute. For " high-level positioning control", "fast OPR", "speed- position switching control" and "position-speed switching control", add the respectively required PLC program.
  • Page 327 6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q (4) For "position-speed switching control", set the control data shown below. Cd.25 (As required, set the " Position-speed switching control speed change resister".) Buffer memory address Setting Setting item Setting details value Axis 1 Axis 2 Axis 3 Axis 4 Position-speed switching 1530...
  • Page 328: Start Program

    6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q 6.5.3 Start program This program is used to start the control with start commands. The control can be started with the following two methods. [1] Starting by inputting positioning start signal [Y10, Y11, Y12, Y13] [2] Starting by inputting external command signal Buffer memory Servo amplifier...
  • Page 329 6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q Servo ON conditions Setting of servo parameter PLC READY signal Y0 ON All axis servo ON Y1 ON Starting conditions To start the control, the following conditions must be satisfied. The necessary start conditions must be incorporated in the PLC program so that the control is not started when the conditions are not satisfied.
  • Page 330 6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q [1] Starting by inputting positioning start signal Operation when starting (1) When the positioning start signal turns ON, the start complete signal and BUSY signal turn ON, and the positioning operation starts. It can be seen that the axis is operating when the BUSY signal is ON.
  • Page 331 6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q POINT The BUSY signal [XC, XD, XE, XF] turns ON even when position control of movement amount 0 is executed. However, since the ON time is short, the ON status may not be detected in the PLC program. (The ON status of the start complete signal [X10, X11, X12, X13], positioning complete signal [X14, X15, X16, X17] and M code ON signal [X4, X5, X6, X7] can be detected in the PLC program.)
  • Page 332 6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q (2) Time chart for starting "fast OPR" [Y10] Positioning start signal All axis servo ON [Y1] PLC READY signal [Y0] [X0] QD75 READY signal [X10] Start complete signal BUSY signal [XC] Error detection signal [X8] Cd.
  • Page 333 6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q (4) Time chart for starting "speed-position switching control" Operation pattern(00) Speed control Position control Dwell time Positioning data No.(1) Positioning start signal [Y10] All axis servo ON [Y1] [Y0] PLC READY signal [X0] QD75 READY signal [X10]...
  • Page 334 6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q Machine OPR operation timing and process time Positioning start signal [Y10, Y11, Y12, Y13] BUSY signal [XC, XD, XE, XF] Start complete signal [X10, X11, X12, X13] Waiting In OPR Waiting Md. 26 Axis operation status Positioning operation OPR request flag [ Md.
  • Page 335 6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q Position control operation timing and process time Positioning start signal [Y10, Y11, Y12, Y13] BUSY signal [XC, XD, XE, XF] M code ON signal (WITH mode) [X4, X5, X6, X7] Cd. 7 M code OFF request Positioning start complete signal [X10, X11, X12, X13]...
  • Page 336 6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q [2] Starting by inputting external command signal When starting positioning control by inputting the external command signal, the start command can be directly input into the QD75MH. This allows the variation time equivalent to one scan time of the PLC CPU to be eliminated. This is an effective procedure when operation is to be started as quickly as possible with the start command or when the starting variation time is to be suppressed.
  • Page 337: Continuous Operation Interrupt Program

    6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q 6.5.4 Continuous operation interrupt program During positioning control, the control can be interrupted during continuous positioning control and continuous path control (continuous operation interrupt function). When "continuous operation interruption" is execution, the control will stop when the operation of the positioning data being executed ends.
  • Page 338 6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q (3) If the operation cannot be decelerated to a stop because the remaining distance is insufficient when "continuous operation interrupt request" is executed with continuous path control, the interruption of the continuous operation will be postponed until the positioning data shown below.
  • Page 339: Restart Program

    6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q 6.5.5 Restart program When a stop factor occurs during position control and the operation stops, the positioning can be restarted from the stopped position to the position control end point Cd.6 by using the "restart command" ( Restart command).
  • Page 340 6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q REMARK Restarting after stopping is possible even for the following control. • • Incremental system position control Continuous positioning control • • Continuous path control Block start [3] Control data requiring setting Set the following data to execute restart.
  • Page 341 6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q (5) Time chart for restarting Dwell time Positioning start signal [Y10] All axis servo ON [Y1] Axis stop signal [Y4] PLC READY signal [Y0] [X0] QD75 READY signal Start complete signal [X10] BUSY signal [XC] Positioning complete signal...
  • Page 342: Stop Program

    6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q 6.5.6 Stop program The axis stop signal [Y4, Y5, Y6, Y7] or a stop signal from an external device is used to stop the control. Create a program to turn ON the axis stop signal [Y4, Y5, Y6, Y7] as the stop program. The process for stopping control is explained below.
  • Page 343 6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q [2] Types of stop processes The operation can be stopped with deceleration stop, sudden stop or immediate stop. (1) Deceleration stop Pr.10 Pr.28 Pr.29 The operation stops with "deceleration time 0 to 3" ( Pr.30 Which time from "deceleration time 0 to 3"...
  • Page 344 6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q [3] Order of priority for stop process The order of priority for the QD75 stop process is as follows. Deceleration stop < Sudden stop < Servo OFF (1) If the deceleration stop command ON (stop signal ON) or deceleration stop cause occurs during deceleration to speed 0 (including automatic deceleration), operation changes depending on the setting of "...
  • Page 345 6 PLC PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q [4] Inputting the stop signal during deceleration (1) Even if stop is input during deceleration (including automatic deceleration), the operation will stop at that deceleration speed. (2) If stop is input during deceleration for OPR, the operation will stop at that deceleration speed.
  • Page 346 Chapter 7 Memory Configuration and Data Process The QD75MH memory configuration and data transmission are explained in this chapter. The QD75MH is configured of two memories. By understanding the configuration and roles of two memories, the QD75MH internal data transmission process, such as "when the power is turned ON"...
  • Page 347: Configuration And Roles Of Qd75Mh Memory

    7 MEMORY CONFIGURATION AND DATA PROCESS MELSEC-Q 7.1 Configuration and roles of QD75MH memory 7.1.1 Configuration and roles of QD75MH memory The QD75MH is configured of the following two memories. Area configuration Memory Role configuration Area that can be directly accessed •...
  • Page 348 7 MEMORY CONFIGURATION AND DATA PROCESS MELSEC-Q Details of areas • Parameter area Area where parameters, such as positioning parameters and OPR parameters, required for positioning control are set and stored. Pr.1 Pr.57 Pr.84 (Set the items indicated with Pr.80 for each axis.) •...
  • Page 349 7 MEMORY CONFIGURATION AND DATA PROCESS MELSEC-Q User accesses Data is backed up here. here. Flash ROM Buffer memory Parameter area Parameter area Positioning data area Positioning data area (No.1 to 600) (No.1 to 600) Block start data area Block start data area (No.7000 to 7004) (No.
  • Page 350: Buffer Memory Area Configuration

    7 MEMORY CONFIGURATION AND DATA PROCESS MELSEC-Q 7.1.2 Buffer memory area configuration The QD75MH buffer memory is configured of the following types of areas. Buffer memory address Writing Buffer memory area configuration possibility Axis 1 Axis 2 Axis 3 Axis 4 Basic parameter area 0 to 15 150 to 165...
  • Page 351 7 MEMORY CONFIGURATION AND DATA PROCESS MELSEC-Q Buffer memory address Writing Buffer memory area configuration possibility Axis 1 Axis 2 Axis 3 Axis 4 30100 to 30300 to 30500 to 30700 to Basic setting parameter area 30115 30315 30515 30715 Gain •...
  • Page 352 7 MEMORY CONFIGURATION AND DATA PROCESS MELSEC-Q MEMO 7 - 7...
  • Page 353: Data Transmission Process

    7 MEMORY CONFIGURATION AND DATA PROCESS MELSEC-Q 7.2 Data transmission process The data is transmitted between the QD75MH memories with steps (1) to (10) shown below. The data transmission patterns numbered (1) to (10) on the right page correspond to the numbers (1) to (10) on the left page.
  • Page 354 7 MEMORY CONFIGURATION AND DATA PROCESS MELSEC-Q (1) Transmitting data when power is turned ON or PLC CPU is reset When the power is turned ON or the PLC CPU is reset, the "parameters", "positioning data" and "block start data" stored (backed up) in the flash ROM is transmitted to the buffer memory.
  • Page 355 7 MEMORY CONFIGURATION AND DATA PROCESS MELSEC-Q (3) Validate parameters when PLC READY signal [Y0] changes from OFF to ON When the PLC READY signal [Y0] changes from OFF to ON, the data stored in the buffer memory's "parameter area (a) 2"...
  • Page 356 7 MEMORY CONFIGURATION AND DATA PROCESS MELSEC-Q MEMO 7 - 11...
  • Page 357 7 MEMORY CONFIGURATION AND DATA PROCESS MELSEC-Q Pheripharal devices (7) Flash ROM request (Write) PLC CPU (6) Flash ROM write (7) Flash ROM request (Write) (Set "1" in Cd.1 with TO command) QD75MH Buffer memory Parameter area (a) Pr.1 to Pr.7 Parameter area (a) Pr.11...
  • Page 358 7 MEMORY CONFIGURATION AND DATA PROCESS MELSEC-Q (6) Writing the flash ROM by a PLC CPU request ( Cd.1 The following transmission process is carried out by setting "1" in " Flash ROM write request" (buffer memory [1900]). 1) The "parameters", "positioning data (No. 1 to 600)", "block start data (No. 7000 to 7004)"...
  • Page 359 7 MEMORY CONFIGURATION AND DATA PROCESS MELSEC-Q Ž ü • Ó ‹ @ Š í Pheripharal devices (9) Data write (8) Data read PLC CPU (9) Data write (8) Data read QD75MH Buffer memory Parameter area (a) Parameter area (a) Pr.1 to Pr.7 Pr.11...
  • Page 360 7 MEMORY CONFIGURATION AND DATA PROCESS MELSEC-Q (8) Reading data from buffer memory to peripheral device ( The following transmission processes are carried out with the [Read from module] from the peripheral device. 1) The "parameters", "positioning data (No. 1 to 600)" and "block start data (No. 7000 to 7004)"...
  • Page 361 7 MEMORY CONFIGURATION AND DATA PROCESS MELSEC-Q QD75MH For MR-J3-B Buffer memory Servo parameter area Parameter area (a) Pr.204 Pr.100 Parameter area (b) Positioning data area (No.1 to 600) Block start data area (No.7000 to 7004) Servo parameter area (No.30100 to 30804) Monitor data area Control data area PLC CPU...
  • Page 362 7 MEMORY CONFIGURATION AND DATA PROCESS MELSEC-Q (10) Transmitting servo parameter from the buffer memory area to servo amplifier ( The servo parameter in the buffer memory area is transmitted to the servo amplifier by the following timing. 1) The servo parameter transmitted to the servo amplifier when communications with servo amplifier start.
  • Page 363 7 MEMORY CONFIGURATION AND DATA PROCESS MELSEC-Q How to transfer the servo parameter which wrote it in the flash ROM to servo amplifier Flash ROM writing carried out after the servo parameter is set up in the buffer memory. After that, when the power is turned ON or the PLC CPU is reset, the servo parameters stored in the flash ROM is transmitted to the buffer memory.
  • Page 364 7 MEMORY CONFIGURATION AND DATA PROCESS MELSEC-Q (b) When the servo parameter " Servo series"="0" is stored flash ROM. Pr.100 Communication start timing to the servo amplifier: The data written from PLC program before the PLC READY signal [Y0] ON (Fig. 7.1 B). Transfer the servo parameter : The data written from PLC program before the...
  • Page 365 7 MEMORY CONFIGURATION AND DATA PROCESS MELSEC-Q The data transmission is carried out as shown in the previous pages, but the main method of using this data process is shown below. (Ex.) Setting the positioning data The following methods can be used to set the positioning data. From peripheral device Using sequense program Write positioning data into buffer...
  • Page 366 Section 2 Control Details and Setting Section 2 is configured for the following purposes shown in (1) to (3). (1) Understanding of the operation and restrictions of each control. (2) Carrying out the required settings in each control (3) Dealing with errors The required settings in each control include parameter setting, positioning data setting, control data setting by a PLC program, etc.
  • Page 367 MEMO...
  • Page 368 Chapter 8 OPR Control The details and usage of "OPR control" are explained in this chapter. OPR control includes "machine OPR" that establish a machine OP without using address data, and "fast OPR" that store the coordinates established by the machine OPR, and carry out positioning to that position.
  • Page 369: Opr Control 8- 1 To

    8 OPR CONTROL MELSEC-Q 8.1 Outline of OPR control 8.1.1 Two types of OPR control In "OPR control" a position is established as the starting point (or "OP") when carrying out positioning control, and positioning is carried out toward that starting point. It is used to return a machine system at any position other than the OP to the OP when the QD75MH issues a "OPR request"...
  • Page 370 8 OPR CONTROL MELSEC-Q CAUTION In the case of the absolute position system, use the PLC program to check the OPR request before performing the positioning operation. Failure to observe this could lead to an accident such as a collision. REMARK OPR request Md.31...
  • Page 371 8 OPR CONTROL MELSEC-Q OPR sub functions Refer to Section 3.2.4 "Combination of QD75MH main functions and sub functions" for details on "sub functions" that can be combined with OPR control. Also refer to Chapter 12 "Control sub functions" for details on each sub function. [Remarks] The following two sub functions are only related to machine OPR.
  • Page 372: Machine Opr

    8 OPR CONTROL MELSEC-Q 8.2 Machine OPR 8.2.1 Outline of the machine OPR operation Important Use the OPR retry function when the OP position is not always in the same direction from the workpiece operation area (when the OP is not set near the upper or lower limit of the machine).
  • Page 373: Machine Opr Method

    8 OPR CONTROL MELSEC-Q 8.2.2 Machine OPR method The method by which the machine OP is established (method for judging the OP position and machine OPR completion) is designated in the machine OPR according to the configuration and application of the positioning method. The following table shows the methods that can be used for this OPR method.
  • Page 374: Opr Method (1): Near-Point Dog Method

    8 OPR CONTROL MELSEC-Q 8.2.3 OPR method (1): Near-point dog method The following shows an operation outline of the "near-point dog method" OPR method. Operation chart The machine OPR is started. (The machine begins the acceleration designated in " Pr.51 OPR acceleration time selection", in the direction designated in "...
  • Page 375 8 OPR CONTROL MELSEC-Q Precautions during operation (1) An error "Start at home position (OP) fault (error code: 201)" will occur if another machine OPR is attempted after a machine OPR completion when the OPR retry function is not set ("0" is set in " Pr.48 OPR retry").
  • Page 376: Opr Method (2): Count Method 1)

    8 OPR CONTROL MELSEC-Q 8.2.4 OPR method (2): Count method 1) The following shows an operation outline of the "count method 1)" OPR method. In the "count method 1)" OPR, the following can be performed: • Machine OPR on near-point dog •...
  • Page 377 8 OPR CONTROL MELSEC-Q Precautions during operation (1) An error "Count method movement amount fault (error code: 206)" will occur and the operation will not start if the " Pr.50 Setting for the movement amount after near-point dog ON" is smaller than the deceleration distance from the "...
  • Page 378: Opr Method (3): Count Method 2)

    8 OPR CONTROL MELSEC-Q 8.2.5 OPR method (3): Count method 2) The following shows an operation outline of the "method 2)" OPR method. The "count method 2)" method is effective when a "zero signal" cannot be received. (Note that compared to the "count method 1)" method, using this method will result in more deviation in the stop position during machine OPR.) Near-point dog is use to the external device connector of the QD75MH.
  • Page 379 8 OPR CONTROL MELSEC-Q Restrictions When this method is used, a deviation will occur in the stop position (OP) compared to other OPR methods because an error of about 1 ms occurs in taking in the near-point dog ON. Precautions during operation (1) An error "Count method movement amount fault (error code: 206)"...
  • Page 380: Opr Method (4): Data Set Method

    8 OPR CONTROL MELSEC-Q 8.2.6 OPR method (4): Data set method The following shows an operation outline of the "Data set method" OPR method. The " Data set method" method is effective when a "Near-point dog" does not used. It can be used with absolute position system. With the data set method OPR, the position where the machine OPR has been carried out, is registered into the QD75MH as the OP, and the current feed value and feed machine value is overwritten to an OP address.
  • Page 381: Fast Opr

    8 OPR CONTROL MELSEC-Q 8.3 Fast OPR 8.3.1 Outline of the fast OPR operation Fast OPR operation Md.21 In a fast OPR, positioning is carried out by a machine OPR to the " Machine feed value" stored in the QD75MH. The following shows the operation during a basic fast OPR start.
  • Page 382 8 OPR CONTROL MELSEC-Q Operation timing and processing time of fast OPR The following shows details about the operation timing and time during fast OPR. Positioning start signal [Y10,Y11,Y12,Y13] [XC,XD,XE,XF] BUSY signal Start complete signal [X10,X11,X12,X13] Standing In position control Standing by Md.26 Axis operation status Positioning operation...
  • Page 383 8 OPR CONTROL MELSEC-Q 8.4 Selection of the OPR setting condition 8.4.1 Outline of the OPR setting condition If executing the home position return (OPR), it is necessary to make sure that the servomotor has been rotated more than one revolution and passed the Z phase (Motor Md.108 reference position signal) and that the zeroing pass signal ( Servo status : b4)
  • Page 384 Chapter 9 Major Positioning Control The details and usage of the major positioning controls (control functions using the "positioning data") are explained in this chapter. The major positioning controls include such controls as "positioning control" in which positioning is carried out to a designated position using the address information, "speed control"...
  • Page 385: Outline Of Major Positioning Controls

    9 MAJOR POSITIONING CONTROL MELSEC-Q 9.1 Outline of major positioning controls "Major positioning controls" are carried out using the "positioning data" stored in the QD75MH. The basic controls such as position control and speed control are executed by setting the required items in this "positioning data", and then starting that positioning data. The control system for the "major positioning controls"...
  • Page 386 9 MAJOR POSITIONING CONTROL MELSEC-Q Major positioning control Details Da.2 Control system Forward run The control is continued as position control (positioning for speed/position the designated address or movement amount) by turning Speed-position switching control Reverse run ON the "speed-position switching signal" after first carrying speed/position out speed control.
  • Page 387: Data Required For Major Positioning Control

    9 MAJOR POSITIONING CONTROL MELSEC-Q 9.1.1 Data required for major positioning control The following table shows an outline of the "positioning data" configuration and setting details required to carry out the "major positioning controls". Setting item Setting details Set the method by which the continuous positioning data (Ex: positioning data No. 1, Da.1 Operation pattern No.
  • Page 388: Operation Patterns Of Major Positioning Controls

    9 MAJOR POSITIONING CONTROL MELSEC-Q 9.1.2 Operation patterns of major positioning controls In "major positioning control" (high-level positioning control), " Da.1 Operation pattern" can be set to designate whether to continue executing positioning data after the started positioning data. The "operation pattern" includes the following 3 types. Positioning complete (1) Independent positioning control (operation pattern: 00)
  • Page 389 9 MAJOR POSITIONING CONTROL MELSEC-Q POINT The BUSY signal [XC, XD, XE, XF] turns ON even when position control of movement amount 0 is executed. However, since the ON time is short, the ON status may not be detected in the PLC program. [1] Independent positioning control (Positioning complete) This control is set when executing only one designated data item of positioning.
  • Page 390 9 MAJOR POSITIONING CONTROL MELSEC-Q [2] Continuous positioning control (1) The machine always automatically decelerates each time the positioning is completed. Acceleration is then carried out after the QD75MH command speed reaches 0 to carry out the next positioning data operation. If a dwell time is designated, the acceleration is carried out after the designated time elapses.
  • Page 391 9 MAJOR POSITIONING CONTROL MELSEC-Q [3] Continuous path control (1) Continuous path control (a) The speed is changed without deceleration stop between the command speed of the positioning data currently being run and the speed of the positioning data that will be run next. The speed is not changed if the current speed and the next speed are equal.
  • Page 392 9 MAJOR POSITIONING CONTROL MELSEC-Q Positioning continue (11) Dwell time Positioning continue (11) Positioning Address (+) direction complete (00) Address (-) direction Positioning start signal [Y10, Y11, Y12, Y13] Start complete signal [X10, X11, X12, X13] BUSY signal [XC, XD, XE, XF] Positioning complete signal [X14, X15, X16, X17] Fig.
  • Page 393 9 MAJOR POSITIONING CONTROL MELSEC-Q (b) When the operation pattern of the positioning data currently being executed is "continuous path control: 11", and the movement amount of the next positioning data is "0". (c) During operation by step operation. (Refer to Section 12.7.1 "Step function".) (d) When there is an error in the positioning data to carry out the next operation.
  • Page 394 9 MAJOR POSITIONING CONTROL MELSEC-Q (3) Speed handling (a) Continuous path control command speeds are set with each positioning data. The QD75MH then carries out the positioning at the speed designated with each positioning data. (b) The command speed can be set to "–1" in continuous path control. The control will be carried out at the speed used in the previous positioning data No.
  • Page 395 9 MAJOR POSITIONING CONTROL MELSEC-Q (4) Speed switching Pr.19 (Refer to " Speed switching mode".) (a) Standard speed switching mode If the respective command speeds differ in the "positioning data currently being executed" and the "positioning data to carry out the next operation", the machine will accelerate or decelerate after reaching the positioning point set in the "positioning data currently being executed"...
  • Page 396 9 MAJOR POSITIONING CONTROL MELSEC-Q [When the speed cannot change over in P2] [When the movement amount is small during automatic deceleration] When the relation of the speeds is P1 = P4, P2 = P3, P1 < P2. The movement amount required to carry out the automatic deceleration cannot be secured, so the machine immediately stops in a speed ≠...
  • Page 397 9 MAJOR POSITIONING CONTROL MELSEC-Q Speed switching condition If the movement amount is small in regard to the target speed, the current speed may not reach the target speed even if acceleration/deceleration is carried out. In this case, the machine is accelerated/decelerated so that it nears the target speed.
  • Page 398: Designating The Positioning Address

    9 MAJOR POSITIONING CONTROL MELSEC-Q 9.1.3 Designating the positioning address The following shows the two methods for commanding the position in control using positioning data. Absolute system Positioning is carried out to a designated position (absolute address) having the OP as a reference. This address is regarded as the positioning address. (The start point can be anywhere.) Address Start point...
  • Page 399: Confirming The Current Value

    9 MAJOR POSITIONING CONTROL MELSEC-Q 9.1.4 Confirming the current value Values showing the current value The following two types of addresses are used as values to show the position in the QD75MH. These addresses ("current feed value" and "machine feed value") are stored in the monitor data area, and used in monitoring the current value display, etc.
  • Page 400 9 MAJOR POSITIONING CONTROL MELSEC-Q Restrictions (1) A 1.7ms error will occur in the current value update timing when the stored "current feed value" is used in the control. A 56.8ms error will occur in the current value update timing when the stored "machine feed value"...
  • Page 401: Control Unit "Degree" Handling

    9 MAJOR POSITIONING CONTROL MELSEC-Q 9.1.5 Control unit "degree" handling When the control unit is set to "degree", the following items differ from when other control units are set. [1] Current feed value and machine feed value addresses Md.20 The address of " Current feed value"...
  • Page 402 9 MAJOR POSITIONING CONTROL MELSEC-Q [3] Positioning control method when the control unit is set to "degree" 1) Absolute system (a) When the software stroke limit is invalid Positioning is carried out in the nearest direction to the designated address, using the current value as a reference. (This is called "shortcut control".) Example 1) Positioning is carried out in a clockwise direction when the current value is moved from 315°...
  • Page 403 9 MAJOR POSITIONING CONTROL MELSEC-Q (b) When the software stroke limit is valid The positioning is carried out in a clockwise/counterclockwise direction depending on the software stroke limit range setting method. Because of this, positioning with "shortcut control" may not be possible.
  • Page 404 9 MAJOR POSITIONING CONTROL MELSEC-Q 9.1.6 Interpolation control Meaning of interpolation control In "2-axis linear interpolation control", "3-axis linear interpolation control", "4-axis linear interpolation control", "2-axis fixed-feed control", "3-axis fixed-feed control", "4-axis fixed-feed control", "2-axis speed control", "3-axis speed control", "4-axis speed control", and "2-axis circular interpolation control", control is carried out so that linear and arc paths are drawn using a motor set in two to four axis directions.
  • Page 405 9 MAJOR POSITIONING CONTROL MELSEC-Q Setting the positioning data during interpolation control When carrying out interpolation control, the same positioning data Nos. are set for the "reference axis" and the "interpolation axis". The following table shows the "positioning data" setting items for the reference axis and interpolation axis.
  • Page 406 9 MAJOR POSITIONING CONTROL MELSEC-Q Starting the interpolation control The positioning data Nos. of the reference axis (axis in which interpolation control Da.2 was set in " Control system") are started when starting the interpolation control. (Starting of the interpolation axis is not required.) The following errors or warnings will occur and the positioning will not start if both reference axis and the interpolation axis are started.
  • Page 407 9 MAJOR POSITIONING CONTROL MELSEC-Q POINT • When the "reference axis speed" is set during interpolation control, set so the major axis side becomes the reference axis. If the minor axis side is set as the Pr.8 reference axis, the major axis side speed may exceed the " Speed limit value".
  • Page 408: Interpolation Control

    9 MAJOR POSITIONING CONTROL MELSEC-Q 9.2 Setting the positioning data 9.2.1 Relation between each control and positioning data The setting requirements and details for the setting items of the positioning data to be Da.2 set differ according to the " Control system".
  • Page 409 9 MAJOR POSITIONING CONTROL MELSEC-Q REMARK • It is recommended that the "positioning data" be set whenever possible with GX Configurator-QP. Execution by PLC program uses many PLC programs and devices. The execution becomes complicated, and the scan times will increase. Major positioning control Other control Current value...
  • Page 410: 1-Axis Linear Control

    9 MAJOR POSITIONING CONTROL MELSEC-Q 9.2.2 1-axis linear control Da.2 In "1-axis linear control" (" Control system" = ABS linear 1, INC linear 1), one motor is used to carry out position control in a set axis direction. [1] 1-axis linear control (ABS linear 1) Operation chart In absolute system 1-axis linear control, addresses established by a machine OPR are used.
  • Page 411 9 MAJOR POSITIONING CONTROL MELSEC-Q [2] 1-axis linear control (INC linear 1) Operation chart In incremental system 1-axis linear control, addresses established by a machine OPR are used. Positioning is carried out from the current stop position (start point Da.6 address) to a position at the end of the movement amount set in "...
  • Page 412: 2-Axis Linear Interpolation Control

    9 MAJOR POSITIONING CONTROL MELSEC-Q 9.2.3 2-axis linear interpolation control Da.2 In "2-axis linear interpolation control" (" Control system" = ABS linear 2, INC linear 2), two motors are used to carry out position control in a linear path while carrying out interpolation for the axis directions set in each axis.
  • Page 413 9 MAJOR POSITIONING CONTROL MELSEC-Q Restrictions An error will occur and the positioning will not start in the following cases. The machine will immediately stop if the error is detected during a positioning control. • If the movement amount of each axis exceeds "1073741824 (=2 )"...
  • Page 414 9 MAJOR POSITIONING CONTROL MELSEC-Q [2] 2-axis linear interpolation control (INC linear 2) Operation chart In incremental system 2-axis linear interpolation control, addresses established by a machine OPR on a 2-axis coordinate plane are used. Linear interpolation positioning is carried out from the current stop position (start point address) to a Da.6 position at the end of the movement amount set in "...
  • Page 415 9 MAJOR POSITIONING CONTROL MELSEC-Q Restrictions An error will occur and the positioning will not start in the following cases. The machine will immediately stop if the error is detected during a positioning operation. • If the movement amount of each axis exceeds "1073741824 (=2 )"...
  • Page 416: 3-Axis Linear Interpolation Control

    9 MAJOR POSITIONING CONTROL MELSEC-Q 9.2.4 3-axis linear interpolation control Da.2 In "3-axis linear interpolation control" (" Control system" = ABS linear 3, INC linear 3), three motors are used to carry out position control in a linear path while carrying out interpolation for the axis directions set in each axis.
  • Page 417 9 MAJOR POSITIONING CONTROL MELSEC-Q Restrictions An error will occur and the positioning will not start in the following cases. The machine will immediately stop if the error is detected during a positioning control. • If the movement amount of each axis exceeds "1073741824 (=2 )"...
  • Page 418 9 MAJOR POSITIONING CONTROL MELSEC-Q POINTS • When the "reference axis speed" is set during 3-axis linear interpolation control, set so the major axis side becomes the reference axis. If the minor axis side is set Pr.8 as the reference axis, the major axis side speed may exceed the " Speed limit value".
  • Page 419 9 MAJOR POSITIONING CONTROL MELSEC-Q [2] 3-axis linear interpolation control (INC linear 3) Operation chart In the incremental system 3-axis linear interpolation control, using an address established by a machine OPR in the 3-axis coordinate space, a linear interpolation positioning is carried out from the current stop position (start point Da.6 address) to a position at the end of the movement amount set in the "...
  • Page 420 9 MAJOR POSITIONING CONTROL MELSEC-Q Restrictions An error will occur and the positioning will not start in the following cases. The machine will immediately stop if the error is detected during a positioning operation. • If the movement amount of each axis exceeds "1073741824 (=2 )"...
  • Page 421 9 MAJOR POSITIONING CONTROL MELSEC-Q POINTS • When the "reference axis speed" is set during 3-axis linear interpolation control, set so the major axis side becomes the reference axis. If the minor axis side is set Pr.8 as the reference axis, the major axis side speed may exceed the " Speed limit value".
  • Page 422: 4-Axis Linear Interpolation Control

    9 MAJOR POSITIONING CONTROL MELSEC-Q 9.2.5 4-axis linear interpolation control Da.2 In "4-axis linear interpolation control" (" Control system" = ABS linear 4, INC linear 4), four motors are used to carry out position control in a linear path while carrying out interpolation for the axis directions set in each axis.
  • Page 423 9 MAJOR POSITIONING CONTROL MELSEC-Q Positioning data setting example [Reference axis is designated as axis 1.] The following table shows setting examples when "4-axis linear interpolation control (ABS linear 4)" is set in positioning data No. 1 of axis 1. (The required values are also set in positioning data No.
  • Page 424 9 MAJOR POSITIONING CONTROL MELSEC-Q POINTS • When the "reference axis speed" is set during 4-axis linear interpolation control, set so the major axis side becomes the reference axis. If the minor axis side is set Pr.8 as the reference axis, the major axis side speed may exceed the " Speed limit value".
  • Page 425 9 MAJOR POSITIONING CONTROL MELSEC-Q [2] 4-axis linear interpolation control (INC linear 4) Operation chart In the incremental system 4-axis linear interpolation control, using an address established by a machine OPR in the 4-axis coordinate plane, a linear interpolation positioning is carried out from the current stop position (start point address) to a Da.6 position at the end of the movement amount set in the "...
  • Page 426 9 MAJOR POSITIONING CONTROL MELSEC-Q Positioning data setting example [Reference axis is designated as axis 1.] The following table shows setting examples when "4-axis linear interpolation control (INC linear 4)" is set in positioning data No. 1 of axis 1. (The required values are also set in positioning data No.
  • Page 427: 1-Axis Fixed-Feed Control

    9 MAJOR POSITIONING CONTROL MELSEC-Q 9.2.6 1-axis fixed-feed control In "1-axis fixed-feed control" (" Da.2 Control system" = fixed-feed 1), one motor is used to carry out fixed-feed control in a set axis direction. In fixed-feed control, any remainder of the movement amount designated in the positioning data is rounded down if less than that required for control accuracy to output the same amount of pulses.
  • Page 428 9 MAJOR POSITIONING CONTROL MELSEC-Q Positioning data setting example The following table shows setting examples when "1-axis fixed-feed control (fixed- feed 1)" is set in positioning data No. 1 of axis 1. Setting Setting item Setting details example Positioning Set "Positioning complete" assuming the next positioning data will not Da.1 Operation pattern complete be executed.
  • Page 429: 2-Axis Fixed-Feed Control (Interpolation)

    9 MAJOR POSITIONING CONTROL MELSEC-Q 9.2.7 2-axis fixed-feed control (interpolation) In "2-axis fixed-feed control" (" Da.2 Control system" = fixed-feed 2), two motors are used to carry out fixed-feed control in a linear path while carrying out interpolation for the axis directions set in each axis. In fixed-feed control, any remainder of the movement amount designated in the positioning data is rounded down if less than that required for control accuracy to output the same amount of pulses.
  • Page 430 9 MAJOR POSITIONING CONTROL MELSEC-Q Positioning data setting example [Reference axis and interpolation axis are designated as axis 1 and axis 2, respectively.] The following table shows setting examples when "2-axis fixed-dimension feed control (fixed-feed 2)" is set in positioning data No. 1 of axis 1. (The required values are also set in positioning data No.
  • Page 431: 3-Axis Fixed-Feed Control (Interpolation)

    9 MAJOR POSITIONING CONTROL MELSEC-Q 9.2.8 3-axis fixed-feed control (interpolation) In "3-axis fixed-feed control" (" Da.2 Control system" = fixed-feed 3), three motors are used to carry out fixed-feed control in a linear path while carrying out interpolation for the axis directions set in each axis. In fixed-feed control, any remainder of the movement amount designated in the positioning data is rounded down if less than that required for control accuracy to output the same amount of pulses.
  • Page 432 9 MAJOR POSITIONING CONTROL MELSEC-Q Operation chart In incremental system 3-axis fixed-feed control, the addresses ( Md.20 Current feed value) of the current stop position (start addresses) of every axes are set to "0". Linear interpolation positioning is then carried out from that position to a Da.6 position at the end of the movement amount set in "...
  • Page 433 9 MAJOR POSITIONING CONTROL MELSEC-Q Restrictions (1) An axis error "Continuous path control not possible (error code: 516)" will occur and the operation cannot start if "continuous path control" is set in " Da.1 Operation pattern". ("Continuous path control" cannot be set in fixed- feed control.) (2) "Fixed-feed"...
  • Page 434 9 MAJOR POSITIONING CONTROL MELSEC-Q Axis 2 Axis 1 Axis 3 Axis (interpolatio (reference (interpolation n axis) Setting details axis) setting axis) setting setting Setting item example example example Positioning Set "Positioning complete" assuming the next Da.1 Operation pattern – –...
  • Page 435: 4-Axis Fixed-Feed Control (Interpolation)

    9 MAJOR POSITIONING CONTROL MELSEC-Q 9.2.9 4-axis fixed-feed control (interpolation) In "4-axis fixed-feed control" (" Da.2 Control system" = fixed-feed 4), four motors are used to carry out fixed-feed control in a linear path while carrying out interpolation for the axis directions set in each axis. In fixed-feed control, any remainder of the movement amount designated in the positioning data is rounded down if less than that required for control accuracy to output the same amount of pulses.
  • Page 436 9 MAJOR POSITIONING CONTROL MELSEC-Q Positioning data setting example [Reference axis is designated as axis 1.] The following table shows setting examples when "4-axis fixed-feed control (fixed- feed 4)" is set in positioning data No. 1 of axis 1. (The required values are also set in positioning data No.
  • Page 437: 2-Axis Circular Interpolation Control With Sub Point Designation

    9 MAJOR POSITIONING CONTROL MELSEC-Q 9.2.10 2-axis circular interpolation control with sub point designation Da.2 In "2-axis circular interpolation control" (" Control system" = ABS circular sub, INC circular sub), two motors are used to carry out position control in an arc path passing through designated sub points, while carrying out interpolation for the axis directions set in each axis.
  • Page 438 9 MAJOR POSITIONING CONTROL MELSEC-Q Restrictions (1) 2-axis circular interpolation control cannot be set in the following cases. • When "degree" is set in " Pr.1 Unit setting" • Pr.1 When the units set in " Unit setting" are different for the reference axis and interpolation axis.
  • Page 439 9 MAJOR POSITIONING CONTROL MELSEC-Q Positioning data setting example [Reference axis and interpolation axis are designated as axis 1 and axis 2, respectively.] The following table shows setting examples when "2-axis circular interpolation control with sub point designation (ABS circular sub)" is set in positioning data No. 1 of axis 1.
  • Page 440 9 MAJOR POSITIONING CONTROL MELSEC-Q [2] 2-axis circular interpolation control with sub point designation (INC circular sub) Operation chart In the incremental system, 2-axis circular interpolation control with sub point designation, positioning is carried out from the current stop position (start point address) to a position at the end of the movement amount set in "...
  • Page 441 9 MAJOR POSITIONING CONTROL MELSEC-Q Restrictions (1) 2-axis circular interpolation control cannot be set in the following cases. • When "degree" is set in " Pr.1 Unit setting" • Pr.1 When the units set in " Unit setting" are different for the reference axis and interpolation axis.
  • Page 442 9 MAJOR POSITIONING CONTROL MELSEC-Q Positioning data setting example [Reference axis and interpolation axis are designated as axis 1 and axis 2, respectively.] The following table shows setting examples when "2-axis circular interpolation control with sub point designation (INC circular sub)" is set in positioning data No. 1 of axis 1.
  • Page 443: 2-Axis Circular Interpolation Control With Center Point Designation

    9 MAJOR POSITIONING CONTROL MELSEC-Q 9.2.11 2-axis circular interpolation control with center point designation In "2-axis circular interpolation control" (" Da.2 Control system" = ABS circular right, INC circular right, ABS circular left, INC circular left), two motors are used to carry out position control in an arc path having a designated center point, while carrying out interpolation for the axis directions set in each axis.
  • Page 444 9 MAJOR POSITIONING CONTROL MELSEC-Q Circular interpolation error compensation In circular interpolation control with center point designation, the arc path calculated from the start point address and arc address may deviate from the Da.6 position of the end point address set in " Positioning address/movement amount".
  • Page 445 9 MAJOR POSITIONING CONTROL MELSEC-Q [1] 2-axis circular interpolation control with center point designation (ABS circular right, ABS circular left) Operation chart In the absolute system, 2-axis circular interpolation control with center point designation, addresses established by a machine OPR on a 2-axis coordinate plane are used.
  • Page 446 9 MAJOR POSITIONING CONTROL MELSEC-Q In circular interpolation control with center point designation, an angular velocity is calculated on the assumption that operation is carried out at a command speed on the arc using the radius calculated from the start point address and center point address, and the radius is compensated in proportion to the angular velocity deviated from that at the start point.
  • Page 447 9 MAJOR POSITIONING CONTROL MELSEC-Q Positioning data setting examples [Reference axis and interpolation axis are designated as axis 1 and axis 2, respectively.] The following table shows setting examples when "2-axis circular interpolation control with center point designation (ABS right arc, ABS left arc)" is set in positioning data No.
  • Page 448 9 MAJOR POSITIONING CONTROL MELSEC-Q [2] 2-axis circular interpolation control with center point designation (INC circular right, INC circular left) Operation chart In the incremental system, 2-axis circular interpolation control with center point designation, addresses established by a machine OPR on a 2-axis coordinate plane are used.
  • Page 449 9 MAJOR POSITIONING CONTROL MELSEC-Q In circular interpolation control with center point designation, an angular velocity is calculated on the assumption that operation is carried out at a command speed on the arc using the radius calculated from the start point address and center point address, and the radius is compensated in proportion to the angular velocity deviated from that at the start point.
  • Page 450 9 MAJOR POSITIONING CONTROL MELSEC-Q Positioning data setting examples [Reference axis and interpolation axis are designated as axis 1 and axis 2, respectively.] The following table shows setting examples when "2-axis circular interpolation control with center point designation (INC circular right, INC circular left)" is set in positioning data No.
  • Page 451: 1-Axis Speed Control

    9 MAJOR POSITIONING CONTROL MELSEC-Q 9.2.12 1-axis speed control Da.2 In "1-axis speed control" (" Control system" = Forward run: speed 1, Reverse run: speed 1), control is carried out in the axis direction in which the positioning data has been set by continuously outputting pulses for the speed set in " Da.8 Command speed"...
  • Page 452 9 MAJOR POSITIONING CONTROL MELSEC-Q Current feed value during 1-axis speed control The following table shows the " Md.20 Current feed value" during 1-axis speed Pr.21 control corresponding to the " Current feed value during speed control" settings. Pr.21 Current feed value during speed Md.20 Current feed value control"...
  • Page 453 9 MAJOR POSITIONING CONTROL MELSEC-Q Positioning data setting examples The following table shows the setting examples when "1-axis speed control (forward run: speed 1)" is set in the positioning data No. 1 of axis 1. Setting Setting item Setting details example Positioning Da.1 Operation pattern...
  • Page 454: 2-Axis Speed Control

    9 MAJOR POSITIONING CONTROL MELSEC-Q 9.2.13 2-axis speed control In "2-axis speed control" (" Da.2 Control system" = Forward run: speed 2, Reverse run: speed 2), control is carried out in the 2-axis direction in which the positioning data Da.8 has been set by continuously outputting pulses for the speed set in "...
  • Page 455 9 MAJOR POSITIONING CONTROL MELSEC-Q Current feed value during 2-axis speed control The following table shows the " Md.20 Current feed value" during 2-axis speed Pr.21 control corresponding to the " Current feed value during speed control" settings. (Note that the reference axis setting values are used for parameters.) "...
  • Page 456 9 MAJOR POSITIONING CONTROL MELSEC-Q (5) An error "No command speed (error code: 503)" occurs if a current speed (-1) Da.8 is set in " Command speed". (6) The software stroke limit check is not carried out when the control unit is set to "degree".
  • Page 457: 3-Axis Speed Control

    9 MAJOR POSITIONING CONTROL MELSEC-Q 9.2.14 3-axis speed control In "3-axis speed control" (" Da.2 Control system" = Forward run: speed 3, Reverse run: speed 3), control is carried out in the 3-axis direction in which the positioning data Da.8 has been set by continuously outputting pulses for the speed set in "...
  • Page 458 9 MAJOR POSITIONING CONTROL MELSEC-Q Current feed value during 3-axis speed control The following table shows the " Md.20 Current feed value" during 3-axis speed Pr.21 control corresponding to the " Current feed value during speed control" settings. (Note that the reference axis setting values are used for parameters.) Pr.21 Current feed value during speed Md.20 Current feed value control"...
  • Page 459 9 MAJOR POSITIONING CONTROL MELSEC-Q (4) When either of three axes exceeds the speed limit, that axis is controlled with the speed limit value. The speeds of the other axes are limited at the ratios of Da.8 " Command speed". (Examples) Axis Axis 1 setting...
  • Page 460 9 MAJOR POSITIONING CONTROL MELSEC-Q Positioning data setting examples The following table shows the setting examples when "3-axis speed control (forward run: speed 3)" is set in the positioning data No. 1 of axis 1 (reference axis). Axis 1 Axis 2 Axis 3 Axis (reference...
  • Page 461: 4-Axis Speed Control

    9 MAJOR POSITIONING CONTROL MELSEC-Q 9.2.15 4-axis speed control In "4-axis speed control" (" Da.2 Control system" = Forward run: speed 4, Reverse run: speed 4), control is carried out in the 4-axis direction in which the positioning data Da.8 has been set by continuously outputting pulses for the speed set in "...
  • Page 462 9 MAJOR POSITIONING CONTROL MELSEC-Q Operation chart The following chart shows the operation timing for 4-axis speed control with axis 1 as the reference axis. The "in speed control" flag ( Md.31 Status: b0) is turned ON during speed control. The "positioning complete signal"...
  • Page 463 9 MAJOR POSITIONING CONTROL MELSEC-Q Current feed value during 4-axis speed control The following table shows the " Md.20 Current feed value" during 4-axis speed Pr.21 control corresponding to the " Current feed value during speed control" settings. (Note that the reference axis setting values are used for parameters.) Pr.21 Current feed value during speed Md.20 Current feed value control"...
  • Page 464 9 MAJOR POSITIONING CONTROL MELSEC-Q (4) When either of four axes exceeds the speed limit, that axis is controlled with the speed limit value. The speeds of the other axes are limited at the ratios of Da.8 " Command speed". (Examples) Axis Axis 1...
  • Page 465 9 MAJOR POSITIONING CONTROL MELSEC-Q Positioning data setting examples The following table shows the setting examples when "4-axis speed control (forward run: speed 4)" is set in the positioning data No. 1 of axis 1 (reference axis). Axis 1 Axis 2 Axis 3 Axis 4 Axis...
  • Page 466: Speed-Position Switching Control (Inc Mode)

    9 MAJOR POSITIONING CONTROL MELSEC-Q 9.2.16 Speed-position switching control (INC mode) Da.2 In "speed-position switching control (INC mode)" (" Control system = Forward run: speed/position, Reverse run: speed/position), the pulses of the speed set in " Da.8 Command speed" are kept output on the axial direction set to the positioning data.
  • Page 467 9 MAJOR POSITIONING CONTROL MELSEC-Q Operation chart The following chart (Fig.9.13) shows the operation timing for speed-position switching control (INC mode). The "in speed control flag" ( Md.31 Status: b0) is turned ON during speed control of speed-position switching control (INC mode). Da.
  • Page 468 9 MAJOR POSITIONING CONTROL MELSEC-Q [Operation example] The following operation assumes that the speed-position switching signal is input at the position of the current feed value of 90.00000 [degree] during execution of " Control system" "Forward run: Da.2 Pr.1 speed/position" at " Unit setting"...
  • Page 469 9 MAJOR POSITIONING CONTROL MELSEC-Q Operation timing and processing time during speed-position switching control (INC mode) Positioning start signal [Y10,Y11,Y12,Y13] BUSY signal [XC,XD,XE,XF] M code ON signal [X4,X5,X6,X7](WITH mode) Cd.7 M code OFF request Start complete signal [X10,X11,X12,X13] Standing Md.26 Axis operation status In speed control In position control Standing by...
  • Page 470 9 MAJOR POSITIONING CONTROL MELSEC-Q Current feed value during speed-position switching control (INC mode) Md.20 The following table shows the " Current feed value" during speed-position switching control (INC mode) corresponding to the " Pr.21 Current feed value during speed control" settings. Pr.21 Current feed value during Md.20 Current feed value...
  • Page 471 9 MAJOR POSITIONING CONTROL MELSEC-Q Speed-position switching signal setting The following table shows the items that must be set to use the external command signals (CHG) as speed-position switching signals. Setting Buffer memory address Setting item Setting details value Axis 1 Axis 2 Axis 3 Axis 4...
  • Page 472 9 MAJOR POSITIONING CONTROL MELSEC-Q POINT • The machine recognizes the presence of a movement amount change request when the data is Cd.23 written to " Speed-position switching control movement amount change register" with the PLC program. • The new movement amount is validated after execution of the speed-position switching control (INC mode), before the input of the speed-position switching signal.
  • Page 473 9 MAJOR POSITIONING CONTROL MELSEC-Q Positioning data setting examples The following table shows setting examples when "speed-position switching control (INC mode) by forward run" is set in positioning data No. 1 of axis 1. Setting item Setting example Setting details Set "Positioning complete"...
  • Page 474: Speed-Position Switching Control (Abs Mode)

    9 MAJOR POSITIONING CONTROL MELSEC-Q 9.2.17 Speed-position switching control (ABS mode) In case of "speed-position switching control (ABS mode)" (" Control system = Da.2 Forward run: speed/position, Reverse run: speed/position), the pulses of the speed set in " Da.8 Command speed" are kept output in the axial direction set to the positioning data.
  • Page 475 9 MAJOR POSITIONING CONTROL MELSEC-Q Operation chart The following chart (Fig.9.16) shows the operation timing for speed-position switching control (ABS mode). The "in speed control flag" ( Md.31 Status: b0) is turned ON during speed control of speed-position switching control (ABS mode). Da.
  • Page 476 9 MAJOR POSITIONING CONTROL MELSEC-Q [Operation example] The following operation assumes that the speed-position switching signal is input at the position of the current feed value of 90.00000 [degree] during execution of " Da.2 Control system" "Forward run: Pr.1 speed/position" at " Unit setting"...
  • Page 477 9 MAJOR POSITIONING CONTROL MELSEC-Q Operation timing and processing time during speed-position switching control (ABS mode) Positioning start signal [Y10,Y11,Y12,Y13] BUSY signal [XC,XD,XE,XF] M code ON signal [X4,X5,X6,X7](WITH mode) Cd.7 M code OFF request Start complete signal [X10,X11,X12,X13] Standing In speed control Md.26 Axis operation status Standing by In position control...
  • Page 478 9 MAJOR POSITIONING CONTROL MELSEC-Q Current feed value during speed-position switching control (ABS mode) Md.20 The following table shows the " Current feed value" during speed-position switching control (ABS mode) corresponding to the " Pr.21 Current feed value during speed control" settings. "...
  • Page 479 9 MAJOR POSITIONING CONTROL MELSEC-Q Speed-position switching signal setting The following table shows the items that must be set to use the external command signals (CHG) as speed-position switching signals. Setting Buffer memory address Setting item Setting details value Axis 1 Axis 2 Axis 3 Axis 4...
  • Page 480 9 MAJOR POSITIONING CONTROL MELSEC-Q Restrictions (1) An axis error (error code: 516) will occur and the operation cannot start if "continuous positioning control" or "continuous path control" is set in " Da.1 Operation pattern". Da.2 (2) "Speed-position switching control" cannot be set in " Control system"...
  • Page 481 9 MAJOR POSITIONING CONTROL MELSEC-Q Speed-position switching signal 360 added 360 added positioning address positioning address positioning address Positioning data setting examples The following table shows setting examples when "speed-position switching control (ABS mode) by forward run" is set in positioning data No. 1 of axis 1. Setting item Setting example Setting details...
  • Page 482: Position-Speed Switching Control

    9 MAJOR POSITIONING CONTROL MELSEC-Q 9.2.18 Position-speed switching control In "position-speed switching control" (" Da.2 Control system" = Forward run: position/speed, Reverse run: position/speed), before the position-speed switching signal is input, position control is carried out for the movement amount set in Da.6 "...
  • Page 483 9 MAJOR POSITIONING CONTROL MELSEC-Q Operation chart The following chart shows the operation timing for position-speed switching control. The "in speed control" flag ( Md.31 Status: b0) is turned ON during speed control of position-speed switching control. Da. 8 Command speed Position Speed control control...
  • Page 484 9 MAJOR POSITIONING CONTROL MELSEC-Q Operation timing and processing time during position-speed switching control Positioning start signal [Y10,Y11,Y12,Y13] BUSY signal [XC,XD,XE,XF] M code ON signal [X4,X5,X6,X7](WITH mode) Cd. 7 M code OFF request Start complete signal [X10,X11,X12,X13] In position control Md.26 Axis operation status Standing by...
  • Page 485 9 MAJOR POSITIONING CONTROL MELSEC-Q Current feed value during position-speed switching control Md.20 The following table shows the " Current feed value" during position-speed switching control corresponding to the " Pr.21 Current feed value during speed control" settings. " Pr.21 Current feed value during Md.20 Current feed value speed control"...
  • Page 486 9 MAJOR POSITIONING CONTROL MELSEC-Q Position-speed switching signal setting The following table shows the items that must be set to use the external command signals (CHG) as position-speed switching signals. Setting Buffer memory address Setting item Setting details value Axis 1 Axis 2 Axis 3 Axis 4...
  • Page 487 9 MAJOR POSITIONING CONTROL MELSEC-Q POINTS • The machine recognizes the presence of a command speed change request when the data is Cd.25 written to " Position-speed switching control speed change register" with the PLC program. • The new command speed is validated after execution of the position-speed switching control before the input of the position-speed switching signal.
  • Page 488 9 MAJOR POSITIONING CONTROL MELSEC-Q Positioning data setting examples The following table shows setting examples when "position-speed switching control (forward run: position/speed)" is set in positioning data No. 1 of axis 1. Setting item Setting example Setting details Set "Positioning complete" assuming the next positioning data will not Positioning Da.1 Operation pattern be executed.
  • Page 489: Current Value Changing

    9 MAJOR POSITIONING CONTROL MELSEC-Q 9.2.19 Current value changing When the current value is changed to a new value, control is carried out in which the " Md.20 Current feed value" of the stopped axis is changed to a random address set by the user.
  • Page 490 9 MAJOR POSITIONING CONTROL MELSEC-Q (4) If the value set in " Da.6 Positioning address/movement amount" is outside the software stroke limit ( Pr.12 Pr.13 ) setting range, an error "Software stroke limit +, - (error code: 507 or 508)" will occur at the positioning start, and the operation will not start.
  • Page 491 9 MAJOR POSITIONING CONTROL MELSEC-Q [2] Changing to a new current value using the start No. (No. 9003) for a current value changing Operation chart The current value is changed by setting the new current value in the current value changing buffer memory "...
  • Page 492 9 MAJOR POSITIONING CONTROL MELSEC-Q Setting method for the current value changing function The following shows an example of a PLC program and data setting to change the current value to a new value with the positioning start signal. (The " Md.20 Current feed value is changed to "5000.0 µ...
  • Page 493 9 MAJOR POSITIONING CONTROL MELSEC-Q (3) Add the following PLC program to the control program, and write it to the PLC CPU. Example Current value changing Store new current feed value in D106 and D107 ...
  • Page 494: Nop Instruction

    9 MAJOR POSITIONING CONTROL MELSEC-Q 9.2.20 NOP instruction The NOP instruction is used for the nonexecutable control system. Operation The positioning data No. to which the NOP instruction is set transfers, without any processing, to the operation for the next positioning data No. Positioning data setting examples The following table shows the setting examples when "NOP instruction"...
  • Page 495: Jump Instruction

    9 MAJOR POSITIONING CONTROL MELSEC-Q 9.2.21 JUMP instruction The JUMP instruction is used to control the operation so it jumps to a positioning data No. set in the positioning data during "continuous positioning control" or "continuous path control". JUMP instruction include the following two types of JUMP. (1) Unconditional JUMP When no execution conditions are set for the JUMP instruction (When "0"...
  • Page 496 9 MAJOR POSITIONING CONTROL MELSEC-Q (2) The operation pattern, if set, is ignored in the JUMP instruction. (3) Use unconditional JUMP instructions when setting JUMP instructions at the end of continuous path control/continuous positioning control. When conditional JUMP instructions are set at the end of continuous path control/continuous positioning control, the positioning data of the next positioning data No.
  • Page 497: Loop

    9 MAJOR POSITIONING CONTROL MELSEC-Q 9.2.22 LOOP The LOOP is used for loop control by the repetition of LOOP to LEND. Operation The LOOP to LEND loop is repeated by set repeat cycles. Positioning data setting examples The following table shows the setting examples when "LOOP" is set in positioning data No.
  • Page 498: Lend

    9 MAJOR POSITIONING CONTROL MELSEC-Q 9.2.23 LEND The LEND is used to return the operation to the top of the repeat (LOOP to LEND) loop. Operation When the repeat cycle designated by the LOOP becomes 0, the loop is terminated, and the next positioning data No. processing is started. (The operation pattern, if set to "Positioning complete", will be ignored.) When the operation is stopped after the repeat operation is executed by designated cycles, the dummy positioning data (for example, incremental...
  • Page 499 9 MAJOR POSITIONING CONTROL MELSEC-Q MEMO 9 - 116...
  • Page 500 Chapter 10 High-Level Positioning Control The details and usage of high-level positioning control (control functions using the "block start data") are explained in this chapter. High-level positioning control is used to carry out applied control using the "positioning data". Examples of applied control are using conditional judgment to control "positioning data"...
  • Page 501: Outline Of High-Level Positioning Control

    10 HIGH-LEVEL POSITIONING CONTROL MELSEC-Q 10.1 Outline of high-level positioning control In "high-level positioning control" the execution order and execution conditions of the "positioning data" are set to carry out more applied positioning. (The execution order and execution conditions are set in the "block start data" and "condition data".) The following applied positioning controls can be carried out with "high-level positioning control".
  • Page 502: Data Required For High-Level Positioning Control

    10 HIGH-LEVEL POSITIONING CONTROL MELSEC-Q 10.1.1 Data required for high-level positioning control "High-level positioning control" is executed by setting the required items in the "block start data" and "condition data", then starting that "block start data". Judgment about whether execution is possible, etc., is carried out at execution using the "condition data"...
  • Page 503: Block Start Data" And "Condition Data" Configuration

    10 HIGH-LEVEL POSITIONING CONTROL MELSEC-Q 10.1.2 "Block start data" and "condition data" configuration The "block start data" and "condition data" corresponding to "block No. 7000" can be stored in the buffer memory. (The following drawing shows an example for axis 1.) 50th point Buffer memory Setting item...
  • Page 504 10 HIGH-LEVEL POSITIONING CONTROL MELSEC-Q Set in QD75MH the " block start data" and "condition data" corresponding to the following "block Nos. 7001 to 7004" using GX Configurator-QP or the PLC program. (The following drawing shows an example for axis 1.) th point th point Buffer memory...
  • Page 505: High-Level Positioning Control Execution Procedure

    10 HIGH-LEVEL POSITIONING CONTROL MELSEC-Q 10.2 High-level positioning control execution procedure High-level positioning control is carried out using the following procedure. "High-level positioning control" executes each control Preparation STEP 1 ("major positioning control") set in the positioning data Carry out the "major positioning control" setting. Refer to Chapter 9 with the designated conditions,so first carry out preparations so that "major positioning control"...
  • Page 506: Setting The Block Start Data

    10 HIGH-LEVEL POSITIONING CONTROL MELSEC-Q 10.3 Setting the block start data 10.3.1 Relation between various controls and block start data The " block start data" must be set to carry out "high-level positioning control". The setting requirements and details of each " block start data" item to be set differ according to the "...
  • Page 507: Block Start (Normal Start)

    10 HIGH-LEVEL POSITIONING CONTROL MELSEC-Q 10.3.2 Block start (normal start) In a "block start (normal start)", the positioning data groups of a block are continuously executed in a set PLC starting from the positioning data set in " Start data No." Da.12 by one start.
  • Page 508 10 HIGH-LEVEL POSITIONING CONTROL MELSEC-Q [2] Control examples The following shows the control executed when the "block start data" of the 1st point of axis 1 is set as shown in section [1] and started. <1> The positioning data is executed in the following order before stopping. Axis 1 positioning data No.
  • Page 509: Condition Start

    10 HIGH-LEVEL POSITIONING CONTROL MELSEC-Q 10.3.3 Condition start In a "condition start", the "condition data" conditional judgment designated in " Da.14 Parameter" is carried out for the positioning data set in " Start data No.". If the Da.12 conditions have been established, the " block start data" set in "1: condition start" is executed.
  • Page 510: Wait Start

    10 HIGH-LEVEL POSITIONING CONTROL MELSEC-Q 10.3.4 Wait start In a "wait start", the "condition data" conditional judgment designated in " Da.14 Parameter" is carried out for the positioning data set in " Start data No.". If the Da.12 conditions have been established, the " block start data" is executed. If the conditions have not been established, the control stops (waits) until the conditions are established.
  • Page 511: Simultaneous Start

    10 HIGH-LEVEL POSITIONING CONTROL MELSEC-Q 10.3.5 Simultaneous start In a "simultaneous start", the positioning data set in the " Da.12 Start data No." and positioning data of other axes set in the "condition data" are simultaneously executed (pulses are output with the same timing). (The "condition data"...
  • Page 512: Repeated Start (For Loop)

    10 HIGH-LEVEL POSITIONING CONTROL MELSEC-Q 10.3.6 Repeated start (FOR loop) In a "repeated start (FOR loop)", the data between the " block start data" in which "4: FOR loop" is set in " Special start instruction" and the "block start data" in which Da.13 "6: NEXT start"...
  • Page 513: Repeated Start (For Condition)

    10 HIGH-LEVEL POSITIONING CONTROL MELSEC-Q 10.3.7 Repeated start (FOR condition) In a "repeated start (FOR condition)", the data between the " block start data" in which "5: FOR condition" is set in " Da.13 Special start instruction" and the " block start data" in which "6: NEXT start"...
  • Page 514: Restrictions When Using The Next Start

    10 HIGH-LEVEL POSITIONING CONTROL MELSEC-Q 10.3.8 Restrictions when using the NEXT start The "NEXT start" is a instruction indicating the end of the repetitions when executing Section 10.3.6 "Repeated start (FOR loop)" and Section 10.3.7 "Repeated start (FOR condition)". The following shows the restrictions when setting "6: NEXT start" in the " block start data".
  • Page 515: Setting The Condition Data

    10 HIGH-LEVEL POSITIONING CONTROL MELSEC-Q 10.4 Setting the condition data 10.4.1 Relation between various controls and the condition data "Condition data" is set in the following cases. (1) When setting conditions during execution of Section 9.2.21 "JUMP instruction" (major positioning control) (2) When setting conditions during execution of "high-level positioning control"...
  • Page 516 10 HIGH-LEVEL POSITIONING CONTROL MELSEC-Q The setting requirements and details of the following "condition data" " Da.16 " to " Da.19 " setting items differ according to the " Da.15 Condition target" setting. The following shows the " Da.16 " to " Da.19 "...
  • Page 517 10 HIGH-LEVEL POSITIONING CONTROL MELSEC-Q REMARK The "PLC CPU memo area" can be designated as the buffer memory address to be designated in Da.17 . (Refer to Section 7.1.1 "Configuration and roles of QD75MH memory".) QD75MH buffer memory Address 30000 30001 30099 10 - 18...
  • Page 518: Condition Data Setting Examples

    10 HIGH-LEVEL POSITIONING CONTROL MELSEC-Q 10.4.2 Condition data setting examples The following shows setting examples for "condition data". (1) Setting the device ON/OFF as a condition [Condition] Device "X0" (=QD75 READY) is OFF Da.16 Da.15 Da.17 Da.18 Da.19 Condition Condition target Address Parameter 1 Parameter 2...
  • Page 519: Multiple Axes Simultaneous Start Control

    10 HIGH-LEVEL POSITIONING CONTROL MELSEC-Q 10.5 Multiple axes simultaneous start control The "multiple axes simultaneous start control" starts and controls the multiple axes simultaneously by outputting pulses to the axis to be started at the same timing as the start axis. The maximum of four axes can be started simultaneously.
  • Page 520 10 HIGH-LEVEL POSITIONING CONTROL MELSEC-Q [4] Multiple axes simultaneous start control function setting method The following shows the setting of the data used to execute the multiple axes simultaneous start control with positioning start signals (The axis control data on the start axis is set).
  • Page 521 10 HIGH-LEVEL POSITIONING CONTROL MELSEC-Q POINTS (1) The "multiple axes simultaneous start control" carries out an operation equivalent to the "simultaneous start" using the "block start data". (2) The setting of the "multiple axes simultaneous start control" is easier than that of the "simultaneous start"...
  • Page 522: Start Program For High-Level Positioning Control

    10 HIGH-LEVEL POSITIONING CONTROL MELSEC-Q 10.6 Start program for high-level positioning control 10.6.1 Starting high-level positioning control To execute high-level positioning control, a PLC program must be created to start the control in the same method as for major positioning control. The following shows the procedure for starting the "1st point block start data"...
  • Page 523: Example Of A Start Program For High-Level Positioning Control

    10 HIGH-LEVEL POSITIONING CONTROL MELSEC-Q 10.6.2 Example of a start program for high-level positioning control The following shows an example of a start program for high-level positioning control in which the 1st point " block start data" of axis 1 is started. (The block No. is regarded as "7000".) Control data that require setting The following control data must be set to execute high-level positioning control.
  • Page 524 10 HIGH-LEVEL POSITIONING CONTROL MELSEC-Q Start time chart The following chart shows a time chart in which the positioning data No. 1, 2, 10, 11, and 12 of axis 1 are continuously executed as an example. (1) Block start data setting example Da.13 Da.11 Da.12...
  • Page 525 10 HIGH-LEVEL POSITIONING CONTROL MELSEC-Q Creating the program Example Set the block start data beforehand. Positioning start command M104 M104 K1501 ...
  • Page 526 Chapter 11 Manual Control The details and usage of manual control are explained in this chapter. In manual control, pulse output commands are issued during a JOG operation and an inching operation executed by the turning ON of the JOG START signal, or from a manual pulse generator connected to the QD75MH.
  • Page 527: Outline Of Manual Control

    11 MANUAL CONTROL MELSEC-Q 11.1 Outline of manual control 11.1.1 Three manual control methods "Manual control" refers to control in which positioning data is not used, and a positioning operation is carried out in response to signal input from an external device. The three types of this "manual control"...
  • Page 528 11 MANUAL CONTROL MELSEC-Q [3] Manual pulse generator operation "Manual pulse generator operation" is a control method in which positioning is carried out in response to the No. of pulses input from a manual pulse generator (the No. of input pulses is output). This operation is used for manual fine adjustment, etc., when carrying out accurate positioning to obtain the positioning address.
  • Page 529: Jog Operation

    11 MANUAL CONTROL MELSEC-Q 11.2 JOG operation 11.2.1 Outline of JOG operation Important Use the hardware stroke limit function when carrying out JOG operation near the upper or lower limits. (Refer to Section "12.4.4"). * If the hardware stroke limit function is not used, the workpiece may exceed the moving range, causing an accident.
  • Page 530 11 MANUAL CONTROL MELSEC-Q Precautions during operation The following details must be understood before carrying out JOG operation. (1) For safety, first set " Cd.17 JOG speed" to a smaller value and check the movement. Then gradually increase the value. (2) An axis error will occur and the operation will not start (error code: 300) if the "JOG speed"...
  • Page 531 11 MANUAL CONTROL MELSEC-Q JOG operation timing and processing time The following drawing shows details of the JOG operation timing and processing time. Forward run JOG start signal [Y8, YA, YC, YE] Reverse run JOG start signal [Y9, YB, YD, YF] BUSY signal [XC, XD, XE, XF] Standing Md.
  • Page 532: Jog Operation Execution Procedure

    11 MANUAL CONTROL MELSEC-Q 11.2.2 JOG operation execution procedure The JOG operation is carried out by the following procedure. Preparation One of the following two methods can be used. STEP 1 Set the positioning parameters Pr.1 Pr.39 Refer to Chapter 5 Directly set (write) the parameters in the QD75MH using GX and Section 11.2.3.
  • Page 533: Setting The Required Parameters For Jog Operation

    11 MANUAL CONTROL MELSEC-Q 11.2.3 Setting the required parameters for JOG operation The "Positioning parameters" must be set to carry out JOG operation. The following table shows the setting items of the required parameters for carrying out JOG operation. When only JOG operation will be carried out, no parameters other than those shown below need to be set.
  • Page 534 11 MANUAL CONTROL MELSEC-Q Factory-set initial value Setting item Setting requirement (setting details) Pr.25 Acceleration time 1 (Unit: ms) 1000 Pr.26 Acceleration time 2 (Unit: ms) 1000 Pr.27 Acceleration time 3 (Unit: ms) 1000 Pr.28 Deceleration time 1 (Unit: ms) 1000 Pr.29 Deceleration time 2 (Unit: ms)
  • Page 535: Creating Start Programs For Jog Operation

    11 MANUAL CONTROL MELSEC-Q 11.2.4 Creating start programs for JOG operation A PLC program must be created to execute a JOG operation. Consider the "required control data setting", "start conditions" and "start time chart" when creating the program. The following shows an example when a JOG operation is started for axis 1. ("...
  • Page 536 11 MANUAL CONTROL MELSEC-Q Start time chart Forward JOG run Reverse JOG run [Y8] Forward run JOG start signal [Y9] Reverse run JOG start signal [Y0] PLC READY signal [Y1] All axis servo ON [X0] QD75 READY signal [XC] BUSY signal [X8] Error detection signal Fig.
  • Page 537 11 MANUAL CONTROL MELSEC-Q Creating the program — á Example No. 10 JOG operation setting program No.12 JOG operation/inching operation execution program ...
  • Page 538: Jog Operation Example

    11 MANUAL CONTROL MELSEC-Q 11.2.5 JOG operation example When the "stop signal" is turned ON during JOG operation When the "stop signal" is turned ON during JOG operation, the JOG operation will stop by the "deceleration stop" method. JOG start signals will be ignored while the stop signal is ON. The operation can be started by turning the stop signal OFF, and turning the JOG start signal from OFF to ON again.
  • Page 539 11 MANUAL CONTROL MELSEC-Q When both the "forward run JOG start signal" and "reverse run JOG start signal" are turned ON simultaneously for one axis When both the "forward run JOG start signal" and "reverse run JOG start signal" are turned ON simultaneously for one axis, the "forward run JOG start signal" is given priority.
  • Page 540 11 MANUAL CONTROL MELSEC-Q When the "JOG start signal" is turned ON again during deceleration caused by the ON OFF of the "JOG start signal" When the "JOG start signal" is turned ON again during deceleration caused by the OFF of the "JOG start signal", the JOG operation will be carried out from the time the "JOG start signal"...
  • Page 541 11 MANUAL CONTROL MELSEC-Q When the "JOG start signal" is turned ON immediately after the stop signal OFF (within 100ms) When the "JOG start signal" is turned ON immediately after the stop signal OFF (within 100ms), it will be ignored and the JOG operation will not be carried out. Forward run JOG operation Forward run JOG start signal [Y8, YA, YC, YE]...
  • Page 542: Inching Operation

    11 MANUAL CONTROL MELSEC-Q 11.3 Inching operation 11.3.1 Outline of inching operation Important When the inching operation is carried out near the upper or lower limit, use the hardware stroke limit function (Refer to Section 12.4.4). If the hardware stroke limit function is not used, the workpiece may exceed the movement range, and an accident may result.
  • Page 543 11 MANUAL CONTROL MELSEC-Q Precautions during operation The following details must be understood before inching operation is carried out. (1) Acceleration/deceleration processing is not carried out during inching operation. (Pulses corresponding to the designated inching movement amount are output at the first control cycle of the QD75MH (1.7ms). The movement direction of inching operation is reversed and, when a backlash compensation is carried out, first pulses corresponding to the backlash amount are output in the first control cycle of the QD75MH and then pulses corresponding to the designated...
  • Page 544 11 MANUAL CONTROL MELSEC-Q Inching operation timing and processing times The following drawing shows the details of the inching operation timing and processing time. Forward run JOG start signal [Y8,YA,YC,YE] Reverse run JOG start signal [Y9,YB,YD,YF] BUSY signal [XC,XD,XE,XF] Inching operation Standing by Md.26 Standing by...
  • Page 545: Inching Operation Execution Procedure

    11 MANUAL CONTROL MELSEC-Q 11.3.2 Inching operation execution procedure The inching operation is carried out by the following procedure. Preparation One of the following two methods can be used. STEP 1 Set the positioning parameters. Pr.1 Pr.31 Refer to Chapter 5 Directly set (write) the parameters in the QD75MH using GX and Section 11.3.3.
  • Page 546: Setting The Required Parameters For Inching Operation

    11 MANUAL CONTROL MELSEC-Q 11.3.3 Setting the required parameters for inching operation The "Positioning parameters" must be set to carry out inching operation. The following table shows the setting items of the required parameters for carrying out inching operation. When only inching operation will be carried out, no parameters other than those shown below need to be set.
  • Page 547: Creating A Program To Enable/Disable The Inching Operation

    11 MANUAL CONTROL MELSEC-Q 11.3.4 Creating a program to enable/disable the inching operation A PLC program must be created to execute an inching operation. Consider the "required control data setting", "start conditions", and "start time chart" when creating the program. The following shows an example when an inching operation is started for axis 1.
  • Page 548 11 MANUAL CONTROL MELSEC-Q Start time chart Forward run inching operation Reverse run inching operation Forward run JOG start signal [Y8] Reverse run JOG start signal [Y9] PLC READY signal [Y0] All axis servo ON [Y1] QD75 READY signal [X0] BUSY signal [XC] Error detection signal [X8] Positioning complete signal [X14]...
  • Page 549 11 MANUAL CONTROL MELSEC-Q Creating the program — á Example No.11 Inching operation setting program No.12 JOG operation/inching operation execution program ...
  • Page 550: Inching Operation Example

    11 MANUAL CONTROL MELSEC-Q 11.3.5 Inching operation example When "stop signal" is turned ON during inching operation: If "stop signal" is turned ON during inching operation, the inching operation will be stopped. While the stop signal is turned ON, the JOG start signal is ignored. The inching operation can be re-started when the stop signal is turned OFF and then re-turned ON.
  • Page 551 11 MANUAL CONTROL MELSEC-Q When "JOG start signal" is turned ON when peripheral devices are in the test mode: If "JOG star signal" is turned ON when peripheral devices are in the test mode, the "JOG start signal" will be ignored and inching operation will not be carried out. Inching operation not Forward run inching possible because JOG...
  • Page 552: Manual Pulse Generator Operation

    11 MANUAL CONTROL MELSEC-Q 11.4 Manual pulse generator operation 11.4.1 Outline of manual pulse generator operation Important Create the PLC program so that " Cd.21 Manual pulse generator enable flag" is always set to "0" (disabled) when a manual pulse generator operation is not carried out.
  • Page 553 11 MANUAL CONTROL MELSEC-Q Restricted items A manual pulse generator is required to carry out manual pulse generator operation. Precautions during operation The following details must be understood before carrying out manual pulse generator operation. (1) The speed during manual pulse generator operation is not limited by the "...
  • Page 554 11 MANUAL CONTROL MELSEC-Q REMARK • One QD75MH module can be connected to one manual pulse generator. • The QD75MH module can simultaneously command to the axis 1 to axis 4 servo amplifier by one manual pulse generator. (axis 1 to axis 4 simultaneous operation is possible.) Errors during operation When the operation is stopped by the stroke limit (limit signal OFF), manual pulse generator operation can be performed in the direction in which the limit signal turns...
  • Page 555 11 MANUAL CONTROL MELSEC-Q Position control by manual pulse generator operation In manual pulse generator operation, the position is moved by a "manual pulse generator 1 pulse movement amount" per pulse. The current feed value in the positioning control by manual pulse generator operation can be calculated using the expression shown below.
  • Page 556: Manual Pulse Generator Operation Execution Procedure

    11 MANUAL CONTROL MELSEC-Q 11.4.2 Manual pulse generator operation execution procedure The manual pulse generator operation is carried out by the following procedure. One of the following two methods can be used. Preparation STEP 1 Set the positioning parameters Pr.1 Pr.24 Refer to Chapter 5...
  • Page 557: Setting The Required Parameters For Manual Pulse Generator Operation

    11 MANUAL CONTROL MELSEC-Q 11.4.3 Setting the required parameters for manual pulse generator operation The "Positioning parameters" must be set to carry out manual pulse generator operation. The following table shows the setting items of the required parameters for carrying out manual pulse generator operation.
  • Page 558: Creating A Program To Enable/Disable The Manual Pulse Generator Operation

    11 MANUAL CONTROL MELSEC-Q 11.4.4 Creating a program to enable/disable the manual pulse generator operation A PLC program must be created to execute a manual pulse generator operation. Consider the "required control data setting", "start conditions" and "start time chart" when creating the program.
  • Page 559 11 MANUAL CONTROL MELSEC-Q Start time chart Forward run Reverse run Pulse input A phase Pulse input B phase [Y0] PLC READY signal [Y1] All axis servo ON [X0] QD75 READY signal [X10] Start complete signal [XC] BUSY signal Error detection signal [X8] Cd.
  • Page 560 11 MANUAL CONTROL MELSEC-Q Creating the program — á Example No.13 Manual pulse generator operation program ...
  • Page 561 11 MANUAL CONTROL MELSEC-Q MEMO 11 - 36...
  • Page 562 Chapter 12 Control Sub Functions The details and usage of the "sub functions" added and used in combination with the main functions are explained in this chapter. A variety of sub functions are available, including functions specifically for machine OPR and generally related functions such as control compensation, etc. More appropriate, finer control can be carried out by using these sub functions.
  • Page 563: Outline Of Sub Functions

    12 CONTROL SUB FUNCTIONS MELSEC-Q 12.1 Outline of sub functions "Sub functions" are functions that compensate, limit, add functions, etc., to the control when the main functions are executed. These sub functions are executed by parameter settings, commands from GX Configurator-QP, sub function PLC programs, etc.
  • Page 564 12 CONTROL SUB FUNCTIONS MELSEC-Q Sub function Details This function holds the current value. This function sets the absolute position coordinate in relation to the OP in the Absolute position system function machine movement range, and prevent the OP from being lost even if the power supply is turned OFF to ON.
  • Page 565: Sub Functions Specifically For Machine Opr

    12 CONTROL SUB FUNCTIONS MELSEC-Q 12.2 Sub functions specifically for machine OPR The sub functions specifically for machine OPR include the "OPR retry function" and "OP shift function". Each function is executed by parameter setting. 12.2.1 OPR retry function When the workpiece goes past the OP without stopping during positioning control, it may not move back in the direction of the OP although a machine OPR is commanded, depending on the workpiece position.
  • Page 566 12 CONTROL SUB FUNCTIONS MELSEC-Q (2) OPR retry operation when the workpiece is outside the range between the upper and lower limits. 1) When the direction from the workpiece to the OP is the same as the " OPR direction", a Pr.44 normal machine OPR is carried out.
  • Page 567 12 CONTROL SUB FUNCTIONS MELSEC-Q (3) Setting the dwell time during an OPR retry The OPR retry function can perform such function as the dwell time using Pr.57 " Dwell time at OPR retry" when the reverse run operation is carried out due to detection by the limit signal for upper and lower limits and when the machine OPR is executed after the near point dog is turned OFF to stop the operation.
  • Page 568 12 CONTROL SUB FUNCTIONS MELSEC-Q [2] Precaution during control (1) The following table shows whether the OPR retry function may be executed Pr.43 by the " OPR method". Pr.43 OPR method Execution status of OPR retry function Near-point dog method : Execution possible Count method 1) : Execution possible...
  • Page 569: Op Shift Function

    12 CONTROL SUB FUNCTIONS MELSEC-Q 12.2.2 OP shift function When a machine OPR is carried out, the OP is normally established using the near- point dog, stopper, and zero signal. However, by using the OP shift function, the machine can be moved a designated movement amount from the position where the zero signal was detected.
  • Page 570 12 CONTROL SUB FUNCTIONS MELSEC-Q [2] Setting range for the OP shift amount Set the OP shift amount within the range from the detected zero signal to the upper/lower limit switches. Setting range of the negative OP Setting range of the positive OP shift amount shift amount Address decrease Address increase...
  • Page 571 12 CONTROL SUB FUNCTIONS MELSEC-Q (2) OP shift operation at the " Pr.47 Creep speed" (When " Pr.56 Speed designation during OP shift" is 1) Pr. 44 OPR direction Pr. 47 Creep When the " Pr. 53 OP speed shift amount" is positive Zero point Machine OPR start When the "...
  • Page 572: Functions For Compensating The Control

    12 CONTROL SUB FUNCTIONS MELSEC-Q 12.3 Functions for compensating the control The sub functions for compensating the control include the "backlash compensation function", "electronic gear function", and "near pass function". Each function is executed by parameter setting or PLC program creation and writing. 12.3.1 Backlash compensation function The "backlash compensation function"...
  • Page 573 12 CONTROL SUB FUNCTIONS MELSEC-Q [2] Precautions during control (1) The feed command of the backlash compensation amount are not added to Md.20 Md.21 the " Current feed value" or " Machine feed value". (2) Always carry out a machine OPR before starting the control when using the backlash compensation function (when "...
  • Page 574: Electronic Gear Function

    12 CONTROL SUB FUNCTIONS MELSEC-Q 12.3.2 Electronic gear function The "electronic gear function" adjusts the pulses calculated and output according to the parameters set in the QD75MH with the actual machine movement amount. The "electronic gear function" has the following three functions ( [A] to [C] ). [A] During machine movement, the function increments in the QD75MH values less than one pulse that could not be pulse output, and outputs the incremented amount of pulses when the total incremented value reached one...
  • Page 575 12 CONTROL SUB FUNCTIONS MELSEC-Q [1] Basic concept of the electronic gear The electronic gear is an item which determines how many rotations (rotations by how many pulses) the motor must make in order to move the machine according to the programmed movement amount. QD75MH Machine Reduction retio...
  • Page 576 12 CONTROL SUB FUNCTIONS MELSEC-Q (1) For "Ball screw" + "Reduction gear" When the ball screw pitch is 10mm, the motor is the HF-KP (262144 PLS/rev) and the reduction ratio of the reduction gear is 9/44. Machine Reduction ratio 9/44 First, find how many millimeters the load (machine) will travel ( ) when the motor turns one revolution (AP).
  • Page 577 12 CONTROL SUB FUNCTIONS MELSEC-Q (2) When "PLS (pulse)" is set as the control unit When using PLS (pulse) as the control unit, set the electronic gear as follows. AP = "No. of pulses per rotation" AL = "Movement amount per rotation" AM = 1 Example) When the motor is the HF-KP (262144PLS/rev) AP = 262144 ..
  • Page 578 12 CONTROL SUB FUNCTIONS MELSEC-Q Thus, AP, AL and AM to be set are as follows. AP = 180224 …… Pr.2 AP = 180224 … Pr.2 AL = 67.50000 … Pr.3 AL = 0.06750 … Pr.3 AM = 1 ………..… Pr.4 AM = 1000 …….
  • Page 579 12 CONTROL SUB FUNCTIONS MELSEC-Q AL has a significant number to first decimal place, round down numbers to two decimal places. Reduce a fraction in the above result. 24168089 41680896 (AP) AL × AM 2968805.0 (AL) × 1(AM) 2968805.0 Thus, AP, AL and AM to be set are as follows. AP = 41680896 …….
  • Page 580 12 CONTROL SUB FUNCTIONS MELSEC-Q [2] The method for compensating the error When the position control is carried out using the "Electronic gear" set in a parameter, this may produce an error between the command movement amount (L) and the actual movement amount (L'). With QD75MH, this error is compensated by adjusting the electronic gear.
  • Page 581: Near Pass Function

    12 CONTROL SUB FUNCTIONS MELSEC-Q 12.3.3 Near pass function When continuous pass control is carried out using interpolation control, the near pass function is carried out. The "near pass function" is a function to suppress the mechanical vibration occurring at the time of switching the positioning data when continuous pass control is carried out using interpolation control.
  • Page 582 12 CONTROL SUB FUNCTIONS MELSEC-Q Precautions during control (1) If the movement amount designated by the positioning data is small when the continuous path control is executed, the output speed may not reach the designated speed. (2) If continuous path control is carried out, the output will suddenly reverse when the reference axis movement direction changes from the positioning data No.
  • Page 583 12 CONTROL SUB FUNCTIONS MELSEC-Q (3) When continuous path control of a circular interpolation is being carried out in the near pass, an address in which the extra movement amount is subtracted from the positioning address of the positioning data currently being executed is replaced by the starting point address of the next positioning data No.
  • Page 584: Functions To Limit The Control

    12 CONTROL SUB FUNCTIONS MELSEC-Q 12.4 Functions to limit the control Functions to limit the control include the "speed limit function", "torque limit function", "software stroke limit function", "hardware stroke limit function", and "forced stop function". Each function is executed by parameter setting or PLC program creation and writing.
  • Page 585 12 CONTROL SUB FUNCTIONS MELSEC-Q [2] Precautions during control If any axis exceeds " Pr.8 Speed limit value" during 2- to 4-axis speed control, the axis in excess of the speed limit value is controlled at the speed limit value. The speeds of the other axes interpolated are suppressed depending on their command speed ratios.
  • Page 586: Torque Limit Function

    12 CONTROL SUB FUNCTIONS MELSEC-Q 12.4.2 Torque limit function The "torque limit function" limits the generated torque to a value within the "torque limit value" setting range when the torque generated in the servomotor exceeds the "torque limit value". The "torque limit function" protects the deceleration function, limits the power of the operation pressing against the stopper, etc.
  • Page 587 12 CONTROL SUB FUNCTIONS MELSEC-Q [2] Control details The following drawing shows the operation of the torque limit function. Each operations PLC READY signal (Y0) All axis servo ON (Y1) Start signal (Y10) Torque limit setting Pr.17 value (26) Torque output setting Cd.101 value (1552) New toruque value...
  • Page 588 12 CONTROL SUB FUNCTIONS MELSEC-Q [4] Setting the torque limit function (1) To use the "torque limit function", set the "torque limit value" in the parameters shown in the following table, and write them to the QD75MH. a) The set details are validated at the rising edge (OFF ON) of the PLC READY signal (Y0).
  • Page 589 12 CONTROL SUB FUNCTIONS MELSEC-Q The following table shows the " Md.35 Torque limit stored value" of the buffer memory address. Buffer memory address Monitor Monitor item Storage details Axis Axis Axis Axis value The "torque limit value" valid at that time is Torque limit stored 826 926 1026 1126 Md.35...
  • Page 590: Software Stroke Limit Function

    12 CONTROL SUB FUNCTIONS MELSEC-Q 12.4.3 Software stroke limit function In the "software stroke limit function" the address established by a machine OPR is used to set the upper and lower limits of the moveable range of the workpiece. Movement commands issued to addresses outside that setting range will not be executed.
  • Page 591 12 CONTROL SUB FUNCTIONS MELSEC-Q The following drawing shows the differences in the operation when " Md.20 Current feed value" and " Md.21 Machine feed value" are used in the moveable range limit check. [Conditions] Assume the current stop position is 2000, and the upper stroke limit is set to 5000. Moveable range Md.
  • Page 592 12 CONTROL SUB FUNCTIONS MELSEC-Q [2] Software stroke limit check details Processing when Check details an error occurs An error shall occur if the current value 1 is outside the software stroke limit range (Check " Md.20 Current feed value" or " Md.21 Machine feed value".) An "axis error"...
  • Page 593 12 CONTROL SUB FUNCTIONS MELSEC-Q [4] Precautions during software stroke limit check (1) A machine OPR must be executed beforehand for the "software stroke limit function" to function properly. (2) During interpolation control, a stroke limit check is carried out for the every current value of both the reference axis and the interpolation axis.
  • Page 594 12 CONTROL SUB FUNCTIONS MELSEC-Q (5) During simultaneous start, a stroke limit check is carried out for the current values of every axis to be started. Every axis will not start if an error occurs, even if it only occurs in one axis. [5] Setting the software stroke limit function To use the "software stroke limit function", set the required values in the parameters shown in the following table, and write them to the QD75MH.
  • Page 595 12 CONTROL SUB FUNCTIONS MELSEC-Q [7] Setting when the control unit is "degree" Current value address The " Current feed value" address is a ring address between 0 and Md.20 359.99999 ° . 359.99999° 359.99999° 0° 0° 0° Fig. 12.16 Current value address when the control unit is "degree". Setting the software stroke limit The upper limit value/lower limit value of the software stroke limit is a value between 0 and 359.99999 °...
  • Page 596: Hardware Stroke Limit Function

    12 CONTROL SUB FUNCTIONS MELSEC-Q 12.4.4 Hardware stroke limit function DANGER When the hardware stroke limit is required to be wired, ensure to wire it in the negative logic using b-contact. If it is set in positive logic using a-contact, a serious accident may occur. In the "hardware stroke limit function", limit switches are set at the upper/lower limit of the physical moveable range, and the control is stopped (by deceleration stop) by the input of a signal from the limit switch.
  • Page 597 12 CONTROL SUB FUNCTIONS MELSEC-Q (1) For an external input signal of QD75MH Lower limit Upper limit QD75MH control moveable range Mechanical stopper Mechanical stopper Movement Movement Start Start direction direction Deceleration stop at Deceleration stop at lower limit switch detection upper limit switch detection Servo amplifier QD75MH...
  • Page 598 12 CONTROL SUB FUNCTIONS MELSEC-Q [2] Wiring the hardware stroke limit When using the hardware stroke limit function, wire the terminals of the QD75MH or servo amplifier (MR-J3-B) upper/lower limit stroke limit as shown in the following drawing. Pr.22 (When " Input signal logic selection"...
  • Page 599 12 CONTROL SUB FUNCTIONS MELSEC-Q [4] When the hardware stroke limit function is not used When not using the hardware stroke limit function, wire the terminals of the QD75MH upper/lower limit stroke limit as shown in the following drawing. When the logic of FLS and RLS is set to "positive logic" using " Pr.22 Input signal logic selection", positioning control can be carried out even if FLS and RLS...
  • Page 600: Forced Stop Function

    12 CONTROL SUB FUNCTIONS MELSEC-Q 12.4.5 Forced stop function DANGER When the forced stop is required to be wired, ensure to wire it in the negative logic using b-contact. Provided safety circuit outside the QD75MH so that the entire system will operate safety even when the "...
  • Page 601 12 CONTROL SUB FUNCTIONS MELSEC-Q The following drawing shows the operation of the forced stop function. Forced stop Forced stop causes occurrence causes occurrence Each operation PLC READY signal(Y0) All axis servo ON(Y1) Start signal(Y10) Forced stop input (Input voltage of EMI) Md.50 Forced stiop input Servo status...
  • Page 602 12 CONTROL SUB FUNCTIONS MELSEC-Q [3] Setting the forced stop To use the "Forced stop function", set the following data using a PLC program. The set details are validated at the rising edge (OFF ON) of the PLC READY signal (Y0). Setting Setting item Setting details...
  • Page 603: Functions To Change The Control Details

    12 CONTROL SUB FUNCTIONS MELSEC-Q 12.5 Functions to change the control details Functions to change the control details include the "speed change function", "override function", "acceleration/deceleration time change function" and "torque change function". Each function is executed by parameter setting or PLC program creation and writing.
  • Page 604 12 CONTROL SUB FUNCTIONS MELSEC-Q [1] Control details The following drawing shows the operation during a speed change. Speed changes to V2. Speed changes to V3. Operation during positioning by V1. Md. 40 In speed change processing flag Fig. 12.23 Speed change operation [2] Precautions during control (1) Control is carried out as follows at the speed change during continuous path control.
  • Page 605 12 CONTROL SUB FUNCTIONS MELSEC-Q (3) When the stop command was given to make a stop after a speed change that had been made during position control, the restarting speed depends on Cd.14 the " New speed value". Da. 8 Command speed Speed change Cd.
  • Page 606 12 CONTROL SUB FUNCTIONS MELSEC-Q (5) A warning "Deceleration/stop speed change (warning code: 500)" occurs and the speed cannot be changed in the following cases. • During deceleration by a stop command • During automatic deceleration during positioning control (6) A warning "Speed limit value over (warning code: 501)" occurs and the Pr.8 speed is controlled at the "...
  • Page 607 12 CONTROL SUB FUNCTIONS MELSEC-Q (2) The following shows the speed change time chart. Dwell time Positioning start signal [Y10] [Y0] PLC READY signal [Y1] All axis servo ON QD75 READY signal [X0] [X10] Start complete signal [XC] BUSY signal Positioning complete signal [X14] Error detection signal...
  • Page 608 12 CONTROL SUB FUNCTIONS MELSEC-Q [4] Setting the speed change function using an external command signal The speed can also be changed using an "external command signal". The following shows the data settings and PLC program example for changing the control speed of axis 1 using an "external command signal". (In this example, the control speed is changed to "10000.00mm/min".) (1) Set the following data to change the speed using an external command signal.
  • Page 609 12 CONTROL SUB FUNCTIONS MELSEC-Q (3) Add the following PLC program to the control program, and write it to the PLC CPU. Example Write 1000000 to D108 and D109. External command [Speed change processing] valid signal DTOP K1514 D108
  • Page 610: Override Function

    12 CONTROL SUB FUNCTIONS MELSEC-Q 12.5.2 Override function The override function changes the command speed by a designated percentage (1 to 300%) for all control to be executed. The speed can be changed by setting the percentage (%) by which the speed is changed in "...
  • Page 611 12 CONTROL SUB FUNCTIONS MELSEC-Q [2] Precaution during control (1) When changing the speed during continuous path control, the speed change will be ignored if there is not enough distance remaining to carry out the change. (2) A warning "Deceleration/stop speed change (warning code: 500)" occurs and the speed cannot be changed in the following cases.
  • Page 612 12 CONTROL SUB FUNCTIONS MELSEC-Q (2) The following shows a time chart for changing the speed using the override function. Dwell time Positioning start signal [Y10] PLC READY signal [Y0] All axis servo ON [Y1] QD75 READY signal [X0] [X10] Start complete signal [XC] BUSY signal...
  • Page 613: Acceleration/Deceleration Time Change Function

    12 CONTROL SUB FUNCTIONS MELSEC-Q 12.5.3 Acceleration/deceleration time change function The "acceleration/deceleration time change function" is used to change the acceleration/deceleration time during a speed change to a random value when carrying out the speed change indicated in Section 12.5.1 "Speed change function". In a normal speed change (when the acceleration/deceleration time is not changed), the acceleration/deceleration time previously set in the parameters ( Pr.9...
  • Page 614 12 CONTROL SUB FUNCTIONS MELSEC-Q [2] Precautions during control Cd.10 Cd.11 (1) When "0" is set in " New acceleration time value" and " deceleration time value", the acceleration/deceleration time will not be changed even if the speed is changed. In this case, the operation will be controlled at the acceleration/deceleration time previously set in the parameters.
  • Page 615 12 CONTROL SUB FUNCTIONS MELSEC-Q (4) If the "new acceleration/deceleration time" is set to "0" and the speed is changed after the "new acceleration/deceleration time" is validated, the operation will be controlled with the previous "new acceleration/deceleration time". Example New acceleration/deceleration time ( Cd.
  • Page 616 12 CONTROL SUB FUNCTIONS MELSEC-Q [3] Setting the acceleration/deceleration time change function To use the "acceleration/deceleration time change function", write the data shown in the following table to the QD75MH using the PLC program. The set details are validated when a speed change is executed after the details are written to the QD75MH.
  • Page 617: Torque Change Function

    12 CONTROL SUB FUNCTIONS MELSEC-Q 12.5.4 Torque change function The "torque change function" is used to change the torque limit value during torque limiting. The torque limit value during torque limiting is normally the value set in the " Pr.17 Torque limit setting value"...
  • Page 618 12 CONTROL SUB FUNCTIONS MELSEC-Q [1] Control details The torque value of the axis control data can be changed at all times. The torque can be limited with a new torque value from the time the new torque value has been written to the QD75MH.
  • Page 619 12 CONTROL SUB FUNCTIONS MELSEC-Q [2] Precautions during control (1) If a value besides "0" is set in the " Cd.22 New torque value", the torque generated by the servomotor will be limited by that value. To limit the torque with the value set in "...
  • Page 620: Absolute Position System

    12 CONTROL SUB FUNCTIONS MELSEC-Q 12.6 Absolute position system The QD75MH can construct an absolute position system by installing the absolute position system and connecting it through SSCNET The following describes precautions when constructing the absolute position system. Battery Servomotor QD75MH Servo amplifier Position command...
  • Page 621 12 CONTROL SUB FUNCTIONS MELSEC-Q [2] OPR The absolute position system can establish the location of the OPR, using "Data set method", "Near-point dog" and "Count method" OPR method. In the "Data set method" OPR method, the location to which the location of the OPR position is moved by manual operation (JOG operation/manual pulse generator operation) is treated as the OPR position.
  • Page 622: Other Functions

    12 CONTROL SUB FUNCTIONS MELSEC-Q 12.7 Other functions Other functions include the "step function", "skip function", "M code output function", "teaching function", "target position change function", "command in-position function", "acceleration/deceleration processing function", "pre-reading start function", " deceleration start flag function" and "stop command processing for deceleration stop function"...
  • Page 623 12 CONTROL SUB FUNCTIONS MELSEC-Q [2] Step mode In step operations, the timing for stopping the control can be set. This is called Cd.34 the "step mode". (The "step mode" is set in the control data " Step mode".) The following shows the two types of "step mode" functions. (1) Deceleration unit step The operation stops at positioning data requiring automatic deceleration.
  • Page 624 12 CONTROL SUB FUNCTIONS MELSEC-Q [4] Using the step operation The following shows the procedure for checking positioning data using the step operation. (1) Turn ON the step valid flag before starting the positioning data. (Write "1" (carry out step operation) in " Cd.35 Step valid flag".) (2) Set the step mode before starting the positioning data.
  • Page 625 12 CONTROL SUB FUNCTIONS MELSEC-Q [5] Control details (1) The following drawing shows a step operation during a "deceleration unit step". Cd. 35 Step valid flag Positioning start signal [Y10, Y11, Y12, Y13] BUSY signal [XC, XD, XE, XF] Positioning complete signal [X14, X15, X16, X17] Positioning Positioning data No.
  • Page 626 12 CONTROL SUB FUNCTIONS MELSEC-Q [6] Precautions during control (1) When step operation is carried out using interpolation control positioning data, the step function settings are carried out for the reference axis. (2) When the step valid flag is ON, the step operation will start from the Md.26 beginning if the positioning start signal is turned ON while "...
  • Page 627: Skip Function

    12 CONTROL SUB FUNCTIONS MELSEC-Q 12.7.2 Skip function The "skip function" is used to stop (deceleration stop) the control of the positioning data being executed at the time of the skip signal input, and execute the next positioning data. A skip is executed by a skip command ( Cd.37 Skip command) or external command signal.
  • Page 628 12 CONTROL SUB FUNCTIONS MELSEC-Q [3] Setting the skip function from the PLC CPU The following shows the settings and PLC program example for skipping the control being executed in axis 1 with a command from the PLC CPU. (1) Set the following data. (The setting is carried out using the PLC program shown below in section (2)).
  • Page 629 12 CONTROL SUB FUNCTIONS MELSEC-Q [4] Setting the skip function using an external command signal The skip function can also be executed using an "external command signal". The following shows the settings and PLC program example for skipping the control being executed in axis 1 using an "external command signal". (1) Set the following data to execute the skip function using an external command signal.
  • Page 630: M Code Output Function

    12 CONTROL SUB FUNCTIONS MELSEC-Q 12.7.3 M code output function The "M code output function" is used to command sub work (clamping, drill rotation, tool replacement, etc.) related to the positioning data being executed. When the M code ON signal (X4, X5, X6, X7) is turned ON during positioning execution, a No.
  • Page 631 12 CONTROL SUB FUNCTIONS MELSEC-Q (2) AFTER mode The M code ON signal (X4, X5, X6, X7) is turned ON at the positioning completion, and the M code is stored in " Md.25 Valid M code". Positioning start signal [Y10, Y11, Y12, Y13] [XC, XD, XE, XF] BUSY signal M code ON signal...
  • Page 632 12 CONTROL SUB FUNCTIONS MELSEC-Q Positioning start signal [Y10, Y11, Y12, Y13] BUSY signal [XC, XD, XE, XF] M code ON signal [X4, X5, X6, X7] Cd. 7 M code OFF request Md. 25 Valid M code Positioning Da. 1 Operation pattern m1 and m3 indicate set M codes.
  • Page 633 12 CONTROL SUB FUNCTIONS MELSEC-Q [4] Setting the M code output function The following shows the settings to use the "M code output function". Da.10 (1) Set the M code No. in the positioning data " M code". (2) Set the timing to output the M code ON signal (X4, X5, X6, X7). Set the required value in the following parameter, and write it to the QD75MH.
  • Page 634: Teaching Function

    12 CONTROL SUB FUNCTIONS MELSEC-Q 12.7.4 Teaching function The "teaching function" is used to set addresses aligned using the manual control (JOG operation, inching operation manual pulse generator operation) in the positioning Da.6 Da.7 data addresses (" Positioning address/movement amount", " address").
  • Page 635 12 CONTROL SUB FUNCTIONS MELSEC-Q [2] Precautions during control (1) Before teaching, a "machine OPR" must be carried out to establish the OP. Md.20 (When a current value changing, etc., is carried out, " Current feed value" may not show absolute addresses having the OP as a reference.) (2) Teaching cannot be carried out for positions to which movement cannot be executed by manual control (positions to which the workpiece cannot physically move).
  • Page 636 12 CONTROL SUB FUNCTIONS MELSEC-Q [4] Teaching procedure The following shows the procedure for a teaching operation. (Interpolation operation with axis 1 as a reference) (1) When teaching to the " Positioning address/movement amount" Da.6 Start Carry out a machine OPR. Move the workpiece to the target position •...
  • Page 637 12 CONTROL SUB FUNCTIONS MELSEC-Q (2) When teaching to the " Da.7 Arc address", then teaching to the " Da.6 Positioning address/movement amount" Start Carry out a machine OPR. Move the workpiece to the circular interpolation sub point using a •...
  • Page 638 12 CONTROL SUB FUNCTIONS MELSEC-Q [5] Teaching program example The following shows a PLC program example for setting (writing) the positioning data obtained with the teaching function to the QD75MH. (1) Setting conditions • When setting the current feed value as the positioning address, write it when the BUSY signal is OFF.
  • Page 639 12 CONTROL SUB FUNCTIONS MELSEC-Q Carry out the teaching operation with the following program. Example No.20 Teaching program Position to the target position with manual operation. ...
  • Page 640: Target Position Change Function

    12 CONTROL SUB FUNCTIONS MELSEC-Q 12.7.5 Target position change function The "target position change function" is a function to change a target position to a newly designated target position at any timing during the position control (1-axis linear control). A command speed can also be changed simultaneously. The target position and command speed changed are set directly in the buffer memory, and the target position change is executed by "...
  • Page 641 12 CONTROL SUB FUNCTIONS MELSEC-Q [2] Precautions during operation (1) If the positioning movement direction from the stop position to a new target position is reversed, stop the operation once and then position to the new target position. (Refer to Fig. 12.41 (c).) (2) If a command speed exceeding the speed limit value is set to change the command speed, a warning will be given, and the new command speed will be the speed limit value (warning code: 501).
  • Page 642 12 CONTROL SUB FUNCTIONS MELSEC-Q [3] Method of setting target position change function from PLC CPU The following table and chart show the example of a data setting and PLC program used to change the target position of the axis 1 by the command from the PLC CPU, respectively.
  • Page 643 12 CONTROL SUB FUNCTIONS MELSEC-Q (3) The following PLC program is added to the control program, and written to the PLC CPU. Example No.22 Target position change program ...
  • Page 644: Command In-Position Function

    12 CONTROL SUB FUNCTIONS MELSEC-Q 12.7.6 Command in-position function The "command in-position function" checks the remaining distance to the stop position during the automatic deceleration of positioning control, and sets "1". This flag is called the "command in-position flag". The command in-position flag is used as a front- loading signal indicating beforehand the completion of the position control.
  • Page 645 12 CONTROL SUB FUNCTIONS MELSEC-Q [2] Precautions during control (1) A command in-position width check will not be carried out in the following cases. • During deceleration by a stop command or sudden stop command. • During position control, the operation pattern is "continuous path control" •...
  • Page 646 12 CONTROL SUB FUNCTIONS MELSEC-Q [3] Setting the command in-position function To use the "command in-position function", set the required value in the parameter shown in the following table, and write it to the QD75MH. The set details are validated at the rising edge (OFF ON) of the PLC READY signal (Y0).
  • Page 647: Acceleration/Deceleration Processing Function

    12 CONTROL SUB FUNCTIONS MELSEC-Q 12.7.7 Acceleration/deceleration processing function The "acceleration/deceleration processing function" adjusts the acceleration/deceleration when each control is executed. Adjusting the acceleration/deceleration processing to match the control enables more precise control to be carried out. There are two acceleration/deceleration adjustment items that can be set: "Acceleration/deceleration time 0 to 3", and "acceleration/deceleration method setting".
  • Page 648 12 CONTROL SUB FUNCTIONS MELSEC-Q [2] "Acceleration/deceleration method setting" control details and setting In the "acceleration/deceleration method setting", the acceleration/deceleration processing method is selected and set. The set acceleration/deceleration processing is applied to all acceleration/deceleration. The two types of "acceleration/deceleration method setting" are shown below. (1) Automatic trapezoidal acceleration/deceleration processing method This is a method in which linear acceleration/deceleration is carried out...
  • Page 649 12 CONTROL SUB FUNCTIONS MELSEC-Q When a speed change request is given during S-pattern acceleration/ deceleration processing, S-pattern acceleration/deceleration processing begins at a speed change request start. When speed change Speed change (acceleration) request is not given Command speed before speed change Speed change request Speed change (deceleration) Fig.
  • Page 650: Pre-Reading Start Function

    12 CONTROL SUB FUNCTIONS MELSEC-Q 12.7.8 Pre-reading start function The "pre-reading start function" does not output pulses while the execution prohibition flag is ON if a positioning start request is given with the execution prohibition flag ON, and starts servo within 1.1ms after OFF of the execution prohibition flag is detected. The positioning start request is given when the axis is in a standby status, and the execution prohibition flag is turned OFF at the axis operating timing.
  • Page 651 12 CONTROL SUB FUNCTIONS MELSEC-Q The pre-reading start function is effective for the system as shown below. Cutter Cutter shaft Feed shaft Stock Fig. 12.49 System example using pre-reading start function Fig. 12.49 shows a system example which repeats: 1) Feeding a stock with a feed shaft; and 2) Cutting it with a cutter to cut the stock to fixed size.
  • Page 652 12 CONTROL SUB FUNCTIONS MELSEC-Q Feed shaft Start Stop time Start time time Cutter shaft Start time Feed shaft start request Cutter shaft start request Fig. 12.50 Operation timings of system example The cutter shaft starts from the moment the feed shaft has completed feeding the stock "...
  • Page 653 12 CONTROL SUB FUNCTIONS MELSEC-Q [2] Precautions during control (1) The time required to analyze the positioning data is up to 4.0ms. (2) After positioning data analysis, the system is put in an execution prohibition flag OFF waiting status. Any change made to the positioning data in the execution prohibition flag OFF waiting status is not reflected on the positioning data.
  • Page 654 12 CONTROL SUB FUNCTIONS MELSEC-Q Pre-reading start function (when dedicated instruction PSTRT1 is used) ...
  • Page 655: Deceleration Start Flag Function

    12 CONTROL SUB FUNCTIONS MELSEC-Q 12.7.9 Deceleration start flag function The "deceleration start flag function" turns ON the flag when the constant speed status or acceleration status switches to the deceleration status during position control whose operation pattern is "Positioning complete". This function can be used as a signal to start the operation to be performed by other equipment at each end of position control or to perform preparatory operation, etc.
  • Page 656 12 CONTROL SUB FUNCTIONS MELSEC-Q (2) Block start At a block start, this function is valid for only the position control whose operation pattern is "Positioning complete" at the point whose shape has been set to "End". (Refer to Fig. 12.52.) The following table indicates the operation of the deceleration start flag in the case of the following block start data and positioning data.
  • Page 657 12 CONTROL SUB FUNCTIONS MELSEC-Q [2] Precautions during control (1) The deceleration start flag function is valid for the control system of "1-axis linear control", "2-axis linear interpolation control", "3-axis linear interpolation control", "4-axis linear interpolation control", "speed-position switching control" or "position-speed switching control".
  • Page 658 12 CONTROL SUB FUNCTIONS MELSEC-Q [3] Deceleration start flag function setting method To use the "deceleration start flag function", set "1" to the following control data using a PLC program. The set data is made valid on the rising edge (OFF to ON) of the PLC READY signal [Y0].
  • Page 659: Stop Command Processing For Deceleration Stop Function

    12 CONTROL SUB FUNCTIONS MELSEC-Q 12.7.10 Stop command processing for deceleration stop function The "stop command processing for deceleration stop function" is provided to set the deceleration curve if a stop cause occurs during deceleration stop processing (including automatic deceleration). This function is valid for both automatic trapezoidal and S-pattern acceleration/deceleration processing methods.
  • Page 660 12 CONTROL SUB FUNCTIONS MELSEC-Q (2) Deceleration curve continuation The current deceleration curve is continued after a stop cause has occurred. If a stop cause occurs during automatic deceleration of position control, the deceleration stop processing may be complete before the target has reached the positioning address specified in the positioning data that is currently executed.
  • Page 661 12 CONTROL SUB FUNCTIONS MELSEC-Q [3] Setting method To use the "stop command processing for deceleration stop function", set the following control data in a PLC program. The set data are made valid as soon as they are written to the buffer memory. The PLC ready signal [Y0] is irrelevant.
  • Page 662: Speed Control 10 X Multiplier Setting For Degree Axis Function

    12 CONTROL SUB FUNCTIONS MELSEC-Q 12.7.11 Speed control 10 x multiplier setting for degree axis function The "Speed control 10 x multiplier setting for degree axis function" is executed the positioning control by 10 x speed of the setting value in the command speed and the speed limit value when the setting unit is "degree".
  • Page 663 12 CONTROL SUB FUNCTIONS MELSEC-Q (2) Monitor data • Feedrate Md.22 • Current speed Md.27 • Axis feed rate Md.28 • Target speed Md.33 " For the above monitoring data, Pr.83 Speed control 10 x multiplier " setting for degree axis is evaluated whether it is valid for each axis.
  • Page 664: Operation Setting For Incompletion Of Opr Function

    12 CONTROL SUB FUNCTIONS MELSEC-Q 12.7.12 Operation setting for incompletion of OPR function The "Operation setting for incompletion of OPR function" is provided to select whether positioning control is operated or not, when OPR request flag is ON. This section explains the "Operation setting for incompletion of OPR function" as follows: [1] Control details [2] Precautions during control...
  • Page 665 12 CONTROL SUB FUNCTIONS MELSEC-Q Md.31 (2) When OPR request flag ( Status: b3) is ON, starting Fast OPR will result in an "Home positioning return (OPR) request flag ON" error (error code: 207) despite the setting value of " Pr.55 Operation setting for incompletion of OPR", and Fast OPR will not be performed.
  • Page 666: Servo On/Off

    12 CONTROL SUB FUNCTIONS MELSEC-Q 12.8 Servo ON/OFF 12.8.1 Servo ON/OFF The servo amplifiers connected to the QD75MH is executed servo ON or OFF. By establishing the servo ON status with the servo ON command, servo motor operation is enabled. The following two types of servo ON or OFF can be used.
  • Page 667: Follow Up Function

    12 CONTROL SUB FUNCTIONS MELSEC-Q 12.8.2 Follow up function (1) Follow up function The follow up function monitors the number of motor rotations (actual present value) with the servo OFF and reflects the value in the present feed value. Therefore, even if the servomotor rotates while the servo OFF, the servomotor will not just rotate for the quantify of droop pulses the next time the servo turns ON but positioning can be performed from the stop position.
  • Page 668 Chapter 13 Common Functions The details and usage of the "common functions" executed according to the user's requirements are explained in this chapter. Common functions include functions required when using the QD75MH, such as parameter initialization and execution data backup. Read the setting and execution procedures for each common function indicated in this chapter thoroughly, and execute the appropriate function where required.
  • Page 669: Outline Of Common Functions

    13 COMMON FUNCTIONS MELSEC-Q 13.1 Outline of common functions "Common functions" are executed according to the user's requirements, regardless of the control system, etc. These common functions are executed by peripheral devices or using PLC programs. The following table shows the functions included in the "common functions". Means Common function Details...
  • Page 670: Parameter Initialization Function

    13 COMMON FUNCTIONS MELSEC-Q 13.2 Parameter initialization function "The parameter initialization function" is used to return the setting data set in the QD75MH buffer memory and flash ROM to their factory-set initial values. The details shown below explain about the "parameter initialization function". [1] Parameter initialization means [2] Control details [3] Precautions during control...
  • Page 671 13 COMMON FUNCTIONS MELSEC-Q [4] Parameter initialization method (1) Parameter initialization is carried out using the dedicated instruction "PINIT". (Refer to Chapter 14 "Dedicated instructions" for details.) (2) Parameter initialization can also be carried out by the writing of the data shown in the table below to the buffer memory using the TO command/intelligent function device.
  • Page 672: Execution Data Backup Function

    13 COMMON FUNCTIONS MELSEC-Q 13.3 Execution data backup function When the QD75MH buffer memory data is rewritten from the PLC CPU, "the data backed up in the QD75MH flash ROM" may differ from "the data (buffer memory data) for which control is being executed". In cases like these, the data being executed will be lost when the PLC power is turned OFF.
  • Page 673 13 COMMON FUNCTIONS MELSEC-Q [4] Execution data backup method (1) Execution data backup (writing to the flash ROM) is carried out using the dedicated instruction "PFWRT". (Refer to "Chapter 14 Dedicated instructions" for details.) (2) Refer to Section 7.2 "Data transmission process" for the data transmission processing at the backup of the execution data.
  • Page 674: External Signal Selection Function

    13 COMMON FUNCTIONS MELSEC-Q 13.4 External signal selection function When the upper/lower limit signal and near point dog signal is connected, either the external device connector of QD75MH or external input signal of servo amplifier (PIN No. CN3-2, CN3-12, CN3-19) is selected whether use it. The details shown below explain about the "External signal selection function".
  • Page 675: External I/O Signal Logic Switching Function

    13 COMMON FUNCTIONS MELSEC-Q 13.5 External I/O signal logic switching function This function switches the signal logic according to the external equipment connected to the QD75MH or the external input signal (upper/lower limit switch, near-point dog) of the servo amplifier. For the system in which b-contact, upper limit switch, and lower limit switch are not used, the parameter logic setting can be controlled without wiring if it is changed to a "positive logic".
  • Page 676 Chapter 14 Dedicated Instructions The QD75MH dedicated instructions are explained in this chapter. These instructions are used to facilitate the programming for the use of the functions of the intelligent function module. Using the dedicated instructions, the programming can be carried out without being aware of the QD75MH buffer memory address and interlock signal.
  • Page 677: List Of Dedicated Instructions

    14 DEDICATED INSTRUCTIONS MELSEC-Q 14.1 List of dedicated instructions The dedicated instructions explained in this Chapter are listed in Table 14.1. Table 14.1 List of dedicated instructions Dedicated Application Outline of functions Reference instruction PSTRT1 PSTRT2 This function starts the positioning control of the designated Positioning start Section 14.4 axis of the QD75MH.
  • Page 678: Pstrt1, Pstrt2, Pstrt3, Pstrt4

    14 DEDICATED INSTRUCTIONS MELSEC-Q 14.3 PSTRT1, PSTRT2, PSTRT3, PSTRT4 These dedicated instructions are used to start the positioning of the designated axis. Usable device Setting MELSECNET/10 Special Index Internal device File Constant data direct J \ module register Others register U \G Word Word...
  • Page 679 14 DEDICATED INSTRUCTIONS MELSEC-Q [Control data] Setting side Device Item Setting data Setting range ( 1) (S)+0 System area – – – The state at the time of completion is stored. (S)+1 Complete status • 0 : Normal completion – System •...
  • Page 680 14 DEDICATED INSTRUCTIONS MELSEC-Q processing processing processing processing PLC program PSTRT instruction execution completion PSTRT instruction When Complete device completed abnormally When Complete state display completed normally device 1 scan [Errors] (1) When an PSTRT instruction is completed abnormally, the error complete signal ((D)+1) is turned ON, and the error code is stored in the complete status ((S)+1).
  • Page 681 14 DEDICATED INSTRUCTIONS MELSEC-Q (6) If the PSTRT instruction is executed in either of the following cases, an error "Dedicated instruction error" (error code: 804) will occur and positioning cannot be started. • Any value other than 1 to 600, 7000 to 7004, and 9001 to 9004 is set to "Starting number"...
  • Page 682: Teach1, Teach2, Teach3, Teach4

    14 DEDICATED INSTRUCTIONS MELSEC-Q 14.4 TEACH1, TEACH2, TEACH3, TEACH4 These dedicated instructions are used to teach the designated axis. Usable device Setting MELSECNET/10 Special Index Internal device File Constant data direct J \ module register Others register U \G Word Word K, H, $ –...
  • Page 683 14 DEDICATED INSTRUCTIONS MELSEC-Q [Control data] Setting side Device Item Setting data Setting range ( 1) (S)+0 System area – – – The state at the time of completion is stored. (S)+1 Complete status : Normal completion – System Other than 0 : Abnormal completion (error code)( 2) The address (positioning address/arc address) to which the current feed value is written is set.
  • Page 684 14 DEDICATED INSTRUCTIONS MELSEC-Q processing processing processing processing PLC program TEACH instruction execution completion TEACH instruction When Complete device completed abnormally When Complete state display completed normally device 1 scan [Errors] (1) When a TEACH instruction is completed abnormally, the error complete signal ((D)+1) is turned ON, and the error code is stored in the complete status (S)+1.
  • Page 685 14 DEDICATED INSTRUCTIONS MELSEC-Q [Program example] Program to execute the teaching of the positioning data No. 3 of the axis 1 when X39 is turned ON. No. 20 Teaching program Positioned manually to target position. ...
  • Page 686: Pfwrt

    14 DEDICATED INSTRUCTIONS MELSEC-Q 14.5 PFWRT These dedicated instructions are used to write the QD75MH parameters, positioning data and block start data to the flash ROM. Usable device Setting MELSECNET/10 Special Index Internal device File Constant data direct J \ module register Others...
  • Page 687 14 DEDICATED INSTRUCTIONS MELSEC-Q [Functions] (1) The PFWRT instruction completion can be confirmed using the complete devices ((D)+0) and ((D)+1). (a) Complete device ((D)+0) This device is turned ON by the END processing of the scan for which PFWRT instruction is completed, and turned OFF by the next END processing. (b) Complete state display device ((D)+1) This device is turned ON and OFF according to the state in which PFWRT instruction is completed.
  • Page 688 14 DEDICATED INSTRUCTIONS MELSEC-Q [Precautions] (1) Do not turn ON the power and reset the PLC CPU while parameters, positioning data and block start data are written to the flash ROM using the PFWRT instruction. A parameter error will occur or normal positioning start will become impossible because the parameters, positioning data and block start data are not written normally to the flash ROM.
  • Page 689 14 DEDICATED INSTRUCTIONS MELSEC-Q [Program example] Program used to write the parameters and positioning data stored in the buffer memory to the flash ROM when X3D is turned ON. No. 26 Flash ROM write program ...
  • Page 690: Pinit

    14 DEDICATED INSTRUCTIONS MELSEC-Q 14.6 PINIT This dedicated instruction is used to initialize the setting data of the QD75MH. Usable device Setting MELSECNET/10 Special Index Internal device File Constant data direct J \ module register Others register U \G Word Word K, H, $ –...
  • Page 691 14 DEDICATED INSTRUCTIONS MELSEC-Q [Functions] (1) This dedicated instruction is used to return the setting data set in the QD75MH buffer memory and flash ROM to their factory-set data (initial values). Setting data Basic parameters ( Pr.1 to Pr.10 ) Detailed parameters ( Pr.11 to Pr.42 , Pr.80 to Pr.84 ) OPR basic parameters ( Pr.43 to Pr.48 ) OPR detailed parameters ( Pr.49 to Pr.57 )
  • Page 692 14 DEDICATED INSTRUCTIONS MELSEC-Q [Precautions] (1) The PINIT instruction can only be executed when the QD75 READY signal (X0) is turned OFF. When the QD75 READY signal is turned ON, the PINIT instruction cannot be executed. Before executing the PINIT instruction, turn OFF the PLC READY signal (Y0) and then turn OFF the QD75 READY signal.
  • Page 693 14 DEDICATED INSTRUCTIONS MELSEC-Q MEMO 14 - 18...
  • Page 694 Chapter 15 Troubleshooting The "errors" and "warnings" detected by the QD75MH are explained in this chapter. Errors can be confirmed with the QD75MH LED display and peripheral devices. When an error or warning is detected, confirm the detection details and carry out the required measures.
  • Page 695: Error And Warning Details

    15 TROUBLESHOOTING MELSEC-Q 15.1 Error and warning details [1] Errors Types of errors Errors detected by the QD75MH include parameter setting range errors, errors at the operation start or during operation and errors detected by servo amplifier. (1) Errors detected by the QD75MH include parameter setting range errors The parameters are checked when the power is turned ON and at the rising edge (OFF ON) of the PLC READY signal [Y0].
  • Page 696 15 TROUBLESHOOTING MELSEC-Q (4) Types of error codes Error code Classification of errors 001 to 009 Fatal errors 100 to 199 Common errors 200 to 299 OPR or absolute position restoration errors 300 to 399 JOG operation or inching operation errors 500 to 599 Positioning operation errors 800 to 899...
  • Page 697 15 TROUBLESHOOTING MELSEC-Q (3) Servo amplifier detection warnings These are warning that occur at the hardware error such as servo amplifier and servomotor or the inapplicable servo parameters. Error or normality operation can't be executed by waning when warning is left as it is though servo off isn't executed.
  • Page 698 15 TROUBLESHOOTING MELSEC-Q [4] Invalid operations For the following operations, the setting details will be invalidated, and an error or warning will not occur. • Speed change during machine OPR • Speed change before operation (Speed override change, skip command, continuous operation interruption request, target position change request) •...
  • Page 699: List Of Errors

    15 TROUBLESHOOTING MELSEC-Q 15.2 List of errors The following table shows the error details and remedies to be taken when an error occurs. 15.2.1 QD75MH detection error Classification Error Error name Error Operation status at error occurrence of errors code —...
  • Page 700 15 TROUBLESHOOTING MELSEC-Q Related buffer memory Set range address Remedy (Setting with PLC program) Axis 1 Axis 2 Axis 3 Axis 4 — — — — — — • Check that there is no influence from noise. — — — —...
  • Page 701 15 TROUBLESHOOTING MELSEC-Q Classification Error Error name Error Operation status at error occurrence of errors code When the machine home position return (OPR) retry invalid is set, the Start at home near-point dog home position return The machine home position return position (OP) fault (OPR) is started with the home (OPR) is not started.
  • Page 702 15 TROUBLESHOOTING MELSEC-Q Related buffer memory Set range address Remedy (Setting with PLC program) Axis 1 Axis 2 Axis 3 Axis 4 • Validate the home position return (OPR) retry function (set value: 1). (Refer to Section 12.2.1) •...
  • Page 703 15 TROUBLESHOOTING MELSEC-Q Classification Error Error name Error Operation status at error occurrence of errors code When the count method 1) or 2) – machine home position return (OPR) Home Illegal near-point dog Home position return (OPR) is not is started, the near-point dog is set to position signal started.
  • Page 704 15 TROUBLESHOOTING MELSEC-Q Related buffer memory Set range address Remedy (Setting with PLC program) Axis 1 Axis 2 Axis 3 Axis 4 When the count method 1) or 2) – machine home position return (OPR) is used, the near-point dog is set to "0: External input signal of QD75MH".
  • Page 705 15 TROUBLESHOOTING MELSEC-Q Classification Error Error name Error Operation status at error occurrence of errors code • When the parameter "interpolation speed designation method" performs a linear interpolation in setting a "composite speed", the axis movement amount for each positioning data exceeds At start: The system will not operate.
  • Page 706 15 TROUBLESHOOTING MELSEC-Q Related buffer memory Set range address Remedy (Setting with PLC program) Axis 1 Axis 2 Axis 3 Axis 4 • ABS unit [mm] [PLS] [inch] –2147483648 to 2147483647 Unit [degree] 0 to 35999999 • INC (When software stroke limits are valid) Review the positioning address.
  • Page 707 15 TROUBLESHOOTING MELSEC-Q Classification Error Error name Error Operation status at error occurrence of errors code At start: The system will not operate. In the analysis of new current value: • Positioning is carried out at a Current value is not position beyond the software stroke changed.
  • Page 708 15 TROUBLESHOOTING MELSEC-Q Related buffer memory Set range address Remedy (Setting with PLC program) Axis 1 Axis 2 Axis 3 Axis 4 New current value 1506 1606 1706 1806 1507 1607 1707 1807 At start: Bring the current feed value into the software stroke limit using the manual control operation.
  • Page 709 15 TROUBLESHOOTING MELSEC-Q Classification Error Error name Error Operation status at error occurrence of errors code • The operation pattern set value is 2. • A target position change is requested on those control systems other than ABS1 and INC1. Outside operation •...
  • Page 710 15 TROUBLESHOOTING MELSEC-Q Related buffer memory Set range address Remedy (Setting with PLC program) Axis 1 Axis 2 Axis 3 Axis 4 Correct the operation pattern. (Refer to Section 5.3 Da.1 Same as error codes 515 to 516 Correct the control system. (Refer to Section 5.3 Da.2 Correct the positioning data or change the parameter...
  • Page 711 15 TROUBLESHOOTING MELSEC-Q Classification Error Error name Error Operation status at error occurrence of errors code • The control system setting value is outside the specified limit. • The number of control axes differs from the previous data when At start: The system will not operate. continuous positioning control or During operation: continuous path control is to be...
  • Page 712 15 TROUBLESHOOTING MELSEC-Q Related buffer memory Set range address Remedy (Setting with PLC program) Axis 1 Axis 2 Axis 3 Axis 4 • Correct the control system or parameter. (Refer to section 9.1.6, 9.2.20) Same as error codes 515 to 516 •...
  • Page 713 15 TROUBLESHOOTING MELSEC-Q Classification Error Error name Error Operation status at error occurrence of errors code • The condition setting values are not set or outside the setting range. • The condition operator setting values are not set or outside the setting range.
  • Page 714 15 TROUBLESHOOTING MELSEC-Q Related buffer memory Set range address Remedy (Setting with PLC program) Axis 1 Axis 2 Axis 3 Axis 4 — Normalize the block start data. Refer to Section 5.4 "Block start data" Correct the instruction code of the special start data. to 06 (Refer to Section 5.4 Da.13...
  • Page 715 15 TROUBLESHOOTING MELSEC-Q Classification Error Error name Error Operation status at error occurrence of errors code At start: The system will not operate. During operation: The system decelerates to a The setting value of ABS direction in stop. the unit of degree is as follows. Illegal setting of ABS (Note that, in the continuous direction in unit of...
  • Page 716 15 TROUBLESHOOTING MELSEC-Q Related buffer memory Set range address Remedy (Setting with PLC program) Axis 1 Axis 2 Axis 3 Axis 4 ABS setting direction in the • Set the ABS setting direction in the unit of degree 0: Shortcut unit of degree within the setting range.
  • Page 717 15 TROUBLESHOOTING MELSEC-Q Classification Error Error name Error Operation status at error occurrence of errors code Data is written to the flash ROM Flash ROM exceed continuously 25 times or more from At start: The system will not operate. writing error the PLC program.
  • Page 718 15 TROUBLESHOOTING MELSEC-Q Related buffer memory Set range address Remedy (Setting with PLC program) Axis 1 Axis 2 Axis 3 Axis 4 Review the PLC program so that data is not written continuously to the flash ROM. (Using " " in Md.19 Section 5.6.1, the number of flash ROM write times can —...
  • Page 719 15 TROUBLESHOOTING MELSEC-Q Classification Error Operation status at error Error name Error of errors code occurrence The calculation result of the following equation is smaller than 0 or larger than 65536. Backlash The QD75 READY signal (X0) is compensation not turned ON. Pr.11 Pr.2 amount error...
  • Page 720 15 TROUBLESHOOTING MELSEC-Q Related buffer memory Set range address Remedy (Setting with PLC program) Axis 1 Axis 2 Axis 3 Axis 4 Correct the parameters. • " No. of pulses per rotation", Pr.11 Pr.2 Pr.2 0 ≤ ≤ 65535 " Pr.3 Movement amount per pulse"...
  • Page 721 15 TROUBLESHOOTING MELSEC-Q Classification Error Operation status at error Error name Error of errors code occurrence The detailed parameter 1 "speed- position function selection" is preset to 2 and the following three conditions are Speed-position not satisfied: function selection error 1) Unit is "degree".
  • Page 722 15 TROUBLESHOOTING MELSEC-Q Related buffer memory Set range address Remedy (Setting with PLC program) Axis 1 Axis 2 Axis 3 Axis 4 Speed-position switching control (ABS mode) should satisfy the conditions 1) to 3) given on the left. When speed-position switching control (ABS mode) is not 0, 2 used, set 0 to speed-position function selection and turn the PLC READY signal [Y0] from OFF to ON.
  • Page 723 15 TROUBLESHOOTING MELSEC-Q Classification Error Error name Error Operation status at error occurrence of errors code The set range of the detailed S-pattern ratio parameter 2 "S-pattern ratio" is outside setting error the setting range. The set range of the detailed Illegal sudden stop parameter 2 "Sudden stop deceleration deceleration time...
  • Page 724 15 TROUBLESHOOTING MELSEC-Q Related buffer memory Set range address Remedy (Setting with PLC program) Axis 1 Axis 2 Axis 3 Axis 4 1 to 100 1 to 8388608 0, 1 0, 1 0, 1 0 to 10000 After setting the value inside the setting range, turn the PLC READY signal [Y0] from OFF to ON.
  • Page 725 15 TROUBLESHOOTING MELSEC-Q Classification Error Error name Error Operation status at error occurrence of errors code • The set range of the home position return (OPR) basic parameter "Home position return (OPR) speed" is outside the setting range. Home position return •...
  • Page 726 15 TROUBLESHOOTING MELSEC-Q Related buffer memory Set range address Remedy (Setting with PLC program) Axis 1 Axis 2 Axis 3 Axis 4 • Set the value inside the setting range. 1 to 50000000 [PLS/s] • Set the speed to the bias speed at start or higher. 1 to 2000000000 [mm/min or others] (Refer to Section 5.2.5) •...
  • Page 727 15 TROUBLESHOOTING MELSEC-Q Classification Error Error name Error Operation status at error occurrence of errors code • The set range of the home position return (OPR) detailed parameter " Home position return (OPR) torque limit value" is outside the setting Home position return range.
  • Page 728 15 TROUBLESHOOTING MELSEC-Q Related buffer memory Set range address Remedy (Setting with PLC program) Axis 1 Axis 2 Axis 3 Axis 4 1 to 1000 After setting the value inside the setting range, turn the PLC READY signal [Y0] from OFF to ON. 0, 1 0, 1 —...
  • Page 729: Mr-J3-B Detection Error

    15 TROUBLESHOOTING MELSEC-Q 15.2.2 MR-J3-B detection error There is an error that the same code is used. Confirm the error for details by the indication of the servo amplifier. Classifica Error indicator tion of Error name Description Cause code of servo errors amplifier The power supply voltage is low.
  • Page 730 15 TROUBLESHOOTING MELSEC-Q Related buffer memory address Error Error check process- Check point Corrective action timing Axis 1 Axis 2 Axis 3 Axis 4 Reconsider the power supply voltage. — — — — Always Servo amplifier error (2010) occurs if power is switched on after disconnection of the Change the servo amplifier.
  • Page 731 15 TROUBLESHOOTING MELSEC-Q Classifica Error indicator tion of Error name Description Cause code of servo errors amplifier The encoder connecter (CN2) is disconnected. Communication error occurred 2020 Encoder error 2 Fault in the encoder. between encoder and servo amplifier. Encoder cable fault. (Wire breakage or shot) Power input wires and servomotor power wires are in contact.
  • Page 732 15 TROUBLESHOOTING MELSEC-Q Related buffer memory address Error Error check process- Check point Corrective action timing Axis 1 Axis 2 Axis 3 Axis 4 Connect correctly. — — — — Change the servomotor. Repair or change the cable. Servo amplifier error (2024) occurs if the servo is switched Always on after disconnecting the U, V,...
  • Page 733 15 TROUBLESHOOTING MELSEC-Q Classifica Error indicator tion of Error name Description Cause code of servo errors amplifier Small acceleration/deceleration time constant caused overshoot to be large. Servo system is instable to cause overshoot. Speed has exceeded the 2031 Overspeed instantaneous permissible speed. Servo The setting value of the electric gear amplifier...
  • Page 734 15 TROUBLESHOOTING MELSEC-Q Related buffer memory address Error Error check process- Check point Corrective action timing Axis 1 Axis 2 Axis 3 Axis 4 Load inertia ratio Increase acceleration/deceleration time constant. 30147 30347 30547 30747 Acceleration time • Reset servo gain to proper value. 12, 13 162, 163 312, 313 462, 463 •...
  • Page 735 15 TROUBLESHOOTING MELSEC-Q Classifica Error indicator tion of Error name Description Cause code of servo errors amplifier Lead of built-in regenerative brake resistor or regenerative brake option is open or disconnected. Though the regenerative brake option is used, the DRU parameter "...
  • Page 736 15 TROUBLESHOOTING MELSEC-Q Related buffer memory address Error Error check process- Check point Corrective action timing Axis 1 Axis 2 Axis 3 Axis 4 — — — — Use the regenerative brake option. — — — — Set correctly. • Change lead. —...
  • Page 737 15 TROUBLESHOOTING MELSEC-Q Classifica Error indicator tion of Error name Description Cause code of servo errors amplifier Command given is greater than the maximum speed of the servomotor. Command Input pulse frequency of command 2035 Noise has entered the SSCNET frequency error pulse is too high.
  • Page 738 15 TROUBLESHOOTING MELSEC-Q Related buffer memory address Error Error check process- Check point Corrective action timing Axis 1 Axis 2 Axis 3 Axis 4 Review operation program. — — — — Take measures against noise. Change QD75MH. Connect the connector of the SSCNET cable.
  • Page 739 15 TROUBLESHOOTING MELSEC-Q Classifica Error indicator tion of Error name Description Cause code of servo errors amplifier The current exceeded the continuous output current of the servo amplifier. The servo system is unstable, causing hunting. Load exceeded overload protection characteristic of servo amplifier. 2050 Overload 1 Load ratio 300%: 2.5s or more...
  • Page 740 15 TROUBLESHOOTING MELSEC-Q Related buffer memory address Error Error check process- Check point Corrective action timing Axis 1 Axis 2 Axis 3 Axis 4 • Reduce load. • Review operation pattern. — — — — • Use servomotor that provides larger output.
  • Page 741 15 TROUBLESHOOTING MELSEC-Q Classifica Error indicator tion of Error name Description Cause code of servo errors amplifier Acceleration/deceleration time constant too small. Torque limit value too small. The deviation between the model Start disabled due to insufficient position and the actual servomotor 2052 Error excessive torque caused drop in power supply...
  • Page 742 15 TROUBLESHOOTING MELSEC-Q Related buffer memory address Error Error check process- Check point Corrective action timing Axis 1 Axis 2 Axis 3 Axis 4 Acceleration time 12, 13 162, 163 312, 313 462, 463 36, 37 186, 187 336, 337 486, 487 38, 39 188, 189 338, 339 488, 489 Increase the...
  • Page 743: List Of Warnings

    15 TROUBLESHOOTING MELSEC-Q 15.3 List of warnings The following table shows the warning details and remedies to be taken when a warning occurs. 15.3.1 QD75MH detection warning Classification Warning Operation status at warning Warning name Warning of warnings code occurrence —...
  • Page 744 15 TROUBLESHOOTING MELSEC-Q Related buffer memory Set range address Remedy (Setting with PLC program) Axis 1 Axis 2 Axis 3 Axis 4 — — — — — — — — — — — Normalize the start request ON timing. Normalize the start request ON timing. ...
  • Page 745 15 TROUBLESHOOTING MELSEC-Q Classification Warning Operation status at warning Warning name Warning of warnings code occurrence • When input magnification is set at Manual pulse Outside manual The manual pulse generator 1 pulse 1001 or higher: Re-set to 1000. generator pulse generator input magnification is set at 0 or operation...
  • Page 746 15 TROUBLESHOOTING MELSEC-Q Related buffer memory Set range address Remedy (Setting with PLC program) Axis 1 Axis 2 Axis 3 Axis 4 1523 1623 1723...
  • Page 747 15 TROUBLESHOOTING MELSEC-Q Classification Warning Operation status at warning Warning name Warning of warnings code occurrence • The command speed is controlled at Outside command The command speed exceeds the the "speed limit value". speed range speed limit. • The "speed limiting flag" turns ON. Teaching is not carried out when the set value is 0 or 601 or more.
  • Page 748 15 TROUBLESHOOTING MELSEC-Q Related buffer memory Set range address Remedy (Setting with PLC program) Axis 1 Axis 2 Axis 3 Axis 4 For command speed, 1 to 50000000 [PLS/s] refer to Section 5.3 1 to 2000000000 [mm/min or another] "List of positioning data" Speed limit value Set the command speed to within the setting range.
  • Page 749: Mr-J3-B Detection Warning

    15 TROUBLESHOOTING MELSEC-Q 15.3.2 MR-J3-B detection warning Classifica Warning display of tion of Warning name Warning Cause code the servo warnings amplifier Battery cable is open. Open battery Absolute position detection 2102 cable warning system battery voltage is low. Battery voltage fell to 2.8VDC or less. Droop pulses remaining are greater than the in-position range setting.
  • Page 750 15 TROUBLESHOOTING MELSEC-Q Related buffer memory Servo address amplifier status of Check point Corrective action the warning Axis 1 Axis 2 Axis 3 Axis 4 occurrence. Repair cable or battery changed. — — — — Change battery. In-position range Remove the cause of droop pulse occurrence. 30110 30310 30510 30710 Creep speed Reduce creep speed.
  • Page 751 15 TROUBLESHOOTING MELSEC-Q Classifica Warning display of tion of Warning name Warning Cause code the servo warnings amplifier Servo ON signal is turned ON Main circuit of Servo ON signal is turned ON while 2149 while the main circuit power is warning the main circuit power is off.
  • Page 752 15 TROUBLESHOOTING MELSEC-Q Related buffer memory Servo address amplifier status of Check point Corrective action the warning Axis 1 Axis 2 Axis 3 Axis 4 occurrence. Switch on main circuit power. — — — — • Reduce the positioning frequency at the specific positioning address.
  • Page 753: Led Display Functions

    15 TROUBLESHOOTING MELSEC-Q 15.4 LED display functions The states of QD75MH and each axis control can be confirmed by the LEDs located on the front panel of the QD75MH main unit. QD75MH4 Each axis can be monitored by the states of the LEDs. The operation and indications of the LEDs are as shown below.
  • Page 754: Appendix 1 Functions

    Appendices Appendix 1 Functions ......................Appendix- 3 Appendix 1.1 Multiple CPU correspond function............Appendix- 3 Appendix 1.2 The combination of software package for QD75MH and QCPU ..Appendix- 3 Appendix 2 Positioning data (No.1 to 600) List of buffer memory addresses .....Appendix- 4 Appendix 3 Connection with servo amplifiers...............Appendix- 28 Appendix 3.1 Connection of SSCNET cables ............Appendix- 28...
  • Page 755 APPENDICES MELSEC-Q MEMO Appendix - 2...
  • Page 756 APPENDICES MELSEC-Q Appendix 1 Functions Appendix 1.1 Multiple CPU correspond function Refer to the QCPU User's Manual (Multiple CPU system). (SH-080485ENG) Appendix 1.2 The combination of software package for QD75MH and QCPU Refer to the GX Configurator-QP Operating Manual. (SH-080172) Appendix - 3...
  • Page 757: Appendix 2 Positioning Data (No.1 To 600) List Of Buffer Memory Addresses

    APPENDICES MELSEC-Q Appendix 2 Positioning data (No.1 to 600) List of buffer memory addresses (1) For axis 1 Posi- Command Positioning Posi- Command Positioning Arc data Arc data Data Dwell Data Dwell tioning speed address tioning speed address code time code time identi-...
  • Page 758 APPENDICES MELSEC-Q (1) For axis 1 Posi- Command Positioning Posi- Command Positioning Arc data Arc data Data tioning Dwell speed address Data tioning Dwell speed address identi- code time Low- identi- code time Low- High- Low- High- Low- High- High- Low- High- Low-...
  • Page 759 APPENDICES MELSEC-Q (1) For axis 1 Posi- Command Positioning Posi- Command Positioning Arc data Arc data Data Dwell Data Dwell tioning speed address tioning speed address code time Low- code time Low- identi- identi- High- Low- High- Low- High- High- Low- High- Low-...
  • Page 760 APPENDICES MELSEC-Q (1) For axis 1 Posi- Command Positioning Posi- Command Positioning Arc data Arc data Data Dwell Data Dwell tioning speed address tioning speed address code time Low- code time Low- identi- identi- High- Low- High- Low- High- High- Low- High- Low-...
  • Page 761 APPENDICES MELSEC-Q (1) For axis 1 Posi- Command Positioning Posi- Command Positioning Arc data Arc data Data Dwell Data Dwell tioning speed address tioning speed address code time Low- code time Low- identi- identi- High- Low- High- Low- High- High- Low- High- Low-...
  • Page 762 APPENDICES MELSEC-Q (1) For axis 1 Posi- Command Positioning Posi- Command Positioning Arc data Arc data Data Dwell Data Dwell tioning speed address tioning speed address code time Low- code time Low- identi- identi- High- Low- High- Low- High- High- Low- High- Low-...
  • Page 763 APPENDICES MELSEC-Q (2) For axis 2 Posi- Command Positioning Posi- Command Positioning Arc data Arc data Data Dwell Data Dwell tioning speed address tioning speed address code time Low- code time Low- identi- identi- High- Low- High- Low- High- High- Low- High- Low-...
  • Page 764 APPENDICES MELSEC-Q (2) For axis 2 Posi- Command Positioning Posi- Command Positioning Arc data Arc data Data Dwell Data Dwell tioning speed address tioning speed address code time Low- code time Low- identi- identi- High- Low- High- Low- High- High- Low- High- Low-...
  • Page 765 APPENDICES MELSEC-Q (2) For axis 2 Posi- Command Positioning Posi- Command Positioning Arc data Arc data Data Dwell Data Dwell tioning speed address tioning speed address code time Low- code time Low- identi- identi- High- Low- High- Low- High- High- Low- High- Low-...
  • Page 766 APPENDICES MELSEC-Q (2) For axis 2 Posi- Command Positioning Posi- Command Positioning Arc data Arc data Data Dwell Data Dwell tioning speed address tioning speed address code time Low- code time Low- identi- identi- High- Low- High- Low- High- High- Low- High- Low-...
  • Page 767 APPENDICES MELSEC-Q (2) For axis 2 Posi- Command Positioning Posi- Command Positioning Arc data Arc data Data Dwell Data Dwell tioning speed address tioning speed address code time Low- code time Low- identi- identi- High- Low- High- Low- High- High- Low- High- Low-...
  • Page 768 APPENDICES MELSEC-Q (2) For axis 2 Posi- Command Positioning Posi- Command Positioning Arc data Arc data Data Dwell Data Dwell tioning speed address tioning speed address code time Low- code time Low- identi- identi- High- Low- High- Low- High- High- Low- High- Low-...
  • Page 769 APPENDICES MELSEC-Q (3) For axis 3 Posi- Command Positioning Posi- Command Positioning Arc data Arc data Data Dwell Data Dwell tioning speed address tioning speed address code time Low- code time Low- identi- identi- High- Low- High- Low- High- High- Low- High- Low-...
  • Page 770 APPENDICES MELSEC-Q (3) For axis 3 Posi- Command Positioning Posi- Command Positioning Arc data Arc data Data Dwell Data Dwell tioning speed address tioning speed address code time Low- code time Low- identi- identi- High- Low- High- Low- High- High- Low- High- Low-...
  • Page 771 APPENDICES MELSEC-Q (3) For axis 3 Posi- Command Positioning Posi- Command Positioning Arc data Arc data Data Dwell Data Dwell tioning speed address tioning speed address code time Low- code time Low- identi- identi- High- Low- High- Low- High- High- Low- High- Low-...
  • Page 772 APPENDICES MELSEC-Q (3) For axis 3 Posi- Command Positioning Posi- Command Positioning Arc data Arc data Data Dwell Data Dwell tioning speed address tioning speed address code time Low- code time Low- identi- identi- High- Low- High- Low- High- High- Low- High- Low-...
  • Page 773 APPENDICES MELSEC-Q (3) For axis 3 Posi- Command Positioning Posi- Command Positioning Arc data Arc data Data Dwell Data Dwell tioning speed address tioning speed address code time Low- code time Low- identi- identi- High- Low- High- Low- High- High- Low- High- Low-...
  • Page 774 APPENDICES MELSEC-Q (3) For axis 3 Posi- Command Positioning Posi- Command Positioning Arc data Arc data Data Dwell Data Dwell tioning speed address tioning speed address code time Low- code time Low- identi- identi- High- Low- High- Low- High- High- Low- High- Low-...
  • Page 775 APPENDICES MELSEC-Q (4) For axis 4 Posi- Command Positioning Posi- Command Positioning Arc data Arc data Data Dwell Data Dwell tioning speed address tioning speed address code time Low- code time Low- identi- identi- High- Low- High- Low- High- High- Low- High- Low-...
  • Page 776 APPENDICES MELSEC-Q (4) For axis 4 Posi- Command Positioning Posi- Command Positioning Arc data Arc data Data Dwell Data Dwell tioning speed address tioning speed address code time Low- code time Low- identi- identi- High- Low- High- Low- High- High- Low- High- Low-...
  • Page 777 APPENDICES MELSEC-Q (4) For axis 4 Posi- Command Positioning Posi- Command Positioning Arc data Arc data Data Dwell Data Dwell tioning speed address tioning speed address code time Low- code time Low- identi- identi- High- Low- High- Low- High- High- Low- High- Low-...
  • Page 778 APPENDICES MELSEC-Q (4) For axis 4 Posi- Command Positioning Posi- Command Positioning Arc data Arc data Data Dwell Data Dwell tioning speed address tioning speed address code time Low- code time Low- identi- identi- High- Low- High- Low- High- High- Low- High- Low-...
  • Page 779 APPENDICES MELSEC-Q (4) For axis 4 Posi- Command Positioning Posi- Command Positioning Arc data Arc data Data Dwell Data Dwell tioning speed address tioning speed address code time Low- code time Low- identi- identi- High- Low- High- Low- High- High- Low- High- Low-...
  • Page 780 APPENDICES MELSEC-Q (4) For axis 4 Posi- Command Positioning Posi- Command Positioning Arc data Arc data Data Dwell Data Dwell tioning speed address tioning speed address code time Low- code time Low- identi- identi- High- Low- High- Low- High- High- Low- High- Low-...
  • Page 781: Appendix 3 Connection With Servo Amplifiers

    APPENDICES MELSEC-Q Appendix 3 Connection with servo amplifiers Appendix 3.1 Connection of SSCNET cables (1) Connection The connection method of SSCNET cable between QD75MH and servo amplifier is explained as follows. When absolute position detection control is executed, installed battery (Q6BAT) to servo amplifier.
  • Page 782 APPENDICES MELSEC-Q CAUTION Keep the cap for SSCNET connector and the tube for protecting light code end of SSCNET cable in a plastic bag with a zipper of SSCNET able to prevent them from becoming dirty. Do not see directly the light generated from SSCNET connector of servo amplifier or QD75MH.
  • Page 783: Appendix 3.2 Wiring Of Sscnet Cables

    APPENDICES MELSEC-Q Appendix 3.2 Wiring of SSCNET cables Generally use the SSCNET cables available as our options. If the required length is not found in our options, fabricate the cable on the customer side. (1) Explanation of shape name The figure of the length column of the cable in the table is a sign that enters part of the cable type name.
  • Page 784 APPENDICES MELSEC-Q CAUTION Please use the processing method and the processing treatment device that exists in the connector when you fix the code part of the SSCNET cable to the connector. It must not cut squarely when you cut the code part of the SSCNET cable, the cutting edge side must not be made smooth, and garbage etc.
  • Page 785 APPENDICES MELSEC-Q (a) MR-J3BUS M 1) Explanation of shape name Type: MR-J3BUS Symbol Cable Quality None Board taking standard code Board taking standard cable Long distance cable Symbol Cable Length[m]([ft.]) 0.15 (0.49) 0.3 (0.98) 0.5 (1.64) 1 (3.28) 3 (9.84) 5 (16.40) 10 (32.81) 20 (65.62)
  • Page 786 APPENDICES MELSEC-Q • MR-J3BUS5M-A to MR-J3BUS20M-A • MR-J3BUS30M-B to MR-J3BUS50M-B Please refer to the table of this paragraph (1) for cable length (L). Change size [mm] ([inch]) SSCNET Cable MR-J3BUS5M-A to MR-J3BUS20M-A 100(3.94) 30(1.18) MR-J3BUS30M-B to MR-J3BUS50M-B 150(5.91) 50(1.97) [Unit : mm(inch)] (Note) Note.
  • Page 787: Appendix 4 Connection With External Device Connector

    APPENDICES MELSEC-Q Appendix 4 Connection with external device connector Appendix 4.1 Connector Mounted onto an external device connector of the QD75MH and used for wiring an external device. The "external device connector" includes the following 4 types. (1) Appearance A6CON1 A6CON2 A6CON3 A6CON4...
  • Page 788 APPENDICES MELSEC-Q (3) External dimension drawing A6CON1/A6CON2 A6CON3 A6CON4 Unit: mm (inch) 69.48(2.74) 14(0.55) or less 14(0.55) or less 72.72(2.87) 47(1.85) 50.8(2.00) Appendix - 35...
  • Page 789: Appendix4.2 Wiring Of Manual Pulse Generator Cable

    APPENDICES MELSEC-Q Appendix4.2 Wiring of manual pulse generator cable There are no our option in the manual pulse generator. The manual pulse generator cable fabricate on the customer side. (1) Manual pulse generator cable The following table indicates the manual pulse generator cables used with motion controller and the manual pulse generator.
  • Page 790: Appendix 5 Comparisons With Conventional Positioning Modules

    APPENDICES MELSEC-Q Appendix 5 Comparisons with conventional positioning modules Appendix 5.1 Comparisons with QD75P model Model QD75MH1 QD75MH2 QD75MH4 QD75P Item No. of control axes No. of positioning data items 600/axis 600/axis 2-axis linear interpolation 3-axis linear interpolation Interpolation functions 4-axis linear interpolation 2-axis circular interpolation Position control...
  • Page 791: Appendix 5.2 Comparisons With Qd75M1/ Qd75M2/ Qd75M4 Models

    APPENDICES MELSEC-Q Appendix 5.2 Comparisons with QD75M1/ QD75M2/ QD75M4 models (1) Comparisons of performance specifications Model QD75MH1 QD75MH2 QD75MH4 QD75M1 QD75M2 QD75M4 Item No. of control axes Operation cycle 1.77ms 3.55ms No. of positioning data items 600/axis 600/axis 2-axis linear interpolation 3-axis linear Position control...
  • Page 792 APPENDICES MELSEC-Q Comparisons of performance specifications (Continued) Model QD75MH1 QD75MH2 QD75MH4 QD75M1 QD75M2 QD75M4 Item 0.01 to 20000000.00 (mm/min) 0.01 to 20000000.00 (mm/min) 0.001 to 2000000.000 (inch/min) 0.001 to 2000000.000 (inch/min) Speed command range 0.001 to 2000000.000 (degree/min) 0.001 to 2000000.000 (degree/min) 1 to 50000000 (PLS/s) 1 to 10000000 (PLS/s) Machine OPR function (OPR method)
  • Page 793 APPENDICES MELSEC-Q Comparisons of performance specifications (Continued) Model QD75MH1 QD75MH2 QD75MH4 QD75M1 QD75M2 QD75M4 Item External command signal (External start or speed-position switching selectable with CHG signal parameters) I/O signal for In-position (INP) (for monitor) external devices Signal logic switching Connection via PLC CPU, Connection with peripheral Q Corresponding Serial Communication Module, Q Corresponding MELSEC/H Remote...
  • Page 794 APPENDICES MELSEC-Q Functions changed from those of QD75M1/QD75M2/QD75M4 Changed functions Descriptions Setting range • When unit [PLS] Setting range ("1 to 10000000[PLS/s]") is changed to "1 to 50000000[PLS/s]". Speed change value • When unit [degree] When the "Speed control 10 x multiplier setting for degree axis" is valid, the speed specification range ("0.001 to 2000000.000[degree/ min]") is changed to "0.01 to 20000000.00[degree/min]".
  • Page 795 APPENDICES MELSEC-Q (3) Input/output (X/Y) comparisons Input (X) Output (Y) Name QD75MH QD75M Name QD75MH QD75M (QD75) READY Axis 1 Positioning start Axis 1 Start complete Axis 2 Positioning start Axis 2 Start complete Axis 3 Positioning start Axis 3 Start complete Axis 4 Positioning start Axis 4 Start complete Axis 1 Stop...
  • Page 796 APPENDICES MELSEC-Q (5) Buffer memory address comparisons The following table shows the buffer memory addresses of the QD75MH (Axes 1 to 3) corresponding to the items of the QD75M . The shaded area shows the differences between the QD75M and QD75MH . Buffer memory address Items of QD75M QD75M...
  • Page 797 APPENDICES MELSEC-Q Buffer memory address Items of QD75M QD75M QD75MH Axis 1 Axis 2 Axis 3 Axis 4 Axis 1 Axis 2 Axis 3 Axis 4 Pr.28 Deceleration time 1 Pr.29 Deceleration time 2 Pr.30 Deceleration time 3 Pr.31 JOG speed limit value Pr.32 JOG operation acceleration time selection Pr.33...
  • Page 798 APPENDICES MELSEC-Q Buffer memory address Items of QD75M QD75M QD75MH Axis 1 Axis 2 Axis 3 Axis 4 Axis 1 Axis 2 Axis 3 Axis 4 Pr.100 Servo series 30100 30200 30300 30400 30100 30300 30500 30700 Pr.101 Amplifier setting 30101 30201 30301...
  • Page 799 APPENDICES MELSEC-Q Buffer memory address Items of QD75M QD75M QD75MH Axis 1 Axis 2 Axis 3 Axis 4 Axis 1 Axis 2 Axis 3 Axis 4 Pr.129 Pre-alarm data selection 30129 30229 30329 30429 30129 30329 30529 30729 (QD75MH: Pr.129 Speed differential compensation) Pr.130 Zero speed 30130 30230...
  • Page 800 APPENDICES MELSEC-Q Buffer memory address Items of QD75M QD75M QD75MH Axis 1 Axis 2 Axis 3 Axis 4 Axis 1 Axis 2 Axis 3 Axis 4 Pr.152 Ratio of load inertia moment to servomotor inertia moment 2 30152 30252 30352 30452 30152 30352...
  • Page 801 APPENDICES MELSEC-Q Buffer memory address Items of QD75M QD75M QD75MH Axis 1 Axis 2 Axis 3 Axis 4 Axis 1 Axis 2 Axis 3 Axis 4 Pr.186 Maker setting 30186 30386 30586 30786 – – – – Pr.187 Maker setting 30187 30387 30587...
  • Page 802 APPENDICES MELSEC-Q Buffer memory address Items of QD75M QD75M QD75MH Axis 1 Axis 2 Axis 3 Axis 4 Axis 1 Axis 2 Axis 3 Axis 4 Md.50 Maker setting 1431 – – – – (QD75MH: Md.50 Forced stop input) Md.105 Servo parameter 857 to 957 to 1057 to...
  • Page 803 APPENDICES MELSEC-Q (6) Input/output signal comparisons Input signal comparisons QD75M QD75MH Name Logic switch with Logic switch with Logic (initial status) Logic (initial status) parameters parameters In-position signal – – – – Manual pulse generator A phase Negative logic Negative logic Possible Possible Manual pulse generator B phase...
  • Page 804: Appendix 6 Positioning Control Troubleshooting

    APPENDICES MELSEC-Q Appendix 6 Positioning control troubleshooting Trouble type Questions/Trouble Remedy The PLC CPU power was turned OFF or the PLC CPU was reset, etc., during flash ROM writing, which deleted Display reads "FFFF " when a the data in the flash ROM. parameter is read with GX Initialize the parameters, and reset the required Configurator-QP.
  • Page 805 APPENDICES MELSEC-Q Trouble type Questions/Trouble Remedy Pr.37 Set "1: Sudden stop" in the " Stop group 1 sudden How can the deceleration stop time during stopping be shortened Pr.36 stop selection", and reduce the setting value of " using the hardware stroke limit? Sudden stop deceleration time".
  • Page 806 APPENDICES MELSEC-Q Trouble type Questions/Trouble Remedy The machine only moves to "10081230", although positioning with a command value of Pr.3 Pr.2 Reset in the following order. "10081234" carried out. How can the error be 1) Calculate "262144/8000 × 10081234/10081230". compensated? 2) Obtain the reduced value.
  • Page 807 APPENDICES MELSEC-Q Trouble type Questions/Trouble Remedy The positioning start signal [Y10] is After the BUSY signal turns ON, there is no problem with kept ON until the BUSY signal is turning [Y10] OFF before the BUSY signal turns OFF. OFF, but is there any problem with (The QD75 detects the rising edge (OFF ON) of the turning it OFF before the BUSY...
  • Page 808 APPENDICES MELSEC-Q Trouble type Questions/Trouble Remedy Pr.31 The " JOG speed limit value" may be larger than When a JOG operation is Pr.8 the " Speed limit value". attempted, an error results and the machine does not move. Review the parameters and carry out the JOG operation again.
  • Page 809 APPENDICES MELSEC-Q Trouble type Questions/Trouble Remedy Backlash compensation value Error 920 (backlash compensation 0 ≤ ≤ 65535 amount error) occurs even when Movement amount per pulse the backlash compensation value Setting is not possible if the above equation is not is set to "1".
  • Page 810: Appendix 7 List Of Buffer Memory Addresses

    APPENDICES MELSEC-Q Appendix 7 List of buffer memory addresses The following shows the relation between the buffer memory addresses and the various items. Do not set other than the default value "0" of the "Maker setting". Buffer memory address Item Memory area Axis 1 Axis 2...
  • Page 811 APPENDICES MELSEC-Q Buffer memory address Item Memory area Axis 1 Axis 2 Axis 3 Axis 4 Pr.27 Acceleration time 3 Pr.28 Deceleration time 1 Pr.29 Deceleration time 2 Pr.30 Deceleration time 3 Pr.31 JOG speed limit value Pr.32 JOG operation acceleration time selection Pr.33 JOG operation deceleration time selection Pr.34...
  • Page 812 APPENDICES MELSEC-Q Buffer memory address Memory Item area Common to axes 1, 2, 3, and 4 Md.1 In test mode flag 1200 1201 1202 1203 1204 1205 Maker setting 1206 1207 1208 1209 1210 1211 (Pointer No.) (10) (11) (12) (13) (14) (15) Md.3 Start information 1212 1217 1222 1227 1232 1237 1242 1247 1252 1257 1262 1267 1272 1277 1282 1287...
  • Page 813 APPENDICES MELSEC-Q Buffer memory address Item Memory area Axis 1 Axis 2 Axis 3 Axis 4 1000 1100 Md.20 Current feed value 1001 1101 1002 1102 Md.21 Machine feed value 1003 1103 1004 1104 Md.22 Feedrate 1005 1105 Md.23 Axis error No. 1006 1106 Md.24...
  • Page 814 APPENDICES MELSEC-Q Buffer memory address Item Memory area Axis 1 Axis 2 Axis 3 Axis 4 1048 1148 OPR re-travel value Md.100 1049 1149 1050 1150 Real current value Md.101 1051 1151 1052 1152 Deviation counter value Md.102 1053 1153 1054 1154 Motor rotation speed...
  • Page 815 APPENDICES MELSEC-Q Buffer memory address Item Memory area Axis 1 Axis 2 Axis 3 Axis 4 Cd.3 Positioning start No. 1500 1600 1700 1800 Cd.4 Positioning starting point No. 1501 1601 1701 1801 Cd.5 Axis error reset 1502 1602 1702 1802 Cd.6 Restart command...
  • Page 816 APPENDICES MELSEC-Q Buffer memory address Item Memory area Axis 1 Axis 2 Axis 3 Axis 4 Cd.31 Simultaneous starting axis start data No. 1541 1641 1741 1841 (axis 2 start data No.) Cd.32 Simultaneous starting axis start data No. 1542 1642 1742 1842...
  • Page 817 APPENDICES MELSEC-Q Buffer memory address Item Memory area Axis 1 Axis 2 Axis 3 Axis 4 Da.1 Operation pattern Da.2 Control system Da.3 Acceleration time No. 2000 8000 14000 20000 Deceleration time No. Da.4 Da.5 Axis to be interpolated Da.10 M code/condition data No.
  • Page 818 APPENDICES MELSEC-Q Buffer memory address Item Memory area Axis 1 Axis 2 Axis 3 Axis 4 Da.11 Shape Da.12 Start data No. 26000 26050 27000 27050 28000 28050 29000 29050 Da.13 Special start instruction Parameter Da.14 2nd point 26001 26051 27001 27051 28001...
  • Page 819 APPENDICES MELSEC-Q Buffer memory address Item Memory area Axis 1 Axis 2 Axis 3 Axis 4 30000 Condition judgement target data of the condition data 30099 Appendix - 66...
  • Page 820 APPENDICES MELSEC-Q Buffer memory address Default Memory area Item value Axis 1 Axis 2 Axis 3 Axis 4 30100 30300 30500 30700 Pr.100 Servo series 30101 30301 30501 30701 Pr.101 Maker setting Pr.102 Regenerative brake 30102 30302 30502 30702 0000H option Pr.103 Absolute position...
  • Page 821 APPENDICES MELSEC-Q Buffer memory address Default Memory area Item value Axis 1 Axis 2 Axis 3 Axis 4 Pr.131 Machine resonance 30131 30331 30531 30731 4500 suppression filter 1 30132 30332 30532 30732 0000H Pr.132 Notch form selection 1 Pr.133 Machine resonance 30133 30333...
  • Page 822 APPENDICES MELSEC-Q Buffer memory address Default Memory area Item value Axis 1 Axis 2 Axis 3 Axis 4 Pr.153 30153 30353 30553 30753 Maker setting 30154 30354 30554 30754 Pr.154 Maker setting 30155 30355 30555 30755 Pr.155 Maker setting 30156 30356 30556 30756...
  • Page 823 APPENDICES MELSEC-Q Buffer memory address Default Memory area Item value Axis 1 Axis 2 Axis 3 Axis 4 Pr.190 30190 30390 30590 30790 Maker setting 30191 30391 30591 30791 Pr.191 Maker setting 30192 30392 30592 30792 Pr.192 Maker setting 30193 30393 30593 30793...
  • Page 824: Appendix 8 External Dimension Drawing

    APPENDICES MELSEC-Q Appendix 8 External dimension drawing [1] QD75MH1/QD75MH2/QD75MH4 QD75MH1 QD75MH2 QD75MH4 QD75MH4 QD75MH1 QD75MH2 27.4(1.08) Unit: mm (inch) 90( 3. 54) 46( 1. 81) 136( 5. 35) Appendix - 71...
  • Page 825 APPENDICES MELSEC-Q MEMO Appendix - 72...
  • Page 826: Index

    INDEX Da.3 Acceleration time No. ( )......5-92 [Number] Acceleration/deceleration process selection 1-axis fixed-feed control ........ 9-44 Pr.34 ) ............5-40 1-axis linear control (ABS linear 1) ....9-27 Acceleration/deceleration processing function 1-axis linear control (INC linear 1) ....9-28 ..............12-86 1-axis speed control ........9-68 Acceleration/deceleration time change during 2-axis circular interpolation control with sub point Cd.12...
  • Page 827 Md.26 Axis operation status ( ) ....5-130 Connection confirmation........4-14 Axis stop signal ..........3-17 Connector............4-3 Continuous operation interrupt program ..6-48 Da.5 Axis to be interpolated ( )....5-92 Continuous path control........9-8 Axis warning detection flag ......5-134 Continuous positioning control ......9-7 Md.15 Md.24 Axis warning No.
  • Page 828 Follow up function ........12-106 Dwell time (JUMP destination positioning data For creating program ........6-2 Da.9 No.) ( )..........5-102 For installation..........4-7 Pr.57 Dwell time during OPR retry ( )..5-58 For maintenance ..........4-17 For restarting..........6-68 For starting "fast OPR" ........6-59 Effective load torque ( ) ....
  • Page 829 JUMP instruction..........9-112 Handling............4-5 Hardware stroke limit function ....12-35 High-level positioning control......10-2 Md.46 Last executed positioning data No. ( ..............5-140 Md.40 In speed change processing flag ( LED display functions ........15-60 ..............5-138 LEND............9-115 In speed control flag........5-134 List of block start data........5-106 Md.39 In speed control flag (...
  • Page 830 Manual pulse generator 1 pulse input NOP instruction..........9-111 Normal start............10-8 Cd.20 magnification ( )....... 5-160 Notch form selection 1 ( )....5-72 Pr.132 Cd.21 Manual pulse generator enable flag ( Notch form selection 2 ( Pr.134 )....5-74 ..............5-160 Pr.24 Manual pulse generator input selection ( ...............
  • Page 831 Positioning control operation program ..6-16 OPR retry function......... 12-4 Pr.46 Positioning complete........9-6 OPR speed ( ) ........5-52 Positioning data area (No.1 to 600) ....7-3 Pr.54 OPR torque limit value ( ) ....5-58 Md.47 Positioning data being executed ( Order of priority for stop process ....
  • Page 832 Program examples Regenerative load ratio ( ) ....5-146 Md.109 • Acceleration/deceleration time change Relatively safe stop........6-70 program ..........6-45 Remote I/O station...........2-5 • Continuous operation interrupt program Repeated start (FOR condition) ....10-14 ..............6-48 Repeated start (FOR loop) ......10-13 • Error reset program......... 6-51 Restart allowable range when servo OFF to ON •...
  • Page 833 • Start complete signal....... 3-15 Pr.56 Speed designation during OP shift ( • Synchronization flag signal ..... 3-15 ................5-58 Simultaneous start........10-12 Speed differential compensation ( )...5-72 Pr.129 Simultaneous starting axis start data No. (Axis 1 Speed integral compensation ( )..5-72 Pr.128 Cd.30...
  • Page 834 Cd.38 Teaching data selection ( ) ....5-168 Step function..........12-61 Teaching function.........12-73 Step mode ........... 12-57 Cd.39 Teaching positioning data No. ( ) ..5-168 Cd.34 Step mode ( )........5-166 Teaching program..........6-47 Step operation program ........ 6-46 Time chart Step start information ........12-61 •...
  • Page 835 Md.25 Valid M code ( ) ....... 5-130 Vibration suppression control filter tuning mode ) ............5-68 Pr.120 Vibration suppression control resonance frequency setting ( )......5-74 Pr.138 Vibration suppression control vibration frequency setting ( ) ..........5-74 Pr.137 Wait start............10-11 Warning history ...........
  • Page 836 WARRANTY Please confirm the following product warranty details before starting use. 1. Gratis Warranty Term and Gratis Warranty Range If any faults or defects (hereinafter "failure") found to be the responsibility of Mitsubishi occurs during use of the product within the gratis warranty term, the product shall be repaired at no cost via the dealer or Mitsubishi Service Company. Note that if repairs are required at a site overseas, on a detached island or remote place, expenses to dispatch an engineer shall be charged for.
  • Page 837 Microsoft Windows and Windows NT are registered trademarks of Microsoft Corporation in the United States and other countries. Other company and product names herein may be either trademarks or registered trademarks of their respective owners. IB(NA)-0300117-B...
  • Page 838 IB(NA)-0300117-B(1112)MEE MODEL: QD75MH-U-S-E MODEL CODE: 1XB917 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-q seriesMelsec-qd75mh2Melsec-qd75mh4

Table of Contents