Melsec-q series, programmable logic controller, channel isolated high resolution analog-digital converter module with signal conditioning function (208 pages)
SAFETY PRECAUTIONS (Read these precautions before using this product.) Before using this product, please read this manual and the relevant manuals carefully and pay full attention to safety to handle the product correctly. The precautions given in this manual are concerned with this product only. For the safety precautions of the programmable controller system, refer to the user’s manual for the CPU module used.
Page 4
[Design Precautions] CAUTION Do not bundle or adjacently lay the connection cable connected to the module external I/O signals or drive unit with the main circuit line, power line, or the load line other than that for the programmable controller. Separate these by 100mm as a guide. Failure to observe this could lead to malfunctioning caused by noise, surge, or induction.
Page 5
[Wiring Precautions] CAUTION Use applicable solderless terminals and tighten them within the specified torque range. If any spade solderless terminal is used, it may be disconnected when the terminal screw comes loose, resulting in failure. Tighten the connector screws within the specified torque range. Undertightening can cause short circuit, fire, or malfunction.
Page 6
[Startup/Maintenance Precautions] CAUTION Never disassemble or modify the module. Failure to observe this could lead to trouble, malfunctioning, injuries or fires. Completely turn off the externally supplied power used in the system before installing or removing the module. Failure to turn all phases OFF could lead to module trouble or malfunctioning. Do not install/remove the module to/from the base unit, or the terminal block to/from the module more than 50 times after the first use of the product.
PRODUCT in one or more of the Prohibited Applications, provided that the usage of the PRODUCT is limited only for the specific applications agreed to by Mitsubishi and provided further that no special quality assurance or fail-safe, redundant or other safety features which exceed the general specifications of the PRODUCTs are required.
Page 8
REVISIONS The manual number is given on the bottom left of the back cover Print Date Manual Number Revision Dec., 1999 SH (NA)-080058-A First edition Oct., 2000 SH (NA)-080058-B Addition of function version B (Overall revisions based on the Japanese Manual Version SH-080047-E) Jun., 2001 SH (NA)-080058-C...
Page 10
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.
INTRODUCTION Thank you for purchasing the Mitsubishi general-purpose programmable controller MELSEC-Q Series. Always read through this manual, and fully comprehend the functions and performance of the Q Series programmable controller before starting use to ensure correct usage of this product.
Page 12
3. SPECIFICATIONS AND FUNCTIONS 3- 1 to 3- 28 3.1 Performance specifications........................3- 2 3.2 List of functions ............................3- 6 3.2.1 QD75 control functions........................3- 6 3.2.2 QD75 main functions......................... 3- 8 3.2.3 QD75 sub functions and common functions ................... 3- 10 3.2.4 Combination of QD75 main functions and sub functions..............
Page 14
PART 2 CONTROL DETAILS AND SETTING 8. OPR CONTROL 8- 1 to 8- 24 8.1 Outline of OPR control ..........................8- 2 8.1.1 Two types of OPR control ......................... 8- 2 8.2 Machine OPR ............................8- 4 8.2.1 Outline of the machine OPR operation..................... 8- 4 8.2.2 Machine OPR method........................
Page 15
9.2.20 NOP instruction ..........................9-115 9.2.21 JUMP instruction ........................... 9-116 9.2.22 LOOP............................. 9-118 9.2.23 LEND ............................. 9-119 10. HIGH-LEVEL POSITIONING CONTROL 10- 1 to 10- 28 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 16
11.4.4 Creating a program to enable/disable the manual pulse generator operation ......11- 32 12. CONTROL SUB FUNCTIONS 12- 1 to 12-108 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.........................
Page 17
Appendix 2.3 Positioning data setting value entry table ............Appendix- 14 Appendix 3 Positioning data (No. 1 to 600) List of buffer memory addresses.......Appendix- 15 Appendix 4 Connection examples with servo amplifiers manufactured by MITSUBISHI Electric Corporation ............................Appendix- 39 Appendix 4.1 Connection example of QD75D N and MR-J3- A (Differential driver) ...Appendix- 39...
Page 18
Appendix 10.3 Setting auto refresh .....................Appendix- 78 Appendix 10.4 Positioning monitor ....................Appendix- 79 Appendix 10.5 Positioning test.....................Appendix- 89 Appendix 10.6 Wave trace ......................Appendix- 97 Appendix 10.7 Location trace .....................Appendix-100 Appendix 10.8 Parameter initialization function .................Appendix-103 Appendix 10.9 Execution data backup function .................Appendix-105 Appendix 10.10 External I/O signal logic switching function............Appendix-107 Appendix 10.11 External I/O signal monitor function ..............Appendix-108 Appendix 10.12 History monitor function..................Appendix-109...
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 Version 2 Operating Manual SH-080172 Data creation (such as parameters and positioning data) and operations of transferring data to modules, (13JU19) positioning monitor, and tests using GX Configurator-QP...........
Generic term for CPU module on which QD75 can be mounted. QD75 Generic term for positioning module QD75P1N, QD75P2N, QD75P4N, QD75D1N, QD75D2N, QD75D4N, QD75P1, QD75P2, QD75P4, QD75D1, QD75D2, and QD75D4. The module type is described to indicate a specific module.
PART 1 PRODUCT SPECIFICATIONS AND HANDLING PART 1 is configured for the following purposes (1) to (5). (1) To understand the outline of positioning control, and the QD75 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 sequence program required for positioning control (5) To understand the memory configuration and data transmission process...
Page 25
CHAPTER 1 PRODUCT OUTLINE The purpose and outline of positioning control using QD75 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"...
(Refer to Section 2.2.) • Open collector output system: QD75P1N/QD75P2N/QD75P4N (QD75P1/QD75P2/QD75P4) • Differential driver output system: QD75D1N/QD75D2N/QD75D4N (QD75D1/QD75D2/QD75D4) (b) For connecting any of the QD75 modules to the base unit, a single slot and 32 dedicated I/O channels are required.
Page 27
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 28
1 PRODUCT OUTLINE MELSEC-Q (6) Support of intelligent function module dedicated instructions Dedicated instructions such as the absolute position restoration instruction, positioning start instruction, and teaching instruction are provided. The use of such dedicated instruction simplifies sequence programs.(Refer to CHAPTER 14.) (7) Setups, monitoring, and testing through GX Configurator-QP Using GX Configurator-QP, the user can control the QD75 parameters and positioning data without having to be conscious of the buffer memory addresses.
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 30
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...
1 PRODUCT OUTLINE MELSEC-Q 1.1.3 Mechanism of positioning control Positioning control using the QD75 is carried out with "pulse signals". (The QD75 is a module that generates pulses). In the positioning system using the QD75, various software and devices are used for the following roles. The QD75 realizes complicated positioning control when it reads in various signals, parameters and data and is controlled with the CPU module.
Page 32
1 PRODUCT OUTLINE MELSEC-Q The principle of "position control" and "speed control" operation is shown below. Position control The total No. of pulses required to move the designated distance is obtained in the following manner. Designated distance No. of pulses Total No.
1 PRODUCT OUTLINE MELSEC-Q 1.1.4 Outline design of positioning system The outline of the positioning system operation and design, using the QD75, is shown below. (1) Positioning system using QD75 CPU module Positioning module Drive unit Servomotor QD75 Forward run pulse train Speed command...
Page 34
1 PRODUCT OUTLINE MELSEC-Q (b) Pulse train output from the QD75 1) As shown in Fig. 1.3, the pulse frequency increases as the motor accelerates. The pulses are sparse when the motor starts and more frequent when the motor speed comes close to the target speed. 2) The pulse frequency stabilizes when the motor speed equals the target speed.
Page 35
1 PRODUCT OUTLINE MELSEC-Q (a) In the system shown in Fig. 1.4, the movement amount per pulse, command pulse frequency, and the deviation counter droop pulse amount are determined as follows: 1) Movement amount per pulse The movement amount per pulse is determined by the worm gear lead, deceleration ratio, and the pulse encoder resolution.
1 PRODUCT OUTLINE MELSEC-Q 1.1.5 Communicating signals between QD75 and each module The outline of the signal communication between the QD75 and CPU module, peripheral device and drive unit, etc., is shown below. (A peripheral device communicates with the QD75 via the CPU module to which it is connected) QD75 CPU module...
Page 37
1 PRODUCT OUTLINE MELSEC-Q QD75 CPU module The QD75 and CPU module communicate the following data via the base unit. Direction QD75 CPU module CPU module QD75 Communication Signal related to commands such as PLC Signal indicating QD75 state, such as Control signal READY signal, various start signals, stop QD75 READY signal, BUSY signal.
Page 38
1 PRODUCT OUTLINE MELSEC-Q QD75 External signal The QD75 and external signal communicate the following data via the external device connection connector. Direction QD75 External signal External signal QD75 Communication • Signals from detector such as near-point dog signal, upper/lower limit signal, zero signal Control signal –...
1 PRODUCT OUTLINE MELSEC-Q 1.2 Flow of system operation 1.2.1 Flow of all processes The positioning control processes, using the QD75, are shown below. QD75 GX Developer GX Configurator-QP Servo, etc. CPU module Understand the functions and performance, and determine the positioning operation method Design (system design) Installation, wiring...
Page 40
1 PRODUCT OUTLINE MELSEC-Q The following work is carried out with the processes shown on the previous page. Details Reference • CHAPTER 1 • CHAPTER 2 Understand the product functions and usage methods, the configuration devices and specifications required for positioning control, and design the system. •...
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 43
1 PRODUCT OUTLINE MELSEC-Q Setting method : Indicates the sequence program that must be created. <GX Configurator-QP> Set with GX Configurator-QP Write Set the parameter and data for executing main function, and the sub functions that need to be set beforehand. QD75 <GX Developer>...
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 drive unit READY signal is turned OFF. (3) When a CPU module error occurs (4) When the PLC READY signal is turned OFF.
Page 45
1 PRODUCT OUTLINE MELSEC-Q 1: When multiple positioning data is executed by the continuous positioning control and there is invalid setting value in a positioning data, an error occurs and deceleration is performed at the previous positioning data. In this case, sudden stop is not performed even when it is set for the stop group 3.If any of the following error occurs, the operation is immediately stopped after executing up to previous positioning data of the positioning data where an error occurred.
1 PRODUCT OUTLINE MELSEC-Q 1.2.4 Outline of 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".
1 PRODUCT OUTLINE MELSEC-Q 1.3 Restrictions with a system using a stepping motor Note the following restrictions applicable to a system that uses a stepping motor: (1) For the system that uses a stepping motor, executing the S-curve acceleration/deceleration may cause step-out. Before using the S-curve acceleration/deceleration, confirm that step-out does not occur.
Page 49
CHAPTER 2 SYSTEM CONFIGURATION In this chapter, the general image of the system configuration of the positioning control using QD75, 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 Configuration list......................2- 4 2.3 Applicable system......................2- 6...
2 SYSTEM CONFIGURATION MELSEC-Q 2.1 General image of system The general image of the system, including the QD75, CPU module 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 51
2 SYSTEM CONFIGURATION MELSEC-Q Drive Motor unit Manual pulse generator Cable Machine system inputs (switches) Near point dog Limit switch External command signal Stop signal Peripheral device GX Configurator Personal computer SWnD5C -QD75P-E (For details, refer to GX Configurator -QP Operating Manual.) 2 - 3...
– (Prepared by user) (Prepared by user) Manual pulse – generator Recommended: MR-HDP01 (Mitsubishi Electric) (Prepared by user) Connection cable Cables are needed to connect the QD75 with the drive unit, manual pulse (For connecting – generator, and input devices in the machine system.
Page 53
2 SYSTEM CONFIGURATION MELSEC-Q Specifications of recommended manual pulse generator Item Specifications Model name MR-HDP01 Pulse resolution 25pulse/rev (100 pulse/rev after magnification by 4) Voltage-output (power supply voltage -1V or more), Output method Output current Max. 20mA Power supply voltage 4.5 to 13.2VDC Current consumption 60mA...
2 SYSTEM CONFIGURATION MELSEC-Q 2.3 Applicable system The QD75 can be used in the following system. (1) Applicable modules and base units, and No. of modules (a) When mounted with a CPU module The table below shows the CPU modules and base units applicable to the QD75 and quantities for each CPU model.
Page 55
2 SYSTEM CONFIGURATION MELSEC-Q Applicable CPU module Base unit No. of modules CPU type CPU model Main base unit Extension base unit Q13UDEHCPU Q20UDEHCPU Universal model Up to 64 Q26UDEHCPU Programmable QCPU controller CPU Q50UDEHCPU Q100UDEHCPU Safety CPU QS001CPU Q06CCPU-V-H01 Q06CCPU-V Up to 64 C Controller module...
Page 56
2 SYSTEM CONFIGURATION MELSEC-Q (3) Supported software packages The following table lists the compatibility between the systems using the QD75 and the software packages. GX Developer or GX Works2 is required for use of the QD75. (a) QD75P N/QD75D N Software version GX Developer GX Works2...
Page 57
2 SYSTEM CONFIGURATION MELSEC-Q (b) QD75P /QD75D Software version GX Developer GX Configurator-QP GX Works2 Single programmable Version 7 or later controller system Q00J/Q00/Q01CPU Version 2.10L or later Multiple programmable Version 8 or later controller system Version 1.15R or later Single programmable Version 4 or later...
2 SYSTEM CONFIGURATION MELSEC-Q 2.4 How to check the function version and SERIAL No. (1) Confirming the serial number on the rating plate The rating plate is situated on the side face of the QD75. Serial number (The first six digits) Function version 100113 Relevant regulation standards...
Page 59
2 SYSTEM CONFIGURATION MELSEC-Q (3) Confirming the serial number with software Check the function version and SERIAL No. in "Product information" displayed on System monitor "Module's Detailed Information" of GX Developer or on "OS information" of GX Configurator-QP (a) Checking on the System monitor (Product Information List) screen To open the screen, select [Diagnostics] [System monitor] and click the Product Information List button in GX Developer.
Page 60
2 SYSTEM CONFIGURATION MELSEC-Q MEMO 2 - 12...
Page 61
CHAPTER 3 SPECIFICATIONS AND FUNCTIONS The various specifications of the QD75 are explained in this chapter. The "Performance specifications", "List of functions", "Specifications of input/output signals with CPU module", and the "Specifications of input/output interfaces with external devices", etc., are described as information required when designing the positioning system.
3 SPECIFICATIONS AND FUNCTIONS MELSEC-Q 3.1 Performance specifications QD75P N/QD75D N Model QD75P1N QD75P2N QD75P4N Item QD75D1N QD75D2N QD75D4N No. of control axes 1 axis 2 axes 4 axes 2-, 3-, or 4-axis linear 2-axis linear interpolation Interpolation function None...
Page 64
3 SPECIFICATIONS AND FUNCTIONS MELSEC-Q QD75P /QD75D Model QD75P1 QD75P2 QD75P4 Item QD75D1 QD75D2 QD75D4 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...
Page 65
3 SPECIFICATIONS AND FUNCTIONS MELSEC-Q Model QD75P1 QD75P2 QD75P4 Item QD75D1 QD75D2 QD75D4 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) 7ms •...
3 SPECIFICATIONS AND FUNCTIONS MELSEC-Q 3.2 List of functions 3.2.1 QD75 control functions The QD75 has several functions. In this manual, the QD75 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 67
3 SPECIFICATIONS AND FUNCTIONS MELSEC-Q Sub functions Main functions OPR control Control registered in QD75 (Functions characteristic to machine OPR) [Positioning start No.] OPR retry function Machine OPR [9001] OP shift function Fast OPR [9002] <Functions that compensate control> Backlash compensation function Electronic gear function Control using "Positioning data"...
3 SPECIFICATIONS AND FUNCTIONS MELSEC-Q 3.2.2 QD75 main functions The outline of the main functions for positioning control with the QD75 is described below. (Refer to PART 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 69
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".
3 SPECIFICATIONS AND FUNCTIONS MELSEC-Q 3.2.3 QD75 sub functions and common functions Sub functions The functions that assist positioning control using the QD75 are described below. (Refer to PART 2 for details on each function. Reference Sub function Details section This function retries the machine OPR with the upper/lower limit switches during machine OPR.
Page 71
3: An I/O module (or general-purpose I/O function of QCPU) with arbitrary number of points and "the drive unit capable of configuring an absolute position detection system (, which is a Mitsubishi General-Purpose AC Servo and has an absolute position detection function (absolute position data transference protocol) equivalent to that of MR-J3- A)"...
Page 72
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 73
3 SPECIFICATIONS AND FUNCTIONS MELSEC-Q Common functions The outline of the functions executed as necessary are described below. (Refer to PART 2 for details on each function.) Reference Common functions Details section This function returns the "parameters" stored in the QD75 buffer memory and flash ROM to the default values.
3 SPECIFICATIONS AND FUNCTIONS MELSEC-Q 3.2.4 Combination of QD75 main functions and sub functions With positioning control using the QD75, 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 75
3 SPECIFICATIONS AND FUNCTIONS MELSEC-Q Functions that Functions that limit Functions that change control Other functions compensate control control details 3 - 15...
3 SPECIFICATIONS AND FUNCTIONS MELSEC-Q 3.3 Specifications of input/output signals with CPU module 3.3.1 List of input/output signals with CPU module The QD75 uses 32 input points and 32 output points for exchanging data with the CPU module. The input/output signals when the QD75 is mounted in slot No. 0 of the main base unit are shown below.
3 SPECIFICATIONS AND FUNCTIONS MELSEC-Q 3.3.2 Details of input signals (QD75 CPU module) 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 78
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 be detected in the sequence program. 2 : "Positioning complete"...
3 SPECIFICATIONS AND FUNCTIONS MELSEC-Q 3.4 Specifications of input/output interfaces with external devices 3.4.1 Electrical specifications of input/output signals QD75P N/QD75D N (1) Input specifications Rated input Working Input Response Signal name voltage/current voltage range voltage/current voltage/current resistance time Drive unit READY (READY) Stop signal (STOP) 19.2 to...
Page 80
3 SPECIFICATIONS AND FUNCTIONS MELSEC-Q (2) Output specifications Max. load Rated load Working load Max. voltage Leakage current Signal name Response time current/rush voltage voltage range drop at ON at OFF current 50mA/1 point/ 5 to 24VDC 4.75 to 30VDC 200mA 10ms or 0.5VDC (TYP) 0.1mA or less...
Page 81
3 SPECIFICATIONS AND FUNCTIONS MELSEC-Q QD75P /QD75D (1) Input specifications Rated input Working Input Response Signal name voltage/current voltage range voltage/current voltage/current resistance time Drive unit READY (READY) Stop signal (STOP) 19.2 to 17.5VDC or more/ 7VDC or less/ Approx. 4.7k Ω 4ms or less 24VDC/5mA Upper limit signal 26.4VDC...
Page 82
3 SPECIFICATIONS AND FUNCTIONS MELSEC-Q (2) Output specifications Max. load Rated load Working load Max. voltage Leakage current Signal name Response time current/rush voltage voltage range drop at ON at OFF current 50mA/1 point/ 5 to 24VDC 4.75 to 30VDC 200mA 10ms or 0.5VDC (TYP) 0.1mA or less...
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 QD75 and external device, are shown below. The signal layout for the QD75 external device connection connector is shown. Axis 4(AX4) Axis 3(AX3) Axis 2(AX2)
3 SPECIFICATIONS AND FUNCTIONS MELSEC-Q 3.4.3 List of input/output signal details The details of each QD75 external device connection connector are shown below: Pin No. Signal details Signal name (Negative logic is selected by external I/O signal logic selection) AX1 AX2 AX3 AX4 •...
Page 85
3 SPECIFICATIONS AND FUNCTIONS MELSEC-Q Pin No. Signal details Signal name (Negative logic is selected by external I/O signal logic selection) AX1 AX2 AX3 AX4 • This signal is used for detecting the near-point dog during OPR. Near-point dog signal (DOG) •...
3.4.4 Input/output interface internal circuit The outline diagrams of the internal circuits for the QD75P1N/QD75D1N/QD75P1/QD75D1 external device connection interface are shown below. (1) Input (Common to QD75P1N, QD75D1N, QD75P1, and QD75D1) Need for wiring External wiring Pin No. Internal circuit...
Page 87
3 SPECIFICATIONS AND FUNCTIONS MELSEC-Q (a) Input signal ON/OFF status The input signal ON/OFF status is defied by the external wiring and logic setting. This is explained below with the example of near-point dog signal (DOG). (The other input signals also perform the same operations as the near-point dog signal (DOG).) Logic setting ON/OFF status of near-point dog...
Page 88
3 SPECIFICATIONS AND FUNCTIONS MELSEC-Q (2) Output (For QD75P1N and QD75P1) Need for wiring External wiring Pin No. Internal circuit Signal name 1A13 Deviation counter clear CLEAR Load 5 to 24VDC 1A14 Common CLEAR COM Load 1A15 PULSE F A phase...
CHAPTER 4 INSTALLATION, WIRING AND MAINTENANCE OF THE PRODUCT The installation, wiring and maintenance of the QD75 are explained in this chapter. Important information such as precautions to prevent malfunctioning of the QD75, 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.
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 QD75 installation, wiring and maintenance are shown below. STEP 1 Understand the "Handling precautions" and "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 QD75 are described with the QD75P N/QD75D N as an example. The QD75P N/QD75D N and QD75P /QD75D are different in the indication of their model names and serial numbers QD75P4N QD75D4N...
Page 92
OFF. standby. The symbols in the Display column indicate the following statuses: : Turns OFF. : Illuminates. : Flashes. (3) The interface of each QD75 is as shown below. QD75P1N QD75P2N QD75P4N QD75D1N QD75D2N QD75D4N 4 - 4...
4 INSTALLATION, WIRING AND MAINTENANCE OF THE PRODUCT MELSEC-Q 4.1.3 Handling precautions Handle the QD75 and cable while observing the following precautions. [1] Handling precautions CAUTION Use the programmable controller in an environment that meets the general specifications contained in QCPU User's Manual(Hardware Design, Maintenance and Inspection) to use. Using this programmable controller in an environment outside the range of the general specifications may cause electric shock, fire, malfunction, and damage to or deterioration of the product.
Page 94
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 QD75 PCB from the case. Failure to observe this could lead to faults.
4 INSTALLATION, WIRING AND MAINTENANCE OF THE PRODUCT MELSEC-Q 4.2 Installation 4.2.1 Installation precautions The precautions for installing the QD75 are given below. Refer to this section as well as "4.1.3 Handling precautions" when carrying out the work. Installation precautions WARNING Completely turn off the externally supplied power used in the system before cleaning or tightening the screws.
4 INSTALLATION, WIRING AND MAINTENANCE OF THE PRODUCT MELSEC-Q 4.3 Wiring The precautions for wiring the QD75 are given below. Refer to this section as well as "4.1.3 Handling precautions" when carrying out the work. 4.3.1 Wiring precautions (1) Always confirm the terminal layout before connecting the wires to the QD75. (For the terminal layout, refer to Section 3.4.2 "Signal layout for external device connection connector".) (2) Correctly solder the external wiring connector.
Page 97
4 INSTALLATION, WIRING AND MAINTENANCE OF THE PRODUCT MELSEC-Q [Applicable connectors] The table below shows applicable connectors for external devices. When wiring, use applicable wires and an appropriate tightening torque. Mitsubishi 40-pin connector Wire Temperature Model Tightening torque Diameter Type...
Page 98
4 INSTALLATION, WIRING AND MAINTENANCE OF THE PRODUCT MELSEC-Q [Processing example of shielded cables] Connect a cable with the FG wire and bind all shielded cables as shown below. Remove the covering from all shielded cables and bind the appeared shield with a conductive tape. Coat the wire with insulaing tape.
Page 99
4 INSTALLATION, WIRING AND MAINTENANCE OF THE PRODUCT MELSEC-Q Assembling of connector (A6CON1) Wrap the coated parts with a heat contractile tube. 4 - 11...
Page 100
(except the one for pulse output) • Use shielded twisted pair cables and an AD75CK type cable clamp (manufactured by Mitsubishi Electric) to ground the cables to the control box. Even when compliance with the EMC Directive is not required, attaching an AD75CK type cable clamp to the cable connected to the QD75 may reduce the influence of external noise.
Page 101
4 INSTALLATION, WIRING AND MAINTENANCE OF THE PRODUCT MELSEC-Q [Wiring examples using duct (incorrect example and corrected example)] Wiring duct Relay Relay Drive Drive Relay unit unit Control panel The drive units are placed Programmable near the noise source. controller The connection cable Noise source between the QD75 and...
4 INSTALLATION, WIRING AND MAINTENANCE OF THE PRODUCT MELSEC-Q 4.3.2 Wiring of the differential driver common terminal When the differential driver output system (QD75D N/QD75D ) is used, a potential difference between commons may occur between the differential driver common terminal and the differential receiver common terminal of the drive unit.
4 INSTALLATION, WIRING AND MAINTENANCE OF THE PRODUCT MELSEC-Q 4.4 Checking installation and wiring 4.4.1 Items to check when installation and wiring are completed Check the following points when completed with the QD75 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.
4 INSTALLATION, WIRING AND MAINTENANCE OF THE PRODUCT MELSEC-Q 4.5 Maintenance 4.5.1 Maintenance precautions The precautions for servicing the QD75 are given below. Refer to this section as well as "4.1.3 Handling precautions" when carrying out the work. WARNING Always turn all phases of the power supply OFF externally before cleaning or tightening the screws.
Page 105
CHAPTER 5 DATA USED FOR POSITIONING CONTROL The parameters and data used to carry out positioning control with the QD75 are explained in this chapter. With the positioning system using the QD75, 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.
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 QD75 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 107
5 DATA USED FOR POSITIONING CONTROL MELSEC-Q The only valid data assigned to basic parameters 2, detailed parameters 2, positioning data, or block start data are the data read at the moment when a positioning or JOG operation is started. Once the operation has started, any modification to the data is ignored.
Page 108
5 DATA USED FOR POSITIONING CONTROL MELSEC-Q POINT (1) The "setting data" is created for each axis. (2) The "setting data" parameters have determined default values, and are set to the default values before shipment from the factory. (Parameters related to axes that are not used are left at the default value.) (3) The "setting data"...
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 PART 2.
Page 110
5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Control Major positioning control Manual control Position control Other control Positioning parameter Acceleration time 1 – – – Pr.25 Pr.26 Acceleration time 2 – – – Pr.27 Acceleration time 3 – – – 12.7.6 Pr.28 Deceleration time 1...
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"...
5 DATA USED FOR POSITIONING CONTROL MELSEC-Q 5.1.4 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 - 9...
5 DATA USED FOR POSITIONING CONTROL MELSEC-Q 5.1.5 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"...
5 DATA USED FOR POSITIONING CONTROL MELSEC-Q 5.1.6 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"...
5 DATA USED FOR POSITIONING CONTROL MELSEC-Q 5.1.7 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 117
5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Monitoring details Corresponding item Md.14 Axis in which the warning occurred Axis in which the warning occurred Md.15 Axis warning No. Axis warning No. Year:month Axis warning occurrence (Year:month) (QD75P N/QD75D N History of all warnings Day:hour Axis warning (QD75P N/QD75D N...
Page 118
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.
5 DATA USED FOR POSITIONING CONTROL MELSEC-Q 5.1.8 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 sequence program.) Controls are performed over system data or machine operation.
Page 120
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 121
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 source Speed-position switching enable flag Change movement amount for position control during speed-position Speed-position switching control...
5 DATA USED FOR POSITIONING CONTROL MELSEC-Q 5.2 List of parameters 5.2.1 Basic parameters 1 Setting value buffer memory Setting value, setting range Default address Item value Value set with sequence Value set with peripheral device Axis 1 Axis 2 Axis 3 Axis 4 program 0 : mm 1 : inch...
Page 123
Pr.2 No. of pulses per rotation (Ap) Set the number of pulses required for a complete rotation of the motor shaft. If you are using the Mitsubishi servo amplifier, set the value given as the "resolution per servomotor rotation" in the speed/position detector specifications.
Page 124
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 6553.5 μ m (approx. 6.5mm). 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 125
5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Pr.5 Pulse output mode Set the pulse output mode to match the servo amplifier being used. IMPORTANT Pr.5 The only valid value of the " Pulse output mode" is the value at the moment when the PLC READY signal [Y0] turns from OFF to ON for the first time after the power is switched ON or the CPU module is reset.
Page 126
5 DATA USED FOR POSITIONING CONTROL MELSEC-Q (3) A phase/B phase mode Forward run and reverse run are controlled with the phase difference of the A phase (A ) and B phase (B ). • When the B phase is 90 ° behind the A phase, the motor will forward run. When the B phase is 90 °...
Page 127
5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Pr.6 Rotation direction setting Set the relation of the motor rotation direction and current value address increment/decrement. [Setting procedure] Pr.6 1) Set "0" in , and carry out forward run JOG operation. Pr.6 ("0"...
5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Setting value buffer memory Setting value, setting range Default address Item value Value set with sequence Value set with peripheral device Axis 1 Axis 2 Axis 3 Axis 4 program Pr.1 The setting range differs depending on the " Unit setting".
Page 129
5 DATA USED FOR POSITIONING CONTROL MELSEC-Q [Table 1] Pr.1 setting value Value set with peripheral device (unit) Value set with sequence program (unit) 0 to 2000000000 (×10 mm/min) 0 : mm 0 to 20000000.00 (mm/min) 0 to 2000000000 (×10 inch/min) 1 : inch 0 to 2000000.000 (inch/min)
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 Value set with peripheral device Axis 1 Axis 2 Axis 3 Axis 4 sequence program Pr.1 The setting value range differs according to the "...
Page 131
5 DATA USED FOR POSITIONING CONTROL MELSEC-Q 1) The backlash compensation is valid after machine OPR. Thus, if the backlash compensation amount is set or changed, always carry out machine OPR once. 2) The backlash compensation amount setting range is 0 to 65535, but it should be set to 255 or less by using the following expression.
Page 132
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 133
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 500%. The torque limit function limits the torque generated by the servomotor within the set range.
Page 134
5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Da.10 An M code ( ) is a number between 0 and 65535 that can be assigned to each positioning data. The sequence program can be coded to read an M code from the buffer memory Md.25 address specified by "...
Page 135
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 136
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 137
5 DATA USED FOR POSITIONING CONTROL MELSEC-Q MEMO 5 - 33...
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 sequence Value set with peripheral device Axis 1 Axis 2 Axis 3 Axis 4 program Pr.25 Acceleration time 1...
Page 139
5 DATA USED FOR POSITIONING CONTROL MELSEC-Q [Table 1] Value set with peripheral device Value set with sequence program Pr.1 setting value (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 140
5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Setting value buffer memory Setting value, setting range Default address Item value Value set with sequence Value set with peripheral device Axis 1 Axis 2 Axis 3 Axis 4 program 0 : Trapezoid Pr.34 acceleration/deceleration process Acceleration/deceleration...
Page 141
5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Pr.35 S-curve ratio Set the S-curve ratio (1 to 100%) for carrying out the S-curve acceleration/deceleration process. The S-curve ratio indicates where to draw the acceleration/deceleration curve using the sine curve as shown below. (Example) Positioning speed...
Page 142
5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Pr.36 Sudden stop deceleration time Pr.8 Pr.31 Set the time to reach speed 0 from " Speed limit value" (or " speed limit value" during JOG operation) during the sudden stop. The illustration below shows the relationships with other parameters. 1) Positioning start 2) Sudden stop cause occurrence 3) Positioning stop...
Page 143
5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Pr.37 Stop group 1 sudden stop selection to 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 144
5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Setting value buffer memory Setting value, setting range Default address Item value Value set with sequence Value set with peripheral device Axis 1 Axis 2 Axis 3 Axis 4 program 0 to 65535 (ms) 0 to 32767 : Pr.40 Set as a decimal...
Page 145
5 DATA USED FOR POSITIONING CONTROL MELSEC-Q [Table 1] Value set with peripheral device Value set with sequence program Pr.1 setting value (unit) (unit) 0 to 100000 ( × 10 μ m) 0 to 10000.0 ( μ m) 0 : mm 0 to 100000 ( ×...
Page 146
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.
5 DATA USED FOR POSITIONING CONTROL MELSEC-Q 5.2.5 OPR basic parameters Setting value buffer memory Setting value, setting range Default address Item value Value set with sequence Value set with peripheral device Axis 1 Axis 2 Axis 3 Axis 4 program 0 : Near-point dog method 1 : Stopper method 1)
Page 148
5 DATA USED FOR POSITIONING CONTROL MELSEC-Q 1 : Stopper method 1) (1) Start machine OPR. Pr.46 (Start movement at the " OPR speed" in the Pr.44 " OPR direction".) OPR speed Pr.46 (2) Detect the near-point dog ON, and start deceleration. Creep speed Pr.47 (3) Decelerate to "...
Page 149
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 Pr.50 " OPR direction".) OPR speed Pr.46 Setting for the movement amount after near-poing dog ON (2) Detect the near-point dog ON, and start deceleration.
Page 150
5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Pr.44 OPR direction Set the direction to start movement when starting machine OPR. 0: Positive direction (address increment direction) Moves in the direction that the address increments. (Arrow 2)) 1: Negative direction (address decrement direction) Moves in the direction that the address decrements.
Page 151
5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Pr.45 OP address Set the address used as the reference point for positioning control (ABS system). (When the machine OPR is completed, the stop position address is changed to the Pr.45 Pr.45 address set in " OP address".
Page 152
5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Pr.47 Creep speed Set the creep speed after near-point dog ON (the low speed just before stopping after decelerating from the OPR speed). The creep speed is set within the following range. Pr.46 OPR speed ) Pr.47 Creep speed)
Page 153
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 to the specified OPR direction (3)).
5 DATA USED FOR POSITIONING CONTROL MELSEC-Q 5.2.6 OPR detailed parameters Setting value buffer memory Setting value, setting range Default address Item value Value set with sequence Value set with peripheral device Axis 1 Axis 2 Axis 3 Axis 4 program 0 to 65535 (ms) 0 to 32767 :...
Page 155
5 DATA USED FOR POSITIONING CONTROL MELSEC-Q [Table 1] Value set with peripheral device Value set with sequence program Pr.1 setting value (unit) (unit) 0 to 2147483647 ( × 10 μ m) 0 to 214748364.7 ( μ m) 0 : mm 0 to 2147483647 ( ×...
Page 156
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 sequence program Axis 1 Axis 2 Axis 3 Axis 4 device Pr.1 The setting value range differs depending on the " Unit setting".
Page 157
5 DATA USED FOR POSITIONING CONTROL MELSEC-Q [Table 1] Value set with peripheral device Value set with sequence program Pr.1 setting value (unit) (unit) -2147483648 to 2147483647 ( × 10 μ m) -214748364.8 to 214748364.7 ( μ m) 0 : mm -2147483648 to 2147483647 ( ×...
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 QD75 buffer memory has the following type of configuration.
Page 159
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 160
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 sequence program Axis 1 Axis 2 Axis 3 Axis 4 00: Positioning complete Da.1 Operation pattern Operation 01: Continuous positioning control pattern...
Page 161
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 162
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 163
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 164
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 165
5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Pr.1 When " Unit Setting" is "pulse" 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 Value set with sequence program...
Page 166
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 sequence program Value set with peripheral device...
Page 167
5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Setting value buffer memory Setting value, setting range Default address Item value Value set with sequence Value set with peripheral device Axis 1 Axis 2 Axis 3 Axis 4 program Da.2 The setting value range differs according to the " Control system".
Page 168
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 sequence program Value set with peripheral device...
Page 169
5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Setting value buffer memory Setting value, setting range Default address Item value Value set with sequence Value set with peripheral device Axis 1 Axis 2 Axis 3 Axis 4 program Pr.1 The setting value range differs depending on the " Unit setting".
Page 170
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 171
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"...
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 173
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 174
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 175
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 sequence program Axis 1 Axis 2 Axis 3 Axis 4 device 0 : End Da.11 Shape 0 0 0 1 : Continue 0000...
Page 176
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 177
5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Da.14 Parameter Da.13 Set the value as required for " Special start instruction ". Da.13 Special start instruction Setting value Setting details Block start (Normal start) – Not used. (There is no need to set.) Set the condition data No.
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 Buffer memory Setting item...
Page 179
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 180
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 181
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 sequence 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 182
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 of the QD75 as the conditions. : Device Y : Buffer memory (1-word) Set the value stored in the buffer memory as the condition.
Page 183
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 : ∗∗≤...
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 When not in test mode : OFF In test mode flag •...
Page 185
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 - 81...
Page 186
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 187
5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Default value Storage buffer memory address (common to axes 1 to 4) 0000 0000 0000 0000 0000 5 - 83...
Page 188
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 189
5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Default value Storage buffer memory address (common to axes 1 to 4) 0000 1292 5 - 85...
Page 190
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 191
5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Default value Storage buffer memory address (common to axes 1 to 4) 0000 0000 0000 1357 5 - 87...
Page 192
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 193
5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Default value Storage buffer memory address (common to axes 1 to 4) 0000 0000 0000 1422 1424 1425 5 - 89...
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 195
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 Monitor 1100 1000 value 0000 1001...
Page 196
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 197
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. 1007 1107 value For details of warning Nos. (warning codes), refer to Section 15.4 "List of warnings".
Page 198
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) Md.28 Axis feedrate "0"...
Page 199
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 200
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 201
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 1 0 0 0 memory 0008 1017 1117...
Page 202
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 of position control : The composite speed or reference axis speed is stored in the reference...
Page 203
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 204
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 "...
Page 205
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 206
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. •...
Page 207
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.
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 Cd.1 Flash ROM write request the buffer memory to the flash ROM. •...
Page 209
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 QD75 resets the value to "0" automatically when the write access completes. (This indicates the completion of write operation.) Set with a decimal.
Page 210
5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Setting item Setting details • Select the timing to output the difference ( ) between the actual and the set Cd.43 Output timing selection of positioning end addresses in continuous path control, in which the difference near pass control ) is output during the execution of the next positioning data.
Page 211
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 1934 Output timing selection of near pass control 0: At constant speed 1: At deceleration 5 - 107...
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.7 "Pre-reading start function".) •...
Page 213
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 214
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 215
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 216
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 217
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 218
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 219
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 220
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 221
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 222
5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Setting item Setting details Cd.19 OPR request flag OFF • The sequence program can use this data item to forcibly turn the OPR request flag from ON to OFF. request • This data item determines the factor by which the number of pulses from the manual pulse generator is magnified.
Page 223
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 224
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 225
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 226
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- 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 227
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 1532 1632 1732 1832 Position-speed switching enable flag 0: Position control will not be taken over by speed control even when the external command signal [CHG] comes ON.
Page 228
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 229
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 230
5 DATA USED FOR POSITIONING CONTROL MELSEC-Q Setting item Setting details • To continue the step operation when the step function is used, set "1" in this data Cd.36 Step start information item. • To skip the current positioning operation, set "1" in this data item. Cd.37 Skip command •...
Page 231
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 The QD75 resets the value to "0"...
Page 232
5 DATA USED FOR POSITIONING CONTROL MELSEC-Q MEMO 5 - 128...
CHAPTER 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL The programs required to carry out positioning control with the QD75 are explained in this chapter. The 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 QD75 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.)
6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q 6.1 Precautions for creating program The common precautions to be taken when writing data from the CPU module to the QD75 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 235
6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q (4) System configuration Unless particularly designated, the sequence program for the following system is shown in this chapter and subsequent. In the program, the unit of "0 (mm)" is set for the basic parameter 1. Refer to Section 6.2 for the application of the devices to be used.
Page 236
6 SEQUENCE 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 instruction, change the instruction to a FROM instruction and a TO instruction. MOVP G826 Set the...
6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q 6.2 List of devices used In the sequence programs shown in this chapter and subsequent, the application of the devices used are as follows. The I/O numbers for QD75 indicate those when QD75 is mounted in the 0-slot of the main base.
Page 238
6 SEQUENCE 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 239
6 SEQUENCE 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 240
6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q Device Device Application Details when ON name Axis 1 Axis 2 Axis 3 Axis 4 ZP.TEACH1 instruction complete device ZP.TEACH1 instruction completed ZP.TEACH1 instruction failure device ZP.TEACH1 instruction failed ZP.PINIT instruction complete device ZP.PINIT instruction completed ZP.PINIT instruction failure device ZP.PINIT instruction failed...
Page 241
6 SEQUENCE 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 value) Acceleration time setting (high-order 16 bits) Deceleration time setting (low-order 16 bits) Cd.11...
Page 242
6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q Device Device Application Details of storage name Axis 1 Axis 2 Axis 3 Axis 4 Pr.3 Movement amount per Movement amount per rotation rotation) Pr.4 Unit magnification) Unit magnification Pr.5 Pulse output mode Pulse output mode) Pr.6 Rotation direction setting)
6 SEQUENCE 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 PART 2 are assembled into the "positioning control operation program" explained here. (To monitor the control, add the required monitor program that matches the system.
6 SEQUENCE 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 245
6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q Continued from previous page Program required to carry out Start details setting program "OPR control" "Major positioning control" "High-level positioning control" No.7 Positioning start No. Refer to Section 6.5.2 setting program Start program No.8 Positioning start program Refer to Section 6.5.3...
Page 246
6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q Continued from previous page Sub program Program added according to No.14 control details. Speed change program Refer to Section 12.5.1 (Create as required.) No.15 Override program Refer to Section 12.5.2 No.16 Acceleration/deceleration time Refer to Section 12.5.3 change program No.17...
6 SEQUENCE 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 sequence program, set them in the QD75 using the TO instruction from the CPU module.
Page 248
6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q No. 2 Positioning data setting program (For positioning data No. 1 <axis 1>) <Positioning identifier> Operation pattern: Positioning complete Control system: 1-axis linear control (ABS) Acceleration time No.: 1, deceleration time No.: 2 <Setting of positioning identifier>...
Page 249
6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q [Setting of special start instruction to normal start] <Setting of normal start> <Setting of normal start> <Setting of normal start> <Setting of normal start> <Setting of normal start> <Setting of block start data to QD75> No.
Page 250
6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q (4) Speed-position switching operation (positioning data No. 2) (In the ABS mode, new movement amount write is not needed.) <Positioning data No. 2 setting> <Speed-position switching signal enable setting> <Speed-position switching signal prohibit setting> <New movement amount write>...
Page 251
6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q (2) When positioning start signal (Y10) is used (When fast OPR is not made, contacts of M3 and M4 are not needed.) (When M code is not used, contact of X04 is not needed.) (When JOG operation/inching operation is not performed, contact of M7 is not needed.) (When manual pulse generator operation is not performed, contact of M9 is not needed.) <Positioning start command pulse>...
Page 252
6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q 6 - 20...
Page 253
6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q 6 - 21...
Page 254
6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q No. 22 Absolute position restoration program (1) Absolute position restoration command acceptance <D42 to D45 reset> (2) Setting of transmit data to servo-amplifier and confirmation of absolute position restoration completion ABRST1 instruction completed when M42 is ON and M43 is OFF. Absolute position data restoration completed when status = 0.
Page 255
6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q No. 25 Flash ROM write program <Flash ROM write command pulse> <Flash ROM write command hold> <PLC READY output to QD75 standby> <Flash ROM write execution> <Flash ROM write command storage OFF> No.
6 SEQUENCE 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"...
6 SEQUENCE 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 sequence program.
Page 258
6 SEQUENCE 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...
6 SEQUENCE 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 Drive unit...
Page 260
6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q Starting conditions To start the control, the following conditions must be satisfied. The necessary start conditions must be incorporated in the sequence program so that the control is not started when the conditions are not satisfied. Device Signal name Signal state...
Page 261
6 SEQUENCE 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 262
6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q Starting time chart The time chart for starting each control is shown below. (1) Time chart for starting "machine OPR" Near-point dog Zero signal [Y10] Positioning start signal [Y0] PLC READY signal [X0] QD75 READY signal Start complete signal...
Page 263
6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q (2) Time chart for starting "fast OPR" [Y10] Positioning start signal PLC READY signal [Y0] [X0] QD75 READY signal [X10] Start complete signal BUSY signal [XC] Error detection signal [X8] Cd. 3 Positioning start No. 9002 Fig.
Page 264
6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q (3) Time chart for starting "major positioning control" Operation pattern Dwell time Positioning data No. 1(11) 2(00) Positioning start signal [Y10] PLC READY signal [Y0] QD75 READY signal [X0] Start complete signal [X10] BUSY signal [XC]...
Page 265
6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q (5) Time chart for starting "position-speed switching control" Operation pattern (00) Position control Speed control Positioning data No. (1) Positioning start signal [Y10] PLC READY signal [Y0] QD75 READY signal [X0] Start complete signal [X10] BUSY signal [XC]...
Page 266
6 SEQUENCE 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] Standby Standby Md. 26 Axis operation status Output pulse to external source (PULSE) Positioning operation...
Page 267
6 SEQUENCE 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 Start complete signal [X10, X11, X12, X13]...
Page 268
6 SEQUENCE 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 QD75. This allows the variation time equivalent to one scan time of the CPU module to be eliminated.
6 SEQUENCE 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 270
6 SEQUENCE 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.
6 SEQUENCE 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 272
6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q (4) Do not execute restart while the stop command is ON. If restart is executed while stopped, an error "Stop signal ON at start" (error Md.26 code: 106) will occur, and the " Axis operation status"...
Page 273
6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q [3] Control data requiring setting Set the following data to execute restart. Buffer memory address Setting Setting item Setting details value Axis 1 Axis 2 Axis 3 Axis 4 Cd.6 Restart command Set "1: Restarts".
Page 274
6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q (5) Time chart for restarting Dwell time Positioning start signal [Y10] Axis stop signal [Y4] PLC READY signal [Y0] QD75 READY signal [X0] Start complete signal [X10] BUSY signal [XC] Positioning complete signal [X14] [X8] Error detection signal...
6 SEQUENCE 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 source 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 276
6 SEQUENCE 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 277
6 SEQUENCE 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 < Immediate stop (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 278
6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL MELSEC-Q MEMO 6 - 46...
Page 279
CHAPTER 7 MEMORY CONFIGURATION AND DATA PROCESS The QD75 memory configuration and data transmission are explained in this chapter. The QD75 is configured of two memories. By understanding the configuration and roles of two memories, the QD75 internal data transmission process, such as "when the power is turned ON"...
7 MEMORY CONFIGURATION AND DATA PROCESS MELSEC-Q 7.1 Configuration and roles of QD75 memory 7.1.1 Configuration and roles of QD75 memory The QD75 is configured of the following two memories. Area configuration Memory Role configuration Area that can be directly accessed •...
Page 281
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 (Set the items indicated with for each axis.) Pr.150 •...
Page 282
7 MEMORY CONFIGURATION AND DATA PROCESS MELSEC-Q User accesses Data is backed up here. here. Buffer memory Flash ROM Parameter area Parameter area Positioning data area Positioning data area (No.1 to 600) (No.1 to 600) Copy Block start data area Block start data area (No.7000 to 7004) (No.
7 MEMORY CONFIGURATION AND DATA PROCESS MELSEC-Q 7.1.2 Buffer memory area configuration The QD75 buffer memory is configured of the following types of areas. Buffer memory address 1 Writing Buffer memory area configuration possibility Axis 1 Axis 2 Axis 3 Axis 4 Basic parameter area 0 to 15...
7 MEMORY CONFIGURATION AND DATA PROCESS MELSEC-Q 7.2 Data transmission process The data is transmitted between the QD75 memories with steps (1) to (8) shown below. The data transmission patterns numbered (1) to (8) on the right page correspond to the numbers (1) to (8) on the left page.
Page 285
7 MEMORY CONFIGURATION AND DATA PROCESS MELSEC-Q (1) Transmitting data when power is turned ON or CPU module is reset When the power is turned ON or the CPU module is reset, the "parameters", "positioning data" and "block start data" stored (backed up) in the flash ROM is transmitted to the buffer memory.
Page 286
7 MEMORY CONFIGURATION AND DATA PROCESS MELSEC-Q Peripheral device (6) Flash ROM write request CPU module (6) Flash ROM write request (5) Flash ROM write (Set "1" in with TO instruction) Cd.1 QD75 Buffer memory Parameter area (a) Pr.1 to Pr.7 Parameter area (a) Pr.11...
Page 287
7 MEMORY CONFIGURATION AND DATA PROCESS MELSEC-Q (5) Flash ROM write ( 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)" and "block start data (No. 7000 to 7004)"...
Page 288
7 MEMORY CONFIGURATION AND DATA PROCESS MELSEC-Q QD75 Buffer memory Parameter area (a) Pr.1 Pr.7 Parameter area (a) Pr.11 Pr.24 Parameter area (b) Pr.43 Pr.57 Pr.150 Positioning data area (No.1 to 600) Parameter area (b) Block start data area Pr.10 Pr.8 (No.7000 to 7004) Pr.25...
Page 289
7 MEMORY CONFIGURATION AND DATA PROCESS MELSEC-Q (7) 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 290
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 sequence program Write positioning data into buffer...
Page 291
PART 2 CONTROL DETAILS AND SETTING PART 2 is configured for the following purposes (1) to (3). (1) To understand the operation and restrictions of each control. (2) To carry out the required settings in each control. (3) To deal with errors. The required settings in each control include parameter setting, positioning data setting, control data setting by a sequence program, etc.
Page 293
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.
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 QD75 issues a "OPR request"...
Page 295
8 OPR CONTROL MELSEC-Q OPR sub functions Refer to Section 3.2.4 "Combination of QD75 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.
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).
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 six methods that can be used for this OPR method.
Page 298
8 OPR CONTROL MELSEC-Q The following shows the external I/O signals used for machine OPR. Signal required for control Pr.43 Torque limit OPR method Near-point Upper/lower Deviation counter Zero signal limit switches clear output Near-point dog mechod – – Stopper method 1) Stopper method 2) –...
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 300
8 OPR CONTROL MELSEC-Q Restrictions A pulse generator with a zero signal is required. When using a pulse generator without a zero signal, generate a zero signal using an external signal. Precautions during operation (1) An error "Start at OP (error code: 201)" will occur if another machine OPR is attempted after a machine OPR completion when the OPR retry function is not set Pr.48 ("0"...
8 OPR CONTROL MELSEC-Q 8.2.4 OPR method (2): Stopper method 1) The following shows an operation outline of the "stopper method 1)" OPR method. Operation chart The machine OPR is started. Pr.51 (The machine begins the acceleration designated in " OPR acceleration time selection", in the direction designated in Pr.44 Pr.46...
Page 302
8 OPR CONTROL MELSEC-Q Restrictions Always limit the servomotor torque after the " Pr.47 Creep speed" is reached. If the torque is not limited, the servomotor may fail when the machine presses against the stopper. (Refer to Section 12.4.2 "Torque limit function".) Precautions during operation Pr.49 (1) Set a value in the "...
Page 303
8 OPR CONTROL MELSEC-Q (3) If the " Pr.49 OPR dwell time" elapses before the stop at the stopper, the workpiece will stop at that position, and that position will be regarded as the OP. At this time, an error will not occur. Pr.46 OPR speed Pr.47 Creep speed...
8 OPR CONTROL MELSEC-Q 8.2.5 OPR method (3): Stopper method 2) The following shows an operation outline of the "stopper method 2)" OPR method. Operation chart The machine OPR is started. Pr.51 (The machine begins the acceleration designated in " OPR acceleration time selection", in the direction designated in Pr.44 Pr.46...
Page 305
8 OPR CONTROL MELSEC-Q Restrictions Pr.47 (1) Always limit the servomotor torque after the " Creep speed" is reached. If the torque is not limited, the servomotor may fail when the machine presses against the stopper. (Refer to Section 12.4.2 "Torque limit function".) (2) Use an external input signal as the zero signal.
Page 306
8 OPR CONTROL MELSEC-Q (2) If the zero signal is input before the workpiece stops at the stopper, the workpiece will stop at that position, and that position will be regarded as the OP. Pr.46 OPR speed Pr.47 Creep speed Stopper Zero signal Valid torque limit range...
8 OPR CONTROL MELSEC-Q 8.2.6 OPR method (4): Stopper method 3) The following shows an operation outline of the "stopper method 3)" OPR method. The "stopper method 3)" method is effective when a near-point dog has not been installed. Pr.47 (Note that the operation is carried out from the start at the "...
Page 308
8 OPR CONTROL MELSEC-Q Restrictions (1) Always limit the servomotor torque after the " Pr.47 Creep speed" is reached. If the torque is not limited, the servomotor may fail when the machine presses against the stopper. (Refer to Section 12.4.2 "Torque limit function".) (2) Use an external input signal as the zero signal.
8 OPR CONTROL MELSEC-Q 8.2.7 OPR method (5): Count method1) The following shows an operation outline of the "count method 1)" OPR method. In the "count method 1)", machine OPR can be performed even in the following situations: • when near-point dog is ON •...
Page 310
8 OPR CONTROL MELSEC-Q Restrictions A pulse generator with a zero signal is required. When using a pulse generator without a zero signal, generate a zero signal using an external signal. Precautions during operation (1) An error "Count method movement amount fault" (error code: 206) will occur and the operation will not start if the "...
Page 311
8 OPR CONTROL MELSEC-Q (4) Turn OFF the near-point dog at a sufficient distance from the OP. Although there is no harm in operation if the near-point dog is turned OFF during a machine OPR, it is recommended to leave a sufficient distance from the OP when the near-point dog is turned OFF for the following reason.
8 OPR CONTROL MELSEC-Q 8.2.8 OPR method (6): 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.) In the "count method 2)", as well as in the "count method 1)", machine OPR can be performed even in the following situations:...
Page 313
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 1ms occurs in taking in the near-point dog ON. Precautions during operation (1) An error "Count method movement amount fault"...
Page 314
8 OPR CONTROL MELSEC-Q (5) When a machine OPR is stopped with the stop signal, perform a machine OPR again. If the restart command is turned ON after a stop with the stop signal, an error "OPR restart not possible" (error code: 209) occurs. 8 - 22...
8 OPR CONTROL MELSEC-Q 8.3 Fast OPR 8.3.1 Outline of the fast OPR operation Fast OPR operation After establishing OP position by a machine OPR, positioning control to the OP position is executed without using a near-point dog or a zero signal. The following shows the operation during a fast OPR start.
Page 316
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] BUSY signal [XC,XD,XE,XF] Start complete signal [X10,X11,X12,X13] Standby Standby Position control Md.26 Axis operation status Output pulse to external source...
Page 317
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"...
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 QD75. 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 319
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.
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, Operation pattern Da.1 No.
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 322
9 MAJOR POSITIONING CONTROL MELSEC-Q [1] Independent positioning control (Positioning complete) This control is set when executing only one designated data item of positioning. If a dwell time is designated, the positioning will complete after the designated time elapses. This data (operation pattern [00] data) becomes the end of block data when carrying out block positioning.
Page 323
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 QD75 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 324
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 running positioning data and the command speed of the positioning data that will run next. The speed is not changed if the current speed and the next speed are equal.
Page 325
9 MAJOR POSITIONING CONTROL MELSEC-Q In continuous path control, the positioning may be completed before the set address/movement amount by the distance , and the data may switch to the "positioning data that will run next". The value of the distance is as follows: •...
Page 326
9 MAJOR POSITIONING CONTROL MELSEC-Q (2) Deceleration stop conditions during continuous path control Deceleration stops are basically not carried out in continuous path control, but the machine will carry out a deceleration stop to speed "0" in the following cases (a) to (c). (a) When the operation pattern of the positioning data currently being executed is "continuous path control: 11", and the movement direction of the positioning data currently being executed differs from that of the...
Page 327
9 MAJOR POSITIONING CONTROL MELSEC-Q (b) During operation by step operation. (Refer to Section 12.7.1 "Step function".) (c) When there is an error in the positioning data to carry out the next operation. POINTS (1) The movement direction is not checked during interpolation operations. Thus, automatic deceleration to a stop will not be carried out even if the movement direction is changed (See the figures below).
Page 328
9 MAJOR POSITIONING CONTROL MELSEC-Q (3) Speed handling (a) Continuous path control command speeds are set with each positioning data. The QD75 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 329
9 MAJOR POSITIONING CONTROL MELSEC-Q (4) Speed switching Pr.19 (Refer to " Speed switching mode".) The two modes for changing the speed are shown below. • Standard switching………Switch the speed when executing the next positioning data. • Front-loading switching..The speed switches at the end of the positioning data currently being executed.
Page 330
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 331
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.
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...
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 QD75. 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 334
9 MAJOR POSITIONING CONTROL MELSEC-Q Restrictions A 0.9ms (QD75P N /QD75D N) or 1.8ms (QD75P /QD75D ) error will occur in the current value update timing when the stored "current feed value" is used in the control. A 0.9ms (QD75P N /QD75D N) or 56.8ms (QD75P /QD75D ) error will occur in the current value update timing when the stored "machine feed value"...
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 The address of “ Md.20 Current feed value”...
Page 336
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 337
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 338
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 339
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 340
9 MAJOR POSITIONING CONTROL MELSEC-Q Starting the interpolation control The positioning data Nos. of the reference axis (axis in which interpolation control was set in " Da.2 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 341
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".
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 set differ according to the " Da.2 Control system".
Page 343
9 MAJOR POSITIONING CONTROL MELSEC-Q REMARK • It is recommended that the "positioning data" be set whenever possible with GX Configurator-QP. Execution by sequence program uses many sequence programs and devices. The execution becomes complicated, and the scan times will increase. Major positioning control Other control Current value...
9 MAJOR POSITIONING CONTROL MELSEC-Q 9.2.2 1-axis linear control In "1-axis linear control" (" Da.2 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, positioning is carried out from the current Da.6...
Page 345
9 MAJOR POSITIONING CONTROL MELSEC-Q [2] 1-axis linear control (INC linear 1) Operation chart In incremental system 1-axis linear control, positioning of movement amount set in Da.6 " Positioning address/movement amount" is carried out from the current stop position (start point address). The movement direction is determined by the sign of the movement amount.
9 MAJOR POSITIONING CONTROL MELSEC-Q 9.2.3 2-axis linear interpolation control In "2-axis linear interpolation control" (" Da.2 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 347
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 348
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, designated 2 axes are used. Linear interpolation positioning of movement amount set in " Da.6 Positioning address/movement amount" is carried out from the current stop position (start point address).
Page 349
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 )"...
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 351
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 352
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 353
9 MAJOR POSITIONING CONTROL MELSEC-Q [2] 3-axis linear interpolation control (INC linear 3) Operation chart In incremental system 3-axis linear interpolation control, designated 3 axes are Da.6 used. Linear interpolation positioning of movement amount set in " Positioning address/movement amount" is carried out from the current stop position (start point address).
Page 354
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 355
9 MAJOR POSITIONING CONTROL MELSEC-Q POINTS (1) 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 Pr.8 set as the reference axis, the major axis side speed may exceed the " Speed limit value".
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 357
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 358
9 MAJOR POSITIONING CONTROL MELSEC-Q [2] 4-axis linear interpolation control (INC linear 4) Operation chart In incremental system 4-axis linear interpolation control, designated 4 axes are Da.6 used. Linear interpolation positioning of movement amount set in " Positioning address/movement amount" is carried out from the current stop position (start point address).
Page 359
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.
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 361
9 MAJOR POSITIONING CONTROL MELSEC-Q POINT • When the movement amount is converted to the actual number of output pulses, a fraction appears after the decimal point, according to the movement amount per pulse. This fraction is normally retained in the QD75 and reflected at the next positioning.
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 363
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 364
9 MAJOR POSITIONING CONTROL MELSEC-Q POINTS (1) When the movement amount is converted to the actual number of output pulses, a fraction appears after the decimal point, according to the movement amount per pulse. This fraction is normally retained in the QD75 and reflected at the next positioning. For the fixed-feed control, since the movement distance is maintained constant (= the output number of pulses is maintained constant), the control is carried out after the fractional pulse is cleared to zero at start.
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 366
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 position at the end of the movement amount set in "...
Page 367
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) If the movement amount of each axis exceeds "1073741824 (=2 )"...
Page 368
9 MAJOR POSITIONING CONTROL MELSEC-Q Axis 1 Axis 2 Axis 3 Axis (reference (interpolation (interpolation Setting details axis) setting axis) setting axis) setting Setting item example example example Positioning Set "Positioning complete" assuming the next Da.1 Operation pattern – – complete positioning data will not be executed.
Page 369
9 MAJOR POSITIONING CONTROL MELSEC-Q POINTS (1) When the movement amount is converted to the actual number of output pulses, a fraction appears after the decimal point, according to the movement amount per pulse. This fraction is normally retained in the QD75 and reflected at the next positioning. For the fixed-feed control, since the movement distance is maintained constant (= the output number of pulses is maintained constant), the control is carried out after the fractional pulse is cleared to zero at start.
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 371
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 372
9 MAJOR POSITIONING CONTROL MELSEC-Q POINTS (1) When the movement amount is converted to the actual number of output pulses, a fraction appears after the decimal point, according to the movement amount per pulse. This fraction is normally retained in the QD75 and reflected at the next positioning. For the fixed-feed control, since the movement distance is maintained constant (= the output number of pulses is maintained constant), the control is carried out after the fractional pulse is cleared to zero at start.
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 374
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 375
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 376
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 Da.6 address) to a position at the end of the movement amount set in "...
Page 377
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" • When the units set in " Pr.1 Unit setting" are different for the reference axis and interpolation axis.
Page 378
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.
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 an arc address as a center point, while carrying out interpolation for the axis directions set in each axis.
Page 380
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 center point address may deviate from Da.6 the position of the end point address set in " Positioning address/movement amount".
Page 381
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, positioning is carried out from the current stop position (start point address) to the address (end point address) set in "...
Page 382
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 383
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 384
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, 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 385
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 386
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.
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 388
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 389
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 item Setting example Setting details Positioning Setting other than "Positioning complete"...
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 391
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 392
9 MAJOR POSITIONING CONTROL MELSEC-Q Note: Operation runs at speed 1 when a reference axis speed is less than 1 as a result of speed limit. In addition, when a bias speed is set, it will be the minimum speed. (5) An error "No command speed"...
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 394
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.) "...
Page 395
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 396
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...
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 398
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. Md.31 The "in speed control" flag ( Status: b0) is turned ON during speed control. The "positioning complete signal"...
Page 399
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.) "...
Page 400
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 401
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...
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 403
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 404
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 405
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 Pr.21 speed/position"...
Page 406
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] Standby Position control Standby Md.26...
Page 407
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. "...
9 MAJOR POSITIONING CONTROL MELSEC-Q Changing the position control movement amount In "speed-position switching control (INC mode)", the position control movement amount can be changed during the speed control section. (1) The "new movement amount" is stored in " Cd.23 Speed-position switching control movement amount change register"...
Page 409
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 sequence 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 410
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 411
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 412
9 MAJOR POSITIONING CONTROL MELSEC-Q Switching over from speed control to position control (1) The control is switched over from speed control to position control by executing the external command signal set in "speed-position switching signal". (2) Besides setting the positioning data, the " Cd.24 Speed-position switching enable flag"...
Page 413
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 414
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 415
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) M code OFF request Cd.7 Start complete signal [X10,X11,X12,X13] Md.26 Axis operation status Standby Speed control...
Page 416
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 417
9 MAJOR POSITIONING CONTROL MELSEC-Q Restrictions (1) The 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". (2) "Speed-position switching control" cannot be set in " Da.2 Control system"...
Page 418
9 MAJOR POSITIONING CONTROL MELSEC-Q 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 Set "Positioning complete"...
Page 419
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 420
9 MAJOR POSITIONING CONTROL MELSEC-Q Operation chart The following chart shows the operation timing for position-speed switching control. Md.31 The "in speed control" flag ( Status: b0) is turned ON during speed control of position-speed switching control. Da. 8 Command speed Position Speed control control...
Page 421
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) M code OFF request Cd. 7 Start complete signal [X10,X11,X12,X13] Standby Position control Speed control Stopped Md.26...
Page 422
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"...
9 MAJOR POSITIONING CONTROL MELSEC-Q Changing the speed control command speed In "position-speed switching control", the speed control command speed can be changed during the position control. (1) The speed control command speed can be changed during the position control of position-speed switching control.
Page 424
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 sequence 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 425
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.
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 Md.21 by the user.
Page 427
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 +" or "Software stroke limit –" (error code: 507 or 508) will occur at the positioning start, and the operation will not start.
Page 428
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 429
9 MAJOR POSITIONING CONTROL MELSEC-Q Setting method for the current value changing function The following shows an example of a sequence program and data setting to change the current value to a new value with the positioning start signal. (The Current feed value is changed to "5000.0 μ...
Page 430
9 MAJOR POSITIONING CONTROL MELSEC-Q (3) Add the following sequence program to the control program, and write it to the CPU module. Example — á Current value changing Store new current feed value in D106 and D107 <Pulsate current value changing command> <Write current value changing to the QD75>...
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"...
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 433
9 MAJOR POSITIONING CONTROL MELSEC-Q (2) Set the JUMP instruction to a positioning data No. whose operation pattern is "Continuous positioning control" or "Continuous path control". The instruction cannot be set to a positioning data No. whose operation pattern is "Positioning complete". (3) Positioning control such as loops cannot be executed by conditional JUMP instructions alone until the conditions have been established.
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.
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 436
9 MAJOR POSITIONING CONTROL MELSEC-Q MEMO 9 - 120...
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"...
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".
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"...
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 441
10 HIGH-LEVEL POSITIONING CONTROL MELSEC-Q Set in QD75 the " block start data" and "condition data" corresponding to the following "block Nos. 7001 to 7004" using GX Configurator-QP or the sequence program. (The following drawing shows an example for axis 1.) 50th point 50th point Buffer memory...
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"...
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 Da.13 according to the "...
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 sequence starting from the positioning data set in " Da.12 Start data No."...
Page 445
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.
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 Da.12 Parameter" is carried out for the positioning data set in " Start data No.". If the conditions have been established, the " block start data" set in "1: condition start" is executed.
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 Da.12 Parameter" is carried out for the positioning data set in " Start data No.". If the 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.
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 449
10 HIGH-LEVEL POSITIONING CONTROL MELSEC-Q [3] Precautions Positioning data No. executed by simultaneously started axes is set to condition Da.18 data (" Parameter 1"," Da.19 Parameter 2", but the setting value of start axis (the axis which carries out positioning start) should be "0". If the setting value Da.18 is set to other than "0", the positioning data set in "...
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 " Da.13 Special start instruction" and the "block start data" in Da.13 which "6: NEXT start"...
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"...
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".
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 454
10 HIGH-LEVEL POSITIONING CONTROL MELSEC-Q The setting requirements and details of the following "condition data" Da.16 Da.15 Da.19 setting items differ according to the " Condition target" setting. The following shows the Da.16 setting items corresponding to the Da.19 Da.15 "...
Page 455
10 HIGH-LEVEL POSITIONING CONTROL MELSEC-Q Judgment whether the condition operator is "=" or "=” at the wait start. Judgment on data is carried out for each control cycle of the QD75. Thus, in the judgment on the data such as current feed value which varies continuously, the operator "="...
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 "XC" (= Axis 1 Busy signal) is OFF Da.16 Da.15 Da.17 Da.18 Da.19 Condition Condition target...
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 458
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 459
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"...
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 sequence 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"...
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 462
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 463
10 HIGH-LEVEL POSITIONING CONTROL MELSEC-Q Creating the program Example Set the block start data beforehand. Positioning start command M104 <Pulse the positioning start command.> M104 <Write the positioning data No. 7000 K1500 K7000 for block positioning.> <Write the positioning start point No.> K1501 <Turn ON the positioning start signal.>...
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 QD75.
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 source. The three types of this "manual control"...
Page 467
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.
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 469
11 MANUAL CONTROL MELSEC-Q Precautions during operation Cd.17 (1) For safety, first set " JOG speed" to a smaller value and check the movement. Then gradually increase the value. (2) The axis error "Outside JOG speed range" (error code: 300) will occur and the operation will not start if the "JOG speed"...
Page 470
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] Md.
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 parameters <Method 1> Pr.1 Pr.39 Refer to Directly set (write) the parameters in the QD75 using GX CHAPTER 5 and Configurator-QP.
11 MANUAL CONTROL MELSEC-Q 11.2.3 Setting the required parameters for JOG operation The "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 473
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)
11 MANUAL CONTROL MELSEC-Q 11.2.4 Creating start programs for JOG operation A sequence 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. Cd.17 ("...
Page 475
11 MANUAL CONTROL MELSEC-Q Start time chart Forward JOG run Reverse JOG run [Y8] Forward run JOG start signal Reverse run JOG start signal [Y9] [Y0] PLC READY signal [X0] QD75 READY signal [XC] BUSY signal [X8] Error detection signal Fig.
Page 476
11 MANUAL CONTROL MELSEC-Q Creating the program — á Example No. 10 JOG operation setting program <Set JOG operation speed (100.00mm/min)> <Set a "0" for inching movement amount> <Write JOG operation speed> No.12 JOG operation/inching operation execution program <JOG/inching operation flag ON> <JOG/inching operation termination>...
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. An error "Stop signal ON at start" (error code 106) will occur if JOG start signal is turned ON while the stop signal is ON.
Page 478
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 479
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"...
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 481
11 MANUAL CONTROL MELSEC-Q Precautions during operation (1) Acceleration/deceleration processing is not carried out during inching operation. (Pulses corresponding to the designated inching movement amount are output at 1.8ms. The movement direction of inching operation is reversed and, when backlash compensation is carried out, first pulses corresponding to the backlash amount are output at 1.8ms and then pulses corresponding to the designated inching movement amount are output in the next 1.8ms.) Cd.17...
Page 482
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] Standby Axis operation Standby JOG operation...
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 parameters. <Method 1> Pr.1 Pr.31 Refer to Directly set (write) the parameters in the QD75 using GX CHAPTER 5 and Section 11.3.3.
11 MANUAL CONTROL MELSEC-Q 11.3.3 Setting the required parameters for inching operation The "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.
11 MANUAL CONTROL MELSEC-Q 11.3.4 Creating a program to enable/disable the inching operation A sequence 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 486
11 MANUAL CONTROL MELSEC-Q Start time chart Forward run inching operation Reverse run inching operation Forward run JOG start [Y8] signal Reverse run JOG start [Y9] signal PLC READY signal [Y0] QD75 READY signal [X0] BUSY signal [XC] Error detection signal [X8] Positioning complete [X14]...
Page 487
11 MANUAL CONTROL MELSEC-Q Creating the program — á Example No.11 Inching operation setting program <Set inching movement amount> <Write inching movement amount> No.12 JOG operation/inching operation execution program <JOG/inching operation flag ON> <JOG/inching operation termination> <Execute forward JOG/inching operation> <Execute reverse JOG operation>...
11 MANUAL CONTROL MELSEC-Q 11.3.5 Inching operation example When executing inching operation while stop signal is turned ON: If the JOG start signal is turned ON while the stop signal is ON, an error "Stop signal ON at start" (error code: 106) will occur. The inching operation can be re-started when the stop signal is turned OFF and the JOG start signal is turned OFF and then turned ON.
Page 489
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. Forward run inching JOG operation not operation executed...
11 MANUAL CONTROL MELSEC-Q 11.4 Manual pulse generator operation 11.4.1 Outline of manual pulse generator operation Important Cd.21 Create the sequence program so that " Manual pulse generator enable flag" is always set to "0" (disabled) when a manual pulse generator operation is not carried out.
Page 491
11 MANUAL CONTROL MELSEC-Q Restricted items A manual pulse generator is required to carry out manual pulse generator operation. Precautions during operation (1) The speed during manual pulse generator operation is not limited by the Pr.8 " Speed limit value". (2) If the "...
Page 492
11 MANUAL CONTROL MELSEC-Q Operations when stroke limit error occurs When the hardware stroke limit error or the software stroke limit error is detected during operation, the operation will decelerate to a stop. However, " Md.26 Axis operation status" will keep the status "Manual pulse generator operation" in that case.
Page 493
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.
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 parameters <Method 1> Pr.1 Pr.24 Refer to...
11 MANUAL CONTROL MELSEC-Q 11.4.3 Setting the required parameters for manual pulse generator operation The "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.
11 MANUAL CONTROL MELSEC-Q 11.4.4 Creating a program to enable/disable the manual pulse generator operation A sequence 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 497
11 MANUAL CONTROL MELSEC-Q Start time chart Forward run Reverse run Pulse input A phase Pulse input B phase [Y0] PLC READY signal [X0] QD75 READY signal [X10] Start complete signal [XC] BUSY signal Error detection signal [X8] Cd. 21 Manual pulse generator enable flag Cd.
Page 498
11 MANUAL CONTROL MELSEC-Q Creating the program — á Example No.13 Manual pulse generator operation program <Pulsate manual pulse generator operation command> <Set manual pulse generator input scale per pulse> <Write manual pulse generator operation enable> <Write data for manual pulse generator> <Turn ON manual pulse generator operating flag>...
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.
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 sequence programs, etc.
Page 501
3 "The 16-point input module", "16-point output module", and "the drive unit capable of configuring an absolute position detection system (, which is a Mitsubishi General-Purpose AC Servo and has an absolute position detection function (absolute position data transference protocol) equivalent to that of MR-J3- A)" are required to execute the "absolute position restoration function".
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 503
12 CONTROL SUB FUNCTIONS MELSEC-Q (2) OPR retry operation when the workpiece is outside the range between the upper/lower limits. (a) 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 504
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/lower limits and when the machine OPR is executed after the near point dog is turned OFF to stop the operation.
Page 505
12 CONTROL SUB FUNCTIONS MELSEC-Q [2] Control Precautions (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 Stopper method 1) : Execution possible 1 Stopper method 2)
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 507
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 508
12 CONTROL SUB FUNCTIONS MELSEC-Q (2) OP shift operation at the " Pr.47 Creep speed" Pr.56 (When " 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 509
12 CONTROL SUB FUNCTIONS MELSEC-Q REMARK • Parameters are set for each axis. • It is recommended that the parameters be set whenever possible with GX Configurator-QP. Execution by sequence program uses many sequence programs and devices. The execution becomes complicated, and the scan times will increase.
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", "near pass function", and "output timing selection of near pass control". Each function is executed by parameter setting or sequence program creation and writing.
Page 511
12 CONTROL SUB FUNCTIONS MELSEC-Q [2] Control Precautions (1) The feed pulses of the backlash compensation amount are not added to the Md.20 Md.21 " Current feed value" or " Machine feed value". (2) Always carry out a machine OPR before starting the control when using the Pr.11 backlash compensation function (when "...
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 QD75 with the actual machine movement amount. The "electronic gear function" has the following four functions. [A] The function converts the command value (speed, movement amount), which is set in mm units, to pulse units, and determines the pulse frequency and pulse number of the command pulse.
Page 513
12 CONTROL SUB FUNCTIONS MELSEC-Q [1] Movement amount per pulse Pr.2 Pr.3 " No. of pulses per rotation (Ap)", " Movement amount per rotation Pr.4 (Al)", and " Unit magnification (Am)" are the items for determining how many rotations (equivalent to how many pulses) a motor should operate to move a machine for movement amount set in a program.
Page 514
12 CONTROL SUB FUNCTIONS MELSEC-Q POINT The command frequency from the QD75 is limited by a ceiling. If the command frequency exceeds the upper limit, increase the "Movement amount per pulse (A)" greater (N times) to decrease the command frequency. In this case, the electronic gear on the drive unit must be increased by N times as well.
Page 515
12 CONTROL SUB FUNCTIONS MELSEC-Q [2] Error compensation method When position control is carried out by the "movement amount per pulse" set in the QD75 parameters, an error sometimes occurs between the command movement amount (L) and the actual movement amount (L'). That error is compensated in the QD75 by adjusting the values in "...
Page 516
12 CONTROL SUB FUNCTIONS MELSEC-Q Calculation example (Conditions) Movement amount per pulse : 500 ( μ m/rev) No. of pulses per rotation : 12000 (pulse/rev) Unit magnification (Positioning results) Command movement amount : 100mm Actual movement amount : 101mm (Compensation amount) 5 ×...
Page 517
12 CONTROL SUB FUNCTIONS MELSEC-Q [3] Control Precautions It is recommended that the "movement amount per pulse (A)" be set to a value close to "1" for the following reasons. The "movement amount per pulse" of "1" means the minimum value in each " Pr.1 Unit setting". (0.1 [ μ m] for the unit [mm]) (1) When the setting of the movement amount per pulse is decreased, the command frequency may increase.
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 519
12 CONTROL SUB FUNCTIONS MELSEC-Q Control Precautions (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) The movement direction is not checked during interpolation operation. Therefore, a deceleration stops are not carried out even the movement direction changes.
12 CONTROL SUB FUNCTIONS MELSEC-Q 12.3.4 Output timing selection of near pass control The function "output timing selection of near pass control" allows the user to select the timing to output the difference ( ) between the actual and the set positioning end addresses in continuous path control, in which the difference ( ) is output during the execution of the next positioning data.
Page 521
12 CONTROL SUB FUNCTIONS MELSEC-Q [Acceleration and deceleration as in a setting] Positioning data Positioning data Speed No.1 No.2 Distance QD75P N/QD75D N: Less than 0.9ms Time QD75P /QD75D : Less than 1.8ms [Actual acceleration and deceleration through the near pass function] Speed Positioning data Positioning data...
Page 522
12 CONTROL SUB FUNCTIONS MELSEC-Q [2] Control precautions When command speed V1 and V2 are in the condition 1) or 2) below, the command output is that of "At constant speed" even though "At deceleration" was selected. 1) When "V1 V2"...
Page 523
12 CONTROL SUB FUNCTIONS MELSEC-Q [3] Setting method To use the function "output timing selection of near pass control", set the following control data in a sequence program. The set detail is validated at the rising edge (OFF ON) of the PLC READY signal (Y0).
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", and "hardware stroke limit". Each function is executed by parameter setting or sequence program creation and writing. 12.4.1 Speed limit function The "speed limit function"...
Page 525
12 CONTROL SUB FUNCTIONS MELSEC-Q [2] Control precautions Pr.8 If any axis exceeds " 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.
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 527
12 CONTROL SUB FUNCTIONS MELSEC-Q POINT The QD75 monitors the creep speed reach during the OPR control and updates the " Md.35 Torque limit stored value" to the " OPR torque limit value". Pr.54 Monitoring this value prevents the need to monitor the creep speed reach by the program.
Page 528
12 CONTROL SUB FUNCTIONS MELSEC-Q [3] Control details The following drawing shows the operation of the torque limit function. Various operations PLC READY signal [Y0] Pr.17 Torque limit setting value 100% Cd.22 New torque value Torque limited at the parameter Torque limited at the parameter torque limit setting value (100%) torque limit setting value (50%)
Page 529
12 CONTROL SUB FUNCTIONS MELSEC-Q [5] Setting method (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 QD75. The set details are validated at the rising edge (OFF ON) of the PLC READY signal (Y0).
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/lower limits of the moveable range of the workpiece. Movement commands issued to addresses outside that setting range will not be executed. In the QD75, the "current feed value"...
Page 531
12 CONTROL SUB FUNCTIONS MELSEC-Q The following drawing shows the differences in the operation when " Md.20 Md.21 Current feed value" and " 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 532
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 An error "Software stroke limit range stroke limit +" or (Check "...
Page 533
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 534
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 method To use the "software stroke limit function", set the required values in the parameters shown in the following table, and write them to the QD75.
Page 535
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.19 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 °...
12 CONTROL SUB FUNCTIONS MELSEC-Q 12.4.4 Hardware stroke limit function WARNING 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 537
12 CONTROL SUB FUNCTIONS MELSEC-Q [2] Wiring the hardware stroke limit When using the hardware stroke limit function, wire the terminals of the QD75 upper/lower limit stroke limit as shown in the following drawing. (When " Pr.22 Input signal logic selection" is set to the initial value) QD75 24VDC Note) Connect the upper/lower limit switches to the directions of increasing and decreasing current...
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 sequence program creation and writing.
Page 539
12 CONTROL SUB FUNCTIONS MELSEC-Q [2] Control precautions (1) Control is carried out as follows at the speed change during continuous path control. a) When no speed designation (current speed) is provided in the next positioning data: Cd.14 The next positioning data is controlled at the " New speed value".
Page 540
12 CONTROL SUB FUNCTIONS MELSEC-Q (4) When the speed is changed by setting " Cd.14 New speed value" to "0", the operation is carried out as follows. • When " Cd.15 Speed change request" is turned ON, the speed change 0 Md.31 flag ( Status: b10) turns ON.
Page 541
12 CONTROL SUB FUNCTIONS MELSEC-Q [3] Setting the speed change function from the CPU module The following shows the data settings and sequence program example for changing the control speed of axis 1 from the CPU module. (In this example, the control speed is changed to "20.00mm/min".) (1) Set the following data.
Page 542
12 CONTROL SUB FUNCTIONS MELSEC-Q (3) Add the following sequence program to the control program, and write it to the CPU module. — á Example No.14 Speed change program <Pulsate speed change command> <Hold speed change command> <Set speed change value (20.00mm/min)>...
Page 543
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 sequence 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 544
12 CONTROL SUB FUNCTIONS MELSEC-Q (3) Add the following sequence program to the control program, and write it to the CPU module. Example Write 1000000 to D108 and D109. External command valid signal [Speed change processing] DTOP K1514 D108 <Write the new speed. > <Set the external command function selection to external speed change request.
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 Cd.13 changed in "...
Page 546
12 CONTROL SUB FUNCTIONS MELSEC-Q [2] Control precautions (1) When changing the speed by the "override function" 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 by the "override function"...
Page 547
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] QD75 READY signal [X0] [X10] Start complete signal [XC] BUSY signal [X14] Positioning complete signal [X8]...
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 by the "speed change function" and "override 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 549
12 CONTROL SUB FUNCTIONS MELSEC-Q [1] Control details After setting the following two items, carry out the speed change to change the acceleration/deceleration time during the speed change. • Set change value of the acceleration/deceleration time (" Cd.10 acceleration time value", " Cd.11 New deceleration time value") •...
Page 550
12 CONTROL SUB FUNCTIONS MELSEC-Q [2] Control precautions 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 551
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 552
12 CONTROL SUB FUNCTIONS MELSEC-Q Example No.16 Acceleration/deceleration time change program <Pulsate acceleration/deceleration time change command> <Set 2000ms for acceleration time> <Set 0 (not change) for deceleration time> <Acceleration/deceleration time change enable setting> <Write acceleration/deceleration time change enable> <Write acceleration/deceleration time change disable>...
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 554
12 CONTROL SUB FUNCTIONS MELSEC-Q [2] Control precautions (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 " Pr.17 Torque limit setting value", set the "...
12 CONTROL SUB FUNCTIONS MELSEC-Q 12.5.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 turning ON "...
Page 556
12 CONTROL SUB FUNCTIONS MELSEC-Q [2] Control precautions (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.32 (c).) (2) If a command speed exceeding the speed limit value is set to change the command speed, the warning "Speed limit value over"...
Page 557
12 CONTROL SUB FUNCTIONS MELSEC-Q [3] Setting method The following table and chart show the example of a data setting and program used to change the target position of the axis 1 by the command from CPU module, respectively." (In this example, the target position and command speed is changed to "300.0 m"...
Page 558
12 CONTROL SUB FUNCTIONS MELSEC-Q (3) The following program is added to the control program, and written to the CPU module. Example No.21 Target position change program <Pulsate target position change command> <Hold target position change command> <Set target position change value 300.0 m (address)>...
12 CONTROL SUB FUNCTIONS MELSEC-Q 12.6 Absolute position restoration function CAUTION An absolute position restoration by the positioning function may turn off the servo-on signal (servo off) for approximately 60ms + scan time, and the motor may run unexpectedly. If this causes a problem, provide an electromagnetic brake to lock the motor during absolute position restoration.
Page 560
Prepare the absolute position detection system taking care of the following. Component Details 1) Servo amplifier • Use a Mitsubishi General-Purpose AC Servo which has an absolute position detection function (absolute position data transference protocol) equivalent to that of MR-J3- A). • Install the battery to the servo amplifier.
Page 561
12 CONTROL SUB FUNCTIONS MELSEC-Q [2] Outline of absolute position detection data communication As shown in Fig. 12.35 System block diagram, the detector comprises an encoder for detecting its position in one rotation in addition to the A, B, Z phase signal for position control in normal operation and a cumulative rotation counter for detecting the number of rotations.
Page 562
12 CONTROL SUB FUNCTIONS MELSEC-Q [3] Absolute position signal transmission procedure (1) Figure 12.36 shows the outline of the absolute position signal transmission procedure between the servo amplifier and the programmable controller system (CPU module, QD75, I/O module). Refer to the operation manual of the servo amplifier for details on the communication between the servo amplifier and the programmable controller system.
Page 563
12 CONTROL SUB FUNCTIONS MELSEC-Q (3) Connection example The following diagram shows the example of connection between the programmable controller system and the Mitsubishi Electric servo amplifier (MR-J3-A). <Programmable controller system> <Servo amplifier> QCPU MR-J3-A QD75 ABS transmission data bit 0...
Page 564
12 CONTROL SUB FUNCTIONS MELSEC-Q The following drawing shows an operation when data is transferred to the servo amplifier. ABRST "ABRST " is executed continuously until "S+4" becomes 0. Values other than 0 (the phase numbers of absolute position restoration) is S+4 (Status) stored after the process starts.
Page 565
12 CONTROL SUB FUNCTIONS MELSEC-Q 4) The servo amplifier outputs the ABS lower 2 bits and ABS transmission data ready (ABST) OFF by the ABS request (ABSR). 5) After recognizing that the ABS transmission data ready (ABST) turned OFF (the ABS2bit data is output), QD75 reads the lower 2bits of ABS and turns OFF the ABS request (ABSR).
Page 566
12 CONTROL SUB FUNCTIONS MELSEC-Q [4] Control precautions (1) When an absolute position detection system is constructed, absolute position restoration must be made at least once after power supply on or resetting. Also, the servo amplifier does not switch on unless the absolute position restoration is completed.
Page 567
12 CONTROL SUB FUNCTIONS MELSEC-Q [Calculation of positioning address and concept of absolute position detection system] Use the following expression to calculate the positioning address. (Positioning address) = (movement amount per pulse) (number of output pulses) + (OP address)..........Expression 1 1.
Page 568
12 CONTROL SUB FUNCTIONS MELSEC-Q Example 2. (1) Using Expression 1, calculate the positioning address which can be specified in the system where the OP address in Example 1 is 214740000.0 (μm). • Lower limit value of positioning address (Positioning address) =0.1 (-268435456) + 214740000.0 =187896454.4 (μm) •...
Page 569
12 CONTROL SUB FUNCTIONS MELSEC-Q (3) Since the upper/lower limit values of the positioning address calculated are outside of the range of Condition 2, use the positioning address within the positioning range of Condition 2 (-214748364.8(μm) to 214748364.7(μm)). Unit: μm -241591910.4 -214748364.8 214748364.7...
12 CONTROL SUB FUNCTIONS MELSEC-Q 12.7 Other functions Other functions include the "step function", "skip function", "M code output function", "teaching 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". Each function is executed by parameter setting or sequence program creation and writing.
Page 571
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 572
12 CONTROL SUB FUNCTIONS MELSEC-Q [4] Using the step operation The following shows the procedure for checking positioning data using the step operation. Start Turn ON the step valid flag. Write "1" (carry out step operation) in " Cd.35 Step valid flag". Set the step mode.
Page 573
12 CONTROL SUB FUNCTIONS MELSEC-Q [5] Control details (1) The following drawing shows a step operation during a "deceleration unit step". Step valid flag Cd.35 Positioning start signal [Y10,Y11,Y12,Y13] BUSY signal [XC,XD,XE,XF] Positioning complete signal [X14,X15,X16,X17] Dwell time Positioning No.10 No.11 Positioning data No.
Page 574
12 CONTROL SUB FUNCTIONS MELSEC-Q [6] Control precautions (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 "...
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 576
12 CONTROL SUB FUNCTIONS MELSEC-Q [3] Setting the skip function from the CPU module The following shows the settings and sequence program example for skipping the control being executed in axis 1 with a command from the CPU module. (1) Set the following data. (The setting is carried out using the sequence program shown below in section (2)).
Page 577
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 sequence 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.
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 579
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 580
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 to m3 indicate set M codes.
Page 581
12 CONTROL SUB FUNCTIONS MELSEC-Q [4] Setting method 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 QD75.
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, and manual pulse generator operation) in the Da.6 Da.7 positioning data addresses (" Positioning address/movement amount", " Arc address").
Page 583
12 CONTROL SUB FUNCTIONS MELSEC-Q [2] Control precautions (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 584
12 CONTROL SUB FUNCTIONS MELSEC-Q [4] Teaching procedure The following shows the procedure for a teaching operation. (1) When teaching to the " Positioning address/movement amount" Da.6 (Teaching example on axis 1) Start Perform machine OPR on axis 1 Move the workpiece to the target position using a manual Using a JOG operation, inching operation, or manual pulse generator.
Page 585
12 CONTROL SUB FUNCTIONS MELSEC-Q Da.7 (2) When entering teaching data into " Arc address" and then into " Da.6 Positioning address/movement amount" (Teaching example for 2- axis circular interpolation control with sub point designation on axes 1 and 2) Start Carry out a machine OPR.
Page 586
12 CONTROL SUB FUNCTIONS MELSEC-Q Teaching arc end point address Entering teaching data to buffer memory address [1648] and [1649], on axis 2. in the same fashion as for axis 1. End teaching? Turn OFF the PLC READY signal [Y0]. Carry out a writing request to Set 1 in buffer memory address [1900].
Page 587
12 CONTROL SUB FUNCTIONS MELSEC-Q [5] Teaching program example The following shows a sequence program example for setting (writing) the positioning data obtained with the teaching function to the QD75. (1) Setting conditions • When setting the current feed value as the positioning address, write it when the BUSY signal is OFF.
Page 588
12 CONTROL SUB FUNCTIONS MELSEC-Q Carry out the teaching operation with the following program. Example No.19 Teaching program Position to the target position with manual operation. <Pulsate teaching command> <Hold teaching command> <Set teaching data> <Set positioning data No.> <Execute teaching> <Turn OFF teaching command memory>...
12 CONTROL SUB FUNCTIONS MELSEC-Q 12.7.5 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 set a flag to 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 590
12 CONTROL SUB FUNCTIONS MELSEC-Q [2] Control precautions (1) A command in-position width check will not be carried out in the following cases. • During speed control • During speed control in speed-position switching control • During speed control in position-speed switching control Command in-position width setting value Speed to position switching...
Page 591
12 CONTROL SUB FUNCTIONS MELSEC-Q [3] Setting method To use the "command in-position function", set the required value in the parameter shown in the following table, and write it to the QD75. The set details are validated at the rising edge (OFF ON) of the PLC READY signal (Y0).
12 CONTROL SUB FUNCTIONS MELSEC-Q 12.7.6 Acceleration/deceleration processing function The "acceleration/deceleration processing function" adjusts the acceleration/deceleration of each control to the acceleration/deceleration curve suitable for devices. Setting the acceleration/deceleration time changes the slope of the acceleration/deceleration curve. The following two methods can be selected for the acceleration/deceleration curve: •...
Page 593
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 (except for inching operation and manual pulse generator operation). The two types of "acceleration/deceleration method setting"...
Page 594
12 CONTROL SUB FUNCTIONS MELSEC-Q When a speed change request or override request is given during S-curve acceleration/deceleration processing, S-curve acceleration/deceleration processing begins at the start of a speed change request or an override request. When speed change Speed change (acceleration) request is not given Command speed before speed change Speed change request...
12 CONTROL SUB FUNCTIONS MELSEC-Q 12.7.7 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 outputting pulses within 1.3ms (QD75P N/QD75D N) or 3ms (QD75P /QD75D ) after OFF of the execution prohibition flag is detected.
Page 596
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.52 System example using pre-reading start function Fig. 12.52 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 597
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.53 Operation timings of system example The cutter shaft starts from the moment the feed shaft has completed feeding the stock "...
Page 598
12 CONTROL SUB FUNCTIONS MELSEC-Q [2] Control precautions (1) The time required to analyze the positioning data is up to 7ms. (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 599
12 CONTROL SUB FUNCTIONS MELSEC-Q Pre-reading start function (when dedicated instruction PSTRT1 is used) <Turns ON execution prohibition flag> <Sets 1 to positioning start No.> <Executes positioning start> <Turns OFF execution prohibition flag> <Normal termination of positioning> <Sets error code> <Abnormal termination of positioning>...
12 CONTROL SUB FUNCTIONS MELSEC-Q 12.7.8 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 601
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.55.) The following table indicates the operation of the deceleration start flag in the case of the following block start data and positioning data.
Page 602
12 CONTROL SUB FUNCTIONS MELSEC-Q [2] Control precautions (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". (In the case of linear interpolation control, the function is valid for only the reference axis.) Refer to Section 3.2.4 "Combination of QD75 main functions and sub functions".
Page 603
12 CONTROL SUB FUNCTIONS MELSEC-Q [3] Setting method To use the "deceleration start flag function", set "1" to the following control data using a sequence program. The set data is made valid on the rising edge (OFF to ON) of the PLC READY signal [Y0].
12 CONTROL SUB FUNCTIONS MELSEC-Q 12.7.9 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 trapezoidal and S-curve acceleration/deceleration processing methods.
Page 605
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 606
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 sequence program. The set data are made valid as soon as they are written to the buffer memory. The PLC READY signal [Y0] is irrelevant.
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 QD75, 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.
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 sequence programs. The following table shows the functions included in the "common functions". Means Common function Details...
13 COMMON FUNCTIONS MELSEC-Q 13.2 Parameter initialization function The "parameter initialization function" is used to return the setting data set in the QD75 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] Control Precautions...
Page 610
13 COMMON FUNCTIONS MELSEC-Q Important Parameter initialization takes about 10 seconds. (Up to 30 seconds are sometimes required.) Do not turn the power ON/OFF; reset the CPU module, etc., during parameter initialization. If the power is turned OFF or the CPU module is reset to forcibly end the process, the data backed up in the flash ROM will be lost.
13 COMMON FUNCTIONS MELSEC-Q 13.3 Execution data backup function When the QD75 buffer memory data is rewritten from the CPU module, "the data backed up in the QD75 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 programmable controller power is turned OFF.
Page 612
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.
13 COMMON FUNCTIONS MELSEC-Q 13.4 External I/O signal logic switching function This function switches the signal logic according to the external equipment connected to the QD75. For the system in which drive unit READY with 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".
13 COMMON FUNCTIONS MELSEC-Q 13.5 External I/O signal monitor function The "external I/O signal monitor function" monitors the module's information and external I/O signal monitor information in the module's detailed information which can be displayed on the system monitor of GX Developer 1 . The information that can be monitored are the module's information (same as the QD75 front "RUN", "ERR"...
CHAPTER 14 DEDICATED INSTRUCTIONS The QD75 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 QD75 buffer memory address and interlock signal.
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 Z.ABRST1 Z.ABRST2 This function restores the absolute position of the designated Absolute position restoration Section 14.3 axis of the QD75.
Page 617
14 DEDICATED INSTRUCTIONS MELSEC-Q 14.3 Z.ABRST1, Z.ABRST2, Z.ABRST3, Z.ABRST4 These dedicated instructions restore the absolute position of the designated axis. Usable device Internal device Link direct device J \ Intelligent Constant Setting Index File function data register Others register module Word Word K, H...
Page 618
14 DEDICATED INSTRUCTIONS MELSEC-Q [Control data] Setting side Item Device Setting data Setting range ( 1) System area (S)+0 – – – The state at the time of completion is stored. • 0 Complete status : Normal completion (S)+1 – System •...
Page 619
14 DEDICATED INSTRUCTIONS MELSEC-Q (2) An I/O module is used for communication (data read/write) with the servo amplifier capable of processing the absolute positions. When using the Z.ABRST , prepare the input/output with the following number of points, for each axis, for communication with the servo amplifier. •...
Page 620
I/O module) is used, the dedicated instruction (Z.ABRST ) is unusable. (For the sequence program example for use when the dedicated instruction is not used, refer to the Mitsubishi General-Purpose AC Servo "Absolute Position Detection System" Installation Guide.) : For details of the remote I/O station, refer to Q Corresponding MELSECNET/H Network System Reference Manual (Remote I/O Network).
Page 621
14 DEDICATED INSTRUCTIONS MELSEC-Q (6) If the Z.ABRST instruction is executed in either of the following cases, an error "Dedicated instruction error" (error code: 804) will occur and absolute position restoration cannot be carried out. • Any value other than 0 is set to "Status" (device: (S)+4) of the control data (at communication start with servo amplifier).
Page 622
14 DEDICATED INSTRUCTIONS MELSEC-Q 14.4 ZP.PSTRT1, ZP.PSTRT2, ZP.PSTRT3, ZP.PSTRT4 These dedicated instructions are used to start the positioning of the designated axis. Usable device Internal device Link direct device J \ Intelligent Constant Setting Index File function data register Others register module Word...
Page 623
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 624
14 DEDICATED INSTRUCTIONS MELSEC-Q processing processing processing processing Sequence program ZP.PSTRT instruction execution completion ZP.PSTRT instruction When Complete device completed abnormally When Complete state display completed normally device 1 scan [Errors] (1) When an ZP.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 625
14 DEDICATED INSTRUCTIONS MELSEC-Q (5) When the remote I/O station (Q Corresponding MELSECNET/H network remote I/O module) is used, the dedicated instruction (ZP.PSTRT ) is unusable. : For details of the remote I/O station, refer to Q Corresponding MELSECNET/H Network System Reference Manual (Remote I/O Network). (6) If the ZP.PSTRT instruction is executed in either of the following cases, an error "Dedicated instruction error"...
Page 626
14 DEDICATED INSTRUCTIONS MELSEC-Q 14.5 ZP.TEACH1, ZP.TEACH2, ZP.TEACH3, ZP.TEACH4 This dedicated instruction is used to teach the designated axis. Usable device Internal device Link direct device J \ Intelligent Constant Setting File function data Others register module Word Word K, H U \G –...
Page 627
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 628
14 DEDICATED INSTRUCTIONS MELSEC-Q processing processing processing processing Sequence program ZP.TEACH instruction execution completion ZP.TEACH instruction When Complete device completed abnormally When Complete state display completed normally device 1 scan [Errors] (1) When a ZP.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 629
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. (1) Teaching program Positioning is carried out for a target position by manual operation. <Teaching command pulse>...
Page 630
14 DEDICATED INSTRUCTIONS MELSEC-Q 14.6 ZP.PFWRT These dedicated instructions are used to write the QD75 parameters, positioning data and block start data to the flash ROM. Usable device Internal device Link direct device J \ Intelligent Constant Setting Index File function data register...
Page 631
14 DEDICATED INSTRUCTIONS MELSEC-Q [Functions] (1) The ZP.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 ZP.PFWRT instruction is completed, and turned OFF by the next END processing.
Page 632
14 DEDICATED INSTRUCTIONS MELSEC-Q [Precautions] (1) Do not turn ON the power and reset the CPU module while parameters, positioning data and block start data are written to the flash ROM using the ZP.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 633
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. (1) Flash ROM write program <Flash ROM write command pulse> <Flash ROM write command hold> <PLC READY output to QD75 standby>...
Page 634
14 DEDICATED INSTRUCTIONS MELSEC-Q 14.7 ZP.PINIT This dedicated instruction is used to initialize the setting data of the QD75. Usable device Setting Internal device Link direct device J \ Index Constant File data U \G Others register register Word Word K, H –...
Page 635
14 DEDICATED INSTRUCTIONS MELSEC-Q [Functions] (1) This dedicated instruction is used to return the setting data set in the QD75 buffer memory and flash ROM to their factory-set data (initial values). Initialized setting data Parameters ( Pr.1 Pr.57 Pr.150 Positioning data (No. 1 to No. 600) Block start data (No.
Page 636
14 DEDICATED INSTRUCTIONS MELSEC-Q (3) Writing to the flash ROM can be executed up to 100,000 times. If writing to the flash ROM exceeds 100,000 times, the writing may become impossible. (4) After the power ON and CPU module reset operation, writing to the flash ROM using a sequence program is limited to up to 25 times.
Page 637
14 DEDICATED INSTRUCTIONS MELSEC-Q [Program example] The following program initializes the parameters in buffer memory and flash ROM when X3C turns ON. (1) Parameter initialization program <Parameter initialization command pulse> <Parameter initialization command hold> <PLC READY output to QD75 standby> <Parameter initialization execution>...
Page 639
CHAPTER 15 TROUBLESHOOTING The "errors" and "warnings" detected by the QD75 are explained in this chapter. Errors can be confirmed with the QD75 LED display and peripheral devices. When an error or warning is detected, confirm the detection details and carry out the required measures.
Page 640
Reset the CPU module and check that the module is in the normal status. If all LEDs still turn on, the possible cause is a hardware failure. Please consult your local Mitsubishi service center or representative, explaining a detailed description of the problem.
Page 641
15 TROUBLESHOOTING MELSEC-Q (2) Troubleshooting when a motor does not rotate Check items and corrective actions for troubleshooting when a motor does not rotate are described below. POINT The following signals must be ON for the QD75 to operate (excluding when the positioning test function of GX Works2 is used).
Page 642
If a motor does not rotate even after the above items are checked, the possible cause is a hardware failure. Please consult your local Mitsubishi service center or representative, explaining a detailed description of the problem. (3) Troubleshooting when a motor does not rotate as intended.
Page 643
15 TROUBLESHOOTING MELSEC-Q (c) When a motor does not rotate at the set speed Check item Action [When " Md.28 Axis feedrate" indicates the set speed] • Check that the values in " Pr.2 No. of pulses per rotation", " Pr.3 Movement amount per rotation", and "...
Page 644
15 TROUBLESHOOTING MELSEC-Q 15.2 Error and warning details [1] Errors Types of errors Errors detected by the QD75 include parameter setting range errors and errors at the operation start or during operation. (1) 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 645
15 TROUBLESHOOTING MELSEC-Q Error storage When an error occurs, the error detection signal turns ON, and the error code corresponding to the error details is stored in the following buffer memory address Md.23 Axis error No.) for axis error No. storage. Axis No.
Page 646
15 TROUBLESHOOTING MELSEC-Q Warning storage (1) When an axis warning occurs, the warning code corresponding to the warning Md.24 details is stored in the following buffer memory ( Axis warning No.) for axis warning No. storage. Axis No. Buffer memory address 1007 1107 (2) When an axis warning occurs in a positioning operation, etc., "1"...
Page 648
15 TROUBLESHOOTING MELSEC-Q 15.3 List of errors The following table shows the error details and remedies to be taken when an error occurs. Classification Error Error name Error Operation status at error occurrence of errors code — (Normal status) — —...
Page 649
15 TROUBLESHOOTING MELSEC-Q Related buffer memory Set range address Remedy (Setting with sequence program) Axis 1 Axis 2 Axis 3 Axis 4 — — — — — — — — — — — Check that there is no influence from noise. Review the sequence program which turns ON/OFF —...
Page 650
15 TROUBLESHOOTING MELSEC-Q Classification Error Error name Error Operation status at error occurrence of errors code The system stops with the setting (deceleration stop/sudden stop) of the detailed parameter 2 Sudden stop The hardware stroke limit (lower limit selection (stop group 1). signal RLS) is turned OFF during operation.
Page 651
15 TROUBLESHOOTING MELSEC-Q Related buffer memory Set range address Remedy (Setting with sequence program) Axis 1 Axis 2 Axis 3 Axis 4 After making an axis error reset (refer to [3] in Section 15.2), perform manual control operation (refer to —...
Page 652
15 TROUBLESHOOTING MELSEC-Q Classification Error Error name Error Operation status at error occurrence of errors code The OPR request flag is turned ON OPR request ON when a fast-OPR is started The fast OPR is not started. (positioning start No. 9002). The restart command is turned ON OPR restart not after the machine OPR is stopped...
Page 653
15 TROUBLESHOOTING MELSEC-Q Related buffer memory Set range address Remedy (Setting with sequence program) Axis 1 Axis 2 Axis 3 Axis 4 <Positioning start No.> 1 to 600 Execute the machine OPR (positioning No. 9001). 1500 1600 1700 1800 7000 to 7004 (Refer to Section 8.2) 9001 to 9004 <Positioning start No.>...
Page 654
15 TROUBLESHOOTING MELSEC-Q Classification Error Error name Error Operation status at error occurrence of errors code The condition data No. is outside the setting range when a block using the Illegal condition data condition data is started by a special The operation is terminated.
Page 655
15 TROUBLESHOOTING MELSEC-Q Related buffer memory Set range address Remedy (Setting with sequence program) Axis 1 Axis 2 Axis 3 Axis 4 Refer to Section 5.4 <Condition data No.> Review the condition data No. "List of block start data" 1 to 10 (Refer to Section 5.4 Da.14 <Condition operators>...
Page 656
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 657
15 TROUBLESHOOTING MELSEC-Q Related buffer memory Set range address Remedy (Setting with sequence program) Axis 1 Axis 2 Axis 3 Axis 4 <Positioning address/movement amount> • ABS unit [mm] [pulse] [inch] –2147483648 to 2147483647 Unit [degree] 0 to 35999999 • INC Review the positioning address.
Page 658
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 659
15 TROUBLESHOOTING MELSEC-Q Related buffer memory Set range address Remedy (Setting with sequence 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 660
15 TROUBLESHOOTING MELSEC-Q Classification Error Error name Error Operation status at error occurrence of errors code The new current address is outside Outside new current the ranges of 0 to 359.99999, where value range the control unit is set to "degree". •...
Page 661
15 TROUBLESHOOTING MELSEC-Q Related buffer memory Set range address Remedy (Setting with sequence program) Axis 1 Axis 2 Axis 3 Axis 4 1506 1606 1706 1806 <New current value> Bring the new current value into the setting range. 1507 1607 1707 1807 [degree] 0 to 35999999...
Page 662
15 TROUBLESHOOTING MELSEC-Q Classification Error Error name Error Operation status at error occurrence of errors code The command speed is outside the setting range. Linear interpolation, circular interpolation: Command speed Reference axis is outside the setting error setting range. Speed control interpolation: Either of reference axis and interpolation axis is outside the speed range.
Page 663
15 TROUBLESHOOTING MELSEC-Q Related buffer memory Set range address Remedy (Setting with sequence program) Axis 1 Axis 2 Axis 3 Axis 4 <Command speed> QD75P N/QD75D N: 1 to 4000000 [pulse/s] 1 to 2000000000 Command speed storage Correct the command speed. [ ×...
Page 664
15 TROUBLESHOOTING MELSEC-Q Classification Error Error name Error Operation status at error occurrence of errors code • Start point is equal to end point in the circular interpolation with sub points designated. At start: The system will not operate. • End point address is outside the End point setting During operation: range of –2147483648 to...
Page 665
15 TROUBLESHOOTING MELSEC-Q Related buffer memory Set range address Remedy (Setting with sequence program) Axis 1 Axis 2 Axis 3 Axis 4 Correct the end address (positioning address). (Refer to Section 9.2.10) Same as in error codes 525. Refer to Section 5.3 Correct the center point address (arc address).
Page 666
15 TROUBLESHOOTING MELSEC-Q Classification Error Error name Error Operation status at error occurrence of errors code The positioning start is carried out M code ON signal when an M code ON signal (X4 to start X7) is turned ON. The positioning start is carried out PLC READY OFF when the PLC READY signal (Y0) is start...
Page 667
15 TROUBLESHOOTING MELSEC-Q Related buffer memory Set range address Remedy (Setting with sequence program) Axis 1 Axis 2 Axis 3 Axis 4 <M code OFF request> After turning OFF the M code ON signal, start the 1504 1604 1704 1804 1: M code ON signal is turned OFF system.
Page 668
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 stops with the setting (deceleration stop/sudden stop) of the The CPU module resulted in an PLC CPU error detailed parameter 2 sudden error.
Page 669
15 TROUBLESHOOTING MELSEC-Q Related buffer memory Set range address Remedy (Setting with sequence program) Axis 1 Axis 2 Axis 3 Axis 4 Check the error code of CPU module and refer to the — — — — — QCPU User’s Manual. <...
Page 670
15 TROUBLESHOOTING MELSEC-Q Classification Error Operation status at error Error name Error of errors code occurrence The set value of the basic parameter 1 Outside unit setting "Unit setting" is outside the setting range range. Outside pulse The set value of the basic parameter 1 number per rotation "No.
Page 671
15 TROUBLESHOOTING MELSEC-Q Related buffer memory Set range address Remedy (Setting with sequence program) Axis 1 Axis 2 Axis 3 Axis 4 0, 1, 2, 3 1 to 65535 1 to 65535 With the setting brought into the setting range, turn the PLC READY signal [Y0] from OFF to ON.
Page 672
15 TROUBLESHOOTING MELSEC-Q Classification Error Operation status at error Error name Error of errors code occurrence • In the unit of degree, the set value of the detailed parameter 1 "Software stroke limit lower limit value" is outside the setting range. Software stroke limit lower limit •...
Page 673
15 TROUBLESHOOTING MELSEC-Q Related buffer memory Set range address Remedy (Setting with sequence program) Axis 1 Axis 2 Axis 3 Axis 4 • [mm] [inch] [pulse] • Bring the setting into the setting range. –2147483648 to 2147483647 • In a unit other than degree, set so that the lower limit •...
Page 674
15 TROUBLESHOOTING MELSEC-Q Classification Error Error name Error Operation status at error occurrence of errors code The set value of the detailed parameter Deceleration time 2 2 "Deceleration time 2" is outside the setting error setting range. The set value of the detailed parameter Deceleration time 3 2 "Deceleration time 3"...
Page 675
15 TROUBLESHOOTING MELSEC-Q Related buffer memory Set range address Remedy (Setting with sequence program) Axis 1 Axis 2 Axis 3 Axis 4 1 to 8388608 With the setting brought into the setting range, turn the PLC READY signal [Y0] from OFF to ON. 1 to 8388608 QD75P N/QD75D N: 1 to 4000000 [pulse/s]...
Page 676
15 TROUBLESHOOTING MELSEC-Q Classification Error Error name Error Operation status at error occurrence of errors code The set value of the OPR basic OPR direction error parameter "OPR direction" is outside the setting range. The set value of the OPR basic OP address setting parameter "OP address"...
Page 677
15 TROUBLESHOOTING MELSEC-Q Related buffer memory Set range address Remedy (Setting with sequence program) Axis 1 Axis 2 Axis 3 Axis 4 0, 1 With the setting brought into the setting range, turn the PLC READY signal [Y0] from OFF to ON. •...
Page 678
15 TROUBLESHOOTING MELSEC-Q 15.4 List of warnings The following table shows the warning details and remedies to be taken when a warning occurs. Classification Warning Operation status at warning Warning name Warning of warnings code occurrence — (Normal status) — —...
Page 679
15 TROUBLESHOOTING MELSEC-Q Related buffer memory Set range address Remedy (Setting with sequence program) Axis 1 Axis 2 Axis 3 Axis 4 — — — — — — — — — — — Normalize the start request ON timing. Do not carry out the deviation counter clear while the —...
Page 680
15 TROUBLESHOOTING MELSEC-Q Classification Warning Operation status at warning Warning name Warning of warnings code occurrence The speed change request is issued Speed change during deceleration stop with JOG The speed change is not carried out. during deceleration start signal OFF. •...
Page 681
15 TROUBLESHOOTING MELSEC-Q Related buffer memory Set range address Remedy (Setting with sequence program) Axis 1 Axis 2 Axis 3 Axis 4 <Speed change request> Do not carry out the JOG speed change during 1516 1616 1716 1816 1: Speed change is requested deceleration with the JOG start signal OFF.
Page 682
15 TROUBLESHOOTING MELSEC-Q Classification Warning Operation status at warning Warning name Warning of warnings code occurrence Deceleration/stop The speed change request is issued The speed change is not carried out. speed change during deceleration stop. • The speed is controlled with the The new value exceeds the speed speed limit value.
Page 683
15 TROUBLESHOOTING MELSEC-Q Related buffer memory Set range address Remedy (Setting with sequence program) Axis 1 Axis 2 Axis 3 Axis 4 Do not carry out the speed change during deceleration <Speed change request> with a stop command, during stoppage, or during 1516 1616 1716 1816 1: Speed change is requested automatic deceleration with position control.
Page 684
15 TROUBLESHOOTING MELSEC-Q Classification Warning Operation status at warning Warning name Warning of warnings code occurrence Code 1 is set for the step start Step not possible information when the step is outside The step will not start. standby. The detailed parameter 2 "External Even if the external command signal Illegal external command function selection"...
Page 685
15 TROUBLESHOOTING MELSEC-Q Related buffer memory Set range address Remedy (Setting with sequence program) Axis 1 Axis 2 Axis 3 Axis 4 <Step start information> Do not set a "1" to the step start information when the 1546 1646 1746 1846 1: Step is continued step is not in standby state.
Page 687
Appendix 2.3 Positioning data setting value entry table ..........Appendix- 14 Appendix 3 Positioning data (No. 1 to 600) List of buffer memory addresses ....Appendix- 15 Appendix 4 Connection examples with servo amplifiers manufactured by MITSUBISHI Electric Corporation....................Appendix- 39 Appendix 4.1 Connection example of QD75D N and MR-J3- (Differential driver) ................Appendix- 39...
Page 688
APPENDICES MELSEC-Q Appendix 1 Version up of the functions Appendix 1.1 Comparison of functions according to function versions The following tables list the QD75 functions compared according to function versions and the buffer memory for their additional functions. (1) Function comparison Function versions QD75P N/ Item...
Page 690
APPENDICES MELSEC-Q (2) Precaution on the use of sequence programs The QD75P N/QD75D N is upgraded from the QD75P /QD75D . Therefore, the recognized sequence programs for the QD75P /QD75D can be applied to the QD75P N/QD75D N. Note that specifications such as time takes for start- up and data update cycle are improved.
Page 691
APPENDICES MELSEC-Q (4) Precaution on the use of GX Configurator-QP To use the QD75P N/QD75D N with GX Configurator-QP, select the QD75P /QD75D in "Select module type". The QD75P N/QD75D N can be used in the same manner as the QD75P /QD75D . Note that a speed exceeding 1000000pulse/s cannot be set in the following items when "Pulse"...
Page 694
APPENDICES MELSEC-Q Appendix 2.2 Parameter setting value entry table Setting range Item inch degree pulse Pr.1 Unit setting Pr.2 No. of pulses per rotation (Ap) 1 to 65535 pulse 1 to 65535 1 to 65535 1 to 65535 Movement amount per rotation 1 to 65535 Pr.3 ×...
Page 696
APPENDICES MELSEC-Q Setting range Item inch degree pulse Near-point dog b0 Lower limit b3 Stop signal signal Setting of each bit External b7, b9 Pr.22 Input signal logic selection b1 Upper limit Unused value command to b15 0: Negative logic Drive unit Manual pulse b5 Zero signal...
Page 698
APPENDICES MELSEC-Q Setting range Item inch degree pulse 0: Near-point dog method 1: Stopper method 1) (By dwell time elapse) 2: Stopper method 2) (By OP signal when stopper is hit) Pr.43 OPR method 3: Stopper method 3) (Without near-point dog method) 4: Count method 1) (Use zero signal) 5: Count method 2) (Do not use zero signal) 0: Positive direction (address increment direction)
Page 700
APPENDICES MELSEC-Q Appendix 2.3 Positioning data setting value entry table [data No. Axis Da.1 Da.2 Da.3 Da.4 Da.5 Da.6 Da.7 Da.8 Da.9 Da.10 Operation Control Accelera- Decelera- Command Dwell M code Axis to be Positioning Data pattern system tion time tion time address speed...
Page 701
APPENDICES MELSEC-Q Appendix 3 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 identi- code time identi-...
Page 702
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 703
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 704
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 705
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 706
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 707
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 708
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 709
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 710
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 711
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 712
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 713
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 714
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 715
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 716
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 717
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 718
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 719
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 720
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 721
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 722
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 723
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 724
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 725
APPENDICES MELSEC-Q Appendix 4 Connection examples with servo amplifiers manufactured by MITSUBISHI Electric Corporation Appendix 4.1 Connection example of QD75D N and MR-J3- A (Differential driver) Configure a sequence to turn OFF the MC at alarms and emergency stops. MR-J3- A...
Page 726
APPENDICES MELSEC-Q Appendix 4.2 Connection example of QD75D N and MR-H A (Differential driver) Configure a sequence to turn OFF the MC Regeneration option at alarms and emergency stops. Servomotor N C P MR-H A Power supply 3-phase 200VAC Within 10m *5 QD75D N Near-point dog External emergency stop...
Page 727
APPENDICES MELSEC-Q Appendix 4.3 Connection example of QD75D N and MR-J2/J2S- A (Differential driver) Configure a sequence to turn OFF the MC HC-MF, HA-FF at alarms and emergency stops. series motor MR-J2/MR-J2S- A Power supply 3-phase 200VAC C TE2 Electromagnetic 24VDC brake Cutoff when a servo ON signal...
Page 728
APPENDICES MELSEC-Q Appendix 4.4 Connection example of QD75D N and MR-C A (Differential driver) Configure a sequence to turn OFF the MC Regenerative resistor is HC-PQ series an external option. at alarms and emergency stops. motor Power supply Single-phase 200VAC (A type) or single-phase 100VAC (A1 type)
Page 729
APPENDICES MELSEC-Q Appendix 5 Connection examples with stepping motors manufactured by ORIENTALMOTOR Co., Ltd. Appendix 5.1 Connection example of QD75P N and VEXTA UPD (Open collector) Within 2m *5 QD75P N VEXTA UPD PULSE F PULSE COM CCW- PULSE R CCW+ PULSE COM H.OFF+...
Page 730
APPENDICES MELSEC-Q Appendix 6 Connection examples with servo amplifiers manufactured by Panasonic Corporation Appendix 6.1 Connection example of QD75D N and MINAS-A series (Differential driver) Within 2m *5 QD75D N MINAS-A PULSE2 PULSE F+ PULSE1 PULSE F- SIGN2 PULSE R+ PULSE R- SIGN1 CLEAR...
Page 731
APPENDICES MELSEC-Q Appendix 7 Connection examples with servo amplifiers manufactured by SANYO DENKI Co., Ltd. Appendix 7.1 Connection example of QD75D N and PYO series (Differential driver) Within 2m *5 QD75D N PULSE F+ PULSE F- PULSE R+ PULSE R- CLEAR CLEAR COM PG024...
Page 732
APPENDICES MELSEC-Q Appendix 8 Connection examples with servo amplifiers manufactured by YASKAWA Electric Corporation Appendix 8.1 Connection example of QD75D N and ∑- series (Differential driver) Within 2m *5 QD75D N PULSE F+ PULS PULSE F- /PULS PULSE R+ SIGN PULSE R- /SIGN CLEAR...
Page 733
APPENDICES MELSEC-Q Appendix 9 Comparisons with conventional positioning modules Appendix 9.1 Comparisons with A1SD71S2 model The following shows comparisons with the conventional positioning module A1SD71S2, centered on the QD75 specifications. Model QD75P1N/QD75P1 QD75P2N/QD75P2 QD75P4N/QD75P4 A1SD71S2 Item QD75D1N/QD75D1 QD75D2N/QD75D2 QD75D4N/QD75D4 No. of control axes No.
Page 734
APPENDICES MELSEC-Q Appendix 9.2 Comparisons with A1SD75P1-S3/ A1SD75P2-S3/ A1SD75P3-S3 models The following shows the comparisons between the QD75 and the conventional positioning modules A1SD75P1-S3/A1SD75P2-S3/A1SD75P3-S3. (1) Comparisons of performance specifications Model QD75P1N/QD75P1 QD75P2N/QD75P2 QD75P4N/QD75P4 A1SD75P1 A1SD75P2 A1SD75P3 Item QD75D1N/QD75D1 QD75D2N/QD75D2 QD75D4N/QD75D4 No.
Page 735
Max. connection distance When connected with open collector: 2m (6.56ft) between servos When connected with differential driver: 10m (32.79ft) When connected with differential driver: 10m (32.79ft) QD75P1N: 0.29A QD75P2N: 0.30A QD75P4N: 0.36A QD75D1N: 0.43A QD75D2N: 0.45A QD75D4N: 0.66A Internal current consumption 0.7A or less...
Page 736
APPENDICES MELSEC-Q A1SD75P1 A1SD75P2 A1SD75P3 QD75P1N/QD75P1 QD75P2N/QD75P2 QD75P4N/QD75P4 Model QD75D1N/QD75D1 QD75D2N/QD75D2 QD75D4N/QD75D4 Item STRT signal (External start signal) (integrated into "CHG") External command signal (External start or speed-position I/O signal for CHG signal Speed-position switching signal switching selectable with parameters)
Page 737
APPENDICES MELSEC-Q Functions deleted from those of A1SD75P1-S3/A1SD75P2-S3/A1SD75P3-S3 Deleted functions Remarks Stepping motor mode – OPR operation error (Error code: 208) – Fast machine OPR – Special start (stop) – In the QD75, the start block area on the buffer memory is Indirect designation expanded to five blocks (0 to 4).
Page 738
APPENDICES MELSEC-Q Changed functions Descriptions 1. "Peripheral side (emergency) stop" is deleted from the stop causes of Stop group 2 sudden stop selection. "Test mode fault" in the stop causes of Stop group 3 sudden stop selection is changed to be in the stop causes of Stop group 2 sudden stop selection.
Page 739
APPENDICES MELSEC-Q Changed functions Descriptions No. 9004 (Multiple axes simultaneous start control) is added. Positioning start No. Nos. 7004 to 7010 (block start designation) and 8000 to 8049 (indirect designation) are deleted. With the QD75, the number of blocks is changed to 5 (7000 to 7004). (With the Block start data A1SD75, this data is called "positioning start information".) Special start data "Simultaneous start"...
Page 740
APPENDICES MELSEC-Q Warning code comparisons Warning type Added Deleted Fatal warning – 51, 52 Common 101, 105 to 108, 115 OPR, Absolute position restoration – – JOG operation/Inching operation – – Manual pulse generator operation – Positioning operation 516, 517, 518 –...
Page 741
APPENDICES MELSEC-Q (4) Buffer memory address comparisons The following table shows the buffer memory addresses of the QD75 (Axes 1 to 3) corresponding to the items of the A1SD75. The shaded area shows the differences between the A1SD75 and QD75. Buffer memory address Items of A1SD75 A1SD75...
Page 742
APPENDICES MELSEC-Q Buffer memory address Items of A1SD75 A1SD75 QD75 Axis 1 Axis 2 Axis 3 Axis 1 Axis 2 Axis 3 Pr.28 Acceleration time 3 Pr.29 Deceleration time 1 Pr.30 Deceleration time 2 Pr.31 Deceleration time 3 Pr.32 JOG speed limit value Pr.33 JOG operation acceleration time selection Pr.34...
Page 743
APPENDICES MELSEC-Q Buffer memory address Items of A1SD75 A1SD75 QD75 Common for axis 1, 2, 3 Common for axis 1, 2, 3, 4 Md.1 In test mode flag 1200 Md.2 Module name – 452 453 Md.3 OS type – 454 455 Md.4 OS version –...
Page 744
APPENDICES MELSEC-Q Buffer memory address Items of A1SD75 A1SD75 QD75 Common for axis 1, 2, 3 Common for axis 1, 2, 3, 4 (Pointer number) (0) to (15) Md.24 Axis in which the warning occurred 689 to 749 1358 to 1418 Md.25 Axis warning No.
Page 749
APPENDICES MELSEC-Q (5) Data indication No. comparisons The following table shows the comparisons of numbers for each symbols (Pr., Md., Cd., and Da.) indicating parameters or positioning data items. The shaded sections indicate the added or changed items with the QD75. Parameters Item A1SD75...
Page 750
APPENDICES MELSEC-Q Item A1SD75 QD75 Acceleration time 3 Pr.28 Pr.27 Pr.29 Pr.28 Deceleration time 1 Deceleration time 2 Pr.30 Pr.29 Deceleration time 3 Pr.31 Pr.30 Pr.32 Pr.31 JOG speed limit value JOG operation acceleration time selection Pr.33 Pr.32 JOG operation deceleration time selection Pr.34 Pr.33 Pr.35...
Page 751
APPENDICES MELSEC-Q Monitor data Item A1SD75 QD75 In test mode flag Md.1 Module name Md.2 – OS type Md.3 – OS version Md.4 – Md.5 Clock data (hour: minute) – Clock data (second: 100ms) Md.6 – Start axis (QD75: Md. 3 Start information) Md.7 Md.3 Operation type (QD75: Md.
Page 752
APPENDICES MELSEC-Q Item A1SD75 QD75 No. of write accesses to flash ROM – Md.19 Current feed value Md.29 Md.20 Machine feed value Md.30 Md.21 Feedrate Md.31 Md.22 Md.32 Md.25 Valid M code Axis error No. Md.33 Md.23 Axis warning No. Md.34 Md.24 Md.35...
Page 753
APPENDICES MELSEC-Q Control data Item A1SD75 QD75 Clock data setting (hour) Cd.1 – Clock data setting (minute, second) Cd.2 – Clock data writing Cd.3 – Target axis Cd.4 – Cd.5 Positioning data No. – Write pattern Cd.6 – Read/write request Cd.7 –...
Page 754
APPENDICES MELSEC-Q Item A1SD75 QD75 Step valid flag Cd.26 Cd.35 Step mode Cd.27 Cd.34 Step start information Cd.28 Cd.36 Skip command Cd.29 Cd.37 Cd.30 Cd.22 New torque value Positioning starting point No. Cd.31 Cd.4 Interrupt request during continuous operation Cd.32 Cd.18 Cd.30 Simultaneous starting axis start data No.
Page 755
APPENDICES MELSEC-Q Positioning data, block start data, condition data Item A1SD75 QD75 Operation pattern Da.1 Control system Da.2 Acceleration time No. Da.3 Deceleration time No. Da.4 Da.5 Axis to be interpolated – Positioning data Positioning address/movement amount Da.5 Da.6 Arc address Da.6 Da.7 Da.7...
Page 756
APPENDICES MELSEC-Q (6) Input/output signal comparisons Input signal comparisons A1SD75 QD75 Name Logic switch with Logic switch with Logic (initial status) Logic (initial status) parameters parameters Drive unit READY Negative logic Not possible Negative logic Possible In-position signal Negative logic Not possible –...
Page 757
APPENDICES MELSEC-Q Appendix 10 When using GX Works2 The following shows the procedure for positioning operation when GX Works2 is used. Start Starting GX Works2 GX Works2 Version1 Operating Manual (Common)) Start GX Works2. Creating a new project GX Works2 Version1 Operating Manual (Common)) Create a new project.
Page 758
APPENDICES MELSEC-Q Appendix 10.1 Adding a module Add the model name of the positioning module to be used in the project. (1) Operating procedure 1. Open the "New Module..." dialog box. Project window Right-click [Intelligent Function Module] "New Module..." 2. Configure settings Set the following items.
Page 759
APPENDICES MELSEC-Q Appendix 10.2 Setting parameters Set parameters for the positioning module. By setting parameters, the parameter setting by sequence program is not needed. Parameter setting (1) Operating procedure 1. Open the "Parameter" window. Project window [Intelligent Function Module] Module name "Parameter"...
Page 760
APPENDICES MELSEC-Q Setting positioning data (1) Operating procedure 1. Open the "Parameter" window. Project window [Intelligent Function Module] Module name "Positioning_Axis_# _Data" 2. Configure settings. Double-click the setting-target item and select or enter a value. • Items with a pull-down list Double-click the item and select an item in the displayed pull-down list.
Page 761
APPENDICES MELSEC-Q (2) Sub-function • Offline Simulation The locus and waveform of configured positioning data can be checked. • Automatic Command Speed Calculation Constant speed is automatically calculated by setting the time for positioning from the starting position to the target position. Appendix - 75...
Page 762
APPENDICES MELSEC-Q • Automatic Sub Arc Calculation The circular interpolation control data for two positioning data interpolation is automatically created, by selecting two positioning data and setting the radius. • M Code Comment Edit Set and display M code comments of the positioning module. For details on each function, refer to the GX Works2 Version1 Operating Manual (Intelligent Function Module).
Page 763
APPENDICES MELSEC-Q Setting block start data (1) Operating procedure 1. Open the "Parameter" window. Project window [Intelligent Function Module] Module name "Starting_Axis_# _Block_Data" 2. Configure settings. Double-click the setting-target item and select or enter a value. • Items with a pull-down list Double-click the item and select an item in the displayed pull-down list.
Page 764
APPENDICES MELSEC-Q Appendix 10.3 Setting auto refresh Transfer data in the buffer memory of the positioning module to specified devices in the CPU module. By setting auto refresh, reading by sequence program is not needed. (1) Operating procedure 1. Open the "Auto_Refresh" window. Project window [Intelligent Function Module] Module name...
Page 765
APPENDICES MELSEC-Q Appendix 10.4 Positioning monitor With the positioning monitor function, the QD75 operating status can be confirmed, and debugging can be performed. The following five types of monitors are available in this function: • Axis Monitor : The actual status of each axis can be monitored. •...
Page 766
APPENDICES MELSEC-Q 2. Switching to the "Axis Monitor" window Click the "Axis Monitor" button ( ) on the toolbar. The display switches to the "Axis Monitor" window. 3. Selecting the monitor type Select the monitor type from the pull-down menu of "Monitor type". •...
Page 767
APPENDICES MELSEC-Q 4. Selecting the monitor axis and monitor item 1) Click the Monitor Item Selection button. The "Monitor Item Selection" window is displayed. 2) Select the of the axes and items to be monitored. The following shows the selectable monitor items for each monitor type. •...
Page 768
APPENDICES MELSEC-Q • For "Operation monitor (Axis control)": Monitor item Symbol of reference buffer memory Reference Current feed value Md.20 Axis feed speed Md.28 Section 5.6.2 Axis operation status Md.26 Target value Md.32 Machine feed value Md.21 New current value Cd.9 New speed value Cd.14...
Page 769
APPENDICES MELSEC-Q • For "Operation monitor (OPR monitor)": Monitor item Symbol of reference buffer memory Reference Current feed value Md.20 Axis feed speed Md.28 Axis operation status Md.26 Movement amount after near-point dog ON Md.34 Torque limitation stored value Md.35 Status command in-position flag Md.31 Section 5.6.2...
Page 770
APPENDICES MELSEC-Q Starting History (1) Operating procedure 1. Starting the "Positioning Monitor" window Display the "Positioning Monitor" window. [Tool] [Intelligent Function Module Tool] [QD75/LD75 Positioning Module] [Positioning Monitor…] 2. Switching to the "Starting History" window Click the "Starting History" button ( ) on the toolbar.
Page 771
APPENDICES MELSEC-Q Error History (1) Operating procedure 1. Starting the "Positioning Monitor" window Display the "Positioning Monitor" window. [Tool] [Intelligent Function Module Tool] [QD75/LD75 Positioning Module] [Positioning Monitor…] 2. Switching to the "Error History" window Click the "Error History" button ( ) on the toolbar.
Page 772
APPENDICES MELSEC-Q Warning History (1) Operating procedure 1. Starting the "Positioning Monitor" window Display the "Positioning Monitor" window. [Tool] [Intelligent Function Module Tool] [QD75/LD75 Positioning Module] [Positioning Monitor…] 2. Switching to the "Warning History" window Click the "Warning History" button ( ) on the toolbar.
Page 773
APPENDICES MELSEC-Q Module Information List (1) Operating procedure 1. Starting the "Positioning Monitor" window Display the "Positioning Monitor" window. [Tool] [Intelligent Function Module Tool] [QD75/LD75 Positioning Module] [Positioning Monitor…] "Module Information List" window Appendix - 87...
Page 774
APPENDICES MELSEC-Q The status by each axis of the following items is displayed in the "Module Information List" window. Device No. of the I/O signal device or symbol of the buffer memory to Monitor item Reference be referred Axis 1 Axis 2 Axis 3 Axis 4...
Page 775
APPENDICES MELSEC-Q Appendix 10.5 Positioning test This function allows users to perform the following tests while monitoring the current status of the QD75. • Positioning start test • JOG/manual pulse generator/OPR test • Speed change test • Current value change test Positioning start test Test operation is performed by specifying the positioning data No.
Page 776
APPENDICES MELSEC-Q 2. Select the test target axis. Select the test target axis from the pull-down menu of "Target Axis". 3. Select the function. Select "Positioning start signal" from the pull-down menu of "Select Function". 4. Perform positioning start test. 1) Select "Positioning Start Signal", "Block Start", or "Multiple Axes Simultaneous Start"...
Page 777
APPENDICES MELSEC-Q JOG/manual pulse generator/OPR test The following test can be performed when positioning control is debugged by the JOG operation test or manual pulse operation test. • Direction check (forward run or reverse run) • On/off status check of external input signals, such as upper/lower limit switches, zero signal, or near-point dog signal •...
Page 778
APPENDICES MELSEC-Q 3. Select the function. Select "JOG/Manual Pulse Generator/OPR" from the pull-down menu of "Select Function". 1) Perform each operation. • JOG operation Set "JOG speed" to "1" or more, "Inching Movement Amount" to "0" and click the Forward RUN or Reverse RUN button. •...
Page 779
APPENDICES MELSEC-Q Speed change test The appropriate speed and acceleration/deceleration time can be checked by changing speed or acceleration/deceleration time or by performing override to the axis where the positioning start test, OPR test, or JOG operation test is performed. (1) Operating procedure 1.
Page 780
APPENDICES MELSEC-Q 3. Select the function. Select "New Speed" from the pull-down menu of "Select Function ". 4. Execute the speed change test. 1) Execute the speed change function. • New Speed Enter the new speed value during the startup of positioning start test or OPR test, and click the New Speed button.
Page 781
APPENDICES MELSEC-Q Current value change test The current feed value of the QD75 can be changed to the specified address. (1) Operating procedure 1. Open the "Positioning Test" dialog box. [Tool] [Intelligent Function Module Tool] [QD75/LD75 Positioning Module] [Positioning Test] Monitor current values such as the current feed value and feedrate.
Page 782
APPENDICES MELSEC-Q 3. Select the function. Select "Current Value Changing" from the pull-down menu of "Select Function". 1) Enter the new current value and click the Current Value Changing button. Appendix - 96...
Page 783
APPENDICES MELSEC-Q Appendix 10.6 Wave trace This function displays the speed command (axis speed) in positioning operation in waveform data. (1) Operating procedure 1. Open the "Wave Trace" dialog box. [Tool] [Intelligent Function Module Tool] [QD75/LD75 Positioning Module] [Wave Trace] Appendix - 97...
Page 784
APPENDICES MELSEC-Q 2. Select the module Click the Module Selection button. Select the positioning module to trace waves and click the OK button. 3. Set conditions. Click the Condition Setting button. Read the displayed description, set each condition, and click the OK button. Appendix - 98...
Page 785
APPENDICES MELSEC-Q 4. Start trace and display trace results. Click the Start Trace button to start trace. The trace result at that point can be displayed by clicking the Display Current Trace Result button during trace, even if the trace completion conditions are not met.
Page 786
APPENDICES MELSEC-Q Appendix 10.7 Location trace This function displays 2-axis interpolation control and simultaneous start (2-axes) in locus data. (1) Operating procedure 1. Open the "Location Trace" dialog box. [Tool] [Intelligent Function Module Tool] [QD75/LD75 Positioning Module] [Location Trace] Appendix - 100...
Page 787
APPENDICES MELSEC-Q 2. Select the module. Click the Module Selection button. Select the positioning module to trace locations and click the OK button. 3. Set conditions. Click the Condition Setting button. Read the displayed description, set each condition, and click the OK button. Appendix - 101...
Page 788
APPENDICES MELSEC-Q 4. Start trace and display trace results. Click the Start Trace button to start trace. The trace result at that point can be displayed by clicking the Display Current Trace Result button during trace, even if the trace completion conditions are not met.
Page 789
APPENDICES MELSEC-Q Appendix 10.8 Parameter initialization function The "parameter initialization function" is used to return the setting data set in the QD75 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] Control Precautions...
Page 790
APPENDICES MELSEC-Q [4] Parameter initialization method (1) Parameter initialization is carried out using the dedicated instruction "ZP.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 instruction /intelligent function device.
Page 791
APPENDICES MELSEC-Q Appendix 10.9 Execution data backup function When the QD75 buffer memory data is rewritten from the CPU module, "the data backed up in the QD75 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 programmable controller power is turned OFF.
Page 792
APPENDICES MELSEC-Q [4] Execution data backup method (1) Execution data backup (writing to the flash ROM) is carried out using the dedicated instruction "ZP.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 793
APPENDICES MELSEC-Q Appendix 10.10 External I/O signal logic switching function This function switches the signal logic according to the external equipment connected to the QD75. For the system in which drive unit READY with 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 794
APPENDICES MELSEC-Q Appendix 10.11 External I/O signal monitor function The "external I/O signal monitor function" monitors the module's information and external I/O signal statuses in the module's detailed information which can be displayed on the system monitor of GX Works2. The information that can be monitored are the module's information (same as the QD75 front "RUN", "ERR"...
Page 795
APPENDICES MELSEC-Q Appendix 10.12 History monitor function This function monitors starting history, error history, and warning history stored in the buffer memory of the QD75 during operation [1] Starting history Sixteen starting history logs of operations such as positioning operation, JOG operation, and manual pulse generator operation can be monitored.
Page 796
APPENDICES MELSEC-Q [2] Error history, warning history Sixteen error history logs and sixteen warning history logs can be monitored. When the number of logs exceeds 16, the latest log overwrites the oldest log so that the latest 16 logs can be monitored all the time. To monitor the error history and warning history, register the QD75 to the "Intelligent Function Module Monitor Window".
Page 797
APPENDICES MELSEC-Q Appendix 10.13 Checking errors Error codes corresponding to the errors occurred in the QD75 can be checked on the following screen of GX Works2. Select the screen according to the purpose and usage. • "Module's Detailed Information" screen •...
Page 798
APPENDICES MELSEC-Q Checking errors on the "Error History" screen. (for the QD75P N/QD75D N only) On the "Error History" screen, the error logs of the QD75 are displayed in a list together with the error logs of other modules. The logs can be output to a CSV format file.
Page 799
APPENDICES MELSEC-Q Error and Solution, Intelligent Module Information • Error and Solution Details of the selected in the "Error History List" and its corrective action are displayed. • Intelligent Module Information The QD75P N/QD75D N status when the error selected in the "Error History List"...
Page 800
APPENDICES MELSEC-Q Create CSV File button The module error logs are output to a CSV format file. POINT (1) If errors frequently occur in the QD75P N/QD75D N, "*HST.LOSS*" (instead of an actual error code) may be displayed in the Error Code column. (Display example) If "*HST.LOSS*"...
Page 801
APPENDICES MELSEC-Q Appendix 11 MELSEC Explanation of positioning terms 1-2 PHASE EXCITATION SYSTEM This is one system for exciting each stepping A phase motor coil in a determined order. In this 90° system, one phase and two phases are alternately excited. B phase Pulse input 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16...
Page 802
APPENDICES MELSEC-Q No.1 No.2 No.3 ABSOLUTE ENCODER This is a detector that enables the angle data within 1 motor rotation to be output to an external destination. Absolute encoders are generally able to output 360 ° in 8 to 12 bits. Incremental encoders have a disadvantage in that the axis position is lost when a power ACCELERATION TIME...
Page 803
APPENDICES MELSEC-Q AUTO TUNING (Automatic Tuning) BACKUP FUNCTION Properties such as responsiveness and Backup functions consist of the following. stability of machines driven with a servomotor 1) Functions for storing the sequence program are affected by changes in the inertia moment and device statuses stored in the RAM and rigidity due to changes in the machine memory of the CPU module, so that they...
Page 804
APPENDICES MELSEC-Q BIPOLAR DRIVE CONSTANT-CURRENT CHANGE signal SYSTEM The CHANGE signal is an external signal used to switch the speed-position control from the This is one system for driving a stepping speed control being executed to position motor. In this method, the orientation of the control.
Page 805
APPENDICES MELSEC-Q CREEP SPEED DATA NO. A speed at which the machine moves very To carry out positioning to 2 or more slowly. addresses, each position is assigned a It is difficult for the machine to stop accurately sequence No. such as No. 1, No. 2, No. 3, etc. when running at high speed, so the movement The positioning is then carried out following must first be changed to the creep speed...
Page 806
APPENDICES MELSEC-Q DEVIATION COUNTER DOG SIGNAL Deviation counters have the following two The near-point dog of the OPR. functions. 1) To count the command pulses issued from DRIVE UNIT the QD75, and transmit the count value to the D/A converter. The commands output from the positioning 2) To subtract the feedback pulses from the module are low-voltage, low-current...
Page 807
APPENDICES MELSEC-Q DYNAMIC BRAKE ENCODER When protection circuits operate due to power This device turns the input data into a binary failures, emergency stops (EMG signal) etc., code of 1 (ON) and 0 (OFF). A type of pulse this function is used to short-circuit between generator.
Page 808
APPENDICES MELSEC-Q EXTERNAL REGENERATIVE BRAKE FEED SCREW RESISTOR This is the basic screw in mechanisms that position using screw rotation. Ball screws are This is also called the regenerative brake. often used to reduce backlash and dimension When a machine is moved with a motor, power error.
Page 809
APPENDICES MELSEC-Q FLS SIGNAL (forward limit signal) INCREMENTAL ENCODER This is the input signal that notifies the user A device that simply outputs ON/OFF pulses that the limit switch (b contact configuration, by the rotation of the axis. 1-phase types normally ON) installed at the upper limit of the output only A pulses, and do not indicate the positioning control enabled range has been...
Page 810
APPENDICES MELSEC-Q INPUT TERMINAL kPPS This is a pin connector wired by the user for This is the abbreviation for "kilopulses per inputting data to the QD75 from an external second". 80kPPS equals 80,000 pulses per source. It is connected to the motor drive unit second.
Page 811
Phase difference to generate pulses. This device is used when Z phase (ZERO signal) manually carrying out accurate positioning. MULTIPLYING RATE SETTING The P rate. Refer to the term "P RATE". Made by Mitsubishi Electric Corp. (model: MR-HDP01) Appendix - 125...
Page 812
APPENDICES MELSEC-Q NC LANGUAGE (Numerical Control Language) This is the reference position for positioning. Positioning cannot start without a reference This is the language punched into the paper point. tape that instructs the machining to the NC The OP is normally set to the upper or lower module.
Page 813
APPENDICES MELSEC-Q OPR PARAMETER OVERRIDE FUNCTION This parameter is required when returning to With this function, the speed during positioning the OP. It is determined by the machine side operations (current speed) can be varied design, so subsequent changes of this between 1 and 300%.
Page 814
APPENDICES MELSEC-Q POSITIONING POSITION DETECTION MODULE Accurately moving the machine from a point to This is an abridged version of positioning. a determined point. The distance, direction, There are two types on MELSEC, the speed, etc., for that movement are designated A1S62LS.
Page 815
APPENDICES MELSEC-Q POSITIONING PARAMETER PULSE OUTPUT MODE This is basic data for carrying out positioning There are two methods used to issue forward control. Types of data include control unit, run and reverse run commands to the movement amount per pulse, speed limit servomotor.
Page 816
APPENDICES MELSEC-Q RESOLVER SERVO LOCK This device detects the angle by resolving the In positioning using a servomotor, stepping two voltages of the analog input. Also called a motor, etc., working power is required to hold 2-phase synchro. For a 1-phase voltage input, the machine at the stop position.
Page 817
APPENDICES MELSEC-Q SFC (Sequential Function Chart) SPEED LIMIT VALUE A sequential function chart is a programming This is the max. speed for positioning. Even if method optimally structured for running a other data is mistakenly set to a higher speed machine's automatic control in sequence with than this, the positioning will be carried out at the programmable controller.
Page 818
APPENDICES MELSEC-Q START COMPLETE STEPPING MOTOR This signal gives an immediate response A motor that rotates a given angle (example: notifying the user that the QD75 that was 0.15ø) when 1 pulse is generated. started is now in a normal state and can start For that reason, a rotation proportional to the positioning.
Page 819
APPENDICES MELSEC-Q STOP WITH STOPPER SUDDEN STOP This is one machine OPR method. With this A stop carried out in a shorter time than the method, a stopper is established at the OP, deceleration time designated in the and the operation is stopped when the parameters.
Page 820
APPENDICES MELSEC-Q TRACKING FUNCTION WARNING In this function, positioning is carried out at a A warning is output as a warning code in when speed relative to a moving target object by an abnormality is detected that is not serious inputting the movement amount from an enough to require cancellation or stoppage of external encoder and adding it to the servo...
Page 821
APPENDICES MELSEC-Q Appendix 12 Positioning control troubleshooting Trouble type Questions/Trouble Remedy The CPU module power was turned OFF or the CPU module was reset, etc., during flash ROM writing, which Display reads "FFFF " when a deleted the data in the flash ROM. parameter is read with GX Initialize the parameters, and reset the required Configurator-QP.
Page 822
Are simplified absolute position Simplified absolute They are possible if the models are used in combination detection system possible in the position detection with a Mitsubishi "AC Servo". QD75 Positional deviation system (Refer to "AC servo User's Manual" for details.) models?
Page 823
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 "8192/8000 × 10081230/10081234". compensated? 2) Obtain the reduced value.
Page 824
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 825
A phase pulses are input? Can a manual pulse generator Other manual pulse generators can be used if they Manual pulse other than the Mitsubishi MR- conform to Section 3.4 "Specifications for input/output generator operation HDP01 be used? interfaces with external devices."...
Page 826
APPENDICES MELSEC-Q Trouble type Questions/Trouble Remedy Backlash compensation value 0 ≤ Movement amount per pulse An error "Backlash compensation Setting is not possible if the above equation is not amount error" (error code: 920) satisfied. occurs even when the backlash Pr.4 Adjust by setting "...
Page 827
APPENDICES MELSEC-Q Appendix 13 List of buffer memory addresses The following shows the relation between the buffer memory addresses and the various items. (Do not use any address other than listed below. If used, the system may not operate correctly.) Buffer memory address Item Memory area...
Page 828
APPENDICES MELSEC-Q Buffer memory address Item Memory area Axis 1 Axis 2 Axis 3 Axis 4 Pr.27 Acceleration time 3 Deceleration time 1 Pr.28 Pr.29 Deceleration time 2 Pr.30 Deceleration time 3 Pr.31 JOG speed limit value JOG operation acceleration time selection Pr.32 Pr.33 JOG operation deceleration time selection...
Page 829
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 1206 Not used 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 843
INDEX [Number] A phase/B phase mode .........5-22 1-2 phase excitation system (Explanation of Cd.40 positioning terms) ......Appendix-115 ABS direction in degrees ( ) ....5-128 1-axis fixed-feed control ........ 9-44 Absolute encoder (Explanation of positioning 1-axis linear control (ABS linear 1) ....9-28 terms) ..........
Page 844
Auto tuning (Explanation of positioning terms) Md.45 Block No. being executed ( ) ...5-102 ............Appendix-117 Block start (Normal start) .......10-8 Automatic command speed calculation Block start data ..........10-7 ............Appendix-75 Block start data area (No. 7000 to 7004) ..7-3 Automatic sub arc calculation ..
Page 845
Continuous operation interrupt program..6-37 Deceleration ratio (Explanation of positioning Continuous operation interrupt request terms) ..........Appendix-119 Cd.18 )............5-116 Deceleration start flag ( Md.48 )....5-102 Continuous path control ........9-8 Deceleration start flag valid ( ) ..5-104 Cd.41 Continuous positioning control......9-7 Deceleration stop ...........6-44 Control data area..........
Page 846
Fast OPR (Explanation of positioning terms) Pr.57 Dwell time during OPR retry ( )..5-53 ............Appendix-122 Dynamic brake (Explanation of positioning terms) Fatal stop............6-43 ............Appendix-121 Features of QD75 ..........1-2 Feed pulse (Explanation of positioning terms) ............Appendix-122 Electrical specifications ......... 3-19 Feed screw (Explanation of positioning terms) Electromagnetic brake (Explanation of positioning ............
Page 847
High-level positioning control......10-2 JOG operation..........11-4 History monitor function ....Appendix-109 JOG operation acceleration time selection Pr.32 ) ............5-35 JOG operation deceleration time selection Immediate stop..........6-44 Pr.33 ) ............5-35 Md.40 In speed change processing flag ( JOG operation start time chart ....11-11 ..............
Page 848
Pr.2 Pr.4 Movement amount per pulse ( M code (Condition data No., No. of LOOP to ................5-19 Da.10 LEND repetitions) ( ) ......5-66 Movement amount per pulse (Explanation of M code (Explanation of positioning terms) positioning terms)......Appendix-125 ............Appendix-125 Pr.3 Movement amount per rotation ( )..5-19...
Page 849
OP shift function ..........12-8 OPR retry function .........12-4 OP shift function (Explanation of positioning terms) Pr.46 OPR speed ( )........5-47 ............Appendix-126 Pr.54 OPR torque limit value ( ) ....5-53 Operating principle .......... 1-8 Order of priority for stop process....6-45 Da.1 Operation pattern ( )......
Page 850
Position loop gain (Explanation of positioning Cd.4 Positioning starting point No. ( ) ..5-108 terms)..........Appendix-128 Positioning test........Appendix-89 Pre-reading start function ......12-97 Position loop mode (Explanation of positioning Precautions terms)..........Appendix-128 • Disposal precautions .......4-16 Position-speed switching control ....9-103 •...
Page 851
• Manual pulse generator operation program Resolver (Explanation of positioning terms) ..............6-20 ............Appendix-130 • OPR request OFF program ....6-17 Cd.6 Restart command ( )......5-108 • Override program ........6-20 Restart operation ...........6-39 • Parameter initialization program..... 6-22 Restart program ..........6-39 •...
Page 852
• Error detection signal ......3-17 Speed control (Explanation of positioning terms) • Execution prohibition flag signal ..... 3-18 ............Appendix-131 • JOG start signal........3-18 Pr.56 Speed designation during OP shift ( • M code ON signal........3-17 ................5-53 •...
Page 854
• Time chart for starting "machine OPR" .. 6-30 Wait start ............10-11 • Time chart for starting "major positioning Warning (Explanation of positioning terms) control"............ 6-32 ............Appendix-134 • Time chart for starting "position-speed Warning history ..........5-88 switching control"........6-33 Warning history pointer ( ) ....5-88 Md.18...
Page 855
6. Failure caused by reasons unpredictable by scientific technology standards at time of shipment from Mitsubishi. 7. Any other failure found not to be the responsibility of Mitsubishi or that admitted not to be so by the user. 2. Onerous repair term after discontinuation of production (1) Mitsubishi shall accept onerous product repairs for seven (7) years after production of the product is discontinued.
Page 856
Microsoft Windows, Windows NT, Windows Vista 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. SH (NA)-080058-O...
Need help?
Do you have a question about the QD75P1N and is the answer not in the manual?
Questions and answers