Mitsubishi Electric MELSEC-LD77MS2 User Manual

Mitsubishi Electric MELSEC-LD77MS2 User Manual

Hide thumbs Also See for MELSEC-LD77MS2:
Table of Contents

Advertisement

Quick Links

MELSEC-L
LD77MS Simple Motion Module
User's Manual (Positioning Control)
-LD77MS2
-LD77MS4
-LD77MS16

Advertisement

Table of Contents
loading

Summary of Contents for Mitsubishi Electric MELSEC-LD77MS2

  • Page 1 MELSEC-L LD77MS Simple Motion Module User's Manual (Positioning Control) -LD77MS2 -LD77MS4 -LD77MS16...
  • Page 3: Safety Precautions

    SAFETY PRECAUTIONS (Please read these instructions before using this equipment.) Before using this product, please read this manual and the relevant manuals introduced in this manual carefully and pay full attention to safety to handle the product correctly. The precautions given in this manual are concerned with this product only. Refer to the user's manual of the CPU module to use for a description of the PLC system safety precautions.
  • Page 4 For Safe Operations 1. Prevention of electric shocks DANGER Never open the front case or terminal covers while the power is ON or the unit is running, as this may lead to electric shocks. Never run the unit with the front case or terminal cover removed. The high voltage terminal and charged sections will be exposed and may lead to electric shocks.
  • Page 5 3. For injury prevention CAUTION Do not apply a voltage other than that specified in the instruction manual on any terminal. Doing so may lead to destruction or damage. Do not mistake the terminal connections, as this may lead to destruction or damage. Do not mistake the polarity (+ / -), as this may lead to destruction or damage.
  • Page 6 CAUTION The system must have a mechanical allowance so that the machine itself can stop even if the stroke limits switch is passed through at the max. speed. Use wires and cables that have a wire diameter, heat resistance and bending resistance compatible with the system.
  • Page 7 DANGER The input devices and data registers assigned to the link will hold the data previous to when communication is terminated by an error, etc. Thus, an error correspondence interlock program specified in the instruction manual must be used. Use the interlock program specified in the intelligent function module's instruction manual for the program corresponding to the intelligent function module.
  • Page 8 CAUTION Store and use the unit in the following environmental conditions. Conditions Environment Module/Servo amplifier Servomotor Ambient 0°C to +40°C (With no freezing) According to each instruction manual. temperature (32°F to +104°F) 80% RH or less According to each instruction manual. Ambient humidity (With no dew condensation) Storage...
  • Page 9 (4) Wiring CAUTION Correctly and securely wire the wires. Reconfirm the connections for mistakes and the terminal screws for tightness after wiring. Failing to do so may lead to run away of the servomotor. After wiring, install the protective covers such as the terminal covers to the original positions. Do not install a phase advancing capacitor, surge absorber or radio noise filter (option FR-BIF) on the output side of the servo amplifier.
  • Page 10 (6) Usage methods CAUTION Immediately turn OFF the power if smoke, abnormal sounds or odors are emitted from the module, servo amplifier or servomotor. Always execute a test operation before starting actual operations after the program or parameters have been changed or after maintenance and inspection. Do not attempt to disassemble and repair the units excluding a qualified technician whom our company recognized.
  • Page 11 (7) Corrective actions for errors CAUTION If an error occurs in the self diagnosis of the module or servo amplifier, confirm the check details according to the instruction manual, and restore the operation. If a dangerous state is predicted in case of a power failure or product failure, use a servomotor with an electromagnetic brake or install a brake mechanism externally.
  • Page 12 CAUTION When the module or absolute position motor has been replaced, carry out a home position return operation using the following method, otherwise position displacement could occur. After writing the servo data to the Simple Motion module using programming software, switch on •...
  • Page 13 CONDITIONS OF USE FOR THE PRODUCT (1) Mitsubishi programmable controller ("the PRODUCT") shall be used in conditions; i) where any problem, fault or failure occurring in the PRODUCT, if any, shall not lead to any major or serious accident; and ii) where the backup and fail-safe function are systematically or automatically provided outside of the PRODUCT for the case of any problem, fault or failure occurring in the PRODUCT.
  • Page 14: Introduction

    INTRODUCTION Thank you for purchasing our MELSEC-L series programmable controllers. This manual describes the functions and programming of the Simple Motion module. Before using this product, please read this manual and the relevant manuals carefully and develop familiarity with the functions and performance of the MELSEC-L series programmable controller to handle the product correctly.
  • Page 15: Revisions

    This manual confers no industrial property 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.  2013 MITSUBISHI ELECTRIC CORPORATION A - 13...
  • Page 16: Table Of Contents

    CONTENTS SAFETY PRECAUTIONS ..........................A- 1 CONDITIONS OF USE FOR THE PRODUCT ..................... A-11 INTRODUCTION ............................A-12 REVISIONS ..............................A-13 CONTENTS ..............................A-14 COMPLIANCE WITH THE EMC AND LOW VOLTAGE DIRECTIVES ............A-22 RELEVANT MANUALS ..........................A-22 MANUAL PAGE ORGANIZATION ........................ A-24 TERMS ................................
  • Page 17 3.3.2 Details of input signals (LD77MS PLC CPU) ................3-19 3.3.3 Details of output signals (PLC CPU LD77MS) ................3-21 3.4 Specifications of interfaces with external devices ................... 3-23 3.4.1 Electrical specifications of input signals ................... 3-23 3.4.2 Signal layout for external input connection connector ..............3-25 3.4.3 List of input signal details ........................
  • Page 18 5.6.1 System monitor data ........................5-114 5.6.2 Axis monitor data ..........................5-128 5.7 List of control data ..........................5-158 5.7.1 System control data ........................5-158 5.7.2 Axis control data ..........................5-166 6. Sequence Program Used for Positioning Control 6- 1 to 6-76 6.1 Precautions for creating program ......................
  • Page 19 Section 2 Control Details and Setting 8. OPR Control 8- 1 to 8-20 8.1 Outline of OPR control ..........................8- 2 8.1.1 Two types of OPR control ......................... 8- 2 8.2 Machine OPR ............................8- 6 8.2.1 Outline of the machine OPR operation ..................... 8- 6 8.2.2 Machine OPR method ........................
  • Page 20 9.2.21 JUMP instruction ........................... 9-128 9.2.22 LOOP ............................. 9-130 9.2.23 LEND ............................. 9-132 10. High-Level Positioning Control 10- 1 to 10-30 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 21 12.1.1 Outline of speed-torque control ....................12- 2 12.1.2 Setting the required parameters for speed-torque control ............12- 4 12.1.3 Setting the required data for speed-torque control ..............12- 5 12.1.4 Operation of speed-torque control ....................12- 7 12.2 Synchronous control ..........................12-33 13.
  • Page 22 Appendix 2.2 Serial absolute synchronous encoder cable ............Appendix-33 Appendix 2.3 SSCNET cable (SC-J3BUS_M-C) manufactured by Mitsubishi Electric System & Service ..............Appendix-36 Appendix 3 Connection with external device ................... Appendix-37 Appendix 3.1 Connector ........................ Appendix-37 Appendix 3.2 External input signal cable ..................Appendix-40 Appendix 3.3 Manual pulse generator (MR-HDP01) ..............
  • Page 23 Appendix 6.3 AlphaStep/5-phase stepping motor driver manufactured by ORIENTAL MOTOR Co., Ltd................Appendix-68 Appendix 6.4 IAI electric actuator controller manufactured by IAI Corporation ...... Appendix-77 Appendix 6.5 Connection with MR-JE-B ..................Appendix-85 Appendix 7 External dimension drawing ..................Appendix-86 A - 21...
  • Page 24: Compliance With The Emc And Low Voltage Directives

    COMPLIANCE WITH THE EMC AND LOW VOLTAGE DIRECTIVES (1) For programmable controller system To ensure that Mitsubishi programmable controllers maintain EMC and Low Voltage Directives when incorporated into other machinery or equipment, certain measures may be necessary. Please refer to one of the following manuals. MELSEC-L CPU Module User's Manual (Hardware Design, Maintenance and Inspection) Safety Guidelines...
  • Page 25 (3) Programming tool Manual Name Description <Manual number (model code)> GX Works2 Version1 Operating Manual System configuration, parameter settings, and online (Common) operations (common to Simple project and Structured <SH-080779ENG, 13JU63> project) of GX Works2 GX Works2 Version1 Operating Manual Parameter settings, monitoring, and operations of the (Intelligent Function Module) predefined protocol support function of intelligent function...
  • Page 26 MANUAL PAGE ORGANIZATION The symbols used in this manual are shown below. A serial No. is inserted in the "*" mark. Symbol Description Reference Symbol that indicates positioning parameter and OPR parameter item. Symbol that indicates positioning data, block start data and condition data item.
  • Page 27: Terms

    TERMS Unless otherwise specified, this manual uses the following terms. Term Description PLC CPU The abbreviation for the MELSEC-L series PLC CPU module LCPU Another term for the MELSEC-L series PLC CPU module Simple Motion module The abbreviation for the MELSEC-L series Simple Motion module LD77MS Another term for the MELSEC-L series LD77MS Simple Motion module MR-J4(W)-B...
  • Page 28: Packing List

    PACKING LIST The following items are included in the package of this product. Before use, check that all the items are included. (1) LD77MS2 LD77MS2 ERR. LD77MS2 Before Using the Product (2) LD77MS4 LD77MS4 ERR. LD77MS4 Before Using the Product (3) LD77MS16 LD77MS16 AX 1...
  • Page 29: Section 1 Product Specifications And Handling

    Section 1 Product Specifications and Handling Section 1 is configured for the following purposes (1) to (5). (1) To understand the outline of positioning control, and the Simple Motion module 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 30 MEMO...
  • Page 31 Chapter 1 Product Outline Chapter 1 Product Outline The purpose and outline of positioning control using the Simple Motion module are explained in this chapter. Reading this chapter will help you understand what can be done using the positioning system and which procedure to use for a specific purpose. By understanding "What can be done", and "Which procedure to use"...
  • Page 32: Positioning Control

    Chapter 1 Product Outline 1.1 Positioning control 1.1.1 Features of LD77MS The LD77MS has the following features. (1) High-speed starting time High-speed starting time "0.88ms" (LD77MS4 use) during positioning control is achieved. (2) Wide variety of positioning control functions The main functions (such as OPR control, positioning control and manual control) which are required for any positioning system and the sub functions which limit and add functions to those controls are supported.
  • Page 33 Chapter 1 Product Outline (d) Continuous processing of multiple positioning data Multiple positioning data can be processed continuously within one positioning operation. Continuous positioning control can be executed over multiple blocks, where each block consists of multiple positioning data. This reduces the number of executions of positioning, management of execution status, and others.
  • Page 34 Chapter 1 Product Outline (7) Setting, monitoring, and testing through GX Works2 Parameters and positioning data for the LD77MS can be set using GX Works2 (Simple Motion Module Setting). Moreover, using the test function of GX Works2 (Simple Motion Module Setting), users can check the wiring status and the validity of the preset parameters and positioning data by performing test operation before creating a program for positioning control.
  • Page 35 Chapter 1 Product Outline (11) Easy application to the absolute position system (a) The MR-J4-B/MR-JE-B/MR-J3-B series servo amplifiers and servo motors correspond to the absolute position system. It can be realized only at connecting the battery for absolute position system to the servo amplifier. (b) Once the OP have been established, the OPR operation is unnecessary at the system's power supply ON.
  • Page 36: Purpose And Applications Of Positioning Control

    Chapter 1 Product Outline 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 37 Chapter 1 Product Outline Lifter  During the aging process, storage onto the Unloader rack is carried out by positioning with the AC Loader/unloader servo.  The up/down positioning of the lifter is carried B conveyor Aging rack out with the 1-axis servo, and the horizontal Lifter position of the aging rack is positioned with the 2-axis servo.
  • Page 38: Mechanism Of Positioning Control

    Chapter 1 Product Outline 1.1.3 Mechanism of positioning control In the positioning system using the Simple Motion module, various software and devices are used for the following roles. The Simple Motion module realizes complicated positioning control when it reads in various signals, parameters and data and is controlled with the PLC CPU.
  • Page 39: Overview Of Positioning Control Functions

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

    Chapter 1 Product Outline 1.1.5 Outline design of positioning system The outline of the positioning system operation and design using the Simple Motion module is shown below. (1) Positioning system using Simple Motion module Servo module Simple Motion module Servo amplifier motor Positioning Speed...
  • Page 50: Communicating Signals Between Ld77Ms And Each Module

    Chapter 1 Product Outline 1.1.6 Communicating signals between LD77MS and each module The outline of the signal communication between the Simple Motion module and PLC CPU, GX Works2 and servo amplifier, etc., is shown below. (GX Works2 communicates with the Simple Motion module via the PLC CPU to which it is connected.) (1) LD77MS2/ LD77MS4 LD77MS2/LD77MS4...
  • Page 51 Chapter 1 Product Outline (2) LD77MS16 LD77MS16 PLC CPU PLC READY signal READY signal SSCNET (/H) All axis servo ON signal Operating information of the servo amplifier Synchronization flag Positioning command Servo Control command amplifier Servo parameter External input signal of the servo amplifier External interface...
  • Page 52 Chapter 1 Product Outline Simple Motion module PLC CPU The Simple Motion module and PLC CPU communicate the following data. Direction Simple Motion module PLC CPU PLC CPU Simple Motion module Communication Signal indicating Simple Motion module Signal related to commands state •...
  • Page 53 Chapter 1 Product Outline Simple Motion module Manual pulse generator/Incremental synchronous encoder The Simple Motion module and manual pulse generator/incremental synchronous encoder communicate the following data via the external input connection connector. Direction Simple Motion module Manual pulse generator/Incremental synchronous encoder Manual pulse generator/Incremental Simple Motion module synchronous encoder...
  • Page 54: Flow Of System Operation

    Chapter 1 Product Outline 1.2 Flow of system operation 1.2.1 Flow of all processes The positioning control processes, using the Simple Motion module, are shown below. Servo LD77MS GX Works2 PLC CPU amplifiers, etc. Understand the functions and performance, and determine the positioning operation method (system design) Installation, wiring Setting of parameters...
  • Page 55 Chapter 1 Product Outline 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. ...
  • Page 56: Outline Of Starting

    Chapter 1 Product Outline 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 57 Chapter 1 Product Outline Setting method : Indicates the sequence program that must be created. Expansion control Speed-torque control (Speed control) (Torque control) (Continuous operation to torque control) <GX Works2> Write Set with Simple Motion Module Setting Tool Set the parameter and data for executing main function, and the sub functions that need to be set beforehand.
  • Page 58: Outline Of Stopping

    Chapter 1 Product Outline 1.2.3 Outline of stopping Each control is stopped in the following cases. (1) When each control is completed normally (2) When the servo READY signal is turned OFF (3) When a PLC CPU error occurs (4) When the PLC READY signal is turned OFF (5) When an error occurs in the Simple Motion module (6) When control is intentionally stopped (Stop signal from PLC CPU turned ON, etc.) The outline for the stop process in above cases is shown below.
  • Page 59 Chapter 1 Product Outline Axis Stop process operation OPR control Manual control M code status Stop Major High-level Manual Stop cause ON signal after Machine Fast JOG/ axis positioning positioning pulse after stop stopping Inching control control generator control control operation Md.26 operation...
  • Page 60: Outline For Restarting

    Chapter 1 Product Outline 1.2.4 Outline for restarting When a stop cause has occurred during operation with position control causing the axis to stop, positioning to the end point of the positioning data can be restarted from the stopped position by using the " ".
  • Page 61 Chapter 2 System Configuration Chapter 2 System Configuration In this chapter, the general image of the system configuration of the positioning control using Simple Motion module, 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.
  • Page 62: General Image Of System

    Chapter 2 System Configuration 2.1 General image of system The general image of the system, including such as the LD77MS, PLC CPU and peripheral devices is shown below. Display unit (Optional item) LD77MS END cover Power supply module CPU module External input signals of servo amplifier SSCNET Upper stroke limit...
  • Page 63: Component List

    Refer to the "GX Works2 Version1 Operating Manual (Common)" for details. (Prepared by user) Servo amplifier – (Prepared by user) Manual pulse Recommended: MR-HDP01 (Manufactured by Mitsubishi Electric – generator Corporation) (Prepared by user) SSCNET Cables are needed for connecting the Simple Motion module with a servo –...
  • Page 64 Chapter 2 System Configuration [External input wiring connector] Part name Specification Applicable connector LD77MHIOCON (Note-3) Applicable wire size AWG30 to AWG24 (0.05 to 0.2 mm (Note-3): AWG24 (0.2mm ) is recommended. Specifications of recommended manual pulse generator Item Specification Model name MR-HDP01 Ambient temperature -10 to 60°C (14 to 140°F )
  • Page 65 Chapter 2 System Configuration Serial absolute synchronous encoder specifications Item Specifications (Note-1) Model name Q171ENC-W8 Ambient temperature -5 to 55°C (23 to 131°F) Resolution 4194304PLS/rev Serial communications Transmission method (Connected to MR-J4-B-RJ) Direction of increasing addresses CCW (viewed from end of shaft) Dustproof/Waterproof Protective construction (IP67: Except for the shaft-through portion.)
  • Page 66 Chapter 2 System Configuration Specifications of serial absolute synchronous encoder input (CN2L) of servo amplifier Item Specifications Applicable types Q171ENC-W8 Applicable signal types Differential-output type : (SN75C1168 or equivalent) Transmission method Serial communications Synchronous method Counter-clock-wise (viewed from end of shaft) Communication speed 2.5Mbps Position detection method...
  • Page 67: Applicable System

    Chapter 2 System Configuration 2.3 Applicable system (1) Number of applicable modules The LD77MS is regarded as two modules by the CPU module. Therefore, the number of connectable modules is half of that of other modules. Pay attention to the power supply capacity before mounting modules because power supply capacity may be insufficient depending on the combination with other modules or the number of mounted modules.
  • Page 68: How To Check The Function Version And Serial No

    Chapter 2 System Configuration 2.4 How to check the function version and SERIAL No. The function version and the SERIAL No. of the Simple Motion module can be checked in the following methods. (1) Checking on the front of the module The serial No.
  • Page 69: Restrictions By The Serial No. And Version

    Chapter 2 System Configuration 2.5 Restrictions by the SERIAL No. and version There are restrictions in the function that can be used by the SERIAL No. of the Simple Motion module and the version of GX Works2. The combination of each version and function is shown below. LD77MS2/LD77MS4 LD77MS16 First five digits of...
  • Page 70 Chapter 2 System Configuration MEMO 2 - 10...
  • Page 71 Chapter 3 Specifications and Functions Chapter 3 Specifications and Functions The various specifications of the Simple Motion module are explained in this chapter. The "Performance specifications", "List of functions", "Specifications of input/output signals with PLC CPU", and "Specifications of interfaces with external devices", etc., are described as information required when designing the positioning system.
  • Page 72: Performance Specifications

    Chapter 3 Specifications and Functions 3.1 Performance specifications Model LD77MS2 LD77MS4 LD77MS16 Item Number of control axes 2 axes 4 axes 16 axes Operation cycle 0.88ms/1.77ms 2-axis linear interpolation, 2-, 3-, or 4-axis linear interpolation, Interpolation function 2-axis circular interpolation 2-axis circular interpolation PTP (Point To Point) control, path control (both linear and arc can be set), speed control, Control method...
  • Page 73 Chapter 3 Specifications and Functions Model LD77MS2 LD77MS4 LD77MS16 Item (Note-3) Starting time (ms) 1-axis linear control 1-axis speed control 2-axis linear interpolation control (Composite speed) 0.88 2-axis linear interpolation control (Reference axis speed) 2-axis circular interpolation control 0.88 1.77 2-axis speed control 3-axis linear interpolation control (Composite speed)
  • Page 74: List Of Functions

    Chapter 3 Specifications and Functions 3.2 List of functions 3.2.1 LD77MS control functions The Simple Motion module has several functions. In this manual, the Simple Motion module functions are categorized and explained as follows. Main functions (1) OPR control "OPR control" is a function (Fast OPR) that established the start point for carrying out positioning control (Machine OPR), and carries out positioning toward that start point.
  • Page 75 Chapter 3 Specifications and Functions Sub functions When executing the main functions, control compensation, limits and functions can be added. (Refer to Chapter 13 "Control Sub Functions".) Common functions Common control using the Simple Motion module for "parameter initialization" or "backup of execution data"...
  • Page 76 Chapter 3 Specifications and Functions Main functions Sub functions Control registered in LD77MS OPR control <Functions characteristic to machine OPR> [Positioning start No.] OPR retry function [9001] Machine OPR OP shift function [9002] Fast OPR <Functions that compensate control> Control using "Positioning data" Major positioning control Backlash compensation function...
  • Page 77: Ld77Ms Main Functions

    Chapter 3 Specifications and Functions 3.2.2 LD77MS main functions The outline of the main functions for positioning control with the Simple Motion module is described below. (Refer to "Section 2" for details on each function.) Reference Main functions Details section Mechanically establishes the positioning start point using a near-point dog, etc.
  • Page 78 Chapter 3 Specifications and Functions Reference Main functions Details section With one start, executes the positioning data in a random block with the Block start (Normal start) 10.3.2 set order. Carries out condition judgment set in the "condition data" for the designated positioning data, and then executes the "block start data".
  • Page 79: Ld77Ms Sub Functions

    Chapter 3 Specifications and Functions 3.2.3 LD77MS sub functions The outline of the functions that assist positioning control using the Simple Motion module is described below. (Refer to "Section 2" for details on each function.) Reference Sub function Details section This function retries the machine OPR with the upper/lower limit switches during the machine OPR.
  • Page 80 Chapter 3 Specifications and Functions Reference Sub function Details section This function restores the absolute position of designated axis. Absolute position system 13.6 If the OPR is executed at the start of system, after that, it is unnecessary to carry out the OPR when the power is turned ON. This function temporarily stops the operation to confirm the positioning operation during debugging, etc.
  • Page 81: Ld77Ms Common Functions

    Chapter 3 Specifications and Functions 3.2.4 LD77MS common functions The outline of the functions executed as necessary is described below. (Refer to "Section 2" for details on each function.) Reference Common functions Details section This function returns the "parameters" stored in the buffer memory/internal memory and flash ROM/internal memory (nonvolatile) of Simple Motion module to the default values.
  • Page 82 Chapter 3 Specifications and Functions Reference Common functions Details section This function is used to execute deceleration stop safety for Hot line forced stop function other axes when the servo alarm occurs in the servo amplifier 14.15 MR-JE-B. 3 - 12...
  • Page 83 Chapter 3 Specifications and Functions MEMO 3 - 13...
  • Page 84: Combination Of Ld77Ms Main Functions And Sub Functions

    Chapter 3 Specifications and Functions 3.2.5 Combination of LD77MS main functions and sub functions With positioning control using the Simple Motion module, 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 85 Chapter 3 Specifications and Functions Functions that limit control Functions that change control details Other functions : Always combine, : Combination possible, : Combination limited, : Combination not possible 3 - 15...
  • Page 86: Specifications Of Input/Output Signals With Plc Cpu

    Chapter 3 Specifications and Functions 3.3 Specifications of input/output signals with PLC CPU 3.3.1 List of input/output signals with PLC CPU The Simple Motion module uses 32 input points and 32 output points for exchanging data with the PLC CPU. The input/output signals when the head I/O number of Simple Motion module is set to "0H"...
  • Page 87 Chapter 3 Specifications and Functions (2) LD77MS4 Signal direction: LD77MS4 PLC CPU Signal direction: PLC CPU LD77MS4 Device No. Signal name Device No. Signal name READY PLC READY Synchronization flag All axis servo ON Use prohibited Use prohibited Axis 1 Axis 1 Axis 2 Axis 2...
  • Page 88 Chapter 3 Specifications and Functions (3) LD77MS16 Signal direction: LD77MS16 PLC CPU Signal direction: PLC CPU LD77MS16 Device No. Signal name Device No. Signal name READY PLC READY Synchronization flag All axis servo ON Use prohibited Use prohibited Axis 1 Axis 1 Axis 2 Axis 2...
  • Page 89: Plc Cpu)

    Chapter 3 Specifications and Functions 3.3.2 Details of input signals (LD77MS PLC CPU) The ON/OFF timing and conditions of the input signals are shown below. (1) LD77MS2/LD77MS4 Device Signal name Details READY ON: READY • When the PLC READY signal [Y0] turns from OFF to ON, the parameter setting range is checked.
  • Page 90 Chapter 3 Specifications and Functions Important (Note-1): The BUSY signal turns ON even when position control of movement amount 0 is executed. However, since the ON time is short, the ON status may not to be detected in the sequence program. (Note-2): "Positioning complete"...
  • Page 91: Details Of Output Signals (Plc Cpu Ld77Ms)

    Chapter 3 Specifications and Functions 3.3.3 Details of output signals (PLC CPU LD77MS) The ON/OFF timing and conditions of the output signals are shown below. (1) LD77MS2/LD77MS4 Device No. Signal name Details PLC READY OFF: (a) This signal notifies the Simple Motion module that the PLC CPU PLC READY OFF is normal.
  • Page 92 Chapter 3 Specifications and Functions (2) LD77MS16 Device No. Signal name Details PLC READY OFF: (a) This signal notifies the Simple Motion module that the PLC CPU PLC READY OFF is normal. • It is turned ON/OFF with the sequence program. PLC READY ON •...
  • Page 93: Specifications Of Interfaces With External Devices

    Chapter 3 Specifications and Functions 3.4 Specifications of interfaces with external devices 3.4.1 Electrical specifications of input signals (1) External command signal/Switching signal (a) Specifications of external command signal/switching signal Item Specifications Number of input points 4 points Input method Positive common/Negative common shared Common terminal arrangement 4 points/common (Common contact: COM)
  • Page 94 Chapter 3 Specifications and Functions (3) Manual pulse generator/Incremental synchronous encoder input (a) Specifications of manual pulse generator/incremental synchronous encoder Item Specifications Phase A/Phase B (Magnification by 4/ (Note-1) Signal input form Magnification by 2/Magnification by 1), PLS/SIGN (Note-2) Maximum input pulse frequency 1Mpps (After magnification by 4, up to 4Mpps) Pulse width 1µs or more...
  • Page 95: Signal Layout For External Input Connection Connector

    Chapter 3 Specifications and Functions 3.4.2 Signal layout for external input connection connector The specifications of the connector section, which is the input/output interface for the Simple Motion module and external device, are shown below. LD77MS2 LD77MS4 LD77MS16 AX 1 2 3 4 5 6 7 8 ERR.
  • Page 96 Chapter 3 Specifications and Functions The signal layout for the external input connection connector of Simple Motion module is shown. Pin layout Pin No. Signal name Pin No. Signal name (Note-9) (Note-9) (Note-9) (Note-9) (Note-1), (Note-2), (Note-3) (Note-1), (Note-2), (Note-3) (Note-1), (Note-2), (Note-4) (Note-1), (Note-2), (Note-4) (Note-1), (Note-2), (Note-4)
  • Page 97: List Of Input Signal Details

    Chapter 3 Specifications and Functions 3.4.3 List of input signal details The details of each external input connection connector of Simple Motion module are shown below. Signal name Pin No. Signal details (A+) (1) Phase A/Phase B Manual pulse • Input the pulse signal from the manual pulse generator/incremental generator/Incremental synchronous encoder A phase and B phase.
  • Page 98 Chapter 3 Specifications and Functions Signal name Pin No. Signal details (A+) Manual pulse (2) PLS/SIGN generator/Incremental Input the pulse signal for counting the increased/decreased pulse in the synchronous encoder pulse input (PLS). Input the signal for controlling forward run and reverse A phase/PLS run in the direction sign (SIGN).
  • Page 99: Interface Internal Circuit

    Chapter 3 Specifications and Functions 3.4.4 Interface internal circuit The outline diagrams of the internal circuits for the external device connection interface (for the Simple Motion module, axis 1) are shown below. (1) Interface between external command signals/switching signals Pin No. Input or Wiring Signal name...
  • Page 100 Chapter 3 Specifications and Functions (3) Manual pulse generator/Incremental synchronous encoder input (a) Interface between manual pulse generator/incremental synchronous encoder (Differential-output type) Input or Signal name Pin No. Wiring example Internal circuit Output Manual pulse (A+) generator, phase A/ (A-) Manual pulse generator/ Input...
  • Page 101 Chapter 3 Specifications and Functions (4) Wiring example for manual pulse generator/incremental synchronous encoder Wire the manual pulse generator/incremental synchronous encoder of differential output type and voltage output type/open-collector type as follows. Switch the input type of the Simple Motion module by " Manual pulse Pr.89 generator/Incremental synchronous encoder input type selection".
  • Page 102 Chapter 3 Specifications and Functions (b) Manual pulse generator/Incremental synchronous encoder of voltage output type/open-collector type When using the external When using the internal power supply (Recommended) power supply Manual pulse generator/ Manual pulse generator/ Simple Motion Simple Motion Incremental synchronous Incremental synchronous module module...
  • Page 103 Chapter 3 Specifications and Functions MEMO 3 - 33...
  • Page 104: External Circuit Design

    Chapter 3 Specifications and Functions 3.5 External circuit design Configure up the power supply circuit and main circuit which turn off the power supply after detection alarm occurrence and servo forced stop. When designing the main circuit of the power supply, make sure to use a circuit breaker (MCCB). The outline diagrams for the external device connection interface are shown below.
  • Page 105 Chapter 3 Specifications and Functions POINT 1: Configure up the power supply circuit which switch off the electromagnetic contactor (MC) after detection alarm occurrence on the PLC CPU. 2: It is also possible to use a full wave rectified power supply as the power supply for the electromagnetic brake. 3: It is also possible to perform the forced stop using forced stop terminal of the servo amplifier.
  • Page 106 Chapter 3 Specifications and Functions (Note-1) : When the control power supply of servo amplifier is shut off, it is not possible to communicate with the servo amplifier after that. Example) When the control power supply L11/L21 of the servo amplifier B in the figure is shut off, it is also not possible to communicate with the servo amplifier C .
  • Page 107 Chapter 3 Specifications and Functions MEMO 3 - 37...
  • Page 108 Chapter 3 Specifications and Functions (2) Example when using the forced stop of the LD77MS (For MR-JE-B) Important  The hot line forced stop function is enabled at the MR-JE-B factory-set. (Only MR-JE-B)  This function is used to execute deceleration stop for all axes by outputting the hot line forced stop signal to all axes and generating "E7.1"...
  • Page 109 Chapter 3 Specifications and Functions POINT 1: Configure up the power supply circuit which switch off the electromagnetic contactor (MC) after detection alarm occurrence on the PLC CPU. 2: It is also possible to use a full wave rectified power supply as the power supply for the electromagnetic brake. 3: It is also possible to perform the forced stop using forced stop terminal of the servo amplifier.
  • Page 110 Chapter 3 Specifications and Functions (Note) : If the emergency stop signal of Simple Motion module turns OFF when setting of " Pr.82 Forced stop valid/invalid selection" to "0: Valid", servomotor is stopped with dynamic brake. (The LED display of servo amplifier indicates "E7.1" (Controller forced stop input warning).) 3 - 40...
  • Page 111 Chapter 3 Specifications and Functions MEMO 3 - 41...
  • Page 112 Chapter 3 Specifications and Functions (3) Example when using the forced stop of the LD77MS and MR-J4-B 3-phase 200 to 230VAC Power Supply PLC CPU Simple Motion module cover L61P LnCPU MCCB1 LD77MS L6EC R S T Forced stop INPUT EMI.COM 100-240VAC 12/24VDC...
  • Page 113 Chapter 3 Specifications and Functions POINT 1: Configure up the power supply circuit which switch off the electromagnetic contactor (MC) after detection alarm occurrence on the PLC CPU. 2: It is also possible to use a full wave rectified power supply as the power supply for the electromagnetic brake. 3: Set the axis selection rotary switch of servo amplifier as follows to set the axis No.
  • Page 114 Chapter 3 Specifications and Functions (Note-1) : When the control power supply of servo amplifier is shut off, it is not possible to communicate with the servo amplifier after that. Example) When the control power supply L11/L21 of the servo amplifier B in the figure is shut off, it is also not possible to communicate with the servo amplifier C .
  • Page 115 Chapter 3 Specifications and Functions MEMO 3 - 45...
  • Page 116 Chapter 3 Specifications and Functions (4) Example when using the forced stop of the LD77MS and MR-JE-B Important  The hot line forced stop function is enabled at the MR-JE-B factory-set. (Only MR-JE-B)  This function is used to execute deceleration stop for all axes by outputting the hot line forced stop signal to all axes and generating "E7.1"...
  • Page 117 Chapter 3 Specifications and Functions POINT 1: Configure up the power supply circuit which switch off the electromagnetic contactor (MC) after detection alarm occurrence on the PLC CPU. 2: It is also possible to use a full wave rectified power supply as the power supply for the electromagnetic brake. 3: Set the axis selection rotary switch of servo amplifier as follows to set the axis No.
  • Page 118 Chapter 3 Specifications and Functions (Note) : The dynamic brake is operated, and servomotor occurs to the free run when EM1 (forced stop) of servo amplifier turn OFF. At the time, the display shows the servo forced stop warning (E6.1). During ordinary operation, do not used forced stop signal to alternate stop and run.
  • Page 119 Chapter 4 Installation, Wiring and Maintenance of the Product Chapter 4 Installation, Wiring and Maintenance of the Product The installation, wiring and maintenance of the Simple Motion module are explained in this chapter. Important information such as precautions to prevent malfunctioning of the Simple Motion module, accidents and injuries as well as the proper work methods are described.
  • Page 120: Outline Of Installation, Wiring And Maintenance

    Chapter 4 Installation, Wiring and Maintenance of the Product 4.1 Outline of installation, wiring and maintenance 4.1.1 Installation, wiring and maintenance procedures The outline and procedures for Simple Motion module installation, wiring and maintenance are shown below. Start Module mounting Refer to Section 4.2 "Installation".
  • Page 121: Names Of Each Part

    Chapter 4 Installation, Wiring and Maintenance of the Product 4.1.2 Names of each part (1) The part names of the Simple Motion module are shown below. LD77MS2 LD77MS4 LD77MS16 LD77MS2 LD77MS4 LD77MS16 AX 1 2 3 4 5 6 7 8 ERR.
  • Page 122 Chapter 4 Installation, Wiring and Maintenance of the Product (2) The LED display indicates the following operation statuses of the Simple Motion module and axes. LD77MS2 LD77MS4 LD77MS16 LD77MS2 LD77MS4 LD77MS16 AX 1 2 3 4 5 6 7 8 ERR.
  • Page 123: Handling Precautions

    Chapter 4 Installation, Wiring and Maintenance of the Product 4.1.3 Handling precautions Handle the Simple Motion module and cable while observing the following precautions. [1] Handling precautions CAUTION Use the programmable controller in an environment that meets the general specifications in the manual "Safety Guidelines", the manual supplied with the PLC CPU module.
  • Page 124 Chapter 4 Installation, Wiring and Maintenance of the Product [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 PCB of Simple Motion module from the case. Failure to observe this could lead to faults.
  • Page 125: Installation

    Chapter 4 Installation, Wiring and Maintenance of the Product 4.2 Installation 4.2.1 Precautions for installation The precautions for installing the Simple Motion module are given below. Refer to this section as well as Section 4.1.3 "Handling precautions" when carrying out the work. Precautions for installation DANGER Completely turn off the externally supplied power used in the system before installing or...
  • Page 126: Wiring

    Chapter 4 Installation, Wiring and Maintenance of the Product 4.3 Wiring The precautions for wiring the Simple Motion module are given below. Refer to this section as well as Section 4.1.3 "Handling precautions" when carrying out the work. 4.3.1 Precautions for wiring DANGER Completely turn off the externally supplied power used in the system before installation or wiring.
  • Page 127 Chapter 4 Installation, Wiring and Maintenance of the Product CAUTION Forcibly removal the SSCNET cable from the Simple Motion module will damage the Simple Motion module and SSCNET cables. After removal of the SSCNET cable, be sure to put a cap on the SSCNET connector.
  • Page 128 Chapter 4 Installation, Wiring and Maintenance of the Product CAUTION If the adhesion of solvent and oil to the cord part of SSCNET cable may lower the optical characteristic and machine characteristic. If it is used such an environment, be sure to do the protection measures to the cord part.
  • Page 129: Precautions For Wiring

    Chapter 4 Installation, Wiring and Maintenance of the Product [1] Precautions for wiring (1) Use separate cables for connecting to the Simple Motion module and for the power cable that create surge and inductance. (2) The cable for connecting the Simple Motion module can be placed in the duct or secured in place by clamps.
  • Page 130 Chapter 4 Installation, Wiring and Maintenance of the Product [Processing example of shielded cables] Connections of FG wire and each shielded cable Remove the covering from all shielded cables and bind the appeared shield with a conductive tape. Wrap the coated part with a heat contractile tube.
  • Page 131 Chapter 4 Installation, Wiring and Maintenance of the Product Assembling of connector (LD77MHIOCON) Mount the cable clamp with ground plate to the conductive tape. 4 - 13...
  • Page 132 (6) To make this product conform to the EMC directive instruction and Low Voltage Directives, be sure to use an AD75CK type cable clamp (manufactured by Mitsubishi Electric) for grounding connected to the control box and the shielded cable. Inside control box LD77MS 20cm(7.87inch) to...
  • Page 133 Chapter 4 Installation, Wiring and Maintenance of the Product [2] Precautions for SSCNET cable wiring SSCNET cable is made from optical fiber. If optical fiber is added a power such as a major shock, lateral pressure, haul, sudden bending or twist, its inside distorts or breaks, and optical transmission will not be available.
  • Page 134 Chapter 4 Installation, Wiring and Maintenance of the Product (4) Twisting If the SSCNET cable is twisted, it will become the same stress added condition as when local lateral pressure or bend is added. Consequently, transmission loss increases, and the breakage of SSCNET cable may occur at worst.
  • Page 135 Chapter 4 Installation, Wiring and Maintenance of the Product • Bundle fixing Optical cord should be given loose slack to avoid from becoming smaller than the minimum bend radius, and it should not be twisted. When laying cable, fix and hold it in position with using cushioning such as sponge or rubber which does not contain plasticizing material.
  • Page 136 Chapter 4 Installation, Wiring and Maintenance of the Product [3] Precautions for FG terminal wiring (1) Wiring Use the thickest wires (Up to 1.31mm ) possible to reduce the voltage drop to the minimum for the FG cable of the Simple Motion module. Use the wires of the following core size and crimping terminal for wiring.
  • Page 137 Chapter 4 Installation, Wiring and Maintenance of the Product [4] Example of measure against noise for compliance with the EMC directive. : AD75CK cable clamp Power supply PLC CPU LD77MS : Ferrite core (NEC TOKIN Corporation) SSCNET cable AC power 24VDC supply power supply...
  • Page 138: Confirming The Installation And Wiring

    Chapter 4 Installation, Wiring and Maintenance of the Product 4.4 Confirming the installation and wiring 4.4.1 Items to confirm when installation and wiring are completed Check the following points when completed with the installation of Simple Motion module and wiring. ...
  • Page 139: Maintenance

    Chapter 4 Installation, Wiring and Maintenance of the Product 4.5 Maintenance 4.5.1 Precautions for maintenance The precautions for servicing the Simple Motion module are given below. Refer to this section as well as Section 4.1.3 "Handling precautions" when carrying out the work. DANGER Completely turn off the externally supplied power used in the system before clearing or tightening the connector screws.
  • Page 140 Chapter 4 Installation, Wiring and Maintenance of the Product MEMO 4 - 22...
  • Page 141 Chapter 5 Data Used for Positioning Control Chapter 5 Data Used for Positioning Control The parameters and data used to carry out positioning control with the Simple Motion module are explained in this chapter. With the positioning system using the Simple Motion module, the various parameters and data explained in this chapter are used for control.
  • Page 142: Types Of Data

    Chapter 5 Data Used for Positioning Control 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 Simple Motion module include the "setting data", "monitor data" and "control data" shown below. Setting data The data is set beforehand according to the machine and application.
  • Page 143 Chapter 5 Data Used for Positioning Control Setting data Positioning Parameters Basic parameters 1 parameters Set according to the machine and applicable motor when the system is started up. Basic parameters 2 Note) If the setting of the basic parameters 1 is incorrect, the rotation direction may be reversed, or no operation may take place.
  • Page 144 Chapter 5 Data Used for Positioning Control The following methods are available for data setting: • Set using GX Works2. • Create the sequence program for data setting using GX Works2 and execute it. In this manual, the method using the GX Works2 will be explained. (Refer to "Point"...
  • Page 145 Chapter 5 Data Used for Positioning Control Monitor data The data indicates the control status. The data is stored in the buffer memory. Monitor the data as necessary. The monitor data is classified as follows. Monitor data Monitors the specifications and the operation history System monitor data of Simple Motion module.
  • Page 146: Setting Items For Positioning Parameters

    Chapter 5 Data Used for Positioning Control 5.1.2 Setting items for positioning parameters The table below lists items set to the positioning parameters. The "positioning parameters" are set for each axis for all controls achieved by the Simple Motion module. For details of controls, refer to "Section 2".
  • Page 147 Chapter 5 Data Used for Positioning Control Expansion Control Major positioning control Manual control control Position control Other control Positioning parameter Pr.25 Acceleration time 1 – – – – – Pr.26 Acceleration time 2 – – – – – Acceleration time 3 –...
  • Page 148: Setting Items For Opr Parameters

    Chapter 5 Data Used for Positioning Control 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 for each axis. Refer to Chapter 8 "OPR control"...
  • Page 149: Setting Items For Expansion Parameters

    Chapter 5 Data Used for Positioning Control Checking the OPR parameters are checked with the following timing. Pr.43 Pr.57  When the "PLC READY signal [Y0]" output from the PLC CPU to the Simple Motion module changes from OFF to ON. ...
  • Page 150: Setting Items For Positioning Data

    Chapter 5 Data Used for Positioning Control 5.1.6 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 151 Chapter 5 Data Used for Positioning Control Major positioning control Position control Other control Positioning data Axis to be interpolated 1 : 2 axes, 3 axes, 4 axes –: 1 axis – – – – – – – Da.20 LD77MS16 Axis to be interpolated 2 : 3 axes, 4 axes –: 1 axis, 2 axes –...
  • Page 152: Setting Items For Block Start Data

    Chapter 5 Data Used for Positioning Control 5.1.7 Setting items for block start data The "block start data" must be set when carrying out "high-level positioning control". The setting items for the "block start data" are shown below. Up to 50 points of "block start data" can be set for each axis. Refer to Chapter 10 "High-Level Positioning Control"...
  • Page 153: Setting Items For Condition Data

    Chapter 5 Data Used for Positioning Control 5.1.8 Setting items for condition data When carrying out "high-level positioning control" or using the JUMP instruction in the "major positioning control", the "condition data" must be set as required. The setting items for the "condition data" are shown below. Up to 10 "condition data"...
  • Page 154: Types And Roles Of Monitor Data

    Chapter 5 Data Used for Positioning Control 5.1.9 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 155 Chapter 5 Data Used for Positioning Control Monitoring details Corresponding item Number of write accesses to the flash Number of write accesses to flash ROM Md.19 Number of write accesses to flash ROM ROM after the power is switched ON Forced stop input signal Forced stop input signal (EMI) Md.50...
  • Page 156 Chapter 5 Data Used for Positioning Control [2] Monitoring the axis operation state Monitoring the position Monitor details Corresponding item Monitor the current machine feed value Md.21 Machine feed value Md.20 Monitor the current "current feed value" Current feed value Md.32 Monitor the current target value Target value...
  • Page 157 Chapter 5 Data Used for Positioning Control Monitoring the status of servo amplifier Monitor details Corresponding item Monitor the real current value (current feed value - deviation Real current value Md.101 counter). Monitor the pulse droop. Deviation counter value Md.102 Monitor the motor speed of servo motor.
  • Page 158 Chapter 5 Data Used for Positioning Control Monitoring the state Monitor details Corresponding item Monitor the axis operation state Md.26 Axis operation status Monitor the latest error code that occurred with the axis Md.23 Axis error No. Monitor the latest warning code that occurred with the axis Md.24 Axis warning No.
  • Page 159: Types And Roles Of Control Data

    Chapter 5 Data Used for Positioning Control 5.1.10 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.) Items that can be controlled are described below.
  • Page 160 Chapter 5 Data Used for Positioning Control [2] Controlling the operation Controlling the operation Control details Corresponding item Set which positioning to execute (start No.). Cd.3 Positioning start No. Clear (reset) the axis error ( ) and warning ( Cd.5 Axis error reset Md.23 Md.24...
  • Page 161 Chapter 5 Data Used for Positioning Control Controlling the speed Control details Corresponding item Set new speed when changing speed during operation. Cd.14 New speed value Issue instruction to change speed in operation to value. Cd.14 Cd.15 Speed change request (Only during positioning operation and JOG operation).
  • Page 162 Chapter 5 Data Used for Positioning Control Control details Corresponding item Set "same setting/individual setting" of the forward torque limit value Cd.112 Torque change function switching request or reverse torque limit value in the torque change function. Change " New torque value/forward new torque Torque limit stored value/forward torque limit stored Md.35 Cd.22...
  • Page 163: List Of Parameters

    Chapter 5 Data Used for Positioning Control 5.2 List of parameters The setting items of the setting data are explained in this section. • Guide to buffer memory address In the buffer memory address, "n" in "1+150n", etc. indicates a value corresponding to axis No.
  • Page 164 Chapter 5 Data Used for Positioning Control Unit setting Pr.1 Set the unit used for defining positioning operations. Choose from the following units depending on the type of the control target: mm, inch, degree, or PLS. Different units can be defined for different axes. (Example) Different units (mm, inch, degree, and PLS) are applicable to different systems: •...
  • Page 165 Chapter 5 Data Used for Positioning Control (Example) • When an error does not occur In the case of AP = 4194304 [PLS], AL = 2000000 [  degree], and AM = 1, the value is within the range as follows. 4194304 Electronic gear AM =...
  • Page 166 Chapter 5 Data Used for Positioning Control Bias speed at start Pr.7 Set the bias speed (minimum speed) upon starting. When using a stepping motor, etc., set it to start the motor smoothly. (If the motor speed at start is low, the stepping motor does not start smoothly.) The specified "bias speed at start"...
  • Page 167 Chapter 5 Data Used for Positioning Control POINT For the 2-axis or more interpolation control, the bias speed at start is applied by the setting of " ". Interpolation speed designation method Pr.20  "0: Composite speed" : Bias speed at start set to the reference axis is applied to the composite command speed.
  • Page 168: Basic Parameters 2

    Chapter 5 Data Used for Positioning Control 5.2.2 Basic parameters 2 Setting value, setting range Buffer memory address Default Item Value set with sequence LD77MS2 value Value set with GX Works2 LD77MS16 program LD77MS4 10+150n Pr.8 The setting range differs depending on the " ".
  • Page 169: Detailed Parameters 1

    Chapter 5 Data Used for Positioning Control 5.2.3 Detailed parameters 1 Setting value, setting range Buffer memory address Item Default value Value set with sequence LD77MS2 Value set with GX Works2 LD77MS16 program LD77MS4 Pr.11 17+150n Backlash compensation amount Pr.12 The setting value range differs according to the "...
  • Page 170 Chapter 5 Data Used for Positioning Control Setting value, setting range Buffer memory address Item Default value Value set with sequence LD77MS2 Value set with GX Works2 LD77MS16 program LD77MS4 b0 Lower limit b1 Upper limit b2 Not used b3 Stop signal External command/ switching...
  • Page 171 Chapter 5 Data Used for Positioning Control Backlash compensation amount Pr.11 The error that occurs due to backlash when moving the machine via gears can be compensated. (When the backlash compensation amount is set, commands equivalent to the compensation amount will be output each time the direction changes during positioning.) OPR direction Pr.44...
  • Page 172 Chapter 5 Data Used for Positioning Control Value set with GX Works2 Value set with sequence program Pr.1 setting value (unit) (unit) 0 to 65535 (  10 0 to 6553.5 (  m)  m) 0 : mm 0 to 65535 (  10 1 : inch 0 to 0.65535 (inch) inch)
  • Page 173 Chapter 5 Data Used for Positioning Control Software stroke limit selection Pr.14 Set whether to apply the software stroke limit on the "current feed value" or the "machine feed value". The software stroke limit will be validated according to the set value.
  • Page 174 Chapter 5 Data Used for Positioning Control M code ON signal output timing Pr.18 This parameter sets the M code ON signal output timing. Choose either WITH mode or AFTER mode as the M code ON signal output timing. [LD77MS4 operation example] WITH mode ....
  • Page 175 Chapter 5 Data Used for Positioning Control Speed switching mode Pr.19 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 176 Chapter 5 Data Used for Positioning Control Current feed value during speed control Pr.21 Specify whether you wish to enable or disable the update of " Current feed Md.20 " while operations are performed under the speed control (including the speed value control in speed-position and position-speed switching control).
  • Page 177 Chapter 5 Data Used for Positioning Control External input signal selection Pr.80 Set whether to use "external input signal of servo amplifier" or "buffer memory of LD77MS" as an external input signal (upper/lower limit signal or near-point dog signal)". 1: External input signal of servo amplifier 2: Buffer memory of LD77MS 1: At MR-JE-B use, refer to Appendix 6.5 "Connection with MR-JE-B".
  • Page 178 Chapter 5 Data Used for Positioning Control (b) A-phase/B-phase multiplied by 2 The positioning address increases or decreases at twice rising or twice falling edges of A-phase/B-phase. Input signal logic selection Pr.22 Positive logic Negative logic Forward run Reverse run Forward run Reverse run A-phase...
  • Page 179 Chapter 5 Data Used for Positioning Control (2) PLS/SIGN Input signal logic selection Pr.22 Positive logic Negative logic Forward run and reverse run are controlled with the ON/OFF Forward run and reverse run are controlled with the ON/OFF of the direction sign (SIGN). of the direction sign (SIGN).
  • Page 180: Detailed Parameters 2

    Chapter 5 Data Used for Positioning Control 5.2.4 Detailed parameters 2 Setting value, setting range Buffer memory address Default Item Value set with sequence LD77MS2 value Value set with GX Works2 LD77MS16 program LD77MS4 36+150n Acceleration time 1 Pr.25 37+150n 38+150n Acceleration time 2 Pr.26...
  • Page 181 Chapter 5 Data Used for Positioning Control Setting value, setting range Buffer memory address Default Item Value set with sequence LD77MS2 value Value set with GX Works2 LD77MS16 program LD77MS4 Pr.41 The setting value range differs depending on the " Unit Pr.1 60+150n...
  • Page 182 Chapter 5 Data Used for Positioning Control Deceleration time 1 to Deceleration time 3 Pr.28 Pr.30 These parameters set the time for the speed to decrease from the " Speed limit Pr.8 " (" " at JOG operation control) to zero during a value JOG speed limit value Pr.31...
  • Page 183 Chapter 5 Data Used for Positioning Control Acceleration/deceleration process selection Pr.34 Set whether to use trapezoid acceleration/deceleration or S-curve acceleration/ deceleration for the acceleration/deceleration process. Note) Refer to Section 13.7.6 "Acceleration/deceleration processing function" for details. Velocity Velocity The acceleration and deceleration The acceleration and deceleration are linear.
  • Page 184 Chapter 5 Data Used for Positioning Control Sudden stop deceleration time Pr.36 Set the time to reach speed 0 from " " (" Speed limit value JOG speed limit Pr.8 Pr.31 " at JOG operation control) during the sudden stop. The illustration below value shows the relationships with other parameters.
  • Page 185 Chapter 5 Data Used for Positioning Control Positioning complete signal output time Pr.40 Set the output time of the positioning complete signal output from the Simple Motion module. A positioning completes when the specified dwell time has passed after the Simple Motion module had terminated the command output.
  • Page 186 Chapter 5 Data Used for Positioning Control Allowable circular interpolation error width Pr.41 The allowable error range of the calculated arc path and end point address is set. If the error of the calculated arc path and end point address is within the set range, circular interpolation will be carried out to the set end point address while compensating the error with spiral interpolation.
  • Page 187 Chapter 5 Data Used for Positioning Control External command function selection Pr.42 Select a command with which the external command signal should be associated. 0: External positioning start The external command signal input is used to start a positioning operation. 1: External speed change request The external command signal input is used to change the speed in the current positioning operation.
  • Page 188 Chapter 5 Data Used for Positioning Control Restart allowable range when servo OFF to ON Pr.84 (1) Restart function at switching servo OFF to ON The restart function at switching servo OFF to ON performs continuous positioning operation (positioning start, restart) when switching servo OFF to ON while the Simple Motion module is stopped (including forced stop, servo forced stop).
  • Page 189 Chapter 5 Data Used for Positioning Control (2) Setting method For performing restart at switching servo OFF to ON, set the restart allowable range in the following buffer memory. Setting value buffer memory address Default value Item Setting range LD77MS2 LD77MS16 LD77MS4 64+150n...
  • Page 190 Chapter 5 Data Used for Positioning Control (g) Restart can also be executed while the positioning start signal is ON. However, do not set the positioning start signal from OFF to ON during a stop. If the positioning start signal is switched from OFF to ON, positioning is performed from the positioning data number set in "...
  • Page 191 Chapter 5 Data Used for Positioning Control Operation setting for speed-torque control mode Pr.90 Operation setting of the speed control mode, torque control mode or continuous operation to torque control mode at the speed-torque control is executed. (1) Torque initial value selection Set the torque initial value at switching to torque control mode or to continuous operation to torque control mode.
  • Page 192: Opr Basic Parameters

    Chapter 5 Data Used for Positioning Control External command signal selection Pr.95 LD77MS16 Set the external command signal. 0: Not used ..External command signal is not used. 1: DI1 ....DI1 is used as external command signal. 2: DI2 ....DI2 is used as external command signal. 3: DI3 ....
  • Page 193 Chapter 5 Data Used for Positioning Control OPR method Pr.43 Set the "OPR method" for carrying out machine OPR. 0: Near-point dog method ..After decelerating at the near-point dog ON, stop at the zero signal and complete the machine OPR. 4: Count method 1) ....
  • Page 194 Chapter 5 Data Used for Positioning Control 0 : Near-point dog method (1) Start machine OPR. (Start movement at the " " in the " OPR speed Pr.46 Pr.44 ".) direction (2) Detect the near-point dog ON, and start deceleration. OPR speed Pr.46 (3) Decelerate to "...
  • Page 195 Chapter 5 Data Used for Positioning Control 5 : Count method 2) (1) Start machine OPR. (Start movement at the " " in the " OPR speed Pr.46 Pr.44 OPR speed Pr.46 Pr.50 Setting for the movement ".) direction amount after near-point dog ON (2) Detect the near-point dog ON, and start deceleration.
  • Page 196 Chapter 5 Data Used for Positioning Control OPR direction Pr.44 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 197 Chapter 5 Data Used for Positioning Control OP address Pr.45 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 address set in " ".
  • Page 198 Chapter 5 Data Used for Positioning Control Creep speed Pr.47 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. OPR speed) Creep speed) Bias speed at start) Pr.46...
  • Page 199 Chapter 5 Data Used for Positioning Control OPR retry Pr.48 Set whether to carry out OPR retry. When the OPR retry function is validated and the machine OPR is started, first the axis will move in the OPR direction (1)). If the upper/lower limit signal turns OFF before the near-point dog signal ON is detected (2)), the axis will decelerate to a stop, and then will move in the direction opposite the OPR direction (3)).
  • Page 200: Opr Detailed Parameters

    Chapter 5 Data Used for Positioning Control 5.2.6 OPR detailed parameters Setting value, setting range Buffer memory address Default Item Value set with sequence LD77MS2 value Value set with GX Works2 LD77MS16 program LD77MS4 Pr.50 The setting value range differs depending on the " Unit 80+150n Pr.1...
  • Page 201 Chapter 5 Data Used for Positioning Control Setting for the movement amount after near-point dog ON Pr.50 When using the count method 1) or 2), set the movement amount to the OP after the near-point dog signal turns ON. (The movement amount after near-point dog ON should be equal to or greater than the sum of the "distance covered by the deceleration from the OPR speed to the creep speed"...
  • Page 202 Chapter 5 Data Used for Positioning Control OPR deceleration time selection Pr.52 Set which of "deceleration time 0 to 3" to use for the deceleration time during OPR. 0 : Use the value set in " ". Deceleration time 0 Pr.10 1 : Use the value set in "...
  • Page 203 Chapter 5 Data Used for Positioning Control OPR torque limit value Pr.54 Set the value to limit the servomotor torque after reaching the creep speed during machine OPR. Refer to Section 13.4.2 "Torque limit function" for details on the torque limits. Operation setting for incompletion of OPR Pr.55 Set whether the positioning control is executed or not (When the OPR request flag...
  • Page 204 Chapter 5 Data Used for Positioning Control Speed designation during OP shift Pr.56 Set the operation speed for when a value other than "0" is set for " OP shift Pr.53 ". Select the setting from " " or " ".
  • Page 205: Expansion Parameters

    Chapter 5 Data Used for Positioning Control 5.2.7 Expansion parameters Setting value, setting range Buffer memory address Item Default value Value set with sequence LD77MS2 Value set with GX Works2 LD77MS16 program LD77MS4 0 : No setting (Note-2) 1 : Effective load ratio 2 : Regenerative load ratio 3 : Peak load ratio Pr.91...
  • Page 206 Chapter 5 Data Used for Positioning Control Optional data monitor: Data type setting 1 to Optional data Pr.91 Pr.94 monitor: Data type setting 4 Set the data type monitored in optional data monitor function. Setting value Data type Used point (Note-1) No setting (Note-2)
  • Page 207 Chapter 5 Data Used for Positioning Control POINT (1) The monitor address of optional data monitor is registered to servo amplifier with initialized communication after power supply ON or PLC CPU reset. (2) Set the data type of "used point: 2 words" in " Optional data monitor: Data Pr.91 "...
  • Page 208 Chapter 5 Data Used for Positioning Control Operation cycle setting Pr.96 Set the operation cycle. (Only the value specified against the axis 1 is valid.) 0: 0.88ms 1: 1.77ms POINT (1) In this parameter, the value set in flash ROM of Simple Motion module is valid at power supply ON or PLC CPU reset.
  • Page 209 Chapter 5 Data Used for Positioning Control POINT In this parameter, the value set in flash ROM of Simple Motion module is valid at power supply ON or PLC CPU reset. Fetch by PLC READY signal OFF to ON is not executed.
  • Page 210: Servo Parameters

    Chapter 5 Data Used for Positioning Control 5.2.8 Servo parameters (1) Servo series Buffer memory address Default Item Setting details Setting range LD77MS2 value LD77MS16 LD77MS4 0: Servo series is not set 1: MR-J3-_B_, MR-J3W-_B (2-axis type) 3: MR-J3-_B_-RJ006 (For fully closed loop control) MR-J3-_BS_ (For safety servo) 4: MR-J3-_B_-RJ004...
  • Page 211 Chapter 5 Data Used for Positioning Control (a) Basic setting parameters Buffer memory address Buffer memory address Servo amplifier Servo amplifier LD77MS2 LD77MS2 Parameter No. Parameter No. LD77MS16 LD77MS16 LD77MS4 LD77MS4 PA01 30101+200n 28401+100n PA18 30118+200n 28418+100n PA02 30102+200n 28402+100n Set with PA19 30932+50n...
  • Page 212 Chapter 5 Data Used for Positioning Control (b) Gain/filter setting parameters Buffer memory address Buffer memory address Servo amplifier Servo amplifier LD77MS2 LD77MS2 Parameter No. Parameter No. LD77MS16 LD77MS16 LD77MS4 LD77MS4 PB01 30119+200n 28419+100n PB33 30151+200n 28451+100n PB02 30120+200n 28420+100n PB34 30152+200n 28452+100n...
  • Page 213 Chapter 5 Data Used for Positioning Control (c) Extension setting parameters Buffer memory address Buffer memory address Servo amplifier Servo amplifier LD77MS2 LD77MS2 Parameter No. Parameter No. LD77MS16 LD77MS16 LD77MS4 LD77MS4 PC01 30164+200n 28464+100n PC33 64432+250n 64432+70n PC02 30165+200n 28465+100n PC34 64433+250n 64433+70n...
  • Page 214 Chapter 5 Data Used for Positioning Control (d) I/O setting parameters Buffer memory address Buffer memory address Servo amplifier Servo amplifier LD77MS2 LD77MS2 Parameter No. Parameter No. LD77MS16 LD77MS16 LD77MS4 LD77MS4 PD01 30196+200n PD25 30220+200n PD02 30197+200n PD26 30221+200n PD03 30198+200n PD27 30222+200n...
  • Page 215 Chapter 5 Data Used for Positioning Control (e) Extension setting 2 parameters Buffer memory address Buffer memory address Servo amplifier Servo amplifier LD77MS2 LD77MS2 Parameter No. Parameter No. LD77MS16 LD77MS16 LD77MS4 LD77MS4 PE01 30228+200n PE33 30260+200n PE02 30229+200n PE34 30261+200n PE03 30230+200n PE35...
  • Page 216 Chapter 5 Data Used for Positioning Control (f) Special setting parameters Buffer memory address Buffer memory address Servo amplifier Servo amplifier LD77MS2 LD77MS2 Parameter No. Parameter No. LD77MS16 LD77MS16 LD77MS4 LD77MS4 PS01 30268+200n PS17 30284+200n PS02 30269+200n PS18 30285+200n PS03 30270+200n PS19 30286+200n...
  • Page 217 Chapter 5 Data Used for Positioning Control (h) Option setting parameters Buffer memory address Buffer memory address Servo amplifier Servo amplifier LD77MS2 LD77MS2 Parameter No. Parameter No. LD77MS16 LD77MS16 LD77MS4 LD77MS4 Po01 30916+50n Po17 64536+250n Po02 30917+50n Po18 64537+250n Po03 30918+50n Po19 64538+250n...
  • Page 218 Chapter 5 Data Used for Positioning Control (3) Parameters of MR-J3(W)-B The parameter list for MR-J3(W)-B is shown below. Refer to each servo amplifier instruction manual for details of setting items. Do not change other than the buffer memory addresses of the parameters described in each servo amplifier instruction manual.
  • Page 219 Chapter 5 Data Used for Positioning Control (a) Basic setting parameters Buffer memory address Buffer memory address Servo amplifier Servo amplifier LD77MS2 LD77MS2 Parameter No. Parameter No. LD77MS16 LD77MS16 LD77MS4 LD77MS4 PA01 30101+200n 28401+100n PA11 30111+200n 28411+100n PA02 30102+200n 28402+100n PA12 30112+200n 28412+100n...
  • Page 220 Chapter 5 Data Used for Positioning Control (c) Expansion setting parameters Buffer memory address Buffer memory address Servo amplifier Servo amplifier LD77MS2 LD77MS2 Parameter No. Parameter No. LD77MS16 LD77MS16 LD77MS4 LD77MS4 PC01 30164+200n 28464+100n PC17 30180+200n 28480+100n PC02 30165+200n 28465+100n PC18 30181+200n 28481+100n...
  • Page 221 Chapter 5 Data Used for Positioning Control (e) Extension control parameters Buffer memory address Buffer memory address Servo amplifier Servo amplifier LD77MS2 LD77MS2 Parameter No. Parameter No. LD77MS16 LD77MS16 LD77MS4 LD77MS4 PE01 30228+200n PE21 30248+200n PE02 30229+200n PE22 30249+200n PE03 30230+200n PE23 30250+200n...
  • Page 222 Chapter 5 Data Used for Positioning Control (g) Other setting parameters Buffer memory address Buffer memory address Servo amplifier Servo amplifier LD77MS2 LD77MS2 Parameter No. Parameter No. LD77MS16 LD77MS16 LD77MS4 LD77MS4 PF01 30900+50n PF09 30908+50n PF02 30901+50n PF10 30909+50n PF03 30902+50n PF11 30910+50n...
  • Page 223: List Of Positioning Data

    Chapter 5 Data Used for Positioning Control 5.3 List of positioning data Before explaining the positioning data setting items Da.1 Da.10 Da.20 the configuration of the positioning data will be shown below. Da.22 The positioning data stored in the buffer memory of Simple Motion module has the following type of configuration.
  • Page 224 Chapter 5 Data Used for Positioning Control The descriptions that follow relate to the positioning data set items Da.1 Da.10 Da.20 Da.22 (The buffer memory addresses shown are those of the "positioning data No. 1".) • Guide to buffer memory address In the buffer memory address, "n"...
  • Page 225 Chapter 5 Data Used for Positioning Control Setting value Buffer memory address Default Item LD77MS2 value Value set with GX Works2 Value set with sequence program LD77MS16 LD77MS4 00: Positioning complete Da.1 Operation pattern Operation 01: Continuous positioning control pattern 11: Continuous path control : ABS Linear 1 : INC Linear 1...
  • Page 226 Chapter 5 Data Used for Positioning Control Setting value, setting range Buffer memory address Default Item Value set with sequence LD77MS2 value Value set with GX Works2 LD77MS16 program LD77MS4 Da.6 2006+6000n 6006+1000n Positioning address/ 2007+6000n 6007+1000n The setting value range differs according to the " Control Da.2 movement amount...
  • Page 227 Chapter 5 Data Used for Positioning Control Operation pattern Da.1 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 228 Chapter 5 Data Used for Positioning Control Deceleration time No. Da.4 Set which of "deceleration time 0 to 3" to use for the deceleration time during positioning. 0: Use the value set in " ". Deceleration time 0 Pr.10 1: Use the value set in " ".
  • Page 229 Chapter 5 Data Used for Positioning Control (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 230 Chapter 5 Data Used for Positioning Control When " " is "mm" Unit setting Pr.1 The table below lists the control methods that require the setting of the positioning address or movement amount and the associated setting ranges. (With any control method 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 GX Works2...
  • Page 231 Chapter 5 Data Used for Positioning Control When " " is "degree" Unit setting Pr.1 The table below lists the control methods that require the setting of the positioning address or movement amount and the associated setting ranges. (With any control method 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 GX Works2...
  • Page 232 Chapter 5 Data Used for Positioning Control When " " is "PLS" Unit setting Pr.1 The table below lists the control methods that require the setting of the positioning address or movement amount and the associated setting ranges. (With any control method excluded from the table below, neither the positioning address nor the movement amount needs to be set.) Value set with GX Works2 Value set with sequence program...
  • Page 233 Chapter 5 Data Used for Positioning Control When " " is "inch" Unit setting Pr.1 The table below lists the control methods that require the setting of the positioning address or movement amount and the associated setting ranges. (With any control method 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 GX Works2...
  • Page 234 Chapter 5 Data Used for Positioning Control When " " is "mm" Unit setting Pr.1 The table below lists the control methods that require the setting of the arc address and shows the setting range. (With any control method excluded from the table below, the arc address does not need to be set.) Value set with sequence program Value set with GX Works2...
  • Page 235 Chapter 5 Data Used for Positioning Control When " " is "inch" Unit setting Pr.1 The table below lists the control methods that require the setting of the arc address and shows the setting range. (With any control method excluded from the table below, the arc address does not need to be set.) Value set with sequence program Value set with GX Works2...
  • Page 236 Chapter 5 Data Used for Positioning Control Dwell time/JUMP designation positioning data No. Da.9 Set the "dwell time" or "positioning data No." corresponding to the " Control Da.2 ". method  When a method other than "JUMP instruction" is set for " "...
  • Page 237 Chapter 5 Data Used for Positioning Control M code/Condition data No./Number of LOOP to LEND repetitions Da.10 Set an "M code", a "condition data No.", or the "Number of LOOP to LEND repetitions" depending on how the " " is set. Control method Da.2 ...
  • Page 238 Chapter 5 Data Used for Positioning Control Axis to be interpolated No.1 to Axis to be interpolated No.3 Da.20 Da.22 LD77MS16 Set the axis to be interpolated to execute the 2 to 4-axis interpolation operation. • 2-axis interpolation ..Set the target axis number in " Axis to be Da.20 ".
  • Page 239: List Of Block Start Data

    Chapter 5 Data Used for Positioning Control 5.4 List of block start data The illustrations below show the organization of the block start data stored in the buffer memory of Simple Motion module. The block start data setting items Da.11 Da.14 are explained in the pages that follow.
  • Page 240 Chapter 5 Data Used for Positioning Control The following pages explain the block start data setting items Da.11 Da.14 (The buffer memory addresses shown are those of the "1st point block start data (block No. 7000)".) • Guide to buffer memory address In the buffer memory address, "n"...
  • Page 241 Chapter 5 Data Used for Positioning Control REMARK To perform a high-level positioning control using block start data, set a number between 7000 and 7004 to the " " and use the " Positioning start No. Cd.3 Cd.4 " to specify a point number between 1 and 50, a position Positioning starting point No.
  • Page 242 Chapter 5 Data Used for Positioning Control Setting value Buffer memory address Default Item LD77MS2 value Value set with GX Works2 Value set with sequence program LD77MS16 LD77MS4 0 : End Da.11 Shape 0 0 0 1 : Continue 0000 26000+1000n 22000+400n Shape Positioning data No.:...
  • Page 243 Chapter 5 Data Used for Positioning Control Shape Da.11 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 244: List Of Condition Data

    Chapter 5 Data Used for Positioning Control 5.5 List of condition data The illustrations below show the organization of the condition data stored in the buffer memory of Simple Motion module. The condition data setting items Da.15 Da.19 are explained in the pages that follow. Da.23 Da.26 •...
  • Page 245 Chapter 5 Data Used for Positioning Control The following pages that follow explain the condition data setting items Da.15 Da.19 Da.23 Da.26 (The buffer memory addresses shown are those of the "condition data No. 1 (block No. 7000)".) • Guide to buffer memory address In the buffer memory address, "n"...
  • Page 246 Chapter 5 Data Used for Positioning Control REMARK To perform a high-level positioning control using block start data, set a number between 7000 and 7004 to the " " and use the " Positioning start No. Cd.3 Cd.4 " to specify a point number between 1 and 50, a position Positioning starting point No.
  • Page 247 Chapter 5 Data Used for Positioning Control Setting value Buffer memory address Default Item LD77MS2 value Value set with GX Works2 Value set with sequence program LD77MS16 LD77MS4 01 : Device X 02 : Device Y Da.15 Condition target 03 : Buffer memory (1-word) Condition 04 : Buffer memory (2-word) target...
  • Page 248 Chapter 5 Data Used for Positioning Control Setting value Buffer memory address Default Item LD77MS2 value Value set with GX Works2 Value set with sequence program LD77MS16 LD77MS4 2: 2 axes Number Da.23 of simultaneous 3: 3 axes starting axes 4: 4 axes LD77MS16 0: Axis 1 selected...
  • Page 249 Chapter 5 Data Used for Positioning Control Condition target Da.15 Set the condition target as required for each control. Setting value Setting details 01H : Device X Set the input/output signal ON/OFF as the conditions. 02H : Device Y 03H : Buffer memory (1-word) Set the value stored in the buffer memory as the condition. 03H: The target buffer memory is "1-word (16 bits)"...
  • Page 250 Chapter 5 Data Used for Positioning Control Parameter 1 Da.18 • LD77MS2/ LD77MS4 Set the parameters as required for the " ". Condition operator Da.16 Setting value Setting details Condition operator Da.16 01H :  =P1 02H :   P1 The value of P1 should be equal to or smaller than the value of 03H : ...
  • Page 251 Chapter 5 Data Used for Positioning Control Parameter 2 Da.19 • LD77MS2/ LD77MS4 Set the parameters as required for the " ". Condition operator Da.16 Setting value Setting details Condition operator Da.16 01H :  =P1 02H :   P1 —...
  • Page 252 Chapter 5 Data Used for Positioning Control Number of simultaneous starting axes LD77MS16 Da.23 Set the number of simultaneous starting axes to execute the simultaneous start. 2: Simultaneous start by 2 axes of the starting axis and axis set in " Da.24 ".
  • Page 253 Chapter 5 Data Used for Positioning Control MEMO 5 - 113...
  • Page 254: List Of Monitor Data

    Chapter 5 Data Used for Positioning Control 5.6 List of monitor data The setting items of the monitor data are explained in this section. • Guide to buffer memory address In the buffer memory address, "n" in "2406+100n", etc. indicates a value corresponding to axis No.
  • Page 255 Chapter 5 Data Used for Positioning Control Buffer memory address (common for all axes) Reading the monitor value Default value LD77MS2 LD77MS16 LD77MS4 Monitoring is carried out with a decimal. Monitor Storage value 1200 4000 value 0: Not in test mode 1: In test mode (Unless noted in particular, the monitor value is saved as binary data.) 5 - 115...
  • Page 256 Chapter 5 Data Used for Positioning Control 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 257 Chapter 5 Data Used for Positioning Control Buffer memory address (common for all axes) Default value LD77MS2/LD77MS4 LD77MS16 LD77MS2/LD77MS4 Md.8 1292 Start history pointer Indicates a pointer No. that is next to the pointer No. assigned to the latest of the existing starting history records. Pointer No.
  • Page 258 Chapter 5 Data Used for Positioning Control Storage item Storage details Reading the monitor value Monitoring is carried out with a hexadecimal display. The starting time (Year: month) is Buffer memory (stored with BCD code) Md.54 stored. Monitor value Start 0 0 0 1 0 0 0 0 0 0 0 1 1 0 Year: month...
  • Page 259 Chapter 5 Data Used for Positioning Control Buffer memory address (common for all axes) Default value LD77MS2/LD77MS4 LD77MS16 0000H LD77MS2/LD77MS4 Md.8 1292 Start history pointer Indicates a pointer No. that is next to the pointer No. assigned to the latest of the existing starting history records. Pointer No.
  • Page 260 Chapter 5 Data Used for Positioning Control Storage item Storage details Reading the monitor value Monitoring is carried out with a decimal display. Monitor Storage value Stores an axis No. in which an Md.9 value 1: Axis 1 5: Axis 5 9: Axis 9 13 : Axis 13 error occurred.
  • Page 261 Chapter 5 Data Used for Positioning Control Buffer memory address (common for all axes) Default value LD77MS2/LD77MS4 LD77MS16 Each history record is assigned a pointer No. in the range between 0 and 15. If the pointer No. 15 has been assigned to a new record, the next record will be assigned the pointer number 0. (A new record replaces an older record when a pointer No.
  • Page 262 Chapter 5 Data Used for Positioning Control Storage item Storage details Reading the monitor value Monitoring is carried out with a decimal display. Monitor Storage value Stores an axis No. in which a Md.14 value 1: Axis 1 5: Axis 5 9: Axis 9 13 : Axis 13 warning occurred.
  • Page 263 Chapter 5 Data Used for Positioning Control Buffer memory address (common for all axes) Default value LD77MS2/LD77MS4 LD77MS16 LD77MS2/LD77MS4 Md.18 1422 Warning history pointer Indicates a pointer No. that is next to the pointer No. assigned to the latest of the existing warning history records. Pointer No.
  • Page 264 Chapter 5 Data Used for Positioning Control Storage item Storage details Reading the monitor value Stores the number of write accesses to the flash ROM after the power is switched ON. The count is cleared to "0" Md.19 Monitoring is carried out with a decimal display. when the number of write Storage value Number of write...
  • Page 265 Chapter 5 Data Used for Positioning Control Buffer memory address (common for all axes) Default value LD77MS2/LD77MS4 LD77MS16 1424 4224 1425 4225 1431 4231 1432 4232 1434 4234 1433 4233 LD77MS2: 3000H LD77MS4: 31332 3001H (Monitors this buffer memory address too. LD77MS2/ LD77MS4: 1435, LD77MS16: 4235) LD77MS16: 3002H Factory-set...
  • Page 266 Chapter 5 Data Used for Positioning Control Storage item Storage details Reading the monitor value Stores the current operation Monitoring is carried out with a decimal display. cycle. Md.132 Monitor Storage value Operation cycle value 0: 0.88ms Refresh cycle: At power supply setting 1: 1.77ms Monitoring is carried out with a decimal display.
  • Page 267 Chapter 5 Data Used for Positioning Control Buffer memory address (common for all axes) Default value LD77MS2/LD77MS4 LD77MS16 1438 4238 1439 4239 1208 4008 1209 4009 5 - 127...
  • Page 268: Axis Monitor Data

    Chapter 5 Data Used for Positioning Control 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 269 Chapter 5 Data Used for Positioning Control Buffer memory address Default Reading the monitor value value LD77MS2 LD77MS16 LD77MS4 800+100n 2400+100n 0000H 801+100n 2401+100n Monitoring is carried out with a hexadecimal. Low-order buffer memory Example) 800 Monitor value High-order buffer memory Example) 801 Sorting (High-order buffer memory) (Low-order buffer memory) 802+100n...
  • Page 270 Chapter 5 Data Used for Positioning Control Storage item Storage details When an axis error is detected, the error code corresponding to the error details is stored.  The latest error code is always stored. (When a new axis error occurs, the error code is overwritten.) Axis error No.
  • Page 271 Chapter 5 Data Used for Positioning Control Buffer memory address Default Reading the monitor value value LD77MS2 LD77MS16 LD77MS4 Monitoring is carried out with a hexadecimal. Monitor Axis error value 0000H 806+100n 2406+100n For details of error codes, refer to Section 16.5 "List of errors".
  • Page 272 Chapter 5 Data Used for Positioning Control Storage item Storage details The " " used by the positioning data currently being executed is Command speed Da.8 stored.  If " " is set to "-1", this area stores the command speed set Command speed Da.8 by the positioning data used one step earlier.
  • Page 273 Chapter 5 Data Used for Positioning Control Buffer memory address Default Reading the monitor value value LD77MS2 LD77MS16 LD77MS4 Monitoring is carried out with a decimal display. Monitor Decimal integer value value Unit conversion table Md.27 Unit conversion Unit 10 810+100n 2410+100n mm/min...
  • Page 274 Chapter 5 Data Used for Positioning Control Storage item Storage details The ON/OFF state of the external input signal is stored. The following items are stored.  Lower limit signal  Upper limit signal  Stop signal  External command signal/switching signal ...
  • Page 275 Chapter 5 Data Used for Positioning Control Buffer memory address Default Reading the monitor value value LD77MS2 LD77MS16 LD77MS4 Monitoring is carried out with a hexadecimal. Monitor value Buffer memory 0000H 816+100n 2416+100n Not used D e fau lt Stored items Meaning va lu e Lower limit signal...
  • Page 276 Chapter 5 Data Used for Positioning Control 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 277 Chapter 5 Data Used for Positioning Control Buffer memory address Default Reading the monitor value value LD77MS2 LD77MS16 LD77MS4 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 Not used Default...
  • Page 278 Chapter 5 Data Used for Positioning Control Storage item Storage details This area stores the target value ( Positioning address/movement amount) Da.6 for a positioning operation.  At the beginning of positioning control and current value changing: Stores the value of " ".
  • Page 279 Chapter 5 Data Used for Positioning Control Buffer memory address Default Reading the monitor value value LD77MS2 LD77MS16 LD77MS4 Monitoring is carried out with a decimal display. Monitor Decimal integer value value Unit conversion table Md.32 818+100n 2418+100n Unit conversion Unit 819+100n 2419+100n...
  • Page 280 Chapter 5 Data Used for Positioning Control Storage item Storage details " ", " ", " Torque limit setting value Torque output setting value New torque Pr.17 Cd.101 Cd.22 " or " " is stored. value/forward new torque value OPR torque limit value Pr.54 ...
  • Page 281 Chapter 5 Data Used for Positioning Control Buffer memory address Default Reading the monitor value value LD77MS2 LD77MS16 LD77MS4 Monitoring is carried out with a decimal display. Monitor value 826+100n 2426+100n Storage value 1 to 1000 (%) Monitoring is carried out with a decimal display. Monitor Storage value value...
  • Page 282 Chapter 5 Data Used for Positioning Control Storage item Storage details  If the speed exceeds the " " (" " at Speed limit value JOG speed limit value Pr.8 Pr.31 JOG operation control) due to a speed change or override, the speed limit functions, and the in speed limit flag turns ON.
  • Page 283 Chapter 5 Data Used for Positioning Control Buffer memory address Default Reading the monitor value value LD77MS2 LD77MS16 LD77MS4 Monitoring is carried out with a decimal display. Monitor Storage value 830+100n 2430+100n value 0: Not in speed limit (OFF) 1: In speed limit (ON) Monitoring is carried out with a decimal display.
  • Page 284 Chapter 5 Data Used for Positioning Control Storage item Storage details  This area stores the positioning data No. attached to the positioning data that was executed last time.  Last executed positioning data The value is retained until a new positioning operation is executed. Md.46 ...
  • Page 285 Chapter 5 Data Used for Positioning Control Buffer memory address Default Reading the monitor value value LD77MS2 LD77MS16 LD77MS4 Monitoring is carried out with a decimal display. Storage value 837+100n 2437+100n 1 to 600, 9001 to 9003 Monitor value Information is stored in the following addresses: Stored address Reference (Monitor value)
  • Page 286 Chapter 5 Data Used for Positioning Control Storage item Storage details  This area stores the travel distance during the OPR travel to the zero point that was executed last time. "0" is stored at machine OPR start. For setting units OPR re-travel value Md.100 Example) mm...
  • Page 287 Chapter 5 Data Used for Positioning Control Buffer memory address Default Reading the monitor value value LD77MS2 LD77MS16 LD77MS4 Monitoring is carried out with a hexadecimal display. Low-order buffer memory Example) 848 Monitor 848+100n 2448+100n value 0000H 849+100n 2449+100n High-order buffer memory Example) 849 Sorting 850+100n 2450+100n...
  • Page 288 Chapter 5 Data Used for Positioning Control Storage item Storage details  When a servo parameter error occurs, the area that corresponds to the parameter number affected by the error comes ON.  When the " " (axis control data) is set to ON after remove the Axis error reset Cd.5 Parameter error No.
  • Page 289 Chapter 5 Data Used for Positioning Control Buffer memory address Default Reading the monitor value value LD77MS2 LD77MS16 LD77MS4 Monitoring is carried out with a decimal display. Monitor value Storage value When SSCNET setting is SSCNET When SSCNET setting is SSCNET Storage value Parameter No.
  • Page 290 Chapter 5 Data Used for Positioning Control Storage item Storage details  The rate of regenerative power to the allowable regenerative power is indicated as a percentage.  When the regenerative option is used, the rate to the allowable regenerative power of the option is indicated.
  • Page 291 Chapter 5 Data Used for Positioning Control Buffer memory address Default Reading the monitor value value LD77MS2 LD77MS16 LD77MS4 Monitoring is carried out with a decimal display. Monitor 878+100n 2478+100n value Regenerative load ratio/ Optional data monitor output 1 Monitoring is carried out with a decimal display. Monitor 879+100n 2479+100n...
  • Page 292 Chapter 5 Data Used for Positioning Control Storage item Storage details  The option information of encoder is indicated. Encoder option information Md.116 Refresh cycle: Servo amplifier's power supply ON " ", " ", " Torque limit setting value Torque output setting value Pr.17 Cd.101 Cd.113...
  • Page 293 Chapter 5 Data Used for Positioning Control Buffer memory address Default Reading the monitor value value LD77MS2 LD77MS16 LD77MS4 Monitoring is carried out with a hexadecimal display. Stored items Details ABS/INC mode distinction for 0: INC mode magnetism type 1: ABS mode encoder 0: Multi-revolution Connecting to...
  • Page 294 Chapter 5 Data Used for Positioning Control Storage item Storage details  This area stores the command speed during speed control mode.  This area stores the command speed during continuous operation to torque control mode.  "0" is stored other than during speed control mode or continuous operation to Speed during command Md.122 torque control mode.
  • Page 295 Chapter 5 Data Used for Positioning Control Buffer memory address Default Reading the monitor value value LD77MS2 LD77MS16 LD77MS4 Monitoring is carried out with a decimal display. Monitor value 892+100n 2492+100n Unit conversion table 893+100n 2493+100n Md.122 Unit conversion Unit 10 mm/min inch/min...
  • Page 296 Chapter 5 Data Used for Positioning Control Storage item Storage details  This area stores the driver operation alarm number. Driver operation alarm Md.502 number Refresh cycle: Immediate 5 - 156...
  • Page 297 Chapter 5 Data Used for Positioning Control Buffer memory address Default Reading the monitor value value LD77MS2 LD77MS16 LD77MS4 Monitoring is carried out with a hexadecimal display. Monitor value 0000H 59302+100n Driver Detailed number operation alarm Example) When the driver operation alarm is "10H" and the detailed number is "23H", "1023H"...
  • Page 298: List Of Control Data

    Chapter 5 Data Used for Positioning Control 5.7 List of control data The setting items of the control data are explained in this section. • Guide to buffer memory address In the buffer memory address, "n" in "4303+100n", etc. indicates a value corresponding to axis No.
  • Page 299 Chapter 5 Data Used for Positioning Control Buffer memory address (common for all axes) Default Setting value value LD77MS2 LD77MS16 LD77MS4 Set with a decimal. Setting value Flash ROM write request 1: Requests write access to flash ROM. 1900 5900 The Simple Motion module resets the value to "0"...
  • Page 300 Chapter 5 Data Used for Positioning Control Setting item Setting details  Set whether " Deceleration start flag" is made valid or invalid. Md.48 Fetch cycle: At PLC READY ON Deceleration start flag valid Cd.41 POINT The " " become valid when the PLC READY Deceleration start flag valid Cd.41 signal [Y0] turns from OFF to ON.
  • Page 301 Chapter 5 Data Used for Positioning Control Buffer memory address (common for all axes) Default Setting value value LD77MS2 LD77MS16 LD77MS4 Set with a decimal. Setting value 1905 5905 Deceleration start flag valid 0: Deceleration start flag invalid 1: Deceleration start flag valid Set with a decimal.
  • Page 302 Chapter 5 Data Used for Positioning Control Setting item Setting details  Operate the stop signal input status of LD77MS when "1" is set in " External Pr.80 ". input signal selection  Operate the external input signal status (Upper/lower limit signal, near-point dog External input signal operation Cd.44 signal, stop signal) of LD77MS when "2"...
  • Page 303 Chapter 5 Data Used for Positioning Control Buffer memory address (common for all axes) Default Setting value value LD77MS2 LD77MS16 LD77MS4 Set with a hexadecimal. Setting value Buffer memory LD77MS2/LD77MS4 Buffer Default Setting items Meaning memory value Axis 1 Upper limit signal (FLS) Axis 1 Lower limit signal (RLS) "...
  • Page 304 Chapter 5 Data Used for Positioning Control Setting item Setting details  Request to set the initial value of LD77MH in setting data. Refer to Section 14.14 for initialized setting data. LD77MH initial value setting Cd.47 Fetch cycle: 103[ms] request Note: After completing the initialization of setting data, switch the power ON or reset the PLC CPU.
  • Page 305 Chapter 5 Data Used for Positioning Control Buffer memory address (common for all axes) Default Setting value value LD77MS2 LD77MS16 LD77MS4 Set with a decimal. Setting value 1909 5909 LD77MH initial value setting request 1: Requests LD77MH initial value setting. The Simple Motion module resets the value to "0"...
  • Page 306: Axis Control Data

    Chapter 5 Data Used for Positioning Control 5.7.2 Axis control data Setting item Setting details  Set the positioning start No. (Only 1 to 600 for the Pre-reading start function. For details, refer to Section 13.7.7 "Pre-reading start function".) Positioning start No. Cd.3 Fetch cycle: At start ...
  • Page 307 Chapter 5 Data Used for Positioning Control Buffer memory address Default Setting value value LD77MS2 LD77MS16 LD77MS4 Set with a decimal. Setting value 1500+100n 4300+100n Positioning data No. : Positioning data No. 1 to 600 : Block start designation 7000 to7004 : Machine OPR 9001 : Fast-OPR...
  • Page 308 Chapter 5 Data Used for Positioning Control Setting item Setting details  The M code ON signal turns OFF. M code OFF request Cd.7 Fetch cycle: Operation cycle  Validates or invalidates external command signals. External command valid Cd.8 Fetch cycle: At request by external command signal ...
  • Page 309 Chapter 5 Data Used for Positioning Control Buffer memory address Default Setting value value LD77MS2 LD77MS16 LD77MS4 Set with a decimal. Setting value M code OFF request 1504+100n 4304+100n 1: M code ON signal turns OFF After the M code ON signal turns OFF, "0" is stored by the Simple Motion module automatically.
  • Page 310 Chapter 5 Data Used for Positioning Control Setting item Setting details  Enables or disables modifications to the acceleration/deceleration time during a Acceleration/deceleration time Cd.12 speed change. change value during speed change, enable/disable Fetch cycle: At change request  To use the positioning operation speed override function, use this data item to specify an "override"...
  • Page 311 Chapter 5 Data Used for Positioning Control Buffer memory address Default Setting value value LD77MS2 LD77MS16 LD77MS4 Set with a decimal. Setting value 1512+100n 4312+100n Acceleration/deceleration time change value during speed change, enable/disable : Enables modifications to acceleration/deceleration time Other than 1: Disables modifications to acceleration/deceleration time Set with a decimal.
  • Page 312 Chapter 5 Data Used for Positioning Control 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 Unit...
  • Page 313 Chapter 5 Data Used for Positioning Control Buffer memory address Default Setting value value LD77MS2 LD77MS16 LD77MS4 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+100n 4317+100n inch...
  • Page 314 Chapter 5 Data Used for Positioning Control Setting item Setting details  The sequence program can use this data item to forcibly turn the OPR request flag from ON to OFF. Fetch cycle: 14.2[ms] OPR request flag OFF request Cd.19 POINT This parameter is made valid when the increment system is valid.
  • Page 315 Chapter 5 Data Used for Positioning Control Buffer memory address Default Setting value value LD77MS2 LD77MS16 LD77MS4 Set with a decimal. Setting value OPR request flag OFF request 1521+100n 4321+100n 1: Turns the "OPR request flag" from ON to OFF. The Simple Motion module resets the value to "0"...
  • Page 316 Chapter 5 Data Used for Positioning Control 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 317 Chapter 5 Data Used for Positioning Control Buffer memory address Default Setting value value LD77MS2 LD77MS16 LD77MS4 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+100n 4326+100n...
  • Page 318 Chapter 5 Data Used for Positioning Control Setting item Setting details  Set whether the switching signal set in " Speed-position switching device Cd.45 " is enabled or not. selection Position-speed switching Cd.26 enable flag Fetch cycle: At switching request ...
  • Page 319 Chapter 5 Data Used for Positioning Control Buffer memory address Default Setting value value LD77MS2 LD77MS16 LD77MS4 Set with a decimal. Setting value Position-speed switching enable flag 0: Position control will not be taken over by 1532+100n 4332+100n speed control even when the signal set in "...
  • Page 320 Chapter 5 Data Used for Positioning Control Setting item Setting details Simultaneous starting axis  Use these data items to specify an axis 1 start data No. for start data No. (axis 1 start each axis that has to start simultaneously. data No.) ...
  • Page 321 Chapter 5 Data Used for Positioning Control Buffer memory address Default Setting value value LD77MS2 LD77MS16 LD77MS4 1540+100n 4340+100n Set with a decimal. 1541+100n Setting value 4341+100n LD77MS2 use Cd.30 Cd.31 Simultaneous starting axis start data No. 1 to 600 1542+100n LD77MS4 use Cd.30...
  • Page 322 Chapter 5 Data Used for Positioning Control Setting item Setting details  This data item validates or invalidates step operations. Step valid flag Cd.35 Fetch cycle: At start  To continue the step operation when the step function is used, set "1" in the data item.
  • Page 323 Chapter 5 Data Used for Positioning Control Buffer memory address Default Setting value value LD77MS2 LD77MS16 LD77MS4 Set with a decimal. Setting value 1545+100n 4345+100n Step valid flag 0: Invalidates step operations 1: Validates step operations Set with a decimal. Setting value 1546+100n...
  • Page 324 Chapter 5 Data Used for Positioning Control Setting item Setting details  This data item specifies the ABS moving direction carrying out the position control when "degree" is selected as the unit. ABS direction in degrees Cd.40 Fetch cycle: At start ...
  • Page 325 Chapter 5 Data Used for Positioning Control Buffer memory address Default Setting value value LD77MS2 LD77MS16 LD77MS4 Set with a decimal. Setting value 1550+100n 4350+100n ABS direction in degrees 0: Takes a shortcut. (Specified direction ignored.) 1: ABS circular right 2: ABS circular left Set with a hexadecimal.
  • Page 326 Chapter 5 Data Used for Positioning Control Setting item Setting details  Executes servo OFF for each axis. Fetch cycle: Operation cycle Servo OFF command Cd.100 POINT To execute servo ON for axes other than axis 1 being servo OFF, write "1" to storage buffer memory address of axis 1 and then turn ON all axis servo ON [Y1] signal.
  • Page 327 Chapter 5 Data Used for Positioning Control Buffer memory address Default Setting value value LD77MS2 LD77MS16 LD77MS4 Set with a decimal. Setting value 1551+100n 4351+100n Servo OFF command 0: Servo ON 1: Servo OFF Valid only during servo ON for all axes. Set with a decimal.
  • Page 328 Chapter 5 Data Used for Positioning Control Setting item Setting details  "1" is set in " ", a new reverse torque Torque change function switching request Cd.112 limit value is set. (when "0" is set in " Torque change function switching Cd.112 ", the setting value is invalid.) request...
  • Page 329 Chapter 5 Data Used for Positioning Control Buffer memory address Default Setting value value LD77MS2 LD77MS16 LD77MS4 Set with a decimal. Setting value 1564+100n 4364+100n New reverse torque value 0 to Pr.17 Torque limit setting value (%) Set with a decimal. Set "1"...
  • Page 330 Chapter 5 Data Used for Positioning Control Setting item Setting details  Set the change value of servo parameter set in " ". Parameter No. Cd.131 Change data Cd.132 Fetch cycle: At change request  Set the switching of semi closed control and fully closed control. Semi/Fully closed loop Cd.133 switching request...
  • Page 331 Chapter 5 Data Used for Positioning Control Buffer memory address Default Setting value value LD77MS2 LD77MS16 LD77MS4 Set with a decimal or hexadecimal. [1 word write request] When "1" is set in " ", set the change value to Servo parameter write request Cd.130 low-order buffer memory.
  • Page 332 Chapter 5 Data Used for Positioning Control Setting item Setting details  Set the PI-PID switching to servo amplifier. PI-PID switching request Cd.136 Fetch cycle: Operation cycle  Request the control mode switching. Set "1" after setting " ". Control mode setting Cd.139 Control mode switching Cd.138...
  • Page 333 Chapter 5 Data Used for Positioning Control Buffer memory address Default Setting value value LD77MS2 LD77MS16 LD77MS4 Set with a decimal. Setting value 1565+100n 4365+100n PI-PID switching request : PID control switching request Other than 1: Not request Set with a decimal. Setting value 1574+100n...
  • Page 334 Chapter 5 Data Used for Positioning Control Setting item Setting details  Set the deceleration time at speed control mode. (Set the time for the speed to decrease from " " to "0".) Speed limit value Pr.8 Deceleration time at speed Cd.142 0 to 65535 (ms) control mode...
  • Page 335 Chapter 5 Data Used for Positioning Control Buffer memory address Default Setting value value LD77MS2 LD77MS16 LD77MS4 Set with a decimal. Setting value 1000 1579+100n 4379+100n Deceleration time at speed control mode (ms) 0 to 65535 Set with a decimal. Setting value 1580+100n...
  • Page 336 Chapter 5 Data Used for Positioning Control Setting item Setting details  Set the speed limit value at continuous operation to torque control mode.  The setting value range differs according to the " ". Unit setting Pr.1 inch degree Unit setting Pr.1 ...
  • Page 337 Chapter 5 Data Used for Positioning Control Buffer memory address Default Setting value value LD77MS2 LD77MS16 LD77MS4 Set with a decimal. Cd.147 Speed limit value at continuous Actual value operation to torque control mode Conversion into an integer value Unit conversion table ( Cd.147 1586+100n 4386+100n...
  • Page 338 Chapter 5 Data Used for Positioning Control Setting item Setting details  Set the time constant at regeneration during continuous operation to torque control mode. Torque time constant at Cd.152 (Set the time for the torque to decrease from " "...
  • Page 339 Chapter 5 Data Used for Positioning Control Buffer memory address Default Setting value value LD77MS2 LD77MS16 LD77MS4 Set with a decimal. Setting value 1000 1592+100n 4392+100n Torque time constant at continuous operation torque control mode (Negative direction) (ms) 0 to 65535 Set with a decimal.
  • Page 340 Chapter 5 Data Used for Positioning Control Setting item Setting details  When the axis stop signal turns ON, the OPR control, positioning control, JOG operation, inching operation, manual pulse generator operation, speed-torque control, etc. will stop.  By turning the axis stop signal ON during positioning operation, the positioning operation will be "stopped".
  • Page 341 Chapter 5 Data Used for Positioning Control Buffer memory address Default Setting value value LD77MS2 LD77MS16 LD77MS4 Set with a decimal. Setting value 30100+10n Axis stop : Axis stop requested Other than 1: Axis stop not requested Set with a decimal. 30101+10n Setting value...
  • Page 342 Chapter 5 Data Used for Positioning Control MEMO 5 - 202...
  • Page 343 Chapter 6 Sequence Program Used for Positioning Control Chapter 6 Sequence Program Used for Positioning Control The programs required to carry out positioning control with the Simple Motion module are explained in this chapter. The sequence program required for control is created allowing for the "start conditions", "start time chart", "device settings"...
  • Page 344: Precautions For Creating Program

    Chapter 6 Sequence Program Used for Positioning Control 6.1 Precautions for creating program The common precautions to be taken when writing data from the PLC CPU to the buffer memory of Simple Motion module 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 345 Chapter 6 Sequence Program Used for Positioning Control (4) System configuration Unless particularly designated, the sequence program for the following system using LD77MS4 is shown in this chapter and subsequent. Refer to Section 6.2 for the application of the devices to be used. X40 to X4F Forced stop input External...
  • Page 346 Chapter 6 Sequence Program Used for Positioning Control (b) When the circuit uses the "intelligent function device" on the source(s) side and the destination (D) side of a MOV command, change the command to a FROM command and a TO command. MOVP G826 Set the...
  • Page 347 Chapter 6 Sequence Program Used for Positioning Control (7) Conversion of sequence program from LD77MS2/LD77MS4 to LD77MS16 When the sequence program is changed from LD77MS2/LD77MS4 to LD77MS16, change the I/O signals with different arrangement as follows. (a) When not using index modification Stop com BUSY sig Axis sto...
  • Page 348: List Of Devices Used

    Chapter 6 Sequence Program Used for Positioning Control 6.2 List of devices used In the sequence programs using LD77MS4 shown in this chapter and subsequent, the application of the devices used are as follows. The I/O numbers for Simple Motion module indicate those when the head I/O number is set to "0H".
  • Page 349 Chapter 6 Sequence Program Used for Positioning Control 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 350 Chapter 6 Sequence Program Used for Positioning Control 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 351 Chapter 6 Sequence Program Used for Positioning Control 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 error complete ZP.TEACH1 instruction error device completed ZP.PINIT instruction complete device ZP.PINIT instruction completed ZP.PINIT instruction error complete ZP.PINIT instruction error completed...
  • Page 352 Chapter 6 Sequence Program Used for Positioning Control Device Device Application Details of storage name Axis 1 Axis 2 Axis 3 Axis 4 Acceleration time setting (low-order 16 bits) New acceleration time value Cd.10 Acceleration time setting (high-order 16 bits) Deceleration time setting (low-order 16 bits) New deceleration time value...
  • Page 353 Chapter 6 Sequence Program Used for Positioning Control Device Device Application Details of storage name Axis 1 Axis 2 Axis 3 Axis 4 Number of pulses per rotation (low-order 16 bits) Number of pulses per rotation Pr.2 Number of pulses per rotation (AP) (high-order 16 bits) Movement amount per rotation...
  • Page 354 Chapter 6 Sequence Program Used for Positioning Control Device Device Application Details of storage name Axis 1 Axis 2 Axis 3 Axis 4 Data No.2 D110 Positioning identifier Da.1 Operation pattern D111 M code Da.2 Control method D112 Dwell time Da.3 Acceleration time No.
  • Page 355 Chapter 6 Sequence Program Used for Positioning Control Device Device Application Details of storage name Axis 1 Axis 2 Axis 3 Axis 4 Data No.5 D140 Positioning identifier Da.1 Operation pattern D141 M code Da.2 Control method D142 Dwell time Da.3 Acceleration time No.
  • Page 356 Chapter 6 Sequence Program Used for Positioning Control Device Device Application Details of storage name Axis 1 Axis 2 Axis 3 Axis 4 Data No.11 D200 Positioning identifier Da.1 Operation pattern D201 M code Da.2 Control method D202 Dwell time Da.3 Acceleration time No.
  • Page 357 Chapter 6 Sequence Program Used for Positioning Control Device Device Application Details of storage name Axis error No. U0\G806 Error code Md.23 U0\G809 Axis operation status Axis operation status Md.26 Status U0\G817 Status Md.31 Positioning start No. U0\G1500 Positioning start No. Cd.3 Positioning starting point No.
  • Page 358: Creating A Program

    Chapter 6 Sequence Program Used for Positioning Control 6.3 Creating a program The "positioning control operation program" actually used is explained in this chapter. The functions and programs explained in "Section 2" are assembled into the "positioning control operation program" explained here. (To monitor the control, add the required monitor program that matches the system.
  • Page 359: Positioning Control Operation Program

    Chapter 6 Sequence Program Used for Positioning Control 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 360 Chapter 6 Sequence Program Used for Positioning Control Continued from previous page Initialization program Not carried out OPR is... No.5 Refer to Section 6.5.1 OPR request OFF program Carried out No.6 External command function valid Refer to Section 6.5.1 setting program No.7 PLC READY signal [Y0] ON : Required...
  • Page 361 Chapter 6 Sequence Program Used for Positioning Control Continued from previous page Start details setting program Program required to carry out • "OPR control" • "Major positioning control" No.9 • "High-level positioning control" Cd.3 Positioning start No. Refer to Section 6.5.2 •...
  • Page 362 Chapter 6 Sequence Program Used for Positioning Control Continued from previous page Sub program Program added according to control details. (Create as required.) No.16 Speed change program Refer to Section 13.5.1 No.17 Override program Refer to Section 13.5.2 No.18 Acceleration/deceleration time Refer to Section 13.5.3 change program No.19...
  • Page 363: Positioning Program Examples

    Chapter 6 Sequence Program Used for Positioning Control 6.4 Positioning program examples An example of the "Axis 1" positioning program using LD77MS4 is given in this section. [No. 1] to [No. 4] parameter and data setting program When setting the parameters or data with the sequence program, set them in the Simple Motion module using the TO command from the PLC CPU.
  • Page 364 Chapter 6 Sequence Program Used for Positioning Control *<Creep speed setting > DTOP K1200 *<Basic parameters 1 setting compl > Paramete r settin g comple te devic * Unit "Degree" setting program * No.21 Continuous operation interrupt program * <For axis 1> * Speed-position change control (ABS mode) execution and etc.
  • Page 365 Chapter 6 Sequence Program Used for Positioning Control * No.2-1 Positioning data setting program * (For positioning data No.1 <Axis 1>) * <Positioning identifier> Operation pattern: Positioning terminated Control method: 1 axis linear control (ABS) Acceleration time No. : 1, deceleration time No. :2 * <Setting of positioning indetifie >...
  • Page 366 Chapter 6 Sequence Program Used for Positioning Control * <Setting of arc address > DMOVP K0 D108 Arc addr * <Setting of positioning data No. > K2000 D100 Position ing iden tifier * No.2-2 Positioning data setting program * (For positioning data No.2 <Axis 1>) * <Positioning identifier>...
  • Page 367 Chapter 6 Sequence Program Used for Positioning Control * <Setting of Positioning address > DMOVP K25000 D116 Position ing addr * <Positioning address > DMOVP K9000000 D116 For Unit Position (degree ing addr * <Setting of arc address > DMOVP K0 D118 Arc addr * <Setting of positioning data No.
  • Page 368 Chapter 6 Sequence Program Used for Positioning Control * <Setting of command speed > DMOVP K18000 D124 Command speed * <Command speed > DMOVP K3600000 D124 For Unit Command (degree speed * <Setting of positioning address > DMOVP K200000 D126 Position ing addr * <Positioning address...
  • Page 369 Chapter 6 Sequence Program Used for Positioning Control * <Setting of dwell time > MOVP K300 D132 Dwell ti * < (Dummy data) > MOVP D133 (Dummy) * <Setting of command speed > DMOVP K9000 D134 Command speed * <Command speed >...
  • Page 370 Chapter 6 Sequence Program Used for Positioning Control * No.2-5 Positioning data setting program * (For positioning data No.5 <Axis 1>) * <Positioning identifier> Operation pattern: Positioning terminated Control method: 1-axis liner control (INC) Acceleration time No. : 0, deceleration time No. : 0 * <Setting of positioning identifie >...
  • Page 371 Chapter 6 Sequence Program Used for Positioning Control * <Setting of arc address > DMOVP K0 D148 Arc addr * <Setting of positioning data No. > K2040 D140 Position ing iden tifier * No.2-6 Positioning data setting program * (For positioning data No.6 <Axis 1>) * <Positioning identifier>...
  • Page 372 Chapter 6 Sequence Program Used for Positioning Control * <Setting of positioning address > DMOVP K50000 D156 Position ing addr * <Positioning address > DMOVP K18000000 D156 For Unit Position (degree ing addr * <Setting of arc address > DMOVP K0 D158 Arc addr * <Setting of positioning data No.
  • Page 373 Chapter 6 Sequence Program Used for Positioning Control * <Setting of command speed > DMOVP K18000 D194 Command speed * <Command speed > DMOVP K3600000 D194 For Unit Command (degree speed * <Setting of positioning address > DMOVP K10000 D196 Position ing addr * <Positioning address...
  • Page 374 Chapter 6 Sequence Program Used for Positioning Control * <Setting of dwell time > MOVP K300 D202 Dwell ti * < (Dummy data) > MOVP D203 (Dummy) * <Setting of command speed > DMOVP K18000 D204 Command speed * <Command speed >...
  • Page 375 Chapter 6 Sequence Program Used for Positioning Control * No.2-9 Positioning data setting program * (For positioning data No.15 <Axis 1>) * <Positioning identifier> Operation pattern: Positioning terminated Control method: 1-axis liner control (INC) Acceleration time No. : 0, deceleration time No. : 0 * <Setting of positioning identifie >...
  • Page 376 Chapter 6 Sequence Program Used for Positioning Control * <Setting of arc address > DMOVP K0 D248 Arc addr * <Setting of positioning data No. > K2140 D240 Position ing iden tifier * No.3 Block start data setting program Block start data of start block 0 (Axis1) For setting of points 1 to 5 (Conditions) Shape: Continued at points 1 to 4, ended at points 5...
  • Page 377 Chapter 6 Sequence Program Used for Positioning Control *<Setting block start data to LD77 > K26000 Point 1 *<Special start instruction to normal start > *<Setting of normal start > SM402 MOVP ON for 1 Point 1 scan onl y after *<Setting of normal start >...
  • Page 378 Chapter 6 Sequence Program Used for Positioning Control *No.4 Servo parameter *<Absolute position system valid > SM402 K30103 ON for 1 scan onl y after *<Servo series(MR-J3-B) > K30100 *No.5 OPR request OFF program *<OPR request OFF command pulse > OPR requ OPR requ est OFF...
  • Page 379 Chapter 6 Sequence Program Used for Positioning Control *No.6 External command function valid setting program *<External command valid write > MOVP K1 G1505 External External command command valid c valid ommand *<External command invalid write > MOVP K0 G1505 External External command command...
  • Page 380 Chapter 6 Sequence Program Used for Positioning Control *<Fast OPR start enable > OPR requ Fast OPR est flag signal *<Fast OPR write > MOVP K9002 Start No *<Fast OPR command hold > Fast OPR command hold * (3) Positioning with positioning data No.1 *<Setting of positioning data No.1 >...
  • Page 381 Chapter 6 Sequence Program Used for Positioning Control * (5) Position-speed switching operation (Positioning data No.3) *<Setting of positioning data No.3 > MOVP Position Start No -speed s witching operati *<Setting of position-speed switch > MOVP G1532 Position Position Position -speed s -speed s -speed s...
  • Page 382 Chapter 6 Sequence Program Used for Positioning Control Speed-po sition s witching operati Position -speed s witching operati High-lev el posit ioning c ontrol c Position ing star t comman d storag * No.10 Positioning start program * (1) When dedicated instruction (ZP.PSTRT1) 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)
  • Page 383 Chapter 6 Sequence Program Used for Positioning Control *<Positioning start command storag > Position ing star t comman d storag *(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,...
  • Page 384 Chapter 6 Sequence Program Used for Positioning Control * No.11 M code OFF program * (7) Fast OPR command and fast OPR command storage OFF (Not required when M code is not used) *<M code OFF request > MOVP G1504 M code O M code O M code O...
  • Page 385 Chapter 6 Sequence Program Used for Positioning Control *No.14 JOG operation/inching operation program *<In-JOG/inching operation flag ON > 1022 Forward READY co BUSY sig In-JOG/i run JOG/ mpletion nal (Axi nching o inching signal s 1) peration operatio flag Reverse run JOG/ inching operatio...
  • Page 386 Chapter 6 Sequence Program Used for Positioning Control *<Manual pulse generator operating > Manual p ulse gen erator o peration *<Manual pulse generator operation > 1068 Manual p Manual p ulse gen ulse gen erator o erator o peration peration *<Manual pulse generator operation >...
  • Page 387 Chapter 6 Sequence Program Used for Positioning Control *<Speed changing write > K1514 Speed ch ange val *<Speed change request storage OFF > G1516 Speed ch Speed ch ange req ange com uest mand sto rage * No.17 Override program *<Override command >...
  • Page 388 Chapter 6 Sequence Program Used for Positioning Control * No.18 Acceleration/deceleration time change program *<Accel./decel. time change comman > 1151 Accel./d Accel./d Accel./d ecel. ti ecel. ti ecel. ti me chang me chang me chang e comman e disabl e comman *<Setting of accel.
  • Page 389 Chapter 6 Sequence Program Used for Positioning Control *<Setting of torque limit value > 1195 MOVP G1525 Torque c BUSY sig Torque c hange va hange co nal (Axi mmand s 1) * No.20 Step operation program *<Step operation command pulse >...
  • Page 390 Chapter 6 Sequence Program Used for Positioning Control * No.21 Skip operation program *<Setting of positioning start No. > 1235 MOVP Position Start No ing star t comman d k10 *<Skip operation pulse > 1242 Skip com Skip com mand mand pul *<Skip command ON storage >...
  • Page 391 Chapter 6 Sequence Program Used for Positioning Control *<Setting of positioning data No. > MOVP Position ing data *<Teaching execution > ZP.TEACH1 "U0" TEACH1 i TEACH1 i nstructi nstructi on contr on compl ol data ete devi *<Teaching command storage OFF >...
  • Page 392 Chapter 6 Sequence Program Used for Positioning Control *<Setting of Target position addre > DMOVP K30000000 For Unit target p (degree osition (low-ord er 16bi *<New speed value > DMOVP K0 Target s peed (lo w-order 16bits) *<Setting of Target position chang >...
  • Page 393 Chapter 6 Sequence Program Used for Positioning Control *No.26 Parameter initialization program *<Parameter initialization command > 1383 Paramete Paramete r initia r initia lization lization command command *<Parameter initialization command > 1390 Paramete BUSY sig Paramete r initia nal (Axi r initia lization s 1)
  • Page 394 Chapter 6 Sequence Program Used for Positioning Control *<Flash ROM write execution > ZP.PFWRT 1434 "U0" PLC READ PFWRT in PFWRT in Y signal structio structio OFF con n contro n comple firmatio l data te devic *<Flash ROM write command storage > PFWRT in PFWRT in Flash RO...
  • Page 395: Program Details

    Chapter 6 Sequence Program Used for Positioning Control 6.5 Program details 6.5.1 Initialization program [1] OPR request OFF program This program forcibly turns OFF the "OPR request flag" ( : b3) which Status Md.31 is ON. When using a system that does not require OPR, assemble the program to cancel the "OPR request"...
  • Page 396: Start Details Setting Program

    Chapter 6 Sequence Program Used for Positioning Control 6.5.2 Start details setting program This program sets which control, out of "OPR", "major positioning control", "high-level positioning control" or "expansion 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 397 Chapter 6 Sequence Program Used for Positioning Control (4) For "position-speed switching control", set the control data shown below. (As required, set the " Position-speed switching control speed change Cd.25 ".) register Buffer memory address Setting Setting item Setting details LD77MS2 value LD77MS16...
  • Page 398: Start Program

    Chapter 6 Sequence Program Used for Positioning Control 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 [2] Starting by inputting external command signal [LD77MS4 operation example] LD77MS Buffer memory...
  • Page 399 Chapter 6 Sequence Program Used for Positioning Control Servo ON conditions Setting of servo parameter PLC READY signal [Y0] ON All axis servo ON [Y1] ON Starting conditions To start the control, the following conditions must be satisfied. The necessary start conditions must be incorporated in the sequence program so that the control is not started when the conditions are not satisfied.
  • Page 400 Chapter 6 Sequence Program Used for Positioning Control [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 401 Chapter 6 Sequence Program Used for Positioning Control POINT 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. (The ON status of the start complete signal, positioning complete signal and M code ON signal can be detected in the sequence program.) Starting time chart...
  • Page 402 Chapter 6 Sequence Program Used for Positioning Control (2) Time chart for starting "fast OPR" [LD77MS4 operation example] [Y10] Positioning start signal All axis servo ON [Y1] Md. 26 Axis operation status Servo OFF Standby PLC READY signal [Y0] [X0] READY signal [X10] Start complete signal...
  • Page 403 Chapter 6 Sequence Program Used for Positioning Control (3) Time chart for starting "major positioning control" [LD77MS4 operation example] Operation pattern Positioning data No. 1(11) Dwell time 2(00) Positioning start signal [Y10] All axis servo ON [Y1] Md. 26 Axis operation status Servo OFF Standby PLC READY signal...
  • Page 404 Chapter 6 Sequence Program Used for Positioning Control (4) Time chart for starting "speed-position switching control" [LD77MS4 operation example] Operation pattern(00) Speed control Position control Dwell time Positioning data No.(1) Positioning start signal [Y10] All axis servo ON [Y1] Md. 26 Axis operation status Servo OFF Standby PLC READY signal...
  • Page 405 Chapter 6 Sequence Program Used for Positioning Control (5) Time chart for starting "position-speed switching control" [LD77MS4 operation example] Operation pattern (00) Position control Speed control Positioning data No. (1) Positioning start signal [Y10] All axis servo ON [Y1] Md. 26 Axis operation status Servo OFF Standby PLC READY signal...
  • Page 406 Chapter 6 Sequence Program Used for Positioning Control Machine OPR operation timing and process time [LD77MS4 operation example] Positioning start [Y10, Y11, Y12, Y13] signal BUSY signal [XC, XD, XE, XF] Start complete signal [X10, X11, X12, X13] Standby Standby Md.
  • Page 407 Chapter 6 Sequence Program Used for Positioning Control Position control operation timing and process time [LD77MS4 operation example] Positioning start signal [Y10, Y11, Y12, Y13] BUSY signal [XC, XD, XE, XF] M code ON signal (WITH mode) [X4, X5, X6, X7] Cd.
  • Page 408 Chapter 6 Sequence Program Used for Positioning Control [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 Simple Motion module. This allows the variation time equivalent to one scan time of the PLC CPU to be eliminated. This is an effective procedure when operation is to be started as quickly as possible with the start command or when the starting variation time is to be suppressed.
  • Page 409 Chapter 6 Sequence Program Used for Positioning Control Starting time chart [LD77MS4 operation example] Operation pattern Dwell time Positioning data No. 1(00) Positioning start signal [Y10] All axis servo ON [Y1] Md. 26 Axis operation status Servo OFF Standby PLC READY signal [Y0] READY signal [X0]...
  • Page 410: Continuous Operation Interrupt Program

    Chapter 6 Sequence Program Used for Positioning Control 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 411 Chapter 6 Sequence Program Used for Positioning Control (2) Even if the stop command is turned ON after executing the "continuous operation interrupt request", the "continuous operation interrupt request" cannot be canceled. Thus, if "restart" is executed after stopping by turning the stop command ON, the operation will stop when the positioning data No.
  • Page 412: Restart Program

    Chapter 6 Sequence Program Used for Positioning Control 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 by using the "restart command" ( Restart command).
  • Page 413 Chapter 6 Sequence Program Used for Positioning Control (6) When stopped with interpolation operation, write "1: Restarts" into " Cd.6 " for the reference axis, and then restart. Restart command (7) If the PLC READY signal is changed from OFF to ON while stopped, restarting is not possible.
  • Page 414 Chapter 6 Sequence Program Used for Positioning Control (2) Signal state Device Signal name Signal state LD77MS2 LD77MS16 LD77MS4 PLC READY signal ON PLC CPU preparation completed READY signal ON LD77MS preparation completed All axis servo ON ON All axis servo ON LD77MS buffer memory Synchronization flag Accessible...
  • Page 415: Stop Program

    Chapter 6 Sequence Program Used for Positioning Control 6.5.6 Stop program The axis stop signal or stop signal from external input signal is used to stop the control. Create a program to turn ON the axis stop signal as the stop program. Signal LD77MS2 LD77MS4...
  • Page 416 Chapter 6 Sequence Program Used for Positioning Control [2] Types of stop processes The operation can be stopped with deceleration stop, sudden stop or immediate stop. (1) Deceleration stop The operation stops with "deceleration time 0 to 3" ( Pr.10 Pr.28 Pr.29 Pr.30...
  • Page 417 Chapter 6 Sequence Program Used for Positioning Control [3] Order of priority for stop process The order of priority for the Simple Motion module 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 418 Chapter 6 Sequence Program Used for Positioning Control [4] Inputting the stop signal during deceleration (1) Even if stop is input during deceleration (including automatic deceleration), the operation will stop at that deceleration speed. (2) If stop is input during deceleration for OPR, the operation will stop at that deceleration speed.
  • Page 419 Chapter 7 Memory Configuration and Data Process Chapter 7 Memory Configuration and Data Process The memory configuration and data transmission of Simple Motion module are explained in this chapter. The Simple Motion module is configured of four memories. By understanding the configuration and roles of two memories, the internal data transmission process of Simple Motion module, such as "when the power is turned ON"...
  • Page 420: Configuration And Roles Of Ld77Ms Memory

    Chapter 7 Memory Configuration and Data Process 7.1 Configuration and roles of LD77MS memory 7.1.1 Configuration and roles of LD77MS memory The Simple Motion module is configured of the following four memories. Area configuration Memory Model Role configuration Area that can be directly Buffer accessed with sequence –...
  • Page 421 Chapter 7 Memory Configuration and Data Process Details of areas  Parameter area Area where parameters, such as positioning parameters and OPR parameters, required for positioning control are set and stored.  Monitor data area Area where the operation status of positioning system is stored. ...
  • Page 422 Chapter 7 Memory Configuration and Data Process Data is backed up User accesses here. here. Flash ROM Buffer memory/Internal memory Parameter area (a) Parameter area (a) Parameter area (b) Parameter area (b) Parameter area (c) Parameter area (c) Positioning data area (No.1 to 600) Positioning data area (No.1 to 600)
  • Page 423: Buffer Memory Area Configuration

    Chapter 7 Memory Configuration and Data Process 7.1.2 Buffer memory area configuration The buffer memory of Simple Motion module is configured of the following types of areas. Buffer memory address Writing Buffer memory area configuration LD77MS2/LD77MS4 LD77MS16 possibility Basic parameter 0+150n to 15+150n Detailed parameter 17+150n to 69+150n...
  • Page 424 Chapter 7 Memory Configuration and Data Process Buffer memory address Writing Buffer memory area configuration LD77MS2/LD77MS4 LD77MS16 possibility Servo series 30100+200n 28400+100n PA01 to PA18 30101+200n to 30118+200n 28401+100n to 28418+100n PA19 PA group 30932+50n Set with GX Works2 PA20 to PA32 64400+250n to 64412+250n 64400+70n to 64412+70n 30119+200n to 30163+200n...
  • Page 425: Data Transmission Process

    Chapter 7 Memory Configuration and Data Process 7.2 Data transmission process The data is transmitted between the memories of Simple Motion module with steps (1) to (10) shown below. : The data transmission patterns correspond to the numbers (1) to (10) in the following drawings.
  • Page 426 Chapter 7 Memory Configuration and Data Process (1) Transmitting data when power is turned ON or PLC CPU is reset When the power is turned ON or the PLC CPU is reset, the "parameters area ", "positioning data", "block start data" and "servo parameter" stored (backed up) in the flash ROM/internal memory (nonvolatile) are transmitted to the buffer memory and internal memory.
  • Page 427 Chapter 7 Memory Configuration and Data Process POINT The setting values of the parameters that correspond to parameter area (b) are valid when written into the buffer memory with the TO command. However, the setting values of the parameters that correspond to parameter area (a) are not validated until the PLC READY signal [Y0] changes from OFF to ON.
  • Page 428 Chapter 7 Memory Configuration and Data Process GX Works2 (7) Flash ROM write request PLC CPU (6) Flash ROM write request (7) Flash ROM write request (Set "1" in Cd.1 with TO command) LD77MS Buffer memory/Internal memory Parameter area (a) Parameter area (b) Parameter area (c) Positioning data area...
  • Page 429 Chapter 7 Memory Configuration and Data Process (6) Writing the flash ROM by a PLC CPU request ( The following transmission process is carried out by setting "1" in " Flash Cd.1 ". ROM write request 1) The "parameters", "positioning data (No. 1 to 600)", "block start data (No. 7000 to 7004)"...
  • Page 430 Chapter 7 Memory Configuration and Data Process GX Works2 (8) Data read (9) Data write PLC CPU (9) Data write (8) Data read LD77MS Buffer memory/Internal memory Parameter area (a) Parameter area (b) Parameter area (c) Positioning data area (No.1 to 600) Block start data area (No.7000 to 7004) Servo parameter area...
  • Page 431 Chapter 7 Memory Configuration and Data Process (8) Reading data from buffer memory/internal memory to GX Works2 The following transmission processes are carried out with the [Read from module (Read from LD77MS)] from the GX Works2. 1) The "parameters", "positioning data (No. 1 to 600)", "block start data (No. 7000 to 7004)"...
  • Page 432 Chapter 7 Memory Configuration and Data Process LD77MS Buffer memory/Internal memory Parameter area (a) Parameter area (b) Parameter area (c) Positioning data area (No.1 to 600) Block start data area (No.7000 to 7004) Servo parameter area Monitor data area Flash ROM Control data area Parameter area (a) Parameter area (b)
  • Page 433 Chapter 7 Memory Configuration and Data Process (10) Transmitting servo parameter from the buffer memory/internal memory area to servo amplifier ( The servo parameter in the buffer memory/internal memory area is transmitted to the servo amplifier by the following timing. 1) The servo parameter is transmitted to the servo amplifier when communications with servo amplifier start.
  • Page 434 Chapter 7 Memory Configuration and Data Process How to transfer the servo parameter setup from sequence program/GX Works2 to the servo amplifier The servo series of servo parameter " " inside the internal Servo series Pr.100 memory (nonvolatile) set to "0". (Initial value: "0") The setting value of the parameters that correspond to the servo parameter "...
  • Page 435 Chapter 7 Memory Configuration and Data Process (1) When the servo amplifier's power supply is turned ON before the system's power supply ON. (a) When the servo parameter " " "0" is stored in the Servo series Pr.100 internal memory (nonvolatile). Communication start timing to the servo amplifier: Initialization completion (Fig.
  • Page 436 Chapter 7 Memory Configuration and Data Process Servo parameter setting from sequence program/GX Works2 (A) Buffer memory/ Initialization PLC READY LD77MS internal memory completion signal [Y0] PLC CPU power ON data setting of LD77MS ON (B) Axis connection completion PLC READY [Y0] READY [X0] Servo parameter of buffer memory/internal...
  • Page 437 Chapter 7 Memory Configuration and Data Process How to change individually the servo parameter after transfer of servo parameter The servo parameters can be individually changed from Simple Motion module with the following axis control data. Buffer memory address Setting item Setting details LD77MS2 LD77MS16...
  • Page 438 Chapter 7 Memory Configuration and Data Process MEMO 7 - 20...
  • Page 439 Section 2 Control Details and Setting Section 2 is configured for the following purposes shown in (1) to (3). (1) Understanding of the operation and restrictions of each control. (2) Carrying out the required settings in each control (3) Dealing with errors The required settings in each control include parameter setting, positioning data setting, control data setting by a sequence program, etc.
  • Page 440 MEMO...
  • Page 441 Chapter 8 OPR Control Chapter 8 OPR Control The details and usage of "OPR control" are explained in this chapter. OPR control includes "machine OPR" that establish a machine OP without using address data, and "fast OPR" that store the coordinates established by the machine OPR, and carry out positioning to that position.
  • Page 442: Outline Of Opr Control

    Chapter 8 OPR Control 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 (Note-1) the Simple Motion module issues an "OPR request"...
  • Page 443 Chapter 8 OPR Control REMARK (Note-1) OPR request The "OPR request flag" ( : b3) must be turned ON in the Simple Motion Status Md.31 module, and a machine OPR must be executed in the following cases. (1) When not using an absolute position system (a) This flag turns on in the following cases: •...
  • Page 444 Chapter 8 OPR Control Wiring the near-point dog When using the near-point dog signal, wire the signal terminals corresponding to the near-point dog of the device to be used as follows. (1) External input signal of the servo amplifier Refer to the servo amplifier instruction manual for details on signal input availability and wiring.
  • Page 445 Chapter 8 OPR Control OPR sub functions Refer to Section 3.2.5 "Combination of LD77MS main functions and sub functions" for details on "sub functions" that can be combined with OPR control. Also refer to Chapter 13 "Control Sub Functions" for details on each sub function. [Remarks] The following two sub functions are only related to machine OPR.
  • Page 446: Machine Opr

    Chapter 8 OPR Control 8.2 Machine OPR 8.2.1 Outline of the machine OPR operation Machine OPR operation In a machine OPR, OP is established. None of the address information stored in the Simple Motion module, PLC CPU, or servo amplifier is used at this time. The position mechanically established after the machine OPR is regarded as the "OP"...
  • Page 447: Machine Opr Method

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

    Chapter 8 OPR Control 8.2.3 OPR method (1): Near-point dog method The following shows an operation outline of the OPR method "near-point dog method". Operation chart The machine OPR is started. (The machine begins the acceleration designated in " ", in the direction designated in OPR acceleration time selection Pr.51 "...
  • Page 449 Chapter 8 OPR Control Precautions during operation (1) The 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 ("0" is set in " ").
  • Page 450: Opr Method (2): Count Method 1)

    Chapter 8 OPR Control 8.2.4 OPR method (2): Count method 1) The following shows an operation outline of the OPR method "count method 1)". In the OPR with the "count method 1)", the following operations can be performed:  The machine OPR on the near-point dog ...
  • Page 451 Chapter 8 OPR Control Precautions during operation (1) The error "Count method movement amount fault" (error code: 206) will occur if the " " is smaller Setting for the movement amount after near-point dog ON Pr.50 than the deceleration distance from the " "...
  • Page 452: Opr Method (3): Count Method 2)

    Chapter 8 OPR Control 8.2.5 OPR method (3): Count method 2) The following shows an operation outline of the OPR method "count method 2)". 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.) Operation chart The machine OPR is started.
  • Page 453 Chapter 8 OPR Control Restrictions When this method is used, a deviation will occur in the stop position (OP) compared to other OPR methods because an error of about 1 ms occurs in taking in the near-point dog ON. Precautions during operation (1) The error "Count method movement amount fault"...
  • Page 454: Opr Method (4): Data Set Method

    Chapter 8 OPR Control 8.2.6 OPR method (4): Data set method The following shows an operation outline of the OPR method "data set method". The "Data set method" method is effective when a "Near-point dog" is not used. It can be used with absolute position system. With the data set method OPR, the position where the machine OPR has been carried out, is registered into the Simple Motion module as the OP, and the current feed value and feed machine value is overwritten to an OP address.
  • Page 455: Opr Method (5): Scale Origin Signal Detection Method

    Chapter 8 OPR Control 8.2.7 OPR method (5): Scale origin signal detection method The following shows an operation outline of the OPR method "scale origin signal detection method". POINT Set "0: Need to pass servo motor Z-phase after power on" in "Function selection C- 4 (PC17)".
  • Page 456 Chapter 8 OPR Control Precautions during operation (1) The error "Start at OP" (error code: 201) will occur if another machine OPR is attempted immediately after a machine OPR completion when the OP is in the near-point dog ON position. (2) The following shows the operation when a machine OPR is started from the near-point dog ON position.
  • Page 457 Chapter 8 OPR Control (6) When the zero signal is detected again during deceleration ( 4) of Fig. 8.12) with detection of zero signal, the operation stops at the zero signal detected lastly to complete the OPR. Pr.44 OPR direction Pr.46 OPR speed Pr.47 Creep speed Near-point dog...
  • Page 458: Fast Opr

    Chapter 8 OPR Control 8.3 Fast OPR 8.3.1 Outline of the fast OPR operation Fast OPR operation After establishing OP by a machine OPR, positioning control to the OP is executed without using a near-point dog or a zero signal. The following shows the operation during a basic fast OPR start.
  • Page 459 Chapter 8 OPR Control Operation timing and processing time of fast OPR The following shows details about the operation timing and time during fast OPR. [LD77MS4 operation example] Positioning start signal [Y10, Y11, Y12, Y13] BUSY signal [XC, XD, XE, XF] Start complete signal [X10, X11, X12, X13] Standby...
  • Page 460: Selection Of The Opr Setting Condition

    Chapter 8 OPR Control 8.4 Selection of the OPR setting condition 8.4.1 Outline of the OPR setting condition If executing the home position return (OPR) when selecting "0: Need to pass servo motor Z-phase after power on" with the servo parameter of the servo amplifier "Function selection C-4 (PC17)", it is necessary that the servomotor has been rotated more than one revolution and passed the Z phase (Motor reference position signal) and that the zero point pass signal (...
  • Page 461 Chapter 9 Major Positioning Control Chapter 9 Major Positioning Control The details and usage of the major positioning controls (control functions using the "positioning data") are explained in this chapter. The major positioning controls include such controls as "positioning control" in which positioning is carried out to a designated position using the address information, "speed control"...
  • Page 462: Outline Of Major Positioning Controls

    Chapter 9 Major Positioning Control 9.1 Outline of major positioning controls "Major positioning controls" are carried out using the "positioning data" stored in the Simple Motion module. 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.
  • Page 463 Chapter 9 Major Positioning Control Major positioning control Details Control method Da.2 Forward run speed 1 1-axis speed The speed control of the designated 1 axis is carried out. control Reverse run speed 1 2-axis speed Forward run speed 2 The speed control of the designated 2 axes is carried out.
  • Page 464: Data Required For Major Positioning Control

    Chapter 9 Major Positioning Control 9.1.1 Data required for major positioning control The following table shows an outline of the "positioning data" configuration and setting details required to carry out the "major positioning controls". Setting item Setting details Set the method by which the continuous positioning data (Ex: positioning data No.1, Da.1 Operation pattern No.2, No.3) will be controlled.
  • Page 465: Operation Patterns Of Major Positioning Controls

    Chapter 9 Major Positioning Control 9.1.2 Operation patterns of major positioning controls In "major positioning control" (high-level positioning control), " " Operation pattern Da.1 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 466 Chapter 9 Major Positioning Control POINT (1) When the operation pattern is continuous positioning control or continuous path control, the same address as the last value is specified in absolute system or the movement amount 0 is specified in incremental system, positioning control of movement amount 0 is executed.
  • Page 467 Chapter 9 Major Positioning Control [2] Continuous positioning control (1) The machine always automatically decelerates each time the positioning is completed. Acceleration is then carried out after the Simple Motion module 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 468 Chapter 9 Major Positioning Control [3] Continuous path control (1) Continuous path control (a) The speed is changed without deceleration stop between the command speed of the "positioning data No. currently being executed" and the speed of the "positioning data No. to carry out the next operation".
  • Page 469 Chapter 9 Major Positioning Control [LD77MS4 operation example] Positioning continue (11) Dwell time Positioning continue (11) Positioning Address (+) direction complete (00) Address (-) direction Positioning start signal [Y10, Y11, Y12, Y13] Start complete signal [X10, X11, X12, X13] BUSY signal [XC, XD, XE, XF] Positioning complete signal [X14, X15, X16, X17]...
  • Page 470 Chapter 9 Major Positioning Control (b) During operation by step operation. (Refer to Section 13.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 471 Chapter 9 Major Positioning Control (3) Speed handling (a) Continuous path control command speeds are set with each positioning data. The Simple Motion module 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 472 Chapter 9 Major Positioning Control (4) Speed switching (Refer to " ".) Speed switching mode Pr.19 The two modes for changing the speed are shown below. • Standard speed switching………Switch the speed when executing the next positioning data. • Front-loading speed switching….The speed switches at the end of the positioning data currently being executed.
  • Page 473 Chapter 9 Major Positioning Control Speed switching condition If the movement amount is small in regard to the target speed, the current speed may not reach the target speed even if acceleration/deceleration is carried out. In this case, the machine is accelerated/decelerated so that it nears the target speed.
  • Page 474 Chapter 9 Major Positioning Control [LD77MS4 operation example] Dwell time Dwell time Positioning Da. 1 Operation pattern Positioning start signal [Y10, Y11, Y12, Y13] Start complete signal [X10, X11, X12, X13] BUSY signal [XC, XD, XE, XF] Positioning complete signal [X14, X15, X16, X17] (Note): Refer to Section 3.3 for input/output signal of LD77MS16.
  • Page 475: Designating The Positioning Address

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

    Chapter 9 Major Positioning Control 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 Simple Motion module. 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 477 Chapter 9 Major Positioning Control Monitoring the current value The "current feed value" and "machine feed value" are stored in the following buffer memory addresses, and can be read using a "DFRO(P) instruction" or "DMOV(P) instruction" from the PLC CPU. Buffer memory addresses LD77MS2/LD77MS4 LD77MS16...
  • Page 478: Control Unit "Degree" Handling

    Chapter 9 Major Positioning Control 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 " Current feed value"...
  • Page 479 Chapter 9 Major Positioning Control POINT (1) When the upper/lower limit value of the axis which set the software stroke limit as valid are changed, perform the machine OPR after that. (2) When the software stroke limit is set as valid in the incremental data system, perform the machine OPR after power supply on.
  • Page 480 Chapter 9 Major Positioning Control (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. Example When the current value is moved from 0°...
  • Page 481: Interpolation Control

    Chapter 9 Major Positioning Control 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 482 Chapter 9 Major Positioning Control 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 483 Chapter 9 Major Positioning Control Starting the interpolation control The positioning data Nos. of the reference axis (axis in which interpolation control was set in " ") are started when starting the interpolation control. Control method Da.2 (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 484 Chapter 9 Major Positioning Control 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 reference axis, the major axis side speed may exceed the " ".
  • Page 485 Chapter 9 Major Positioning Control MEMO 9 - 25...
  • Page 486: Setting The Positioning Data

    Chapter 9 Major Positioning Control 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 " ". Control method Da.2 The following table shows the positioning data setting items corresponding to the...
  • Page 487 Chapter 9 Major Positioning Control Other control Speed-position Position- speed Current value switching control switching control NOP instruction JUMP instruction LOOP LEND changing – – – – – – – – – – – – Forward run Forward run speed/position position/speed Current value JUMP instruction...
  • Page 488: 1-Axis Linear Control

    Chapter 9 Major Positioning Control 9.2.2 1-axis linear control In "1-axis linear control" (" " = ABS linear 1, INC linear 1), one motor Control method Da.2 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 stop position (start point address) to the address (end point address) set in "...
  • Page 489 Chapter 9 Major Positioning Control Positioning data setting example [When "1-axis linear control (ABS linear 1)" is set in positioning data No. 1 of axis 1.] Setting example Setting item Setting details LD77MS2 LD77MS16 LD77MS4 Set "Positioning complete" assuming the next positioning data Da.1 Operation pattern Positioning complete will not be executed.
  • Page 490 Chapter 9 Major Positioning Control [2] 1-axis linear control (INC linear 1) Operation chart In incremental system 1-axis linear control, 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 491 Chapter 9 Major Positioning Control Positioning data setting example [When "1-axis linear control (INC linear 1)" is set in positioning data No. 1 of axis 1] Setting example Setting item Setting details LD77MS2 LD77MS16 LD77MS4 Set "Positioning complete" assuming the next positioning data Da.1 Operation pattern Positioning complete will not be executed.
  • Page 492: 2-Axis Linear Interpolation Control

    Chapter 9 Major Positioning Control 9.2.3 2-axis linear interpolation control In "2-axis linear interpolation control" (" " = ABS linear 2, INC linear Control method Da.2 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 493 Chapter 9 Major Positioning Control 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 494 Chapter 9 Major Positioning Control POINT  When the "reference axis speed" is set during 2-axis linear interpolation control, set so the major axis side becomes the reference axis. If the minor axis side is set as the reference axis, the major axis side speed may exceed the " Speed limit Pr.8 ".
  • Page 495 Chapter 9 Major Positioning Control [2] 2-axis linear interpolation control (INC linear 2) Operation chart In incremental system 2-axis linear interpolation control, the designated 2 axes are used. Linear interpolation positioning is carried out from the current stop position (start point address) to a position at the end of the movement amount set in " Da.6 ".
  • Page 496 Chapter 9 Major Positioning Control 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 497 Chapter 9 Major Positioning Control POINT  When the "reference axis speed" is set during 2-axis linear interpolation control, set so the major axis side becomes the reference axis. If the minor axis side is set as the reference axis, the major axis side speed may exceed the " Speed limit Pr.8 ".
  • Page 498: 3-Axis Linear Interpolation Control

    Chapter 9 Major Positioning Control 9.2.4 3-axis linear interpolation control In "3-axis linear interpolation control" (" " = ABS linear 3, INC linear Control method Da.2 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 499 Chapter 9 Major Positioning Control 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 500 Chapter 9 Major Positioning Control 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 as the reference axis, the major axis side speed may exceed the " Speed limit Pr.8 ".
  • Page 501 Chapter 9 Major Positioning Control [2] 3-axis linear interpolation control (INC linear 3) Operation chart In the incremental system 3-axis linear interpolation control, the designated 3 axes are used. Linear interpolation positioning is carried out from the current stop position (start point address) to a position at the end of the movement amount set in the "...
  • Page 502 Chapter 9 Major Positioning Control 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 503 Chapter 9 Major Positioning Control 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 as the reference axis, the major axis side speed may exceed the " Speed limit Pr.8 ".
  • Page 504: 4-Axis Linear Interpolation Control

    Chapter 9 Major Positioning Control 9.2.5 4-axis linear interpolation control In "4-axis linear interpolation control" (" " = ABS linear 4, INC linear Control method Da.2 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 505 Chapter 9 Major Positioning Control Positioning data setting example [When "4-axis linear interpolation control (ABS linear 4)" is set in positioning data No. 1 of axis 1] • Reference axis ..... Axis 1 • Interpolation axis..Axis 2, Axis3, Axis4 (The required values are also set in positioning data No.
  • Page 506 Chapter 9 Major Positioning Control POINTS  When the "reference axis speed" is set during 4-axis linear interpolation control, set so the major axis side becomes the reference axis. If the minor axis side is set as the reference axis, the major axis side speed may exceed the " Speed limit Pr.8 ".
  • Page 507 Chapter 9 Major Positioning Control Positioning data setting example [When "4-axis linear interpolation control (INC linear 4)" is set in positioning data No. 1 of axis 1] • Reference axis ..... Axis 1 • Interpolation axis..Axis 2, Axis3, Axis4 (The required values are also set in positioning data No.
  • Page 508 Chapter 9 Major Positioning Control POINT  When the "reference axis speed" is set during 4-axis linear interpolation control, set so the major axis side becomes the reference axis. If the minor axis side is set as the reference axis, the major axis side speed may exceed the " Speed limit Pr.8 ".
  • Page 509: 1-Axis Fixed-Feed Control

    Chapter 9 Major Positioning Control 9.2.6 1-axis fixed-feed control In "1-axis fixed-feed control" (" " = fixed-feed 1), one motor is used Control method Da.2 to carry out fixed-feed control in a set axis direction. In fixed-feed control, any remainder of below control accuracy is rounded down to convert the movement amount designated in the positioning data into the command value to servo amplifier.
  • Page 510 Chapter 9 Major Positioning Control POINT  When the movement amount is converted to the actual number of command pulses, a fraction appears after the decimal point, according to the movement amount per pulse. This fraction is normally retained in the Simple Motion module and reflected at the next positioning.
  • Page 511 Chapter 9 Major Positioning Control Positioning data setting example [When "1-axis fixed-feed control (fixed-feed 1)" is set in positioning data No.1 of axis 1] Setting example Setting item Setting details LD77MS2 LD77MS16 LD77MS4 Set "Positioning complete" assuming the next positioning data Da.1 Operation pattern Positioning complete will not be executed.
  • Page 512: 2-Axis Fixed-Feed Control (Interpolation)

    Chapter 9 Major Positioning Control 9.2.7 2-axis fixed-feed control (interpolation) In "2-axis fixed-feed control" (" " = fixed-feed 2), two motors are Control method Da.2 used to carry out fixed-feed control in a linear path while carrying out interpolation for the axis directions set in each axis.
  • Page 513 Chapter 9 Major Positioning Control Positioning data setting example [When "2-axis fixed-feed control (fixed-feed 2)" is set in positioning data No. 1 of axis 1] • Reference axis ..... Axis 1 • Interpolation axis..Axis 2 (The required values are also set in positioning data No.
  • Page 514: 3-Axis Fixed-Feed Control (Interpolation)

    Chapter 9 Major Positioning Control POINTS  When the movement amount is converted to the actual number of command pulses, a fraction appears after the decimal point, according to the movement amount per pulse. This fraction is normally retained in the Simple Motion module and reflected at the next positioning.
  • Page 515 Chapter 9 Major Positioning Control Operation chart In incremental system 3-axis fixed-feed control, the addresses ( Current feed Md.20 ) of the current stop position (start addresses) of every axes are set to "0". value Linear interpolation positioning is then carried out from that position to a position at the end of the movement amount set in "...
  • Page 516 Chapter 9 Major Positioning Control Restrictions (1) The 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 ". ("Continuous path control" cannot be set in fixed-feed Operation pattern control.) (2) If the movement amount of each axis exceeds "1073741824 (=2...
  • Page 517 Chapter 9 Major Positioning Control Positioning data setting example [When "3-axis fixed-feed control (fixed-feed 3)" is set in positioning data No. 1 of axis 1] • Reference axis ..... Axis 1 • Interpolation axis..Axis 2, Axis3 (The required values are also set in positioning data No.
  • Page 518 Chapter 9 Major Positioning Control POINTS  When the movement amount is converted to the actual number of command pulses, a fraction appears after the decimal point, according to the movement amount per pulse. This fraction is normally retained in the Simple Motion module and reflected at the next positioning.
  • Page 519: 4-Axis Fixed-Feed Control (Interpolation)

    Chapter 9 Major Positioning Control 9.2.9 4-axis fixed-feed control (interpolation) In "4-axis fixed-feed control" (" " = fixed-feed 4), four motors are Control method Da.2 used to carry out fixed-feed control in a linear path while carrying out interpolation for the axis directions set in each axis.
  • Page 520 Chapter 9 Major Positioning Control Positioning data setting example [When "4-axis fixed-feed control (fixed-feed 4)" is set in positioning data No.1 of axis 1] • Reference axis ..... Axis 1 • Interpolation axis..Axis 2, Axis3, Axis4 (The required values are also set in positioning data No.
  • Page 521 Chapter 9 Major Positioning Control POINTS  When the movement amount is converted to the actual number of command pulses, a fraction appears after the decimal point, according to the movement amount per pulse. This fraction is normally retained in the Simple Motion module and reflected at the next positioning.
  • Page 522: 2-Axis Circular Interpolation Control With Sub Point Designation

    Chapter 9 Major Positioning Control 9.2.10 2-axis circular interpolation control with sub point designation In "2-axis circular interpolation control" (" " = ABS circular sub, INC Control method Da.2 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 523 Chapter 9 Major Positioning Control Restrictions (1) 2-axis circular interpolation control cannot be set in the following cases.  When "degree" is set in " " Unit setting Pr.1  When the units set in " " are different for the reference axis and Unit setting Pr.1 interpolation axis.
  • Page 524 Chapter 9 Major Positioning Control Positioning data setting example [When "2-axis circular interpolation control with sub point designation (ABS circular sub)" is set in positioning data No. 1 of axis 1] • Reference axis ..... Axis 1 • Interpolation axis..Axis 2 (The required values are also set in positioning data No.
  • Page 525 Chapter 9 Major Positioning Control [2] 2-axis circular interpolation control with sub point designation (INC circular sub) Operation chart In the incremental system, 2-axis circular interpolation control with sub point designation, positioning is carried out from the current stop position (start point address) to a position at the end of the movement amount set in "...
  • Page 526 Chapter 9 Major Positioning Control Restrictions (1) 2-axis circular interpolation control cannot be set in the following cases.  When "degree" is set in " " Unit setting Pr.1  When the units set in " " are different for the reference axis and Unit setting Pr.1 interpolation axis.
  • Page 527 Chapter 9 Major Positioning Control Positioning data setting example [When "2-axis circular interpolation control with sub point designation (INC circular sub)" is set in positioning data No. 1 of axis 1] • Reference axis ..... Axis 1 • Interpolation axis..Axis 2 (The required values are also set in positioning data No.
  • Page 528: 2-Axis Circular Interpolation Control With Center Point Designation

    Chapter 9 Major Positioning Control 9.2.11 2-axis circular interpolation control with center point designation In "2-axis circular interpolation control" (" " = ABS circular right, INC Control method Da.2 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 529 Chapter 9 Major Positioning Control 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 the position of the end point address set in " Positioning address/movement Da.6 ".
  • Page 530 Chapter 9 Major Positioning Control [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 531 Chapter 9 Major Positioning Control 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 532 Chapter 9 Major Positioning Control Positioning data setting examples [When "2-axis circular interpolation control with center point designation (ABS circular right, ABS circular left)" is set in positioning data No. 1 of axis 1] • Reference axis ..... Axis 1 •...
  • Page 533 Chapter 9 Major Positioning Control [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 534 Chapter 9 Major Positioning Control 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 535 Chapter 9 Major Positioning Control Positioning data setting examples [When "2-axis circular interpolation control with center point designation (INC circular right, INC circular left)" is set in positioning data No. 1 of axis 1] • Reference axis ..... Axis 1 •...
  • Page 536: 1-Axis Speed Control

    Chapter 9 Major Positioning Control 9.2.12 1-axis speed control In "1-axis speed control" (" " = Forward run: speed 1, Reverse run: Control method Da.2 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 "...
  • Page 537 Chapter 9 Major Positioning Control Current feed value during 1-axis speed control The following table shows the " " during 1-axis speed Current feed value Md.20 control corresponding to the " " settings. Current feed value during speed control Pr.21 "...
  • Page 538 Chapter 9 Major Positioning Control Positioning data setting examples [When "1-axis speed control (forward run: speed 1)" is set in the positioning data No. 1 of axis 1] Setting example Setting item Setting details LD77MS2 LD77MS16 LD77MS4 Setting other than "Positioning complete" is not possible in Da.1 Operation pattern Positioning complete speed control.
  • Page 539: 2-Axis Speed Control

    Chapter 9 Major Positioning Control 9.2.13 2-axis speed control In "2-axis speed control" (" " = Forward run: speed 2, Reverse run: Control method Da.2 speed 2), control is carried out in the 2-axis direction in which the positioning data has been set by continuously outputting pulses for the speed set in "...
  • Page 540 Chapter 9 Major Positioning Control Current feed value during 2-axis speed control The following table shows the " " during 2-axis speed Current feed value Md.20 control corresponding to the " " settings. Current feed value during speed control Pr.21 (Note that the reference axis setting values are used for parameters.) "...
  • Page 541 Chapter 9 Major Positioning Control (4) When either of two 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 " ". Command speed Da.8 (Examples) Axis...
  • Page 542 Chapter 9 Major Positioning Control Positioning data setting examples [When "2-axis speed control (forward run: speed 2)" is set in the positioning data No. 1 of axis 1] • Reference axis ..... Axis 1 • Interpolation axis..Axis 2 (The required values are also set in positioning data No.1 of axis 2.) LD77MS2/LD77MS4 LD77MS16...
  • Page 543: 3-Axis Speed Control

    Chapter 9 Major Positioning Control 9.2.14 3-axis speed control In "3-axis speed control" (" " = Forward run: speed 3, Reverse run: Control method Da.2 speed 3), control is carried out in the 3-axis direction in which the positioning data has been set by continuously outputting pulses for the speed set in "...
  • Page 544 Chapter 9 Major Positioning Control Current feed value during 3-axis speed control The following table shows the " " during 3-axis speed Current feed value Md.20 control corresponding to the " " settings. Current feed value during speed control Pr.21 (Note that the reference axis setting values are used for parameters.) "...
  • Page 545 Chapter 9 Major Positioning Control (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 " ". Command speed Da.8 (Examples) Axis...
  • Page 546 Chapter 9 Major Positioning Control Positioning data 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 • Interpolation axis..Axis 2, Axis 3 (The required values are also set in positioning data No.1 of axis 2 and axis 3.) LD77MS4 setting example LD77MS16 setting example...
  • Page 547: 4-Axis Speed Control

    Chapter 9 Major Positioning Control 9.2.15 4-axis speed control In "4-axis speed control" (" " = Forward run: speed 4, Reverse run: Control method Da.2 speed 4), control is carried out in the 4-axis direction in which the positioning data has been set by continuously outputting pulses for the speed set in "...
  • Page 548 Chapter 9 Major Positioning Control Operation chart The following chart shows the operation timing for 4-axis speed control with axis 1 as the reference axis. The "in speed control" flag ( : b0) is turned ON during speed control. Status Md.31 The "positioning complete signal"...
  • Page 549 Chapter 9 Major Positioning Control Current feed value during 4-axis speed control The following table shows the " " during 4-axis speed Current feed value Md.20 control corresponding to the " " settings. Current feed value during speed control Pr.21 (Note that the reference axis setting values are used for parameters.) "...
  • Page 550 Chapter 9 Major Positioning Control (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 " ". Command speed Da.8 (Examples) Axis...
  • Page 551 Chapter 9 Major Positioning Control Positioning data 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 • Interpolation axis..Axis 2 to Axis 4 (The required values are also set in positioning data No.
  • Page 552: Speed-Position Switching Control (Inc Mode)

    Chapter 9 Major Positioning Control 9.2.16 Speed-position switching control (INC mode) In "speed-position switching control (INC mode)" (" " = Forward run: Control method Da.2 speed/position, Reverse run: speed/position), the pulses of the speed set in " Da.8 " are kept output on the axial direction set to the positioning data. When Command speed the "speed-position switching signal"...
  • Page 553 Chapter 9 Major Positioning Control (2) " " must be turned ON to switch over Speed-position switching enable flag Cd.24 from speed control to position control. (If the " Speed-position switching Cd.24 " turns ON after the speed-position switching signal turns ON, the enable flag control will continue as speed control without switching over to position control.
  • Page 554 Chapter 9 Major Positioning Control Operation chart The following chart (Fig.9.13) shows the operation timing for speed-position switching control (INC mode). The "in speed control flag" ( : b0) is Status Md.31 turned ON during speed control of speed-position switching control (INC mode). [LD77MS4 operation example] •...
  • Page 555 Chapter 9 Major Positioning Control [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 " " "Forward run: speed/ Control method Da.2 position"...
  • Page 556 Chapter 9 Major Positioning Control Operation timing and processing time during speed-position switching control (INC mode) [LD77MS4 operation example] 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]...
  • Page 557 Chapter 9 Major Positioning Control Normal timing time Unit: [ms] Operation cycle 0.88 0.2 to 0.3 0 to 0.9 0 to 0.9 1.8 to 2.7 0 to 0.9 Follows parameters LD77MS2 1.77 0.2 to 0.3 0 to 1.8 0 to 1.8 2.5 to 4.1 0 to 1.8 Follows parameters 0.88...
  • Page 558 Chapter 9 Major Positioning Control Current feed value during speed-position switching control (INC mode) The following table shows the " " during speed-position Current feed value Md.20 switching control (INC mode) corresponding to the " Current feed value during Pr.21 "...
  • Page 559 Chapter 9 Major Positioning Control (2) The following table shows the items that must be set to use the near-point dog signal (DOG) as speed-position switching signals. Buffer memory address Setting Setting item Setting details LD77MS2 value LD77MS16 LD77MS4 Speed-position Use the near-point dog signal Cd.45 switching device...
  • Page 560 Chapter 9 Major Positioning Control Speed control Position control Position control start Speed-position switching control (INC mode) start Movement amount change possible Speed-position switching signal Setting after the speed-position switching signal ON is ignored Cd.23 Speed-position switching control movement amount change register P2 becomes the position control movement amount Speed-position switching latch flag ( Md.31 Status : b1)
  • Page 561 Chapter 9 Major Positioning Control Restrictions (1) The error "Continuous path control not possible" (error code: 516) will occur and the operation cannot start if "continuous positioning control" or "continuous path control" is set in " ". Operation pattern Da.1 (2) "Speed-position switching control"...
  • Page 562 Chapter 9 Major Positioning Control Positioning data setting examples [When "speed-position switching control (INC mode) by forward run" is set in positioning data No. 1 of axis 1] Setting example Setting item Setting details LD77MS2 LD77MS16 LD77MS4 Set "Positioning complete" assuming the next positioning data Da.1 Operation pattern Positioning complete will not be executed.
  • Page 563: Speed-Position Switching Control (Abs Mode)

    Chapter 9 Major Positioning Control 9.2.17 Speed-position switching control (ABS mode) In case of "speed-position switching control (ABS mode)" (" " = Control method Da.2 Forward run: speed/position, Reverse run: speed/position), the pulses of the speed set in " " are kept output in the axial direction set to the positioning Command speed Da.8 data.
  • Page 564 Chapter 9 Major Positioning Control Switching over from speed control to position control (1) The control is selected the switching method from speed control to position control by the setting value of " ". Speed-position switching device selection Cd.45 Buffer memory address Setting Setting item Setting details...
  • Page 565 Chapter 9 Major Positioning Control Operation chart The following chart (Fig.9.16) shows the operation timing for speed-position switching control (ABS mode). The "in speed control flag" ( : b0) is Status Md.31 turned ON during speed control of speed-position switching control (ABS mode). [LD77MS4 operation example] •...
  • Page 566 Chapter 9 Major Positioning Control [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 " " "Forward run: speed/ Control method Da.2 position"...
  • Page 567 Chapter 9 Major Positioning Control Operation timing and processing time during speed-position switching control (ABS mode) [LD77MS4 operation example] 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]...
  • Page 568 Chapter 9 Major Positioning Control Current feed value during speed-position switching control (ABS mode) The following table shows the " " during speed-position Current feed value Md.20 switching control (ABS mode) corresponding to the " Current feed value during Pr.21 "...
  • Page 569 Chapter 9 Major Positioning Control Speed-position switching signal setting (1) The following table shows the items that must be set to use the external command signals [DI] as speed-position switching signals. Buffer memory address Setting Setting item Setting details LD77MS2 value LD77MS16 LD77MS4...
  • Page 570 Chapter 9 Major Positioning Control Restrictions (1) The error "Continuous path control not possible" (error code: 516) will occur and the operation cannot start if "continuous positioning control" or "continuous path control" is set in " ". Operation pattern Da.1 (2) "Speed-position switching control"...
  • Page 571 Chapter 9 Major Positioning Control Positioning data setting examples [When "speed-position switching control (ABS mode) by forward run" is set in positioning data No. 1 of axis 1] Setting example Setting item Setting details LD77MS2 LD77MS16 LD77MS4 Set "Positioning complete" assuming the next positioning data Da.1 Operation pattern Positioning complete will not be executed.
  • Page 572: Position-Speed Switching Control

    Chapter 9 Major Positioning Control 9.2.18 Position-speed switching control In "position-speed switching control" (" " = Forward run: Control method Da.2 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 573 Chapter 9 Major Positioning Control (2) " " must be turned ON to switch over Position-speed switching enable flag Cd.26 from position control to speed control. (If the " Position-speed switching Cd.26 " turns ON after the position-speed switching signal turns ON, the enable flag control will continue as position control without switching over to speed control.
  • Page 574 Chapter 9 Major Positioning Control Operation chart The following chart shows the operation timing for position-speed switching control. The "in speed control" flag ( : b0) is turned ON during speed control of Status Md.31 position-speed switching control. [LD77MS4 operation example] •...
  • Page 575 Chapter 9 Major Positioning Control Operation timing and processing time during position-speed switching control [LD77MS4 operation example] 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]...
  • Page 576 Chapter 9 Major Positioning Control Normal timing time Unit: [ms] Operation cycle 0.88 0.2 to 0.3 0 to 0.9 0 to 0.9 1.8 to 2.7 – LD77MS2 1.77 0.2 to 0.3 0 to 1.8 0 to 1.8 2.5 to 3.9 –...
  • Page 577 Chapter 9 Major Positioning Control Current feed value during position-speed switching control The following table shows the " " during position-speed Current feed value Md.20 switching control corresponding to the " " Current feed value during speed control Pr.21 settings. "...
  • Page 578 Chapter 9 Major Positioning Control Position-speed switching signal setting (1) The following table shows the items that must be set to use the external command signals [DI] as position-speed switching signals. Buffer memory address Setting Setting item Setting details LD77MS2 value LD77MS16 LD77MS4...
  • Page 579 Chapter 9 Major Positioning Control 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 580 Chapter 9 Major Positioning Control Restrictions (1) The error "Continuous path control not possible" (error code: 516) will occur and the operation cannot start if "continuous positioning control" or "continuous path control" is set in " ". Operation pattern Da.1 (2) "Position-speed switching control"...
  • Page 581 Chapter 9 Major Positioning Control Positioning data setting examples [When "position-speed switching control (forward run: position/speed)" is set in positioning data No. 1 of axis 1] Setting example Setting item Setting details LD77MS2 LD77MS16 LD77MS4 Set "Positioning complete" assuming the next positioning data will not be executed.
  • Page 582: Current Value Changing

    Chapter 9 Major Positioning Control 9.2.19 Current value changing When the current value is changed to a new value, control is carried out in which the " " of the stopped axis is changed to a random address set by Current feed value Md.20 the user.
  • Page 583 Chapter 9 Major Positioning Control (3) The error "Outside new current value range" (error code: 514) will occur and the operation cannot start if "degree" is set in " " and the value Unit setting Pr.1 set in " (0 to 359.99999 [degree])" is Positioning address/movement amount Da.6 outside the setting range.
  • Page 584 Chapter 9 Major Positioning Control [2] Changing to a new current value using the current value changing start No. (No. 9003) In "current value changing" (" Positioning start No." = 9003), " Cd.3 Md.20 Current feed value" is changed to the address set in " New current value".
  • Page 585 Chapter 9 Major Positioning Control Current value changing procedure The following shows the procedure for changing the current value to a new value. Write the current value to " Cd. 9 New current value" Write "9003" in " Cd. 3 Positioning start No." Turn ON the positioning start signal.
  • Page 586 Chapter 9 Major Positioning Control (2) The following shows a start time chart. [LD77MS4 operation example] Start of data No. 9003 [Y10] Positioning start signal [Y0] PLC READY signal [X0] READY signal Start complete signal [X10] BUSY signal [XC] [X14] Positioning complete signal Error detection signal [X8]...
  • Page 587: Nop Instruction

    Chapter 9 Major Positioning Control 9.2.20 NOP instruction The NOP instruction is used for the nonexecutable control method. 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 [When "NOP instruction"...
  • Page 588: Jump Instruction

    Chapter 9 Major Positioning Control 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 includes the following two types of JUMP. (1) Unconditional JUMP When execution conditions are not set for the JUMP instruction (When "0"...
  • Page 589 Chapter 9 Major Positioning Control (2) Set JUMP instruction to positioning data No. that "continuous positioning control" or "continuous path control" is set in operation pattern. It cannot set to positioning data No. that "positioning complete" is set in operation pattern. (3) Positioning control such as loops cannot be executed by conditional JUMP instructions alone until the conditions have been established.
  • Page 590: Loop

    Chapter 9 Major Positioning Control 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 [When "LOOP" is set in positioning data No. 1 of axis 1] Setting example Setting item Setting details...
  • Page 591 Chapter 9 Major Positioning Control POINT The setting by this control method is easier than that by the special start "FOR loop" of "High-level Positioning Control" (refer to Chapter 10). • For special start: Positioning start data, special start data, condition data, and positioning data •...
  • Page 592: Lend

    Chapter 9 Major Positioning Control 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.
  • Page 593 Chapter 9 Major Positioning Control Restrictions (1) Ignore the "LEND" before the "LOOP" is executed. When the operation pattern "Positioning complete" has been set between LOOP and LEND, the positioning control is completed after the positioning data is executed, and the LOOP control is not executed.
  • Page 594 Chapter 9 Major Positioning Control MEMO 9 - 134...
  • Page 595: High-Level Positioning Control 10- 1 To

    Chapter 10 High-Level Positioning Control 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".
  • Page 596: Outline Of High-Level Positioning Control

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

    Chapter 10 High-Level Positioning Control 10.1.1 Data required for high-level positioning control "High-level positioning control" is executed by setting the required items in the "block start data" and "condition data", then starting that "block start data". Judgment about whether execution is possible, etc., is carried out at execution using the "condition data"...
  • Page 598: Block Start Data" And "Condition Data" Configuration

    Chapter 10 High-Level Positioning Control 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. • LD77MS2/LD77MS4 50th point Buffer memory Setting item address 2nd point 1st point...
  • Page 599 Chapter 10 High-Level Positioning Control • LD77MS16 50th point Buffer memory Setting item address 2nd point 1st point Buffer memory Setting item address Buffer memory 22049+400n Setting item address 22001+400n 22000+400n Da.11 Shape Da.12 Start data No. 22099+400n 22051+400n 22050+400n Da.14 Parameter Da.13...
  • Page 600: High-Level Positioning Control Execution Procedure

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

    Chapter 10 High-Level Positioning Control 10.3 Setting the block start data 10.3.1 Relation between various controls and block start data The "block start data" must be set to carry out "high-level positioning control". The setting requirements and details of each "block start data" item to be set differ according to the "...
  • Page 602: Block Start (Normal Start)

    Chapter 10 High-Level Positioning Control 10.3.2 Block start (normal start) In a "block start (normal start)", the positioning data groups of a block starting from the positioning data set in " Da.12 Start data No. " are continuously executed with the set order by starting once.
  • Page 603 Chapter 10 High-Level Positioning Control [2] Control examples The following shows the control executed when the "block start data" of the 1st point of axis 1 is set as shown in section [1] and started. <1> The positioning data is executed in the following order before stopping. Axis 1 positioning data No.
  • Page 604: Condition Start

    Chapter 10 High-Level Positioning Control 10.3.3 Condition start In a "condition start", the "condition data" conditional judgment designated in " Da.14 Parameter" is carried out for the positioning data set in " Da.12 Start data No.". If the conditions have been established, the "block start data" set in "1: condition start" is executed.
  • Page 605: Wait Start

    Chapter 10 High-Level Positioning Control 10.3.4 Wait start In a "wait start", the "condition data" conditional judgment designated in " Da.14 Parameter" is carried out for the positioning data set in " Da.12 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.
  • Page 606: Simultaneous Start

    Chapter 10 High-Level Positioning Control 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 (commands are output with the same timing). (The "condition data"...
  • Page 607: Repeated Start (For Loop)

    Chapter 10 High-Level Positioning Control 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 which "6: NEXT start"...
  • Page 608: Repeated Start (For Condition)

    Chapter 10 High-Level Positioning Control 10.3.7 Repeated start (FOR condition) In a "repeated start (FOR condition)", the data between the "block start data" in which "5: FOR condition" is set in " Da.13 Special start instruction" and the "block start data" in which "6: NEXT start"...
  • Page 609: Restrictions When Using The Next Start

    Chapter 10 High-Level Positioning Control 10.3.8 Restrictions when using the NEXT start The "NEXT start" is an instruction indicating the end of the repetitions when executing Section 10.3.6 "Repeated start (FOR loop)" and Section 10.3.7 "Repeated start (FOR condition)". The following shows the restrictions when setting "6: NEXT start" in the "block start data".
  • Page 610: Setting The Condition Data

    Chapter 10 High-Level Positioning Control 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 611 Chapter 10 High-Level Positioning Control The setting requirements and details of the following "condition data" Da.16 setting items differ according to the " " setting. Condition target Da.19 Da.23 Da.15 The following shows the setting items corresponding to Da.16 Da.19 Da.23 the "...
  • Page 612 Chapter 10 High-Level Positioning Control • LD77MS16 Other setting Da.23 item Da.16 Da.17 Da.18 Da.19 Number of Da.15 Condition operator Address Parameter 1 Parameter 2 simultaneous starting axes Condition target 01H: Device X X: 0H, 1H, 10H to 1FH 07H : DEV=ON —...
  • Page 613: Condition Data Setting Examples

    Chapter 10 High-Level Positioning Control 10.4.2 Condition data setting examples The following shows the setting examples for "condition data". (1) LD77MS2/LD77MS4 (a) 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...
  • Page 614 Chapter 10 High-Level Positioning Control (2) LD77MS16 (a) Setting the device ON/OFF as a condition [Condition] Device "X10" (Axis 1 BUSY signal) is OFF. Da.23 Da.24 Da.25 Da.26 Da.15 Da.16 Da.17 Da.18 Da.19 Number of Simultaneous Simultaneous Simultaneous Condition Condition Address Parameter 1 Parameter 2...
  • Page 615: Multiple Axes Simultaneous Start Control

    Chapter 10 High-Level Positioning Control 10.5 Multiple axes simultaneous start control The "multiple axes simultaneous start" starts outputting the command to the specified simultaneous starting axis at the same timing as the started axis. The maximum of four axes can be started simultaneously. [1] Control details The multiple axes simultaneous start control is carried out by setting the simultaneous start setting data to the multiple axes simultaneous start control...
  • Page 616 Chapter 10 High-Level Positioning Control [3] Multiple axes simultaneous start control procedure The procedure for multiple axes simultaneous start control is as follows. When LD77MS2 When LD77MS4 When LD77MS16 Set the following axis control data. Set the following axis control data. Set the following axis control data.
  • Page 617 Chapter 10 High-Level Positioning Control [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 618 Chapter 10 High-Level Positioning Control [5] Setting examples (1) The following shows the setting examples in which the LD77MS4 [axis 1] is used as the start axis and the simultaneously started axes are used as the axes 2 and 4. Buffer memory address Setting Setting item...
  • Page 619 Chapter 10 High-Level Positioning Control POINTS (1) The "multiple axes simultaneous start control" carries out an operation equivalent to the "simultaneous start" using the "block start data". (2) The setting of the "multiple axes simultaneous start control" is easier than that of the "simultaneous start"...
  • Page 620: Start Program For High-Level Positioning Control

    Chapter 10 High-Level Positioning Control 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"...
  • Page 621: Example Of A Start Program For High-Level Positioning Control

    Chapter 10 High-Level Positioning Control 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 622 Chapter 10 High-Level Positioning Control Start time chart The following chart shows a time chart in which the positioning data No. 1, 2, 10, 11, and 12 of LD77MS4 [axis 1] are continuously executed as an example. (1) Block start data setting example Da.13 Da.11 Da.12...
  • Page 623 Chapter 10 High-Level Positioning Control Creating the program [LD77MS4 program example] Set the block start data beforehand. Positioning start command <Pulse the positioning start command.> M104 M104 <Write the positioning data No. 7000 K1500 K7000 for block positioning.> K1501 <Write the positioning start point No.> <Turn ON the positioning start signal.>...
  • Page 624 Chapter 10 High-Level Positioning Control MEMO 10 - 30...
  • Page 625 Chapter 11 Manual Control Chapter 11 Manual Control The details and usage of manual control are explained in this chapter. In manual control, 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 Simple Motion module.
  • Page 626: Outline Of Manual Control

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

    Chapter 11 Manual Control 11.2 JOG operation 11.2.1 Outline of JOG operation JOG operation In JOG operation, the forward run JOG start signal or reverse run JOG start signal turns ON, causing pulses to be output to the servo amplifier from the Simple Motion module while the signal is ON.
  • Page 629 Chapter 11 Manual Control Important Use the hardware stroke limit function when carrying out JOG operation near the upper or lower limits. (Refer to Section "13.4.4".) If the hardware stroke limit function is not used, the workpiece may exceed the moving range, causing an accident.
  • Page 630 Chapter 11 Manual Control JOG operation timing and processing time The following drawing shows details of the JOG operation timing and processing time. [LD77MS4 operation example] 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.
  • Page 631: Jog Operation Execution Procedure

    Chapter 11 Manual Control 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 Chapter 5 Directly set (write) the parameters in the Simple Motion and Section 11.2.3.
  • Page 632: Setting The Required Parameters For Jog Operation

    Chapter 11 Manual Control 11.2.3 Setting the required parameters for JOG operation The "Positioning parameters" must be set to carry out JOG operation. The following table shows the setting items of the required parameters for carrying out JOG operation. Parameters not shown below are not required to be set for carrying out only JOG operation.
  • Page 633 Chapter 11 Manual Control REMARK  Parameter settings work in common for all controls using the Simple Motion module. When carrying out other controls ("major positioning control", "high-level positioning control", "OPR positioning control"), set the respective setting items as well. ...
  • Page 634: Creating Start Programs For Jog Operation

    Chapter 11 Manual Control 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. ("...
  • Page 635 Chapter 11 Manual Control Start time chart [LD77MS4 operation example] Forward JOG run Reverse JOG run [Y8] Forward run JOG start signal Reverse run JOG start signal [Y9] [Y0] PLC READY signal All axis servo ON [Y1] READY signal [X0] BUSY signal [XC] Error detection signal...
  • Page 636: Jog Operation Example

    Chapter 11 Manual Control 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. If the JOG start signal is turned ON while the stop signal is ON, the error "Stop signal ON at start"...
  • Page 637 Chapter 11 Manual Control 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 638 Chapter 11 Manual Control When the "JOG start signal" is turned ON again during deceleration caused by the ON OFF of the "JOG start signal" When the "JOG start signal" is turned ON again during deceleration caused by the OFF of the "JOG start signal", the JOG operation will be carried out from the time the "JOG start signal"...
  • Page 639: Inching Operation

    Chapter 11 Manual Control 11.3 Inching operation 11.3.1 Outline of inching operation Inching operation In inching operation, pulses are output to the servo amplifier at operation cycle to move the workpiece by a designated movement amount after the forward run JOG start signal or reverse JOG start signal is turned ON.
  • Page 640 Chapter 11 Manual Control Important When the inching operation is carried out near the upper or lower limit, use the hardware stroke limit function (Refer to Section 13.4.4). If the hardware stroke limit function is not used, the workpiece may exceed the movement range, and an accident may result.
  • Page 641 Chapter 11 Manual Control Inching operation timing and processing times The following drawing shows the details of the inching operation timing and processing time. [LD77MS4 operation example] Forward run JOG start signal [Y8, YA, YC, YE] Reverse run JOG start signal [Y9, YB, YD, YF] BUSY signal [XC, XD, XE, XF]...
  • Page 642: Inching Operation Execution Procedure

    Chapter 11 Manual Control 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 Chapter 5 Directly set (write) the parameters in the Simple Motion and Section 11.3.3.
  • Page 643: Setting The Required Parameters For Inching Operation

    Chapter 11 Manual Control 11.3.3 Setting the required parameters for inching operation The "Positioning parameters" must be set to carry out inching operation. The following table shows the setting items of the required parameters for carrying out inching operation. Parameters not shown below are not required to be set for carrying out only inching operation.
  • Page 644: Creating A Program To Enable/Disable The Inching Operation

    Chapter 11 Manual Control 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 645 Chapter 11 Manual Control Start time chart [LD77MS4 operation example] Forward run inching operation Reverse run inching operation Forward run JOG start signal [Y8] Reverse run JOG start signal [Y9] PLC READY signal [Y0] All axis servo ON [Y1] OFF READY signal [X0] BUSY signal...
  • Page 646: Inching Operation Example

    Chapter 11 Manual Control 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, the 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 then re-turned ON.
  • Page 647 Chapter 11 Manual Control When the "JOG start signal" is turned ON while the test function of GX Works2 is used When the "JOG star signal" is turned ON while the test function is used, it will be ignored and the inching operation will not be carried out. [LD77MS4 operation example] Inching operation not possible because this...
  • Page 648: Manual Pulse Generator Operation

    Chapter 11 Manual Control 11.4 Manual pulse generator operation 11.4.1 Outline of manual pulse generator operation Manual pulse generator operation In manual pulse generator operations, pulses are input to the Simple Motion module from the manual pulse generator. This causes the same number of input command to be output from the Simple Motion module to the servo amplifier, and the workpiece is moved in the designated direction.
  • Page 649 Chapter 11 Manual Control Restricted items A pulse generator such as a manual pulse generator is required to carry out manual pulse generator operation. Precautions during operation The following details must be understood before carrying out manual pulse generator operation. (1) The speed during manual pulse generator operation is not limited by the "...
  • Page 650 Chapter 11 Manual Control Operations when stroke limit error occurs When the hardware stroke limit error or the software stroke limit error is detected (Note-1) during operation, the operation will decelerate to a stop. However, in case of " ", "Manual pulse generator operation" will continue Axis operation status Md.26 (Note-1)
  • Page 651 Chapter 11 Manual Control Normal timing times Unit : [ms] Operation cycle 0.88 7.0 to 14.0 18.0 to 25.0 LD77MS2 1.77 7.0 to 14.0 18.0 to 25.0 0.88 7.0 to 14.0 18.0 to 25.0 LD77MS4 1.77 7.0 to 14.0 18.0 to 25.0 0.88 7.0 to 14.0 18.0 to 25.0...
  • Page 652: Manual Pulse Generator Operation Execution Procedure

    Chapter 11 Manual Control 11.4.2 Manual pulse generator operation execution procedure The manual pulse generator 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.24 Pr.89...
  • Page 653: Setting The Required Parameters For Manual Pulse Generator Operation

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

    Chapter 11 Manual Control 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 655 Chapter 11 Manual Control Start time chart [LD77MS4 operation example] Forward run Reverse run Pulse input A phase Pulse input B phase [Y0] PLC READY signal [Y1] All axis servo ON [X0] READY signal [X10] Start complete signal [XC] BUSY signal Error detection signal [X8] Cd.
  • Page 656 Chapter 11 Manual Control MEMO 11 - 32...
  • Page 657 Chapter 12 Expansion Control Chapter 12 Expansion Control The details and usage of expansion control are explained in this chapter. Expansion control includes the speed-torque control to execute the speed control and torque control not including position loop and the synchronous control to synchronize with input axis using software with "synchronous control parameter"...
  • Page 658: Speed-Torque Control

    Chapter 12 Expansion Control 12.1 Speed-torque control 12.1.1 Outline of speed-torque control This function is used to execute the speed control or torque control that does not include the position loop for the command to servo amplifier. "Continuous operation to torque control mode" that switches the control mode to torque control mode without stopping the servomotor during positioning operation is also available for tightening a bottle cap or a screw.
  • Page 659 Chapter 12 Expansion Control CAUTION If operation that generates torque more than 100% of the rating is performed with an abnormally high frequency in a servomotor stop status (servo lock status) or in a 30r/min or less low-speed operation status, the servo amplifier may malfunction regardless of the electronic thermal relay protection.
  • Page 660: Setting The Required Parameters For Speed-Torque Control

    Chapter 12 Expansion Control 12.1.2 Setting the required parameters for speed-torque control The "Positioning parameters" must be set to carry out speed-torque control. The following table shows the setting items of the required parameters for carrying out speed-torque control. Parameters not shown below are not required to be set for carrying out only speed-torque control.
  • Page 661: Setting The Required Data For Speed-Torque Control

    Chapter 12 Expansion Control 12.1.3 Setting the required data for speed-torque control Required control data setting for the control mode switching The control data shown below must be set to execute the control mode switching. Buffer memory address Setting Setting item Setting details LD77MS2 value...
  • Page 662 Chapter 12 Expansion Control Required control data setting for the torque control mode The control data shown below must be set to execute the torque control. Buffer memory address Setting Setting item Setting details LD77MS2 value LD77MS16 LD77MS4 Command torque at Set the command torque at torque control 1580+100n 4380+100n Cd.143...
  • Page 663: Operation Of Speed-Torque Control

    Chapter 12 Expansion Control 12.1.4 Operation of speed-torque control [1] Switching of control mode (Speed control/Torque control) Switching method of control mode To switch the control mode to the speed control or the torque control, set "1" in " " after setting the control mode in " Control mode switching request Cd.138 Cd.139...
  • Page 664 Chapter 12 Expansion Control The history of control mode switching is stored to the start history at request of control mode switching. (Refer to Section 5.6.1 "System monitor data".) Confirm the control mode with "control mode (high-order buffer memory address: b2, b3)"...
  • Page 665 Chapter 12 Expansion Control The following chart shows the operation timing for axis 1. [LD77MS4 operation example] Position control mode Speed control mode Position control mode 30000 20000 6 to 11ms 6 to 11ms Cd.138 Control mode switching request Cd.139 Control mode setting Command speed at speed Cd.140...
  • Page 666 Chapter 12 Expansion Control Operation for "Position control mode ↔ Torque control mode switching" When the position control mode is switched to the torque control mode, the command torque immediately after the switching is the torque set in "Torque initial value selection (b4 to b7)"...
  • Page 667 Chapter 12 Expansion Control Operation for "Speed control mode ↔ Torque control mode switching" When the speed control mode is switched to the torque control mode, the command torque immediately after the switching is the torque set in "Torque initial value selection (b4 to b7)"...
  • Page 668 Chapter 12 Expansion Control When the torque control mode is switched to the speed control mode, the command speed immediately after the switching is the motor speed at switching. The following chart shows the operation timing for axis 1. [LD77MS4 operation example] Speed control mode Torque control mode Speed control mode...
  • Page 669 Chapter 12 Expansion Control [2] Switching of control mode (Continuous operation to torque control) Switching method of control mode To switch the control mode to the continuous operation to torque control mode, set "1" in " " after setting the control mode to Control mode switching request Cd.138 switch to "...
  • Page 670 Chapter 12 Expansion Control The history of control mode switching is stored to the start history at request of control mode switching. (Refer to Section 5.6.1 "System monitor data".) Confirm the status of the continuous operation to torque control mode with "b14: Continuous operation to torque control mode"...
  • Page 671 Chapter 12 Expansion Control Operation for "Position control mode ↔ Continuous operation to torque control mode switching" To switch to the continuous operation to torque control mode, set the control data used in the control mode before setting "1" in " Control mode switching Cd.138 ".
  • Page 672 Chapter 12 Expansion Control The following chart shows the operation timing for axis 1. [LD77MS4 operation example] Position control mode Continuous operation to torque control mode Position control mode Contact with target 1000 Torque 30.0% 6 to 11 6 to 11 Cd.138 Control mode switching request Cd.139 Control mode setting...
  • Page 673 Chapter 12 Expansion Control Operation for "Speed control mode ↔ Continuous operation to torque control mode switching" To switch to the continuous operation to torque control mode, set the control data used in the control mode before setting "1" in " Control mode switching Cd.138 ".
  • Page 674 Chapter 12 Expansion Control The following chart shows the operation timing for axis 1. [LD77MS4 operation example] Speed control mode Continuous operation to torque control mode Speed control mode 10000 Contact with target 1000 -10000 Torque 30.0% 6 to 11 6 to 11 Cd.138 Control mode switching request...
  • Page 675 Chapter 12 Expansion Control Operation for switching from "Position control mode" to "Continuous operation to torque control mode" automatically To switch to the continuous operation to torque control mode automatically when the conditions set in " " and " Control mode auto-shift selection Control Cd.153 Cd.154...
  • Page 676 Chapter 12 Expansion Control POINT (1) Automatic switching is valid only when the control mode is switched from the position control mode to the continuous operation to torque control mode. When the mode is switched from speed control mode to continuous operation to torque control mode or from continuous operation to torque control mode to other control modes, even if the automatic switching is set, the state is not waiting for the completion of condition, and control mode switching is executed...
  • Page 677 Chapter 12 Expansion Control The following chart shows the operation when "1: Current feed value pass" is set in " ". Control mode auto-shift selection Cd.153 Position control mode Continuous operation to torque control mode Contact with target 1000 Current feed value passes the address "adr"...
  • Page 678 Chapter 12 Expansion Control [3] Speed control mode Operation for speed control mode The speed control is executed at the speed set in " Command speed at speed Cd.140 " in the speed control mode. Set a positive value for forward rotation control mode and a negative value for reverse rotation.
  • Page 679 Chapter 12 Expansion Control Stop cause during speed control mode The operation for stop cause during speed control mode is shown below. Item Operation during speed control mode Axis stop [Y4 to Y7] turned ON. LD77MS2 LD77MS4 The motor decelerates to speed "0" according to the setting value of "...
  • Page 680 Chapter 12 Expansion Control [4] Torque control mode Operation for torque control mode The torque control is executed at the command torque set in " Command Cd.143 " in the torque control mode. " torque at torque control mode Command torque at Cd.143 "...
  • Page 681 Chapter 12 Expansion Control Set time for the command torque to increase from 0% to " Torque limit setting Pr.17 " in " " and value Torque time constant at torque control mode (Forward direction) Cd.144 for the command torque to decrease from " "...
  • Page 682 Chapter 12 Expansion Control Speed during torque control mode The speed during the torque control mode is controlled with " Speed limit Cd.146 ". At this time, "Speed limit" (" " (low- value at torque control mode Servo status Md.108 order buffer memory address): b4) turns ON.
  • Page 683 Chapter 12 Expansion Control Stop cause during torque control mode The operation for stop cause during torque control mode is shown below. Item Operation during torque control mode The speed limit value commanded to servo amplifier is "0" Axis stop [Y4 to Y7] turned ON. regardless of the setting value of "...
  • Page 684 Chapter 12 Expansion Control [5] Continuous operation to torque control mode Operation for continuous operation to torque control mode In continuous operation to torque control, the torque control can be executed without stopping the operation during the positioning in position control mode or speed command in speed control mode.
  • Page 685 Chapter 12 Expansion Control Torque command setting method During the continuous operation to torque control mode, set time for the command torque to increase from 0% to " " in " Torque limit setting value Torque Pr.17 Cd.151 " and for time constant at continuous operation to torque control mode (Forward direction) the command torque to decrease from "...
  • Page 686 Chapter 12 Expansion Control Speed limit value setting method Acceleration/deceleration is performed based on a trapezoidal acceleration/deceleration processing. Set acceleration/deceleration time toward " " in " Speed limit value Acceleration time at continuous operation to torque Pr.8 Cd.148 " and " control mode Deceleration time at continuous operation to torque control Cd.149...
  • Page 687 Chapter 12 Expansion Control Speed during continuous operation to torque control mode The speed during the continuous operation to torque control mode is controlled with an absolute value of the value set in " Speed limit value at continuous Cd.147 "...
  • Page 688 Chapter 12 Expansion Control Stop cause during continuous operation to torque control mode The operation for stop cause during continuous operation to torque control mode is shown below. Item Operation during continuous operation to torque control mode Axis stop [Y4 to Y7] turned ON. The speed limit value commanded to servo amplifier is "0"...
  • Page 689: Synchronous Control

    Chapter 12 Expansion Control 12.2 Synchronous control "Synchronous control" can be achieved using software instead of controlling mechanically with gear, shaft, speed change gear or cam, etc. "Synchronous control" synchronizes movement with the input axis (servo input axis or synchronous encoder axis), by setting "the parameters for synchronous control" and starting synchronous control on each output axis.
  • Page 690 Chapter 12 Expansion Control MEMO 12 - 34...
  • Page 691: Control Sub Functions 13- 1 To

    Chapter 13 Control Sub Functions Chapter 13 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.
  • Page 692: Outline Of Sub Functions

    Chapter 13 Control Sub Functions 13.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, operation from GX Works2, sub function sequence programs, etc. 13.1.1 Outline of sub functions The following table shows the types of sub functions available.
  • Page 693 Chapter 13 Control Sub Functions Sub function Details This function restores the absolute position of designated axis. Absolute position system function By this function, the OPR after power ON from OFF is not required once the OPR is executed when the system operation is started. This function temporarily stops the operation to confirm the positioning operation during debugging, etc.
  • Page 694: Sub Functions Specifically For Machine Opr

    Chapter 13 Control Sub Functions 13.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. 13.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 695 Chapter 13 Control Sub Functions (2) OPR retry operation when the workpiece is outside the range between the upper and lower limits. 1) When the direction from the workpiece to the OP is the same as the " ", a OPR direction Pr.44 normal machine OPR is carried out.
  • Page 696 Chapter 13 Control Sub Functions (3) Setting the dwell time during an OPR retry The OPR retry function can perform such function as the dwell time using " " when the reverse run operation is carried Dwell time during OPR retry Pr.57 out due to detection by the limit signal for upper and lower limits and when the machine OPR is executed after the near point dog is turned OFF to stop...
  • Page 697 Chapter 13 Control Sub Functions POINT The settings of the upper/lower stroke limit signal are shown below. The OPR retry function can be used with either setting. (Refer to Section 13.4.4 "Hardware stroke limit function".)  External input signal of servo amplifier ...
  • Page 698: Op Shift Function

    Chapter 13 Control Sub Functions 13.2.2 OP shift function When a machine OPR is carried out, the OP is normally established using the near- point dog or 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 699 Chapter 13 Control Sub Functions [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 700 Chapter 13 Control Sub Functions (2) OP shift operation at the " " Creep speed Pr.47 (When " " is 1) Speed designation during OP shift Pr.56 Pr. 44 OPR direction Pr. 47 Creep When the " Pr. 53 OP speed shift amount"...
  • Page 701: Functions For Compensating The Control

    Chapter 13 Control Sub Functions 13.3 Functions for compensating the control The sub functions for compensating the control include the "backlash compensation function", "electronic gear function", and "near pass function". Each function is executed by parameter setting or sequence program creation and writing. 13.3.1 Backlash compensation function The "backlash compensation function"...
  • Page 702 Chapter 13 Control Sub Functions [2] Precautions during control (1) The feed command of the backlash compensation amount are not added to the " " or " ". Current feed value Machine feed value Md.20 Md.21 (2) Always carry out a machine OPR before starting the control when using the backlash compensation function (when "...
  • Page 703: Electronic Gear Function

    Chapter 13 Control Sub Functions 13.3.2 Electronic gear function The "electronic gear function" adjusts the actual machine movement amount and number of pulse output to servo amplifier according to the parameters set in the Simple Motion module. The "electronic gear function" has the following three functions ( [A] to [C] ). [A] During machine movement, the function increments in the Simple Motion module values less than one pulse that could not be output, and outputs the incremented amount when the total incremented value reached one pulse or...
  • Page 704 Chapter 13 Control Sub Functions [1] Basic concept of the electronic gear The electronic gear is an item which determines how many rotations (rotations by how many pulses) the motor must make in order to move the machine according to the programmed movement amount. Simple Motion module Machine Reduction ratio...
  • Page 705 Chapter 13 Control Sub Functions Substitute this for the above expression (1). At this time, make calculation with the reduction ratio 9/44 remaining as a fraction. 4194304 [PLS] 10000.0 [  m]  9/44 4194304  44 10000.0  9 184549376 90000.0 23068672...
  • Page 706 Chapter 13 Control Sub Functions (3) When "degree" is set as the control unit for a rotary axis When the rotary axis is used, the motor is HG-KR (4194304PLS/rev) and the reduction ratio of the reduction gear is 3/11. Reduction ratio 3/11 First, find how many degrees the load (machine) will travel ( ) when the...
  • Page 707 Chapter 13 Control Sub Functions (4) When "mm" is set as the control unit for conveyor drive (calculation including When the belt conveyor drive is used, the conveyor diameter is 135mm, the pulley ratio is 1/3, the motor is HG-KR (4194304PLS/rev) and the reduction ratio of the reduction gear is 7/53.
  • Page 708 Chapter 13 Control Sub Functions This setting will produce an error for the true machine value, but it cannot be helped. This error is as follows. 7422012/166723584 –6 - 1  100 = -8.69  10 2362500 /166723584  AP (Number of pulses per rotation) = 4194304 [PLS] (Movement amount per rotation) ...
  • Page 709 Chapter 13 Control Sub Functions [2] The method for compensating the error When the position control is carried out using the "Electronic gear" set in a parameter, this may produce an error between the command movement amount (L) and the actual movement amount (L'). With Simple Motion module, this error is compensated by adjusting the electronic gear.
  • Page 710: Near Pass Function

    Chapter 13 Control Sub Functions 13.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 711 Chapter 13 Control Sub Functions [2] Precautions during control (1) If the movement amount designated by the positioning data is small when the continuous path control is executed, the output speed may not reach the designated speed. (2) The movement direction is not checked during interpolation operation. Therefore, a deceleration stops are not carried out even if the movement direction changes.
  • Page 712: Functions To Limit The Control

    Chapter 13 Control Sub Functions 13.4 Functions to limit the control Functions to limit the control include the "speed limit function", "torque limit function", "software stroke limit function", "hardware stroke limit function", and "forced stop function". Each function is executed by parameter setting or sequence program creation and writing.
  • Page 713 Chapter 13 Control Sub Functions [2] Precautions during control (1) If any axis exceeds " " during 2- to 4-axis speed control, Speed limit value Pr.8 the axis exceeding the speed limit value is controlled with the speed limit value. The speeds of the other axes being interpolated are suppressed by the command speed ratio.
  • Page 714: Torque Limit Function

    Chapter 13 Control Sub Functions 13.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 715 Chapter 13 Control Sub Functions [2] Control details The following drawing shows the operation of the torque limit function. [LD77MS4 operation example] Each operation PLC READY signal [Y0] All axis servo ON [Y1] Positioning start signal [Y10] Torque limit setting value Pr.17 Torque output setting Cd.101...
  • Page 716 Chapter 13 Control Sub Functions [4] Setting the torque limit function (1) To use the "torque limit function", set the "torque limit value" in the parameters shown in the following table, and write them to the Simple Motion module. a) The set details are validated at the rising edge (OFF ON) of the PLC READY signal [Y0].
  • Page 717 Chapter 13 Control Sub Functions (3) The following table shows the " Torque limit stored value/forward torque Md.35 " and " " of the buffer limit stored value Reverse torque limit stored value Md.120 memory address. Buffer memory address Monitor Monitor item Storage details LD77MS2...
  • Page 718: Software Stroke Limit Function

    Chapter 13 Control Sub Functions 13.4.3 Software stroke limit function In the "software stroke limit function" the address established by a machine OPR is used to set the upper and lower limits of the moveable range of the workpiece. Movement commands issued to addresses outside that setting range will not be executed.
  • Page 719 Chapter 13 Control Sub Functions The following drawing shows the differences in the operation when " Md.20 " and " " are used in the moveable range Current feed value Machine feed value Md.21 limit check. [Conditions] Assume the current stop position is 2000, and the upper stroke limit is set to 5000. Moveable range Md.
  • Page 720 Chapter 13 Control Sub Functions [2] Software stroke limit check details Processing when Check details an error occurs The error An error shall occur if the current value is outside the software stroke "Software stroke limit range limit +" (error (Check "...
  • Page 721 Chapter 13 Control Sub Functions [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 722 Chapter 13 Control Sub Functions (5) During simultaneous start, a stroke limit check is carried out for the current values of every axis to be started. Every axis will not start if an error occurs, even if it only occurs in one axis. [5] Setting the software stroke limit function To use the "software stroke limit function", set the required values in the parameters shown in the following table, and write them to the Simple Motion...
  • Page 723 Chapter 13 Control Sub Functions [7] Setting when the control unit is "degree" Current value address The " " address is a ring address between 0 and Current feed value Md.20 359.99999 ° . 359.99999° 359.99999° 0° 0° 0° Fig. 13.15 Current value address when the control unit is "degree". Setting the software stroke limit The upper limit value/lower limit value of the software stroke limit is a value between 0 and 359.99999 °...
  • Page 724: Hardware Stroke Limit Function

    Chapter 13 Control Sub Functions 13.4.4 Hardware stroke limit function DANGER When the hardware stroke limit is required to be wired, ensure to wire it in the negative logic using b-contact. If it is set in positive logic using a-contact, a serious accident may occur. In the "hardware stroke limit function", limit switches are set at the upper/lower limit of the physical moveable range, and the control is stopped (by deceleration stop) by the input of a signal from the limit switch.
  • Page 725 Chapter 13 Control Sub Functions [1] Control details The following drawing shows the operation of the hardware stroke limit function. (1) External input signal of servo amplifier Upper limit Lower limit LD77MS control moveable range Mechanical stopper Mechanical stopper Movement Movement Start Start...
  • Page 726 Chapter 13 Control Sub Functions [2] Wiring the hardware stroke limit When using the hardware stroke limit function, wire the signal terminals corresponding to the upper/lower stroke limit of the device to be used as shown in the following drawing. (1) External input signal of the servo amplifier Refer to the manual of the servo amplifier to be used for details on input and wiring of the signal.
  • Page 727 Chapter 13 Control Sub Functions [4] When the hardware stroke limit function is not used When not using the hardware stroke limit function, set the logic of FLS and RLS to the "negative logic" (initial value) with " " and Input signal logic selection Pr.22 input the signal which always turns ON.
  • Page 728: Forced Stop Function

    Chapter 13 Control Sub Functions 13.4.5 Forced stop function DANGER When the forced stop is required to be wired, ensure to wire it in the negative logic using b- contact. Provided safety circuit outside the Simple Motion module so that the entire system will operate safety even when the "...
  • Page 729 Chapter 13 Control Sub Functions The following drawing shows the operation of the forced stop function. [LD77MS4 operation example] Forced stop Forced stop causes occurrence causes occurrence Each operation PLC READY signal[Y0] All axis servo ON[Y1] Positioning start signal[Y10] Forced stop input (Input voltage of EMI) Md.50 Forced stop input...
  • Page 730 Chapter 13 Control Sub Functions [3] Setting the forced stop To use the "Forced stop function", set the following data using a sequence program. The set details are validated at the rising edge (OFF ON) of the PLC READY signal [Y0] and the forced stop input checks in the operation cycle. Buffer memory address Setting Setting item...
  • Page 731: Functions To Change The Control Details

    Chapter 13 Control Sub Functions 13.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", "torque change function" and "target position change function". Each function is executed by parameter setting or sequence program creation and writing.
  • Page 732 Chapter 13 Control Sub Functions [1] Control details The following drawing shows the operation during a speed change. Speed changes to V2. Speed changes to V3. Operation during positioning by V1. Md. 40 In speed change processing flag Fig. 13.20 Speed change operation [2] Precautions during control (1) Control is carried out as follows at the speed change during continuous path control.
  • Page 733 Chapter 13 Control Sub Functions (3) When the stop command was given to make a stop after a speed change that had been made during position control, the restarting speed depends on the " ". New speed value Cd.14 Da. 8 Command speed Speed change Cd.
  • Page 734 Chapter 13 Control Sub Functions (5) The warning "Deceleration/stop speed change" (warning code: 500) occurs and the speed cannot be changed in the following cases.  During deceleration by a stop command  During automatic deceleration during positioning control (6) The warning "Speed limit value over" (warning code: 501) occurs and the speed is controlled at the "...
  • Page 735 Chapter 13 Control Sub Functions (2) The following shows the speed change time chart. [LD77MS4 operation example] Dwell time Positioning start signal [Y10] PLC READY signal [Y0] [Y1] All axis servo ON [X0] READY signal [X10] Start complete signal [XC] BUSY signal Positioning complete signal [X14]...
  • Page 736 Chapter 13 Control Sub Functions [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 737 Chapter 13 Control Sub Functions (3) Add the following sequence program to the control program, and write it to the PLC CPU. [LD77MS4 program example] Write 1000000 to D108 and D109. External command [Speed change processing] valid signal DTOP K1514 D108 <Write the new speed.
  • Page 738: Override Function

    Chapter 13 Control Sub Functions 13.5.2 Override function The override function changes the command speed by a designated percentage (1 to 300%) for all control to be executed. The speed can be changed by setting the percentage (%) by which the speed is changed in "...
  • Page 739 Chapter 13 Control Sub Functions [2] Precaution during control (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) The warning "Deceleration/stop speed change"...
  • Page 740 Chapter 13 Control Sub Functions (2) The following shows a time chart for changing the speed using the override function. [LD77MS4 operation example] Dwell time Positioning start signal [Y10] PLC READY signal [Y0] All axis servo ON [Y1] READY signal [X0] [X10] Start complete signal...
  • Page 741: Acceleration/Deceleration Time Change Function

    Chapter 13 Control Sub Functions 13.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 ( , and...
  • Page 742 Chapter 13 Control Sub Functions [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 (" New acceleration Cd.10 ", "...
  • Page 743 Chapter 13 Control Sub Functions [2] Precautions during control (1) When "0" is set in " " and " New acceleration time value Cd.10 Cd.11 ", the acceleration/deceleration time will not be deceleration time value 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 744 Chapter 13 Control Sub Functions (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 745 Chapter 13 Control Sub Functions [3] Setting the acceleration/deceleration time change function To use the "acceleration/deceleration time change function", write the data shown in the following table to the Simple Motion module using the sequence program. The set details are validated when a speed change is executed after the details are written to the Simple Motion module.
  • Page 746: Torque Change Function

    Chapter 13 Control Sub Functions 13.5.4 Torque change function The "torque change function" is used to change the torque limit value during torque limiting. The torque limit value at the control start is the value set in the " Torque limit setting Pr.17 "...
  • Page 747 Chapter 13 Control Sub Functions [1] Control details The torque value (forward new torque value/new reverse torque value) of the axis control data can be changed at all times. The torque can be limited with a new torque value from the time the new torque value has been written to the Simple Motion module.
  • Page 748 Chapter 13 Control Sub Functions [LD77MS4 operation example] Each operation PLC READY signal [Y0] All axis servo ON [Y1] Start signal [Y10] Torque limit setting Pr.17 value Torque output setting Cd.101 value Torque change function Cd.112 switching request New torque value/ Cd.22 forward new torque value...
  • Page 749 Chapter 13 Control Sub Functions (2) The " " or " New torque value/forward new torque value New reverse Cd.22 Cd.113 " is validated when written to the Simple Motion module. torque value (Note that it is not validated from the time the power supply is turned ON to the time the PLC READY signal [Y0] is turned ON.) (3) If the setting value of "...
  • Page 750: Target Position Change Function

    Chapter 13 Control Sub Functions 13.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 "...
  • Page 751 Chapter 13 Control Sub Functions [2] Precautions during operation (1) If the positioning movement direction from the stop position to a new target position is reversed, stop the operation once and then position to the new target position. (Refer to Fig. 13.31 (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 752 Chapter 13 Control Sub Functions [3] Method of setting target position change function from PLC CPU The following table and chart show the example of a data setting and sequence program used to change the target position of the axis 1 by the command from the PLC CPU, respectively.
  • Page 753 Chapter 13 Control Sub Functions (3) The following sequence program is added to the control program, and written to the PLC CPU. [LD77MS4 program example] No.22 Target position change program <Pulsate target position change command> <Hold target position change command> <Set target position change value 300.0 m DMOVP K3000...
  • Page 754: Absolute Position System

    Chapter 13 Control Sub Functions 13.6 Absolute position system The Simple Motion module can construct an absolute position system by installing the absolute position system and connecting it through SSCNET /H. The following describes precautions when constructing the absolute position system. The configuration of the absolute position system is shown below.
  • Page 755 Chapter 13 Control Sub Functions [2] OPR In the absolute position system, an OP can be determined through OPR. In the "Data set method" OPR method, the location to which the location of the OP is moved by manual operation (JOG operation/manual pulse generator operation) is treated as the OP.
  • Page 756: Other Functions

    Chapter 13 Control Sub Functions 13.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", "stop command processing for deceleration stop function", "follow up processing function", "speed control 10 multiplier setting for degree axis function"...
  • Page 757 Chapter 13 Control Sub Functions [2] Step mode In step operations, the timing for stopping the control can be set. This is called the "step mode". (The "step mode" is set in the control data " ".) Step mode Cd.34 The following shows the two types of "step mode"...
  • Page 758 Chapter 13 Control Sub Functions [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 759 Chapter 13 Control Sub Functions [5] Control details (1) The following drawing shows a step operation during a "deceleration unit step". [LD77MS4 operation example] Cd. 35 Step valid flag Positioning start signal [Y10, Y11, Y12, Y13] BUSY signal [XC, XD, XE, XF] Positioning complete signal [X14, X15, X16, X17] Positioning...
  • Page 760 Chapter 13 Control Sub Functions [6] Precautions during control (1) When step operation is carried out using interpolation control positioning data, the step function settings are carried out for the reference axis. (2) When the step valid flag is ON, the step operation will start from the beginning if the positioning start signal is turned ON while "...
  • Page 761: Skip Function

    Chapter 13 Control Sub Functions 13.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 ( ) or external command Skip command Cd.37...
  • Page 762 Chapter 13 Control Sub Functions [2] Control details The following drawing shows the skip function operation. [LD77MS4 operation example] Positioning start signal [Y10, Y11, Y12, Y13] BUSY signal [XC, XD, XE, XF] Positioning complete signal [X14, X15, X16, X17] Positioning Start of the Deceleration by next positioning...
  • Page 763 Chapter 13 Control Sub Functions [4] Setting the skip function from the PLC CPU The following shows the settings and sequence program example for skipping the control being executed in axis 1 with a command from the PLC CPU. (1) Set the following data. (The setting is carried out using the sequence program shown below in section (2)).
  • Page 764 Chapter 13 Control Sub Functions [5] 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.
  • Page 765: M Code Output Function

    Chapter 13 Control Sub Functions 13.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 is turned ON during positioning execution, a No. called the M code is stored in "...
  • Page 766 Chapter 13 Control Sub Functions (2) AFTER mode The M code ON signal is turned ON at the positioning completion, and the M code is stored in " ". Valid M code Md.25 [LD77MS4 operation example] Positioning start signal [Y10, Y11, Y12, Y13] [XC, XD, XE, XF] BUSY signal M code ON signal...
  • Page 767 Chapter 13 Control Sub Functions [LD77MS4 operation example] 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.
  • Page 768 Chapter 13 Control Sub Functions [4] Setting the M code output function The following shows the settings to use the "M code output function". (1) Set the M code No. in the positioning data " M code/Condition data Da.10 ". No./Number of LOOP to LEND repetitions (2) Set the timing to output the M code ON signal.
  • Page 769: Teaching Function

    Chapter 13 Control Sub Functions 13.7.4 Teaching function The "teaching function" is used to set addresses aligned using the manual control (JOG operation, inching operation manual pulse generator operation) in the positioning data addresses (" ", " "). Positioning address/movement amount Arc address Da.6 Da.7...
  • Page 770 Chapter 13 Control Sub Functions [2] Precautions during control (1) Before teaching, a "machine OPR" must be carried out to establish the OP. (When a current value changing, etc., is carried out, " Current feed Md.20 " may not show absolute addresses having the OP as a reference.) value (2) Teaching cannot be carried out for positions to which movement cannot be executed by manual control (positions to which the workpiece cannot...
  • Page 771 Chapter 13 Control Sub Functions [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 LD77MS4 [axis 1]) Start Perform machine OPR on axis 1. Move the workpiece to the target position •...
  • Page 772 Chapter 13 Control Sub Functions (2) When teaching to the " ", then teaching to the " Arc address Da.7 Da.6 " Positioning address/movement amount (Teaching example for 2-axis circular interpolation control with sub point designation on LD77MS4 [axis 1] and [axis 2]) Start Perform a machine OPR on axis 1 and axis 2.
  • Page 773 Chapter 13 Control Sub Functions Teaching arc end point • • • • • • • • Entering teaching data to buffer memory address address on axis 2. [1648] and [1649], in the same fashion as for axis 1. End teaching? Turn OFF the PLC READY signal [Y0].
  • Page 774 Chapter 13 Control Sub Functions [LD77MS4 operation example] Target position Forward run JOG start [Y8] signal [Y0] PLC READY signal [Y1] All axis servo ON [X0] READY signal [XC] BUSY signal [X8] Error detection signal Md.20 Current feed value Teaching is possible Teaching is impossible Teaching is possible (Note): Refer to Section 3.3 for input/output signal of LD77MS16.
  • Page 775: Command In-Position Function

    Chapter 13 Control Sub Functions 13.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 sets "1". This flag is called the "command in-position flag". The command in-position flag is used as a front- loading signal indicating beforehand the completion of the position control.
  • Page 776 Chapter 13 Control Sub Functions [2] Precautions during control (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 ...
  • Page 777 Chapter 13 Control Sub Functions [3] Setting the command in-position function To use the "command in-position function", set the required value in the parameter shown in the following table, and write it to the Simple Motion module. The set details are validated at the rising edge (OFF ON) of the PLC READY signal [Y0].
  • Page 778: Acceleration/Deceleration Processing Function

    Chapter 13 Control Sub Functions 13.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 device. 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 779 Chapter 13 Control Sub Functions [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, manual pulse generator operation and speed-torque control.) The two types of "acceleration/deceleration processing method"...
  • Page 780 Chapter 13 Control Sub Functions When a speed change request or override request is given during S-curve acceleration/ deceleration processing, S-curve acceleration/deceleration processing begins at a speed change request or override request start. When speed change Speed change (acceleration) request is not given Command speed before speed change Speed change request Speed change (deceleration)
  • Page 781: Pre-Reading Start Function

    Chapter 13 Control Sub Functions 13.7.7 Pre-reading start function The "pre-reading start function" does not start servo while the execution prohibition flag is ON if a positioning start request is given with the execution prohibition flag ON, and starts servo within operation cycle after OFF of the execution prohibition flag is detected.
  • Page 782 Chapter 13 Control Sub Functions [2] Precautions during control (1) The time required to analyze the positioning data is up to 0.88ms (LD77MS2/LD77MS4)/3.55ms(LD77MS16). (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 783 Chapter 13 Control Sub Functions [3] Program examples [LD77MS4 program example] Pre-reading start program (when positioning start signal Y10 is used) <Pre-reading start command pulse> M100 M100 <Sets 1 to positioning start No.> K1500 <Turns ON execution prohibition flag> <Turns ON positioning start signal> <Turns OFF execution prohibition flag>...
  • Page 784: Deceleration Start Flag Function

    Chapter 13 Control Sub Functions 13.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 785 Chapter 13 Control Sub Functions Da.1 Positioning Data No. Operation pattern 01: Continuous positioning control 00: Positioning complete 00: Positioning complete 11: Continuous path control 00: Positioning complete   1st point: Continue (1) 2nd point: Continue (1) 3rd point: End (0) Operation pattern Positioning complete (00)
  • Page 786 Chapter 13 Control Sub Functions (6) When the movement direction is reversed by a target position change, the deceleration start flag turns ON. Operation pattern: Positioning complete (00) Execution of target position change request Time Md.48 Deceleration start flag 0 (7) During position control of position-speed switching control, the deceleration start flag is turned ON by automatic deceleration.
  • Page 787: Stop Command Processing For Deceleration Stop Function

    Chapter 13 Control Sub Functions 13.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 788 Chapter 13 Control Sub Functions (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 789 Chapter 13 Control Sub Functions [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.
  • Page 790: Speed Control 10 X Multiplier Setting For Degree Axis Function

    Chapter 13 Control Sub Functions 13.7.10 Speed control 10 x multiplier setting for degree axis function The "Speed control 10 x multiplier setting for degree axis function" is provided to execute the positioning control by 10 x speed of the setting value in the command speed and the speed limit value when the setting unit is "degree".
  • Page 791 Chapter 13 Control Sub Functions (2) Monitor data " "  Feedrate Md.22 " "  Current speed Md.27  " " Axis feedrate Md.28  " " Target speed Md.33  " " Speed during command Md.122 " : For the above monitoring data, Speed control 10 x multiplier setting for Pr.83 "...
  • Page 792 Chapter 13 Control Sub Functions [2] Setting method of "Speed control 10 x multiplier setting for degree axis function" Set "Valid/Invalid" by " ". Speed control 10 x multiplier setting for degree axis Pr.83 Normally, the speed specification range is 0.001 to 2000000.000[degree/min], but it will be decupled and become 0.01 to 20000000.00[degree/min] by setting "...
  • Page 793: Operation Setting For Incompletion Of Opr Function

    Chapter 13 Control Sub Functions 13.7.11 Operation setting for incompletion of OPR function The "Operation setting for incompletion of OPR function" is provided to select whether positioning control is operated or not, when OPR request flag is ON. This section explains the "Operation setting for incompletion of OPR function" as follows: [1] Control details [2] Precautions during control...
  • Page 794 Chapter 13 Control Sub Functions (2) When OPR request flag ( : b3) is ON, starting Fast OPR will result Status Md.31 in the error "OPR request ON" (error code: 207) despite the setting value of " ", and Fast OPR will not be Operation setting for incompletion of OPR Pr.55 performed.
  • Page 795: Servo On/Off

    Chapter 13 Control Sub Functions 13.8 Servo ON/OFF 13.8.1 Servo ON/OFF This function executes servo ON/OFF of the servo amplifiers connected to the Simple Motion module. By establishing the servo ON status with the servo ON command, servo motor operation is enabled. The following two signals can be used to execute servo ON/OFF.
  • Page 796 Chapter 13 Control Sub Functions [2] Servo OFF (Servo operation disabled) The following shows the procedure for servo OFF. (1) Set "1" for " ". (The servo LED indicates "c_".) Servo OFF command Cd.100 (If the " " set "0" again, after the servo operation Servo OFF command Cd.100 enabled.)
  • Page 797: Follow Up Function

    Chapter 13 Control Sub Functions 13.8.2 Follow up function (1) Follow up function The follow up function monitors the number of motor rotations (actual current value) with the servo OFF and reflects the value in the feed current value. If the servomotor rotates during the servo OFF, the servomotor will not just rotate for the amount of droop pulses at switching the servo ON next time, so that the positioning can be performed from the stop position.
  • Page 798 Chapter 13 Control Sub Functions MEMO 13 - 108...
  • Page 799 Chapter 14 Common Functions Chapter 14 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 Simple Motion module, such as parameter initialization and execution data backup. Read the setting and execution procedures for each common function indicated in this chapter thoroughly, and execute the appropriate function where required.
  • Page 800: Outline Of Common Functions

    Chapter 14 Common Functions 14.1 Outline of common functions "Common functions" are executed according to the user's requirements, regardless of the control method, etc. These common functions are executed by GX Works2 or sequence programs. The following table shows the functions included in the "common functions". Means Common function Details...
  • Page 801 Chapter 14 Common Functions Means Common function Details Sequence GX Works2 program This function collects errors occurred in the Simple Motion module in the PLC CPU. Module error collection function Holding the error contents in the PLC CPU, this — function enables to check the error history even after the PLC CPU in powered off or reset.
  • Page 802: Parameter Initialization Function

    Chapter 14 Common Functions 14.2 Parameter initialization function The "parameter initialization function" is used to return the setting data set in the buffer memory/internal memory and flash ROM/internal memory (nonvolatile) of Simple Motion module to their factory-set initial values. The details shown below explain about the "parameter initialization function". [1] Parameter initialization means [2] Control details [3] Precautions during control...
  • Page 803 Chapter 14 Common Functions [3] Precautions during control (1) Parameter initialization is only executed when the positioning control is not carried out (when the PLC READY signal [Y0] is OFF). The warning "In PLC READY" (warning code: 111) will occur if executed when the PLC READY signal [Y0] is ON.
  • Page 804: Execution Data Backup Function

    Chapter 14 Common Functions 14.3 Execution data backup function When the buffer memory data of Simple Motion module is rewritten from the PLC CPU, "the data backed up in the flash ROM/internal memory (nonvolatile)" of Simple Motion module may differ from "the execution data being used for control (buffer memory data)".
  • Page 805 Chapter 14 Common Functions [2] Control details The following shows the data that can be written to the flash ROM/internal memory (nonvolatile) using the "execution data backup function". Target area Parameters Basic parameters Detailed parameters Home position return basic parameters Home position return detailed parameters Extended parameters Servo parameters...
  • Page 806 Chapter 14 Common Functions [3] Precautions during control (1) Data can only be written to the flash ROM when the positioning control is not carried out (when the PLC READY signal [Y0] is OFF). The warning "In PLC READY" (warning code: 111) will occur if executed when the PLC READY signal [Y0] is ON.
  • Page 807: External Signal Selection Function

    Chapter 14 Common Functions 14.4 External signal selection function The "external signal selection function" is used to select from the following signals when using the upper/lower limit signal and near-point dog signal. • External input signal of servo amplifier • External input signal via CPU (buffer memory of LD77MS) When the external input signal via CPU (the buffer memory of LD77MS) is used, the external input signal status of Simple Motion module can be operated by connecting the limit switch to input module and by operating the buffer memory of sequence...
  • Page 808 Chapter 14 Common Functions (1) When "1: External input signal of servo amplifier" is set, set the Pin No. of external input signal of servo amplifier shown in the following table. At MR-JE-B use, refer to Appendix 6.5 "Connection with MR-JE-B". Signal name Pin No.
  • Page 809 Chapter 14 Common Functions [2] Precautions during parameter setting (1) When other than "1: External input signal of servo amplifier" and "2: Buffer memory of LD77MS" is set, the error "External input signal selection error" (error code: 936) occurs at turning when the PLC READY signal [Y0] ON, and the READY signal [X0] is not turned ON.
  • Page 810 Chapter 14 Common Functions List of devices to be used The following shows the device list that is used with the program example. Device name Device Limit switch to be connected Purpose Description at device ON FLS 1 Axis1 FLS ON command RLS 1 Axis1 RLS ON command DOG 1...
  • Page 811 Chapter 14 Common Functions Program example * Axis 1 FLS operation U0\G5928.0 Axis 1 F External LS ON co input s mmand ignal op eration device: * Axis 1 RLS operation axis 1 F U0\G5928.1 External Axis 1 R input s LS ON co ignal op mmand...
  • Page 812 Chapter 14 Common Functions * Axis 8 FLS operation U0\G5929.C Axis 8 F External LS ON co input s mmand ignal op eration device: * Axis 8 RLS operation axis 8 F U0\G5929.D External Axis 8 R input s LS ON co ignal op mmand eration...
  • Page 813: External I/O Signal Logic Switching Function

    Chapter 14 Common Functions 14.5 External I/O signal logic switching function This function switches the signal logic according to the following signals. • External equipment connected to Simple Motion module • External input signal of servo amplifier (upper/lower limit switch, near-point dog) For the system in which b-contact, upper limit switch, and lower limit switch are not used, the parameter logic setting can be controlled without wiring if it is changed to a "positive logic".
  • Page 814 Chapter 14 Common Functions [2] Precautions on parameter setting (1) The external I/O signal logic switching parameters are validated when the PLC READY signal [Y0] is turned OFF to ON. (The logic is negative right after power-on.) (2) If the logic of each signal is set erroneously, the operation may not be carried out correctly.
  • Page 815: History Monitor Function

    Chapter 14 Common Functions 14.6 History monitor function This function monitors start history, error history, warning history, and current history stored in the buffer memory of the Simple Motion module on the operation monitor of GX Works2 [1] Start history The start history logs of operations such as positioning operation, JOG operation, and manual pulse generator operation can be monitored.
  • Page 816 Chapter 14 Common Functions [3] Current value history The current value history data of each axis can be monitored. The following shows about the current value history data of each axis. Monitor details Monitor item Feed current value Servo command value Encoder position within one revolution Encoder multiple revolution counter Latest backup data...
  • Page 817 Chapter 14 Common Functions Latest backup data The latest backup data outputs the following data saved in the fixed cycle to the buffer memory. • Feed current value • Servo command value • Encoder position within one revolution • Encoder multiple revolution counter •...
  • Page 818 Chapter 14 Common Functions Home position return data The following data saved at home position return completion to the buffer memory. • Feed current value at home position return completion • Servo command value at home position return completion • Encoder position within one revolution of absolute position reference point data •...
  • Page 819: Amplifier-Less Operation Function

    Chapter 14 Common Functions 14.7 Amplifier-less operation function The positioning control of Simple Motion module without servo amplifiers connection can be executed in the amplifier-less function. This function is used to debug of user program or simulate of positioning operation at the start. The details shown below explain about the "Amplifier-less operation function".
  • Page 820 Chapter 14 Common Functions POINT (1) Switch of the normal operation mode and amplifier-less operation mode is executed by the batch of all axes. Switch of the operation mode for each axis cannot be executed. (2) Only axis that operated either the followings before switching to the amplifier- less operation mode becomes the connection status during amplifier-less operation.
  • Page 821 Chapter 14 Common Functions [2] Restrictions (1) Some monitor data differ from the actual servo amplifier during amplifier- less operation mode. Buffer memory address Storage item Storage details LD77MS2 LD77MS16 LD77MS4 852+100n 2452+100n Md.102 Deviation counter value Always "0". 853+100n 2453+100n 864+100n 2464+100n...
  • Page 822 Chapter 14 Common Functions (2) The operation of following function differs from the normal operation mode during amplifier-less operation mode. Function Operation When "1: External input signal of servo amplifier" is set in " External input signal Pr.80 ", the status of external signal at the amplifier-less operation mode start is shown selection below.
  • Page 823 Chapter 14 Common Functions (8) Even if the PLC READY signal [Y0| is turned ON by changing " Servo Pr.100 " from "0: Servo series is not set" to other than "0", the setting does not series become valid. (The axis connecting status remains disconnection.) (9) The operation cannot be changed to amplifier-less operation when connected and not connected servo amplifier axes are mixed.
  • Page 824 Chapter 14 Common Functions [4] Operation mode switching procedure (1) Switch from the normal operation mode to the amplifier-less operation mode 1) Stop all operating axes, and then confirm that the BUSY signal for all axes turned OFF. 2) Turn OFF the PLC READY signal [Y0]. 3) Confirm that the READY signal [X0] turned OFF.
  • Page 825 Chapter 14 Common Functions (3) Operation chart The following drawing shows the operation for the switching of the normal operation mode and amplifier-less operation mode [LD77MS4 operation example] Normal operation Normal operation Amplifier-less operation mode mode mode Each operation BUSY signal [XC to XF] PLC READY signal [Y0] READY signal...
  • Page 826: Virtual Servo Amplifier Function

    Chapter 14 Common Functions 14.8 Virtual servo amplifier function This function executes the operation virtually without connecting servo amplifiers (regarded as connected) by setting "4097, 4128" in servo parameter " Servo Pr.100 ". The synchronous control with virtually input command is possible by using the series virtual servo amplifier axis as servo input axis of synchronous control.
  • Page 827 Chapter 14 Common Functions POINT Do not make to operate by switching between the actual servo amplifier and virtual servo amplifier. When a value except "0" is set in " " set in the Servo series Pr.100 flash ROM, the servo series is not changed even if the " "...
  • Page 828 Chapter 14 Common Functions [2] Restrictions (1) The following monitor data of virtual servo amplifier differ from the actual servo amplifier. Buffer memory address Storage item Storage details LD77MS2 LD77MS16 LD77MS4 852+100n 2452+100n Deviation counter Md.102 Always "0". value 853+100n 2453+100n 864+100n 2464+100n...
  • Page 829 Chapter 14 Common Functions (2) The operation of the following function of virtual servo amplifier differs from the actual servo amplifier. Function Operation When "1: External input signal of servo amplifier" is set in " External input signal Pr.80 ", the external signal status immediately after power supply ON is shown selection below.
  • Page 830: Driver Communication Function

    Chapter 14 Common Functions 14.9 Driver communication function This function uses the "Master-slave operation function" of servo amplifier. The Simple Motion module controls master axis and the slave axis is controlled by data communication between servo amplifiers (driver communication) without Simple Motion module.
  • Page 831 Chapter 14 Common Functions [1] Control details Set the master axis and slave axis in the servo parameter. Execute each control of Simple Motion module for the master axis. (However, be sure to execute the servo ON/OFF of slave axis and error reset at servo alarm occurrence in the slave axis.) The servo amplifier set as master axis receives command (positioning command, speed command, torque command) from the Simple Motion module, and send the control data to the servo amplifier set as...
  • Page 832 Chapter 14 Common Functions [2] Precautions during control CAUTION In the operation by driver communication, the positioning control or JOG operation of the master axis is not interrupted even if the servo alarm occurs in the slave axis. Be sure to stop by user program.
  • Page 833 Chapter 14 Common Functions (f) If all axes set to driver communication are not detected at the start of communication with the servo amplifier, all axes including independent axes cannot be operated. (The servo amplifier's LED display remains "Ab".) Check the operation enabled status with " Communication Md.52 ".
  • Page 834 Chapter 14 Common Functions (4) I/O signals of slave axis (a) Input signal [LD77MS2] Only the error detection signal [X8, X9] is valid. And only the servo alarm detection is valid. (The control of slave axis is not influenced even if the error other than servo alarm has been occurred.) [LD77MS4] Only the error detection signal [X8 to XB] is valid.
  • Page 835 Chapter 14 Common Functions (5) Data used for positioning control of slave axis (a) Only the following axis monitor data are valid in slave axis. Item Remark Axis error No. Valid for only servo alarm detection. Md.23 Torque limit stored value/forward —...
  • Page 836 Chapter 14 Common Functions [3] Servo parameter Set the following parameters for the axis to execute the driver communication. (Refer to each servo amplifier instruction manual for details.) [MR-J3-_B_/MR-J3-_BS_/MR-J3-_B_-RJ006 use] Buffer memory address Setting item Setting details LD77MS2 LD77MS16 LD77MS4 Disable deceleration stop Forced stop deceleration function function at the master...
  • Page 837 Chapter 14 Common Functions [MR-J4-_B_/MR-J4-_B_-RJ use] Buffer memory address Setting item Setting details LD77MS2 LD77MS16 LD77MS4 Disable deceleration stop Forced stop deceleration function function at the master 30104+200n 28404+100n PA04 selection axis and slave axis. Set the master axis and PD15 Driver communication setting 30210+200n...
  • Page 838: Mark Detection Function

    Chapter 14 Common Functions 14.10 Mark detection function Any data can be latched at the input timing of the mark detection signal (DI1 to DI4). Also, only data within a specific range can be latched by specifying the data detection range.
  • Page 839 Chapter 14 Common Functions Performance specifications Item LD77MS2 LD77MS4 LD77MS16 Number of mark detection settings Up to 4 Up to 16 Axis 1 to Axis 2 Axis 1 to Axis 4 Axis 1 to Axis 16 Input signal External input signal (DI1 to DI2) External input signal (DI1 to DI4) External input signal (DI1 to DI4) Input signal detection direction...
  • Page 840 Chapter 14 Common Functions [1] Operation for mark detection function Operations done at mark detection are shown below. • Calculations for the mark detection data are estimated at leading edge/trailing edge of the mark detection signal. However, when the specified number of detections mode is set, the current number of mark detection is checked, and then it is judged whether to execute the mark detection.
  • Page 841 Chapter 14 Common Functions [2] How to use mark detection function The following shows an example for mark detection by the external command signal (DI2) of axis 2. The mark detection target is axis 1 real current value, and the all range is detected in continuous detection mode.
  • Page 842 Chapter 14 Common Functions POINT When "1: Valid" is set in " External command signal compensation valid/invalid Pr.114 ", the response time of the high-speed input signal is compensated and the setting latch accuracy will be enhanced. (For details of " ", External command signal compensation valid/invalid setting Pr.114...
  • Page 843 Chapter 14 Common Functions The following shows the buffer memory used in the mark detection function. (1) Mark detection setting parameters Buffer memory address Default Setting item Setting details/setting value LD77MS2 value LD77MS16 LD77MS4 Set the external input signal (high speed input request) for mark detection.
  • Page 844 Chapter 14 Common Functions POINT The above parameters are valid with the value set in the flash ROM of the Simple Motion module when the power ON or the CPU module reset. Except for a part, the value is not fetched by turning the PLC READY signal ON from OFF. Therefore, write to the flash ROM after setting the value in the buffer memory to change.
  • Page 845 Chapter 14 Common Functions Mark detection data axis No. Pr.803 Set the axis No. of data that latched at mark detection. Mark detection data type Mark detection data axis No. Pr.802 Pr.803 Setting value Data name Unit LD77MS2 LD77MS4 LD77MS16 Current feed value Machine feed value [µm], 10...
  • Page 846 Chapter 14 Common Functions Mark detection data buffer memory No. Pr.804 Set the No. of optional 2 words buffer memory that latched at mark detection. Set this No. as an even No. If a value other than the above is set, the warning "Outside mark detection data buffer memory No.
  • Page 847 Chapter 14 Common Functions Mark detection mode setting Pr.807 Set the data storage method of mark detection. Setting Mark detection data Mode Operation for mark detection value storage method The data is updated in the Continuous Always mark detection data detection mode storage area 1.
  • Page 848 Chapter 14 Common Functions Latch data range change request Cd.802 Request the processing of latch data range change. Set the following value depending on the timing of updating the change value. 1 : Change in the next Operation cycle of the requested 2 : Change in the next DI input of the requested •...
  • Page 849 Chapter 14 Common Functions [4] Precautions When the data of " " or " Mark detection data type Mark detection data Pr.802 Pr.803 " is selected incorrectly, the incorrect latch data is stored. axis No. For the data of " ", set the item No.
  • Page 850: Optional Data Monitor Function

    Chapter 14 Common Functions 14.11 Optional data monitor function The data of the registered monitor is refreshed every operation cycle. This function is used to store the data (refer to following table) up to four points per axis to the buffer memory and monitor them. The details shown below explain about the "Optional data monitor function".
  • Page 851 Chapter 14 Common Functions [1] Data that can be set Monitoring possibility Used Data type Unit MR-J3(W)-B MR-J4(W)-B/ point MR-JE-B Effective load ratio Regenerative load ratio Peak load ratio Load inertia moment ratio [ 0.1] Model loop gain [rad/s] Main circuit bus voltage Servo motor speed [r/min] Encoder multiple revolution...
  • Page 852 Chapter 14 Common Functions [2] List of buffer memory The buffer memory used in the registered monitor of the optional data monitor function is shown below. (1) Expansion parameter Buffer memory address Setting item Setting details/setting value LD77MS2 LD77MS16 LD77MS4 Optional data monitor: Data type 100+150n...
  • Page 853 Chapter 14 Common Functions (2) Axis monitor data Buffer memory address Storage item Storage details/storage value LD77MS2 LD77MS16 LD77MS4 • The content set in " Optional data monitor: Data type Pr.91 Regenerative load " is stored at optional data monitor data type setting. ratio/Optional data setting 1 878+100n...
  • Page 854: Module Error Collection Function

    Chapter 14 Common Functions 14.12 Module error collection function This function collects errors occurred in the Simple Motion module in the PLC CPU. Those errors are stored in a memory (latch area) of the PLC CPU as module error logs. The stored error logs are retained even when the PLC CPU is powered off or reset.
  • Page 855: Connect/Disconnect Function Of Sscnet Communication

    Chapter 14 Common Functions 14.13 Connect/disconnect function of SSCNET communication Temporarily connect/disconnect of SSCNET communication is executed during system's power supply ON. This function is used to exchange the servo amplifiers or SSCNET cables. The details shown below explain about the "Connect/disconnect function of SSCNET communication".
  • Page 856 Chapter 14 Common Functions (5) Execute the connect/disconnect command to the A-axis for multiple-axis servo amplifier. (6) When using the driver communication function, it can be disconnected by executing the connect/disconnect command, however it cannot be connected again. (7) The connect/disconnect/execute command cannot be accepted during amplifier-less operation mode.
  • Page 857 Chapter 14 Common Functions (2) System monitor data Buffer memory address Monitor Monitor item Storage details LD77MS2 value LD77MS16 LD77MS4 The connect/disconnect status of SSCNET communication is stored. 1: Disconnected axis existing SSCNET control 1433 4233 Md.53 status 0: Command accept waiting -1: Execute waiting -2: Executing [4] Procedure to connect/disconnect...
  • Page 858 Chapter 14 Common Functions (2) Procedure to connect 1) Turn ON the servo amplifier's power supply. 2) Set "-10: Connect command of SSCNET communication" in " Cd.102 ". SSCNET control command 3) Check that "-1: Execute waiting" is set in " ".
  • Page 859 Chapter 14 Common Functions (1) Disconnect operation <Set the disconnect axis (Axis 5) > M100 M101 M102 D250 Disconne Disconne Disconne Disconne ct comma ct reque ct execu ct compl st (Axis tion req etion ch uest M100 Disconne ct reque st (Axis <Set the disconnect command >...
  • Page 860 Chapter 14 Common Functions (2) Connect operation <Set the connect command > M110 M111 M112 K-10 D250 Connect Connect Connect Connect command request executio completi n reques on check M110 Connect request <Set the connect command > M110 D250 G4233 G5932 Connect SSCNET c...
  • Page 861: Ld77Mh Initial Value Setting Function

    Chapter 14 Common Functions 14.14 LD77MH initial value setting function The "LD77MH initial value setting function" is used to set the factory-set initial value of LD77MH in the setting data set in the LD77MS buffer memory/internal memory and flash ROM/internal memory (nonvolatile). Because some initial values of parameter between LD77MS and LD77MH are different, when switching to LD77MS from LD77MH without using Simple Motion Module Setting Tool of GX Works2, set the parameter value to factory-set initial value of LD77MH by...
  • Page 862 Chapter 14 Common Functions [2] Control details The following table shows the data that the initial value is set by the "LD77MH initial value setting function". (The data set are "buffer memory/internal memory" and "flash ROM/internal memory (nonvolatile)" setting data.) Setting data Basic parameters ( Pr.1...
  • Page 863 Chapter 14 Common Functions [3] Precautions during control (1) Parameter initialization is only executed when the positioning control is not carried out (when the PLC READY signal [Y0] is OFF). The warning "In PLC READY" (warning code: 111) will occur if executed when the PLC READY signal [Y0] is ON.
  • Page 864: Hot Line Forced Stop Function

    Chapter 14 Common Functions 14.15 Hot line forced stop function This function is used to execute deceleration stop safety for other axes when the servo alarm occurs in the servo amplifier MR-JE-B. The details shown below explain about the "Hot line forced stop function". [1] Control details [2] Precautions during control [1] Control details...
  • Page 865 Chapter 14 Common Functions [2] Precautions during control (1) The servo warning "Controller forced stop warning" (warning No.: E7) occurs in the axis where the hot line forced stop function executes deceleration stop. (2) To clear the servo warning "Controller forced stop warning" (warning No.: E7) occurred by the hot line forced stop function, set "1"...
  • Page 866 Chapter 14 Common Functions MEMO 14 - 68...
  • Page 867 Chapter 15 Dedicated Instructions Chapter 15 Dedicated Instructions The dedicated instructions of Simple Motion module 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 buffer memory address of Simple Motion module and interlock signal.
  • Page 868: List Of Dedicated Instructions

    Chapter 15 Dedicated Instructions 15.1 List of dedicated instructions The dedicated instructions explained in this Chapter are listed in Table 15.1. Table 15.1 List of dedicated instructions Dedicated Application Outline of functions Reference instruction ZP.PSTRT1 ZP.PSTRT2 This function starts the positioning control of the designated Positioning start Section 15.3 axis of the Simple Motion module.
  • Page 869: Zp.pstrt1, Zp.pstrt2, Zp.pstrt3, Zp.pstrt4

    Chapter 15 Dedicated Instructions 15.3 ZP.PSTRT1, ZP.PSTRT2, ZP.PSTRT3, ZP.PSTRT4 These dedicated instructions are used to start the positioning of the designated axis. Usable device Intelligent Internal device Link direct device J_\_ Constant Setting Index File function data register Others register module Word Word...
  • Page 870 Chapter 15 Dedicated Instructions [Control data] Setting side Device Item Setting data Setting range (Note-1) (S)+0 System area – – – The state at the time of completion is stored. • 0 : Normal completion (S)+1 Complete status – System (Note-2) •...
  • Page 871 Chapter 15 Dedicated Instructions processing processing processing processing Sequence program ZP.PSTRT_ instruction execution completion ZP.PSTRT_ instruction When Complete device completed abnormally When completed Complete state display normally device 1 scan Dwell time Positioning BUSY signal Positioning complete [Errors] (1) When a 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 872 Chapter 15 Dedicated Instructions (5) If the ZP.PSTRT_ instruction is executed in the following cases, an error "Dedicated instruction error" (error code: 804) will occur and positioning cannot be started. • Any value other than 1 to 600, 7000 to 7004, and 9001 to 9004 is set to "Starting number"...
  • Page 873: Zp.teach1, Zp.teach2, Zp.teach3, Zp.teach4

    Chapter 15 Dedicated Instructions 15.4 ZP.TEACH1, ZP.TEACH2, ZP.TEACH3, ZP.TEACH4 These dedicated instructions are used to teach the designated axis. Usable device Internal device Link direct device J_\_ Constant Intelligent Setting Index File function data register Others register module Word Word K, H U_\G_ –...
  • Page 874 Chapter 15 Dedicated Instructions [Control data] Setting side Device Item Setting data Setting range (Note-1) (S)+0 System area – – – The state at the time of completion is stored. : Normal completion (S)+1 Complete status – System (Note-2) Other than 0 : Abnormal completion (error code) The address (positioning address/arc address) to which Teaching data the current feed value is written is set.
  • Page 875 Chapter 15 Dedicated Instructions 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 876 Chapter 15 Dedicated Instructions [Program example] Program to execute the teaching of the positioning data No. 3 of the axis 1 when X39 is turned ON in LD77MS4. (1) Teaching program Positioned manually to target position. <Teaching command pulse> <Teaching command hold> MOVP <Teaching data setting>...
  • Page 877: Zp.pfwrt

    Chapter 15 Dedicated Instructions 15.5 ZP.PFWRT These dedicated instructions are used to write the parameters positioning data, and block start data of Simple Motion module to the flash ROM. Usable device Link direct device J_\_ Constant Internal device Intelligent Setting Index File function...
  • Page 878 Chapter 15 Dedicated Instructions [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 879 Chapter 15 Dedicated Instructions [Precautions] (1) Do not turn ON the power and reset the PLC CPU while parameters, positioning data and block start data are written to the flash ROM using the 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 880 Chapter 15 Dedicated Instructions [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 in LD77MS4. (1) Flash ROM write program <Flash ROM write command pulse> <Flash ROM write command hold>...
  • Page 881: Zp.pinit

    Chapter 15 Dedicated Instructions 15.6 ZP.PINIT This dedicated instruction is used to initialize the setting data of the Simple Motion module. Usable device Internal device Link direct device J_\_ Constant Intelligent Setting Index File function data register Others register module Word Word K, H...
  • Page 882 Chapter 15 Dedicated Instructions [Functions] (1) This dedicated instruction is used to return the setting data set in the buffer memory of Simple Motion module and flash ROM to their factory-set data (initial values). Refer to Section 14.2 for initialized setting data. (2) The ZP.PINIT instruction completion can be confirmed using the complete devices ((D)+0) and ((D)+1).
  • Page 883 Chapter 15 Dedicated Instructions (3) After the power ON and PLC CPU reset operation, writing to the flash ROM using a sequence program is limited to up to 25 times. (Not limited to up to 25 times when writing to the flash ROM is carried out by GX Works2.) If the 26th or more writing is requested after the power ON/PLC CPU reset operation, the error "Flash ROM write number error"...
  • Page 884 Chapter 15 Dedicated Instructions MEMO 15- 18...
  • Page 885 Chapter 16 Troubleshooting Chapter 16 Troubleshooting The "errors" and "warnings" detected by the Simple Motion module are explained in this chapter. Errors can be confirmed with the LED display of Simple Motion module and GX Works2. When an error or warning is detected, confirm the detection details and carry out the required measures.
  • Page 886: Checking Errors Using Gx Works2

    Chapter 16 Troubleshooting 16.1 Checking errors using GX Works2 Error codes corresponding to the errors occurred in the Simple Motion module can be checked either on the following screen of GX Works2. Select the screen according to the purpose and usage. •...
  • Page 887 Chapter 16 Troubleshooting (b) 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 status of Simple Motion module when the error selected in the "Error History List"...
  • Page 888: Checking Errors Using A Display Unit

    Chapter 16 Troubleshooting (c) [Create CSV File] button The module error logs are output to a CSV format file. POINT (1) If errors frequently occur in the Simple Motion module, "*HST.LOSS*" (instead of an actual error code) may be displayed in the Error Code column. (Display example) If "*HST.LOSS*"...
  • Page 889: Troubleshooting

    Chapter 16 Troubleshooting 16.3 Troubleshooting (1) Troubleshooting using the LEDs Check items and corrective actions for troubleshooting using the indicator LEDs of the Simple Motion module are described below. (a) When the RUN LED turns off. Check item Action Check that the voltage supplied to the power supply Is the power supplied? module is within the rated range.
  • Page 890 Chapter 16 Troubleshooting (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 Simple Motion module to operate (excluding when the "positioning test function"...
  • Page 891 Chapter 16 Troubleshooting (3) Troubleshooting when a motor does not rotate as intended. Check items and corrective actions for troubleshooting when a motor does not rotate as intended are described below. (a) When a motor rotates only in the opposite direction Check item Action Check that the value in "Rotation direction selection/...
  • Page 892 Chapter 16 Troubleshooting (c) When the set position is not reached Check item Action [When the position set in " " is reached] Current feed value Md.20 • Check that the values in " ", Number of pulses per rotation (AP) Pr.2 "...
  • Page 893: Error And Warning Details

    Chapter 16 Troubleshooting 16.4 Error and warning details [1] Errors Types of errors Errors detected by the Simple Motion module include parameter setting range errors, errors at the operation start or during operation and errors detected by servo amplifier. (1) Errors detected by the Simple Motion module include parameter setting range errors The parameters are checked when the power is turned ON and at the rising edge (OFF...
  • Page 894 Chapter 16 Troubleshooting (3) Servo amplifier detection errors The errors that occur when the hardware error of the servo amplifier or servo motor or the servo parameter error occurs. The servo is turned off at the error occurrence and the axis stops. Remove the error factor and reset the error, reset the controller, or turn the servo amplifier power supply ON again from OFF.
  • Page 895 Chapter 16 Troubleshooting A new error code is stored in the buffer memory address ( ) for Axis error No. Md.23 axis error storage every time an error occurs. POINT When any of the following errors that are independent of an axis is detected, it is stored in the axis error No.
  • Page 896 Chapter 16 Troubleshooting [2] Warnings Types of warnings Warnings detected by the Simple Motion module include system warnings, axis warnings and warnings detected by servo amplifier. (1) Simple Motion module detection system warnings The types of system warnings are shown below. ...
  • Page 897 Chapter 16 Troubleshooting Warning storage (1) When an axis warning occurs, the warning code corresponding to the warning details is stored in the following buffer memory ( Axis warning No.) for Md.24 axis warning No. storage. Buffer memory address Axis No. LD77MS2 LD77MS4 LD77MS16...
  • Page 898 Chapter 16 Troubleshooting [3] Resetting errors and warnings Remove the cause of error or warning following the actions described in Section 16.5 and 16.6, before cancel an error or warning state by resetting the error. How to clear errors or warnings An error or warning state is canceled after the following processing has been carried out by setting "1"...
  • Page 899 Chapter 16 Troubleshooting MEMO 16 - 15...
  • Page 900: List Of Errors

    Chapter 16 Troubleshooting 16.5 List of errors The following table shows the error details and remedies to be taken when an error occurs. 16.5.1 LD77MS detection error Classification Error Error name Error Operation status at error occurrence of errors code —...
  • Page 901 Chapter 16 Troubleshooting Related buffer memory address Set range Remedy LD77MS2 (Setting with sequence program) LD77MS16 LD77MS4 — — — — — — — Check that there is no influence from noise. Review the program which turns ON/OFF PLC READY signal —...
  • Page 902 Chapter 16 Troubleshooting Classification Error Error name Error Operation status at error occurrence of errors code READY OFF The PLC READY signal is turned from OFF The READY signal [X0] is not turned ON. during BUSY to ON when BUSY signal is turned ON. Start is requested when start is not Start not possible The system does not start positioning.
  • Page 903 Chapter 16 Troubleshooting Related buffer memory address Set range LD77MS2 Remedy (Setting with sequence program) LD77MS16 LD77MS4 Turn ON the PLC READY signal [Y0] with the BUSY signals — — — of all axes OFF. Do not request the start when the axis operation state is other —...
  • Page 904 Chapter 16 Troubleshooting Classification Error Error name Error Operation status at error occurrence of errors code • The data is not loaded from the servo amplifier properly upon the OPR. ABS reference point • The in-position signal is not turned ON The OPR does not complete.
  • Page 905 Chapter 16 Troubleshooting Related buffer memory address Set range LD77MS2 Remedy (Setting with sequence program) LD77MS16 LD77MS4 • Execute OPR again. — — — • Adjust the servo gain and in-position range, and execute OPR again. Turn the power supplies of the system or servo amplifier from —...
  • Page 906 Chapter 16 Troubleshooting Classification Error Error name Error Operation status at error occurrence of errors code <When blocks are started simultaneously> • The partner axis for simultaneous start is BUSY. <When multiple axes are started and Error before controlled simultaneously> simultaneous start •...
  • Page 907 Chapter 16 Troubleshooting Related buffer memory address Set range LD77MS2 Remedy (Setting with sequence program) LD77MS16 LD77MS4 <Condition operators> Axis designation: 10H, 20H, 30H, 40H, Refer to Section 5.5 Normalize the condition operators. 50H, 60H, 70H, 80H, (Refer to Section 5.5 Da.16 ) "List of condition data"...
  • Page 908 Chapter 16 Troubleshooting 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 does not Outside linear...
  • Page 909 Chapter 16 Troubleshooting Related buffer memory address Set range LD77MS2 Remedy (Setting with sequence program) LD77MS16 LD77MS4 <Positioning address/movement amount> • ABS unit [mm] [inch] [PLS] –2147483648 to 2147483647 Unit [degree] 0 to 35999999 • INC (When software stroke limits are valid) Review the positioning address.
  • Page 910 Chapter 16 Troubleshooting Classification Error Error name Error Operation status at error occurrence of errors code The new current address is outside the Outside new current ranges of 0 to 359.99999, where the value range control unit is set to "degree". •...
  • Page 911 Chapter 16 Troubleshooting Related buffer memory address Set range LD77MS2 Remedy (Setting with sequence program) LD77MS16 LD77MS4 1506+100n 4306+100n <New current value> Bring the new current value into the setting range. 1507+100n 4307+100n [degree] 0 to 35999999 (Refer to Section 9.2.19) •...
  • Page 912 Chapter 16 Troubleshooting Classification Error Error name Error Operation status at error occurrence of errors code • For starting, a composite speed is designated in the reference axis parameter "Interpolation speed designation method" using the speed interpolation control or Interpolation mode At start : The system does not 4-axis linear interpolation control.
  • Page 913 Chapter 16 Troubleshooting Related buffer memory address Set range LD77MS2 Remedy (Setting with sequence program) LD77MS16 LD77MS4 <Interpolation speed designation method> Set the "Interpolation speed designation method" correctly. 29+150n 0: Composite speed (Refer to Section 9.1.6) 1: Reference axis speed Correct the control method, axis to be interpolated or Same as error codes 515 to 516 parameter.
  • Page 914 Chapter 16 Troubleshooting Classification Error Error name Error Operation status at error occurrence of errors code At start : The system does not • In the speed-position switching control operate. and the position-speed switching control, During operation : The system stops the setting value of a positioning address immediately with the setting is negative.
  • Page 915 Chapter 16 Troubleshooting Related buffer memory address Set range LD77MS2 Remedy (Setting with sequence program) LD77MS16 LD77MS4 Correct the positioning address. Same as in error codes 504, 506. (Refer to Section 9.2.16, 9.2.17, or 9.2.18) Refer to Section 5.3 In the error history, check the axis where the error other than "List of positioning data"...
  • Page 916 Chapter 16 Troubleshooting Classification Error Error name Error Operation status at error occurrence of errors code At start : The system does not operate. Outside radius range The arc radius exceeds 536870912. During operation : The system stops immediately. Control method LOOP A "0"...
  • Page 917 Chapter 16 Troubleshooting Related buffer memory address Set range LD77MS2 Remedy (Setting with sequence program) LD77MS16 LD77MS4 <Maximum radius> Correct the positioning data. 536870912 (Refer to Section 9.2.10 or 9.2.11) Refer to Section 5.3 "List of positioning data" <LOOP to LEND> Set 1 to 65535 in the repeating time of LOOP.
  • Page 918 Chapter 16 Troubleshooting Classification Error Error name Error Operation status at error occurrence of errors code At start : The system does not operate. During operation : The system stops with the setting (deceleration stop/sudden stop) of the detailed parameter 2 PLC CPU error The CPU module resulted in an error.
  • Page 919 Chapter 16 Troubleshooting Related buffer memory address Set range LD77MS2 Remedy (Setting with sequence program) LD77MS16 LD77MS4 Check the error code in CPU module. — — — (Refer to the "MELSEC-L CPU Module User's Manual (Hardware Design, Maintenance and Inspection)".) <...
  • Page 920 Chapter 16 Troubleshooting Classification Error Error name Error Operation status at error occurrence of errors code • The set value of the basic parameter 1 "Unit magnification" is outside the setting Outside unit range. magnification range • "Movement amount per rotation (AL)" × "Unit magnification (AM)"...
  • Page 921 Chapter 16 Troubleshooting Related buffer memory address Set range LD77MS2 Remedy (Setting with sequence program) LD77MS16 LD77MS4 • Set AL and AM values which make "Movement amount per rotation (AL)" × "Unit magnification (AM)" within 2147483647, 1+150n 1,10,100,1000 and then turn the PLC READY signal [Y0] from OFF to ON. •...
  • Page 922 Chapter 16 Troubleshooting Classification Error Error name Error Operation status at error occurrence of errors code • The set value of the detailed parameter 1 "Software stroke limit selection" is outside Software stroke limit the setting range. selection • In the unit of "degree", "1: Apply software stroke limit on machine feed value"...
  • Page 923 Chapter 16 Troubleshooting Related buffer memory address Set range LD77MS2 Remedy (Setting with sequence program) LD77MS16 LD77MS4 • Bring the setting into the setting range. 22+150n 0, 1 • In the unit of "degree", set "0: Apply software stroke limit on current feed value".
  • Page 924 Chapter 16 Troubleshooting Classification Error Error name Error Operation status at error occurrence of errors code The set value of the detailed parameter 2 Acceleration time 1 "Acceleration time 1" is outside the setting setting error When the PLC READY signal [Y0] is turned range.
  • Page 925 Chapter 16 Troubleshooting Related buffer memory address Set range LD77MS2 Remedy (Setting with sequence program) LD77MS16 LD77MS4 36+150n 1 to 8388608 37+150n 38+150n 1 to 8388608 39+150n 40+150n 1 to 8388608 41+150n With the setting brought into the setting range, turn the PLC READY signal [Y0] from OFF to ON.
  • Page 926 Chapter 16 Troubleshooting Classification Error Error name Error Operation status at error occurrence of errors code • The set value of the detailed parameter 2 "JOG speed limit value" is outside the setting range. JOG speed limit value error • The set value of the detailed parameter 2 "JOG speed limit value"...
  • Page 927 Chapter 16 Troubleshooting Related buffer memory address Set range LD77MS2 Remedy (Setting with sequence program) LD77MS16 LD77MS4 <JOG speed limit value> • With the setting brought into the setting range, turn the PLC 48+150n 1 to 1000000000 [PLS/s] READY signal [Y0] from OFF to ON. 49+150n 1 to 2000000000 [ 10 mm/min or others]...
  • Page 928 Chapter 16 Troubleshooting Classification Error Error name Error Operation status at error occurrence of errors code • Setting the driver communication to servo amplifier which does not support the The communication between servo amplifiers Driver communication driver communication. of target axis is not executed. setting error •...
  • Page 929 Chapter 16 Troubleshooting Related buffer memory address Set range LD77MS2 Remedy (Setting with sequence program) LD77MS16 LD77MS4 • Confirm the driver communication and the actually connected servo amplifier. • After setting 'The driver communication setting', write to a — — —...
  • Page 930 Chapter 16 Troubleshooting Classification Error Error name Error Operation status at error occurrence of errors code • The set value of the OPR basic parameter "Creep speed" is outside the setting range. • The set value of the OPR basic Creep speed error parameter "Creep speed"...
  • Page 931 Chapter 16 Troubleshooting Related buffer memory address Set range LD77MS2 Remedy (Setting with sequence program) LD77MS16 LD77MS4 • Bring the setting into the setting range. <Creep speed> 76+150n • Set the speed to that below the OPR speed. 1 to 1000000000 [PLS/s] 77+150n •...
  • Page 932 Chapter 16 Troubleshooting Classification Error Error name Error Operation status at error occurrence of errors code • The backup data for absolute position restoration is illegal. • The home position return has never been executed after the system start. • The home position return is started, but not completed correctly.
  • Page 933 Chapter 16 Troubleshooting Related buffer memory address Set range LD77MS2 Remedy (Setting with sequence program) LD77MS16 LD77MS4 — — — Execute OPR. • Check the SSCNET cable. • Check the servomotor and encoder cable. • Take measures against noise. • Check whether the rotation direction selection/travel direction —...
  • Page 934: Servo Amplifier Detection Error

    Chapter 16 Troubleshooting 16.5.2 Servo amplifier detection error The detection error list for servo amplifier is shown below. Refer to each servo amplifier instruction manual for details. (1) MR-J4(W)-B/MR-J3(W)-B/MR-J3-_BS_/MR-JE-B Classification of errors Error code Servo amplifier LED display 2010 (Note-1) 2011 2012 2013...
  • Page 935 Chapter 16 Troubleshooting Classification of errors Error code Servo amplifier LED display 2070 2071 (Note-1) 2072 (Note-2) 2079 2082 2088 2907 2913 Servo amplifier errors (Note-1) 2918 2921 (Note-1) 2922 (Note-2) 2942 (Note-2) 2944 (Note-2) 2945 2948 2952 (Note-1): For MR-J4W_-_B or MR-J3W-_B. (Note-2): For MR-J4-_B_(-RJ).
  • Page 936: List Of Warnings

    Chapter 16 Troubleshooting 16.6 List of warnings The following table shows the warning details and remedies to be taken when a warning occurs. 16.6.1 LD77MS detection warning Classification Warning Warning name Warning Operation status at warning occurrence of warnings code —...
  • Page 937 Chapter 16 Troubleshooting Related buffer memory address Set range Remedy LD77MS2 (Setting with sequence program) LD77MS16 LD77MS4 — — — — • Normalize the start request ON timing. • When in speed control mode/torque control mode, — — — start positioning after switching to the position control mode.
  • Page 938 Chapter 16 Troubleshooting Classification Warning Warning name Warning Operation status at warning occurrence of warnings code Monitoring is not carried out. "0" is stored in Optional data monitor In the optional data monitor, 2-word data is (Optional data monitor Md.109 Md.112 data type setting error not set correctly.
  • Page 939 Chapter 16 Troubleshooting Related buffer memory address Set range LD77MS2 Remedy (Setting with sequence program) LD77MS16 LD77MS4 Optional data monitor: Data type setting 1 100+150n Optional data monitor: Data type Set the 2-word data to " Optional data monitor: Data Pr.91 setting 2 "...
  • Page 940 Chapter 16 Troubleshooting Classification Warning Warning name Warning Operation status at warning occurrence of warnings code The servo parameter "Absolute position VCII series parameter The operation is executed by the setting of detection system (PA03)" is different from setting error VCII series.
  • Page 941 Chapter 16 Troubleshooting Related buffer memory address Set range LD77MS2 Remedy (Setting with sequence program) LD77MS16 LD77MS4 Match the setting of the servo parameter "Absolute <Servo parameter "Absolute position detection system (PA03)" to the setting of VCII 30103+200n 28403+100n position detection system (PA03)"> series, and turn the PLC READY signal [Y0] from OFF 0, 1 to ON.
  • Page 942 Chapter 16 Troubleshooting Classification Warning Warning name Warning Operation status at warning occurrence of warnings code Deceleration/stop The speed change request is issued The speed change is not carried out. speed change during deceleration stop. (Note-2) • Setting speeds exceed the speed limit value when starting/restarting the positioning or when changing the speed (Note-1)
  • Page 943 Chapter 16 Troubleshooting Related buffer memory address Set range LD77MS2 Remedy (Setting with sequence program) LD77MS16 LD77MS4 Do not carry out the speed change during deceleration <Speed change request> 1516+100n 4316+100n with a stop command, during stoppage, or during 1: Speed change is requested automatic deceleration with position control.
  • Page 944 Chapter 16 Troubleshooting Classification Warning Warning name Warning Operation status at warning occurrence of warnings code • When a command speed is changed: Change to a value as near a new • At a continuous operation interrupt speed value as possible. request, the distance required •...
  • Page 945 Chapter 16 Troubleshooting Related buffer memory address Set range LD77MS2 Remedy (Setting with sequence program) LD77MS16 LD77MS4 Give a request at the position where there is an — — — enough remaining distance. <Step start information> Do not set a "1" to the step start information when the 1546+100n 4346+100n 1: Step is continued...
  • Page 946 Chapter 16 Troubleshooting Classification Warning Warning name Warning Operation status at warning occurrence of warnings code The target position change is not carried • A target position change request was out. given for the control method other than ABS1 and INC1. •...
  • Page 947 Chapter 16 Troubleshooting Related buffer memory address Set range LD77MS2 Remedy (Setting with sequence program) LD77MS16 LD77MS4 • Do not turn ON the target position change request in the following cases. 1) An operating pattern "continuous path control" is used. 2) A control method other than ABS1, and INC1 is used.
  • Page 948: Servo Amplifier Detection Warning

    Chapter 16 Troubleshooting 16.6.2 Servo amplifier detection warning The detection warning list for Servo amplifier is shown below. Refer to each servo amplifier instruction manual for details. (1) MR-J4(W)-B/MR-J3(W)-B/MR-J3-_BS_/MR-JE-B Classification of warnings Warning code Servo amplifier LED display 2095 2101 2102 2106 2116...
  • Page 949 Appendix 2.2 Serial absolute synchronous encoder cable ....... Appendix- 33 Appendix 2.3 SSCNET cable (SC-J3BUS_M-C) manufactured by Mitsubishi Electric System & Service....Appendix- 36 Appendix 3 Connection with external device ............. Appendix- 37 Appendix 3.1 Connector ..................Appendix- 37 Appendix 3.2 External input signal cable............Appendix- 40 Appendix 3.3 Manual pulse generator (MR-HDP01) ........
  • Page 950: Appendix 1 List Of Buffer Memory Addresses

    Appendices Appendix 1 List of buffer memory addresses The following shows the relation between the buffer memory addresses and the various items. (Note-1): Do not use the buffer memory address that not been described here for a "Maker setting". (Note-2): For the list of buffer memory addresses for positioning data, refer to the "Simple Motion Module Setting Tool Help"...
  • Page 951 Appendices Buffer memory address Compatibility of setting value Memory of LD77MS2/ Item LD77MS2 area LD77MS16 LD77MS4 and LD77MS4 LD77MS16 Backlash compensation amount 17+150n Pr.11 18+150n Software stroke limit upper limit value Pr.12 19+150n 20+150n Software stroke limit lower limit value Pr.13 21+150n 22+150n...
  • Page 952 Appendices Buffer memory address Compatibility of setting value Memory of LD77MS2/ Item LD77MS2 area LD77MS16 LD77MS4 and LD77MS4 LD77MS16 36+150n Acceleration time 1 Pr.25 37+150n 38+150n Acceleration time 2 Pr.26 39+150n 40+150n Acceleration time 3 Pr.27 41+150n 42+150n Deceleration time 1 Pr.28 43+150n 44+150n...
  • Page 953 Appendices Buffer memory address Compatibility of setting value of Memory LD77MS2/ Item LD77MS2 area LD77MS16 LD77MS4 and LD77MS4 LD77MS16 Setting for the movement amount after near-point Pr.50 80+150n 81+150n dog ON 82+150n OPR acceleration time selection Pr.51 OPR deceleration time selection 83+150n Pr.52 84+150n...
  • Page 954 Appendices Buffer memory address Compatibility of setting value of Memory LD77MS2/ Item LD77MS2 area LD77MS16 LD77MS4 and LD77MS4 LD77MS16 1200 4000 In test mode flag Md.1 1206 4006 OS version Md.130 1207 4007 1208 4008 Operation time Md.134 1209 4009 Maximum operation time Md.135 1211...
  • Page 955 Appendices Buffer memory address Compatibility of setting value of Memory LD77MS2 LD77MS2/ Item area LD77MS16 LD77MS4 and LD77MS4 LD77MS16 800+100n 2400+100n Current feed value Md.20 801+100n 2401+100n 802+100n 2402+100n Machine feed value Md.21 803+100n 2403+100n 804+100n 2404+100n Feedrate Md.22 805+100n 2405+100n Axis error No.
  • Page 956 Appendices Buffer memory address Compatibility of setting value Memory LD77MS2 of LD77MS2/ Item area LD77MS16 LD77MS4 and LD77MS4 LD77MS16 838+100n 2438+100n Positioning identifier 839+100n 2439+100n M code 840+100n 2440+100n Dwell time 2441+100n Axis to be interpolated Positioning data being Md.47 842+100n 2442+100n executed...
  • Page 957 Appendices Buffer memory address Compatibility of setting value Memory LD77MS2 of LD77MS2/ Item area LD77MS16 LD77MS4 and LD77MS4 LD77MS16 Positioning start No. 1500+100n 4300+100n Cd.3 Positioning starting point No. 1501+100n 4301+100n Cd.4 Axis error reset 1502+100n 4302+100n Cd.5 Restart command 1503+100n 4303+100n Cd.6...
  • Page 958 Appendices Buffer memory address Compatibility of setting value Memory LD77MS2 of LD77MS2/ Item area LD77MS16 LD77MS4 and LD77MS4 LD77MS16 Simultaneous starting axis start data No. (axis 1 start Cd.30 1540+100n data No.) 4340+100n Simultaneous starting own axis start data No. Cd.30 Simultaneous starting axis start data No.
  • Page 959 Appendices Buffer memory address Compatibility of setting value Memory LD77MS2 of LD77MS2/ Item area LD77MS16 LD77MS4 and LD77MS4 LD77MS16 Acceleration time at speed control mode Cd.141 1578+100n 4378+100n Deceleration time at speed control mode Cd.142 1579+100n 4379+100n Command torque at torque control mode Cd.143 1580+100n 4380+100n...
  • Page 960 Appendices Buffer memory address Compatibility of setting value Memory LD77MS2 of LD77MS2/ Item area LD77MS16 LD77MS4 and LD77MS4 LD77MS16 Operation pattern Da.1 Control method Da.2 6000+1000n Positioning Acceleration time No. 2000+6000n Da.3 identifier Deceleration time No. Da.4 Axis to be interpolated Da.5 M code/condition data No.
  • Page 961 Appendices Buffer memory address Compatibility of setting value LD77MS2 of LD77MS2/ Item Memory area LD77MS16 LD77MS4 and LD77MS4 LD77MS16 Shape Da.11 26000+ 22000+ 1000n 400n Start data No. Da.12 Special start instruction Da.13 26050+ 22050+ 1000n 400n Parameter Da.14 26001+ 26051+ 22001+ 22051+...
  • Page 962 Appendices Buffer memory address Compatibility of setting value LD77MS2 of LD77MS2/ Item Memory area LD77MS16 LD77MS4 and LD77MS4 LD77MS16 26400+1000n Block start data 26499+1000n 26500+1000n Condition data 26599+1000n 26600+1000n Block start data 26699+1000n Set with GX Works2 26700+1000n Condition data 26799+1000n 26800+1000n Block start data...
  • Page 963 Appendices The following shows the relation between the buffer memory addresses of servo parameter and the various items. (Note): The setting range is different depending on the servo amplifier model. Refer to each servo amplifier instruction manual for details. Buffer memory address Compatibility of setting value Servo amplifier...
  • Page 964 Appendices Buffer memory address Compatibility of setting value Servo amplifier Memory LD77MS2 of LD77MS2/ Item parameter No. area LD77MS16 LD77MS4 and LD77MS4 LD77MS16 30119+200n 28419+100n – PB01 30120+200n 28420+100n – PB02 30121+200n 28421+100n – PB03 30122+200n 28422+100n – PB04 30123+200n 28423+100n –...
  • Page 965 Appendices Buffer memory address Compatibility of setting value Servo amplifier Memory LD77MS2 of LD77MS2/ Item parameter No. area LD77MS16 LD77MS4 and LD77MS4 LD77MS16 30159+200n 28459+100n – PB41 30160+200n 28460+100n – PB42 30161+200n 28461+100n – PB43 30162+200n 28462+100n – PB44 30163+200n 28463+100n –...
  • Page 966 Appendices Buffer memory address Compatibility of setting value Servo amplifier Memory LD77MS2 of LD77MS2/ Item parameter No. area LD77MS16 LD77MS4 and LD77MS4 LD77MS16 30179+200n 28479+100n – PC16 30180+200n 28480+100n – PC17 30181+200n 28481+100n – PC18 30182+200n 28482+100n – PC19 30183+200n 28483+100n –...
  • Page 967 Appendices Buffer memory address Compatibility of setting value Servo amplifier Memory LD77MS2 of LD77MS2/ Item parameter No. area LD77MS16 LD77MS4 and LD77MS4 LD77MS16 64454+250n 64454+70n – PC55 64455+250n 64455+70n – PC56 64456+250n 64456+70n – PC57 64457+250n 64457+70n – PC58 64458+250n 64458+70n –...
  • Page 968 Appendices Buffer memory address Compatibility of setting value Servo amplifier Memory LD77MS2 of LD77MS2/ Item parameter No. area LD77MS16 LD77MS4 and LD77MS4 LD77MS16 30226+200n – PD31 30227+200n – PD32 64464+250n – PD33 64465+250n – PD34 64466+250n – PD35 64467+250n – PD36 64468+250n –...
  • Page 969 Appendices Buffer memory address Compatibility of setting value Servo amplifier Memory LD77MS2 of LD77MS2/ Item parameter No. area LD77MS16 LD77MS4 and LD77MS4 LD77MS16 30250+200n – PE23 30251+200n – PE24 30252+200n – PE25 30253+200n – PE26 30254+200n – PE27 30255+200n – PE28 30256+200n –...
  • Page 970 Appendices Buffer memory address Compatibility of setting value Servo amplifier Memory LD77MS2 of LD77MS2/ Item parameter No. area LD77MS16 LD77MS4 and LD77MS4 LD77MS16 30268+200n – PS01 30269+200n – PS02 30270+200n – PS03 30271+200n – PS04 30272+200n – PS05 30273+200n – PS06 30274+200n –...
  • Page 971 Appendices Buffer memory address Compatibility of setting value Servo amplifier Memory LD77MS2 of LD77MS2/ Item parameter No. area LD77MS16 LD77MS4 and LD77MS4 LD77MS16 – 30900+50n PF01 – 30901+50n PF02 – 30902+50n PF03 – 30903+50n PF04 – 30904+50n PF05 – 30905+50n PF06 –...
  • Page 972 Appendices Buffer memory address Compatibility of setting value Servo amplifier Memory LD77MS2 of LD77MS2/ Item parameter No. area LD77MS16 LD77MS4 and LD77MS4 LD77MS16 – 64528+250n PF41 – 64529+250n PF42 – 64530+250n PF43 – 64531+250n PF44 – 64532+250n PF45 – 64533+250n PF46 –...
  • Page 973 Appendices Buffer memory address Compatibility of setting value Servo amplifier Memory LD77MS2 of LD77MS2/ Item parameter No. area LD77MS16 LD77MS4 and LD77MS4 LD77MS16 64552+250n – PL01 64553+250n – PL02 64554+250n – PL03 64555+250n – PL04 64556+250n – PL05 64557+250n – PL06 64558+250n –...
  • Page 974 Appendices Buffer memory address Compatibility of setting value Servo amplifier Memory LD77MS2 of LD77MS2/ Item parameter No. area LD77MS16 LD77MS4 and LD77MS4 LD77MS16 64592+250n – PL41 64593+250n – PL42 64594+250n – PL43 64595+250n – PL44 Set with Servo parameters 64596+250n GX Works2 –...
  • Page 975 Appendices The following shows the relation between the buffer memory addresses for mark detection function and the various items. (Note): Do not use the buffer memory address that not been described here for a "Maker setting". Buffer memory address Compatibility of setting value Memory LD77MS2...
  • Page 976: Appendix 2 Connection With Servo Amplifiers

    Appendices Appendix 2 Connection with servo amplifiers SSCNET cables are used to connect between Simple Motion module and servo amplifier or between servo amplifiers. Install the battery to servo amplifier to execute absolute position detection control. Refer to each servo amplifier instruction manual for details. LD77MS SSCNET Cable length...
  • Page 977: Appendix 2.1 Sscnet Cables

    Appendices Appendix 2.1 SSCNET cables Generally use the SSCNET cables available as our products. Refer to Appendix 2.3 for long distance cable up to 100[m] and ultra-long bending life cable. (1) Model explanation Numeral in the column of cable length on the table is a symbol put in the "_" part of cable model.
  • Page 978 Appendices CAUTION Please use the processing method and the processing treatment device that exists in the connector when you fix the cord part of the SSCNET cable to the connector. It must not cut squarely when you cut the cord part of the SSCNET cable, the cutting edge side must not be made smooth, and garbage etc.
  • Page 979 Appendices (a) MR-J3BUS_M 1) Model explanation Type: MR-J3BUS _ M - Symbol Cable type None Standard cord for inside panel Standard cable for outside panel Long distance cable Symbol Cable length [m(ft.)] 0.15(0.49) 0.3(0.98) 0.5(1.64) 1(3.28) 3(9.84) 5(16.40) 10(32.81) 20(65.62) 30(98.43) 40(131.23) 50(164.04)
  • Page 980 Appendices • MR-J3BUS5M-A to MR-J3BUS20M-A • MR-J3BUS30M-B to MR-J3BUS50M-B Refer to the table of this section (1) for cable length (L). Variation [mm(inch)] SSCNET Cable MR-J3BUS5M-A to MR-J3BUS20M-A 100(3.94) 30(1.18) MR-J3BUS30M-B to MR-J3BUS50M-B 150(5.91) 50(1.97) [Unit: mm(inch)] Protective tube (Note) (Note): Dimension of connector part is the same as that of MR-J3BUS015M.
  • Page 981: Appendix 2.2 Serial Absolute Synchronous Encoder Cable

    Appendices Appendix 2.2 Serial absolute synchronous encoder cable Generally use the serial absolute synchronous encoder cables available as our products. If the required length is not found in our products, fabricate the cable on the customer side. (1) Selection The following table indicates the serial absolute synchronous encoder cables used with the serial absolute synchronous encoder.
  • Page 982 Appendices (a) Q170ENCCBL_M-A 1) Model explanation Type: Q170ENCCBL _ M - A Symbol Cable length [m(ft.)] 2(6.56) 5(16.40) 10(32.81) 20(65.62) 30(98.43) 50(164.04) 2) Connection diagram When fabricating a cable, use the recommended wire and connector set MR-J3CN2 for encoder cable given on this section (1), and make the cable as show in the following connection diagram.
  • Page 983 Appendices (2) External dimension drawing (a) Serial absolute synchronous encoder (Q171ENC-W8) [Unit: mm (inch)] 85(3.35) 58.5(2.30) 29(1.14) 30(1.18) 7(0.28) 2(0.08) 14(0.55) 8.72 (0.34) Cross-section diagram AA' 4- 5.5(0.22) 42(1.65) 37.5(1.48) Appendix - 35...
  • Page 984: Appendix 2.3 Sscnet Cable (Sc-J3Bus_M-C) Manufactured By

    Appendices Appendix 2.3 SSCNET cable (SC-J3BUS_M-C) manufactured by Mitsubishi Electric System & Service POINT  For the details of the SSCNET cables, contact your local sales office.  Do not look directly at the light generated from CN1A/CN1B connector of servo amplifier or the end of SSCNET cable.
  • Page 985: Appendix 3 Connection With External Device

    Appendices Appendix 3 Connection with external device Appendix 3.1 Connector Mounted onto an external input connection connector of the Simple Motion module and used for wiring an external device. The "external device connector" includes the following 3 types. (1) Connector type Type Type Connector...
  • Page 986 Appendices (3) External dimension drawing (a) Soldering type (Quick release metal latch type) (LD77MHIOCON) [Unit: mm(inch)] 12.0 (0.47) 14.0 25.8(1.02) (0.55) 37.2(1.46) 12.7 (0.50) (b) Soldering type (Threaded type) [Unit: mm(inch)] 12.0 (0.47) 14.0 25.8(1.02) (0.55) 37.2(1.46) 12.7 (0.50) Appendix - 38...
  • Page 987 Appendices (c) Pressure-displacement type (Quick release metal latch type) [Unit: mm(inch)] 7.1(0.28) 24.8(0.98) 33.5(1.32) 11.5 (0.45) Appendix - 39...
  • Page 988: Appendix 3.2 External Input Signal Cable

    Appendices Appendix 3.2 External input signal cable The external input signal cable is not prepared as an option. Fabricate the cable on the customer side. (1) Connection diagram Make the cable as shown in the following connection diagram. (a) Differential-output type Make the cable within 30m(98.43ft.).
  • Page 989 Appendices When using the internal power supply Solderless terminal Simple Motion module side 10126-3000PE (Connector) 10326-52F0-008 (Connector case) Differential-output type Manual pulse generator/ incremental synchronous encoder side (Note-1) Forced stop input EMI.COM EMI.COM External command/switching DICOM DICOM (Note-1) Shell (Note-1) : Twisted pair cable (Note-1): Ground FG terminal on the used equipment side.
  • Page 990 Appendices (b) Voltage-output/Open-collector type Make the cable within 10m(32.81ft.). When using the external power supply (Recommended) Solderless terminal Simple Motion module side 10126-3000PE (Connector) 10326-52F0-008 (Connector case) Voltage-output/open-collector type Manual pulse generator/ incremental synchronous encoder side (Note-1) Forced stop input EMI.COM EMI.COM External command/switching...
  • Page 991 Appendices When using the internal power supply Solderless terminal Simple Motion module side 10126-3000PE (Connector) 10326-52F0-008 (Connector case) Voltage-output/open-collector type Manual pulse generator/ incremental synchronous encoder side (Note-1) Forced stop input EMI.COM EMI.COM External command/switching DICOM DICOM (Note-1) Shell (Note-1) : Twisted pair cable (Note-1): Ground FG terminal on the used equipment side.
  • Page 992 Appendices 1) The following table indicates the external input wiring cables used with motion controller and the manual pulse generator. Make selection according to your operating conditions. Table 3.1 Table of wire specifications Characteristics of one core Core size Number of Finish OD Structure Conductor...
  • Page 993: Appendix 3.3 Manual Pulse Generator (Mr-Hdp01)

    Appendices Appendix 3.3 Manual pulse generator (MR-HDP01) (1) External dimension drawing 3.6(0.14) 27.0 3 Studs (M4 10) (1.06) PCD72, equi-spaced +5to M3 6 8.89 Packing t=2.0 3- 4.8(0.19) (0.63) (0.79) (0.35) (0.30) equi-spaced Space The figure of processing a disc Appendix - 45...
  • Page 994: Appendix 4 Comparisons With Ld77Mh Models

    Appendices Appendix 4 Comparisons with LD77MH models (1) Differences of performance specifications Model LD77MS2 LD77MS4 LD77MS16 LD77MH4 LD77MH16 Item Number of control axes Operation cycle [ms] 0.88/1.77 0.88 0.88/1.77 Starting time [ms] 1-axis linear control 1-axis speed control 2-axis linear interpolation control (Composite speed) 0.88ms 2-axis linear interpolation control...
  • Page 995 Appendices (2) Differences of function (a) Added functions Functions Remarks Driver OPR method Refer to Appendix 6.3. Driver communication function (SSCNET /H) Refer to Section 14.9. LD77MH initial value setting function Refer to Section 14.14. Hot line forced stop function Refer to Section 14.15.
  • Page 996 Appendices (b) Changed functions Specification Function Description LD77MS2 LD77MS4 LD77MS16 LD77MH4 LD77MH16 Input signal [X0] Signal name READY LD77 READY Driver communication Function name Driver communication function Master-slave operation function function Range of setting <Setting unit is PLS> <Setting unit is PLS> Bias speed at start Pr.7 value...
  • Page 997 Appendices Changed functions (Continued) Specification Function Description LD77MS2 LD77MS4 LD77MS16 LD77MH4 LD77MH16 0: 0.88ms No parameter 0: 0.88ms Compatible model Operation cycle setting Pr.96 1: 1.77ms setting 1: 1.77ms 0: SSCNET SSCNET setting New parameter No parameter setting Pr.97 1: SSCNET /H External command Pr.114 0: Invalid...
  • Page 998 Appendices Changed functions (Continued) Specification Function Description LD77MS2 LD77MS4 LD77MS16 LD77MH4 LD77MH16 Range of setting <Control unit is PLS> <Control unit is PLS> New speed value Cd.14 value 0 to 1000000000 [PLS/s] 0 to 50000000 [PLS/s] Range of setting <Control unit is PLS> <Control unit is PLS>...
  • Page 999: Appendix 5 When Using Gx Works2

    Appendices Appendix 5 When using GX Works2 Use the "Simple Motion Module Setting Tool" for Simple Motion module various setting. The following shows the procedure for positioning operation when GX Works2 is used. For details on the operation method of GX Works2, refer to the "GX Works2 START Version1 Operating Manual (Common)"...
  • Page 1000: Appendix 6 Compatible Devices With Sscnet (/H)

    Appendices Appendix 6 Compatible devices with SSCNET (/H) Appendix 6.1 Servo driver VCII series/VPH series manufactured by Nikki Denso Co., Ltd. The direct drive  DISC/  iD roll/  Servo compass/  Linear stages, etc. manufactured by Nikki Denso Co., Ltd. can be controlled by connecting with the servo driver VCII series/VPH series manufactured by the same company using SSCNET SSCNET /H.
  • Page 1001 Appendices (2) Parameter setting To connect VCII series/VPH series, set the following parameters. Buffer memory address Default Setting item Setting value LD77MS2 value LD77MS16 LD77MS4 96: VCII series (manufactured by Nikki Denso Co., Ltd.) Servo series Pr.100 30100+200n 28400+100n 99: VPH series (manufactured by Nikki Denso Co., Ltd.) 0: Disabled (incremental system) Absolute position...

This manual is also suitable for:

Melsec-l seriesMelsec-ld77ms4Melsec-ld77ms16

Table of Contents