




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 Users manual of the CPU module to use for a description of the PLC system safety precautions. In this manual, the safety instructions are ranked as "DANGER" and "CAUTION".
Indicates that incorrect handling may cause hazardous conditions, resulting in death or severe injury.
Indicates that incorrect handling may cause hazardous conditions, resulting in medium or slight personal injury or physical damage. Depending on circumstances, procedures indicated by CAUTION may also be linked to serious results. In any case, it is important to follow the directions for usage.
Please save this manual to make it accessible when required and always forward it to the end user.

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. Never open the front case or terminal cover at times other than wiring work or periodic
inspections even if the power is OFF. The insides of the module and servo amplifier are charged and may lead to electric shocks. Completely turn off the externally supplied power used in the system before mounting or removing
the module, performing wiring work, or inspections. Failing to do so may lead to electric shocks. When performing wiring work or inspections, turn the power OFF, wait at least ten minutes, and
then check the voltage with a tester, etc. Failing to do so may lead to electric shocks. Be sure to ground the module, servo amplifier and servomotor (Ground resistance: 100 or less). Do not ground commonly with other devices. The wiring work and inspections must be done by a qualified technician. Wire the units after installing the module, servo amplifier and servomotor. Failing to do so may
lead to electric shocks or damage. Never operate the switches with wet hands, as this may lead to electric shocks. Do not damage, apply excessive stress, place heavy things on or sandwich the cables, as this
may lead to electric shocks. Do not touch the module, servo amplifier, servomotor connector or terminal blocks while the
power is ON, as this may lead to electric shocks. Do not touch the built-in power supply, built-in grounding or signal wires of the module and servo
amplifier, as this may lead to electric shocks.
Install the module, servo amplifier, servomotor and regenerative resistor on incombustible.
Installing them directly or close to combustibles will lead to fire. If a fault occurs in the module or servo amplifier, shut the power OFF at the servo amplifier's
power source. If a large current continues to flow, fire may occur. When using a regenerative resistor, shut the power OFF with an error signal. The regenerative
resistor may abnormally overheat due to a fault in the regenerative transistor, etc., and may lead to fire. Always take heat measures such as flame proofing for the inside of the control panel where the
servo amplifier or regenerative resistor is installed and for the wires used. Failing to do so may lead to fire. Do not damage, apply excessive stress, place heavy things on or sandwich the cables, as this
may lead to fire.

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. Do not touch the heat radiating fins of module or servo amplifier, regenerative resistor and
servomotor, etc., while the power is ON and for a short time after the power is turned OFF. In this timing, these parts become very hot and may lead to burns. Always turn the power OFF before touching the servomotor shaft or coupled machines, as these
parts may lead to injuries. Do not go near the machine during test operations or during operations such as teaching.
Doing so may lead to injuries.
Strictly observe the following precautions. Mistaken handling of the unit may lead to faults, injuries or electric shocks. (1) System structure
Always install a leakage breaker on the module and servo amplifier power source. If installation of an electromagnetic contactor for power shut off during an error, etc., is specified in
the instruction manual for the servo amplifier, etc., always install the electromagnetic contactor. Install the emergency stop circuit externally so that the operation can be stopped immediately and
the power shut off. Use the module, servo amplifier, servomotor and regenerative resistor with the correct
combinations listed in the instruction manual. Other combinations may lead to fire or faults. Use the CPU module, base unit, and Simple Motion module with the correct combinations listed in
the instruction manual. Other combinations may lead to faults. If safety standards (ex., robot safety rules, etc.,) apply to the system using the module, servo
amplifier and servomotor, make sure that the safety standards are satisfied. Construct a safety circuit externally of the module or servo amplifier if the abnormal operation of
the module or servo amplifier differs from the safety directive operation in the system. In systems where coasting of the servomotor will be a problem during the forced stop, emergency
stop, servo OFF or power supply OFF, use the dynamic brake. Make sure that the system considers the coasting amount even when using the dynamic brake. In systems where perpendicular shaft dropping may be a problem during the forced stop,
emergency stop, servo OFF or power supply OFF, use both the dynamic brake and electromagnetic brake. The dynamic brake must be used only on errors that cause the forced stop, emergency stop, or
servo OFF. This brake must not be used for normal braking. The brake (electromagnetic brake) assembled into the servomotor are for holding applications,
and must not be used for normal braking.

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. Use wires and cables within the length of the range described in the instruction manual. The ratings and characteristics of the parts (other than module, servo amplifier and servomotor)
used in a system must be compatible with the module, servo amplifier and servomotor. Install a cover on the shaft so that the rotary parts of the servomotor are not touched during
operation. There may be some cases where holding by the electromagnetic brake is not possible due to the
life or mechanical structure (when the ball screw and servomotor are connected with a timing belt, etc.). Install a stopping device to ensure safety on the machine side.
DANGER
Set the parameter values to those that are compatible with the module, servo amplifier,
servomotor and regenerative resistor model and the system application. The protective functions may not function if the settings are incorrect. The regenerative resistor model and capacity parameters must be set to values that conform to
the operation mode and servo amplifier. The protective functions may not function if the settings are incorrect. Set the mechanical brake output and dynamic brake output validity parameters to values that are
compatible with the system application. The protective functions may not function if the settings are incorrect. Set the stroke limit input validity parameter to a value that is compatible with the system
application. The protective functions may not function if the setting is incorrect. Set the servomotor encoder type (increment, absolute position type, etc.) parameter to a value
that is compatible with the system application. The protective functions may not function if the setting is incorrect. Use the program commands for the program with the conditions specified in the instruction
manual. Set the sequence function program capacity setting, device capacity, latch validity range, I/O
assignment setting, and validity of continuous operation during error detection to values that are compatible with the system application. The protective functions may not function if the settings are incorrect.

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.
CAUTION
Transport the product with the correct method according to the mass. Use the servomotor suspension bolts only for the transportation of the servomotor. Do not
transport the servomotor with machine installed on it. Do not stack products past the limit. When transporting the module or servo amplifier, never hold the connected wires or cables. When transporting the servomotor, never hold the cables, shaft or detector. When transporting the module or servo amplifier, never hold the front case as it may fall off. When transporting, installing or removing the module or servo amplifier, never hold the edges. Install the unit according to the instruction manual in a place where the mass can be withstood. Do not get on or place heavy objects on the product. Always observe the installation direction. Keep the designated clearance between the module or servo amplifier and control panel inner
surface or the module and servo amplifier, module or servo amplifier and other devices. Do not install or operate modules, servo amplifiers or servomotors that are damaged or that have
missing parts. Do not block the intake/outtake ports of the servo amplifier and servomotor with cooling fan. Do not allow conductive matter such as screw or cutting chips or combustible matter such as oil
enter the module, servo amplifier or servomotor. The module, servo amplifier and servomotor are precision machines, so do not drop or apply
strong impacts on them. Securely fix the module, servo amplifier and servomotor to the machine according to the
instruction manual. If the fixing is insufficient, these may come off during operation. Always install the servomotor with reduction gears in the designated direction. Failing to do so
may lead to oil leaks.

Store and use the unit in the following environmental conditions.
hammer. Doing so may lead to detector damage. Do not apply a load larger than the tolerable load onto the servomotor shaft. Doing so may lead
to shaft breakage. When not using the module for a long time, disconnect the power line from the module or servo
amplifier. Place the module and servo amplifier in static electricity preventing vinyl bags and store. When storing for a long time, please contact with our sales representative.
Also, execute a trial operation. Make sure that the connectors for the servo amplifier and peripheral devices have been securely
installed until a click is heard. Not doing so could lead to a poor connection, resulting in erroneous input and output. When fumigants that contain halogen materials such as fluorine, chlorine, bromine, and iodine
are used for disinfecting and protecting wooden packaging from insects, they cause malfunction when entering our products. Please take necessary precautions to ensure that remaining materials from fumigant do not enter our products, or treat packaging with methods other than fumigation (heat method). Additionally, disinfect and protect wood from insects before packing products. The module and the servo amplifier must not be used with parts which contain halogen-series
flame retardant materials (such as bromine) under coexisting conditions.

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. Correctly connect the output side (terminal U, V, W). Incorrect connections will lead the
servomotor to operate abnormally. Do not connect a commercial power supply to the servomotor, as this may lead to trouble. Do not mistake the direction of the surge absorbing diode installed on the DC relay for the control signal output of brake signals, etc. Incorrect installation may lead to signals not being output when trouble occurs or the protective functions not functioning.
DOCOM
DOCOM
RA Control output signal
DICOM
DICOM
For the sink output interface For the source output interface
Do not connect or disconnect the connection cables between each unit, the encoder cable or
PLC expansion cable while the power is ON. Securely tighten the cable connector fixing screws and fixing mechanisms. Insufficient fixing may
lead to the cables combing off during operation. Do not bundle the power line or cables. Use applicable solderless terminals and tighten them with the specified torque.
If any solderless spade terminal is used, it may be disconnected when the terminal screw comes loose, resulting in failure.
CAUTION
Confirm and adjust the program and each parameter before operation. Unpredictable
movements may occur depending on the machine. Extreme adjustments and changes may lead to unstable operation, so never make them. When using the absolute position system function, on starting up, and when the module or
absolute value motor has been replaced, always perform a home position return. Before starting test operation, set the parameter speed limit value to the slowest value, and make
sure that operation can be stopped immediately by the forced stop, etc. if a hazardous state occurs. Before starting the operation, confirm the brake function.
Servo amplifier 24VDC · Servo amplifier · Control output signal

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. Do not make any modifications to the unit. Keep the effect or electromagnetic obstacles to a minimum by installing a noise filter or by using
wire shields, etc. Electromagnetic obstacles may affect the electronic devices used near the module or servo amplifier. When using the CE Mark-compliant equipment design, refer to the "EMC Installation Guidelines"
(data number IB(NA)-67339) and refer to the corresponding EMC guideline information for the servo amplifiers and other equipment. Note that when the reference axis speed is designated for interpolation operation, the speed of
the partner axis (2nd axis, 3rd axis and 4th axis) may be larger than the set speed (larger than the speed limit value). Use the units with the following conditions.

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. Use a double circuit construction so that the electromagnetic brake operation circuit can be
operated by emergency stop signals set externally.
Shut off with the emergency stop signal (EMG). Shut off with servo ON signal OFF, alarm, electromagnetic brake signal.
24VDC B
If an error occurs, remove the cause, secure the safety and then resume operation after alarm
release. The unit may suddenly resume operation after a power failure is restored, so do not go near the
machine. (Design the machine so that personal safety can be ensured even if the machine restarts suddenly.)
CAUTION
Perform the daily and periodic inspections according to the instruction manual. Perform maintenance and inspection after backing up the program and parameters for the
module and servo amplifier. Do not place fingers or hands in the clearance when opening or closing any opening. Periodically replace consumable parts such as batteries according to the instruction manual. Do not touch the lead sections such as ICs or the connector contacts. Before touching the module, always touch grounded metal, etc. to discharge static electricity from
human body. Failure to do so may cause the module to fail or malfunction. Do not directly touch the module's conductive parts and electronic components.
Touching them could cause an operation failure or give damage to the module. Do not place the module or servo amplifier on metal that may cause a power leakage or wood,
plastic or vinyl that may cause static electricity buildup. Do not perform a megger test (insulation resistance measurement) during inspection. When replacing the module or servo amplifier, always set the new module settings correctly.
EMG Servo motor · Electromagnetic brake

When the module or absolute value motor has been replaced, carry out a home position return
operation using one of the following methods, otherwise position displacement could occur.
absolute position detector function is correct. Do not drop or impact the battery installed to the module.
Doing so may damage the battery, causing battery liquid to leak in the battery. Do not use the dropped or impacted battery, but dispose of it. Do not short circuit, charge, overheat, incinerate or disassemble the batteries. The electrolytic capacitor will generate gas during a fault, so do not place your face near the
module or servo amplifier. The electrolytic capacitor and fan will deteriorate. Periodically replace these to prevent secondary
damage from faults. Please contact with our sales representative. Lock the control panel and prevent access to those who are not certified to handle or install
electric equipment. Do not mount/remove the module and base or terminal block more than 50 times (IEC61131-2-
compliant), after the first use of the product. Failure to do so may cause malfunction. Do not burn or break a module and servo amplifier. Doing so may cause a toxic gas.
When you discard module, servo amplifier, a battery (primary battery) and other option articles, please follow the law of each country (area).
This product is not designed or manufactured to be used in equipment or systems in situations
that can affect or endanger human life. When considering this product for operation in special applications such as machinery or
systems used in passenger transportation, medical, aerospace, atomic power, electric power, or submarine repeating applications, please contact your nearest Mitsubishi sales representative. Although this product was manufactured under conditions of strict quality control, you are
strongly advised to install safety devices to forestall serious accidents when it is used in facilities where a breakdown in the product is likely to cause a serious accident.
All drawings provided in the instruction manual show the state with the covers and safety
partitions removed to explain detailed sections. When operating the product, always return the covers and partitions to the designated positions, and operate according to the instruction manual.

(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. (2) The PRODUCT has been designed and manufactured for the purpose of being used in general industries.
Notwithstanding the above, restrictions Mitsubishi may in its sole discretion, authorize use of the PRODUCT in one or more of the Prohibited Applications, provided that the usage of the PRODUCT is limited only for the specific applications agreed to by Mitsubishi and provided further that no special quality assurance or fail-safe, redundant or other safety features which exceed the general specifications of the PRODUCTs are required. For details, please contact the Mitsubishi representative in your region.

Thank you for purchasing the Mitsubishi MELSEC-Q 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-Q series programmable controller to handle the product correctly. When applying the program examples introduced in this manual to the actual system, ensure the applicability and confirm that it will not cause system control problems. Please make sure that the end users read this manual.
QnUCPU User's Manual (Function Explanation, Program Fundamentals) Qn(H)/QnPH/QnPRHCPU User's Manual (Function Explanation, Program Fundamentals) • Operating procedures are explained using GX Works2.

The manual number is given on the bottom left of the back cover.
Print Date Manual Number Revision
Feb., 2012 IB(NA)-0300185-A First edition Sep., 2013 IB(NA)-0300185-B [Additional function] Driver communication function, Inverter FR-A700 series, Synchronous encoder via servo amplifier, Operation cycle setting for QD77MS2/QD77MS4 [Additional correction/partial correction] Safety precautions, Relevant manuals, Restrictions by the SERIAL No. and version, Parameters, Monitor data, Control data, List of errors, List of warnings, List of buffer memory address, Serial absolute synchronous encoder cable
Nov., 2014 IB(NA)-0300185-C [Additional function]
Servo driver VCII series manufactured by Nikki Denso Co., Ltd. (SSCNET /H compatible), MR-JE-B [Additional correction/partial correction] Restrictions by the SERIAL No. and version, Parameters, Monitor data, List of errors, List of warnings
Japanese Manual Version IB-0300184
This manual confers no industrial property rights or any rights of any other kind, nor does it confer any patent licenses. Mitsubishi Electric Corporation cannot be held responsible for any problems involving industrial property rights which may occur as a result of using the contents noted in this manual.
A - 13


(1) For programmable controller system
To configure a system meeting the requirements of the EMC and Low Voltage Directives when incorporating the Mitsubishi programmable controller (EMC and Low Voltage Directives compliant) into other machinery or equipment, refer to the Safety Guidelines provided with the main base unit. Also, refer to "Example of measure against noise for compliance with the EMC directive" of the Section 4.3.1 of this manual. The CE mark on the side of the programmable controller indicates compliance with EMC and Low Voltage Directives. (2) For the product
To make this product comply with EMC and Low Voltage Directives, refer to Section 4.3.1 "Precautions for wiring". RELEVANT MANUALS
Description
MELSEC-Q QD77MS Simple Motion Module User's Manual
Specifications of the QD77MS and information on how to
establish a system, maintenance and inspection, and
Functions, programming and buffer memory for the
positioning control of the QD77MS
Functions, programming and buffer memory for the
Motion Module User's Manual (Synchronous Control)
synchronous control of the Simple Motion module
(2) CPU module
Description
Specifications of the hardware (CPU modules, power supply
(Hardware Design, Maintenance and Inspection)
modules, base units, batteries, and memory cards), system
maintenance and inspection, and troubleshooting
(Function Explanation, Program Fundamentals)
Functions, devices, and programming of the CPU module
(Function Explanation, Program Fundamentals)
Functions, devices, and programming of the CPU module
A - 22




The symbols used in this manual are shown below.
The following symbols represent the buffer memories supported for each axis. (A serial No. is inserted in the "*" mark.)
[Pr. * ] Symbol that indicates positioning parameter and OPR parameter item.
Chapter 5 [Da. * ] Symbol that indicates positioning data, block start data and condition data item.
[Md. * ] Symbol that indicates monitor data item.
[Cd. * ] Symbol that indicates control data item.
QD77MS2 Symbol that indicates correspondence to only QD77MS2.
— QD77MS4 Symbol that indicates correspondence to only QD77MS4.
QD77MS16 Symbol that indicates correspondence to only QD77MS16.
Representation of numerical values used in this manual.
Buffer memory addresses, error codes and warning codes are represented in
decimal.
X/Y devices are represented in hexadecimal.
Setting data and monitor data are represented in decimal or hexadecimal. Data
ended by "H" or "h" is represented in hexadecimal.
(Example) 10 Decimal
10H Hexadecimal
Symbol Description Reference

Unless otherwise specified, this manual uses the following terms.
PLC CPU Abbreviation for the MELSEC-Q series PLC CPU module.
QCPU Another term for the MELSEC-Q series PLC CPU module.
Simple Motion module Abbreviation for the MELSEC-Q series Simple Motion module.
QD77MS Another term for the MELSEC-Q series QD77MS Simple Motion module.
MR-J4(W)-B MR-J4-_B/MR-J4W-_B servo amplifier series
MR-J3(W)-B MR-J3-_B/MR-J3W-_B servo amplifier series
MR-JE-B MR-JE-_B Servo amplifier series
Programming tool Generic term for GX Works2 and MR Configurator2.
GX Works2 Product name of the software package for the MELSEC programmable controllers (Version 1.77F or later).
MR Configurator2 Product name of the setup software for the servo amplifier (Version 1.09K or later).
Intelligent function module A MELSEC-Q/L series module that has functions other than input or output, such as A/D
converter module and D/A converter module
Servo amplifier (drive unit) Abbreviation for SSCNET /H and SSCNET compatible servo amplifier (drive unit).
Manual pulse generator Abbreviation for manual pulse generator (MR-HDP01) (prepared by user).
OPR Generic term for "Home position return".
OP Generic term for "Home position".
High speed synchronous communication network between QD77MS and servo amplifier. SSCNET (Note)
Servo network Generic term for SSCNET /H, SSCNET .
Term Description · SSCNET /H (Note)

The following items are included in the package of this product. Before use, check that all the items are included.
RUN
AX1 AX2
ERR.
QD77MS2
Before Using the Product QD77MS2
RUN
AX1
AX2 AX3
ERR.
QD77MS4
AX2 AX1 AX4 AX3
Before Using the Product QD77MS4
RUN
AX
ERR.
QD77MS16
Before Using the Product QD77MS16

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 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.
Read "Section 2" for details on each control.
Chapter 1 Product Outline 1- 1 to 1- 30 Chapter 2 System Configuration 2- 1 to 2- 12 Chapter 3 Specifications and Functions 3- 1 to 3- 48 Chapter 4 Installation, Wiring and Maintenance of the Product 4- 1 to 4- 20 Chapter 5 Data Used for Positioning Control 5- 1 to 5-202 Chapter 6 Sequence Program Used for Positioning Control 6- 1 to 6- 76 Chapter 7 Memory Configuration and Data Process 7- 1 to 7- 20


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" beforehand, the positioning system can be structured smoothly.
1.1 Positioning control 1- 2 1.1.1 Features of QD77MS 1- 2 1.1.2 Purpose and applications of positioning control 1- 6 1.1.3 Mechanism of positioning control 1- 8 1.1.4 Overview of positioning control functions 1- 9 1.1.5 Outline design of positioning system 1-19 1.1.6 Communicating signals between QD77MS and each module 1-20 1.2 Flow of system operation 1-24 1.2.1 Flow of all processes 1-24 1.2.2 Outline of starting 1-26 1.2.3 Outline of stopping 1-28 1.2.4 Outline for restarting 1-30

Chapter 1 Product Outline
1.1.1 Features of QD77MS
The QD77MS has the following features.
High-speed starting time "0.88ms" (QD77MS4 use) during positioning control is achieved.
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.
(a) Enhanced OPR control
(b) Wide variety of control methods
Positioning controls, such as position control, speed control, speed-position switching control, position-speed switching control, and other controls, are provided. 1) Independent control of each axis Controls, such as position control and speed control, can be performed independently for each axis at any given timing. 2) Interpolation control Interpolation controls using multiple axes can be performed. (2- to 4-axis linear interpolation control, 2-axis circular interpolation control, 2- to 4-axis speed control, etc.) 3) Speed-torque control Speed control and torque control not including the position loop can be performed.
(c) Large amount of data
Up to 600 positioning data (combinations of data, such as control system, positioning address, and command speed) per axis can be set.

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.
Two acceleration/deceleration processing methods are provided: trapezoidal acceleration/deceleration and S-curve acceleration/deceleration. The acceleration/deceleration curve can be selected according to the machine characteristic.
The synchronous control and electronic cam control can be performed.
The mark detection to latch any data by the external command signal [DI1 to DI4] can be performed.
Maintainability is enhanced in the QD77MS.
(a) Data retention without battery
Data such as the positioning data and parameters can be stored in the flash ROM inside the QD77MS. This feature allows the module retain the data without a battery.
(b) Module error collection function
The QD77MS notifies error details to the PLC CPU when an error occurs. Storing the error information in the PLC CPU allows the user to check the error from the programming tool even after the module is powered off or reset.
Dedicated instructions such as the positioning start instruction (Axis 1 to Axis 4) and teaching instruction (Axis 1 to Axis 4) are provided. The use of such dedicated instructions simplifies programs. The dedicated instructions are fully compatible with the LD77MH/QD75MH.
(e) Acceleration/deceleration processing

Chapter 1 Product Outline
Parameters and positioning data for the QD77MS 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. The control monitor function of GX Works2 allows user to debug programs efficiently. The servo parameters can be set easily by using the GX Works2 in combination with the MR Configurator2.
The proven programs in LD77MH/QD75MH can be used because the QD77MS is compatible with the LD77MH/QD75MH.
The batch forced stop is available for all axes of servo amplifier by the forced stop input signal of the external input. "Valid/Invalid" of the forced stop input signal can be selected by the parameters.
speed synchronous network by SSCNET (/H) The QD77MS can be directly connected to the Mitsubishi servo amplifiers of MR-J4-B/MR-J3-B series using the SSCNET (/H). Also, it can be directly
connected to the Mitsubishi servo amplifiers of MR-JE-B series using the SSCNET /H. (a) Because the high speed synchronous network by SSCNET (/H) is used
to connect the QD77MS and the servo amplifier, or servo amplifiers, saving wiring can be realized. The maximum distance between the QD77MS and servo amplifier, servo amplifier and servo amplifier of the SSCNET cable on the same bus was set to 50(164.04)[m(ft.)], and the flexibility will improve at the system design.
(b) By the use of SSCNET cable (Optical communication), influence of electromagnetic noise and others from servo amplifier, etc. are reduced.
(c) The servo parameters can be set on the QD77MS side to write or read
them to/from the servo amplifier using the SSCNET communication.
(d) The actual current value and error description contained in the servo can
be checked by the buffer memory of the QD77MS.
(e) The communication between the MR Configurator2 and servo amplifiers is
possible via the PLC CPU.

Chapter 1 Product Outline
(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.
(c) With the absolute position system, the data set method OPR is used to
establish the OP. The wiring of near-point dog, etc. is unnecessary.
(d) When the setting unit is "degree", the absolute position system with
unlimited length fed can be configured.

Chapter 1 Product Outline
"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.

as the same shape at a high yield, positioning is carried out with the X axis and Y axis servos.
servo, the press head is positioned with the Y axis servo, and is then punched with the press.
press head die is changed, and the positioning pattern is changed.
Using the servo for one axis, the palletizer is
and target value is calculated, and positioning is carried out with forward run or reverse run to achieve the shortest access time.
Rotation direction for calling 11, 12, 1, 2 or 3
Rotation direction for calling 17 to 20, 1 to 5
Rotation direction for calling 5, 6, 7, 8, 9 or 10

Chapter 1 Product Outline

rack is carried out by positioning with the AC servo.
out with the 1-axis servo, and the horizontal position of the aging rack is positioned with the 2-axis servo.
The index table is positioned at a high accuracy
the 1-axis inverter, and the rotation of the grinding stone is controlled with the 2-axis inverter. The workpiece is fed and ground with the 3-axis servo.
Fix the grinding stone, feed the workpiece, and grind.
a. Total feed amount (m) b. Finishing feed amount (m) c. Compensation amount (m)
d. Rough grind- ing speed (m/s) e. Fine grinding speed (m/s)

Chapter 1 Product Outline
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.
Stores the created program.
The PLC CPU outputs the start signal and stop signal following the stored program to the QD77MS.
Creates control order and conditions as a sequence program.
QD77MS errors, etc., are detected.
GX Works2 PLC CPU
Outputs signals such as the start signal, external command signal and switching signal to the QD77MS.
Sets the parameters and positioning data for control.
Issues commands by pulse output.
Outputs the start command for JOG operation, etc., during test operation with the test function.
QD77MS Simple Motion module
Manual pulse generator/ Incremental synchronous encoder
Monitors the positioning operation.
Stores the parameter and data.
Outputs data to the servo amplifier according to the instructions from the PLC CPU, GX Works2, external signals and manual pulse generator.
Receives positioning commands and control commands from QD77MS, and drives the servo motor.
Outputs the positioning data such as the servo motor to the QD77MS by the SSCNET (/H).
Moves the machine according to commands from the servo amplifier.
Working parts of a machine
External signal · Servo amplifier · Servo motor

Chapter 1 Product Outline
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.
An overview of positioning using positioning data is described below.
(a) 1-axis linear control
This performs positioning from the start point address (location the axis is presently stopped) defined on the specified axis to the specified position.
[Control using the absolute system]
[Example] The following figure shows the operations when the start point address is 5000 and the positioning addresses are 2000 and 8000:
Positioning when the specified address is 2000
Positioning when the specified address is 8000
[Control using the increment system]
[Example] The following figure shows the operations when the start point address is 5000 and the travel increments are 3000 and -3000:
Positioning when the specified address is -3000.
Positioning when the specified address is 3000.
Movement direction for a negative movement amount.
Movement direction for a positive movement amount.

Chapter 1 Product Outline
(b) 2-axis linear interpolation control (Note-1)
This controls interpolation along a linear locus from the start point address (current stop position) defined by two axes.
[Control using the absolute system]

Specified address (8000, 2000)
[Control using the increment system]
End position when the travel increment is 1200 for axis 1 and 6000 for axis 2.

from "composite speed" and "reference axis speed" using the interpolation speed designation method of detailed parameter 1. (Refer to Section 5.2.3 information about setting "[Pr.20] Interpolation speed designation method" of the detailed parameter 1.)

Chapter 1 Product Outline
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. Two methods are available: absolute system and increment system.

Center point (Calculated by the Simple Motion module) Start point address
(b) Circular interpolation with the specified center point
Circular interpolation is performed using the specified endpoint address and center point address. Two methods are available: absolute system and increment system. Also, the direction of movement can be selected from clockwise or counterclockwise.

set to "composite speed" for the interpolation speed designation method of detailed parameter 1. (Refer to Section 5.2.3 information about setting "[Pr.20] Interpolation speed designation method" of the detailed parameter 1.)

Chapter 1 Product Outline
This performs positioning for the specified increment of travel.

Forward direction Reverse direction
Movement direction for a negative movement amount
Movement direction for a positive movement amount
Travel along axis 1
Travel along axis 2
After command is executed, control continues with the command speed until the stop command is input.

OFF Positioning start signal
(By the sequence program creation)

Chapter 1 Product Outline
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.

(By the sequence program creation)
Speed-position switching enable flag
Positioning start signal · BUSY signal · Speed-position switching signal

Chapter 1 Product Outline
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. Up to 600 of positioning data are assigned respectively to positioning data Nos. 1 to 600 per axis and registered to the Simple Motion module. The operation pattern set in each positioning data by the user determines whether to perform positioning operation with one positioning data item or to perform continuous positioning operation with multiple positioning data items.
complete) The operation completed upon completion of positioning for the specified positioning data. The positioning completion of this operation pattern is also used as the operation pattern for the last positioning data of continuous positioning and continuous path positioning.
V Positioning complete (00)

(By the sequence program creation)
Positioning start complete signal
Positioning start signal · BUSY signal · Positioning complete signal

Chapter 1 Product Outline
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.

(By the sequence program creation)
Positioning start complete signal

Chapter 1 Product Outline
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.

Positioning start complete signal

Chapter 1 Product Outline
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. Using a one-time start command from the PLC CPU or external, complex positioning
control can be performed. The block positioning control can be performed by specifying the positioning start
number and positioning start information in the buffer memory.


Chapter 1 Product Outline
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.
There are two types of acceleration and deceleration processing: the trapezoidal acceleration/deceleration processing method and S-curve acceleration/ deceleration processing method. A detailed parameter is used to set which method is used. The specified acceleration/deceleration method is applied to all accelerations and decelerations when starting and completing positioning processing, OPR processing and JOG processing, as well as when changing the speed. (a) Trapezoidal acceleration/deceleration processing method
This is a method in which linear acceleration/deceleration is carried out based on the acceleration time, deceleration time, and speed limit value set by the user.
(b) S-curve acceleration/deceleration processing method
This method reduces the load on the motor when starting and stopping. This is a method in which acceleration/deceleration is carried out gradually, based on the acceleration time, deceleration time, speed limit value, and S- curve ratio (1 to 100%) set by the user.
time (a) Four types each of the acceleration time and deceleration time for
positioning control can be set using basic parameters 2 and detailed parameters 2.
(b) The sudden-stop deceleration time (1 to 8388608 ms) is set using the
detailed parameters 2.

Chapter 1 Product Outline
The outline of the positioning system operation and design using the Simple Motion module is shown below.
PLC CPU Simple Motion module
Servo motor Servo amplifier
S S C N E T
M
Positioning command Control command Monitor data External input signal of the servo amplifier
/ H
Read and write, etc.
I / F
PLG
SSCNET (/H)
External input signal of servo amplifier (Refer to the servo amplifier Instruction manual.)
FLS (Upper limit signal) (Note) RLS (Lower limit signal) (Note) DOG (Near-point dog signal) (Note)
Manual pulse generator/ Incremental synchronous encoder A-phase/B-phase
External input signal (Refer to Section 3.4.2)
EMI (Forced stop input signal) FLS (Upper limit signal) (Note) RLS (Lower limit signal) (Note) DI (External command signal/Switching signal) STOP (STOP signal) DOG (Near-point dog signal) (Note)
(Note): The external input signal of QD77MS, external input signal of servo amplifier, or external input signal via CPU (buffer memory of QD77MS) can be used in the parameter setting. (Refer to Section 5.2.3.)
Fig. 1.1 Outline of the operation of positioning system using Simple Motion module

Chapter 1 Product Outline
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) QD77MS2/QD77MS4

Operating information of the servo amplifier Positioning command Control command Servo parameter External input signal of the servo amplifier
When using the upper/lower limit signal, stop signal, near-point dog signal of the external input signal via CPU, use the buffer memory in " External input signal operation device".

Chapter 1 Product Outline
PLC CPU
Y0
SSCNET (/H)
All axis servo ON signal Y1
Operating information of the servo amplifier Positioning command Control command Servo parameter External input signal of the servo amplifier
Manual pulse generator/ Incremental synchronous encoder A-phase
Manual pulse generator/ Incremental synchronous encoder
Manual pulse generator/ Incremental synchronous encoder B-phase
Interface with PLC CPU
Forced stop input signal
External command signal/ Switching signal
Block start data write/read
JOG operation, inching operation (Test)
(1) For QD77MS16, M code ON signal, error detection signal, start complete signal and positioning complete signal are assigned to the bit of " Status". (2) For QD77MS16, axis stop signal, forward run JOG start signal, reverse run JOG start signal, execution prohibition flag are assigned to the buffer memory to . (3) When using the upper/lower limit signal, stop signal, near-point dog signal of the external input signal via CPU, use the buffer memory in " External input signal operation device".
Md.31
Cd.180 Cd.183
Cd.44

Chapter 1 Product Outline
Simple Motion module PLC CPU The Simple Motion module and PLC CPU communicate the following data.

Direction Communication Simple Motion module PLC CPU PLC CPU Simple Motion module
Simple Motion module GX Works2 The Simple Motion module and GX Works2 communicate the following data via the PLC CPU.

Direction Communication Simple Motion module GX Works2 GX Works2 Simple Motion module
Simple Motion module Servo amplifier The Simple Motion module and servo amplifier communicate the following data via the SSCNET (/H).


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.
Simple Motion module Manual pulse generator/Incremental
Simple Motion module External signal The Simple Motion module and external signal communicate the following data via the external input connection connector.
External signal Simple Motion module
Forced stop input signal
External command signal/switching signal

Chapter 1 Product Outline
1.2.1 Flow of all processes
The positioning control processes, using the Simple Motion module, are shown below.

Monitoring and debugging of setting data with test function

Chapter 1 Product Outline
The following work is carried out with the processes shown on the previous page.
Chapter 1 Chapter 2 Chapter 3 Chapter 8 to Chapter 14
Chapter 5 Chapter 8 to Chapter 14 Simple Motion Module Setting
Chapter 6 GX Works2 Version1
Chapter 7 Simple Motion Module Setting
Chapter 7 GX Works2 Version1
Carry out test operation and adjustments in the test function of GX Works2 to check the connection with the Simple Motion module and external connection device, and to confirm that the designated positioning operation is executed correctly. (Debug the set "parameters" and "positioning data", etc.)
Chapter 14 Simple Motion Module Setting
Chapter 5 Chapter 16 Simple Motion Module Setting
Tool Help GX Works2 Version1

Chapter 1 Product Outline
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.)
Installation and connection of module Setting of hardware
Major positioning control Control functions
High-level positioning control OPR control Manual control
Position control Speed control Speed-position switching control Position-speed switching control Other control
Block start (Normal start) Condition start Wait start Simultaneous start Repeated start
Manual pulse generator operation
Set the positioning parameters. ( to , to , , , ) Pr.1 Pr.42 Pr.84 Pr.80 Pr.89 Pr.90 Pr.95
Set the OPR parameters. ( to , , ) Pr.86 Pr.87 Pr.43 Pr.57
Set the expansion parameters. ( to , , , ) Pr.91 Pr.94 Pr.96
Pr.97 Pr.114
Pr.100 Set the servo parameters. ( , PA, PB, PC, PD, PE, PS, PF, Po, PL)
Turn the PLC READY signal ON (Y0 ON)
All axis servo ON
Turn the All axis servo ON signal ON (Y1 ON)
( to , to ) Da.1 Da.10 Da.20 Da.22 Set the positioning data.
Set the block start data. ( to , to ) Da.11 Da.19 Da.23 Da.26
Cd.3 Set the positioning start No. ( )
( ) Cd.17 Set the JOG speed.
Set "1" to the manual pulse generator enable flag.
( ) Cd.21
( ) Cd.4 Set the positioning starting point No.
Set a value except "0" to the inching movement amount.
( ) Cd.16
Set "0" to the inching movement amount.
Set the manual pulse generator 1 pulse input magnification. ( ) Cd.20
( ) Cd.16
Input the start signal. Method (1) Turn ON the QD77MS start signal from the PLC CPU Method (2) Issue the ZP.PSTRT instruction from the PLC CPU. Method (3) Turn the QD77MS external command signal ON
Turn the QD77MS JOG start signal ON from the PLC CPU
Operate the manual pulse generator


Chapter 1 Product Outline
: Indicates the sequence program that must be created.
(Speed control) (Torque control)
(Continuous operation to torque control)
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.
Set with sequence program for setting data
Create this program as necessary.
Set the acceleration/ deceleration time at speed control mode.
Set the torque time constant (forward direction/reverse direction) and speed limit value at torque control mode. ( to ) Cd.144 Cd.146
Set the acceleration/ deceleration time, torque time constant (forward direction/ reverse direction) and speed limit value at continuous operation to torque control mode.
Create sequence program for executing main function
( , ) Cd.141 Cd.142
Create sequence program for outputting control signals, such as start signal, to QD77MS.
Cd.147 Cd.149 Cd.151 Cd.152 to , to
Set the switching conditions at continuous operation to torque control mode
( to ) Cd.153 Cd.154
Switch the control mode. ( , ) Cd.138 Cd.139
Set the command speed at speed control mode
Set the target torque at continuous operation to torque control mode ( ) Cd.140
Set the command torque at torque control mode Create a sequence program for the sub functions.
Speed change Current value changing Torque limit Restart, etc.
( ) Cd.143
( ) Cd.150

Chapter 1 Product Outline
Each control is stopped in the following cases.
(1) When each control is completed normally. (2) When the servo amplifier power supply 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 or
Stop signal of external input signal turned ON, etc.).
The outline for the stopping process in these cases is shown below. (Excluding (1) for normal stopping.) Refer to Section 12.1 "Speed-torque control" for the stop processing during the speed control mode, torque control mode or continuous operation to torque control mode.

"Forced stop input signal" OFF from an external device
Deceleration stop/sudden stop (Select with "[Pr.37] Stop group 1 sudden stop selection".)
Deceleration stop/sudden stop (Select with "[Pr.38] Stop group 2 sudden stop selection".)

Chapter 1 Product Outline

Axis error detection (Error other than stop group 1 or 2) (Note-1)
"Axis stop signal" ON from PLC CPU Each axis
Stopped (Standby) "Stop signal" of external input signal ON (Note-1): If an error occurs in a positioning data due to an invalid setting value, when the continuous positioning control uses multiple
Provide the emergency stop circuits outside the servo system to prevent cases where danger may result from abnormal operation of the overall system in the event of an external power supply fault or servo system failure.

Chapter 1 Product Outline
When a stop cause has occurred during operation with position control causing the axis to stop, positioning to the end point of the positioning data can be restarted from the stopped position by using the "[Cd.6] Restart command". If issued during a continuous positioning or continuous path control operation, the restart command will cause the positioning to be re-executed using the current position (pointed by the positioning data No. associated with the moment when the movement was interrupted) as the start point.
(1) If the "[Md.26] Axis operation status" is stopped, positioning to the end point of
the positioning data will be restarted from the stopped position regardless of the absolute system or incremental system. (2) When "[Md.26] Axis operation status" is not stopped, the warning "Restart not
possible" (warning code: 104) will be applied, and the restart command will be ignored.
(a) The restart operation when the axis 1 movement amount is 300 and the
axis 2 movement amount is 600 is shown below.
Stop position due to stop cause
Stop position due to stop cause
Designated end point position
Stop position after restart
100 300 700 Axis 2
100 300 700 Axis 2
If the positioning start signal/external command signal is turned ON while the "[Md.26] Axis operation status" is standby or stopped, positioning will be restarted from the start of the positioning start data regardless of the absolute system or incremental system. ( : When the external command signal is set to "External positioning start") (Same as normal positioning.)
[Example for incremental system]
(a) The positioning start operation, which stops the positioning control while
executing that the axis 1 movement amount is 300 and the axis 2 movement amount is 600, is shown below.
Stop position due to stop cause
Stop position after restart
Stop position due to stop cause
Designated end point position
Operation during positioning start
100 300 700 Axis 2
100 300 900 Axis 2

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.
2.1 General image of system 2- 2 2.2 Component list 2- 4 2.3 Applicable system 2- 8 2.4 How to check the function version and SERIAL No 2-10 2.5 Restrictions by the SERIAL No. and version 2-11

Chapter 2 System Configuration
The general image of the system, including such as the QD77MS, PLC CPU and peripheral devices is shown below.

Power supply module CPU module QD77MS

MR-J3(W)-_B type servo amplifier MR-J4(W)-_B type servo amplifier MR-JE-_B type servo amplifier
Servo driver VCII series manufactured by Nikki Denso Co., Ltd. Inverter FR-A700 series
QD77MS2 :Up to 2 axes QD77MS4 :Up to 4 axes QD77MS16 :Up to 16 axes
Synchronous encoder via servo amplifier Q171ENC-W8: Up to 4 modules via MR-J4-_B-RJ
Main base unit

Chapter 2 System Configuration
(Note-1): Refer to Section "2.3 Applicable system" for the CPU modules that can be used. (Note-2): Refer to the CPU module User's Manual for the base units that can be used. (Note-3): The external input signal cannot be used depending on the connected device.
Confirm the specification of the connected device.

Chapter 2 System Configuration
The positioning system using the Simple Motion module is configured of the following devices.
No. Part name Type Remarks
Number of control axes
Personal computer which supports Windows
(Prepared by user) Refer to the "GX Works2 Version1 Operating Manual (Common)" for details.
(Prepared by user) An RS-232 cable is needed for connecting the CPU module with a personal computer. Refer to the "GX Works2 Version1 Operating Manual (Common)" for details.
3 RS-232 cable QC30R2
(Prepared by user) A USB cable is needed for connecting the CPU module with a personal computer. Refer to the "GX Works2 Version1 Operating Manual (Common)" for details.
4 USB cable –
(Prepared by user) An Ethernet cable is needed for connecting the CPU module with a personal computer. Refer to the "GX Works2 Version1 Operating Manual (Common)" for details.
5 Ethernet cable –
6 Servo amplifier – (Prepared by user)
7 Manual pulse generator –
(Prepared by user) Cables are needed for connecting the Simple Motion module with a servo amplifier, or between servo amplifiers.
8 SSCNET cable (Note-1) –
(Prepared by user) Cables are needed for connecting the Simple Motion module with an external device. (Prepare them referring to the manuals for the connected devices and information given in 3.4.2 of this manual.)
9 External input signal cable (Note-1) –
(Note-1): The cables for connecting between the Simple Motion module and servo amplifiers. Refer to each servo amplifier instruction
manual for details.

MR-J3BUS03M 0.3 (0.98) MR-J3BUS05M 0.5 (1.64) MR-J3BUS1M 1 (3.28) MR-J3BUS3M 3 (9.84)
MR-J3BUS5M-A 5 (16.40) MR-J3BUS10M-A 10 (32.81) MR-J3BUS20M-A 20 (65.62)
MR-J3BUS30M-B 30 (98.43) MR-J3BUS40M-B 40 (131.23) MR-J3BUS50M-B 50 (164.04)
(015: 0.15m (0.49ft.), 03: 0.3m (0.98ft.), 05: 0.5m (1.64ft.), 1: 1m (3.28ft.), 3: 3m (9.84ft.), 5: 5m (16.40ft.), 10: 10m (32.81ft.), 20: 20m (65.62ft.), 30: 30m (98.43ft.), 40: 40m (131.23ft.), 50: 50m (164.04ft.) )

Chapter 2 System Configuration
[External input wiring connector]
Applicable connector A6CON1, A6CON2, A6CON3, A6CON4 (Sold separately)
Applicable wire size 0.3mm2 (When A6CON1 and A6CON4 are used), AWG28 to AWG24 (When A6CON2 is used), AWG28 (twisted)/AWG30 (single wire) (When A6CON3 is used)
Ambient temperature -10 to 60°C (14 to 140°F )
Pulse resolution 25PLS/rev (100 PLS/rev after magnification by 4)
Output method Voltage-output, Output current Max. 20mA
Power supply voltage 4.5 to 13.2VDC
Output level "H" level : Power supply voltage (Note-1) -1V or more (in no load) "L" level : 0.5V or less (with maximum leading-in)
Life time 1000000 revolutions (at 200r/min)
Weight 0.4 [kg]
Number of max. revolution Instantaneous Max. 600r/min. normal 200r/min
Start friction torque 0.06N•m (20°C (68°F))
(Note-1): If a separate power supply is used, use a stabilized power supply of voltage 5VDC ± 0.25V.

Chapter 2 System Configuration
Model name Q171ENC-W8 (Note-1) Ambient temperature -5 to 55°C (23 to 131°F) Resolution 4194304PLS/rev
Transmission method Serial communications (Connected to MR-J4-_B-RJ) Direction of increasing addresses CCW (viewed from end of shaft)
Protective construction Dustproof/Waterproof (IP67: Except for the shaft-through portion.) Permitted speed at power ON 3600r/min Permitted speed at power OFF (Note-2) 500r/min
Runout at input shaft tip 0.02mm(0.00079 inch) or less, (15mm(0.59 inch) from tip) Start friction torque 0.04N•m (20°C (68°F))
Recommended coupling Bellows coupling
Permitted angular acceleration 40000rad/s2
Vibration resistance 5G (50 to 200Hz)
Shock resistance 50G (11ms or less)
Internal current consumption [A] 0.2
Mass [kg] 0.6
Connecting cable [m(ft.)]
20 (65.62), 30 (98.43), 50 (164.04)) Communications method Differential driver/receiver Transmission distance Up to 50m (164.04ft.)
(Note-1): When "o-ring" is required, please purchase separately by customers. (Note-2): If it exceeds a permitted speed at power OFF, a position displacement is generated.
Item Specifications

Chapter 2 System Configuration
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 Absolute (ABS) method
Number of modules 1/module (MR-J4-_B-RJ)
External connector type 20 pin connector
the external connection MR-J3CN2 (Optional)
Applicable wire J14B103715-00 12 pairs
Connecting cable [m(ft.)]
30 (98.43), 50 (164.04))
Cable length Up to 50m (164.04ft.)
Back up the absolute position. Depends on the battery (MR-BAT6V1SET).
Battery service life time
10000[h] (When MR-BAT6V1SET is used while the device is turned OFF
at the ambient temperature of 25°C (77°F))

Chapter 2 System Configuration
(1) Number of applicable 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. If the power supply capacity is insufficient, change the combination of the modules.
(a) When mounted with a CPU module

Base unit (Note-2) CPU type CPU model Main base unit Extension base unit
Up to 64 modules Q06PHCPU Q12PHCPU Q25PHCPU Redundant CPU
Q00UJCPU Up to 8 modules Q00UCPU Up to 24 modules
Q04UDHCPU Q06UDHCPU Q10UDHCPU Q13UDHCPU Q20UDHCPU Q26UDHCPU Q03UDECPU Q04UDEHCPU Q06UDEHCPU Q10UDEHCPU Q13UDEHCPU Q20UDEHCPU Q26UDEHCPU Universal model QnUDV (High speed type CPU)
(Note-1): Limited within the range of I/O points for the CPU module.
(Note-2): Can be installed to any I/O slot of a base unit.

Chapter 2 System Configuration
(b) Mounting to a MELSECNET/H remote I/O station

Base unit (Note-2) Main base unit of remote I/O station
(Note-1): Within the I/O point range of network module only.
(Note-2): It can be installed in any of the I/O slots of installable base unit.
The basic model QCPU cannot configure the MELSECNET/H remote I/O network.
When using the QD77MS in a multiple CPU system, refer to the QCPU User's Manual (multiple CPU system).
The applicable programming tool's versions of the QD77MS are shown below. (For the applicable programming tool's versions of the CPU module, refer to the "QCPU User's Manual (Hardware Design, Maintenance and Inspection)".)

Version 1.77F or later Version 1.09K or later QD77MS4
QD77MS cannot be supported with GX Developer, GX Configurator-QP and MR Configurator. Use GX Works2 and MR Configurator2 to use QD77MS.

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.
The rating plate is situated on the side face of the Simple Motion module.

SERIAL No. Function version
See QD77MS4 instruction manual. Vovez QD77MS mode d' emplol
The serial No. on the rating plate is also indicated on the front of the module (lower part).

SERIAL No. Function version
Check the function version and SERIAL No. in "Product Information" displayed on System monitor "Product Information List" of GX Works2.

Chapter 2 System Configuration
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 are shown below.
Reference First five digits of
First five digits of
SERIAL No.
SERIAL No.
Inverter FR-A700 series 14062 or later 1.492N or later 14062 or later 1.492N or later Appendix 6.3
Section 14.9
Synchronous encoder via servo amplifier (Note-2)
Mark detection function (Changes latch data range upper limit value/lower limit value during mark detection.)
15042 or later 1.492N or later 15042 or later 1.492N or later
Section 14.10
External command signal compensation valid/invalid setting Section 5.2.7
Operation cycle setting for QD77MS2/QD77MS4 15062 or later 1.493P or later — — Section 5.2.7 Section 5.6.1
Servo driver (VCII series) manufactured by Nikki Denso Co., Ltd. (SSCNET /H)
16012 or later 1.507D or later 16012 or later 1.507D or later Appendix 6.1
MR-JE-B 16102 or later 1.525X or later 16102 or later 1.525X or later Appendix 6.3
Hot line forced stop function 16102 or later — 16102 or later — Section 14.15 (Note-1): The serial number can be checked on the "Product Information List" screen in GX Works2. (Note-2): "MELSEC-Q/L QD77MS/QD77GF/LD77MS/LD77MH Simple Motion Module User’s Manual (Synchronous Control)"

Chapter 2 System Configuration

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. Confirm each specification before designing the positioning system.
3.1 Performance specifications 3- 2 3.2 List of functions 3- 4 3.2.1 QD77MS control functions 3- 4 3.2.2 QD77MS main functions 3- 7 3.2.3 QD77MS sub functions 3- 9 3.2.4 QD77MS common functions 3-11 3.2.5 Combination of QD77MS main functions and sub functions 3-14 3.3 Specifications of input/output signals with PLC CPU 3-16 3.3.1 List of input/output signals with PLC CPU 3-16 3.3.2 Details of input signals (QD77MS PLC CPU) 3-19 3.3.3 Details of output signals (PLC CPU QD77MS) 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 3-27 3.4.4 Interface internal circuit 3-30 3.5 External circuit design 3-34

Chapter 3 Specifications and Functions
Model Item QD77MS2 QD77MS4 QD77MS16
Number of control axes 2 axes 4 axes 16 axes Operation cycle 0.88ms/1.77ms
Interpolation function 2-axis linear interpolation, 2-axis circular interpolation 2-, 3-, or 4-axis linear interpolation, 2-axis circular interpolation
Control system PTP (Point To Point) control, path control (both linear and arc can be set), speed control, speed-position switching control, position-speed switching control, speed-torque control Control unit mm, inch, degree, PLS
Positioning data 600 data/axis (Can be set with GX Works2 or sequence program.)
Execution data backup function Parameters, positioning data, and block start data can be saved on flash ROM. (battery-less backup)
PTP control: Incremental system/absolute system Speed-position switching control: Incremental system/absolute system Position-speed switching control: Incremental system Path control: Incremental system/absolute system
In speed-position switching control (ABS mode) (Note-1)
0.01 to 20000000.00 (mm/min) 0.001 to 2000000.000 (inch/min) 0.001 to 2000000.000 (degree/min) (Note-2) 1 to 1000000000 (PLS/s) Acceleration/ deceleration process Trapezoidal acceleration/deceleration, S-curve acceleration/deceleration
1 to 8388608 (ms) Four patterns can be set for each of acceleration time and deceleration time Sudden stop deceleration time 1 to 8388608 (ms)

Chapter 3 Specifications and Functions
Model Item QD77MS2 QD77MS4 QD77MS16
Starting time (ms) (Note-3)
1-axis linear control 1-axis speed control 2-axis linear interpolation control (Composite speed) 2-axis linear interpolation control (Reference axis speed) 2-axis circular interpolation control 2-axis speed control 3-axis linear interpolation control (Composite speed)
0.88 1.77
3-axis linear interpolation control (Reference axis speed) 3-axis speed control 4-axis linear interpolation control 4-axis speed control External wiring connection system 40-pin connector
Applicable wire size 0.3mm2 (When A6CON1 and A6CON4 are used), AWG28 to AWG24 (When A6CON2 is used), AWG28 (twisted) /AWG30 (single wire) (When A6CON3 is used) External input wiring connector A6CON1, A6CON2, A6CON3, A6CON4 (Sold separately)
Flash ROM write count Max. 100000 times Number of occupied I/O points [points] 32 (I/O assignment: Intelligent function module 32 points)
External dimensions [mm(inch)] 98.0 (3.86) (H) 27.4 (1.08) (W) 90.0 (3.54) (D) Mass [kg] 0.15 0.16
(Note-1): The speed-position switching control (ABS mode) can be used only when the control unit is "degree". (For details, refer to Section
9.2.17.) (Note-2): When "Speed control 10 x multiplier setting for degree axis function" is valid, this will be the setting range 0.01 to 20000000.00
(degree/min). (For details, refer to Section 13.7.10.) (Note-3): Time from accepting the positioning start signal until BUSY signal turns ON. (Note-4): _= Cable length
(015: 0.15m (0.49ft.), 03: 0.3m (0.98ft.), 05: 0.5m (1.64ft.), 1: 1m (3.28ft.), 3: 3m (9.84ft.), 5: 5m (16.40ft.), 10: 10m (32.81ft.), 20: 20m (65.62ft.), 30: 30m (98.43ft.), 40: 40m (131.23ft.), 50: 50m (164.04ft.) ) (Note-5): For the cable of less than 30m (98.43ft.), contact your nearest Mitsubishi sales representative.

Chapter 3 Specifications and Functions
3.2.1 QD77MS control functions
The Simple Motion module has several functions. In this manual, the Simple Motion module functions are categorized and explained as follows.
"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. This is used to return a workpiece, located at a position other than the OP when the power is turned ON or after positioning stop, to the OP. The "OPR control" is pre-registered in the Simple Motion module as the "Positioning start data No. 9001 (Machine OPR)", and "Positioning start data No. 9002 (Fast OPR)". (Refer to Chapter 8 "OPR Control".)
(2) Major positioning control
This control is carried out using the "Positioning data" stored in the Simple Motion module. Positioning control, such as position control and speed control, is executed by setting the required items in this "positioning data" and starting that positioning data. An "operation pattern" can be set in this "positioning data", and with this whether to carry out control with continuous positioning data (ex.: positioning data No. 1, No. 2, No. 3, ...) can be set. (Refer to Chapter 9 "Major Positioning Control".)
(3) High-level positioning control
This control executes the "positioning data" stored in the Simple Motion module using the "block start data". The following types of applied positioning control can be carried out.
Random blocks, handling several continuing positioning data items as
"blocks", can be executed in the designated order. "Condition judgment" can be added to position control and speed control. The operation of the designated positioning data No. that is set for multiple
axes can be started simultaneously. (Command is output simultaneously to multiple servo amplifiers.) The designated positioning data can be executed repeatedly, etc.,
(Refer to Chapter 10 "High-Level Positioning Control".)
This control executes the random positioning operation by inputting a signal into the Simple Motion module from an external device. Use this manual control to move the workpiece to a random position (JOG operation), and to finely adjust the positioning (inching operation, manual pulse generator operation), etc. (Refer to Chapter 11 "Manual Control".)
The following controls other than the positioning control can be executed. (Refer to Chapter 12 "Expansion Control".) Speed control and torque control not including the position loop for the
command to servo amplifier (Speed-torque control). Synchronous control with gear, shaft, change gear and cam not by
mechanical, but by software use "synchronous control parameter", and is synchronized with input axis (Synchronous control).
(1) OPR control · (4) Manual control · (5) Expansion control

Chapter 3 Specifications and Functions
When executing the main functions, control compensation, limits and functions can be added. (Refer to Chapter 13 "Control Sub Functions".)
Common control using the Simple Motion module for "parameter initialization" or "backup of execution data" can be carried out. (Refer to Chapter 14 "Common Functions".)

Chapter 3 Specifications and Functions
Sub functions Main functions
Control registered in QD77MS
[Positioning start No.]
Control using "Positioning data"
1-axis linear control 2-, 3-, or 4-axis linear interpolation control 1-axis fixed-feed control 2-, 3-, or 4-axis fixed-feed control 2-axis circular interpolation control
Independent positioning control (Positioning complete)
1-axis speed control 2-axis speed control 3-axis speed control 4-axis speed control
Software stroke limit function
Hardware stroke limit function
Speed-position switching control Position-speed switching control
Current value changing, NOP instruction JUMP instruction, LOOP to LEND
Control using "Positioning data" + "Block start data"
Acceleration/deceleration time change function
Block start (Normal start)
Target position change function
Repeated start (FOR loop)
[Positioning start No.]
Repeated start (FOR condition)
Multiple axes simultaneous start control
Control with signals input from external device
Continuous operation interrupt function
M code output function
JOG start signal ON
JOG operation, Inching operation
Pulse input from manual pulse generator
Manual pulse generator operation
Speed-torque control, synchronous control
Deceleration start flag function
Control not including position loop
Stop command processing for deceleration stop function
Speed control mode Torque control mode
Speed control Torque control
Speed control 10 x multiplier setting for degree axis function
Continuous operation to torque control Continuous operation to torque control mode
Operation setting for incompletion of OPR function
Control using synchronous control parameter
Synchronous control Synchronous control start ON
Module error collection function Execution data backup function Parameter initialization function
Connect/disconnect function of SSCNET communication QD75MH initial value setting function External I/O signal logic switching function Mark detection function
Virtual servo amplifier function
External signal selection function
Optional data monitor function

Chapter 3 Specifications and 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.)
Main functions Details Reference
Mechanically establishes the positioning start point using a near-point dog, etc. In the data setting method, no axis movement occurs since the current position is set as the home position. (Positioning start No. 9001)
Positions a target to the OP address ([Md.21] Machine feed value) stored in the Simple Motion module using machine OPR. (Positioning start No. 9002)
Linear control (1-axis linear control) (2-axis linear interpolation control) (3-axis linear interpolation control) (4-axis linear interpolation control)
9.2.2 9.2.3 9.2.4 9.2.5
Positions a target using a linear path to the address set in the positioning data or to the position designated with the movement amount.
Positions a target by the movement amount designated with the amount set in the positioning data. (With fixed-feed control, the"[Md.20] Current feed value" is set to "0" when the control is started. With 2-, 3-, or 4-axis fixed-feed control, the fixed-feed is fed along a linear path obtained by interpolation.)
Fixed-feed control (1-axis fixed-feed control) (2-axis fixed-feed control) (3-axis fixed-feed control) (4-axis fixed-feed control)
9.2.6 9.2.7 9.2.8 9.2.9
2-axis circular interpolation control Positions a target using an arc path to the address set in the positioning data, or to the position designated with the movement amount, sub point or center point.
9.2.10 9.2.11
Speed control (1-axis speed control) (2-axis speed control) (3-axis speed control) (4-axis speed control)
9.2.12 9.2.13 9.2.14 9.2.15
Continuously outputs the command corresponding to the command speed set in the positioning data.
First, carries out speed control, and then carries out position control (positioning with designated address or movement amount) by turning the "speed-position switching signal" ON.
9.2.16 9.2.17
First, carries out position control, and then carries out speed control (continuous output of the command corresponding to the designated command speed) by turning the "position-speed switching signal" ON.
Changes the current feed value ([Md.20]) to the address set in the positioning data. The following two methods can be used. (The machine feed value ([Md.21]) cannot be changed.)
No execution control system. When NOP instruction is set, this instruction is not executed and the operation of the next data is started.
JUMP instruction Unconditionally or conditionally jumps to designated positioning data No. 9.2.21
LOOP Carries out loop control with repeated LOOP to LEND. 9.2.22
LEND Returns to the beginning of the loop control with repeated LOOP to LEND. 9.2.23

Chapter 3 Specifications and Functions
Main functions Details Reference
Block start (Normal start) With one start, executes the positioning data in a random block with the set order. 10.3.2
Carries out condition judgment set in the "condition data" for the designated positioning data, and then executes the "block start data". When the condition is established, the "block start data" is executed. When not established, that "block start data" is ignored, and the next point's "block start data" is executed.
Carries out condition judgment set in the "condition data" for the designated positioning data, and then executes the "block start data". When the condition is established, the "block start data" is executed. When not established, stops the control until the condition is established. (Waits.)
Simultaneously executes the positioning data having the No. for the axis designated with the "condition data". (Outputs commands at the same timing.)
Repeated start (FOR loop) Repeats the program from the block start data set with the "FOR loop" to the block start data set in "NEXT" for the designated number of times. 10.3.6
Repeats the program from the block start data set with the "FOR condition" to the block start data set in "NEXT" until the conditions set in the "condition data" are established.
Repeated start (FOR condition)
Starts the operation of multiple axes simultaneously according to the command output level. (Positioning start No. 9004, same as the "simultaneous start" above)
Multiple axes simultaneous start control
JOG operation Outputs a command to servo amplifier while the JOG start signal is ON. 11.2
Outputs commands corresponding to minute movement amount by manual operation to servo amplifier. (Performs fine adjustment with the JOG start signal.)
Manual pulse generator operation
Outputs pulses commanded with the manual pulse generator to servo amplifier. 11.4
Carries out the speed control or torque control that does not include the position loop for the command to servo amplifier by switching control mode.
Carries out the synchronous control that synchronizes with input axis by setting the system such as gear, shaft, change gear and cam to the "synchronous control parameter".
In "major positioning control" ("high-level positioning control"), "Operation pattern" can be set to designate whether to continue executing positioning data. Outlines of the "operation patterns" are given below.
[Da.1] Operation pattern Details Reference
When "independent positioning control" is set for the operation pattern of the started positioning data, only the designated positioning data will be executed, and then the positioning will end.
Independent positioning control (positioning complete)
When "continuous positioning control" is set for the operation pattern of the started positioning data, after the designated positioning data is executed, the program will stop once, and then the next following positioning data will be executed.
9.1.2 Continuous positioning control
When "continuous path control" is set for the operation pattern of the started positioning data, the designated positioning data will be executed, and then without decelerating, the next following positioning data will be executed.

Chapter 3 Specifications and 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.)
Sub function Details Reference
This function retries the machine OPR with the upper/lower limit switches during the machine OPR. This allows machine OPR to be carried out even if the axis is not returned to before the near- point dog with JOG operation, etc.
Functions characteristic to machine OPR
After returning to the machine OP, this function compensates the position by the designated distance from the machine OP position and sets that position as the OP address.
This function compensates the mechanical backlash amount. Feed commands equivalent to the set backlash amount are output each time the movement direction changes.
By setting the movement amount per pulse, this function can freely change the machine movement amount per commanded pulse. When the movement amount per pulse is set, a flexible positioning system that matches the machine system can be structured.
Functions that compensate control
Near pass function 1 This function suppresses the machine vibration when the positioning data is switched during continuous path control in the interpolation control.
If the command speed exceeds "[Pr.8] Speed limit value" during control, this function limits the commanded speed to within the "[Pr.8] Speed limit value" setting range.
If the torque generated by the servomotor exceeds "[Pr.17] Torque limit setting value" during control, this function limits the generated torque to within the "[Pr.17] Torque limit setting value" setting range.
Functions that limit control
If a command outside of the upper/lower limit stroke limit setting range, set in the parameters, is issued, this function will not execute positioning for that command.
Software stroke limit function
Hardware stroke limit function
This function carries out deceleration stop with the hardware stroke limit switch. 13.4.4
This function stops all axes of the servo amplifier with the forced stop input signal connected to the external input connection connector on the Simple Motion module.
This function changes the speed during positioning. Set the new speed in the speed change buffer memory ([Cd.14] New speed value), and change the speed with the speed change request ([Cd.15]).
This function changes the speed within a percentage of 1 to 300% during positioning. This is executed using "[Cd.13] Positioning operation speed override".
Functions that change control details
Acceleration/deceleration time change function
This function changes the acceleration/deceleration time during speed change. (Functions added to the speed change function and override function)
Torque change function This function changes the "torque limit value" during control. 13.5.4 Target position change function
This function changes the target position during positioning. Position and speed can be changed simultaneously. 13.5.5

Chapter 3 Specifications and Functions
Sub function Details Reference
This function restores the absolute position of designated axis. 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. The operation can be stopped at each "automatic deceleration" or "positioning data".
This function stops (decelerates to a stop) the positioning being executed when the skip signal is input, and carries out the next positioning.
This function issues a command for a sub work (clamp or drill stop, tool change, etc.) corresponding to the M code No. (0 to 65535) that can be set for each positioning data.
M code output function
This function stores the address positioned with manual control into the "[Da.6] Positioning address/movement amount" having the designated positioning data No. ([Cd.39]).
At each automatic deceleration, this function calculates the remaining distance for the Simple Motion module to reach the positioning stop position. When the value is less than the set value, the "command in-position flag" is set to "1". When using another auxiliary work before ending the control, use this function as a trigger for the sub work.
Acceleration/deceleration processing function This function adjusts the acceleration/deceleration. 13.7.6
This function interrupts continuous operation. When this request is accepted, the operation stops when the execution of the current positioning data is completed.
Continuous operation interrupt function
Pre-reading start function This function shortens the virtual start time. 13.7.7
Function that 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", to make the stop timing known.
Deceleration start flag function
Stop command processing for deceleration stop function
Function that selects a deceleration curve when a stop cause occurs during deceleration stop processing to speed 0. 13.7.9
Follow up function This function monitors the motor rotation amount with the servo turned OFF, and reflects it on the current feed value. 13.8.2
Speed control 10 x multiplier setting for degree axis function
This function is executed the positioning control by the 10 x speed of the command speed and the speed limit value when the setting unit is "degree".
13.7.10
Operation setting for incompletion of OPR function
This function is provided to select whether positioning control is operated or not, when OPR request flag is ON. 13.7.11

Chapter 3 Specifications and Functions
The outline of the functions executed as necessary is described below. (Refer to "Section 2" for details on each function.)
Common functions Details Reference
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. The following two methods can be used.
This function stores the "setting data", currently being executed, into the flash ROM/internal memory (nonvolatile).
Execution data backup function
External signal selection function
This function switches I/O signal logic according to externally connected devices. This function enables the use of the system that does not use b (N.C.)-contact signals, such as Upper/lower limit signal, by setting parameters to positive logic.
External I/O signal logic switching function
History monitor function This function monitors errors, warnings, and start history of all axes. 14.6
This function executes the positioning control of Simple Motion module without connecting to the servo amplifiers. It is used to debug the program at the start-up of the device or simulate the positioning operation.
This function executes the operation as the axis (virtual servo amplifier axis) that operates only command (instruction) virtually without servo amplifiers.
Virtual servo amplifier function
This function uses the "Master-slave operation function" of servo amplifier. The Simple Motion module controls the master axis and the slave axis is controlled by data communication between servo amplifiers (driver communication) without Simple Motion module.
Mark detection function This function is used to latch any data at the input timing of the mark detection signal (DI1 to DI4). 14.10

Chapter 3 Specifications and Functions
Common functions Details Reference
Optional data monitor function This function is used to store the data selected by user up to 4 data per axis to buffer memory and monitor them. 14.11
This function collects errors occurred in the Simple Motion module in the PLC CPU. 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.
Module error collection function
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.
Connect/disconnect function of SSCNET communication
This function is used to set the factory-set initial value of QD75MH for the setting data set in the QD77MS buffer memory/internal memory and flash ROM/internal memory (nonvolatile).
QD75MH initial value setting 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.
Hot line forced stop function
section

Chapter 3 Specifications and Functions

Chapter 3 Specifications and 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.
Functions that compensate control
Combination with operation pattern. 1
OPR control Machine OPR control 11
2-, 3-, or 4-axis linear interpolation control
1-axis fixed-feed control (Continuous path control cannot be set)
2-, 3-, or 4-axis fixed-feed control (interpolation)
(Continuous path control cannot be set)
2-axis circular interpolation control
Speed control (1- to 4-axis) (Only independent positioning control can be set)
Speed-position switching control (Continuous path control cannot be set)
Position-speed switching control (Only independent positioning control can be set)
Current value changing (Continuous path control cannot be set)
JOG operation, inching operation
Manual pulse generator operation
Expansion control Speed-torque control
1: The operation pattern is one of the "positioning data" setting items. 2: The near pass function is featured as standard and is valid only for setting continuous path control for position control. 3: Invalid during creep speed. 4: Invalid during continuous path control. 5: Combination with the inching operation is not available. (Inching operation does not perform acceleration/deceleration processing.) 6: Valid for the reference axis only. 7: Valid for only the case where a deceleration start is made during position control. 8: Change the current value using the positioning data. Disabled for a start of positioning start No. 9003. 9: Valid for "[Md.22] Feedrate" and "[Md.28] Axis feedrate". 10: Valid for a start of positioning start No.9003, but invalid for a start of positioning data (No. 1 to 600). 11: OPR retry function cannot be used during the scale origin signal detection method machine OPR. 12: Refer to Section 12.1 "Speed-torque control" for acceleration/deceleration processing in the speed-torque control.

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

Chapter 3 Specifications and Functions
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" are shown below. If it is set to other than "0H", change the I/O number according to setting of head I/O number. Device X refers to the signals input from the Simple Motion module to the PLC CPU, and device Y refers to the signals output from the PLC CPU to the Simple Motion module. (1) QD77MS2
Signal direction: QD77MS2 PLC CPU Signal direction: PLC CPU QD77MS2 Device No. Signal name Device No. Signal name X0 READY Y0 PLC READY X1 Synchronization flag Y1 All axis servo ON X2 Use prohibited Y2 Use prohibited X3 Y3 X4 Axis 1 M code ON Y4 Axis 1 Axis stop X5 Axis 2 Y5 Axis 2 X6 Use prohibited Y6 Use prohibited X7 Y7 X8 Axis 1 Error detection Y8 Axis 1 Forward run JOG start X9 Axis 2 Y9 Reverse run JOG start XA Use prohibited YA Axis 2 Forward run JOG start XB YB Reverse run JOG start XC Axis 1 BUSY YC
Use prohibited XD Axis 2 YD XE Use prohibited YE XF YF X10 Axis 1 Start complete Y10 Axis 1 Positioning start X11 Axis 2 Y11 Axis 2 X12 Use prohibited Y12 Use prohibited X13 Y13 X14 Axis 1 Positioning complete Y14 Axis 1 Execution prohibition flag X15 Axis 2 Y15 Axis 2 X16
X17 Y17 X18 Y18 X19 Y19 X1A Y1A X1B Y1B X1C Y1C X1D Y1D X1E Y1E X1F Y1F
Use prohibited · Use prohibited

Chapter 3 Specifications and Functions
Signal direction: QD77MS4 PLC CPU Signal direction: PLC CPU QD77MS4 Device No. Signal name Device No. Signal name X0 READY Y0 PLC READY X1 Synchronization flag Y1 All axis servo ON X2 Use prohibited Y2 Use prohibited X3 Y3 X4 Axis 1
Axis stop X5 Axis 2 Y5 Axis 2 X6 Axis 3 Y6 Axis 3 X7 Axis 4 Y7 Axis 4 X8 Axis 1
Y8 Axis 1 Forward run JOG start X9 Axis 2 Y9 Reverse run JOG start XA Axis 3 YA Axis 2 Forward run JOG start XB Axis 4 YB Reverse run JOG start XC Axis 1
YC Axis 3 Forward run JOG start XD Axis 2 YD Reverse run JOG start XE Axis 3 YE Axis 4 Forward run JOG start XF Axis 4 YF Reverse run JOG start X10 Axis 1
Positioning start X11 Axis 2 Y11 Axis 2 X12 Axis 3 Y12 Axis 3 X13 Axis 4 Y13 Axis 4 X14 Axis 1
Execution prohibition flag X15 Axis 2 Y15 Axis 2 X16 Axis 3 Y16 Axis 3 X17 Axis 4 Y17 Axis 4 X18
X19 Y19 X1A Y1A X1B Y1B X1C Y1C X1D Y1D X1E Y1E X1F Y1F

Chapter 3 Specifications and Functions
Signal direction: QD77MS16 PLC CPU Signal direction: PLC CPU QD77MS16 Device No. Signal name Device No. Signal name X0 READY Y0 PLC READY X1 Synchronization flag Y1 All axis servo ON X2
X3 Y3 X4 Y4 X5 Y5 X6 Y6 X7 Y7 X8 Y8 X9 Y9 XA YA XB YB XC YC XD YD XE YE XF YF X10 Axis 1
X11 Axis 2 Y11 Axis 2 X12 Axis 3 Y12 Axis 3 X13 Axis 4 Y13 Axis 4 X14 Axis 5 Y14 Axis 5 X15 Axis 6 Y15 Axis 6 X16 Axis 7 Y16 Axis 7 X17 Axis 8 Y17 Axis 8 X18 Axis 9 Y18 Axis 9 X19 Axis 10 Y19 Axis 10 X1A Axis 11 Y1A Axis 11 X1B Axis 12 Y1B Axis 12 X1C Axis 13 Y1C Axis 13 X1D Axis 14 Y1D Axis 14 X1E Axis 15 Y1E Axis 15 X1F Axis 16 Y1F Axis 16
POINT (1) For QD77MS16, M code ON signal, error detection signal, start complete signal and
positioning complete signal are assigned to the bit of "[Md.31] Status". (2) For QD77MS16, axis stop signal, forward run JOG start signal, reverse run JOG start
signal, execution prohibition flag are assigned to the buffer memory [Cd.180] to [Cd.183].

Chapter 3 Specifications and Functions
The ON/OFF timing and conditions of the input signals are shown below. (1) QD77MS2/QD77MS4
No. Signal name Details
Watch dog timer error
PLC READY signal [Y0] OFF
READY signal [X0] OFF
Axis 1 Axis 2 Axis 3 Axis 4
Axis 1 Axis 2 Axis 3 Axis 4
Axis 1 Axis 2 Axis 3 Axis 4
Axis 1 Axis 2 Axis 3 Axis 4
Positioning start signal [Y10]
ON
Start complete signal [X10] X14 X15 X16 X17
Axis 1 Axis 2 Axis 3 Axis 4

Chapter 3 Specifications and Functions
executed. However, since the ON time is short, the ON status may not to be detected in the sequence program.
output from QD77MS2/QD77MS4 is completed. Thus, even if the QD77MS2/QD77MS4's positioning complete signal turns ON, the system may continue operation.
No. Signal name Details
Watch dog timer error
PLC READY signal [Y0] OFF
READY signal [X0] OFF
X10 X11 X12 X13 X14 X15 X16 X17 X18 X19 X1A X1B X1C X1D X1E X1F
Axis 1 Axis 2 Axis 3 Axis 4 Axis 5 Axis 6 Axis 7 Axis 8 Axis 9 Axis 10 Axis 11 Axis 12 Axis 13 Axis 14 Axis 15 Axis 16
Manual pulse generator enable flag" is ON.
executed. However, since the ON time is short, the ON status may not to be detected in the sequence program.
Device · access enabled · BUSY (Note-1)

Chapter 3 Specifications and Functions
The ON/OFF timing and conditions of the output signals are shown below. (1) QD77MS2/QD77MS4
Device No. Signal name Details Y0 PLC READY OFF:
(a) This signal notifies the Simple Motion module that the PLC CPU
is normal.
OFF depending on the parameter (Refer to Chapter 7.). (c) The following processes are carried out when this signal turns
from OFF to ON.
from ON to OFF. In these cases, the OFF time should be set to 100ms or more.
from the GX Works2 or PLC CPU to the flash ROM, this signal will turn OFF. Y1 All axis servo ON OFF:
Servo OFF ON:
Axis 1 Axis 2 Axis 3 Axis 4
Axis stop OFF:
Axis stop not requested ON:
Axis 1 Axis 1 Axis 2 Axis 2 Axis 3 Axis 3 Axis 4 Axis 4
Forward run JOG start Reverse run JOG start Forward run JOG start Reverse run JOG start Forward run JOG start Reverse run JOG start Forward run JOG start Reverse run JOG start
JOG not started ON:
Axis 1 Axis 2 Axis 3 Axis 4
Positioning start OFF:
Positioning start not requested ON:
Axis 1 Axis 2 Axis 3 Axis 4
Not during execution prohibition ON:

Chapter 3 Specifications and Functions
Device No. Signal name Details Y0 PLC READY OFF:
(a) This signal notifies the Simple Motion module that the PLC CPU
is normal.
signal is turned OFF depending on the parameter (Refer to Chapter 7.). (c) The following processes are carried out when this signal turns
from OFF to ON.
from ON to OFF. In these cases, the OFF time should be set to 100ms or more.
from the GX Works2 or PLC CPU to the flash ROM, this signal will turn OFF. Y1 All axis servo ON OFF:
Servo OFF ON:
Y10 Y11 Y12 Y13 Y14 Y15 Y16 Y17 Y18 Y19 Y1A Y1B Y1C Y1D Y1E Y1F
Axis 1 Axis 2 Axis 3 Axis 4 Axis 5 Axis 6 Axis 7 Axis 8 Axis 9 Axis 10 Axis 11 Axis 12 Axis 13 Axis 14 Axis 15 Axis 16
Positioning start OFF:
Positioning start not requested ON:
Servo ON · Positioning start requested

Chapter 3 Specifications and Functions
3.4.1 Electrical specifications of input signals
(1) External input signals
(a) Specifications of external input signals

Operating voltage range 19.2 to 26.4VDC (24VDC+10/-20%, ripple ratio 5% or less)
4ms or less 1ms or less ON to OFF
(a) Specifications of forced stop input signal

Operating voltage range 19.2 to 26.4VDC (24VDC+10/ -20%, ripple ratio 5% or less)

Chapter 3 Specifications and Functions
(a) Specifications of manual pulse generator/incremental synchronous encoder
Signal input form (Note-1) Phase A/Phase B (Magnification by 4/ Magnification by 2/Magnification by 1), PLS/SIGN
Maximum input pulse frequency 1Mpps (After magnification by 4, up to 4Mpps) (Note-2)
Pulse width 1µs or more Leading edge/trailing edge time 0.25µs or less Phase difference 0.25µs or more Rated input voltage 5.5 V DC or less High-voltage 2.0 to 5.25 V DC Low-voltage 0 to 0.8 V DC Differential voltage 0.2V Cable length Up to 30m (98.43ft.)
Differential-output type (26LS31 or equivalent)
1 s or more
0.5 s or more
0.5 s or more
0.25 s or more
0.25 s or more
0.25 s or more
Maximum input pulse frequency 200kpps (After magnification by 4, up to 800kpps) (Note-2)
Pulse width 5µs or more Leading edge/trailing edge time 1.2µs or less Phase difference 1.2µs or more Rated input voltage 5.5 V DC or less High-voltage 3.0 to 5.25 V DC/2 mA or less Low-voltage 0 to 1.0 V DC/5 mA or more
Voltage-output type/Open- collector type (5 V DC)
Cable length Up to 10m (32.81ft.)
5 s or more
2.5 s or more
2.5 s or more
1.2 s or more
1.2 s or more
1.2 s or more
(Note-1): Set the signal input form in "[Pr.24] Manual pulse generator/Incremental synchronous encoder input selection".

Positive logic Negative logic Forward run Reverse run Forward run Reverse run
(Note-2): Maximum input pulse frequency is magnified by 4, when "A-phase/B-phase Magnification by 4" is set in "[Pr.24]
Manual pulse generator/Incremental synchronous encoder input selection".

Chapter 3 Specifications and Functions
The specifications of the connector section, which is the input/output interface for the Simple Motion module and external device, are shown below.




Chapter 3 Specifications and Functions
The signal layout for the external input connection connector of Simple Motion module is shown.

Pin No. Signal name Pin No. Signal name Pin No. Signal name Pin No. Signal name
B20 B19 B18 B17 B16 B15 B14 B13 B12 B11 B10 B9 B8 B7 B6 B5 B4 B3 B2 B1
A20 A19 A18 A17 A16 A15 A14 A13 A12 A11 A10 A9 A8 A7 A6 A5 A4 A3 A2 A1
2B16 2A16 1B16 No connect (Note-7) 1A16 No connect (Note-7)
2B5 DI4 (Note-8) 2A5 DI3 (Note-8) 1B5 DI2 (Note-8) 1A5 DI1 (Note-8)
2B4 STOP (Note-8) 2A4 STOP (Note-8) 1B4 STOP (Note-8) 1A4 STOP (Note-8)
2B3 DOG (Note-8) 2A3 DOG (Note-8) 1B3 DOG (Note-8) 1A3 DOG (Note-8)
2B2 RLS (Note-8) 2A2 RLS (Note-8) 1B2 RLS (Note-8) 1A2 RLS (Note-8)
2B1 FLS (Note-8) 2A1 FLS (Note-8) 1B1 FLS (Note-8) 1A1 FLS (Note-8) (Note-1) : Pin No. "1_ _ _" indicates the pin No. for the right connector. Pin No. "2_ _ _" indicates the pin No. for the left connector. (Note-2) : For QD77MS2 does not have AX3 and AX4 connector of the left side. (Note-3) : Input type from manual pulse generator/incremental synchronous encoder is switched in "[Pr.89] Manual pulse
Connect the A-phase/PLS signal to HA, and the B-phase/SIGN signal to HB. (Note-6) : Differential-output type
Connect the A-phase/PLS signal to HAH, and the A-phase/PLS inverse signal to HAL. Connect the B-phase/SIGN signal to HBH, and the B-phase/SIGN inverse signal to HBL.
(Note-7) : Do not connect to any of the terminal explained as "No connect". (Note-8) : Set the external command signal [DI, FLS, RLS, DOG, STOP] in "[Pr.80] External input signal selection" and "[Pr.95] External
command signal selection" at QD77MS16 use. (Note-9) : Do not connect wires other than the signal wires of the manual pulse generator to 1A20 and 1A19. (Note-10): Do not use 1A(B)15 and 1A(B)14 for other than the power supply of manual pulse generator.

Chapter 3 Specifications and Functions
The details of each external input connection connector of Simple Motion module are shown below.

Positioning address +1 +1 +1+1+1+1+1+1 -1
Positioning address +1 -1
Positioning address +1 -1
Positioning address +1 -1

Chapter 3 Specifications and Functions
Signal name Pin No. Signal details
(A+) 1A17 (2) PLS/SIGN
Manual pulse generator/Incremental synchronous encoder A phase/PLS
Input the pulse signal for counting the increased/decreased pulse in the pulse input (PLS). Input the signal for controlling forward run and reverse run in the direction sign (SIGN). 1) "[Pr.22] Input signal logic selection" is positive logic
(A-) 1B17
(B+) 1A18
Manual pulse generator/Incremental synchronous encoder B phase/SIGN
[When increased] [When decreased]
(B-) 1B18
PLS
PLS
LOW Positive logic SIGN
HIGH
Manual pulse generator/Incremental synchronous encoder A phase/PLS
PLS
PLS
Voltage-output type/ open-collector type
HIGH
Manual pulse generator/Incremental synchronous encoder B phase/SIGN
+1 +1 +1+1 +1+1 -1 Positioning address Positioning address

Chapter 3 Specifications and Functions
Signal name Pin No. Signal details
Compatibility with the QD75MH Manual pulse generator power supply output (+ 5VDC) (5V)
generator.
Upper limit signal (FLS)
Lower limit signal (RLS)
Near-point dog signal (DOG)
External command/ Switching signal
(DI4) 2B5
QD77MS16 use.
Forced stop input signal (EMI) 1A8 • This signal is input when batch forced stop is available for all axes of servo amplifier. EMI ON (Opened) : Forced stop EMI OFF (24VDC input) : Forced stop release
Forced stop input signal common (EMI.COM) 1B8
Manual pulse generator power supply output (+ 5VDC) (5V)
used except for the manual pulse generator power supply.
Manual pulse generator power supply output (GND) (SG)
used except for the manual pulse generator power supply. (Note-1): There are no signals of 2A_ and 2B_ at QD77MS2 use.
Stop signal (STOP) · Common (COM)

Chapter 3 Specifications and Functions
The outline diagrams of the internal circuits for the external device connection interface (for the Simple Motion module, axis 1) are shown below.

Input or Output Signal name Pin No. Wiring example Internal circuit Description
Upper-limit signal, Lower-limit signal, Near-point dog signal, Stop signal, External command signal, Switching signal, Forced stop input signal
(Note-1): When using external input signal of servo amplifier, set "1" with " External signal selection". In addition, refer to Section 13.4.4 for wiring of upper/lower limit signal and Section 8.1.1 for wiring of near-point dog signal. (Note-2): "_ _" indicates "1A (AX1)", "1B (AX2)", 2A (AX3)", or "2B (AX4)". (Note-3): As for the 24VDC sign, both "+" and "-" are possible.

Chapter 3 Specifications and Functions
(a) Interface between manual pulse generator/incremental synchronous

Input or Output Signal name Pin No. Wiring example Internal circuit
(Note-1): Set "0: Differential-output type" in " Manual pulse generator/Incremental synchronous encoder input type selection" if the manual pulse generator/Incremental synchronous encoder of differential-output type is used. The default value is "1: Voltage-output/open-collector type". (Note-2): Set the signal input form in " Manual pulse generator/Incremental synchronous encoder input selection". (Note-3): The 5VDC power supply from the Simple Motion module must not be used if a separate power supply is applied to the manual pulse generator/incremental synchronous encoder. If a separate power supply is used, use a stabilized power supply of voltage 5VDC. Anything else may cause a failure.
Pr.24
(b) Interface between manual pulse generator/Incremental synchronous
encoder (Voltage-output type/open-collector type)

Input or Output Signal name Pin No. Wiring example Internal circuit
(Note-1): Set "1: Voltage-output/open-collector type" in " Manual pulse generator/Incremental synchronous encoder input type selection" if the manual pulse generator/Incremental synchronous encoder of voltage- output/open-collector type is used. The default value is "1: Voltage-output/open-collector type". (Note-2): Set the signal input form in " Manual pulse generator/Incremental synchronous encoder input selection". (Note-3): The 5VDC power supply from the Simple Motion module must not be used if a separate power supply is applied to the manual pulse generator/Incremental synchronous encoder. If a separate power supply is used, use a stabilized power supply of voltage 5VDC. Anything else may cause a failure.
Pr.24
encoder (Differential-output type)

Chapter 3 Specifications and Functions
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 "[Pr.89] Manual pulse generator/Incremental synchronous encoder input type selection". It is recommended to use the external 5 V power supply (5 V DC±5%) for the power supply of the manual pulse generator/incremental synchronous encoder. When using the external power supply, do not connect with the 5 V terminal of the Simple Motion module. When using the internal power supply, connect the 5 V terminal of the Simple Motion module and the 5 V (+) of the manual pulse generator/ incremental synchronous encoder. In either case, connect the 0 V (-) of the manual pulse generator/incremental synchronous encoder and the SG of the Simple Motion module. Do not use the 5 V terminal of the Simple Motion module except for connecting the manual pulse generator/incremental synchronous encoder. It may cause a failure. Also, do not connect the manual pulse generator/incremental synchronous encoder whose current consumption exceeds 200 mA. (a) Manual pulse generator/Incremental synchronous encoder of differential
When using the internal
Manual pulse generator/ Incremental synchronous
Manual pulse generator/ Incremental synchronous
Simple Motion module
HAH (A+)
HAH (A+)
HAH (A+)
HAH (A+)
HAL (A-)
HAL (A-)
HAL (A-)
HAL (A-)
HBH (B+)
HBH (B+)
HBH (B+)
HBH (B+)
HBL (B-)
HBL (B-)
HBL (B-)
HBL (B-)
SG
SG
External 5 V
power supply
FG FG
FG FG
Twisted pair

Chapter 3 Specifications and Functions
(b) Manual pulse generator/Incremental synchronous encoder of voltage output
When using the internal
Manual pulse generator/ Incremental synchronous Manual pulse generator/ Incremental synchronous
Simple Motion module
HA (A)
HA (A)
HA (A)
HA (A)
HB (B)
HB (B)
HB (B)
HB (B)
SG
SG
Shield Shield power supply
External 5 V
Twisted pair
FG FG FG FG
type/open-collector type · encoder encoder

Chapter 3 Specifications and Functions
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. (1) Example when using the forced stop of the QD77MS
3-phase 200 to 230VAC


Chapter 3 Specifications and Functions

6 MC1
U
MR-J4-B
U
M
A
W
W
RA2
B
U
DICOM
SSCNET (/H)
CN1A
ALM
RA2
EM2/1
CN1B
DOCOM
24VDC
MC2 6 MCCB3
U
MR-J4-B
U
M
B
W
W
RA3
B
U
DICOM
CN1A
ALM
RA3
EM2/1
CN1B
DOCOM
24VDC
6 MCCB4
MC3
U
U
MR-J4-B
M
W
W
RA4
B
DICOM
U
CN1A
ALM
RA4
EM2/1
CN1B
DOCOM
24VDC

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 . If only a specific servo amplifier main circuit power supply is shut off, be sure to shut off the main circuit power supply L1/L2/L3, and do not shut off the control power supply L11/L21. (Note-2): Be sure to shut off the both of main circuit power supply L1/L2/L3 and control power supply L11/L21 after disconnection of
SSCNET communication by the connect/disconnect function of SSCNET communication at the time of exchange of servo amplifier. At this time, it is not possible to communicate between the servo amplifier and Simple Motion module. Therefore, be sure to exchange the servo amplifier after stopping the operating of machine beforehand. (Note-3): 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).)

Chapter 3 Specifications and Functions

Chapter 3 Specifications and Functions
(For MR-JE-B)

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" (Controller forced stop input warning) at the alarm occurrence.
This function can be disabled by the servo parameter (PA27).
For using the MR-JE-B, configure up the power supply circuit which switches off the all axes
electromagnetic contactor (MC) from the CPU module after detecting the alarm occurrence on the CPU module.
3-phase 200 to 230VAC


Chapter 3 Specifications and Functions

6 MC1
U
U
MR-JE-B
M
W
A
W
RA2
B
U
DICOM
SSCNET (/H)
CN1A
MBR
RA2
EM2/1
CN1B
DOCOM
24VDC
MC2 6 MCCB3
U
U
MR-JE-B
M
W
B
W
RA3
B
U
DICOM
CN1A
MBR
RA3
CN1B
EM2/1
DOCOM
24VDC
6 MCCB4
MC3
U
MR-JE-B
U
M
W
W
RA4
B
U
DICOM
CN1A
MBR
RA4
CN1B
EM2/1
DOCOM
24VDC

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 . If only a specific servo amplifier main circuit power supply is shut off, be sure to shut off the main circuit power supply L1/L2/L3, and do not shut off the control power supply L11/L21. (Note-2): Be sure to shut off the both of main circuit power supply L1/L2/L3 and control power supply L11/L21 after disconnection of
SSCNET communication by the connect/disconnect function of SSCNET communication at the time of exchange of servo amplifier. At this time, it is not possible to communicate between the servo amplifier and Simple Motion module. Therefore, be sure to exchange the servo amplifier after stopping the operating of machine beforehand. (Note-3): 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).)

Chapter 3 Specifications and Functions

Chapter 3 Specifications and Functions
3-phase 200 to 230VAC


Chapter 3 Specifications and Functions

U
U
MR-J4-B
M
W
A
W
RA3
B
U
DICOM
SSCNET (/H)
CN1A
ALM
RA3
RA2
EM2/1
CN1B
DOCOM
24VDC
MC2 4 MCCB3
U
U
MR-J4-B
M
W
B
W
RA4
B
U
DICOM
CN1A
ALM
RA4
RA2
CN1B
EM2/1
DOCOM
24VDC
MC3 4 MCCB4
U
MR-J4-B
U
M
W
W
RA5
B
U
DICOM
CN1A
ALM
RA5
RA2
CN1B
EM2/1
DOCOM
24VDC

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 . If only a specific servo amplifier main circuit power supply is shut off, be sure to shut off the main circuit power supply L1/L2/L3, and do not shut off the control power supply L11/L21. (Note-2): Be sure to shut off the both of main circuit power supply L1/L2/L3 and control power supply L11/L21 after disconnection of
SSCNET communication by the connect/disconnect function of SSCNET communication at the time of exchange of servo amplifier. At this time, it is not possible to communicate between the servo amplifier and Simple Motion module. Therefore, be sure to exchange the servo amplifier after stopping the operating of machine beforehand. (Note-3): 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. The service life of the servo amplifier may be shortened.

Chapter 3 Specifications and Functions

Chapter 3 Specifications and Functions
MR-JE-B

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" (Controller forced stop input warning) at the alarm occurrence.
This function can be disabled by the servo parameter (PA27).
For using the MR-JE-B, configure up the power supply circuit which switches off the all axes
electromagnetic contactor (MC) from the CPU module after detecting the alarm occurrence on the CPU module.
3-phase 200 to 230VAC


Chapter 3 Specifications and Functions

U
U
MR-JE-B
M
W
A
W
RA3
B
U
DICOM
SSCNET (/H)
CN1A
MBR
RA3
RA2
EM2/1
CN1B
DOCOM
24VDC
MC2 4 MCCB3
U
U
MR-JE-B
M
W
B
W
RA4
B
U
DICOM
CN1A
MBR
RA4
RA2
EM2/1
CN1B
DOCOM
24VDC
MC3 4 MCCB4
U
U
MR-JE-B
M
W
W
RA5
B
U
DICOM
CN1A
MBR
RA5
RA2
CN1B
EM2/1
DOCOM
24VDC

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 . If only a specific servo amplifier main circuit power supply is shut off, be sure to shut off the main circuit power supply L1/L2/L3, and do not shut off the control power supply L11/L21. (Note-2): Be sure to shut off the both of main circuit power supply L1/L2/L3 and control power supply L11/L21 after disconnection of
SSCNET communication by the connect/disconnect function of SSCNET communication at the time of exchange of servo amplifier. At this time, it is not possible to communicate between the servo amplifier and Simple Motion module. Therefore, be sure to exchange the servo amplifier after stopping the operating of machine beforehand. (Note-3): 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. The service life of the servo amplifier may be shortened.

Chapter 4 Installation, Wiring and Maintenance of the Product
of the Product
The installation, wiring and maintenance of the Simple Motion module are explained in this chapter.
4.1 Outline of installation, wiring and maintenance 4- 2 4.1.1 Installation, wiring and maintenance procedures 4- 2 4.1.2 Names of each part 4- 3 4.1.3 Handling precautions 4- 5 4.2 Installation 4- 7 4.2.1 Precautions for installation 4- 7 4.3 Wiring 4- 8 4.3.1 Precautions for wiring 4- 8 4.4 Confirming the installation and wiring 4-19 4.4.1 Items to confirm when installation and wiring are completed 4-19 4.5 Maintenance 4-20 4.5.1 Precautions for maintenance 4-20 4.5.2 Disposal instructions 4-20

Chapter 4 Installation, Wiring and Maintenance of the Product
4.1.1 Installation, wiring and maintenance procedures
The outline and procedures for Simple Motion module installation, wiring and maintenance are shown below.
Mount the QD77MS to the base unit.
Refer to Section 4.2 "Installation".
Refer to Section 4.3 "Wiring".
Connect external devices to the QD77MS.
Refer to Section 4.4 "Confirming the installation and wiring".
Check wiring with GX Works2.
Perform parameter and data setting with
YES
Parameter setting and auto refresh setting
Refer to the "Simple Motion Module Setting Tool Help" of GX Works2.
Perform each setting with GX Works2.
Refer to Chapter 6 "Sequence Program Used for Positioning Control".
Create and debug sequence programs.
Refer to Section 4.5 "Maintenance".

Chapter 4 Installation, Wiring and Maintenance of the Product
(1) The part names of the Simple Motion module are shown below.




Refer to this section (2). 2) Axis display LED (AX1 to AX2)
Connector to connect the mechanical system input, manual pulse generator/incremental synchronous encoder, or forced stop input. (40-pin connector) Refer to Section 3.4.2 for details.

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.
QD77MS16
QD77MS2
QD77MS4
QD77MS16
RUN
AX1 AX2
RUN
AX1
RUN
AX
AX2 AX3
ERR.
ERR.
ERR.

AX LED is OFF. (In the QD77MS2/QD77MS4, AX LED of the stopping axis, standby axis is OFF. In the QD77MS16, AX LED is OFF when all axes are stopping or standby.)
AX LED is ON. (In the QD77MS2/QD77MS4, AX LED of the operating axis is steady. In the QD77MS16, AX LED is steady when any of the axes is operating.)
ERR. LED is flashing. AX is flashing. (In the QD77MS2/QD77MS4, AX LED of the axis in which an error occurred is flashing. In the QD77MS16, AX LED is flashing when an error occurs in any of the axes.)
The symbols in the Display column indicate the following LED statuses:
: OFF, : ON, : Flashing
![Page 124 of the Mitsubishi Electronics QD77MS2 user manual — [1] Handling precautions](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-124.webp?w=400)
Chapter 4 Installation, Wiring and Maintenance of the Product
Handle the Simple Motion module and cable while observing the following precautions.
CAUTION
Use the programmable controller in an environment that meets the general specifications in the
manual "Safety Guidelines", the manual supplied with the main base unit. Using the programmable controller in an environment outside the range could result in electric shock, fire, operation failure, and damage to or deterioration of the product. Do not directly touch the module's conductive parts and electronic components. Doing so may
could cause an operation failure or give damage to the module. Be sure there are no foreign matters such as sawdust or wiring debris inside the module. Such
debris could cause fire, damage, or operation failure. Never try to disassemble or modify the modules. It may cause product failure, operation failure,
injury or fire. Completely turn off the externally supplied power used in the system before installation or
removing the module. Not doing so could result in damage to the module. Because the connector has its orientation, check it before attaching or detaching the connector
straight from the front. Unless it is properly installed, a poor contact may occur, resulting in erroneous input and output.

Chapter 4 Installation, Wiring and Maintenance of the Product
(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.
Before touching the module, always touch grounded metal, etc. to
discharge static electricity from human body. Failure to do so may cause the module to fail or malfunction.
Do not press on the cable with a sharp object.
Do not twist the cable with force.
Do not forcibly pull on the cable.
Do not step on the cable.
Do not place objects on the cable.
Do not damage the cable sheath.
Do not install the module in the following type of environment.
Where the ambient temperature exceeds the 0 to 55°C (32 to 131°F)
range.
Where the ambient humidity exceeds the 5 to 95%RH range.
Where temperature sudden changes and dew condenses.
Where there is corrosive gas or flammable gas.
Where there are high levels of dust, conductive powder, such as iron
chips, oil mist, salt or organic solvents.
Where the module is subject to direct sunlight.
Where there are strong electric fields or magnetic fields.
Where vibration or impact could be directly applied onto the main body.

Chapter 4 Installation, Wiring and Maintenance of the Product
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.
DANGER
Completely turn off the externally supplied power used in the system before installing or
removing the module. Not doing so could result in electric shocks, an operation failure or damage to the module.
Never try to disassemble or modify the modules. It may cause product failure, operation failure,
injury or fire. Completely turn off the externally supplied power used in the system before installation or
removing the module. Not doing so could result in an operation failure or damage to the module. After the first use of the module, the number of connections/disconnections is limited to 50 times (in
accordance with IEC 61131-2). Exceeding the limit may cause malfunction. Use the programmable controller in an environment that meets the general specifications in the
manual "Safety Guidelines", the manual supplied with the main base unit. Using the programmable controller in an environment outside the range could result in electric shock, fire, operation failure, and damage to or deterioration of the product. Do not directly touch the module's conductive parts and electronic components. Doing so may could
cause an operation failure or give damage to the module. While pressing the installation lever located at the bottom of module, insert the module fixing
tab into the fixing hole in the base unit until it stops. Then, securely mount the module with the fixing hole as a supporting point. Incorrect loading of the module can cause a malfunction, failure or drop. When using the module in the environment of much vibration, tighten the module with a screw. Tighten the screw within the range of the specified tightening torque. Insufficient tightening may lead to dropping, short-circuit, or malfunctioning. Excessive tightening may damage the screw or module, leading to dropping, short-circuit, or malfunctioning. Lock the control panel and prevent access to those who are not certified to handle or install
electric equipment.

Chapter 4 Installation, Wiring and Maintenance of the Product
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
Completely turn off the externally supplied power used in the system before installation or
wiring. Not doing so could result in electric shock or damage to the product.
Check the layout of the terminals and then properly route the wires to the module. The external input wiring connector must be crimped or pressured with the tool specified by the
manufacturer, or must be correctly soldered. Insufficient connections may cause short circuit, fire, or malfunction. Be careful not to let foreign matter such as sawdust or wire chips get inside the module. These
may cause fires, failure or malfunction. The top surface of the module is covered with protective films to prevent foreign objects such as
cable off cuts from entering the module when wiring. Do not remove this film until the wiring is complete. Before operating the system, be sure to remove the film to provide adequate ventilation. Securely connect the connector for SSCNET cable to the bottom connector on the module. When removing the cable from the module, do not pull the cable. Hold the connector that is
connected to the module. Pulling the cable that is still connected to the module may cause malfunction or damage to the module or cable. The external input/output signal cable and the communication cable should not be routed near
or bundled with the main circuit cable, power cable and/or other such load - carrying cables other than those for the PLC. These cables should be separated by at least 100mm (3.94inch) or more. They can cause electrical interference, surges and inductance that can lead to mis- operation. The shielded cable for connecting Simple Motion module can be secured in place. If the
shielded cable is not secured, unevenness or movement of the shielded cable or careless pulling on it could result in damage to the Simple Motion module, servo amplifier or shielded cable or defective cable connections could cause mis-operation of the unit. If the cable connected to the Simple Motion module and the power line must be adjacently laid
(less than 100mm (3.94inch)), use a shielded cable. Ground the shield of the cable securely to the control panel on the Simple Motion module side. (A wiring example is given on this section "[1] Precautions for wiring").

Chapter 4 Installation, Wiring and Maintenance of the Product
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. Otherwise, adhesion of dirt deteriorates in characteristic and it may cause malfunctions. Do not remove the SSCNET cable while turning on the power supply of Simple Motion module and servo amplifier. Do not see directly the light generated from SSCNET connector and the end of SSCNET cable. When the light gets into eye, may feel something is wrong for eye. (The light source of SSCNET cable complies with class1 defined in JISC6802 or IEC60825-1.) If the SSCNET cable 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. Be sure to take care enough so that the short SSCNET cable is added a twist easily. Be sure to use the SSCNET cable within the range of operating temperature described in this manual. Especially, as optical fiber for MR-J3BUS_M and MR-J3BUS_M-A are made of synthetic resin, it melts down if being left near the fire or high temperature. Therefore, do not make it touched the part which becomes high temperature, such as radiator or regenerative option of servo amplifier, or servomotor. When laying the SSCNET cable, be sure to secure the minimum cable bend radius or more. (Refer to this Section [2] Precautions for SSCNET cable wiring.) Put the SSCNET cable in the duct or fix the cable at the closest part to the Simple Motion module with bundle material in order to prevent SSCNET cable from putting its own weight on SSCNET connector. When laying cable, the optical cord should be given loose slack to avoid from becoming smaller than the minimum bend radius, and it should not be twisted. Also, fix and hold it in position with using cushioning such as sponge or rubber which does not contain plasticizing material. Migrating plasticizer is used for vinyl tape. Keep the MR-J3BUS_M, and MR-J3BUS_M-A
cables away from vinyl tape because the optical characteristic may be affected.
SSCNET cable Cord Cable
MR-J3BUS_M-A
MR-J3BUS_M-B
: Normally, cable is not affected by plasticizer. : Phthalate ester plasticizer such as DBP and DOP may affect optical characteristic of cable. Generally, soft polyvinyl chloride (PVC), polyethylene resin (PE) and fluorine resin contain non- migrating plasticizer and they do not affect the optical characteristic of SSCNET cable. However, some wire sheaths and cable ties, which contain migrating plasticizer (phthalate ester), may affect MR-J3BUS_M and MR-J3BUS_M-A cables (made of plastic). In addition, MR-J3BUS_M-B cable (made of quartz glass) is not affected by plasticizer.
Optical cord Cable

Chapter 4 Installation, Wiring and Maintenance of the Product
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.
When keeping the Simple Motion module or servo amplifier, be sure to put on a cap to
connector part so that a dirt should not adhere to the end of SSCNET connector. SSCNET connector to connect the SSCNET cable is put a cap to protect light device inside connector from dust. For this reason, do not remove a cap until just before connecting SSCNET cable. Then, when removing SSCNET cable, make sure to put a cap. Keep the cap and the tube for protecting light cord end of SSCNET cable in a plastic bag with a zipper of SSCNET cable to prevent them from becoming dirty. When exchanging the Simple Motion module or servo amplifier, make sure to put cap on
SSCNET connector. When asking repair of Simple Motion module or servo amplifier for some troubles, make also sure to put a cap on SSCNET connector. When the connector is not put a cap, the light device may be damaged at the transit. In this case, exchange and repair of light device is required.
![Page 130 of the Mitsubishi Electronics QD77MS2 user manual — [1] Precautions for wiring](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-130.webp?w=400)
Chapter 4 Installation, Wiring and Maintenance of the Product
(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. If the cable is not placed in the duct or secured by clamps, unevenness or movement of the cable or careless pulling on it could result in damage to the unit or cable or defective cable connections could cause mis-operation of the unit.
(3) If a duct is being used, separate the cables to connect the Simple Motion
module from the power line duct, or use metal piping. Ground the pipes securely after metal piping.
(4) Use the twisted pair shielded cable (wire size 0.3 mm2 or more). The
shielded must be grounded on the Simple Motion module side.
(5) Use separate shielded cables of the forced stop input signal (EMI,
EMI.COM), limit signal (FLS, RLS, DOG, STOP), external command signal/switching signal (DI, COM), and manual pulse generator/incremental synchronous encoder input signal (HAH, HAL, HBH, HBL, HA, HB, 5V, SG) for connecting to the Simple Motion module. They can cause electrical interference, surges and inductance that can lead to mis-operation. [Wiring example of shielded cable]
The following shows a wiring example for noise reduction in the case when the connector (A6CON1) is used.
Connector (A6CON1) Shielded cable
For forced stop input signal
![Mitsubishi Electronics QD77MS2 — [1] Precautions for wiring diagram (page 130)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-130-1.webp)
For limit signal, etc.
For manual pulse generator/ Incremental synchronous encoder input signal
To the Simple Motion module
Use the shortest possible length to ground the 2mm2 or more FG wire. (The shield must be grounded on the Simple Motion module side.)
The length between the connector and the shielded cables should be the shortest possible.

Chapter 4 Installation, Wiring and Maintenance of the Product
Grounding of FG wire

Panel

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.

Solder the shield of any one of the shielded cables to the FG wire.
Assembling of connector (A6CON1)

Wrap the coated parts with a heat contractile tube.
![Page 133 of the Mitsubishi Electronics QD77MS2 user manual — [How to ground shielded cable using AD75CK]](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-133.webp?w=400)
Chapter 4 Installation, Wiring and Maintenance of the Product
(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.

(11.82inch)
![Mitsubishi Electronics QD77MS2 — [How to ground shielded cable using AD75CK] diagram (page 133)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-133-2.webp)
Ground terminal installation screw (M4 8 screw)
Using the AD75CK, you can tie four cables of about 7mm (0.28inch) outside diameter together for grounding. (Refer to the "AD75CK-type Cable Clamping Instruction Manual" (IB-68682).)
![Mitsubishi Electronics QD77MS2 — [How to ground shielded cable using AD75CK] diagram (page 133)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-133-3.webp)
Do not ground the cable clamp to the top of control panel. Doing so may lead to damage by
damage of screws, etc. during installation or removing the cable clamp.
Within 30cm · Ground terminal

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. Especially, as optical fiber for MR-J3BUS_M, MR-J3BUS_M-A is made of synthetic resin, it melts down if being left near the fire or high temperature. Therefore, do not make it touched the part which becomes high temperature, such as radiator or regenerative option of servo amplifier and servomotor. Be sure to use optical fiber within the range of operating temperature described in this manual. Read described item of this section carefully and handle it with caution.
Make sure to lay the cable with greater radius than the minimum bend radius. Do not press the cable to edges of equipment or others. For SSCNET cable, the appropriate length should be selected with due consideration for the dimensions and arrangement of Simple Motion module or servo amplifier. When closing the door of control panel, pay careful attention for avoiding the case that SSCNET cable is hold down by the door and the cable bend becomes smaller than the minimum bend radius.
Model name of SSCNET cable Minimum bend radius [mm] ([inch])
If tension is added on the SSCNET cable, the increase of transmission loss occurs because of external force which concentrates on the fixing part of SSCNET cable or the connecting part of SSCNET connector. At worst, the breakage of SSCNET cable or damage of SSCNET connector may occur. For cable laying, handle without putting forced tension. (Refer to Section Appendix 2.1 "SSCNET cables" for the tension strength of SSCNET cable.)
If lateral pressure is added on the SSCNET cable, the cable itself distorts, internal optical fiber gets stressed, and then transmission loss will increase. At worst, the breakage of SSCNET cable may occur. As the same condition also occurs at cable laying, do not tighten up SSCNET cable with a thing such as nylon band (TY-RAP). Do not trample it down or tuck it down with the door of control box or others.

Chapter 4 Installation, Wiring and Maintenance of the Product
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.
When incinerating optical cable (cord) used for SSCNET cable, hydrogen fluoride gas or hydrogen chloride gas which is corrosive and harmful may be generated. For disposal of SSCNET cable, request for specialized industrial waste disposal services that have incineration facility for disposing hydrogen fluoride gas or hydrogen chloride gas.
(6) Wiring process of SSCNET cable Put the SSCNET cable in the duct or fix the cable at the closest part to the Simple Motion module with bundle material in order to prevent SSCNET cable from putting its own weight on SSCNET connector. Leave the following space for wiring.

(Note-1): For wiring duct with 50mm (1.97inch) or less height. For other cases, 40mm (1.58inch) or more. (Note-2): 20mm (0.79inch) or more when the adjacent module is not removed and the extension cable is connected.
Door

Chapter 4 Installation, Wiring and Maintenance of the Product

Optical cord Loose slack
Bundle material Recommended product NK clamp SP type (NIX, INC.)
Panel · Cable
![Page 137 of the Mitsubishi Electronics QD77MS2 user manual — [3] Example of measure against noise for compliance with the EMC](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-137.webp?w=400)
Chapter 4 Installation, Wiring and Maintenance of the Product
directive.
![Mitsubishi Electronics QD77MS2 — [3] Example of measure against noise for compliance with the EMC diagram (page 137)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-137-1.webp)
![Mitsubishi Electronics QD77MS2 — [3] Example of measure against noise for compliance with the EMC diagram (page 137)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-137-2.webp)
1) Ground the cables at a position within 30cm (11.82inch) from the module with the cable clamp, etc. 2) Wire the power supply cable as short as possible using the twisted cable (2mm2 or more). 3) Use the shielded twisted cable (cable length: 30m (98.43ft.) or less) for each I/O signal cable. 4) Wire the cable connected to secondary side of 24VDC power supply module as short as possible. 5) Wire the power supply and 24VDC power supply as short as possible using the cable of approx. 2mm2, and ground to the control panel.
(1) Refer to this chapter or "EMC and Low Voltage Directives" of "QCPU User's
Manual (Hardware Design, Maintenance and Inspection)" for basic wire. We examined QD77MS by the above example. (2) In wiring inside the panel, the power line connected to the power or servo
amplifier and the communication cable such as an expansion cable or a network cable must not be mixed. In the duct, leave 10cm (3.94inch) or more between the power line and the communication cable, and separate using a separator (made of metal), etc. It is required in the same control panel as well. Mixing the power line and communication cable may cause increase of noise or malfunction due to noise influence.

Chapter 4 Installation, Wiring and Maintenance of the Product
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.
Is the module correctly wired?
The following four points are confirmed using the positioning test function of GX Works2. With this function, "whether the direction that the Simple Motion module recognizes as forward run matches the address increment direction in the actual positioning work", and "whether the Simple Motion module recognizes the external input signals such as the manual pulse generator and forced stop", etc., can be checked.
Are the Simple Motion module and servo amplifier correctly connected?
Are the servo amplifier and servomotor correctly connected?
Are the Simple Motion module and external devices (input signals) correctly
Are the servo amplifier and external wiring (FLS, RLS, and DOG) correctly
Refer to the "Simple Motion Module Setting Tool Help" of GX Works2 for details of "Positioning test function".
Important If the Simple Motion module is faulty, or when the required signals such as the near-point dog signal and forced stop signal are not recognized, unexpected accidents such as "not decelerating at the near- point dog during machine OPR and colliding with the stopper", or "not being able to stop with the forced stop signal" may occur. Execute a checking wiring of external input signal. The connection confirmation by positioning test function must be carried out not only when structuring the positioning system, but also when the system has been changed with module replacement or rewiring, etc.
connected? · connected?

Chapter 4 Installation, Wiring and Maintenance of the Product
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.
Completely turn off the externally supplied power used in the system before clearing or
tightening the connector screws. Not doing so could result in electric shocks.
Never try to disassemble or modify the modules.
It may cause product failure, operation failure, injury or fires. Completely turn off the externally supplied power used in the system before installation or
removing the module. Not doing so could result in electric shock, damage to the module or operation failure.
When you discard a Simple Motion module, a servo amplifier, a battery (primary battery) and other option articles, please follow the law of each country (area).
This product is not designed or manufactured to be used in equipment or systems in situations
that can affect or endanger human life. When considering this product for operation in special applications such as machinery or
systems used in passenger transportation, medical, aerospace, atomic power, electric power, or submarine repeating applications, please contact your nearest Mitsubishi sales representative.
Although this product was manufactured under conditions of strict quality control, you are
strongly advised to install safety devices to forestall serious accidents when it is used in facilities where a breakdown in the product is likely to cause a serious accident.

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. The parameters and data include parameters set according to the device configuration, such as the system configuration, and parameters and data set according to each control. Read this section thoroughly and make settings according to each control or application.
: Refer to "Section 2" for details on each control.
5.1 Types of data 5- 2 5.1.1 Parameters and data required for control 5- 2 5.1.2 Setting items for positioning parameters 5- 5 5.1.3 Setting items for OPR parameters 5- 7 5.1.4 Setting items for expansion parameters 5- 8 5.1.5 Setting items for servo parameters 5- 8 5.1.6 Setting items for positioning data 5- 9 5.1.7 Setting items for block start data 5-11 5.1.8 Setting items for condition data 5-12 5.1.9 Types and roles of monitor data 5-13 5.1.10 Types and roles of control data 5-18 5.2 List of parameters 5-22 5.2.1 Basic parameters 1 5-22 5.2.2 Basic parameters 2 5-28 5.2.3 Detailed parameters 1 5-29 5.2.4 Detailed parameters 2 5-40 5.2.5 OPR basic parameters 5-52 5.2.6 OPR detailed parameters 5-60 5.2.7 Expansion parameters 5-65 5.2.8 Servo parameters 5-70 5.3 List of positioning data 5-83 5.4 List of block start data 5-99 5.5 List of condition data 5-105 5.6 List of monitor data 5-116 5.6.1 System monitor data 5-116 5.6.2 Axis monitor data 5-130 5.7 List of control data 5-158 5.7.1 System control data 5-158 5.7.2 Axis control data 5-166 5.7.3 Expansion axis control data 5-200

Chapter 5 Data Used for Positioning Control
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.
(Data set beforehand according to the machine and application, and stored in the flash ROM or internal memory (nonvolatile).)
Set according to the machine and applicable motor when the system is started up.
Set according to the system configuration when the system is started up.
OPR parameters Set the values required for carrying out OPR control.
Expansion parameters Set according to the system configuration when the system is started up.
Servo parameters Servo series
Set the data that is determined by the specification of the servo being used when the system is started up.
Servo amplifier parameters (PA, PB, PC, PD, PE, PS, PF, Po, PL)
Positioning data Positioning data Set the data for "major positioning control".
Block start data Set the block start data for "high-level positioning control".
Set the condition data for "high-level positioning control".
Set the condition judgment values for the condition data used in "high-level positioning control".
Synchronous control data Set the data for synchronous control.

Chapter 5 Data Used for Positioning Control
The following methods are available for data setting:
control 10 x multiplier setting for degree axis", "[Pr.89] Manual pulse generator/Incremental synchronous encoder input type selection", "[Pr.90] Operation setting for speed-torque control mode" and "[Pr.95] External command signal selection" become valid when the PLC READY signal [Y0] turns from OFF to ON. The basic parameters 2, detailed parameters 2 (Note that this excludes "[Pr.83]
Speed control 10 x multiplier setting for degree axis", "[Pr.89] Manual pulse generator/Incremental synchronous encoder input type selection", "[Pr.90] Operation setting for speed-torque control mode" and "[Pr.95] External command signal selection".) become valid immediately when they are written to the buffer memory, regardless of the state of the PLC READY signal [Y0]. Even when the PLC READY signal [Y0] is ON, the values or contents of the
following can be changed: basic parameters 2, detailed parameters 2, positioning data, and block start data. The expansion parameter and servo parameter is transmitted from the Simple
Motion module to the servo amplifier when the initialized communication carried out after the power supply is turned ON or the PLC CPU is reset. The power supply is turned ON or the PLC CPU is reset after writing servo parameter in flash ROM of Simple Motion module if the servo parameter is transmitted to the servo amplifier. The following servo parameter in the buffer memory is transmitted to the servo amplifier when the PLC READY [Y0] turns from OFF to ON.
positioning data or block start data are the data read at the moment when a positioning or JOG operation is started. Once the operation has started, any modification to the data is ignored. Exceptionally, however, modifications to the following are valid even when they are made during a positioning operation: acceleration time 0 to 3, deceleration time 0 to 3, and external command function.

Chapter 5 Data Used for Positioning Control
Monitor data (Data that indicates the control state. Stored in the buffer memory, and monitors as necessary.)
Monitors the specifications and the operation history of Simple Motion module.
Monitors the data related to the operating axis, such as the current position and speed.
Monitors the data for synchronous control.
The following methods are available for data monitoring:
(Data for user to control positioning system.) Control data
Writes/initializes the "positioning data" in the module. Sets the setting for operation of all axes. System control data
Makes settings related to the operation, and controls the speed change during operation, and stops/restarts the operation for each axis. Axis control data
Output signals (axis stop signal, JOG start signal and execution prohibition flag) from PLC CPU to Simple Motion module. Expansion axis control data
Sets the data for synchronous control. Synchronous control data
Control using the control data is carried out with the sequence program.
"[Cd.41] Deceleration start flag valid" is valid for only the value at the time when the PLC READY signal [Y0] turns from OFF to ON.
POINT (1) The "setting data" is created for each axis. (2) The "setting data" parameters have determined default values, and are set to
the default values before shipment from the factory. (Parameters related to axes that are not used are left at the default value.) (3) The "setting data" can be initialized with GX Works2 or the sequence program. (4) It is recommended to set the "setting data" with GX Works2. The sequence
program for data setting is complicated and many devices must be used. This will increase the scan time.
System monitor data · Axis monitor data · Synchronous control data

Chapter 5 Data Used for Positioning Control
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". For details of setting items, refer to Section 5.2 "List of parameters".
Major positioning control Manual control Expansion
Speed-position or position-speed control
1-axis linear control 2/3/4-axis linear interpolation control
JUMP instruction, NOP instruction,
2-axis circular interpolation control
Manual pulse generator operation
1-axis fixed-feed control 2/3/4-axis fixed-feed control
1 to 4 axis speed control
[Pr.1] Unit setting –
[Pr.2] Number of pulses per rotation (AP) (Unit: PLS)
13.3.2 [Pr.3] Movement amount per rotation (AL)
[Pr.4] Unit magnification (AM)
[Pr.7] Bias speed at start –
[Pr.8] Speed limit value – – – 13.4.1
[Pr.9] Acceleration time 0 –
13.7.6 [Pr.10] Deceleration time 0 –
[Pr.11] Backlash compensation amount – – – 13.3.1
[Pr.12] Software stroke limit upper limit value – – –
13.4.3 [Pr.13] Software stroke limit lower limit value – – –
[Pr.14] Software stroke limit selection – – –
[Pr.15] Software stroke limit valid/invalid setting –
[Pr.16] Command in-position width – 13.7.5
[Pr.17] Torque limit setting value – – 13.4.2
[Pr.18] M code ON signal output timing – 13.7.3
[Pr.19] Speed switching mode –
[Pr.20] Interpolation speed designation method –
[Pr.21] Current feed value during speed control –
[Pr.22] Input signal logic selection –
[Pr.24] Manual pulse generator/Incremental
synchronous encoder input selection –
[Pr.80] External input signal selection 14.4
[Pr.81] Speed-position function selection –
[Pr.82] Forced stop valid/invalid selection 13.4.5 : Always set : Set as required ("–" when not required) : Setting not possible : Setting restricted – : Setting not required (The setting value is invalid. When the value is the default value or within the setting range, there is no problem.)

Chapter 5 Data Used for Positioning Control
Major positioning control Manual control Expansion
Speed-position or position-speed control
1-axis linear control 2/3/4-axis linear interpolation control
2-axis circular interpolation control
JUMP instruction, NOP instruction,
Manual pulse generator operation
1-axis fixed-feed control 2/3/4-axis fixed-feed control
1 to 4 axis speed control
[Pr.25] Acceleration time 1 –
[Pr.26] Acceleration time 2 –
[Pr.27] Acceleration time 3 –
[Pr.28] Deceleration time 1 –
[Pr.29] Deceleration time 2 –
[Pr.30] Deceleration time 3 –
[Pr.31] JOG speed limit value – 13.4.1
[Pr.32] JOG operation acceleration time selection –
[Pr.33] JOG operation deceleration time selection –
[Pr.34] Acceleration/deceleration process selection –
13.7. 6 [Pr.35] S-curve ratio –
[Pr.36] Sudden stop deceleration time –
[Pr.37] Stop group 1 sudden stop selection –
[Pr.38] Stop group 2 sudden stop selection –
[Pr.39] Stop group 3 sudden stop selection –
[Pr.40] Positioning complete signal output time –
[Pr.41] Allowable circular interpolation error width –
[Pr.42] External command function selection – 13.5.1 13.7.2
[Pr.83] Speed control 10 x multiplier setting for
degree axis – – 13.7.10
[Pr.84] Restart allowable range when servo OFF
to ON – 5.2.4
[Pr.89] Manual pulse generator/Incremental
synchronous encoder input type selection – 5.2.4
[Pr.90] Operation setting for speed-torque control
mode – 12.1
[Pr.95] External command signal selection
– : Always set : Set as required ("–" when not required) – : Setting not required (The setting value is invalid. When the value is the default value or within the setting range, there is no problem.)
Checking the positioning parameters
[Pr.1] to [Pr.90], [Pr.95] are checked with the following timing. When the "PLC READY signal [Y0]" output from the PLC CPU to the Simple
Motion module changes from OFF to ON. When the positioning test of GX Works2 is executed.
"High-level positioning control" is carried out in combination with the "major positioning control". Refer to the "major positioning control" parameter settings for details on the parameters required for "high-level positioning control".

Chapter 5 Data Used for Positioning Control
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" for details on the "OPR control", and refer to Section 5.2 "List of parameters" for details on each setting item.

OPR control OPR parameters Machine OPR control Fast OPR control
[Pr.53] OP shift amount S S S – S
[Pr.56] Speed designation during OP shift S S S – S Preset parameters are used for machine OPR control. [Pr.57] Dwell time during OPR retry R R R – –
: Always set : Set as required – : Setting not required (The setting value is invalid. When the value is the default value or within the setting range,
there is no problem.) R : Set when using the "13.2.1 OPR retry function" ("–" when not set) S : Set when using the "13.2.2 OP shift function" ("–" when not set)
[Pr.43] to [Pr.57] are checked with the following timing.
When the "PLC READY signal [Y0]" output from the PLC CPU to the Simple
Motion module changes from OFF to ON. When the positioning test of GX Works2 is executed.

Chapter 5 Data Used for Positioning Control
The setting items for the "expansion parameters" are shown below. The "expansion parameters" are set for each axis. Refer to "Section 2" for details on the each control, and refer to Section 5.2 "List of parameters" for details on each setting item.

The servo parameters are used to control the servo motor and the data that is determined by the specification of the servo amplifier being used. The setting item is different depending on the servo amplifier being used. Refer to Section 5.2.8 "Servo parameters" for details.

[Pr.100] Servo series Set the servo series connected to Simple Motion module.
Setting items are different according to the servo series.

Chapter 5 Data Used for Positioning Control
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". For details of the individual setting items, refer to Section 5.3 "List of positioning data".

[Da.3] Acceleration time No. –
[Da.4] Deceleration time No. –
: 2 axes –: 1 axis, 3 axes, 4 axes –
[Da.6] Positioning address/ movement amount – – New address – – –
[Da.7] Arc address –
[Da.9] Dwell time/JUMP destination positioning data No. – – –
M code/Condition data No./Number of LOOP to LEND repetitions
: Always set : Set as required ("–" when not required) : Setting not possible (If set, the error "Continuous path control not possible" (error code: 516) will occur at start.) – : Setting not required
(The setting value is invalid. When the value is the default value or within the setting range, there is no problem.) : Two control systems are available: the absolute (ABS) system and incremental (INC) system.

Chapter 5 Data Used for Positioning Control

: 2 axes, 3 axes, 4 axes –: 1 axis –
: 3 axes, 4 axes –: 1 axis, 2 axes –
: 4 axes –: 1 axis, 2 axes, 3 axes – : Always set : Set as required ("–" when not required) : Setting not possible (If set, the error "Continuous path control not possible" (error code: 516) will occur at start.) – : Setting not required
(The setting value is invalid. When the value is the default value or within the setting range, there is no problem.) : Two control systems are available: the absolute (ABS) system and incremental (INC) system.
[Da.1] to [Da.10], [Da.20] to [Da.22] are checked at the following timings:
Startup of a positioning operation

Chapter 5 Data Used for Positioning Control
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" for details on the "high-level positioning control", and to Section 5.4 "List of block start data" for details on each setting item.

[Da.14] Parameter – : Set as required ("–" when not required) – : Setting not required (The setting value is invalid. When the value is the default value or within the setting range, there is no
problem.)
[Da.11] to [Da.14] are checked with the following timing.
When "Block start data" starts

Chapter 5 Data Used for Positioning Control
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" items can be set for each axis. Refer to Chapter 10 "High-Level Positioning Control" for details on the "high-level positioning control", and to Section 5.5 "List of condition data" for details on each setting item.

: Set as required ("–" when not required) : Setting limited – : Setting not required (The setting value is invalid. When the value is the default value or within the setting range, there is no
problem.)
[Da.15] to [Da.19], [Da.23] to [Da.26] are checked with the following timing.
When "Block start data" starts When "JUMP instruction" starts
![Page 152 of the Mitsubishi Electronics QD77MS2 user manual — [1] Monitoring the system](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-152.webp?w=400)
Chapter 5 Data Used for Positioning Control
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. The following data are available for monitoring.
System monitoring:
Monitoring of the specification and operation history of Simple Motion module (system monitor data [Md.1] to [Md.19], [Md.50] to [Md.59], [Md.61], [Md.130] to [Md.135])
Axis operation monitoring:
Monitoring of the current position and speed, and other data related to the movements of axes (axis monitor data [Md.20] to [Md.48], [Md.100] to [Md.116], [Md.120] to [Md.125], [Md.500], [Md.502])
![Mitsubishi Electronics QD77MS2 — [1] Monitoring the system diagram (page 152)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-152-1.webp)
Whether the system is in the test mode or not [Md.1] In test mode flag
Pointer No. next to the pointer No. where the latest history is stored [Md.8] Start history pointer
Axis in which the error occurred [Md.9] Axis in which the error occurred
Driver operation alarm number [Md.61] Driver operation alarm number
Pointer No. next to the pointer No. where the latest history is stored [Md.13] Error history pointer

Chapter 5 Data Used for Positioning Control
Monitoring details Corresponding item
Axis in which the warning occurred [Md.14] Axis in which the warning occurred
Axis warning No. [Md.15] Axis warning No.
Servo warning [Md.58] Servo warning
History of all warnings
Pointer No. next to the pointer No. where the latest history is stored [Md.18] Warning history pointer
Number of write accesses to the flash ROM after the power is switched ON
Number of write accesses to flash ROM [Md.19] Number of write accesses to flash ROM
Forced stop input signal (EMI) turn ON/OFF
Forced stop input signal (EMI) information [Md.50] Forced stop input
Monitor whether the system is in amplifier-less operation [Md.51] Amplifier-less operation mode status
Monitor the detection status of axis that set communication between amplifiers [Md.52] Communication between amplifiers axes searching flag
Monitor the connect/disconnect status of SSCNET communication [Md.53] SSCNET control status
Monitor the first five digits of product information [Md.130] OS version
Monitor the RUN status of digital oscilloscope [Md.131] Digital oscilloscope executing
Monitor the current operation cycle. [Md.132] Operation cycle setting
Monitor whether the operation cycle time exceeds operation cycle. [Md.133] Operation cycle over flag
Monitor the time that took for operation every operation cycle. [Md.134] Operation time
Monitor the maximum value of operation time after each module's power supply ON. [Md.135] Maximum operation time
Store the module information [Md.59] Module information
Axis warning occurrence

Chapter 5 Data Used for Positioning Control
Monitoring the position
Monitor details Corresponding item
Monitor the current machine feed value [Md.21] Machine feed value
Monitor the current "current feed value" [Md.20] Current feed value
Monitor the current target value [Md.32] Target value
Monitor details Corresponding item
Indicates the speed of each axis
During independent axis control
When "0:
Composite speed" is set for "[Pr.20] Interpolation speed designation method"
Indicates the composite speed
[Md.22] Feedrate During interpolation control
Monitor the current speed
When "1:
Reference axis speed" is set for "[Pr.20] Interpolation speed designation method"
Indicates the reference axis speed
Monitor "[Da.8] Command speed" currently being executed. [Md.27] Current speed
Constantly indicates the speed of each axis [Md.28] Axis feedrate
Monitor the current target speed [Md.33] Target speed
Monitor the command speed at speed control mode or continuous operation to torque control mode in the speed-torque control [Md.122] Speed during command

Chapter 5 Data Used for Positioning Control
Monitor details Corresponding item
Monitor the real current value (current feed value - deviation counter). [Md.101] Real current value
Monitor the difference between current feed value and real current value. [Md.102] Deviation counter value
Monitor the motor speed of servo motor. [Md.103] Motor rotation speed
Monitor the current value of servo motor. [Md.104] Motor current value
Monitor the software No. of servo amplifier. [Md.106] Servo amplifier software No.
Monitor the parameter No. that an error occurred. [Md.107] Parameter error No.
[Md.108] Servo status
[Md.125] Servo status3
Monitor the status (servo status) of servo amplifier.
[Md.500] Servo status7
[Md.109] Regenerative load ratio/Optional data
[Md.110] Effective load torque/Optional data
[Md.111] Peak torque ratio/Optional data monitor
Monitor the content of "[Pr.94] Optional data monitor: Data type setting 4" at optional data monitor data type setting. [Md.112] Optional data monitor output 4
Monitor the status of semi closed loop control/fully closed loop control. [Md.113] Semi/Fully closed loop status
Monitor the alarm of servo amplifier. [Md.114] Servo alarm
Monitor the option information of encoder. [Md.116] Encoder option information
Monitor the driver operation alarm number. [Md.502] Driver operation alarm number
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.
[Md.30] External input signal
Monitor the external input/output signal and flag
[Md.31] Status
Monitor the valid M codes [Md.25] Valid M code
Monitor whether the speed is being limited [Md.39] In speed limit flag
Monitor whether the speed is being changed [Md.40] In speed change processing flag
Monitor the "start data" point currently being executed [Md.43] Start data pointer being executed
Monitor the "positioning data No." currently being executed [Md.44] Positioning data No. being executed
Monitor the remaining number of repetitions (special start) [Md.41] Special start repetition counter
Monitor the remaining number of repetitions (control system) [Md.42] Control system repetition counter
monitor output 1 · monitor output 2 · output 3

Chapter 5 Data Used for Positioning Control
Monitor details Corresponding item
Monitor the block No. [Md.45] Block No. being executed
[Md.35] Torque limit stored value/forward torque limit stored value
Monitor the current torque limit value
[Md.120] Reverse torque limit stored value
Monitor the command torque at torque control mode or continuous operation to torque control mode in the speed-torque control. [Md.123] Torque during command
Monitor the switching status of control mode. [Md.124] Control mode switching status
Monitor the "instruction code" of the special start data when using special start [Md.36] Special start data instruction code setting value
Monitor the "instruction parameter" of the special start data when using special start [Md.37] Special start data instruction parameter setting value
Monitor the "start data No." of the special start data when using special start [Md.38] Start positioning data No. setting value
Monitor the "positioning data No." executed last [Md.46] Last executed positioning data No.
Monitor the positioning data currently being executed [Md.47] Positioning data being executed
Monitor the movement amount after the current position control switching when using "speed-position switching control". [Md.29] Speed-position switching control positioning amount
Monitor switching from the constant speed status or acceleration status to the deceleration status during position control whose operation pattern is "Positioning complete"
[Md.48] Deceleration start flag
Monitor the movement amount from near-point dog ON to machine OPR completion. [Md.34] Movement amount after near-point dog ON
Monitor the distance that travels to zero point after stop once at OPR. [Md.100] OPR re-travel value
![Page 157 of the Mitsubishi Electronics QD77MS2 user manual — [1] Controlling the system data](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-157.webp?w=400)
Chapter 5 Data Used for Positioning Control
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.
Controlling the system data :
Setting and resetting "setting data" of Simple Motion module (system control data [Cd.1], [Cd.2], [Cd.47])
Controlling the operation :
Setting operation parameters, changing speed during operation, interrupting or restarting operation, etc. (system control data [Cd.41], [Cd.42], [Cd.44], [Cd.102], [Cd.137], axis control data [Cd.3] to [Cd.40], [Cd.43], [Cd.45], [Cd.46], [Cd.100], [Cd.101], [Cd.108], [Cd.112], [Cd.113], [Cd.130] to [Cd.133], [Cd.136] to [Cd.154], expansion axis control data [Cd.180] to [Cd.183])
Setting and resetting the setting data
Control details Controlled data item
Write setting data from buffer memory to flash ROM. [Cd.1] Flash ROM write request
Reset (initialize) parameters. [Cd.2] Parameter initialization request
Set initial value of QD75MH in setting data. [Cd.47] QD75MH initial value setting request

Chapter 5 Data Used for Positioning Control
Controlling the operation
Control details Corresponding item
Set which positioning to execute (start No.). [Cd.3] Positioning start No.
Clear (reset) the axis error ([Md.23]) and warning ([Md.24]). [Cd.5] Axis error reset
Issue instruction to restart (When axis operation is stopped). [Cd.6] Restart command
Stop axis in control. [Cd.180] Axis stop QD77MS16
[Cd.181] Forward run JOG start QD77MS16
Execute start request of JOG operation or inching operation.
[Cd.182] Reverse run JOG start QD77MS16
Execute pre-reading at positioning start. [Cd.183] Execution prohibition flag QD77MS16
Set start point No. for executing block start. [Cd.4] Positioning starting point No.
Stop continuous control. [Cd.18] Interrupt request during continuous operation
Set number of simultaneous starting axes and target axis. [Cd.43] Simultaneous starting axis QD77MS16
Simultaneous starting axis start data No. (axis 1 start data No.) QD77MS2 QD77MS4
Set axis 1 start data Nos. for axes that start up simultaneously.
[Cd.30]
Set start data No. of own axis at multiple axes simultaneous starting. Simultaneous starting own axis start data No. QD77MS16
Simultaneous starting axis start data No. (axis 2 start data No.) QD77MS2 QD77MS4
Set axis 2 start data Nos. for axes that start up simultaneously.
[Cd.31]
Set start data No.1 for axes that start up simultaneously. Simultaneous starting axis start data No.1
Simultaneous starting axis start data No. (axis 3 start data No.) QD77MS4
Set axis 3 start data Nos. for axes that start up simultaneously.
[Cd.32]
Set start data No.2 for axes that start up simultaneously. Simultaneous starting axis start data No.2
Simultaneous starting axis start data No. (axis 4 start data No.) QD77MS4
Set axis 4 start data Nos. for axes that start up simultaneously.
[Cd.33]
Set start data No.3 for axes that start up simultaneously. Simultaneous starting axis start data No.3
Specify write destination for teaching results. [Cd.38] Teaching data selection
Specify data to be taught. [Cd.39] Teaching positioning data No.
Set the status of the external input signal (upper/lower limit switch signal, near-point dog signal, stop signal). [Cd.44] External input signal operation device

Stop positioning operation after each operation. [Cd.35] Step valid flag
Set unit to carry out step. [Cd.34] Step mode
Continuous operation from stopped step. [Cd.36] Step start information

Chapter 5 Data Used for Positioning Control
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 [Cd.14] value. (Only during positioning operation and JOG operation). [Cd.15] Speed change request
Change positioning operation speed between 1 and 300% range. [Cd.13] Positioning operation speed override
Set inching movement amount. [Cd.16] Inching movement amount
Set JOG speed. [Cd.17] JOG speed
When changing acceleration time during speed change, set new acceleration time. [Cd.10] New acceleration time value
When changing deceleration time during speed change, set new deceleration time. [Cd.11] New deceleration time value
Acceleration/deceleration time change during speed change, enable/disable selection
Set acceleration/deceleration time validity during speed change. [Cd.12]

Control details Corresponding item
Turn M code ON signal OFF. [Cd.7] M code OFF request
Set new value when changing current value. [Cd.9] New current value
Validate switching signal set in "[Cd.45] Speed-position switching device selection". [Cd.24] Speed-position switching enable flag
Change movement amount for position control during speed- position switching control (INC mode). [Cd.23] Speed-position switching control movement amount change register
Validate switching signal set in "[Cd.45] Speed-position switching device selection". [Cd.26] Position-speed switching enable flag
Change speed for speed control during position-speed switching control. [Cd.25] Position-speed switching control speed change register
Set up a flag when target position is changed during positioning. [Cd.29] Target position change request flag
Set new positioning address when changing target position during positioning. [Cd.27] Target position change value(New address)
Set new speed when changing target position during positioning. [Cd.28] Target position change value(New speed)
Set absolute (ABS) moving direction in degrees. [Cd.40] ABS direction in degrees
Set manual pulse generator operation validity. [Cd.21] Manual pulse generator enable flag
Set scale per pulse of number of input pulses from manual pulse generator. [Cd.20] Manual pulse generator 1 pulse input magnification
Change OPR request flag from "ON to OFF". [Cd.19] OPR request flag OFF request
Validate external command signal. [Cd.8] External command valid

Chapter 5 Data Used for Positioning Control
Control details Corresponding item
Set "same setting/individual setting" of the forward torque limit value or reverse torque limit value in the torque change function. [Cd.112] Torque change function switching request
Change "[Md.35] Torque limit stored value/forward torque limit stored value". [Cd.22] New torque value/forward new torque value
Change "[Md.120] Reverse torque limit stored value". [Cd.113] Reverse new torque value
Set whether "[Md.48] Deceleration start flag" is valid or invalid [Cd.41] Deceleration start flag valid
Set the stop command processing for deceleration stop function (deceleration curve re-processing/deceleration curve continuation) [Cd.42] Stop command processing for deceleration stop selection
Set the device used for speed-position switching. [Cd.45] Speed-position switching device selection
Switch speed-position control. [Cd.46] Speed-position switching command
Turn the servo OFF for each axis. [Cd.100] Servo OFF command
Set torque limit value [Cd.101] Torque output setting value
Set the connect/disconnect of SSCNET communication. [Cd.102] SSCNET control command
Set whether gain changing is execution or not. [Cd.108] Gain changing command
Set the semi closed loop control/fully closed loop control. [Cd.133] Semi/Fully closed loop switching request
Set the PI-PID switching to servo amplifier. [Cd.136] PI-PID switching request
Switch the control mode. [Cd.138] Control mode switching request
Set the control mode to switch. [Cd.139] Control mode setting
Set the command speed during speed control mode. [Cd.140] Command speed at speed control mode
Set the acceleration time during speed control mode. [Cd.141] Acceleration time at speed control mode
Set the deceleration time during speed control mode. [Cd.142] Deceleration time at speed control mode
Set the command torque during torque control mode. [Cd.143] Command torque at torque control mode
Set the time constant at driving of torque control mode.
[Cd.144] Torque time constant at torque control
Set the time constant at regeneration of torque control mode.
[Cd.145] Torque time constant at torque control
Set the speed limit value during torque control mode. [Cd.146] Speed limit value at torque control mode
Set the command speed during continuous operation to torque control mode.
[Cd.147] Speed limit value at continuous operation
to torque control mode
Set the acceleration time during continuous operation to torque control mode.
[Cd.148] Acceleration time at continuous operation
to torque control mode
Set the deceleration time during continuous operation to torque control mode.
[Cd.149] Deceleration time at continuous operation
to torque control mode
Set the target torque during continuous operation to torque control mode.
[Cd.150] Target torque at continuous operation to
Torque time constant at continuous operation to torque control mode (Forward direction)
Set the time constant at driving of continuous operation to torque control mode.
[Cd.151]
Torque time constant at continuous operation to torque control mode (Negative direction)
Set the time constant at regeneration of continuous operation to torque control mode.
[Cd.152]
Set the switching conditions for switching to continuous operation to torque control mode.
[Cd.153] Control mode auto-shift selection
Set the condition value when "[Cd.153] Control mode auto-shift selection" is set.
[Cd.154] Control mode auto-shift parameter

Chapter 5 Data Used for Positioning Control
The setting items of the positioning parameter, OPR parameter or servo parameter 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. such as the following table.

Axis No. n Axis No. n Axis No. n Axis No. n
(Note-1): Calculate as follows for the buffer memory address corresponding to each axis.
(Example) For axis No. 16
1+150n ([Pr.4] Unit magnification (AM))=1+150 15=2251
(Note-2): The range from axis No.1 to 2 (n=0 to 1) is valid in the QD77MS2. (Note-3): The range from axis No.1 to 4 (n=0 to 3) is valid in the QD77MS4. 5.2.1 Basic parameters 1

Value set with GX Works2 Value set with sequence
[Pr.2] Number of pulses per rotation (AP) (Unit : PLS)
1 to 200000000 1 to 200000000 20000 2+150n 3+150n
The setting value range differs according to the "[Pr.1] Unit setting". 20000 4+150n 5+150n
The setting value range differs according to the "[Pr.1] Unit setting". 0 6+150n 7+150n
n: Axis No.-1
![Page 162 of the Mitsubishi Electronics QD77MS2 user manual — [Pr.2] to [Pr.4] Electronic gear (Movement amount per pulse)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-162.webp?w=400)
Chapter 5 Data Used for Positioning Control
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
: When you change the unit, note that the values of other parameters and data
will not be changed automatically. After changing the unit, check if the parameter and data values are within the allowable range. Set "degree" to exercise speed-position switching control (ABS mode).
Mechanical system value used when the Simple Motion module performs positioning control. The settings are made using [Pr.2] to [Pr.4]. The electronic gear is expressed by the following equation.
Electronic gear = Number of pulses per rotation (AP) Movement amount per rotation (AL) Unit magnification (AM)
: When positioning has been performed, an error (mechanical system error) may
be produced between the specified movement amount and the actual movement amount. (Refer to Section 13.3.2 "Electronic gear function".)

Chapter 5 Data Used for Positioning Control
POINT (1) Set the electronic gear within the following range.
If the value outside the setting range is set, the error "Outside electronic gear setting range" (error code: 907) will occur.
: For the movement amount per rotation (AL) which is used for the calculation of the
electronic gear above, convert into the unit shown in the "Value set with sequence
program" of the table in "[Pr.3] Movement amount per rotation (AL)" and "[Pr.4] Unit
magnification (AM)".
(2) The result of below calculation (round up after decimal point) is a minimum
pulse when the current feed value is updated at follow-up processing. (The movement amount for droop pulse is reflected as the current feed value when the droop pulse becomes more than above calculated value in pulse unit of motor end.)
Number of pulses per rotation (AP) (Movement amount per rotation (AL) Unit
Refer to Section 13.8.2 for the follow-up processing.
(Example) • When an error does not occur In the case of AP = 4194304 [PLS], AL = 2000000 [ 10-5 degree], and AM = 1, the value is within the range as follows.
4194304 2000000 1 = 2.097152
4194304 10 1 = 419430.4
magnification (AM) 3375)[PLS] · Electronic gear = · Electronic gear =
![Page 164 of the Mitsubishi Electronics QD77MS2 user manual — [Pr.3] Movement amount per rotation (AL), [Pr.4] Unit magnification (AM)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-164.webp?w=400)
Chapter 5 Data Used for Positioning Control
Set the number of pulses required for a complete rotation of the motor shaft. If you are using the Mitsubishi servo amplifier MR-J4(W)-B/MR-JE-B/MR-J3(W)-B, set the value given as the "resolution per servomotor rotation" in the speed/position detector specifications.
Number of pulses per rotation (AP) = Resolution per servomotor rotation
The amount how the workpiece moves with one motor rotation is determined by the mechanical structure. If the worm gear lead (m/rev) is PB and the deceleration rate is 1/n, then
Movement amount per rotation (AL) = PB 1/n
However, the maximum value that can be set for this "movement amount per rotation (AL)" parameter is 20000000.0m (20m). Set the "movement amount per rotation (AL)" as shown below so that the "movement amount per rotation (AL)" does not exceed this maximum value.
Movement amount per rotation (AL)
= PB 1/n = Movement amount per rotation (AL) Unit magnification (AM)
1/n" value exceeds 20000000.0m (20m), adjust with the unit magnification so that the "movement amount per rotation (AL)" does not exceed 20000000.0m (20m).
[Pr.1] setting value Value set with GX Works2
Value set with sequence program
(unit) · (unit)
![Page 165 of the Mitsubishi Electronics QD77MS2 user manual — [Pr.7] Bias speed at start](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-165.webp?w=400)
Chapter 5 Data Used for Positioning Control
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" will be valid during the following operations:
Set the value that the bias speed should not exceed "[Pr.8] Speed limit value".
![Mitsubishi Electronics QD77MS2 — [Pr.7] Bias speed at start diagram (page 165)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-165-1.webp)
[Pr.1] setting value Value set with GX Works2 (unit) Value set with sequence program (unit)
![Mitsubishi Electronics QD77MS2 — [Pr.7] Bias speed at start diagram (page 165)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-165-2.webp)

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 "[Pr.20] Interpolation speed designation method".
to the composite command speed.
"1: Reference axis speed": Bias speed at start is applied to the reference axis.
(a) "[Pr.7] Bias speed at start" is valid regardless of motor type. Set "0" when
using the motor other than the stepping motor. Otherwise, it may cause vibration or impact even though an error does not occur.
(b) Set "[Pr.7] Bias speed at start" according to the specification of stepping
motor driver. If the setting is outside the range, it may cause the following troubles by rapid speed change or overload. Stepping motor steps out. An error occurs in the stepping motor driver.
(c) In synchronous control, when "[Pr.7] Bias speed at start" is set to the
servo input axis, the bias speed at start is applied to the servo input axis. Note that the unexpected operation might be generated to the output axis.
(d) Set "[Pr.7] Bias speed at start" within the following range.
"[Pr.8] Speed limit value" >= "[Pr.46] OPR speed" >= "[Pr.47] Creep speed" >= "[Pr.7] Bias speed at start"
(e) If following data are less than "[Pr.7] Bias speed at start", the warning
"Below bias speed" (warning code: 114) will occur, and it will operate at "[Pr.7] Bias speed at start". "[Da.8] Command speed" of positioning data "[Da.8] Command speed" of next point for continuous path control "[Cd.14] New speed value" for speed change function
(f) When using S-curve acceleration/deceleration processing and bias speed
at start together, S-curve acceleration/deceleration processing is carried out based on the acceleration/deceleration time set by user, "[Pr.8] Speed limit value" and "[Pr.35] S-curve ratio" (1 to 100%) in the section of acceleration/deceleration from bias speed at start to command speed.
(1) Precautionary notes
![Page 167 of the Mitsubishi Electronics QD77MS2 user manual — [Pr.9] Acceleration time 0, [Pr.10] Deceleration time 0](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-167.webp?w=400)
Chapter 5 Data Used for Positioning Control

Value set with GX Works2 Value set with sequence
Speed limit value The setting range differs depending on the "[Pr.1] Unit setting". 200000 10+150n 11+150n [Pr.9]
Acceleration time 0 1 to 8388608 (ms) 1 to 8388608 (ms) 1000 12+150n 13+150n [Pr.10]
Deceleration time 0 1 to 8388608 (ms) 1 to 8388608 (ms) 1000 14+150n 15+150n
n: Axis No.-1
Set the maximum speed during positioning, OPR and speed-torque operations.
![Mitsubishi Electronics QD77MS2 — [Pr.8] Speed limit value diagram (page 167)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-167-2.webp)
[Pr.1] setting value Value set with GX Works2 (unit) Value set with sequence program (unit)
"[Pr.9] Acceleration time 0" specifies the time for the speed to increase from zero to the "[Pr.8] Speed limit value" ("[Pr.31] JOG speed limit value" at JOG operation control). "[Pr.10] Deceleration time 0" specifies the time for the speed to decrease from the "[Pr.8] Speed limit value" ("[Pr.31] JOG speed limit value" at JOG operation control) to zero.
![Mitsubishi Electronics QD77MS2 — [Pr.9] Acceleration time 0, [Pr.10] Deceleration time 0 diagram (page 167)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-167-3.webp)

Chapter 5 Data Used for Positioning Control
Setting value, setting range
Value set with GX Works2 Value set with sequence
[Pr.11] Backlash compensation amount
[Pr.12] Software stroke limit upper limit value
The setting value range differs according to the "[Pr.1] Unit setting".
[Pr.13] Software stroke limit lower limit value
[Pr.14] Software stroke limit selection
[Pr.15] Software stroke limit valid/invalid setting
[Pr.16] Command in-position width
The setting value range differs depending on the "[Pr.1] Unit setting". 100 24+150n 25+150n
[Pr.17]
Torque limit setting value 1 to 1000 (%) 1 to 1000 (%) 300 26+150n
[Pr.18] M code ON signal output timing
[Pr.19] Speed switching mode
[Pr.20] Interpolation speed designation method
[Pr.21] Current feed value during speed control
n: Axis No.-1

Chapter 5 Data Used for Positioning Control

Value set with GX Works2 Value set with sequence
b0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Always "0" is set to the part not used.
Only the value specified against the axis 1 is valid.
[Pr.24] Manual pulse generator/ Incremental synchronous encoder input selection
n: Axis No.-1
![Page 170 of the Mitsubishi Electronics QD77MS2 user manual — [Pr.11] Backlash compensation amount](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-170.webp?w=400)
Chapter 5 Data Used for Positioning Control
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.)
![Mitsubishi Electronics QD77MS2 — [Pr.11] Backlash compensation amount diagram (page 170)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-170-1.webp)
0 ([Pr.11] Backlash compensation amount) ([Pr.2] Number of pulses per rotation) ( = A) 65535 (PLS) ….(1) ([Pr.3] Movement amount per rotation) ([Pr.4] Unit magnification)
(round down after decimal point)
0 ([Pr.11] Backlash compensation amount) ([Pr.2] Number of pulses per rotation) ( = A) 4194303 (PLS) ….(1) ([Pr.3] Movement amount per rotation) ([Pr.4] Unit magnification)
(round down after decimal point)
The error "Backlash compensation amount error" (error code: 920) occurs when the setting is outside the range of the calculation result of (1). A servo alarm (error code: 2031, 2035, etc.) may occur by kinds of servo amplifier (servomotor), load inertia moment and the amount of command of a cycle time (Simple Motion module) even if the setting is within the calculation result of (1).
Reduce the setting value of "[Pr.11] Backlash compensation amount" or increase the operation cycle by "[Pr.96] Operation cycle setting" if a servo alarm occurs. Use the value of the following (2) as a measure that a servo alarm does not occur.
A (Maximum motor speed (r/min) ) 1.2 (Encoder resolution (PLS/r) ) (Operation cycle (ms)) (PLS) (2) 60(s) 1000 (ms)
![Page 171 of the Mitsubishi Electronics QD77MS2 user manual — [Pr.13] Software stroke limit lower limit value](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-171.webp?w=400)
Chapter 5 Data Used for Positioning Control

Set the upper limit for the machine's movement range during positioning control.
![Mitsubishi Electronics QD77MS2 — [Pr.12] Software stroke limit upper limit value diagram (page 171)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-171-2.webp)
Set the lower limit for the machine's movement range during positioning control.
![Mitsubishi Electronics QD77MS2 — [Pr.13] Software stroke limit lower limit value diagram (page 171)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-171-3.webp)
1) Generally, the OP is set at the lower limit or upper limit of the stroke limit. 2) By setting the upper limit value or lower limit value of the software stroke limit, overrun can be prevented in the software. However, an emergency stop limit switch must be installed nearby outside the range. To invalidate the software stroke limit, set the setting value to "upper limit value = lower limit value". (If it is within the setting range, the setting value can be anything.) When the unit is "degree", the software stroke limit check is invalid during speed control (including the speed control in speed-position and position- speed switching control) or during manual control.
![Page 172 of the Mitsubishi Electronics QD77MS2 user manual — [Pr.17] Torque limit setting value](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-172.webp?w=400)
Chapter 5 Data Used for Positioning Control
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. To invalidate the software stroke limit, set the setting value to "current feed value". When "2: degree" is set in "[Pr.1] Unit setting", set the setting value of software stroke limit to "current feed value". The error "Software stroke limit selection" (error code: 923) will occur if "machine feed value" is set.
Set whether to validate the software stroke limit during JOG/Inching operation and manual pulse generator operation.
Set the remaining distance that turns the command in-position ON. The command in-position signal is used as a front-loading signal of the positioning complete signal. When positioning control is started, the "Command in-position flag ([Md.31] Status: b2)" turns OFF, and the "command in-position flag" turns ON at the set position of the command in-position signal.
![Mitsubishi Electronics QD77MS2 — [Pr.16] Command in-position width diagram (page 172)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-172-1.webp)
![Mitsubishi Electronics QD77MS2 — [Pr.16] Command in-position width diagram (page 172)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-172-2.webp)
Set the maximum value of the torque generated by the servomotor as a percentage between 1 and 1000%.
The torque limit function limits the torque generated by the servomotor within
the set range. If the torque required for control exceeds the torque limit value, it is controlled with the set torque limit value. (Refer to Section 13.4.2 "Torque limit function".)
![Page 173 of the Mitsubishi Electronics QD77MS2 user manual — [Pr.18] M code ON signal output timing](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-173.webp?w=400)
Chapter 5 Data Used for Positioning Control
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.
![Mitsubishi Electronics QD77MS2 — [Pr.18] M code ON signal output timing diagram (page 173)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-173-1.webp)
[QD77MS4 operation example] WITH mode An M code is output and the M code ON signal
AFTER mode An M code is output and the M code ON signal
(Note): Refer to Section 3.3 for input/output signal of QD77MS16 and Chapter 5 for buffer memory address.
ON.
An M code is a number between 0 and 65535 that can be assigned to each positioning data ([Da.10]). The sequence program can be coded to read an M code from the buffer memory address specified by "[Md.25] Valid M code" whenever the M code ON signal turns ON so that a command for the sub work (e.g. clamping, drilling, or tool change) associated with the M code can be issued.
![Page 174 of the Mitsubishi Electronics QD77MS2 user manual — [Pr.20] Interpolation speed designation method](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-174.webp?w=400)
Chapter 5 Data Used for Positioning Control
Set whether to switch the speed switching mode with the standard switching or front-loading switching mode.
Switch the speed when executing the next positioning data
The next positioning data starts
positioning at the designated speed
n: Positioning data No.
When carrying out linear interpolation/circular interpolation, set whether to designate the composite speed or reference axis speed.
Designate speed for reference axis
Calculated by Simple Motion module
Calculated by Simple Motion module
speed control has to be performed. If you specify the composite speed for a positioning operation that involves the 4-axis linear interpolation or 2 to 4 axis speed control, the error "Interpolation mode error" (error code: 523) will occur when the positioning operation is attempted. For a positioning operation that involves the circular interpolation, specify the composite speed always.
![Page 175 of the Mitsubishi Electronics QD77MS2 user manual — [Pr.22] Input signal logic selection](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-175.webp?w=400)
Chapter 5 Data Used for Positioning Control
Specify whether you wish to enable or disable the update of "[Md.20] Current feed value" while operations are performed under the speed control (including the speed control in speed-position and position-speed switching control). 0: The update of the current feed value is disabled The current feed value will not change. (The value at the beginning of the speed control will be kept.) 1: The update of the current feed value is enabled The current feed value will be updated. (The current feed value will change from the initial.) 2: The current feed value is cleared to zero The current feed value will be set initially to zero and change from zero while the speed control is in effect. Note1: When the speed control is performed over two to four axes, the choice
between enabling and disabling the update of "[Md.20] Current feed value" depends on how the reference axis is set. Note2: Set "1" to exercise speed-position switching control (ABS mode).
Set the input signal logic that matches the signaling specification of the connected external device, "[Cd.44] External input signal operation device" or external input signal of servo amplifier (upper/lower limit switch, near-point dog). Negative logic
(1) The current is not flowed through the input signal contact. (a) FLS, RLS Limit signal ON (b) DOG, DI, STOP Invalid (2) The current is flowed through the input signal contact. (a) FLS, RLS Limit signal OFF (b) DOG, DI, STOP Valid Positive logic
Opposite the concept of negative logic.
this when you change from the default value. Note2: Set the manual pulse generator input logic selection (b8) to axis 1. (Setting
of any of axes 2 to 4 is invalid.) Note3: If the same external input signal is set to use to "[Pr.80] External input
signal selection" or "[Pr.95] External command signal selection" for the multiple axes in the QD77MS16, the error "Input signal logic selection" of those axes should be the same. Otherwise, "Input signal logic selection setting error" (error code: 938) will occur when the PLC READY signal [Y0] is turned ON, and the READY signal [X0] will not be turned ON.
![Page 176 of the Mitsubishi Electronics QD77MS2 user manual — [Pr.80] External input signal selection](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-176.webp?w=400)
Chapter 5 Data Used for Positioning Control
Set whether to use "external input signal of QD77MS", "external input signal of servo amplifier", or "buffer memory of QD77MS" as an external input signal (upper/lower limit signal, near-point dog signal, or stop signal).
scan time. (2) When "3" to "6" is set in the QD77MS2/QD77MS4, the error "External signal
selection error" (error code: 936) occurs at turning the PLC READY signal [Y0] ON, and the READY signal [X0] is not turned ON. Set "0" to use the external input signal of QD77MS2/QD77MS4. (3) When "0" is set in the QD77MS16, the error "External signal selection error"
(error code: 936) occurs at turning the PLC READY signal [Y0] ON, and the READY signal [X0] is not turned ON. Set "3" to "6" to use the external input signal of QD77MS16.
![Page 177 of the Mitsubishi Electronics QD77MS2 user manual — [Pr.24] Manual pulse generator/Incremental synchronous encoder input](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-177.webp?w=400)
Chapter 5 Data Used for Positioning Control
selection Set the manual pulse generator/incremental synchronous encoder input pulse mode. (Only the value specified against the axis 1 is valid.)
(a) A-phase/B-phase multiplied by 4
The positioning address increases or decreases at rising or falling edges of A-phase/B-phase.
![Mitsubishi Electronics QD77MS2 — [Pr.24] Manual pulse generator/Incremental synchronous encoder input diagram (page 177)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-177-1.webp)
+1+1+1+1+1+1+1 -1 Positioning address
+1+1+1+1+1+1+1 -1 Positioning address
(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.
![Mitsubishi Electronics QD77MS2 — [Pr.24] Manual pulse generator/Incremental synchronous encoder input diagram (page 177)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-177-2.webp)
+1 -1 Positioning address
+1 -1 Positioning address
(c) A-phase/B-phase multiplied by 1
The positioning address increases or decreases at twice rising or twice falling edges of A-phase/B-phase.
![Mitsubishi Electronics QD77MS2 — [Pr.24] Manual pulse generator/Incremental synchronous encoder input diagram (page 177)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-177-3.webp)
(1) A-phase/B-phase mode
![Page 178 of the Mitsubishi Electronics QD77MS2 user manual — [Pr.82] Forced stop valid/invalid selection](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-178.webp?w=400)
Chapter 5 Data Used for Positioning Control

Select the mode of speed-position switching control.
with the setting regarded as 0.
Set the forced stop valid/invalid. (Only the value specified against the axis 1 is valid.) All axes of the servo amplifier are made to batch forced stop when the forced stop input signal is turned on. The error "Servo READY signal OFF during operation" (error code: 102) does not occur if the forced input signal is turned on during operation.
setting error" (error code: 937) occurs. Note2: The "[Md.50] Forced stop input" is stored "1" by setting "Forced stop
valid/invalid selection" to invalid.

Chapter 5 Data Used for Positioning Control

Value set with GX Works2 Value set with sequence
1 to 8388608 (ms) 1 to 8388608 (ms) 1000
[Pr.30] Deceleration time 3 46+150n 47+150n [Pr.31] JOG speed limit value The setting range differs depending on the "[Pr.1] Unit setting". 20000 48+150n 49+150n
[Pr.35] S-curve ratio 1 to 100 (%) 1 to 100 (%) 100 53+150n
1 to 8388608 (ms) 1 to 8388608 (ms) 1000 54+150n 55+150n
[Pr.37] Stop group 1 sudden stop selection 0 : Normal deceleration stop 0
0 to 65535 (ms) 0 to 32767 : Set as a
n: Axis No.-1
![Page 180 of the Mitsubishi Electronics QD77MS2 user manual — [Pr.25] Acceleration time 1 to [Pr.27] Acceleration time 3](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-180.webp?w=400)
Chapter 5 Data Used for Positioning Control

Value set with GX Works2 Value set with sequence
The setting value range differs depending on the "[Pr.1] Unit setting". 100 60+150n 61+150n
Speed control 10 x multiplier setting for degree axis
0, 1 to 327680 [PLS] 0: restart not allowed 0 64+150n 65+150n
Manual pulse generator/ Incremental synchronous encoder input type selection
b15 to b12b11 to b8 b7 to b4 b3 to b0
Condition selection at mode switching 0: Switching conditions valid (for switching control mode) 1: Zero speed ON condition invalid (for switching control mode)
Always "0" is set to the part not used.
n: Axis No.-1
These parameters set the time for the speed to increase from zero to the "[Pr.8] Speed limit value" ("[Pr.31] JOG speed limit value" at JOG operation control) during a positioning operation.
![Page 181 of the Mitsubishi Electronics QD77MS2 user manual — [Pr.33] JOG operation deceleration time selection](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-181.webp?w=400)
Chapter 5 Data Used for Positioning Control
These parameters set the time for the speed to decrease from the "[Pr.8] Speed limit value" ("[Pr.31] JOG speed limit value" at JOG operation control) to zero during a positioning operation.
Set the maximum speed for JOG operation.
value". If the "speed limit value" is exceeded, the error "JOG speed limit value error" (error code: 956) will occur.
[Pr.1] setting value Value set with GX Works2
Value set with sequence program
Set which of "acceleration time 0 to 3" to use for the acceleration time during JOG operation.
Set which of "deceleration time 0 to 3" to use for the deceleration time during JOG operation.
(unit) · (unit)
![Page 182 of the Mitsubishi Electronics QD77MS2 user manual — [Pr.35] S-curve ratio](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-182.webp?w=400)
Chapter 5 Data Used for Positioning Control
Set whether to use trapezoid acceleration/deceleration or S-curve acceleration/ deceleration for the acceleration/deceleration process.
details.
The acceleration and deceleration are linear.
The acceleration and deceleration follow a Sin curve.
Set the S-curve ratio (1 to 100%) for carrying out the S-curve acceleration/ deceleration process. The S-curve ratio indicates where to draw the acceleration/deceleration curve using the Sin curve as shown below.
![Mitsubishi Electronics QD77MS2 — [Pr.35] S-curve ratio diagram (page 182)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-182-1.webp)
When S-curve ratio is 70% S-curve ratio = B/A 100%
![Page 183 of the Mitsubishi Electronics QD77MS2 user manual — [Pr.36] Sudden stop deceleration time](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-183.webp?w=400)
Chapter 5 Data Used for Positioning Control
Set the time to reach speed 0 from "[Pr.8] Speed limit value" ("[Pr.31] JOG speed limit value" at JOG operation control) during the sudden stop. The illustration below shows the relationships with other parameters.
![Mitsubishi Electronics QD77MS2 — [Pr.36] Sudden stop deceleration time diagram (page 183)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-183-1.webp)
When positioning is started, the acceleration starts following the "acceleration time".
[Pr.37] Stop group 1 sudden stop selection to [Pr.39] Stop group 3 sudden stop selection
Set the method to stop when the stop causes in the following stop groups occur. Stop group 1 Stop with hardware stroke limit Stop group 2 Error occurrence of the PLC CPU, PLC READY signal
[Y0] OFF, Fault in test mode Stop group 3 Axis stop signal from PLC CPU
Stop signal from test function of GX Works2 Error occurrence (excludes errors in stop groups 1 and 2: includes only the software stroke limit errors during JOG operation, speed control, speed-position switching control, and position-speed switching control)
The methods of stopping include "0: Normal deceleration stop" and "1: Sudden stop". If "1: Sudden stop" is selected, the axis will suddenly decelerate to a stop when the stop cause occurs.
![Page 184 of the Mitsubishi Electronics QD77MS2 user manual — [Pr.40] Positioning complete signal output time](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-184.webp?w=400)
Chapter 5 Data Used for Positioning Control
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. For the interpolation control, the positioning completed signal of interpolation axis is output only during the time set to the reference axis. [QD77MS4 operation example]
![Mitsubishi Electronics QD77MS2 — [Pr.40] Positioning complete signal output time diagram (page 184)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-184-1.webp)
(Note): Refer to Section 3.3 for input/output signal QD77MS16.
Positioning complete signal output time
![Page 185 of the Mitsubishi Electronics QD77MS2 user manual — [Pr.41] Allowable circular interpolation error width](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-185.webp?w=400)
Chapter 5 Data Used for Positioning Control
The allowable error range of the calculated arc path and end point address is set.
1 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. The allowable circular interpolation error width is set in the following axis buffer memory addresses.
(Example) If axis 1 is the reference axis, set in the axis 1 buffer memory
addresses [60, 61]. If axis 4 is the reference axis, set in the axis 4 buffer memory
addresses [510, 511].
Path with spiral interpolation Error
End point address with calculation
Start point address Center point address
[Pr.1] setting value Value set with GX Works2
Value set with sequence program
End point address · (unit) · (unit)
![Page 186 of the Mitsubishi Electronics QD77MS2 user manual — [Pr.83] Speed control 10 x multiplier setting for degree axis](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-186.webp?w=400)
Chapter 5 Data Used for Positioning Control
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. The new speed should be set in the "[Cd.14] New speed value" 2: Speed-position, position-speed switching request The external command signal input is used to switch from the speed control to the position control while in the speed-position switching control mode, or from the position control to the speed control while in the position-speed switching control mode. To enable the speed-position switching control, set the "[Cd.24] Speed-position switching enable flag" to "1". To enable the position-speed switching control, set the "[Cd.26] Position-speed switching enable flag" to "1". 3: Skip request The external command signal input is used skip the current positioning operation. 4: High speed input request The external command signal input is used to execute the mark detection. And, also set to use the external command signal in the synchronous control.
POINT To enable the external command signal, set the "[Cd.8] External command valid" to "1".
Set the speed control 10 x multiplier setting for degree axis when you use command speed and speed limit value set by the positioning data and the parameter at "[Pr.1] Unit setting" setup degree by ten times at the speed.
detailed parameters 2, but it will be valid at the rising edge (OFF to ON) of the PLC READY signal [Y0].
[Pr.83] setting value Value set with GX Works2
(unit) Value set with sequence program (unit)

Chapter 5 Data Used for Positioning Control
(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). Restart at switching servo OFF to ON can be performed when the difference between the last command position of Simple Motion module at stop and the present value at switching servo OFF to ON is equal to or less than the value set in the buffer memory for the restart allowable range setting.
(a) Servo emergency stop processing
1) When the difference between the last command position of Simple Motion module at the forced stop input or the servo forced stop input and the present value at the forced stop release or the servo forced stop release is equal to or less than the value set in the buffer memory for the restart allowable range setting, the positioning operation is judged as stopped and can be restarted. 2) When the difference between the last command position of Simple Motion module at the forced stop input or the servo forced stop input and the present value at the forced stop release or the servo forced stop release is greater than the value set in the buffer memory for the restart allowable range setting, the positioning operation is judged as on-standby and cannot be restarted.
Forced stop Release Input Release
Restart invalid Restart valid
Last command position Servo ON
(b) Processing at switching the servo ON signal from OFF to ON
1) When the difference between the last command position of Simple Motion module at switching the servo ON signal from ON to OFF and the present value at switching the servo ON signal from OFF to ON is equal to or less than the value set in the buffer memory for the restart allowable range setting, the positioning operation is judged as stopped and can be restarted. 2) When the difference between the last command position of Simple Motion module at switching the servo ON signal from ON to OFF and the present value at switching the servo ON signal from OFF to ON is greater than the value set in the buffer memory for the restart allowable range setting, the positioning operation is judged as on- standby and cannot be restarted.
OFF Servo ON signal
Axis operation status Stop Positioning Servo OFF
Restart invalid Restart valid
Stop command Servo ON

Chapter 5 Data Used for Positioning Control
For performing restart at switching servo OFF to ON, set the restart allowable range in the following buffer memory.
Item Setting range Default value QD77MS2 QD77MS4 QD77MS16
64+150n 65+150n [Pr.84] Restart allowable range
0, 1 to 327680 (PLS) 0: restart not allowed 0
when servo OFF to ON
A program to set the restart allowable range for axis 1 to 10000 PLS is shown below.
Restart allowable range (10000 PLS) is stored in D0, D1.
Data for D0, D1 is stored in buffer memory 64, 65 of the Simple Motion module.
(a) The difference between the last command position at servo OFF and the
present value at servo ON is output at once at the first restart. If the restart allowable range is large at this time, an overload may occur on the servo side. Set a value which does not affect the mechanical system by output once to the restart allowable range when switching servo OFF to ON.
(b) The restart at switching servo OFF to ON is valid only at switching servo
OFF to ON at the first time. At the second time or later, the setting for restart allowable range when switching servo OFF to ON is disregarded.
(c) Execute servo OFF when the mechanical system is in complete stop
state. The restart at switching servo OFF to ON cannot be applied to a system in which the mechanical system is operated by external pressure or other force during servo OFF.
(d) Restart can be executed only while the axis operation status is "stop".
Restart cannot be executed when the axis operation status is other than "stop".
(e) When the PLC READY signal is switched from OFF to ON during servo
OFF, restart cannot be executed. If restart is requested, the warning "Restart not possible" (warning code: 104) occurs.
(f) Do not restart while a stop command is ON.
When restart is executed during a stop, the error "Stop signal ON at start" (error code: 106) occurs and the axis operation status becomes "ERR". Therefore, restart cannot be performed even if the error is reset.
![Page 189 of the Mitsubishi Electronics QD77MS2 user manual — [Pr.89] Manual pulse generator/Incremental synchronous encoder input type](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-189.webp?w=400)
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 "[Cd.3] Positioning start No." or from the positioning data number of the specified point.
(h) When positioning is terminated by a continuous-operation interrupt
request, restart cannot be performed. If a restart request is executed, the warning "Restart not possible" (warning code: 104) occurs.
[Operation at emergency stop input] [Operation at restart]
Stop position at servo OFF
(Present value at servo ON) Stop position at servo OFF
Emergency stop input (Last command position)
Movement during servo OFF
Output at once at restart
selection
Set the input type from the manual pulse generator/incremental synchronous encoder. (Only the value specified against the axis 1 is valid.)
selection" is included in detailed parameters 2, but it will be valid at the rising edge (OFF to ON) of the PLC READY signal [Y0].
Refer to Section 3.4 "Specifications of interfaces with external devices" for details.
Restart operation · Last command position
![Page 190 of the Mitsubishi Electronics QD77MS2 user manual — [Pr.90] Operation setting for speed-torque control mode](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-190.webp?w=400)
Chapter 5 Data Used for Positioning Control
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. 0: Command torque Command torque value at switching. (following axis control data) Switching to torque control mode:
"[Cd.143] Command torque at torque control mode" Switching to continuous operation to torque control mode:
"[Cd.150] Target torque at continuous operation to torque control mode" 1: Feedback torque Motor torque value at switching.
(2) Speed initial value selection
Set the initial speed at switching from position control mode to speed control mode or the initial speed at switching from position control mode or from speed control mode to continuous operation to torque control mode. 0: Command speed Speed that position command at switching is converted into the motor speed. 1: Feedback speed Motor speed received from servo amplifier at switching 2: Automatic selection The lower speed between speed that position command at switching is converted into the motor speed and motor speed received from servo amplifier at switching. (This setting is valid only when continuous operation to torque control mode is used. At switching from position control mode to speed control mode, operation is the same as "0: Command speed".)
(3) Condition selection at mode switching
Set the valid/invalid of switching conditions for switching control mode. 0: Switching conditions valid (for switching control mode) 1: Zero speed ON condition invalid (for switching control mode)
parameters 2, but it will be valid at the rising edge (OFF to ON) of the PLC READY signal [Y0].
POINT Set normally "0". Set "1" to shift to torque control without waiting for stop of servo motor immediately after positioning completion.
![Page 191 of the Mitsubishi Electronics QD77MS2 user manual — [Pr.95] External command signal selection QD77MS16](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-191.webp?w=400)
Chapter 5 Data Used for Positioning Control
Set the external command signal.
2, but it will be valid at the rising edge (OFF to ON) of the PLC READY signal [Y0].
POINT Same external command signal can be used in the multiple axes. 5.2.5 OPR basic parameters
![Mitsubishi Electronics QD77MS2 — [Pr.95] External command signal selection QD77MS16 diagram (page 191)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-191-1.webp)
Value set with GX Works2 Value set with sequence
0 72+150n 73+150n [Pr.46] OPR speed 1 74+150n 75+150n [Pr.47] Creep speed 1 76+150n 77+150n
The setting value range differs depending on the "[Pr.1] Unit setting".
n: Axis No.-1
![Page 192 of the Mitsubishi Electronics QD77MS2 user manual — [Pr.43] OPR method](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-192.webp?w=400)
Chapter 5 Data Used for Positioning Control
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) After decelerating at the near-point dog ON, move the designated distance, and complete the machine OPR with the zero signal. 5: Count method 2) After decelerating at the near-point dog ON, move the designated distance, and complete the machine OPR. 6: Data set method The position where the machine OPR has been made will be the OP. 7: Scale origin signal detection method After deceleration stop at the near-point dog ON,
move to the opposite direction against the OPR direction, and move to the OPR direction after deceleration stop once at the detection of the first zero signal. Then, it stops at the detected nearest zero signal, and completes the machine OPR.

Chapter 5 Data Used for Positioning Control
(1) Start machine OPR.
(Start movement at the "[Pr.46] OPR speed" in the "[Pr.44] OPR direction".) (2) Detect the near-point dog ON, and start deceleration. (3) Decelerate to "[Pr.47] Creep speed", and move with the

creep speed. (At this time, the near-point dog must be ON. If the near- point dog is OFF, the axis will decelerate to a stop.) (4) At the first zero signal after the near-point dog turned OFF,
machine OPR is completed.
started, the zero point of the encoder must be passed at least once before point A is reached. However, if selecting "1: Not need to pass servo motor Z-phase after power on" with "Function selection C-4 (PC17)", it is possible to carry out the home position return (OPR) without passing the zero point.
(1) Start machine OPR.
(Start movement at the "[Pr.46] OPR speed" in the "[Pr.44] OPR direction".) (2) Detect the near-point dog ON, and start deceleration. (3) Decelerate to "[Pr.47] Creep speed", and move with the

Setting for the movement amount after near-point dog ON
creep speed. (4) After the near-point dog turns ON and the movement
amount set in "[Pr.50] Setting for the movement amount after near-point dog ON" has passed, the Simple Motion module stops with the first zero signal, and the machine OPR is completed. Note) After the home position return (OPR) has been started,
The near-point dog must turn OFF at a sufficient distance away from the OP position.
the zero point of the encoder must be passed at least once before point A is reached. However, if selecting "1: Not need to pass servo motor Z- phase after power on" with "Function selection C-4 (PC17)", it is possible to carry out the home position return (OPR) without passing the zero point.
First zero signal after moving the movement amount after near- point dog ON
(1)

Chapter 5 Data Used for Positioning Control
(1) Start machine OPR.
(Start movement at the "[Pr.46] OPR speed" in the "[Pr.44] OPR direction".) (2) Detect the near-point dog ON, and start deceleration. (3) Decelerate to "[Pr.47] Creep speed", and move with the

Setting for the movement amount after near-point dog ON
creep speed. (4) After the near-point dog turns ON and the movement
amount set in "[Pr.50] Setting for the movement amount after near-point dog ON" has passed, machine OPR is completed.
The position where the machine OPR has been made will be the OP. (Perform after the servo amplifier has been turned ON and the servomotor has been rotated at least once using the JOG or similar operation. However, if selecting "1: Not need to pass servo motor Z-phase after power on" with "Function selection C-4 (PC17)", it is possible to carry out the home position return (OPR) without passing the zero point.)

(Start movement at the "[Pr.46] OPR speed" in the "[Pr.44] OPR direction".) (2) Detect the near-point dog ON, and start deceleration. (3) After deceleration stop, it moves in the opposite direction
against of OPR at the "[Pr.46] OPR speed". (4) During movement, the machine begins decelerating when
the first zero signal is detected. (5) After deceleration stop, it moves in direction of OPR at the
speed set in "[Pr.47] Creep speed", and stops at the detected nearest zero signal to complete the machine OPR.
(1)

Chapter 5 Data Used for Positioning Control
Set the direction to start movement when starting machine OPR.
Normally, the OP is set near the lower limit or the upper limit, so "[Pr.44] OPR direction" is set as shown below.
When the zero point is set at the lower limit side, the OPR direction is in the direction of arrow 1). Set "1" for . Pr.44
OP
When the OP is set at the upper limit side, the OPR direction is in the direction of arrow 2). Set "0" for . Pr.44
![Page 196 of the Mitsubishi Electronics QD77MS2 user manual — [Pr.46] OPR speed](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-196.webp?w=400)
Chapter 5 Data Used for Positioning Control
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 "[Pr.45] OP address". At the same time, the "[Pr.45] OP address" is stored in "[Md.20] Current feed value" and "[Md.21] Machine feed value".)
[Pr.1] setting value Value set with GX Works2
Value set with sequence program
Set the speed for OPR.
limit value" is exceeded, the error "Outside speed limit value range" (error code: 910) will occur, and OPR will not be executed. The "OPR speed" should be equal to or faster than the "[Pr.7] Bias speed at start" and "[Pr.47] Creep speed".
[Pr.1] setting value Value set with GX Works2
Value set with sequence program
![Page 197 of the Mitsubishi Electronics QD77MS2 user manual — [Pr.47] Creep speed](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-197.webp?w=400)
Chapter 5 Data Used for Positioning Control
Set the creep speed after near-point dog ON (the low speed just before stopping after decelerating from the OPR speed). The creep speed is set within the following range.
([Pr.46] OPR speed) ([Pr.47] Creep speed) ([Pr.7] Bias speed at start)
![Mitsubishi Electronics QD77MS2 — [Pr.47] Creep speed diagram (page 197)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-197-1.webp)
[Pr.1] setting value Value set with GX Works2
Value set with sequence program
(unit) · (unit)
![Page 198 of the Mitsubishi Electronics QD77MS2 user manual — [Pr.48] OPR retry](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-198.webp?w=400)
Chapter 5 Data Used for Positioning Control
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)). If the following edge of the near-point dog signal is detected during movement in the opposite direction, the axis will decelerate to a stop (4)), and then will carry out machine OPR again (5), 6)).
![Mitsubishi Electronics QD77MS2 — [Pr.48] OPR retry diagram (page 198)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-198-1.webp)
1) Movement in the OPR direction starts with the machine OPR start. 2) The axis decelerates when the limit signal OFF is detected. 3) After stopping at detection the limit signal OFF, the axis moves at the OPR speed in the direction opposite to the specified OPR direction. 4) The axis decelerates when the near-point dog signal turns OFF. 5) After stopping with the near-point dog signal OFF, start machine OPR in the OPR direction. 6) The machine begins decelerating when the near-point dog ON is detected and completes machine OPR.

Chapter 5 Data Used for Positioning Control

Value set with GX Works2 Value set with sequence
[Pr.50] Setting for the movement amount after near-point dog ON
The setting value range differs depending on the "[Pr.1] Unit setting". 0 80+150n 81+150n
The setting value range differs depending on the "[Pr.1] Unit setting". 0 84+150n 85+150n
[Pr.54] OPR torque limit value 1 to 1000 (%) 1 to 1000 (%) 300 86+150n
0 to 65535 (ms) 0 to 32767 : Set as a
[Pr.57] Dwell time during OPR retry 0 to 65535 (ms)
n: Axis No.-1
![Page 200 of the Mitsubishi Electronics QD77MS2 user manual — [Pr.51] OPR acceleration time selection](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-200.webp?w=400)
Chapter 5 Data Used for Positioning Control
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" and "distance of movement in 10 ms at the OPR speed".)
![Mitsubishi Electronics QD77MS2 — [Pr.50] Setting for the movement amount after near-point dog ON diagram (page 200)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-200-1.webp)
Example of setting for " Pr. 50 Setting for the movement amount after near-point dog ON"
Assuming that the " Pr. 8 Speed limit value" is set to 200 kPLS/s, " Pr. 46 OPR speed" to 10 kPLS/s, " Pr. 47 Creep speed" to 1 kPLS/s, and deceleration time to 300 ms, the minimum value of " Pr. 50 Setting for the movement amount after near-point dog ON" is calculated as follows:
: " Setting for the movement amount after near-point dog ON" should be equal to or larger than 175.
![Mitsubishi Electronics QD77MS2 — [Pr.50] Setting for the movement amount after near-point dog ON diagram (page 200)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-200-2.webp)
Set which of "acceleration time 0 to 3" to use for the acceleration time during OPR. 0 : Use the value set in "[Pr.9] Acceleration time 0".
![Page 201 of the Mitsubishi Electronics QD77MS2 user manual — [Pr.53] OP shift amount](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-201.webp?w=400)
Chapter 5 Data Used for Positioning Control
Set which of "deceleration time 0 to 3" to use for the deceleration time during OPR.
Set the amount to shift (move) from the position stopped at with machine OPR.
The OP shift function is used to compensate the OP position stopped at with
machine OPR. If there is a physical limit to the OP position, due to the relation of the near-point dog installation position, use this function to compensate the OP to an optimum position.
![Mitsubishi Electronics QD77MS2 — [Pr.53] OP shift amount diagram (page 201)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-201-1.webp)
![Mitsubishi Electronics QD77MS2 — [Pr.53] OP shift amount diagram (page 201)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-201-2.webp)

Chapter 5 Data Used for Positioning Control
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.
Set whether the positioning control is executed or not (When the OPR request flag is ON.). 0: Positioning control is not executed. 1: Positioning control is executed.
(1) When OPR request flag is ON, selecting "0: Positioning control is not
executed" will result in the error "Start at OPR incomplete" (error code: 547), and positioning control will not be performed. At this time, operation with the manual control (JOG operation, inching operation, manual pulse generator operation) is available. The positioning control can be executed even if the OPR request flag is ON when selecting "1: Positioning control is executed".
(2) The following shows whether the positioning control is possible to start/restart
Machine OPR, JOG operation, inching operation, manual pulse generator operation, and current value changing using current value changing start No. (9003)
(b) Start/restart impossible control
When the following cases at block start, condition start, wait start, repeated start, multiple axes simultaneous start and pre-reading start: 1-axis linear control, 2/3/4-axis linear interpolation control, 1/2/3/4-axis fixed-feed control, 2-axis circular interpolation control with sub point designation, 2-axis circular interpolation control with center point designation, 1/2/3/4-axis speed control, speed-position switching control (INC mode/ ABS mode), position-speed switching control, and current value changing using current value changing (No.1 to 600)
(3) When OPR request flag is ON, starting Fast OPR will result in the error "OPR
request ON" (error code: 207) despite the setting value of "Operation setting for incompletion of OPR", and Fast OPR will not be executed.
Do not execute the positioning control in home position return request signal ON for the axis
which uses in the positioning control. Failure to observe this could lead to an accident such as a collision.
![Page 203 of the Mitsubishi Electronics QD77MS2 user manual — [Pr.57] Dwell time during OPR retry](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-203.webp?w=400)
Chapter 5 Data Used for Positioning Control
Set the operation speed for when a value other than "0" is set for "[Pr.53] OP shift amount". Select the setting from "[Pr.46] OPR speed" or "[Pr.47] Creep speed". 0 : Designate "[Pr.46] OPR speed" as the setting value.
When OPR retry is validated (when "1" is set for [Pr.48]), set the stop time after decelerating in 2) and 4) in the following drawing.
![Mitsubishi Electronics QD77MS2 — [Pr.57] Dwell time during OPR retry diagram (page 203)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-203-1.webp)
Temporarily stop for the time set in Pr. 57
Temporarily stop for the time set in Pr. 57 1) 2)

Chapter 5 Data Used for Positioning Control
Setting value, setting range
Value set with GX Works2 Value set with sequence
0 1 2 3 4 5 6 7 8 9 10 12 13 14 15 16 17 20 21 22 23 24 25 26 27 28
[Pr.96] Operation cycle setting
147 (Note-3) 105 (Note-3)
[Pr.97] SSCNET setting
[Pr.114] External command signal compensation valid/invalid setting
n: Axis No. -1 (Note-1): Used point: 2 words (Note-2): The name differs by MR-J4(W)-B/MR-JE-B/
MR-J3(W)-B or VCII series/FR-A700 series. (Note-3): Only the value specified against the axis 1 is valid.
![Page 205 of the Mitsubishi Electronics QD77MS2 user manual — [Pr.91] Optional data monitor: Data type setting 1 to [Pr.94] Optional data](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-205.webp?w=400)
Chapter 5 Data Used for Positioning Control
monitor: Data type setting 4
Set the data type monitored in optional data monitor function.
![Mitsubishi Electronics QD77MS2 — [Pr.91] Optional data monitor: Data type setting 1 to [Pr.94] Optional data diagram (page 205)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-205-1.webp)
output 1" to "[Md.112] Optional data monitor output 4" is different every data type setting 1 to 4. (Refer to Section 5.6.2) (Note-2): The name differs by MR-J4(W)-B/MR-JE-B/MR-J3(W)-B or VCII series/
FR-A700 series.

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 "[Pr.91] Optional data monitor: Data
type setting 1" or "[Pr.93] Optional data monitor: Data type setting 3". If it is set in "[Pr.92] Optional data monitor: Data type setting 2" or "[Pr.94] Optional data monitor: Data type setting 4", the warning "Optional data monitor data type setting error" (warning code: 116) will occur with initialized communication to servo amplifier and "0" will be stored in [Md.109] to [Md.112]. (3) Set "0" in "[Pr.92] Optional data monitor: Data type setting 2" when the data type
of "used point: 2 words" is set in "[Pr.91] Optional data monitor: Data type setting 1", and set "0" in "[Pr.94] Optional data monitor: Data type setting 4" when the data type of "used point: 2 words" is set in "[Pr.93] Optional data monitor: Data type setting 3". When setting other than "0", the warning "Optional data monitor data type setting error" (warning code: 116) will occur with initialized communication to servo amplifier and "0" will be stored in [Md.109] to [Md.112]. (4) When the data type of "used point: 2 words" is set, the monitor data of low-order
is "[Md.109] Regenerative load ratio/Optional data monitor output 1" or "[Md.111] Peak torque ratio/Optional data monitor output 3". (5) Refer to Section 14.11 for the data type that can be monitored on each servo
amplifier. When the data type that cannot be monitored is set, "0" is stored to the monitor output.

Chapter 5 Data Used for Positioning Control
Set the operation cycle. (Only the value specified against the axis 1 is valid.)
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. Fetch by PLC READY signal OFF to ON is not executed. Execute flash ROM writing to change after setting a value to buffer memory. Confirm the current operation cycle in "[Md.132] Operation cycle setting". (2) When "0: 0.88ms" is set, confirm that "[Md.133] Operation cycle over flag" does
not turn ON. If the flag is ON, the operation cycle over has been generated. Correct the positioning content or set "1: 1.77ms".
Set the servo network. (Only the value specified against the axis 1 is valid.)
The connectable servo amplifier differs by this parameter. When unconnectable servo amplifier is set in "[Pr.100] Servo series", the error "SSCNET setting error" (error code: 1003) occurs, and communication with the servo amplifier is not executed. The following shows about this parameter and connectable servo amplifier (setting value of "[Pr.100] Servo series").
Setting value of "[Pr.97] SSCNET setting" Servo amplifier Setting value of "[Pr.100] Servo series"
0: SSCNET
1: SSCNET /H
![Page 208 of the Mitsubishi Electronics QD77MS2 user manual — [Pr.114] External command signal compensation valid/invalid setting](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-208.webp?w=400)
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. Execute flash ROM writing to change after setting a value to buffer memory.
Set the input compensation of external command input signal valid/invalid. (Only the value specified against the axis 1 is valid.)
regarded as "0: Invalid".
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. Execute flash ROM writing to change the value after setting a value to buffer memory.

Chapter 5 Data Used for Positioning Control
(1) Servo series
Item Setting details Setting range Default
[Pr.100]
n: Axis No. -1
The parameter list for MR-J4(W)-B/MR-JE-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.
POINT Set the parameter value and switch power off once (The parameter is transferred to servo amplifier from Simple Motion module), and then switch it on again to make that parameter setting valid.

Chapter 5 Data Used for Positioning Control
(a) Basic setting parameters


PA01 30101+200n 28401+100n PA18 30118+200n 28418+100n
PA02 30102+200n 28402+100n PA19 30932+50n Set with GX Works2 PA03 30103+200n 28403+100n
PA04 30104+200n 28404+100n PA20 64400+250n 64400+70n
PA05 30105+200n 28405+100n PA21 64401+250n 64401+70n
PA06 30106+200n 28406+100n PA22 64402+250n 64402+70n
PA07 30107+200n 28407+100n PA23 64403+250n 64403+70n
PA08 30108+200n 28408+100n PA24 64404+250n 64404+70n
PA09 30109+200n 28409+100n PA25 64405+250n 64405+70n
PA10 30110+200n 28410+100n PA26 64406+250n 64406+70n
PA11 30111+200n 28411+100n PA27 64407+250n 64407+70n
PA12 30112+200n 28412+100n PA28 64408+250n 64408+70n
PA13 30113+200n 28413+100n PA29 64409+250n 64409+70n
PA14 30114+200n 28414+100n PA30 64410+250n 64410+70n
PA15 30115+200n 28415+100n PA31 64411+250n 64411+70n
PA16 30116+200n 28416+100n PA32 64412+250n 64412+70n
n: Axis No.-1
PA17 30117+200n 28417+100n

Chapter 5 Data Used for Positioning Control
(b) Gain/filter setting parameters


PB01 30119+200n 28419+100n PB33 30151+200n 28451+100n
PB02 30120+200n 28420+100n PB34 30152+200n 28452+100n
PB03 30121+200n 28421+100n PB35 30153+200n 28453+100n
PB04 30122+200n 28422+100n PB36 30154+200n 28454+100n
PB05 30123+200n 28423+100n PB37 30155+200n 28455+100n
PB06 30124+200n 28424+100n PB38 30156+200n 28456+100n
PB07 30125+200n 28425+100n PB39 30157+200n 28457+100n
PB08 30126+200n 28426+100n PB40 30158+200n 28458+100n
PB09 30127+200n 28427+100n PB41 30159+200n 28459+100n
PB10 30128+200n 28428+100n PB42 30160+200n 28460+100n
PB11 30129+200n 28429+100n PB43 30161+200n 28461+100n
PB12 30130+200n 28430+100n PB44 30162+200n 28462+100n
PB13 30131+200n 28431+100n PB45 30163+200n 28463+100n
PB14 30132+200n 28432+100n PB46 64413+250n 64413+70n
PB15 30133+200n 28433+100n PB47 64414+250n 64414+70n
PB16 30134+200n 28434+100n PB48 64415+250n 64415+70n
PB17 30135+200n 28435+100n PB49 64416+250n 64416+70n
PB18 30136+200n 28436+100n PB50 64417+250n 64417+70n
PB19 30137+200n 28437+100n PB51 64418+250n 64418+70n
PB20 30138+200n 28438+100n PB52 64419+250n 64419+70n
PB21 30139+200n 28439+100n PB53 64420+250n 64420+70n
PB22 30140+200n 28440+100n PB54 64421+250n 64421+70n
PB23 30141+200n 28441+100n PB55 64422+250n 64422+70n
PB24 30142+200n 28442+100n PB56 64423+250n 64423+70n
PB25 30143+200n 28443+100n PB57 64424+250n 64424+70n
PB26 30144+200n 28444+100n PB58 64425+250n 64425+70n
PB27 30145+200n 28445+100n PB59 64426+250n 64426+70n
PB28 30146+200n 28446+100n PB60 64427+250n 64427+70n
PB29 30147+200n 28447+100n PB61 64428+250n 64428+70n
PB30 30148+200n 28448+100n PB62 64429+250n 64429+70n
PB31 30149+200n 28449+100n PB63 64430+250n 64430+70n
PB32 30150+200n 28450+100n PB64 64431+250n 64431+70n
n: Axis No.-1

Chapter 5 Data Used for Positioning Control
(c) Extension setting parameters


PC01 30164+200n 28464+100n PC33 64432+250n 64432+70n
PC02 30165+200n 28465+100n PC34 64433+250n 64433+70n
PC03 30166+200n 28466+100n PC35 64434+250n 64434+70n
PC04 30167+200n 28467+100n PC36 64435+250n 64435+70n
PC05 30168+200n 28468+100n PC37 64436+250n 64436+70n
PC06 30169+200n 28469+100n PC38 64437+250n 64437+70n
PC07 30170+200n 28470+100n PC39 64438+250n 64438+70n
PC08 30171+200n 28471+100n PC40 64439+250n 64439+70n
PC09 30172+200n 28472+100n PC41 64440+250n 64440+70n
PC10 30173+200n 28473+100n PC42 64441+250n 64441+70n
PC11 30174+200n 28474+100n PC43 64442+250n 64442+70n
PC12 30175+200n 28475+100n PC44 64443+250n 64443+70n
PC13 30176+200n 28476+100n PC45 64444+250n 64444+70n
PC14 30177+200n 28477+100n PC46 64445+250n 64445+70n
PC15 30178+200n 28478+100n PC47 64446+250n 64446+70n
PC16 30179+200n 28479+100n PC48 64447+250n 64447+70n
PC17 30180+200n 28480+100n PC49 64448+250n 64448+70n
PC18 30181+200n 28481+100n PC50 64449+250n 64449+70n
PC19 30182+200n 28482+100n PC51 64450+250n 64450+70n
PC20 30183+200n 28483+100n PC52 64451+250n 64451+70n
PC21 30184+200n 28484+100n PC53 64452+250n 64452+70n
PC22 30185+200n 28485+100n PC54 64453+250n 64453+70n
PC23 30186+200n 28486+100n PC55 64454+250n 64454+70n
PC24 30187+200n 28487+100n PC56 64455+250n 64455+70n
PC25 30188+200n 28488+100n PC57 64456+250n 64456+70n
PC26 30189+200n 28489+100n PC58 64457+250n 64457+70n
PC27 30190+200n 28490+100n PC59 64458+250n 64458+70n
PC28 30191+200n 28491+100n PC60 64459+250n 64459+70n
PC29 30192+200n 28492+100n PC61 64460+250n 64460+70n
PC30 30193+200n 28493+100n PC62 64461+250n 64461+70n
PC31 30194+200n 28494+100n PC63 64462+250n 64462+70n
PC32 30195+200n 28495+100n PC64 64463+250n 64463+70n
n: Axis No.-1

Chapter 5 Data Used for Positioning Control
(d) I/O setting parameters


n: Axis No.-1

Chapter 5 Data Used for Positioning Control
(e) Extension setting 2 parameters


n: Axis No.-1

Chapter 5 Data Used for Positioning Control
(f) Special setting parameters


n: Axis No.-1
(g) Extension setting 3 parameters


n: Axis No.-1

Chapter 5 Data Used for Positioning Control
(h) Option setting parameters


n: Axis No.-1
(i) Linear servo motor/DD motor setting parameters


n: Axis No.-1

Chapter 5 Data Used for Positioning Control
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.
POINT Set the parameter value and switch power off once (The parameter is transferred to servo amplifier from Simple Motion module), and then switch it on again to make that parameter setting valid.

Chapter 5 Data Used for Positioning Control
(a) Basic setting parameters


PA01 30101+200n 28401+100n PA11 30111+200n 28411+100n
PA02 30102+200n 28402+100n PA12 30112+200n 28412+100n
PA03 30103+200n 28403+100n PA13 30113+200n 28413+100n
PA04 30104+200n 28404+100n PA14 30114+200n 28414+100n
PA05 30105+200n 28405+100n PA15 30115+200n 28415+100n
PA06 30106+200n 28406+100n PA16 30116+200n 28416+100n
PA07 30107+200n 28407+100n PA17 30117+200n 28417+100n
PA08 30108+200n 28408+100n PA18 30118+200n 28418+100n
PA09 30109+200n 28409+100n PA19 30932+50n Set with GX Works2 PA10 30110+200n 28410+100n
n: Axis No.-1


PB01 30119+200n 28419+100n PB24 30142+200n 28442+100n
PB02 30120+200n 28420+100n PB25 30143+200n 28443+100n
PB03 30121+200n 28421+100n PB26 30144+200n 28444+100n
PB04 30122+200n 28422+100n PB27 30145+200n 28445+100n
PB05 30123+200n 28423+100n PB28 30146+200n 28446+100n
PB06 30124+200n 28424+100n PB29 30147+200n 28447+100n
PB07 30125+200n 28425+100n PB30 30148+200n 28448+100n
PB08 30126+200n 28426+100n PB31 30149+200n 28449+100n
PB09 30127+200n 28427+100n PB32 30150+200n 28450+100n
PB10 30128+200n 28428+100n PB33 30151+200n 28451+100n
PB11 30129+200n 28429+100n PB34 30152+200n 28452+100n
PB12 30130+200n 28430+100n PB35 30153+200n 28453+100n
PB13 30131+200n 28431+100n PB36 30154+200n 28454+100n
PB14 30132+200n 28432+100n PB37 30155+200n 28455+100n
PB15 30133+200n 28433+100n PB38 30156+200n 28456+100n
PB16 30134+200n 28434+100n PB39 30157+200n 28457+100n
PB17 30135+200n 28435+100n PB40 30158+200n 28458+100n
PB18 30136+200n 28436+100n PB41 30159+200n 28459+100n
PB19 30137+200n 28437+100n PB42 30160+200n 28460+100n
PB20 30138+200n 28438+100n PB43 30161+200n 28461+100n
PB21 30139+200n 28439+100n PB44 30162+200n 28462+100n
PB22 30140+200n 28440+100n PB45 30163+200n 28463+100n
(b) Gain/filter parameters

Chapter 5 Data Used for Positioning Control
(c) Expansion setting parameters


PC01 30164+200n 28464+100n PC17 30180+200n 28480+100n
PC02 30165+200n 28465+100n PC18 30181+200n 28481+100n
PC03 30166+200n 28466+100n PC19 30182+200n 28482+100n
PC04 30167+200n 28467+100n PC20 30183+200n 28483+100n
PC05 30168+200n 28468+100n PC21 30184+200n 28484+100n
PC06 30169+200n 28469+100n PC22 30185+200n 28485+100n
PC07 30170+200n 28470+100n PC23 30186+200n 28486+100n
PC08 30171+200n 28471+100n PC24 30187+200n 28487+100n
PC09 30172+200n 28472+100n PC25 30188+200n 28488+100n
PC10 30173+200n 28473+100n PC26 30189+200n 28489+100n
PC11 30174+200n 28474+100n PC27 30190+200n 28490+100n
PC12 30175+200n 28475+100n PC28 30191+200n 28491+100n
PC13 30176+200n 28476+100n PC29 30192+200n 28492+100n
PC14 30177+200n 28477+100n PC30 30193+200n 28493+100n
PC15 30178+200n 28478+100n PC31 30194+200n 28494+100n
PC16 30179+200n 28479+100n PC32 30195+200n 28495+100n
n: Axis No.-1
(d) Input/output setting parameters


n: Axis No.-1

Chapter 5 Data Used for Positioning Control
(e) Extension control parameters


n: Axis No.-1
(f) Special setting parameters


n: Axis No.-1

Chapter 5 Data Used for Positioning Control
(g) Other setting parameters


n: Axis No.-1
(h) Option unit parameters


n: Axis No.-1

Chapter 5 Data Used for Positioning Control
Before explaining the positioning data setting items [Da.1] to [Da.10], [Da.20] to [Da.22] the configuration of the positioning data will be shown below. The positioning data stored in the buffer memory of Simple Motion module has the following type of configuration.

Up to 600 positioning data items can be set (stored) for each axis in the buffer memory address shown on the left. Data is controlled as positioning data No. 1 to 600 for each axis. One positioning data item is configured of the items shown in the bold box.
n: Axis No.-1

Up to 100 positioning data items can be set (stored) for each axis in the buffer memory address shown on the left. No.101 to No.600 are not allocated to buffer memory. Set with GX Works2. Data is controlled as positioning data No. 1 to 600 for each axis. One positioning data item is configured of the items shown in the bold box.
M code/Condition data No./Number of LOOP to LEND repetitions
Axis to be interpolated No.1 Axis to be interpolated No.2

Chapter 5 Data Used for Positioning Control
The descriptions that follow relate to the positioning data set items [Da.1] to [Da.10], [Da.20] to [Da.22]. (The buffer memory addresses shown are those of the "positioning data No. 1".)

Axis No. n Axis No. n Axis No. n Axis No. n
(Note-1): Calculate as follows for the buffer memory address corresponding to each axis.
(Example) For axis No. 16
6001+1000n ([Da.10] M code/Condition data No./Number of LOOP to LEND repetitions)=6001+1000 15=21001
(Note-2): The range from axis No.1 to 2 (n=0 to 1) is valid in the QD77MS2. (Note-3): The range from axis No.1 to 4 (n=0 to 3) is valid in the QD77MS4

Chapter 5 Data Used for Positioning Control

Value set with GX Works2 Value set with sequence program QD77MS2 QD77MS4 QD77MS16
n: Axis No.-1

Chapter 5 Data Used for Positioning Control
Setting value, setting range Default
Value set with GX Works2 Value set with sequence
[Da.6]
Positioning address/ movement amount The setting value range differs according to the "[Da.2] Control system".
0 2006+6000n 2007+6000n 6006+1000n 6007+1000n
[Da.7] Arc address 0 2008+6000n 2009+6000n 6008+1000n 6009+1000n
The setting value range differs depending on the "[Pr.1] Unit setting".
[Da.8]
0 2004+6000n 2005+6000n 6004+1000n 6005+1000n -1: Current speed (Speed set for previous positioning data No.)
[Da.9]
Dwell time/ JUMP destination positioning data No.
0 2002+6000n 6002+1000n JUMP destination positioning data No.
The setting value range differs according to the "[Da.2] Control system".
[Da.10]
Condition data No. Number of LOOP to LEND repetitions
M code/ Condition data No./Number of LOOP to LEND repetitions
0H 1H 2H 3H 4H 5H 6H 7H 8H 9H AH BH CH DH EH FH
[Da.20]
Axis to be interpolated No.1 QD77MS16
Axis to be interpolated
b0 b4 b8 b12 b15
0000H 6003+1000n [Da.21]
Axis to be interpolated No.2 QD77MS16
Da.20 Da.22 Da.21
not used.
[Da.22]
Axis to be interpolated No.3 QD77MS16
n: Axis No.-1
![Page 226 of the Mitsubishi Electronics QD77MS2 user manual — [Da.2] Control system](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-226.webp?w=400)
Chapter 5 Data Used for Positioning Control
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.
Positioning complete Independent positioning control (Positioning complete)
Continuous positioning with one start signal Continuous positioning control
Continuous path positioning with speed change Continuous path control
Set the "control system" for carrying out positioning control. Note) When "JUMP instruction" is set for the control system, the "[Da.9] Dwell
time/JUMP destination positioning data No. " and "[Da.10] M code/Condition data No./Number of LOOP to LEND repetitions" setting details will differ. In case you selected "LOOP" as the control system, the "[Da.10] M
code/Condition data No./Number of LOOP to LEND repetitions" should be set differently from other cases. Refer to Chapter 9 "Major Positioning Control" for details on the control
systems. If "degree" is set for "[Pr.1] Unit setting", circular interpolation control
cannot be carried out. (The error "Circular interpolation not possible" (error code: 535) will occur when executed.)
[Da.3] Acceleration time No.
Set which of "acceleration time 0 to 3" to use for the acceleration time during positioning. 0: Use the value set in "[Pr.9] Acceleration time 0". 1: Use the value set in "[Pr.25] Acceleration time 1". 2: Use the value set in "[Pr.26] Acceleration time 2". 3: Use the value set in "[Pr.27] Acceleration time 3".
[Operation pattern] · Positioning continued

Chapter 5 Data Used for Positioning Control
[Da.4] Deceleration time No.
Set which of "deceleration time 0 to 3" to use for the deceleration time during positioning. 0: Use the value set in "[Pr.10] Deceleration time 0". 1: Use the value set in "[Pr.28] Deceleration time 1". 2: Use the value set in "[Pr.29] Deceleration time 2". 3: Use the value set in "[Pr.30] Deceleration time 3".
[Da.5] Axis to be interpolated QD77MS2 QD77MS4 Set the target axis (partner axis) for operations under the 2-axis interpolation control. 0: Selects the axis 1 as the target axis (partner axis). 1: Selects the axis 2 as the target axis (partner axis). 2: Selects the axis 3 as the target axis (partner axis). 3: Selects the axis 4 as the target axis (partner axis). Note) Do not specify the own axis number or any number except the above.
(If you do, the "Illegal interpolation description command error" will occur during the program execution (error code: 521).) This item does not need to be set in case 3 or 4-axis interpolation is
selected.
Set the address to be used as the target value for positioning control. The setting value range differs according to the "[Da.2] Control system". ((1) to (4))
The setting value (positioning address) for the ABS system and current value
changing is set with an absolute address (address from OP).
Stop position (positioning start address)
-1000 3000 1000

Chapter 5 Data Used for Positioning Control
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)
Stop position (positioning start position)
Moves in negative direction
Moves in positive direction
INC mode:
Set the amount of movement after the switching from speed control to position control.
ABS mode:
Set the absolute address which will be the target value after speed control is switched to position control. (The unit is "degree" only)
Movement amount setting (INC mode)
Speed control Target address setting (ABS mode)
Set the amount of movement before the switching from position control to
speed control.

Chapter 5 Data Used for Positioning Control
When "[Pr.1] Unit setting" is "mm"
The table below lists the control systems that require the setting of the positioning address or movement amount and the associated setting ranges. (With any control system excluded from the table below, neither the positioning address nor the movement amount needs to be set.)
[Da.2] setting value Value set with GX Works2
Value set with sequence program 1 (10-1m)
ABS Linear 1 : 01H ABS Linear 2 : 0AH ABS Linear 3 : 15H ABS Linear 4 : 1AH Current value changing : 81H
Set the address -214748364.8 to 214748364.7
Set the address -2147483648 to 2147483647
INC Linear 1 : 02H INC Linear 2 : 0BH INC Linear 3 : 16H INC Linear 4 : 1BH Fixed-feed 1 : 03H Fixed-feed 2 : 0CH Fixed-feed 3 : 17H Fixed-feed 4 : 1CH
Set the movement amount -214748364.8 to 214748364.7
Set the movement amount -2147483648 to 2147483647
Forward run speed/position : 06H Reverse run speed/position : 07H Forward run position/speed : 08H Reverse run position/speed : 09H
Set the movement amount 0 to 214748364.7 Set the movement amount 0 to 2147483647
Set the address -214748364.8 to 214748364.7
Set the address -2147483648 to 2147483647
Set the movement amount -214748364.8 to 214748364.7
Set the movement amount -2147483648 to 2147483647
(m)

Chapter 5 Data Used for Positioning Control
When "[Pr.1] Unit setting" is "degree"
The table below lists the control systems that require the setting of the positioning address or movement amount and the associated setting ranges. (With any control system excluded from the table below, neither the positioning address nor the movement amount needs to be set.)
[Da.2] setting value Value set with GX Works2
Value set with sequence program 1 (10-5 degree)
ABS Linear 1 : 01H ABS Linear 2 : 0AH ABS Linear 3 : 15H ABS Linear 4 : 1AH Current value changing : 81H
Set the address 0 to 359.99999 Set the address 0 to 35999999
INC Linear 1 : 02H INC Linear 2 : 0BH INC Linear 3 : 16H INC Linear 4 : 1BH Fixed-feed 1 : 03H Fixed-feed 2 : 0CH Fixed-feed 3 : 17H Fixed-feed 4 : 1CH
Set the movement amount -21474.83648 to 21474.83647
Set the movement amount -2147483648 to 2147483647 2
In INC mode Set the movement amount 0 to 2147483647 In ABS mode Set the address 0 to 35999999 Forward run position/speed : 08H Reverse run position/speed : 09H
In INC mode Set the movement amount 0 to 21474.83647 In ABS mode Set the address 0 to 359.99999
Set the movement amount 0 to 21474.83647 Set the movement amount 0 to 2147483647
(degree)

Chapter 5 Data Used for Positioning Control
When "[Pr.1] Unit setting" is "PLS"
The table below lists the control systems that require the setting of the positioning address or movement amount and the associated setting ranges. (With any control system excluded from the table below, neither the positioning address nor the movement amount needs to be set.)
Value set with sequence program 1 (PLS) ABS Linear 1 : 01H ABS Linear 2 : 0AH ABS Linear 3 : 15H ABS Linear 4 : 1AH Current value changing : 81H
[Da.2] setting value Value set with GX Works2
Set the address -2147483648 to 2147483647
Set the address -2147483648 to 2147483647
INC Linear 1 : 02H INC Linear 2 : 0BH INC Linear 3 : 16H INC Linear 4 : 1BH Fixed-feed 1 : 03H Fixed-feed 2 : 0CH Fixed-feed 3 : 17H Fixed-feed 4 : 1CH
Set the movement amount -2147483648 to 2147483647
Set the movement amount -2147483648 to 2147483647
Forward run speed/position : 06H Reverse run speed/position : 07H Forward run position/speed : 08H Reverse run position/speed : 09H
Set the movement amount 0 to 2147483647 Set the movement amount 0 to 2147483647
Set the address -2147483648 to 2147483647
Set the address -2147483648 to 2147483647
Set the movement amount -2147483648 to 2147483647
Set the movement amount -2147483648 to 2147483647
![Page 232 of the Mitsubishi Electronics QD77MS2 user manual — [Da.7] Arc address](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-232.webp?w=400)
Chapter 5 Data Used for Positioning Control
When "[Pr.1] Unit setting" is "inch"
The table below lists the control systems that require the setting of the positioning address or movement amount and the associated setting ranges. (With any control system excluded from the table below, neither the positioning address nor the movement amount needs to be set.)
Value set with sequence program 1 (10-5 inch)
[Da.2] setting value Value set with GX Works2
ABS Linear 1 : 01H ABS Linear 2 : 0AH ABS Linear 3 : 15H ABS Linear 4 : 1AH Current value changing : 81H
Set the address -21474.83648 to 21474.83647
Set the address -2147483648 to 2147483647
INC Linear 1 : 02H INC Linear 2 : 0BH INC Linear 3 : 16H INC Linear 4 : 1BH Fixed-feed 1 : 03H Fixed-feed 2 : 0CH Fixed-feed 3 : 17H Fixed-feed 4 : 1CH
Set the movement amount -21474.83648 to 21474.83647
Set the movement amount -2147483648 to 2147483647
Forward run speed/position : 06H Reverse run speed/position : 07H Forward run position/speed : 08H Reverse run position/speed : 09H
Set the movement amount 0 to 21474.83647 Set the movement amount 0 to 2147483647
Set the address -21474.83648 to 21474.83647
Set the address -2147483648 to 2147483647
Set the movement amount -21474.83648 to 21474.83647
Set the movement amount -2147483648 to 2147483647
The arc address is data required only when carrying out circular interpolation control. (1) When carrying out circular interpolation with sub point designation, set the sub
point (passing point) address as the arc address. (2) When carrying out circular interpolation with center point designation, set the
center point address of the arc as the arc address.
End point address (Address set with Da.6 )
End point address (Address set with Da.6 )
Center point address (Address set with Da.7 )
Sub point (Address set with Da.7 )
Start point address (Address before starting positioning) Start point address (Address before starting positioning)
When not carrying out circular interpolation control, the value set in "[Da.7] Arc address" will be invalid.
(inch) · point designation> · point designation>

Chapter 5 Data Used for Positioning Control
When "[Pr.1] Unit setting" is "mm"
The table below lists the control systems that require the setting of the arc address and shows the setting range. (With any control system excluded from the table below, the arc address does not need to be set.)
Value set with sequence program 1 (10-1m)
[Da.2] setting value Value set with GX Works2
Set the address -214748364.8 to 214748364.7 2 Set the address -2147483648 to 2147483647
Set the movement amount -214748364.8 to 214748364.7 2 Set the movement amount -2147483648 to 2147483647 2
When "[Pr.1] Unit setting" is "degree"
No control system requires the setting of the arc address by "degree".
When "[Pr.1] Unit setting" is "PLS"
The table below lists the control systems that require the setting of the arc address and shows the setting range. (With any control system excluded from the table below, the arc address does not need to be set.)
[Da.2] setting value Value set with GX Works2
Value set with sequence program
Set the address -2147483648 to 2147483647 1 Set the address -2147483648 to 2147483647
Set the movement amount -2147483648 to 2147483647 1 Set the movement amount -2147483648 to 2147483647 1
(m)
![Page 234 of the Mitsubishi Electronics QD77MS2 user manual — [Da.8] Command speed](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-234.webp?w=400)
Chapter 5 Data Used for Positioning Control
When "[Pr.1] Unit setting" is "inch"
The table below lists the control systems that require the setting of the arc address and shows the setting range. (With any control system excluded from the table below, the arc address does not need to be set.)
[Da.2] setting value Value set with GX Works2
Value set with sequence program 1 (10-5 inch)
Set the address -21474.83648 to 21474.83647 2 Set the address -2147483648 to 2147483647
Set the movement amount -21474.83648 to 21474.83647 2 Set the movement amount -2147483648 to 2147483647 2
Set the command speed for positioning. (1) If the set command speed exceeds "[Pr.8] Speed limit value", positioning will
be carried out at the speed limit value. (2) If "-1" is set for the command speed, the current speed (speed set for previous
positioning data No.) will be used for positioning control. Use the current speed for uniform speed control, etc. If "-1" is set for continuing positioning data, and the speed is changed, the following speed will also change.
(Note that when starting positioning, if the "-1" speed is set for the positioning
data that carries out positioning control first, the error "No Command speed" (error code: 503) will occur, and the positioning will not start. Refer to Section 16.4 "List of errors" for details on the errors.)
[Pr.1] setting value Value set with GX Works2
Value set with sequence program
(inch) · (unit) · (unit)

Chapter 5 Data Used for Positioning Control
[Da.9] Dwell time/JUMP designation positioning data No.
Set the "dwell time" or "positioning data No." corresponding to the "[Da.2] Control system". When a method other than "JUMP instruction" is set for "[Da.2] Control system" Set the "dwell time". When "JUMP instruction" is set for "[Da.2] Control system" Set the "positioning data No." for the JUMP destination.
When the "dwell time" is set, the setting details of the "dwell time" will be as follows according to "[Da.1] Operation pattern".

Set the time from when the positioning ends to when the "positioning complete signal" turns ON as the "dwell time".
Set the time from when positioning control ends to when the next positioning control starts as the "dwell time".
The setting value is irrelevant to the control. (The "dwell time" is 0ms.)

[Da.2] setting value Setting item Value set with GX Works2 Value set with sequence
Other than JUMP instruction Dwell time 0 to 65535 (ms) 0 to 65535 (ms)
![Page 236 of the Mitsubishi Electronics QD77MS2 user manual — [Da.10] M code/Condition data No./Number of LOOP to LEND repetitions](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-236.webp?w=400)
Chapter 5 Data Used for Positioning Control
Set an "M code", a "condition data No.", or the "Number of LOOP to LEND repetitions" depending on how the "[Da.2] Control system" is set.
1 If a method other than "JUMP instruction" and "LOOP" is selected as the
"[Da.2] Control system" Set an "M code".
If no "M code" needs to be output, set "0" (default value). If "JUMP instruction" or "LOOP" is selected as the "[Da.2] Control system"
Set the "condition data No." for JUMP.
[Da.9]. 1 to 10 : JUMP performed according to the condition data No. specified (a number between 1 and 10). Make sure that you specify the number of LOOP to LEND repetitions by a number other than "0". The error "Control system LOOP setting error" (error code: 545) will occur if you specify "0". 1: The condition data specifies the condition for the JUMP instruction to be executed. (A JUMP will take place when the condition is satisfied.)
[Da.2] setting value Setting item Value set with GX Works2 Value set with sequence
Other than JUMP instruction M code 0 to 65535 0 to 65535
program

Chapter 5 Data Used for Positioning Control
[Da.20] Axis to be interpolated No.1 to [Da.22] Axis to be interpolated No.3
Set the axis to be interpolated to execute the 2 to 4-axis interpolation operation.

Chapter 5 Data Used for Positioning Control
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] to [Da.14] are explained in the pages that follow.

Up to 50 block start data points can be set (stored) for each axis in the buffer memory addresses shown on the left.
Items in a single unit of block start data are shown included in a bold frame. Each axis has five start blocks (block Nos. 0 to 4).
(Note): For information on the organization of the buffer memory addresses assigned to the start blocks 1 to 4, refer to Appendix 1 "List of buffer memory addresses".
n: Axis No.-1

Up to 50 block start data points can be set (stored) for each axis in the buffer memory addresses shown on the left.
Items in a single unit of block start data are shown included in a bold frame. Each axis has five start blocks (block Nos. 0 to 4). Start block 2 to 4 are not allocated to buffer memory. Set with GX Works2.
(Note): For information on the organization of the buffer memory addresses assigned to the start block 1, refer to Appendix 1 "List of buffer memory addresses".
n: Axis No.-1

Chapter 5 Data Used for Positioning Control
The following pages explain the block start data setting items [Da.11] to [Da.14]. (The buffer memory addresses shown are those of the "1st point block start data (block No. 7000)".)

Axis No. n Axis No. n Axis No. n Axis No. n
(Note-1): Calculate as follows for the buffer memory address corresponding to each axis.
(Example) For axis No. 16
22000+400n ([Da.11] Shape)=22000+400 15=28000
(Note-2): The range from axis No.1 to 2 (n=0 to 1) is valid in the QD77MS2. (Note-3): The range from axis No.1 to 4 (n=0 to 3) is valid in the QD77MS4.

Chapter 5 Data Used for Positioning Control
To perform a high-level positioning control using block start data, set a number between 7000 and 7004 to the "[Cd.3] Positioning start No." and use the "[Cd.4] Positioning starting point No." to specify a point number between 1 and 50, a position counted from the beginning of the block. The number between 7000 and 7004 specified here is called the "block No.". With the Simple Motion module, up to 50 "block start data" points and up to 10 "condition data" items can be assigned to each "block No.".

Block No. 1 Axis Block start data Condition Buffer memory GX Works2
7000 Axis 1 Start block 0 Condition data (1 to 10)
7001 Axis 1 Start block 1 Condition data (1 to 10)
7002 Axis 1 Start block 2 Condition data (1 to 10)
7003 Axis 1 Start block 3 Condition data (1 to 10)
7004 Axis 1 Start block 4 Condition data (1 to 10)

Chapter 5 Data Used for Positioning Control

Block No. 1 Axis Block start data Condition Buffer memory GX Works2

Block No. 1 Axis Block start data Condition Buffer memory GX Works2

Chapter 5 Data Used for Positioning Control

Value set with GX Works2 Value set with sequence program QD77MS2 QD77MS4 QD77MS16
1 to 10 (01H to 0AH) Number of repetitions:
n: Axis No.-1
![Page 243 of the Mitsubishi Electronics QD77MS2 user manual — [Da.14] Parameter](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-243.webp?w=400)
Chapter 5 Data Used for Positioning Control
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.
![Mitsubishi Electronics QD77MS2 — [Da.11] Shape diagram (page 243)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-243-1.webp)
[Da.12] Start data No.
Set the "positioning data No." designated with the "block start data".
Set the "special start instruction" for using "high-level positioning control". (Set how to start the positioning data set in "[Da.12] Start data No.".)
Setting value Setting details
00H: Block start (Normal start) Execute the random block positioning data in the set order with one start.
01H: Condition start Carry out the condition judgment set in "condition data" for the designated positioning data, and when the conditions are established, execute the "block start data". If not established, ignore that "block start data", and then execute the next point's "block start data".
02H: Wait start Carry out the condition judgment set in "condition data" for the designated positioning data, and when the conditions are established, execute the "block start data". If not established, stop the control (wait) until the conditions are established.
Simultaneous execute (output command at same timing) the positioning data with the No. designated for the axis designated in the "condition data". Up to four axes can start simultaneously.
Repeat the program from the block start data with the "FOR loop" to the block start data with "NEXT" for the designated number of times.
Repeat the program from the block start data with the "FOR condition" to the block start data with "NEXT" until the conditions set in the "condition data" are established.
06H: NEXT start Set the end of the repetition when "04H: Repetition start (FOR loop)" or "05H: Repetition start (FOR condition)" is set.
Refer to Chapter 10 "High-Level Positioning Control" for details on the control.
Set the value as required for "[Da.13] Special start instruction".
![Mitsubishi Electronics QD77MS2 — [Da.14] Parameter diagram (page 243)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-243-2.webp)
Block start (Normal start) – Not used. (There is no need to set.)
1 to 10 Set the condition data No. (Data No. of "condition data" is set up for the condition judgment.) Wait start
Repeated start (FOR loop) 0 to 255 Set the number of repetitions.
Repeated start (FOR condition) 1 to 10 Set the condition data No. (Data No. of "condition data" is set up for the condition judgment.)

Chapter 5 Data Used for Positioning Control
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] to [Da.19] and [Da.23] to [Da.26] are explained in the pages that follow.

Up to 10 condition data points can be set (stored) for each block No. in the buffer memory addresses shown on the left.
Items in a single unit of condition data are shown included in a bold frame.
Each axis has five start blocks (block Nos. 0 to 4).
(Note): For information on the organization of the buffer memory addresses assigned to the start blocks 1 to 4, refer to Appendix 1 "List of buffer memory addresses".
n: Axis No.-1

Up to 10 condition data points can be set (stored) for each block No. in the buffer memory addresses shown on the left.
Items in a single unit of condition data are shown included in a bold frame.
Each axis has five start blocks (block Nos. 0 to 4). Start block 2 to 4 are not allocated to buffer memory. Set with GX Works2.
(Note): For information on the organization of the buffer memory addresses assigned to the start block 1, refer to Appendix 1 "List of buffer memory addresses".
n: Axis No.-1

Chapter 5 Data Used for Positioning Control
The following pages explain the condition data setting items [Da.15] to [Da.19] and [Da.23] to [Da.26]. (The buffer memory addresses shown are those of the "condition data No. 1 (block No. 7000)".)

Axis No. n Axis No. n Axis No. n Axis No. n
(Note-1): Calculate as follows for the buffer memory address corresponding to each axis.
(Example) For axis No. 16
22100+400n ([Da.16] Condition operator)=22100+400 15=28100
(Note-2): The range from axis No.1 to 2 (n=0 to 1) is valid in the QD77MS2. (Note-3): The range from axis No.1 to 4 (n=0 to 3) is valid in the QD77MS4.

Chapter 5 Data Used for Positioning Control
To perform a high-level positioning control using block start data, set a number between 7000 and 7004 to the "[Cd.3] Positioning start No." and use the "[Cd.4] Positioning starting point No." to specify a point number between 1 and 50, a position counted from the beginning of the block. The number between 7000 and 7004 specified here is called the "block No.". With the Simple Motion module, up to 50 "block start data" points and up to 10 "condition data" items can be assigned to each "block No.".

Block No. 1 Axis Block start data Condition Buffer memory GX Works2
7000 Axis 1 Start block 0 Condition data (1 to 10)
7001 Axis 1 Start block 1 Condition data (1 to 10)
7002 Axis 1 Start block 2 Condition data (1 to 10)
7003 Axis 1 Start block 3 Condition data (1 to 10)
7004 Axis 1 Start block 4 Condition data (1 to 10)

Chapter 5 Data Used for Positioning Control

Block No. 1 Axis Block start data Condition Buffer memory GX Works2

Block No. 1 Axis Block start data Condition Buffer memory GX Works2

Chapter 5 Data Used for Positioning Control

Value set with GX Works2 Value set with sequence program QD77MS2 QD77MS4 QD77MS16
n: Axis No.-1

Chapter 5 Data Used for Positioning Control

Value set with GX Works2 Value set with sequence program QD77MS2 QD77MS4 QD77MS16
0H 1H 2H 3H 4H 5H 6H 7H 8H 9H AH BH CH DH EH FH
n: Axis No.-1

Chapter 5 Data Used for Positioning Control
Set the condition target as required for each control.
![Mitsubishi Electronics QD77MS2 — [Da.15] Condition target diagram (page 250)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-250-1.webp)
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)" 04H: The target buffer memory is "2-word (32 bits)" 04H : Buffer memory (2-word)
05H : Positioning data No. Select only for "simultaneous start".
Set the condition operator as required for the "[Da.15] Condition target".
[Da.15] Condition target Setting value Setting details
01H: Device X 02H: Device Y 07H : DEV=ON The state (ON/OFF) of an I/O signal is defined as the condition. Select ON or OFF as the trigger. 08H : DEV=OFF
02H : P1 03H : P1
Select how to use the value () in the buffer memory as a part of the condition.
06H : P1, P2
20H : Axis 2 selected 30H : Axis 1 and 2 selected 40H : Axis 3 selected 50H : Axis 1 and 3 selected 60H : Axis 2 and 3 selected 70H : Axis 1, 2, and 3 selected 80H : Axis 4 selected 90H : Axis 1 and 4 selected A0H : Axis 2 and 4 selected B0H : Axis 1, 2, and 4 selected C0H : Axis 3 and 4 selected D0H : Axis 1, 3, and 4 selected E0H : Axis 2, 3, and 4 selected
If "simultaneous start" is specified, select the axis (or axes) that should start simultaneously.
05H: Positioning data No.
[Da.17] Address
Set the address as required for the "[Da.15] Condition target".

[Da.15] Condition target Setting value Setting details 01H : Device X – Not used. (There is no need to set.) 02H : Device Y 03H : Buffer memory (1-word) Value (Buffer memory address)
Set the target "buffer memory address". (For 2 words, set the low-order buffer memory address.) 04H : Buffer memory (2-word)
![Page 251 of the Mitsubishi Electronics QD77MS2 user manual — [Da.18] Parameter 1](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-251.webp?w=400)
Chapter 5 Data Used for Positioning Control
![Mitsubishi Electronics QD77MS2 — [Da.18] Parameter 1 diagram (page 251)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-251-1.webp)
The value of P1 should be equal to or smaller than the value of P2. (P1P2) If P1 is greater than P2 (P1>P2), the error "Condition data error" (error code: 533) will occur.
X: 0H, 1H, 4H to 17H Y: 0H, 1H, 4H to 17H 08H : DEV=OFF
Set the positioning data No. for starting axis 1 and/or axis 2.
![Mitsubishi Electronics QD77MS2 — [Da.18] Parameter 1 diagram (page 251)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-251-2.webp)
The value of P1 should be equal to or smaller than the value of P2. (P1P2) If P1 is greater than P2 (P1>P2), the error "Condition data error" (error code: 533) will occur.
X: 0H to 1H, 10H to 1FH Y: 0H, 1H, 10H to 1FH 08H : DEV=OFF
Set the positioning data No. for starting axis set in "[Da.24] Simultaneously starting axis No.1" and/or "[Da.25] Simultaneously starting axis No.2".
No.1 positioning data No.1 to 600 (01H to 258H) High-order 16-bit : Simultaneously starting axis
No.2 positioning data No.1 to 600 (01H to 258H)

Chapter 5 Data Used for Positioning Control
[Da.16] Condition operator Setting value Setting details
— Not used. (No need to be set.) 02H : P1
05H : P1 P2
The value of P2 should be equal to or greater than the value of P1. (P1P2) If P1 is greater than P2 (P1>P2), the error "Condition data error" (error code: 533) will occur. 06H : P1, P2
— Not used. (No need to be set.) 08H : DEV=OFF 10H : Axis 1 selected 20H : Axis 2 selected 30H : Axis 1 and 2 selected 40H : Axis 3 selected
50H : Axis 1 and 3 selected 60H : Axis 2 and 3 selected 70H : Axis 1, 2, and 3 selected 80H : Axis 4 selected 90H : Axis 1 and 4 selected A0H : Axis 2 and 4 selected B0H : Axis 1, 2, and 4 selected C0H : Axis 3 and 4 selected D0H : Axis 1, 3, and 4 selected E0H : Axis 2, 3, and 4 selected
Set the positioning data No. for starting axis 3 and/or axis 4.
Value (positioning data No.)

— Not used. (No need to be set.) 02H : P1
The value of P2 should be equal to or greater than the value of P1. (P1P2) If P1 is greater than P2 (P1>P2), the error "Condition data error" (error code: 533) will occur. 06H : P1, P2
Set the positioning data No. for starting axis set in "[Da.26] Simultaneously starting axis No.3"
No.3 positioning data No. 1 to 600 (01H to 258H) High-order 16-bit : Not used (Set "0")
Value · to 258H)
![Page 253 of the Mitsubishi Electronics QD77MS2 user manual — [Da.24] Simultaneously starting axis No.1 to [Da.26] Simultaneously starting](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-253.webp?w=400)
Chapter 5 Data Used for Positioning Control
Set the number of simultaneously starting axes to execute the simultaneous start.
axis No.3 QD77MS16
Set the simultaneously starting axis to execute the 2 to 4-axis simultaneous start.
Set the axis set as simultaneously starting axis.

Chapter 5 Data Used for Positioning Control

Chapter 5 Data Used for Positioning Control
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. such as the following table.

Axis No. n Axis No. n Axis No. n Axis No. n
(Note-1): Calculate as follows for the buffer memory address corresponding to each axis.
(Example) For axis No. 16
2406+100n ([Md.23] Axis error No.)=2406+100 15=3906
(Note-2): The range from axis No.1 to 2 (n=0 to 1) is valid in the QD77MS2. (Note-3): The range from axis No.1 to 4 (n=0 to 3) is valid in the QD77MS4. 5.6.1 System monitor data

Whether the mode is the test mode from the GX Works2 or not is stored.

Chapter 5 Data Used for Positioning Control


(Unless noted in particular, the monitor value is saved as binary data.)

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):
halted and restarted. Start origin : Indicates the source of the start signal. Start axis : Indicates the started axis.
Refresh cycle: At start [Reading the monitor value] Monitoring is carried out with a hexadecimal display.
b15 b12 b8 b4 b0
[Md.3]
Buffer memory Monitor value
0
Stored contents Storage value
Starting history (Up to 16 records can be stored)
Stored contents Storage value
Restart flag OFF 0
1 Restart flag ON
: Valid for the range from axis 1 to axis 2 in the QD77MS2, from axis 1 to axis 4 in the QD77MS4.
Monitoring is carried out with a hexadecimal display.
b15 b12 b8 b4 b0
Start No.
Stored contents Storage value Reference
A 0 0 0 to
1 B 5 8 0 2 5 8 7000 1 B 5 9 7001 1 B 5 A 7002 1 B 5 B 7003 1 B 5 C 7004
2 3 3 2 9010 2 3 3 3 9011 2 3 2 9 9001 2 3 2 A 9002 2 3 2 B 9003
Machine OPR Manual pulse generator
The starting No. is stored. Refresh cycle: At start
Fast OPR Current value changing
[Md.4]
Start No.
Synchronous control operation 2 3 3 C 9020
Position control mode speed control mode switching Position control mode torque control mode switching Speed control mode torque control mode switching Torque control mode speed control mode switching Speed control mode position control mode switching Torque control mode position control mode switching
2 3 4 6 9030
2 3 4 7 9031
2 3 4 8 9032
2 3 4 9 9033
2 3 4 B 9035
2 3 4 C 9036 Outside the range of control mode setting
Position control mode continuous operation to torque control mode switching
Continuous operation to torque control mode position control mode switching
Speed control mode continuous operation to torque control mode switching Continuous operation to torque control mode speed control mode switching Torque control mode continuous operation to torque control mode switching Continuous operation to torque control mode torque control mode switching
2 3 5 0 9040
2 3 5 1 9041
2 3 5 2 9042
relating to an earlier start signal is output.

Chapter 5 Data Used for Positioning Control
Default value Buffer memory address (common for all axes) QD77MS2/QD77MS4 QD77MS16
1292 Md.8
Indicates a pointer No. that is next to the pointer No. assigned to the latest of the existing starting history records.
Pointer No.
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Md.3 Start information
1212 1217 1222 1227 1232 1237 1247 1252 1242 1257 1262 1267 1272 1277 1282 1287
Md.4
1228 1238 1243 1233
Start No.
Md.54
Md.5
Md.6
Md.7
1216 1221 1226 1231 1236 1241 1246 1251 1256 1261 1266 1271 1276 1281 1286 1291
Each group of buffer memory addresses storing a complete starting history record is assigned a pointer No. Example: Pointer No. 0 = Buffer memory addresses 1212 to 1216, 1440 Pointer No. 1 = Buffer memory addresses 1217 to 1221, 1441 Pointer No. 2 = Buffer memory addresses 1222 to 1226, 1442
Pointer No. 15 = Buffer memory addresses 1287 to 1291, 1455 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. is reassigned.)
Md.8
Indicates a pointer No. that is next to the pointer No. assigned to the latest of the existing starting history records.
Pointer No.
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Md.3 Start information
4012 4017 4022 4027 4032 4037 4047 4052 4042 4057 4062 4067 4072 4077 4082 4087
Md.4
4028 4038 4043 4033
Start No.
Md.54
Md.5
Md.6
Md.7
4021 4026 4031 4036 4041 4046 4051 4056 4061 4066 4071 4076 4081 4086 4091
Each group of buffer memory addresses storing a complete starting history record is assigned a pointer No. Example: Pointer No. 0 = Buffer memory addresses 4012 to 4016, 4240 Pointer No. 1 = Buffer memory addresses 4017 to 4021, 4241 Pointer No. 2 = Buffer memory addresses 4022 to 4026, 4242
Pointer No. 15 = Buffer memory addresses 4087 to 4091, 4255 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. is reassigned.)

Chapter 5 Data Used for Positioning Control
Storage item Storage details Reading the monitor value
Monitoring is carried out with a hexadecimal display.
[Md.54]
Buffer memory (stored with BCD code)
0 b15 b12 0 0 0 1 0 1 1 0 b8 b4 b0 8 0 6 0
0 to 9 0 to 9 0 to 1 01 to 12 (month) 0 to 9
00 to 99 (year)
Monitoring is carried out with a hexadecimal display.
[Md.5]
Buffer memory (stored with BCD code)
0 b15 b12 0 1 0 1 0 1 0 1 0 1 b8 b4 b0 8 1 5 2
0 to 3 0 to 9 0 to 2 00 to 23 (hour) 0 to 9
01 to 31 (day)
Monitoring is carried out with a hexadecimal display.
[Md.6]
Buffer memory (stored with BCD code)
0 b15 b12 1 0 0 1 0 0 1 0 1 1 1 b8 b4 b0 9 0 7 4
Starting history (Up to 16 records can be stored)
0 to 5 0 to 9 00 to 59 (minute) 0 to 9
0 to 5 00 to 59 (second)
[Storage details] This area stores the following results of the error judgment performed upon starting:
BUSY start Control mode switching during BUSY Control mode switching during zero speed OFF Outside control mode range Control mode switching Error flag Error code
Refresh cycle: At start [Reading the monitor value] Monitoring is carried out with a hexadecimal display.
[Md.7]
b15 b12 b8 b4 b0
B a C D
Error flag Error Code Convert the hexadecimal value "a, B, C, D" into a decimal value and match it with Section "16.4 List of errors".
Stored contents Storage value
1 Error flag ON
Stored contents Storage value
Indicates a pointer No. that is next to the pointer No. assigned to the latest of the existing starting history records. Refresh cycle: At start
Monitoring is carried out with a decimal display.
[Md.8]
Storage value (Pointer number)
relating to an earlier start signal is output.

Chapter 5 Data Used for Positioning Control
Default value Buffer memory address (common for all axes) QD77MS2/QD77MS4 QD77MS16
QD77MS2/QD77MS4
1292 Md.8
Indicates a pointer No. that is next to the pointer No. assigned to the latest of the existing starting history records.
Pointer No.
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Md.3 Start information
1212 1217 1222 1227 1232 1237 1247 1252 1242 1257 1262 1267 1272 1277 1282 1287
Md.4
1228 1238 1243 1233
Start No.
Md.54
Md.5
Md.6
Md.7
1216 1221 1226 1231 1236 1241 1246 1251 1256 1261 1266 1271 1276 1281 1286 1291
Each group of buffer memory addresses storing a complete starting history record is assigned a pointer No. Example: Pointer No. 0 = Buffer memory addresses 1212 to 1216, 1440 Pointer No. 1 = Buffer memory addresses 1217 to 1221, 1441 Pointer No. 2 = Buffer memory addresses 1222 to 1226, 1442
Pointer No. 15 = Buffer memory addresses 1287 to 1291, 1455 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. is reassigned.)
Md.8
Indicates a pointer No. that is next to the pointer No. assigned to the latest of the existing starting history records.
Pointer No.
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Md.3 Start information
4012 4017 4022 4027 4032 4037 4047 4052 4042 4057 4062 4067 4072 4077 4082 4087
Md.4
4028 4038 4043 4033
Start No.
Md.54
Md.5
Md.6
Md.7
4021 4026 4031 4036 4041 4046 4051 4056 4061 4066 4071 4076 4081 4086 4091
Each group of buffer memory addresses storing a complete starting history record is assigned a pointer No. Example: Pointer No. 0 = Buffer memory addresses 4012 to 4016, 4240 Pointer No. 1 = Buffer memory addresses 4017 to 4021, 4241 Pointer No. 2 = Buffer memory addresses 4022 to 4026, 4242
Pointer No. 15 = Buffer memory addresses 4087 to 4091, 4255 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. is reassigned.)

Chapter 5 Data Used for Positioning Control
Storage item Storage details Reading the monitor value
Monitoring is carried out with a decimal display.
Storage value 1: Axis 1 5: Axis 5 9: Axis 9 13 : Axis 13 2: Axis 2 6: Axis 6 10: Axis 10 14: Axis 14 3: Axis 3 7: Axis 7 11: Axis 11 15: Axis 15 4: Axis 4 8: Axis 8 12: Axis 12 16: Axis 16
[Md.9]
Stores an axis No. in which an error occurred. Refresh cycle: Immediate
Axis in which the error occurred
: Valid for the range from axis 1 to axis 2 in the QD77MS2, from axis 1 to axis 4 in the QD77MS4.
Monitoring is carried out with a decimal display.
Stores an axis error No. Refresh cycle: Immediate
[Md.10]
Monitor value Axis error No. For details of error codos, refer to Section 16.4 "List of errors".
Axis error No.
Monitoring is carried out with a hexadecimal display.
When SSCNET setting is SSCNET /H
Stores the LED display details of servo amplifier detection alarm. ("0" is stored other than when a servo error occurs.) Refresh cycle: Immediate
[Md.57] Servo alarm
When SSCNET setting is SSCNET
Error history (Up to 16 records can be stored)
Servo alarm code Monitor value
Monitoring is carried out with a hexadecimal display.
[Md.61]
Store the driver operation alarm number. Refresh cycle: Immediate
Driver operation alarm number
Driver operation alarm Example) When the driver operation alarm is "10H" and the detailed
number is "23H", "1023H" is displayed.
Monitoring is carried out with a hexadecimal display.
[Md.55]
Buffer memory (stored with BCD code)
0 b15 b12 0 0 0 1 0 1 1 0 b8 b4 b0 8 0 6 0
0 to 9 0 to 9 0 to 1 01 to 12 (month) 0 to 9
00 to 99 (year)
Monitoring is carried out with a hexadecimal display.
[Md.11]
Buffer memory (stored with BCD code)
Monitor value 8 2 1 5 0 to 3 0 to 9 01 to 31 (day)
0 b15 b12 0 1 0 1 0 1 0 1 0 1 b8 b4 b0 8 1 5 2
0 to 2 0 to 9 00 to 23 (hour)
[Md.12]
Monitoring is carried out with a hexadecimal display.
Buffer memory (stored with BCD code)
0 b15 b12 1 0 0 1 0 0 1 0 1 1 1 b8 b4 b0 9 0 7 4
0 to 5 0 to 9 00 to 59 (minute) 00 to 59 (second) 0 to 9
Indicates a pointer No. that is next to the pointer No. assigned to the latest of the existing records. Refresh cycle: Immediate
Monitoring is carried out with a decimal display.
[Md.13]
Storage value (Pointer number)

Chapter 5 Data Used for Positioning Control
Default value Buffer memory address (common for all axes) QD77MS2/QD77MS4 QD77MS16
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. is reassigned.)
1357 Md.13
Indicates a pointer No. that is next to the pointer No. assigned to the latest of the existing error history records.
Pointer No.
Md.9
Axis in which the error occurred
Md.10
Axis error No.
Md.57 31300
31301 31302 31303 31304 31305 31306 31307 31308 31309 31310 31311 31312 31313 31314 31315
Md.61 Driver operation alarm number
31333 31334 31335 31336 31337 31338 31339 31340 31341 31342 31343 31344 31345 31346 31347 31348
Md.11
Md.12
Each group of buffer memory addresses storing a complete error history record is assigned a pointer No. Example: Pointer No. 0 = Buffer memory addresses 1293 to 1296, 1456, 31300 Pointer No. 1 = Buffer memory addresses 1297 to 1300, 1457, 31301
Pointer No. 15 = Buffer memory addresses 1353 to 1356, 1471, 31315
4157 Md.13
Indicates a pointer No. that is next to the pointer No. assigned to the latest of the existing error history records.
Pointer No.
Md.9 Axis in which the error occurred
Md.10
Axis error No.
Md.57 31300
31301 31302 31303 31304 31305 31306 31307 31308 31309 31310 31311 31312 31313 31314 31315
Md.61 Driver operation alarm number
31333 31334 31335 31336 31337 31338 31339 31340 31341 31342 31343 31344 31345 31346 31347 31348
Md.11
Md.12
Each group of buffer memory addresses storing a complete error history record is assigned a pointer No. Example: Pointer No. 0 = Buffer memory addresses 4093 to 4096, 4256, 31300 Pointer No. 1 = Buffer memory addresses 4097 to 4100, 4257, 31301
Pointer No. 15 = Buffer memory addresses 4153 to 4156, 4271, 31315

Chapter 5 Data Used for Positioning Control
Storage item Storage details Reading the monitor value
Monitoring is carried out with a decimal display.
Storage value 1: Axis 1 5: Axis 5 9: Axis 9 13 : Axis 13 2: Axis 2 6: Axis 6 10: Axis 10 14: Axis 14 3: Axis 3 7: Axis 7 11: Axis 11 15: Axis 15 4: Axis 4 8: Axis 8 12: Axis 12 16: Axis 16
[Md.14]
Stores an axis No. in which a warning occurred. Refresh cycle: Immediate
Axis in which the warning occurred
: Valid for the range from axis 1 to axis 2 in the QD77MS2, from axis 1 to axis 4 in the QD77MS4.
Monitoring is carried out with a decimal display.
[Md.15]
Stores an axis warning No. Refresh cycle: Immediate
Axis warning No.
Axis warning No.
For details of warning codes, refer to Section 16.5"List of warnings".
Monitoring is carried out with a hexadecimal display.
When SSCNET setting is SSCNET /H
Stores the LED display details of servo amplifier detection warning. ("0" is stored other than when a servo error occurs.) Refresh cycle: Immediate
[Md.58] Servo warning
When SSCNET setting is SSCNET
Servo warning code Monitor value
Monitoring is carried out with a hexadecimal display.
[Md.56]
Buffer memory (stored with BCD code)
0 b15 b12 0 0 0 1 0 1 1 0 b8 b4 b0 8 0 6 0
0 to 9 0 to 9 0 to 1 01 to 12 (month) 0 to 9
00 to 99 (year)
Monitoring is carried out with a hexadecimal display.
[Md.16]
Buffer memory (stored with BCD code)
0 b15 b12 0 1 0 1 0 1 0 1 0 1 b8 b4 b0 8 1 5 2
01 to 31 (day) 0 to 3 0 to 9
0 to 2 0 to 9 00 to 23 (hour)
[Md.17]
Monitoring is carried out with a hexadecimal display.
Buffer memory (stored with BCD code)
0 b15 b12 1 0 0 1 0 0 1 0 1 1 1 b8 b4 b0 9 0 7 4
0 to 5 0 to 9 00 to 59 (minute) 00 to 59 (second) 0 to 9
Indicates a pointer No. that is next to the pointer No. assigned to the latest of the existing records. Refresh cycle: Immediate
Monitoring is carried out with a decimal display.
[Md.18]
Storage value (Pointer number)

Chapter 5 Data Used for Positioning Control
Default value Buffer memory address (common for all axes) QD77MS2/QD77MS4 QD77MS16
1422 Md.18
Indicates a pointer No. that is next to the pointer No. assigned to the latest of the existing warning history records.
Pointer No.
0 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Md.14 Axis in which the warning occurred
Md.15
Axis warning No.
Md.58
31317 31318 31319 31320 31321 31322 31323 31324 31325 31326 31327 31328 31329 31330 31331
Md.16
Md.17
Each group of buffer memory addresses storing a complete warning history record is assigned a pointer No. Example: Pointer No. 0 = Buffer memory addresses 1358 to 1361, 1472, 31316 Pointer No. 1 = Buffer memory addresses 1362 to 1365, 1473, 31317 Pointer No. 2 = Buffer memory addresses 1366 to 1369, 1474, 31318
Pointer No. 15 = Buffer memory addresses 1418 to 1421, 1487, 31331 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. is reassigned.)
4222 Md.18
Indicates a pointer No. that is next to the pointer No. assigned to the latest of the existing warning history records.
Pointer No.
0 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Md.14 Axis in which the warning occurred
Md.15
Axis warning No.
Md.58
31317 31318 31319 31320 31321 31322 31323 31324 31325 31326 31327 31328 31329 31330 31331 Servo warning
Md.16
Md.17
Each group of buffer memory addresses storing a complete warning history record is assigned a pointer No. Example: Pointer No. 0 = Buffer memory addresses 4158 to 4161, 4272, 31316 Pointer No. 1 = Buffer memory addresses 4162 to 4165, 4273, 31317 Pointer No. 2 = Buffer memory addresses 4166 to 4169, 4274, 31318
Pointer No. 15 = Buffer memory addresses 4218 to 4221, 4287, 31331 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. is reassigned.)

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" when the number of write accesses reaches 26 and an error reset operation is performed. Refresh cycle: Immediate
[Md.19]
Monitoring is carried out with a decimal display.
Number of write accesses to flash ROM
This area stores the states (ON/OFF) of forced stop input. Refresh cycle: Operation cycle
Monitoring is carried out with a decimal display.
[Md.50]
[Md.51]
Indicates a current operation mode. Refresh cycle: Immediate
Monitoring is carried out with a decimal display.
Amplifier-less operation mode status
[Md.52]
Stores the detection status of axis that set communication between amplifiers. Refresh cycle: Immediate
Monitoring is carried out with a decimal display.
Communication between amplifiers axes searching flag
Stores the connect/disconnect status of SSCNET communication. Refresh cycle: Immediate
Monitoring is carried out with a decimal display.
[Md.53]
Monitoring is carried out with a hexadecimal display.
Stores the module information. Refresh cycle: At power supply ON
[Md.59]
Monitoring is carried out with a hexadecimal display.
Stores the first five digits of the module product information. Refresh cycle: At power supply ON
Buffer memory (stored with BCD code)
[Md.130]
Buffer memory 1207/4007 Buffer memory 1206/4006
Storage value First five digits of product information
[Md.131]
Stores the RUN status of digital oscilloscope. Refresh cycle: Main cycle
Monitoring is carried out with a decimal display.

Chapter 5 Data Used for Positioning Control
Default value Buffer memory address (common for all axes) QD77MS2/QD77MS4 QD77MS16
0 1424 1425 4224 4225
1000H QD77MS4:
1001H QD77MS16:
(Monitors this buffer memory address too. QD77MS2/QD77MS4: 1435, QD77MS16: 4235)
1206 1207 4006 4007

Chapter 5 Data Used for Positioning Control
Storage item Storage details Reading the monitor value
Stores the current operation cycle. Refresh cycle: At power supply ON
[Md.132]
Monitoring is carried out with a decimal display.
Monitoring is carried out with a decimal display.
This flag turns ON when the operation cycle time exceeds operation cycle. Refresh cycle: Immediate
[Md.133]
Operation cycle over flag
flag turns ON, correct the positioning detail or change the operation cycle longer than current setting.
Stores the time that took for operation every operation cycle. Refresh cycle: Operation cycle
Monitoring is carried out with a decimal display.
[Md.134]
Stores the maximum value of operation time after each module's power supply ON. Refresh cycle: Immediate
Monitoring is carried out with a decimal display.
[Md.135]

Chapter 5 Data Used for Positioning Control
Default value Buffer memory address (common for all axes) QD77MS2/QD77MS4 QD77MS16

Chapter 5 Data Used for Positioning Control
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.
[Md.20] Current feed value
The OP address is stored when the machine OPR is completed. When the current value is changed with the current value changing function, the
changed value is stored. Refresh cycle: Operation cycle
The address of the current position according to the machine coordinates will be stored. (Different from the actual motor position during operation) Note that the current value changing function will not change the machine feed value. Under the speed control mode, the machine feed value is constantly updated always, irrespective of the parameter setting. The value will not be cleared to "0" at the beginning of fixed-feed control. Even if "degree" is selected as the unit, the addresses will become a cumulative value. (They will not have a ring structure for values between 0 and 359.99999 degrees). However, the machine feed value is restored within the range of 0 to 359.99999 degrees at the communication start with servo amplifier after the power supply ON or PLC CPU reset.
[Md.21] Machine feed value
The speed of the operating workpiece is stored. (May be different from the actual motor speed during operation)
During interpolation operation, the speed is stored in the following manner.
Reference axis : Composite speed or reference axis speed (Set with [Pr.20]) Interpolation axis : 0 Refresh cycle: Operation cycle [POINT]
[Md.22] Feedrate
In case of the single axis operation, "[Md.22] Feedrate" and "[Md.28] Axis feedrate" are identical. In the composite mode of the interpolation operation, "[Md.22] Feedrate" is a speed in a composite direction and "[Md.28] Axis feedrate" is that in each axial direction.
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.) When "[Cd.5] Axis error reset" (axis control data) turns ON, the axis error No. is
[Md.23] Axis error No.
cleared (set to 0). Refresh cycle: Immediate

Chapter 5 Data Used for Positioning Control

: When " Pr.83 Speed control 10 x multiplier setting for degree axis" is valid: "-2"
Monitor value Axis error For details of error codes, refer to Section 16.4 "List of errors".
n: Axis No.-1

Chapter 5 Data Used for Positioning Control
Storage item Storage details
Whenever an axis warning is reported, a related warning code is stored.
This area stores the latest warning code always. (Whenever an axis warning is
reported, a new warning code replaces the stored warning code.) When the "[Cd.5] Axis error reset" (axis control data) is set to ON, the axis
[Md.24] Axis warning No.
This area stores an M code that is currently active (i.e. set to the positioning data relating to the current operation). When the PLC READY signal [Y0] goes OFF, the value is set to "0". Refresh cycle: Immediate
[Md.25] Valid M code
This area stores the axis operation status. Refresh cycle: Immediate
[Md.26] Axis operation status
The "[Da.8] Command speed" used by the positioning data currently being executed is stored.
If "[Da.8] Command speed" is set to "-1", this area stores the command speed
set by the positioning data used one step earlier. If "[Da.8] Command speed" is set to a value other than "-1", this area stores the
[Md.27] Current speed
command speed set by the current positioning data. When speed change function is executed, this area stores "[Cd.14] New speed
value". (For details of change speed function, refer to Section 13.5.1.) Refresh cycle: Immediate

Chapter 5 Data Used for Positioning Control
Reading the monitor value Default
Monitoring is carried out with a decimal display.
Axis warning For details of warning codes, refer to Section 16.5 "List of warnings".
Monitoring is carried out with a decimal display.
Monitor value M code No. (0 to 65535)
Monitoring is carried out with a decimal display.
Axis operation status -2: Step standby -1: Error 0: Standby 1: Stopped 2: Interpolation 3: JOG operation 4: Manual pulse generator operation 5: Analyzing 6: Special start standby 7: OPR 8: Position control 9: Speed control 10: Speed control in speed-position switching control 11: Position control in speed-position switching control 12: Position control in position-speed switching control 13: Speed control in position-speed switching control 15: Synchronous control 20: Servo amplifier has not been connected/ servo amplifier power OFF 21: Servo OFF 30: Control mode switch 31: Speed control 32: Torque control 33: Continuous operation to torque control mode
Monitoring is carried out with a decimal display.
Md.27
0 810+100n 811+100n 2410+100n 2411+100n
Current speed Md.27
: When " Pr.83 Speed control 10 x multiplier
setting for degree axis" is valid: "-2"
n: Axis No.-1

Chapter 5 Data Used for Positioning Control
Storage item Storage details
The speed which is actually output as a command at that time in each axis is
stored. (May be different from the actual motor speed) "0" is stored when the axis is at a stop. Refresh cycle: Operation cycle [POINT]
[Md.28] Axis feedrate
Refer to "[Md.22] Feedrate"
The movement amount for the position control to end after changing to position
control with the speed-position switching control is stored. When the control method is "Reverse run: position/speed", the negative value is stored. Refresh cycle: Immediate
[Md.29] Speed-position switching
The ON/OFF state of the external input signal is stored. The following items are stored.
External command signal/switching signal Near-point dog signal : This area stores the states of the external input signal (QD77MS), external
[Md.30] External input signal
input signal (servo amplifier) or buffer memory of QD77MS set by "[Pr.80] External input signal selection".
: This area stores the states of the external input signal (QD77MS) or buffer memory of QD77MS set by "[Pr.80] External input signal selection". Refresh cycle: Operation cycle

Chapter 5 Data Used for Positioning Control

: When " Pr.83 Speed control 10 x multiplier setting for degree axis" is valid: "-2"
n: Axis No.-1

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. The signal goes OFF when the power is switched ON, under the position control, and during JOG operation or manual pulse generator operation. During the speed-position or position-speed switching control, this signal comes ON only when the speed control is in effect. During the speed-position switching control, this signal goes OFF when the speed-position switching signal executes a switching over from speed control to position control. During the position-speed switching control, this signal comes ON when the position-speed switching signal executes a switching over from position control to speed control. Speed-position switching latch flag
This signal is used during the speed-position switching control for interlocking the movement amount change function. During the speed-position switching control, this signal comes ON when position control takes over. This signal goes OFF when the next positioning data is processed, and during JOG operation or manual pulse generator operation. Command in-position flag
This signal is ON when the remaining distance is equal to or less than the command in-position range (set by a detailed parameter). This signal remains OFF with data that specify the continuous path control (P11) as the operation pattern. The state of this signal is monitored every operation cycle except when the monitoring is canceled under the speed control or while the speed control is in effect during the speed-position or position-speed switching control. While operations are performed with interpolation, this signal comes ON only in respect of the starting axis. (This signal goes OFF in respect of all axes upon starting.) OPR request flag
This signal comes ON when the power is switched ON, when the absolute system has not been set, when the machine OPR has not been executed at the absolute position system, when a machine OPR operation starts. This signal goes OFF when a machine OPR operation completes. (For details of OPR request flag, refer to the remark of Section 8.1.1.) OPR complete flag
This signal comes ON when a machine OPR operation completes normally. This signal goes OFF when the operation start. Position-speed switching latch flag
This signal is used during the position-speed switching control for interlocking the command speed change function. During the position-speed switching control, this signal comes ON when speed control takes over. This signal goes OFF when the next positioning data is processed, and during JOG operation or manual pulse generator operation. Axis warning detection flag
[Md.31] Status
This signal comes On when an axis warning is reported and goes OFF when the axis error reset signal comes ON. Speed change 0 flag
This signal comes ON when a speed change request that specifies 0 as the new speed value is issued. This signal comes ON when a speed change request that specifies a new speed value other than 0 is issued. M code ON QD77MS16
In the WITH mode, this signal turns ON when the positioning data operation is started. In the AFTER mode, this signal turns ON when the positioning data operation is completed. This signal turns OFF with the "[Cd.7] M code OFF request". When M code is not designated (when "[Da.10] M code/Condition data No./Number of LOOP to LEND repetitions" is "0"), this signal will remain OFF. With using continuous path control for the positioning operation, the positioning will continue even when this signal does not turn OFF. However, the warning "M code ON signal ON" (warning code: 503) will occur. When the PLC READY signal [Y0] turns OFF, the M code ON signal will also turn OFF. If operation is started while the M code is ON, the error "M code ON signal start" (error code: 536) will occur. Error detection QD77MS16
This signal turns ON when an error listed in Section 16.3 occurs, and turns OFF when the error is reset on "[Cd.5] Axis error reset". Start complete QD77MS16
This signal turns ON when the positioning start signal turns ON and the Simple Motion module starts the positioning process. (The start complete signal also turns ON during OPR control.) Positioning complete QD77MS16
This signal turns ON for the time set in "[Pr.40] Positioning complete signal output time" from the instant when the positioning control for each positioning data No. is completed. For the interpolation control, the positioning complete signal of interpolation axis turns ON during the time set to the reference axis. (It does not turn ON when "[Pr.40] Positioning complete signal output time" is "0".) If positioning (including OPR), JOG/Inching operation, or manual pulse generator operation is started while this signal is ON, the signal will turn OFF. This signal will not turn ON when speed control or positioning is canceled midway. Refresh cycle: Immediate

Chapter 5 Data Used for Positioning Control

0 1 0 0 0 b15 b0 b4 b8 b12
n: Axis No.-1

Chapter 5 Data Used for Positioning Control
Storage item Storage details
This area stores the target value ([Da.6] Positioning address/movement amount) for a positioning operation.
At the beginning of positioning control and current value changing:
Stores the value of "[Da.6] Positioning address/movement amount". At the OP shift operation of OPR control : Stores the value of OP shift amount. At other times : Stores "0". Refresh cycle: Immediate
[Md.32] Target value
the override and speed limit value, etc., is stored. "0" is stored when positioning is completed. During interpolation of position control : The composite speed or reference
axis speed is stored in the reference axis address, and "0" is stored in the interpolation axis address. During interpolation of speed control : The target speeds of each axis are
stored in the monitor of the reference axis and interpolation axis. During JOG operation : The actual target speed, considering
[Md.33] Target speed
the JOG speed limit value for the JOG speed, is stored. During manual pulse generator operation : "0" is stored. Refresh cycle: Immediate [POINT] The target speed is when an override is made to the command speed.
When the speed limit value is overridden, the target speed is restricted to the speed limit value. The target speed changes every time data is switched, but does not change in an acceleration/deceleration state inside each piece of data (changes with the speed change because the target speed changes.)
"0" is stored when machine OPR starts. After machine OPR starts, the movement amount from the near-point dog ON to
the machine OPR completion is stored. (Movement amount: Movement amount to machine OPR completion using near- point dog ON as "0".) Refresh cycle: Immediate
[Md.34] Movement amount after
near-point dog ON

Chapter 5 Data Used for Positioning Control

: When " Pr.83 Speed control 10 x multiplier setting for degree axis" is valid: "-2"
n: Axis No.-1

Chapter 5 Data Used for Positioning Control
Storage item Storage details
"[Pr.17] Torque limit setting value", "[Cd.101] Torque output setting value", "[Cd.22] New torque value/forward new torque value" or "[Pr.54] OPR torque limit value" is stored.
During positioning start, JOG operation start, manual pulse generator operation
: "[Pr.17] Torque limit setting value" or "[Cd.101] Torque output setting value" is
stored. When a value is set in "[Cd.22] New torque value/forward new torque value"
[Md.35] Torque limit stored value/
forward torque limit stored value
: "[Cd.22] New torque value/forward new torque value" is stored. When OPR
: "[Pr.17] Torque limit setting value" or "[Cd.101] Torque output setting value" is
stored. However, "[Pr.54] OPR torque limit value" is stored after the speed reaches "[Pr.47] Creep speed".
The "instruction code" used with special start and indicated by the start data
[Md.36] Special start data instruction
pointer currently being executed is stored. Refresh cycle: Immediate
The "instruction parameter" used with special start and indicated by the start data pointer currently being executed is stored. The stored value differs according to the value set for [Md.36]. Refresh cycle: Immediate
[Md.37] Special start data instruction
The "positioning data No." indicated by the start data pointer currently being
[Md.38] Start positioning data No.

Chapter 5 Data Used for Positioning Control

n: Axis No.-1

Chapter 5 Data Used for Positioning Control
Storage item Storage details
If the speed exceeds the "[Pr.8] Speed limit value" ("[Pr.31] JOG speed limit
value" at JOG operation control) due to a speed change or override, the speed limit functions, and the in speed limit flag turns ON. When the speed drops to less than "[Pr.8] Speed limit value" ("[Pr.31] JOG speed
[Md.39] In speed limit flag
limit value" at JOG operation control), or when the axis stops, the in speed limit flag turns OFF. Refresh cycle: Immediate
The speed change process flag turns ON when the speed is changed during
positioning control. After the speed change process is completed or when deceleration starts with the
[Md.40] In speed change processing
stop signal during the speed change process, the in speed change process flag turns OFF. Refresh cycle: Immediate
This area stores the remaining number of repetitions during "repetitions" specific
to special starting. The count is decremented by one (-1) at the loop end. The control comes out of the loop when the count reaches "0". This area stores "0" within an infinite loop. Refresh cycle: Immediate
[Md.41] Special start repetition counter
This area stores the remaining number of repetitions during "repetitions" specific
to control system. The count is decremented by one (-1) at the loop start. The loop is terminated with the positioning data of the control method "LEND",
[Md.42] Control system repetition
after the counter becomes "0". Refresh cycle: Immediate
This area stores a point No. (1 to 50) attached to the start data currently being
executed.
[Md.43] Start data pointer being
This area stores "0" after completion of a positioning operation. Refresh cycle: Immediate
This area stores a positioning data No. attached to the positioning data currently
being executed.
[Md.44] Positioning data No. being
This area stores "0" when the JOG/inching operation is executed. Refresh cycle: Immediate
When the operation is controlled by "block start data", this area stores a block
number (7000 to 7004) attached to the block currently being executed. At other times, this area stores "0". Refresh cycle: At start
[Md.45] Block No. being executed

Chapter 5 Data Used for Positioning Control

n: Axis No.-1

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. The value is retained until a new positioning operation is executed. This area stores "0" when the JOG/inching operation is executed. Refresh cycle: Immediate
[Md.46] Last executed positioning
data No.
The addresses shown to the right store details of the positioning data currently
being executed (positioning data No. given by [Md.44]). Refresh cycle: Immediate
[Md.47] Positioning data being
"1" is stored when the constant speed status or acceleration status switches to
the deceleration status during position control whose operation pattern is "Positioning complete". "0" is stored at the next operation start or manual pulse generator operation
[Md.48] Deceleration start flag
is valid.
executed

Chapter 5 Data Used for Positioning Control

— 2441+100n Axis to be interpolated — [Da.20] to [Da.22]
Storage value Monitor value 0: Status other than below 1: Status from deceleration start to next operation start or manual pulse generator operation enable
n: Axis No.-1

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
[Md.100] OPR re-travel value
Example) mm (Buffer memory 0.1) µm Refresh cycle: Immediate
This area stores the current value (feed current value – deviation counter droop
pulses).
[Md.101] Real current value
Example) mm (Buffer memory 0.1) µm Refresh cycle: Operation cycle
This area stores the difference between the feed current and the real current
value. (Buffer memory details) PLS Refresh cycle: Operation cycle
[Md.102] Deviation counter value
This area stores the motor speed updated in real time.
(Buffer memory 0.1) r/min 1
[Md.103] Motor rotation speed
This area stores the present motor current value of the motor.
(Buffer memory 0.1) % Refresh cycle: Operation cycle
[Md.104] Motor current value
This area stores the software No. of the servo amplifier used. This area is update when the control power of the servo amplifier is turned ON. Refresh cycle: Servo amplifier's power supply ON
[Md.106] Servo amplifier software No.

Chapter 5 Data Used for Positioning Control

864 422D - B 865 3533 3 5 866 3257 W 2 867 3030 0 0 868 4120 SPACE A 869 2030 0 SPACE
n: Axis No.-1

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 "[Cd.5] Axis error reset" (axis control data) is set to ON after remove the
[Md.107] Parameter error No.
error factor of servo amplifier side, the servo alarm is cleared (set to 0). Refresh cycle: Immediate
This area stores the servo status. Zero point pass
Turns ON if the zero point of the encoder has been passed even once. Zero speed
Turns ON when the motor speed is lower than the servo parameter "zero speed." Speed limit
Turns ON during the speed limit in torque control mode. PID control
Turns ON when the servo amplifier is PID control. READY ON
Indicates the ready ON/OFF. Servo ON
Indicates the servo ON/OFF. Control mode
[Md.108] Servo status
Indicates the control mode of the servo amplifier. Servo alarm
Turns ON during the servo alarm. In-position
The dwell pulse turns ON within the servo parameter "in-position". Torque limit
Turns ON when the servo amplifier is having the torque restricted. Absolute position lost
Turns ON when the servo amplifier is lost the absolute position. Servo warning
Turns ON during the servo warning. Refresh cycle: Operation cycle

Chapter 5 Data Used for Positioning Control

When SSCNET setting is SSCNET /H When SSCNET setting is SSCNET Storage value Parameter No.
Monitoring is carried out with a hexadecimal display. b15 b12 b8 b4 b0
Control mode Position control mode Speed control mode Torque control mode
(1) When the forced stop of controller and servo amplifier occurs, the servo
n: Axis No.-1

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
[Md.109] Regenerative load ratio/
power of the option is indicated. (Buffer memory) %
Optional data monitor output 1
This area stores the content set in "[Pr.91] Optional data monitor: Data type
setting 1" at optional data monitor data type setting. Refresh cycle: Operation cycle
The continuous effective load torque is indicated. The average value of the load rates for the past 15 seconds to the rated torque is
stored as a percentage, rated torque being 100%. (Buffer memory) % This area stores the content set in "[Pr.92] Optional data monitor: Data type
[Md.110] Effective load torque/
Optional data monitor output 2
setting 2" at optional data monitor data type setting. Refresh cycle: Operation cycle
The maximum torque is indicated. (Holding value) The peak values for the past 15 seconds are indicated, rated torque being 100%.
[Md.111] Peak torque ratio/
(Buffer memory) % This area stores the content set in "[Pr.93] Optional data monitor: Data type
Optional data monitor output 3
setting 3" at optional data monitor data type setting. Refresh cycle: Operation cycle
This area stores the content set in "[Pr.94] Optional data monitor: Data type
setting 4" at optional data monitor data type setting. ("0" is stored when the optional data monitor data type is not set.) Refresh cycle: Operation cycle
[Md.112] Optional data monitor output
The switching status of semi closed loop control/fully closed loop control is
[Md.113] Semi/Fully closed loop
This area stores the servo alarm code and servo warning code displayed in LED
of servo amplifier.
When the "[Cd.5] Axis error reset" (axis control data) is set to ON after remove the
[Md.114] Servo alarm
error factor of servo amplifier side, the servo alarm is cleared (set to 0). Refresh cycle: Immediate
status

Chapter 5 Data Used for Positioning Control

Effective load torque ratio/ Optional data monitor output 2
When SSCNET setting is SSCNET When SSCNET setting is SSCNET /H
n: Axis No.-1

Chapter 5 Data Used for Positioning Control
Storage item Storage details
The option information of encoder is indicated. Refresh cycle: Servo amplifier's power supply ON
[Md.116] Encoder option information
"[Pr.17] Torque limit setting value", "[Cd.101] Torque output setting value", "[Cd.113] Reverse new torque value", or "[Pr.54] OPR torque limit value" is stored.
At the positioning start/JOG operation start/ manual pulse generator operation
: "[Pr.17] Torque limit setting value" or "[Cd.101] Torque output setting value" is
stored.
When a value is set in "[Cd.22] New torque value/forward new torque value" or
"[Cd.113] Reverse new torque value" during operation.
: "[Cd.22] New torque value/forward new torque value" is stored when "0" is
[Md.120] Reverse torque limit stored
set in "[Cd.112] Torque change function switching request".
"[Cd.113] Reverse new torque value" is stored when "1" is set in "[Cd.112]
Torque change function switching request".
: "[Pr.17] Torque limit setting value" or "[Cd.101] Torque output setting value"
is stored. However, "[Pr.54] OPR torque limit value" is stored after the speed
reaches "[Pr.47] Creep speed".
value · At the OPR

Chapter 5 Data Used for Positioning Control

: Servo amplifier compatible with direct drive motor use (Refer to each servo amplifier instruction manual for details.)
n: Axis No.-1

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
[Md.122] Speed during command
torque control mode only)
This area stores the command torque during torque control mode.
(Buffer memory 0.1)% This area stores the command torque during continuous operation to torque
control mode. "0" is stored other than during torque control mode or continuous operation to
[Md.123] Torque during command
torque control mode only)
This area stores the switching status of control mode. Refresh cycle: Operation cycle
[Md.124] Control mode switching
This area stores the servo status. Continuous operation to torque control mode
[Md.125] Servo status3
Turn ON when the continuous operation to torque control mode. Refresh cycle: Operation cycle
This area stores the servo status 7. Refresh cycle: Operation cycle
[Md.500] Servo status7
status

Chapter 5 Data Used for Positioning Control

: When " Pr.83 Speed control 10 x multiplier
Control mode switching status 0: Not during control mode switching 1: Position control mode - continuous operation to torque control mode, speed control mode - continuous operation to torque control mode switching 2: Waiting for the completion of control mode switching condition
Monitoring is carried out with a hexadecimal display. b15 b12 b8 b4 b0
n: Axis No.-1

Chapter 5 Data Used for Positioning Control
Storage item Storage details
This area stores the driver operation alarm number. Refresh cycle: Immediate
[Md.502] Driver operation alarm
number

Chapter 5 Data Used for Positioning Control

Driver operation alarm Example) When the driver operation alarm is "10H" and the detailed

Chapter 5 Data Used for Positioning Control
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. such as the following table.

Axis No. n Axis No. n Axis No. n Axis No. n
(Note-1): Calculate as follows for the buffer memory address corresponding to each axis.
(Example) For axis No. 16
4303+100n ([Cd.6] Restart command)=4303+100 15=5803
(Note-2): The range from axis No.1 to 2 (n=0 to 1) is valid in the QD77MS2. (Note-3): The range from axis No.1 to 4 (n=0 to 3) is valid in the QD77MS4. 5.7.1 System control data
Setting item Setting details
Writes not only "positioning data (No.1 to 600)" and "block start data (No.7000
to 7004)" stored in the buffer memory/internal memory area, but also "parameters" and "servo parameters" to the flash ROM/internal memory (nonvolatile). Fetch cycle: 103[ms] [POINT] (1) Do not turn the power OFF or reset the PLC CPU while writing to the flash ROM.
If the power is turned OFF or the PLC CPU is reset to forcibly end the process, the data backed up in the flash ROM will be lost. (2) Do not write the data to the buffer memory before writing to the flash ROM is
[Cd.1] Flash ROM write request
completed. (3) The number of writes to the flash ROM with the sequence program is 25 max. while the power is turned ON. Writing to the flash ROM beyond 25 times will cause the error "Flash ROM write number error" (error code: 805). Refer to Section 16.4 "List of errors" for details. (4) Monitoring is the number of writes to the flash ROM after the power is switched
ON by the "[Md.19] Number of write accesses to flash ROM".
Requests initialization of setting data.
Refer to Section 14.2 for initialized setting data. Initialization: Resetting of setting data to default values Fetch cycle: 103[ms]
[Cd.2] Parameter initialization request
reset the PLC CPU.

Chapter 5 Data Used for Positioning Control


The Simple Motion module resets the value to "0" automatically when
The Simple Motion module resets the value to "0" automatically

Chapter 5 Data Used for Positioning Control
Setting item Setting details
Set whether "[Md.48] Deceleration start flag" is made valid or invalid. Fetch cycle: At PLC READY ON [POINT]
[Cd.41] Deceleration start flag valid
The "[Cd.41] Deceleration start flag valid" become valid when the PLC READY signal [Y0] turns from OFF to ON.
Set the stop command processing for deceleration stop function (deceleration
[Cd.42] Stop command processing for
curve re-processing/deceleration curve continuation). Fetch cycle: At deceleration stop causes occurrence
deceleration stop selection

Chapter 5 Data Used for Positioning Control


Chapter 5 Data Used for Positioning Control
Setting item Setting details
Operate the external input signal status (Upper/lower limit signal, near-point dog
signal, stop signal) of QD77MS when "2" is set in "[Pr.80] External input signal selection". Fetch cycle: Operation cycle
[Cd.44] External input signal operation
device

Chapter 5 Data Used for Positioning Control

" Input signal logic selection" is negative logic 0: OFF 1: ON
" Input signal logic selection" is positive logic 0: ON 1: OFF
" Input signal logic selection" is negative logic 0: OFF 1: ON
" Input signal logic selection" is negative logic 0: OFF 1: ON
" Input signal logic selection" is positive logic 0: ON 1: OFF
" Input signal logic selection" is positive logic 0: ON 1: OFF

Chapter 5 Data Used for Positioning Control
Setting item Setting details
Request to set the initial value of QD75MH in setting data.
Refer to Section 14.14 for initialized setting data. Fetch cycle: 103[ms]
[Cd.47] QD75MH initial value setting
reset the PLC CPU.
Set the connect/disconnect command of SSCNET communication. Fetch cycle: 3.5[ms]
[Cd.102] SSCNET control command
Set the switching request of the normal operation mode and amplifier-less
[Cd.137] Amplifier-less operation
request · mode switching request

Chapter 5 Data Used for Positioning Control
(common for all axes)
Set with a decimal.
QD75MH initial value setting request
The Simple Motion module resets the value to "0" automatically after the initial value setting is completed. (Indicates that the initial value setting is completed.)
Set with a decimal.
SSCNET control command 0 : No command Axis No.(Note-1) : Disconnect command of SSCNET communication (Axis No. to be disconnected) -2 : Execute command -10 : Connect command of SSCNET communication Except above setting : Invalid
Set with a hexadecimal.
H
0000H 1926 5926
Amplifier-less operation mode switching request ABCDh: Change from normal operation mode to amplifier-less operation mode 0000h : Change from amplifier-less operation mode to normal operation mode

Chapter 5 Data Used for Positioning Control
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".) Fetch cycle: At start
[Cd.3] Positioning start No.
Set a "starting point No." (1 to 50) if block start data is used for positioning.
(Handled as "1" if the value of other than 1 to 50 is set.) Fetch cycle: At start
[Cd.4] Positioning starting point No.
Clears the axis error detection, axis error No., axis warning detection and axis
the error is cleared and the Simple Motion module is returned to the "waiting" state. Clears the both of Simple Motion module errors and servo amplifier errors by axis
[Cd.5] Axis error reset
error reset. (Some servo amplifier errors cannot be reset even if error reset is requested. At the time, "0" is not stored in [Cd.5] by the Simple Motion module. It remains "1". Set "0" in [Cd.5] and then set "1" to execute the error reset again by user side. Refer to each servo amplifier instruction manual for details.) Fetch cycle: 14.2[ms]
When positioning is stopped for any reason (when axis operation state is
"stopped"), set "1" in [Cd.6]. Positioning will be carried out again from the stopped position to the end point of the stopped positioning data. Fetch cycle: 14.2[ms]
[Cd.6] Restart command

Chapter 5 Data Used for Positioning Control
Set with a decimal.
Positioning data No.
1 to 600 7000 to7004 9001 9002 9003 9004
: Positioning data No. : Block start designation : Machine OPR : Fast-OPR : Current value changing : Simultaneous starting of multiple axes
Set with a decimal.
K
Positioning starting point No.
The Simple Motion module resets the value to "0" automatically when the continuous operation is interrupted.
Set with a decimal.
The Simple Motion module resets the value to "0" automatically after the axis error reset is completed. (Indicates that the axis error reset is completed.)
Set with a decimal.
The Simple Motion module resets the value to "0" automatically after restart acceptance is completed. (Indicates that the restart acceptance is completed.)
n: Axis No.-1

Chapter 5 Data Used for Positioning Control

The M code ON signal turns OFF. Fetch cycle: Operation cycle
Validates or invalidates external command signals. Fetch cycle: At request by external command signal
When changing the "current feed value" using the start No. "9003", use this data
item to specify a new feed value. Set a value within the following range:
When changing the acceleration time during a speed change, use this data item
0 to 8388608 (ms) Fetch cycle: At change request
When changing the deceleration time during a speed change, use this data item
0 to 8388608 (ms) Fetch cycle: At change request

Chapter 5 Data Used for Positioning Control

After the M code ON signal turns OFF, "0" is stored by the Simple Motion module automatically. (Indicates that the OFF request is completed.)
External command valid 0: Invalidates an external command. 1: Validates an external command.
n: Axis No.-1

Chapter 5 Data Used for Positioning Control
Setting item Setting details
Enables or disables modifications to the acceleration/deceleration time during a
[Cd.12] Acceleration/deceleration time
change during speed change, enable/disable selection
To use the positioning operation speed override function, use this data item to
specify an "override" value.
: For details of the override function, refer to Section 13.5.2 "Override function".
[Cd.13] Positioning operation speed
If the command speed is set to less than the minimum unit using the override function, the speed is raised to the minimum unit and the warning "Less than minimum speed" (warning code: 110) occurs. Fetch cycle: Operation cycle
When changing the speed, use this data item to specify a new speed. The operation halts if you specify "0". Set a value within the following range:
[Pr.1] Unit
mm (10-2 mm/min)
inch (10-3 inch/min)
degree (10-3 degree/min)
[Cd.14] New speed value
Setting range 0 to 2000000000 0 to 2000000000 0 to 2000000000 0 to 1000000000
: When "[Pr.83] Speed control 10 x multiplier setting for degree axis" is valid,
this will be the setting range 0 to 2000000000 (10-2degree/min). Fetch cycle: At change request
After setting the "[Cd.14] New speed value", set this data item to "1" to execute
the speed change (through validating the new speed value).
[Cd.15] Speed change request
override · PLS (PLS/s) · setting

Chapter 5 Data Used for Positioning Control

Acceleration/deceleration time change during speed change, enable/disable selection 1 : Enables modifications to acceleration/deceleration time Other than 1: Disables modifications to acceleration/deceleration time
When " Pr.83 Speed control 10 x multiplier setting for degree axis" is valid: "2"
value" is set as "20000.00mm /min", the buffer memory
The Simple Motion module resets the value to "0" automatically when the speed change request has been processed. (This indicates the completion of speed change request.)
n: Axis No.-1

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:
[Pr.1] Unit
mm (10-1 µm)
inch (10-5 inch)
degree (10-5 degree)
[Cd.16] Inching movement amount
Setting range 0 to 65535 0 to 65535 0 to 65535 0 to 65535
Use this data item to set the JOG speed. Set a value within the following range:
[Pr.1] Unit
mm (10-2 mm/min)
inch (10-3 inch/min)
degree (10-3 degree/min)
[Cd.17] JOG speed
Setting range 1 to 2000000000 1 to 2000000000 1 to 2000000000 1 to 1000000000
: When "[Pr.83] Speed control 10 x multiplier setting for degree axis" is valid,
this will be the setting range 1 to 2000000000 (10-2degree/min). Fetch cycle: At start
To interrupt a continuous operation, set "1" to this data item. After processing the interruption request ("1"), the Simple Motion module
[Cd.18] Interrupt request during
automatically resets the value to "0". Fetch cycle: Operation cycle

Chapter 5 Data Used for Positioning Control

: When " Pr.83 Speed control 10 x multiplier setting for degree axis" is valid: "2"
speed" is set as "20000.00mm /min", the buffer memory
Interruption request continuous operation 1: Interrupts continuous operation control or continuous path control.
The Simple Motion module resets the value to "0" automatically when the continuous control interruption request is processed. (This indicates the completion of continuous operation interruption request.)
n: Axis No.-1

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] [POINT]
[Cd.19] OPR request flag OFF request
This parameter is made valid when the increment system is valid.
This data item determines the factor by which the number of pulses from the
manual pulse generator is magnified. Value "0" : read as "1". Value "10001 or more" or negative value : read as "10000". Fetch cycle: Operation cycle (At manual pulse generator enabled)
[Cd.20] Manual pulse generator 1
This data item enables or disables operations using a manual pulse generator.
[Cd.21] Manual pulse generator
When "0" is set to "[Cd.112] Torque change function switching request", a new
torque limit value is set. (This value is set to the forward torque limit value and reverse torque limit value.) When "1" is set to "[Cd.112] Torque change function switching request", a new forward torque limit value is set.
Set a value within "0" to "[Pr.17] Torque limit setting value". Set a ratio against the
[Cd.22] New torque value/
forward new torque value
rated torque in percentage unit.
(The new torque value is invalid when "0" is set, and "[Pr.17] Torque limit setting
value" or "[Cd.101] Torque output setting value" becomes valid. The range of
torque change is 1 to "[Pr.17] Torque limit setting value".)
pulse input magnification · enable flag

Chapter 5 Data Used for Positioning Control

OPR request flag OFF request 1: Turns the "OPR request flag" from ON to OFF.
The Simple Motion module resets the value to "0" automatically when the OPR request flag is turned OFF. (This indicates the completion of OPR request flag OFF request.)
Manual pulse generator enable flag 0: Disable manual pulse generator operation. 1: Enable manual pulse generator operation.
n: Axis No.-1

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. The new movement amount has to be set during the speed control stage of the
speed-position switching control (INC mode). The value is reset to "0" when the next operation starts. Set a value within the following range:
[Cd.23] Speed-position switching
control movement amount change register
[Pr.1] Unit
mm (10-1 µm)
inch (10-5 inch)
degree (10-5 degree)
Setting range 0 to 2147483647 0 to 2147483647 0 to 2147483647 0 to 2147483647
Set whether the switching signal set in "[Cd.45] Speed-position switching device
[Cd.24] Speed-position switching
selection" is enabled or not. Fetch cycle: At switching request
During the position control stage of the position-speed switching control, it is
possible to change the specification of the speed during the speed control stage. For that, use this data item to specify a new speed. The new speed has to be set during the position control stage of the position-
speed switching control. The value is reset to "0" when the next operation starts. Set a value within the following range:
[Cd.25] Position-speed switching
[Pr.1] Unit
mm (10-2 mm/min)
inch (10-3 inch/min)
degree (10-3 degree/min)
control speed change register
Setting range 0 to 2000000000 0 to 2000000000 0 to 2000000000 0 to 1000000000
: When "[Pr.83] Speed control 10 x multiplier setting for degree axis" is valid,
this will be the setting range 0 to 2000000000 (10-2degree/min). Fetch cycle: At switching request

Chapter 5 Data Used for Positioning Control
Set with a decimal.
Cd.23
Speed-position switching control movement amount change register
Conversion into an integer value
Unit conversion table ( Cd.23 )
0 1526+100n 1527+100n 4326+100n 4327+100n
0 PLS
Example: If " Cd. 23 Speed-position switching control movement amount change register" is set as "20000.0 m", the buffer memory stores "200000".
Set with a decimal.
Speed-position switching enable flag 0: Speed control will not be taken over by position control even when the signal set in " Speed-position switching device selection" comes ON. 1: Speed control will be taken over by position control even when the signal set in " Speed-position switching device selection" comes ON.
Cd.45
Cd.45
Set with a decimal.
Cd.25
Position-speed switching control speed change register
Conversion into an integer value
Unit conversion table ( Cd.25 )
0 1530+100n 1531+100n 4330+100n 4331+100n
: When " Pr.83 Speed control 10 x multiplier setting for degree axis" is valid: "2"
Example: If " Cd. 25 Position-speed switching control speed change register" is set as "2000.00 mm/min", the buffer memory stores "200000".
n: Axis No.-1

Chapter 5 Data Used for Positioning Control
Setting item Setting details
Set whether the switching signal set in "[Cd.45] Speed-position switching device
[Cd.26] Position-speed switching
selection" is enabled or not.
When changing the target position during a positioning operation, use this data
item to specify a new positioning address. Set a value within the following range:
mm (10-1 µm)
inch (10-5 inch)
degree (10-5 degree)
[Pr.1] Unit
to 2147483647 0 to 35999999 -2147483648
[Cd.27] Target position change value
INC
When changing the target position during a positioning operation, use this data
item to specify a new speed. The speed will not change if "0" is set. Set a value within the following range:
[Pr.1] Unit
mm (10-2 mm/min)
inch (10-3 inch/min)
degree (10-3 degree/min)
[Cd.28] Target position change value
Setting range 0 to 2000000000 0 to 2000000000 0 to 2000000000 0 to 1000000000
: When "[Pr.83] Speed control 10 x multiplier setting for degree axis" is valid,
this will be the setting range 0 to 2000000000 (10-2degree/min). Fetch cycle: At change request
Requests a change in the target position during a positioning operation.
[Cd.29] Target position change

Chapter 5 Data Used for Positioning Control
Set with a decimal.
Position-speed switching enable flag 0: Position control will not be taken over by speed control even when the signal set in " Speed-position switching device selection" comes ON. 1: Position control will be taken over by speed control when the signal set in " Speed-position switching device selection" comes ON.
Cd.45
Cd.45
Set with a decimal.
Cd. 27 Target position change value (New address) Cd. 28 Target position change value (New speed)
0 1534+100n 1535+100n 4334+100n 4335+100n
Conversion into an integer value
Unit conversion table ( Cd.27 )
R
0 PLS
Unit conversion table ( Cd.28 )
Example: If " Cd. 28 Target position change value (New speed)" is set as "10000.00 mm/min", the buffer memory stores "1000000".
0 1536+100n 1537+100n 4336+100n 4337+100n
: When " Pr.83 Speed control 10 x multiplier setting for degree axis" is valid: "2"
Set with a decimal.
Target position change request flag 1: Requests a change in the target position
The Simple Motion module resets the value to "0" automatically when the new target position value has been written. (This indicates the completion of target position change request.)
n: Axis No.-1

Chapter 5 Data Used for Positioning Control
Setting item Setting details
Simultaneous starting axis start data No. (axis 1 start data No.)
Use these data items to specify an axis 1 start data No. for
each axis that has to start simultaneously.
Set "0" to any axis that should not start simultaneously. Fetch cycle:
[Cd.30]
Simultaneous starting own axis start data No.
Use these data items to specify a start data No. of own axis at
multiple axes simultaneous starting.
Simultaneous starting axis start data No. (axis 2 start data No.)
Use these data items to specify an axis 2 start data No. for
each axis that has to start simultaneously.
Set "0" to any axis that should not start simultaneously. Fetch cycle:
[Cd.31]
Simultaneous starting axis start data No.1
Use these data items to specify a start data No.1 for each axis
that has to start simultaneously.
Simultaneous starting axis start data No. (axis 3 start data No.)
Use these data items to specify an axis 3 start data No. for
each axis that has to start simultaneously.
Set "0" to any axis that should not start simultaneously.
Fetch cycle:
[Cd.32]
Use these data items to specify a start data No.2 for each axis
that has to start simultaneously. Note) For 2 axis simultaneous starting, the axis setting is not
Simultaneous starting axis start data No.2
required. (Setting value is ignored.)
Simultaneous starting axis start data No. (axis 4 start data No.)
Use these data items to specify an axis 4 start data No. for
each axis that has to start simultaneously.
Set "0" to any axis that should not start simultaneously.
Fetch cycle:
[Cd.33]
Use these data items to specify a start data No.3 for each axis
that has to start simultaneously. Note) For 2 axis simultaneous starting and 3 axis simultaneous
Simultaneous starting axis start data No.3
starting, the axis setting is not required. (Setting value is ignored.)
To perform a step operation, use this data item to specify the units by which the
stepping should be performed.
[Cd.34] Step mode

Chapter 5 Data Used for Positioning Control

Cd.30 Cd.31 , Simultaneous starting axis start data No. 1 to 600
Cd.30 Cd.33 to Simultaneous starting axis start data No. 1 to 600
Simultaneous starting axis start data No. 1 to 600
n: Axis No.-1

Chapter 5 Data Used for Positioning Control
Setting item Setting details
This data item validates or invalidates step operations.
[Cd.35] Step valid flag
To continue the step operation when the step function is used, set "1" in the data
[Cd.36] Step start information
To skip the current positioning operation, set "1" in this data item. Fetch cycle: Operation cycle (During positioning operation)
[Cd.37] Skip command
This data item specifies the teaching result write destination.
Data are cleared to zero when the teaching ends.
[Cd.38] Teaching data selection
This data item specifies data to be produced by teaching. If a value between 1 and 600 is set, a teaching operation is done. The value is cleared to "0" when the Simple Motion module is initialized, when a
[Cd.39] Teaching positioning data No.
teaching operation completes, and when an illegal value (601 or higher) is entered. Fetch cycle: 103[ms]

Chapter 5 Data Used for Positioning Control

The Simple Motion module resets the value to "0" automatically when processing of the step start request completes.
Issues a skip request to have the machine decelerate, stop, and then start the next positioning operation.
The Simple Motion module resets the value to "0" automatically when processing of the skip request completes.
n: Axis No.-1

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. Fetch cycle: At start
[Cd.40] ABS direction in degrees
Set the number of simultaneous starting axes and target axis.
When "2" is set to the number of simultaneous starting axes, set the target axis No. to the simultaneous starting axis No. 1. When "3" is set to the number of simultaneous starting axes, set the target axis No. to the simultaneous starting axis No.1 and 2. When "4" is set to the number of simultaneous starting axes, set the target axis No. to the simultaneous starting axis No.1 to 3. When the same axis No. or axis No. of own axis is set to the multiple
[Cd.43] Simultaneous starting axis
simultaneous starting axis No, or the value outside the range is set to the number of simultaneous starting axes, the error "Error before simultaneous start" (error code: 501) occurs and the operation is not executed. Note) Do not set the simultaneous starting axis No.2 and 3 for 2-axis interpolation,
and do not set the simultaneous starting axis No.3 for 3-axis interpolation. The setting value is ignored. Fetch cycle: At start
Select the device used for speed-position switching. Note) If the setting is outside the range at start, operation is performed with the
[Cd.45] Speed-position switching
setting regarded as "0". Fetch cycle: At positioning start for speed-position switching control/position-speed
Speed-position control switching is performed when "2" is set in "[Cd.45] Speed-
position switching device selection". Other than setting value is ignored. Note) This parameter is made valid only when "2" is set in "[Cd.45] Speed-position
[Cd.46] Speed-position switching
switching device selection" at start. Fetch cycle: 0.88[ms]
device selection · switching control · command

Chapter 5 Data Used for Positioning Control
Set with a decimal.
ABS direction in degrees K
Set with a hexadecimal.
Simultaneous starting axis No.1 0 to F: Axis 1 to Axis 16 Simultaneous starting axis No.2 0 to F: Axis 1 to Axis 16 Simultaneous starting axis No.3 0 to F: Axis 1 to Axis 16 Number of simultaneous starting axes 2 to 4: 2 axes to 4 axes
Set with a decimal.
Speed-position switching device selection 0: Use the external command signal for switching from speed control to position control 1: Use the near-point dog signal for switching from speed control to position control 2: Use " Speed-position switching command" for switching from speed control to position control 0: Use the external command signal for switching from position control to speed control 1: Use the near-point dog signal for switching from position control to speed control 2: Use " Speed-position switching command" for switching from position control to speed control
Cd.46
Cd.46
Set with a decimal.
Speed-position switching command 0: Not switch from speed control to position control 1: Switch from speed control to position control 0: Not switch from position control to speed control 1: Switch from position control to speed control
n: Axis No.-1

Chapter 5 Data Used for Positioning Control
Setting item Setting details
Executes servo OFF for each axis. Fetch cycle: Operation cycle [POINT] To execute servo ON for axes other than axis 1 being servo OFF, write "1" to
[Cd.100] Servo OFF command
storage buffer memory address of axis 1 and then turn ON all axis servo ON [Y1] signal.
Sets the torque output value. Set a ratio against the rated torque in percentage
unit. Fetch cycle: At start [POINT] If the "[Cd.101] Torque output setting value" is "0", the "[Pr.17] Torque limit
setting value" will be its value. If a value beside "0" is set in the "[Cd.101] Torque output setting value", the
[Cd.101] Torque output setting value
torque generated by the servomotor will be limited by that value. The "[Pr.17] Torque limit setting value" of the detailed parameter becomes
effective at the PLC ready signal rising edge. The "[Cd.101] Torque output setting value" (refer to the start) axis control data
can be changed at all times. Therefore in the "[Cd.101] Torque output setting value" is used when you must change. (Refer to Section 13.5.4 "Torque change function".)
The command required to carry out "gain changing" of the servo amplifier from the
[Cd.108] Gain changing command
If the setting is other than "0" and "1", operation is performed in the "gain
changing" with the setting regard as "0". (Refer to each servo amplifier instruction manual.)
Sets "same setting/individual setting" of the forward torque limit value or reverse
torque limit value in the torque change function. Fetch cycle: Operation cycle [POINT]
[Cd.112] Torque change function
Set "0" normally. (when the forward torque limit value and reverse torque limit
value are not divided.)
When a value except "1" is set, it operates as "forward/reverse torque limit value
same setting".
switching request

Chapter 5 Data Used for Positioning Control

n: Axis No.-1

Chapter 5 Data Used for Positioning Control
Setting item Setting details
"1" is set in "[Cd.112] Torque change function switching request", a new reverse
torque limit value is set. (when "0" is set in "[Cd.112] Torque change function switching request", the setting value is invalid.)
Set a value within "0" to "[Pr.17] Torque limit setting value". Set a ratio against the
rated torque in percentage unit. (The new torque value is invalid when "0" is set, and "[Pr.17] Torque limit setting value" or "[Cd.101] Torque output setting value" becomes valid. The range of torque change is 1 to "[Pr.17] Torque limit setting value". Fetch cycle: Operation cycle
[Cd.113] Reverse new torque value
Set the write request of servo parameter.
Set "1" or "2" after setting "[Cd.131] Parameter No." and "[Cd.132] Change data".
Fetch cycle: Main cycle (Note-1) (Note-1): Cycle of processing executed at free time except for the positioning
[Cd.130] Parameter write request
control. It changes by status of axis start.
Set the servo parameter to be changed. Fetch cycle: At change request
[Cd.131] Parameter No.

Chapter 5 Data Used for Positioning Control
Set with a decimal.
K
Reverse new torque value
0 to Pr.17 Torque limit setting value (%)
Set with a decimal.
Set "1" for MR-J4(W)-B/MR-JE-B/MR-J3(W)-B, and set "2" for VCII series. Writing failure occurs when a value except "1" or "2" is set.
Parameter write request 1 : 1 word write request 2 : 2 words write request Other than 1 and 2: Not request
The Simple Motion module resets the value to "0" automatically when the parameter write access completes. (The Simple Motion module resets the value to "3" at writing failure.)
Set with a hexadecimal.
Setting value H
Parameter No. setting 01h to 40h
Parameter group 0: PA group 1: PB group 2: PC group 3: PD group 4: PE group 5: PF group 9: Po group A: PS group B: PL group
Setting value H
Parameter No. setting 01h to 99h
Parameter group 0: Group 0 1: Group 1 2: Group 2 3: Group 3 4: Group 4 5: Group 5 6: Group 6 7: Group 7 8: Group 8 9: Group 9

Chapter 5 Data Used for Positioning Control
Setting item Setting details
Set the change value of servo parameter set in "[Cd.131] Parameter No.". Fetch cycle: At change request
[Cd.132] Change data
Set the switching of semi closed control and fully closed control. Fetch cycle: Operation cycle (Fully closed loop control servo amplifier only)
[Cd.133] Semi/Fully closed loop
switching request

Chapter 5 Data Used for Positioning Control

When "1" is set in "[Cd.130] Parameter write request", set the change value to low-order buffer memory. The value set to high-order buffer memory is invalid. [2 words write request]
When "2" is set in "[Cd.130] Parameter write request", set the change value to high-order buffer memory and low-order buffer memory.
Semi/Fully closed loop switching request 0: Semi closed loop control 1: Fully closed loop control
n: Axis No.-1

Chapter 5 Data Used for Positioning Control
Setting item Setting details
Set the PI-PID switching to servo amplifier. Fetch cycle: Operation cycle
[Cd.136] PI-PID switching request
Request the control mode switching.
Set "1" after setting "[Cd.139] Control mode setting". The Simple Motion module sets "0" at completion of control mode switching. Fetch cycle: Operation cycle
[Cd.138] Control mode switching
Set the control mode to be changed in the speed-torque control. Fetch cycle: At control mode switching
[Cd.139] Control mode setting
Set the command speed at speed control mode. Set a value within the following range:
[Pr.1] Unit
mm (10-2 mm/min)
inch (10-3 inch/min)
degree (10-3 degree/min)
[Cd.140] Command speed at speed
: When "[Pr.83] Speed control 10 x multiplier setting for degree axis" is valid,
Setting range -2000000000 to
this will be the setting range -2000000000 to 2000000000 (10-2degree/min). Fetch cycle: Operation cycle (At speed control mode)
Set the acceleration time at speed control mode.
(Set the time for the speed to increase from "0" to "[Pr.8] Speed limit value".) 0 to 65535 (ms) Fetch cycle: At control mode switching
[Cd.141] Acceleration time at speed

Chapter 5 Data Used for Positioning Control

Control mode setting 0: Position control mode 10: Speed control mode 20: Torque control mode 30: Continuous operation to torque control mode
Acceleration time at speed control mode (ms) 0 to 65535
n: Axis No.-1

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 "[Pr.8] Speed limit value" to "0".) 0 to 65535 (ms) Fetch cycle: At control mode switching
[Cd.142] Deceleration time at speed
Set the command torque at torque control mode. Set a ratio against the rated
torque in 0.1% unit. -10000 to 10000 (0.1%) Fetch cycle: Operation cycle (At torque control mode)
[Cd.143] Command torque at torque
Set the time constant at driving during torque control mode.
(Set the time for the torque to increase from "0" to "[Pr.17] Torque limit setting value".) 0 to 65535 (ms) Fetch cycle: At control mode switching
[Cd.144] Torque time constant at
torque control mode (Forward direction)
Set the time constant at regeneration during torque control mode.
(Set the time for the torque to decrease from "[Pr.17] Torque limit setting value" to "0".) 0 to 65535 (ms) Fetch cycle: At control mode switching
[Cd.145] Torque time constant at
torque control mode (Negative direction)
Set the speed limit value at torque control mode. Set a value within the following range:
[Pr.1] Unit
mm (10-2 mm/min)
inch (10-3 inch/min)
degree (10-3 degree/min)
Setting range 0 to 2000000000 0 to 2000000000 0 to 2000000000 0 to 1000000000
[Cd.146] Speed limit value at torque
: When "[Pr.83] Speed control 10 x multiplier setting for degree axis" is valid,
this will be the setting range 0 to 2000000000 (10-2degree/min). Fetch cycle: Operation cycle (At torque control mode)

Chapter 5 Data Used for Positioning Control

Deceleration time at speed control mode (ms) 0 to 65535
Command torque at torque control mode( 0.1%) -10000 to 10000
Torque time constant at torque control mode (Forward direction) (ms) 0 to 65535
Torque time constant at torque control mode (Negative direction) (ms) 0 to 65535
n: Axis No.-1

Chapter 5 Data Used for Positioning Control
Setting item Setting details
Set the speed limit value at continuous operation to torque control mode. Set a value within the following range:
[Pr.1] Unit
mm (10-2 mm/min)
inch (10-3 inch/min)
degree (10-3 degree/min)
[Cd.147] Speed limit value at
: When "[Pr.83] Speed control 10 x multiplier setting for degree axis" is valid,
Setting range -2000000000 to
continuous operation to torque control mode
this will be the setting range -2000000000 to 2000000000 (10-2degree/min). Fetch cycle: Operation cycle (At continuous operation to torque control mode)
Set the acceleration time at continuous operation to torque control mode.
[Cd.148] Acceleration time at
(Set the time for the speed to increase from "0" to "[Pr.8] Speed limit value".) 0 to 65535 (ms) Fetch cycle: At control mode switching
continuous operation to torque control mode
Set the deceleration time at continuous operation to torque control mode.
(Set the time for the speed to decrease from "[Pr.8] Speed limit value" to "0".) 0 to 65535 (ms) Fetch cycle: At control mode switching
[Cd.149] Deceleration time at
continuous operation to torque control mode
Set the target torque at continuous operation to torque control mode. Set a ratio
against the rated torque in 0.1% unit. -10000 to 10000 (0.1%) Fetch cycle: Operation cycle (At continuous operation to torque control mode)
[Cd.150] Target torque at continuous
operation to torque control mode
Set the time constant at driving during continuous operation to torque control
mode. (Set the time for the torque to increase from "0" to "[Pr.17] Torque limit setting value".) 0 to 65535 (ms) Fetch cycle: At control mode switching
[Cd.151] Torque time constant at
continuous operation to torque control mode (Forward direction)

Chapter 5 Data Used for Positioning Control

Acceleration time at continuous operation to torque control mode (ms) 0 to 65535
Deceleration time at continuous operation to torque control mode (ms) 0 to 65535
Target torque at continuous operation to torque control mode ( 0.1%) -10000 to 10000
Torque time constant at continuous operation torque control mode (Forward direction) (ms) 0 to 65535
n: Axis No.-1

Chapter 5 Data Used for Positioning Control
Setting item Setting details
Set the time constant at regeneration during continuous operation to torque
control mode. (Set the time for the torque to decrease from "[Pr.17] Torque limit setting value" to "0".) 0 to 65535 (ms) Fetch cycle: At control mode switching
[Cd.152] Torque time constant at
continuous operation to torque control mode (Negative direction)
Set the switching condition when switching to continuous operation to torque
control mode. 0: No switching condition Switching is executed at switching request to continuous operation to torque control mode. 1: Current feed value pass Switching is executed when "[Md.20] Current feed value" passes the address set in "[Cd.154] Control mode auto-shift parameter" after switching request to continuous operation to torque control mode. 2: Real current value pass Switching is executed when "[Md.101] Real current value" passes the address set in "[Cd.154] Control mode auto-shift parameter" after switching request to continuous operation to torque control mode. Fetch cycle: At control mode switching
[Cd.153] Control mode auto-shift
Set the condition value when setting the control mode switching condition. The setting value differs depending on the value set in "[Cd.153] Control mode
auto-shift selection". When "1" or "2" is set in "[Cd.153] Control mode auto-shift selection": Set the switching address. Set a value within the following range:
[Cd.154] Control mode auto-shift
[Pr.1] Unit
mm (10-1 mm)
inch (10-5 inch)
degree (10-5 degree)
Setting range -2147483648 to
2147483647 0 to 35999999 -2147483648 to

Chapter 5 Data Used for Positioning Control

Torque time constant at continuous operation torque control mode (Negative direction) (ms) 0 to 65535
n: Axis No.-1

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". Whether to decelerate stop or suddenly stop can be selected with "[Pr.39] Stop
[Cd.180] Axis stop
group 3 sudden stop selection". During interpolation control of the positioning operation, if the axis stop signal of
any axis turns ON, all axes in the interpolation control will decelerate and stop. Fetch cycle: Operation cycle
When the JOG start signal is ON, JOG operation will be carried out at the "[Cd.17]
[Cd.181] Forward run JOG start
JOG speed". When the JOG start signal turns OFF, the operation will decelerate and stop. When inching movement amount is set, the designated movement amount is
output for one operation cycle and then the operation stops. Fetch cycle: Operation cycle
[Cd.182] Reverse run JOG start
If the execution prohibition flag is ON when the positioning start signal turns ON,
positioning control does not start until the execution prohibition flag turns OFF. Used with the "Pre-reading start function". (Refer to Section 13.7.7) Fetch cycle: At start
[Cd.183] Execution prohibition flag

Chapter 5 Data Used for Positioning Control

Forward run JOG start/Reverse run JOG start 1 : JOG started Other than 1: JOG not started
n: Axis No.-1

Chapter 5 Data Used for Positioning Control

Chapter 6 Sequence Program Used for Positioning Control
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" and general control configuration. (The parameters, positioning data, block start data and condition data, etc., must be set in the Simple Motion module according to the control to be executed, and program for setting the control data or a program for starting the various controls must be created.)
The first half of this chapter explains the program configuration of general control, and the latter half explains the program details. Create the required program while referring to the various control details explained in "Section 2", and to Chapter 5 "Data Used for Positioning Control".
6.1 Precautions for creating program 6- 2 6.2 List of devices used 6- 6 6.3 Creating a program 6-16 6.3.1 General configuration of program 6-16 6.3.2 Positioning control operation program 6-17 6.4 Positioning program examples 6-21 6.5 Program details 6-53 6.5.1 Initialization program 6-53 6.5.2 Start details setting program 6-54 6.5.3 Start program 6-56 6.5.4 Continuous operation interrupt program 6-68 6.5.5 Restart program 6-70 6.5.6 Stop program 6-73

Chapter 6 Sequence Program Used for Positioning Control
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.
Setting the data explained in this chapter (various parameters, positioning data, block start data) should be set using GX Works2. When set with the sequence program, many sequence programs and devices must be used. This will not only complicate the program, but will also increase the scan time. When rewriting the positioning data during continuous path control or continuous positioning control, rewrite the data four positioning data items before the actual execution. If the positioning data is not rewritten before the positioning data four items earlier is executed, the process will be carried out as if the data was not rewritten. (2) Restrictions to speed change execution interval
Provide an interval of 100ms or more when changing the speed or performing override function with the Simple Motion module. (3) Process during overrun
Overrun is prevented by the setting of the upper and lower stroke limits with the detailed parameter 1. However, this applies only when the Simple Motion module is operating correctly. It is recommended to create an external circuit including a boundary limit switch to ensure the whole system safety as follows: the external circuit that turns OFF the main circuit power of the servo amplifier when the boundary limit switch operates.

Chapter 6 Sequence Program Used for Positioning Control
Unless particularly designated, the sequence program for the following system using QD77MS4 is shown in this chapter and subsequent. Refer to Section 6.2 for the application of the devices to be used.
P L C C P U
Q D 77 M
Q X 41
Q X 40
S 4
M
(5) Control unit
In the program, the unit of "0: mm, 2: degree" is set for the basic parameter 1.
There are two methods for communication with the Simple Motion module using the sequence program: a method using an "intelligent function device" and a method using a FROM/TO command. In the sequence program in this chapter and subsequent, the program example using the "intelligent function device" is shown without using a FROM/TO command for communication with the Simple Motion module. When using the FROM/TO command for communication with the Simple Motion module, change the circuit incorporating the "intelligent function device" as follows. (a) When the circuit uses the "intelligent function device" on the destination (D)
side of a MOV command, change the command to a TO command.
MOVP K1 G1505
TOP K1 X21
K1505 H0 K1
Number of write data (1)

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.

Set the same device.
(c) When the circuit uses the "intelligent function device" for a COMPARISON
command, change the command to a FROM command and a COMPARISON command.

(d) When the circuit uses the "intelligent function device" for a WAND command,
change the command to a FROM command and a WAND command.

Data read out

Chapter 6 Sequence Program Used for Positioning Control
QD77MS16 When the sequence program is changed from QD77MS2/QD77MS4 to QD77MS16, change the I/O signals with different arrangement as follows. (a) When not using index modification
Stop com mand pul se
BUSY sig nal (QD7 7MS4 axi s 1)
Axis sto p signal (QD77MS4 axis 1)
SET
BUSY sig nal (QD7 7MS16 ax is 1)
Stop com mand pul se
Axis sto p signal (QD77MS1 6 axis 1)
(b) When using index modification
M29
Stop com mand pul se
BUSY sig nal (QD7 7MS4 axi s 1)
Axis sto p signal (QD77MS4 axis 1)
Stop com mand pul se
BUSY sig nal (QD7 7MS16 ax is 1)
Axis sto p signal (QD77MS1 6 axis 1)
Refer to the "QnUCPU User's Manual (Function Explanation, Program Fundamentals)" for the intelligent function devices. Refer to the "MELSEC-Q/L Programming Manual (Common Instructions)" for detail commands used in those programs shown in this chapter and subsequent.

Chapter 6 Sequence Program Used for Positioning Control
In the sequence programs using QD77MS4 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". If it is set to other than "0H", change the I/O number according to setting of head I/O number. In addition, change the external inputs, external outputs, internal relays, data resisters, and timers according to the system used. (1) Inputs/outputs, external inputs/external outputs, and internal relays

Device name Device Application Details when ON Axis 1 Axis 2 Axis 3 Axis 4
X4 X5 X6 X7 M code ON signal M code outputting
X8 X9 XA XB Error detection signal Error detected
X10 X11 X12 X13 Start complete signal Start completed
X14 X15 X16 X17 Positioning complete signal Positioning completed
Y1 All axis servo ON signal All axis servo ON signal
Y4 Y5 Y6 Y7 Axis stop signal Requesting stop
Y8 YA YC YE Forward run JOG start signal Starting forward run JOG
Y9 YB YD YF Reverse run JOG start signal Starting reverse run JOG
Y10 Y11 Y12 Y13 Positioning start signal Requesting start
Y14 Y15 Y16 Y17 Execution prohibition request Execution prohibition
X21 External command valid command Commanding external command valid setting
X2B Positioning start command (dedicated instruction) Commanding positioning start

Chapter 6 Sequence Program Used for Positioning Control

Device Application Details when ON Axis 1 Axis 2 Axis 3 Axis 4
X2E Forward run JOG/inching command Commanding forward run JOG/inching operation
X2F Reverse run JOG/inching command Commanding reverse run JOG/inching operation
X3D Flash ROM write command Commanding flash ROM write
X45 Target position change command Target position change command
X46 Step start information command Step start information command
X47 Positioning start command k10 Positioning start command k10
X48 Override initialization value command Override initialization value command
X4C Error reset clear command Error reset clear command
X4E Positioning start signal command (Y start) Positioning start command being given
X4F All axis servo ON command All axis servo ON command

Chapter 6 Sequence Program Used for Positioning Control

Device Application Details when ON Axis 1 Axis 2 Axis 3 Axis 4
M1 OPR request OFF command pulse OPR request OFF commanded
M2 OPR request OFF command storage OPR request OFF command held
M4 Fast OPR command storage Fast OPR command held
M6 Positioning start command storage Positioning start command held
M9 Manual pulse generator operating flag Manual pulse generator operating flag
M12 Speed change command storage Speed change command held
M25 Parameter initialization command storage Parameter initialization command held
M26 Flash ROM write command pulse Flash ROM write commanded
M27 Flash ROM write command storage Flash ROM write command held
M30 Target position change command pulse Target position change commanded
M31 Target position change command storage Target position change command held

Chapter 6 Sequence Program Used for Positioning Control

Device Application Details when ON Axis 1 Axis 2 Axis 3 Axis 4
M37 ZP.PINIT instruction error complete device ZP.PINIT instruction error completed

Device Application Details of storage Axis 1 Axis 2 Axis 3 Axis 4
control speed change register D2 Speed (high-order 16 bits)
D3 Movement amount (low-order 16 bits) [Cd.23] Speed-position switching
control movement amount change register D4 Movement amount (high-order 16 bits)
[Cd.17] JOG speed D7 JOG operation speed (high-order 16 bits)
D8 Manual pulse generator 1 pulse input magnification (low-order) [Cd.20] Manual pulse generator 1
pulse input magnification D9 Manual pulse generator 1 pulse input magnification (high-order)
D11 Speed change value (low-order 16 bits) [Cd.14] New speed value D12 Speed change value (high-order 16 bits)

Chapter 6 Sequence Program Used for Positioning Control

Device Application Details of storage Axis 1 Axis 2 Axis 3 Axis 4
Acceleration time setting (low-order 16 bits) [Cd.10] New acceleration time value D16 Acceleration time setting (high-order 16 bits)
D17 Deceleration time setting (low-order 16 bits) [Cd.11] New deceleration time value D18 Deceleration time setting (high-order 16 bits)
D23 Target position (low-order 16 bits) [Cd.27] Target position change value
D25 Target speed (low-order 16 bits) [Cd.28] Target position change value
D27 Target position change request [Cd.29] Target position change

Chapter 6 Sequence Program Used for Positioning Control
Device Application Details of storage Axis 1 Axis 2 Axis 3 Axis 4
Number of pulses per rotation (low-order 16 bits) [Pr.2] Number of pulses per rotation
(AP) D53 Number of pulses per rotation (high-order 16 bits)
D54 Movement amount per rotation (low-order 16 bits) [Pr.3] Movement amount per rotation
(AL) D55 Movement amount per rotation (high-order 16 bits)
D56 Bias speed at start (low-order 16 bits) [Pr.7] Bias speed at start D57 Bias speed at start (high-order 16 bits)
Point 1 (shape, start No.)
D69 Point 2 (shape, start No.)
Block start data (Block 0)
D70 Point 3 (shape, start No.)
D71 Point 4 (shape, start No.)
[Da.11] Shape [Da.12] Start data No. [Da.13] Special start instruction [Da.14] Parameter
D72 Point 5 (shape, start No.)
D73 Point 1 (special start instruction)
D74 Point 2 (special start instruction)
D75 Point 3 (special start instruction)
D76 Point 4 (special start instruction)
D77 Point 5 (special start instruction)
D78 Torque change value —
D79 Error code [Md.23] Axis error No.
D80 Servo series [Pr.100] Servo series
D81 Absolute position system valid/invalid Absolute position detection system (PA03)
D85 Return home position method [Pr.43] OPR method
D100 Positioning identifier Data No.1 [Da.1] Operation pattern [Da.2] Control system [Da.3] Acceleration time No. [Da.4] Deceleration time No. [Da.5] Axis to be interpolated [Da.6] Positioning address/
D104 Command speed (low-order 16 bits)
D105 Command speed (high-order 16 bits)
movement amount [Da.7] Arc address [Da.8] Command speed [Da.9] Dwell time/JUMP destination
D106 Positioning address (low-order 16 bits)
D107 Positioning address (high-order 16 bits)
D108 Arc address (low-order 16 bits)
positioning data No. [Da.10] M code/Condition data
D109 Arc address (high-order 16 bits)
No./Number of LOOP to LEND repetitions

Chapter 6 Sequence Program Used for Positioning Control
Application Details of storage Axis 1 Axis 2 Axis 3 Axis 4
Positioning identifier Data No.2 [Da.1] Operation pattern [Da.2] Control system [Da.3] Acceleration time No. [Da.4] Deceleration time No. [Da.5] Axis to be interpolated [Da.6] Positioning address/
D114 Command speed (low-order 16 bits)
movement amount [Da.7] Arc address [Da.8] Command speed [Da.9] Dwell time/JUMP destination
D115 Command speed (high-order 16 bits)
D116 Positioning address (low-order 16 bits)
D117 Positioning address (high-order 16 bits)
positioning data No. [Da.10] M code/Condition data
D118 Arc address (low-order 16 bits)
No./Number of LOOP to LEND repetitions
D119 Arc address (high-order 16 bits)
D120 Positioning identifier Data No.3 [Da.1] Operation pattern [Da.2] Control system [Da.3] Acceleration time No. [Da.4] Deceleration time No. [Da.5] Axis to be interpolated [Da.6] Positioning address/
D124 Command speed (low-order 16 bits)
movement amount [Da.7] Arc address [Da.8] Command speed [Da.9] Dwell time/JUMP destination
D125 Command speed (high-order 16 bits)
D126 Positioning address (low-order 16 bits)
D127 Positioning address (high-order 16 bits)
positioning data No. [Da.10] M code/Condition data
D128 Arc address (low-order 16 bits)
No./Number of LOOP to LEND repetitions
D129 Arc address (high-order 16 bits)
D130 Positioning identifier Data No.4 [Da.1] Operation pattern [Da.2] Control system [Da.3] Acceleration time No. [Da.4] Deceleration time No. [Da.5] Axis to be interpolated [Da.6] Positioning address/
D134 Command speed (low-order 16 bits)
movement amount [Da.7] Arc address [Da.8] Command speed [Da.9] Dwell time/JUMP destination
D135 Command speed (high-order 16 bits)
D136 Positioning address (low-order 16 bits)
positioning data No. [Da.10] M code/Condition data
D137 Positioning address (high-order 16 bits)
D138 Arc address (low-order 16 bits)
No./Number of LOOP to LEND repetitions
D139 Arc address (high-order 16 bits)

Chapter 6 Sequence Program Used for Positioning Control
Device Application Details of storage Axis 1 Axis 2 Axis 3 Axis 4
Positioning identifier Data No.5 [Da.1] Operation pattern [Da.2] Control system [Da.3] Acceleration time No. [Da.4] Deceleration time No. [Da.5] Axis to be interpolated [Da.6] Positioning address/
movement amount [Da.7] Arc address [Da.8] Command speed [Da.9] Dwell time/JUMP destination
D144 Command speed (low-order 16 bits)
D145 Command speed (high-order 16 bits)
D146 Positioning address (low-order 16 bits)
positioning data No. [Da.10] M code/Condition data
D147 Positioning address (high-order 16 bits)
No./Number of LOOP to LEND repetitions
D148 Arc address (low-order 16 bits)
D149 Arc address (high-order 16 bits)
D150 Positioning identifier Data No.6 [Da.1] Operation pattern [Da.2] Control system [Da.3] Acceleration time No. [Da.4] Deceleration time No. [Da.5] Axis to be interpolated [Da.6] Positioning address/
D154 Command speed (low-order 16 bits)
movement amount [Da.7] Arc address [Da.8] Command speed [Da.9] Dwell time/JUMP destination
D155 Command speed (high-order 16 bits)
D156 Positioning address (low-order 16 bits)
D157 Positioning address (high-order 16 bits)
positioning data No. [Da.10] M code/Condition data
D158 Arc address (low-order 16 bits)
No./Number of LOOP to LEND repetitions
D159 Arc address (high-order 16 bits)
D190 Positioning identifier Data No.10 [Da.1] Operation pattern [Da.2] Control system [Da.3] Acceleration time No. [Da.4] Deceleration time No. [Da.5] Axis to be interpolated [Da.6] Positioning address/
D194 Command speed (low-order 16 bits)
movement amount [Da.7] Arc address [Da.8] Command speed [Da.9] Dwell time/JUMP destination
D195 Command speed (high-order 16 bits)
D196 Positioning address (low-order 16 bits)
D197 Positioning address (high-order 16 bits)
positioning data No. [Da.10] M code/Condition data
D198 Arc address (low-order 16 bits)
No./Number of LOOP to LEND repetitions
D199 Arc address (high-order 16 bits)

Chapter 6 Sequence Program Used for Positioning Control
Device Application Details of storage Axis 1 Axis 2 Axis 3 Axis 4
Positioning identifier Data No.11 [Da.1] Operation pattern [Da.2] Control system [Da.3] Acceleration time No. [Da.4] Deceleration time No. [Da.5] Axis to be interpolated [Da.6] Positioning address/
D204 Command speed (low-order 16 bits)
movement amount [Da.7] Arc address [Da.8] Command speed [Da.9] Dwell time/JUMP destination
D205 Command speed (high-order 16 bits)
D206 Positioning address (low-order 16 bits)
positioning data No. [Da.10] M code/Condition data
D207 Positioning address (high-order 16 bits)
No./Number of LOOP to LEND repetition
D208 Arc address (low-order 16 bits)
D209 Arc address (high-order 16 bits)
D240 Positioning identifier Data No.15 [Da.1] Operation pattern [Da.2] Control system [Da.3] Acceleration time No. [Da.4] Deceleration time No. [Da.5] Axis to be interpolated [Da.6] Positioning address/
D244 Command speed (low-order 16 bits)
movement amount [Da.7] Arc address [Da.8] Command speed [Da.9] Dwell time/JUMP destination
D245 Command speed (high-order 16 bits)
D246 Positioning address (low-order 16 bits)
D247 Positioning address (high-order 16 bits)
positioning data No. [Da.10] M code/Condition data
D248 Arc address (low-order 16 bits)
No./Number of LOOP to LEND repetitions
D249 Arc address (high-order 16 bits)
Timer T0 — PLC READY signal OFF confirmation PLC READY signal OFF T1 PLC READY signal OFF confirmation

Chapter 6 Sequence Program Used for Positioning Control

U0\G1501 Positioning starting point No. [Cd.4] Positioning starting point No.
U0\G1504 M code OFF request (Buffer memory) [Cd.7] M code OFF request
U0\G1521 OPR request flag OFF request [Cd.19] OPR request flag OFF
U0\G1524 Manual pulse generator enable flag [Cd.21] Manual pulse generator
U0\G1538 Target position change request flag [Cd.29] Target position change

Chapter 6 Sequence Program Used for Positioning Control
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. Refer to Section 5.6 "List of monitor data" for details on the monitor items.) 6.3.1 General configuration of program
The general configuration of the "positioning control operation program" is shown below.
Start of program creation
Parameter and data are...
Set using the sequence program
Parameter and data setting program
Program for carrying out initialization
Program required to carry out "OPR control",
Start details setting program
"major positioning control", "high-level positioning control" and "expansion control"
Program required to carry out "manual control"
Program required for "sub functions" and "common functions"
Program for stopping control

Chapter 6 Sequence Program Used for Positioning Control
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. (Numbers are assigned to the following programs. Configuring the program in the order of these numbers is recommended.)

Set using sequence program (TO command) Parameter and data are...
control", the OPR parameters do not need to be set.
Continued on next page
![Page 359 of the Mitsubishi Electronics QD77MS2 user manual — No.8 All axis servo ON signal [Y1] ON program](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-359.webp?w=400)
Chapter 6 Sequence Program Used for Positioning Control
Continued from previous page

Continued on next page

Chapter 6 Sequence Program Used for Positioning Control
Continued from previous page

Program required to carry out
Program to turn the M code ON signal OFF
Program required to carry out "manual control"
Continued on next page

Chapter 6 Sequence Program Used for Positioning Control
Continued from previous page

Program added according to control details. (Create as required.)
No.24 Target position change program Refer to Section 13.5.5
Program used to stop control

Chapter 6 Sequence Program Used for Positioning Control
An example of the "Axis 1" positioning program using QD77MS4 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. (Carry out the settings while the PLC READY signal [Y0] is OFF.) When setting the parameters or data with GX Works2, the [No. 1] to [No. 4] program is not necessary.
* * No.1 Parameter setting program * (For basic parameters ) * OPR parameter * * *
*
No. of pu lses per rotatio n : AP

Chapter 6 Sequence Program Used for Positioning Control
*
*
SET M50 Paramete r settin g comple te devic
* * No.21 Continuous operation interrupt program *
* Unit "Degree" setting program * * Speed-position change control (ABS mode) execution and etc. * (X4D turns ON before startup) *
*
K0 K2 K1 TOP H0
ON for 1 scan onl y after RUN
For Unit (degree )
*
*
*
*
*
*
*
K74 K1000000 K1 DTOP H0
K76 K800000 K1 DTOP H0
* · *

Chapter 6 Sequence Program Used for Positioning Control
* * No.2-1 Positioning data setting program * (For positioning data No.1 ) * * Operation pattern: Positioning terminated * Control system: 1 axis linear control (ABS) * Acceleration time No. : 1, deceleration time No. :2 *
*
MOVP H190
D100
ON for 1 scan onl y after RUN
Position ing iden tefier
*
D101
*
D102
* < (Dummy data) >
*
D104
*
DMOVP K1200000 D104
For Unit (degree )
*
Position ing addr ess
*
DMOVP
K27000000 D106
For Unit (degree )
Position ing addr ess

Chapter 6 Sequence Program Used for Positioning Control
*
D108
*
K2000
D100 K10
Position ing iden tifier
* * No.2-2 Positioning data setting program * (For positioning data No.2 ) * * Operation pattern: Positioning terminated * Control system: Speed-position switching control (Forward) * Acceleration time No. : 0, deceleration time No. : 0 *
*
MOVP H600
D110
ON for 1 scan onl y after RUN
Position ing iden tifier
*
D111
*
D112
* < (Dummy data) >
*
D114
*
DMOVP K3600000 D114
For Unit (degree )

Chapter 6 Sequence Program Used for Positioning Control
*
D116
Position ing addr ess
*
DMOVP K9000000 D116 For Unit (degree )
Position ing addr ess
*
D118
*
K2010
D110 K10
Position ing iden tifier
* * No.2-3 Positioning data setting program * (For positioning data No.3 ) * * Operation pattern: Positioning terminated * Control system: Position-speed switching control (Forward) * Acceleration time No. : 0, deceleration time No. : 0 *
*
MOVP H800
D120
ON for 1 scan onl y after RUN
Position ing iden tifier
*
D121
*
D122
* < (Dummy data) >

Chapter 6 Sequence Program Used for Positioning Control
*
D124
*
DMOVP K3600000 D124 For Unit (degree )
*
D126
Position ing addr ess
*
DMOVP K72000000 D126 For Unit (degree )
Position ing addr ess
*
D128
*
K2020
D120 K10
Position ing iden tifier
* * No.2-4 Positioning data setting program * (For positioning data No.4 ) * * Operation pattern: Positioning terminated * Control system: 1-axis linear control (INC) * Acceleration time No. : 0, deceleration time No. : 0 *
*
MOVP H200
D130
ON for 1 scan onl y after RUN
Position ing iden tifier
*
D131

Chapter 6 Sequence Program Used for Positioning Control
*
D132
* < (Dummy data) >
*
D134
*
DMOVP K1800000 D134 For Unit (degree )
*
D136
Position ing addr ess
*
DMOVP K18000000 D136 For Unit (degree )
Position ing addr ess
*
D138
*
D130 K10
Position ing iden tifier

Chapter 6 Sequence Program Used for Positioning Control
* * No.2-5 Positioning data setting program * (For positioning data No.5 ) * * Operation pattern: Positioning terminated * Control system: 1-axis liner control (INC) * Acceleration time No. : 0, deceleration time No. : 0 *
*
350 Position ing iden tifier
D140
ON for 1 scan onl y after RUN
*
D141
*
D142
* < (Dummy) >
*
D144
*
DMOVP K6000000 D144 For Unit (degree )
*
D146
Position ing addr ess
*
DMOVP K36000000 D146 For Unit (degree )
Position ing addr ess

Chapter 6 Sequence Program Used for Positioning Control
*
D148
*
K2040
D140 K10
Position ing iden tifier
* * No.2-6 Positioning data setting program * (For positioning data No.6 ) * * Operation pattern: Positioning terminated * Control system: 1-axis liner control (INC) * Acceleration time No. : 0, deceleration time No. : 0 *
*
MOVP H200
D150
ON for 1 scan onl y after RUN
Position ing iden tifier
*
D151
*
D152
* < (Dummy data) >
*
D154
*
DMOVP K1800000 D154
For Unit (degree )

Chapter 6 Sequence Program Used for Positioning Control
*
D156
Position ing addr ess
*
DMOVP K18000000 D156 For Unit (degree )
Position ing addr ess
*
D158
*
K2050
D150 K10
Position ing iden tifier
* * No.2-7 Positioning data setting program * (For positioning data No.10 ) * * Operation pattern: Continuous positioning control * Control system: 1-axis liner control (INC) * Acceleration time No. : 0, deceleration time No. : 0 *
*
MOVP H201
D190
ON for 1 scan onl y after RUN
Position ing iden tifier
*
D191
*
D192
* < (Dummy data) >

Chapter 6 Sequence Program Used for Positioning Control
*
D194
*
DMOVP K3600000 D194 For Unit (degree )
*
D196
Position ing addr ess
*
DMOVP K36000000 D196 For Unit (degree )
Position ing addr ess
*
D198
*
K2090
D190 K10
Position ing iden tifier
* * No.2-8 Positioning data setting program * (For positioning data No.11 ) * * Operation pattern: Positioning terminated * Control system: 1-axis liner control (INC) * Acceleration time No. : 0, deceleration time No. : 0 *
*
MOVP H200
D200
ON for 1 scan onl y after RUN
Position ing iden tifier
*
D201

Chapter 6 Sequence Program Used for Positioning Control
*
D202
* < (Dummy data) >
*
D204
*
DMOVP K3600000 D204 For Unit (degree )
*
D206
Position ing addr ess
*
DMOVP K-36000000 D206 For Unit (degree )
Position ing addr ess
*
D208
*
D200 K10
Position ing iden tifier

Chapter 6 Sequence Program Used for Positioning Control
* * No.2-9 Positioning data setting program * (For positioning data No.15 ) * * Operation pattern: Positioning terminated * Control system: 1-axis liner control (INC) * Acceleration time No. : 0, deceleration time No. : 0 *
*
562 Position ing iden tifier
D240
ON for 1 scan onl y after RUN
*
D241
*
D242
* < (Dummy data) >
*
D244
*
DMOVP K1800000 D244 For Unit (degree )
*
D246
Position ing addr ess
*
DMOVP K18000000 D246 For Unit (degree )
Position ing addr ess

Chapter 6 Sequence Program Used for Positioning Control
*
D248
*
K2140
D240 K10
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 * Special start instruction: Normal start (Points 1 to 5) * * * *
*
MOVP H8001
D68
ON for 1 scan onl y after RUN
*
D69
*
*
*

Chapter 6 Sequence Program Used for Positioning Control
*
TOP H0 K5 D68 Point 1 K26000
* * *
* SM402
ON for 1 scan onl y after RUN
*
MOVP H0 D74 Point 2
*
MOVP H0 D75 Point 3
*
MOVP H0 D76 Point 4
*
MOVP H0 D77 Point 5
*
TOP H0 K5 D73 Point 1 K26050
Point 1

Chapter 6 Sequence Program Used for Positioning Control
*No.4 Servo parameter
*
TOP H0 K1 H1 K30103
ON for 1 scan onl y after RUN
* *No.5 OPR request OFF program *
*
OPR requ est OFF command
OPR requ est OFF command pulse
*
SET M2
OPR requ est OFF command pulse
Position ing star t signal
Start co mplete s ignal
OPR requ est OFF command storage
U0\ G817
WANDP D0 H8
OPR requ est OFF command storage
OPR requ est flag Status
*
SET M0
OPR requ est flag
OPR requ est OFF command
*
OPR requ est OFF command storage
*
U0\ G1521 OPR requ est flag OFF req uest
OPR requ est OFF command
*
RST M0
OPR requ est flag OFF req uest
OPR requ est OFF command
* · =

Chapter 6 Sequence Program Used for Positioning Control
* *No.6 External command function valid setting program *
*
U0\ G1505
External command valid c ommand
*
U0\ G1505
MOVP K0
External command invalid command
* *No.7 PLC READY signal [Y0] ON program * (In the synchronization mode, contact of M50 is not needed *
*
Y0
OFF for 1scan on ly after RUN
Paramete r settin g comple te devic
Paramete r initia lization command
Flash RO M write command storage
PLC READ Y signal ON
PLC READ Y signal
* *No.8 All axis servo ON signal [Y1] ON program * *
*
Y1
All axis servo O N signal
PLC READ Y signal
All axis servo O N signal
* *No.9 Positioning start No. setting program * *(1) Machine OPR *
*
Machine OPR comm and
Start No .
* *(2) Fast OPR *
*
U0\ G817
OPR requ est flag

Chapter 6 Sequence Program Used for Positioning Control
*
K0 OPR requ est flag
*
D32
Start No .
*
Fast OPR command hold
* * (3) Positioning with positioning data No.1 *
*
MOVP K1 D32
Position ing star t comman d
Start No .
* * (4) Speed-position switching operation (Positioning data No.2) * (In the ABS mode, new movement amount write is not needed) *
*
Speed-po sition s witching operati
Start No .
*
U0\ G1528
Speed-po sition s witching enable
Speed-po sition s witching enable
*
U0\ G1528
MOVP K0
Speed-po sition s witching disable
Speed-po sition s witching enable
*
U0\ G1526
DMOVP D3
Movement amount changing command
Movement amount (low-ord er 16 bi
Speed-po sition s witching control
Fast OPR signal

Chapter 6 Sequence Program Used for Positioning Control
* * (5) Position-speed switching operation (Positioning data No.3) *
*
Position -speed s witching operati
Start No .
*
U0\ G1532
Position -speed s witching enable
Position -speed s witching disable
Position -speed s witching control
*
U0\ G1532
MOVP K0
Position -speed s witching disable
Position -speed s witching enable
Positon -speed s witching control
*
U0\ G1530
DMOVP D1
Speed ch anging c ommand
Speed ( low-orde r 16 bit s)
Position -speed s witching control
* * (6) High-level positioning control *
*
X2A 863 MOVP K7000 D32 Start No .
High-lev el posit ioning c ontrol c
*
MOVP K1
* * (7) Fast OPR command and fast OPR command storage OFF * (Not required when fast OPR is not used) *
*
X23 875 RST M3 Fast OPR signal
Machine OPR comm and
*
RST M4 Fast OPR command hold
Position ing star t comman d

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) * (When JOG operation/inching operation is not performed, * contact of M7 is not needed) * (When manual pulse generator is not performed, contacts of * M9 is not needed) *
* X2B
Position ing star t comman d
Position ing star t comman d pulse
* M5
M9
M3
SET M6
Position ing star t comman d pulse
M code O N comman d
BUSY sig nal (Axi s 1)
In-JOG/i nching o peration flag
Manual p ulse gen erater o peration
Position ing star t comman d storag
Fast OPR command hold
* M6
917 PSTRT1 i nstructi on compl ete devi
Position ing star t comman d storag
PSTRT1 i nstructi on cnontr ol data
Fast OPR command · Fast OPR command

Chapter 6 Sequence Program Used for Positioning Control
*
RST M6 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, * contact of M7 is not needed) * (When manual pulse generator is not performed, contacts of * M9 is not needed) *
*
Position ing star t comman d
Position ing star t comman d pulse
*
M9
M3
Position ing star t comman d pulse
Position ing star t signal
Start co mplete s ignal
M code O N signal
In-JOG/i nching o peration flag
Manual p ulse gen erater o peration
Position ing star t comman d storag
Fast OPR command hold
*
U0\ G1500 Position ing star t No.
Position ing star t comman d storag
Start No .
*
Position ing star t signal
*
Position ing star t comman d storag
*
DX0C
Position ing star t signal
Start co mplete s ignal
BUSY sig nal (Axi s 1)
Position ing star t signal
Use the direct access input as BUSY signal to use this program example.
Error de tection signal
Fast OPR command · Fast OPR command

Chapter 6 Sequence Program Used for Positioning Control
* * No.11 M code OFF program * (Not required when M code is not used)
* * (7) Fast OPR command and fast OPR command storage OFF
*
U0\ G1504
M code O FF comma nd
M code O N comman d
M code O FF reque st
* * No.12 JOG operation/inching operation setting program *
*
JOG oper ation sp eed sett ing comm
JOG oper ation sp eed
*
DMOVP K1200000
D6
For Unit (degree )
JOG oper ation sp eed
*
D5
*
TOP D5 K3 Inching movement amount
* * No.13 Inching operation setting program *
*
X2D
Inching movement amount setting
JOG oper ation sp eed sett ing comm
*
MOVP D5

Chapter 6 Sequence Program Used for Positioning Control
*No.14 JOG operation/inching operation program
*
Forward run JOG/ inching operatio
READY co mpletion signal
BUSY sig nal (Axi s 1)
In-JOG/i nching o peration flag
Reverse run JOG/ inching operatio
*
X2F
Forward run JOG/ inching operatio
Reverse run JOG/ inching operatio
In-JOG/i nching o peration flag
*
Y8
Forward run JOG/ inching operatio
In-JOG/i nching o peration flag
Reverse run JOG start si gnal
Forward run JOG start si gnal
*
Y9
Reverse run JOG/ inching operatio
In-JOG/i nching o peration flag
Forward run JOG start si gnal
Reverse run JOG start si gnal
* *No.15 Manual pulse generator operation program *
*
Manual p ulse gen erator o peration
Manual p ulse gen erator o peration
*
DMOVP K1 D8
Manual p ulse gen erator o peration
READY co mpletion signal
BUSY sig nal (Axi s 1)
Manual p ulse gen erator 1 pulse i
*
Manual p ulse gen erator o peration
*
Manual p ulse gen erator 1 pulse i

Chapter 6 Sequence Program Used for Positioning Control
*
Manual p ulse gen erator o peration
*
PLS M10 Manual p ulse gen erator o peration
Manual p ulse gen erator o peration
*
U0\ G1524
MOVP K0
Manual p ulse gen erator o peration
Manual p ulse gen erator o peration
BUSY sig nal (Axi s 1 )
Manual p ulse gen erator o peration
*
Manual p ulse gen erator o peration
* * No.16 Speed change program *
*
PLS M11 Speed ch ange com mand pul se
Speed ch ange com mand
*
SET M12 Speed ch ange com mand sto rage
Speed ch ange com mand pul se
BUSY sig nal (Axi s 1)
*
DMOVP K9000
D11
Speed ch ange com mand sto rage
Speed ch ange val ue
*
D11 DMOVP K3600000 D11
For Unit (degree )
Speed ch ange val ue
*
D11 MOVP K1 D13
Speed ch ange req uest

Chapter 6 Sequence Program Used for Positioning Control
*
Speed ch ange val ue
*
RST M12
Speed ch ange req uest
Speed ch ange com mand sto rage
* * No.17 Override program *
PLS M13 Override command
*
MOV K200
D14
BUSY sig nal (Axi s 1)
*
MOV D14
1137 X48
PLS M40
Override initial ization value co
Override initial ization value co
*
D14 Override initial ization value co
BUSY sig nal (Axi s 1)
*

Chapter 6 Sequence Program Used for Positioning Control
* * No.18 Acceleration/deceleration time change program *
*
PLS M14 Accel./d ecel. ti me chang e comman
Accel./d ecel. ti me chang e comman
Accel./d ecel. ti me chang e disabl
*
DMOV K2000
D15
Accel./d ecel. ti me chang e comman
BUSY sig nal (Axi s 1)
Accel. t ime sett ing (low -order
*
D17
Decel. t ime sett ing (The end
*
D19
Accelera tion/dec eleratio n time c
*
K1508 D15
Accel. t ime sett ing (low -order
*
U0\ G1512
K0 MOVP
Accel./d ecel. ti me chang e disabl
Accel./d ecel. ti me chang e comman
* * No.19 Torque change program *
*
MOVP K100 D78
Torque c hange co mmand
Torque c hange va lue
*
PLS M15 Torque c hange co mmand

Chapter 6 Sequence Program Used for Positioning Control
*
U0\ G1525 Torque c hange va lue
Torque c hange co mmand
BUSY sig nal (Axi s 1)
* * No.20 Step operation program *
*
Step ope ration c ommand
Step ope ration c ommand p ulse
*
Start No .
*
Y10
MOVP K1 D20
Step ope ration co mmand p ulse
Position ing star t signal
Start co mplete s ignal
*
Step val id flag
*
D22
Step sta rt infor mation
*
U0\ G1544 Step mod e
*
MOVP D22
Step sta rt infor mation c ommand
Step sta rt infor mation
Step mod e · Step mod e

Chapter 6 Sequence Program Used for Positioning Control

* * No.22 Teaching program * * * A location to the target position is executed by manual * operation * *

Chapter 6 Sequence Program Used for Positioning Control
*
MOVP K7 D36 Position ing data No.
"U0" D33 M34 ZP.TEACH1
TEACH1 i nstructi on contr ol data
TEACH1 i nstructi on compl ete devi
*
M35
RST M20 Teaching command storage
TEACH1 i nstructi on compl ete devi
TEACH1 i nstructi on error complet
* * No.21 Continuous operation interrupt program *
* * No. 23 Continuous operation interrupt program *
*
PLS M21
Continuo us opera tion int errupt c
Continuo us opera tion int errupt c
*
U0\ G1520 Continuo us opera tion int errupt r
Continuo us opera tion int errupt c
BUSY sig nal (Axi s 1)
* * No.21 Continuous operation interrupt program *
* * No. 24 Target position change program *
*
PLS M30 Target p osition change c ommand p
Target p osition change c ommand
*
SET M31 Target p osition change c omm
Target p osition change c ommand p
BUSY sig nal (Axi s 1)
*
DMOVP K-120000 D23
Target p osition change c omm
target p osition (low-ord er 16 bi
*

Chapter 6 Sequence Program Used for Positioning Control
*
DMOVP K30000000 D23
For Unit (degree )
target p osition (low-ord er 16bi
*
Target s peed (lo w-order 16bits)
*
Target p osition change r equest
*
target p osition (low-ord er 16bi
*
RST M31
Target p osition change r equest f
Target p osition change c omm
* *No.25 Restart program *
*
PLS M22
*
U0\ G809 K1
SET M23
Axis ope ration s tatus
*
M23 X14
U0\ G1503
MOVP K1
Position ing comp lete sig nal
Start co mplete s ignal
*
RST M23

Chapter 6 Sequence Program Used for Positioning Control
* *No.26 Parameter initialization program *
*
PLS M24
Paramete r initia lization command
Paramete r initia lization command
*
SET M25
Paramete r initia lization command
BUSY sig nal (Axi s 1)
Paramete r initia lization command
*
K2
T0
Paramete r initia lization command
PLC READ Y signal
PLC READ Y signal OFF con firmatio
*
ZP.PINIT M36 "U0" D37
PLC READ Y signal OFF con firmation
PINIT in structio n contro l data
PINIT in structio n comple te devic
*
M37
RST M25
PINIT co mmand co mpletion device
PINIT co mmand er ror comp letion d
Paramete r initia lization command
* *No.27 Flash ROM write program *
*
Flash RO M write command
Flash RO M write command pulse
*
Flash RO M write command pulse
BUSY sig nal (Axi s 1)
Flash RO M write command storage
*
Y0
K2
T1
Flash RO M write command storage
PLC READ Y signal
PLC READ Y signal OFF con firmatio

Chapter 6 Sequence Program Used for Positioning Control
* T1 1434
PLC READ Y signal OFF con firmatio
PFWRT in structio n contro l data
PFWRT in structio n comple te devic
* M38
RST M27
PFWRT in structio n comple te devic
PFWRT in structio n error complete
Flash RO M write command storage
* *No.28 Error reset program *
*
U0\ G806
MOVP D79
Error de tection signal
*
PLS M28
Error re set comm and
*
U0\ G1502
MOVP K1
Error de tection signal
*
MOVP K0
Error re set clea r comman d
When servo amplifier errors cannot be reset even if error reset is requested, "0" is not stored in axis error reset by QD77MS. It remains "1". Set "0" in axis error reset and then set "1" to execute the error reset again.
* *No.29 Stop program *
*
Stop com mand pul se
Stop com mand pul se
BUSY sig nal (Axi s 1)
Axis sto p signal
RST
Y4
BUSY sig nal (Axi s 1)
Axis sto p signal
![Page 394 of the Mitsubishi Electronics QD77MS2 user manual — [2] External command function valid setting program](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-394.webp?w=400)
Chapter 6 Sequence Program Used for Positioning Control
6.5.1 Initialization program
[1] OPR request OFF program
This program forcibly turns OFF the "OPR request flag" ([Md.31] Status: b3) which is ON. When using a system that does not require OPR, assemble the program to cancel the "OPR request" made by the Simple Motion module when the power is turned ON, etc.
Set the following data to use the OPR request flag OFF request.

n: Axis No.-1 : Refer to Section 5.7 "List of control data" for details on the setting details.

Fig. 6.1 Time chart for OPR OFF request
This program is used to validate the "external command signal" beforehand when using the external command functions (external start, speed change, speed- position switching, position-speed switching, skip). Set which function to use beforehand in "[Pr.42] External command function selection". (Set the external command signal (DI) in "[Pr.95] External command signal selection" at QD77MS16 use.) Set the following data to validate the "external command signal".
![Mitsubishi Electronics QD77MS2 — [2] External command function valid setting program diagram (page 394)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-394-3.webp)
[Cd.8] External command valid 1 Set to "1: Validate external command". 1505+100n 4305+100n
n: Axis No.-1 : Refer to Section 5.7 "List of control data" for details on the setting details.

Chapter 6 Sequence Program Used for Positioning Control
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. (Refer to "Chapter 10" for details of "high-level positioning control" and "Chapter 12" for details on the "expansion control".)
(1) Set the "positioning start No." corresponding to the control to be started in
"[Cd.3] Positioning start No.".

1 to 600 : Positioning data No. 9001 : Machine OPR 9002 : Fast OPR 9003 : Current value changing 9004 : Simultaneous start 7000 to 7004 : Block No. (For "high-level positioning control")
n: Axis No.-1 : Refer to Section 5.7 "List of control data" for details on the setting details.
(2) For "high-level positioning control", set the "positioning start point No." of the
block to be started in "[Cd.4] Positioning starting point No.".

n: Axis No.-1 : Refer to Section 5.7 "List of control data" for details on the setting details.
(3) Set the following control data for "speed-position switching control (INC
mode)". (Set "[Cd.23] Speed-position switching control movement amount change register" as required. Setting is not required in the ABS mode.)

Set the new value when the position control's movement amount is to be changed during speed control.
enable flag 1 When "1" is set, the speed-position switching signal will be validated. 1528+100n 4328+100n
n: Axis No.-1 : Refer to Section 5.7 "List of control data" for details on the setting details.

Chapter 6 Sequence Program Used for Positioning Control
(4) For "position-speed switching control", set the control data shown below.
(As required, set the "[Cd.25] Position-speed switching control speed change register".)
Position-speed switching control speed change register
Used to set a new value when speed is changed during positioning control.
1530+100n 1531+100n 4330+100n 4331+100n
[Cd.25]
enable flag 1 To validate position-speed switching signal, this is set to 1. 1532+100n 4332+100n
[Cd.26] Position-speed switching
n: Axis No.-1 : Refer to Section 5.7 "List of control data" for details on the setting details.
Buffer memory address · Setting item Setting · value Setting details

Chapter 6 Sequence Program Used for Positioning Control
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 [QD77MS4 operation example]

(Note-1): Buffer memory of QD77MS16 : 4300 1) Set the "positioning start No." in "[Cd.3] Positioning start No." according to the control to be started. (In the above example, set positioning data No. "1".) 2) Input the positioning start signal [Y10] or the external command signal. 3) The positioning data No. "1" will start.
Fig. 6.2 Procedures for starting control (for axis 1)

Chapter 6 Sequence Program Used for Positioning Control
Setting of servo parameter
PLC READY signal [Y0] ON
All axis servo ON [Y1] ON
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. (1) Operation state

n: Axis No.-1

PLC READY signal ON PLC CPU preparation completed Y0
All axis servo ON ON All axis servo ON Y1
Axis stop signal OFF Axis stop signal is OFF Y4 to Y7 [Cd.180] Axis stop
M code ON signal OFF M code ON signal is OFF X4 to X7 [Md.31] Status: b12
Error detection signal OFF There is no error X8 to XB [Md.31] Status: b13
BUSY signal OFF BUSY signal is OFF XC to XF X10 to X1F
Start complete signal OFF Start complete signal is OFF X10 to X13 [Md.31] Status: b14
Forced stop input signal ON There is no forced stop input –
: When the synchronous setting of the PLC CPU is made in the nonsynchronous mode, this must be
provided as an interlock. When it is made in the synchronous mode, no interlock must be provided in the program because the flag is turned ON when calculation is run on the PLC CPU.
(2) Signal state
![Page 399 of the Mitsubishi Electronics QD77MS2 user manual — [1] Starting by inputting positioning start signal](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-399.webp?w=400)
Chapter 6 Sequence Program Used for Positioning Control
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. (2) When the positioning start signal turns OFF, the start complete signal also
turns OFF. If the positioning start signal is ON even after positioning is completed, the start complete signal will remain ON. (3) If the positioning start signal turns ON again while the BUSY signal is ON, the
(a) and (b) below.
(a) When next positioning is not to be carried out
If a dwell time is set, the system will wait for the set time to pass, and then
positioning will be completed. When positioning is completed, the BUSY signal will turn OFF and the
positioning complete signal will turn ON. However, when using speed control or when the positioning complete signal ON time is "0", the signal will not turn ON. When the positioning complete signal ON time is passed, the positioning
complete signal will turn OFF.
(b) When next positioning is to be carried out
If a dwell time is set, the system will wait for the set time to pass. When the set dwell time is passed, the next positioning will start.
![Mitsubishi Electronics QD77MS2 — [1] Starting by inputting positioning start signal diagram (page 399)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-399-1.webp)
(Note): Refer to Section 3.3 for input/output signal of QD77MS16.
Fig. 6.3 ON/OFF timing of each signal at start of positioning

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.)

The time chart for starting each control is shown below.
(1) Time chart for starting "machine OPR" [QD77MS4 operation example]

(Note): Refer to Section 3.3 for input/output signal of QD77MS16.
Fig. 6.4 Time chart for starting "machine OPR"

Chapter 6 Sequence Program Used for Positioning Control
(2) Time chart for starting "fast OPR" [QD77MS4 operation example]

(Note): Refer to Section 3.3 for input/output signal of QD77MS16.
Fig. 6.5 Time chart for starting "fast OPR"

Chapter 6 Sequence Program Used for Positioning Control
(3) Time chart for starting "major positioning control" [QD77MS4 operation example]

(Note): Refer to Section 3.3 for input/output signal of QD77MS16.
Fig. 6.6 Time chart for starting "major positioning control"

Chapter 6 Sequence Program Used for Positioning Control
(4) Time chart for starting "speed-position switching control" [QD77MS4 operation example]

Dwell time Operation pattern(00) Speed control Position control Positioning data No.(1)
(Note): Refer to Section 3.3 for input/output signal of QD77MS16.
Fig. 6.7 Time chart for starting "speed-position switching control"

Chapter 6 Sequence Program Used for Positioning Control
(5) Time chart for starting "position-speed switching control" [QD77MS4 operation example]

(Note): Refer to Section 3.3 for input/output signal of QD77MS16.
Fig. 6.8 Time chart for starting "position-speed switching control"
![Page 405 of the Mitsubishi Electronics QD77MS2 user manual — Machine OPR operation timing and process time [QD77MS4 operation example]](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-405.webp?w=400)
Chapter 6 Sequence Program Used for Positioning Control
![Mitsubishi Electronics QD77MS2 — Machine OPR operation timing and process time [QD77MS4 operation example] diagram (page 405)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-405-1.webp)
(Note): Refer to Section 3.3 for input/output signal of QD77MS16.
Fig. 6.9 Machine OPR operation timing and process time
![Mitsubishi Electronics QD77MS2 — Machine OPR operation timing and process time [QD77MS4 operation example] diagram (page 405)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-405-2.webp)
0.88 0.2 to 0.3 1.8 to 2.7 0 to 0.9 0 to 0.9
1.77 0.2 to 0.3 2.7 to 3.9 0 to 1.8 0 to 0.9
QD77MS4 0.88 0.2 to 0.3 1.8 to 2.7 0 to 0.9 0 to 0.9
1.77 0.2 to 0.3 2.7 to 3.9 0 to 1.8 0 to 0.9
QD77MS16 0.88 0.3 to 1.4 1.8 to 2.7 0 to 0.9 0 to 0.9
1.77 0.3 to 1.4 3.2 to 3.9 0 to 1.8 0 to 1.8
The t1 timing time could be delayed depending on the operating conditions of the
other axis.
![Page 406 of the Mitsubishi Electronics QD77MS2 user manual — Position control operation timing and process time [QD77MS4 operation example]](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-406.webp?w=400)
Chapter 6 Sequence Program Used for Positioning Control
![Mitsubishi Electronics QD77MS2 — Position control operation timing and process time [QD77MS4 operation example] diagram (page 406)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-406-1.webp)
M code ON signal (WITH mode) [X4, X5, X6, X7]
(Note): Refer to Section 3.3 for input/output signal of QD77MS16.
Fig. 6.10 Position control operation timing and process time
When the positioning start signal turns ON, if the "positioning complete signal" or "OPR complete flag" are already ON, the "positioning complete signal" or "OPR complete flag" will turn OFF when the positioning start signal turns ON. Normal timing time Unit: [ms]
![Mitsubishi Electronics QD77MS2 — Position control operation timing and process time [QD77MS4 operation example] diagram (page 406)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-406-2.webp)
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
1.77 0.2 to 0.3 0 to 1.8 0 to 1.8 2.5 to 3.9 0 to 1.8 Follows parameters
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
1.77 0.2 to 0.3 0 to 1.8 0 to 1.8 2.5 to 3.9 0 to 1.8 Follows parameters
QD77MS16 0.88 0.3 to 1.4 0 to 0.9 0 to 0.9 1.8 to 2.7 0 to 0.9 Follows parameters
1.77 0.3 to 1.4 0 to 1.8 0 to 1.8 3.2 to 3.9 0 to 1.8 Follows parameters
The t1 timing time could be delayed depending on the operating conditions of
the other axis.

Chapter 6 Sequence Program Used for Positioning Control
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. To start positioning control by inputting the external command signal, set the "data required to be set" and then turn ON the external command signal.
When starting by inputting the external command signal, the start complete signal will not turn ON.
To execute positioning start with the external command signal, set parameter ([Pr.42]) beforehand, and validate the "external command signal" with the "external command signal validity setting program (program No.5).
[Pr.42] External command
function selection 0 Set to "0: External positioning start". 62+150n
[Cd.8] External command valid 1 Set to "1: Validate external command". 1505+100n 4305+100n
n: Axis No.-1
: Set the external command signal (DI) in "[Pr.95] External command signal selection" at QD77MS16 use.
Refer to Chapter 5 "Data Used for Positioning Control" for details on the setting details.
Buffer memory address · Setting item Setting · value Setting details

Chapter 6 Sequence Program Used for Positioning Control

(Note): Refer to Section 3.3 for input/output signal of QD77MS16.
Fig. 6.11 Time chart for starting with external start signal
![Page 409 of the Mitsubishi Electronics QD77MS2 user manual — [2] Restrictions](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-409.webp?w=400)
Chapter 6 Sequence Program Used for Positioning Control
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. To execute continuous operation interruption, set "1: Continuous operation interrupt request" for "[Cd.18] Interrupt request during continuous operation".
![Mitsubishi Electronics QD77MS2 — [1] Operation during continuous operation interruption diagram (page 409)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-409-1.webp)
Positioning data No. 10 Positioning data No. 11 Positioning data No. 12
Positioning data No. 10 Positioning data No. 11 Positioning data No. 12
Fig. 6.12 Operation during continuous operation interruption
(1) When the "continuous operation interrupt request" is executed, the positioning
will end. Thus, after stopping, the operation cannot be "restarted". When "[Cd.6] Restart command" is issued, the warning "Restart not possible" (warning code: 104) will occur.
![Page 410 of the Mitsubishi Electronics QD77MS2 user manual — [3] Control data requiring settings](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-410.webp?w=400)
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. where "continuous operation interrupt request" was executed is completed.

Positioning for positioning data No. 12 is not executed.
(3) If the operation cannot be decelerated to a stop because the remaining
distance is insufficient when "continuous operation interrupt request" is executed with continuous path control, the interruption of the continuous operation will be postponed until the positioning data shown below.
Positioning data No. have sufficient remaining distance Positioning data No. for positioning complete (pattern: 00) Positioning data No. for continuous positioning control (pattern: 01)
Even when the continuous operation interrupt is requested, the remaining distance is insufficient, and thus, the operation cannot stop at the positioning No. being executed.

Stop process when operation cannot stop at positioning data No. 10
Positioning data No. 10 Positioning data No. 11 Positioning data No. 12
(4) When operation is not performed (BUSY signal is OFF), the interrupt request
during continuous operation is not accepted. It is cleared to 0 at a start or restart.
Set the following data to interrupt continuous operation.
![Mitsubishi Electronics QD77MS2 — [3] Control data requiring settings diagram (page 410)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-410-3.webp)
n: Axis No.-1 : Refer to Section 5.7 "List of control data" for details on the setting details.
![Page 411 of the Mitsubishi Electronics QD77MS2 user manual — [2] Restrictions](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-411.webp?w=400)
Chapter 6 Sequence Program Used for Positioning Control
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" ([Cd.6] Restart command). ("Restarting" is not possible when "continuous operation is interrupted.") This instruction is efficient when performing the remaining positioning from the stopped position in the positioning control of incremental method such as INC linear 1. (Calculation of remaining distance is not required.)
After a deceleration stop by the stop command is completed, write "1: Restarts" to the "[Cd.6] Restart command" with "[Md.26] Axis operation status" is "stopped" and the positioning restarts.
Stop process with stop command
Positioning data No.11 continues with restart command
Positioning data No.10 Positioning data No.11 Positioning data No.12
Fig. 6.13 Restart operation
(1) Restarting can be executed only when the "[Md.26] Axis operation status" is
"stopped (the deceleration stop by stop command is completed)". If the axis operation is not "stopped", restarting is not possible. In this case, the warning "Restart not possible" (warning code: 104) will occur, and the process at that time will be continued. (2) Do not execute restart while the stop command is ON.
If restart is executed while stopped, the error "Stop signal ON at start" (error code: 106) will occur, and the "[Md.26] Axis operation status" will change to "Error". Thus, even if the error is reset, the operation cannot be restarted. (3) Restarting can be executed even while the positioning start signal is ON.
However, make sure that the positioning start signal does not change from OFF to ON while stopped. (4) If the positioning start signal is changed from OFF to ON while "[Md.26] Axis
operation status" is "stopped", the normal positioning (the positioning data set in "[Cd.3] Positioning start No.") is started. (5) If positioning is ended with the continuous operation interrupt request, the
operation cannot be restarted. If restart is requested, the warning "Restart not possible" (warning code: 104) will occur.
Start · t
![Page 412 of the Mitsubishi Electronics QD77MS2 user manual — [4] Starting conditions](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-412.webp?w=400)
Chapter 6 Sequence Program Used for Positioning Control
(6) When stopped with interpolation operation, write "1: Restarts" into "[Cd.6]
Restart command" for the reference axis, and then restart. (7) If the PLC READY signal is changed from OFF to ON while stopped, restarting
is not possible. If restart is requested, the warning "Restart not possible" (warning code: 104) will occur. (8) When the machine OPR and fast OPR is stopped, the error "OPR restart not
possible" (error code: 209) will occur and the positioning cannot restarts. (9) If any of reference partner axes executes the positioning operation once after
interpolation operation stop, the warning "Restart not possible" (warning code: 104) will occur, and the positioning cannot restarts.
Set the following data to execute restart.
[Cd.6] Restart command 1 Set "1: Restarts". 1503+100n 4303+100n
n: Axis No.-1 : Refer to Section 5.7 "List of control data" for details on the setting details.
The following conditions must be satisfied when restarting. (Assemble the required conditions into the sequence program as an interlock.)
"[Md.26] Axis operation status" is "1: Stopped".
![Page 413 of the Mitsubishi Electronics QD77MS2 user manual — [5] Time chart for restarting [QD77MS4 operation example]](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-413.webp?w=400)
Chapter 6 Sequence Program Used for Positioning Control

PLC READY signal ON PLC CPU preparation completed Y0
All axis servo ON ON All axis servo ON Y1
Axis stop signal OFF Axis stop signal is OFF Y4 to Y7 [Cd.180] Axis stop
M code ON signal OFF M code ON signal is OFF X4 to X7 [Md.31] Status: b12
Error detection signal OFF There is no error X8 to XB [Md.31] Status: b13
BUSY signal OFF BUSY signal is OFF XC to XF X10 to X1F
Start complete signal OFF Start complete signal is OFF X10 to X13 [Md.31] Status: b14
Forced stop input signal ON There is no forced stop input –
: When the synchronous setting of the PLC CPU is made in the nonsynchronous mode, this must be
provided as an interlock. When it is made in the synchronous mode, no interlock must be provided in the program because the flag is turned ON when calculation is run on the PLC CPU.
![Mitsubishi Electronics QD77MS2 — [5] Time chart for restarting [QD77MS4 operation example] diagram (page 413)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-413-2.webp)
(Note): Refer to Section 3.3 for input/output signal of QD77MS16.
Fig. 6.14 Time chart for restarting
(2) Signal state
![Page 414 of the Mitsubishi Electronics QD77MS2 user manual — [1] Stop process](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-414.webp?w=400)
Chapter 6 Sequence Program Used for Positioning Control
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 QD77MS2 QD77MS4 QD77MS16
Axis stop signal Y4, Y5 Y4, Y5, Y6, Y7 [Cd.180] Axis stop
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 Simple Motion module (6) When control is intentionally stopped
(Stop signal from PLC CPU turned ON, "Stop signal" of external input signal turned ON, etc.)
The stop process for the above cases is shown below. (Excluding "(1) When each control is completed normally" above.)
![Mitsubishi Electronics QD77MS2 — [1] Stop process diagram (page 414)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-414-1.webp)
"Forced stop input signal" OFF from an external device
Servo OFF or free run (The operation stops with dynamic brake)
Each axis No change Error Deceleration stop/sudden stop (Select with "[Pr.37] Stop group 1 sudden stop selection".)
Error Delegation stop/sudden stop (Select with "[Pr.38] Stop group 2 sudden stop selection".)
Axis error detection (Error other than stop group 1 or 2) Each axis No change Error
Deceleration stop/sudden stop (Select with "[Pr.39] Stop group 3 sudden stop selection".)
"Axis stop signal" ON from PLC CPU Each axis No change Stopped

Chapter 6 Sequence Program Used for Positioning Control
The operation can be stopped with deceleration stop, sudden stop or immediate stop.
(1) Deceleration stop 1
The operation stops with "deceleration time 0 to 3" ([Pr.10], [Pr.28], [Pr.29], [Pr.30]). Which time from "deceleration time 0 to 3" to use for control is set in positioning data ([Da.40]).
The operation stops with "[Pr.36] Sudden stop deceleration time".
(3) Servo OFF or free run (The operation stops with dynamic brake or
electromagnetic brake.)
The operation does not decelerate. The Simple Motion module immediately stops the command, but the operation will coast for the droop pulses accumulated in the servo amplifier deviation counter.
![Mitsubishi Electronics QD77MS2 — [2] Types of stop processes diagram (page 415)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-415-1.webp)
Pr. 8 Speed limit value Pr. 8 Speed limit value
Coast for the droop pulses accumulated in the servo amplifier deviation counter.
(2) Sudden stop (1) Deceleration stop (3) Servo OFF or free run (The operation stops with dynamic brake or electromagnetic brake.)
Fig. 6.15 Types of stop processes
1 "Deceleration stop" and "sudden stop" are selected with the detailed parameter 2 "stop group 1 to 3 sudden stop selection". (The default setting is "deceleration stop".
(2) Sudden stop
![Page 416 of the Mitsubishi Electronics QD77MS2 user manual — [3] Order of priority for stop process](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-416.webp?w=400)
Chapter 6 Sequence Program Used for Positioning Control
The order of priority for the Simple Motion module stop process is as follows.
Deceleration stop < Sudden stop < Servo OFF
(1) If the deceleration stop command ON (stop signal ON) or deceleration stop
cause occurs during deceleration to speed 0 (including automatic deceleration), operation changes depending on the setting of "[Cd.42] Stop command processing for deceleration stop selection". (a) Manual control
Independently of the [Cd.42] setting, a deceleration curve is re-processed from the speed at stop cause occurrence. (b) OPR control, positioning control
When [Cd.42] = 0 (deceleration curve re-processing):
A deceleration curve is re-processed from the speed at stop cause occurrence. When [Cd.42] = 1 (deceleration curve continuation):
The current deceleration curve is continued after stop cause occurrence. (For details, refer to Section 13.7.9 "Stop command processing for deceleration stop function".) (2) If the stop signal designated for sudden stop turns ON or a stop cause occurs
during deceleration, the sudden stop process will start from that point. However, if the sudden stop deceleration time is longer than the deceleration time, the deceleration stop process will be continued even if a sudden stop cause occurs during the deceleration stop process.
![Mitsubishi Electronics QD77MS2 — [3] Order of priority for stop process diagram (page 416)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-416-1.webp)
The process when a sudden stop cause occurs during deceleration stop is shown below.
Sudden stop deceleration process Deceleration stop process continues Process for sudden stop
a) When deceleration stop time > sudden stop deceleration time (b) When deceleration stop time < sudden stop deceleration time
![Page 417 of the Mitsubishi Electronics QD77MS2 user manual — [4] Inputting the stop signal during deceleration](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-417.webp?w=400)
Chapter 6 Sequence Program Used for Positioning Control
(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. If input at the creep speed, the operation will stop immediately. (3) If a stop cause, designated for sudden stop, occurs during deceleration, the
sudden stop process will start from that point. The sudden stop process during deceleration is carried out only when the sudden stop time is shorter than the deceleration stop time.

Chapter 7 Memory Configuration and Data Process
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" or "when the PLC READY signal changes from OFF to ON", can be easily understood. This also allows the transmission process to be carried out correctly when saving or changing the data.
7.1 Configuration and roles of QD77MS memory 7- 2 7.1.1 Configuration and roles of QD77MS memory 7- 2 7.1.2 Buffer memory area configuration 7- 5 7.2 Data transmission process 7- 7

Chapter 7 Memory Configuration and Data Process
7.1.1 Configuration and roles of QD77MS memory
The Simple Motion module is configured of the following four memories.
Block start data area
Model Memory configuration Role
(PA19, PD, PE, PS, PF, Po, PL)
([Pr.100], PA, PB, PC)
PLC CPU memo area
(No.7000 to 7001)
(No.7002 to 7004)
(No. 101 to 600)
(No. 1 to 100)
Area that can be directly accessed with sequence program with PLC CPU.
Area that can be set only with GX Works2. – Not possible
Area that can be set only using buffer memory. – Not possible
Flash ROM Area for backing up data
required for positioning. – Possible
Area for backing up servo parameter or cam data. – Possible
Area that can be directly accessed with sequence program with PLC CPU.
– Not possible
Area that can be set only with GX Works2. – Not possible
Area that can be set only using buffer memory. – Not possible
Flash ROM Area for backing up data
required for positioning. – Possible
Area for backing up servo parameter or cam data. – Possible
: Setting and storage area provided – : Setting and storage area not provided
: Parameter only Possible : Data is held even when power is turned OFF. Not possible: Data is lost when power is turned OFF.

Chapter 7 Memory Configuration and Data Process
Area where parameters, such as positioning parameters and OPR parameters, required for positioning control are set and stored.
Area where the operation status of positioning system is stored.
Area where data for operating and controlling positioning system is set and stored.
Positioning data area (No.1 to 600)
Area where positioning data No.1 to 600 is set and stored.
Block start data area (No.7000 to 7004)
Area where information required only when carrying out block No. 7000 to 7004 high-level positioning is set and stored.
PLC CPU memo area
Area where condition judgment values required for special positioning, etc., are set and stored.
Area where parameters, such as servo parameters, required for positioning control on servo amplifier are set and stored.
Synchronous control area (Note-1)
Area where parameters and control data required for synchronous control are set and stored. Also, the operation status of synchronous control is stored.
Area where cam data, etc., are set and stored. There are cam storage area and cam open area.
Manual (Synchronous Control)" for details of synchronous control area and cam area.

Chapter 7 Memory Configuration and Data Process


Chapter 7 Memory Configuration and Data Process
The buffer memory of Simple Motion module is configured of the following types of areas.

Buffer memory area configuration Buffer memory address Writing possibility QD77MS2/QD77MS4 QD77MS16
System monitor area 1200 to 1499 31300 to 31549 4000 to 4299 31300 to 31549 Not possible Axis monitor area 800+100n to 899+100n 2400+100n to 2499+100n
System control data area 1900 to 1999 5900 to 5999
Axis control data area 1500+100n to 1599+100n 4300+100n to 4399+100n
Positioning data area (No.1 to 100) Positioning data area
Positioning data area (No.101 to 600) 3000+6000n to 7999+6000n Set with GX Works2
Block start data area 26000+1000n to 26049+1000n 22000+400n to 22049+400n
Condition data area 26100+1000n to 26199+1000n 22100+400n to 22199+400n
Block start data area 26200+1000n to 26249+1000n 22200+400n to 22249+400n
Condition data area 26300+1000n to 26399+1000n 22300+400n to 22399+400n
PLC CPU memo area PLC CPU memo area 30000 to 30099

Chapter 7 Memory Configuration and Data Process

Buffer memory area configuration Buffer memory address Writing possibility QD77MS2/QD77MS4 QD77MS16
PA01 to PA18 30101+200n to 30118+200n 28401+100n to 28418+100n
PA20 to PA32 64400+250n to 64412+250n 64400+70n to 64412+70n
Servo input axis monitor data 33120+10n to 33127+10n Not possible
Synchronous encoder axis control data 35040+10j to 35047+10j Possible
Synchronous encoder axis monitor data 35200+20j to 35212+20j Not possible
Synchronous control monitor data 42800+40n to 42835+40n Not possible
Control data for synchronous control 44080+20n to 44090+20n Possible
Cam operation monitor data 53800 to 53801 Not possible
n: Axis No.-1 k: Mark detection setting No.-1 j: Synchronous encoder axis No.-1 : Use of address Nos. skipped above is prohibited. If used, the system may not operate correctly.

POINT When the parameter of the servo amplifier side is changed by the following method, the Simple Motion module reads parameters automatically, and the data is transmitted to the servo parameter area in the buffer memory/internal memory and internal memory (nonvolatile). (1) When changing the servo parameters by the auto tuning. (2) When the servo parameter is changing after the MR Configurator2 is connected

Chapter 7 Memory Configuration and Data 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 425 of the Mitsubishi Electronics QD77MS2 user manual — (3) Validate parameters when PLC READY signal [Y0] changes from](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-425.webp?w=400)
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 (c) 1", "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. The value stored in the flash ROM is valid for "[Pr.96] Operation cycle setting".
The parameters or data is written from the PLC CPU to the buffer memory using the TO command 2. At this time, when the "parameter area (b) 3", "positioning data", "block start data", "control data" and "PLC CPU memo area" are written into the buffer memory with the TO command, it is simultaneously valid.
POINT When a value other than "0" has been set to the servo parameter "[Pr.100] Servo series" inside the internal memory (nonvolatile), the power is turned ON or PLC CPU is reset to transmit the servo parameter inside the internal memory (nonvolatile) to the servo amplifier (servo amplifier LED indicates "b"). After that, the TO instruction writes the servo parameter from the PLC CPU to the buffer memory so that the servo parameter in the buffer memory is not transmitted to the servo amplifier even if the PLC READY signal [Y0] is turned OFF then ON. Change the servo parameter with the above method, after setting the servo parameter "[Pr.100] Servo series" inside the internal memory (nonvolatile), to "0".
OFF to ON When the PLC READY signal [Y0] changes from OFF to ON, the data stored in the buffer memory's "parameter area (a) 4" is validated.

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.
The data is read from the buffer memory to the PLC CPU using the FROM command 5. 5: "Servo parameter (PA19, PD, PE, PS, PF, Po, PL)", "Positioning data (No.101 to 600)" and "Block start data (No.7002 to 7004)" can be read with only GX Works2 in QD77MS16.
When the parameter of the servo amplifier is changed, the servo parameter is read automatically from the servo amplifier to the buffer memory/internal memory and internal memory (nonvolatile).

Chapter 7 Memory Configuration and Data Process


Chapter 7 Memory Configuration and Data Process
The following transmission process is carried out by setting "1" in "[Cd.1] Flash ROM write request".
The following transmission processes are carried out with the [flash ROM write request] from the GX Works2.
(1) Do not turn the power OFF or reset the PLC CPU while writing to the flash
ROM. If the power is turned OFF or the PLC CPU is reset to forcibly end the process, the data backed up in the flash ROM/internal memory (nonvolatile) will be lost. (2) Do not write the data to the buffer memory/internal memory before writing to the
flash ROM is completed. (3) The number of writes to the flash ROM with the sequence program is 25 max. while the power is turned ON. Writing to the flash ROM beyond 25 times will cause the error "Flash ROM write
number error" (error code: 805).
Refer to Section 16.4 "List of errors" for details. (4) Monitoring is the number of writes to the flash ROM after power supply ON by
the "[Md.19] Number of write accesses to flash ROM".

Chapter 7 Memory Configuration and Data Process


Chapter 7 Memory Configuration and Data Process
( )
The following transmission processes are carried out with the [Read from module (Read from QD77MS)] from the GX Works2.
The following transmission processes are carried out with the [monitor] from the GX Works2.
( )
The following transmission processes are carried out with the [Write to module (Write to QD77MS)] from the GX Works2.
At this time, when [Flash ROM automatic write] is set with the GX Works2, the transmission processes indicated with "(7) Flash ROM write" are carried out.

Chapter 7 Memory Configuration and Data Process

(10) Servo parameter transfer


Chapter 7 Memory Configuration and Data Process
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.
POINT When the PLC READY signal [Y0] is turned ON, the error "SSCNET communication error" (error code: 1205) occurs, "Rotation direction selection/travel direction selection (PA14)" is changed by sequence program or the GX Works2 after the servo parameter is transmitted to servo amplifier (LED of the servo amplifier is indicated b, C, or d). When "Rotation direction selection/travel direction selection (PA14)" is changed, transmit the servo parameter to servo amplifier.
Communication with servo amplifier is valid when following condition is realized together.
When the power is turned ON or the PLC CPU is reset, the data stored in the flash ROM/internal memory (nonvolatile) is transmitted to the buffer memory/internal memory. Therefore the servo parameter "[Pr.100] Servo series" inside the internal memory (nonvolatile) is stored to the value other than "0", and communication with servo amplifier is started when the power is turn ON in order of the servo amplifier, Simple Motion module. After the servo parameter stored in the internal memory (nonvolatile) is transmitted to the servo amplifier.

Chapter 7 Memory Configuration and Data Process
program/GX Works2 to the servo amplifier The servo series of servo parameter "[Pr.100] Servo series" inside the internal memory (nonvolatile) set to "0". (Initial value: "0") The setting value of the parameters that correspond to the servo parameter "[Pr.100] Servo series" inside the internal memory (nonvolatile) becomes valid when the power is turned ON or the PLC CPU is reset, after the communication with servo amplifier is not started. However, the PLC READY signal [Y0] is changed from OFF to ON after setting the servo parameters ("[Pr.100] Servo series": except for 0) with sequence program/GX Woroks2 the communication with servo amplifier starts.
memory (nonvolatile) to servo amplifier Flash ROM writing carried out after the servo parameter is set up in the buffer memory/internal memory. After that, when the power is turned ON or the PLC CPU is reset, the servo parameters stored in the internal memory (nonvolatile) is transmitted to the buffer memory/internal memory. When the servo parameter is written in the internal memory (nonvolatile), it is unnecessary to use a setup from the sequence program/GX Works2.
The followings show details about the operation timing and details at transmitting the servo parameter of the buffer memory/internal memory.
POINT (1) When the servo parameter is written in the internal memory (nonvolatile), it is
unnecessary to use a setup from the sequence program/GX Works2. (2) Axis connection time varies depending on the number of axes and the servo
amplifier's power supply ON timing. And, time when "20: Servo amplifier has not been connected/servo amplifier power OFF" is set in "[Md.26] Axis operation status" is also varies.

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 "[Pr.100] Servo series" "0" is stored in the
internal memory (nonvolatile). Communication start timing to the servo amplifier: Initialization completion
(Fig. 7.1 (A)) Transfer the servo parameter : The data stored (backed
up) in the internal memory (nonvolatile).

Buffer memory/ internal memory data setting Axis connection completion QD77MS power ON
Transfer the servo parameter at this point to the servo amplifier
0 (Standby) 21 (Servo OFF) 20 (Servo amplifier has not been connected/servo amplifier power OFF)
Fig. 7.1 When the servo amplifier had started before the system's power supply ON
(The servo series of internal memory (nonvolatile) is set.)
(b) When the servo parameter "[Pr.100] Servo series" = "0" is stored in the
internal memory (nonvolatile). Communication start timing to the servo amplifier: The data written from
sequence program before the PLC READY signal [Y0] ON (Fig. 7.2 (B)). Transfer the servo parameter : The data written from
sequence program/ GX Works2 before the PLC READY signal [Y0] ON (Fig. 7.2 (A)).

Chapter 7 Memory Configuration and Data Process

Buffer memory/ internal memory data setting Axis connection completion QD77MS power ON
Write value by sequence program/GX Works2 Indefinite value Value of internal memory (nonvolatile)
Transfer the servo parameter at this point to the servo amplifier
Communication start valid Communication invalid During communication Communication start (Axis connection)
0 (Standby) 21 (Servo OFF) 20 (Servo amplifier has not been connected/servo amplifier power OFF)
Fig. 7.2 When the servo amplifier had started before the system's power supply ON
(The servo series of internal memory (nonvolatile) is not set.)
(2) When the servo amplifier's power supply is turned ON after the PLC READY
signal [Y0] is turned OFF to ON (Fig. 7.3 (C)).
Communication start timing to the servo amplifier: When the servo amplifier
had started (Fig. 7.3 (B)). Transfer the servo parameter : The data written from
sequence program/ GX Works2 before the PLC READY signal [Y0] ON (Fig. 7.3 (A)).

Buffer memory/ internal memory data setting Axis connection completion
Write value by sequence program/GX Works2 Indefinite value Value of internal memory (nonvolatile)
Transfer the servo parameter at this point to the servo amplifier
0 (Standby) 21 (Servo OFF) 20 (Servo amplifier has not been connected/servo amplifier power OFF) Md.26 Axis operation status
Fig. 7.3 When the servo amplifier had started after the PLC READY signal [Y0] is turned OFF to ON

Chapter 7 Memory Configuration and Data Process
servo parameter The servo parameters can be individually changed from Simple Motion module
with the following axis control data.
Setting item Setting details
Set the write request of servo parameter. Set "1" or "2" after setting "[Cd.131] Parameter No." and "[Cd.132] Change data".
[Cd.130] Parameter
[Cd.131] Parameter No. Set the servo parameter to be changed. 1555+100n 4355+100n
Set the change value of servo parameter set in "[Cd.131] Parameter No.".
1556+100n 1557+100n 4356+100n 4357+100n
[Cd.132] Change data
n: Axis No.-1
POINT (1) Both of the servo parameter area (internal memory (nonvolatile) and buffer
memory/internal memory) of Simple Motion module and the parameter of servo amplifier are changed. (2) When the servo parameters that become valid by turning ON the servo
amplifier's power supply are changed, be sure to turn ON (Note) twice the servo amplifier's power supply after change.
the servo amplifier's EEPROM data are not changed. The EEPROM data before the change are overwritten to RAM by the servo amplifier's power supply ON again, and then the servo amplifier starts. After that, the changed data are written to the servo amplifier's EEPROM in an initial communication with Simple Motion module. Therefore, the changed data are overwritten to the RAM data by turning the servo amplifier's power supply ON again.
Buffer memory address · 1554+100n 4354+100n · write request

Chapter 7 Memory Configuration and Data Process

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. Carry out these settings while referring to "Chapter 5 Data Used for Positioning Control". Also refer to "Chapter 6 Sequence Program Used for Positioning Control" when creating the sequence programs required in each control, and consider the entire control program configuration when creating each program.
Chapter 8 OPR Control 8- 1 to 8- 20 Chapter 9 Major Positioning Control 9- 1 to 9-134 Chapter 10 High-Level Positioning Control 10-1 to 10- 30 Chapter 11 Manual Control 11-1 to 11- 32 Chapter 12 Expansion Control 12-1 to 12- 34 Chapter 13 Control Sub Functions 13-1 to 13-108 Chapter 14 Common Functions 14-1 to 14- 66 Chapter 15 Dedicated Instructions 15-1 to 15- 18 Chapter 16 Troubleshooting 16-1 to 16- 66


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. OPR carried out by sequence programs from the PLC CPU are explained in this chapter. Refer to the "Simple Motion Module Setting Tool Help" of GX Works2 for details on OPR using the GX Works2.
8.1 Outline of OPR control 8- 2 8.1.1 Two types of OPR control 8- 2 8.2 Machine OPR 8- 5 8.2.1 Outline of the machine OPR operation 8- 5 8.2.2 Machine OPR method 8- 6 8.2.3 OPR method (1): Near-point dog method 8- 7 8.2.4 OPR method (2): Count method 1) 8- 9 8.2.5 OPR method (3): Count method 2) 8-11 8.2.6 OPR method (4): Data set method 8-13 8.2.7 OPR method (5): Scale origin signal detection method 8-14 8.3 Fast OPR 8-17 8.3.1 Outline of the fast OPR operation 8-17 8.4 Selection of the OPR setting condition 8-19 8.4.1 Outline of the OPR setting condition 8-19

Chapter 8 OPR Control
8.1.1 Two types of OPR control
In "OPR control", a position is established as the starting point (or "OP") when carrying out positioning control, and positioning is carried out toward that starting point. It is used to return a machine system at any position other than the OP to the OP when the Simple Motion module issues an "OPR request" (Note-1) with the power turned ON or others, or after a positioning stop. In the Simple Motion module, the following two control types are defined as "OPR control", following the flow of the OPR work. These two types of OPR control can be executed by setting the "OPR parameters", setting "Positioning start No. 9001" and "positioning start No. 9002" prepared beforehand in the Simple Motion module to "[Cd.3] Positioning start No.", and turning ON the positioning start signal. The ZP.PSTRT start numbers of the dedicated instruction can also be set to 9001 or 9002 to execute the OPR control. (For details, refer to Chapter 15 "Dedicated Instructions".) (1) Establish a positioning control OP – "Machine OPR" (positioning start No. 9001) (2) Carry out positioning toward the OP – "Fast OPR" (positioning start No. 9002).
The "machine OPR" above must be carried out in advance to execute the "fast OPR".
When using the absolute position system function, on starting up, and when the controller or
absolute value motor has been replaced, always perform an OPR. In the case of the absolute position system, use the sequence program to check the OPR request before performing the positioning control. Failure to observe this could lead to an accident such as a collision.

Chapter 8 OPR Control
The "OPR request flag" ([Md.31] Status: b3) must be turned ON in the Simple Motion 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:
(b) This flag turns off by the completion of machine OPR.
(2) When using an absolute position system
(a) This flag turns on in the following cases:
Buffer memory address (high-order)
n: Axis No.-1 • When the "Rotation direction selection/travel direction selection (PA14)" of servo parameter is changed. (b) This flag turns off by the completion of the machine OPR.
The address information stored in the Simple Motion module cannot be guaranteed while the "OPR request flag" is ON. The "OPR request flag" turns OFF and the "OPR complete flag" ([Md.31] Status: b4) turns ON if the machine OPR is executed and is completed normally.
OPR request (Note-1)

Chapter 8 OPR Control
The "external input signal of QD77MS", "external input signal of the servo amplifier" or "buffer memory of QD77MS" can be selected by "[Pr.80] External input signal selection" as the near-point dog. When the "buffer memory of QD77MS" is selected, the wiring differs according to the Input module used. As for the 24VDC power supply, the direction of current can be switched.
: When "external input signal of the servo amplifier" is set in "[Pr.80] External input signal selection"
at MR-JE-B use, any errors or warnings do not occur. However, the external input signal
(upper/lower limit signal, near-point dog signal) cannot be operated.
DOG
DI3 (DOG)
COM
DICOM
24VDC
24VDC
Fig. 8.1 Wiring when using the near-point dog
Refer to Section 3.2.5 "Combination of QD77MS 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.
The following two sub functions are only related to machine OPR.
Sub function name Machine OPR Fast OPR Reference
OPR retry function Section 13.2.1
Control can be carried out ignoring the "OPR request flag" ([Md.31] Status: b3) in systems that do not require an OPR. In this case, the "OPR parameters ([Pr.43] to [Pr.57])" must all be set to their initial values or a value at which an error does not occur.
"Machine OPR" and "fast OPR" can be executed from the test function of the GX Works2. Refer to the "Simple Motion Module Setting Tool Help" of GX Works2 for details on OPR from the GX Works2.
Servo amplifier · [Remarks]

Chapter 8 OPR Control
8.2.1 Outline of the 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" to be the starting point for positioning control. The method for establishing an "OP" by a machine OPR differs according to the method set in "[Pr.43] OPR method". The following shows the operation when starting a machine OPR.
OP
Fig. 8.2 Example of a machine OPR
Machine OPR · Near-point dog

Chapter 8 OPR Control
The method by which the machine OP is established (method for judging the OP position and machine OPR completion) is designated in the machine OPR according to the configuration and application of the positioning method. The following table shows the methods that can be used for this OPR method. (The OPR method is one of the items set in the OPR parameters. It is set in "[Pr.43] OPR method" of the basic parameters for OPR.)
[Pr.43] OPR method Operation details
Deceleration starts by the OFF ON of the near-point dog. (Speed is reduced to "[Pr.47] Creep speed".) The operation stops once after the near-point dog turns ON and then OFF. Later the operation restarts and then stops at the first zero signal to complete the OPR.
The deceleration starts by the OFF ON of the near-point dog, and the machine moves at the "[Pr.47] Creep speed". The machine stops once after moving the distance set in the "[Pr.50] Setting for the movement amount after near-point dog ON" from the OFF ON position. Later the operation restarts and then stops at the first zero point to complete the machine OPR.
The deceleration starts by the OFF ON of the near-point dog, and the machine moves at the "[Pr.47] Creep speed. The machine moves the distance set in the "[Pr.50] Setting for the movement amount after near-point dog ON" from the near-point dog OFF ON position, and stops at that position. The machine OPR is then regarded as completed.
Data set method The position where the machine OPR has been performed becomes an OP. The current feed value and feed machine value are overwritten to the OP address.
The machine moves in the opposite direction against of "[Pr.44] OPR direction" at the "[Pr.46] OPR speed" by the OFF ON of the near-point dog, and a deceleration stop is carried out once at the first zero signal. Later the operation moves in direction of "[Pr.44] OPR direction" at the "[Pr.47] Creep speed", and then stops at the detected nearest zero point to complete the machine OPR.
Scale origin signal detection method
The stopping accuracy is poor when the machine suddenly stops from fast speeds. To improve the machine's stopping accuracy, it is required to slow down the speed before it stops. This speed is set in the "[Pr.47] Creep speed".
The following shows the signals as required for machine OPR.


Chapter 8 OPR Control
The following shows an operation outline of the OPR method "near-point dog method".
The machine OPR is started.
(The machine begins the acceleration designated in "[Pr.51] OPR acceleration time selection", in the direction
designated in "[Pr.44] OPR direction". It then moves at the "[Pr.46] OPR speed" when the acceleration is completed.)
The machine decelerates to the "[Pr.47] Creep speed", and subsequently moves at that speed.
(At this time, the near-point dog must be ON. The workpiece will continue decelerating and stop if the near-point dog is
turns from ON to OFF.

After the home position return (OPR) has been started, the zero point of the encoder must be passed at least once before point A is reached.
Adjust so the near-point dog OFF position is as close as possible to the center of the zero signal HIGH level. If the near-point dog OFF position overlaps with the zero signal, the machine OPR stop position may deviate by one servomotor rotation.
Value of the machine moved is stored. OP address Current feed value Machine feed value
Fig. 8.3 Near-point dog method machine OPR
1) · 3)

Chapter 8 OPR Control
(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 "[Pr.48] OPR retry"). (2) Machine OPR carried out from the near-point dog ON position will start at the
"[Pr.47] Creep speed". (3) The near-point dog must be ON during deceleration from the OPR speed
"[Pr.47] Creep speed". (4) When the stop signal stops the machine OPR, carry out the machine OPR
again. When restart command is turned ON after the stop signal stops the OPR, the error "OPR restart not possible" (error code: 209) will occur. (5) After the home position return (OPR) has been started, the zero point of the
encoder must be passed at least once before point A is reached. However, if selecting "1: Not need to pass servo motor Z-phase after power on" with "Function selection C-4 (PC17)", it is possible to carry out the home position return (OPR) without passing the zero point.
The workpiece will continue decelerating and stop if the near-point dog is turned OFF before it has decelerated to the creep speed, thus causing the error "Dog detection timing fault" (error code: 203).

Inconsistent Value the machine moved is stored Address at stop
Fig. 8.4 Operation when the near-point dog is turned OFF before the creep speed is reached

Chapter 8 OPR Control
The following shows an operation outline of the OPR method "count method 1)". In the "count method 1)", the machine OPR can be performed in the following cases:
Where the near-point dog is on After the machine OPR is completed
(The machine begins the acceleration designated in "[Pr.51] OPR acceleration time selection", in the direction
designated in "[Pr.44] OPR direction". It then moves at the "[Pr.46] OPR speed" when the acceleration is completed.)
after near-point dog ON" after the near-point dog turned ON. It then restarts and stops at the first zero point.
from ON to OFF.
Pr. 46 OPR speed
Pr. 50 Setting for the movement amount after near-point dog ON
Pr. 47 Creep speed
POINT After the home position return (OPR) has been started, the zero point of the encoder must be passed at least once before point A is reached.
Md.34 Movement amount after near-point dog ON
Leave sufficient distance from the home position to the near-point dog OFF.
Adjust the setting for the movement amount after near-point dog ON to be as near as possible to the center of the zero signal HIGH. If the setting for the movement amount after near-point dog ON falls within the zero signal, there may be produced an error of one servo motor rotation in the OPR stop position.
First zero signal after moving a set to " Pr. 50 Setting for the movement amount after near- point dog ON.
One servo motor rotation
Machine OPR start (Positioning start signal)
ON
OPR request flag ( Md.31 Status : b3)
ON
OPR complete flag ( Md.31 Status : b4)
Standby OPR Md.26 Axis operation status
Value of 1.
Md.34 Movement amount after near-point dog ON
Md.20 Current feed value
Value the machine moved is stored OP address
Md.21 Machine feed value
Fig. 8.5 Count method1) machine OPR

Chapter 8 OPR Control
(1) The error "Count method movement amount fault "(error code: 206) will occur
if the "[Pr.50] Setting for the movement amount after near-point dog ON" is smaller than the deceleration distance from the "[Pr.46] OPR speed" to "[Pr.47] Creep speed". (2) If the speed is changed to a speed faster than "[Pr.46] OPR speed" by the
speed change function (refer to "13.5.1 Speed change function".) during a machine OPR, the distance to decelerate to "[Pr.47] Creep speed" may not be ensured, depending on the setting value of "[Pr.50] Setting for the movement amount after near-point dog ON". In this case, the error "Count method movement amount fault" (error code: 206) occurs and the machine OPR is stopped. (3) The following shows the operation when a machine OPR is started while the
near-point dog is ON. (4) Turn OFF the near-point dog at a sufficient distance from the OP.
Although there is no harm in operation if the near-point dog is turned OFF during a machine OPR, it is recommended to leave a sufficient distance from the OP when the near-point dog is turned OFF for the following reason. If machine OPRs are performed consecutively after the near-point dog is turned OFF at the time of machine OPR completion, operation will be performed at the OPR speed until the hardware stroke limit (upper/lower limit) is reached. If a sufficient distance cannot be kept, consider the use of the OPR retry function. (5) When the stop signal stops the machine OPR, carry out the machine OPR
again. When restart command is turned ON after the stop signal stops the OPR, the error "OPR restart not possible" (error code: 209) will occur.
(6) After the home position return (OPR) has been started, the zero point of the
encoder must be passed at least once before point A is reached. However, if selecting "1: Not need to pass servo motor Z-phase after power on" with "Function selection C-4 (PC17)", it is possible to carry out the home position return (OPR) without passing the zero point.
Pr. 50 Setting for the movement amount after near-point dog ON
[Operation when a machine OPR is started at the near-point dog ON position]
1) A machine OPR is started. 2) The machine moves at the OPR speed in the opposite direction of an OPR. 3) Deceleration processing is carried out when the near-point dog OFF is detected. 4) After the machine stops, a machine OPR is carried out in the OPR direction. 5) The machine OPR is completed on detection of the first zero signal after the travel of the movement amount set to "[Pr.50] Setting for the movement amount after near-point dog ON" on detection of the near-point dog signal ON.
Fig. 8.6 Count method 1) machine OPR on the near-point dog ON position
Near-point dog OFF · Zero signal

Chapter 8 OPR Control
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.)
The machine OPR is started. (The machine begins the acceleration designated in "[Pr.51] OPR acceleration time selection", in the direction designated in "[Pr.44] OPR direction". It then moves at the "[Pr.46] OPR speed" when the acceleration is completed.)
Pr. 46 OPR speed
Pr.50 Setting for the movement amount after near-point dog ON
Pr. 47 Creep speed
Md.34 Movement amount after near-point dog ON
Leave sufficient distance from the home position to the near-point dog OFF.
ON
Machine OPR start (Positioning start signal)
ON
OPR request flag ( Md.31 Status : b3)
ON
OPR complete flag ( Md.31 Status : b4)
Md.26 Axis operation status Standby Standby
Md.34 Movement amount after near-point dog ON
Value of .
Md.20 Current feed value
Value the machine moved is stored Inconsistent
Md.21 Machine feed value
Fig. 8.7 Count method 2) machine OPR

Chapter 8 OPR Control
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.
(1) The error "Count method movement amount fault" (error code: 206) will occur
and the operation will not start if the "[Pr.50] Setting for the movement amount after near-point dog ON" is smaller than the deceleration distance from the "[Pr.46] OPR speed" to "[Pr.47] Creep speed". (2) If the speed is changed to a speed faster than "[Pr.46] OPR speed" by the
speed change function (refer to "13.5.1 Speed change function".) during a machine OPR, the distance to decelerate to "[Pr.47] Creep speed" may not be ensured, depending on the setting value of "[Pr.50] Setting for the movement amount after near-point dog ON". In this case, the error "Count method movement amount fault" (error code: 206) occurs and the machine OPR is stopped. (3) The following shows the operation when a machine OPR is started while the
near-point dog is ON. (4) Turn OFF the near-point dog at a sufficient distance from the OP.
Although there is no harm in operation if the near-point dog is turned OFF during a machine OPR, it is recommended to leave a sufficient distance from the OP when the near-point dog is turned OFF for the following reason. If machine OPRs are performed consecutively after the near-point dog is turned OFF at the time of machine OPR completion, operation will be performed at the OPR speed until the hardware stroke limit (upper/lower limit) is reached. If a sufficient distance cannot be kept, consider the use of the OPR retry function. (5) When the stop signal stops the machine OPR, carry out the machine OPR
again. When restart command is turned ON after the stop signal stops the OPR, the error "OPR restart not possible" (error code: 209) will occur.
Pr. 50 Setting for the movement amount after near-point dog ON
[Operation when an OPR is started at the near- point dog ON position]
Fig. 8.8 Count method 2) machine OPR on the near-point dog ON position
Near-point dog OFF

Chapter 8 OPR Control
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. Use the JOG or manual pulse generator operation to move the OP.
The address upon execution of the OPR is registered as an OP address.
Fig. 8.9 Data set method OPR
(1) The zero point must have been passed before the OPR is carried out after the
power supply is turned ON. If the OPR is carried out without passing the zero point even once, the error "OPR zero point not passed" (error code: 210) will occur. When the error "OPR zero point not passed" (error code: 210) occurs, perform the JOG or similar operation so that the servomotor makes more than one revolution after an error reset, before carrying out the machine OPR again. However, if selecting "1: Not need to pass servo motor Z-phase after power on" with "Function selection C-4 (PC17)", it is possible to carry out the home position return (OPR) without passing the zero point.
(2) The OPR data used for the data set method is the "OPR direction" and "OP
address". The OPR data other than that for the OPR direction and OP address is not used for the data set method OPR method, but if a value is set the outside the setting range, an error will occur when the PLC READY signal [Y0] is turned ON so that the READY signal [X0] is not turned OFF. With the OPR data other than that for the OPR direction and OP address, set an arbitrary value (default value can be allowed) within each data setting range so that an error will not occur upon receiving the PLC READY signal [Y0] ON.
t · OPR start

Chapter 8 OPR Control
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)". If "1: Not need to pass servo motor Z-phase after power on" is set, the error "Z-phase passing parameter invalid" (error code: 231) will occur at the start of scale origin signal detection method OPR.
The machine OPR is started. (The machine begins the acceleration designated in "[Pr.51] OPR acceleration time selection", in the direction designated in "[Pr.44] OPR direction". It then moves at the "[Pr.46] OPR speed" when the acceleration is completed.)
Pr.44 V
Pr.46
Pr.47
After 3), when the zero signal is in the near-point dog position, deceleration stop (4)) is started at the zero signal without waiting for the near-point dog OFF.
Fig. 8.10 Scale origin signal detection method machine OPR

Chapter 8 OPR Control
(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.

[Operation when a machine OPR is started from the near-point dog ON position]
After 1), when the zero signal is in the near-point dog ON position, deceleration stop (2)) is started at the zero signal without waiting for the near- point dog OFF.
Fig. 8.11 Operation when a machine OPR is started from the near-point dog ON position
(3) When the stop signal stops the machine OPR, carry out the machine OPR
again. When restart command is turned ON after the stop signal stops the OPR, the error "OPR restart not possible" (error code: 209) will occur. (4) The OPR retry will not be performed regardless of setting set in "[Pr.48] OPR
retry" in the scale origin signal detection method. When a hardware limit switch is detected during machine OPR, the error "Hardware stroke limit (+)" (error code: 104) or "Hardware stroke limit (-)" (error code: 105) will occur.
(5) Position the near-point dog forward to overlaps with the hardware limit switch
in direction of OPR. When the near-point dog is in the opposite direction against of OPR from the machine OPR start position, the error "Hardware stroke limit (+)" (error code: 104) or "Hardware stroke limit (-)" (error code: 105) will occur.


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.
OPR direction Pr.44
Pr.46 OPR speed
Pr.47 Creep speed
OFF
Fig. 8.12 Operation when the zero signal is detected again during deceleration with detection of zero
(7) Do not use the scale origin signal detection method OPR for the machine with
the backlash. (8) When using the direct drive motor, make it passed the Z phase once before
reaching 3) of Fig. 8.10.

Chapter 8 OPR Control
8.3.1 Outline of the fast OPR operation
Fast OPR operation
After establishing OP position by a machine OPR, positioning control to the OP position is executed without using a near-point dog or a zero signal. The following shows the operation during a basic fast OPR start.
Pr. 46 OPR speed
Machine OP (OP position)
Fast OPR start (Positioning start signal)
Md.26 Axis operation status Position control Standby
OP
Positioning to the OP
Fig. 8.13 Fast OPR
Standby

Chapter 8 OPR Control
The following shows details about the operation timing and time during fast OPR. [QD77MS4 operation example]

(Note): Refer to Section 3.3 for input/output signal of QD77MS16.
Fig. 8.14 Operation timing and processing time of fast OPR

QD77MS2 0.88 0.2 to 0.3 1.8 to 2.7 0 to 0.9
1.77 0.2 to 0.3 2.5 to 3.9 0 to 1.8
QD77MS4 0.88 0.2 to 0.3 1.8 to 2.7 0 to 0.9
1.77 0.2 to 0.3 2.5 to 3.9 0 to 1.8
QD77MS16 0.88 0.3 to 1.4 1.8 to 2.7 0 to 0.9
1.77 0.3 to 1.4 3.2 to 3.9 0 to 1.8
The t1 timing time could be delayed by the operation state of other axes.
(1) The fast OPR can only be executed after the OP position is established by
executing the Machine OPR. If not, the error "OPR request ON" (error code: 207) will occur. (OPR request flag ([Md.31] Status: b3) must be turned OFF). (2) If the fraction pulse is cleared to zero using current value changing or fixed-
feed control, execute the fast OPR and an error will occur by a cleared amount. (3) When unlimited length feed is executed by speed control and the machine feed
value overflows or underflows once, the fast OPR cannot be executed normally. (4) The OPR complete flag ([Md.31] Status: b4) is not turned ON. (5) The axis operation status during fast OPR is "in position control".

Chapter 8 OPR Control
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 "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 ([Md.108] Servo status (low-order buffer memory address): b0) has turned ON. When selecting "1: Not need to pass servo motor Z-phase after power on" with "Function selection C-4 (PC17)", it is possible to turn the zero point pass signal ([Md.108] Servo status (low-order buffer memory address): b0) ON without passing the zero point.
Buffer memory address (low-order)
n: Axis No.-1
To select the "OPR setting condition", set the "servo amplifier" shown in the following table. Servo parameters are set for each axis.
The "OPR setting condition" is stored into the following buffer memory addresses.
Function selection C-4 (PC17) 0
n: Axis No.-1 : Refer to Section 5.2.8 "Servo parameters" for information on the storage details.
(1) Set "Function selection C-4 (PC17)" (transferred the parameter to the servo
amplifier from the Simple Motion module), and then turn off the power supply of the servo amplifier once and switch it on again to make that parameter setting valid.

Chapter 8 OPR 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" in which a rotating object is controlled at a constant speed, "speed-position switching control" in which the operation is shifted from "speed control" to "position control" and "position-speed switching control" in which the operation is shifted from "position control" to "speed control".
Execute the required settings to match each control.
9.1 Outline of major positioning controls 9- 2 9.1.1 Data required for major positioning control 9- 4 9.1.2 Operation patterns of major positioning controls 9- 5 9.1.3 Designating the positioning address 9- 15 9.1.4 Confirming the current value 9- 16 9.1.5 Control unit "degree" handling 9- 18 9.1.6 Interpolation control 9- 21 9.2 Setting the positioning data 9- 26 9.2.1 Relation between each control and positioning data 9- 26 9.2.2 1-axis linear control 9- 28 9.2.3 2-axis linear interpolation control 9- 32 9.2.4 3-axis linear interpolation control 9- 38 9.2.5 4-axis linear interpolation control 9- 44 9.2.6 1-axis fixed-feed control 9- 49 9.2.7 2-axis fixed-feed control (interpolation) 9- 52 9.2.8 3-axis fixed-feed control (interpolation) 9- 54 9.2.9 4-axis fixed-feed control (interpolation) 9- 59 9.2.10 2-axis circular interpolation control with sub point designation 9- 62 9.2.11 2-axis circular interpolation control with center point designation 9- 68 9.2.12 1-axis speed control 9- 76 9.2.13 2-axis speed control 9- 79 9.2.14 3-axis speed control 9- 83 9.2.15 4-axis speed control 9- 87 9.2.16 Speed-position switching control (INC mode) 9- 92 9.2.17 Speed-position switching control (ABS mode) 9-103 9.2.18 Position-speed switching control 9-112 9.2.19 Current value changing 9-122 9.2.20 NOP instruction 9-127 9.2.21 JUMP instruction 9-128 9.2.22 LOOP 9-130 9.2.23 LEND 9-132

Chapter 9 Major Positioning Control
"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. The control system for the "major positioning controls" is set in setting item "[Da.2] Control system" of the positioning data. Control defined as a "major positioning control" carries out the following types of control according to the "[Da.2] Control system" setting. However, the position loop is included for commanding to servo amplifier in the speed control set in "[Da.2] Control system". Use the "speed-torque control" (Refer to Section 12.1 "Speed-torque control") to execute the speed control not including position loop.
Details [Da.2] Control system
Positioning of the designated 1 axis is carried out from the start address (current stop position) to the designated position. 2-axis linear interpolation control (Note-1)
ABS Linear 1 INC Linear 1
Using the designated 2 axes, linear interpolation control is carried out from the start address (current stop position) to the designated position. 3-axis linear interpolation control (Note-1)
ABS Linear 2 INC Linear 2
Using the designated 3 axes, linear interpolation control is carried out from the start address (current stop position) to the designated position. 4-axis linear interpolation control (Note-1)
ABS Linear 3 INC Linear 3
Using the designated 4 axes, linear interpolation control is carried out from the start address (current stop position) to the designated position.
ABS Linear 4 INC Linear 4
Positioning of the designated 1 axis is carried out for a designated movement amount from the start address (current stop position). (The "[Md.20] Current feed value" is set to "0" at the start.)
1-axis fixed- feed control Fixed-feed 1
Using the designated 2 axes, linear interpolation control is carried out for a designated movement amount from the start address (current stop position). (The "[Md.20] Current feed value" is set to "0" at the start.)
2-axis fixed- feed control (Note-1)
3-axis fixed- feed control (Note-1)
Using the designated 3 axes, linear interpolation control is carried out for a designated movement amount from the start address (current stop position). (The "[Md.20] Current feed value" is set to "0" at the start.)
Using the designated 4 axes, linear interpolation control is carried out for a designated movement amount from the start address (current stop position). (The "[Md.20] Current feed value" is set to "0" at the start.)
4-axis fixed- feed control (Note-1)
ABS Circular sub INC Circular sub Using the designated 2 axes, positioning is carried out in an arc path to a position designated from the start point address (current stop position). Center point designation
2-axis circular interpolation control (Note-1)
ABS Circular right ABS Circular left INC Circular right INC Circular left

Chapter 9 Major Positioning Control
Details [Da.2] Control system
Forward run speed 1 Reverse run speed 1 The speed control of the designated 1 axis is carried out.
2-axis speed control (Note-1) Forward run speed 2 Reverse run speed 2 The speed control of the designated 2 axes is carried out.
3-axis speed control (Note-1) Forward run speed 3 Reverse run speed 3 The speed control of the designated 3 axes is carried out.
4-axis speed control (Note-1) Forward run speed 4 Reverse run speed 4 The speed control of the designated 4 axes is carried out.
The control is continued as position control (positioning for the designated address or movement amount) by turning ON the "speed-position switching signal" after first carrying out speed control.
Speed-position switching control Forward run speed/position
The control is continued as speed control by turning ON the "position-speed switching signal" after first carrying out position control.
Position-speed switching control Forward run position/speed
A nonexecutable control system. When this instruction is set, the operation is transferred to the next data operation, and the instruction is not executed.
"[Md.20] Current feed value" is changed to an address set in the positioning data. This can be carried out by either of the following 2 methods. ("[Md.21] Machine feed value" cannot be changed.)
Current value changing Current value changing
Current value changing using the control system Current value changing using the current value
changing start No. (No. 9003). JUMP instruction JUMP instruction An unconditional or conditional JUMP is carried out to a designated positioning data No. LOOP LOOP A repeat control is carried out by repeat LOOP to LEND.
Control is returned to the top of the repeat control by repeat LOOP to LEND. After the repeat operation is completed specified times, the next positioning data is run.
(Note-1): Control is carried out so that linear and arc paths are drawn using a motor set in two or more axes directions.
This kind of control is called "interpolation control". (Refer to Section 9.1.6 "Interpolation control" for details.) (Note-2): In the QD77MS2, when 3- or 4-axis interpolation is carried out, or axis 3 or axis 4 is designated to the axis to be
interpolated for 2-axis interpolation, an error "Illegal interpolation description command" (error code: 521) will occur and the positioning control does not start.

Chapter 9 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
[Da.1] Operation pattern Set the method by which the continuous positioning data (Ex: positioning data No.1, No.2, No.3) will be controlled. (Refer to Section 9.1.2.)
[Da.2] Control system Set the control system defined as a "major positioning control". (Refer to Section 9.1.)
[Da.3] Acceleration time No. Select and set the acceleration time at control start. (Select one of the four values set
in [Pr.9], [Pr.25], [Pr.26], and [Pr.27] for the acceleration time.)
[Da.4] Deceleration time No. Select and set the deceleration time at control stop. (Select one of the four values set
in [Pr.10], [Pr.28], [Pr.29], and [Pr.30] for the deceleration time.)
[Da.5] Axis to be interpolated
Set an axis to be interpolated (partner axis) during the 2-axis interpolation operation (Refer to Section 9.1.6.).
Positioning data No. 1
[Da.6] Positioning address/
movement amount Set the target value during position control. (Refer to Section 9.1.3.)
[Da.7] Arc address Set the sub point or center point address during circular interpolation control.
[Da.8] Command speed Set the speed during the control execution.
Dwell time/JUMP destination positioning data No.
The time between the command pulse output is completed to the positioning completed signal is turned ON. Set it for absorbing the delay of the mechanical system to the instruction, such as the delay of the servo system (deviation).
[Da.9]
M code/Condition data No./Number of LOOP to LEND repetitions
Set this item when carrying out sub work (clamp and drill stops, tool replacement, etc.) corresponding to the code No. related to the positioning data execution.
[Da.10]
[Da.20] Axis to be interpolated
No.1 QD77MS16
Set an axis to be interpolated during the 2- to 4-axis interpolation operation. (Refer to Section 9.1.6.) [Da.21] Axis to be interpolated
No.2 QD77MS16
[Da.22] Axis to be interpolated
No.3 QD77MS16
(Note): The settings and setting requirement for the setting details of [Da.1] to [Da.10] and [Da.20] to [Da.22] differ according
to the "[Da.2] Control system". (Refer to Section 9.2 "Setting the positioning data".)
Refer to Section 3.2.5 "Combination of QD77MS main functions and sub functions" for details on "sub functions" that can be combined with the major positioning control. Also refer to Chapter 13 "Control Sub Functions" for details on each sub function.
"Major positioning control" can be executed by test function of GX Works2. Refer to "Simple Motion Module Setting Tool Help" of GX Works2 for details on carrying out major positioning control from the GX Works2.
600 positioning data (positioning data No. 1 to 600) items can be set per axis.

Chapter 9 Major Positioning Control
In "major positioning control" (high-level positioning control), "[Da.1] Operation pattern" can be set to designate whether to continue executing positioning data after the started positioning data. The "operation pattern" includes the following 3 types.
Positioning complete (1) Independent positioning control (operation pattern: 00) Positioning continue (2) Continuous positioning control (operation pattern: 01) (3) Continuous path control (operation pattern: 11)
The following shows examples of operation patterns when "1-axis linear control (ABS linear 1)" is set in positioning data No. 1 to No. 6 of axis 1. Details of each operation pattern are shown on the following pages.
< Operation example when "1-axis linear positioning" is set in the positioning data of axis 1 >

Positioning data No.1
No.2
Positioning to address [B] at command speed [b] Operation pattern = 11: Continuous path control
No.3
No.4
No.5
No.6

The machine stops, and then continues the next positioning.
(Direction in which axis 1 addresses increase)
(One motor is driven, and positioning is carried out to an addresses designated in one direction.)
![Page 465 of the Mitsubishi Electronics QD77MS2 user manual — [1] Independent positioning control (Positioning complete)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-465.webp?w=400)
Chapter 9 Major Positioning Control
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. (2) 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 PLC program. (3) The positioning complete signal turns ON even when position control of
movement amount 0 is executed. ON time is determined by "[Pr.40] Positioning complete signal output time".
This control is set when executing only one designated data item of positioning. If a dwell time is designated, the positioning completes after the designated time elapses. This data (operation pattern [00] data) becomes the end of block data when carrying out block positioning. (The positioning stops after this data is executed.) [QD77MS4 operation example]
![Mitsubishi Electronics QD77MS2 — [1] Independent positioning control (Positioning complete) diagram (page 465)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-465-1.webp)
(Note): Refer to Section 3.3 for input/output signal of QD77MS16.
Fig. 9.1 Operation during independent positioning control
![Page 466 of the Mitsubishi Electronics QD77MS2 user manual — [2] Continuous positioning control](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-466.webp?w=400)
Chapter 9 Major 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. (2) In operation by continuous positioning control (operation pattern "01"), the
next positioning No. is automatically executed. Always set operation pattern "00" in the last positioning data to complete the positioning. If the operation pattern is set to positioning continue ("01" or "11"), the operation will continue until operation pattern "00" is found. If the operation pattern "00" cannot be found, the operation may be carried out until the positioning data No. 600. If the operation pattern of the positioning data No. 600 is not completed, the operation will be started again from the positioning data No. 1. [QD77MS4 operation example]
![Mitsubishi Electronics QD77MS2 — [2] Continuous positioning control diagram (page 466)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-466-1.webp)
(Note): Refer to Section 3.3 for input/output signal of QD77MS16.
Fig. 9.2 Operation during continuous positioning control
![Page 467 of the Mitsubishi Electronics QD77MS2 user manual — [3] Continuous path control](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-467.webp?w=400)
Chapter 9 Major Positioning 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". The speed is not changed if the current speed and the next speed are equal.
(b) The speed used in the previous positioning operation is continued
when the command speed is set to "-1".
(c) Dwell time is ignored, even if it is set.
(d) The next positioning No. is executed automatically in operations by
continuous path control (operation pattern "11"). Always complete the positioning by setting operation pattern "00" in the last positioning data. If the operation pattern is set to positioning continue ("01" or "11"), the operation will continue until operation pattern "00" is found. If the operation pattern "00" cannot be found, the operation may be carried out until the positioning data No. 600. If the operation pattern of the positioning data No. 600 is not complete, the operation will be started again from the positioning data No. 1.
(e) The speed switching includes the "front-loading speed switching
mode" in which the speed is changed at the end of the current positioning side, and the "standard speed switching mode" in which the speed is at the start of the next positioning side. (Refer to "[Pr.19] Speed switching mode".)
(f) In the continuous path control, the positioning may be completed
before the set address/movement amount and the current data may be switched to the "positioning data that will be run next". This is because a preference is given to the positioning at a command speed. In actuality, the positioning is completed before the set address/movement amount by an amount of remaining distance at speeds less than the command speed. The remaining distance ( ) at speeds less than the command speed is 0 (distance moved in operation cycle at a speed at the time of completion of the positioning). The remaining distance ( ) is output at the next positioning data No.

Chapter 9 Major Positioning Control

(Note): Refer to Section 3.3 for input/output signal of QD77MS16.
Fig. 9.3 Operation during continuous path control (Standard speed switching mode)

POINT In the continuous path control, a speed variation will not occur using the near-pass function when the positioning data No. is switched (Refer to Section 13.3.3 "Near pass function").
Deceleration stops are not carried out in continuous path control, but the machine will carry out a deceleration stop to speed "0" in the following cases (a) to (c).
(a) When the operation pattern of the positioning data currently being
executed is "continuous path control: 11", and the movement direction of the positioning data currently being executed differs from that of the next positioning data. (Only for 1-axis positioning control (Refer to the "POINTS" in the next page.))


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.
(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).
Because of this, the interpolation axis may suddenly reverse direction.
To avoid this sudden direction reversal in the interpolation axis, set the pass point to continuous positioning control
"01" instead of setting it to continuous path control "11".
[Positioning by interpolation] [Reference axis operation] [Interpolation axis operation]
No.1
No.2
No.1
No.2
No.1
No.2
(2) When a "0" is set in the "[Da.6] Positioning address/movement amount" of the continuous path control positioning
data, the command speed is reduced to 0 about 2 ms later.
When a "0" is set in the "[Da.6] Positioning address/movement amount" to increase the number of speed change
points in the future, change the "[Da.2] Control system" to the "NOP" to make the control nonexecutable.
(Refer to Section 9.2.20 "NOP instruction".)
(3) In the continuous path control positioning data, assure a movement distance so that the execution time with that
data is 100 ms or longer, or lower the command speed.

Chapter 9 Major Positioning Control
(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. if the command speed is set to "–1". (The "current speed" will be displayed in the command speed when the positioning data is set with a GX Works2. The current speed is the speed of the positioning control being executed currently.)
1) The speed does not need to be set in each positioning data when carrying out uniform speed control if "–1" is set beforehand in the command speed. 2) If the speed is changed or the override function is executed, in the previous positioning data when "–1" is set in the command speed, the operation can be continued at the new speed. 3) The error "No command speed" (error code: 503) occurs and positioning cannot be started if "–1" is set in the command speed of the first positioning data at start.
[Relation between the command speed and current speed]
P2 P3 P4 P5 P1


Command speed Da. 8
Command speed Da. 8
Current speed Md. 27
Current speed Md. 27
The current speed is changed even if the command speed is not reached in P2.
(1) In the continuous path control, a speed variation will not occur using the near-pass function when the
positioning data is switched (Refer to Section 13.3.3 "Near pass function").
(2) The Simple Motion module holds the command speed set with the positioning data, and the latest value
of the speed set with the speed change request as the "[Md.27] Current speed". It controls the operation at the "current speed" when "-1" is set in the command speed. (Depending on the relation between the movement amount and the speed, the feedrate may not reach the command speed value, but even then the current speed will be updated.)
(3) When the address for speed change is identified beforehand, generate and execute the positioning
data for speed change by the continuous path control to carry out the speed change without requesting the speed change with a sequence program.
Speed · Speed
![Page 471 of the Mitsubishi Electronics QD77MS2 user manual — (4) Speed switching (Refer to "[Pr.19] Speed switching mode".)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-471.webp?w=400)
Chapter 9 Major Positioning Control
(a) Standard speed switching mode
1) If the respective command speeds differ in the "positioning data currently being executed" and the "positioning data to carry out the next operation", the machine will accelerate or decelerate after reaching the positioning point set in the "positioning data currently being executed" and the speed will change over to the speed set in the "positioning data to carry out the next operation". 2) The parameters used in acceleration/deceleration to the command speed set in the "positioning data to carry out the next operation" are those of the positioning data to carry out acceleration/deceleration. Speed switching will not be carried out if the command speeds are the same. [QD77MS4 operation example]
![Mitsubishi Electronics QD77MS2 — (4) Speed switching (Refer to "[Pr.19] Speed switching mode".) diagram (page 471)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-471-1.webp)
(Note): Refer to Section 3.3 for input/output signal of QD77MS16.
Fig. 9.4 Operation for the standard speed switching mode

Chapter 9 Major Positioning Control
3) 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. If the movement amount will be exceeded when automatic deceleration is required (Ex. Operation patterns "00", "01", etc.), the machine will immediately stop at the designated positioning address, and the warning "Insufficient movement amount" (warning code: 513) will occur.
[When the speed cannot change over in P2]
[When the movement amount is small during automatic deceleration]
For the following relation of the speed
P1 = P4, P2 = P3, P1 < P2
The movement amount required to carry out the automatic deceleration cannot be secured, so the machine immediately stops in a speed 0 status.
Positioning address.
(b) Front-loading speed switching mode
Pn+1 Pn

Chapter 9 Major Positioning Control

(Note): Refer to Section 3.3 for input/output signal of QD77MS16.
Fig. 9.5 Operation for the front-loading speed switching mode
3) 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. If the movement amount will be exceeded when automatic deceleration is required (Ex. Operation patterns "00", "01", etc.), the machine will immediately stop at the designated positioning address, and the warning "Insufficient movement amount" (warning code: 513) will occur.
[When the speed cannot change over to the P2 speed in P1]
[When the movement amount is small during automatic deceleration]
For the following relation of the speed
The movement amount required to carry out the automatic deceleration cannot be secured, so the machine immediately stops in a speed 0 status.
P1 = P4, P2 = P3, P1 < P2
Pn Pn+1 · Positioning address

Chapter 9 Major Positioning Control
The following shows the two methods for commanding the position in control using positioning data.
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.)

Fig. 9.6 Absolute system positioning
The position where the machine is currently stopped is regarded as the start point, and positioning is carried out for a designated movement amount in a designated movement direction.

Fig. 9.7 Incremental system positioning

Chapter 9 Major Positioning Control
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.
This is the value stored in "[Md.20] Current feed value". This value has an address established with a "machine OPR" as a
reference, but the address can be changed by changing the current value to a new value.
This is the value stored in "[Md.21] Machine feed value". This value always has an address established with a "machine OPR"
as a reference. The address cannot be changed, even if the current value is changed to a new value.
The "current feed value" and "machine feed value" are used in monitoring the current value display, etc.
Current value changed to 20000 with current value
Address after the current value is changed is stored
0 1 to Md. 20 Current feed value
0 1 to Md. 21 Machine feed value
Address does not change even
after the current value is changed
Fig. 9.8 Current feed value and machine feed value
(1) Operation cycle error will occur in the current value refresh cycle when the
stored "current feed value" and "machine feed value" are used in the control.

Chapter 9 Major Positioning Control
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.
[Md.20] Current feed value 800+100n 801+100n 2400+100n 2401+100n
[Md.21] Machine feed value 802+100n 803+100n 2402+100n 2403+100n
(1) The following shows the examples of programs to read out the current feed
value of the QD77MS4 [axis 1] to D104 and D105 when X40 is turned ON.
(a) For the DFRO(P) instruction
(b) For the DMOV(P) instruction
DMOV
Buffer memory addresses

Chapter 9 Major Positioning Control
When the control unit is set to "degree", the following items differ from when other control units are set.
The address of "[Md.20] Current feed value" becomes a ring address from 0 to 359.99999°. The address of "[Md.21] Machine feed value" will become a cumulative value. (They will not have a ring structure for values between 0 and 359.99999 degrees.) However, "[Md.21] Machine feed value" is restored within the range of 0 to 359.99999 degrees at the communication start with servo amplifier after the power supply ON or PLC CPU reset.
359.99999° 359.99999°
With the control unit set to "degree", the software stroke limit upper and lower limit values are 0 to 359.99999.
To validate the software stroke limit, set the software stroke limit lower limit value and the upper limit value in a clockwise direction.
315.00000
90.00000
To invalidate the software stroke limit, set the software stroke limit lower limit value equal to the software stroke limit upper limit value. The control can be carried out irrespective of the setting of the software stroke limit.
![Page 478 of the Mitsubishi Electronics QD77MS2 user manual — [3] Positioning control method when the control unit is set to "degree"](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-478.webp?w=400)
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,
1) Absolute system (a) When the software stroke limit is invalid
Positioning is carried out in the nearest direction to the designated address, using the current value as a reference. (This is called "shortcut control".)
![Mitsubishi Electronics QD77MS2 — [3] Positioning control method when the control unit is set to "degree" diagram (page 478)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-478-2.webp)
To designate the positioning direction (not carrying out the shortcut control), the shortcut control is invalidated and positioning in a designated direction is carried out by the "[Cd.40] ABS direction in degrees". This function can perform only when the software stroke limit is invalid. When the software stroke limit is valid, the error "Illegal setting of ABS direction in unit of degree" (error code: 546) occurs and positioning is not started. To designate the movement direction in the ABS control, a "1" or "2" is written to the "[Cd.40] ABS direction in degrees" of the buffer memory (initial value: 0). The value written to the "[Cd.40] ABS direction in degrees" becomes valid only when the positioning control is started. In the continuous positioning control and continuous path control, the operation is continued with the setting set at the time of start even if the setting is changed during the operation.
![Mitsubishi Electronics QD77MS2 — [3] Positioning control method when the control unit is set to "degree" diagram (page 478)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-478-3.webp)
The ABS movement direction in the unit of degree is designated. 0: Shortcut (direction setting invalid) 1: ABS clockwise 2: ABS counterclockwise

Chapter 9 Major Positioning Control
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.

When the current value is moved from 0° to 315°, positioning is carried out in the clockwise direction if the software stroke limit lower limit value is 0° and the upper limit value is 345°.
POINT Positioning addresses are within a range of 0° to 359.99999°. Use the incremental system to carry out positioning of one rotation or more.
For a positive (+) movement direction Clockwise
For a negative (–) movement direction Counterclockwise

POINT Positioning of 360° or more can be carried out with the incremental system. At this time, set as shown below to invalidate the software stroke limit.
[Software stroke limit upper limit value = Software stroke limit lower limit value]
Set the value within the setting range (0° to 359.99999°).

Chapter 9 Major Positioning 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. This kind of control is called "interpolation control". In interpolation control, the axis in which the control system is set is defined as the "reference axis", and the other axis is defined as the "interpolation axis". The Simple Motion module controls the "reference axis" following the positioning data set in the "reference axis", and controls the "interpolation axis" corresponding to the reference axis control so that a linear or arc path is drawn. The following table shows the reference axis and interpolation axis combinations.

2-axis linear interpolation control 2-axis fixed-feed control 2-axis circular interpolation control 2-axis speed control
"Axis to be interpolated No.1" set in reference axis
– Axis 1 Axis 2, Axis 3 "Axis to be interpolated No.1" and "Axis to be interpolated No.2" set in reference axis
3-axis linear interpolation control 3-axis fixed-feed control 3-axis speed control
"Axis to be interpolated No.1", "Axis to be interpolated No.2" and "Axis to be interpolated No.3" set in reference axis
4-axis linear interpolation control 4-axis fixed-feed control 4-axis speed control

Chapter 9 Major Positioning 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.
Axis Setting item Reference axis setting item Interpolation axis setting item
[Da.1] Operation pattern –
Linear 2, 3, 4, Fixed-feed 2, 3, 4, Circular sub, Circular right, Circular left Forward run speed 2, 3, 4 Reverse run speed 2, 3, 4
[Da.2] Control system
[Da.3] Acceleration time No. –
[Da.4] Deceleration time No. –
[Da.5] Axis to be interpolated
(Forward run speed 2, 3, and 4. Reverse run speed 2, 3, and 4 not required.)
(Forward run speed 2, 3, and 4. Reverse run speed 2, 3, and 4 not required.)
[Da.6] Positioning address/
Same positioning data Nos
(Only during circular sub, circular right, and circular left).
(Only during circular sub, circular right, and circular left).
[Da.7] Arc address
(Only during forward run speed 2, 3, 4 and reverse run speed 2, 3, 4).
[Da.8] Command speed
Dwell time/JUMP destination positioning data No.
[Da.9]
M code/Condition data No./Number of LOOP to LEND repetitions
[Da.10]
[Da.20] Axis to be interpolated
No.1 QD77MS16 2 –
[Da.21] Axis to be interpolated
No.2 QD77MS16 2 –
No.3 QD77MS16 2 –
[Da.22] Axis to be interpolated
: Setting always required : Set according to requirements (Set to "–" when not used.) : Setting restrictions exist – : Setting not required (The setting value is invalid. Use the initial value or a value within the setting
range.) 1: For 2-axis interpolation, the partner axis is set. If the self-axis is set, the error "Illegal interpolation description command" (error code: 521) will occur. For 3- and 4-axis interpolation, the axis setting is not required. 2: The axis No. is set to axis to be interpolated No.1 for 2-axis linear interpolation, to axis to be interpolated No.1 and No.2 for 3-axis linear interpolation, and to axis to be interpolated No.1 to No.3 for 4-axis linear interpolation. If the self-axis is set, an error "Illegal interpolation description command (error code: 521)" will occur. The axes that are not used are not required.
(Note): Refer to Section 5.3 "List of positioning data" for information on the setting details.
movement amount

Chapter 9 Major Positioning Control
The positioning data Nos. of the reference axis (axis in which interpolation control was set in "[Da.2] Control system") are started when starting the interpolation control. (Starting of the interpolation axis is not required.) The following errors or warnings will occur and the positioning will not start if both reference axis and the interpolation axis are started.
operation (warning code: 100).
When carrying out interpolation control in which "continuous positioning control" and "continuous path control" are designated in the operation pattern, the positioning method for all positioning data from the started positioning data to the positioning data in which "positioning complete" is set must be set to interpolation control. The number of the interpolation axes and axes to be interpolated cannot be changed from the intermediate positioning data. When the number of the interpolation axes and axes to be interpolated are changed, the error "Control system setting error" (error code: 524) will occur and the positioning will stop.
(1) If either of the axes exceeds the "[Pr.8] Speed limit value" in the 2- to 4-axes
speed control, the axis which exceeded the speed limit value is controlled by the speed limit value. For the other axes which perform interpolation, the speed can be suppressed by the ratio of a command speed. If the reference axis exceeds "[Pr.8] Speed limit value" during 2- to 4-axis linear interpolation control, 2- to 4-axis fixed-feed control or 2-axis circular interpolation control, the reference axis is controlled at the speed limit value. (The speed limit does not function on the interpolation axis side.) (2) In 2- to 4-axis interpolation, you cannot change the combination of interpolated
axes midway through operation.

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 "[Pr.8] Speed limit value".
There are limits to the interpolation control that can be executed and speed ([Pr.20] Interpolation speed designation method) that can be set, depending on the "[Pr.1] Unit setting" of the reference axis and interpolation axis. (For example, circular interpolation control cannot be executed if the reference axis and interpolation axis units differ.) The following table shows the interpolation control and speed designation limits.

Reference axis and interpolation axis units are the same, or a combination of "mm" and "inch".
Circular sub (ABS, INC) Circular right (ABS, INC) Circular left (ABS, INC)
: Setting possible, : Setting not possible. 1: "mm" and "inch" unit mix possible. When "mm" and "inch" are mixed, convert as follows for the positioning.
"Interpolation" will be stored in the "[Md.26] Axis operation status" during interpolation control. "Standby" will be stored when the interpolation operation is terminated. Both the reference axis and interpolation axis will carry out a deceleration stop if an error occurs during control, and "Error" will be stored in the operation status.

Chapter 9 Major Positioning Control

Chapter 9 Major Positioning Control
9.2.1 Relation between each control and positioning data
The setting requirements and details for the setting items of the positioning data to be set differ according to the "[Da.2] Control system". The following table shows the positioning data setting items corresponding to the different types of control. Details and settings for the operation of each control are shown in Section 9.2.2 and subsequent sections. (In this section, it is assumed that the positioning data setting is carried out using GX Works2.)

1-axis linear control 2-axis linear interpolation control 3-axis linear interpolation control 4-axis linear interpolation control
1-axis fixed-feed control 2-axis fixed-feed control 3-axis fixed-feed control 4-axis fixed-feed control
Forward run speed 1 Reverse run speed 1 Forward run speed 2 Reverse run speed 2 Forward run speed 3 Reverse run speed 3 Forward run speed 4 Reverse run speed 4
amount – [Da.7] Arc address – – – [Da.8] Command speed

Chapter 9 Major Positioning Control

–
– JUMP destination positioning data No. – –
: Always set : Set according to requirements ("–" when not set) : Setting not possible (If set, the error "Continuous path control not possible" (error code: 516) will occur at start.) – : Setting not required (The setting value is invalid. Use the initial value or a value within the setting range.)
: The "ABS (absolute) system" or "INC (incremental) system" can be used for the control system.
It is recommended that the "positioning data" be set whenever possible with
GX Works2. Execution by sequence program uses many sequence programs and devices. The execution becomes complicated, and the scan times will increase.
![Page 487 of the Mitsubishi Electronics QD77MS2 user manual — [1] 1-axis linear control (ABS linear 1)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-487.webp?w=400)
Chapter 9 Major Positioning Control
In "1-axis linear control" ("[Da.2] Control system" = ABS linear 1, INC linear 1), one motor is used to carry out position control in a set axis direction.
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 "[Da.6] Positioning address/movement amount".
![Mitsubishi Electronics QD77MS2 — [1] 1-axis linear control (ABS linear 1) diagram (page 487)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-487-1.webp)
When the start point address (current stop position) is 1000, and the end point address (positioning address) is 8000, positioning is carried out in the positive direction for a movement amount of 7000 (8000-1000)

Chapter 9 Major Positioning Control
[When "1-axis linear control (ABS linear 1)" is set in positioning data No. 1 of axis 1.]
Setting details QD77MS2 QD77MS4 QD77MS16
[Da.1] Operation pattern Positioning complete Set "Positioning complete" assuming the next positioning data will not be executed.
[Da.2] Control system ABS linear 1 Set absolute system 1-axis linear control.
[Da.3] Acceleration time No. 1 Designate the value set in "[Pr.25] Acceleration time 1" as the acceleration time at start.
[Da.4] Deceleration time No. 0 Designate the value set in "[Pr.10] Deceleration time 0" as the deceleration time at deceleration.
[Da.5] Axis to be interpolated
QD77MS2 QD77MS4 – Setting not required (setting value is ignored).
Axis 1 Positioning data No. 1
[Da.6] Positioning address/
movement amount 8000.0m Set the positioning address. (Assuming "mm" is set in "[Pr.1] Unit setting".)
[Da.7] Arc address – Setting not required (setting value is ignored).
[Da.8] Command speed 6000.00mm/min Set the speed during movement to the positioning address.
Dwell time/JUMP destination positioning data No.
500ms Set the time the machine dwells after the positioning stop (command stop) to the output of the positioning complete signal.
[Da.9]
M code/Condition data No./Number of LOOP to LEND repetitions
10 Set this when other sub operation commands are issued in combination with the No.1 positioning data.
[Da.10]
[Da.20] Axis to be interpolated
No.1 QD77MS16 –
Setting not required (setting value is ignored). [Da.21] Axis to be interpolated
No.2 QD77MS16 –
[Da.22] Axis to be interpolated
No.3 QD77MS16 –
(Note): Refer to Section 5.3 "List of positioning data" for information on the setting details.
Setting example · Setting item
![Page 489 of the Mitsubishi Electronics QD77MS2 user manual — [2] 1-axis linear control (INC linear 1)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-489.webp?w=400)
Chapter 9 Major Positioning Control
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 "[Da.6] Positioning address/movement amount". The movement direction is determined by the sign of the movement amount.
![Mitsubishi Electronics QD77MS2 — [2] 1-axis linear control (INC linear 1) diagram (page 489)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-489-1.webp)
When the start point address is 5000, and the movement amount is -7000, positioning is carried out to the -2000 position.
Stop address after the positioning control Start point address (current stop position)
Positioning control in the reverse direction (movement amount -7000)

Chapter 9 Major Positioning Control
[When "1-axis linear control (INC linear 1)" is set in positioning data No. 1 of axis 1]
Setting details QD77MS2 QD77MS4 QD77MS16
[Da.1] Operation pattern Positioning complete Set "Positioning complete" assuming the next positioning data will not be executed.
[Da.2] Control system INC linear 1 Set incremental system 1-axis linear control.
[Da.3] Acceleration time No. 1 Designate the value set in "[Pr.25] Acceleration time 1" as the acceleration time at start.
[Da.4] Deceleration time No. 0 Designate the value set in "[Pr.10] Deceleration time 0" as the deceleration time at deceleration.
[Da.5] Axis to be interpolated
Axis 1 Positioning data No. 1
QD77MS2 QD77MS4 – Setting not required (setting value is ignored).
[Da.6] Positioning address/
movement amount -7000.0m Set the movement amount. (Assuming "mm" is set in "[Pr.1] Unit setting".)
[Da.7] Arc address – Setting not required (setting value is ignored).
[Da.8] Command speed 6000.00mm/min Set the speed during movement.
Dwell time/JUMP destination positioning data No.
500ms Set the time the machine dwells after the positioning stop (command stop) to the output of the positioning complete signal.
[Da.9]
M code/Condition data No./Number of LOOP to LEND repetitions
10 Set this when other sub operation commands are issued in combination with the No.1 positioning data.
[Da.10]
[Da.20] Axis to be interpolated
No.1 QD77MS16 –
Setting not required (setting value is ignored). [Da.21] Axis to be interpolated
No.2 QD77MS16 –
[Da.22] Axis to be interpolated
No.3 QD77MS16 –
(Note): Refer to Section 5.3 "List of positioning data" for information on the setting details.
Setting example · Setting item
![Page 491 of the Mitsubishi Electronics QD77MS2 user manual — [1] 2-axis linear interpolation control (ABS linear 2)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-491.webp?w=400)
Chapter 9 Major Positioning Control
In "2-axis linear interpolation control" ("[Da.2] Control system" = ABS linear 2, INC linear 2), two motors are used to carry out position control in a linear path while carrying out interpolation for the axis directions set in each axis. (Refer to Section 9.1.6 "Interpolation control" for details on interpolation control.)
Operation chart
In absolute 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 the address (end point address) set in "[Da.6] Positioning address/movement amount".
Forward direction (Y axis)
![Mitsubishi Electronics QD77MS2 — [1] 2-axis linear interpolation control (ABS linear 2) diagram (page 491)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-491-1.webp)
Start point address (X1,Y1) (current stop position)
Movement by linear interpolation of the X axis and Y axis
![Mitsubishi Electronics QD77MS2 — [1] 2-axis linear interpolation control (ABS linear 2) diagram (page 491)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-491-2.webp)
When the start point address (current stop position) is (1000, 1000) and the end point address (positioning address) is (10000, 4000), positioning is carried out as follows.
Reverse direction

Chapter 9 Major Positioning Control
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 (=230)" when "0:
Composite speed" is set in "[Pr.20] Interpolation speed designation method" The error "Outside linear movement amount range" (error code: 504) occurs at a positioning start. (The maximum movement amount that can be set in "[Da.6] Positioning address/movement amount" is "1073741824 (=230)".)
Setting details Axis 1 (reference
[Da.1] Operation pattern Positioning
complete – Set "Positioning complete" assuming the next positioning data will not be executed.
Set absolute system 2-axis linear interpolation control.
[Da.2] Control system ABS linear 2 – ABS linear 2 –
Designate the value set in "[Pr.25] Acceleration time 1" as the acceleration time at start.
[Da.3] Acceleration time No. 1 – 1 –
Designate the value set in "[Pr.10] Deceleration time 0" as the deceleration time at deceleration.
[Da.4] Deceleration time No. 0 – 0 –
[Da.5] Axis to be interpolated
Set the axis to be interpolated (partner axis). If the self-axis is set, an error will occur.
Axis 1 Positioning data No. 1
QD77MS2 QD77MS4 Axis 2 –
[Da.6] Positioning address/
10000.0 m
4000.0 m
10000.0 m
4000.0 m
Set the end point address. (Assuming "mm" is set in "[Pr.1] Unit setting".)
[Da.7] Arc address – Setting not required (setting value is ignored).
[Da.8] Command speed 6000.00 mm/min – 6000.00 mm/min –
Set the speed during movement to the end point address.
Set the time the machine dwells after the positioning stop (command stop) to the output of the positioning complete signal.
Dwell time/JUMP destination positioning data No.
[Da.9]
500ms – 500ms –
M code/Condition data No./Number of LOOP to LEND repetitions
Set this when other sub operation commands are issued in combination with the No.1 positioning data.
[Da.10]
[Da.20] Axis to be interpolated
Set the axis to be interpolated. If the self-axis is set, an error will occur.
No.1 QD77MS16 Axis 2 –
[Da.21] Axis to be interpolated
No.2 QD77MS16 – –
Setting not required (setting value is ignored). [Da.22] Axis to be interpolated
No.3 QD77MS16 – –
(Note): Refer to Section 5.3 "List of positioning data" for information on the setting details.

Chapter 9 Major Positioning Control
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 "[Pr.8] Speed limit value".
![Page 494 of the Mitsubishi Electronics QD77MS2 user manual — [2] 2-axis linear interpolation control (INC linear 2)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-494.webp?w=400)
Chapter 9 Major Positioning Control
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] Positioning address/movement amount". The movement direction is determined by the sign of the movement amount.
Forward direction (Y axis)
![Mitsubishi Electronics QD77MS2 — [2] 2-axis linear interpolation control (INC linear 2) diagram (page 494)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-494-1.webp)
Start point address (X1,Y1) (current stop position)
Stop address after the positioning control (X2,Y2)
Movement by linear interpolation positioning of the X axis and Y axis
![Mitsubishi Electronics QD77MS2 — [2] 2-axis linear interpolation control (INC linear 2) diagram (page 494)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-494-2.webp)
When the axis 1 movement amount is 9000 and the axis 2 movement amount is -3000, positioning address (10000, 4000) is carried out as follows.
Example · Reverse direction

Chapter 9 Major Positioning Control
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 (=230)" when "0:
Composite speed" is set in "[Pr.20] Interpolation speed designation method" The error "Outside linear movement amount range" (error code: 504) occurs at a positioning start. (The maximum movement amount that can be set in "[Da.6] Positioning address/movement amount" is "1073741824 (=230)".)
Setting details Axis 1 (reference
[Da.1] Operation pattern Positioning
Set "Positioning complete" assuming the next positioning data will not be executed.
Set incremental system 2-axis linear interpolation control.
[Da.2] Control system INC linear 2 – INC linear 2 –
Designate the value set in "[Pr.25] Acceleration time 1" as the acceleration time at start.
[Da.3] Acceleration time No. 1 – 1 –
Designate the value set in "[Pr.10] Deceleration time 0" as the deceleration time at deceleration.
[Da.4] Deceleration time No. 0 – 0 –
[Da.5] Axis to be interpolated
Set the axis to be interpolated (partner axis). If the self-axis is set, an error will occur.
Axis 1 Positioning data No. 1
QD77MS2 QD77MS4 Axis 2 –
[Da.6] Positioning address/
Set the movement amount. (Assuming "mm" is set in "[Pr.1] Unit setting".)
movement amount 9000.0 m -3000.0 m 9000.0 m -3000.0 m
[Da.7] Arc address – Setting not required (setting value is ignored).
[Da.8] Command speed 6000.00 mm/min – 6000.00 mm/min – Set the speed during movement.
Dwell time/JUMP destination positioning data No.
Set the time the machine dwells after the positioning stop (command stop) to the output of the positioning complete signal.
[Da.9]
500ms – 500ms –
M code/Condition data No./Number of LOOP to LEND repetitions
Set this when other sub operation commands are issued in combination with the No.1 positioning data.
[Da.10]
[Da.20] Axis to be interpolated
Set the axis to be interpolated. If the self-axis is set, an error will occur.
No.1 QD77MS16 Axis 2 –
[Da.21] Axis to be interpolated
No.2 QD77MS16 – –
Setting not required (setting value is ignored). [Da.22] Axis to be interpolated
No.3 QD77MS16 – –
(Note): Refer to Section 5.3 "List of positioning data" for information on the setting details.

Chapter 9 Major Positioning Control
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 "[Pr.8] Speed limit value".
![Page 497 of the Mitsubishi Electronics QD77MS2 user manual — [1] 3-axis linear interpolation control (ABS linear 3)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-497.webp?w=400)
Chapter 9 Major Positioning Control
In "3-axis linear interpolation control" ("[Da.2] Control system" = ABS linear 3, INC linear 3), three motors are used to carry out position control in a linear path while carrying out interpolation for the axis directions set in each axis. (Refer to Section 9.1.6 "Interpolation control" for details on interpolation control.)
Operation chart
In the absolute 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 the address (end point address) set in the "[Da.6] Positioning address/movement amount".
![Mitsubishi Electronics QD77MS2 — [1] 3-axis linear interpolation control (ABS linear 3) diagram (page 497)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-497-1.webp)
End point address (X2,Y2,Z2)
Movement by linear interpolation of the X axis, Y axis and Z axis
Y axis movement amount
Forward direction (Z axis)
Start point address (X1,Y1,Z1) (Current stop position)
Forward direction (X axis)
Reverse direction Reverse direction
![Mitsubishi Electronics QD77MS2 — [1] 3-axis linear interpolation control (ABS linear 3) diagram (page 497)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-497-2.webp)
When the start point address (current stop position) is (1000, 2000, 1000) and the end point address (positioning address) is (4000, 8000, 4000), positioning is carried out as follows.

Chapter 9 Major Positioning Control
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 (=230)" when "0:
Composite speed" is set in "[Pr.20] Interpolation speed designation method" The error "Outside linear movement amount range" (error code: 504) occurs at a positioning start. (The maximum movement amount that can be set in "[Da.6] Positioning address/movement amount" is "1073741824 (=230)".)
QD77MS4 setting example QD77MS16 setting example
Setting details Axis 1 (reference
Set "Positioning complete" assuming the next positioning data will not be executed.
[Da.1] Operation pattern Positioning
complete – – Positioning
[Da.2] Control system ABS linear 3 – – ABS linear 3 – – Set absolute system 3-axis linear interpolation control.
Designate the value set in "[Pr.25] Acceleration time 1" as the acceleration time at start.
[Da.3] Acceleration time No. 1 – – 1 – –
Designate the value set in "[Pr.10] Deceleration time 0" as the deceleration time at deceleration.
[Da.4] Deceleration time No. 0 – – 0 – –
Setting not required (setting value is ignored). When axis 1 is used as a reference axis, the interpolation axes are axes 2 and 3.
[Da.5] Axis to be interpolated
Axis 1 Positioning data No. 1
[Da.6] Positioning address/
4000.0 m
8000.0 m
4000.0 m
4000.0 m
8000.0 m
4000.0 m
Set the end point address. (Assuming "mm" is set in "[Pr.1] Unit setting".)
[Da.7] Arc address – Setting not required (setting value is ignored).
[Da.8] Command speed 6000.00 mm/min – – 6000.00 mm/min – – Set the speed during movement to the end point address.
Dwell time/JUMP destination positioning data No.
Set the time the machine dwells after the positioning stop (command stop) to the output of the positioning complete signal.
[Da.9]
500ms – – 500ms – –
M code/Condition data No./Number of LOOP to LEND repetitions
Set this when other sub operation commands are issued in combination with the No. 1 positioning data.
[Da.10]
[Da.20] Axis to be interpolated
No.1 QD77MS16 Axis 2 – – Set the axis to be interpolated. If the self-axis is set, an error will occur. [Da.21] Axis to be interpolated
No.2 QD77MS16 Axis 3 – –
No.3 QD77MS16 – – – Setting not required (setting value is ignored).
[Da.22] Axis to be interpolated
(Note): Refer to Section 5.3 "List of positioning data" for information on the setting details.

Chapter 9 Major Positioning Control
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 "[Pr.8] Speed limit value".
Refer to Section 9.1.6 "Interpolation control" for the reference axis and
interpolation axis combinations.

Chapter 9 Major Positioning Control
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 "[Da.6] Positioning address/movement amount". The movement direction is determined the sign of the movement amount.
![Mitsubishi Electronics QD77MS2 — [2] 3-axis linear interpolation control (INC linear 3) diagram (page 500)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-500-1.webp)
Movement by linear interpolation positioning of the X axis, Y axis and Z axis
Z axis movement amount

When the axis 1 movement amount is 10000, the axis 2 movement amount is 5000 and the axis 3 movement amount is 6000, positioning is carried out as follows.

Chapter 9 Major Positioning Control
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 (=230)" when "0:
Composite speed" is set in "[Pr.20] Interpolation speed designation method"
The error "Outside linear movement amount range" (error code: 504) occurs at a positioning start. (The maximum movement amount that can be set in "[Da.6] Positioning address/movement amount" is "1073741824 (=230)".)
QD77MS4 setting example QD77MS16 setting example
Setting details Axis 1 (reference
[Da.1] Operation pattern Positioning
complete – – Positioning
Set "Positioning complete" assuming the next positioning data will not be executed.
[Da.2] Control system INC linear 3 – – INC linear 3 – – Set incremental system 3-axis linear interpolation control.
Designate the value set in "[Pr.25] Acceleration time 1" as the acceleration time at start.
[Da.3] Acceleration time No. 1 – – 1 – –
Designate the value set in "[Pr.10] Deceleration time 0" as the deceleration time at deceleration.
[Da.4] Deceleration time No. 0 – – 0 – –
Setting not required (setting value is ignored). When axis 1 is used as a reference axis, the interpolation axes are axes 2 and 3.
[Da.5] Axis to be interpolated
Axis 1 Positioning data No. 1
Set the movement amount. (Assuming "mm" is set in "[Pr.1] Unit setting".)
[Da.6] Positioning address/
movement amount 10000.0 m 5000.0 m 6000.0 m 10000.0 m 5000.0 m 6000.0 m
[Da.7] Arc address – Setting not required (setting value is ignored).
[Da.8] Command speed 6000.00 mm/min – – 6000.00 mm/min – – Set the speed during movement to the end point address.
Set the time the machine dwells after the positioning stop (command stop) to the output of the positioning complete signal.
Dwell time/JUMP destination positioning data No.
[Da.9]
500ms – – 500ms – –
M code/Condition data No./Number of LOOP to LEND repetitions
Set this when other sub operation commands are issued in combination with the No. 1 positioning data.
[Da.10]
[Da.20] Axis to be interpolated
No.1 QD77MS16 Axis 2 – – Set the axis to be interpolated. If the self-axis is set, an error will occur. [Da.21] Axis to be interpolated
No.2 QD77MS16 Axis 3 – –
No.3 QD77MS16 – – – Setting not required (setting value is ignored).
[Da.22] Axis to be interpolated
(Note): Refer to Section 5.3 "List of positioning data" for information on the setting details.

Chapter 9 Major Positioning Control
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 "[Pr.8] Speed limit value".
Refer to Section 9.1.6 "Interpolation control" for the reference axis and
interpolation axis combinations.
![Page 503 of the Mitsubishi Electronics QD77MS2 user manual — [1] 4-axis linear interpolation control (ABS linear 4)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-503.webp?w=400)
Chapter 9 Major Positioning Control
In "4-axis linear interpolation control" ("[Da.2] Control system" = ABS linear 4, INC linear 4), four motors are used to carry out position control in a linear path while carrying out interpolation for the axis directions set in each axis. (Refer to Section 9.1.6 "Interpolation control" for details on interpolation control.)
In the absolute system 4-axis linear interpolation control, the designated 4 axes are used. Linear interpolation positioning is carried out from the current stop position (start point address) to the address (end point address) set in the "[Da.6] Positioning address/movement amount".

Chapter 9 Major Positioning Control
QD77MS4 setting example QD77MS16 setting example
Setting details Axis 1
Set "Positioning complete" assuming the next positioning data will not be executed.
[Da.1] Operation pattern Positioning
complete – – – Positioning
complete – – –
Set absolute system 4- axis linear interpolation control.
[Da.2] Control system ABS linear 4 – – – ABS linear 4 – – –
Designate the value set in "[Pr.25] Acceleration time 1" as the acceleration time at start.
[Da.3] Acceleration time
No. 1 – – – 1 – – –
Designate the value set in "[Pr.10] Deceleration time 0" as the deceleration time at deceleration.
[Da.4] Deceleration time
No. 0 – – – 0 – – –
Setting not required (setting value is ignored). When axis 1 is used as a reference axis, the interpolation axes are axes 2, 3 and 4.
Axis to be interpolated
[Da.5]
–
Axis 1 Positioning data No. 1
Set the end point address. (Assuming "mm" is set in "[Pr.1] Unit setting".)
[Da.6] Positioning address/
4000.0 m
8000.0 m
4000.0 m
3000.0 m
4000.0 m
8000.0 m
4000.0 m
3000.0 m
[Da.7] Arc address – Setting not required (setting value is ignored).
Set the speed during movement to the end point address.
[Da.8] Command speed 6000.00 mm/min – – – 6000.00 mm/min – – –
Set the time the machine dwells after the positioning stop (command stop) to the output of the positioning complete signal.
Dwell time/JUMP destination positioning data No.
[Da.9]
500ms – – – 500ms – – –
Set this when other sub operation commands are issued in combination with the No. 1 positioning data.
M code/Condition data No./Number of LOOP to LEND repetitions
[Da.10]
Axis to be interpolated No.1
[Da.20]
Axis 2 – – –
Set the axis to be interpolated. If the self-axis is set, an error will occur.
Axis to be interpolated No.2
[Da.21]
Axis 3 – – –
Axis to be interpolated No.3
[Da.22]
Axis 4 – – –
(Note): Refer to Section 5.3 "List of positioning data" for information on the setting details.

Chapter 9 Major Positioning Control
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 "[Pr.8] Speed limit value".
Refer to Section 9.1.6 "Interpolation control" for the reference axis and
interpolation axis combinations.
In the incremental system 4-axis linear interpolation control, the designated 4 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 "[Da.6] Positioning address/movement amount". The movement direction is determined by the sign of the movement amount.
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. When the movement amount for each axis exceeds "1073741824 (=230)"
The error "Outside linear movement amount range" (error code: 504) will occur at the positioning start. (The maximum movement amount that can be set in "[Da.6] Positioning address/ movement amount" is "1073741824 (=230)".)

Chapter 9 Major Positioning Control
QD77MS4 setting example QD77MS16 setting example
Setting details Axis 1
Set "Positioning complete" assuming the next positioning data will not be executed.
[Da.1] Operation pattern Positioning
complete – – – Positioning
complete – – –
Set incremental system 4-axis linear interpolation control.
[Da.2] Control system INC linear 4 – – – INC linear 4 – – –
Designate the value set in "[Pr.25] Acceleration time 1" as the acceleration time at start.
[Da.3] Acceleration time
No. 1 – – – 1 – – –
Designate the value set in "[Pr.10] Deceleration time 0" as the deceleration time at deceleration.
[Da.4] Deceleration time
No. 0 – – – 0 – – –
Setting not required (setting value is ignored). When axis 1 is used as a reference axis, the interpolation axes are axes 2, 3 and 4.
Axis to be interpolated
[Da.5]
–
Axis 1 Positioning data No. 1
Set the movement amount. (Assuming "mm" is set in "[Pr.1] Unit setting".)
[Da.6] Positioning address/
4000.0 m
8000.0 m
4000.0 m
3000.0 m
4000.0 m
8000.0 m
4000.0 m
3000.0 m
[Da.7] Arc address – Setting not required (setting value is ignored).
[Da.8] Command speed 6000.00 mm/min – – – 6000.00 mm/min – – – Set the speed during movement.
Set the time the machine dwells after the positioning stop (command stop) to the output of the positioning complete signal.
Dwell time/JUMP destination positioning data No.
[Da.9]
500ms – – – 500ms – – –
Set this when other sub operation commands are issued in combination with the No. 1 positioning data.
M code/Condition data No./Number of LOOP to LEND repetitions
[Da.10]
Axis to be interpolated No.1
[Da.20]
Axis 2 – – –
Set the axis to be interpolated. If the self-axis is set, an error will occur.
Axis to be interpolated No.2
[Da.21]
Axis 3 – – –
Axis to be interpolated No.3
[Da.22]
Axis 4 – – –
(Note): Refer to Section 5.3 "List of positioning data" for information on the setting details.

Chapter 9 Major Positioning Control
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 "[Pr.8] Speed limit value".
Refer to Section 9.1.6 "Interpolation control" for the reference axis and
interpolation axis combinations.

Chapter 9 Major Positioning Control
In "1-axis fixed-feed control" ("[Da.2] Control system" = fixed-feed 1), one motor is used to carry out fixed-feed control in a set axis direction. In fixed-feed control, any remainder of below control accuracy is rounded down to convert the movement amount designated in the positioning data into the command value to servo amplifier.
In 1-axis fixed-feed control, the address ([Md.20] Current feed value) of the current stop position (start point address) is set to "0". Positioning is then carried out to a position at the end of the movement amount set in "[Da.6] Positioning address/ movement amount". The movement direction is determined by the movement amount sign.
" Md. 20 Current feed value" is set to "0" at the positioning start
0
Reverse direction Forward direction
a positive movement amount
a negative movement amount
(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] Operation pattern". ("Continuous path control" cannot be set in fixed-feed control.) (2) "Fixed-feed" cannot be set in "[Da.2] Control system" in the positioning data
when "continuous path control" has been set in "[Da.1] Operation pattern" of the immediately prior positioning data. (For example, if the operation pattern of positioning data No. 1 is "continuous path control", fixed-feed control cannot be set in positioning data No. 2.) The error "Continuous path control not possible" (error code: 516) will occur and the machine will carry out a deceleration stop if this type of setting is carried out.

Chapter 9 Major Positioning Control
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. For the fixed-feed control, since the movement distance is maintained constant (= the command number of pulses is maintained constant), the control is carried out after the fraction pulse is cleared to zero at start.
[Accumulation/cutoff for fractional pulses]
When movement amount per pulse is 1.0 [m] and movement for 2.5 [m] is executed two times.
2.5 m 2.5 m
Movement amount 0.5 PLS hold by the Simple Motion module is carried to next positioning.
3PLS(=2.5+0.5)
2PLS 2PLS
0.5 PLS hold by the Simple Motion module is cleared to 0 at start and not carried to next positioning.
INC Linear 1 · Fixed-feed 1

Chapter 9 Major Positioning Control
[When "1-axis fixed-feed control (fixed-feed 1)" is set in positioning data No.1 of axis 1]
Setting details QD77MS2 QD77MS4 QD77MS16
[Da.1] Operation pattern Positioning complete Set "Positioning complete" assuming the next positioning data will not be executed.
[Da.2] Control system Fixed-feed 1 Set 1-axis fixed-feed control.
[Da.3] Acceleration time No. 1 Designate the value set in "[Pr.25] Acceleration time 1" as the acceleration time at start.
[Da.4] Deceleration time No. 0 Designate the value set in "[Pr.10] Deceleration time 0" as the deceleration time at deceleration.
[Da.5] Axis to be interpolated
QD77MS2 QD77MS4 – Setting not required (setting value is ignored).
Axis 1 Positioning data No. 1
[Da.6] Positioning address/
movement amount 8000.0m Set the positioning address. (Assuming "mm" is set in "[Pr.1] Unit setting".)
[Da.7] Arc address – Setting not required (setting value is ignored).
[Da.8] Command speed 6000.00mm/min Set the speed during movement to the positioning address.
Dwell time /JUMP destination positioning data No.
500ms Set the time the machine dwells after the positioning stop (command stop) to the output of the positioning complete signal.
[Da.9]
M code /Condition data No./Number of LOOP to LEND repetitions
10 Set this when other sub operation commands are issued in combination with the No. 1 positioning data.
[Da.10]
[Da.20] Axis to be interpolated
No.1 QD77MS16 –
Setting not required (setting value is ignored). [Da.21] Axis to be interpolated
No.2 QD77MS16 –
[Da.22] Axis to be interpolated
No.3 QD77MS16 –
(Note): Refer to Section 5.3 "List of positioning data" for information on the setting details.
Setting example · Setting item

Chapter 9 Major Positioning Control
In "2-axis fixed-feed control" ("[Da.2] Control system" = fixed-feed 2), two motors are used to carry out fixed-feed control in a linear path while carrying out interpolation for the axis directions set in each axis. In fixed-feed control, any remainder of below control accuracy is rounded down to convert the movement amount designated in the positioning data into the command value to servo amplifier. (Refer to Section 9.1.6 "Interpolation control" for details on interpolation control.)
In incremental system 2-axis fixed-feed control, the addresses ([Md.20] Current feed value) of the current stop position (start addresses) of both axes are set to "0". Linear interpolation positioning is then carried out from that position to a position at the end of the movement amount set in "[Da.6] Positioning address/movement amount". The movement direction is determined by the sign of the movement amount.
" Md. 20 Current feed value" of each axis
is set to "0" at the positioning start
(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] Operation pattern". ("Continuous path control" cannot be set in fixed-feed control.) (2) "Fixed-feed" cannot be set in "[Da.2] Control system" in the positioning data
when "continuous path control" has been set in "[Da.1] Operation pattern" of the immediately prior positioning data. (For example, if the operation pattern of positioning data No. 1 is "continuous path control", fixed-feed control cannot be set in positioning data No. 2.) The error "Continuous path control not possible" (error code: 516) will occur and the machine will carry out a deceleration stop if this type of setting is carried out.

Chapter 9 Major Positioning Control
Setting details Axis 1 (reference
Set "Positioning complete" assuming the next positioning data will not be executed.
[Da.1] Operation pattern Positioning
[Da.2] Control system Fixed-feed 2 – Fixed-feed 2 – Set 2-axis fixed-feed control.
Designate the value set in "[Pr.25] Acceleration time 1" as the acceleration time at start.
[Da.3] Acceleration time No. 1 – 1 –
Designate the value set in "[Pr.10] Deceleration time 0" as the deceleration time at deceleration.
[Da.4] Deceleration time No. 0 – 0 –
[Da.5] Axis to be interpolated
Set the axis to be interpolated (partner axis). If the self-axis is set, an error will occur.
QD77MS2 QD77MS4 Axis 2 –
Axis 1 Positioning data No. 1
[Da.6] Positioning address/
movement amount 8000.0 m 6000.0 m 8000.0 m 6000.0 m Set the positioning address. (Assuming "mm" is set in "[Pr.1] Unit setting".)
[Da.7] Arc address – Setting not required (setting value is ignored).
Set the speed during movement. (Designate the composite speed of reference axis speed in "[Pr.20] Interpolation speed designation method".)
[Da.8] Command speed 6000.00 mm/min – 6000.00 mm/min –
Dwell time/JUMP destination positioning data No.
Set the time the machine dwells after the positioning stop (command stop) to the output of the positioning complete signal.
[Da.9]
500ms – 500ms –
M code/Condition data No./Number of LOOP to LEND repetitions
Set this when other sub operation commands are issued in combination with the No. 1 positioning data.
[Da.10]
[Da.20] Axis to be interpolated
Set the axis to be interpolated. If the self-axis is set, an error will occur.
No.1 QD77MS16 Axis 2 –
[Da.21] Axis to be interpolated
No.2 QD77MS16 – –
Setting not required (setting value is ignored). [Da.22] Axis to be interpolated
No.3 QD77MS16 – –
(Note): Refer to Section 5.3 "List of positioning data" for information on the setting details.

Chapter 9 Major Positioning Control
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. For the fixed-feed control, since the movement distance is maintained constant (= the command number of pulses is maintained constant), the control is carried out after the fraction pulse is cleared to zero at start.
[Accumulation/cutoff for fractional pulses]
When movement amount per pulse is 1.0 [m] and movement for 2.5 [m] is executed two times.
Movement amount 0.5 PLS hold by the Simple Motion module is carried to next positioning.
2.5 m 2.5 m
3PLS(=2.5+0.5)
2PLS 2PLS
0.5 PLS hold by the Simple Motion module is cleared to 0 at start and not carried to next positioning.
When the "reference axis speed" is set during 2-axis fixed-feed 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 "[Pr.8] Speed limit value".
In "3-axis fixed-feed control" ("[Da.2] Control system" = fixed-feed 3), three motors are used to carry out fixed-feed control in a linear path while carrying out interpolation for the axis directions set in each axis. In fixed-feed control, any remainder of below control accuracy is rounded down to convert the movement amount designated in the positioning data into the command value to servo amplifier. (Refer to Section 9.1.6 "Interpolation control" for details on interpolation control.)
INC Linear 1 · Fixed-feed 1

Chapter 9 Major Positioning Control
In incremental system 3-axis fixed-feed control, the addresses ([Md.20] Current feed value) of the current stop position (start addresses) of every axes are set to "0". Linear interpolation positioning is then carried out from that position to a position at the end of the movement amount set in "[Da.6] Positioning address/movement amount". The movement direction is determined by the sign of the movement amount.

Current feed value" of each axis is set to "0" at the positioning start.
Y axis · X axis

Chapter 9 Major Positioning Control
(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] Operation pattern". ("Continuous path control" cannot be set in fixed-feed control.) (2) If the movement amount of each axis exceeds "1073741824 (=230)" when "0:
Composite speed" is set in "[Pr.20] Interpolation speed designation method", the "Outside linear movement amount range" (error code: 504) occurs at a positioning start and positioning cannot be started. (The maximum movement amount that can be set in "[Da.6] Positioning address/movement amount" is "1073741824 (= 230)". (3) "Fixed-feed" cannot be set in "[Da.2] Control system" in the positioning data
when "continuous path control" has been set in "[Da.1] Operation pattern" of the immediately prior positioning data. (For example, if the operation pattern of positioning data No. 1 is "continuous path control", fixed-feed control cannot be set in positioning data No. 2.) The error "Continuous path control not possible" (error code: 516) will occur and the machine will carry out a deceleration stop if this type of setting is carried out.

Chapter 9 Major Positioning Control
QD77MS4 setting example QD77MS16 setting example
Setting details Axis 1 (reference
Set "Positioning complete" assuming the next positioning data will not be executed.
[Da.1] Operation pattern Positioning
complete – – Positioning
[Da.2] Control system Fixed-feed 3 – – Fixed-feed 3 – – Set 3-axis fixed-feed control.
Designate the value set in "[Pr.25] Acceleration time 1" as the acceleration time at start.
[Da.3] Acceleration time No. 1 – – 1 – –
Designate the value set in "[Pr.10] Deceleration time 0" as the deceleration time at deceleration.
[Da.4] Deceleration time No. 0 – – 0 – –
Setting not required (setting value is ignored). When axis 1 is used as a reference axis, the interpolation axes are axes 2 and 3.
[Da.5] Axis to be interpolated
Axis 1 Positioning data No. 1
Set the positioning address. (Assuming "mm" is set in "[Pr.1] Unit setting".)
[Da.6] Positioning address/
10000.0 m
5000.0 m
6000.0 m
10000.0 m
5000.0 m
6000.0 m
[Da.7] Arc address – Setting not required (setting value is ignored).
[Da.8] Command speed 6000.00 mm/min – – 6000.00 mm/min – – Set the speed during movement.
Set the time the machine dwells after the positioning stop (command stop) to the output of the positioning complete signal.
Dwell time/JUMP destination positioning data No.
[Da.9]
500ms – – 500ms – –
M code/Condition data No./Number of LOOP to LEND repetitions
Set this when other sub operation commands are issued in combination with the No. 1 positioning data.
[Da.10]
[Da.20] Axis to be interpolated
No.1 QD77MS16 Axis 2 – – Set the axis to be interpolated. If the self-axis is set, an error will occur. [Da.21] Axis to be interpolated
No.2 QD77MS16 Axis 3 – –
No.3 QD77MS16 – – – Setting not required (setting value is ignored).
[Da.22] Axis to be interpolated
(Note): Refer to Section 5.3 "List of positioning data" for information on the setting details.

Chapter 9 Major Positioning Control
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. For the fixed-feed control, since the movement distance is maintained constant (= the command number of pulses is maintained constant), the control is carried out after the fraction pulse is cleared to zero at start.
[Accumulation/cutoff for fractional pulses]
When movement amount per pulse is 1.0 [m] and movement for 2.5 [m] is executed two times.
Movement amount 0.5 PLS hold by the Simple Motion module is carried to next positioning.
2.5 m 2.5 m
3PLS(=2.5+0.5)
2PLS 2PLS
0.5 PLS hold by the Simple Motion module is cleared to 0 at start and not carried to next positioning.
When the "reference axis speed" is set during 3-axis fixed-feed 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 "[Pr.8] Speed limit value".
Refer to Section 9.1.6 "Interpolation control" for the reference axis and
interpolation axis combinations.
INC Linear 1 · Fixed-feed 1

Chapter 9 Major Positioning Control
In "4-axis fixed-feed control" ("[Da.2] Control system" = fixed-feed 4), four motors are used to carry out fixed-feed control in a linear path while carrying out interpolation for the axis directions set in each axis. In fixed-feed control, any remainder of below control accuracy is rounded down to convert the movement amount designated in the positioning data into the command value to servo amplifier. (Refer to Section 9.1.6 "Interpolation control" for details on interpolation control.)
In incremental system 4-axis fixed-feed control, the addresses ([Md.20] Current feed value) of the current stop position (start addresses) of every axes are set to "0". Linear interpolation positioning is then carried out from that position to a position at the end of the movement amount set in "[Da.6] Positioning address/movement amount". The movement direction is determined by the sign of the movement amount.
(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] Operation pattern". ("Continuous path control" cannot be set in fixed-feed control.) (2) "Fixed-feed" cannot be set in "[Da.2] Control system" in the positioning data when "continuous path control" has been set in "[Da.1] Operation pattern" of the immediately prior positioning data. (For example, if the operation pattern of positioning data No. 1 is "continuous path control", fixed-feed control cannot be set in positioning data No. 2.) The error "Continuous path control not possible" (error code: 516) will occur and the machine will carry out a deceleration stop if this type of setting is carried out.

Chapter 9 Major Positioning Control
QD77MS4 setting example QD77MS16 setting example
Setting details Axis 1
Set "Positioning complete" assuming the next positioning data will not be executed.
[Da.1] Operation pattern Positioning
complete – – – Positioning
complete – – –
[Da.2] Control system Fixed-feed
Designate the value set in "[Pr.25] Acceleration time 1" as the acceleration time at start.
[Da.3] Acceleration time
No. 1 – – – 1 – – –
Designate the value set in "[Pr.10] Deceleration time 0" as the deceleration time at deceleration.
[Da.4] Deceleration time
No. 0 – – – 0 – – –
Setting not required (setting value is ignored). When axis 1 is used as a reference axis, the interpolation axes are axes 2, 3 and 4.
Axis to be interpolated
[Da.5]
–
Axis 1 Positioning data No. 1
Set the positioning address. (Assuming "mm" is set in "[Pr.1] Unit setting ".)
[Da.6] Positioning address/
4000.0 m
8000.0 m
4000.0 m
3000.0 m
4000.0 m
8000.0 m
4000.0 m
3000.0 m
[Da.7] Arc address – Setting not required (setting value is ignored).
[Da.8] Command speed 6000.00 mm/min – – – 6000.00 mm/min – – – Set the speed during movement.
Set the time the machine dwells after the positioning stop (command stop) to the output of the positioning complete signal.
Dwell time/JUMP destination positioning data No.
[Da.9]
500ms – – – 500ms – – –
Set this when other sub operation commands are issued in combination with the No. 1 positioning data.
M code/Condition data No./Number of LOOP to LEND repetitions
[Da.10]
Axis to be interpolated No.1
[Da.20]
Axis 2 – – –
Set the axis to be interpolated. If the self-axis is set, an error will occur.
Axis to be interpolated No.2
[Da.21]
Axis 3 – – –
Axis to be interpolated No.3
[Da.22]
Axis 4 – – –
(Note): Refer to Section 5.3 "List of positioning data" for information on the setting details.

Chapter 9 Major Positioning Control
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. For the fixed-feed control, since the movement distance is maintained constant (= the command number of pulses is maintained constant), the control is carried out after the fraction pulse is cleared to zero at start.
[Accumulation/cutoff for fractional pulses]
When movement amount per pulse is 1.0 [m] and movement for 2.5 [m] is executed two times.
Movement amount 0.5 PLS hold by the Simple Motion module is carried to next positioning.
2.5 m 2.5 m
3PLS(=2.5+0.5)
2PLS 2PLS
0.5 PLS hold by the Simple Motion module is cleared to 0 at start and not carried to next positioning.
When the "reference axis speed" is set during 4-axis fixed-feed 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 "[Pr.8] Speed limit value".
Refer to Section 9.1.6 "Interpolation control" for the reference axis and
interpolation axis combinations.
INC Linear 1 · Fixed-feed 1

Chapter 9 Major Positioning Control
In "2-axis circular interpolation control" ("[Da.2] Control system" = ABS circular sub, INC circular sub), two motors are used to carry out position control in an arc path passing through designated sub points, while carrying out interpolation for the axis directions set in each axis. (Refer to Section 9.1.6 "Interpolation control" for details on interpolation control.)
circular sub)
Operation chart
In the absolute system, 2-axis circular interpolation control with sub point designation, positioning is carried out from the current stop position (start point address) to the address (end point address) set in "[Da.6] Positioning address/ movement amount", in an arc path that passes through the sub point address set in "[Da.7] Arc address".
The resulting control path is an arc having as its center the intersection point of perpendicular bisectors of a straight line between the start point address (current stop position) and sub point address (arc address), and a straight line between the sub point address (arc address) and end point address (positioning address).
Movement by circular interpolation
End point address (arc address)
(current stop position) Reverse direction

Chapter 9 Major Positioning Control
(1) 2-axis circular interpolation control cannot be set in the following cases.
When "degree" is set in "[Pr.1] Unit setting"
When the units set in "[Pr.1] Unit setting" are different for the reference axis
and interpolation axis. ("mm" and "inch" combinations are possible.)
When "reference axis speed" is set in "[Pr.20] Interpolation speed designation
(2) An error will occur and the positioning start will not be possible in the following
cases. The machine will immediately stop if the error is detected during positioning control.
When the radius exceeds "536870912 (=229)". (The maximum radius for
which circular interpolation control is possible is "536870912 (=229)"
... The error "Outside radius range" (error code: 544) will occur at
positioning start. When the center point address is outside the range of "–2147483648 (–231) to
2147483647 (231–1)" ... The error "Sub point setting error" (error code: 525) will occur at
positioning start. When the start point address is the same as the end point address
... The error "End point setting error" (error code: 526) will occur. When the start point address is the same as the sub point address
... The error "Sub point setting error" (error code: 525) will occur. When the end point address is the same as the sub point address
... The error "Sub point setting error" (error code: 525) will occur. When the start point address, sub point address, and end point address are in
... The error "Sub point setting error" (error code: 525) will occur.
method" · a straight line

Chapter 9 Major Positioning Control
Setting details Axis 1 (reference
Set "Positioning complete" assuming the next positioning data will not be executed.
[Da.1] Operation pattern Positioning
[Da.2] Control system ABS circular
sub – ABS circular
Set absolute system, 2-axis circular interpolation control with sub point designation.
Designate the value set in "[Pr.25] Acceleration time 1" as the acceleration time at start.
[Da.3] Acceleration time No. 1 – 1 –
Designate the value set in "[Pr.10] Deceleration time 0" as the deceleration time at deceleration.
[Da.4] Deceleration time No. 0 – 0 –
[Da.5] Axis to be interpolated
Set the axis to be interpolated (partner axis). If the self-axis is set, an error will occur.
QD77MS2 QD77MS4 Axis 2 –
Axis 1 Positioning data No. 1
[Da.6] Positioning address/
movement amount 8000.0 m 6000.0 m 8000.0 m 6000.0 m Set the positioning address. (Assuming "mm" is set in "[Pr.1] Unit setting".)
[Da.7] Arc address 4000.0 m 3000.0 m 4000.0 m 3000.0 m Set the sub point address. (Assuming that the "[Pr.1] Unit setting" is set to "mm".)
Set the speed when moving to the end point address. (Designate the composite speed in "[Pr.20] Interpolation speed designation method".)
[Da.8] Command speed 6000.00 mm/min – 6000.00 mm/min –
Set the time the machine dwells after the positioning stop (command stop) to the output of the positioning complete signal.
Dwell time /JUMP destination positioning data No.
[Da.9]
500ms – 500ms –
M code /Condition data No./Number of LOOP to LEND repetitions
Set this when other sub operation commands are issued in combination with the No. 1 positioning data.
[Da.10]
[Da.20] Axis to be interpolated
Set the axis to be interpolated. If the self-axis is set, an error will occur.
No.1 QD77MS16 Axis 2 –
[Da.21] Axis to be interpolated
No.2 QD77MS16 – –
Setting not required (setting value is ignored).
[Da.22] Axis to be interpolated
No.3 QD77MS16 – –
(Note): Refer to Section 5.3 "List of positioning data" for information on the setting details.
POINT Set a value in "[Da.8] Command speed" so that the speed of each axis does not exceed the "[Pr.8] Speed limit value". (The speed limit does not function for the speed calculated by the Simple Motion module during interpolation control.)

![Page 524 of the Mitsubishi Electronics QD77MS2 user manual — [2] 2-axis circular interpolation control with sub point designation (INC](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-524.webp?w=400)
Chapter 9 Major Positioning Control
circular sub)
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 "[Da.6] Positioning address/movement amount" in an arc path that passes through the sub point address set in "[Da.7] Arc address". The movement direction depends on the sign (+ or -) of the movement amount. The resulting control path is an arc having as its center the intersection point of perpendicular bisectors of the straight line between the start point address (current stop position) and sub point address (arc address) calculated from the movement amount to the sub point, and a straight line between the sub point address (arc address) and end point address (positioning address) calculated from the movement amount to the end point.
![Mitsubishi Electronics QD77MS2 — [2] 2-axis circular interpolation control with sub point designation (INC diagram (page 524)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-524-1.webp)

Chapter 9 Major Positioning Control
(1) 2-axis circular interpolation control cannot be set in the following cases.
When "degree" is set in "[Pr.1] Unit setting"
When the units set in "[Pr.1] Unit setting" are different for the reference axis
and interpolation axis. ("mm" and "inch" combinations are possible.)
When "reference axis speed" is set in "[Pr.20] Interpolation speed designation
(2) An error will occur and the positioning start will not be possible in the following
cases. The machine will immediately stop if the error is detected during positioning control.
When the radius exceeds "536870912 (=229)". (The maximum radius for
which circular interpolation control is possible is "536870912 (=229)"
... The error "Outside radius range" (error code: 544) will occur at
positioning start. When the sub point address is outside the range of "–2147483648 (–231) to
2147483647 (231–1)" ... The error "Sub point setting error" (error code: 525) will occur. When the end point address is outside the range of "–2147483648 (–231) to
2147483647 (231–1)" ... The error "End point setting error" (error code: 526) will occur. When the center point address is outside the range of "–2147483648 (–231) to
2147483647 (231–1)" ... The error "Sub point setting error" (error code: 525) will occur at
positioning start. When the start point address is the same as the end point address
... The error "End point setting error" (error code: 526) will occur. When the start point address is the same as the sub point address
... The error "Sub point setting error" (error code: 525) will occur. When the end point address is the same as the sub point address
... The error "Sub point setting error" (error code: 525) will occur. When the start point address, sub point address, and end point address are in
... The error "Sub point setting error" (error code: 525) will occur.
method" · a straight line

Chapter 9 Major Positioning Control
Setting details Axis 1 (reference
Set "Positioning complete" assuming the next positioning data will not be executed.
[Da.1] Operation pattern Positioning
[Da.2] Control system INC circular
sub – INC circular
Set incremental system, 2-axis circular interpolation control with sub point designation.
Designate the value set in "[Pr.25] Acceleration time 1" as the acceleration time at start.
[Da.3] Acceleration time No. 1 – 1 –
Designate the value set in "[Pr.10] Deceleration time 0" as the deceleration time at deceleration.
[Da.4] Deceleration time No. 0 – 0 –
[Da.5] Axis to be interpolated
Set the axis to be interpolated (partner axis). If the self-axis is set, an error will occur.
QD77MS2 QD77MS4 Axis 2 –
Axis 1 Positioning data No. 1
[Da.6] Positioning address/
movement amount 8000.0 m 6000.0 m 8000.0 m 6000.0 m Set the movement amount. (Assuming that the "[Pr.1] Unit setting" is set to "mm".)
[Da.7] Arc address 4000.0 m 3000.0 m 4000.0 m 3000.0 m Set the sub point address. (Assuming that the "[Pr.1] Unit setting" is set to "mm".)
Set the speed during movement. (Designate the composite speed in "[Pr.20] Interpolation speed designation method".)
[Da.8] Command speed 6000.00 mm/min – 6000.00 mm/min –
Set the time the machine dwells after the positioning stop (command stop) to the output of the positioning complete signal.
Dwell time /JUMP destination positioning data No.
[Da.9]
500ms – 500ms –
M code /Condition data No./Number of LOOP to LEND repetitions
Set this when other sub operation commands are issued in combination with the No. 1 positioning data.
[Da.10]
[Da.20] Axis to be interpolated
Set the axis to be interpolated. If the self-axis is set, an error will occur.
No.1 QD77MS16 Axis 2 –
[Da.21] Axis to be interpolated
No.2 QD77MS16 – –
Setting not required (setting value is ignored).
[Da.22] Axis to be interpolated
No.3 QD77MS16 – –
(Note): Refer to Section 5.3 "List of positioning data" for information on the setting details.

POINT Set a value in "[Da.8] Command speed" so that the speed of each axis does not exceed the "[Pr.8] Speed limit value". (The speed limit does not function for the speed calculated by the Simple Motion module during interpolation control.)

Chapter 9 Major Positioning Control
In "2-axis circular interpolation control" ("[Da.2] Control system" = ABS circular right, INC circular right, ABS circular left, INC circular left), two motors are used to carry out position control in an arc path having an arc address as a center point, while carrying out interpolation for the axis directions set in each axis. (Refer to Section 9.1.6 "Interpolation control" for details on interpolation control.)
The following table shows the rotation directions, arc center angles that can be controlled, and positioning paths for the different control systems.


Chapter 9 Major Positioning Control
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 "[Da.6] Positioning address/movement amount". (Refer to "[Pr.41] Allowable circular interpolation error width".)
(1) Calculated error "[Pr.41] Allowable circular interpolation error width"
Circular interpolation control to the set end point address is carried out while the error compensation is carried out. (This is called "spiral interpolation".)
Path using spiral interpolation
Calculated end point address
Center point address Start point address
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. Thus, when there is a difference (error) between a radius calculated from the start point address and center point address (start point radius) and a radius calculated from the end point address and center point address (end point radius), the composite speed differs from the command speed as follows.
Start point radius > End point radius: As compared with the speed without
error, the speed becomes slower as end point address is reached. Start point radius < End point radius: As compared with the speed without
error, the speed becomes faster as end point address is reached. (2) Calculated error > "[Pr.41] Allowable circular interpolation error width"
At the positioning start, the error "Large arc error deviation" (error code: 506) will occur and the control will not start. The machine will immediately stop if the error is detected during positioning control.
Error · End point address
![Page 529 of the Mitsubishi Electronics QD77MS2 user manual — [1] 2-axis circular interpolation control with center point designation](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-529.webp?w=400)
Chapter 9 Major Positioning Control
(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 "[Da.6] Positioning address/ movement amount", in an arc path having as its center the address (arc address) of the center point set in "[Da.7] Arc address".
Movement by circular interpolation Forward direction
End point address Start point address (current stop position)
Forward direction Reverse direction
Arc center point (Arc address) Positioning of a complete round with a radius from the start point address to the arc center point can be carried out by setting the end point address (positioning address) to the same address as the start point address.
Start point address =
Reverse direction Forward direction

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. Thus, when there is a difference (error) between a radius calculated from the start point address and center point address (start point radius) and a radius calculated from the end point address and center point address (end point radius), the composite speed differs from the command speed as follows.
Start point radius > End point radius: As compared with the speed without error,
the speed becomes slower as end point address is reached. Start point radius < End point radius: As compared with the speed without error,
the speed becomes faster as end point address is reached.
(1) 2-axis circular interpolation control cannot be set in the following cases.
When "degree" is set in "[Pr.1] Unit setting"
When the units set in "[Pr.1] Unit setting" are different for the reference axis
and interpolation axis. ("mm" and "inch" combinations are possible.)
When "reference axis speed" is set in "[Pr.20] Interpolation speed designation
(2) An error will occur and the positioning start will not be possible in the following
cases. The machine will immediately stop if the error is detected during positioning control.
When the radius exceeds "536870912 (=229)". (The maximum radius for
which circular interpolation control is possible is "536870912 (=229)"
... The error "Outside radius range" (error code: 544) will occur at
positioning start. When the start point address is the same as the center point address
... The error "Center point setting error" (error code: 527) will occur. When the end point address is the same as the center point address
... The error "Center point setting error" (error code: 527) will occur.
When the center point address is outside the range of –2147483648 (-231) to
2147483647 (231-1) ... The error "Center point setting error" (error code: 527) will occur.
method"

Chapter 9 Major Positioning Control
Setting details Axis 1 (reference
Set "Positioning complete" assuming the next positioning data will not be executed.
[Da.1] Operation pattern Positioning
Set absolute system, 2-axis circular interpolation control with center point designation. (Select clockwise or counterclockwise according to the control.)
[Da.2] Control system
Designate the value set in "[Pr.25] Acceleration time 1" as the acceleration time at start.
[Da.3] Acceleration time No. 1 – 1 –
Designate the value set in "[Pr.10] Deceleration time 0" as the deceleration time at deceleration.
[Da.4] Deceleration time No. 0 – 0 –
[Da.5] Axis to be interpolated
Set the axis to be interpolated (partner axis). If the self-axis is set, an error will occur.
QD77MS2 QD77MS4 Axis 2 –
Axis 1 Positioning data No. 1
[Da.6] Positioning address/
movement amount 8000.0 m 6000.0 m 8000.0 m 6000.0 m Set the positioning address. (Assuming "mm" is set in "[Pr.1] Unit setting".)
Set the arc address (center point address). (Assuming that the "[Pr.1] Unit setting" is set to "mm".)
[Da.7] Arc address 4000.0 m 3000.0 m 4000.0 m 3000.0 m
Set the speed when moving to the end point address. (Designate the composite speed in "[Pr.20] Interpolation speed designation method".)
[Da.8] Command speed 6000.00 mm/min – 6000.00 mm/min –
Set the time the machine dwells after the positioning stop (command stop) to the output of the positioning complete signal.
Dwell time /JUMP destination positioning data No.
[Da.9]
500ms – 500ms –
M code /Condition data No./Number of LOOP to LEND repetitions
Set this when other sub operation commands are issued in combination with the No.1 positioning data.
[Da.10]
[Da.20] Axis to be interpolated
Set the axis to be interpolated. If the self-axis is set, an error will occur.
No.1 QD77MS16 Axis 2 –
[Da.21] Axis to be interpolated
No.2 QD77MS16 – –
Setting not required (setting value is ignored).
[Da.22] Axis to be interpolated
No.3 QD77MS16 – –
(Note): Refer to Section 5.3 "List of positioning data" for information on the setting details.

POINT Set a value in "[Da.8] Command speed" so that the speed of each axis does not exceed the "[Pr.8] Speed limit value". (The speed limit does not function for the speed calculated by the Simple Motion module during interpolation control.)
![Page 532 of the Mitsubishi Electronics QD77MS2 user manual — [2] 2-axis circular interpolation control with center point designation](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-532.webp?w=400)
Chapter 9 Major Positioning Control
(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 "[Da.6] Positioning address/movement amount", in an arc path having as its center the address (arc address) of the center point set in "[Da.7] Arc address".
Movement by circular interpolation Forward direction
Start point address (Current stop position)
Movement amount to the end point
Reverse direction Forward direction
Movement amount to the end point Reverse direction
Positioning of a complete round with a radius of the distance from the start point address to the arc center point can be carried out by setting the movement amount to "0".
Movement amount = 0
Reverse direction Forward direction

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. Thus, when there is a difference (error) between a radius calculated from the start point address and center point address (start point radius) and a radius calculated from the end point address and center point address (end point radius), the composite speed differs from the command speed as follows.
Start point radius > End point radius: As compared with the speed without error,
the speed becomes slower as end point address is reached. Start point radius < End point radius: As compared with the speed without error,
the speed becomes faster as end point address is reached.
(1) 2-axis circular interpolation control cannot be set in the following cases.
When "degree" is set in "[Pr.1] Unit setting"
When the units set in "[Pr.1] Unit setting" are different for the reference axis
and interpolation axis. ("mm" and "inch" combinations are possible.)
When "reference axis speed" is set in "[Pr.20] Interpolation speed designation
(2) An error will occur and the positioning start will not be possible in the following
cases. The machine will immediately stop if the error is detected during positioning control.
When the radius exceeds "536870912 (=229)". (The maximum radius for
which circular interpolation control is possible is "536870912 (=229)"
... The "Outside radius range" (error code: 544) will occur at positioning
start.
When the end point address is outside the range of –2147483648 (-231) to
2147483647 (231-1) ... The error "End point setting error" (error code: 526) will occur. When the start point address is the same as the center point address
... The error "Center point setting error" (error code: 527) will occur. When the end point address is the same as the center point address
... The error "Center point setting error" (error code: 527) will occur.
When the center point address is outside the range of –2147483648 (-231) to
2147483647 (231-1) ... The error "Center point setting error" (error code: 527) will occur.
method"

Chapter 9 Major Positioning Control
Setting details Axis 1 (reference
Set "Positioning complete" assuming the next positioning data will not be executed.
[Da.1] Operation pattern Positioning
Set incremental system, 2-axis circular interpolation control with center point designation. (Select clockwise or counterclockwise according to the control.)
[Da.2] Control system
Designate the value set in "[Pr.25] Acceleration time 1" as the acceleration time at start.
[Da.3] Acceleration time No. 1 – 1 –
Designate the value set in "[Pr.10] Deceleration time 0" as the deceleration time at deceleration.
[Da.4] Deceleration time No. 0 – 0 –
[Da.5] Axis to be interpolated
Set the axis to be interpolated (partner axis). If the self-axis is set, an error will occur.
QD77MS2 QD77MS4 Axis 2 –
Axis 1 Positioning data No. 1
[Da.6] Positioning address/
movement amount 8000.0 m 6000.0 m 8000.0 m 6000.0 m Set the movement amount. (Assuming that the "[Pr.1] Unit setting" is set to "mm".)
Set the center point address (center point address). (Assuming that the "[Pr.1] Unit setting" is set to "mm".)
[Da.7] Arc address 4000.0 m 3000.0 m 4000.0 m 3000.0 m
Set the speed when moving to the end point address. (Designate the composite speed in "[Pr.20] Interpolation speed designation method".)
[Da.8] Command speed 6000.00 mm/min – 6000.00 mm/min –
Set the time the machine dwells after the positioning stop (command stop) to the output of the positioning complete signal.
Dwell time /JUMP destination positioning data No.
[Da.9]
500ms – 500ms –
M code /Condition data No./Number of LOOP to LEND repetitions
Set this when other sub operation commands are issued in combination with the No.1 positioning data.
[Da.10]
[Da.20] Axis to be interpolated
Set the axis to be interpolated. If the self-axis is set, an error will occur.
No.1 QD77MS16 Axis 2 –
[Da.21] Axis to be interpolated
No.2 QD77MS16 – –
Setting not required (setting value is ignored).
[Da.22] Axis to be interpolated
No.3 QD77MS16 – –
(Note): Refer to Section 5.3 "List of positioning data" for information on the setting details.
POINT Set a value in "[Da.8] Command speed" so that the speed of each axis does not exceed the "[Pr.8] Speed limit value". (The speed limit does not function for the speed calculated by the Simple Motion module during interpolation control.)


Chapter 9 Major Positioning Control
In "1-axis speed control" ("[Da.2] Control system" = Forward run: speed 1, Reverse run: speed 1), control is carried out in the axis direction in which the positioning data has been set by continuously outputting pulses for the speed set in "[Da.8] Command speed" until the input of a stop command. The two types of 1-axis speed control are "Forward run: speed 1" in which the control starts in the forward run direction, and "Reverse run: speed 1" in which control starts in the reverse run direction.
The following chart shows the operation timing for 1-axis speed control with axis 1 as the reference axis. The "in speed control" flag ([Md.31] Status: b0) is turned ON during speed control. The "Positioning complete signal" is not turned ON.

Does not turn ON even when control is stopped by stop command.
(Note): Refer to Section 3.3 for input/output signal of QD77MS16.
Fig.9.9 1-axis speed control operation timing
Operation chart

Chapter 9 Major Positioning Control
The following table shows the "[Md.20] Current feed value" during 1-axis speed control corresponding to the "[Pr.21] Current feed value during speed control" settings.
"[Pr.21] Current feed value during speed
control" setting [Md.20] Current feed value
In speed control In speed control V V
Current feed value during speed control start is maintained
Current feed value is updated
(a) Current feed value not updated
(b) Current feed value updated (c) Current feed value zero cleared
(1) Set "Positioning complete" in "[Da.1] Operation pattern". 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 "[Da.1] Operation pattern". ("Continuous positioning control" and "continuous path control" cannot be set in speed control.) (2) Set the WITH mode in "[Pr.18] M code ON signal output timing" when using an
M code. The M code will not be output, and the M code ON signal will not turn ON if the AFTER mode is set. (3) The error "No command speed" (error code: 503) will occur if the current
speed (-1) is set in "[Da.8] Command speed". (4) The software stroke limit check is not carried out if the control unit is set to
"degree".

Chapter 9 Major Positioning Control
[When "1-axis speed control (forward run: speed 1)" is set in the positioning data No. 1 of axis 1]
Setting details QD77MS2 QD77MS4 QD77MS16
[Da.1] Operation pattern Positioning complete Setting other than "Positioning complete" is not possible in speed control.
[Da.2] Control system Forward run speed 1 Set 1-axis speed control.
[Da.3] Acceleration time No. 1 Designate the value set in "[Pr.25] Acceleration time 1" as the acceleration time at start.
[Da.4] Deceleration time No. 0 Designate the value set in "[Pr.10] Deceleration time 0" as the deceleration time at deceleration.
[Da.5] Axis to be interpolated
Axis 1 Positioning data No. 1
Setting not required (setting value is ignored). [Da.6] Positioning address/
[Da.7] Arc address –
[Da.8] Command speed 6000.00mm/min Set the speed to be commanded.
Dwell time/JUMP destination positioning data No.
[Da.9]
– Setting not required (setting value is ignored).
Set this when other sub operation commands are issued in combination with the No. 1 positioning data. ("[Pr.18] M code ON signal output timing" setting only possible in the WITH mode.)
M code/Condition data No./Number of LOOP to LEND repetitions
[Da.10]
[Da.20] Axis to be interpolated
No.1 QD77MS16 –
Setting not required (setting value is ignored). [Da.21] Axis to be interpolated
No.2 QD77MS16 –
[Da.22] Axis to be interpolated
No.3 QD77MS16 –
(Note): Refer to Section 5.3 "List of positioning data" for information on the setting details.
Setting example · Setting item · movement amount –

Chapter 9 Major Positioning Control
In "2-axis speed control" ("[Da.2] Control system" = Forward run: speed 2, Reverse run: speed 2), control is carried out in the 2-axis direction in which the positioning data has been set by continuously outputting pulses for the speed set in "[Da.8] Command speed" until the input of a stop command. The two types of 2-axis speed control are "Forward run: speed 2" in which the control starts in the forward run direction, and "Reverse run: speed 2" in which control starts in the reverse run direction. (Refer to Section 9.1.6 "Interpolation control" for the combination of the reference axis with the interpolation axis.)
The following chart shows the operation timing for 2-axis (axes 1 and 2) speed control with axis 1 as the reference axis. The "in speed control" flag ([Md.31] Status: b0) is turned ON during speed control. The "positioning complete signal" is not turned ON.

Axis stop signal (stop command) (Either Y4 or Y5)
(Note): Refer to Section 3.3 for input/output signal of QD77MS16.
Fig. 9.10 2-axis speed control operation timing

Chapter 9 Major Positioning Control
The following table shows the "[Md.20] Current feed value" during 2-axis speed control corresponding to the "[Pr.21] Current feed value during speed control" settings. (Note that the reference axis setting values are used for parameters.)
"[Pr.21] Current feed value during speed
control" setting [Md.20] Current feed value
In speed control In speed control V V
Current feed value during speed control start is maintained
Current feed value is updated
(a) Current feed value not updated
(b) Current feed value updated (c) Current feed value zero cleared
(1) Set "Positioning complete" in "[Da.1] Operation pattern". 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. ("Continuous positioning control" and "continuous path control" cannot be set in speed control.) (2) Set the WITH mode in "[Pr.18] M code ON signal output timing" when using an
M code. The M code will not be output, and the M code ON signal will not turn ON if the AFTER mode is set. (3) Set the "reference axis speed" in "[Pr.20] Interpolation speed designation
method". The error "Interpolation mode error" (error code: 523) will occur and the operation cannot start if a composite speed is set.

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 "[Da.8] Command speed". (Examples)
Axis 1 setting Axis 2 setting
[Pr.8] Speed limit
value 4000.00mm/min 5000.00mm/min
[Da.8] Command
speed 8000.00mm/min 6000.00mm/min
With the settings shown above, the operation speed in speed control is as follows. Axis 1: 4000.00 mm/min (Speed is limited by [Pr.8]). Axis 2: 3000.00 mm/min (Speed is limited at a ratio of an axis 1 command
speed to an axis 2 command speed). (Note): Operation runs at speed 1 when a reference axis speed is less than 1
as a result of speed limit. In addition, when "[Pr.7] Bias speed at start" is set, the set value will be the minimum speed. (5) An error "No command speed (error code: 503)" occurs if a current speed (-1)
is set in "[Da.8] Command speed". (6) The software stroke limit check is not carried out when the control unit is set to
"degree".
Axis Setting item

Chapter 9 Major Positioning Control
Setting details Axis 1 (reference
[Da.1] Operation pattern Positioning
complete – Setting other than "Positioning complete" is not possible in speed control.
[Da.2] Control system Forward run
speed 2 – Forward run
speed 2 – Set 2-axis speed control.
Designate the value set in "[Pr.25] Acceleration time 1" as the acceleration time at start.
[Da.3] Acceleration time No. 1 – 1 –
Designate the value set in "[Pr.10] Deceleration time 0" as the deceleration time at deceleration.
[Da.4] Deceleration time No. 0 – 0 –
QD77MS2 QD77MS4 Axis 2 – Set the axis to be interpolated (partner axis).
[Da.5] Axis to be interpolated
Axis 1 Positioning data No. 1
If the self-axis is set, an error will occur.
[Da.6] Positioning address/
movement amount – Setting not required (setting value is ignored). [Da.7] Arc address –
[Da.8] Command speed 6000.00 mm/min
3000.00 mm/min
6000.00 mm/min
3000.00 mm/min
Set the speed to be commanded.
Dwell time/JUMP destination positioning data No.
[Da.9]
– Setting not required (setting value is ignored).
Set this when other sub operation commands are issued in combination with the No. 1 positioning data. ("[Pr.18] M code ON signal output timing" setting only possible in the WITH mode.)
M code/Condition data No./Number of LOOP to LEND repetitions
[Da.10]
[Da.20] Axis to be interpolated
Axis 2 – Set the axis to be interpolated. If the self-axis is set, an error will occur.
No.1 QD77MS16
[Da.21] Axis to be interpolated
No.2 QD77MS16
Setting not required (setting value is ignored).
[Da.22] Axis to be interpolated
No.3 QD77MS16
(Note): Refer to Section 5.3 "List of positioning data" for information on the setting details.

Chapter 9 Major Positioning Control
In "3-axis speed control" ("[Da.2] Control system" = Forward run: speed 3, Reverse run: speed 3), control is carried out in the 3-axis direction in which the positioning data has been set by continuously outputting pulses for the speed set in "[Da.8] Command speed" until the input of a stop command. The two types of 3-axis speed control are "Forward run: speed 3" in which the control starts in the forward run direction, and "Reverse run: speed 3" in which control starts in the reverse run direction. (Refer to Section 9.1.6 "Interpolation control" for the combination of the reference axis with the interpolation axes.)
The following chart shows the operation timing for 3-axis (axes 1, 2, and 3) speed control with axis 1 as the reference axis. The "in speed control" flag ([Md.31] Status: b0) is turned ON during speed control. The "positioning complete signal" is not turned ON.

Axis stop signal (stop command) (Either Y4, Y5 or Y6)
(Note): Refer to Section 3.3 for input/output signal of QD77MS16.
Fig. 9.11 3-axis speed control operation timing

Chapter 9 Major Positioning Control
The following table shows the "[Md.20] Current feed value" during 3-axis speed control corresponding to the "[Pr.21] Current feed value during speed control" settings. (Note that the reference axis setting values are used for parameters.)
"[Pr.21] Current feed value during speed
control" setting [Md.20] Current feed value
In speed control In speed control V V
Current feed value during speed control start is maintained
Current feed value is updated
(a) Current feed value not updated
(b) Current feed value updated (c) Current feed value zero cleared
(1) Set "Positioning complete" in "[Da.1] Operation pattern". 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. ("Continuous positioning control" and "continuous path control" cannot be set in speed control.) (2) Set the WITH mode in "[Pr.18] M code ON signal output timing" when using an
M code. The M code will not be output, and the M code ON signal will not turn ON if the AFTER mode is set. (3) Set the "reference axis speed" in "[Pr.20] Interpolation speed designation
method". The error "Interpolation mode error" (error code: 523) will occur and the operation cannot start if a composite speed is set.

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 "[Da.8] Command speed". (Examples)
Axis 1 setting Axis 2 setting Axis 3 setting
[Pr.8] Speed limit
value 4000.00mm/min 5000.00mm/min 6000.00mm/min
[Da.8] Command
speed 8000.00mm/min 6000.00mm/min 4000.00mm/min
With the settings shown above, the operation speed in speed control is as follows. Axis 1: 4000.00 mm/min (Speed is limited by [Pr.8].) Axis 2: 3000.00 mm/min (Speed is limited at ratios in axes 1, 2, and 3
as a result of speed limit. In addition, when "[Pr.7] Bias speed at start" is set, the set value will be the minimum speed. (5) An error "No command speed (error code: 503)" will occur if a current speed
(-1) is set in "[Da.8] Command speed". (6) The software stroke limit check is not carried out when the control unit is set to
"degree".
Axis Setting item

Chapter 9 Major Positioning Control
QD77MS4 setting example QD77MS16 setting example
Setting details Axis 1 (reference
Setting other than "Positioning complete" is not possible in speed control.
[Da.1] Operation pattern Positioning
complete – – Positioning
[Da.2] Control system Forward run
speed 3 – – Forward run
speed 3 – – Set 3-axis speed control.
Designate the value set in "[Pr.25] Acceleration time 1" as the acceleration time at start.
[Da.3] Acceleration time No. 1 – – 1 – –
Designate the value set in "[Pr.10] Deceleration time 0" as the deceleration time at deceleration.
[Da.4] Deceleration time No. 0 – – 0 – –
Setting not required (setting value is ignored). When axis 1 is used as a reference axis, the interpolation axes are axes 2 and 3.
[Da.5] Axis to be interpolated
Axis 1 Positioning data No. 1
[Da.6] Positioning address/
movement amount – Setting not required (setting value is ignored). [Da.7] Arc address –
[Da.8] Command speed 6000.00 mm/min
3000.00 mm/min
2000.00 mm/min
6000.00 mm/min
3000.00 mm/min
2000.00 mm/min Set the speed to be commanded.
Dwell time/JUMP destination positioning data No.
– Setting not required (setting value is ignored).
[Da.9]
Set this when other sub operation commands are issued in combination with the No. 1 positioning data. ("[Pr.18] M code ON signal output timing" setting only possible in the WITH mode.)
M code/Condition data No./Number of LOOP to LEND repetitions
[Da.10]
[Da.20] Axis to be interpolated
No.1 QD77MS16 Axis 2 – – Set the axis to be interpolated. If the self-axis is set, an error will occur. [Da.21] Axis to be interpolated
No.2 QD77MS16 Axis 3 – –
No.3 QD77MS16 – – – Setting not required (setting value is ignored).
[Da.22] Axis to be interpolated
(Note): Refer to Section 5.3 "List of positioning data" for information on the setting details.

Chapter 9 Major Positioning Control
In "4-axis speed control" ("[Da.2] Control system" = Forward run: speed 4, Reverse run: speed 4), control is carried out in the 4-axis direction in which the positioning data has been set by continuously outputting pulses for the speed set in "[Da.8] Command speed" until the input of a stop command. The two types of 4-axis speed control are "Forward run: speed 4" in which the control starts in the forward run direction, and "Reverse run: speed 4" in which control starts in the reverse run direction. (Refer to Section 9.1.6 "Interpolation control" for the combination of the reference axis with the interpolation axes.)

Chapter 9 Major Positioning Control
The following chart shows the operation timing for 4-axis speed control with axis 1 as the reference axis. The "in speed control" flag ([Md.31] Status: b0) is turned ON during speed control. The "positioning complete signal" is not turned ON.

Axis stop signal (stop command) (Either Y4, Y5, Y6 or Y7)
(Note): Refer to Section 3.3 for input/output signal of QD77MS16.
Fig. 9.12 4-axis speed control operation timing

Chapter 9 Major Positioning Control
The following table shows the "[Md.20] Current feed value" during 4-axis speed control corresponding to the "[Pr.21] Current feed value during speed control" settings. (Note that the reference axis setting values are used for parameters.)
"[Pr.21] Current feed value during speed
control" setting [Md.20] Current feed value
In speed control In speed control V V
Current feed value during speed control start is maintained
Current feed value is updated
(a) Current feed value not updated
(b) Current feed value updated (c) Current feed value zero cleared
(1) Set "Positioning complete" in "[Da.1] Operation pattern". 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. ("Continuous positioning control" and "continuous path control" cannot be set in speed control.) (2) Set the WITH mode in "[Pr.18] M code ON signal output timing" when using an
M code. The M code will not be output, and the M code ON signal will not turn ON if the AFTER mode is set. (3) Set the "reference axis speed" in "[Pr.20] Interpolation speed designation
method". The error "Interpolation mode error" (error code: 523) will occur and the operation cannot start if a composite speed is set.

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 "[Da.8] Command speed". (Examples)
[Pr.8] Speed limit
4000.00mm/ min
5000.00mm/ min
6000.00mm/ min
8000.00mm/ min
1500.00mm/ min
[Da.8] Command
8000.00mm/ min
6000.00mm/ min
4000.00mm/ min
With the settings shown above, the operation speed in speed control is as follows. Axis 1: 4000.00 mm/min (Speed is limited by [Pr.8].) Axis 2: 3000.00 mm/min (Speed is limited at ratios in axes 1, 2, 3 and 4
as a result of speed limit. In addition, when "[Pr.7] Bias speed at start" is set, the set value will be the minimum speed. (5) An error "No command speed (error code: 503)" will occur if a current speed
(-1) is set in "[Da.8] Command speed". (6) The software stroke limit check is not carried out when the control unit is set to
"degree".

Chapter 9 Major Positioning Control
QD77MS4 setting example QD77MS16 setting example
Setting details Axis 1
Setting other than "Positioning complete" is not possible in speed control.
[Da.1] Operation pattern Positioning
complete – – – Positioning
complete – – –
[Da.2] Control system
Designate the value set in "[Pr.25] Acceleration time 1" as the acceleration time at start.
[Da.3] Acceleration time
No. 1 – – – 1 – – –
Designate the value set in "[Pr.10] Deceleration time 0" as the deceleration time at deceleration.
[Da.4] Deceleration time
No. 0 – – – 0 – – –
Setting not required (setting value is ignored). When axis 1 is used as a reference axis, the interpolation axes are axes 2, 3 and 4.
Axis to be interpolated
Axis 1 Positioning data No. 1
[Da.5]
–
[Da.6] Positioning address/
movement amount – Setting not required (setting value is ignored). [Da.7] Arc address –
[Da.8] Command speed 6000.00 mm/min
3000.00 mm/min
2000.00 mm/min
1000.00 mm/min
6000.00 mm/min
3000.00 mm/min
2000.00 mm/min
1000.00 mm/min
Set the speed to be commanded.
Dwell time/JUMP destination positioning data No.
Setting not required (setting value is ignored).
[Da.9]
–
Set this when other sub operation commands are issued in combination with the No. 1 positioning data. ("[Pr.18] M code ON signal output timing" setting only possible in the WITH mode.)
M code/Condition data No./Number of LOOP to LEND repetitions
[Da.10]
Axis to be interpolated No.1
[Da.20]
Axis 2 – – –
Set the axis to be interpolated. If the self-axis is set, an error will occur.
Axis to be interpolated No.2
[Da.21]
Axis 3 – – –
Axis to be interpolated No.3
[Da.22]
Axis 4 – – –
(Note): Refer to Section 5.3 "List of positioning data" for information on the setting details.

Chapter 9 Major Positioning Control
In "speed-position switching control (INC mode)" ("[Da.2] Control system" = Forward run: speed/position, Reverse run: speed/position), the pulses of the speed set in "[Da.8] Command speed" are kept output on the axial direction set to the positioning data. When the "speed-position switching signal" is input, position control of the movement amount set in "[Da.6] Positioning address/movement amount" is exercised. "Speed-position switching control (INC mode)" is available in two different types: "forward run: speed/position" which starts the axis in the forward run direction and "reverse run: speed/position" which starts the axis in the reverse run direction. Use the detailed parameter 1 "[Pr.81] Speed-position function selection" with regard to the choice for "speed-position switching control (INC mode)".

(Note): If the set value is other than 0 and 2, it is regarded as 0 and operation is performed in the INC mode.
For details of the setting, refer to Section 5.2 "List of parameters".
(1) The control is selected the switching method from speed control to position
control by the setting value of "[Cd.45] Speed-position switching device selection".

The device used for speed- position switching is selected. 0: Use the external command signal for switching from speed control to position control 1: Use the near-point signal for switching from speed control to position control 2: Use the "[Cd.46] Speed- position switching command" for switching from speed control to position control
The switching is performed by using the following device when "2" is set.

The speed-position control switching is performed when "2" is set in "[Cd.45] Speed-position switching device selection".

Chapter 9 Major Positioning Control
(2) "[Cd.24] Speed-position switching enable flag" must be turned ON to switch
over from speed control to position control. (If the "[Cd.24] Speed-position switching enable flag" turns ON after the speed-position switching signal turns ON, the control will continue as speed control without switching over to position control. The control will be switched over from position control to speed control when the speed-position switching signal turns from OFF to ON again. Only position control will be carried out when the "[Cd.24] Speed- position switching enable flag" and speed-position switching signal are ON at the operation start.)
Buffer memory address QD77MS2 QD77MS4 QD77MS16
Speed- position switching enable flag
Speed control will be taken over by position control when the external command signal [DI] comes ON.
[Cd.24]
Setting item Setting · value Setting details · 1528+100n 4328+100n

Chapter 9 Major Positioning Control
The following chart (Fig.9.13) shows the operation timing for speed-position switching control (INC mode). The "in speed control flag" ([Md.31] Status: b0) is turned ON during speed control of speed-position switching control (INC mode). [QD77MS4 operation example] • When using the external command signal [DI] as speed-position switching signal

Movement amount set in " Da. 6 Positioning address/movement
In speed control flag ( Md. 31 Status: b0)
(Note): Refer to Section 3.3 for input/output signal of QD77MS16.
Fig. 9.13 Speed-position switching control (INC mode) operation timing

Chapter 9 Major Positioning Control
The following operation assumes that the speed-position switching signal is input at the position of the current feed value of 90.00000 [degree] during execution of "[Da.2] Control system" "Forward run: speed/ position" at "[Pr.1] Unit setting" of "2: degree" and "[Pr.21] Current feed value during speed control" setting of "1: Update current feed value". (The value set in "[Da.6] Positioning address/movement amount" is 270.00000 [degree])

[Operation example]

Chapter 9 Major Positioning Control

M code ON signal [X4, X5, X6, X7](WITH mode)
Position control movement amount is from the input position of
(Note): Refer to Section 3.3 for input/output signal of QD77MS16.
Fig. 9.14 Operation timing and processing time during speed-position switching control (INC mode)

Chapter 9 Major Positioning Control

Operation cycle t1 t2 t3 t4 t5 t6 t7
0.88 0.2 to 0.3 0 to 0.9 0 to 0.9 1.8 to 2.7 0 to 0.9 0.2 Follows parameters
1.77 0.2 to 0.3 0 to 1.8 0 to 1.8 2.5 to 3.9 0 to 1.8 0.2 Follows parameters
QD77MS4 0.88 0.2 to 0.3 0 to 0.9 0 to 0.9 1.8 to 2.7 0 to 0.9 0.2 Follows parameters
1.77 0.2 to 0.3 0 to 1.8 0 to 1.8 2.5 to 3.9 0 to 1.8 0.2 Follows parameters
QD77MS16 0.88 0.3 to 1.4 0 to 0.9 0 to 0.9 1.8 to 2.7 0 to 0.9 0.2 Follows parameters
1.77 0.3 to 1.4 0 to 1.8 0 to 1.8 3.2 to 3.9 0 to 1.8 0.2 Follows parameters
The t1 timing time could be delayed by the operation state of other axes. When using the near-point dog signal or "[Cd.46] Speed-position switching command", the
t6 timing time could be delayed or vary influenced by the PLC scan time or communication with servo amplifier.

Chapter 9 Major Positioning Control
The following table shows the "[Md.20] Current feed value" during speed-position switching control (INC mode) corresponding to the "[Pr.21] Current feed value during speed control" settings.

Speed control Position control Speed control Position control Speed control
(a) Current feed value not updated (b) Current feed value updated (c) Current feed value zero cleared
There is 1ms from the time the speed-position switching signal is turned ON to the time the speed-position switching latch flag ([Md.31] Status: b1) turns ON.
Speed-position switching signal OFF
Speed-position switching latch flag
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.

[Cd.8] External command valid 1 Validates an external command. 1505+100n 4305+100n
0 Use the external command signal for switching from speed control to position control.
use. Refer to Section 5.2 "List of parameters" and Section 5.7 "List of control data" for information on the setting details.
t · Current feed value · 1ms

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 QD77MS2 QD77MS4 QD77MS16
Speed-position switching device selection
1 Use the near-point dog signal for switching from speed control to position control
[Cd.45]
command valid". Refer to Section 5.7 "List of control data" for information on the setting details.
(3) The following table shows the items that must be set to use "[Cd.46] Speed-
position switching command" as speed-position switching signals.
Buffer memory address QD77MS2 QD77MS4 QD77MS16
Use the "[Cd.46] Speed- position switching command" for switching from speed control to position control
Speed-position switching device selection
[Cd.45]
command valid". Refer to Section 5.7 "List of control data" for information on the setting details.
In "speed-position switching control (INC mode)", the position control movement amount can be changed during the speed control section.
(1) The position control movement amount can be changed during the speed
control section of speed-position switching control (INC mode). A movement amount change request will be ignored unless issued during the speed control section of the speed-position switching control (INC mode). (2) The "new movement amount" is stored in "[Cd.23] Speed-position switching
control movement amount change register" by the sequence program during speed control. When the speed-position switching signal is turned ON, the movement amount for position control is stored in "[Cd.23] Speed-position switching control movement amount change register". (3) The movement amount is stored in the "[Md.29] Speed-position switching
control positioning amount" of the axis monitor area from the point where the control changes to position control by the input of a speed-position switching signal from an external device.

Chapter 9 Major Positioning Control

Position control start Speed-position switching control (INC mode) start
Setting after the speed-position switching signal ON is ignored
Speed-position switching latch flag ( Md.31 Status : b1)
Fig. 9.15 Position control movement amount change timing
POINT The machine recognizes the presence of a movement amount change request when the data is
written to "[Cd.23] Speed-position switching control movement amount change register" with the sequence program. The new movement amount is validated after execution of the speed-position switching control (INC
mode), before the input of the speed-position switching signal. The movement amount change can be enable/disable with the interlock function in position control
using the "speed-position switching latch flag" ([Md.31] Status: b1) of the axis monitor area.

Chapter 9 Major Positioning Control
(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 "[Da.1] Operation pattern".
(2) "Speed-position switching control" cannot be set in "[Da.2] Control system" of
the positioning data when "continuous path control" has been set in "[Da.1] Operation pattern" of the immediately prior positioning data. (For example, if the operation pattern of positioning data No. 1 is "continuous path control", "speed-position switching control" cannot be set in positioning data No. 2.) The error "Continuous path control not possible" (error code: 516) will occur and the machine will carry out a deceleration stop if this type of setting is carried out.
(3) The error "No command speed" (error code: 503) will occur if "current speed (-
1)" is set in "[Da.8] Command speed".
(4) The software stroke limit range check during speed control is made only when
the following (a) and (b) are satisfied: (a) "[Pr.21] Current feed value during speed control" is "1: Update current feed
value". If the movement amount exceeds the software stroke limit range during speed control in case of the setting of other than "1: Update current feed value", the error "Software stroke limit +" (error code: 507) or "Software stroke limit -" (error code: 508) will occur as soon as speed control is changed to position control and the axis will decelerate to a stop. (b) When "[Pr.1] Unit setting" is other than "2: degree"
If the unit is "degree", the software stroke limit range check is not performed.
(5) If the value set in "[Da.6] Positioning address/movement amount" is negative,
the error "Outside address range" (error code: 530) will occur.
(6) Deceleration processing is carried out from the point where the speed-position
switching signal is input if the position control movement amount set in "[Da.6] Positioning address/movement amount" is smaller than the deceleration distance from the "[Da.8] Command speed".
(7) Turn ON the speed-position switching signal in the speed stabilization region
(constant speed status). The warning "Speed-position switching (during acceleration) signal ON" (warning code: 508) will occur because of large deviation in the droop pulse amount if the signal is turned ON during acceleration. During use of the servo motor, the movement amount is "[Da.6] Positioning address/movement amount" from the assumed motor position based on "[Md.101] Real current value" at switching of speed control to position control. Therefore, if the signal is turned ON during acceleration/deceleration, the stop position will vary due to large variation of the droop pulse amount. Even though "[Md.29] Speed-position switching control positioning amount" is the same, the stop position will change due to a change in droop pulse amount when "[Da.8] Command speed" is different.

Chapter 9 Major Positioning Control
[When "speed-position switching control (INC mode) by forward run" is set in positioning data No. 1 of axis 1]
Setting details QD77MS2 QD77MS4 QD77MS16
Set "Positioning complete" assuming the next positioning data will not be executed. ("Continuous path control" cannot be set in "speed-position switching control (INC mode)".)
[Da.1] Operation pattern Positioning complete
[Da.2] Control system Forward run: speed/position Set speed-position switching control by forward run.
[Da.3] Acceleration time No. 1 Designate the value set in "[Pr.25] Acceleration time 1" as the acceleration time at start.
[Da.4] Deceleration time No. 0 Designate the value set in "[Pr.10] Deceleration time 0" as the deceleration time at deceleration.
[Da.5] Axis to be interpolated
QD77MS2 QD77MS4 – Setting not required. (Setting value is ignored.)
Axis 1 Positioning data No. 1
INC mode ([Pr.81] = 0)
[Da.6] Positioning address/
movement amount 10000.0m
Set the movement amount after the switching to position control. (Assuming that the "[Pr.1] Unit setting" is set to "mm".)
[Da.7] Arc address – Setting not required. (Setting value is ignored.)
[Da.8] Command speed 6000.00mm/min Set the speed to be controlled.
Set a time from the positioning stop (command stop) by position control until the positioning complete signal is output. When the system is stopped by speed control, ignore the setting value.
Dwell time/JUMP destination positioning data No.
[Da.9]
M code/Condition data No./Number of LOOP to LEND repetitions
[Da.10]
10 Set this when other sub operation commands are issued in combination with the No.1 positioning data.
[Da.20] Axis to be interpolated
No.1 QD77MS16 –
Setting not required (setting value is ignored). [Da.21] Axis to be interpolated
No.2 QD77MS16 –
[Da.22] Axis to be interpolated
No.3 QD77MS16 –
(Note): Refer to Section 5.3 "List of positioning data" for information on the setting details.
Setting example · Setting item · 500ms

Chapter 9 Major Positioning Control
In case of "speed-position switching control (ABS mode)" ("[Da.2] Control system" = Forward run: speed/position, Reverse run: speed/position), the pulses of the speed set in "[Da.8] Command speed" are kept output in the axial direction set to the positioning data. When the "speed-position switching signal" is input, position control to the address set in "[Da.6] Positioning address/movement amount" is exercised. "Speed-position switching control (ABS mode)" is available in two different types: "forward run: speed/position" which starts the axis in the forward run direction and "reverse run: speed/position" which starts the axis in the reverse run direction. "Speed-position switching control (ABS mode)" is valid only when "[Pr.1] Unit setting" is "2: degree".

: Setting allowed, : Setting disallowed (If setting is made, the error "Speed-position function selection error"
(error code: 935) will occur when the PLC READY signal [Y0] turns ON.) Use the detailed parameter 1 "[Pr.81] Speed-position function selection" to choose "speed-position switching control (ABS mode)".

(Note): If the set value is other than 0 and 2, it is regarded as 0 and operation is performed in the
INC mode. For details of the setting, refer to Section 5.2 "List of parameters".

Chapter 9 Major Positioning Control
(1) The control is selected the switching method from speed control to position
control by the setting value of "[Cd.45] Speed-position switching device selection".

The device used for speed- position switching is selected. 0: Use the external command signal for switching from position control to speed control 1: Use the near-point signal for switching from position control to speed control 2: Use the "[Cd.46] Speed- position switching command" for switching from position control to speed control
The switching is performed by using the following device when "2" is set.

The speed-position control switching is performed when "2" is set in "[Cd.45] Speed-position switching device selection".
(2) "[Cd.24] Speed-position switching enable flag" must be turned ON to switch
over from speed control to position control. (If the "[Cd.24] Speed-position switching enable flag" turns ON after the speed-position switching signal turns ON, the control will continue as speed control without switching over to position control. The control will be switched over from speed control to position control when the speed-position switching signal turns from OFF to ON again. Only position control will be carried out when the "[Cd.24] Speed- position switching enable flag" and speed-position switching signal are ON at the operation start.)

Speed control will be taken over by position control when the external command signal [DI] comes ON.

Chapter 9 Major Positioning Control
The following chart (Fig.9.16) shows the operation timing for speed-position switching control (ABS mode). The "in speed control flag" ([Md.31] Status: b0) is turned ON during speed control of speed-position switching control (ABS mode). [QD77MS4 operation example] • When using the external command signal [DI] as speed-position switching signal

In speed control flag ( Md. 31 Status: b0)
(Note): Refer to Section 3.3 for input/output signal of QD77MS16.
Fig. 9.16 Speed-position switching control (ABS mode) operation timing

Chapter 9 Major Positioning Control
The following operation assumes that the speed-position switching signal is input at the position of the current feed value of 90.00000 [degree] during execution of "[Da.2] Control system" "Forward run: speed/position" at "[Pr.1] Unit setting" of "2: degree" and "[Pr.21] Current feed value during speed control" setting of "1: Update current feed value". (The value set in "[Da.6] Positioning address/movement amount" is 270.00000 [degree])

[Operation example]

Chapter 9 Major Positioning Control

M code ON signal [X4, X5, X6, X7](WITH mode)
(Note): Refer to Section 3.3 for input/output signal of QD77MS16.
Fig. 9.17 Operation timing and processing time during speed-position switching control (ABS mode)

Operation cycle t1 t2 t3 t4 t5 t6 t7
0.88 0.2 to 0.3 0 to 0.9 0 to 0.9 1.8 to 2.7 0 to 0.9 0.2 Follows parameters
1.77 0.2 to 0.3 0 to 1.8 0 to 1.8 2.5 to 3.9 0 to 1.8 0.2 Follows parameters
QD77MS4 0.88 0.2 to 0.3 0 to 0.9 0 to 0.9 1.8 to 2.7 0 to 0.9 0.2 Follows parameters
1.77 0.2 to 0.3 0 to 1.8 0 to 1.8 2.5 to 3.9 0 to 1.8 0.2 Follows parameters
QD77MS16 0.88 0.3 to 1.4 0 to 0.9 0 to 0.9 1.8 to 2.7 0 to 0.9 0.2 Follows parameters
1.77 0.3 to 1.4 0 to 1.8 0 to 1.8 3.2 to 3.9 0 to 1.8 0.2 Follows parameters
The t1 timing time could be delayed by the operation state of other axes. When using the near-point dog signal and "[Cd.46] Speed-position switching command", the
t6 timing time could be delayed or vary influenced by the PLC scan time or communication with servo amplifier.

Chapter 9 Major Positioning Control
The following table shows the "[Md.20] Current feed value" during speed-position switching control (ABS mode) corresponding to the "[Pr.21] Current feed value during speed control" settings.

Only "1: Update current value" is valid for the setting of "[Pr.21] Current feed value during speed control" in speed-position switching control (ABS mode). The error "Speed-position function selection error" (error code: 935) will occur if the "[Pr.21] Current feed value during speed control" setting is other than 1.
Speed Position control Speed control
Current feed value updated
There is 1ms from the time the speed-position switching signal is turned ON to the time the speed-position switching latch flag ([Md.31] Status: b1) turns ON.
Speed-position switching signal OFF
Speed-position switching latch flag
t · Updated · 1ms

Chapter 9 Major Positioning Control
(1) The following table shows the items that must be set to use the external
command signals [DI] as speed-position switching signals.

[Cd.8] External command valid 1 Validates an external command. 1505+100n 4305+100n
0 Use the external command signal for switching from speed control to position control.
use. Refer to Section 5.2 "List of parameters" and Section 5.7 "List of control data" for information on the setting details.
(2) The following table shows the items that must be set to use the near-point dog
signal (DOG) as speed-position switching signals.

1 Use the near-point dog signal for switching from speed control to position control.
command valid". Refer to Section 5.7 "List of control data" for information on the setting details.
(3) The following table shows the items that must be set to use "[Cd.46] Speed-
position switching command" as speed-position switching signals.

Use the "[Cd.46] Speed- position switching command" for switching from speed control to position control.
command valid". Refer to Section 5.7 "List of control data" for information on the setting details.

Chapter 9 Major Positioning Control
(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 "[Da.1] Operation pattern".
(2) "Speed-position switching control" cannot be set in "[Da.2] Control system" of
the positioning data when "continuous path control" has been set in "[Da.1] Operation pattern" of the immediately prior positioning data. (For example, if the operation pattern of positioning data No. 1 is "continuous path control", "speed-position switching control" cannot be set in positioning data No. 2.) The error "Continuous path control not possible" (error code: 516) will occur and the machine will carry out a deceleration stop if this type of setting is carried out.
(3) The error "No command speed" (error code: 503) will occur if "current speed
(-1)" is set in "[Da.8] Command speed".
(4) If the value set in "[Da.6] Positioning address/movement amount" is negative,
the error "Outside address range" (error code: 530) will occur.
(5) Even though the axis control data "[Cd.23] Speed-position switching control
movement amount change register" was set in speed-position switching control (ABS mode), it would not function. The set value is ignored.
(6) To exercise speed-position switching control (ABS mode), the following
conditions must be satisfied: (a) "[Pr.1] Unit setting" is "2: degree" (b) The software stroke limit function is invalid (upper limit value = lower limit
value) (c) "[Pr.21] Current feed value during speed control" is "1: Update current feed
value" (d) The "[Da.6] Positioning address/movement amount" setting range is 0 to
359.99999 (degree) If the value is outside of the range 0 to 359.99999 (degree), the error "Outside address range" (error code: 530) will occur at a start. (e) The "[Pr.81] Speed-position function selection" setting is "2: Speed-position
switching control (ABS mode)".
(7) If any of the conditions in (6) (a) to (6) (c) is not satisfied in the case of (6) (e),
the error "Speed-position function selection error" (error code: 935) will occur when the PLC READY signal [Y0] turns from OFF to ON.
(8) If the axis reaches the positioning address midway through deceleration after
automatic deceleration started at the input of the speed-position switching signal, the axis will not stop immediately at the positioning address. The axis will stop at the positioning address after N revolutions so that automatic deceleration can always be made. (N: Natural number) In the following example, since making deceleration in the path of dotted line will cause the axis to exceed the positioning addresses twice, the axis will decelerate to a stop at the third positioning address.
360 added 360 added positioning address positioning address
Speed-position switching signal · positioning address

Chapter 9 Major Positioning Control
[When "speed-position switching control (ABS mode) by forward run" is set in positioning data No. 1 of axis 1]
Setting details QD77MS2 QD77MS4 QD77MS16
Set "Positioning complete" assuming the next positioning data will not be executed. ("Continuous path control" cannot be set in "speed-position switching control (ABS mode)".)
[Da.1] Operation pattern Positioning complete
[Da.2] Control system Forward run: speed/position Set speed-position switching control by forward run.
[Da.3] Acceleration time No. 1 Designate the value set in "[Pr.25] Acceleration time 1" as the acceleration time at start.
[Da.4] Deceleration time No. 0 Designate the value set in "[Pr.10] Deceleration time 0" as the deceleration time at deceleration.
[Da.5] Axis to be interpolated
QD77MS2 QD77MS4 – Setting not required. (Setting value is ignored.)
Axis 1 Positioning data No. 1
movement amount 270.00000degree ABS mode ([Pr.81] = 2) Set the address after the switching to position control. (Assuming that the "[Pr.1] Unit setting" is set to "degree".)
[Da.6] Positioning address/
[Da.7] Arc address – Setting not required. (Setting value is ignored.)
[Da.8] Command speed 6000.000degree/min Set the speed to be controlled.
Set a time from the positioning stop (command stop) by position control until the positioning complete signal is output. When the system is stopped by speed control, ignore the setting value.
Dwell time/JUMP destination positioning data No.
[Da.9]
M code/Condition data No./Number of LOOP to LEND repetitions
10 Set this when other sub operation commands are issued in combination with the No. 1 positioning data.
[Da.10]
[Da.20] Axis to be interpolated
No.1 QD77MS16 –
Setting not required (setting value is ignored). [Da.21] Axis to be interpolated
No.2 QD77MS16 –
[Da.22] Axis to be interpolated
No.3 QD77MS16 –
(Note): Refer to Section 5.3 "List of positioning data" for information on the setting details.
Setting example · Setting item · 500ms

Chapter 9 Major Positioning Control
In "position-speed switching control" ("[Da.2] Control system" = Forward run: position/speed, Reverse run: position/speed), before the position-speed switching signal is input, position control is carried out for the movement amount set in "[Da.6] Positioning address/movement amount" in the axis direction in which the positioning data has been set. When the position-speed switching signal is input, the position control is carried out by continuously outputting the pulses for the speed set in "[Da.8] Command speed" until the input of a stop command. The two types of position-speed switching control are "Forward run: position/speed" in which the control starts in the forward run direction, and "Reverse run: position/speed" in which control starts in the reverse run direction.
(1) The control is selected the switching method from position control to speed
control by the setting value of "[Cd.45] Speed-position switching device selection".
Buffer memory address QD77MS2 QD77MS4 QD77MS16
The device used for speed- position switching is selected. 0: Use the external command signal for switching from position control to speed control 1: Use the near-point signal for switching from position control to speed control 2: Use the "[Cd.46] Speed- position switching command" for switching from position control to speed control
Speed- position switching device selection
[Cd.45]
The switching is performed by using the following device when "2" is set.
Buffer memory address QD77MS2 QD77MS4 QD77MS16
The speed-position control switching is performed when "2" is set in "[Cd.45] Speed-position switching device selection".
[Cd.46]

Chapter 9 Major Positioning Control
(2) "[Cd.26] Position-speed switching enable flag" must be turned ON to switch
over from position control to speed control. (If the "[Cd.26] Position-speed switching enable flag" turns ON after the position-speed switching signal turns ON, the control will continue as position control without switching over to speed control. The control will be switched over from position control to speed control when the position-speed switching signal turns from OFF to ON again. Only speed control will be carried out when the "[Cd.26] Position-speed switching enable flag" and position-speed switching signal are ON at the operation start.)
Buffer memory address QD77MS2 QD77MS4 QD77MS16
Position- speed switching enable flag
Position control will be taken over by speed control when the external command signal [DI] comes ON.
[Cd.26]
Setting item Setting · value Setting details · 1532+100n 4332+100n

Chapter 9 Major Positioning Control
The following chart shows the operation timing for position-speed switching control. The "in speed control" flag ([Md.31] Status: b0) is turned ON during speed control of position-speed switching control.

[QD77MS4 operation example] • When using the external command signal [DI] as position-speed switching signal
Does not turn ON even when control is stopped by stop command.
ON Axis stop signal (stop command) [Y4, Y5, Y6, Y7]
ON In speed control flag ( Md.31 ) Status: b0
(Note): Refer to Section 3.3 for input/output signal of QD77MS16.
Fig. 9.18 Position-speed switching control operation timing

Chapter 9 Major Positioning Control
control

Position control carried out until position-speed switching signal turns ON.
Speed control command speed is from the input position of the external position-speed switching signal.
(Note): Refer to Section 3.3 for input/output signal of QD77MS16.
Fig. 9.19 Operation timing and processing time during position-speed switching control

Chapter 9 Major Positioning Control
Operation cycle t1 t2 t3 t4 t5 t6
0.88 0.2 to 0.3 0 to 0.9 0 to 0.9 1.8 to 2.7 – 0.2
1.77 0.2 to 0.3 0 to 1.8 0 to 1.8 2.5 to 3.5 – 0.2
QD77MS4 0.88 0.2 to 0.3 0 to 0.9 0 to 0.9 1.8 to 2.7 – 0.2
1.77 0.2 to 0.3 0 to 1.8 0 to 1.8 2.5 to 3.5 – 0.2
QD77MS16 0.88 0.3 to 1.4 0 to 0.9 0 to 0.9 1.8 to 2.7 – 0.2
1.77 0.3 to 1.4 0 to 1.8 0 to 1.8 3.2 to 3.9 – 0.2
The t1 timing time could be delayed by the operation state of other axes. When using the near-point dog signal and "[Cd.46] Speed-position switching command", the
t6 timing time could be delayed or vary influenced by the PLC scan time or communication with servo amplifier.

Chapter 9 Major Positioning Control
The following table shows the "[Md.20] Current feed value" during position-speed switching control corresponding to the "[Pr.21] Current feed value during speed control" settings.

The current feed value is updated during position control, and the current feed value at the time of switching is maintained as soon as position control is switched to speed control.
Current feed value Current feed value Current feed value
(a) Current feed value not updated
(b) Current feed value updated
(c) Current feed value zero cleared
There is 1ms from the time the position-speed switching signal is turned ON to the time the position-speed switching latch flag ([Md.31] Status: b5) turns ON.
OFF
ON
Position-speed switching latch flag
t · Position-speed switching signal · 1ms

Chapter 9 Major Positioning Control
(1) The following table shows the items that must be set to use the external
command signals [DI] as position-speed switching signals.

[Cd.8] External command valid 1 Validates an external command. 1505+100n 4305+100n
Use the external command signal for switching from position control to speed control.
use. Refer to Section 5.2 "List of parameters" and Section 5.7 "List of control data" for information on the setting details.
(2) The following table shows the items that must be set to use the near-point dog
signal (DOG) as position-speed switching signals.

1 Use the near-point dog signal for switching from position control to speed control.
command valid". Refer to Section 5.7 "List of control data" for information on the setting details.
(3) The following table shows the items that must be set to use "[Cd.46] Speed-
position switching command" as position-speed switching signals.

Use the "[Cd.46] Speed- position switching command" for switching from position control to speed control.
command valid". Refer to Section 5.7 "List of control data" for information on the setting details.

Chapter 9 Major Positioning Control
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. A command speed change request will be ignored unless issued during the position control of the position-speed switching control. (2) The "new command speed" is stored in "[Cd.25] Position-speed switching
control speed change register" by the sequence program during position control. This value then becomes the speed control command speed when the position-speed switching signal turns ON.

Setting after the position-speed switching signal ON is ignored. Position-speed switching control speed change register
Fig. 9.20 Speed control speed change timing

POINTS The machine recognizes the presence of a command speed change request when the data is
written to "[Cd.25] Position-speed switching control speed change register" with the sequence program. The new command speed is validated after execution of the position-speed switching control before
the input of the position-speed switching signal. The command speed change can be enabled/disabled with the interlock function in speed control
using the "position-speed switching latch flag" ([Md.31] Status: b5) of the axis monitor area.

Chapter 9 Major Positioning Control
(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 "[Da.1] Operation pattern".
(2) "Position-speed switching control" cannot be set in "[Da.2] Control system" of
the positioning data when "continuous path control" has been set in "[Da.1] Operation pattern" of the immediately prior positioning data. (For example, if the operation pattern of positioning data No. 1 is "continuous path control", "position-speed switching control" cannot be set in positioning data No. 2.) The error "Continuous path control not possible" (error code: 516) will occur and the machine will carry out a deceleration stop if this type of setting is carried out.
(3) The software stroke limit range is only checked during speed control if the "1:
Update current feed value" is set in "[Pr.21] Current feed value during speed control". The software stroke limit range is not checked when the control unit is set to "degree".
(4) The error "Software stroke limit +" (error code: 507) or "Software stroke limit -"
(error code: 508) will occur and the operation cannot start if the start point address or end point address for position control exceeds the software stroke limit range.
(5) Deceleration stop will be carried out if the position-speed switching signal is
not input before the machine is moved by a specified movement amount. When the position-speed switching signal is input during automatic deceleration by positioning control, acceleration is carried out again to the command speed to continue speed control. When the position-speed switching signal is input during deceleration to a stop with the stop signal, the control is switched to the speed control to stop the machine. Restart is carried out by speed control using the restart command.
(6) The warning "Speed limit value over" (warning code: 501) will occur and
control is continued by "[Pr.8] Speed limit value" if a new speed exceeds "[Pr.8] Speed limit value" at the time of change of the command speed.
(7) If the value set in "[Da.6] Positioning address/movement amount" is negative,
the error "Outside address range" (error code: 530) will occur.
(8) Set WITH mode in "[Pr.18] M code ON signal output timing" at M code use.
The M code will not be output, and the M code ON signal will not turn ON if the AFTER mode is set.

Chapter 9 Major Positioning Control
[When "position-speed switching control (forward run: position/speed)" is set in positioning data No. 1 of axis 1]
Setting details QD77MS2 QD77MS4 QD77MS16
Set "Positioning complete" assuming the next positioning data will not be executed. ("Continuous positioning control" and "Continuous path control" cannot be set in "position/speed changeover control".)
[Da.1] Operation pattern Positioning complete
[Da.2] Control system Forward run: position/speed Set position-speed switching control.
[Da.3] Acceleration time No. 1 Designate the value set in "[Pr.25] Acceleration time 1" as the acceleration time at start.
[Da.4] Deceleration time No. 0 Designate the value set in "[Pr.10] Deceleration time 0" as the deceleration time at deceleration.
[Da.5] Axis to be interpolated
Axis 1 Positioning data No. 1
QD77MS2 QD77MS4 – Setting not required. (Setting value is ignored.)
movement amount 10000.0m Set the movement amount at the time of position control before the switching to speed control. (Assuming that the "[Pr.1] Unit setting" is set to "mm".)
[Da.6] Positioning address/
[Da.7] Arc address – Setting not required. (Setting value is ignored.)
[Da.8] Command speed 6000.00mm/min Set the speed to be controlled.
Set the time the machine dwells after the positioning stop (command stop) by position control to the output of the positioning complete signal. If the machine is stopped by speed control, the setting value is ignored.
Dwell time/JUMP destination positioning data No.
[Da.9]
M code/Condition data No./Number of LOOP to LEND repetitions
10 Set this when other sub operation commands are issued in combination with the No.1 positioning data.
[Da.10]
[Da.20] Axis to be interpolated
No.1 QD77MS16 –
Setting not required (setting value is ignored). [Da.21] Axis to be interpolated
No.2 QD77MS16 –
[Da.22] Axis to be interpolated
No.3 QD77MS16 –
(Note): Refer to Section 5.3 "List of positioning data" for information on the setting details.
Setting example · Setting item · 500ms

Chapter 9 Major Positioning Control
When the current value is changed to a new value, control is carried out in which the "[Md.20] Current feed value" of the stopped axis is changed to a random address set by the user. (The "[Md.21] Machine feed value" is not changed when the current value is changed.)
The two methods for changing the current value are shown below.
[1] Changing to a new current value using the positioning data [2] Changing to a new current value using the start No. (No. 9003) for a current
The current value changing using method [1] is used during continuous positioning of multiple blocks, etc.
In "current value changing" ("[Da.2] Control system" = current value changing), "[Md.20] Current feed value" is changed to the address set in "[Da.6] Positioning address/movement amount".
The following chart shows the operation timing for a current value changing. The "[Md.20] Current feed value" is changed to the value set in "[Da.6] Positioning address/movement amount" when the positioning start signal turns ON.
OFF
[Y10, Y11, Y12, Y13]
Md.20 50000 0
Current feed value changes to the
positioning address designated by the
positioning data of the current value changing.
The above chart shows an example
when the positioning address is "0".
(Note): Refer to Section 3.3 for input/output signal of QD77MS16.
(1) The error "New current value not possible" (error code: 515) will occur and the
operation cannot start if "continuous path control" is set in "[Da.1] Operation pattern". ("Continuous path control" cannot be set in current value changing.)
(2) "Current value changing" cannot be set in "[Da.2] Control system" of the
positioning data when "continuous path control" has been set in "[Da.1] Operation pattern" of the immediately prior positioning data. (For example, if the operation pattern of positioning data No. 1 is "continuous path control", "current value changing" cannot be set in positioning data No. 2.) The error "New current value not possible" (error code: 515) will occur and the machine will carry out a deceleration stop if this type of setting is carried out.

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 "[Pr.1] Unit setting" and the value set in "[Da.6] Positioning address/movement amount (0 to 359.99999 [degree])" is outside the setting range.
(4) If the value set in "[Da.6] Positioning address/movement amount" is outside
the software stroke limit ([Pr.12], [Pr.13]) setting range, the error "Software stroke limit +" (error code: 507) or "Software stroke limit -" (error code: 508) will occur at the positioning start, and the operation will not start.
(5) The error "Software stroke limit +" (error code: 507) or "Software stroke limit -"
(error code: 508) will occur if the new current value is outside the software stroke limit range.
(6) The new current value using the positioning data (No.1 to 600) cannot be
changed, if "0: Positioning control is not executed" is set in "[Pr.55] Operation setting for incompletion of OPR" and "OPR request flag" ON. The error "Start at OPR incomplete" (error code: 547) will occur.
[When "current value changing" is set in the positioning data No. 1 of axis 1]
Setting details QD77MS2 QD77MS4 QD77MS16
Set "Positioning complete" assuming that the next positioning data will be executed. ("Continuous path control" cannot be set by current value change.)
[Da.1] Operation pattern Positioning complete
[Da.2] Control system Current value changing Set the current value changing.
[Da.3] Acceleration time No. –
Setting not required (Setting value is ignored.) [Da.4] Deceleration time No. –
[Da.5] Axis to be interpolated
Axis 1 Positioning data No. 1
[Da.6] Positioning address/
movement amount 10000.0m Set the address to which address change is desired. (Assuming that the "[Pr.1] Unit setting" is set to "mm".)
[Da.7] Arc address –
Setting not required (Setting value is ignored.) [Da.8] Command speed –
Dwell time/JUMP destination positioning data No.
[Da.9]
M code/Condition data No./Number of LOOP to LEND repetitions
10 Set this when other sub operation commands are issued in combination with the No.1 positioning data.
[Da.10]
[Da.20] Axis to be interpolated
No.1 QD77MS16 –
Setting not required (setting value is ignored). [Da.21] Axis to be interpolated
No.2 QD77MS16 –
[Da.22] Axis to be interpolated
No.3 QD77MS16 – (Note): Refer to Section 5.3 "List of positioning data" for information on the setting details.
Setting example · Setting item

Chapter 9 Major Positioning Control
start No. (No. 9003) In "current value changing" ("[Cd.3] Positioning start No." = 9003), "[Md.20] Current feed value" is changed to the address set in "[Cd.9] New current value".
The current value is changed by setting the new current value in the current value changing buffer memory "[Cd.9] New current value", setting "9003" in the "[Cd.3] Positioning start No.", and turning ON the positioning start signal.
OFF
[Y10, Y11, Y12, Y13]
Md.20 Current feed value 50000 0
Current value changes to the
positioning address designated by
the current value changing buffer memory.
The above chart shows an example
when the positioning address is "0".
(Note): Refer to Section 3.3 for input/output signal of QD77MS16.
(1) The error "Outside new current value range" (error code: 514) will occur if the
designated value is outside the setting range when "degree" is set in "Unit setting".
(2) The error "Software stroke limit +" (error code: 507) or "Software stroke limit -"
(error code: 508) will occur if the designated value is outside the software stroke limit range.
(3) The current value cannot be changed during stop commands and while the M
code ON signal is ON.
(4) The M code output function is made invalid.
POINTS The current value can be changed using the current value changing start No. (No. 9003) if "0: Positioning control is not executed" is set in "[Pr.55] Operation setting for incompletion of OPR" and OPR request flag is ON.
The following shows the procedure for changing the current value to a new value.
Write the current value to " Cd. 9 New current value" 1)
Write "9003" in " Cd. 3 Positioning start No."
Turn ON the positioning start signal.

Chapter 9 Major Positioning Control
The following shows an example of a sequence program and data setting to change the current value to a new value with the positioning start signal. (The "[Md.20] Current feed value" value is changed to "5000.0m" in the example shown.)
(1) Set the following data.
(Set with the sequence program shown in (3), while referring to the start time chart shown in (2).)

[Cd.3] Positioning start No. 9003 Set the start No. "9003" for the new current value. 1500+100n 4300+100n
[Cd.9] New current value 50000 Set the new "[Md.20] Current feed value". 1506+100n 1507+100n 4306+100n 4307+100n
(Note): Refer to Section 5.7 "List of control data" for details on the setting details.
(2) The following shows a start time chart. [QD77MS4 operation example]

(Note): Refer to Section 3.3 for input/output signal of QD77MS16.
Fig. 9.21 Changing to a new current value using the current value changing start No. (No. 9003)

Chapter 9 Major Positioning Control
(3) Add the following sequence program to the control program, and write it to the
PLC CPU.

Store new current feed value in D106 and D107

Chapter 9 Major Positioning Control
The NOP instruction is used for the nonexecutable control system.
The positioning data No. to which the NOP instruction is set transfers, without any processing, to the operation for the next positioning data No.
[When "NOP instruction" is set in positioning data No.1 of axis 1]

[Da.1] Operation pattern – Setting not required (Setting value is ignored.)
M code/Condition data No./Number of LOOP to LEND repetitions
No.3 QD77MS16 – (Note): Refer to Section 5.3 "List of positioning data" for information on the setting details.
The error "Control system setting error" (error code: 524) will occur if the "NOP instruction" is set for the control system of the positioning data No. 600.

POINT If there is a possibility of speed switching or temporary stop (automatic deceleration) at a point between two points during positioning, that data can be reserved with the NOP instruction to change the data merely by the replacement of the identifier.

Chapter 9 Major Positioning Control
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.
When execution conditions are not set for the JUMP instruction (When "0" is set to the condition data No.)
When execution conditions are set for the JUMP instruction (The conditions are set to the "condition data" used with "high-level positioning control".)
Using the JUMP instruction enables repeating of the same positioning control, or selection of positioning data by the execution conditions during "continuous positioning control" or "continuous path control".
The JUMP instruction is unconditionally executed. The operation jumps to the positioning data No. set in "[Da.9] Dwell time/JUMP destination positioning data No.".
The block start condition data is used as the JUMP instruction execution conditions. When block positioning data No. 7000 to 7004 is started:
Each block condition data is used. When positioning data No. 1 to 600 is started:
Start block 0 condition data is used. When the execution conditions set in "[Da.10] M code/Condition data
No./Number of LOOP to LEND repetitions" of the JUMP instruction have been established: the JUMP instruction is executed to jump the operation to the positioning data No. set in "[Da.9] Dwell time/JUMP destination positioning data No.". When the execution conditions set in "[Da.10] M code/Condition data
No./Number of LOOP to LEND repetitions" of the JUMP instruction have not been established: the JUMP instruction is ignored, and the next positioning data No. is executed.
(1) When using a conditional JUMP instruction, establish the JUMP instruction
execution conditions by the 4th positioning data No. before the JUMP instruction positioning data No.. If the JUMP instruction execution conditions are not established by the time the 4th positioning control is carried out before the JUMP instruction positioning data No., the operation will be processed as an operation without established JUMP instruction execution conditions. (During execution of continuous path control/continuous positioning control, the Simple Motion module calculates the positioning data of the positioning data No. four items ahead of the current positioning data.)

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. When loop control is executed using JUMP instruction, an axis operation status is "analyzing" during loop control, and the positioning data analysis (start) for other axes are not executed. As the target of the JUMP instruction, specify a positioning data that is controlled by other than JUMP and NOP instructions.
[When "JUMP instruction" is set in positioning data No. 1 of axis 1]
Setting details QD77MS2 QD77MS4 QD77MS16
[Da.1] Operation pattern – Setting not required. (Setting value is ignored.)
[Da.2] Control system JUMP instruction Set the JUMP instruction.
[Da.3] Acceleration time No. –
[Da.4] Deceleration time No. –
[Da.5] Axis to be interpolated
Setting not required. (Setting value is ignored.)
[Da.6] Positioning address/
Axis 1 Positioning data No. 1
[Da.7] Arc address –
[Da.8] Command speed –
Set the positioning data No. 1 to 600 for the JUMP destination. (The positioning data No. of the JUMP instruction cannot be set. Setting its own positioning data No. will result in the error "Illegal data No." (error code: 502).)
Dwell time/JUMP destination positioning data No.
[Da.9]
Set the JUMP instruction execution conditions with the condition data No.
M code/Condition data No./Number of LOOP to LEND repetitions
[Da.10]
[Da.20] Axis to be interpolated
No.1 QD77MS16 –
Setting not required (setting value is ignored). [Da.21] Axis to be interpolated
No.2 QD77MS16 –
[Da.22] Axis to be interpolated
No.3 QD77MS16 –
(Note): Refer to Section 5.3 "List of positioning data" for information on the setting details.
Setting example · Setting item · movement amount –

Chapter 9 Major Positioning Control
The LOOP is used for loop control by the repetition of LOOP to LEND.
The LOOP to LEND loop is repeated by set repeat cycles.
[When "LOOP" is set in positioning data No. 1 of axis 1]

[Da.1] Operation pattern – Setting not required. (Setting value is ignored.)
M code/Condition data No./Number of LOOP to LEND repetitions
Setting not required (setting value is ignored). [Da.21] Axis to be interpolated
(Note): Refer to Section 5.3 "List of positioning data" for information on the setting details.
(1) The error "Control system LOOP setting error" (error code: 545) will occur if a
"0" is set for the repeat cycles.
(2) Even if LEND is absent after LOOP, no error will occur, but repeat processing
will not be carried out.
(3) Nesting is not allowed between LOOP-LEND's. If such setting is made, only the
inner LOOP-LEND is processed repeatedly.

Chapter 9 Major Positioning Control
POINT The setting by this control system is easier than that by the special start "FOR loop" of "High-level Positioning Control" (refer to Chapter 10).
However LOOP to LEND cannot be set across block. Always set LOOP to LEND so that the processing ends within one block. (For details of the "block", refer to Section 10.1 "Outline of high-level positioning control".)

Chapter 9 Major Positioning Control
The LEND is used to return the operation to the top of the repeat (LOOP to LEND) loop.
When the repeat cycle designated by the LOOP becomes 0, the loop is terminated, and the next positioning data No. processing is started. (The operation pattern, if set to "Positioning complete", will be ignored.) When the operation is stopped after the repeat operation is executed by designated cycles, the dummy positioning data (for example, incremental positioning without movement amount) is set next to LEND.

1 Continuous control ABS2 Executed in the order of the positioning data No. 1
2 Positioning complete LOOP Number of loop cycles: 2
2 3 4 5 2 3 4 5 6. (The operation patterns of the positioning data Nos. 2 and 5 are ignored.)
[When "LEND" is set in positioning data No. 8 of axis 1]

[Da.1] Operation pattern – Setting not required. (Setting value is ignored.)
M code/Condition data No./Number of LOOP to LEND repetitions
(Note): Refer to Section 5.3 "List of positioning data" for information on the setting details.

Chapter 9 Major Positioning Control
(1) Ignore the "LEND" before the "LOOP" is executed.
(2) 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.

Chapter 9 Major Positioning Control


Chapter 10 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".
Block (Note-1) start (Normal start) With one start, executes the positioning data in a random block with the set order.
Simultaneously executes the positioning data having the No. for the axis designated with the "condition data". (Outputs command at the same timing.)
Repeated start (FOR loop)
Repeats the program from the "block start data" set with the "FOR loop" to the "block start data" set in "NEXT" for the designated number of times.
Repeats the program from the "block start data" set with the "FOR condition" to the "block start data" set in "NEXT" until the conditions set in the "condition data" are established.
Repeated start (FOR condition)
"High-level positioning control" uses the "positioning data" set with the "major positioning control". Refer to Section 3.2.5 "Combination of QD77MS main functions and sub functions" for details on sub functions that can be combined with the major positioning control. Note that the sub function Section 13.7.7 "Pre-reading start function" cannot be used together with "high-level positioning control".
"High-level positioning control" (start of the "block start data") can be executed using the test function of GX Works2. Refer to the "Simple Motion Module Setting Tool Help" of GX Works2 for details on starting of the "block start data" using GX Works2.
"1 block" is defined as all the data continuing from the positioning data in which "continuous positioning control" or "continuous path control" is set in the "[Da.1] Operation pattern" to the positioning data in which "independent positioning control (Positioning complete)" is set.
Besides the simultaneous start of "block start data" system, the "simultaneous starts" include the "multiple axes simultaneous start control" of control system. Refer to Section 10.5 "Multiple axes simultaneous start control" for details.

Chapter 10 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" designated in the "block start data".
"Block start data" can be set for each No. from 7000 to 7004 (called "block Nos."), and up to 50 points can be set for each axis. (This data is controlled with Nos. called "points" to distinguish it from the positioning data. For example, the 1st block start data item is called the "1st point block start data" or "point No. 1 block start data".) "Condition data" can be set for each No. from 7000 to 7004 (called "block Nos."), and up to 10 data items can be set for each axis. The "block start data" and "condition data" are set as 1 set for each block No.
The following table shows an outline of the "block start data" and "condition data" stored in the Simple Motion module.
Setting item Setting details
Set whether to end the control after executing only the "block start data" of the shape itself, or continue executing the "block start data" set in the next point.
[Da.11] Shape
[Da.12] Start data No. Set the "positioning data No." to be executed.
[Da.13] Special start instruction Set the method by which the positioning data set in [Da.12] will be started.
Set the conditions by which the start will be executed according to the commands set in [Da.13]. (Designate the "condition data No." and "Number of repetitions".)
[Da.14] Parameter
Setting item Setting details
[Da.15] Condition target Designate the "device", "buffer memory storage details", and "positioning data No." elements for which the conditions are set.
[Da.16] Condition operator Set the judgment method carried out for the target set in [Da.15].
Set the buffer memory address in which condition judgment is carried out (only when the details set in [Da.15] are "buffer memory storage details").
[Da.17] Address
[Da.18] Parameter 1 Set the required conditions according to the details set in [Da.15], [Da.16] and [Da.23] QD77MS16. [Da.19] Parameter 2
Number of simultaneously starting axes
Set the number of axes to be started simultaneously in the simultaneously start.
[Da.23]
[Da.24] Simultaneously
starting axis No.1
Set the simultaneously starting axis in the simultaneously start on 2 to 4 axes. [Da.25] Simultaneously
starting axis No.2
[Da.26] Simultaneously
starting axis No.3
Block start data · Condition data

Chapter 10 High-Level Positioning Control
The "block start data" and "condition data" corresponding to "block No. 7000" can be stored in the buffer memory.


Chapter 10 High-Level Positioning Control

Block No. 7000 (Note): Set the block No. with sequence program or GX Works2.
Set the "block start data" and "condition data" corresponding to the following "block Nos. 7001 to 7004" using sequence program or GX Works2 to Simple Motion module. For QD77MS16, the "block start data" and "condition data" corresponding to "block No. 7002 to 7004" are not allocated. Set the data with GX Works2.

Chapter 10 High-Level Positioning Control
High-level positioning control is carried out using the following procedure.
"High-level positioning control" executes each control ("major positioning control") set in the positioning data with the designated conditions, so first carry out preparations so that "major positioning control" can be executed.
Refer to Chapter 9 Carry out the "major positioning control" setting.
STEP 2 The "block start data" from 1 to 50 points can be set. Set the "block start data" corresponding to each
control (Note-1). ( Da. 11 to Da. 14 ) × required data amount Refer to Section 10.3
Set the "condition data" (Note-1). ( Da. 15 to Da. 19 and Da.23 to Da.26 ) × required data amount
Set the "condition data" for designation with the "block start data". Up to 10 condition data items can be set.
Refer to Section 10.4
Create a sequence program in which block No. is set in the" Cd. 3 Positioning start No." (Note-1)
The Simple Motion module recognizes that the control
Refer to Section 10.6
is high-level positioning control using "block start data"
by the "7000" designation.
Use GX Works2 to create a sequence program
Create a sequence program in which the "block start
to execute the "high-level positioning control".
data point No. to be started" (1 to 50) is set in the
" Cd. 4 Positioning starting point No."
Create a sequence program in which the "positioning
start signal" is turned ON by a positioning start command.
Write the sequence program created in STEP 4 to the PLC CPU using GX Works2.
Write the sequence programs created in STEP4 to the PLC CPU.
Refer to Chapter 6
Same procedure as for the "major positioning control" start.
Turn ON the "positioning start command" of the axis to be started.
Refer to Section 6.5.3
Monitor using GX Works2.
Monitor the high-level positioning control.
Stopping the control STEP 8
Same procedure as for the "major positioning control" stop.
Stop when control is completed
Refer to Section 6.5.6
corresponding to "block No. 7000 to 7004" are set with GX Works2 or sequence program. "7000 to 7004" can be set in "[Cd.3] Positioning start No." on STEP4 when the above is set.

Chapter 10 High-Level Positioning Control
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 "[Da.13] Special start instruction" setting.
The following shows the "block start data" setting items corresponding to various control systems. The operation details of each control type are explained starting in Section 10.3.2. Also refer to Section 10.4 "Setting the condition data" for details on "condition data" with which control execution is judged. (The "block start data" settings in this chapter are assumed to be carried out using GX Works2.)

[Da.14] Parameter – Condition data No. Number of repetitions
: One of the two setting items must be set. : Set as required (Set to "–" when not used.) : Setting not possible – : Setting not required (The setting value is invalid. Set the initial value or a value within the setting range.) The "NEXT start" instruction is used in combination with "repeated start (FOR loop)" and "repeated start (FOR
condition)". Control using only the "NEXT start" will not be carried out.
It is recommended that the "block start data" be set whenever possible with GX Works2. Execution by sequence program uses many sequence programs and devices. The execution becomes complicated, and the scan times will increase.

Chapter 10 High-Level Positioning Control
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..
Section [2] shows a control example where the "block start data" and "positioning data" are set as shown in section [1].
(1) Block start data setting example
![Mitsubishi Electronics QD77MS2 — [1] Setting examples diagram (page 601)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-601-1.webp)
1st point 1: Continue 1 0: Block start – 2nd point 1: Continue 2 0: Block start – 3rd point 1: Continue 5 0: Block start – 4th point 1: Continue 10 0: Block start – 5th point 0: End 15 0: Block start –

3 01: Continuous positioning control 4 00: Positioning complete 5 11: Continuous path control 6 00: Positioning complete
"1 block" is defined as all the data continuing from the positioning data in which "continuous positioning control" or "continuous path control" is set in the "[Da.1] Operation pattern" to the positioning data in which "independent positioning control (Positioning complete)" is set.
1 block
![Page 602 of the Mitsubishi Electronics QD77MS2 user manual — [2] Control examples](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-602.webp?w=400)
Chapter 10 High-Level Positioning Control
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.
The positioning data is executed in the following order before stopping.
Axis 1 positioning data No. 1 2 3 4 5 6 10 15. [QD77MS4 operation example]
![Mitsubishi Electronics QD77MS2 — [2] Control examples diagram (page 602)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-602-1.webp)
(Note): Refer to Section 3.3 for input/output signal of QD77MS16.
Fig. 10.1 Block start control example
![Page 603 of the Mitsubishi Electronics QD77MS2 user manual — [2] Control examples](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-603.webp?w=400)
Chapter 10 High-Level Positioning Control
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. If the conditions have not been established, that "block start data" will be ignored, and the "block start data" of the next point will be executed.
Section [2] shows a control example where the "block start data" and "positioning data" are set as shown in section [1].
(1) Block start data setting example
![Mitsubishi Electronics QD77MS2 — [1] Setting examples diagram (page 603)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-603-1.webp)
1st point 1: Continue 1 1: Condition start 1 2nd point 1: Continue 10 1: Condition start 2 3rd point 0: End 50 0: Block start –
(Note): The "condition data Nos." have been set in "[Da.14] Parameter".

[Da.1] Operation pattern 1 01: Continuous positioning control 2 01: Continuous positioning control 3 00: Positioning complete 10 11: Continuous path control 11 11: Continuous path control 12 00: Positioning complete 50 00: Positioning complete
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.
The conditional judgment set in "condition data No. 1" is carried out before
execution of the axis 1 "positioning data No.1".
Conditions established Execute positioning data No. 1, 2, and 3 Go to . Conditions not established Go to .
The conditional judgment set in "condition data No.2" is carried out before
execution of the axis 1 "positioning data No. 10".
Conditions established Execute positioning data No.10, 11, and 12 Go to . Conditions not established Go to .
Execute axis 1 "positioning data No.50" and stop the control.
![Page 604 of the Mitsubishi Electronics QD77MS2 user manual — [2] Control examples](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-604.webp?w=400)
Chapter 10 High-Level Positioning Control
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.
Section [2] shows a control example where the "block start data" and "positioning data" are set as shown in section [1].
(1) Block start data setting example
![Mitsubishi Electronics QD77MS2 — [1] Setting examples diagram (page 604)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-604-1.webp)
1st point 1: Continue 1 2: Wait start 3 2nd point 1: Continue 10 0: Block start – 3rd point 0: End 50 0: Block start –
(Note): The "condition data Nos." have been set in "[Da.14] Parameter".
[Da.1] Operation pattern 1 01: Continuous positioning control 2 01: Continuous positioning control 3 00: Positioning complete 10 11: Continuous path control 11 11: Continuous path control 12 00: Positioning complete 50 00: Positioning complete

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.
The conditional judgment set in "condition data No. 3" is carried out before
execution of the axis 1 "positioning data No. 1".
Conditions established Execute positioning data No. 1, 2, and 3 Go to . Conditions not established Control stops (waits) until conditions are established Go to .
Execute the axis 1 "positioning data No. 10, 11, 12, and 50" and stop the
control.
![Page 605 of the Mitsubishi Electronics QD77MS2 user manual — [3] Precautions](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-605.webp?w=400)
Chapter 10 High-Level Positioning Control
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" is designated with "[Da.14] Parameter".) Section [2] shows a control example where the "block start data" and "positioning data" are set as shown in section [1].
(1) Block start data setting example
![Mitsubishi Electronics QD77MS2 — [1] Setting examples diagram (page 605)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-605-1.webp)
1st point 0: End 1 3: Simultaneous start 4 (Note): It is assumed that the "axis 2 positioning data" for simultaneous starting is set
in the "condition data" designated with "[Da.14] Parameter".

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. Check the axis operation status of axis 2 which is regarded as the
simultaneously started axis.
Axis 2 is standing by Go to . Axis 2 is carrying out positioning. An error occurs and simultaneous start will not be carried out. Simultaneously start the axis 1 "positioning data No. 1" and axis 2
positioning data set in "condition data No. 4.
Positioning data No. executed by simultaneously started axes is set to condition data ("[Da.18] Parameter 1", "[Da.19] Parameter 2"), but the setting value of start axis (the axis which carries out positioning start) should be "0". If the setting value is set to other than "0", the positioning data set in "[Da.18] Parameter 1", "[Da.19] Parameter 2" is given priority to be executed rather than "[Da.12] Start data No.". (For details, refer to Section 5.5 "List of condition data".)
![Page 606 of the Mitsubishi Electronics QD77MS2 user manual — [2] Control examples](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-606.webp?w=400)
Chapter 10 High-Level Positioning Control
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" is set in "[Da.13] Special start instruction " is repeatedly executed for the number of times set in "[Da.14] Parameter". An endless loop will result if the number of repetitions is set to "0". (The number of repetitions is set in "[Da.14] Parameter" of the "block start data" in which "4: FOR loop" is set in "[Da.13] Special start instruction".)
Section [2] shows a control example where the "block start data" and "positioning data" are set as shown in section [1].
(1) Block start data setting example
![Mitsubishi Electronics QD77MS2 — [1] Setting examples diagram (page 606)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-606-1.webp)
1st point 1: Continue 1 4: FOR loop 2 2nd point 1: Continue 10 0: Block start – 3rd point 0: End 50 6: NEXT start –
(Note): The "condition data Nos." have been set in "[Da.14] Parameter".
[Da.1] Operation pattern 1 01: Continuous positioning control 2 01: Continuous positioning control 3 00: Positioning complete 10 11: Continuous path control 11 00: Positioning complete 50 01: Continuous positioning control 51 00: Positioning complete

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.
Execute the axis 1 "positioning data No.1, 2, 3, 10, 11, 50, and 51".
Return to the axis 1 "1st point block start data". Again execute the axis 1
"positioning data No.1, 2, 3, 10, 11, 50 and 51", and then stop the control. (Repeat for the number of times (2 times) set in [Da.14].)
![Page 607 of the Mitsubishi Electronics QD77MS2 user manual — [2] Control examples](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-607.webp?w=400)
Chapter 10 High-Level Positioning Control
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" is set in "[Da.13] Special start instruction" is repeatedly executed until the establishment of the conditions set in the "condition data". Conditional judgment is carried out as soon as switching to the point of "6: NEXT start" (before positioning of NEXT start point). (The "condition data" designation is set in "[Da.14] Parameter" of the "block start data" in which "5: FOR condition" is set in "[Da.13] Special start instruction".)
Section [2] shows a control example where the "block start data" and "positioning data" are set as shown in section [1].
(1) Block start data setting example
![Mitsubishi Electronics QD77MS2 — [1] Setting examples diagram (page 607)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-607-1.webp)
1st point 1: Continue 1 5: FOR condition 5 2nd point 1: Continue 10 0: Block start – 3rd point 0: End 50 6: NEXT start –
(Note): The "condition data Nos." have been set in "[Da.14] Parameter".

[Da.1] Operation pattern 1 01: Continuous positioning control 2 01: Continuous positioning control 3 00: Positioning complete 10 11: Continuous path control 11 00: Positioning complete 50 01: Continuous positioning control 51 00: Positioning complete
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.
Execute the axis 1 "positioning data No.1, 2, 3, 10, and 11".
Carry out the conditional judgment set in axis 1 "condition data No.5" (Note-1).
Conditions not established Execute "Positioning data No.50, 51". Go to . Conditions established Execute "Positioning data No.50, 51" and complete the positioning.
point (before positioning of NEXT start point).

Chapter 10 High-Level Positioning Control
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".
"5: FOR condition" is the same as that for a "0: block start".
(2) Repeated processing will not be carried out if there is no "6: NEXT start"
(3) Nesting is not possible between "4: FOR loop" and "6: NEXT start", or between
"5: FOR condition" and "6: NEXT start". The warning "FOR to NEXT nest construction" (warning code: 506) will occur if nesting is attempted.
[Operating examples without nesting structure] [Operating examples with nesting structure]


Start block data [Da.13] Special start instruction Start block data [Da.13] Special start instruction
1st point Normal start 1st point Normal start 2nd point FOR 2nd point FOR 3rd point Normal start 3rd point Normal start 4th point NEXT 4th point FOR 5th point Normal start 5th point Normal start 6th point Normal start 6th point Normal start 7th point FOR 7th point NEXT 8th point Normal start 8th point Normal start 9th point NEXT 9th point NEXT
A warning will occur when starting the 4th point "FOR". The JUMP destination of the 7th point "NEXT" is the 4th point. The 9th point "NEXT" is processed as normal start.

Chapter 10 High-Level Positioning Control
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"
The "condition data" to be set includes the setting items from [Da.15] to [Da.19] and [Da.23] to [Da.26], but the setting requirements and details differ according to the control system and setting conditions.
The following shows the "condition data" "[Da.15] Condition target" corresponding to the different types of control. (The "condition data" settings in this chapter are assumed to be carried out using GX Works2.)

: One of the setting items must be set. : Setting not possible (Note-1): Refer to devices X/Y which belongs to Simple Motion module.
It is recommended that the "condition data" be set whenever possible with GX Works2. Execution by sequence program uses many sequence programs and devices. The execution becomes complicated, and the scan times will increase.

Chapter 10 High-Level Positioning Control
The setting requirements and details of the following "condition data" [Da.16] to [Da.19] and [Da.23] setting items differ according to the "[Da.15] Condition target" setting. The following shows the [Da.16] to [Da.19] and [Da.23] setting items corresponding to the "[Da.15] Condition target".

01H: Device X 07H: DEV=ON 08H: DEV=OFF – 0 to 1FH (bit No.) – 02H: Device Y 0 to 1FH (bit No.)
10H: Axis 1 selected 20H: Axis 2 selected 30H: Axis 1 and 2 selected 40H: Axis 3 selected 50H: Axis 1 and 3 selected 60H: Axis 2 and 3 selected 70H: Axis 1, 2, and 3 selected 80H: Axis 4 selected 90H: Axis 1 and 4 selected A0H: Axis 2 and 4 selected B0H: Axis 1, 2, and 4
Axis 3 positioning data No. (Note-2) High-order 16 bits:
– : Setting not required (The setting value is invalid. Set the initial value or a value within the setting range.)
: Value stored in buffer memory designated in [Da.17] (Note-1): Comparison of and is judged as signed values.
Refer to Section 5.5 "List of condition data" for the setting contents.
(Note-2): The setting value of start axis (the axis which executes positioning start) should be "0". If the setting value is
set to other than "0", the positioning data set in "[Da.18] Parameter 1", "[Da.19] Parameter 2" is given priority to be executed rather than "[Da.12] Start data No.".

Chapter 10 High-Level Positioning Control

— 0 to 1FH (bit No.) — 02H: Device Y 0 to 1FH (bit No.)
01H : =P1 02H : P1 03H : P1 04H : P1 05H : P1 P2 06H : P1, P2
"[Da.24] Simultaneously starting axis No.1" positioning data No. High-order 16 bits:
"[Da.26] Simultaneously starting axis No.3" positioning data No. High-order 16 bits:
– : Setting not required (The setting value is invalid. Set the initial value or a value within the setting range.)
: Value stored in buffer memory designated in [Da.17] (Note-1): Comparison of and is judged as signed values.
Refer to Section 5.5 "List of condition data" for the setting contents.
Judgment whether the condition operator is "=" or "=” at the start of wait. Judgment on data is carried out for each operation cycle of the Simple Motion module. Thus, in the judgment on the data such as current feed value which varies continuously, the operator "=" may not be detected. If this occurs, use a range operator.
The "PLC CPU memo area" can be designated as the buffer memory address to be designated in [Da.17]. (Refer to Section 7.1.1 "Configuration and roles of QD77MS memory".)
Simple Motion module · buffer memory · Address 30000

Chapter 10 High-Level Positioning Control
The following shows the setting examples for "condition data".
(a) Setting the device ON/OFF as a condition
[Condition] Device "XC" (Axis 1 BUSY signal) is OFF.

(b) Setting the numeric value stored in the "buffer memory" as a condition
[Condition] The value stored in buffer memory addresses "800, 801" ("[Md.20] Current feed value") is "1000" or larger.

(c) Designating the axis and positioning data No. to be simultaneously started in
[Condition] Simultaneously starting "axis 2 positioning data No.3"

be "0000H".
"simultaneous start"

Chapter 10 High-Level Positioning Control
(a) Setting the device ON/OFF as a condition
[Condition] Device "X10" (Axis 1 BUSY signal) is OFF.

(b) Setting the numeric value stored in the "buffer memory" as a condition
[Condition] The value stored in buffer memory addresses "2400, 2401" ([Md.20] Current feed value) is "1000" or larger.

(c) Designating the axis and positioning data No. to be simultaneously started in
[Condition] Simultaneously starting "axis 2 positioning data No.3"

"simultaneous start"
![Page 614 of the Mitsubishi Electronics QD77MS2 user manual — [2] Restrictions](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-614.webp?w=400)
Chapter 10 High-Level Positioning 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) The error "Error before simultaneous start" (error code: 501) will occur and
all simultaneously started axes will not start if the simultaneously started axis start data No. is not set to the axis control data on the start axis or set outside the setting range. (2) The error "Error before simultaneous start" (error code: 501) will occur and
all simultaneously started axes will not start if either of the simultaneously started axes is BUSY. (3) The error "Error before simultaneous start" (error code: 501) will occur and
all simultaneously started axes will not start if an error occurs during the analysis of the positioning data on the simultaneously started axes. (4) No error or warning will occur if only the start axis is the simultaneously
started axis. (5) This function cannot be used with the sub function Section 13.7.7 "Pre-
reading start function".
![Page 615 of the Mitsubishi Electronics QD77MS2 user manual — [3] Multiple axes simultaneous start control procedure](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-615.webp?w=400)
Chapter 10 High-Level Positioning Control
The procedure for multiple axes simultaneous start control is as follows.
Set the following axis control data.
Set the following axis control data.
Set the following axis control data.
Cd.30 Simultaneous starting axis start
Cd.30 Simultaneous starting axis start data No. (axis 1 start data No.) Cd.31 Simultaneous starting axis start data No. (axis 2 start data No.) Cd.32 Simultaneous starting axis start data No. (axis 3 start data No.) Cd.33 Simultaneous starting axis start data No. (axis 4 start data No.)
Cd.43 Simultaneous starting axis
data No. (axis 1 start data No.) Cd.31 Simultaneous starting axis start
Cd.30 Simultaneous starting own axis start data No. Simultaneous starting axis start data No.1 Simultaneous starting axis start data No.2 Simultaneous starting axis start data No.3
data No. (axis 2 start data No.)
Cd.31
Cd.32
Write [9004] in " Positioning start No.".
Cd.3
Cd.33
Write [9004] in " Positioning start No.".
Cd.3
Turn ON the positioning start signal to be started.
Write [9004] in " Positioning start No.".
Cd.3
Turn ON the positioning start signal to be started.
Turn ON the positioning start signal to be started.

Chapter 10 High-Level Positioning Control
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).
[Cd.3] Positioning start No. 9004 Set the multiple axes simultaneous start control start No. "9004". 1500+100n 4300+100n
[Cd.43] Simultaneous starting axis
Set the number of simultaneous starting axes and target axis. 4339+100n
Simultaneous starting axis start data No. (axis 1 start data No.) QD77MS2 QD77MS4
[Cd.30]
Simultaneous starting own axis start data No. QD77MS16 4340+100n
Simultaneous starting axis start data No. (axis 2 start data No.) QD77MS2 QD77MS4
[Cd.31]
Simultaneous starting axis start data No.1 QD77MS16 4341+100n
Set the simultaneously started axis start data No. Set a "0" for the axis other than the simultaneously started axes.
Simultaneous starting axis start data No. (axis 3 start data No.) QD77MS4
[Cd.32]
Simultaneous starting axis start data No.2 QD77MS16 4342+100n
Simultaneous starting axis start data No. (axis 4 start data No.) QD77MS4
[Cd.33]
Simultaneous starting axis start data No.3 QD77MS16 4343+100n
n: Axis No.-1 (Note-1): Refer to Section 5.7 "List of control data" for information on setting details. (Note-2): The signal of axis 3 and 4 cannot be used in the QD77MS2.
![Page 617 of the Mitsubishi Electronics QD77MS2 user manual — [5] Setting examples](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-617.webp?w=400)
Chapter 10 High-Level Positioning Control
(1) The following shows the setting examples in which the QD77MS4 [axis 1] is
used as the start axis and the simultaneously started axes are used as the axes 2 and 4.
value Setting details Buffer memory address
[Cd.3] Positioning start No. 9004 Set the multiple axes simultaneous start control start No. "9004". 1500
Simultaneous starting axis start data No. (axis 1 start data No.)
[Cd.30]
100 The axis 1 starts the positioning data No. 100. 1540
Simultaneous starting axis start data No. (axis 2 start data No.)
200 Immediately after the start of the axis 1, the axis 2 starts the axis 2 positioning data No. 200. 1541
[Cd.31]
Simultaneous starting axis start data No. (axis 3 start data No.)
[Cd.32]
0 Will not start simultaneously. 1542
Simultaneous starting axis start data No. (axis 4 start data No.)
300 Immediately after the start of the axis 1, the axis 4 starts the axis 4 positioning data No. 300. 1543
[Cd.33]
(2) The following shows the setting examples in which the QD77MS16 [axis 10]
is used as the start axis and the simultaneously started axes are used as the axes 12 and 14.
![Mitsubishi Electronics QD77MS2 — [5] Setting examples diagram (page 617)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-617-1.webp)
[Cd.3] Positioning start No. 9004 Set the multiple axes simultaneous start control start No. "9004". 5200
starting axis 30DBH Set the axis 12 (0BH) to the simultaneously starting axis No.1, and the axis 14 (0DH) to the simultaneously starting axis No.2.
100 The axis 10 starts the positioning data No. 100. 5240
200 Immediately after the start of the axis 10, the axis 12 starts the axis 12 positioning data No. 200. 5241
300 Immediately after the start of the axis 10, the axis 14 starts the axis 14 positioning data No. 300. 5242
Setting item Setting · (Axis 1)

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

Chapter 10 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" (regarded as block No. 7000) set in axis 1. [QD77MS4 use]

When carrying out a positioning start with the next scan after a positioning operation is completed, input signal X10 as an interlock so that the start is carried out once the X10 signal turns OFF after the Y10 signal turns OFF.
(This establishes that the control as "high-level positioning control" using block start data.) 2) Set the point No. of the "block start data" to be started. (In this case "1".)
(Note): Refer to Chapter 5 for buffer memory address of QD77MS16.
Fig. 10.2 High-level positioning control start procedure

Chapter 10 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".)
The following control data must be set to execute high-level positioning control. The setting is carried out using a sequence program.

[Cd.3] Positioning start No. 7000 Set "7000" to indicate control using "block start data". 1500+100n 4300+100n
point No. 1 Set the point No. of the "block start data" to be started. 1501+100n 4301+100n
n: Axis No.-1 (Note): Refer to Section 5.7 "List of control data" for details on the setting details.
The following conditions must be fulfilled when starting the control. The required conditions must also be integrated into the sequence program, and configured so the control does not start unless the conditions are fulfilled.

PLC READY signal ON PLC CPU preparation completed Y0
All axis servo ON ON All axis servo ON Y1
Synchronization flag ON QD77MS buffer memory The access is possible. X1
Axis stop signal OFF Axis stop signal is OFF Y4 to Y7 [Cd.180] Axis stop
Start complete signal OFF Start complete signal is OFF X10 to X13 [Md.31] Status: b14
BUSY signal OFF BUSY signal is OFF XC to XF X10 to X1F
Error detection signal OFF There is no error X8 to XB [Md.31] Status: b13
M code ON signal OFF M code ON signal is OFF X4 to X7 [Md.31] Status: b12
Forced stop input signal ON There is no forced stop input –

Chapter 10 High-Level Positioning Control
The following chart shows a time chart in which the positioning data No. 1, 2, 10, 11, and 12 of QD77MS4 [axis 1] are continuously executed as an example.
(1) Block start data setting example

(2) Positioning data setting example


(Note): Refer to Section 3.3 for input/output signal or Chapter 5 for buffer memory address of QD77MS16.
Fig. 10.3 Start time chart for high-level positioning control (block start)

Chapter 10 High-Level Positioning Control

K1 K7000 K1500 H0 TO
K1 K1 K1501 H0 TO

Chapter 10 High-Level Positioning Control


Chapter 11 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" are explained below.
"JOG operation" is a control method in which the machine is moved by only a movement amount (commands are continuously output while the JOG START signal is ON). This operation is used to move the workpiece in the direction in which the limit signal is ON, when the operation is stopped by turning the limit signal OFF to confirm the positioning system connection and obtain the positioning data address (refer to Section 13.7.4 "Teaching function").
Movement continues while the JOG START signal is ON.
ON OFF
Fig. 11.1 JOG operation
"Inching operation" is a control method in which a minute movement amount of command is output manually in operation cycle. When the "inching movement amount" of the axis control data is set by JOG operation, the workpiece is moved by a set movement amount. (When the "inching movement amount" is set to "0", the machine operates as JOG operation.)
JOG start signal is turned ON to move the workpiece by the movement amount of pulses which is output in operation cycle.
Fig. 11.2 Inching operation
JOG START signal · JOG start signal

Chapter 11 Manual Control
"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.
Movement in response to the command pulses
Fig. 11.3 Manual pulse generator control
Refer to Section 3.2.5 "Combination of QD77MS main functions and sub functions" for details on "sub functions" that can be combined with manual control. Also refer to Chapter 13 "Control Sub Functions" for details on each sub function.
"JOG operation", "Inching operation" and enabling/disabling of the "manual pulse generator operation" can be executed from GX Works2 test function. Refer to the "Simple Motion Module Setting Tool Help" of GX Works2 for details on manual control from GX Works2.
Refer to Section 5.6 "List of monitor data" when directly monitoring the buffer memory using GX Works2. Also refer to the "Simple Motion Module Setting Tool Help" of GX Works2 when monitoring with the monitor functions of GX Works2.

Chapter 11 Manual Control
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. The workpiece is then moved in the designated direction.
Signal QD77MS2 QD77MS4 QD77MS16
Forward run JOG start signal Y8, YA Y8, YA, YC, YE [Cd.181] Forward run JOG start
Reverse run JOG start signal Y9, YB Y9, YB, YD, YF [Cd.182] Reverse run JOG start
The following shows examples of JOG operation.

Acceleration for the acceleration time selected in Pr. 32
Deceleration for the deceleration time selected in Pr. 33
Forward run JOG start signal [Y8, YA, YC, YE]
Reverse run JOG start signal [Y9, YB, YD, YF]
(Note): Refer to Section 3.3 for input/output signal of QD77MS16.
Fig. 11.4 JOG operation

Chapter 11 Manual Control
The following details must be understood before carrying out JOG operation.
(1) For safety, set a small value to "[Cd.17] JOG speed" at first and check the
movement. Then gradually increase the value. (2) The error "Outside JOG speed range" (error code: 300) will occur and the
operation will not start if the "JOG speed" is outside the setting range at the JOG start. (3) The error "JOG speed limit value error" (error code: 956) will occur and the
operation will not start if "[Pr.31] JOG speed limit value" is set to a value larger than "[Pr.8] Speed limit value". (4) If "[Cd.17] JOG speed" exceeds the speed set in "[Pr.31] JOG speed limit
value", the workpiece will move at the "[Pr.31] JOG speed limit value" and the warning "JOG speed limit value" (warning code: 301) will occur in the Simple Motion module. (5) The JOG operation can be continued even if an "Axis warning" has occurred. (6) Set a "0" in "[Cd.16] Inching movement amount". If a value other than "0" is set,
the operation will become an inching operation (Refer to Section 11.3 "Inching operation").
When the operation is stopped by hardware stroke limit error or software stroke limit error, the JOG operation can execute in an opposite way (direction within normal limits) after an error reset. (An error will occur again if JOG start signal is turned ON in a direction to outside the stroke limit.)
JOG operation possible JOG operation not possible
OFF
JOG operation V · Upper/lower limit signal

Chapter 11 Manual Control
The following drawing shows details of the JOG operation timing and processing time. [QD77MS4 operation example]

Forward run JOG start signal [Y8, YA, YC, YE]
Reverse run JOG start signal [Y9, YB, YD, YF]
(Note): Refer to Section 3.3 for input/output signal of QD77MS16.
Fig. 11.5 JOG operation timing and processing times

0.88 0.4 to 0.9 0 to 0.9 1.8 to 2.7 0 to 0.9
1.77 0.4 to 1.4 0 to 1.8 3.2 to 3.9 0 to 1.8
0.88 0.4 to 0.9 0 to 0.9 1.8 to 2.7 0 to 0.9
1.77 0.4 to 1.4 0 to 1.8 3.2 to 3.9 0 to 1.8
QD77MS16 0.88 0.4 to 0.9 0 to 0.9 1.8 to 2.7 0 to 0.9
1.77 0.8 to 1.4 0 to 1.8 3.2 to 3.9 0 to 1.8
Delays may occur in the t1 timing time due to the operation status of other axes.

Chapter 11 Manual Control
The JOG operation is carried out by the following procedure.
Set the parameters. ( to ) Pr.1 Pr.39
One of the following two methods can be used. Directly set (write) the parameters in the Simple Motion module using GX Works2. Set (write) the parameters from the PLC CPU to the Simple Motion module using the sequence program.
Refer to Chapter 5 and Section 11.2.3.
Create a sequence program for the following setting. Set a "0" in " Inching movement amount". Cd.16 Cd.17 Set the " JOG speed". (Control data setting)
Refer to Section 11.2.4.
Create a sequence program in which the "JOG start signal" is turned ON by a JOG operation start command.
Write the sequence program created in STEP1 and STEP2 to the PLC CPU.
Refer to Chapter 6.
Turn ON the JOG start signal. STEP 4
Turn ON the JOG start signal of the axis to be started.
QD77MS16
Forward run JOG start signal
Cd.181 Forward run
Reverse run JOG start signal
Cd.182 Reverse run
Monitor using GX Works2. STEP 5
Monitoring of the JOG operation
Monitor the JOG operation status.
Stop the JOG operation when the JOG start signal is turned OFF using the sequence program in STEP 2. STEP 6
Turn OFF the JOG start signal that is ON.
Mechanical elements such as limit switches are considered as already installed.
Parameter settings work in common for all control using the Simple Motion module.

Chapter 11 Manual Control
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. (Set the initial value or a value within the setting range.)
Setting item Setting requirement Factory-set initial value
[Pr.1] Unit setting 3 (PLS) [Pr.2] Number of pulses per rotation (AP) (Unit: PLS) 20000 [Pr.3] Movement amount per rotation (AL) (Unit: PLS) 20000 [Pr.4] Unit magnification (AM) 1 (1 times) [Pr.7] Bias speed at start (Unit: PLS/s) 0 [Pr.8] Speed limit value (Unit: PLS/s) 200000 [Pr.9] Acceleration time 0 (Unit: ms) 1000 [Pr.10] Deceleration time 0 (Unit: ms) 1000 [Pr.11] Backlash compensation amount (Unit: PLS) 0 [Pr.12] Software stroke limit upper limit value (Unit: PLS) 2147483647 [Pr.13] Software stroke limit lower limit value (Unit: PLS) –2147483648 [Pr.14] Software stroke limit selection 0 (current feed value) [Pr.15] Software stroke limit valid/invalid setting 0 (valid) [Pr.17] Torque limit setting value (Unit: %) 300 [Pr.25] Acceleration time 1 (Unit: ms) 1000 [Pr.26] Acceleration time 2 (Unit: ms) 1000 [Pr.27] Acceleration time 3 (Unit: ms) 1000 [Pr.28] Deceleration time 1 (Unit: ms) 1000 [Pr.29] Deceleration time 2 (Unit: ms) 1000 [Pr.30] Deceleration time 3 (Unit: ms) 1000 [Pr.31] JOG speed limit value (Unit: PLS/s) 20000 [Pr.32] JOG operation acceleration time selection 0 (acceleration time 0) [Pr.33] JOG operation deceleration time selection 0 (deceleration time 0)
[Pr.34] Acceleration/deceleration process selection 0 (trapezoidal acceleration/ deceleration processing) [Pr.35] S-curve ratio (Unit: %) 100 [Pr.36] Sudden stop deceleration time (Unit: ms) 1000 [Pr.37] Stop group 1 sudden stop selection 0 (deceleration stop) [Pr.38] Stop group 2 sudden stop selection 0 (deceleration stop) [Pr.39] Stop group 3 sudden stop selection 0 (deceleration stop)
: Setting always required. : Set according to requirements (Set the initial value or a value within the setting range when not used.)
(setting details) · Positioning parameters

Chapter 11 Manual Control
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.
Parameters are set for each axis.
Refer to Chapter 5 "Data Used for Positioning Control" for the setting details.

Chapter 11 Manual Control
A sequence program must be created to execute a JOG operation. Consider the "required control data setting", "start conditions" and "start time chart" when creating the program. The following shows an example when a JOG operation is started for axis 1. ("[Cd.17] JOG speed" is set to "100.00mm/min" in the example shown.)
The control data shown below must be set to execute a JOG operation. The setting is carried out with the sequence program.

[Cd.17] JOG speed 10000 Set a value equal to or below the "[Pr.31] JOG speed limit value".
n: Axis No.-1
: Refer to Section 5.7 "List of control data" for details on the setting details.
The following conditions must be fulfilled when starting. The required conditions must also be assembled in the sequence program, and the sequence program must be configured so the operation will not start if the conditions are not fulfilled.
Signal name Signal state
PLC READY signal ON PLC CPU preparation completed Y0
READY signal ON QD77MS preparation completed X0
All axis servo ON ON All axis servo ON Y1
Synchronization flag ON QD77MS buffer memory The access is possible. X1
Axis stop signal OFF Axis stop signal is OFF Y4 to Y7 [Cd.180] Axis stop
Start complete signal OFF Start complete signal is OFF X10 to X13 [Md.31] Status: b14
BUSY signal OFF QD77MS is not operating XC to XF X10 to X1F
Error detection signal OFF There is no error X8 to XB [Md.31] Status: b13
M code ON signal OFF M code ON signal is OFF X4 to X7 [Md.31] Status: b12
Forced stop input signal ON There is no forced stop input –
Stop signal OFF Stop signal is OFF –
Upper limit (FLS) ON Within limit range –
Lower limit (RLS) ON Within limit range –
: If the PLC CPU is set to the asynchronous mode in the synchronization setting, this must be
inserted in the program for interlocking. If it is set to the synchronous mode, it must not be
inserted in the program for interlocking because it is turned ON when the PLC CPU executes
calculation.
Device · Interface signal · External signal

Chapter 11 Manual Control

(Note): Refer to Section 3.3 for input/output signal of QD77MS16.
Fig. 11.6 JOG operation start time chart

X2D 224 DMOVP K10000 D6
SET M7 280 X2E X0 X0C

Chapter 11 Manual Control
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" (error code: 106) will occur. The operation can be started by turning the stop signal OFF, and turning the JOG start signal from OFF to ON again. [QD77MS4 operation example]

Ignores that the JOG start signal is turned ON from OFF while the stop signal is ON.
(Note): Refer to Section 3.3 for input/output signal of QD77MS16.
Fig. 11.7 Operation when the stop signal is turned ON during JOG operation

Chapter 11 Manual Control
When both the "forward run JOG start signal" and "reverse run JOG start
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. In this case, the "reverse run JOG start signal" is validated when the BUSY signal of Simple Motion module is turned OFF. If the forward run JOG operation is stopped due to stop by a stop signal or axis error, the reverse run JOG operation will not be executed even if the "reverse run JOG start signal" turns ON. [QD77MS4 operation example]

Forward run JOG start signal [Y8, YA, YC, YE]
(Note): Refer to Section 3.3 for input/output signal of QD77MS16.
Fig. 11.8 Operation when both the forward run JOG start signal and reverse run JOG start signal are
turned ON simultaneously

Chapter 11 Manual Control
by the ON OFF of the "JOG start signal"
When the "JOG start signal" is turned ON again during deceleration caused by the ON OFF of the "JOG start signal", the JOG operation will be carried out from the time the "JOG start signal" is turned ON. [QD77MS4 operation example]

Forward run JOG start signal [Y8, YA, YC, YE]
(Note): Refer to Section 3.3 for input/output signal of QD77MS16.
Fig. 11.9 Operation when the JOG start signal is turned ON during deceleration
When the "JOG start signal" is turned ON while the test function of
When the "JOG start signal" is turned ON while the test function of GX Works2 is used, it will be ignored and the JOG operation will not be carried out. [QD77MS4 operation example]

Forward run JOG operation execution JOG operation not possible because this is not the rising edge of the JOG start signal
JOG operation not possible because the test function is being used
Forward run JOG start signal [Y8, YA, YC, YE]
(Note): Refer to Section 3.3 for input/output signal of QD77MS16.
Fig. 11.10 Operation when the JOG start signal is turned ON while the test function is used

Chapter 11 Manual Control
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.
Signal QD77MS2 QD77MS4 QD77MS16
Forward run JOG start signal Y8, YA Y8, YA, YC, YE [Cd.181] Forward run JOG start
Reverse run JOG start signal Y9, YB Y9, YB, YD, YF [Cd.182] Reverse run JOG start
The following shows the example of inching operation.
Forward run inching operation
PLC READY signal [Y0]
OFF
ON
OFF All axis servo ON [Y1]
OFF READY signal [X0]
Forward run JOG start signal [Y8, YA, YC, YE]
ON
BUSY signal [XC, XD, XE, XF] OFF
Positioning complete signal [X14, X15, X16, X17]
Positioning complete signal output time Pr.40
(Note): Refer to Section 3.3 for input/output signal of QD77MS16.
Fig. 11.11 Inching operation
2) · 1)

Chapter 11 Manual Control
The following details must be understood before inching operation is carried out. (1) Acceleration/deceleration processing is not carried out during inching
operation. (Commands corresponding to the designated inching movement amount are output at operation cycle. When the movement direction of inching operation is reversed and backlash compensation is carried out, the backlash compensation amount and inching movement amount are output at the same operation cycle.) The "[Cd.17] JOG speed" is ignored even if it is set. The error "Inching movement amount error" (error code: 301) will occur in the following case. ([Cd.16] Inching movement amount) x (A) > ([Pr.31] JOG speed limit value)
However, (A) is as follows.
0.88 1.77
When the unit setting is PLS 1125 562.5
When the unit setting is degree and the "[Pr.83] Speed control 10 x multiplier setting for degree axis" is valid 67.5 33.75
When the unit setting is other than the above 675 337.5
(2) Set a value other than a "0" in "[Cd.16] Inching movement amount".
If a "0" is set, the operation will become JOG operation (Refer to Section 11.2 "JOG operation").
Operations when stroke limit error occurs
When the operation is stopped by hardware stroke limit error or software stroke limit error, the inching operation can be performed in an opposite way (direction within normal limits) after an error reset. (An error will occur again if JOG start signal is turned ON in a direction to outside the stroke limit.)
Inching operation not possible
OFF

Chapter 11 Manual Control
The following drawing shows the details of the inching operation timing and processing time. [QD77MS4 operation example]

*1: "JOG operation" is set in "[Md.26] Axis operation status" even during inching operation. (Note): Refer to Section 3.3 for input/output signal of QD77MS16.
Fig. 11.12 Inching operation timing and processing times

QD77MS2 0.88 0.4 to 0.9 1.8 to 2.7 0 to 0.9 Follows parameters
1.77 0.4 to 1.4 3.2 to 3.9 0 to 1.8 Follows parameters
QD77MS4 0.88 0.4 to 0.9 1.8 to 2.7 0 to 0.9 Follows parameters
1.77 0.4 to 1.4 3.2 to 3.9 0 to 1.8 Follows parameters
QD77MS16 0.88 0.4 to 0.9 1.8 to 2.7 0 to 0.9 Follows parameters
1.77 0.8 to 1.4 3.2 to 3.9 0 to 1.8 Follows parameters
Depending on the operating statuses of the other axes, delay may occur in the
t1 timing time.

Chapter 11 Manual Control
The inching operation is carried out by the following procedure.
Set the parameters. ( to ) Pr.1 Pr.31
One of the following two methods can be used. Directly set (write) the parameters in the Simple Motion module using GX Works2. Set (write) the parameters from the PLC CPU to the Simple Motion module using the sequence program.
Refer to Chapter 5 and Section 11.3.3.
Create a sequence program in which the " Inching movement amount" is set. (Control data setting)
Cd.16
Refer to Section 11.3.4.
Create a sequence program in which the "JOG start signal" is turned ON by an inching operation start command.
Write the sequence program created in STEP1 and STEP2 to the PLC CPU.
Refer to Chapter 6.
Turn ON the JOG start signal.
Turn ON the JOG start signal of the axis to be started.
QD77MS16
Forward run JOG start signal
Cd.181 Forward run
Reverse run JOG start signal
Cd.182 Reverse run
Monitor using GX Works2. STEP 5
Monitoring of the inching operation
Monitor the inching operation status.
End the inching operation after moving a workpiece by an inching movement amount with the sequence program created in STEP 2.
Turn OFF the JOG start signal that is ON.
Mechanical elements such as limit switches are considered as already installed.
Parameter settings work in common for all control using the Simple Motion module.

Chapter 11 Manual Control
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. (Set the initial value or a value within the setting range.)
Setting item Setting requirement Factory-set initial value
[Pr.1] Unit setting 3 (PLS) [Pr.2] Number of pulses per rotation (AP) (Unit: PLS) 20000
[Pr.3] Movement amount per rotation (AL) (Unit: PLS) 20000 [Pr.4] Unit magnification (AM) 1 (1 times)
[Pr.11] Backlash compensation amount (Unit: PLS) 0 [Pr.12] Software stroke limit upper limit value (Unit: PLS) 2147483647
[Pr.13] Software stroke limit lower limit value (Unit: PLS) –2147483648 [Pr.14] Software stroke limit selection 0 (current feed value)
[Pr.15] Software stroke limit valid/invalid setting 0 (valid) [Pr.17] Torque limit setting value (Unit: %) 300
[Pr.31] JOG speed limit value (Unit: PLS/s) 20000
: Setting always required. : Set according to requirements (Set the initial value or a value within the setting range when not used.)
Positioning 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", and "OPR control"), set the respective setting items as well.
Parameters are set for each axis.
Refer to Chapter 5 "Data Used for Positioning Control" for the setting details.
(setting details) · Positioning parameters

Chapter 11 Manual Control
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. (The example shows the inching operation when a "10.0 µm" is set in "[Cd.16] Inching movement amount".)
The control data shown below must be set to execute an inching operation. The setting is carried out with the sequence program.

amount 100 Set the setting value so that the JOG speed limit value is not increased larger than the maximum output pulse
n: Axis No.-1
: Refer to Section 5.7 "List of control data" for information on setting details.
The following conditions must be fulfilled when starting. The required conditions must also be assembled in the sequence program, and the sequence program must be configured so the operation will not start if the conditions are not fulfilled.

PLC READY signal ON PLC CPU preparation completed Y0
All axis servo ON ON All axis servo ON Y1
Synchronization flag ON Accessible to QD77MS buffer memory X1
Axis stop signal OFF Axis stop signal is OFF Y4 to Y7 [Cd.180] Axis stop
Start complete signal OFF Start complete signal is OFF X10 to X13 [Md.31] Status: b14
BUSY signal OFF QD77MS is not operating XC to XF X10 to X1F
Error detection signal OFF There is no error X8 to XB [Md.31] Status: b13
M code ON signal OFF M code ON signal is OFF X4 to X7 [Md.31] Status: b12
Forced stop input signal ON There is no forced stop input –
: If the PLC CPU is set to the asynchronous mode in the synchronization setting, this must be
inserted in the program for interlocking. If it is set to the synchronous mode, it must not be inserted in the program for interlocking because it is turned ON when the PLC CPU executes calculation.
Start conditions

Chapter 11 Manual Control

(Note): Refer to Section 3.3 for input/output signal of QD77MS16.
Fig. 11.13 Inching operation start time chart

X44 482 MOVP K100 D5
SET M7 507 X2E X0 X0C
Creating the program

Chapter 11 Manual Control
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 the JOG start signal is turned ON from OFF. [QD77MS4 operation example]

Ignores that the JOG start signal is turned ON from OFF while the stop signal is ON.
Forward run JOG start signal [Y8, YA, YC, YE]
(Note): Refer to Section 3.3 for input/output signal of QD77MS16.
Fig. 11.14 Operation when executing inching operation while stop signal is turned ON

Chapter 11 Manual Control
When the "JOG start signal" is turned ON while the test function of
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. [QD77MS4 operation example]
Inching operation not possible because this is not the rising edge of the JOG start signal
Forward run inching operation execution Inching operation not possible because the test function is being used.
In test mode flag
Forward run JOG start signal [Y8, YA, YC, YE] OFF
(Note): Refer to Section 3.3 for input/output signal of QD77MS16.
Fig. 11.15 Operation when the JOG start signal is turned ON while the test function is used
t

Chapter 11 Manual Control
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. The following shows an example of manual pulse generator operation.
Manual pulse generator operation stops
1 0 Cd. 21 Manual pulse generator enable flag
BUSY signal [XC, XD, YE, XF]
Manual pulse generator input
Start complete signal [X10, X11, X12, X13]
Manual pulse generator operation enabled
Fig. 11.16 Manual pulse generator operation

t

Chapter 11 Manual Control
A manual pulse generator is required to carry out manual pulse generator 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
"[Pr.8] Speed limit value". (2) If "[Cd.21] Manual pulse generator enable flag" is turned ON while the Simple
Motion module is BUSY (BUSY signal ON), the warning "Start during operation" (warning code: 100) will occur. (3) If a stop factor occurs during manual pulse generator operation, the operation
will stop, and the BUSY signal will turn OFF. At this time, "[Cd.21] Manual pulse generator enable flag" will remain ON. However, manual pulse generator operation will not be possible. To carry out manual pulse generator operation again, measures must be carried out to eliminate the stop factor. Once eliminated, the operation can be carried out again by turning "[Cd.21] Manual pulse generator enable flag" ON OFF ON. (Note that this excludes hardware/software stroke limit error.) (4) Command will not be output if an error occurs when the manual pulse
generator operation starts.
Number of input pulses for one second
Manual pulse generator 1 pulse input magnification
Manual pulse generator 1 pulse movement amount
Number of pulses per rotation Movement amount per rotation
If a large value is set to the manual pulse generator 1 pulse input magnification, there is a high possibility of the servo alarm "Command frequency error" (alarm No: 35) occurrence. Note that the servomotor does not work rapidly by sudden pulse input even if the servo alarm does not occur.
One Simple Motion module can be connected to one manual pulse generator.
The Simple Motion module can simultaneously command to servo amplifier
(QD77MS2: Axis 1 to 2, QD77MS4: Axis 1 to 4, QD77MS16: Axis 1 to 16) by one manual pulse generator. (Simultaneous operation (QD77MS2: 1 axis to 2 axes, QD77MS4: 1 axis to 4 axes, QD77MS16: 1 axis to 16 axes) is possible.)
(Speed command) =

Chapter 11 Manual Control
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 "[Md.26] Axis operation status", "Manual pulse generator operation" will continue (Note-1). After stopping, manual pulse generator input pulses to the outside direction of the limit range are not accepted, but operation can be executed within the range.
underflows during deceleration, the manual pulse generator operation will
terminate as "error occurring". To carry out manual pulse generator operation
again, "[Cd.21] Manual pulse generator enable flag" must be turned OFF once
and turn ON.

Manual pulse generator operation timing and processing time
The following drawing shows details of the manual pulse generator operation timing and processing time. [QD77MS4 operation example]

0 0 1 Cd. 21 Manual pulse generator enable flag
The start complete signal does not turn ON in manual pulse generator operation.
Md. 26 Axis operation status Standby (0) Manual pulse generator operation (4)
(Note): Refer to Section 3.3 for input/output signal of QD77MS16.
Fig. 11.17 Manual pulse generator operation timing and processing times
Upper/lower limit signal

Chapter 11 Manual Control

QD77MS2 0.88 0.6 to 0.9 10.0 to 15.0 18.0 to 25.0 9.6
1.77 0.6 to 1.8 10.0 to 15.0 18.0 to 25.0 9.6
QD77MS4 0.88 0.6 to 0.9 10.0 to 15.0 18.0 to 25.0 9.6
1.77 0.6 to 1.8 10.0 to 15.0 18.0 to 25.0 9.6
QD77MS16 0.88 0.6 to 0.9 10.0 to 15.0 18.0 to 25.0 9.6
1.77 0.8 to 1.8 10.0 to 15.0 18.0 to 25.0 9.6
Delays may occur in the t1 timing time due to the operation status of other axes.
In manual pulse generator operation, the position is moved by a "manual pulse generator 1 pulse movement amount" per pulse.The current feed value in the positioning control by manual pulse generator operation can be calculated using the expression shown below.
Current feed value = Number of input pulses
× [Cd.20] Manual pulse generator 1 pulse input magnification × Manual pulse generator 1 pulse movement amount

For example, when "[Pr.1] Unit setting" is mm and "[Cd.20] Manual pulse generator 1 pulse input magnification" is 2, and 100 pulses are input from the manual pulse generator, the current feed value is as follows.
100 × 2 × 0.1 = 20 [µm] ("[Md.20] Current feed value"=200)
The number of pulses output actually to the servo amplifier is "Manual pulse generator 1pulse movement amount/movement amount per pulse". The movement amount per pulse can be calculated using the expression shown below.
Movement amount per pulse = [Pr.3] Movement amount per rotation(AL)
[Pr.2] Number of pulses per rotation(AP) [Pr.4] Unit magnification(AM)
For example, when "[Pr.1] Unit setting" is mm and the movement amount per pulse is 1μm, 0.1/1 = 1/10, i.e., the output to the servo amplifier per pulse from the manual pulse generator is 1/10pulse. Thus, the Simple Motion module outputs 1pulse to the servo amplifier after receiving 10pulses from the manual pulse generator. Speed control by manual pulse generation operation
The speed during positioning control by manual pulse generator operation is a speed corresponding to the number of input pulses per unit time, and can be obtained using the following equation.
Output command frequency = Input frequency [Cd.20] Manual pulse generator 1 pulse input magnification

Chapter 11 Manual Control
The manual pulse generator operation is carried out by the following procedure.
Set the parameters. One of the following two methods can be used. Directly set (write) the parameters in the Simple Motion module using GX Works2.
( to , ) Pr.1 Pr.24 Pr.89
Refer to Chapter 5 and Section 11.4.3.
Set (write) the parameters from the PLC CPU to the Simple Motion module using the sequence program.
Create a sequence program in which the " Manual pulse generator 1 pulse input magnification" is set. (Control data setting)
Refer to Section 11.4.4.
Cd.20
Create a sequence program in which the enable /disable is set for the manual pulse generator operation. (" Manual pulse generator enable flag" setting.)
Cd.21
Write the sequence program created in STEP1 and STEP2 to the PLC CPU.
Write "1" in " Manual pulse generator enable flag", and operate the manual pulse generator.
Cd.21
Manual pulse generator operation start
Issue a command to enable the manual pulse generator operation, and input the signals from the manual pulse generator.
Monitor using GX Works2. STEP 5
Monitoring of the manual pulse generator operation
Monitor the manual pulse generator operation.
Cd.21 Stop operating the manual pulse generator, and write "0" in " Manual pulse generator enable flag".
Manual pulse generator operation stop
End the input from the manual pulse generator, and issue a command to disable the manual pulse generator operation.
Mechanical elements such as limit switches are considered as already installed.
Parameter settings work in common for all control using the Simple Motion module.
STEP 1 Preparation · End of control

Chapter 11 Manual Control
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. Parameters not shown below are not required to be set for carrying out only manual pulse generator operation. (Set the initial value or a value within the setting range.)

[Pr.2] Number of pulses per rotation (AP) (Unit: PLS) 20000
[Pr.3] Movement amount per rotation (AL) (Unit: PLS) 20000
[Pr.12] Software stroke limit upper limit value (Unit: PLS) 2147483647
[Pr.13] Software stroke limit lower limit value (Unit: PLS) –2147483648
[Pr.14] Software stroke limit selection 0 (current feed value)
[Pr.89] Manual pulse generator/Incremental synchronous encoder input type selection 0 (Differential output type)
: Setting always required. : Set according to requirements (Set the initial value or a value within the setting range when not used.)
Positioning 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 control"), set the respective setting items as well.
Parameters are set for each axis. But [Pr.22] Manual pulse generator input (b8),
[Pr.24], [Pr.89] is set only for axis 1. (The setting for other than axis 1 is ignored.)
Refer to Chapter 5 "Data Used for Positioning Control" for the setting details.

Chapter 11 Manual Control
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. The following shows an example when a manual pulse generator operation is started for axis 1.
The control data shown below must be set to execute a manual pulse generator operation. The setting is carried out with the sequence program.

1 Set the manual pulse generator 1 pulse input magnification. (1 to 10000 times)
Set "1: Enable manual pulse generator operation". (Set "0: Disable manual pulse generator operation" when finished with the manual pulse generator operation.)
n: Axis No.-1
: Refer to Section 5.7 "List of control data" for details on the setting details.
The following conditions must be fulfilled when starting. The required conditions must also be assembled in the sequence program, and the sequence program must be configured so the operation will not start if the conditions are not fulfilled.
Signal name Signal state
PLC READY signal ON PLC CPU preparation completed Y0
READY signal ON QD77MS preparation completed X0
All axis servo ON ON All axis servo ON Y1
Synchronization flag ON QD77MS buffer memory The access is possible. X1
Axis stop signal OFF Axis stop signal is OFF Y4 to Y7 [Cd.180] Axis stop
Start complete signal OFF Start complete signal is OFF X10 to X13 [Md.31] Status: b14
BUSY signal OFF QD77MS is not operating XC to XF X10 to X1F
Error detection signal OFF There is no error X8 to XB [Md.31] Status: b13
M code ON signal OFF M code ON signal is OFF X4 to X7 [Md.31] Status: b12
Forced stop input signal ON There is no forced stop input –
Stop signal OFF Stop signal is OFF –
Upper limit (FLS) ON Within limit range –
Lower limit (RLS) ON Within limit range –
: If the PLC CPU is set to the asynchronous mode in the synchronization setting, this must be
inserted in the program for interlocking. If it is set to the synchronous mode, it must not be
inserted in the program for interlocking because it is turned ON when the PLC CPU executes
calculation.
Device · Interface signal · External signal

Chapter 11 Manual Control

(Note): Refer to Section 3.3 for input/output signal of QD77MS16.
Fig. 11.18 Manual pulse generator operation start time chart


Chapter 11 Manual 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" instead of controlling mechanically with gear, shaft, speed change gear or cam, etc.
Execute the required settings to match each control.
12.1 Speed-torque control 12- 2 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- 34

Chapter 12 Expansion 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. Switch the control mode from "position control mode" to "speed control mode", "torque control mode" or "continuous operation to torque control mode" to execute the "Speed- torque control".
Control mode Control Remark
Positioning control, OPR control, JOG operation, Inching operation and Manual pulse generator operation
Control that include the position loop for the command to servo amplifier
Control that does not include the position loop for the command to servo amplifier Torque control mode
Control that does not include the position loop for the command to servo amplifier Control mode can be switched during positioning control or speed control.
to torque control mode
Use the servo amplifiers whose software versions are compatible with each control mode to execute the "Speed-torque control". Servo amplifier software versions that are compatible with each control mode are shown below.
Speed control Torque control Continuous operation
to torque control 1
MR-J3-_B — B3 or later C7 or later
MR-J3W-_B — — Not compatible
MR-J3-_BS — — C7 or later
—: There is no restriction by the version. 1: The torque generation direction of servomotor can be changed by setting the servo parameter "Function selection C-B POL reflection selection at torque control (PC29)" for the servo amplifier that is compatible with the continuous operation to torque control. (Refer to Section 12.1.4 "Operation of speed-torque control".) For the servo amplifier that is not compatible with the continuous operation to torque control, the operation is the same as that of when "0: Enabled" is set in servo parameter "Function selection C-B POL reflection selection at torque control (PC29)".

Chapter 12 Expansion Control
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.

Chapter 12 Expansion 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. (Set the initial value or a value within the setting range.)

[Pr.83] Speed control 10 x multiplier setting for degree axis
: Set according to requirements (Set the initial value or a value within the setting
range when not used.)
Positioning 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 control"), set the respective setting items as well.
Parameters are set for each axis.
Refer to Chapter 5 "Data Used for Positioning Control" for the setting details.

Chapter 12 Expansion Control
Required control data setting for the control mode switching
The control data shown below must be set to execute the control mode switching.

n: Axis No.-1 : Refer to Section 5.7 "List of control data" for the setting details.
When "30: Continuous operation to torque control mode" is set, set the switching condition of the control mode to switch to the continuous operation to torque control mode. The control data shown below must be set to set the switching condition of control mode.

Set the switching condition when switching to continuous operation to torque control mode.
Set the condition value when setting the control mode switching condition.
n: Axis No.-1 : Refer to Section 5.7 "List of control data" for the setting details.
The control data shown below must be set to execute the speed control.

Set the acceleration time at speed control mode. 1578+100n 4378+100n
Set the deceleration time at speed control mode. 1579+100n 4379+100n
n: Axis No.-1 : Refer to Section 5.7 "List of control data" for the setting details.

Chapter 12 Expansion Control
The control data shown below must be set to execute the torque control.

Set the command torque at torque control mode. 1580+100n 4380+100n
Torque time constant at torque control mode (Forward direction)
Set the time constant at driving during torque control mode. 1581+100n 4381+100n
Torque time constant at torque control mode (Negative direction)
Set the time constant at regeneration during torque control mode. 1582+100n 4382+100n
Set the speed limit value at torque control mode.
n: Axis No.-1 : Refer to Section 5.7 "List of control data" for the setting details.
mode
The control data shown below must be set to execute the continuous operation to torque control.
Speed limit value at continuous operation to torque control mode
Set the speed limit value at continuous operation to torque control mode.
1586+100n 1587+100n 4386+100n 4387+100n
[Cd.147]
Acceleration time at continuous operation to torque control mode
Set the acceleration time at continuous operation to torque control mode. 1588+100n 4388+100n
[Cd.148]
Deceleration time at continuous operation to torque control mode
Set the deceleration time at continuous operation to torque control mode. 1589+100n 4389+100n
[Cd.149]
Target torque at continuous operation to torque control mode
Set the target torque at continuous operation to torque control mode. 1590+100n 4390+100n
[Cd.150]
Torque time constant at continuous operation to torque control mode (Forward direction)
Set the time constant at driving during continuous operation to torque control mode.
[Cd.151]
Torque time constant at continuous operation to torque control mode (Negative direction)
Set the time constant at regeneration during continuous operation to torque control mode.
[Cd.152]
n: Axis No.-1 : Refer to Section 5.7 "List of control data" for the setting details.

Chapter 12 Expansion 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 "[Cd.138] Control mode switching request" after setting the control mode in "[Cd.139] Control mode setting". When the mode is switched to the speed control mode or the torque control mode, the control data used in each control mode must be set before setting "1" in "[Cd.138] Control mode switching request". When the switching condition is satisfied at control mode switching request, "30: Control mode switch" is set in "[Md.26] Axis operation status", and the BUSY signal turns ON. "0" is automatically stored in "[Cd.138] Control mode switching request" by Simple Motion module after completion of switching. A warning "Control mode switching during BUSY" (warning code: 120) or "Control mode switching during zero speed OFF" (warning code: 121) occurs if the switching condition is not satisfied, and the control mode is not switched. The following shows the switching condition of each control mode.
Speed control mode Torque control mode

(Note-1): BUSY signal is OFF. (Note-2): ZERO speed (Low-order buffer memory address: b3 of "[Md.108] Servo status") is ON.
Buffer memory address (Low-order)
n: Axis No.-1
stop" in Simple Motion module by setting "1: Zero speed ON condition invalid (for switching control mode)" in "Condition selection at mode switching (b12 to b15)" of "[Pr.90] Operation setting for speed-torque control mode". Set "1: Zero speed ON condition invalid (for switching control mode)" only when switching the control mode without waiting for the servomotor to stop.
Position control mode · 5) · 6)

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)" of "[Md.108] Servo status". (Refer to Section 5.6.2 "Axis monitor data".)
Buffer memory address (High-order)
n: Axis No.-1
(1) The start complete signal and the positioning complete signal do not turn ON at
control mode switching. (2) When "30: Control mode switch", "31: Speed control", or "32: Torque control" is
set in "[Md.26] Axis operation status", the BUSY signal turns ON. (3) The motor speed might change momentarily at switching from the speed
control mode to the torque control mode. Therefore, it is recommended that the control mode is switched from the speed control to the torque control after the servomotors stop. (4) Use the continuous operation to torque control mode for the usage such as
pressing a workpiece. Do not execute the continuous operation to torque control in the speed control mode. Otherwise, an unexpected operation might occur at switching to the position control mode. (5) "In speed control flag" ([Md.31] Status: b0) does not turn ON during the speed
control mode in the speed-torque control.
When the position control mode is switched to the speed control mode, the command speed immediately after the switching is the speed set in "speed initial value selection (b8 to b11)" of "[Pr.90] Operation setting for speed-torque control mode".
Speed initial value selection
Command speed to servo amplifier immediately after switching from
position control mode to speed control mode
When the speed control mode is switched to the position control mode, the command position immediately after the switching is the current feed value at switching.

Chapter 12 Expansion Control
The following chart shows the operation timing for axis 1.

Position control mode Speed control mode Position control mode
(Note): Refer to Section 3.3 for input/output signal of QD77MS16 and Chapter 5 for buffer memory address.

Chapter 12 Expansion Control
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)" of "[Pr.90] Operation setting for speed-torque control mode".
Torque initial value selection
Command torque to servo amplifier immediately after switching from
position control mode to torque control mode
POINT When the servo parameter "Function selection C-B POL reflection selection at torque control (PC29)" is set to "0: Enabled" and "Torque initial value selection" is set to "1: Feedback torque", the warning "Torque initial value selection invalid" (warning code: 521) will occur at control mode switching, and the command value immediately after switching is the same as the case of selecting "0: Command torque". If the feedback torque is selected, set "1: Disabled" in the servo parameter "Function selection C-B POL reflection selection at torque control (PC29)".

Chapter 12 Expansion Control
When the torque control mode is switched to the position control mode, the command position immediately after the switching is the current feed value at switching. The following chart shows the operation timing for axis 1.

Position control mode Torque control mode Position control mode
(Note): Refer to Section 3.3 for input/output signal of QD77MS16 and Chapter 5 for buffer memory address.

Chapter 12 Expansion Control
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)" of "[Pr.90] Operation setting for speed-torque control mode".
Torque initial value selection
Command torque to servo amplifier immediately after switching from
speed control mode to torque control mode
POINT When the servo parameter "Function selection C-B POL reflection selection at torque control (PC29)" is set to "0: Enabled" and "Torque initial value selection" is set to "1: Feedback torque", the warning "Torque initial value selection invalid" (warning code: 521) will occur at control mode switching, and the command value immediately after switching is the same as the case of selecting "0: Command torque". If the feedback torque is selected, set "1: Disabled" in the servo parameter "Function selection C-B POL reflection selection at torque control (PC29)".

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.

Speed control mode Torque control mode Speed control mode
(Note): Refer to Section 3.3 for input/output signal of QD77MS16 and Chapter 5 for buffer memory address.

Chapter 12 Expansion Control
Switching method of control mode
To switch the control mode to the continuous operation to torque control mode, set "1" in "[Cd.138] Control mode switching request" after setting the control mode to switch to "[Cd.139] Control mode setting" (30: Continuous operation to torque control mode) from position control mode or speed control mode. The selected control mode can be checked in "[Md.26] Axis operation status". When the switching condition is satisfied at control mode switching request, "1: Position control mode - continuous operation to torque control mode, speed control mode - continuous operation to torque control mode switching" is set in "[Md.124] Control mode switching status", and the BUSY signal turns ON. The following shows the switching condition of the continuous operation to torque control mode.
Continuous operation to torque control mode
Continuous operation to torque control mode
Continuous operation to torque control mode
Switching operation Switching condition
Continuous operation to torque control mode
Position control mode During motor stop (Note-2)
Continuous operation to torque control mode None 4) Continuous operation to torque control mode
Continuous operation to torque control mode Switching is impossible. 6) Continuous operation to torque control mode
(Note-1): BUSY signal is OFF. (Note-2): ZERO speed (Low-order buffer memory address: b3 of "[Md.108] Servo status") is ON. The control mode
can be changed without checking the switching condition of "during motor stop" in Simple Motion module by setting "1: Zero speed ON condition invalid (for switching control mode)" in "Condition selection at mode switching (b12 to b15)" of "[Pr.90] Operation setting for speed-torque control mode". Set "1: Zero speed ON condition invalid (for switching control mode)" only when switching the control mode without waiting for the servomotor to stop.
Buffer memory address (Low-order)
n: Axis No.-1

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" of "[Md.125] Servo status3". When the mode is switched to the continuous operation to torque control mode, the value in "control mode (high-order buffer memory address: b2, b3)" of "[Md.108] Servo status" remains the same as before switching the control mode. (Refer to Section 5.6.2 "Axis monitor data".)
Buffer memory address (High-order)
n: Axis No.-1
POINTS (1) When the mode is switched from position control mode to continuous
operation to torque control mode, only the switching from continuous operation to torque control mode to position control mode is possible. If the mode is switched to other control modes, the warning "Control mode switching not possible" (warning code: 125) will occur, and the control mode is not switched.
(2) When the mode is switched from speed control mode to continuous operation
to torque control mode, only the switching from continuous operation to torque control mode to speed control mode is possible. If the mode is switched to other control modes, the warning "Control mode switching not possible" (warning code: 125) will occur, and the control mode is not switched.
(1) The start complete signal and positioning complete signal do not turn ON at
control mode switching. (2) When "33: Continuous operation to torque control mode" is set in "[Md.26] Axis
operation status" and "1: Position control mode - continuous operation to torque control mode, speed control mode - continuous operation to torque control mode switching" is set in "[Md.124] Control mode switching status", the BUSY signal turns ON. (3) When using the continuous operation to torque control mode, use the servo
amplifiers that are compatible with the continuous operation to torque control. If the servo amplifiers that are not compatible with the continuous operation to torque control are used, the error "Continuous operation to torque control not supported" (error code: 550) occurs at request of switching to continuous operation to torque control mode, and the operation stops. (In the positioning control, the operation stops according to the setting of "[Pr.39] Stop group 3 sudden stop selection". In the speed control, the mode switches to the position control, and the operation immediately stops.)

Chapter 12 Expansion Control
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 "[Cd.138] Control mode switching request". When the switching condition is satisfied at control mode switching request, "1: Position control mode - continuous operation to torque control mode, speed control mode - continuous operation to torque control mode switching" is set in "[Md.124] Control mode switching status" and the BUSY signal turns ON. (When the control mode switching request is executed while the BUSY signal is ON, the BUSY signal does not turn OFF but stays ON at control mode switching.) "0" is automatically stored in "[Cd.138] Control mode switching request" and "[Md.124] Control mode switching status" after completion of switching. When the position control mode is switched to the continuous operation to torque control mode, the command torque and command speed immediately after the switching are the values set according to the following setting in "Torque initial value selection (b4 to b7)" and "Speed initial value selection (b8 to b11)" of "[Pr.90] Operation setting for speed-torque control mode".
Torque initial value selection
Command torque to servo amplifier immediately after switching from position control mode to continuous operation to torque control mode
Speed initial value selection
Command speed to servo amplifier immediately after switching from position control mode to continuous operation to torque control mode
Speed that the position command at switching is converted into the motor speed. (When the positioning does not start at switching, the speed to servo amplifier immediately after switching is "0".)
POINT When the mode is switched to continuous operation to torque control mode in cases where command speed and actual speed are different such as during acceleration/deceleration or when the speed does not reach command speed due to torque limit, set "1: Feedback speed" in "Speed initial value selection (b8 to b11)".

Chapter 12 Expansion Control
The following chart shows the operation timing for axis 1.

Position control mode Continuous operation to torque control mode Position control mode
Continuous operation to torque control ( Servo status3: b14)
[0, 0] Control mode ( Servo status: b2, b3)
(Note): Refer to Section 3.3 for input/output signal of QD77MS16 and Chapter 5 for buffer memory address.

Chapter 12 Expansion Control
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 "[Cd.138] Control mode switching request". When the switching condition is satisfied at control mode switching request, "1: Position control mode - continuous operation to torque control mode, speed control mode - continuous operation to torque control mode switching" is set in "[Md.124] Control mode switching status" and the BUSY signal turns ON. (When the control mode switching request is executed while the BUSY signal is ON, the BUSY signal does not turn OFF but stays ON at control mode switching.) "0" is automatically stored in "[Cd.138] Control mode switching request" and "[Md.124] Control mode switching status" after completion of switching.
When the speed control mode is switched to the continuous operation to torque control mode, the command torque immediately after the switching is the torque set in "Torque initial value selection (b4 to b7)" of "[Pr.90] Operation setting for speed-torque control mode".
Torque initial value selection
Command torque to servo amplifier immediately after switching from
speed control mode to continuous operation to torque control mode

Chapter 12 Expansion Control
The following chart shows the operation timing for axis 1.

Continuous operation to torque control mode Speed control mode Speed control mode
Continuous operation to torque control ( Servo status3: b14) OFF
[1, 0] Control mode ( Servo status: b2, b3)
(Note): Refer to Section 3.3 for input/output signal of QD77MS16 and Chapter 5 for buffer memory address.

Chapter 12 Expansion Control
operation to torque control mode" automatically
To switch to the continuous operation to torque control mode automatically when the conditions set in "[Cd.153] Control mode auto-shift selection" and "[Cd.154] Control mode auto-shift parameter" are satisfied, set the control data necessary in the continuous operation to torque control mode, "[Cd.153] Control mode auto- shift selection" and "[Cd.154] Control mode auto-shift parameter", and then set "30: Continuous operation to torque control mode" in "[Cd.139] Control mode setting" and "1: Switching request" in "[Cd.138] Control mode switching request". In this case, the current control is continued until the setting condition is satisfied after control mode switching request, and "2: Waiting for the completion of control mode switching condition" is set in "[Md.124] Control mode switching status". When the set condition is satisfied, "1: Position control mode - continuous operation to torque control mode, speed control mode - continuous operation to torque control mode switching" is set in "[Md.124] Control mode switching status". "0" is stored in "[Cd.138] Control mode switching request" and "[Md.124] Control mode switching status" after completion of switching.
If "[Cd.154] Control mode auto-shift parameter" is outside the setting range, the error "Outside control mode auto-shift switching parameter range" (error code: 551) occurs at control mode switching request, and the current processing stops. (In the positioning control, the operation stops according to the setting of "[Pr.39] Stop group 3 sudden stop selection". In the speed control, the mode switches to the position control, and the operation immediately stops.)

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 immediately.
(2) When the mode switching request is executed after setting the switching
condition, the state of waiting for the completion of control mode switching condition continues until the setting condition is satisfied. Therefore, if the positioning by automatic switching is interrupted, unexpected control mode switching may be executed in other positioning operations. Waiting for the completion of control mode switching condition can be cancelled by setting "Other than 1: Not request" in "[Cd.138] Control mode switching request" or by turning the axis stop signal ON. When an error occurs, waiting for the completion of control mode switching condition is also cancelled. (In both cases, "0" is stored in "[Cd.138] Control mode switching request".
(3) In the state of waiting for the completion of control mode switching condition, if
the current values are updated by the current value changing, the fixed-feed control or the speed control (when "2: Clear current feed value to zero" is set in "[Pr.21] Current feed value during speed control"), an auto-shift judgment is executed based on the updated current value. Therefore, depending on the setting condition, the mode may be switched to the continuous operation to torque control mode immediately after the positioning starts. To avoid this switching, set "1: Switching request" in "[Cd.138] Control mode switching request".

Chapter 12 Expansion Control
The following chart shows the operation when "1: Current feed value pass" is set in "[Cd.153] Control mode auto-shift selection".

Position control mode Continuous operation to torque control mode
Current feed value passes the address "adr" set in " auto-shift parameter".
Continuous operation to torque control ( Servo status3: b14) OFF

Chapter 12 Expansion Control
Operation for speed control mode
The speed control is executed at the speed set in "[Cd.140] Command speed at speed control mode" in the speed control mode. Set a positive value for forward rotation and a negative value for reverse rotation. "[Cd.140]" can be changed any time during the speed control mode. Acceleration/deceleration is performed based on a trapezoidal acceleration/deceleration processing. Set acceleration/deceleration time toward "[Pr.8] Speed limit value" in "[Cd.141] Acceleration time at speed control mode" and "[Cd.142] Deceleration time at speed control mode". The value at speed control mode switching request is valid for "[Cd.141]" and "[Cd.142]". The command speed during the speed control mode is limited with "[Pr.8] Speed limit value". If the speed exceeding the speed limit value is set, the warning "Speed limit value over" (warning code: 501) occurs, and the operation is controlled with the speed limit value. Confirm the command speed to servo amplifier with "[Md.122] Speed during command".
![Mitsubishi Electronics QD77MS2 — [3] Speed control mode diagram (page 678)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-678-1.webp)
Md.122 The command speed to servo amplifier is stored in " Speed during command".
"[Md.20] Current feed value", "[Md.21] Machine feed value" and "[Md.101] Real current value" are updated even in the speed control mode. If the current feed value exceeds the software stroke limit, the error "Software stroke limit +" (error code: 507) or "Software stroke limit -" (error code: 508) occurs, and the operation switches to the position control mode. Invalidate the software stroke limit to execute one-way feed.

Chapter 12 Expansion Control
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.
The motor decelerates to speed "0" according to
the setting value of "[Cd.142] Deceleration time at
speed control mode". The mode switches to the
"[Cd.180] Axis stop" turned ON. QD77MS16
position control mode when "Zero speed" of
Stop signal of "[Cd.44] External input signal operation device" turned ON.
"[Md.108] Servo status" turns ON, and the
operation stops.
The servo OFF is not executed during the speed
All axis servo ON [Y1] turned OFF.
control mode. The command status when the mode
is switched to the position control mode becomes
valid. "[Cd.100] Servo OFF command" turned ON.
The current value reached the software stroke limit. An error (error code: 507, 508, 104, 105, or 101)
occurs. The mode switches to the position control
The position of the motor reached the hardware stroke limit.
mode at the current position, and the operation
immediately stops. (Deceleration processing is not
PLC READY [Y0] turned OFF.
executed.)
The mode switches to the position control mode
The forced stop input to Simple Motion module.
when the servo OFF (Servo ON of "[Md.108] Servo
status" turns OFF) is executed. (While the servo
The emergency stop input to servo amplifier.
amplifier is servo OFF, even if the mode is switched
to position control mode, the servomotor occurs to
the free run. (The operation stops with dynamic
The servo error occurred.
brake.))
The motor occurs to the free run. (The operation
stops with dynamic brake.)
The servo amplifier's power supply turned OFF.
(The mode is set to the position control mode at the
servo amplifier's power supply ON again.)
![Page 680 of the Mitsubishi Electronics QD77MS2 user manual — [4] Torque control mode](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-680.webp?w=400)
Chapter 12 Expansion Control
Operation for torque control mode
The torque control is executed at the command torque set in "[Cd.143] Command torque at torque control mode" in the torque control mode. "[Cd.143] Command torque at torque control mode" can be changed any time during torque control mode. The relation between the setting of command torque and the torque generation direction of servomotor varies depending on the setting of servo parameters "Rotation direction selection/travel direction selection (PA14)" and "Function selection C-B POL reflection selection at torque control (PC29)".
(1) When servo parameter "Function selection C-B POL reflection selection at
torque control (PC29)" is set to "0: Enabled"
![Mitsubishi Electronics QD77MS2 — [4] Torque control mode diagram (page 680)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-680-1.webp)
(2) When servo parameter "Function selection C-B POL reflection selection at
torque control (PC29)" is set to "1: Disabled"
![Mitsubishi Electronics QD77MS2 — [4] Torque control mode diagram (page 680)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-680-2.webp)

Chapter 12 Expansion Control
Set time for the command torque to increase from 0% to "[Pr.17] Torque limit setting value" in "[Cd.144] Torque time constant at torque control mode (Forward direction)" and for the command torque to decrease from "[Pr.17] Torque limit setting value" to 0% in "[Cd.145] Torque time constant at torque control mode (Negative direction)". The value at torque control mode switching request is valid for "[Cd.144]" and "[Cd.145]". The command torque during the torque control mode is limited with "[Pr.17] Torque limit setting value". If the torque exceeding the torque limit setting value is set, the warning "Torque limit value over" (warning code: 520) occurs, and the operation is controlled with the torque limit setting value. Confirm the command torque to servo amplifier with "[Md.123] Torque during command".

Cd.144 Torque time constant at torque control mode (Forward direction)
Cd.145 Torque time constant at torque control mode (Negative direction)
Md.123 The command torque to servo amplifier is stored in " Torque during command".
Cd.144 Torque time constant at torque control mode (Forward direction)
Torque time constant at torque control mode (Negative direction)

Chapter 12 Expansion Control
The speed during the torque control mode is controlled with "[Cd.146] Speed limit value at torque control mode". At this time, "Speed limit" ("[Md.108] Servo status" (low-order buffer memory address): b4) turns ON.
Buffer memory address (Low-order)
n: Axis No.-1
"[Cd.146] Speed limit value at torque control mode" is set to a positive value regardless of the rotation direction. (Controlled by the same value for forward and reverse directions.) In addition, "[Cd.146] Speed limit value at torque control mode" is limited with "[Pr.8] Speed limit value". If the speed exceeding the speed limit value is set, the warning "Speed limit value over" (warning code: 501) occurs, and the operation is controlled with the speed limit value. The acceleration/deceleration processing is invalid for "[Cd.146] Speed limit value at torque control mode".
POINT The actual motor speed may not reach the speed limit value depending on the
machine load situation during the torque control.
"[Md.20] Current feed value", "[Md.21] Machine feed value" and "[Md.101] Real current value" are updated even in the torque control mode. If the current feed value exceeds the software stroke limit, the error "Software stroke limit +" (error code: 507) or "Software stroke limit -" (error code: 508) occurs, and the operation switches to the position control mode. Invalidate the software stroke limit to execute one-way feed.

Chapter 12 Expansion Control
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" regardless of the setting value of "[Cd.146] Speed limit value at torque control mode". The mode switches to the position control mode when "Zero speed" of "[Md.108] Servo status" turns ON, and the operation immediately stops. (Deceleration processing is not executed.) The value of command torque is not changed. It might take time to reach the speed "0" depending on the current torque command value.
Axis stop [Y4 to Y7] turned ON.
"[Cd.180] Axis stop" turned ON.
Stop signal of "[Cd.44] External input signal operation device" turned ON.
All axis servo ON [Y1] turned OFF. The servo OFF is not executed during the torque control mode. The command status when the mode is switched to the position control mode becomes valid. "[Cd.100] Servo OFF command" turned ON.
The current value reached the software stroke limit. An error (error code: 507, 508, 104, 105, or 101) occurs. The mode switches to the position control mode at the current position, and the operation immediately stops. (Deceleration processing is not executed.)
The position of the motor reached the hardware stroke limit.
PLC READY [Y0] turned OFF.
The forced stop input to Simple Motion module.
The mode switches to the position control mode when the servo OFF (Servo ON of "[Md.108] Servo status" turns OFF) is executed. (While the servo amplifier is servo OFF, even if the mode is switched to position control mode, the servomotor occurs to the free run. (The operation stops with dynamic brake.))
The emergency stop input to servo amplifier.
The servo error occurred.
The motor occurs to the free run. (The operation stops with dynamic brake.) (The mode is set to the position control mode at the servo amplifier's power supply ON again.)
The servo amplifier's power supply turned OFF.
![Page 684 of the Mitsubishi Electronics QD77MS2 user manual — [5] Continuous operation to torque control mode](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-684.webp?w=400)
Chapter 12 Expansion Control
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. During the continuous operation to torque control mode, the torque control is executed at the command torque set in "[Cd.150] Target torque at continuous operation to torque control mode" while executing acceleration/deceleration to reach the speed set in "[Cd.147] Speed limit value at continuous operation to torque control mode". "[Cd.147] Speed limit value at continuous operation to torque control mode" and "[Cd.150] Target torque at continuous operation to torque control mode" can be changed any time during the continuous operation to torque control mode. The relation between the setting value of command torque and the torque generation direction of servomotor is fixed regardless of the setting of servo parameters "Rotation direction selection/travel direction selection (PA14)" and "Function selection C-B POL reflection selection at torque control (PC29)".
"[Cd.150] Target torque at continuous
operation to torque control mode" Torque generation direction of servo motor
Positive value (Forward direction) CCW direction
Negative value (Reverse direction) CW direction
Positive value (Forward direction) CCW direction
Negative value (Reverse direction) CW direction
Important Regardless of the setting in "Rotation direction selection/travel direction selection (PA14)", set a positive value when torque command is in CCW direction of servomotor and a negative value when torque command is in CW direction of servomotor in "[Cd.150] Target torque at continuous operation to torque control mode". If the setting is incorrect, the motor may rotate in an opposite direction.
![Mitsubishi Electronics QD77MS2 — [5] Continuous operation to torque control mode diagram (page 684)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-684-1.webp)
POINTS (1) The motor rotates in a direction according to the setting in "[Cd.150] Target
torque at continuous operation to torque control mode". Set the value corresponding to the motor rotation direction in "[Cd.147] Speed limit value at continuous operation to torque control mode".
(2) Speed is not limited for reverse torque generation direction.

Chapter 12 Expansion Control
During the continuous operation to torque control mode, set time for the command torque to increase from 0% to "[Pr.17] Torque limit setting value" in "[Cd.151] Torque time constant at continuous operation to torque control mode (Forward direction)" and for the command torque to decrease from "[Pr.17] Torque limit setting value" to 0% in "[Cd.152] Torque time constant at continuous operation to torque control mode (Negative direction)". The value at continuous operation to torque control mode switching request is valid for "[Cd.151]" and "[Cd.152]". The command torque during the continuous operation to torque control mode is limited with "[Pr.17] Torque limit setting value".
If torque exceeding the torque limit setting value is commanded, the warning "Torque limit value over" (warning code: 520) occurs, and the operation is controlled with the torque limit setting value. Confirm the command torque to servo amplifier with "[Md.123] Torque during command". During the continuous operation to torque control mode, "Torque limit" ("[Md.108] Servo status" (high-order buffer memory address): b13) does not turn ON. Confirm the current torque value in "[Md.104] Motor current value".
Buffer memory address (High-order)
n: Axis No.-1

Chapter 12 Expansion Control
Acceleration/deceleration is performed based on a trapezoidal acceleration/deceleration processing. Set acceleration/deceleration time toward "[Pr.8] Speed limit value" in "[Cd.148] Acceleration time at continuous operation to torque control mode" and "[Cd.149] Deceleration time at continuous operation to torque control mode". The value at continuous operation to torque control mode switching is valid for "[Cd.148]" and "[Cd.149]". "[Cd.147] Speed limit value at continuous operation to torque control mode" is limited with "[Pr.8] Speed limit value". If the speed exceeding the speed limit value is commanded, the warning "Speed limit value over" (warning code: 501) occurs, and the operation is controlled with the speed limit value. Confirm the command speed to servo amplifier with "[Md.122] Speed during command".

continuous operation to torque control mode Cd.150 Target torque at
The following functions of the servo amplifier are not available during the continuous operation to torque control mode.
Base circuit shut-off delay time function Forced stop deceleration function Vertical axis freefall prevention function Driver communication function

Chapter 12 Expansion Control
The speed during the continuous operation to torque control mode is controlled with an absolute value of the value set in "[Cd.147] Speed limit value at continuous operation to torque control mode" as command speed. When the speed reaches the absolute value of "[Cd.147] Speed limit value at continuous operation to torque control mode", "Speed limit" ("[Md.108] Servo status" (low-order buffer memory address): b4) turns ON.
Buffer memory address (Low-order)
n: Axis No.-1
In addition, "[Cd.147] Speed limit value at continuous operation to torque control mode" is limited with "[Pr.8] Speed limit value". If the command speed exceeding the speed limit value is set, a warning "Speed limit value over" (warning code: 501) occurs, and the operation is controlled with the speed limit value.
POINT The actual motor speed may not reach the command speed depending on the
machine load situation during the continuous operation to torque control mode.
"[Md.20] Current feed value", "[Md.21] Machine feed value" and "[Md.101] Real current value" are updated even in the continuous operation to torque control mode. If the current feed value exceeds the software stroke limit, the error "Software stroke limit +" (error code: 507) or "Software stroke limit -" (error code: 508) occurs, and the operation switches to the position control mode. Invalidate the software stroke limit to execute one-way feed.

Chapter 12 Expansion Control
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.
QD77MS2 QD77MS4 The speed limit value commanded to servo amplifier is "0" regardless of the setting value of "[Cd.147] Speed limit value at continuous operation to torque control mode". The mode switches to the position control mode when "Zero speed" of "[Md.108] Servo status" turns ON, and the operation immediately stops. (Deceleration processing is not executed.) The value of command torque is not changed. It might take time to reach the speed "0" depending on the current torque command value.
"[Cd.180] Axis stop" turned ON.
Stop signal of "[Cd.44] External input signal operation device" turned ON.
All axis servo ON [Y1] turned OFF. The servo OFF is not executed during the continuous operation to torque control mode. The command status when the mode is switched to the position control mode becomes valid. "[Cd.100] Servo OFF command" turned ON.
The current value reached the software stroke limit.
An error (error code: 507, 508, 104, 105, or 101) occurs. The mode switches to the position control mode at the current position, and the operation immediately stops. (Deceleration processing is not executed.) *1 When the operation immediately stops, the motor may start hunting depending on the motor speed. Therefore, be sure not to reach the limit in high speed and not to turn OFF the PLC READY.
The position of the motor reached the hardware stroke limit.
PLC READY [Y0] turned OFF.
The forced stop input to Simple Motion module.
The mode switches to the position control mode when the servo OFF (Servo ON of "[Md.108] Servo status" turns OFF) is executed. *1 (While the servo amplifier is servo OFF, even if the mode is switched to position control mode, the servomotor occurs to the free run (The operation stops with dynamic brake).)
The emergency stop input to servo amplifier.
The servo error occurred.
The motor occurs to the free run (The operation stops with dynamic brake.). (The mode is set to the position control mode at the servo amplifier's power supply ON again.)
The servo amplifier's power supply turned OFF.

Chapter 12 Expansion 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. Refer to "MELSEC-Q/L QD77MS/QD77GF/LD77MS/LD77MH Simple Motion Module User's Manual (Synchronous Control)" for details of synchronous control.


Chapter 13 Control 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.
This function retries the OPR with the upper/lower limit switches during machine OPR. This allows machine OPR to be carried out even if the axis is not returned to before the near-point dog with JOG operation, etc.
Functions characteristic to machine OPR
After returning to the machine OP, this function offsets the position by the designated distance from the machine OP position and sets that position as the OP address.
This function compensates the mechanical backlash. Feed command equivalent to the set backlash amount are output each time the movement direction changes.
Functions that compensate control
By setting the movement amount per pulse, this function can freely change the machine movement amount per commanded pulse. When the movement amount per pulse is set, a flexible positioning system that matches the machine system can be structured.
Near pass function 1 This function suppresses the machine vibration when the positioning data is switched during continuous path control in the interpolation control.
If the command speed exceeds "[Pr.8] Speed limit value" during control, this function limits the commanded speed to within the "[Pr.8] Speed limit value" setting range.
If the torque generated by the servomotor exceeds "[Pr.17] Torque limit setting value" during control, this function limits the generated torque to within the "[Pr.17] Torque limit setting value" setting range.
Functions that limit control
If a command outside of the upper/lower limit stroke limit setting range, set in the parameters, is issued, this function will not execute positioning for that command. Hardware stroke limit function
Software stroke limit function
This function carries out deceleration stop with the hardware stroke limit switch.
This function is stopped the all axes of the servo amplifier when the forced stop input signal of the Simple Motion module external input connection connector is turned ON.
This function changes the speed during positioning. Set the changed speed in the speed change buffer memory ([Cd.14] New speed value), and change the speed with the speed change request ([Cd.15] Speed change request).
This function changes the speed within a percentage of 1 to 300% during positioning. This is executed using "[Cd.13] Positioning operation speed override".
Functions that change control details
Acceleration/deceleration time change function
This function changes the acceleration/deceleration time during speed change. (Functions added to the speed change function and override function.) Torque change function This function changes the "torque limit value" during control.
This function changes the target position during the execution of positioning. At the same time, this also can change the speed. 1: The near pass function is validated only when the machine of the standard specification carries out the position control with the continuous path control mode. It cannot be invalidated with parameters.
Target position change function

Chapter 13 Control Sub Functions
This function restores the absolute position of designated axis. By this function, the OPR after power ON from OFF is not required once the OPR is executed when the system operation is started.
Absolute position system function
This function temporarily stops the operation to confirm the positioning operation during debugging, etc. The operation can be stopped at each "automatic deceleration" or "positioning data".
Skip function This function stops the positioning being executed (decelerates to a stop) when the skip signal is input, and carries out the next positioning.
M code output function This function issues a sub work (clamp or drill stop, tool change, etc.) according to the code No. (0 to 65535) set for each positioning data.
This function stores the address positioned with manual control into the positioning address ([Da.6] Positioning address/movement amount) having the designated positioning data No.
At each automatic deceleration, this function calculates the remaining distance for the Simple Motion module to reach the positioning stop position, and when the value is less than the set value, sets the "command in-position flag". When using another sub work before ending the control, use this function as a trigger for the sub work.
Acceleration/deceleration processing function This function adjusts the control acceleration/deceleration.
Pre-reading start function This function shortens the virtual start time.
Function that 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", to make the stop timing known.
Deceleration start flag function
Stop command processing for deceleration stop function
Function that selects a deceleration curve when a stop cause occurs during deceleration stop processing to speed 0.
Follow up function This function monitors the motor rotation amount with the servo turned OFF, and reflects it on the current feed value.
Speed control 10 x multiplier setting for degree axis function
This function is executed the positioning control by the 10 x speed of the command speed and the speed limit value when the setting unit is "degree".
Operation setting for incompletion of OPR function
This function is provided to select whether positioning control is operated or not, when OPR request flag is ON.
![Page 693 of the Mitsubishi Electronics QD77MS2 user manual — [1] Control details](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-693.webp?w=400)
Chapter 13 Control Sub Functions
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. This normally means the workpiece has to be moved to a position before the near-point dog by a JOG operation, etc., to start the machine OPR again. However, by using the OPR retry function, a machine OPR can be carried out regardless of the workpiece position.
The details shown below explain about the "OPR retry function". [1] Control details [2] Precautions during control [3] Setting the OPR retry function
The following drawing shows the operation of the OPR retry function. (1) OPR retry point return retry operation when the workpiece is within the
range between the upper and lower limits.
![Mitsubishi Electronics QD77MS2 — [1] Control details diagram (page 693)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-693-1.webp)
1) The movement starts in the "[Pr.44] OPR direction" by a machine OPR start. 2) The operation decelerates when the limit signal OFF is detected. 3) After stopping due to the limit signal OFF detection, the operation moves at the "[Pr.46] OPR speed" in the opposite direction of the "[Pr.44] OPR direction". 4) The operation decelerates when the near-point dog turns OFF. 5) After stopping due to the near-point dog OFF, a machine OPR is carried out in the "[Pr.44] OPR direction". 6) Machine OPR completion
Fig. 13.1 OPR retry operation by limit signal detection

Chapter 13 Control Sub Functions
(2) OPR retry operation when the workpiece is outside the range between the
upper and lower limits.
normal machine OPR is carried out.
Machine OPR start OP
Pr. 44 OPR direction
Hardware upper limit switch Hardware lower limit switch
direction", the operation carries out a deceleration stop when the near-point dog turns OFF, and then carries out a machine OPR in the direction set in "[Pr.44] OPR direction".
Pr. 44 OPR direction
Hardware upper limit switch Hardware lower limit switch
In the above example 1) and 2), "0: Positive direction" is set in "[Pr.44] OPR direction" REMARK When the "0: Positive direction" is selected in "[Pr.44] OPR direction", the upper limit switch is set
to the limit switch in the OPR direction.
set to the limit switch in the OPR direction.
If inverting the install positions of upper/lower limit switches, hardware stroke limit function cannot
be operated properly. If any problem is found for OPR operation, review "Rotation direction selection/travel direction selection (PA14)" and the wiring for the upper/lower limit switch.
Fig. 13.2 OPR retry operation from on limit (limit signal OFF)
![Page 695 of the Mitsubishi Electronics QD77MS2 user manual — [2] Precaution during control](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-695.webp?w=400)
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 "[Pr.57] Dwell time during OPR retry" when the reverse run operation is carried out due to detection by the limit signal for upper and lower limits and when the machine OPR is executed after the near point dog is turned OFF to stop the operation.
"[Pr.57] Dwell time during OPR retry" is validated when the operation stops at the "A" and "B" positions in the following drawing. (The dwell time is the same value at both positions "A" and "B".)

Fig. 13.3 Setting the dwell time during an OPR retry
(1) The following table shows whether the OPR retry function may be executed
by the "[Pr.43] OPR method".
![Mitsubishi Electronics QD77MS2 — [2] Precaution during control diagram (page 695)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-695-2.webp)
[Pr.43] OPR method Execution status of OPR retry function
Data set method Scale origin signal detection method : Execution not possible
(2) Always establish upper/lower limit switches at the upper/lower limit positions
of the machine. If the OPR retry function is used without hardware stroke limit switches, the motor will continue rotation until a hardware stroke limit signal is detected.
(3) Do not configure a system so that the servo amplifier power turns OFF by
the upper/lower limit switches. If the servo amplifier power is turned OFF, the OPR retry cannot be carried out.
(4) The operation decelerates upon detection of the hardware limit signal, and
the movement starts in the opposite direction. In this case, however, the error "Hardware stroke limit (+)" (error code: 104) or "Hardware stroke limit (–)" (error code: 105) does not occur.

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 Simple Motion module
External input signal of servo amplifier
External input signal via CPU (buffer memory of Simple Motion module)
To use the "OPR retry function", set the required details in the parameters shown in the following table, and write them to the Simple Motion module. When the parameters are set, the OPR retry function will be added to the machine OPR control. The set details are validated at the rising edge (OFF ON) of the PLC READY signal [Y0]. Set "[Pr.57] Dwell time during OPR retry" according to the user's requirements.
value Setting details Factory-set initial value
[Pr.48] OPR retry 1 Set "1: Carry out OPR retry by limit switch". 0
Set the deceleration stop time during OPR retry. (Random value between 0 and 65535 (ms)) 0 : Refer to Section 5.2 "List of parameters" for setting details.
[Pr.57] Dwell time during
Parameters are set for each axis.
It is recommended that the parameters be set whenever possible with GX Works2.
Execution by sequence program uses many sequence programs and devices. The execution becomes complicated, and the scan times will increase.
Setting item Setting · OPR retry
![Page 697 of the Mitsubishi Electronics QD77MS2 user manual — [1] Control details](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-697.webp?w=400)
Chapter 13 Control Sub Functions
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. A mechanically established OP can then be interpreted at that point.
The details shown below explain about the "OP shift function". [1] Control details [2] Setting range for the OP shift amount [3] Movement speed during OP shift [4] Precautions during control [5] Setting the OP shift function
The following drawing shows the operation of the OP shift function.
![Mitsubishi Electronics QD77MS2 — [1] Control details diagram (page 697)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-697-1.webp)
Speed selected by the" Pr. 56 Speed designation during OP shift"
Fig. 13.4 OP shift operation
![Page 698 of the Mitsubishi Electronics QD77MS2 user manual — [3] Movement speed during OP shift](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-698.webp?w=400)
Chapter 13 Control Sub Functions
Set the OP shift amount within the range from the detected zero signal to the upper/lower limit switches.
![Mitsubishi Electronics QD77MS2 — [2] Setting range for the OP shift amount diagram (page 698)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-698-1.webp)
Setting range of the negative OP shift amount Setting range of the positive OP shift amount
Fig. 13.5 Setting range for the OP shift amount
When using the OP shift function, the movement speed during the OP shift is set in "[Pr.56] Speed designation during OP shift". The movement speed during the OP shift is selected from either the "[Pr.46] OPR speed" or the "[Pr.47] Creep speed". For the acceleration/deceleration time, the value specified in "[Pr.51] OPR acceleration time selection" or "[Pr.52] OPR deceleration time selection" is used. The following drawings show the movement speed during the OP shift when a mechanical OPR is carried out by the near-point dog method. (1) OP shift operation at the "[Pr.46] OPR speed"
(When "[Pr.56] Speed designation during OP shift" is 0)
![Mitsubishi Electronics QD77MS2 — [3] Movement speed during OP shift diagram (page 698)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-698-2.webp)
When the " Pr. 53 OP shift amount" is positive
When the " Pr. 53 OP shift amount" is negative
Fig. 13.6 OP shift operation at the OPR speed

Chapter 13 Control Sub Functions
(2) OP shift operation at the "[Pr.47] Creep speed"
(When "[Pr.56] Speed designation during OP shift" is 1)

When the " Pr. 53 OP shift amount" is positive
When the " Pr. 53 OP shift amount" is negative
Fig. 13.7 OP shift operation at the creep speed
(1) The following data are set after the OP shift amount is complete.
OPR complete flag ([Md.31] Status: b4) [Md.20] Current feed value [Md.21] Machine feed value [Md.26] Axis operation status OPR request flag ([Md.31] Status: b3) is reset after completion of the OP shift. (2) "[Pr.53] OP shift amount" is not added to "[Md.34] Movement amount after
near-point dog ON". The movement amount immediately before the OP shift operation, considering near-point dog ON as "0", is stored.
To use the "OP shift function", set the required details in the parameters shown in the following table, and write them to the Simple Motion module. When the parameters are set, the OP shift function will be added to the machine OPR control. The set details are validated at the rising edge (OFF ON) of the PLC READY signal [Y0].
![Mitsubishi Electronics QD77MS2 — [5] Setting the OP shift function diagram (page 699)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-699-2.webp)
[Pr.53] OP shift amount Set the shift amount during the OP shift. 0
Select the speed during the OP shift 0: [Pr.46] OPR speed 1: [Pr.47] Creep speed
: Refer to Section 5.2 "List of parameters" for setting details.
Parameters are set for each axis. It is recommended that the parameters be set whenever possible with GX Works2.
Execution by sequence program uses many sequence programs and devices. The execution becomes complicated, and the scan times will increase.
![Page 700 of the Mitsubishi Electronics QD77MS2 user manual — [1] Control details](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-700.webp?w=400)
Chapter 13 Control Sub Functions
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" compensates the backlash amount in the mechanical system. When the backlash compensation amount is set, an extra amount of command equivalent to the set backlash amount is output every time the movement direction changes.
The details shown below explain about the "backlash compensation function". [1] Control details [2] Precautions during control [3] Setting the backlash compensation function
The following drawing shows the operation of the backlash compensation function.
![Mitsubishi Electronics QD77MS2 — [1] Control details diagram (page 700)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-700-1.webp)
Fig. 13.8 Backlash compensation amount

Chapter 13 Control Sub Functions
(1) The feed command of the backlash compensation amount are not added to
the "[Md.20] Current feed value" or "[Md.21] Machine feed value".
(2) Always carry out a machine OPR before starting the control when using the
backlash compensation function (when "[Pr.11] Backlash compensation amount" is set). The backlash in the mechanical system cannot be correctly compensated if a machine OPR is not carried out.
(3) Backlash compensation, which includes the movement amount and "[Pr.11]
Backlash compensation amount", is output the moment at the moving direction changes.
(4) Backlash compensation cannot be made during the speed control mode,
torque control mode or continuous operation to torque control mode.
To use the "backlash compensation function", set the "backlash compensation amount" 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].
value Setting details Factory-set initial value
[Pr.11]
Set the backlash compensation amount. 0
: Refer to Section 5.2 "List of parameters" for setting details.
Parameters are set for each axis.
It is recommended that the parameters be set whenever possible with GX Works2.
Execution by sequence program uses many sequence programs and devices. The execution becomes complicated, and the scan times will increase.
Setting item Setting · Backlash compensation amount

Chapter 13 Control Sub Functions
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 more.
[B] When machine OPR is completed, current value changing is completed,
speed control is started (except when current feed value change is present), or fixed-feed control is started, the function clears to "0" the cumulative values of less than one pulse which could not be output. (If the cumulative value is cleared, an error will occur by a cleared amount in the feed machine value. Control can be constantly carried out at the same machine movement amount, even when the fixed-feed control is continued.)
[C] The function compensates the mechanical system error of the command
movement amount and actual movement amount by adjusting the "electronic gear". (The "movement amount per pulse" value is defined by "[Pr.2] Number of pulses per rotation (AP)", "[Pr.3] Movement amount per rotation (AL)" and "[Pr.4] Unit magnification (AM)".)
The Simple Motion module automatically carries out the processing for [A] and [B].
The details shown below explain about the "electronic gear function", including the method for compensating the error in [C] above, etc. [1] Basic concept of the electronic gear [2] The method for compensating the error

Chapter 13 Control Sub Functions
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.
Machine Reduction ratio AP AL AM
value PLS Control unit
ENC
The basic concept of the electronic gear is represented by the following expression.
[Pr.2] (Number of pulses per rotation) = AP [Pr.3] (Movement amount per rotation) = AL [Pr.4] (Unit magnification) = AM Movement amount per rotation that considered unit magnification = S
AP
…(1) S AL AM
Set values for AP, AL and AM so that this related equation is established. However, because values to be set for AP, AL and AM have the settable range, values calculated (reduced) from the above related equation must be contained in the setting range for AP, AL and AM.

Chapter 13 Control Sub Functions
When the ball screw pitch is 10mm, the motor is the HG-KR (4194304 PLS/rev) and the reduction ratio of the reduction gear is 9/44.
M
Reduction ratio 9/44
First, find how many millimeters the load (machine) will travel ( S) when the motor turns one revolution (AP).
S (Movement amount per rotation) = Ball screw pitch Reduction ratio = 10 [mm] 9/44 = 10000.0 [m] 9/44
When the control unit is "mm", the minimum command unit is 0.1 μm.
Substitute this for the above expression (1). At this time, make calculation with the reduction ratio 9/44 remaining as a fraction.
4194304 [PLS]
S 10000.0 [m] 9/44
10000.0 9
90000.0
11250.0 11250.0 (AL) 1 (AM)
23068672 (AP)
1125.0 (AL) 10 (AM)
Thus, AP, AL and AM to be set are as follows.
AP = 23068672 ...[Pr.2] AP = 23068672 ...[Pr.2]
AL = 11250.0 …[Pr.3] or AL = 1125.0 [Pr.3]
AM = 1 [Pr.4] AM = 10 [Pr.4]
settings other than these examples.

Chapter 13 Control Sub Functions
When using PLS (pulse) as the control unit, set the electronic gear as follows.
AP = "Number of pulses per rotation" AL = "Movement amount per rotation" AM = 1
Example) When the motor is the HG-KR (4194304PLS/rev)
AP = 4194304 .. [Pr.2]
AL = 4194304 .. [Pr.3]
AM = 1 [Pr.4]
(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.
M
First, find how many degrees the load (machine) will travel ( S) when the motor turns one revolution (AP).
AP (Number of pulses per rotation) = 4194304 [PLS] S (Movement amount per rotation)
= 360.00000 [degree] Reduction ratio = 360.00000 3/11 Substitute this for the above expression (1). At this time, make calculation with the reduction ratio 3/11 remaining as a fraction.
4194304 [PLS]
S 360.00000 [degree] 3/11
360.00000 3
1080.00000
67.50000 67.50000(AL) 1 (AM)
= 2883584 (AP)
0.06750 (AL) 1000 (AM)
= · = 46137344

Chapter 13 Control Sub Functions
Thus, AP, AL and AM to be set are as follows.
AP = 2883584 ……[Pr.2] AP = 2883584 …[Pr.2]
AL = 67.50000 ….[Pr.3] or AL = 0.06750 …[Pr.3]
AM = 1 [Pr.4] AM = 1000 …….[Pr.4]
settings other than these examples.
(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.
As the travel value of the conveyor is used to exercise control, set "mm" as the control unit. First, find how many millimeters the load (machine) will travel ( S) when the motor turns one revolution (AP).
AP (Number of pulses per rotation) = 4194304 [PLS] S (Movement amount per rotation)
= 135000.0 [m] Reduction ratio = 135000.0 [m] 7/53 1/3 Substitute this for the above expression (1). At this time, make calculation with the reduction ratio 7/53 1/3 remaining as a fraction.
AP
4194304 [PLS]
S AL AM 135000.0 [m] 7/53 1/3
135000.0 7
Here, make calculation on the assumption that is equal to 3.141592654.
S AL AM 742201.2645075

Chapter 13 Control Sub Functions
AL has a significant number to first decimal place, round down numbers to two decimal places.
S AL AM 742201.2 742201.2 (AL) 1(AM)
Thus, AP, AL and AM to be set are as follows.
AP = 166723584 ….[Pr.2]
AL = 742201.2 [Pr.3]
AM = 1 [Pr.4]
This setting will produce an error for the true machine value, but it cannot be helped. This error is as follows.
7422012/166723584 - 1 100 = -8.69 10 –6 [%] 2362500 /166723584 AP (Number of pulses per rotation) = 4194304 [PLS] S (Movement amount per rotation)
= 135000.0 [m] Reduction ratio = 135000.0 [m] 7/53 1/3 It is equivalent to an about 86.9 [m] error in continuous 1km feed.
AP AL
PLS
PLS
Calculate the number of pulses (AP) and movement amount (AL) for the linear encoder in the following conditions.
Linear encoder resolution = Number of pulses (AP)
Number of pulses (AP) [PLS] Movement amount (AL) [m] = 1 0.05 = 20 1.0
Set the number of pulses in "[Pr.2] Number of pulses per rotation (AP)", and the movement amount in "[Pr.3] Movement amount per rotation (AL)" in the actual setting.
servo parameter "Linear encoder resolution setting Numerator (PS02)" and "Linear encoder resolution setting Denominator (PS03)". Refer to each servo amplifier instruction manual for details.

Chapter 13 Control Sub Functions
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. The "Error compensation amount", which is used for error compensation, is defined as follows:
Error compensation amount = Command movement amount (L) …(2) Actual movement amount (L')
The electronic gear including an error compensation amount is shown below.
L = AP'
AL AM L' AL' AM'
AP AL AM
L L'
1 if there is no error (in regular case)
Electronic gear taking an error into consideration
value PLS Servo amplifier
AP' AL' AM' Control
Number of pulses per rotation (AP) : 4194304 [PLS]
Command movement amount (L) Actual movement amount (L')
: 100 [mm] : 101 [mm]
4194304 (AP')
ALAM L' 5000.0 1 101 5050(AL') 1(AM')
Number of pulses per rotation (AP') : 4194304 …[Pr.2]
Set the post-compensation "[Pr.2] Number of pulses per rotation (AP')", "[Pr.3] Movement amount per rotation (AL')", and "[Pr.4] Unit magnification (AM')" in the parameters, and write them to the Simple Motion module.
The set details are validated at the rising edge (OFF ON) of the PLC READY signal [Y0].
![Page 709 of the Mitsubishi Electronics QD77MS2 user manual — [1] Control details](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-709.webp?w=400)
Chapter 13 Control Sub Functions
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.
[Near pass function] The extra movement amount occurring at the end of each positioning data unit being continuously executed is carried over to the next positioning data unit. Alignment is not carried out, and thus the output speed drops are eliminated, and the mechanical vibration occurring during speed changes can be suppressed. Because alignment is not carried out, the operation is controlled on a path that passes near the position set in "[Da.6] Positioning address/movement amount".
The details shown below explain about the "near pass function". [1] Control details [2] Precautions during control
The following drawing shows the path of the continuous path control by the 2- axis linear interpolation control.
[The path of the near pass]
Da. 6 Positioning address
Path of positioning data No.3
Path of positioning data No. 4
Speed dropping does not occur.
Positioning data No. 3
Positioning data No. 4
Fig. 13.9 The path of the continuous path control
t
![Page 710 of the Mitsubishi Electronics QD77MS2 user manual — [2] Precautions during control](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-710.webp?w=400)
Chapter 13 Control Sub Functions
(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. (See below) For this reason, the output will suddenly reverse when the reference axis movement direction changes. To prevent the sudden output reversal, assign not the continuous path control "11", but the continuous positioning control "01" to the positioning data of the passing point.
[Operation of reference axis]
Positioning data No.1
Positioning data No.2
Reference axis Positioning data No.1 Continuous path control
Positioning data No.1 Positioning data No.2
[Operation of partner axis for interpolation]
Positioning data No.1 Positioning data No.2
Fig. 13.10 Path and output speed of various axes when movement direction varies
during continuous path control
![Page 711 of the Mitsubishi Electronics QD77MS2 user manual — [1] Relation between the speed limit function and various controls](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-711.webp?w=400)
Chapter 13 Control Sub Functions
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. 13.4.1 Speed limit function
The speed limit function limits the command speed to a value within the "speed limit value" setting range when the command speed during control exceeds the "speed limit value".
The details shown below explain about the "speed limit function". [1] Relation between the speed limit function and various controls [2] Precautions during control [3] Setting the speed limit function
The following table shows the relation of the "speed limit function" and various controls.
![Mitsubishi Electronics QD77MS2 — [1] Relation between the speed limit function and various controls diagram (page 711)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-711-1.webp)
Setting value invalid JUMP instruction, NOP instruction, LOOP to LEND
: Always set – : Setting not required (The setting value is invalid. Use the initial value or a value within
the setting range.)

Chapter 13 Control Sub Functions
If any axis exceeds "[Pr.8] Speed limit value" during 2- to 4-axis speed control, the axis in excess of the speed limit value is controlled at the speed limit value. The speeds of the other axes interpolated are suppressed depending on their command speed ratios. If the reference axis exceeds "[Pr.8] Speed limit value" during 2- to 4-axis linear interpolation control, 2- to 4-axis fixed-feed control or 2-axis circular interpolation control, the reference axis is controlled at the speed limit value (The speed limit does not function on the interpolation axis side.)
To use the "speed limit function", set the "speed limit value" in the parameters shown in the following table, and write them to the Simple Motion module. The set details are validated after they are written to the Simple Motion module.
value Setting details Factory-set initial value
[Pr.8] Speed limit value Set the speed limit value (max. speed during control). 200000
Set the speed limit value during JOG operation (max.
[Pr.31] JOG speed limit
speed during control). (Note that "[Pr.31] JOG speed
limit value" shall be less than or equal to "[Pr.8] Speed
limit value".)
: Refer to Section 5.2 "List of parameters" for setting details.
Parameters are set for each axis.
It is recommended that the parameters be set whenever possible with GX Works2.
Execution by sequence program uses many sequence programs and devices. The execution becomes complicated, and the scan times will increase.
Setting item Setting · value
![Page 713 of the Mitsubishi Electronics QD77MS2 user manual — [1] Relation between the torque limit function and various controls](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-713.webp?w=400)
Chapter 13 Control Sub Functions
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. It controls the operation so that unnecessary force is not applied to the load and machine.
The details shown below explain about the "torque limit function". [1] Relation between the torque limit function and various controls [2] Control details [3] Precautions during control [4] Setting the torque limit function
The following table shows the relation of the "torque limit function" and various controls.
Control type Torque limit
function Torque limit value *
"[Pr.17] Torque limit setting value" or "[Cd.101] Torque output setting value".
: After the "[Pr.47] Creep
speed" is reached, this value becomes the "[Pr.54] OPR torque limit value". Fast OPR control
1-axis linear control 2 to 4-axes linear interpolation control
1-axis fixed-feed control 2 to 4-axes fixed-feed control (interpolation)
"[Pr.17] Torque limit setting value" or "[Cd.101] Torque output setting value". Major positioning control
2-axis circular interpolation control
1 to 4-axes speed control Speed-position switching control Position-speed switching control
Current value changing –
Setting value is invalid. JUMP instruction, NOP instruction, LOOP to LEND –
JOG operation, Inching operation "[Pr.17] Torque limit setting value" or "[Cd.101] Torque output setting value". Manual pulse generator operation
Torque limit value before switching control mode is continued.
Expansion control Speed-torque control
: Set when required (Set to " – " when not used.) – : Setting not required (The setting value is invalid. Use the initial value or a value
value" or "[Cd.113] Reverse new torque value" is set to "0".
![Page 714 of the Mitsubishi Electronics QD77MS2 user manual — [3] Precautions during control](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-714.webp?w=400)
Chapter 13 Control Sub Functions
The following drawing shows the operation of the torque limit function.
PLC READY signal [Y0]
All axis servo ON [Y1]
Positioning start signal [Y10]
Torque limit setting value Pr.17
Torque output setting value Cd.101
Torque change function switching request Cd.112
0 (Forward/reverse torque limit value same setting)
New torque value/ forward new torque value Cd.22
Torque limit stored value/ forward torque limit stored value
Md.35
0 300 300 100 150 150
1: The torque limit setting value or torque output setting value becomes effective at the PLC READY signal [Y0] rising edge (however, after the servo turned ON.) If the torque output setting value is "0" or larger than the torque limit setting value, the torque limit setting value will be its value. 2: The torque limit setting value or torque output setting value becomes effective at the positioning start signal [Y10] rising edge. If the torque output setting value is "0" or larger than the torque limit setting value, the torque limit setting value will be its value. 3: The torque change value is cleared to "0" at the positioning start signal [Y10] rising edge.
(Note): Refer to Section 3.3 for input/output signal or Chapter 5 for buffer memory address of QD77MS16.
Fig. 13.11 Torque limit function operation
(1) When limiting the torque at the "[Pr.17] Torque limit setting value", confirm
that "[Cd.22] New torque value/forward new torque value" or "[Cd.113] Reverse new torque value" is set to "0". If this parameter is set to a value besides "0", the setting value will be validated, and the torque will be limited at that value. (Refer to Section 13.5.4 "Torque change function" for details about the "new torque value".)
(2) When the "[Pr.54] OPR torque limit value" exceeds the "[Pr.17] Torque limit
setting value", the error "OPR torque limit value error" (error code: 995) occurs.
(3) When the operation is stopped by torque limiting, the droop pulse will remain
in the deviation counter. If the load torque is eliminated, operation for the amount of droop pulses will be carried out. Note that the movement might start suddenly as soon as the load torque is eliminated.
![Page 715 of the Mitsubishi Electronics QD77MS2 user manual — [4] Setting the torque limit function](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-715.webp?w=400)
Chapter 13 Control Sub Functions
(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].
![Mitsubishi Electronics QD77MS2 — [4] Setting the torque limit function diagram (page 715)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-715-1.webp)
setting value Set the torque limit value as a percentage. 300
value Set the torque limit value after the "[Pr.47] Creep speed" is reached. Set as a percentage. 300
b) The set details are validated at the rising edge (OFF ON) of the positioning start signal [Y10].
![Mitsubishi Electronics QD77MS2 — [4] Setting the torque limit function diagram (page 715)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-715-2.webp)
setting value Set the torque output value as a percentage. 0 : Refer to Section 5.2 "List of parameters" or Section 5.7 "List of control data" for setting details. : Torque limit value: Will be an upper limit value of the torque change value. Even if a larger value has been
mistakenly input for the torque change value, it is restricted within the torque limit setting values to prevent an erroneous entry. (Even if a value larger than the torque limit setting value has been input to the torque change value, the torque value is not changed.) : Torque output setting value: to be taken at the start of positioning, and used as a torque limit value. If the value
is "0" or larger than the torque limit setting value, the parameter "torque limit setting value" is taken at the start.
(2) The "torque limit value" set in the Simple Motion module is set in the
"[Md.35] Torque limit stored value/forward torque limit stored value" or "[Md.120] Reverse torque limit stored value". [QD77MS4 use]
![Mitsubishi Electronics QD77MS2 — [4] Setting the torque limit function diagram (page 715)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-715-3.webp)
OPR torque limit value New torque value/ forward new torque value
Torque limit stored value/ forward torque limit stored value
(Note): Refer to Chapter 5 for buffer memory address of QD77MS16.
Fig. 13.12 Limiting the torque to the servo amplifier (Axis 1)

Chapter 13 Control Sub Functions
(3) The following table shows the "[Md.35] Torque limit stored value/forward
torque limit stored value" and "[Md.120] Reverse torque limit stored value" of the buffer memory address.
Buffer memory address QD77MS2 QD77MS4 QD77MS16
Torque limit stored value/forward torque limit stored value
The "torque limit value/forward torque limit stored value" valid at that time is stored. ([Pr.17], [Pr.54], [Cd.22] or [Cd.101])
[Md.35]
The "reverse torque limit stored value" is stored depending on the control status. ([Pr.17], [Pr.54], [Cd.22], [Cd.101] or [Cd.113])
[Md.120] Reverse torque
n: Axis No.-1 : Refer to Section 5.6 "List of monitor data" for information on the storage details.
Parameters are set for each axis.
It is recommended that the parameters be set whenever possible with GX Works2.
Execution by sequence program uses many sequence programs and devices. The execution becomes complicated, and the scan times will increase.
Use "[Md.120] Reverse torque limit stored value" and "[Cd.113] Reverse new
torque value" only when "1: Forward/reverse torque limit value individual setting" is set in "[Cd.112] Torque change function switching request". (Refer to Section 13.5.4 "Torque change function".)
![Page 717 of the Mitsubishi Electronics QD77MS2 user manual — [1] Differences in the moveable range when "current feed value" and](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-717.webp?w=400)
Chapter 13 Control Sub Functions
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. In the Simple Motion module, the "current feed value" and "machine feed value" are used as the addresses indicating the current position. However, in the "software stroke limit function", the address used to carry out the limit check is designated in the "[Pr.14] Software stroke limit selection". (Refer to Section 9.1.4 "Confirming the current value" or details on the "current feed value" and "machine feed value".) The upper and lower limits of the moveable range of the workpiece are set in "[Pr.12] Software stroke limit upper limit value"/"[Pr.13] Software stroke limit lower limit value".
The details shown below explain about the "software stroke limit function". [1] Differences in the moveable range when "current feed value" and "machine feed
value" are selected. [2] Software stroke limit check details [3] Relation between the software stroke limit function and various controls [4] Precautions during software stroke limit check [5] Setting the software stroke limit function [6] Invalidating the software stroke limit [7] Setting when the control unit is "degree"
"machine feed value" are selected. The following drawing shows the moveable range of the workpiece when the software stroke limit function is used.
![Mitsubishi Electronics QD77MS2 — [1] Differences in the moveable range when "current feed value" and diagram (page 717)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-717-1.webp)
Software stroke limit (lower limit) Software stroke limit (upper limit)
Fig. 13.13 Workpiece moveable range

Chapter 13 Control Sub Functions
The following drawing shows the differences in the operation when "[Md.20] Current feed value" and "[Md.21] Machine feed value" are used in the moveable range limit check.
Assume the current stop position is 2000, and the upper stroke limit is set to 5000.
Md. 20 Current feed value Md. 21 Machine feed value
When the current value is changed by a new current value command from 2000 to 1000, the current value will change to 1000, but the machine feed value will stay the same at 2000. 1) When the machine feed value is set at the limit The machine feed value of 5000 (current feed value: 4000) becomes the upper stroke limit.
Md. 20 Current feed value Md. 21 Machine feed value
4000 5000 5000 6000
Md. 20 Current feed value Md. 21 Machine feed value
4000 5000 5000 6000
Fig. 13.14 Software stroke limits of the current feed value and machine feed value
POINT When "machine feed value" is set in "[Pr.14] Software stroke limit selection", the moveable range becomes an absolute range referenced on the OP. When "current feed value" is set, the moveable range is the relative range from the "current feed value".
![Page 719 of the Mitsubishi Electronics QD77MS2 user manual — [2] Software stroke limit check details](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-719.webp?w=400)
Chapter 13 Control Sub Functions
Check details Processing when
an error occurs
![Page 720 of the Mitsubishi Electronics QD77MS2 user manual — [3] Relation between the software stroke limit function and various](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-720.webp?w=400)
Chapter 13 Control Sub Functions
controls
Control type Limit check Processing at check
The current value will not be changed if the home position address is outside the software stroke limit range. Other than "Data set method" – Check not carried out. Fast OPR control –
OPR control Machine OPR control
2 to 4-axes axis linear interpolation control
Checks 1) and 2) in the previous section [2] are carried out. For speed control : The axis decelerates to a stop
1-axis fixed-feed control 2 to 4-axes fixed-feed control (interpolation)
when it exceeds the software stroke limit range. For position control: The axis comes to an immediate
2-axis circular interpolation control
1 to 4-axes speed control 1, 2 Speed-position switching control Position-speed switching control
stop when it exceeds the software stroke limit range.
Current value changing The current value will not be changed if the new current value is outside the software stroke limit range. JUMP instruction, NOP instruction, LOOP to LEND – Check not carried out.
JOG operation, Inching operation 3 Check 1) in the previous section [2] is carried out. The machine will carry out a deceleration stop when the software stroke limit range is exceeded. If the address is outside the software stroke limit range, the operation can only be started toward the moveable range.
Manual pulse generator operation 3
Check 1) in the previous section [2] is carried out. The mode switches to the position control mode when the software stroke limit range is exceeded, and the operation immediately stops.
Expansion control Speed-torque control
: Check valid : Check is not made when the current feed value is not updated (Refer to [Pr.21]) at the setting of "current feed value"
in "[Pr.14] Software stroke limit selection" during speed control. – : Check not carried out (check invalid).
: Valid only when "0: valid" is set in the "[Pr.15] Software stroke limit valid/invalid setting". 1 : The value in "[Md.20] Current feed value" will differ according to the "[Pr.21] Current feed value during speed control" setting. 2: When the unit is "degree", check is not made during speed control. 3: When the unit is "degree", check is not carried out.
![Page 721 of the Mitsubishi Electronics QD77MS2 user manual — [4] Precautions during software stroke limit check](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-721.webp?w=400)
Chapter 13 Control Sub Functions
(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. Every axis will not start if an error occurs, even if it only occurs in one axis. (3) During circular interpolation control, the "[Pr.12] Software stroke limit upper
limit value"/"[Pr.13] Software stroke limit lower limit value" may be exceeded. In this case, a deceleration stop will not be carried out even if the stroke limit is exceeded. Always install an external limit switch if there is a possibility the stroke limit will be exceeded.
![Mitsubishi Electronics QD77MS2 — [4] Precautions during software stroke limit check diagram (page 721)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-721-1.webp)
: The software stroke limit check is carried out for the following addresses during circular interpolation control. (Note that " Da. 7 Arc address" is carried out only for circular interpolation
control with sub point designation.) Current value/end point address ( Da. 6 )/arc address ( Da. 7 )
(4) If an error is detected during continuous path control, the axis stops
immediately on completion of execution of the positioning data located right before the positioning data in error.
![Mitsubishi Electronics QD77MS2 — [4] Precautions during software stroke limit check diagram (page 721)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-721-2.webp)
the operation immediately stops after positioning data No. 12 has been executed.

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.
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 module. The set details are validated at the rising edge (OFF ON) of the PLC READY signal [Y0].
value Setting details Factory-set initial value
Software stroke limit upper limit value
[Pr.12]
Set the upper limit value of the moveable range. 2147483647
Software stroke limit lower limit value
[Pr.13]
Set the lower limit value of the moveable range. –2147483648
[Pr.14] Software stroke
Set whether to use the "[Md.20] Current feed value" or "[Md.21] Machine feed value" as the "current value".
Software stroke limit valid/invalid setting
0:Valid Set whether the software stroke limit is validated or invalidated during manual control (JOG operation, Inching operation, manual pulse generator operation).
[Pr.15]
: Refer to Section 5.2 "List of parameters" for setting details.
To invalidate the software stroke limit, set the following parameters as shown, and write them to the Simple Motion module. (Set the value within the setting range.)
upper limit value = [Pr.13] Software stroke limit lower limit value
[Pr.12] Software stroke limit
(To invalidate only the manual operation, set "1: software stroke limit invalid" in the "[Pr.15] Software stroke limit valid/invalid setting".) The set details are validated at the rising edge (OFF ON) of the PLC READY signal [Y0]. When the unit is "degree", the software stroke limit check is not performed during speed control (including speed control in speed-position switching control or position-speed switching control) or during manual control, independently of the values set in [Pr.12], [Pr.13] and [Pr.15].
Parameters are set for each axis.
It is recommended that the parameters be set whenever possible with GX Works2.
Execution by sequence program uses many sequence programs and devices. The execution becomes complicated, and the scan times will increase.
Setting item Setting · limit selection

Chapter 13 Control Sub Functions
Current value address
The "[Md.20] Current feed value" address is a ring address between 0 and 359.99999° .
359.99999° 359.99999°
Fig. 13.15 Current value address when the control unit is "degree".
The upper limit value/lower limit value of the software stroke limit is a value between 0 and 359.99999° .
(1) Setting when the software stroke limit is to be validated.
When the software stroke limit is to be validated, set the upper limit value in a clockwise direction from the lower limit value.
315 Set in a clockwise direction
(a) Set the movement range of section A as follows. Software stroke limit lower limit value 315.00000° Software stroke limit upper limit value 90.00000°
(b) Set the movement range of section B as follows. Software stroke limit lower limit value 90.00000° Software stroke limit upper limit value 315.00000°
Fig. 13.16 Software stroke limit when the control unit is "degree"

Chapter 13 Control Sub Functions
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. Damage to the machine can be prevented by stopping the control before the upper/lower limit of the physical moveable range is reached. The hardware stroke limit is able to use the following signals. (Refer to the "[Pr.80] External input signal selection".)
External input signal of QD77MS
External input signal of servo amplifier
External input signal via CPU (buffer memory of QD77MS)
The details shown below explain about the "hardware stroke limit function". [1] Control details [2] Wiring the hardware stroke limit [3] Precautions during control [4] When the hardware stroke limit function is not used
![Page 725 of the Mitsubishi Electronics QD77MS2 user manual — [1] Control details](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-725.webp?w=400)
Chapter 13 Control Sub Functions
The following drawing shows the operation of the hardware stroke limit function.
![Mitsubishi Electronics QD77MS2 — [1] Control details diagram (page 725)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-725-1.webp)
Deceleration stop at upper limit switch detection Deceleration stop at lower limit switch detection Servo amplifier QD77MS
Deceleration stop at upper limit switch detection Deceleration stop at lower limit switch detection
(3) External input signal via CPU (buffer memory of QD77MS)
Deceleration stop at upper limit switch detection Deceleration stop at lower limit switch detection
Fig. 13.17 Hardware stroke limit function operation
![Page 726 of the Mitsubishi Electronics QD77MS2 user manual — [3] Precautions during control](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-726.webp?w=400)
Chapter 13 Control Sub Functions
When using the hardware stroke limit function, wire the terminals of the QD77MS/servo amplifier upper/lower limit stroke limit as shown in the following drawing. As for the 24VDC power supply, the direction of current can be switched. (When "[Pr.22] Input signal logic selection" is set to the initial value) When using the hardware stroke limit function with the external input signal via CPU (buffer memory of QD77MS), wiring differs depending on the input module. : When "external input signal of the servo amplifier" is set in "[Pr.80] External input signal selection"
at MR-JE-B use, any errors or warnings do not occur. However, the external input signal
(upper/lower limit signal, near-point dog signal) cannot be operated.
FLS
DI1 (FLS)
RLS
DI2 (RLS)
COM
DICOM
24VDC
24VDC
(Note): Wire the limit switch installed in the direction to which "Current feed value" increases as upper
limit switch and the limit switch installed in the limit switch installed in the direction to which "Current feed value" decreases as lower limit switch. If inverting the install positions of upper/lower limit switches, hardware stroke limit function cannot be operated properly. In addition, the servomotor does not stop. Refer to each servo amplifier instruction manual for details about the "Rotation direction selection/travel direction selection (PA14)".
Fig. 13.18 Wiring when using the hardware stroke limit
(1) If the machine is stopped outside the Simple Motion module control range
(outside the upper/lower limit switches), or if stopped by hardware stroke limit detection, the starting for the "OPR control", "major positioning control", and "high-level positioning control" and the control mode switching cannot be executed. To carry out these types of control again, return the workpiece to the Simple Motion module control range by a "JOG operation", "inching operation" or "manual pulse generator operation". (2) When "[Pr.22] Input signal logic selection" is set to the initial value, the
Simple Motion module cannot carry out the positioning control if FLS (limit switch for upper limit) is separated from DICOM or RLS (limit switch for lower limit) is separated from DICOM (including when wiring is not carried out).
Servo amplifier

Chapter 13 Control Sub Functions
When not using the hardware stroke limit function, wire the terminals of the QD77MS/servo amplifier upper/lower limit stroke limit as shown in the following drawing. As for the 24VDC power supply, the direction of current can be switched. When the logic of FLS and RLS is set to "positive logic" using "[Pr.22] Input signal logic selection", positioning control can be carried out even if FLS and RLS of the following signals are not wired.
External input signal of QD77MS
External input signal of servo amplifier
External input signal via CPU (buffer memory of QD77MS) (For details, refer to Section 14.5 "External I/O signal logic switching function".)
FLS
DI1 (FLS)
RLS
DI2 (RLS)
COM
DICOM
24VDC
24VDC
Fig. 13.19 Wiring when not using the hardware stroke limit function
(When "[Pr.22] Input signal logic selection" is the initial value)
Servo amplifier
![Page 728 of the Mitsubishi Electronics QD77MS2 user manual — [1] Control details](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-728.webp?w=400)
Chapter 13 Control Sub Functions
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 "[Pr.82] Forced stop valid/invalid selection" is set "1: Invalid". Be sure to use the forced stop signal (EMI) of the servo amplifier.
By the Simple Motion module external input connection connector is connected forced stop input, this function is available for all axes of servo amplifier. (The initial value is "0: Valid".) The forced stop input valid/invalid is selected by "[Pr.82] Forced stop valid/invalid selection".
The details shown below explain about the "forced stop function". [1] Control details [2] Wiring the forced stop [3] Setting the forced stop [4] How to check the forced stop [5] Precautions during control
The servo warning "Controller forced stop warning" (warning No.: E7) will occur if turned on the forced stop input signal when the "[Pr.82] Forced stop valid/invalid selection" is set "0: Valid". And then it is available for all axes of servo amplifier. The outline of the forced stop process is shown below.
Stop process OPR control
ON signal after stop
status ([Md.26])
All axes No change Servo OFF Servo OFF or free run (The operation stops with dynamic
![Page 729 of the Mitsubishi Electronics QD77MS2 user manual — [2] Wiring the forced stop](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-729.webp?w=400)
Chapter 13 Control Sub Functions
The following drawing shows the operation of the forced stop function.

(Note): Refer to Section 3.3 for input/output signal and Chapter 5 for buffer memory address of QD77MS16.
Fig. 13.20 Operation for the forced stop function
When using the forced stop function, wire the terminals of the Simple Motion module forced stop input as shown in the following drawing. As for the 24VDC power supply, the direction of current can be switched.
![Mitsubishi Electronics QD77MS2 — [2] Wiring the forced stop diagram (page 729)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-729-2.webp)
Fig. 13.21 Wiring when using the forced stop
![Page 730 of the Mitsubishi Electronics QD77MS2 user manual — [5] Precautions during control](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-730.webp?w=400)
Chapter 13 Control Sub Functions
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].
Set the forced stop function. 0: Valid (Forced stop is used) 1: Invalid (Forced stop is not used) 35
[Pr.82] Forced stop valid/ invalid
: Refer to Section 5.2.3 "Detailed parameters 1" for details on the setting details.
To use the states (ON/OFF) of forced stop input, set the parameters shown in the following table.
Stores the states (ON/OFF) of forced stop input. 0: Forced stop input ON (Forced stop) 1: Forced stop input OFF (Forced stop release) 1431 4231
[Md.50] Forced stop input
: Refer to Section 5.6.1 "System monitor data" for details on the storage details.
(1) After the "Forced stop input" is released, the servo ON/OFF is valid for the
status of all axis servo ON [Y1]. (2) If the setting is other than 0 and 1, the error "Forced stop valid/invalid setting
error" (error code: 937) occurs. (3) The "[Md.50] Forced stop input" is stored "1" by setting "[Pr.82] Forced stop
"Servo READY signal OFF during operation" (error code: 102) does not occur.

Chapter 13 Control Sub Functions
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. Refer to Section 3.2.5 "Combination of QD77MS main functions and sub functions" for combination with main function.
Both the "speed change function" or "override function" change the speed, but the differences between the functions are shown below. Use the function that corresponds to the application.
The speed is changed at any time, only in the control being executed. The new speed is directly set.
The speed is changed for all control to be executed. The new speed is set as a percent (%) of the command speed.
POINT "Speed change function" and "Override function" cannot be used in the manual pulse generator operation and speed-torque control.
The speed control function is used to change the speed during control to a newly designated speed at any time. The new speed is directly set in the buffer memory, and the speed is changed by a speed change command ([Cd.15] Speed change request) or external command signal. During the machine OPR, a speed change to the creep speed cannot be carried out after deceleration start because the near point dog ON is detected.
The details shown below explain about the "speed change function". [1] Control details [2] Precautions during control [3] Setting the speed change function from the PLC CPU [4] Setting the speed change function using an external command signal
"Speed change function" · "Override function"
![Page 732 of the Mitsubishi Electronics QD77MS2 user manual — [2] Precautions during control](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-732.webp?w=400)
Chapter 13 Control Sub Functions
The following drawing shows the operation during a speed change.
![Mitsubishi Electronics QD77MS2 — [1] Control details diagram (page 732)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-732-1.webp)
Fig. 13.22 Speed change operation
(1) Control is carried out as follows at the speed change during continuous path
control. a) When no speed designation (current speed) is provided in the next
positioning data:
The next positioning data is controlled at the "[Cd.14] New speed
value". b) When a speed designation is provided in the next positioning data:
The next positioning data is controlled at its "[Da.8] Command
speed".
![Mitsubishi Electronics QD77MS2 — [2] Precautions during control diagram (page 732)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-732-2.webp)
[a] When no speed designation (current speed) is provided. [b] When a speed designation is provided.
Fig. 13.23 Speed change during continuous path control
(2) When changing the speed during continuous path control, the speed change
will be ignored if there is not enough distance remaining to carry out the change.

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 "[Cd.14] New speed value".

Fig. 13.24 Restarting speed after speed change made during position control
(4) When the speed is changed by setting "[Cd.14] New speed value" to "0", the
operation is carried out as follows.
When "[Cd.15] Speed change request" is turned ON, the speed change 0
flag ([Md.31] Status: b10) turns ON. (During interpolation control, the speed change 0 flag on the reference axis side turns ON.)
The axis stops, but "[Md.26] Axis operation status" does not change, and
the BUSY signal remains ON. (If a stop signal is input, the BUSY signal will turn OFF, and "[Md.26] Axis operation status" will change to "stopped".)
In this case, setting the "[Cd.14] New speed value" to a value besides "0" will turn OFF the speed change 0 flag ([Md.31] Status: b10), and enable continued operation. [QD77MS4 operation example]

(Note): Refer to Section 3.3 for input/output signal of QD77MS16.
Fig. 13.25 Speed change at new speed value "0"

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 "[Pr.8] Speed limit value" when the value set in "[Cd.14] New speed value" is larger than the "[Pr.8] Speed limit value".
(7) When the speed is changed during interpolation control, the required speed
is set in the reference axis.
(8) When carrying out consecutive speed changes, be sure there is an interval
between the speed changes of 100ms or more. (If the interval between speed changes is short, the Simple Motion module will not be able to track, and it may become impossible to carry out commands correctly.)
(9) When a speed change is requested simultaneously for multiple axes, change
the speed one by one.
Therefore, the start timing of speed change is different for each axis.
(10) Speed change cannot be carried out during the machine OPR. A request for
speed change is ignored.
(11) When deceleration is started by the speed change function, the deceleration
start flag does not turn ON.
(12) The speed change function cannot be used during speed control mode,
torque control mode or continuous operation to torque control mode. Refer to Section 12.1 "Speed-torque control" for the speed change during speed control mode or continuous operation to torque control mode.
The following shows the data settings and sequence program example for changing the control speed of axis 1 from the PLC CPU. (In this example, the control speed is changed to "20.00mm/min".)
(1) Set the following data.
(Use the speed change time chart shown in section (2) below as a reference, and set using the sequence program shown in section (3).)
[Cd.14] New speed value 2000 Set the new speed. 1514+100n 1515+100n 4314+100n 4315+100n
[Cd.15] Speed change
n: Axis No.-1 : Refer to Section 5.7 "List of control data" for details on the setting details.
Buffer memory address · Setting item Setting · value Setting details

Chapter 13 Control Sub Functions
(2) The following shows the speed change time chart. [QD77MS4 operation example]

(Note): Refer to Section 3.3 for input/output signal of QD77MS16.
Fig. 13.26 Time chart for changing the speed from the PLC CPU
(3) Add the following sequence program to the control program, and write it to
the PLC CPU.

![Page 736 of the Mitsubishi Electronics QD77MS2 user manual — [4] Setting the speed change function using an external command](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-736.webp?w=400)
Chapter 13 Control Sub Functions
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. (Use the speed change time chart shown in section (2) below as a reference, and set using the sequence program shown in section (3).)
![Mitsubishi Electronics QD77MS2 — [4] Setting the speed change function using an external command diagram (page 736)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-736-1.webp)
[Cd.14] New speed value 1000000 Set the new speed. 1514+100n 1515+100n 4314+100n 4315+100n
n: Axis No.-1
: Set the external command signal (D1) in "[Pr.95] External command signal selection" at QD77MS16 use.
Refer to Section 5.2 "List of parameters" and Section 5.7 "List of control data" for details on the setting details.
(2) The following shows the speed change time chart. [QD77MS4 operation example]
![Mitsubishi Electronics QD77MS2 — [4] Setting the speed change function using an external command diagram (page 736)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-736-2.webp)
(Note): Refer to Section 3.3 for input/output signal of QD77MS16.
Fig. 13.27 Time chart for changing the speed using an external command signal

Chapter 13 Control Sub Functions
(3) Add the following sequence program to the control program, and write it to
the PLC CPU.

[Speed change processing] K1 D108 K1514 H0 DTOP
K1 K1 K1505 H0 TOP
![Page 738 of the Mitsubishi Electronics QD77MS2 user manual — [1] Control details](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-738.webp?w=400)
Chapter 13 Control Sub Functions
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 "[Cd.13] Positioning operation speed override". [1] Control details [2] Precautions during control [3] Setting the override function
The following shows that operation of the override function.
will not change. 3) If "[Cd.13] Positioning operation speed override" is set with a value less than
"100 (%)" and "[Md.22] Feedrate" is less than "1", the warning "Less than minimum speed" (warning code: 110) occurs and "[Md.22] Feedrate" is set with "1" in any speed unit. 4) If there is not enough remaining distance to change the speed due to the
"override function", when the speed is changed during the position control of speed-position switching control or position-speed switching control, the operation will be carried out at the speed that could be changed. 5) If the speed changed by the override function is greater than the "[Pr.8]
Speed limit value", the warning "Speed limit value over" (warning code: 501) will occur and the speed will be controlled at the "[Pr.8] Speed limit value". The "[Md.39] In speed limit flag" will turn ON.
![Mitsubishi Electronics QD77MS2 — [1] Control details diagram (page 738)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-738-1.webp)
Not enough remaining distance could be secured, so operation is carried out at an increased speed.
Fig. 13.28 Override function operation

Chapter 13 Control Sub Functions
(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" (warning code: 500) occurs
and the speed cannot be changed by the override function in the following cases. (The value set in "[Cd.13] Positioning operation speed override" is validated after a deceleration stop.)
During deceleration by a stop command
During automatic deceleration during positioning control (3) When the speed is changed by the override function during interpolation
control, the required speed is set in the reference axis. (4) When carrying out consecutive speed changes by the override function, be
sure there is an interval between the speed changes of 100ms or more. (If the interval between speed changes is short, the Simple Motion module will not be able to track, and it may become impossible to carry out commands correctly.) (5) When a machine OPR is performed, the speed change by the override
function cannot be carried out after a deceleration start to the creep speed following the detection of near-point dog ON. In this case, a request for speed change is ignored. (6) When deceleration is started by the override function, the deceleration start
flag does not turn ON. (7) The override function cannot be used during speed control mode, torque
control mode or continuous operation to torque control mode.
The following shows the data settings and sequence program example for setting the override value of axis 1 to "200%". (1) Set the following data. (Use the speed change time chart shown in section
(2) below as a reference, and set using the sequence program shown in section (3).)
Positioning operation speed override
[Cd.13]
200 Set the new speed as a percentage (%). 1513+100n 4313+100n
n: Axis No.-1 : Refer to Section 5.7 "List of control data" for details on the setting details.
Buffer memory address · Setting item Setting · value Setting details

Chapter 13 Control Sub Functions
(2) The following shows a time chart for changing the speed using the override

(Note): Refer to Section 3.3 for input/output signal of QD77MS16.
Fig.13.29 Time chart for changing the speed using the override function
(3) Add the following sequence program to the control program, and write it to
the PLC CPU.


Chapter 13 Control Sub Functions
The "acceleration/deceleration time change function" is used to change the acceleration/deceleration time during a speed change to a random value when carrying out the speed change by the "speed change function" and "override function". In a normal speed change (when the acceleration/deceleration time is not changed), the acceleration/deceleration time previously set in the parameters ([Pr.9], [Pr.10], and [Pr.25] to [Pr.30] values) is set in the positioning parameter data items [Da.3] and [Da.4], and control is carried out with that acceleration/deceleration time. However, by setting the new acceleration/deceleration time ([Cd.10], [Cd.11]) in the control data, and issuing an acceleration/deceleration time change enable command ([Cd.12] Acceleration/deceleration time change during speed change, enable/disable selection) to change the speed when the acceleration/deceleration time change is enabled, the speed will be changed with the new acceleration/deceleration time ([Cd.10], [Cd.11]).
The details shown below explain about the "acceleration/deceleration time change function". [1] Control details [2] Precautions during control [3] Setting the acceleration/deceleration time change function
![Page 742 of the Mitsubishi Electronics QD77MS2 user manual — [1] Control details](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-742.webp?w=400)
Chapter 13 Control Sub Functions
After setting the following two items, carry out the speed change to change the acceleration/deceleration time during the speed change.
Set change value of the acceleration/deceleration time ("[Cd.10] New
acceleration time value", "[Cd.11] New deceleration time value")
Setting acceleration/deceleration time change to enable ("[Cd.12] Acceleration/
deceleration time change during speed change, enable/disable selection") The following drawing shows the operation during an acceleration/deceleration time change.
[For an acceleration/deceleration time change disable setting]
Operation with the acceleration/deceleration time set in Da. 3 and Da. 4 .
Cd.15 Speed change request
Cd.12 Acceleration/deceleration time change during speed change, enable/ disable selection
[For an acceleration/deceleration time change enable setting]
Operation with the acceleration/deceleration
time ( Cd. 10 and Cd. 11 ) set in the buffer memory.
Cd.15 Speed change request
Cd.12 Acceleration/deceleration time change during speed change, enable/ disable selection
Fig. 13.30 Operation during an acceleration/deceleration time change
![Page 743 of the Mitsubishi Electronics QD77MS2 user manual — [2] Precautions during control](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-743.webp?w=400)
Chapter 13 Control Sub Functions
(1) When "0" is set in "[Cd.10] New acceleration time value" and "[Cd.11] New
deceleration time value", the acceleration/deceleration time will not be changed even if the speed is changed. In this case, the operation will be controlled at the acceleration/deceleration time previously set in the parameters.
(2) The "new acceleration/deceleration time" is valid during execution of the
positioning data for which the speed was changed. In continuous positioning control and continuous path control, the speed is changed and control is carried out with the previously set acceleration/deceleration time at the changeover to the next positioning data, even if the acceleration/ deceleration time is changed to the "new acceleration/deceleration time ([Cd.10], [Cd.11])".
(3) Even if the acceleration/deceleration time change is set to disable after the
"new acceleration/deceleration time" is validated, the positioning data for which the "new acceleration/deceleration time" was validated will continue to be controlled with that value. (The next positioning data will be controlled with the previously set acceleration/deceleration time.)
![Mitsubishi Electronics QD77MS2 — [2] Precautions during control diagram (page 743)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-743-1.webp)
Cd.12 Acceleration/deceleration time change during speed change, enable/disable selection

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".

New acceleration/deceleration time ( Cd. 10 , Cd. 11 )
Controlled with the acceleration/ deceleration time in the parameter.
(5) The acceleration/deceleration change function cannot be used during speed
control mode, torque control mode or continuous operation to torque control mode. Refer to Section 12.1 "Speed-torque control" for the
acceleration/deceleration processing during speed control mode or continuous operation to torque control mode.

POINT If the speed is changed when an acceleration/deceleration change is enabled, the "new acceleration/deceleration time" will become the acceleration/deceleration time of the positioning data being executed. The "new acceleration/deceleration time" remains valid until the changeover to the next positioning data. (The automatic deceleration processing at the completion of the positioning will also be controlled by the "new acceleration/deceleration time".)
![Page 745 of the Mitsubishi Electronics QD77MS2 user manual — [3] Setting the acceleration/deceleration time change function](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-745.webp?w=400)
Chapter 13 Control Sub Functions
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.
![Mitsubishi Electronics QD77MS2 — [3] Setting the acceleration/deceleration time change function diagram (page 745)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-745-1.webp)
time value Set the new acceleration time. 1508+100n 1509+100n 4308+100n 4309+100n
time value Set the new deceleration time. 1510+100n 1511+100n 4310+100n 4311+100n
Acceleration/ deceleration time change during speed change, enable/disable selection
n: Axis No.-1 : Refer to Section 5.7 "List of control data" for details on the setting details.
![Mitsubishi Electronics QD77MS2 — [3] Setting the acceleration/deceleration time change function diagram (page 745)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-745-2.webp)

Chapter 13 Control Sub Functions
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 "[Pr.17] Torque limit setting value" or "[Cd.101] Torque output setting value".
The following two change methods in the torque change function.
Torque change function Details
The forward torque limit value and reverse torque limit value are changed to the same value by the new torque value. (Use this method when they need not be separately set.)
Forward/reverse torque limit value same setting
The forward torque limit value and reverse torque limit value are individually changed respectively by the forward new torque value and reverse new torque value.
Forward/reverse torque limit value individual setting
: Forward torque limit value: The limit value to the generated torque during CW regeneration at
the CCW driving of the servo motor. Reverse torque limit value: The limit value to the generated torque during CCW regeneration
at the CW driving of the servo motor.
Set previously "same setting" or "individual setting" of the forward/reverse torque limit value in "[Cd.112] Torque change function switching request". Set the new torque value (forward new torque value/reverse new torque value) in the axis control data ([Cd.22] and [Cd.113]) shown below.
Torque change function switching request ([Cd.112])
New torque value ([Cd.22], [Cd.113])
New torque value/ forward new torque value
Forward/reverse torque limit value same setting
[Cd.22]
[Cd.113] Setting invalid
New torque value/ forward new torque value
[Cd.22]
Forward/reverse torque limit value individual setting
[Cd.113] Reverse new torque
The details shown below explain about the "torque change function". [1] Control details [2] Precautions during control [3] Setting the torque change function start signal
Setting items · Torque change function · value
![Page 747 of the Mitsubishi Electronics QD77MS2 user manual — [1] Control details](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-747.webp?w=400)
Chapter 13 Control Sub Functions
The torque value (forward new torque value/reverse new 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. Note that the delay time until a torque control is executed is max. operation cycle after torque change value was written. The toque limiting is not carried out from the time the power supply is turned ON to the time the PLC READY signal [Y0] is turned ON. The new torque value ([Cd.22], [Cd.113]) is cleared to zero at the leading edge (OFF to ON) of the positioning start signal [Y10]. The torque setting range is from 0 to "[Pr.17] Torque limit setting value". (When the setting value is 0, a torque change is considered not to be carried out, and it becomes to the value set in "[Pr.17] Torque limit setting value" or "[Cd.101] Torque output setting value". The torque change range is 1 to "[Pr.17] Torque limit setting value".) The following drawing shows the operation at the same setting (Figure 13.31) and the operation at the individual setting (Figure 13.32) for the forward new torque value and reverse new torque value.
PLC READY signal [Y0]
All axis servo ON [Y1]
Positioning start signal [Y10]
Pr.17
Torque limit setting value
Cd.101
Torque output setting value
Torque change function switching request Cd.112 0
3 3 4 3 6 5
New torque value/ forward new torque value
Cd.22
0 200 0 350 0 75 230 0
Torque limit stored value/ forward torque limit stored value
Md.35
0 300 300 200 100 75 230 150
1: The torque limit setting value or torque output setting value becomes effective at the PLC READY signal [Y0] rising edge (however, after the servo turned ON.) If the torque output setting value is "0" or larger than the torque limit setting value, the torque limit setting value will be its value. 2: The torque limit setting value or torque output setting value becomes effective at the positioning start signal [Y10] rising edge, and the torque limit value is updated. If the torque output setting value is "0" or larger than the torque limit setting value, the torque limit setting value will be its value. 3: The torque change value is cleared to "0" at the positioning start signal [Y10] rising edge. 4: The torque limit value is changed by the torque changed value. 5: When the new torque value is 0, a torque change is considered not to be carried out. 6: When the change value is exceeds the torque limit value, a torque change is considered not to be carried out.
(Note): Refer to Section 3.3 for input/output signal and Chapter 5 for buffer memory address of QD77MS16.
Fig. 13.31 Torque change operation (forward/reverse torque limit value same setting) (Axis 1)
![Page 748 of the Mitsubishi Electronics QD77MS2 user manual — [2] Precautions during control](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-748.webp?w=400)
Chapter 13 Control Sub Functions
PLC READY signal [Y0]
All axis servo ON [Y1]
Pr.17
Torque limit setting value
Cd.101
Torque output setting value
Torque change function switching request Cd.112 0
3 3 4 4 4 3 6 5
New torque value/ forward new torque value
Cd.22
0 200 0 350 0 75 230 0
Torque limit stored value/ forward torque limit stored value
Md.35
0 300 300 200 100 75 230 150
3 3 4 4 4 3 6 5
Cd.113
Reverse new torque value
0 120 0 320 0 200 80 0
Md.120
Reverse torque limit stored value
0 300 300 120 100 200 80 150
1: The torque limit setting value or torque output setting value becomes effective at the PLC READY signal [Y0] rising edge (however, after the servo turned ON.) 2: The torque limit setting value or torque output setting value becomes effective at the positioning start signal [Y10] rising edge, and the torque limit value is updated. 3: The torque change value is cleared to "0" at the positioning start signal [Y10] rising edge. 4: The torque limit value is changed by the torque changed value. 5: When the new torque value is 0, a torque change is considered not to be carried out. 6: When the change value is exceeds the torque limit value, a torque change is considered not to be carried out.
(Note): Refer to Section 3.3 for input/output signal and Chapter 5 for buffer memory address of QD77MS16.
Fig. 13.32 Torque change operation (forward/reverse torque limit value individual setting) (Axis 1)
(1) If a value besides "0" is set in the new torque value, the torque generated by
the servomotor will be limited by the setting value. To limit the torque with the value set in "[Pr.17] Torque limit setting value" or "[Cd.101] Torque output setting value", set "0" to the new torque value.
![Mitsubishi Electronics QD77MS2 — [2] Precautions during control diagram (page 748)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-748-1.webp)

Chapter 13 Control Sub Functions
(2) The "[Cd.22] New torque value/forward new torque value" or "[Cd.113]
Reverse new torque value" is validated when written to the Simple Motion module. (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 "[Cd.22] New torque value/forward new torque value"
is outside the setting range, the warning "Outside new torque value range/outside forward new torque value range" (warning code: 113) will occur and the torque will not be changed. If the setting value of "[Cd.113] Reverse new torque value" is outside the setting range, the warning "Outside reverse new torque value range" (warning code: 115) will occur and the torque will not be changed.
(4) If the time to hold the new torque value is not more than 100ms, a torque
change may not be executed.
"1: Forward/reverse torque limit value individual setting" by the torque change function, set "0" or same value set in "[Cd.22] New torque value/forward new torque value" in "[Cd.113] Reverse new torque value" before change.
To use the "torque 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 written to the Simple Motion module.
Setting item Setting value Setting details
Sets "same setting/individual setting" of the forward torque limit value and reverse torque limit value.
Torque change function switching request
: Set "0" normally. (When the forward torque
[Cd.112]
limit value and reverse torque limit value are not divided.) : When a value except "1" is set, it operates
as "forward/reverse torque limit value same setting".
When "0" is set to "[Cd.112] Torque change function switching request", a new torque limit value is set. (This value is set to the forward torque limit value and reverse torque limit value.) When "1" is set to "[Cd.112] Torque change function switching request", a new forward torque limit value is set.
New torque value/forward new torque value
0 to [Pr.17] Torque limit setting value
[Cd.22]
"1" is set in "[Cd.112] Torque change function switching request", a new reverse torque limit value is set.
0 to [Pr.17] Torque limit setting value
[Cd.113] Reverse new
: When "0" is set in "[Cd.112] Torque
change function switching request", the setting value is invalid.
n: Axis No.-1
: Refer to Section 5.7 "List of control data" for details on the setting details.
![Page 750 of the Mitsubishi Electronics QD77MS2 user manual — [1] Details of control](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-750.webp?w=400)
Chapter 13 Control Sub Functions
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 "[Cd.29] Target position change request flag".
The following shows the details of the "target position change function". [1] Details of control [2] Precaution during operation [3] Method of setting target position change function from PLC CPU
The following charts show the details of control of the target position change function.
![Mitsubishi Electronics QD77MS2 — [1] Details of control diagram (page 750)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-750-1.webp)
(a) When the address after change is positioned away from the start point more than the positioning address:
Target position change request Positioning address Address after change
(b) When the speed is changed simultaneously with changing the address:
Target position change request Positioning address Address after change
(c) When the direction of the operation is changed:
Fig. 13.33 Target position change operation
![Page 751 of the Mitsubishi Electronics QD77MS2 user manual — [2] Precautions during operation](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-751.webp?w=400)
Chapter 13 Control Sub Functions
(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.33 (c).) (2) If a command speed exceeding the speed limit value is set to change the
command speed, the warning "Speed limit value over" (warning code: 501) will occur and the new command speed will be the speed limit value. Also, if the command speed change disables the remaining distance to the target value from being assured, the warning "Insufficient remaining distance" will occur (warning code: 509). (3) In the following cases, a target position change request given is ignored and
the warning "Target position change not possible" (warning code: 518) occurs.
A new target position value (address) is outside the software stroke limit
range.
The axis is decelerating to a stop by a stop cause.
While the positioning data whose operation pattern is continuous path
control is executed.
When the speed change 0 flag ([Md.31] Status: b10) is ON. (4) When a command speed is changed, the current speed is also changed.
When the next positioning speed uses the current speed in the continuous positioning, the next positioning operation is carried out at the new speed value. When the speed is set with the next positioning data, the speed becomes the current speed and the operation is carried out at the current speed. (5) When a target position change request is given during automatic deceleration
in position control, positioning control to a new position is exercised after the axis has stopped once if the moving direction is reversed. If the moving direction is not reversed, the axis is accelerated to the command speed again and positioned to the new position. (6) If the constant speed status is regained or the output is reversed by a target
position change made while "[Md.48] Deceleration start flag" is ON, the deceleration start flag remains ON. (For details, refer to Section 13.7.8.) (7) Carrying out the target position change to the ABS linear 1 in degrees may
carry out the positioning to the new target position after the operation decelerates to stop once, even the movement direction is not reversed.
POINT When carrying out the target position change continuously, take an interval of 100 ms or longer between the times of the target position changes. Also, take an interval of 100 ms or longer when the speed change and override is carried out after changing the target position or the target position change is carried out after the speed change and override.
During interpolation control
![Page 752 of the Mitsubishi Electronics QD77MS2 user manual — [3] Method of setting target position change function from PLC CPU](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-752.webp?w=400)
Chapter 13 Control Sub Functions
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. (example in which the target position value and command speed are changed to a new target position of "300.0 m" and a new command speed of "10000.00 mm/min".) (1) The following data is set.
(Referring to the target position change time chart shown in item (2) below, carry out the setting with the sequence program shown in item (3).)
![Mitsubishi Electronics QD77MS2 — [3] Method of setting target position change function from PLC CPU diagram (page 752)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-752-1.webp)
3000 Set the new address. 1534+100n 1535+100n 4334+100n 4335+100n
1000000 Set the new speed. 1536+100n 1537+100n 4336+100n 4337+100n
n: Axis No.-1 : Refer to Section 5.7 "List of control data" for details on the setting details.
(2) The following shows the time chart for target position change.
![Mitsubishi Electronics QD77MS2 — [3] Method of setting target position change function from PLC CPU diagram (page 752)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-752-2.webp)
Target position change value (New speed) Target position change request flag
(Note): Refer to Section 3.3 for input/output signal of QD77MS16.
Fig. 13.34 Time chart for target position change from PLC CPU

Chapter 13 Control Sub Functions
(3) The following sequence program is added to the control program, and written
to the PLC CPU.

540

Chapter 13 Control Sub Functions
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.

Fig. 13.35 Configuration of absolute position system
For constructing an absolute position system, use a servo amplifier and a servomotor which enable absolute position detection. It is also necessary to install a battery for retaining the location of the OPR in the servo amplifier. To use the absolute position system, select "1: Enabled (absolute position detection system)" in "Absolute position detection system (PA03)" in the amplifier setting for the servo parameters (basic setting). Refer to each servo amplifier instruction manual for details of the absolute position system.
Absolute position detection system (PA03) 30103+200n 28403+100n
n: Axis No.-1
Buffer memory address
![Page 755 of the Mitsubishi Electronics QD77MS2 user manual — [2] OPR](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-755.webp?w=400)
Chapter 13 Control Sub Functions
The absolute position system can establish the OP position, using "Data set method", "Near-point dog method", "Count method" and "Scale origin signal detection method" OPR method. In the "Data set method" OPR method, the location to which the location of the OP position is moved by manual operation (JOG operation/manual pulse generator operation) is treated as the OP position. [QD77MS4 operation example]
Movement range for the machine
Moved to this position by manual operation.
The stop position during OPR execution is stored as the OPR position.
9001 (OPR destination) Cd.3 Positioning start No.
Positioning start [Y10 to Y13]
(Note): Refer to Section 3.3 for input/output signal of QD77MS16.
Fig. 13.36 Operation of the OPR execution
![Page 756 of the Mitsubishi Electronics QD77MS2 user manual — [1] Relation between the step function and various controls](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-756.webp?w=400)
Chapter 13 Control Sub 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" and "operation setting for incompletion of OPR function". Each function is executed by parameter setting or sequence program creation and writing. 13.7.1 Step function
The "step function" is used to confirm each operation of the positioning control one by one. It is used in debugging work for major positioning control, etc. A positioning operation in which a "step function" is used is called a "step operation". In step operations, the timing for stopping the control can be set. (This is called the "step mode".) Control stopped by a step operation can be continued by setting "step continues (to continue the control)" in the "step start information".
The details shown below explain about the "step function". [1] Relation between the step function and various controls [2] Step mode [3] Step start information [4] Using the step operation [5] Control details [6] Precautions during control [7] Step function settings
The following table shows the relation between the "step function" and various controls.
Control type Step function Step applicability
OPR control Machine OPR control Step operation not possible Fast OPR control
2 to 4-axes linear interpolation control 1-axis fixed-feed control 2 to 4- axes fixed-feed control (interpolation)
2-axis circular interpolation control 1 to 4- axes Speed control Step operation not possible Speed-position switching control Position-speed switching control Step operation possible
Current value changing JUMP instruction, NOP instruction, LOOP to LEND Step operation not possible
Manual control JOG operation, Inching operation
Step operation not possible Manual pulse generator operation Expansion control Speed-torque control : Set when required, : Setting not possible
![Page 757 of the Mitsubishi Electronics QD77MS2 user manual — [3] Step start information](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-757.webp?w=400)
Chapter 13 Control Sub Functions
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 "[Cd.34] Step mode".) The following shows the two types of "step mode" functions. (1) Deceleration unit step
The operation stops at positioning data requiring automatic deceleration. (A normal operation will be carried out until the positioning data requiring automatic deceleration is found. Once found, that positioning data will be executed, and the operation will then automatically decelerate and stop.)
The operation automatically decelerates and stops for each positioning data. (Even in continuous path control, an automatic deceleration and stop will be forcibly carried out.)
Control stopped by a step operation can be continued by setting "step continues" (to continue the control) in the "step start information". (The "step start information" is set in the control data "[Cd.36] Step start information".) The following table shows the results of starts using the "step start information" during step operation.
![Mitsubishi Electronics QD77MS2 — [3] Step start information diagram (page 757)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-757-1.webp)
1 step of positioning stopped normally Step standby 1: Continues step operation The next positioning data is executed.
The warning "Step not possible" (warning code: 511) will occur if the "[Md.26] Axis operation status" is as shown below or the step valid flag is OFF when step start information is set.
![Mitsubishi Electronics QD77MS2 — [3] Step start information diagram (page 757)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-757-2.webp)
Stopped Interpolation JOG operation Manual pulse generator operation Analyzing Special start standby OPR Position control Speed control Speed control in speed-position switching control Position control in speed-position switching control Speed control in position-speed switching control Position control in position-speed switching control Synchronous control Control mode switch Speed control Torque control Continuous operation to torque control

Chapter 13 Control Sub Functions
The following shows the procedure for checking positioning data using the step operation.
Turn ON the step valid flag.
Write "1" (carry out step operation) in " Cd.35 Step valid flag".
Set the step mode.
Set in " Cd.34 Step mode".
Start positioning.
by an error.
YES
One step of positioning
is completed.
Write "1" (restart) to " Cd.6 Restart command" and check whether the positioning data operates normally.
Restart positioning.
All positioning is completed.
Write "1" (step continue) in " Cd.36 Step start information", and check whether the next positioning data operates normally.
Continue the step operation.
Turn OFF the step valid flag.
Write "0" (carry out no step operation) in " Cd.35 Step valid flag".
Start · Positioning stopped · End
![Page 759 of the Mitsubishi Electronics QD77MS2 user manual — [5] Control details](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-759.webp?w=400)
Chapter 13 Control Sub Functions
(1) The following drawing shows a step operation during a "deceleration unit
step". [QD77MS4 operation example]
![Mitsubishi Electronics QD77MS2 — [5] Control details diagram (page 759)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-759-1.webp)
becomes one step of unit for carrying out automatic
(Note): Refer to Section 3.3 for input/output signal of QD77MS16.
Fig. 13.37 Operation during step execution by deceleration unit step
(2) The following drawing shows a step operation during a "data No. unit step". [QD77MS4 operation example]
![Mitsubishi Electronics QD77MS2 — [5] Control details diagram (page 759)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-759-2.webp)
Operation pattern becomes one step of positioning data No. unit, regardless of continuous path control (11).
(Note): Refer to Section 3.3 for input/output signal of QD77MS16.
Fig. 13.38 Operation during step execution positioning data No. unit step

Chapter 13 Control Sub Functions
(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 "[Md.26] Axis operation status" is "step standby". (The step operation will be carried out from the positioning data set in "[Cd.3] Positioning start No.".)
To use the "step function", write the data shown in the following table to the Simple Motion module using the sequence program. Refer to section [4] "Using the step operation" for the timing of the settings. The set details are validated when written to the Simple Motion module.
[Cd.34] Step mode
[Cd.35] Step valid flag 1 Set "1: Validates step operations". 1545+100n 4345+100n
[Cd.36] Step start
n: Axis No.-1 : Refer to Section 5.7 "List of control data" for details on the setting details.
![Page 761 of the Mitsubishi Electronics QD77MS2 user manual — [2] Precautions during control](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-761.webp?w=400)
Chapter 13 Control Sub Functions
The "skip function" is used to stop (deceleration stop) the control of the positioning data being executed at the time of the skip signal input, and execute the next positioning data. A skip is executed by a skip command ([Cd.37] Skip command) or external command signal. The "skip function" can be used during control in which positioning data is used.
The details shown below explain about the "skip function". [1] Control details [2] Precautions during control [3] Setting the skip function from the PLC CPU [4] Setting the skip function using an external command signal
The following drawing shows the skip function operation. [QD77MS4 operation example]
![Mitsubishi Electronics QD77MS2 — [1] Control details diagram (page 761)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-761-1.webp)
(Note): Refer to Section 3.3 for input/output signal of QD77MS16.
Fig. 13.39 Operation when a skip signal is input during positioning control
(1) If the skip signal is turned ON at the last of an operation, a deceleration stop
will occur and the operation will be terminated. (2) When a control is skipped (when the skip signal is turned ON during a
control), the positioning complete signals will not turn ON. (3) When the skip signal is turned ON during the dwell time, the remaining dwell
time will be ignored, and the next positioning data will be executed. (4) When a control is skipped during interpolation control, the reference axis
skip signal is turned ON. When the reference axis skip signal is turned ON, a deceleration stop will be carried out for every axis, and the next reference axis positioning data will be executed. (5) The M code ON signals will not turn ON when the M code output is set to
the AFTER mode (when "1: AFTER mode" is set in "[Pr.18] M code ON signal output timing"). (In this case, the M code will not be stored in "[Md.25] Valid M code".)
![Page 762 of the Mitsubishi Electronics QD77MS2 user manual — [3] Setting the skip function from the PLC CPU](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-762.webp?w=400)
Chapter 13 Control Sub Functions
(6) The skip cannot be carried out by the speed control and position-speed
switching control. (7) If the skip signal is turned ON with the M code signal turned ON, the
transition to the next data is not carried out until the M code signal is turned OFF.
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)).
![Mitsubishi Electronics QD77MS2 — [3] Setting the skip function from the PLC CPU diagram (page 762)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-762-1.webp)
[Cd.37] Skip command 1 Set "1: Skip request". 1547+100n 4347+100n
n: Axis No.-1 : Refer to Section 5.7 "List of control data" for details on the setting details.
(2) Add the following sequence program to the control program, and write it to
the PLC CPU.
![Mitsubishi Electronics QD77MS2 — [3] Setting the skip function from the PLC CPU diagram (page 762)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-762-2.webp)
[QD77MS4 program example]
![Page 763 of the Mitsubishi Electronics QD77MS2 user manual — [4] Setting the skip function using an external command signal](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-763.webp?w=400)
Chapter 13 Control Sub Functions
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. (The setting is carried out using the sequence program shown below in section (2)).
![Mitsubishi Electronics QD77MS2 — [4] Setting the skip function using an external command signal diagram (page 763)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-763-1.webp)
n: Axis No.-1 : Refer to Section 5.2 "List of parameter" or Section 5.7 "List of control data" for details on the setting details.
(2) Add the following sequence program to the control program, and write it to
the PLC CPU.
![Mitsubishi Electronics QD77MS2 — [4] Setting the skip function using an external command signal diagram (page 763)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-763-2.webp)
![Page 764 of the Mitsubishi Electronics QD77MS2 user manual — [1] M code ON signal output timing](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-764.webp?w=400)
Chapter 13 Control Sub Functions
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 "[Md.25] Valid M code". These "[Md.25] Valid M code" are read from the PLC CPU, and used to command auxiliary work. M codes can be set for each positioning data. (Set in setting item "[Da.10] M code/Condition data No./Number of LOOP to LEND repetitions" of the positioning data.) The timing for outputting (storing) the M codes can also be set in the "M code output function".
M code ON signal X4, X5, X6, X7 M code ON ([Md.31] Status: b12)
The details shown below explain about the "M code output function". [1] M code ON signal output timing [2] M code OFF request [3] Precautions during control [4] Setting the M code output function [5] Reading M codes
The timing for outputting (storing) the M codes can be set in the "M code output function". (The M code is stored in "[Md.25] Valid M code" when the M code ON signal is turned ON.) The following shows the two types of timing for outputting M codes: the "WITH mode" and the "AFTER mode". (1) WITH mode
The M code ON signal is turned ON at the positioning start, and the M code is stored in "[Md.25] Valid M code". [QD77MS4 operation example]
![Mitsubishi Electronics QD77MS2 — [1] M code ON signal output timing diagram (page 764)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-764-1.webp)
(Note): Refer to Section 3.3 for input/output signal of QD77MS16.
Fig. 13.40 M code ON/OFF timing (WITH mode)
Signal QD77MS2/QD77MS4 QD77MS16
![Page 765 of the Mitsubishi Electronics QD77MS2 user manual — [2] M code ON signal OFF request](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-765.webp?w=400)
Chapter 13 Control Sub Functions
The M code ON signal is turned ON at the positioning completion, and the M code is stored in "[Md.25] Valid M code". [QD77MS4 operation example]

(Note): Refer to Section 3.3 for input/output signal of QD77MS16.
Fig. 13.41 M code ON/OFF timing (AFTER mode)
When the M code ON signal is ON, it must be turned OFF by the sequence program. To turn OFF the M code ON signal, set "1" (turn OFF the M code signal) in "[Cd.7] M code OFF request".
![Mitsubishi Electronics QD77MS2 — [2] M code ON signal OFF request diagram (page 765)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-765-2.webp)
n: Axis No.-1 : Refer to Section 5.7 "List of control data" for details on the setting details.
The next positioning data will be processed as follows if the M code ON signal is not turned OFF. (The processing differs according to the "[Da.1] Operation pattern".)
![Mitsubishi Electronics QD77MS2 — [2] M code ON signal OFF request diagram (page 765)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-765-3.webp)
00 Independent positioning control (Positioning control) The next positioning data will not be executed until the M code ON signal is turned OFF. 01 Continuous positioning control
The next positioning data will be executed. If the M code is set to the next positioning data, the warning "M code ON signal ON" (warning code: 503) will occur.
![Page 766 of the Mitsubishi Electronics QD77MS2 user manual — [3] Precautions during control](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-766.webp?w=400)
Chapter 13 Control Sub Functions

(Note): Refer to Section 3.3 for input/output signal of QD77MS16.
Fig. 13.42 Warning due to an M code ON signal during continuous path control
POINT If the M code output function is not required, set a "0" in setting item "[Da.10] M code/Condition data No./Number of LOOP to LEND repetitions" of the positioning data.

(1) During interpolation control, the reference axis M code ON signal is turned
ON.
(2) The M code ON signal will not turn ON if "0" is set in "[Da.10] M
code/Condition data No./Number of LOOP to LEND repetitions". (The M code will not be output, and the previously output value will be held in "[Md.25] Valid M code".)
(3) If the M code ON signal is ON at the positioning start, the error "M code ON
signal start" (error code: 536) will occur, and the positioning will not start.
(4) If the PLC READY signal [Y0] is turned OFF, the M code ON signal will turn
OFF and "0" will be stored in "[Md.25] Valid M code".
(5) If the positioning operation time is short during continuous path control,
there will not be enough time to turn OFF the M code ON signal, and the warning "M code ON signal ON" (warning code: 503) may occur. In this case, set a "0" in the "[Da.10] M code/Condition data No./Number of LOOP to LEND repetitions" of that section's positioning data to prevent the M code from being output for avoiding the warning occurrence.
(6) In the AFTER mode during speed control, the M code is not output and the
M code ON signal does not turn ON.
(7) If current value changing where "9003" has been set to "[Cd.3] Positioning
start No." is performed, the M code output function is made invalid.
![Page 767 of the Mitsubishi Electronics QD77MS2 user manual — [5] Reading M codes](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-767.webp?w=400)
Chapter 13 Control Sub Functions
The following shows the settings to use the "M code output function". (1) Set the M code No. in the positioning data "[Da.10] M code/Condition data
No./Number of LOOP to LEND repetitions".
(2) Set the timing to output the M code ON signal.
Set the required value in the following parameter, 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].
![Mitsubishi Electronics QD77MS2 — [4] Setting the M code output function diagram (page 767)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-767-1.webp)
Set the timing to output the M code ON signal. 0: WITH mode 1: AFTER mode
n: Axis No.-1 : Refer to Section 5.2 "List of parameters" for setting details.
"M codes" are stored in the following buffer memory when the M code ON signal turns ON.
![Mitsubishi Electronics QD77MS2 — [5] Reading M codes diagram (page 767)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-767-2.webp)
The M code No. ([Da.10] M code/Condition data No./Number of LOOP to LEND repetitions) set in the positioning data is stored.
n: Axis No.-1 : Refer to Section 5.6 "List of monitor data" for information on the storage details.
The following shows a sequence program example for reading the "[Md.25] Valid M code" to the PLC CPU data register (D110). (The read value is used to command the sub work.) Read M codes not as "rising edge commands", but as "ON execution commands".
![Mitsubishi Electronics QD77MS2 — [5] Reading M codes diagram (page 767)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-767-3.webp)

Chapter 13 Control Sub Functions
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 ("[Da.6] Positioning address/movement amount", "[Da.7] Arc address").
The details shown below explain about the "teaching function". [1] Control details [2] Precautions during control [3] Data used in teaching [4] Teaching procedure [5] Teaching program example
(1) Teaching timing
Teaching is executed using the sequence program when the BUSY signal is OFF. (During manual control, teaching can be carried out as long as the axis is not BUSY, even when an error or warning has occurred.)
BUSY signal XC to XF X10 to X1F
The addresses for which teaching is possible are "current feed values" ([Md.20] Current feed value) having the OP as a reference. The settings of the "movement amount" used in incremental system positioning cannot be used. In the teaching function, these "current feed values" are set in the "[Da.6] Positioning address/movement amount" or "[Da.7] Arc address".
Positions aligned by manual control
"Current feed value" A [Da.6] Positioning address/movement
"Current feed value" B [Da.7] Arc address
ZP.TEACH 3, ZP.TEACH 4" When the dedicated instructions "ZP.TEACH 1, ZP.TEACH 2, ZP.TEACH 3, ZP.TEACH 4" are used to execute the teaching function, the programming becomes easier. Refer to Chapter 15 "Dedicated Instructions" for details.
Signal QD77MS2/QD77MS4 QD77MS16 · Positioning data · amount

Chapter 13 Control Sub Functions
(1) Before teaching, a "machine OPR" must be carried out to establish the OP.
(When a current value changing, etc., is carried out, "[Md.20] Current feed value" may not show absolute addresses having the OP as a reference.) (2) Teaching cannot be carried out for positions to which movement cannot be
executed by manual control (positions to which the workpiece cannot physically move). (During center point designation circular interpolation control, etc., teaching of "[Da.7] Arc address" cannot be carried out if the center point of the arc is not within the moveable range of the workpiece.) (3) Writing to the flash ROM can be executed up to 100,000 times.
If writing to the flash ROM exceeds 100,000 times, the writing may become impossible (assured value is up to 100,000 times). If the error "Flash ROM write number error" (error code: 805) occurs when writing to the flash ROM has been completed, check whether or not the program is created so as to write continuously to the flash ROM.
The following control data is used in teaching.
[Cd.1] Flash ROM write
request 1 Write the set details to the flash ROM (backup the changed data). 1900 5900
Sets to which "current feed value" is written. 0: Written to "[Da.6] Positioning address/ movement amount". 1: Written to "[Da.7] Arc address".
[Cd.38] Teaching data
Designates the data to be taught. (Teaching is carried out when the setting value is 1 to 600.) When teaching has been completed, this data is zero cleared.
Teaching positioning data No.
[Cd.39]
n: Axis No.-1 : Refer to Section 5.7 "List of control data" for details on the setting details.

Chapter 13 Control Sub Functions
The following shows the procedure for a teaching operation. (1) When teaching to the "[Da.6] Positioning address/movement amount"
(Teaching example on QD77MS4 [axis 1])
Perform machine OPR on axis 1.
Move the workpiece to the target position
Using a JOG operation, inching operation, or manual pulse generator
using a manual operation.
operation.
Set " Writes the current feed value to
" Da.6 Positioning address/movement
amount"" in teaching data selection.
Set the positioning data No. for
which the teaching will be carried out.
Confirm completion of the teaching.
Turn OFF the PLC READY signal [Y0].
Carry out a writing request to the flash ROM.
Confirm the completion of the writing.
Confirm that the buffer memory address [1900] has become 0.
Start · End teaching? NO · End

Chapter 13 Control Sub Functions
(2) When teaching to the "[Da.7] Arc address", then teaching to the "[Da.6]
Positioning address/movement amount" (Teaching example for 2-axis circular interpolation control with sub point designation on QD77MS4 [axis 1] and [axis 2])
Perform a machine OPR on axis 1 and axis 2.
Using a JOG operation, inching operation, or manual pulse generator
operation.
Teaching arc sub point address on axis 1
Confirm completion of the teaching.
Entering teaching data to buffer memory address [1648] and [1649], in the same fashion as for axis 1.
Move the workpiece to the circular interpolation end point position using a manual operation *2.
Using a JOG operation, inching operation, or manual pulse generator
Teaching arc end point address on axis 1
Set "Writes the current feed value to " Da.6 Positioning address/ movement amount"" by teaching data selection.
Confirm completion of the teaching.
Start

Chapter 13 Control Sub Functions
YES
Turn OFF the PLC READY signal [Y0].
Carry out a writing request to the flash ROM.
Confirm the completion of the writing.
Confirm that the buffer memory address [1900] has become 0.
(Axis 2) Forward direction
Movement by circular interpolation
*1 Sub point address *2 End point address
(current stop position) Reverse direction
Forward direction (Axis 1)
*1: The sub point address is stored in the arc address. *2: The end point address is stored in the positioning address. [5] Teaching program example
The following shows a sequence program example for setting (writing) the positioning data obtained with the teaching function to the Simple Motion module. (1) Setting conditions
When setting the current feed value as the positioning address, write it
when the BUSY signal is OFF.
The following example shows a program to carry out the teaching of axis
1 by the dedicated instruction "ZP.TEACH 1". 1) Move the workpiece to the target position using a JOG operation (or an inching operation, a manual pulse generator operation).

Chapter 13 Control Sub Functions

Teaching is possible Teaching is possible Teaching is impossible
(Note): Refer to Section 3.3 for input/output signal of QD77MS16.


POINT (1) Confirm the teaching function and teaching procedure before setting the positioning data. (2) The positioning addresses that are written are absolute address (ABS) values. (3) The positioning data written by the teaching function overwrites the data of the buffer
memory only. Therefore, read from the buffer memory and write to the flash ROM before turning the power OFF as necessary.

Chapter 13 Control Sub Functions
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.
The details shown below explain about the "command in-position function". [1] Control details [2] Precautions during control [3] Setting the command in-position function [4] Confirming the command in-position flag
The following shows control details of the command in-position function. (1) When the remaining distance to the stop position during the automatic
deceleration of positioning control becomes equal to or less than the value set in "[Pr.16] Command in-position width", "1" is stored in the command in- position flag ([Md.31] Status: b2).
(Command in-position width check)
Remaining distance "[Pr.16] Command in-position width" setting value
Command in-position width setting value
OFF Command in-position flag
Fig. 13.43 Command in-position operation
(2) A command in-position width check is carried out every operation cycle.
t · Positioning
![Page 775 of the Mitsubishi Electronics QD77MS2 user manual — [2] Precautions during control](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-775.webp?w=400)
Chapter 13 Control Sub Functions
(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 During speed control mode During torque control mode During continuous operation to torque control mode
![Mitsubishi Electronics QD77MS2 — [2] Precautions during control diagram (page 775)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-775-1.webp)
Fig. 13.44 Command in-position width check
(2) The command in-position flag will be turned OFF in the following cases.
("0" will be stored in "[Md.31] Status: b2".)
At the positioning control start At the speed control start At the speed-position switching control, position-speed switching control
start At the OPR control start At the JOG operation start At the inching operation start When the manual pulse generator operation is enabled
(3) The "[Pr.16] Command in-position width" and command in-position flag
([Md.31] Status: b2) of the reference axis are used during interpolation control.
When the "[Pr.20] Interpolation speed designation method" is "Composite speed", the command in-position width check is carried out in the remaining distance on the composite axis (line/arc connecting the start point address and end point address).

Chapter 13 Control Sub Functions
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].
value Setting details Factory-set initial value
Turn ON the command in-position flag, and set the remaining distance to the stop position of the position control.
[Pr.16] Command in-
: Refer to Section 5.2 "List of parameters" for setting details.
The "command in-position flag" is stored in the following buffer memory.
The command in-position flag is stored in the "b2" position. 817+100n 2417+100n
[Md.31] Status
n: Axis No.-1 : Refer to Section 5.6 "List of monitor data" for information on the storage details.
Parameters are set for each axis.
It is recommended that the parameters be set whenever possible with GX Works2.
Execution by sequence program uses many sequence programs and devices. The execution becomes complicated, and the scan times will increase.
![Page 777 of the Mitsubishi Electronics QD77MS2 user manual — [1] "Acceleration/deceleration time 0 to 3" control details and setting](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-777.webp?w=400)
Chapter 13 Control Sub Functions
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:
S-curve acceleration/deceleration Refer to Section 12.1 "Speed-torque control" for acceleration/deceleration processing of speed-torque control.
The details shown below explain about the "acceleration/deceleration processing function". [1] "Acceleration/deceleration time 0 to 3" control details and setting [2] "Acceleration/deceleration method setting" control details and setting
In the Simple Motion module, four types each of acceleration time and deceleration time can be set. By using separate acceleration/deceleration times, control can be carried out with different acceleration/deceleration times for positioning control, JOG operation, OPR, etc. Set the required values for the acceleration/deceleration time in the parameters shown in the following table, and write them to the Simple Motion module. The set details are validated when written to the Simple Motion module.
![Mitsubishi Electronics QD77MS2 — [1] "Acceleration/deceleration time 0 to 3" control details and setting diagram (page 777)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-777-1.webp)
1000 [Pr.25] Acceleration time 1 1000 [Pr.26] Acceleration time 2 1000 [Pr.27] Acceleration time 3 1000 [Pr.10] Deceleration time 0
Set the acceleration time at a value within the range of 1 to 8388608 ms.
1000 [Pr.28] Deceleration time 1 1000 [Pr.29] Deceleration time 2 1000 [Pr.30] Deceleration time 3 1000 : Refer to Section 5.2 "List of parameters" for setting details.
Set the deceleration time at a value within the range of 1 to 8388608 ms.
Trapezoidal acceleration/deceleration

Chapter 13 Control Sub Functions
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" are shown below. (1) Trapezoidal acceleration/deceleration processing method
This is a method in which linear acceleration/deceleration is carried out based on the acceleration time, deceleration time, and speed limit value set by the user.
Fig. 13.45 Trapezoidal acceleration/deceleration processing method
In this method, the motor burden is reduced during starting and stopping. This is a method in which acceleration/deceleration is carried out gradually, based on the acceleration time, deceleration time, speed limit value, and "[Pr.35] S-curve ratio" (1 to 100%) set by the user.
Fig. 13.46 S-curve acceleration/deceleration processing method
t · t

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 request is not given Speed change (acceleration)
Fig. 13.47 Speed change during S-curve acceleration/deceleration processing
Set the required values for the "acceleration/deceleration method setting" in the parameters shown in the following table, and write them to the Simple Motion module. The set details are validated when written to the Simple Motion module.

Set the acceleration/deceleration curve when "1" is set in "[Pr.34] Acceleration/deceleration process selection".
: Refer to Section 5.2 "List of parameters" for setting details.
Parameters are set for each axis.
It is recommended that the parameters be set whenever possible with GX Works2.
Execution by sequence program uses many sequence programs and devices. The execution becomes complicated, and the scan times will increase.
![Page 780 of the Mitsubishi Electronics QD77MS2 user manual — [1] Controls](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-780.webp?w=400)
Chapter 13 Control Sub Functions
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. The positioning start request is given when the axis is in a standby status, and the execution prohibition flag is turned OFF at the axis operating timing.
The "pre-reading start function" will be explained below. [1] Controls [2] Precautions during control [3] Program examples
The pre-reading start function is performed by turning ON the positioning start signal with the execution prohibition flag ON, or by executing the dedicated instruction (ZP.PSTRT1, ZP.PSTRT2, ZP.PSTRT3, and ZP.PSTRT4). However, if positioning is started with the execution prohibition flag ON, the positioning data is analyzed but servo start is not provided. While the execution prohibition flag is ON, "[Md.26] Axis operation status" remains unchanged from "5: Analyzing". The servo starts within operation cycle after the execution prohibition flag has turned OFF, and "[Md.26] Axis operation status" changes to the status (e.g. position control, speed control) that matches the control system. (Refer to Fig.13.48)
![Mitsubishi Electronics QD77MS2 — [1] Controls diagram (page 780)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-780-1.webp)
Execution prohibition flag Y14, Y15, Y16, Y17 [Cd.183] Execution prohibition flag
(Note): Refer to Section 3.3 for input/output signal of QD77MS16.
Fig. 13.48 Operations of pre-reading start function
![Page 781 of the Mitsubishi Electronics QD77MS2 user manual — [2] Precautions during control](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-781.webp?w=400)
Chapter 13 Control Sub Functions
(1) The time required to analyze the positioning data is up to 0.88ms
(QD77MS2/QD77MS4)/3.55ms(QD77MS16). (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. Change the positioning data before turning ON the positioning start signal. (3) The pre-reading start function is invalid if the execution prohibition flag is
turned OFF between when the positioning start signal has turned ON and when positioning data analysis is completed (Ta
Positioning start No." with the pre-reading start function are No. 1 to 600 only. Performing the pre-reading start function at the setting of No. 7000 to 7004 or 9001 to 9004 will result in the error "Outside start No. range" (error code: 543). (5) Always turn ON the execution prohibition flag at the same time or before
turning ON the positioning start signal. Pre-reading may not be started if the execution prohibition flag is turned ON during Ta after the positioning start signal is turned ON. The pre-reading start function is invalid if the execution prohibition flag is turned ON after positioning start with the execution prohibition flag OFF. (It is made valid at the next positioning start.)
![Page 782 of the Mitsubishi Electronics QD77MS2 user manual — [3] Program examples](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-782.webp?w=400)
Chapter 13 Control Sub Functions
![Mitsubishi Electronics QD77MS2 — [3] Program examples diagram (page 782)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-782-1.webp)
Pre-reading start program (when positioning start signal Y10 is used)
Use the direct access input as BUSY signal to use this program example.
Pre-reading start program (when dedicated instruction ZP.PSTRT1 is used)
[QD77MS4 program example] · ·
![Page 783 of the Mitsubishi Electronics QD77MS2 user manual — [1] Control details](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-783.webp?w=400)
Chapter 13 Control Sub Functions
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. for the next position control.
For the "deceleration start flag function", the following will be explained. [1] Control details [2] Precautions during control [3] Deceleration start flag function setting method [4] Checking of deceleration start flag
When deceleration for a stop is started in the position control whose operation pattern is "Positioning complete", "1" is stored into "[Md.48] Deceleration start flag". When the next operation start is made or the manual pulse generator operation enable status is gained, "0" is stored. (Refer to Fig. 13.49.)
(1) Start made with positioning data No. specified
Md.48 Deceleration start flag 0 1 0
Fig. 13.49 Operation of deceleration start flag
At a block start, this function is valid for only the position control whose operation pattern is "Positioning complete" at the point whose shape has been set to "End". (Refer to Fig. 13.50.)
The following table indicates the operation of the deceleration start flag in the case of the following block start data and positioning data.
[Da.11]
[Da.12] Start data No.
[Da.13] Special start
1st point 1: Continue 1 0: Block start 2nd point 1: Continue 3 0: Block start 3rd point 0: End 4 0: Block start
![Page 784 of the Mitsubishi Electronics QD77MS2 user manual — [2] Precautions during control](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-784.webp?w=400)
Chapter 13 Control Sub Functions

1 01: Continuous positioning control 2 00: Positioning complete 3 00: Positioning complete 4 11: Continuous path control 5 00: Positioning complete
Fig. 13.50 Operation of deceleration start flag at block start
(1) The deceleration start flag function is valid for the control system of "1-axis
linear control", "2-axis linear interpolation control", "3-axis linear interpolation control", "4-axis linear interpolation control", "speed-position switching control" or "position-speed switching control". (In the case of linear interpolation control, the function is valid for only the reference axis.) Refer to Section 3.2.5 "Combination of QD77MS main functions and sub functions". (2) The deceleration start flag does not turn ON when the operation pattern is
"continuous positioning control" or "continuous path control". (3) The deceleration start flag function is invalid for an OPR, JOG operation,
inching operation, manual pulse generator operation, speed-torque control and deceleration made with a stop signal. (4) The deceleration start flag does not turn ON when a speed change or
override is used to make deceleration. (5) If a target position change is made while the deceleration start flag is ON, the
deceleration start flag remains ON.
![Mitsubishi Electronics QD77MS2 — [2] Precautions during control diagram (page 784)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-784-2.webp)
![Page 785 of the Mitsubishi Electronics QD77MS2 user manual — [4] Checking of deceleration start flag](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-785.webp?w=400)
Chapter 13 Control Sub Functions
(6) When the movement direction is reversed by a target position change, the
deceleration start flag turns ON.

(7) During position control of position-speed switching control, the deceleration
start flag is turned ON by automatic deceleration. The deceleration start flag remains ON if position control is switched to speed control by the position-speed switching signal after the deceleration start flag has turned ON. (8) If the condition start of a block start is not made since the condition is not
satisfied, the deceleration start flag turns ON when the shape is "End". (9) When an interrupt request during continuous operation is issued, the
deceleration start flag turns ON at a start of deceleration in the positioning data being executed. [3] Deceleration start flag function setting method
To use the "deceleration start flag function", set "1" to the following control data using a sequence program. The set data is made valid on the rising edge (OFF to ON) of the PLC READY signal [Y0].

Set whether the deceleration start flag function is made valid or invalid. 0: Deceleration start flag invalid 1: Deceleration start flag valid
: Refer to Section 5.7 "List of control data" for details on the setting details.
The "deceleration start flag" is stored into the following buffer memory addresses.
![Mitsubishi Electronics QD77MS2 — [4] Checking of deceleration start flag diagram (page 785)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-785-3.webp)
n: Axis No.-1 : Refer to Section 5.6 "List of monitor data" for information on the storage details.

Chapter 13 Control Sub Functions
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. (For the stop cause, refer to Section 1.2.3 "Outline of stopping".)
The "stop command processing for deceleration stop function" performs the following two operations: (1) Deceleration curve re-processing
Re-processes a deceleration curve starting from the speed at stop cause occurrence until at a stop, according to the preset deceleration time. (2) Deceleration curve continuation
Continues the current deceleration curve after a stop cause has occurred.
This section explains the "stop command processing for deceleration stop function" as follows: [1] Control [2] Precautions for control [3] Setting method
The operation of "stop command processing for deceleration stop function" is explained below.
A deceleration curve is re-processed starting from the speed at stop cause occurrence until at a stop, according to the preset deceleration time. If a stop cause occurs during automatic deceleration of position control, the deceleration stop processing stops as soon as the target has reached the positioning address specified in the positioning data that is currently executed.
Deceleration curve according to preset deceleration time
Immediate stop at the specified positioning address
Deceleration stop processing (automatic
Deceleration curve when stop cause does not occur
Fig. 13.51 Deceleration curve re-processing operation (for position control or S-curve
![Page 787 of the Mitsubishi Electronics QD77MS2 user manual — [2] Precautions for control](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-787.webp?w=400)
Chapter 13 Control Sub Functions
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.

Fig. 13.52 Deceleration curve continuation operation (for position control or S-curve
(1) In manual control (JOG operation, inching operation, manual pulse generator
operation) and speed-torque control, the stop command processing for deceleration stop function is invalid. (2) The stop command processing for deceleration stop function is valid when "0:
Normal deceleration stop" is set in "[Pr.37] Stop group 1 sudden stop selection" to "[Pr.39] Stop group 3 sudden stop selection" as the stopping method for stop cause occurrence. (3) The stop command processing for deceleration stop function is invalid when
"1: Sudden stop" is set in "[Pr.37] Stop group 1 sudden stop selection" to "[Pr.39] Stop group 3 sudden stop selection". (A deceleration curve is re- processed starting from the speed at stop cause occurrence until at a stop, according to the "[Pr.36] Sudden stop deceleration time".) In the position control (including position control of speed/position changeover control or position/speed changeover control) mode, positioning may stop immediately depending on the stop cause occurrence timing and "[Pr.36] Sudden stop deceleration time" setting.
![Mitsubishi Electronics QD77MS2 — [2] Precautions for control diagram (page 787)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-787-2.webp)
(Sudden stop cause) Deceleration curve according to sudden stop deceleration time
(Sudden stop in front of the specified positioning address)
Fig. 13.53 Sudden stop operation (for position control or S-curve acceleration/deceleration processing)
acceleration/deceleration processing)

Chapter 13 Control Sub Functions
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.
Stop command processing for deceleration stop selection
Set the stop command processing for deceleration stop function. 0: Deceleration curve re-processing 1: Deceleration curve continuation
[Cd.42]
: For details of the setting details, refer to Section 5.7 "List of control data".
![Page 789 of the Mitsubishi Electronics QD77MS2 user manual — [1] Control details](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-789.webp?w=400)
Chapter 13 Control Sub Functions
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".
This section explains the "speed control 10 multiplier specifying function for degree axis" as follows: [1] Control details [2] Setting method of "Speed control 10 x multiplier setting for degree axis function"
When "Speed control 10 multiplier specifying function for degree axis" is valid, this function related to the command speed, monitor data, speed limit value, is shown below. (1) Command speed
"[Pr.7] Bias speed at start"
"[Pr.46] OPR speed"
"[Pr.47] Creep speed"
"[Cd.14] New speed value"
"[Cd.17] JOG speed"
"[Cd.25] Position-speed switching control speed change register"
"[Cd.28] Target position change value (New speed)"
"[Cd.140] Command speed at speed control mode"
"[Da.8] Command speed" (b) Major positioning control
1) For "2 to 4 axis linear interpolation control" and "2 to 4 axis fixed-feed control", the positioning control is performed at decuple speed of command speed, when "[Pr.83] Speed control 10 x multiplier setting for degree axis" of reference axis is valid. 2) For "2 to 4 axis speed control", "[Pr.83] Speed control 10 x multiplier setting for degree axis" is evaluated whether it is valid for each axis. If valid, the positioning control will be performed at decuple speed of command speed.
(a) Parameters

Chapter 13 Control Sub Functions
"[Md.22] Feedrate"
"[Md.27] Current speed"
"[Md.28] Axis feedrate"
"[Md.33] Target speed"
"[Md.122] Speed during command"
: For the above monitoring data, "[Pr.83] Speed control 10 x multiplier
setting for degree axis" is evaluated whether it is valid for each axis. If valid, unit conversion value is changed ( 10-3 10-2 ). The unit conversion table of monitor value is shown below.
Converted from hexadecimal to decimal Unit conversion
Unit conversion table ( , ) Md.22 Md.27 Md.28 Md.33 Md.122
m Unit Pr.83 setting value
Actual value Feedrate/ Md.22
Md.27 Md.28 Md.33 Md.122
Current speed/ Axis feedrate/ Target speed/ Speed during command
(3) Speed limit value
"[Pr.8] Speed limit value"
"[Pr.31] JOG speed limit value"
"[Cd.146] Speed limit value at torque control mode"
"[Cd.147] Speed limit value at continuous operation to torque control mode"
: For the speed limit value, "[Pr.83] Speed control 10 x multiplier setting for
degree axis" is evaluated whether it is valid for each axis. If valid, the positioning control will be performed at decuple speed of setting value (max. speed).
(2) Monitor data · Monitor value · R 10m

Chapter 13 Control Sub Functions
axis function"
Set "Valid/Invalid" by "[Pr.83] Speed control 10 x multiplier setting for degree axis". 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 "[Pr.83] Speed control 10 x multiplier setting for degree axis" to valid. To use the "Speed control 10 x multiplier setting for degree axis function", set the parameters shown in the following table.
Set the speed control 10 x multiplier setting for degree axis. 0: Invalid 1: Valid
Speed control 10 x multiplier setting for degree axis
[Pr.83]
n: Axis No.-1 : Refer to Section 5.2.4 "Detailed parameters 2" for details on the setting details.
![Page 792 of the Mitsubishi Electronics QD77MS2 user manual — [2] Precautions during control](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-792.webp?w=400)
Chapter 13 Control Sub Functions
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 [3] Setting method of "Operation setting for incompletion of OPR function"
When "[Pr.55] Operation setting for incompletion of OPR" is valid, this function related to the command speed, monitor data, speed limit value, is shown below.
[Pr.55] Operation setting for incompletion of OPR
executed." and "OPR request flag ON" Machine OPR JOG operation Inching operation Manual pulse generator operation Current value changing using current
executed." and "OPR request flag ON"
value changing start No. (No. 9003).
When the following cases at block start, condition start, wait start, repeated start, multiple axes simultaneous start and pre-reading start. 1-axis linear control 2/3/4-axis linear interpolation control 1/2/3/4-axis fixed-feed control 2-axis circular interpolation control
(with sub point designation/center point designation) 1/2/3/4-axis speed control Speed-position switching control
(INC mode/ ABS mode) Position-speed switching control Current value changing using
positioning data No. (No.1 to 600).
: Positioning start possible (Execution possible) : Positioning start impossible (Execution not possible)
(1) The error "Start at OPR incomplete" (error code: 547) occurs if OPR request
flag ([Md.31] Status: b3) is executed the positioning control by turning on, when "0: Positioning control is not executed" is selected the operation setting for incompletion of OPR setting, and positioning control will not be performed. At this time, operation with the manual control (JOG operation, inching operation, manual pulse generator operation) is available.
Item · Control mode switching

Chapter 13 Control Sub Functions
(2) When OPR request flag ([Md.31] Status: b3) is ON, starting Fast OPR will
result in the error "OPR request ON" (error code: 207) despite the setting value of "[Pr.55] Operation setting for incompletion of OPR", and Fast OPR will not be performed.
To use the "Operation setting for incompletion of OPR", set the following parameters using a sequence program.
Set the operation setting for incompletion of OPR. 0: Positioning control is not executed. 1: Positioning control is executed.
Operation setting for incompletion of OPR
[Pr.55]
n: Axis No.-1 : Refer to Section 5.2.6 "OPR detailed parameters" for details on the setting details.
![Page 794 of the Mitsubishi Electronics QD77MS2 user manual — [1] Servo ON (Servo operation enabled)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-794.webp?w=400)
Chapter 13 Control Sub Functions
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.
All axis servo ON [Y1] [Cd.100] Servo OFF command (Buffer memory addresses:
A list of the "All axis servo ON [Y1]" and "[Cd.100] Servo OFF command" is given below.
[Cd.100] Servo OFF command
Setting value "0" Setting value "1"
Command to servo amplifier Command to servo amplifier
: Servo ON (Servo operation enabled) , : Servo OFF (Servo operation disabled)
POINT When the delay time of "Electromagnetic brake sequence output (PC02)" is used, execute the servo ON to OFF by "[Cd.100] Servo OFF command". (When all axis servo ON [Y1] is turned ON to OFF, execute the servo OFF and turn off [Y1] after delay time passes.) Refer to each servo amplifier instruction manual for details of servo ON command OFF and ready ON command OFF from Simple Motion module.
The following shows the procedure for servo ON. (1) Make sure that the servo LED indicates "b".
(The initial value for "All axis servo ON [Y1]" is "OFF".) (2) Set "0" for "[Cd.100] Servo OFF command". (3) Turn ON "All axis servo ON [Y1]".
Now the servo amplifier turns ON the servo (servo operation enabled state). (The servo LED indicates "d".)
1551+100n[QD77MS2/QD77MS4]/4351+100n[QD77MS16])
![Page 795 of the Mitsubishi Electronics QD77MS2 user manual — [2] Servo OFF (Servo operation disabled)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-795.webp?w=400)
Chapter 13 Control Sub Functions
The following shows the procedure for servo OFF. (1) Set "1" for "[Cd.100] Servo OFF command". (The servo LED indicates "c".)
(If the "[Cd.100] Servo OFF command" set "0" again, after the servo operation enabled.) (2) Turn OFF "All axis servo ON [Y1]".
(The servo LED indicates "b".)
POINT If the servomotor is rotated by external force during the servo OFF status, follow
up processing is performed. Change between servo ON or OFF status while operation is stopped (position
control mode). The servo OFF command of during positioning in position control mode, manual pulse control, OPR, speed control mode, torque control mode and continuous operation to torque control mode will be ignored. When the servo OFF is given to all axes, "All axis servo ON [Y1]" is applied even
if all axis servo ON command is turned ON to OFF with "[Cd.100] Servo OFF command" set "0".

Chapter 13 Control Sub Functions
(1) Follow up function
The follow up function monitors the number of motor rotations (actual present value) with the servo OFF and reflects the value in the present feed value. 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.
Follow up function is executed continually during the servo OFF status.

Fig. 13.54 Operation timings of follow up function

POINT The follow-up function performs the process if the "Simple Motion module and
the servo amplifier is turned ON" and "servo OFF" regardless of the presence of the absolute position system.

Chapter 13 Control Sub Functions


Chapter 14 Common Functions
"Common functions" are executed according to the user's requirements, regardless of the control system, etc. These common functions are executed by GX Works2 or sequence programs.
The following table shows the functions included in the "common functions".
This function returns the parameter stored in the buffer memory/internal memory and flash ROM/internal memory (nonvolatile) of Simple Motion module to the factory-set initial value.
This function writes the "execution data", currently being used for control, to the flash ROM/internal memory (nonvolatile).
Execution data backup function
External signal selection function
This function switches I/O signal logic according to the equipment connected to the Simple Motion module. For the system in which with b-contact, upper limit switch, and lower limit switch are not used, the parameter logic setting can be controlled without wiring if it is changed to a "positive logic".
External I/O signal logic switching function
This function monitors start history, error history, warning history, and current value history of all axes.
This function executes the positioning control of Simple Motion module without connecting to the servo amplifiers. It is used to debug the program at the start-up of the device or simulate the positioning operation.
This function executes the operation as the axis (virtual servo amplifier axis) that operates only command (instruction) virtually without servo amplifiers.
Virtual servo amplifier function
This function uses the "Master-slave operation function" of servo amplifier. The Simple Motion module controls the master axis and the slave axis is controlled by data communication between servo amplifiers (driver communication) without Simple Motion module.
Mark detection function This function is used to latch any data at the input timing of the mark detection signal (DI1 to DI4).
This function is used to store the data selected by user up to 4 data per axis to buffer memory and monitor them.
Optional data monitor function

Chapter 14 Common Functions
This function collects errors occurred in the Simple Motion module in the PLC CPU. 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.
Module error collection function
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.
Connect/disconnect function of SSCNET communication
This function is used to set the factory-set initial value of QD75MH in the setting data set in the QD77MS buffer memory/internal memory and flash ROM/internal memory (nonvolatile).
QD75MH initial value setting 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.
Hot line forced stop function
![Page 801 of the Mitsubishi Electronics QD77MS2 user manual — [3] Precautions during control](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-801.webp?w=400)
Chapter 14 Common Functions
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 [4] Parameter initialization method
Refer to the "Simple Motion Module Setting Tool Help" of GX Works2 for the execution method by GX Works2.
The following table shows the setting data initialized by the "parameter initialization function". (The data initialized are "buffer memory/internal memory" and "flash ROM/internal memory (nonvolatile)" setting data.)
Basic parameters ([Pr.1] to [Pr.10])
Detailed parameters ([Pr.11] to [Pr.42], [Pr.80] to [Pr.90], [Pr.95])
OPR basic parameters ([Pr.43] to [Pr.48])
OPR detailed parameters ([Pr.50] to [Pr.57])
Expansion parameters ([Pr.91] to [Pr.94], [Pr.96], [Pr.97], [Pr.114])
Servo parameters ([Pr.100], PA, PB, PC, PD, PE, PS, PF, Po, PL)
Positioning data (No.1 to 600)
Block start data (No.7000 to 7004)
(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.
(2) Writing to the flash ROM is up to 100,000 times. If writing to the flash ROM
exceeds 100,000 times, the writing may become impossible, and the error "Flash ROM write error" (error code: 801) will occur.
(3) A "PLC CPU reset" or "PLC CPU power restart" must be carried out after
the parameters are initialized.
(4) If an error occurs on the parameter set in the Simple Motion module when
the PLC READY signal [Y0] is turned ON, the READY signal [X0] will not be turned ON and the control cannot be carried out.
Setting data

Chapter 14 Common Functions
(1) Parameter initialization is carried out using the dedicated instruction
"ZP.PINIT". (Refer to Chapter 15 "Dedicated Instructions" for details.)
(2) Parameter initialization can also be carried out by the writing of the data
shown in the table below to the buffer memory of Simple Motion module using the TO command/intelligent function device. The initialization of the parameter is executed at the time point the data is written to the buffer memory of Simple Motion module.
[Cd.2]
1 Set "1" (parameter initialization request). 1901 5901
: Refer to Section 5.7 "List of control data" for details on the setting details.
When the initialization is complete, "0" will be set in "[Cd.2] Parameter initialization request" by the Simple Motion module automatically.
![Page 803 of the Mitsubishi Electronics QD77MS2 user manual — [1] Execution data backup (written to flash ROM) means](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-803.webp?w=400)
Chapter 14 Common Functions
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)". In this case, the execution data will be lost when the PLC power is turned OFF. (Refer to Chapter 7 "Memory Configuration and Data Process".) The "execution data backup function" is used to back up the execution data by writing to the flash ROM/internal memory (nonvolatile). The data backed up will be written to the buffer memory when the power is turned ON next time.
The details shown below explain about the "execution data backup function". [1] Execution data backup (written to flash ROM) means [2] Control details [3] Precautions during control [4] Execution data backup method
Refer to the "Simple Motion Module Setting Tool Help" of GX Works2 for the flash ROM write method by GX Works2. [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".
Buffer memory/Internal memory Flash ROM/Internal memory (nonvolatile)
Parameters ([Pr.1] to [Pr.57], [Pr.80] to [Pr.97], [Pr.114]) Parameters ([Pr.1] to [Pr.57], [Pr.80] to [Pr.97], [Pr.114])
Positioning data (No. 1 to 600) Positioning data (No. 1 to 600)
Block start data (No. 7000 to 7004) Block start data (No. 7000 to 7004)
([Pr.100], PA, PB, PC, PD, PE, PS, PF, Po, PL)
([Pr.100], PA, PB, PC, PD, PE, PS, PF, Po, PL)
Servo parameters · Servo parameters

Chapter 14 Common Functions
(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.
(2) Writing to the flash ROM can be executed up to 100,000 times.
If writing to the flash ROM exceeds 100,000 times, the writing may become impossible, and the error "Flash ROM writing error" (error code: 801) will occur.
(3) After one power ON/PLC CPU reset operation, writing to the flash ROM
using a sequence program is limited to up to 25 times. If the 26th writing is executed, the error "Flash ROM write number error" (error code: 805) will occur. If this error occurs, carry out the error reset or power OFF ON/PLC CPU reset operation again. Refer to "[Md.19] Number of write accesses to flash ROM" of Section 5.1.9 "Types and roles of monitor data" for details.
(1) Execution data backup (writing to the flash ROM/internal memory
(nonvolatile)) is carried out using the dedicated instruction "ZP.PFWRT". (Refer to Chapter 15 "Dedicated Instructions" for details.)
(2) Refer to Section 7.2 "Data transmission process" for the data transmission
processing at the backup of the execution data.
(3) Execution data backup can also be carried out by the writing of the data
shown in the table below to the buffer memory of Simple Motion module using the TO command/intelligent function device. The writing to the flash ROM/internal memory (nonvolatile) is executed at the time point the data is written to the buffer memory of Simple Motion module.
[Cd.1] Flash ROM write
request 1 Set "1" (flash ROM write request). 1900 5900
: Refer to Section 5.7 "List of control data" for details on the setting details.
When the writing to the flash ROM/internal memory (nonvolatile) is complete, "0" will be set in "[Cd.1] Flash ROM write request" by the Simple Motion module automatically.
Buffer memory address · Setting item Setting · value Setting details

Chapter 14 Common Functions
The details shown below explain about the "External signal selection function". [1] Parameter setting details [2] Precautions during parameter setting [3] Control details [4] Program example
The setting details of the "External signal selection function" are shown in the following table.
Setting item Setting value Setting details
Set the external signal selection. 0: External input signal of QD77MS
QD77MS2 QD77MS4 1: External input signal of servo amplifier 2: Buffer memory of QD77MS 3: External input signal 1 of QD77MS QD77MS16 4: External input signal 2 of QD77MS QD77MS16 5: External input signal 3 of QD77MS QD77MS16 6: External input signal 4 of QD77MS QD77MS16
External input signal selection
[Pr.80]
n: Axis No.-1
Buffer memory address · 32+150n

Chapter 14 Common Functions
QD77MS", "4: External input signal 2 of QD77MS", "5: External input signal 3 of QD77MS", or "6: External input signal 4 of QD77MS" is set, set the Pin No. of external input signal of QD77MS shown in the following table.

Axis No. or signal No. Pin No. Signal name
Axis 1 QD77MS2 QD77MS4 External input signal 1 QD77MS16
Axis 2 QD77MS2 QD77MS4 External input signal 2 QD77MS16
external input signal of servo amplifier shown in the following table. : When setting at MR-JE-B use, any errors or warnings do not occur.
However, the external input signal (upper/lower limit signal, near-point dog signal) cannot be operated.

![Page 807 of the Mitsubishi Electronics QD77MS2 user manual — [3] Control details](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-807.webp?w=400)
Chapter 14 Common Functions
operate the external input signal (upper/lower limit signal, near-point dog signal and stop signal).
Set the status of the upper/lower limit signal, the near-point dog signal and the stop signal. 1928 5928 to 5931
External input signal operation device
[Cd.44]
: Refer to Section 5.7 "List of control data" for details on the setting details.
of QD77MS", "5: External input signal 3 of QD77MS", or "6: External input signal 4 of QD77MS" is set in the QD77MS2/QD77MS4, the error "External input signal selection error" (error code: 936) occurs at turning the PLC READY signal [Y0] ON, and the READY signal [X0] is not turned ON. Set "0: External input signal of QD77MS" to use the external input signal of QD77MS2/QD77MS4.
error "External input signal selection error" (error code: 936) occurs at turning the PLC READY signal [Y0] ON, and the READY signal [X0] is not turned ON. Set "3: External input signal 1 of QD77MS", "4: External input signal 2 of QD77MS", "5: External input signal 3 of QD77MS", or "6: External input signal 4 of QD77MS" to use the external input signal of QD77MS16.
The following table shows the external signal that becomes valid by setting "[Pr.80] External input signal selection".
"[Pr.80] External input signal selection" External signal that becomes valid
(FLS, RLS) Near-point dog signal : External input signal of QD77MS (DOG) Stop signal : External input signal of QD77MS (STOP) External command/switching signal: External input signal of QD77MS (DI)
External input signal of QD77MS (Setting value: 0, 3, 4, 5, 6)
External input signal of servo amplifier (Setting value: 1)
QD77MS2 QD77MS4 / Buffer memory of QD77MS (STOP)
QD77MS16 External command/switching signal: External input signal of QD77MS (DI)
Upper/lower stroke limit signal : Buffer memory of QD77MS (FLS, RLS) Near-point dog signal : Buffer memory of QD77MS (DOG) Stop signal : Buffer memory of QD77MS (STOP) External command/switching signal: External input signal of QD77MS (DI)
Buffer memory of QD77MS (Setting value: 2)
Buffer memory address · Setting item Setting · value Setting details

Chapter 14 Common Functions
The following shows the program example that is used to operate "[Cd.44] External input signal operation device" of axis 1, axis 4, axis 8, and axis 16 using the limit switch connected to the input module when "2: Buffer memory of QD77MS" is set in "[Pr.80] External input signal selection".
The following shows the system configuration that is used with the program example.
(1) (2) (3) (4)
(1) Q61P (2) Q10UDEHCPU (3) QD77MS16 (X0 to X1F/Y0 to Y1F) (4) QX42 (X20 to X5F)

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
When "[Pr.22] Input signal logic selection" is negative logic: ON When "[Pr.22] Input signal logic selection" is positive logic: OFF

Chapter 14 Common Functions
Axis 1 FLS operation
U0\G5928.0 External input s ignal op eration device: axis 1 F LS
Axis 1 F LS ON co mmand
Axis 1 RLS operation
U0\G5928.1 External input s ignal op eration device: axis 1 R LS
Axis 1 R LS ON co mmand
Axis 1 DOG operation
U0\G5928.2 External input s ignal op eration device: axis 1 D OG
Axis 1 D OG ON co mmand
Axis 1 STOP operation
U0\G5928.3 External input s ignal op eration device: axis 1 S TOP
Axis 1 S TOP ON c ommand
Axis 4 FLS operation
U0\G5928.C External input s ignal op eration device: axis 4 F LS
Axis 4 F LS ON co mmand
Axis 4 RLS operation
U0\G5928.D External input s ignal op eration device: axis 4 R LS
Axis 4 R LS ON co mmand
Axis 4 DOG operation
U0\G5928.E External input s ignal op eration device: axis 4 D OG
Axis 4 D OG ON co mmand
Axis 4 STOP operation
U0\G5928.F External input s ignal op eration device: axis 4 S TOP
Axis 4 S TOP ON c ommand

Chapter 14 Common Functions
Axis 8 FLS operation
U0\G5929.C External input s ignal op eration device: axis 8 F LS
Axis 8 F LS ON co mmand
Axis 8 RLS operation
U0\G5929.D External input s ignal op eration device: axis 8 R LS
Axis 8 R LS ON co mmand
Axis 8 DOG operation
U0\G5929.E External input s ignal op eration device: axis 8 D OG
Axis 8 D OG ON co mmand
Axis 8 STOP operation
U0\G5929.F External input s ignal op eration device: axis 8 S TOP
Axis 8 S TOP ON c ommand
Axis 16 FLS operation
U0\G5931.C External input s ignal op eration device: axis 16 FLS
Axis 16 FLS ON c ommand
Axis 16 RLS operation
U0\G5931.D External input s ignal op eration device: axis 16 RLS
Axis 16 RLS ON c ommand
Axis 16 DOG operation
U0\G5931.E External input s ignal op eration device: axis 16 DOG
Axis 16 DOG ON c ommand
Axis 16 STOP operation
U0\G5931.F External input s ignal op eration device: axis 16 STOP
Axis 16 STOP ON command
![Page 811 of the Mitsubishi Electronics QD77MS2 user manual — [1] Parameter setting details](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-811.webp?w=400)
Chapter 14 Common Functions
The details shown below explain about the "External I/O signal logic switching function". [1] Parameter setting details [2] Precautions on parameter setting
To use the "External I/O signal logic switching function", set the parameters shown in the following table.
![Mitsubishi Electronics QD77MS2 — [1] Parameter setting details diagram (page 811)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-811-1.webp)
n: Axis No.-1
![Page 812 of the Mitsubishi Electronics QD77MS2 user manual — [2] Precautions on parameter setting](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-812.webp?w=400)
Chapter 14 Common Functions
(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. Before setting, check the specifications of the equipment to be used.
(3) When the same external input signal is set to use to the multiple axes in
"[Pr.80] External input signal selection" or "[Pr.95] External command signal selection" in the QD77MS16, "Input signal logic selection" of those axes should be the same. Otherwise, the error "Input signal logic selection setting error" (error code: 938) occurs when the PLC READY signal [Y0] is turned ON, and the READY signal [X0] will not be turned ON.

Chapter 14 Common Functions
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. The latest history 16 logs are stored all the time. This function allows users to check the operation sequence (whether the operations have been started in a predetermined sequence) at system start-up.
For the start history check method, refer to the "Simple Motion Module Setting Tool Help" of GX Works2. [2] Error history, warning history
The error and warning history logs can be monitored. The latest history 16 logs are stored all the time.
For the error and warning history check method, refer to the "Simple Motion Module Setting Tool Help" of GX Works2.
POINT Set the clock of PLC CPU. Refer to the "GX Works2 Version1 Operating Manual (Common)" for setting method.
![Page 814 of the Mitsubishi Electronics QD77MS2 user manual — [3] Current value history](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-814.webp?w=400)
Chapter 14 Common Functions
The current value history data of each axis can be monitored. The following shows about the current value history data of each axis.
![Mitsubishi Electronics QD77MS2 — [3] Current value history diagram (page 814)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-814-1.webp)
Backup data at the power disconnection The number of backup: 4 times
Backup data at the power on The number of backup: 4 times
Home position return data The number of backup: Once
*1: Displays a value set by the clock function of the CPU module.

Chapter 14 Common Functions
[Pr.97] SSCNET setting Servo amplifier type Monitor type
The detail of the latest backup data right before the power disconnection is output to the buffer memory. The backup data at the power on starts being output after the power on. The backup data at the power disconnection starts being output after the power on. The detail of the latest backup data right before the power disconnection used in the absolute system setting is output, regardless of the setting of the absolute system or incremental system. If the data has never been used in the absolute system in the incremental system setting, "0" is output in all storage items. Backup data at the power on
After the power on, the detail of the data which restored the current value is output to the buffer memory. The backup data at the power on starts being output after the power on. If the current value cannot be restored in the absolute system, "0" is set to the feed current value and servo command value. The error "OPR data incorrect" (error code: 1201) is set in the error code at current value restoration. When the incremental system is set, the detail of the backup data at the power on used in the absolute system setting is output. If the data has never been used in the absolute system, "0" is output in all storage items.

Chapter 14 Common Functions
![Page 817 of the Mitsubishi Electronics QD77MS2 user manual — [1] Control details](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-817.webp?w=400)
Chapter 14 Common Functions
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". [1] Control details [2] Restrictions [3] Buffer memory list [4] Operation mode switching procedure
Switch the mode from the normal operation mode (with servo amplifier connection) to the amplifier-less operation mode (without servo amplifier connection) to use the amplifier-less operation function. Operation for each axis without servo amplifier connection as the normal operation mode can be executed during amplifier-less operation mode. The start method of positioning control is also the same procedure of normal operation mode. The normal operation (with servo amplifier connection) is possible by switching from the amplifier-less operation mode to the normal operation mode after amplifier-less operation. The current value management (current feed value, machine feed value) at the switching the normal operation mode and amplifier-less operation mode is shown below.
Current value management at the operation mode switching Normal operation mode Amplifier-less operation mode
"Absolute position detection system (PA03)"
Amplifier-less operation mode Normal operation mode
The current feed value and machine feed value are "0". (At the communication start to the servo amplifiers)
"0: Disabled" The current feed value and machine feed value are "0".
The current feed value and machine feed value are restored according the actual position of servomotor. (At the communication start to the servo amplifiers) However, when the OP position is not established in the normal operation mode before switching to the amplifier-less operation mode, the current feed value and machine feed value are not restored. Execute the OPR. When the mode is switched to the normal operation mode after moving that exceeds the range "-2147483648(-231) to 2147483647(231- 1) [PLS]" from the actual position of servo motor during amplifier-less operation mode, the current feed value and machine feed value might be not restored correctly.
The amplifier-less operation mode starts with the address that the servo amplifier's power supply was finally turned OFF. However, the OP position is not established in the normal operation mode, the current feed value and machine feed value are "0".

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-
amplifier-less operation mode. When "1: SSCNET /H" is set in "[Pr.97] SSCNET setting" Servo amplifier type: MR-J4-10B Motor type: HG-KR053 (Resolution per servo motor rotation: 4194304PLS) When "0: SSCNET " is set in "[Pr.97] SSCNET setting" Servo amplifier type: MR-J3-10B Motor type: HF-KP053 (Resolution per servo motor rotation: 262144PLS)
![Page 819 of the Mitsubishi Electronics QD77MS2 user manual — [2] Restrictions](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-819.webp?w=400)
Chapter 14 Common Functions
(1) The following monitor data cannot be used during amplifier-less operation
mode.
Buffer memory address QD77MS2 QD77MS4 QD77MS16
Storage item Storage details
[Md.102] Deviation counter value Always "0" during amplifier-less operation mode. 852+100n 853+100n 2452+100n 2453+100n
2464+100n to 2469+100n [Md.107] Parameter error No. Always "0" during amplifier-less operation mode. 870+100n 2470+100n
[Md.106] Servo amplifier
software No. Always "0" during amplifier-less operation mode.
command speed • Speed limit (b4) : Always ON when other than "0"
is set to the command torque at torque control mode. Otherwise, always OFF. • PID control (b8) : Always OFF
[Md.108] Servo status
Regenerative load ratio/ Optional data monitor output 1
[Md.109]
Always "0" during amplifier-less operation mode. 878+100n 2478+100n
Effective load torque/ Optional data monitor output 2
[Md.110]
Always "0" during amplifier-less operation mode. 879+100n 2479+100n
Peak torque ratio/ Optional data monitor output 3
[Md.111]
Always "0" during amplifier-less operation mode. 880+100n 2480+100n
[Md.112] Optional data monitor
output 4 Always "0" during amplifier-less operation mode. 881+100n 2481+100n
n: Axis No.-1
864+100n to 869+100n · 876+100n 2476+100n · 877+100n 2477+100n

Chapter 14 Common Functions
(2) The operation of following function differs from the normal operation mode
during amplifier-less operation mode.
External signal selection function
the upper/lower limit signal (FLS, RLS) and near-point dog signal (DOG) follow the buffer
memory status of Simple Motion module during amplifier-less operation mode.
Torque limit function Turns ON/OFF torque limit ("[Md.108] Servo status" high-order buffer memory address: b13) depending on "[Md.104] Motor current value". (Refer to "Restrictions (3)" for details.)
(3) The operation of following monitor data differs from the normal operation
mode during amplifier-less operation mode.
Storage item Storage details
When "1: External input signal of servo amplifier" is set in "[Pr.80] External input signal selection", the external input signal status can be operated by turning ON/OFF the "b0: Lower limit signal", "b1: Upper limit signal" or "b6: Near- point dog signal" during amplifier-less operation mode.
[Md.30] External input
"0" is set at the amplifier-less operation mode start. The motor current value can be emulated by changing this monitor data in user side during amplifier-less operation mode.
[Md.104] Motor current value
n: Axis No.-1 (4) When the power supply is turned OFF → ON or PLC CPU is reset during
amplifier-less operation mode, the mode is switched to the normal operation mode.
(5) The operation of servo motor or the timing of operation cycle, etc. at the
amplifier-less operation is different from the case where the servo amplifiers are connected at the normal operation mode. Confirm the operation finally with a real machine.
(6) The amplifier-less operation cannot be used in the test mode. Do not
request to switch to the amplifier-less operation mode during test mode.
(7) The amplifier-less operation cannot be used in the fully closed loop system,
linear servo or direct drive motor.

Chapter 14 Common Functions
(8) Even if the PLC READY signal [Y0| is turned ON by changing "[Pr.100]
Servo series" from "0: Servo series is not set" to other than "0", the setting does not 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. Change to amplifier-less operation when all axes are connected, or disconnect all axes of the servo amplifier.
(10) The synchronous encoder via servo amplifier cannot be used during
amplifier-less operation mode.
The buffer memory used in the amplifier-less operation function is shown below. (1) System control data
Amplifier-less operation mode switching request
mode to the amplifier-less operation mode. 0000h : Switch from the amplifier-less operation mode to the normal operation mode
[Cd.137]
(2) System monitor data
Amplifier-less operation mode status
Indicate the current operation mode. 0: Normal operation mode 1: Amplifier-less operation mode 1432 4232
[Md.51]
![Page 822 of the Mitsubishi Electronics QD77MS2 user manual — [4] Operation mode switching procedure](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-822.webp?w=400)
Chapter 14 Common Functions
(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. 4) Set "ABCDh" in "[Cd.137] Amplifier-less operation mode switching request". 5) Confirm that "1: Amplifier-less operation mode" was set in "[Md.51] Amplifier-less operation mode status".
(2) Switch from the amplifier-less operation mode to the normal 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. 4) Set "0000h" in "[Cd.137] Amplifier-less operation mode switching request". 5) Confirm that "0: Normal operation mode" was set in "[Md.51] Amplifier- less operation mode status".

Chapter 14 Common Functions
The following drawing shows the operation for the switching of the normal operation mode and amplifier-less operation mode

(Note): Refer to Section 3.3 for input/output signal of QD77MS16.
confirming the all input signals except synchronization flag [X1] OFF. When switching the normal operation mode and amplifier-less operation mode in the status that any one of input signals except the synchronization flag [X1] is ON, the error "Error when switching from normal operation mode to amplifier-less operation mode" (error code: 808) or "Error when switching from amplifier-less operation mode to normal operation mode" (error code: 809) will occur, and the switching of operation mode will not execute. (2) When the operation mode is switched with the servo amplifiers connected, the
is possible. (4) The forced stop is invalid regardless of the setting in "[Pr.82] Forced stop
valid/invalid selection" during the amplifier-less operation mode. (5) Only "0000h" and "ABCDh" are valid for the "[Cd.137] Amplifier-less operation
mode switching request". The switching to amplifier-less operation mode can be accepted only when "[Cd.137] Amplifier-less operation mode switching request" is switched from "0000h" to "ABCDh". The switching to normal operation mode can be accepted only when "[Cd.137] Amplifier-less operation mode switching request" is switched from "ABCDh" to "0000h".
(3) Operation chart
![Page 824 of the Mitsubishi Electronics QD77MS2 user manual — [1] Control details](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-824.webp?w=400)
Chapter 14 Common Functions
This function is used to operate as virtual servo amplifier axis that generates only command virtually by setting "4097, 4128" in servo parameter "[Pr.100] Servo series". The synchronous control with virtually input command is possible by using the virtual servo amplifier axis as servo input axis of synchronous control. Also, it can be used as simulation operation for axes without servo amplifiers.
Setting value of "[Pr.97] SSCNET setting" Setting value of "[Pr.100] Servo series"
The details shown below explain about the "Virtual servo amplifier function". [1] Control details [2] Restrictions
(1) When "4097, 4128" is set in "[Pr.100] Servo series" set in the flash ROM, it
operates as virtual servo amplifier immediately after power supply ON.
(2) When "0" is set in "[Pr.100] Servo series" set in the flash ROM, it operates
as virtual servo amplifier by setting "4097, 4128" in "[Pr.100] Servo series" of buffer memory and by turning the PLC READY signal [Y0] OFF to ON after power supply ON.
(3) Do not connect the actual servo amplifier to axis set as virtual servo
amplifier. If the servo amplifier is connected, the LED display status remains "Ab." and the servo amplifier is not recognized. The following servo amplifiers cannot be connected until the end station.
(4) The current feed value and machine feed value of virtual servo amplifier are
system (PA03)". The both of current feed value and machine feed value are set to "0".
position detection system (PA03)". OP is established: Address at latest power supply OFF OP is not established: "0" (Feed current value and machine feed value) (5) When the virtual servo amplifier is set in the system setting of GX Works2,
"0: Disabled (incremental system)" is set in "Absolute position detection system (PA03)". Set "1: Enabled (absolute position detection system)" to the buffer memory to use as absolute position system.

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 "[Pr.100] Servo series" set in the flash ROM, the servo series is not changed even if the "[Pr.100] Servo series" of buffer memory is changed after power supply ON and then the PLC READY signal [Y0] is turned OFF to ON. To change the servo series, write to the flash ROM and turn the power ON again or reset the PLC CPU.

Chapter 14 Common Functions
(1) The following monitor data of virtual servo amplifier differ from the actual
servo amplifier.
Storage item Storage details
[Md.102] Deviation counter
value Always "0". 852+100n 853+100n 2452+100n 2453+100n
[Md.106] Servo amplifier
software No. Always "0".
[Md.107] Parameter error No. Always "0". 870+100n 2470+100n
command speed • Speed limit (b4) : Always ON when other than "0" is
set to the command torque at torque control mode. Otherwise, always OFF. • PID control (b8) : Always OFF
[Md.108] Servo status
Regenerative load ratio/Optional data monitor output 1
[Md.109]
Always "0". 878+100n 2478+100n
Effective load torque/Optional data monitor output 2
[Md.110]
Always "0". 879+100n 2479+100n
Peak torque ratio/Optional data monitor output 3
[Md.111]
Always "0". 880+100n 2480+100n
[Md.112] Optional data
monitor output 4 Always "0". 881+100n 2481+100n
n: Axis No.-1

Chapter 14 Common Functions
(2) The operation for external signal selection function of virtual servo amplifier
differs from the actual servo amplifier.
When "1: External input signal of servo amplifier" is set in "[Pr.80] External input signal selection", the external signal status immediately after power supply ON is shown below.
External signal selection function
Change the signal status in "[Md.30] External input signal".
(Refer to "Restrictions (3)" for details.)
Turns ON/OFF torque limit ("[Md.108] Servo status" high-order buffer memory address: b13) depending on "[Md.104] Motor current value". (Refer to "Restrictions (3)" for details.)
(3) The following monitor data of virtual servo amplifier differ from the actual
servo amplifiers. The writing operation is possible in the virtual servo amplifier.
Storage item Storage details
[Md.30] External input signal
"0" is set after immediately power supply ON. The motor current value can be emulated by changing this monitor data in user side.
[Md.104] Motor current value
n: Axis No.-1

Chapter 14 Common Functions
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. There are restrictions in the function that can be used by the version of servo amplifier. Refer to each servo amplifier instruction manual for details. The following shows the number of settable axes for the master axis and slave axis.

QD77MS2 1 axis 1 axis or more/ 1 master axis The axes other than the master axis and slave axis can be used as normal axis.
QD77MS2 1 axis 1 axis or more/ 1 master axis QD77MS4 1 axis to 2 axes
—: No restriction
(Note-1): When the slave axis is not allocated for the master axis, the operation is normal operation only of
master axis. (Note-2): The fully closed loop control servo amplifier can be set for the master axis only. It cannot be set for
the slave axis. (Note-3): In the fully closed loop system, the servo amplifier can be set for the master axis only. It cannot be set
for the slave axis. Also, it cannot be used with the linear servo motors or direct drive motors. Refer to each servo amplifier instruction manual for details.
The details shown below explain about the "Driver communication function". [1] Control details [2] Precautions during control [3] Servo parameter
![Page 829 of the Mitsubishi Electronics QD77MS2 user manual — [1] Control details](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-829.webp?w=400)
Chapter 14 Common Functions
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 error 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 slave axis by driver communication between servo amplifiers. The servo amplifier set as the slave axis is controlled with the control data transmitted from master axis by driver communication between servo amplifiers.
![Mitsubishi Electronics QD77MS2 — [1] Control details diagram (page 829)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-829-1.webp)
Master axis: Position command, speed command or torque command is received from Simple Motion module. Slave axis : Control data is received from Master axis by driver communication.
Master axis Slave axis 1 Slave axis 2 Slave axis 3
[Driver communication] Control data 1 Control data 2 Control data 3
![Mitsubishi Electronics QD77MS2 — [1] Control details diagram (page 829)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-829-2.webp)
POINT (1) When the communication is disconnected due to a fault in the servo amplifier, it
is not possible to communicate with the axis after the faulty axis. Therefore, when connecting the SSCNET cable, connect the master axis in the closest position to the Simple Motion module. (2) This function is used for the case to operate by multiple motors in one system.
Connect the master axis and slave axis without slip.
Simple Motion · module

Chapter 14 Common Functions
CAUTION
In the operation by driver communication, the positioning control or JOG operation of the
master axis is not interrupted even if the servo error occurs in the slave axis. Be sure to stop by user program.
(a) Use the servo amplifiers compatible with the driver communication for
the axis to execute the driver communication. (b) The combination of the master axis and slave axis is set in the servo
parameters. The setting is valid by turning ON or resetting the system's power supply after writing the servo parameters to the Simple Motion module. (c) Check the operation enabled status of driver communication in "[Md.52]
Communication between amplifiers axes searching flag". The operation cannot be changed to amplifier-less operation when connected and not connected servo amplifier axes are mixed. Change to amplifier- less operation when all axes are connected, or disconnect all axes of the servo amplifier. (d) When connecting/disconnecting at driver communication function use, it
can be executed only for the head axis (servo amplifier connected directly to the Simple Motion module). The servo amplifier other than the head axis can be disconnected, however it cannot be connected again. (e) Differences between SSCNET connection and SSCNET /H connection in driver communication function are shown below.
The servo amplifiers cannot be operated until the connection with all driver communication setting axes is confirmed. The normal operation axis (driver communication unset up axis) can be connected after the network is established.
Communication with the servo amplifiers after controller's power supply ON
The servo amplifiers cannot be operated until the connection with all system setting axes is confirmed.
Only the first axis (servo amplifier connected directly to the Simple Motion module) can connect/disconnect. Only normal axes (axes not set to driver communication) other than the first axis can be connected when they are disconnected. However, when axes set to driver communication are disconnected, they cannot communicate with servo amplifiers that were connected after disconnecting. (The servo amplifier's LED display remains "AA".)
Only the first axis (servo amplifier connected directly to the Simple Motion module) can connect/disconnect. Servo amplifiers other than the first axis can be disconnected but cannot be connected.
Connect/ disconnect with servo amplifier
(1) Servo amplifier

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 "[Md.52] Communication between amplifiers axes searching flag". When all independent axes and axes set to driver communication are connected, "0: Search end" is set in "[Md.52] Communication between amplifiers axes searching flag".
Buffer memory address QD77MS2 QD77MS4 QD77MS16
Communication between amplifiers axes searching flag
The detection status of axis that set communication between amplifiers is stored. 0: Search end 1: Searching
[Md.52]
(2) OPR control, positioning control, manual control, expansion control, and
synchronous control (a) Do not start the slave axis. The command to servo amplifier is invalid
even if the slave axis is started. (b) The OPR request flag ([Md.31] Status: b3) of slave axis is always ON.
There is no influence for control of slave axis. (c) There are some restrictions for data used as the positioning control of
slave axis. The external input signals such as FLS or RLS, and the parameters such as software stroke limit are invalid. Refer to this section (4) or (5) for details. (d) For setting the slave axis as a servo input axis, set "2: Real current
value" or "4: Feedback value" in "[Pr.300] Servo input axis type". Otherwise, the slave axis does not operate as an input axis. (e) At the driver communication operation, only the switching to positioning
control mode, speed control mode, and torque control mode are possible. When the mode is switched to continuous operation to torque control mode for the master axis, the warning "Control mode switching not possible" (warning code: 125) will occur, and the control mode is not switched.
(3) Absolute position system
Set "0: Disabled (incremental system)" in "Absolute position detection system (PA03)" of servo parameter for slave axis. If "1: Enabled (absolute position detection system)" is set, the error "OPR data incorrect" (error code: 1201) will occur and the OPR of slave axis cannot be executed.
Monitor item Monitor · value Storage details · 1434 4234

Chapter 14 Common Functions
(4) I/O signals of slave axis
[QD77MS2] Only the error detection signal [X8, X9] is valid. And only the servo error detection is valid. (The control of slave axis is not influenced even if the error other than servo error has been occurred.) [QD77MS4] Only the error detection signal [X8 to XB] is valid. And only the servo error detection is valid. (The control of slave axis is not influenced even if the error other than servo error has been occurred.) [QD77MS16] All signals cannot be used. The error detection signal turns ON "Error detection" ([Md.31] Status: b13). (b) Output signal
All output signals of slave axis cannot be used. (5) Data used for positioning control of slave axis
(a) Only the following axis monitor data are valid in slave axis.
[Md.23] Axis error No. Valid for only servo error detection.
[Md.35] Torque limit stored value/forward
torque limit stored value —
[Md.102] Deviation counter value —
[Md.103] Motor rotation speed —
[Md.104] Motor current value —
[Md.107] Parameter error No. —
The following bit is valid.
(Execute OPR to the master axis.)
The following bits are valid.
[Md.108] Servo status
controlled in torque control mode,
"control mode (high-order buffer
to torque control mode (0, 1).
[Md.109] Regenerative load ratio/Optional
data monitor output 1 —
[Md.110] Effective load torque/Optional
data monitor output 2 —
[Md.111] Peak torque ratio/Optional data
monitor output 3 —
[Md.112] Optional data monitor output 4 —
[Md.114] Servo alarm —
[Md.120] Reverse torque limit stored value —
(a) Input signal · Item Remark

Chapter 14 Common Functions
(b) Only the following axis control data are valid in slave axis.
[Cd.5] Axis error reset Only servo error detection
[Cd.22] New torque value/forward new
[Cd.100] Servo OFF command —
[Cd.101] Torque output setting value —
[Cd.112] Torque change function
[Cd.113] Reverse new torque value —
Item Remark · torque value — · switching request —
![Page 834 of the Mitsubishi Electronics QD77MS2 user manual — [3] Servo parameter](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-834.webp?w=400)
Chapter 14 Common Functions
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]
![Mitsubishi Electronics QD77MS2 — [3] Servo parameter diagram (page 834)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-834-1.webp)
Disable deceleration stop function at the master axis and slave axis.(Note-3) 30104+200n 28404+100n
PD15 Driver communication setting Set the master axis and slave axis. 30210+200n
PD16 Driver communication setting Master transmit data selection 1 Set the transmitted data at master axis setting.
PD17 Driver communication setting Master transmit data selection 2 30212+200n
PD20 Driver communication setting Master axis No. selection 1 for slave
Set the axis No. of master axis at slave axis setting. 30215+200n
PD30 Master-slave operation - Torque command coefficient on slave
PD31 Master-slave operation - Speed limit coefficient on slave 30226+200n
PD32 Master-slave operation - Speed limit adjusted value on slave 30227+200n
n: Axis No.-1
(Note-1): When the slave axis is not allocated for the master axis, the operation is normal operation only of
master axis. (Note-2): For QD77MS16, the above servo parameters are not allocated to the buffer memory.
Write them to Simple Motion module with GX Works2. (Note-3): At MR-J3-_B/MR-J3-_B-RJ006 use, it is not necessary to change the setting since the initial value is
disabled. However, it is required to set disabled since the initial value is enabled at MR-J3-_BS use.
POINT (1) The servo parameters are transmitted from Simple Motion module to servo
amplifier after power supply ON or reset of PLC CPU. Execute flash ROM writing of Simple Motion module after writing the servo parameter to buffer memory, and then turn the power supply ON or reset the PLC CPU. (2) The servo parameters for driver communication setting (PD15 to PD17, PD20)
become valid by turning the servo amplifier's power supply OFF to ON. Turn the servo amplifier's power supply OFF to ON after executing the above (1). Then, turn the system's power supply ON again or reset the PLC CPU. (3) In the driver communication function, the torque generation direction for slave
axis can be set in "Rotation direction selection/travel direction selection (PA14)".

Chapter 14 Common Functions

Disable deceleration stop function at the master axis and slave axis.
PD15 Driver communication setting Set the master axis and slave axis. 30210+200n
PD16 Driver communication setting Master transmit data selection 1 Set the transmitted data at master axis setting.
PD17 Driver communication setting Master transmit data selection 2 30212+200n
PD20 Driver communication setting Master axis No. selection 1 for slave
Set the axis No. of master axis at slave axis setting. 30215+200n
PD30 Master-slave operation - Torque command coefficient on slave
PD31 Master-slave operation - Speed limit coefficient on slave 30226+200n
PD32 Master-slave operation - Speed limit adjusted value on slave 30227+200n
n: Axis No.-1
(Note-1): When the slave axis is not allocated for the master axis, the operation is normal operation only of
master axis. (Note-2): For QD77MS16, the above servo parameters of PD are not allocated to the buffer memory. Write them to Simple Motion module with GX Works2. (Note-3): At slave setting, set only "Driver communication setting Master axis No. selection 1 for slave (PD20)" in
the master axis No. selection normally.
POINT (1) The servo parameters are transmitted from Simple Motion module to servo
amplifier after power supply ON or reset of PLC CPU. Execute flash ROM writing of Simple Motion module after writing the servo parameter to buffer memory, and then turn the power supply ON or reset the PLC CPU. (2) The servo parameters for driver communication setting (PA04, PD15 to PD17,
PD20) become valid by turning the servo amplifier's power supply OFF to ON. Turn the servo amplifier's power supply OFF to ON after executing the above (1). Then, turn the system's power supply ON or reset the PLC CPU. (3) In the driver communication function, the torque generation direction for slave
axis can be set in "Rotation direction selection/travel direction selection (PA14)".
[MR-J4-_B use]

Chapter 14 Common Functions
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. The following three modes are available for execution of mark detection.

The 4th detection and later are ignored. Storage area 1


Chapter 14 Common Functions
Number of mark detection settings Up to 4 Up to 16
Input signal Axis 1 to Axis 2 External input signal (DI1 to DI2)
Axis 1 to Axis 4 External input signal (DI1 to DI4)
Axis 1 to Axis 16 External input signal (DI1 to DI4)
Input signal detection direction Selectable for leading edge or trailing edge in logic setting of external input signal
Input signal compensation time Correctable within the range of -32768 to 32767µs
11 types + Optional buffer memory data (2 word) (Current feed value, Machine feed value, Real current value, Servo input axis current value, Synchronous encoder axis current value, Synchronous encoder axis current value per cycle, Current value after composite main shaft gear, Current value per cycle after main shaft gear,
Current value per cycle after auxiliary shaft gear, Cam axis current value per cycle,
Cam axis current value per cycle (real position) )
Number of continuous latch data storage Up to 32
Latched data range Settable in the range of -2147483648 to 2147483647
The details shown below explain about the "Mark detection function". [1] Operation for mark detection function [2] How to use mark detection function [3] List of buffer memory [4] Precautions
Item Performance specifications · Detection accuracy 10µs · Latch data
![Page 838 of the Mitsubishi Electronics QD77MS2 user manual — [1] Operation for mark detection function](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-838.webp?w=400)
Chapter 14 Common Functions
(1) Continuous detection mode
Confirmation of mark detection data range (Upper/lower limit value setting: Valid)
Mark detection signal (Leading edge detection setting)
![Mitsubishi Electronics QD77MS2 — [1] Operation for mark detection function diagram (page 838)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-838-1.webp)
Data outside range are not latched.
Mark detection data value
Md.801 Mark detection data storage
area Detected real current value Detected real current value
Number of mark detection Md.800
"0" clear by setting "1" in " Cd.800 Number of mark detection clear request".
External command function selection Pr.42
External command valid Cd.8
Set "1" before mark detection start.
(2) Specified number of detection mode (Number of detections: 2)
Mark detection is not executed because the number of mark detections is already 2 (More than the specified number of detections).
Confirmation of mark detection data range (Upper/lower limit value setting: Valid)
Mark detection signal (Leading edge detection setting)
![Mitsubishi Electronics QD77MS2 — [1] Operation for mark detection function diagram (page 838)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-838-2.webp)
Mark detection data value
Md.801 Mark detection data storage
Md.801 Mark detection data storage
Number of mark detection Md.800
"0 clear" by "1" of " Number of mark detection clear request". Cd.800
External command function selection Pr.42
External command valid Cd.8
area (1st area) · area (2nd area)

Chapter 14 Common Functions
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.
(1) Allocate the input signal (DI2) to the external command signal of axis 2, and
set the "high speed input request" for mark detection.
![Mitsubishi Electronics QD77MS2 — [2] How to use mark detection function diagram (page 839)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-839-1.webp)
[Pr.95] External command signal selection 2 Set "2: DI2" to the external command signal of axis 2. — 219 (69+150n)
[Pr.42] External command function selection 4 Set "4: High speed input request" as the function used in the external command signal of axis 2. 212 (62+150n)
n: Axis No.-1
(2) Set the following mark detection setting parameters. The optional mark
detection setting No. can be set.
value Storage details/storage value
[Pr.800] Mark detection
Mark detection signal compensation time
[Pr.801]
[Pr.802] Mark detection data
[Pr.803] Mark detection data
upper limit value 0 Set "0" to the valid upper limit value for latch data at mark detection. (Mark detection for all range is executed by setting the same value as lower limit value.)
[Pr.805] Latch data range
[Pr.806] Latch data range
lower limit value 0 Set "0" to the valid lower limit value for latch data at mark detection. (Mark detection for all range is executed by setting the same value as upper limit value.)
[Pr.807] Mark detection
k: Mark detection setting No.-1
(3) Turn the power supply OFF or reset of PLC CPU to validate the setting
parameters.
(4) The mark detection starts by setting "1: Validates an external command." in
"[Cd.8] External command valid" of axis 2 with the sequence program. Refer to "[Md.800] Number of mark detection" or "[Md.801] Mark detection data storage area" of mark detection setting No. set in this section (2) for the number of mark detections and mark detection data.

Chapter 14 Common Functions
POINT When "1: Valid" is set in "[Pr.114] External command signal compensation valid/invalid setting", the response time of the high-speed input signal is compensated and the latch accuracy will be enhanced. (For details of "[Pr.114] External command signal compensation valid/invalid setting", refer to Section 5.2.7 "Expansion parameters".)
![Page 841 of the Mitsubishi Electronics QD77MS2 user manual — [3] List of buffer memory](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-841.webp?w=400)
Chapter 14 Common Functions
The following shows the configuration of buffer memory for mark detection function.
![Mitsubishi Electronics QD77MS2 — [3] List of buffer memory diagram (page 841)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-841-1.webp)
![Mitsubishi Electronics QD77MS2 — [3] List of buffer memory diagram (page 841)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-841-2.webp)
setting No. (Example) For mark detection setting 16
54002+20k ([Pr.802] Mark detection data type)=54002+20 15=54302
(Note): The range from mark detection setting No.1 to 4 (k=0 to 3) is valid in the
QD77MS2/QD77MS4.

Chapter 14 Common Functions
The following shows the buffer memory used in the mark detection function.
(1) Mark detection setting parameters
Setting item Setting details/setting value Default
Set the external input signal (high speed input request) for mark detection.
[Pr.800] Mark detection
Set the compensation time such as delay of sensor. Set a positive value to compensate for a delay.
Mark detection signal compensation time
[Pr.801]
Set the target data for mark detection.
[Pr.802] Mark detection
Set the axis No. of target data for mark detection.
1 to 2 : Axis 1 to Axis 2 (QD77MS2) 1 to 4 : Axis 1 to Axis 4 (QD77MS4) 1 to 16 : Axis 1 to Axis 16 (QD77MS16) 801 to 804 : Synchronous encoder Axis 1 to 4 Fetch cycle: Power supply ON
[Pr.803] Mark detection
data axis No.
Set the optional buffer memory No. Set this parameter as an even number.
Mark detection data buffer memory No.
[Pr.804]
Set the valid upper limit value for latch data at mark detection.
[Pr.805] Latch data range
OFF to ON, or latch data range change request
Set the valid lower limit value for latch data at mark detection
[Pr.806] Latch data range
OFF to ON, or latch data range change request
Set the continuous detection mode or specified number of detection mode.
[Pr.807] Mark detection
(Set the number of detections.) -1 to -32 : Ring buffer mode (Set the value that made the
number of buffers into negative value.) Fetch cycle: Power supply ON or PLC READY signal [Y0]
k: Mark detection setting No.-1
![Page 843 of the Mitsubishi Electronics QD77MS2 user manual — [Pr.802] Mark detection data type](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-843.webp?w=400)
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.
Set the input signal for mark detection.
If a value other than the above is set, the warning "Outside mark detection signal setting range" (warning code: 130) occurs and the target mark detection is not available. Set "4: High speed input request" in "[Pr.42] External command function selection" and set "1: Validates an external command." in "[Cd.8] External command valid".
Compensate the input timing of the mark detection signal. Set this parameter to compensate such as delay of sensor input. (Set a positive value to compensate for a delay.)
Set the data that latched at mark detection. The target data is latched by setting "0 to 12". Set the axis No. in "[Pr.803] Mark detection data axis No.". Optional 2 word buffer memory is latched by setting "-1". Set the buffer memory No. in "[Pr.804] Mark detection data buffer memory No.".
0 : Current feed value 1 : Machine feed value 2 : Real current value 3 : Servo input axis current value 6 : Synchronous encoder axis current value 7 : Synchronous encoder axis current value per cycle 8 : Current value after composite main shaft gear 9 : Current Value per cycle after main shaft gear 10 : Current value per cycle after auxiliary shaft gear 11 : Cam axis current value per cycle 12 : Cam axis current value per cycle (Real position) -1 : Optional 2 words buffer memory
If a value other than the above is set, the warning "Outside mark detection data type setting range" (warning code: 131) occurs and the target mark detection is not available.

Chapter 14 Common Functions
[Pr.803] Mark detection data axis No.
Set the axis No. of data that latched at mark detection.

[Pr.802] Mark detection data type [Pr.803] Mark detection data axis No.
10-1[µm], 10-5[inch], 10-5 [degree], [PLS] 1 to 2 1 to 4 1 to 16 1 Machine feed value
801 to 804 7 Synchronous encoder axis current value per cycle
9 Current value per cycle after main shaft gear
Cam axis cycle unit 10 Current value per cycle after auxiliary shaft gear
1 to 2 1 to 4 1 to 16
12 Cam axis current value per cycle (Real position) (Note)
(Note): Cam axis current value per cycle that considered delay of the servo system. If a value other than the above is set, the warning "Outside mark detection data axis No. setting range" (warning code: 132) occurs and the target mark detection is not available.

Chapter 14 Common Functions
[Pr.804] Mark detection data buffer memory No.
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. setting range" (warning code: 133) occurs and the target mark detection is not available.
[Pr.805] Latch data range upper limit value, [Pr.806] Latch data range lower limit value
Set the upper limit value and lower limit value of the latch data at mark detection. When the data at mark detection is within the range, they are stored in "[Md.801] Mark detection data storage area" (1 to 32) and the "[Md.800] Number of mark detection" is incremented by 1. The mark detection processing is not executed.
Upper limit value Lower limit value
Upper limit value Lower limit value
range.
t · t
![Page 846 of the Mitsubishi Electronics QD77MS2 user manual — [Cd.801] Mark detection invalid flag](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-846.webp?w=400)
Chapter 14 Common Functions
Set the data storage method of mark detection.
value Operation for mark detection Mark detection data
The data is updated in the mark detection data storage area 1.
Continuous detection mode 0 Always
Number of detections (If the number of mark detection is the number of detections or more, the mark detection is not executed.)
Specified number of detection mode 1 to 32
The data is stored to the mark detection data storage area "n". n = (1+ Number of mark detection) Ring buffer mode -1 to -32
Always (The mark detection data storage area 1 to 32 is used as a ring buffer for the number of detections.)
(2) Mark detection control data
Setting item Setting details/setting value Default
Set "1" to execute "0" clear of number of mark detections. "0" is automatically set after completion by "0" clear of number of mark detections.
Number of mark detection clear request
[Cd.800]
Set this flag to invalidate mark detection temporarily.
[Cd.801] Mark detection
Request the processing of latch data range change. Set the following value depending on the timing of updating the change value.
[Cd.802] Latch data range
k: Mark detection setting No.-1
Set "1" to execute "0" clear of "[Md.800] Number of mark detection". "0" is automatically set after completion by "0" clear of "[Md.800] Number of mark detection".
Set "1" to invalidate mark detection temporarily. The mark detection signal during invalidity is ignored.
![Page 847 of the Mitsubishi Electronics QD77MS2 user manual — [Md.801] Mark detection data storage area 1 to 32](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-847.webp?w=400)
Chapter 14 Common Functions
Request the processing of latch data range change. Set the following value depending on the timing of updating the change value.
Types of change request [Cd.801] Mark detection invalid flag Changing possibility
: Possible, : Not possible
(3) Mark detection monitor data
Storage item Storage details/storage value
The number of mark detections is stored. "0" clear is executed at power supply ON.
Continuous detection mode: 0 to 65535 (Ring counter) Specified number of detection mode: 0 to 32 Ring buffer mode: 0 to (number of buffers - 1) Refresh cycle: At mark detection
[Md.800] Number of mark
The latch data at mark detection is stored. Data for up to 32 times are stored in the specified number of detection mode. Data are stored as a ring buffer for number of detections in the ring buffer mode.
Mark detection data storage area 1
54962+80k, 54963+80k to 55024+80k, 55025+80k
[Md.801]
to Mark detection data storage area 32
k: Mark detection setting No.-1
The counter value is incremented by 1 at mark detection. Preset "0" clear in "[Cd.800] Number of mark detection clear request" to execute the mark detection in specified number of detections mode or ring buffer mode.
The latch data at mark detection is stored. Data for up to 32 times can be stored in the specified number of detection mode or ring buffer mode.
Buffer memory address · 54960+80k · detection
![Page 848 of the Mitsubishi Electronics QD77MS2 user manual — [4] Precautions](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-848.webp?w=400)
Chapter 14 Common Functions
When the data of "[Pr.802] Mark detection data type" or "[Pr.803] Mark detection data axis No." is selected incorrectly, the incorrect latch data is stored. For the data of "[Pr.802] Mark detection data type", set the item No. instead of specifying the buffer memory No. directly.

Chapter 14 Common Functions
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". [1] Data that can be set [2] List of buffer memory
![Page 850 of the Mitsubishi Electronics QD77MS2 user manual — [1] Data that can be set](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-850.webp?w=400)
Chapter 14 Common Functions
![Mitsubishi Electronics QD77MS2 — [1] Data that can be set diagram (page 850)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-850-1.webp)
2 Regenerative load ratio [%] 3 Peak load factor [%] 4 Load inertia moment ratio [ 0.1] 5 Model loop gain [rad/s] 6 Bus voltage [V] 7 Servo motor rotation speed [r/min]
21 Encoder single revolution position [PLS] 22 Selection droop pulse [PLS]
24 Load side encoder information 1 [PLS] (Note-4) (Note-4), (Note-5)
25 Load side encoder information 2 — (Note-4) (Note-4), (Note-5)
: Possible, — : Not possible ("0" is stored.)
(Note-1): The motor speed that took the average every 227[ms].
Use the servo amplifiers of version compatible with the monitor of motor speed. Always "0" if the monitor is executed for the servo amplifier which does not support this function. (Note-2): The data set to "Droop pulse monitor selection for controller display" of "Fully closed loop
function selection 3 (PE10)" is monitored. (Note-3): It can be monitored when using the linear servo motors. (Note-4): It can be monitored when using the fully closed control. (Note-5): It can be monitored when using the synchronous encoder via servo amplifier.
Refer to each servo amplifier instruction manual for details of the data monitored.

Chapter 14 Common Functions
The buffer memory used in the optional data monitor function is shown below. (1) Expansion parameter
Setting item Setting details/setting value
[Pr.91]
[Pr.92]
[Pr.93]
[Pr.94]
n: Axis No.-1
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 "[Pr.91] Optional data monitor: Data
type setting 1" or "[Pr.93] Optional data monitor: Data type setting 3". If it is set in "[Pr.92] Optional data monitor: Data type setting 2" or "[Pr.94] Optional data monitor: Data type setting 4", the warning "Optional data monitor data type setting error" (warning code: 116) will occur with initialized communication to servo amplifier, and "0" is set in [Md.109] to [Md.112]. (3) Set "0" in "[Pr.92] Optional data monitor: Data type setting 2" when the data type
of "used point: 2 words" is set in "[Pr.91] Optional data monitor: Data type setting 1", and set "0" in "[Pr.94] Optional data monitor: Data type setting 4" when the data type of "used point: 2 words" is set in "[Pr.93] Optional data monitor: Data type setting 3". When other than "0" is set, the warning "Optional data monitor data type setting error" (warning code: 116) will occur with initialized communication to servo amplifier, and "0" is set in [Md.109] to [Md.112]. (4) When the data type of "used point: 2 words" is set, the monitor data of low-order
is "[Md.109] Regenerative load ratio/Optional data monitor output 1" or "[Md.111] Peak torque ratio/Optional data monitor output 3". (5) Refer to this Section "[1] Data that can be set" for the data type that can be
monitored on each servo amplifier. When the data type that cannot be monitored is set, "0" is stored to the monitor output.

Chapter 14 Common Functions
(2) Axis monitor data
Storage item Storage details/storage value
Regenerative load ratio/Optional data monitor output 1
[Md.109]
Effective load torque/Optional data monitor output 2
[Md.110]
Peak torque ratio/Optional data monitor output 3
[Md.111]
[Md.112] Optional data monitor
n: Axis No.-1
POINT When the communication interrupted by the servo amplifier's power supply OFF or disconnection of communication cable with servo amplifiers during optional data monitor, "0" is stored in [Md.109] to [Md.112].

Chapter 14 Common Functions
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.

Error history of PLC CPU and intelligent function module is displayed in one screen.
Errors in the entire system can be monitored in reverse chronological order. 1) CPU
19:33 Error A1 Error C1 Error B1 Error A2
For details on the module error collection function, refer to Section 16.1 "Checking errors using GX Works2".
![Page 854 of the Mitsubishi Electronics QD77MS2 user manual — [2] Precautions during control](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-854.webp?w=400)
Chapter 14 Common Functions
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". [1] Control details [2] Precautions during control [3] Buffer memory list [4] Procedure to connect/disconnect [5] Program
Set the connect/disconnect request of SSCNET communication in "[Cd.102] SSCNET control command", and the status for the command accept waiting or execute waiting is stored in "[Md.53] SSCNET control status". Use this buffer memory to connect the servo amplifiers disconnected by this function. When the power supply module of head axis of SSCNET system (servo amplifier connected directly to the Simple Motion module) turns OFF/ON, this function is not necessary.
(1) Confirm the LED display of the servo amplifier for "AA" after completion of
SSCNET communication disconnect processing. And then, turn OFF the servo amplifier's power supply. (2) The "[Md.53] SSCNET control status" only changes into the "-1: Execute
waiting" even if the "Axis No.: Disconnect command of SSCNET communication" or "-10: Connect command of SSCNET communication" is set in "[Cd.102] SSCNET control command". The actual processing is not executed. Set "-2: Execute command" in "[Cd.102] SSCNET control command" to execute. (3) When the "Axis No.: Disconnect command of SSCNET communication" is
set to axis not connect or virtual servo amplifier, the status will not change without "[Md.53] SSCNET control status" becoming "-1: Execute waiting". (4) Operation failure may occur in some axes if the servo amplifier's power
supply is turned OFF without using the disconnect function. Be sure to turn OFF the servo amplifier's power supply by the disconnect function.

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. "[Md.53] SSCNET control status" will be "0: Command accept waiting" (The disconnection is released.). If being switched to the amplifier-less operation mode when "[Md.53] SSCNET control status" is "1: Disconnected axis existing", the disconnected axis is automatically connected when switching to the normal operation mode again. If being switched to the amplifier-less operation mode when "[Md.53] SSCNET control status" is "-1: Execute waiting", the connect/disconnect command becomes invalid.
The buffer memory for the connect/disconnect function of SSCNET communication is shown below. (1) System control data
The connect/disconnect command of SSCNET communication is executed. 0 : No command Axis No. (Note-1) : Disconnect command of
SSCNET communication (Axis No. to be disconnected) -2 : Execute command -10 : Connect command of
[Cd.102] SSCNET control
SSCNET communication Except above setting: Invalid (Note-1): QD77MS2 : 1 to 2,
![Page 856 of the Mitsubishi Electronics QD77MS2 user manual — [4] Procedure to connect/disconnect](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-856.webp?w=400)
Chapter 14 Common Functions
(2) System monitor data

The connect/disconnect status of SSCNET communication is stored. 1: Disconnected axis existing 0: Command accept waiting -1: Execute waiting -2: Executing
Procedure to connect/disconnect at the exchange of servo amplifiers or SSCNET cables is shown below. (1) Procedure to disconnect
Disconnect command (Axis No. of servo amplifier to be disconnected)
![Mitsubishi Electronics QD77MS2 — [4] Procedure to connect/disconnect diagram (page 856)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-856-2.webp)
SSCNET control command Cd.102
SSCNET control status Md.53
Disconnect execute command · Disconnect command clear
![Page 857 of the Mitsubishi Electronics QD77MS2 user manual — [5] Program](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-857.webp?w=400)
Chapter 14 Common Functions
(2) Procedure to connect

POINT When "-1: Execute waiting" is set in "[Md.53] SSCNET control status", the command of execute waiting can be canceled if "0: No command" is set in "[Cd.102] SSCNET control command".
The sequence program example to connect/disconnect the servo amplifiers after
Axis 5 connected to the QD77MS16 is shown next page.
checking the LED display "AA" of servo amplifier by turning X50 from OFF to ON. Connect procedure : Resume operation of servo amplifier after
checking the "[Md.26] Axis operation status" of the connected servo amplifier by turning X51 from OFF to ON.
![Mitsubishi Electronics QD77MS2 — [5] Program diagram (page 857)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-857-2.webp)
Axis 1 Axis 2 Axis 3 Axis 4 Axis 5 Axis 6 Axis 7 Axis 8
Connect execute command

Chapter 14 Common Functions
M101
0 MOV K5
D250
Disconne ct comma nd
Disconne ct reque st (Axis 5)
Disconne ct execu tion req uest
Disconne ct compl etion ch eck
Disconne ct reque st (Axis 5)
U0\ G5932 U0\ G4233
= K0
MOV D250
Disconne ct reque st (Axis 5)
SSCNET c ontrol s tatus
SSCNET c ontrol c ommand
= K1
RST M100
SSCNET c ontrol s tatus
Disconne ct reque st (Axis 5)
M101
Disconne ct execu tion req uest
U0\ G4233
U0\ G5932
= K-1
MOV K-2
Disconne ct execu tion req uest
SSCNET c ontrol s tatus
SSCNET c ontrol c ommand
M101
Disconne ct execu tion req uest
M102
Disconne ct compl etion ch eck
41 U0\ G4233
= K1
RST
Disconne ct compl etion ch eck
SSCNET c ontrol s tatus
Disconne ct compl etion ch eck
(1) Disconnect operation

Chapter 14 Common Functions
M111
M112
47 MOV K-10
D250
Connect executio n reques t
Connect completi on check
M110
U0\ G4233
U0\ G5932
= K1
MOV D250
SSCNET c ontrol s tatus
SSCNET c ontrol c ommand
M110
SET
M111
Connect executio n reques t
= K-1
U0\ G4233
MOV K-2
U0\ G5932
Connect executio n reques t
SSCNET c ontrol s tatus
SSCNET c ontrol c ommand
M111
Connect executio n reques t
M112
Connect completi on check
M112 M112
= K0
RST
Connect completi on check
SSCNET c ontrol s tatus
Connect completi on check
![Page 860 of the Mitsubishi Electronics QD77MS2 user manual — [2] Control details](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-860.webp?w=400)
Chapter 14 Common Functions
The "QD75MH initial value setting function" is used to set the factory-set initial value of QD75MH in the setting data set in the QD77MS buffer memory/internal memory and flash ROM/internal memory (nonvolatile). Because some initial values of parameter between QD77MS and QD75MH are different, when switching to QD77MS from QD75MH without using Simple Motion Module Setting Tool of GX Works2, set the parameter value to factory-set initial value of QD75MH by this function before using. (This function does not need to be executed in case the parameter setting of QD77MS is executed using the Simple Motion Module Setting Tool of GX Works2.)
The details shown below explain about the "QD75MH initial value setting function". [1] QD75MH initial value setting means [2] Control details [3] Precautions during control [4] QD75MH initial value setting method
The following table shows the data that the initial value is set by the "QD75MH initial value setting function". (The data set are "buffer memory/internal memory" and "flash ROM/internal memory (nonvolatile)" setting data.)
Basic parameters ([Pr.1] to [Pr.10])
Detailed parameters ([Pr.11] to [Pr.42], [Pr.80] to [Pr.90], [Pr.95])
OPR basic parameters ([Pr.43] to [Pr.48])
OPR detailed parameters ([Pr.50] to [Pr.57])
Expansion parameters ([Pr.91] to [Pr.94], [Pr.96], [Pr.97], [Pr.114])
Servo parameters ([Pr.100], PA, PB, PC, PD, PE, PS, PF, Po, PL)
Positioning data (No.1 to 600)
Block start data (No.7000 to 7004)
Refer to the "Type QD75MH Positioning Module Use’s Manual (Details)" for set initial value. However, "0" is set in the data of QD77MS only.
Setting data

Chapter 14 Common Functions
(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.
(2) Writing to the flash ROM is up to 100,000 times. If writing to the flash ROM
exceeds 100,000 times, the writing may become impossible, and the error "Flash ROM write error" (error code: 801) will occur.
(3) A "PLC CPU reset" or "PLC CPU power restart" must be carried out after
the parameters are initialized.
(4) When using the QD77MS16, the setting value is set to "1" even though the
initial value setting is executed by this function because the initial value of QD75MH "0" is out of the setting range in "[Pr.80] External input signal selection".
(1) QD75MH initial value setting is carried out by the writing of the data shown in
the table below to the buffer memory using the TO command/intelligent function device. The initialization of the parameter is executed at the time point the data is written to the buffer memory.
value setting request 1 Set "1" (Requests QD75MH initial value setting). 1909 5909
[Cd.47] QD75MH initial
: Refer to Section 5.7.1 "System control data" for details on the setting details.
When the initialization is complete, "0" will be set in "[Cd.47] QD75MH initial value setting request" automatically.
Buffer memory address · Setting item Setting · value Setting details
![Page 862 of the Mitsubishi Electronics QD77MS2 user manual — [MR-J4-B]](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-862.webp?w=400)
Chapter 14 Common Functions
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
The hot line forced stop function is set in the servo parameter. This function can execute deceleration stop for other axes without via Simple Motion module by notifying the servo alarm occurrence. For details, refer to "MR-JE-_B Servo Amplifier Instruction Manual". This function is enabled at the MR-JE-B factory-set. To disable this function, set "1: Disabled" in the servo parameter "Hot line forced stop function Hot line forced stop function selection (PA27)". Also, when the system is configured with MR-JE-B and MR-J4-B, this function can execute deceleration stop for MR-J4-B at the servo alarm occurrence in MR-JE-B. To execute deceleration stop for MR-J4-B, set "2: Enabled" in the servo parameter of MR-J4-B "Hot line forced stop function Deceleration to stop selection (PA27)". ("0: Disabled" is set at factory-set.) The following shows the setting value of the servo parameter (PA27) and the operation of servo amplifier.
Setting value of " Hot line forced stop function
Hot line forced stop function selection (PA27)" Output hot line Deceleration stop when receiving
the hot line signal
Setting value of "Hot line forced stop function
Deceleration to stop selection (PA27)" Output hot line Deceleration stop when receiving
the hot line signal
Use the software version that supports the hot line forced stop function for the servo amplifier to use the hot line forced stop function. The following table shows the software version of servo amplifier that supports the hot line forced stop function.
Servo amplifier type Software version
MR-J4(W)-B B7 or later
MR-JE-B B6 or later
Therefore, it does not output the hot line or execute deceleration stop by receiving the hot line
signal.
![Page 863 of the Mitsubishi Electronics QD77MS2 user manual — [2] Precautions during control](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-863.webp?w=400)
Chapter 14 Common Functions
(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" in "[Cd.5] Axis error reset" for each axis after the factor is removed in the axis where the servo alarm occurred. Even if "1" is set in "[Cd.5] Axis error reset" before the factor is not removed, the servo warning "Controller forced stop warning" (warning No.: E7) is not cleared. [3] Operation chart
The following shows the timing at the servo alarm occurrence.
![Mitsubishi Electronics QD77MS2 — [2] Precautions during control diagram (page 863)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-863-1.webp)
Axis in which the servo alarm occurred (axis 2)
Axis in which the servo alarm does not occur (axis 1)
1) The servo alarm occurs in axis 2 and the servomotor stops with dynamic brake. 2) The notification from the alarm occurrence axis is received in axis 1. The servo warning ("[Md.108] Servo status": b15) is turned ON and the deceleration stop is executed. 3) The servo alarm ("[Md.108] Servo status": b7) is turned OFF by removing the servo alarm factor of axis 2. 4) The warning ("[Md.108] Servo status": b15) is turned OFF by "[Cd.5] Axis error reset" of axis 1.

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.
15.1 List of dedicated instructions 15- 2 15.2 Interlock during dedicated instruction is executed 15- 2 15.3 ZP.PSTRT1, ZP.PSTRT2, ZP.PSTRT3, ZP.PSTRT4 15- 3 15.4 ZP.TEACH1, ZP.TEACH2, ZP.TEACH3, ZP.TEACH4 15- 7 15.5 ZP.PFWRT 15- 11 15.6 ZP.PINIT 15- 15

Chapter 15 Dedicated Instructions
The dedicated instructions explained in this Chapter are listed in Table 15.1.
Table 15.1 List of dedicated instructions

This function starts the positioning control of the designated axis of the Simple Motion module. Section 15.3 ZP.PSTRT2
This function carries out teaching the designated axis of the Simple Motion module. Section 15.4 ZP.TEACH2
Writing to flash ROM ZP.PFWRT This function writes the buffer memory parameters,
positioning data and block start data to the flash ROM. Section 15.5
This function initializes the buffer memory and flash ROM setting data to the factory-set data (initial values of the Simple Motion module).
POINT The dedicated instructions of QD77MS16 can be used for only axis 1 to 4. They cannot be used for axis 5 to 16. If the ZP.PSTRT5 to ZP.PSTRT16 or ZP.TEACH5 to ZP.TEACH16 is executed, the error "Program code error" (error code: 4002) for PLC CPU and the error "PLC CPU error" (error code: 803) for QD77MS16 will occur and positioning cannot be started. Refer to "QCPU User's Manual (Hardware Design, Maintenance and Inspection) for error of PLC CPU". 15.2 Interlock during dedicated instruction is executed

The positioning start instruction (ZP.PSTRT ) and teaching instruction (ZP.TEACH ) cannot be executed simultaneously in each axis. If they are executed at the same time, the second and later instructions are ignored by an internal interlock (no error will occur). The timing of the positioning start instruction (ZP.PSTRT ) is as shown below.

ZP.PSTRT instruction ON
Interlock provided by PLC CPU
OFF
OFF
BUSY signal · Positioning completed signal
![Page 866 of the Mitsubishi Electronics QD77MS2 user manual — "ZP.PSTRT ". [Setting data]](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-866.webp?w=400)
Chapter 15 Dedicated Instructions
These dedicated instructions are used to start the positioning of the designated axis.

(S) – (D) –
![Mitsubishi Electronics QD77MS2 — "ZP.PSTRT ". [Setting data] diagram (page 866)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-866-2.webp)
"Un" Head I/O number of Simple Motion module (00 to FE: High-order two digits of I/O number expressed in three digits) User BIN 16 bits
(S) Head number of a device in which control data is stored – Device name
Head number of a bit device which turns ON the operation by one scan at the time of completion of the instruction. If the instruction is completed abnormally, ((D) + 1) will also be turned ON.
![Page 867 of the Mitsubishi Electronics QD77MS2 user manual — [Control data]](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-867.webp?w=400)
Chapter 15 Dedicated Instructions
Device Item Setting data Setting range Setting side
(Note-1) (S)+0 System area – – –
The state at the time of completion is stored.
The following data Nos. to be started by the ZP.PSTRT instruction are designated.
1 to 600 7000 to 7004 9001 to 9004 User
(S)+2 Start No.
(Note-1): The data on the setting side is as follows.
(1) The positioning start of the axes to be processed (See below) is carried out.
(2) The block start, OPR start, current value changing, and multiple axes
simultaneous start can be carried out by the setting of "start number" 7000 to 7004/9001 to 9004 in ((S)+2).
(3) The ZP.PSTRT 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.PSTRT instruction is completed, and turned OFF by the next END processing.
(b) Complete state display device ((D)+1)
processing of the scan for which ZP.PSTRT instruction is completed, and turned OFF by the next END processing. (Same ON/OFF operation as the complete device.)
(S)+1 Complete status
![Page 868 of the Mitsubishi Electronics QD77MS2 user manual — [Errors]](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-868.webp?w=400)
Chapter 15 Dedicated Instructions
END processing END processing END processing

ZP.PSTRT instruction OFF
Complete state display device
(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). Check and take a measure against the error referring to Section 16.4 "List of errors". [Precautions]
(1) If the positioning is started by the ZP.PSTRT instruction, the start complete signals turn ON. However, since the ON time is short, the ON status may not to be detected in the program. Confirm the operation during the positioning control using the ZP.PSTRT start instruction and BUSY signals.
(2) If the stop instruction is input before completion of the positioning which has been
started by the ZP.PSTRT instruction, the completion device (D) turns the 1-scan ON to complete execution of the ZP.PSTRT instruction.
(3) The following dedicated instructions cannot be executed simultaneously for the
(4) The ZP.PSTRT instruction can only be executed when the READY signal [X0] is turned ON. Even if the ZP.PSTRT instruction execution request is given when the READY signal [X0] is turned OFF, the ZP.PSTRT instruction will not be executed. (Not processed.) Before executing the ZP.PSTRT instruction, turn ON the PLC READY signal [Y0], and turn ON the READY signal [X0].

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" (device: (S)+2) of the control data.
(6) When the multiple axes simultaneous start is executed by ZP.PSTRT instruction, the completion device (D) will turn ON when the positioning of the axes executed by ZP.PSTRT instructions (when the instructions is ZP.PSTRT1, the axis will be 1.) is completed.
(7) When "[Cd.3] Positioning start No." is changed from ZP.PSTRT instruction is
executed until the positioning start is completed, the changed positioning is started. When starting the positioning using ZP.PSTRT instruction, do not change "[Cd.3] Positioning start No." until the start complete signal is turned ON. [Program examples]
X100 0
M150 7
MOVP K1 D32
"U0" D30 M32 ZP.PSTRT1
RST M200
(2) Positioning start program (when dedicated instruction is not used)
X100 0
PLS M150
M150 9
U0\ G1500
MOV K1
17 Y10
RST Y10 X10 DX0C
Use the direct access input as BUSY signal to use this program example.
·
![Page 870 of the Mitsubishi Electronics QD77MS2 user manual — "ZP.TEACH ". [Setting data]](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-870.webp?w=400)
Chapter 15 Dedicated Instructions
These dedicated instructions are used to teach the designated axis.

(S) – (D) –
![Mitsubishi Electronics QD77MS2 — "ZP.TEACH ". [Setting data] diagram (page 870)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-870-2.webp)
"Un" Head I/O number of Simple Motion module (00 to FE: High-order two digits of I/O number expressed in three digits) User BIN 16 bits
(S) Head number of a device in which control data is stored – Device name
Head number of a bit device which turns ON the operation by one scan at the time of completion of the instruction. If the instruction is completed abnormally, ((D) + 1) will also be turned ON.
![Page 871 of the Mitsubishi Electronics QD77MS2 user manual — [Control data]](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-871.webp?w=400)
Chapter 15 Dedicated Instructions
Device Item Setting data Setting range Setting side
(Note-1) (S)+0 System area – – –
The state at the time of completion is stored.
The address (positioning address/arc address) to which the current feed value is written is set.
(S)+2 Teaching data selection
(S)+3 Positioning data No. The positioning data No. for which teaching is carried out
is set. 1 to 600 User
(Note-1): The data on the setting side is as follows.
(1) The "current feed value" of the axes to be set (See below) is set in the positioning
(2) Teaching can be carried out for the positioning data No. 1 to 600.
(3) The movement of the machine to the address (position) set in the positioning
address/arc address of the positioning data is carried out by the JOG operation, inching operation, or manual pulse generator operation.
(4) The ZP.TEACH 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.TEACH instruction is completed, and turned OFF by the next END processing.
(b) Complete state display device ((D)+1)
processing of the scan for which ZP.TEACH instruction is completed, and turned OFF by the next END processing. (Same ON/OFF operation as the complete device.)
(S)+1 Complete status · 0, 1 User
![Page 872 of the Mitsubishi Electronics QD77MS2 user manual — [Precautions]](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-872.webp?w=400)
Chapter 15 Dedicated Instructions

ZP.TEACH instruction
Complete state display device
(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. Check and take a measure against the error referring to Section 16.4 "List of errors".
(1) The following dedicated instructions cannot be executed simultaneously for the
(2) The ZP.TEACH instruction can only be executed when the BUSY signal is turned OFF. When the BUSY signal is turned ON, the ZP.TEACH instruction will not be executed. (Not processed.) Before executing the ZP.TEACH instruction, make sure that the BUSY signal for the axis to be processed is turned OFF.
(3) If the ZP.TEACH instruction is executed in any of the following cases, an error "Dedicated instruction error" (error code: 804) will occur and teaching cannot be performed. • Any value other than 0 and 1 is set to "Teaching selection" (device: (S)+2) of
the control data. • Any value other than 1 to 600 is set to "Positioning No." (device: (S)+3) of the
control data.

Chapter 15 Dedicated Instructions
Program to execute the teaching of the positioning data No. 3 of the axis 1 when X39 is turned ON in QD77MS4.
Positioned manually to target position.
622
M19
SET M20
M20
MOVP H0 D35
MOVP K3 D36
M34 M35
RST M20
(2) Teaching program (when dedicated instruction is not used)
Positioned manually to target position.
X39 0
M19
M20 M19
SET
15 M20
U0\ G1548
MOVP K0
U0\ G1549
MOVP K1
RST M20
![Page 874 of the Mitsubishi Electronics QD77MS2 user manual — [Setting data]](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-874.webp?w=400)
Chapter 15 Dedicated Instructions
These dedicated instructions are used to write the parameters, positioning data, and block start data of Simple Motion module to the flash ROM.

(S) – (D) –
![Mitsubishi Electronics QD77MS2 — [Setting data] diagram (page 874)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-874-2.webp)
"Un" Head I/O number of Simple Motion module (00 to FE: High-order two digits of I/O number expressed in three digits) User BIN 16 bits
(S) Head number of a device in which control data is stored – Device name
Head number of a bit device which turns ON the operation by one scan at the time of completion of the instruction. If the instruction is completed abnormally, ((D) + 1) will also be turned ON.
![Mitsubishi Electronics QD77MS2 — [Setting data] diagram (page 874)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-874-3.webp)
The state at the time of completion is stored.
(Note-1): The data on the setting side is as follows.
![Page 875 of the Mitsubishi Electronics QD77MS2 user manual — [Errors]](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-875.webp?w=400)
Chapter 15 Dedicated Instructions
(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.
(b) Complete state display device ((D)+1)
processing of the scan for which ZP.PFWRT instruction is completed, and turned OFF by the next END processing. (Same ON/OFF operation as the complete device.)
![Mitsubishi Electronics QD77MS2 — [Functions] diagram (page 875)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-875-1.webp)
ZP.PFWRT instruction
Complete state display device
(1) When a dedicated 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). Check and take measures against the error referring to Section 16.4 "List of errors".
![Page 876 of the Mitsubishi Electronics QD77MS2 user manual — [Precautions]](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-876.webp?w=400)
Chapter 15 Dedicated Instructions
(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. If this occurs, restart the operation by the method shown below. • For GX Works2, write the parameters, positioning data and block start data
again to the flash ROM. • For a sequence program, write the parameters, positioning data and block start
data to the Simple Motion module after initializing the parameters (ZP.PINIT instruction execution and others). Then execute the ZP.PFWRT instruction again.
(2) Writing to the flash ROM is up to 100,000 times.
If writing to the flash ROM exceeds 100,000 times, the writing to the flash ROM will become impossible.
(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" (error code: 805) will occur, and the writing will be disabled. If a flash ROM write error occurs by one writing to the flash ROM, check and correct the flash ROM writing program. Then reset the error or turn ON the power and reset the PLC CPU again.
(4) The ZP.PFWRT instruction can only be executed when the READY signal [X0] is
turned OFF. When the READY signal [X0] is turned ON, the ZP.PFWRT instruction cannot be executed. Before executing the ZP.PFWRT instruction, turn OFF the PLC READY signal [Y0] and then turn OFF the READY signal [X0]. (5) When the PLC READY signal [Y0] is turned ON, the error "SSCNET
communication error" (error code: 1205) occurs, "Rotation direction selection/travel direction selection (PA14)" is changed by sequence program or the GX Works2 after the servo parameter is transmitted to servo amplifier (LED of the servo amplifier is indicated b, C, or d). When "Rotation direction selection/travel direction selection (PA14)" is changed, transmit the servo parameter to servo amplifier.

Chapter 15 Dedicated Instructions
Program used to write the parameters and positioning data stored in the buffer memory to the flash ROM when X3D is turned ON in QD77MS4.
(1) Flash ROM write program
X3D 829
SET M27 M26
Y0
K2
T1
"U0" D39 M38 ZP.PFWRT
RST M27
(2) Flash ROM write program (when dedicated instruction is not used)
X3D 0
M26
M27 M26
SET
Y0
K2
T1
U0\ G1900
MOVP K1
RST M27
![Page 878 of the Mitsubishi Electronics QD77MS2 user manual — [Setting data]](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-878.webp?w=400)
Chapter 15 Dedicated Instructions
This dedicated instruction is used to initialize the setting data of the Simple Motion module.

(S) – (D) –

![Mitsubishi Electronics QD77MS2 — [Setting data] diagram (page 878)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-878-3.webp)
"Un" Head I/O number of Simple Motion module (00 to FE: High-order two digits of I/O number expressed in three digits) User BIN 16 bits
(S) Head number of a device in which control data is stored – Device name
Head number of a bit device which turns ON the operation by one scan at the time of completion of the instruction. If the instruction is completed abnormally, ((D) + 1) will also be turned ON.
![Mitsubishi Electronics QD77MS2 — [Setting data] diagram (page 878)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-878-4.webp)
The state at the time of completion is stored.
(Note-1): The data on the setting side is as follows.
![Page 879 of the Mitsubishi Electronics QD77MS2 user manual — [Errors]](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-879.webp?w=400)
Chapter 15 Dedicated Instructions
(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).
(a) Complete device ((D)+0)
This device is turned ON by the END processing of the scan for which ZP.PINIT instruction is completed, and turned OFF by the next END processing.
(b) Complete state display device ((D)+1)
processing of the scan for which ZP.PINIT instruction is completed, and turned OFF by the next END processing. (Same ON/OFF operation as the complete device.)
![Mitsubishi Electronics QD77MS2 — [Functions] diagram (page 879)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-879-1.webp)
ZP.PINIT instruction
Complete state display device
(1) When a dedicated 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). Check and take measures against the error referring to Section 16.4 "List of errors". [Precautions]
(1) The ZP.PINIT instruction can only be executed when the READY signal [X0] is
turned OFF. When the READY signal [X0] is turned ON, the ZP.PINIT instruction cannot be executed. Before executing the ZP.PINIT instruction, turn OFF the PLC READY signal [Y0] and then turn OFF the READY signal [X0].
(2) Writing to the flash ROM is up to 100,000 times.
If writing to the flash ROM exceeds 100,000 times, the writing to the flash ROM will become impossible.

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" (error code: 805) will occur, and the writing will be disabled. If a flash ROM write error occurs by one writing to the flash ROM, check and correct the flash ROM writing program. Then reset the error or turn ON the power and reset the PLC CPU again. [Program example]
The following program initializes the parameters in buffer memory and flash ROM when X3C turns ON in QD77MS4. (1) Parameter initialization program
X3C 796
SET M25 M24
Y0
K2
T0
"U0" D37 M36 ZP.PINIT
M36 M37
RST M25
(2) Parameter initialization program (when dedicated instruction is not used)
X3C 0
M24
M25 M24
SET
Y0
K2
T0
U0\ G1901
MOVP K1
= K0 U0\ G1901
RST M25
·

Chapter 15 Dedicated Instructions


Select [Diagnostics] [System Monitor] on GX Works2. Select "QD77MS" for "Main block" and click the [Detailed information] button. The "Module's Detailed Information" screen for the QD77MS appears and error code, error details, and corrective actions can be checked.
(2) Checking errors on the "Error History" screen.
POINT The PLC CPU and GX Works2 that support the module error collection function are required to confirm errors on the "Error History" screen. Refer to each PLC CPU manual for the version of the PLC CPU or GX Works2 that supports the module error collection function.
On the "Error History" screen, the error logs of the QD77MS are displayed in a list together with the error logs of other modules. The logs can be output to a CSV format file. The error codes and the time of error occurrence can be checked even after the PLC CPU is powered off and then on or reset. Select [Diagnostics] [System Monitor] [System Error History] button on GX Works2.
(a) Error History List
Module error logs are displayed in a list.
Chapter 16 Troubleshooting

(b) Error and Solution, Intelligent Module Information
Start axis The axis No. requested to start is stored.
Positioning start No. The start No. at positioning start is stored. (Note-1)
Axis in which the error occurred The axis No. in which the error occurred is stored.
The positioning data No. currently being executed in which the error occurred is stored.
Axis error occurrence (Data No.)
Current feed value The current feed value of the axis in which the error occurred (at error occurrence) is stored.
State of the input signal [X0 to XF] The status of input signals [X0 to XF] (at error occurrence) is stored (in binary).
State of the input signal [X10 to X1F] The status of input signals [X10 to X1F] (at error occurrence) is stored (in binary).
State of the output signal [Y0 to YF] The status of output signals [Y0 to YF] (at error occurrence) is stored (in binary).
State of the output signal [Y10 to Y1F] The status of output signals [Y10 to Y1F] (at error occurrence) is stored (in binary).
The status of axis 1 external input signals (at error occurrence) is stored.
The status of axis 2 external input signals (at error occurrence) is stored.
The status of axis 3 external input signals (at error occurrence) is stored.
The status of axis 4 external input signals (at error occurrence) is stored.
(Note-1): "0" is stored at the servo error occurrence. (Note-2): The current cam data No. is displayed for output axis of synchronous control.

The status of external input signals of the axis in which the error occurred (at error occurrence) is stored.
Servo alarm The alarm code detected by servo amplifier is stored. (Note-1)
Driver operation alarm The driver operation alarm detected by servo amplifier is stored. (Note-2) (Note-1): "0" is stored unless the servo error occurs. (Note-2): "0" is stored unless the driver operation alarm occurs.
(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*" is frequently displayed, set a larger value for the number of errors collected per scan in the PLC RAS tab of the PLC Parameter dialog box. For the setting, refer to the "User's Manual (Function Explanation, Program Fundamentals)" of the CPU module in use.
(2) If the error occurred at the simultaneous start, the axis No. in which the error is
detected is stored in the "Starting axis" in Error History.
Chapter 16 Troubleshooting · Item Description · QD77MS16 display

(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.
Is the power supplied? Check that the voltage supplied to the power supply module is within the rated range.
Calculate the total current consumption of the connected modules (PLC CPU module, I/O modules, and intelligent function modules) and check that the power supply capacity is not insufficient.
Is the power supply capacity sufficient?
Is the module connected correctly? Check the state of connection with the module.
If there is no problem on the above check items, a watchdog timer error may have occurred. Reset the PLC CPU and check that the RUN LED turns on. If not, the possible cause is a hardware failure. Please consult your local Mitsubishi representative, explaining a detailed description of the problem.
(b) When the ERR.LED turns on
Is there a system error? An error may have occurred in the PLC CPU. Check the error code and take a corrective action.
(c) When the ERR. LED and axis LED flash
Is there an axis error? Check the error code and take the action described in Section 16.4.
(d) When the ERR.LED flashes
Is there a synchronous encoder axis error?
Check the error code and take the action described in Section 16.4.
(e) When all LEDs turn on
Reset the PLC CPU and check that the module is in the normal status. If all LEDs still turn on, the possible cause is a hardware failure. Please consult your local Mitsubishi representative, explaining a detailed description of the problem.

Check items and corrective actions for troubleshooting when a motor does not rotate are described below.

n: Axis No.-1
Is the PLC READY signal turned ON? Review the program to turn ON the PLC READY signal.
Is the servo amplifier powered ON? Power on the servo amplifier.
Is there an error in the servo amplifier?
Check the error code of the servo amplifier and take a corrective action.
Is the wiring between the Simple Motion module and servo amplifier correct?
Check the wiring between the Simple Motion module and servo amplifier, and correct it.
Is the wiring between the servo amplifier and motor correct?
Check the wiring between the servo amplifier and motor, and correct it.
Is the wiring of the limit signal correct?
Check the wiring and logic setting of the limit signal, and correct the wiring.
Is there an error in the Simple Motion module? (ERR. LED is on or flashing)
Check the error code and take a corrective action.
Isn't the value in "[Md.26] Axis operation status" "1: stopped"?
Is the value in "[Md.20] Current feed value" changed after positioning control is performed?
Review the start program.
Is the cumulative pulse of servo amplifier changed after positioning control is performed?
Refer to each servo amplifier instruction manual and check that the function to suppress the motor rotation is not working.
If a motor does not rotate even after the above items are checked, the possible cause is a hardware failure. Please consult your local Mitsubishi representative, explaining a detailed description of the problem.
Chapter 16 Troubleshooting · Check item Action

(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 that the value in "Rotation direction selection/ travel direction selection (PA14)" matches the settings of servo amplifier. When "Rotation direction selection/travel direction selection (PA14)" has been changed, turn the servo amplifier power supply ON again from OFF or reset the controller, and execute the home position return.
Is the value in "Rotation direction selection/ travel direction selection (PA14)" correct?
(b) When a motor does not rotate at the set speed
Does the value in "[Md.28] Axis feedrate" (Note) indicate the set speed?
Forward run JOG start signal Y8, YA, YC, YE [Cd.181] Forward
Reverse run JOG start signal Y9, YB, YD, YF [Cd.182] Reverse

(c) When the set position is not reached
Does the value in "[Md.20] Current feed value" indicate the intended position when the motor stops?
[When the position set in "[Md.20] Current feed value" is not reached] • Check that the motor is not stopped by Axis stop signals. If a motor is stopped by them, the value "1: stopped" is stored in "[Md.26] Axis operation status".
Axis stop signal Y4 to Y7 [Cd.180] Axis stop
Chapter 16 Troubleshooting · Check item Action · Signal QD77MS2/QD77MS4 QD77MS16

[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 ON) of the PLC READY signal [Y0]. An error will occur if there is a mistake in the parameter setting details at that time. When this kind of error occurs, the READY signal [X0] does not turn ON. To cancel this kind of error, set the correct value in the parameter for which the error occurred, and then turn ON the PLC READY signal [Y0].
POINT Re-set the parameters after parameter initialization (refer to Section 14.2) if errors (error code: 900 to 999) frequently occur and the Simple Motion module does not start.
(2) Errors at the operation start or during operation (Simple Motion module
detection errors) These are errors that occur at the operation start or during operation when the positioning control, JOG operation, or inching operation is used. If an axis error occurs during interpolation operation, the error code will be stored in both the reference axis and the interpolation axis. Note that, in the following cases (a) and (b), the axis error No. will be stored only in the reference axis during analysis of the positioning data set in each point of the positioning start data table. (a) When the interpolation axis is BUSY. (b) When the error occurs in positioning data or parameters unrelated to
interpolation control.
If the error occurs at the simultaneous start of a positioning operation, the axis error storage details will differ depending on whether the error occurred before or after the simultaneous start. If the error (illegal axis No., other axis BUSY, etc.) occurs before the
simultaneous start, the error "Error before simultaneous start" (error code: 501) will occur for the start axis. If the error (positioning data error, software stroke limit error, etc.) occurs
after the simultaneous start, an error code corresponding to the axis in which the error occurred will be stored. Because a simultaneous start cannot be carried out due to this, the error "Simultaneous start not possible" (error code: 532) will be stored in all axes in which an error has not occurred. The axis operation status will be displayed as "error occurring" for axes in which an error occurred. If an error occurs during operation, any moving axes will deceleration stop, and their operation status will be displayed as "error occurring". All axes will decelerate to a stop during interpolation operations, even if the error occurs in only one axis.
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.
(4) Types of error codes

61440 to 61695 Errors for amplifier manufactured by Nikki Denso Co., Ltd.
When an error occurs, the error detection signal turns ON, and the error code corresponding to the error details is stored in the following buffer memory address ([Md.23] Axis error No.) for axis error No. storage. Note that there is a delay of up to operation cycle after the error detection signal turns ON until the error code is stored.

Chapter 16 Troubleshooting

A new error code is stored in the buffer memory address ([Md.23] Axis error No.) for 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. of axis 1. (These errors are stored in the axis error No. of axis 1 for the system which does not use the axis 1.) Error code: 001, 002, 107, 190, 800, 802, 805, 999
When an alarm occurs on servo amplifier, the alarm No. displayed in LED of servo amplifier is stored in the following buffer memory address ([Md.114] Servo alarm). Check the error details and remedies by this servo alarm details.

Chapter 16 Troubleshooting
![Page 893 of the Mitsubishi Electronics QD77MS2 user manual — [2] Warnings](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-893.webp?w=400)
Types of warnings
(1) Simple Motion module detection system warnings
The types of system warnings are shown below.
System control data setting warnings
An axis warning for axis 1 will occur. Positioning data setting warnings
An axis warning for each axis will occur. Note that a warning will occur for the reference axis when an interpolation designation or axis setting warning occurs.
(2) Simple Motion module detection axis warnings
Axis warnings occur due to setting warnings from operations such as
positioning operations, JOG operations or manual pulse generator operations. Axis warnings occur due to system warnings.
The axis operation status does not change even if an axis warning occurs.
(3) Servo amplifier detection warnings
The warnings that occur when the hardware error of the servo amplifier or servo motor occurs or the servo parameter is inapplicable. The servo may not be turned off depending on the warning. However, an error occurs or the operation cannot be executed normally if the warning is remained. When the warning cause is removed, warning is automatically released in the servo amplifier. However, the state that the warning occurs is continued in the Simple Motion module. Reset it if necessary.
(4) Types of warning codes
100 to 199 Common warnings
200 to 299 OPR warnings
300 to 399 JOG operation warnings
400 to 499 Manual pulse generator operation warnings
500 to 599 Positioning operation warnings
600 to 699 Synchronous control input axis warnings
700 to 799 Synchronous control output axis warnings
800 to 899 Cam data operation warnings
900 to 999 System control data setting range check warnings
2000 to 2999 Servo amplifier warnings
(The contents of warnings vary in the model of servo amplifier.)
61440 to 61695 Warnings for amplifier manufactured by Nikki Denso Co., Ltd.
61696 to 61951 Warnings for inverter FR-A700 series
Chapter 16 Troubleshooting

(1) When an axis warning occurs, the warning code corresponding to the warning
details is stored in the following buffer memory ([Md.24] Axis warning No.) for axis warning No. storage.

(2) When an axis warning occurs in a positioning operation, etc., "axis warning
detection ([Md.31] Status: b9)" of the following buffer memory for axis status storage turns ON.

When a warning occurs on servo amplifier, the warning No. displayed in LED of servo amplifier is stored in the following buffer memory address ([Md.114] Servo alarm). Check the warning details and remedies by this servo alarm details.

Chapter 16 Troubleshooting

Remove the cause of error or warning following the actions described in Section 16.4 and 16.5, before cancel an error or warning state by resetting the error.
An error or warning state is canceled after the following processing is carried out by setting "1" in the address of the buffer memory for resetting axis error ([Cd.5] Axis error reset).
Axis error detection signal is turned OFF.
"[Md.23] Axis error No." is cleared.
"[Md.24] Axis warning No." is cleared.
"[Md.26] Axis operation status" is changed from "Error" to "Standby".
"Axis warning detection ([Md.31] Status: b9)" is turned OFF.
POINT When servo amplifier errors cannot be reset even if error reset is requested, "0" is not stored in "[Cd.5] Axis error reset" by Simple Motion module. It remains "1". Set "0" in "[Cd.5] Axis error reset" and then set "1" to execute the error reset again by user side.
The error and warning definitions can be confirmed with the error codes and warning codes. Confirming them requires GX Works2.
System monitor of GX Works2 (Refer to Section 16.1.) Error history screen of GX Works2 (Simple Motion Module Setting Tool)
(Refer to the Simple Motion Module Setting Tool Help.)
(Refer to the Simple Motion Module Setting Tool Help.)
Chapter 16 Troubleshooting

Chapter 16 Troubleshooting

The following table shows the error details and remedies to be taken when an error occurs. 16.4.1 QD77MS detection error
Error code Error name Error Operation status at error occurrence
— 000 (Normal status) — —
Hardware is faulty. The system stops.
002 Internal circuit fault
The system stops with the setting (deceleration stop/sudden stop) of the detailed parameter 2 Sudden stop selection (stop group 2). (Note that the deceleration stop only occurs during the manual pulse generator operation.)
The PLC READY signal [Y0] is turned OFF during operation.
101 PLC READY OFF during operation
102 Servo READY signal OFF during operation
The servo READY signal is turned OFF during operation.
During operation: The system stops immediately.
The system stops with the setting (deceleration stop/sudden stop) of the detailed parameter 2 Sudden stop selection (stop group 2). (Note that the deceleration stop only occurs during the manual pulse generator operation.)
103 Test mode faults during operation
The personal computer cannot communicate with the CPU module.
The system stops with the setting (deceleration stop/sudden stop) of the detailed parameter 2 Sudden stop selection (stop group 1). (Note that the deceleration stop only occurs during the manual pulse generator operation.)
The hardware stroke limit (upper limit signal FLS) is turned OFF during operation.
104 Hardware stroke limit (+)
Start is requested when the hardware stroke limit (upper limit signal FLS) is turned OFF.
The system does not start.
The system stops with the setting (deceleration stop/sudden stop) of the detailed parameter 2 Sudden stop selection (stop group 1). (Note that the deceleration stop only occurs during the manual pulse generator operation.)
The hardware stroke limit (lower limit signal RLS) is turned OFF during operation.
105 Hardware stroke limit (–)
Start is requested when the hardware stroke limit (lower limit signal RLS) is turned OFF.
The system does not start.
106 Stop signal ON at start Start is requested when a stop signal is
turned ON. The system does not start.

Related buffer memory address Set range (Setting with sequence program) Remedy
—
— — — Check that there is no influence from noise.
— — — Review the program which turns ON/OFF PLC READY signal [Y0].
— — — Check the servo amplifier power, wiring with the servo amplifier, and connection of connectors.
— — — Check that there is no error on the personal computer side I/F to which a cable is connected.
After making an axis error reset (refer to [3] in Section 16.3), perform manual control operation (refer to Chapter 11) to move the axis to the other position in order that the upper limit signal (FLS) will not turn OFF.
After making an axis error reset (refer to [3] in Section 16.3), perform manual control operation (refer to Chapter 11) to move the axis to the other position in order that the lower limit signal (RLS) will not turn OFF.
— — — After confirming the stop command status, then review the timing of start.
Chapter 16 Troubleshooting

Error code Error name Error Operation status at error occurrence
107 READY OFF ON during BUSY
The PLC READY signal is turned from OFF to ON when BUSY signal is turned ON. The READY signal [X0] is not turned ON.
108 Start not possible Start is requested when start is not possible in the axis operation state. The system does not start positioning.
The communication between servo amplifiers or later of target axis is not executed. (The servo amplifier's LED display remains "Ab".)
The set series of the servo parameter "[Pr.100] Servo series" and the series of connected servo amplifier are mismatch.
109 Servo amplifier series error
The calculation process time of the positioning etc. exceeds the operation cycle.
190 Operation cycle time over error
The operation continues.
201 Start at OP
The machine OPR does not start.
The system stops with the setting (deceleration stop/sudden stop) of the detailed parameter 2 Sudden stop selection (stop group 3). (Note that the deceleration stop only occurs during the manual pulse generator operation.)
The near-point dog signal is turned OFF during the deceleration from an OPR speed to a creep speed by the near-point dog method machine OPR.
203 Dog detection timing fault
In the count method 1) and 2) machine OPR, a parameter "Setting for the movement amount after near-point dog ON" is smaller than a distance necessary for deceleration stop from an OPR speed.
206 Count method movement amount fault
setting (deceleration stop/sudden stop) of the detailed parameter 2 Sudden stop selection (stop group 3).
Home position return (OPR)
The OPR request flag is turned ON when a fast -OPR is started (positioning start No. 9002). The fast -OPR does not start.
207 OPR request ON
The restart command is turned ON after the machine OPR is stopped using a stop signal.
209 OPR restart not possible
The restart is not carried out.
The zero point is not passed when the dog method, count method or scale origin signal detection method OPR is re-started, or data set method OPR is executed.
210 OPR zero point not passed
The OPR does not complete.
211 ZCT read error The data is not loaded from the servo amplifier properly upon the OPR.

Related buffer memory address Set range (Setting with sequence program) Remedy
— — — 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 than "standby", "stop", and "step standby".
30100+200n 28400+100n 0, 1, 3, 4, 6, 7, 32, 48, 64, 96 Match the set series of the servo parameter "[Pr.100] Servo series" to the series of connected servo amplifier.
147 105 — Review the content of the positioning or "[Pr.96] Operation cycle setting" longer than the current setting.
1 to 1000000000 [PLS/s] 1 to 2000000000 [ 10-2mm/min or others]
point dog ON> 0 to 2147483647
1 to 1000000000 [PLS/s] 1 to 2000000000 [ 10-2mm/min]
1500+100n 4300+100n 1 to 600, 7000 to 7004, 9001 to 9004 Execute the machine OPR (positioning start No. 9001). (Refer to Section 8.2)
1500+100n 4300+100n 1 to 600, 7000 to 7004, 9001 to 9004 Start the machine OPR (positioning start No. 9001) again. (Refer to Section 8.2)
— — — Turn the motor more than one revolution using JOG or positioning operation.
n: Axis No.-1

Error code Error name Error Operation status at error occurrence
212 ABS reference point read error
The data is not loaded from the servo amplifier properly upon the OPR. The OPR does not complete.
OPR is started on the direct drive motor when the absolute position data of the encoder has not been established.
230 Encoder ABS data not established
The OPR does not start.
Home position return (OPR)
Servo parameter "Function selection C-4 (PC17)" is not set to "0: Need to pass servo motor Z-phase after power on" in the machine OPR of scale origin signal detection method.
231 Z-phase passing parameter invalid
The OPR does not start.
The JOG operation is not carried out when the JOG speed is outside the setting range at the time of JOG start.
300 Outside JOG speed range
At the time of JOG starting, the JOG speed comes out of a specified range.
The inching movement amount dose not satisfy the setting conditions. (The setting value is large.) Setting condition:
"Inching movement amount × (A) ≤ JOG speed limit value" Use the following values for (A).
The inching operation is not carried out when the inching movement amount exceeds a JOG speed limit at the time of inching start.
301 Inching movement amount error
0.88 1.77
When unit is set to PLS 1125 562.5
When unit is set to degree
and "[Pr.83] Speed control
67.5 33.75
10 x multiplier setting for
degree axis" is valid
When unit setting is other
675 337.5
The condition data No. is outside the setting range when a block using the condition data is started by a special starting (conditional start, wait start, simultaneous start, FOR (condition)). (1 Condition data No. 10)
500 Illegal condition data No.
The operation is terminated.

Related buffer memory address Set range (Setting with sequence program) Remedy
— — — Execute OPR again.
Turn the power supplies of the system or servo amplifier from OFF to ON after passing the zero point of the motor by the JOG operation, etc.
30180+200n 28480+100n — Set "0: Need to pass servo motor Z-phase after power on" in the servo parameter "Function selection C-4 (PC17)".
1 to 1000000000 [PLS/s] 1 to 2000000000 [ 10-2mm/min or others]
1518+100n 1519+100n 4318+100n 4319+100n
Bring the JOG speed into the setting range. (Refer to Section 11.2)
Set a smaller inching movement amount so that the setting condition is satisfied. (Refer to Section 11.3)
1517+100n 4317+100n
Refer to Section 5.4 "List of block start data"
1 to 10 Review the condition data No. (Refer to Section 5.4 [Da.14])
n: Axis No.-1
Chapter 16 Troubleshooting · 0 to 65535

Error code Error name Error Operation status at error occurrence
• The partner axis for simultaneous start is BUSY.
Error before simultaneous start
• The partner axis for simultaneous start is BUSY.
immediately.
Error before simultaneous start
502 Illegal data No.
The positioning data is not executed.
The operation does not start at positioning start.
503 No command speed

Related buffer memory address Set range (Setting with sequence program) Remedy
Refer to Section 5.5 "List of condition data"
Normalize the condition operators. (Refer to Section 5.5 [Da.16])
50H, 60H, 70H, 80H, 90H, A0H, B0H, C0H, D0H, E0H
1540+100n Axis 1 start data No.
1541+100n Axis 2 start data No.
Simultaneous starting axis start
Normalize the simultaneous starting axis start data No. (Refer to Section 10.5)
data No.
1542+100n Axis 3 start data No.
1543+100n Axis 4 start data No.
b12 to b15 : 2 to 4 b8 to b11 : 0h to Fh b4 to b7 : 0h to Fh b0 to b3 : 0h to Fh
Normalize the simultaneous start axis.
b12 to b15 : 2 to 4 b8 to b11 : 0h to Fh b4 to b7 : 0h to Fh b0 to b3 : 0h to Fh
4340+100n
No.> 1 to 600
Normalize the simultaneous starting own axis start data No. and the simultaneous starting axis start data No. (1 to 3). (Refer to Section 10.5)
4341+100n Simultaneous starting axis start data No.1
4342+100n Simultaneous starting axis start data No.2
No. (1 to 3)>
4343+100n Simultaneous starting axis start data No.3
1 to 600, 7000 to 7004, 9001 to 9004 Normalize the positioning start No., positioning start data (in block start), and positioning data (in JUMP instruction).
Refer to Section 5.3 "List of positioning data"
1 to 1000000000 [PLS/s] 1 to 2000000000 [ 10-2mm/min or others] Normalize the positioning data.
n: Axis No.-1

Error code Error name Error Operation status at error occurrence
504 Outside linear movement amount range
immediately.
When an arc is interpolated by the designation of the center point, a difference between a radius of start point-center point and a radius of end point-center point exceeds the parameter "Circular interpolation error allowable limit".
control by center point designation is not executed. During operation : The system stops
506 Large arc error deviation
immediately.

Related buffer memory address Set range (Setting with sequence program) Remedy
Review the positioning address.
Refer to Section 5.3 "List of positioning data"
60+150n 61+150n
0 to 1000000 Correct the circular interpolation error allowable limit value.
n: Axis No.-1
Chapter 16 Troubleshooting

Error code Error name Error Operation status at error occurrence
At operation start:
The system does not operate. In the analysis of new current value:
Current value is not changed. During operation:
507 Software stroke limit+
508 Software stroke limit–
The system switches to the position control mode and stops immediately when the current feed value is outside the software stroke limit range.

Related buffer memory address Set range (Setting with sequence program) Remedy
1506+100n 1507+100n 4306+100n 4307+100n
software stroke limit by the manual control operation. (Refer to Chapter 11) • Correct the positioning address. (At circular interpolation with sub points designated, also check the arc address.) New current value : Set the new current value within the
software stroke limit. (Refer to Section 9.2.19) During operation : Correct the positioning address.
(For the positioning and arc addresses, refer to [Da.6] and [Da.7] in Section 5.3) At speed control mode/torque control mode/continuous operation to torque control mode:
Review the operation so that the current feed value does not exceed the software stroke limit.
n: Axis No.-1

Error code Error name Error Operation status at error occurrence
The new current address is outside the ranges of 0 to 359.99999, where the control unit is set to "degree".
514 Outside new current value range
Current value is not changed.
515 New current value not possible
516 Continuous path control not possible
The system does not operate at start.
518 Outside operation pattern range The operation pattern set value is 2.
519 Interpolation while interpolation axis BUSY
Interpolation is started during the operation of the interpolation axis.
The reference and interpolation axis units are different at the parameter "interpolation speed designation method" setting of "composite speed".
520 Unit group unmatched
setting (deceleration stop/sudden stop) of the detailed parameter 2 Sudden stop selection (stop group 3). (Note that the deceleration stop only occurs during the manual pulse generator operation.)
In 2-axis interpolation, the axis to be interpolated is the self axis or an axis not present.
521 Illegal interpolation description command
The command speed is outside the setting range. Linear interpolation, circular interpolation:
522 Command speed setting error
Reference axis is outside the setting range. Speed control interpolation:
Either of reference axis and interpolation axis is outside the speed range.

Related buffer memory address Set range (Setting with sequence program) Remedy
1506+100n 1507+100n 4306+100n 4307+100n [degree] 0 to 35999999
Bring the new current value into the setting range. (Refer to Section 9.2.19)
Refer to Section 5.3 "List of positioning data"
Correct the operation pattern. (Refer to Section 5.3 [Da.1])
Same as error codes 515 to 516
Correct the control system. (Refer to Section 5.3 [Da.2])
Correct the positioning data or change the parameter "Unit setting" of the axis to be interpolated. (Refer to Section 9.1.6)
0, 1, 2, 3
Same as error codes 515 to 516
Command speed storage addresses of positioning data
1 to 1000000000 [PLS/s] 1 to 2000000000 [ 10-2mm/min or others]
Correct the command speed. (Refer to Section 5.3 [Da.8])
No. 1 to 600
n: Axis No.-1
Chapter 16 Troubleshooting · 0+150n

Error code Error name Error Operation status at error occurrence
523 Interpolation mode error
setting (deceleration stop/sudden stop) of the detailed parameter 2 Sudden stop selection (stop group 3). (Note that the deceleration stop only occurs during the manual pulse generator operation.)
524 Control system setting error
525 Sub point setting error
526 End point setting error
immediately.
527 Center point setting error

Related buffer memory address Set range (Setting with sequence program) Remedy
29+150n
Set the "Interpolation speed designation method" correctly. (Refer to Section 9.1.6)
Correct the control system, axis to be interpolated or parameter. (Refer to Section 9.1.6, 9.2.20)
Same as error codes 515 to 516
Correct the sub address (arc address). (Refer to Section 9.2.10)
• Unit [mm] [PLS] [inch] –2147483648 to 2147483647 (Unit [degree]) cannot be set.
Refer to Section 5.3 "List of positioning data"
–2147483648 to 2147483647
Correct the end address (positioning address). (Refer to Section 9.2.10)
Same as in error codes 525 to 526. Correct the center point address (arc address). (Refer to Section 9.2.11)
n: Axis No.-1
Chapter 16 Troubleshooting

Error code Error name Error Operation status at error occurrence
immediately with the setting (deceleration stop/sudden stop) of the detailed parameter 2 sudden stop selection (stop group 3). (Note that the deceleration stop only occurs during the manual pulse generator operation.)
530 Outside address range
Among the axes to be started simultaneously, there is an axis on which an error other than this error occurs.
532 Simultaneous start not possible
533 Condition data error
The operation is terminated.
534 Special start instruction error
No applicable special start instruction is present.
535 Circular interpolation not possible
Circular interpolation is carried out on an axis in the unit of degree.
536 M code ON signal start The positioning start is carried out when an
M code ON signal is turned ON.
537 PLC READY OFF start The positioning start is carried out when
the PLC READY signal [Y0] is turned OFF.
538 READY OFF start The positioning start is carried out when the READY signal [X0] is turned OFF.
The system does not operate at start.
543 Outside start No. range

Related buffer memory address Set range (Setting with sequence program) Remedy
Same as in error codes 504, 506. Correct the positioning address. (Refer to Section 9.2.16, 9.2.17, or 9.2.18)
Refer to Section 5.3 "List of positioning data" and Section 5.4 "List of block
In the error history, check the axis where the error other than this error occurred, and remove the error factor. Correct the block start data and positioning data.
— Normalize the block start data.
Refer to Section 5.4 "List of block start data"
00H to 06H Correct the instruction code of the special start. (Refer to Section 5.4 [Da.13])
Refer to Section 5.3 "List of positioning data" — Correct the control system. (Refer to Section 5.3 [Da.2])
1504+100n 4304+100n 1: M code ON signal is turned OFF After turning OFF the M code ON signal, start the system. (Refer to Section 13.7.3)
Check the program which turns ON/OFF the PLC READY signal [Y0], and turn ON the PLC READY signal. Then start the system.
— — — Check the READY ON signal, and then start the system. (Refer to Section 3.3.2)
1 to 600, 7000 to 7004, 9001 to 9004
Normalize the positioning start No. (Refer to Section 13.7.7)
n: Axis No.-1

Error code Error name Error Operation status at error occurrence
544 Outside radius range The arc radius exceeds 536870912.
immediately.
545 Control system LOOP setting error
A "0" is set in the repeating times of the control system "LOOP". The operation is terminated.
a stop. (Note that, in the continuous positioning control and continuous path control, the system continues operating with the setting set at the time of start even if the setting is changed during the operation.)
546 Illegal setting of ABS direction in unit of degree
547 Start at OPR incomplete
not change.
Switching to the continuous operation to torque control mode is requested to a servo amplifier which does not support the continuous operation to torque control.
550 Continuous operation to torque control not supported
During positioning control:
The system stops with the setting of the detailed parameter 2 sudden stop selection (stop group 3). During speed control mode:
When setting the control mode auto-shift switching selection, the control mode auto- shift switching parameter is outside the range.
551 Outside control mode auto-shift switching parameter range
The mode is switched to position control mode, and the system stops immediately.
setting (deceleration stop/sudden stop) of the detailed parameter 2 sudden stop selection (stop group 3). (Note that the deceleration stop only occurs during the manual pulse generator operation.)
In the CPU module parameter "Output at error stop", the setting for the Simple Motion module is "Hold".
801 Flash ROM write error Data is not written to the flash ROM.
802 Flash ROM sum check error
While data is written to the flash ROM, the power is turned OFF.
At start: The system does not operate.

Related buffer memory address Set range (Setting with sequence program) Remedy
536870912 Correct the positioning data. (Refer to Section 9.2.10, or 9.2.11)
Refer to Section 5.3 "List of positioning data"
1 to 65535 Set 1 to 65535 in the repeating time of LOOP. (Refer to Section 9.2.22)
ABS setting direction in the unit
Invalidate the software stroke limit. (To invalidate, set the software stroke limit upper limit value to the software stroke limit lower limit value.) (Refer to Section 9.1.5)
Operation setting for incompletion of OPR
— — — Use a servo amplifier which supports the continuous operation to torque control.
< Outside control mode auto-shift
switching parameter range > When "1" or "2" is set in "[Cd.153] Control
Set the control mode auto-shift switching parameter within the range and switch to the continuous operation to torque control mode.
1594+100n 1595+100n 4394+100n 4395+100n
— — — Clear the setting of the CPU module parameter "Output at error stop".
— — — The flash ROM is expected to be at the end of its writable life.
1901 5901 1: Parameter initialization is requested Return the parameter to that set at the time of delivery from the plant. (Refer to Section 14.2)
n: Axis No.-1

Error code Error name Error Operation status at error occurrence
setting (deceleration stop/sudden stop) of the detailed parameter 2 sudden stop selection (stop group 2). (Note that the deceleration stop only occurs during the manual pulse generator operation.)
803 PLC CPU error The CPU module resulted in an error.
804 Dedicated instruction error
The function for each instruction is not executed.
Data is written to the flash ROM continuously 25 times or more from the program. At start: The system does not operate.
805 Flash ROM write number error
806 Dedicated instruction I/F error
Mismatching occurs between the CPU module and the Simple Motion module.
Error when switching from normal operation mode to amplifier-less operation mode
Input signals other than synchronization flag [X1] are ON when switching from the normal operation mode to the amplifier-less operation mode. The operation mode is not changed.
Error when switching from amplifier-less operation mode to normal operation mode
Input signals other than synchronization flag [X1] are ON when switching from the amplifier-less operation mode to the normal operation mode.
900 Outside unit setting range
The set value of the basic parameter 1 "Unit setting" is outside the setting range.
The set value of the basic parameter 1 "Number of pulses per rotation" is outside the setting range.
901 Outside pulse number per rotation range
The READY signal [X0] is not turned ON.
902 Outside movement amount per rotation range
The set value of the basic parameter 1 "Movement amount per rotation" is outside the setting range.

Related buffer memory address Set range (Setting with sequence program) Remedy
Check the error code in CPU module. (Refer to the "QCPU User's Manual (Hardware Design, Maintenance and Inspection)".)
< ZP.PSTRT start No.> 1 to 600, 7000 to 7004, 9001 to 9004 < ZP.TEACH teaching data selection> 0: The current feed value is written to the positioning address. 1: The current feed value is written to the arc address. < ZP.TEACH positioning data No.> 1 to 600
Review the program so that data is not written continuously to the flash ROM. (Using "[Md.19]" in Section 5.6.1, the number of flash ROM write times can be monitored.) (If this error has occurred in a proper using method, writing is enabled by resetting the error, switching power OFF, then ON, or resetting the CPU module.)
— — — A trouble occurs. Repair.
Switch the operation mode after confirming that all input signals other than synchronization flag [X1] are OFF.
0+150n 0, 1, 2, 3
2+150n 3+150n 1 to 200000000
With the setting brought into the setting range, turn the PLC READY signal [Y0] from OFF to ON.
4+150n 5+150n 1 to 200000000
n: Axis No.-1
Chapter 16 Troubleshooting

Error code Error name Error Operation status at error occurrence
903 Outside unit magnification range
The READY signal [X0] is not turned ON.
906 Outside bias speed range
The READY signal [X0] is not turned ON.
907 Outside electronic gear setting range
The set value of the electronic gear is outside the setting range.
910 Outside speed limit value range
When the PLC READY signal [Y0] is turned from OFF to ON : READY signal [X0] is not turned
The set value of the basic parameter 2 "Acceleration time 0" is outside the setting range.
911 Outside acceleration time 0 range
ON. At start : The system does not operate.
The set value of the basic parameter 2 "Deceleration time 0" is outside the setting range.
912 Outside deceleration time 0 range
The calculation result of the following equation is smaller than 0 or larger than 4194304.
920 Backlash compensation amount error
0 ≤ Pr.11 × Pr.2
Pr.3 × Pr.4 ≤ 4194303
921 Software stroke limit upper limit
The READY signal [X0] is not turned ON.
922 Software stroke limit lower limit

Related buffer memory address Set range (Setting with sequence program) Remedy
6+150n 7+150n 0 [PLS/s] 0 [ 10-2mm/min or others]
"[Pr.2] Number of pulses per rotation (AP)", "[Pr.3] Movement amount per rotation (AL)", "[Pr.4] Unit magnification (AM)" Review these parameters. (Refer to Section 5.2.1)
Number of pulses per rotation
0.001 ≤ Electronic gear ≤ 320000
Pr.2
Pr.3 × Pr.4
Movement amount per rotation
1 to 1000000000 [PLS/s] 1 to 2000000000 [ 10-2mm/min or others]
12+150n 13+150n 1 to 8388608
With the setting brought into the setting range, turn the PLC READY signal [Y0] from OFF to ON.
14+150n 15+150n 1 to 8388608
"[Pr.2] Number of pulses per rotation (AP)", "[Pr.3] Movement amount per rotation (AL)", "[Pr.4] Unit magnification (AM)" "[Pr.11] Backlash compensation amount" Review the items above. (Refer to Section 5.2.1 or Section 5.2.3)
17+150n 0 ≤ Pr.11 × Pr.2
Pr.3 × Pr.4 ≤ 4194303
n: Axis No.-1

Error code Error name Error Operation status at error occurrence
923 Software stroke limit selection
The set value of the detailed parameter 1 "Software stroke limit valid/invalid setting" is outside the setting range.
924 Software stroke limit valid/invalid setting
The set value of the detailed parameter 1 "Command in-position width" is outside the setting range.
925 Command in-position width
The set value of the detailed parameter 1 "Torque limit setting value" is outside the setting range.
926 Illegal torque limit setting value
The set value of the detailed parameter 1 "M code ON signal output timing" is outside the setting range.
927 M code ON timing error
The set value of the detailed parameter 1 "Speed switching mode" is outside the setting range.
928 Speed switching mode error
929 Interpolation speed designation method error
The set value of the detailed parameter 1 "Interpolation speed designation method" is outside the setting range.
The READY signal [X0] is not turned ON.
The set value of the detailed parameter 1 "Current feed value during speed control" is outside the setting range.
930 Current value update request error
The set value of the detailed parameter 1 "Manual pulse generator/Incremental synchronous encoder input selection" is outside the setting range.
932 Manual pulse generator input mode error
The detailed parameter 1 "Speed-position function selection" is preset to 2 and the following three conditions are not satisfied: 1) Unit is "degree". 2) Software stroke limits are invalid. 3) Update current feed value.
935 Speed-position function selection error
The set value of the detailed parameter 1 "External input signal selection" is outside the setting range.
936 External input signal selection error
937 Forced stop valid/invalid setting error
The set value of the detailed parameter 1 "Forced stop valid/invalid setting" is outside the setting range.
The set values of the detailed parameter 1 "Input signal logic selection" are different in the axis that uses the same input signal.
938 Input signal logic selection setting error

Related buffer memory address Set range (Setting with sequence program) Remedy
23+150n 0, 1 With the setting brought into the setting range, turn the PLC READY signal [Y0] from OFF to ON.
24+150n 25+150n 1 to 2147483647
26+150n 1 to 1000
With the setting brought into the setting range, turn the PLC READY signal [Y0] from OFF to ON.
30+150n 0, 1, 2
33 0, 1, 2, 3
32+150n 0, 1, 2, 3, 4, 5, 6
With the setting brought into the setting range, turn the PLC READY signal [Y0] from OFF to ON.
31+150n 0, 1 With the setting of the axis is matched, turn the PLC READY signal [Y0] from OFF to ON.
n: Axis No.-1

Error code Error name Error Operation status at error occurrence
The set value of the detailed parameter 2 "Acceleration time 1" is outside the setting range. When the PLC READY signal [Y0] is turned from OFF to ON : The READY signal [X0] is
950 Acceleration time 1 setting error
The set value of the detailed parameter 2 "Acceleration time 2" is outside the setting range.
951 Acceleration time 2 setting error
The set value of the detailed parameter 2 "Acceleration time 3" is outside the setting range.
952 Acceleration time 3 setting error
setting (deceleration stop/sudden stop) of the detailed parameter 2 sudden stop selection (stop group 3). (Note that the deceleration stop only occurs during the manual pulse generator operation.)
The set value of the detailed parameter 2 "Deceleration time 1" is outside the setting range.
953 Deceleration time 1 setting error
The set value of the detailed parameter 2 "Deceleration time 2" is outside the setting range.
954 Deceleration time 2 setting error
The set value of the detailed parameter 2 "Deceleration time 3" is outside the setting range.
955 Deceleration time 3 setting error
When the PLC READY signal [Y0] is turned from OFF to ON : The READY signal [X0] is
setting (deceleration stop/sudden stop) of the detailed parameter 2 sudden stop selection (stop group 3). (Note that the deceleration stop only occurs during the manual pulse generator operation.)
956 JOG speed limit value error

Related buffer memory address Set range (Setting with sequence program) Remedy
36+150n 37+150n 1 to 8388608
38+150n 39+150n 1 to 8388608
40+150n 41+150n 1 to 8388608
With the setting brought into the setting range, turn the PLC READY signal [Y0] from OFF to ON.
42+150n 43+150n 1 to 8388608
44+150n 45+150n 1 to 8388608
46+150n 47+150n 1 to 8388608
1 to 1000000000 [PLS/s] 1 to 2000000000 [ 10-2mm/min or others]
n: Axis No.-1
Chapter 16 Troubleshooting · 48+150n 49+150n

Error code Error name Error Operation status at error occurrence
The set value of the detailed parameter 2 "JOG operation acceleration time selection" is outside the setting range.
957 JOG acceleration time selection setting error
The set value of the detailed parameter 2 "JOG operation deceleration time selection" is outside the setting range.
958 JOG deceleration time selection setting error
959 Acceleration/ deceleration process selection setting error
The set value of the detailed parameter 2 "Acceleration/deceleration process selection" is outside the setting range.
When the PLC READY signal [Y0] is turned from OFF to ON : The READY signal [X0] is
960 S-curve ratio setting error
The set value of the detailed parameter 2 "S-curve ratio" is outside the setting range.
The set value of the detailed parameter 2 "Sudden stop deceleration time" is outside the setting range.
961 Illegal sudden stop deceleration time
setting (deceleration stop/sudden stop) of the detailed parameter 2 sudden stop selection (stop group 3). (Note that the deceleration stop only occurs during the manual pulse generator operation.)
The set value of the detailed parameter 2 "Stop group 1 sudden stop selection" is outside the setting range.
962 Stop group 1 sudden stop selection error
The set value of the detailed parameter 2 "Stop group 2 sudden stop selection" is outside the setting range.
963 Stop group 2 sudden stop selection error
The set value of the detailed parameter 2 "Stop group 3 sudden stop selection" is outside the setting range.
964 Stop group 3 sudden stop selection error
966 Outside allowance circular interpolation error width
The set value of the detailed parameter 2 "Allowance circular interpolation error width" is outside the setting range.
The set value of the detailed parameter 2 "External command function selection" is outside the setting range.
967 External command function selection error
The set value of the detailed parameter 2 "Restart allowable range when servo OFF to ON" is outside the setting range.
970 Restart allowable range error
971 Speed control 10 x multiplier setting for degree axis error
The set value of the detailed parameter 2 "Speed control 10 x multiplier setting for degree axis" is outside the setting range.
Number of axes set for the master axis in servo parameter "Driver communication setting (PD15)" exceed the setting range.
972 Number of master axis error
The READY signal [X0] is not turned ON.
Servo parameters "Driver communication setting Master axis No. selection (1 to 4) for slave (PD20 to PD23)" are set the self axis.
973 Master axis No. error
Not setting the master axis in Servo parameters "Driver communication setting Master axis No. selection (1 to 4) for slave (PD20 to PD23) ".
974 Master axis setting error
The communication between servo amplifiers of target axis is not executed. (The servo amplifier's LED display remains "Ab".)
975 Driver communication setting error

Related buffer memory address Set range (Setting with sequence program) Remedy
50+150n 0, 1, 2, 3
51+150n 0, 1, 2, 3
53+150n 1 to 100
54+150n 55+150n 1 to 8388608
With the setting brought into the setting range, turn the PLC READY signal [Y0] from OFF to ON.
60+150n 61+150n 0 to 100000
62+150n 0, 1, 2, 3, 4
64+150n 65+150n 0 to 327680
30210+200n Set with GX Works2 — Set the number of master axis not more than the number can be set in servo parameter "PD15".
30215+200n 30216+200n 30217+200n 30218+200n
Set with GX Works2 — Review the master axis No. of servo parameters "PD20 to PD23".
n: Axis No.-1

Error code Error name Error Operation status at error occurrence
Manual pulse generator/Incremental synchronous encoder input type selection error
The set value of the detailed parameter 2 "Manual pulse generator/Incremental synchronous encoder input type selection" is outside the setting range.
977 Operation setting for speed-torque control mode error
The set value of the detailed parameter 2 "Operation setting for speed-torque control mode" is outside the setting range.
The set value of the detailed parameter 2 "External command signal selection" is outside the setting range.
978 External command signal selection error
979 Synchronous encoder via servo amplifier invalid error
The READY signal [X0] is not turned ON.
980 OPR method error The set value of the OPR basic parameter "OPR method" is outside the setting range.
The set value of the OPR basic parameter "OPR direction" is outside the setting range.
981 OPR direction error
982 OP address setting error
The set value of the OPR basic parameter "OP address" is outside the setting range.
983 OPR speed error
Chapter 16 Troubleshooting · Classification · of errors

Related buffer memory address Set range (Setting with sequence program) Remedy
With the setting brought into the setting range, turn the PLC READY signal [Y0] from OFF to ON.
69+150n 0, 1, 2, 3, 4
30100+200n 28400+100n 32 With the setting brought into the setting range, switch the power on again or reset the PLC.
70+150n 0, 4, 5, 6, 7
With the setting brought into the setting range, turn the PLC READY signal [Y0] from OFF to ON.
1 to 1000000000 [PLS/s] 1 to 2000000000 [ 10-2mm/min or others]
n: Axis No.-1

Error code Error name Error Operation status at error occurrence
984 Creep speed error
985 OPR retry error The set value of the OPR basic parameter "OPR retry" is outside the setting range.
Setting for the movement amount after near-point dog ON error
The set value of the OPR detailed parameter "Setting for the movement amount after near-point dog ON" is outside the setting range.
The set value of the OPR detailed parameter "OPR acceleration time selection" is outside the setting range.
992 OPR acceleration time selection error
The set value of the OPR detailed parameter "OPR deceleration time selection" is outside the setting range.
993 OPR deceleration time selection error
The READY signal [X0] is not turned ON.
995 OPR torque limit value error
The set value of the OPR detailed parameter "Speed designation during OP shift" is outside the setting range.
997 Speed designation during OP shift error
The set value of the OPR detailed parameter "Operation setting for incompletion of OPR" is outside the setting range.
998 Operation setting for incompletion of OPR error
The set value of the expansion parameter "Operation cycle setting" is outside the setting range.
999 Operation cycle setting error
1003 SSCNET setting error The set values of the expansion parameter "SSCNET setting" and the servo parameter "Servo series" are mismatch.

Related buffer memory address Set range (Setting with sequence program) Remedy
1 to 1000000000 [PLS/s] 1 to 2000000000 [ 10-2mm/min or others]
78+150n 0, 1 With the setting brought into the setting range, turn the PLC READY signal [Y0] from OFF to ON.
80+150n 81+150n 0 to 2147483647
82+150n 0, 1, 2, 3
83+150n 0, 1, 2, 3
With the setting brought into the setting range, turn the PLC READY signal [Y0] from OFF to ON.
86+150n 1 to 1000
147 105 0, 1 With the setting brought into the setting range, write to the flash ROM and switch the power on again or reset the PLC.
With "SSCNET setting" and "Servo series" set by a correct combination, write to the flash ROM and switch the power on again or reset the PLC.
0, 1 0, 1, 3, 4, 6, 7, 32, 48,64,96, 4097, 4128
n: Axis No.-1

Error code Error name Error Operation status at error occurrence
The operation continues.
errors 1201 OPR data incorrect
position 1205 SSCNET communication error
Data received from servo amplifier is in error. The operation continues.

Related buffer memory address Set range (Setting with sequence program) Remedy
— — — Execute OPR.
Chapter 16 Troubleshooting

The detection error list for servo amplifier is shown below. Refer to each servo amplifier instruction manual for details.

Classification of errors Error code Servo amplifier LED display
(Note-1): For MR-J4W-B or MR-J3W-B.
(Note-2): For MR-J4-B.
Chapter 16 Troubleshooting

Classification of errors Error code Servo amplifier LED display
2913 2B_
2921 3D_
2948 8A_
2952 8E_
(Note-1): For MR-J4(W)-B.
(Note-2): For MR-J4-B.

The following table shows the warning details and remedies to be taken when a warning occurs. 16.5.1 QD77MS detection warning
code Warning name Warning Operation status at warning occurrence
— 000 (Normal status) — —
Position control mode:
The operation continues. Speed control mode/torque control mode:
100 Start during operation
The operation continues. (Positioning start is not executed.)
104 Restart not possible The restart command is issued when the axis operation status is not "Stopped". Continue the operation.
The warning is issued for the axis designated at the time of the teaching request.
109 Teaching in BUSY The teaching request is issued while the axis is BUSY.
110 Less than minimum speed The overridden speed becomes “0”. The system is controlled with the currently executing unit of 1.
The request for writing to the flash ROM is issued when the PLC READY is turned ON.
111 In PLC READY
The warning for axis 1 is issued.
112 Illegal override value A value other than 1 to 300 is set for the override value.
A new torque value/forward new torque value is exceeded the torque limit setting value. (Note): When the individual setting is used
Outside new torque value range/outside forward new torque value range
The torque change is not carried out.
for new torque value and reverse new torque value, it indicates outside forward new torque value.
114 Below bias speed The command speed is below the bias speed at start. Operate by the bias speed at start.
115 Outside reverse new torque value range
A reverse new torque value is exceeded the torque limit setting value. The torque change is not carried out.

Related buffer memory address Set range (Setting with sequence program) Remedy
—
Normalize the start request ON timing. (Refer to Section 6.5.5) (Do not issue the restart command when the axis operation is not stopped.)
1503+100n 4303+100n
1548+100n 1549+100n 4348+100n 4349+100n
0, 1
Carry out the teaching request when the axis is not BUSY. (Refer to Section 13.7.4)
1513+100n 4313+100n
1 to 300 Prevent the overridden speed from being reduced to 0. (Refer to Section 13.5.2)
Same as warning code 109 Request to write when the PLC READY signal [Y0] is OFF.
1513+100n 4313+100n
1 to 300 Set a value within the setting range.
1525+100n 4325+100n
value > 0 to [Torque limit setting value] Set a new torque value or a forward new torque value less than the limit value.
26+150n
1 to 1000000000 [PLS/s] 1 to 2000000000 [ 10-2mm/min or another] Re-set the command speed/bias speed at start so that the command speed is equal to or larger than the bias speed at start. Bias speed at start
Refer to Section 5.3 "List of positioning data"
0 [PLS/s] 0 [ 10-2mm/min or another]
1564+100n 4364+100n 0 to [Torque limit setting value] Set a value which does not exceed the torque limit setting value as the reverse new torque value. 26+150n
n: Axis No.-1

code Warning name Warning Operation status at warning occurrence
Monitoring is not carried out. "0" is stored in [Md.109] to [Md.112] (Optional data monitor output 1 to 4).
116 Optional data monitor data type setting error
In the optional data monitor, 2-word data is not set correctly.
Control mode switching was executed from the position control mode to the speed control mode/torque control mode while BUSY was turned ON.
120 Control mode switching during BUSY
The control mode is not switched. (Positioning during operation continues.)
Control mode was changed when "Zero speed" ([Md.108] Servo status) was turned OFF. The control mode is not switched. (Current operation continues.)
121 Control mode switching during zero speed OFF
Control mode switching request was performed by specifying a value outside the range for "[Cd.139] Control mode setting".
122 Outside control mode range
Control mode switching request was performed during the control mode switching.
Control mode switching request is not accepted.
123 Control mode switching
125 Control mode switching not possible
The control mode is not switched. (Current operation continues.)
The servo parameter "Absolute position detection system (PA03)" is different from VCII series.
126 VCII series parameter setting error
The operation is executed by the setting of VCII series.
130 Outside mark detection signal setting range
The mark detection signal setting is outside the range. All mark detections are not operated.
131 Outside mark detection data type setting range
The mark detection data type setting is outside the range.

Related buffer memory address Set range (Setting with sequence program) Remedy
Set the 2-word data to "[Pr.91] Optional data monitor: Data type setting 1" or "[Pr.93] Optional data monitor: Data type setting 3" and 0 to "[Pr.92] Optional data monitor: Data type setting 2" or "[Pr.94] Optional data monitor: Data type setting 4".
— — — Switch the control mode after turning BUSY OFF.
— — — Switch the control mode after turning "Zero speed" ([Md.108] Servo status) ON.
1575+100n 4375+100n
0, 10, 20, 30 Switch the control mode after setting a value within the range for "[Cd.139] Control mode setting".
— — — Carry out the control mode switching request after completing the control mode switching.
Review so that control mode switching is performed between the position control mode and continuous operation to torque control mode or between the speed control mode and continuous operation to torque control mode.
Match the setting of the servo parameter "Absolute position detection system (PA03)" to the setting of VCII series, and turn the PLC READY signal [Y0] from OFF to ON.
30103+200n 28403+100n
54000+20k < Mark detection signal setting >
0 to 16 Set a value within the setting range. 54002+20k < Mark detection data type >
n: Axis No.-1
k: Mark detection setting No.-1

code Warning name Warning Operation status at warning occurrence
When the mark detection data type setting is not "Optional 2 word buffer memory", the mark detection data type setting is outside the range. All mark detections are not operated.
132 Outside mark detection data axis No. setting range
When the mark detection data type setting is "Optional 2 word buffer memory", the mark detection data buffer memory No. is outside the range or odd number.
133 Outside mark detection data buffer memory No. setting range
The speed change request is issued during deceleration stop with JOG start signal OFF.
300 Speed change during deceleration
The speed change is not carried out.
301 JOG speed limit value
override value is considered when override function is used. ("[Cd.13] Positioning operation speed override" is set other than 100[%].)
401 Outside manual pulse generator input magnification range
The manual pulse generator 1 pulse input magnification is set to 0, 10001 or more, or negative value.
Re-set to 10000. • When input magnification is set at 0: Re- set to 1.

Related buffer memory address Set range (Setting with sequence program) Remedy
54003+20k < Mark detection data axis No.>
1 to 16, 801 to 804 Set a value within the setting range.
54004+20k 54005+20k
0 to 65534 Set a value with an even number within the setting range.
JOG speed 1 to 1000000000 [PLS/s] 1 to 2000000000 [ 10-2mm/min or another]
Do not carry out the JOG speed change during deceleration with the JOG start signal OFF.
1518+100n 1519+100n 4318+100n 4319+100n
New speed value 0 to 1000000000 [PLS/s] 0 to 2000000000 [ 10-2mm/min or another]
1514+100n 1515+100n 4314+100n 4315+100n
JOG speed limit value 1 to 1000000000 [PLS/s] 1 to 2000000000 [ 10-2mm/min or another]
Set a value within the setting range.
Positioning operation speed override
< Positioning operation speed override >
1 to 300 [%]
1522+100n 1523+100n 4322+100n 4323+100n
Set the manual pulse generator 1 pulse input magnification to within the setting range.
n: Axis No.-1
k: Mark detection setting No.-1

code Warning name Warning Operation status at warning occurrence
500 Deceleration/stop speed change
The speed change request is issued during deceleration stop. The speed change is not carried out.
501 Speed limit value over
speed switching control, target position change function, or override function is contained. (Note-2): This speed is a value in which
override value is considered when override function is used. ("[Cd.13] Positioning operation speed override" is set other than 100[%].)
503 M code ON signal ON The M code ON signal is turned ON when the positioning data is executed. Continue executing the positioning data.
In the positioning by block starting, the 50th point of the positioning start data is set to CONTINUE.
505 No operation termination setting
The operation is terminated.
506 FOR to NEXT nest construction FOR to NEXT is nested.
508 Speed-position switching (during acceleration) signal ON
The switching signal for speed-position switching control (INC mode) is turned ON during acceleration.
The operation is continued.

Related buffer memory address Set range (Setting with sequence program) Remedy
Do not carry out the speed change during deceleration with a stop command, during stoppage, or during automatic deceleration with position control.
1516+100n 4316+100n 1: Speed change is requested
OPR speed 1 to 1000000000 [PLS/s] 1 to 2000000000 [ 10-2mm/min or another]
Command speed 1 to 1000000000 [PLS/s] 1 to 2000000000 [ 10-2mm/min or another]
Refer to Section 5.3 "List of positioning data"
New speed value 0 to 1000000000 [PLS/s] 0 to 2000000000 [ 10-2mm/min or another]
1514+100n 1515+100n 4314+100n 4315+100n
change register> 0 to 1000000000 [PLS/s] 0 to 2000000000 [ 10-2mm/min or another]
1530+100n 1531+100n 4330+100n 4331+100n
Target position change value
speed)> 0 to 1000000000 [PLS/s] 0 to 2000000000 [ 10-2mm/min or another]
1536+100n 1537+100n 4336+100n 4337+100n
Review each speed so that setting speeds do not exceed the speed limit value.
Speed limit value 1 to 1000000000 [PLS/s] 1 to 2000000000 [ 10-2mm/min or another]
Positioning operation speed override
1 to 300[%] 1513+100n 4313+100n
Command speed at speed control
-1000000000 to 1000000000 [PLS/s]
[ 10-2mm/min or another]
1576+100n 1577+100n 4376+100n 4377+100n
Speed limit value at torque control
mode
0 to 1000000000 [PLS/s] 0 to 2000000000 [ 10-2mm/min or another]
1584+100n 1585+100n 4384+100n 4385+100n
Speed limit value at continuous operation to torque control mode
< Speed limit value at continuous operation
to torque control mode > -1000000000 to 1000000000 [PLS/s]
1586+100n 1587+100n 4386+100n 4387+100n
[ 10-2mm/min or another]
1504+100n 4304+100n 1: M code ON signal is turned OFF Normalize the ON and OFF timings of the "M code OFF request". (Refer to Section 13.7.3)
Refer to Section 5.3 "List of positioning data"
Set the operation termination to the 50th point. (Refer to Chapter 10)
— — — Make 1 nest construction for FOR to NEXT. (Refer to Section 10.3.8)
Do not turn ON the speed-position switching signal during acceleration. (Refer to Section 9.2.16)
n: Axis No.-1

code Warning name Warning Operation status at warning occurrence
509 Insufficient remaining distance
(When the operation pattern is a continuous path control, ignore the operations stated above.)
511 Step not possible Code 1 is set for the step start information when the step is outside standby. The step will not start.
The detailed parameter 2 "External command function selection" setting range is exceeded.
Even if the external command signal is turned ON, the system will not perform anything.
512 Illegal external command function
513 Insufficient movement amount
The movement amount is not large enough for automatic deceleration.
The system stops immediately after it reaches the positioning address.
514 Outside command speed range
speed switching control or target position change function is contained.
Teaching is not carried out when the set value is 0 or 601 or more. (The set value is automatically reset to "0" by the Simple Motion module even when a "0" or "601" or more is set.)
516 Illegal teaching data No.
The positioning data No. is set outside the setting range.
517 Illegal teaching data selection
The teaching data selection set value is outside the setting range. Teaching is not carried out.

Related buffer memory address Set range (Setting with sequence program) Remedy
— — — Give a request at the position where there is an enough remaining distance.
1546+100n 4346+100n
Do not set a "1" to the step start information when the step is not in standby state. (Refer to Section 13.7.1)
62+150n
0, 1, 2, 3, 4 Set the detailed parameter 2 "External command function selection" to within the setting range.
Refer to Section 5.3 "List of positioning data" — Set a decelerating address or a movement amount to the positioning data.
New speed value 0 to 1000000000 [PLS/s] 0 to 2000000000 [ 10-2mm/min or another]
1514+100n 1515+100n 4314+100n 4315+100n
change register> 0 to 1000000000 [PLS/s] 0 to 2000000000 [ 10-2mm/min or another]
1530+100n 1531+100n 4330+100n 4331+100n
Target position change value
(New speed)> 0 to 1000000000 [PLS/s] 0 to 2000000000 [ 10-2mm/min or another]
1536+100n 1537+100n 4336+100n 4337+100n
Command speed at speed control
-1000000000 to 1000000000 [PLS/s]
[ 10-2mm/min or another]
1576+100n 1577+100n 4376+100n 4377+100n
Speed limit value at torque control
mode
0 to 1000000000 [PLS/s] 0 to 2000000000 [ 10-2mm/min or another]
1584+100n 1585+100n 4384+100n 4385+100n
1549+100n 4349+100n
1 to 600 Set the positioning data No. to within the setting range.
1548+100n 4348+100n
0, 1 Set the teaching data selection set value to within the setting range.
n: Axis No.-1

code Warning name Warning Operation status at warning occurrence
The target position change is not carried out.
518 Target position change not possible
The torque is controlled with the torque limit setting value.
520 Torque limit value over
521 Torque initial value selection invalid
The initial value selection is controlled as the command torque.

Related buffer memory address Set range (Setting with sequence program) Remedy
1538+100n 4338+100n
Command torque at torque control
mode
-10000 to 10000 [ 10-1%]
Target torque at continuous operation
< Target torque at continuous operation to
Review the setting value so that the setting torque is not exceeded the torque limit setting value.
torque control > -10000 to 10000 [ 10-1%] 1590+100n 4390+100n
Torque limit setting value
1 to 1000[%] 26+150n
Operation setting for speed-torque
control mode
POL reflection setting at torque control
0, 1 30192+200n 28492+100n
n: Axis No.-1

The detection warning list for Servo amplifier is shown below. Refer to each servo amplifier instruction manual for details.

Classification of warnings Warning code Servo amplifier LED display
(Note-1): For MR-J4W-B or MR-J3W-B.
(Note-2): For MR-J4-B.
Chapter 16 Troubleshooting


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
"Simple Motion Module Setting Tool Help" of GX Works2. (Note-3): For the list of buffer memory addresses used in synchronous control, refer to
the "MELSEC-Q/L QD77MS/QD77GF/LD77MS/LD77MH Simple Motion Module User's Manual (Synchronous Control)". (Note-4): Guide to buffer memory address
1+150n ([Pr.4] Unit magnification (AM))=1+150 15=2251 •In the buffer memory address, "p" in "4012+5p", etc. indicates a pointer No. Calculate as follows for the buffer memory address corresponding to each pointer No. (Example) For pointer No. 15
4012+5p ([Md.3] Start information)=4012+5 15=4087

1+150n [Pr.4] Unit magnification (AM) 2+150n 3+150n [Pr.2] Number of pulses per rotation (AP)
n: Axis No.-1
: Compatible : Partly compatible : Not compatible
Appendices · Appendix - 2


18+150n 19+150n [Pr.12] Software stroke limit upper limit value
20+150n 21+150n [Pr.13] Software stroke limit lower limit value
23+150n [Pr.15] Software stroke limit valid/invalid setting 24+150n 25+150n [Pr.16] Command in-position width
n: Axis No.-1
: Compatible : Partly compatible : Not compatible
Appendices · Appendix - 3

Buffer memory address Compatibility of setting value
area QD77MS2 QD77MS4 QD77MS16
of QD77MS2/ QD77MS4 and
36+150n 37+150n [Pr.25] Acceleration time 1
38+150n 39+150n [Pr.26] Acceleration time 2
40+150n 41+150n [Pr.27] Acceleration time 3
42+150n 43+150n [Pr.28] Deceleration time 1
44+150n 45+150n [Pr.29] Deceleration time 2
46+150n 47+150n [Pr.30] Deceleration time 3
48+150n 49+150n [Pr.31] JOG speed limit value
50+150n [Pr.32] JOG operation acceleration time selection 51+150n [Pr.33] JOG operation deceleration time selection 52+150n [Pr.34] Acceleration/deceleration process selection 53+150n [Pr.35] S-curve ratio 54+150n 55+150n [Pr.36] Sudden stop deceleration time
56+150n [Pr.37] Stop group 1 sudden stop selection 57+150n [Pr.38] Stop group 2 sudden stop selection 58+150n [Pr.39] Stop group 3 sudden stop selection 59+150n [Pr.40] Positioning complete signal output time 60+150n 61+150n [Pr.41] Allowable circular interpolation error width
62+150n [Pr.42] External command function selection
63+150n [Pr.83] Speed control 10 x multiplier setting for degree axis 64+150n 65+150n [Pr.84] Restart allowable range when servo OFF to ON
[Pr.89] Manual pulse generator/incremental synchronous
encoder input type selection
68+150n [Pr.90] Operation setting for speed-torque control mode
69+150n [Pr.95] External command signal selection
70+150n [Pr.43] OPR method
71+150n [Pr.44] OPR direction 72+150n 73+150n [Pr.45] OP address
74+150n 75+150n [Pr.46] OPR speed
76+150n 77+150n [Pr.47] Creep speed
78+150n [Pr.48] OPR retry
n: Axis No.-1
: Compatible : Partly compatible : Not compatible


82+150n [Pr.51] OPR acceleration time selection 83+150n [Pr.52] OPR deceleration time selection 84+150n 85+150n [Pr.53] OP shift amount
86+150n [Pr.54] OPR torque limit value 87+150n [Pr.55] Operation setting for incompletion of OPR 88+150n [Pr.56] Speed designation during OP shift
89+150n [Pr.57] Dwell time during OPR retry 100+150n [Pr.91] Optional data monitor: Data type setting 1
n: Axis No.-1
: Compatible : Partly compatible : Not compatible
Appendices · Appendix - 5


1293+4p 4093+4p [Md.9] Axis in which the error occurred
129 5+4p 4095+4p [Md.11] Axis error occurrence (Day: hour)
1358+4p 4158+4p [Md.14] Axis in which the warning occurred
1422 4222 [Md.18] Warning history pointer 1424 1425 4224 4225 [Md.19] Number of write accesses to flash ROM
1434 4234 [Md.52] Communication between amplifiers axes searching flag
p: Pointer No.-1
: Compatible : Partly compatible : Not compatible
Appendices · Appendix - 6

Buffer memory address Compatibility of setting value
of QD77MS2/ QD77MS4 and
QD77MS16
800+100n 801+100n 2400+100n 2401+100n [Md.20] Current feed value
802+100n 803+100n 2402+100n 2403+100n [Md.21] Machine feed value
804+100n 805+100n 2404+100n 2405+100n [Md.22] Feedrate
806+100n 2406+100n [Md.23] Axis error No. 807+100n 2407+100n [Md.24] Axis warning No. 808+100n 2408+100n [Md.25] Valid M code 809+100n 2409+100n [Md.26] Axis operation status 810+100n 811+100n 2410+100n 2411+100n [Md.27] Current speed
812+100n 813+100n 2412+100n 2413+100n [Md.28] Axis feedrate
814+100n 815+100n 2414+100n 2415+100n [Md.29] Speed-position switching control positioning amount
816+100n 2416+100n [Md.30] External input signal
817+100n 2417+100n [Md.31] Status 818+100n 819+100n 2418+100n 2419+100n [Md.32] Target value
820+100n 821+100n 2420+100n 2421+100n [Md.33] Target speed
824+100n 825+100n 2424+100n 2425+100n [Md.34] Movement amount after near-point dog ON
826+100n 2426+100n [Md.35] Torque limit stored value/forward torque limit stored
value 827+100n 2427+100n [Md.36] Special start data instruction code setting value
828+100n 2428+100n [Md.37] Special start data instruction parameter setting
value 829+100n 2429+100n [Md.38] Start positioning data No. setting value. 830+100n 2430+100n [Md.39] In speed limit flag 831+100n 2431+100n [Md.40] In speed change processing flag 832+100n 2432+100n [Md.41] Special start repetition counter 833+100n 2433+100n [Md.42] Control system repetition counter 834+100n 2434+100n [Md.43] Start data pointer being executed 835+100n 2435+100n [Md.44] Positioning data No. being executed 836+100n 2436+100n [Md.45] Block No. being executed 837+100n 2437+100n [Md.46] Last executed positioning data No.
n: Axis No.-1
: Compatible : Partly compatible : Not compatible

Buffer memory address Compatibility of setting value
of QD77MS2/ QD77MS4 and
QD77MS16
839+100n 2439+100n M code 840+100n 2440+100n Dwell time 2441+100n Axis to be interpolated 842+100n 843+100n 2442+100n 2443+100n Command speed
[Md.47] Positioning data being
844+100n 845+100n 2444+100n 2445+100n Positioning address
846+100n 847+100n 2446+100n 2447+100n Arc address
848+100n 849+100n 2448+100n 2449+100n [Md.100] OPR re-travel value
850+100n 851+100n 2450+100n 2451+100n [Md.101] Real current value
852+100n 853+100n 2452+100n 2453+100n [Md.102] Deviation counter value
854+100n 855+100n 2454+100n 2455+100n [Md.103] Motor rotation speed
856+100n 2456+100n [Md.104] Motor current value
858+100n 2458+100n [Md.125] Servo status3 864+100n 865+100n 866+100n 867+100n 868+100n 869+100n
2464+100n 2465+100n 2466+100n 2467+100n 2468+100n 2469+100n
[Md.106] Servo amplifier software No.
870+100n 2470+100n [Md.107] Parameter error No. 876+100n 2476+100n [Md.108] Servo status 877+100n 2477+100n
878+100n 2478+100n [Md.109] Regenerative load ratio/Optional data monitor
879+100n 2479+100n [Md.110] Effective load torque/Optional data monitor output
2 880+100n 2480+100n [Md.111] Peak torque ratio/Optional data monitor output 3 881+100n 2481+100n [Md.112] Optional data monitor output 4
887+100n 2487+100n [Md.113] Semi/Fully closed loop status
888+100n 2488+100n [Md.114] Servo alarm
890+100n 2490+100n [Md.116] Encoder option information
891+100n 2491+100n [Md.120] Reverse torque limit stored value 892+100n 893+100n 2492+100n 2493+100n [Md.122] Speed during command
894+100n 2494+100n [Md.123] Torque during command
895+100n 2495+100n [Md.124] Control mode switching status
899+100n 2499+100n [Md.48] Deceleration start flag
59300+100n [Md.500] Servo status7
59302+100n [Md.502] Driver operation alarm number
n: Axis No.-1
: Compatible : Partly compatible : Not compatible

Buffer memory address Compatibility of setting value
of QD77MS2/ QD77MS4 and
QD77MS16
1500+100n 4300+100n [Cd.3] Positioning start No.
1501+100n 4301+100n [Cd.4] Positioning starting point No.
1502+100n 4302+100n [Cd.5] Axis error reset
1503+100n 4303+100n [Cd.6] Restart command
1504+100n 4304+100n [Cd.7] M code OFF request
1505+100n 4305+100n [Cd.8] External command valid 1506+100n 1507+100n 4306+100n 4307+100n [Cd.9] New current value
1508+100n 1509+100n 4308+100n 4309+100n [Cd.10] New acceleration time value
1510+100n 1511+100n 4310+100n 4311+100n [Cd.11] New deceleration time value
[Cd.12] Acceleration/deceleration time change during speed
1513+100n 4313+100n [Cd.13] Positioning operation speed override 1514+100n 1515+100n 4314+100n 4315+100n [Cd.14] New speed value
1516+100n 4316+100n [Cd.15] Speed change request
1517+100n 4317+100n [Cd.16] Inching movement amount 1518+100n 1519+100n 4318+100n 4319+100n [Cd.17] JOG speed
1520+100n 4320+100n [Cd.18] Interrupt request during continuous operation
1521+100n 4321+100n [Cd.19] OPR request flag OFF request 1522+100n 1523+100n 4322+100n 4323+100n [Cd.20] Manual pulse generator 1 pulse input magnification
1524+100n 4324+100n [Cd.21] Manual pulse generator enable flag
1525+100n 4325+100n [Cd.22] New torque value/forward new torque value 1526+100n 1527+100n 4326+100n 4327+100n [Cd.23] Speed-position switching control movement amount
1528+100n 4328+100n [Cd.24] Speed-position switching enable flag 1530+100n 1531+100n 4330+100n 4331+100n [Cd.25] Position-speed switching control speed change
1532+100n 4332+100n [Cd.26] Position-speed switching enable flag 1534+100n 1535+100n 4334+100n 4335+100n [Cd.27] Target position change value (New address)
1536+100n 1537+100n 4336+100n 4337+100n [Cd.28] Target position change value (New speed)
1538+100n 4338+100n [Cd.29] Target position change request flag
4339+100n [Cd.43] Simultaneous starting axis
n: Axis No.-1
: Compatible : Partly compatible : Not compatible


[Cd.30] Simultaneous starting axis start data No. (axis 1
4340+100n [Cd.30] Simultaneous starting own axis start data No.
[Cd.31] Simultaneous starting axis start data No. (axis 2
[Cd.32] Simultaneous starting axis start data No. (axis 3
[Cd.33] Simultaneous starting axis start data No. (axis 4
1558+100n 4358+100n [Cd.133] Semi/Fully closed loop switching request 1559+100n 4359+100n [Cd.108] Gain changing command
1576+100n 1577+100n 4376+100n 4377+100n [Cd.140] Command speed at speed control mode
n: Axis No.-1
: Compatible : Partly compatible : Not compatible
Appendices · Appendix - 10


1578+100n 4378+100n [Cd.141] Acceleration time at speed control mode
1579+100n 4379+100n [Cd.142] Deceleration time at speed control mode
1580+100n 4380+100n [Cd.143] Command torque at torque control mode
1584+100n 1585+100n 4384+100n 4385+100n [Cd.146] Speed limit value at torque control mode
[Cd.147] Speed limit value at continuous operation to torque
1594+100n 1595+100n 4394+100n 4395+100n [Cd.154] Control mode auto-shift parameter
5928 5929 5930 5931 [Cd.44] External input signal operation device
n: Axis No.-1
: Compatible : Partly compatible : Not compatible
Appendices · Appendix - 11


[Da.4] Deceleration time No. [Da.5] Axis to be interpolated
2001+6000n 6001+1000n [Da.10] M code/condition data No. /Number of LOOP to
LEND repetitions 2002+6000n 6002+1000n [Da.9] Dwell time/JUMP destination positioning data No.
n: Axis No.-1
: Compatible : Partly compatible : Not compatible
Appendices · Appendix - 12


[Da.14] Parameter 26001+ 1000n 26051+ 1000n 22001+ 400n 22051+ 400n 2nd point
26002+ 1000n 26052+ 1000n 22002+ 400n 22052+ 400n 3rd point
to 26049+ 1000n 26099+ 1000n 22049+ 400n 22099+ 400n 50th point
n: Axis No.-1
: Compatible : Partly compatible : Not compatible
Appendices · Appendix - 13


n: Axis No.-1
: Compatible : Partly compatible : Not compatible
Appendices · Appendix - 14

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.

30100+200n 28400+100n [Pr.100] Servo series – 30101+200n 28401+100n – PA01
30115+200n 28415+100n – PA15 30116+200n 28416+100n – PA16 30117+200n 28417+100n – PA17
n: Axis No.-1
: Compatible : Partly compatible : Not compatible
Appendices · Appendix - 15


n: Axis No.-1
: Compatible : Partly compatible : Not compatible
Appendices · Appendix - 16


n: Axis No.-1
: Compatible : Partly compatible : Not compatible
Appendices · Appendix - 17


n: Axis No.-1
: Compatible : Partly compatible : Not compatible
Appendices · Appendix - 18


n: Axis No.-1
: Compatible : Partly compatible : Not compatible
Appendices · Appendix - 19


n: Axis No.-1
: Compatible : Partly compatible : Not compatible
Appendices · Appendix - 20


n: Axis No.-1
: Compatible : Partly compatible : Not compatible
Appendices · Appendix - 21


n: Axis No.-1
: Compatible : Partly compatible : Not compatible
Appendices · Appendix - 22


n: Axis No.-1
: Compatible : Partly compatible : Not compatible
Appendices · Appendix - 23


n: Axis No.-1
: Compatible : Partly compatible : Not compatible
Appendices · Appendix - 24


n: Axis No.-1
: Compatible : Partly compatible : Not compatible
Appendices · Appendix - 25


n: Axis No.-1
: Compatible : Partly compatible : Not compatible
Appendices · Appendix - 26

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".

54004+20k 54005+20k [Pr.804] Mark detection data buffer memory No.
54006+20k 54007+20k [Pr.805] Latch data range upper limit value
54008+20k 54009+20k [Pr.806] Latch data range lower limit value
54640+10k [Cd.800] Number of mark detection clear request Mark detection control data 54641+10k [Cd.801] Mark detection invalid flag
[Md.801] Mark detection data storage area (1 to 32)
k: Mark detection setting No.-1
: Compatible : Partly compatible : Not compatible
Appendices · Appendix - 27

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.
SSCNET Cable length When MR-J3BUS M is used 1) 3m (9.84ft.) When MR-J3BUS M-A is used 1) 20m (65.62ft.) When MR-J3BUS M-B is used 1) 50m (164.04ft.)
SSCNET Cable length When MR-J3BUS _ M is used 1) 3m (9.84ft.) When MR-J3BUS _ M-A is used 1) 20m (65.62ft.) When MR-J3BUS _ M-B is used 1) 50m (164.04ft.)

(Note): It cannot communicate with that the connection of CN1A and CN1B is mistaken.
Be sure to connect SSCNET cable with the above connector. If the connection is mistaken, between the Simple Motion module and servo amplifier cannot be communicated. SSCNET connector to connect the SSCNET cable is put a cap to protect light device inside connector from dust. For this reason, do not remove a cap until just before connecting SSCNET cable. Then, when removing SSCNET cable, make sure to put a cap. Keep the cap and the tube for protecting light cord end of SSCNET cable in a plastic bag with a zipper of SSCNET cable to prevent them from becoming dirty. Do not remove the SSCNET cable while turning on the power supply of Simple Motion module and servo amplifier. Do not see directly the light generated from SSCNET connector of Simple Motion module or servo amplifier and the end of SSCNET cable. When the light gets into eye, may feel something is wrong for eye. (The light source of SSCNET cable complies with class1 defined in JISC6802 or IEC60825-1.) When exchanging the Simple Motion module or servo amplifier, make sure to put a cap on SSCNET connector. When asking repair of Simple Motion module or servo amplifier for some troubles, make also sure to put a cap on SSCNET connector. When the connector is not put a cap, the light device may be damaged at the transit. In this case, exchange and repair of light device is required.

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.
Numeral in the column of cable length on the table is a symbol put in the "_" part of cable model. Cables of which symbol exists are available.

MR-J3BUS_M 015 03 05 1 3 Standard Standard cord for inside panel
MR-J3BUS_M-A 5 10 20 Standard Standard cable for outside panel
(Note-1): For the cable of less than 30m (98.43ft.), contact your nearest Mitsubishi sales representative.

Minimum bend radius [mm(inch)] 25(0.98) Enforced covering cord: 50 (1.97)
Tension strength [N] 70 140 420 (Enforced covering cord) 980 (Enforced covering cord)
Ambient Indoors (no direct sunlight), No solvent or oil
(Note-1): This temperature range for use is the value for optical cable (cord) only. (Note-2): Dimension of connector fiber insert location. The distance of two cords is changed by how to bend it.
Appendices · Appendix - 29

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. must not adhere. The damage etc. must not adhere to the optical cord part when you peel off the film of the cable of the
SSCNET cable. If the end face of cord tip for the SSCNET cable is dirty, optical transmission is interrupted and it may cause malfunctions. If it becomes dirty, wipe with a bonded textile, etc. Do not use solvent such as alcohol. Do not add impossible power to the connector of the SSCNET cable. When incinerating the SSCNET cable (optical fiber), hydrogen fluoride gas or hydrogen chloride gas which is corrosive and harmful may be generated. For disposal of the SSCNET cable (optical fiber), request for specialized industrial waste disposal services who has incineration facility for disposing hydrogen fluoride gas or hydrogen chloride gas.
Appendices · Appendix - 30
![Page 978 of the Mitsubishi Electronics QD77MS2 user manual — [Unit: mm(inch)]](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-978.webp?w=400)
1) Model explanation

Cable type Standard cord for inside panel Standard cable for outside panel Long distance cable
3 3(9.84) 5 10 5(16.40) 10(32.81) 20 20(65.62) 30 40 30(98.43) 40(131.23) 50 50(164.04)
13.4 (0.53) 6.7(0.26) 15 (0.59) Protective tube
37.65 (1.48)
![Mitsubishi Electronics QD77MS2 — [Unit: mm(inch)] diagram (page 978)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-978-2.webp)
![Mitsubishi Electronics QD77MS2 — [Unit: mm(inch)] diagram (page 978)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-978-3.webp)
(Note): Dimension of connector part is the same as that of MR-J3BUS015M.



(Note): Dimension of connector part is the same as that of MR-J3BUS015M.

Keep the cap and the tube for protecting light cord end of SSCNET cable in a plastic bag with a zipper of SSCNET cable to prevent them from becoming dirty.
4.8(0.19)

1.7 (0.07)
2.3 (0.09)
9.3(0.37)
8 (0.31)
Appendices · (Note) Protective tube · Appendix - 32

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.
The following table indicates the serial absolute synchronous encoder cables used with the serial absolute synchronous encoder. Connector sets (MR-J3CN2) are also available for your fabrication.
Cable model Cable length [m(ft.)] Wire model
Q170ENCCBL_M-A 2(6.56), 5(16.40), 10(32.81), 20(65.62), 30(98.43), 50(164.04) J14B103715-00 12 pair (BLACK)
Use the following or equivalent twisted pair cables as the serial absolute synchronous encoder cables.
Connector sets type Description
MR-J3CN2 Servo amplifier connector

J14B103715-00 12 pair (BLACK) 0.2 24(12 pair) 40/0.08 105 or less 0.88 9.0
(Note-1): d is as shown below.
(Note-2): Standard OD (Outside Diameter). Maximum OD is about 10% larger.

When fabricating the encoder cable, do not make incorrect connection. Wrong connection will

1) Model explanation
2 Cable length [m(ft.)]
2(6.56) 5(16.40) 10(32.81) 20(65.62) 30(98.43) 50 50(164.04)

K L M N SHD P R LG S P5 T
Servo amplifier side 36210-0100PL(plug) 36310-3200-008(shell)
Encoder side MS3106B22-14S(plug) MS3057-12A(cable clump)

(Note): Layout twisted pair for signal to avoid contact.
: Twisted pair for signal (BAT/LG, MR/MRR, MD/MDR)
: Twisted pair (P5/LG)
Cable length 50m(164.04[ft.]) or less

(a) Serial absolute synchronous encoder (Q171ENC-W8)

(0.34)
Appendices · Appendix - 35

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. The light can be a discomfort when it enters the eye.
The cable is available per 1[m] up to 100[m]. The number of the length (1 to 100) will be in the "_" part in the cable model.
Cable length [m(ft.)]
Bending life Application/ remark 1m to 100m (3.28ft. to 328.08ft.)
SC-J3BUS_M-C 1 to 100 (3.28 to 328.08) Ultra-long bending life Long distance cable
Appendices · Cable model · Appendix - 36

Appendix 3.1 Connector
Mounted onto an external input connection connector of the QD77MS and used for wiring an external device. The "external device connector" includes the following 4 types.
(2) Connector type

Soldering type, useable for straight out and diagonal out A6CON4

Applicable wire size 0.3 mm2 AWG28 to 24 AWG28 (twisted)/ AWG30 (single wire)
(Note): The external input wiring connector has been prepared. Please purchase them by customer.
: FCN-707T-T001/H (cable cutter) : FCN-707T-T101/H (hand press) • Contact for the specialized tool: Fujitsu component LTD. http://www.fcl.fujitsu.com/en/
Appendices · Appendix - 37


14(0.55) or less
72.72(2.87) 14(0.55) or less
71.8(2.82)
46(1.81)
47(1.85) 50.8(2.00)
Appendices · Appendix - 38

The external input signal cable is not prepared as an option. Fabricate the cable on the customer side. Make the cable as shown in the following connection diagram.

(1) Manual pulse generator/ incremental synchronous encoder
(2) Forced stop input/ external input signal (AX1, AX2)

(3) External input signal (AX3, AX4)

(a) Differential-output type
Make the cable within 30m (98.43ft.).

HAL
HAH
Differential-output type Manual pulse generator/ incremental synchronous encoder side
: Twisted pair cable (Note-1): Ground FG terminal on the used equipment side. Also, connect it to the shell of connector side.
Make the cable within 10m (32.81ft.).

HBH
HAL
HAH
HB
1A19 Voltage-output/open-collector type Manual pulse generator/ incremental synchronous encoder side
: Twisted pair cable (Note-1): Ground FG terminal on the used equipment side. Also, connect it to the shell of connector side.
Appendices · Appendix - 40


Forced stop input side
STOP
DOG
RLS
COM
DI2
STOP
DOG
RLS
COM
: Twisted pair cable (Note-1): Ground FG terminal on the used equipment side.
Also, connect it to the shell of connector side.
Appendices · External input side · Appendix - 41


STOP
DOG
RLS
COM
DI4
STOP
DOG
RLS
COM
: Twisted pair cable (Note-1): Ground FG terminal on the used equipment side.
Also, connect it to the shell of connector side.
Appendices · External input side · Appendix - 42


17/0.16 1P SRV-SV(2464)-K 0.3mm2 2(1 pairs) 17/0.16 57.5 0.77 5.3
17/0.16 4P SRV-SV(2464)-K 0.3mm2 8(4 pairs) 17/0.16 57.5 0.77 7.6
17/0.16 10P SRV-SV(2464)-K 0.3mm2 20(10 pairs) 17/0.16 57.5 0.77 10.0 (Note-1): d is as shown below.
(Note-2): Standard OD. Max. OD is about 10% larger.

When fabricating the cable, do not make incorrect connection. Wrong connection will cause runaway or

(1) External dimension drawing



(0.35) (0.30)
The figure of processing a disc
Appendices · Appendix - 44

Appendix 4.1 Differences with QD75MH models
(1) Differences of performance specifications
Model Item QD77MS2 QD77MS4 QD77MS16 QD75MH2 QD75MH4
Number of control axes 2 4 16 2 4
Operation cycle [ms] 0.88/1.77 1.77
Control system Speed-torque control
Trapezoidal acceleration/ deceleration 0.88ms 1.77ms
3.5ms
Starting time (1-axis linear)
4.0ms
SSCNET communication SSCNET /H or SSCNET SSCNET
MR-J3-_B/MR-J3W-_B/MR-J3-_B-RJ006/
MR-J3-_BS/MR-J3-_B-RJ004/
MR-J3-_BS/MR-J3-_B-RJ004/ MR-J3-_B-RJ080W/MR-JE-_B
MR-J3-_B-RJ080W
Controlled servo parameter group
SSCNET /H PA, PB, PC, PD, PE, PS, PF, Po, PL
SSCNET PA, PB, PC, PD, PE, PS, PF, Po PA, PB, PC, PD, PE, PS
1.77 Other than the
Monitor data refresh cycle [ms] Operation cycle
Feedrate, Axis feedrate, External input signal,
Automatic recognition of "differential-output type" or "voltage-output/open-collector type"
Set "differential-output type" or "voltage-output/open-
collector type" by parameter ([Pr.89]).
1 pulse input magnification 1 to 10000 1 to 1000 (Note-1)
5 types (Near-point dog method, Count method 1) 2), Data set
4 types (Near-point dog method, Count method 1) 2),
Machine OPR function (OPR method)
method, Scale origin signal detection method
External input signal of QD77MS
External input signal of QD75MH (FLS, RLS, DOG, STOP, CHG) / external input signal of servo amplifier
(FLS, RLS, DOG, STOP, DI) / External input signal of servo amplifier (FLS, RLS, DOG) / external input signal via CPU
External signal selection function
Torque change function Forward/reverse same setting and individual setting Forward/reverse same setting only
(Note-1) Virtual servo amplifier function Mark detection function Optional data monitor function Module error collection function


Hot line forced stop function History data (Start, Error, Warning, Current value)
Day, Hour, Minute, Second" Information display of "Hour, Minute, Second"
External command signal Switching signal DI signal (External start or speed-position switching can be selected by parameter.)
Speed-position switching can be selected by external command signal (DI), near-point dog
Programming tool GX Works2, MR Configurator2 GX Works2/ GX Developer, GX Configurator-QP
: Possible, : Not possible (Note-1): These functions are equal to the QD77MS's specification in the following version of QD75MH.
Rating plate: 110720000000000-B or later, Product information: 110520000000000-B or later (Note-2): The value varies depending on the product information as follows.

Scale origin signal detection method OPR Refer to Section 8.2.7.
Connect/disconnect function of SSCNET communication Refer to Section 14.13.
QD75MH initial value setting function Refer to Section 14.14.
Hot line forced stop function Refer to Section 14.15.
Compatible with servo driver VCII series manufactured by Nikki Denso Co., Ltd. Refer to Appendix 6.1.
Compatible with inverter FR-A700 series Refer to Appendix 6.2.
Refer to "MELSEC-Q/L QD77MS/QD77GF/LD77MS/LD77MH Simple Motion Module User's Manual (Synchronous Control)".
Appendices · (a) Added functions · Appendix - 46

Input signal [X0] Signal name READY QD75 READY
[Pr.7] Bias speed at start Range of setting value
0 to 1000000000 [PLS/s] Maker setting
[Pr.8] Speed limit value Range of setting value
1 to 1000000000 [PLS/s] 1 to 50000000 [PLS/s]
[Pr.22] Input signal logic
[Pr.24] Manual pulse
generator /Incremental synchronous encoder input selection
Name Manual pulse generator/Incremental synchronous encoder input selection
Manual pulse generator input selection
[Pr.31] JOG speed limit
Range of setting value
1 to 1000000000 [PLS/s] 1 to 50000000 [PLS/s]
[Pr.42] External command
Range of setting value
[Pr.43] OPR method Range of setting value
[Pr.46] OPR speed Range of setting value
1 to 1000000000 [PLS/s] 1 to 50000000 [PLS/s]
[Pr.47] Creep speed Range of setting value
1 to 1000000000 [PLS/s] 1 to 50000000 [PLS/s]
QD77MS2 QD77MS4 1: External input signal of servo amplifier 2: Buffer memory of QD77MS 3: External input signal 1 of QD77MS QD77MS16 4: External input signal 2 of QD77MS QD77MS16 5: External input signal 3 of QD77MS QD77MS16 6: External input signal 4 of QD77MS QD77MS16
[Pr.80] External input signal
Range of setting value
[Pr. 89] Manual pulse
generator /Incremental synchronous encoder input type selection

[Pr.91] Optional data monitor:
Data type setting 1
Position loop gain 6: Bus voltage 7: Servo motor rotation speed 8: Encoder multiple revolution counter 9: Module power consumption 10: Instantaneous torque
[Pr.92] Optional data monitor:
Data type setting 2
[Pr.93] Optional data monitor:
Data type setting 3
[Pr.94] Optional data monitor:
Data type setting 4
[Pr.95] External command
signal selection New parameter No parameter setting
[Pr.96] Operation cycle setting New parameter 0: 0.88ms 1: 1.77ms No parameter setting
[Pr.97] SSCNET setting New parameter 0: SSCNET 1: SSCNET /H No parameter setting
[Pr.114] External command
Starting time is displayed by "Year, Month, Day, Hour, Minute, Second". [Md.54] Start Year: month [Md.5] Start Day: hour [Md.6] Start Minute: second
Starting time is displayed by "Hour, Minute, Second". [Md.5] Start Hour [Md.6] Start Minute: second
Starting history Information display of starting time
Occurrence time of axis error is displayed by "Year, Month, Day, Hour, Minute, Second". [Md.55] Axis error occurrence (Year: month) [Md.11] Axis error occurrence (Day: hour) [Md.12] Axis error occurrence (Minute: second)
Occurrence time of axis error is displayed by "Hour, Minute, Second". [Md.11] Axis error occurrence
Information display of axis error occurrence time
Axis error occurrence time
(Hour) [Md.12] Axis error occurrence

Occurrence time of axis warning is displayed by "Year, Month, Day, Hour, Minute, Second". [Md.56] Axis warning occurrence (Year: month) [Md.16] Axis warning occurrence (Day: hour) [Md.17] Axis warning occurrence (Minute: second)
Occurrence time of axis warning is displayed by "Hour, Minute, Second". [Md.16] Axis warning occurrence
Information display of axis warning occurrence time
Axis warning occurrence time
(Hour) [Md.17] Axis warning occurrence
-2: Step standby -1: Error 0: Standby 1: Stopped 2: Interpolation 3: JOG operation 4: Manual pulse generator operation 5: Analyzing 6: Special start standby 7: OPR 8: Position control 9: Speed control 10: Speed control in speed-position switching control 11: Position control in speed-position switching control 12: Position control in position-speed switching control 13: Speed control in position-speed switching control 15: Synchronous control 20: Servo amplifier has not been connected/servo amplifier power OFF 21: Servo OFF 30: Control mode switch 31: Speed control 32: Torque control 33: Continuous operation to torque control
-2: Step standby -1: Error 0: Standby 1: Stopped 2: Interpolation 3: JOG operation 4: Manual pulse generator
operation 5: Analyzing 6: Special start standby 7: OPR 8: Position control 9: Speed control 10: Speed control in speed-position switching control 11: Position control in speed- position switching control 12: Position control in position- speed switching control 13: Speed control in position-speed switching control 20: Servo amplifier has not been connected/servo amplifier power OFF 21: Servo OFF
[Md.26] Axis operation
Range of monitor value
b0: In speed control flag b1: Speed-position switching latch flag b2: Command in-position flag b3: OPR request flag b4: OPR complete flag b5: Position-speed switching latch flag b9: Axis warning detection b10: Speed change 0 flag b12: M code ON QD77MS16 b13: Error detection QD77MS16 b14: Start complete QD77MS16 b15: Positioning complete QD77MS16
flag b2: Command in-position flag b3: OPR request flag b4: OPR complete flag b5: Position-speed switching latch
[Md.31] Status Range of monitor value

([Da.1] to [Da.4], [Da.5] QD77MS2 QD77MS4 )
([Da.1] to [Da.5])
Positioning address ([Da.6])
Positioning address ([Da.6])
Arc address ([Da.7])
Arc address ([Da.7])
Command speed ([Da.8])
Command speed ([Da.8])
[Md.47] Positioning data
being executed Storage item
Dwell time /JUMP destination positioning data No.
Dwell time /JUMP destination
([Da.9])
positioning data No. ([Da.9])
M code /Condition data No./Number of LOOP to
M code /Condition data No./Number of LOOP to LEND repetitions ([Da.10])
LEND repetitions ([Da.10])
Axis to be interpolated ([Da.20] to [Da.22])
[Md.57] Servo alarm New monitor data The LED display details of servo amplifier detection alarm No monitor data
[Md.58] Servo warning New monitor data The LED display details of servo amplifier detection warning No monitor data
[Md.59] Module information New monitor data b0: Number of axes b12: Module information No monitor data
[Md.61] Driver operation
alarm number New monitor data Displays the driver operation alarm number. No monitor data
<SSCNET >
1 to 64 : PA01 to PA64 65 to 128 : PB01 to PB64 129 to 192: PC01 to PC64 193 to 256: PD01 to PD64 257 to 320: PE01 to PE64 321 to 384: PF01 to PF64 385 to 448: Po01 to Po64 449 to 512: PS01 to PS64 513 to 576: PL01 to PL64
1 to 18 : PA01 to PA18 19 to 63 : PB01 to PB45 64 to 95 : PC01 to PC32 96 to 127: PD01 to PD32
[Md.107] Parameter error
Range of monitor value
No.
1 to 18 : PA01 to PA18 19 to 63 : PB01 to PB45 64 to 95 : PC01 to PC32 96 to 127 : PD01 to PD32 128 to 167: PE01 to PE40 168 to 183: PF01 to PF16 184 to 199: Po01 to Po16 200 to 231: PS01 to PS32 232 : PA19

High-order buffer memory b0: READY ON b1: Servo ON b2, b3: Control mode b7: Servo alarm b12: In-position b13: Torque limit b14: Absolute position lost b15: Servo warning
High-order buffer memory b0: READY ON b1: Servo ON b7: Servo alarm b12: In-position b13: Torque limit b14: Absolute position lost b15: Servo warning
[Md.108] Servo status Range of monitor value
[Md.109] Regenerative load
Regenerative load ratio/Optional data monitor output 1 Regenerative load ratio
ratio/Optional data monitor output 1
[Md.110] Effective load
torque/Optional data monitor output 2
Effective load torque/Optional data monitor output 2 Effective load torque
[Md.111] Peak torque ratio/
Optional data monitor output 3
Peak torque ratio/Optional data monitor output 3 Peak torque ratio
[Md.112] Optional data
Content set in "[Pr.94] Optional data monitor: Data type setting 4" is displayed. No monitor data
monitor output 4 New monitor data
[Md.113] Semi/Fully closed
Compatible with continuous operation to torque control Compatible with scale measurement mode
[Md.116] Encoder option
information New storage item
[Md.132] Operation cycle
[Md.133] Operation cycle
[Md.134] Operation time Operation time [µs] No monitor data
[Md.135] Maximum
Maximum operation time [µs] No monitor data
[Md.500] Servo status7 New monitor data b9: Driver operation alarm No monitor data
[Md.502] Driver operation
alarm number New monitor data Displays the driver operation alarm number. No monitor data
[Cd.14] New speed value Range of setting value
0 to 1000000000 [PLS/s] 0 to 50000000 [PLS/s]
[Cd.17] JOG speed Range of setting value
1 to 1000000000 [PLS/s] 1 to 50000000 [PLS/s]

[Cd.24] Speed-position
Details of setting value
[Cd.25] Position-speed
switching control speed change register
Range of setting value
0 to 1000000000 [PLS/s] 0 to 50000000 [PLS/s]
[Cd.26] Position-speed
Details of setting value
[Cd.28] Target position
change value (New speed)
Range of setting value
0 to 1000000000 [PLS/s] 0 to 50000000 [PLS/s]
[Cd.30] Simultaneous starting axis
[Cd.30] Simultaneous starting own axis start data No.
[Cd.30] Simultaneous starting axis
[Cd.30] Simultaneous
start data No. (axis 1 start data No.)
start data No. (axis 1 start data No.)
starting own axis start data No.
[Cd.31] Simultaneous starting axis
[Cd.31] Simultaneous starting axis start data No.1
[Cd.31] Simultaneous starting axis
[Cd.31] Simultaneous
start data No. (axis 2 start data No.)
start data No. (axis 2 start data No.)
starting axis start data No.1
[Cd.32] Simultaneous starting axis start data No. (axis 3 start data No.)
[Cd.32] Simultaneous starting axis start data No.2
[Cd.32] Simultaneous starting axis start data No. (axis 3 start data No.)
[Cd.32] Simultaneous
starting axis start data No.2
[Cd.33] Simultaneous starting axis start data No. (axis 4 start data No.)
[Cd.33] Simultaneous starting axis start data No.3
[Cd.33] Simultaneous starting axis start data No. (axis 4 start data No.)
[Cd.33] Simultaneous
starting axis start data No.2

Number of simultaneous starting axes 2 to 4:
2 axes to 4 axes Simultaneous starting axis No. 0 to F:
[Cd.43] Simultaneous
starting axis New control data No control data
Axis 1 to Axis 16
[Cd.44] External input

0: Use the external command signal for switching from speed control to position control 1: Use the near-point dog signal for switching from speed control to position control 2: Use "[Cd.46] Speed-position switching command" for switching from speed control to position control 0: Use the external command signal for switching from position control to speed control 1: Use the near-point dog signal for switching from position control to speed control 2: Use "[Cd.46] Speed-position switching command" for switching from position control to speed control
[Cd.45] Speed-position
0: Not switch from speed control to position control 1: Switch from speed control to position control 0: Not switch from position control to speed control
[Cd.46] Speed-position
[Cd.47] QD75MH initial
[Cd.130] Parameter write
Range of setting value
[Cd.131] Parameter No. Range of setting value

[Cd.132] Change data New control data Set the change value of servo parameter set in "[Cd.131] Parameter No.". No control data
[Cd.140] Command speed
Range of setting value
-1000000000 to 1000000000 [PLS/s] No control data
at speed control mode
[Cd.146] Speed limit value
Range of setting value
0 to 1000000000 [PLS/s] No control data
at torque control mode
[Cd.147] Speed limit value
at continuous operation to torque control mode
Range of setting value
-1000000000 to 1000000000 [PLS/s] No control data
[Cd.802] Latch data range
change request New control data
[Cd.180] Axis stop Y4, Y5 Y4 to Y7
Y4, Y5 Y4 to Y7
[Cd.181] Forward run JOG start
Forward run JOG start Y8, YA Y8, YA, YC, YE
[Cd.182] Reverse run JOG start
Reverse run JOG start Y9, YB Y9, YB, YD, YF
[Cd.183] Execution prohibition flag
Execution prohibition flag Input/output signal Y14, Y15 Y14 to Y17
Y14, Y15 Y14 to Y17
[Da.20] Axis to be interpolated No.1 [Da.21] Axis to be interpolated No.2 [Da.22] Axis to be interpolated No.3
Axis to be interpolated Item of buffer memory [Da.5] Axis to be interpolated
[Da.5] Axis to be interpolated
[Da.8] Command speed Range of setting value
1 to 1000000000 [PLS/s] 1 to 50000000 [PLS/s]

[Da.16] Condition operator Range of setting
Set by "[Da.16] Condition operator" and "[Da.23] Number of simultaneously starting axes".
[Da.18] Parameter 1 Range of setting value
Set by "[Da.16] Condition operator".
Set by "[Da.16] Condition operator".
Set by "[Da.16] Condition operator" and "[Da.23] Number of simultaneously starting axes".
[Da.19] Parameter 2 Range of setting value
Set by "[Da.16] Condition operator".
Set by "[Da.16] Condition operator".

[Da.23] Number of
New positioning data No positioning data
[Da.24] Simultaneously
starting axis No.1 [Da.25] Simultaneously
New positioning data No positioning data
starting axis No.2 [Da.26] Simultaneously
starting axis No.3

(1) Differences of performance specifications
Model Item QD77MS2 QD77MS4 QD77MS16 LD77MH4 LD77MH16
Number of control axes 2 4 16 4 16
Operation cycle [ms] 0.88/1.77 0.88 0.88/1.77
Trapezoidal acceleration/ deceleration 0.88ms 1.77ms 0.88ms 1.77ms S-curve acceleration/ deceleration
Starting time (1-axis linear)
SSCNET communication SSCNET /H or SSCNET SSCNET
MR-J3-_B/MR-J3W-_B/MR-J3-_B-RJ006/
MR-J3-_BS/MR-J3-_B-RJ004/
MR-J3-_BS/MR-J3-_B-RJ004/ MR-J3-_B-RJ080W/MR-JE-_B
MR-J3-_B-RJ080W
Controlled servo parameter group
SSCNET /H PA, PB, PC, PD, PE, PS, PF, Po, PL —
SSCNET PA, PB, PC, PD, PE, PS, PF, Po PA, PB, PC, PD, PE, PS, PF
External input signal of QD77MS
(FLS, RLS, DOG, STOP, DI) / External input signal of servo amplifier (FLS, RLS, DOG) / external input signal via CPU
External input signal of servo amplifier (FLS, RLS, DOG) / external input signal via
External signal selection function
A6CON1, A6CON4: 0.3mm2 A6CON2: AWG 28 to AWG24 (0.08 to 0.2 mm2) A6CON3: AWG28 (Stranded, 0.08mm2)
(0.05 to 0.2 mm2)
AWG30 (Solid, 0.05mm2)
5VDC internal current consumption [A] 0.6 0.75 0.55 0.70
Number of module occupied slots 1 2
Outline dimensions [mm(inch)] 98.0(3.86) (H)×27.4(1.08) (W)×90.0(3.54) (D) 90.0(3.54) (H)×45.0(1.77) (W)×95.0(3.74) (D)
Mass [kg] 0.15 0.16 0.22
Saving area for servo parameter Internal memory (nonvolatile) Flash ROM
Programming tool GX Works2, MR Configurator2 GX Works2, MR Configurator2/ GX Developer, GX Configurator-QP
(Note-2) 20000 (Note-1): GX Configurator-QP does not support with a part of LD77MH4 function and LD77MH16. (Note-2): The value varies depending on the product information as follows.
Upper limit value of electronic gear setting range


Driver communication function (SSCNET /H) Refer to Section 14.9.
QD75MH initial value setting function Refer to Section 14.14.
Hot line forced stop function Refer to Section 14.15.
Compatible with servo driver VCII series manufactured by Nikki Denso Co., Ltd. Refer to Appendix 6.1.
Compatible with inverter FR-A700 series Refer to Appendix 6.2.
Refer to "MELSEC-Q/L QD77MS/QD77GF/LD77MS/LD77MH Simple Motion Module User's Manual (Synchronous Control)".
Input signal [X0] Signal name READY LD77 READY
Driver communication function Function name Driver communication function Master-slave operation function
[Pr.7] Bias speed at start Range of setting value
0 to 1000000000 [PLS/s] 0 to 50000000 [PLS/s]
[Pr.8] Speed limit value Range of setting value
1 to 1000000000 [PLS/s] 1 to 50000000 [PLS/s]
[Pr.22] Input signal logic
Range of setting value No limitation b4: Only the value specified
against the axis 1 is valid
[Pr.24] Manual pulse
generator /Incremental synchronous encoder input selection
Range of setting value
[Pr.31] JOG speed limit
Range of setting value
1 to 1000000000 [PLS/s] 1 to 50000000 [PLS/s]
[Pr.46] OPR speed Range of setting value
1 to 1000000000 [PLS/s] 1 to 50000000 [PLS/s]
[Pr.47] Creep speed Range of setting value
1 to 1000000000 [PLS/s] 1 to 50000000 [PLS/s]
QD77MS2 QD77MS4 1: External input signal of servo amplifier 2: Buffer memory of QD77MS 3: External input signal 1 of QD77MS QD77MS16 4: External input signal 2 of QD77MS QD77MS16 5: External input signal 3 of QD77MS QD77MS16 6: External input signal 4 of QD77MS QD77MS16
[Pr.80] External input signal
Range of setting value
[Pr.89] Manual pulse
generator/ Incremental synchronous encoder input type selection

[Pr.91] Optional data
Position loop gain 6: Bus voltage 7: Servo motor rotation speed 8: Encoder multiple revolution counter 9: Module power consumption 10: Instantaneous torque
[Pr.92] Optional data
Range of setting value
[Pr.93] Optional data
[Pr.94] Optional data
[Pr.96] Operation cycle
[Pr.97] SSCNET setting New parameter 0: SSCNET 1: SSCNET /H No parameter setting
[Pr.114] External command
signal compensation valid/invalid setting
[Pr.439] Cam axis length
Default value 4194304 262144 [Pr.441] Cam stroke
[Md.57] Servo alarm New monitor data The LED display details of servo amplifier detection alarm No monitor data
[Md.58] Servo warning New monitor data The LED display details of servo amplifier detection warning No monitor data
[Md.59] Module information Storage value 1000H 1001H 1002H 0001H 0002H
[Md.61] Driver operation
alarm number New monitor data Displays the driver operation alarm number. No monitor data

<SSCNET /H>
<SSCNET >
1 to 64 : PA01 to PA64 65 to 128 : PB01 to PB64 129 to 192: PC01 to PC64 193 to 256: PD01 to PD64 257 to 320: PE01 to PE64 321 to 384: PF01 to PF64 385 to 448: Po01 to Po64 449 to 512: PS01 to PS64 513 to 576: PL01 to PL64
1 to 18 : PA01 to PA18 19 to 63 : PB01 to PB45 64 to 95 : PC01 to PC32 96 to 127 : PD01 to PD32 128 to 167: PE01 to PE40 168 to 183: PF01 to PF16 184 to 199: Po01 to Po16 200 to 231: PS01 to PS32 232 : PA19
[Md.107] Parameter error
Range of monitor value
No.
1 to 18 : PA01 to PA18 19 to 63 : PB01 to PB45 64 to 95 : PC01 to PC32 96 to 127 : PD01 to PD32 128 to 167: PE01 to PE40 168 to 183: PF01 to PF16 184 to 199: Po01 to Po16 200 to 231: PS01 to PS32 232 : PA19
Compatible with continuous operation to torque control Compatible with scale measurement mode
[Md.116] Encoder option
information New storage item
[Md.132] Operation cycle
[Md.133] Operation cycle
[Md.500] Servo status7 New monitor data b9: Driver operation alarm No monitor data
[Md.502] Driver operation
alarm number New monitor data Displays the driver operation alarm number. No monitor data
[Cd.14] New speed value Range of setting value
0 to 1000000000 [PLS/s] 0 to 50000000 [PLS/s]
[Cd.17] JOG speed Range of setting value
1 to 1000000000 [PLS/s] 1 to 50000000 [PLS/s]
[Cd.25] Position-speed
switching control speed change register
Range of setting value
0 to 1000000000 [PLS/s] 0 to 50000000 [PLS/s]
[Cd.28] Target position
Range of setting value
0 to 1000000000 [PLS/s] 0 to 50000000 [PLS/s]
change value (New speed)
[Cd.47] QD75MH initial
[Cd.130] Parameter write
Range of setting value

<MR-J4(W)-B/MR-JE-B>
0: PA group 1: PB group 2: PC group 3: PD group 4: PE group 5: PF group 9: Po group A: PS group
[Cd.131] Parameter No. Range of setting value
[Cd.132] Change data New control data Set the change value of servo parameter set in "[Cd.131] Parameter No.". No control data
[Cd.140] Command speed
Range of setting value
-1000000000 to 1000000000 [PLS/s]
-50000000 to 50000000 [PLS/s]
at speed control mode
[Cd.146] Speed limit value
Range of setting value
0 to 1000000000 [PLS/s] 0 to 50000000 [PLS/s]
at torque control mode
[Cd.147] Speed limit value
at continuous operation to torque control mode
Range of setting value
-1000000000 to 1000000000 [PLS/s]
-50000000 to 50000000 [PLS/s]
[Cd.802] Latch data range
change request New control data
[Da.8] Command speed Range of setting value
1 to 1000000000 [PLS/s] 1 to 50000000 [PLS/s]

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 Version1 Operating Manual (Common)" or " GX Works2 Version1 Operating Manual (Intelligent Function Module)". For details on the operation method of Simple Motion Module Setting Tool, refer to the "Simple Motion Module Setting Tool Help" of GX Works2 (Note-1)
Starting GX Works2 Start GX Works2.
(Simple Motion Module Setting Tool). (Note-1): GX Works2 version 1.77F or later.
Creating a new project Create a new project with GX Works2.
Adding a module Add a module for the project of GX Works2.
Starting Simple Motion Module Setting Tool Start Simple Motion Module Setting Tool with GX Works2.
Creating a new project of Simple Motion Module Create a new project with Simple Motion Module Setting Tool.
Adding a module for the project of Simple Motion Module Add a module for the project of Simple Motion Module Setting Tool.
System setting and auto refresh setting Configure each setting with GX Works2.
Configure parameters and positioning data with
YES
Parameter setting Configure each setting with GX Works2.
Creating programs for parameters and data Create programs to set parameters and data.
Refer to "Chapter 6".
Positioning test Execute a test operation such as positioning data etc.
Refer to "Chapter 6".
Programming and debugging Create and debug a sequence program.
Writing data to flash ROM Write data to the flash ROM.

Appendix 6.1 Servo driver VCII series manufactured by Nikki Denso Co., Ltd.
The direct drive DISC/iD roll/Servo compass/Linear series, etc. manufactured by Nikki Denso Co., Ltd. can be controlled by connecting with the servo driver VCII series manufactured by the company using SSCNET or SSCNET /H. Contact to Nikki Denso overseas sales office for details of VCII series.
The details shown below explain about the "Connection with VCII series". [1] Connecting method [2] Comparisons of specifications with MR-J4(W)-B/MR-J3(W)-B [3] Precautions during control [4] VCII series detection error/warning
Appendices · Appendix - 64
![Page 1012 of the Mitsubishi Electronics QD77MS2 user manual — [1] Connecting method](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-1012.webp?w=400)
The system configuration using VCII series is shown below.
![Mitsubishi Electronics QD77MS2 — [1] Connecting method diagram (page 1012)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-1012-1.webp)
QD77MS2 : Up to 2 axes QD77MS4 : Up to 4 axes QD77MS16: Up to 16 axes
* MR-JE-_B can be connected via SSCNET /H.
To connect VCII series, set the following parameters.
![Mitsubishi Electronics QD77MS2 — [1] Connecting method diagram (page 1012)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-1012-2.webp)
n: Axis No.-1
![Mitsubishi Electronics QD77MS2 — [1] Connecting method diagram (page 1012)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-1012-3.webp)
POINT Parameters set in VCII series are not controlled by Simple Motion module. However, match the servo parameter "Absolute position detection system (PA03)" with the setting of VCII series. Otherwise, it does not operate correctly.
![Page 1013 of the Mitsubishi Electronics QD77MS2 user manual — [2] Comparisons of specifications with MR-J4(W)-B/MR-J3(W)-B](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-1013.webp?w=400)
Item VCII series (Note-1) MR-J4(W)-B MR-J3(W)-B
[Pr.100] Servo series
Control of servo amplifier parameters Controlled by VCII series. (Note-2) Controlled by Simple Motion module.
Set by Simple Motion module. (Note-2)
Set by Simple Motion module.
Set by VCII data editing software.
Input filter setting Setting is not available. (fixed to 0.88 ms) Setting is available.
[Pr.80] External input
External input signals of VCII series are available.

Item VCII series (Note-1) MR-J4(W)-B MR-J3(W)-B
The following items can be monitored. 1: Effective load ratio 2: Regenerative load ratio 3: Peak load factor 5: Position loop gain 8: Encoder multiple revolution
The following items can be monitored. 1: Effective load ratio 2: Regenerative load ratio 3: Peak load factor 4: Load inertia moment ratio 5: Model loop gain 6: Bus voltage 7: Servo motor rotation
The following items can be monitored. 1: Effective load ratio 2: Regenerative load ratio 3: Peak load factor 4: Load inertia moment ratio 5: Model loop gain 6: Bus voltage 7: Servo motor rotation speed 8: Encoder multiple revolution
consumption 10: Instantaneous torque 12: Servomotor thermistor temperature 13: Equivalent disturbance torque 14: Overload alarm margin 15: Error excessive alarm margin 16: Settling time 17: Overshoot amount 20: Position feedback 21: Encoder single revolution position 22: Selection droop pulse 23: Module integral power consumption 24: Load side encoder information 1 25: Load side encoder information 2 26: Z-phase counter 27: Servomotor-side/load-side position deviation 28: Servomotor-side/load-side speed deviation 29: Encoder counter
[Pr.91] to [Pr.94] Optional data monitor: Data type setting
counter 12: Servomotor thermistor temperature 20: Position feedback 21: Encoder single revolution position 22: Selection droop pulse 24: Load side encoder information 1 25: Load side encoder information 2
Absolute position system Possible (Note-3) Possible
Unlimited length feed Possible (Note-4) Possible
OPR method Near-point dog method, Count method 1), 2), Data set method, Scale origin signal detection method
Position control mode, Speed control mode, Torque control mode (Note-5)
Position control mode, Speed control mode, Torque control mode, Continuous operation to torque control mode
Positioning control, Expansion control
Torque limit value change
Gain changing command Valid Valid
PI-PID switching command Valid Valid
Control loop (semi/fully) switching command
Invalid Valid when using servo amplifier for fully closed loop control

Item VCII series (Note-1) MR-J4(W)-B MR-J3(W)-B
Servo parameter change request Possible (2 words write) Possible (1 word write)
Driver communication Not possible Possible (Note-7)
Monitoring of servo parameter error No.
Alarm codes/warning codes detected by VCII series are stored in "Servo alarm/warning".
Alarm codes/warning codes detected by servo amplifier are stored in "Servo alarm/warning".
Servo alarm/warning (Error history/warning history)
Test mode is available. MR Configurator2 is not available. Use VCII data editing software.
Test mode is available. MR Configurator2 is available.
(Note-1): Confirm the specifications of VCII series for details. (Note-2): Match the absolute position detection system setting in each setting of VCII series and Simple Motion module. (Note-3): The direct drive DISC series manufactured by Nikki Denso Co., Ltd. can restore the absolute position in the range from
-2147483648 to 2147483647. Confirm the specifications of VCII series for restrictions by the version of VCII series. (Note-4): When unlimited feed is set in "Over flow error detection selection (the 2nd digit of the select function for SSCNET on
communicate mode)" of VCII series, the unlimited length feed is available. When the limited feed is set, the unlimited length feed is not available. Confirm the specifications of VCII series for restrictions by the version of VCII series. (Note-5): There are restrictions by the version of VCII series. Confirm the specifications of VCII series for details. (Note-6): The specification of torque limit direction differs by the version of VCII series. Confirm the specifications of VCII series for details. (Note-7): Refer to each servo amplifier instruction manual for the servo amplifiers that can be used.

(1) Absolute position system (ABS)/Incremental system (INC)
Match the ABS/INC setting in each setting of VCII series and Simple Motion module. Otherwise, the warning "VCII series parameter setting error" (warning code: 126) occurs, and it is controlled by the setting of VCII series side. When the infinite length operation is set in "Overflow abnormality detection select (the 2nd digit of the select function for SSCNET on communicate mode)" of VCII series, the unlimited length feed is available. When the finite length operation is set and "Encoder multiple revolution counter × Encoder resolution + Encoder single revolution position" exceeds the range of -2147483648 to 2147483647, the servo error 61468 (F01CH) "Absolute encoder over flow error" occurs and the operation stops.
When "1" is set in the first digit of the parameter of VCII series "Select function for SSCNET on communicate mode", it is possible to carry out the home position return (OPR) without passing the zero point. (Return to origin after power is supplied will be executed when passing of Motor Z phase is not necessary.) When "0" is set, the error "OPR zero point not passed" (error code: 210) occurs because the OPR is executed without passing the motor Z phase (Motor reference position signal).
(a) Control of servo parameters
Parameters of VCII series are not controlled by Simple Motion module. Therefore, even though the parameter of VCII series is changed during the communication between Simple Motion module and VCII series, it does not reflect to the buffer memory.

(b) Servo parameter change request
Change request of servo parameter ("[Cd.130] Parameter write request" to "[Cd.132] Change data") can be executed. However, the servo parameter of VCII series is controlled in a unit of 2 words, so that it is necessary to set "2: 2 words write request" in "[Cd.130] Parameter write request" for executing the parameter write. If 1 word write is executed to VCII series, the parameter write is failure, and "3" is stored in "[Cd.130] Parameter write request". When the servo parameter of VCII series is changed by the servo parameter change request, the parameter value after changing the servo parameter cannot be confirmed using VCII data editing software. Also, when the power of VCII series is turned OFF, the parameter changed by the servo parameter change request becomes invalid, and the value written by VCII data editing software becomes valid.
(5) Optional data monitor
The following table shows data types that can be set.
Data type Unit Effective load ratio [%] Regenerative load ratio [%] Peak load factor [%] Model loop gain [rad/s] Encoder multiple revolution counter [rev] Position feedback (Used point: 2 words) [PLS] Encoder single revolution position (Used point: 2 words) [PLS]
(6) Gain changing command, PI-PID switching request, Semi/Fully closed loop
switching request Gain changing command and PI-PID switching request are available. Semi/fully closed loop switching request becomes invalid.
The driver communication is not supported. If the driver communication is set in a servo parameter, the error "Driver communication setting error" (error code: 975) will occur when the power is turned ON, and any servo amplifiers including VCII series cannot be connected.
Appendices · (7) Driver communication · Appendix - 70
![Page 1018 of the Mitsubishi Electronics QD77MS2 user manual — [4] VCII series detection error/warning](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-1018.webp?w=400)
When an error occurs on VCII series, the error detection signal turns ON, and the error code (61440 to 61695) is stored in "[Md.23] Axis error No.". The servo alarm (0x00 to 0xFF) of VCII series is stored in "[Md.114] Servo alarm" and "[Md.57] Servo alarm" in error history. The alarm detail number is not stored. However, "0" is always stored in "[Md.107] Parameter error No.". The detection error list for VCII series is shown below. Confirm the specifications of VCII series for details of the errors/warnings.
![Mitsubishi Electronics QD77MS2 — [4] VCII series detection error/warning diagram (page 1018)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-1018-1.webp)
of errors Error code Servo alarm No. VCII series LED display Name Remarks
61468 (F01CH) 1CH E-2 Absolute encoder over flow error
61474 (F022H) 22H A-1 EEPROM (Nonvolatile memory) writing error
61475 (F023H) 23H A-2 Rated speed command Invalid 1
61476 (F024H) 24H A-3 Rated speed command Invalid 2
61477 (F025H) 25H 1-2 Main power supply shortage error
Appendices · (1) Error · Appendix - 71


of errors Error code Servo alarm No. VCII series LED display Name Remarks
61548 (F06CH) 6CH A-7 Rated speed command Invalid 3
61550 (F06EH) 6EH ― FLASH (Nonvolatile memory) writing error
Appendices · Appendix - 72


of errors Error code Servo alarm No. VCII series LED display Name Remarks
61551 (F06FH) 6FH 9-3 Remote sequence control receive timeout
61553 (F071H) 71H 9-1 Remote sequence control IC defect
61555 (F073H) 73H A-4 Servo control communication disconnection error
61560 (F078H) 78H 6-0 Free curve motion data error
61561 (F079H) 79H 6-1 Standard position return data error
61575 (F087H) 87H 3-8 DISC motor 1-rotation position detection speed error
61576 (F088H) 88H 3-9 DISC absolute encoder light- receiving element error
61577 (F089H) 89H 3-A DISC absolute encoder light-emitting element error
61630 (F0BEH) BEH E-5 Encoder and IPU communication error
61631 (F0BFH) BFH E-6 Encoder and IPU cable disconnection
Appendices · Appendix - 73

When a warning occurs on VCII series, the warning code (61440 to 61695) is stored in "[Md.24] Axis warning No.". The servo warning No. of VCII series is stored in "[Md.58] Servo warning" in warning history. The detection warning list for VCII series is shown below.

of warnings Warning code Servo warning No. VCII series LED display Name Remarks
61466 (F01AH) 1AH F-4 Absolute encoder battery error warning
61482 (F02AH) 2AH F-3 Zero return incomplete automatic startup warning
61552 (F070H) 70H F-5 Remote sequence control communication stand-by warning
61558 (F076H) 76H F-2 Main power supply low voltage detection warning
61564 (F07CH) 7CH F-6 Remote sequence control SW change warning
61634 (F0C2H) C2H F-b Encoder position sensing part deterioration warning
Appendices · (2) Warning · Appendix - 74

FR-A700 series can be connected via SSCNET by using built-in option FR-A7AP and FR-A7NS.
The details shown below explain about the "Connection with FR-A700 series". [1] Connecting method [2] Comparisons of specifications with MR-J3(W)-B [3] Precautions during control [4] FR-A700 series detection error/warning
Appendices · Appendix - 75
![Page 1023 of the Mitsubishi Electronics QD77MS2 user manual — [1] Connecting method](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-1023.webp?w=400)
The system configuration using FR-A700 series is shown below. Set "0: SSCNET " in "[Pr.97] SSCNET setting" to use FR-A700 series.
![Mitsubishi Electronics QD77MS2 — [1] Connecting method diagram (page 1023)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-1023-1.webp)
QD77MS2 : Up to 2 axes QD77MS4 : Up to 4 axes QD77MS16: Up to 16 axes
To connect FR-A700 series, execute flash ROM writing after setting the following parameters to buffer memory. The setting value is valid at power supply ON or PLC CPU reset. "[Pr.97] SSCNET setting": "0: SSCNET " "[Pr.100] Servo series" : "64: FR-A700 series (Inverter)"
(3) Control of FR-A700 series parameters
Parameters set in FR-A700 series are not controlled by Simple Motion module. Set the parameters by connecting FR-A700 series directly with the operation panel on the front of inverter (FR-DU07/FR-PU07) or FR Configurator that is inverter setup software. Confirm the specifications of FR- A700 series for details of the setting items.
POINT In the state of connecting between FR-A700 series and Simple Motion module, only a part of parameters can be set if the parameter of the inverter "[Pr.77] Parameter write selection" is in the initial state. Set "2: Write parameters during operation" to rewrite the parameters of FR-A700 series.
![Mitsubishi Electronics QD77MS2 — [1] Connecting method diagram (page 1023)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-1023-2.webp)
(4) Reset selection/disconnected PU detection/PU stop selection
When PU stop is executed in FR-A700 series, position error excessive, etc. occur because a command from Simple Motion module does not stop. Set "0 to 3" in the parameter of the inverter "[Pr.75] Reset selection/ disconnected PU detection/PU stop selection". To stop FR-A700 series, use the stop signal and the forced stop of Simple Motion module, or use the output stop (MRS) of FR-A700 series.

Reset selection/ disconnected PU detection/ PU stop selection
[Pr.75]
(Note): Note that the default value is set to "14". (Change the value to "1 to 3".)
Set the servo parameter "In-position range (PA10)" and the parameter of the inverter "[Pr.426] In-position width" to be matched. Otherwise, it may not operate correctly.

n: Axis No.-1

When droop pulses have fallen below the setting value, the in- position signal turns ON.

(6) Optional data monitor setting
The following table shows data types that can be set.
Data type Name at FR-A700 series use
Effective load factor Motor load factor Load inertia moment ratio Load inertia ratio Model loop gain Position loop gain Bus voltage Converter output voltage
Encoder multiple revolution counter Absolute position encoder multiple revolution counter Position feedback Position feedback
Encoder single revolution position Absolute position encoder single revolution position
POINT When FR-A700 series is used, each data is delayed for "update delay time + communication cycle" because of the update cycle of the inverter. The following table shows the update delay time of each data.
Data type Update delay time of FR-A700 series
Effective load factor 12.5ms
Load inertia moment ratio 56ms or more (up to 2500ms)
Model loop gain 56ms or more (up to 2500ms)
Bus voltage 9.888ms
Encoder multiple revolution counter 222µs
Encoder single revolution position 222µs
Appendices · Position feedback 222µs · Appendix - 78

(7) External input signal
STF terminal function selection
[Pr.178]
60 60 Use with the default value.
STR terminal function selection
[Pr.179]
61 61 Use with the default value.
JOG terminal function selection
[Pr.185]
5 76 Set 76 (Near-point dog).
SSCNET input filter setting
Set the input filter setting value at reading an external signal.
[Pr.449]
PD11 Input filter setting 4
Set the input filter setting value at reading an external signal.
![Page 1027 of the Mitsubishi Electronics QD77MS2 user manual — [2] Comparisons of specifications with MR-J3(W)-B](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-1027.webp?w=400)
Item FR-A700 series (Note-1) MR-J3(W)-B
Control of servo amplifier parameters Set directly by inverter. (Not controlled by Simple Motion module.)
Controlled by Simple Motion module.
[Pr.80] External input
External input signals of FR-A700 series are available.
External input signals of servo amplifier are available.
The following items can be monitored. 1: Effective load ratio 4: Load inertia moment factor 5: Position loop gain 6: Bus voltage 8: Encoder multiple revolution counter 20: Position feedback 21: Encoder single revolution position
The following items can be monitored. 1: Effective load ratio 2: Regenerative load ratio 3: Peak load factor 4: Load inertia moment ratio 5: Model loop gain 6: Bus voltage 7: Servo motor rotation speed 8: Encoder multiple revolution counter 12: Servomotor thermistor temperature 20: Position feedback 21: Encoder single revolution position 22: Selection droop pulse 24: Load side encoder information 1 25: Load side encoder information 2
[Pr.91] to [Pr.94] Optional data monitor: Data type setting
Absolute position system Not possible Possible
Position control mode, Speed control mode, Torque control mode
Position control mode, Speed control mode, Torque control mode, Continuous operation to torque control mode
Positioning control, Expansion control
Gain changing command Valid Valid
PI-PID switching command Valid Valid
Control loop (semi/fully) switching command
Invalid Valid when using servo amplifier for fully closed loop control (MR-J3-_B-RJ006)
Servo parameter write/read Not possible Possible
(Operates artificially as the followings during amplifier-less operation. Servo amplifier type: MR-J3-10B, Motor type: HF-KP053)
Driver communication Not possible Possible (Note-3)
Monitoring of servo parameter error No. Not possible Possible
Alarm codes/warning codes detected by FR-A700 series are stored in "Servo alarm/warning".
Alarm codes/warning codes detected by servo amplifier are stored in "Servo alarm/warning".
Servo alarm/warning (Error history/warning history)
MR Configurator2 is not available. Use FR-DU07/FR-PU07 or FR Configurator.
MR Configurator2 is available.
(Note-1): Confirm the specifications of FR-A700 series for details. (Note-2): Parameters set in FR-A700 series are not controlled by Simple Motion module. Therefore, the operation is the same as when the
servo parameter "Rotation direction selection/travel direction selection (PA14)" is set as below during amplifier-less operation mode.
![Mitsubishi Electronics QD77MS2 — [2] Comparisons of specifications with MR-J3(W)-B diagram (page 1027)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-1027-1.webp)
Positioning address decrease: CW of negative direction (Note-3): Refer to each servo amplifier instruction manual for the servo amplifiers that can be used.
![Page 1028 of the Mitsubishi Electronics QD77MS2 user manual — [3] Precautions during control](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-1028.webp?w=400)
(1) Absolute position system (ABS)/Incremental system (INC)
The driver communication is not supported. If the driver communication is set in a servo parameter, the error "Driver communication setting error" (error code: 975) will occur when the power is turned ON.
(4) Control mode switching of speed-torque control
The axis connected with FR-A700 series takes more time to switch the control mode than the axis connected with the servo amplifier.
Switching operation Switching time at the servo amplifier use
Switching time at FR-A700 series use
Position control mode Speed control mode
Speed control mode Position control mode Position control mode Torque control mode Torque control mode Position control mode Speed control mode Torque control mode Torque control mode Speed control mode
6 to 11ms 19 to 24ms
![Page 1029 of the Mitsubishi Electronics QD77MS2 user manual — [4] FR-A700 series detection error/warning](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-1029.webp?w=400)
When an error occurs on FR-A700 series, the error code (61696 to 61951) is stored in "[Md.23] Axis error No.". The alarm No. of FR-A700 series is stored in "[Md.114] Servo alarm" and "[Md.57] Servo alarm" in error history. However, "0" is always stored in "[Md.107] Parameter error No." and "Absolute position lost (b14)" of "[Md.108] Servo status". The detection error list for FR-A700 series is shown below. Confirm the specifications of FR-A700 series for details of the errors/warnings.
![Mitsubishi Electronics QD77MS2 — [4] FR-A700 series detection error/warning diagram (page 1029)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-1029-1.webp)
of errors Error code Alarm No. of FR-A700 series
61713 (F111H) 11H E.OC2 Overcurrent trip during constant speed
61714 (F112H) 12H E.OC3 Overcurrent trip during deceleration or stop
61715 (F113H) 13H E.OV1 Regenerative overvoltage trip during acceleration
61716 (F114H) 14H E.OV2 Regenerative overvoltage trip during constant speed
61717 (F115H) 15H E.OV3 Regenerative overvoltage trip during deceleration or stop
61718 (F116H) 16H E.THM Motor overload trip (electronic thermal relay function)
61719 (F117H) 17H E.THT Inverter overload trip (electronic thermal relay function)
61729 (F121H) 21H E.GF Output side earth (ground) fault overcurrent
61737 (F129H) 29H E.RET Retry count excess Not be output when using FR-A7NS.
Appendices · (1) Error · Appendix - 82


of errors Error code Alarm No. of FR-A700 series
61752 (F138H) 38H E.MB1 Brake sequence fault Not be output when using FR-A7NS. 61753 (F139H) 39H E.MB2
61765 (F145H) 45H E.P24 24VDC power output short circuit
61766 (F146H) 46H E.CTE Operation panel power supply short circuit, RS-485 terminal power supply short circuit
61776 (F150H) 50H E.CDO Output current detection value exceeded
61777 (F151H) 51H E.IOH Inrush current limit circuit fault
Appendices · Appendix - 83

When a warning occurs on FR-A700 series, the warning code (61696 to 61951) is stored in "[Md.24] Axis warning No.". The warning No. of FR-A700 series is stored in "[Md.58] Servo warning" in warning history.
The detection warning list for FR-A700 series is shown below. Classification

of warnings Warning code Warning No. of FR-A700 series
61940 (F1F4H) F4H TH Electronic thermal relay function pre-alarm
61943 (F1F7H) F7H SL Speed limit indication (Output during speed limit)
Appendices · (2) Warning · Appendix - 84
![Page 1032 of the Mitsubishi Electronics QD77MS2 user manual — [1] Comparisons of specifications with MR-J4(W)-B Item MR-JE-B MRJ4(W)-B](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-1032.webp?w=400)
The servo amplifier MR-JE-B can be connected using SSCNET /H. The details shown below explain about the "Connection with MR-JE-B". [1] Comparisons of specifications with MR-J4(W)-B
Operation mode Standard Standard/Fully closed/Linear/Direct drive
External input signals of servo amplifier are not available. (Note-1)
[Pr.80] External input signal selection
External input signals of servo amplifier are available.
Control loop (semi/fully) switching command Invalid Valid when using servo amplifier for fully closed loop control
Encoder resolution 131072 pulses/rev 4194304 pulses/rev
Amplifier-less operation function Possible (Note-2) Possible
Driver communication Not possible Possible
Virtual servo amplifier function Not possible Possible
(Note-1): When "1: External input signal of servo amplifier" is set in "[Pr.80] External input signal selection"
at MR-JE-B use, the axis error or warning does not occur and the external signal (upper/lower limit switch, near-point dog) cannot be operated. Refer to Section 14.4 "External signal selection function" for the program example and system configuration when "2: Buffer memory of QD77MS" is set. (Note-2): Operates artificially as the following servo amplifier and servo motor during amplifier-less
Appendices · Detailed parameter 1 · Appendix - 85
![Page 1033 of the Mitsubishi Electronics QD77MS2 user manual — [2] QD77MS4](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-1033.webp?w=400)
[1] QD77MS2

![Mitsubishi Electronics QD77MS2 — [2] QD77MS4 diagram (page 1033)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-1033-2.webp)
Appendices · Appendix - 86
![Page 1034 of the Mitsubishi Electronics QD77MS2 user manual — [3] QD77MS16](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/page-1034.webp?w=400)
![Mitsubishi Electronics QD77MS2 — [3] QD77MS16 diagram (page 1034)](/cdn/reader/77/7726e2d643ac8fa184a61416a01ea6bb97327d1930d31135090998ee53adbff3/images/fig-1034-1.webp)
Appendices · Appendix - 87

Appendices · Appendix - 88

Please confirm the following product warranty details before using this product. 1. Gratis Warranty Term and Gratis Warranty Range If any faults or defects (hereinafter "Failure") found to be the responsibility of Mitsubishi occurs during use of the product within the gratis warranty term, the product shall be repaired at no cost via the sales representative or Mitsubishi Service Company. However, if repairs are required onsite at domestic or overseas location, expenses to send an engineer will be solely at the customer's discretion. Mitsubishi shall not be held responsible for any re-commissioning, maintenance, or testing on- site that involves replacement of the failed module. [Gratis Warranty Term]
The gratis warranty term of the product shall be for one year after the date of purchase or delivery to a designated place. Note that after manufacture and shipment from Mitsubishi, the maximum distribution period shall be six (6) months, and the longest gratis warranty term after manufacturing shall be eighteen (18) months. The gratis warranty term of repair parts shall not exceed the gratis warranty term before repairs. [Gratis Warranty Range]
(1) The range shall be limited to normal use within the usage state, usage methods and usage environment, etc.,
which follow the conditions and precautions, etc., given in the instruction manual, user's manual and caution labels on the product. (2) Even within the gratis warranty term, repairs shall be charged for in the following cases.
1. Failure occurring from inappropriate storage or handling, carelessness or negligence by the user. Failure caused by the user's hardware or software design. 2. Failure caused by unapproved modifications, etc., to the product by the user. 3. When the Mitsubishi product is assembled into a user's device, Failure that could have been avoided if functions or structures, judged as necessary in the legal safety measures the user's device is subject to or as necessary by industry standards, had been provided. 4. Failure that could have been avoided if consumable parts (battery, backlight, fuse, etc.) designated in the instruction manual have been correctly serviced or replaced. 5. Failure caused by external irresistible forces such as fires or abnormal voltages, and Failure caused by force majeure such as earthquakes, lightning, wind and water damage. 6. Failure caused by reasons unpredictable by scientific technology standards at time of shipment from Mitsubishi. 7. Any other failure found to not be the responsibility of Mitsubishi or that admitted not to be so by the user. 2. Onerous repair term after discontinuation of production (1) Mitsubishi shall accept onerous product repairs for seven (7) years after production of the product is discontinued.
Discontinuation of production shall be notified with Mitsubishi Technical Bulletins, etc. (2) Product supply (including repair parts) is not available after production is discontinued. 3. Overseas service Overseas, repairs shall be accepted by Mitsubishi's local overseas FA Center. Note that the repair conditions at each FA Center may differ. 4. Exclusion of loss in opportunity and secondary loss from warranty liability Regardless of the gratis warranty term, Mitsubishi shall not be liable for compensation to damages caused by any cause found not to be the responsibility of Mitsubishi, loss in opportunity, lost profits incurred to the user by Failures of Mitsubishi products, special damages and secondary damages whether foreseeable or not, compensation for damages to products other than Mitsubishi products, replacement by the user, maintenance of on-site equipment, start-up test run and other tasks. 5. Changes in product specifications The specifications given in the catalogs, manuals or technical documents are subject to change without prior notice.

Microsoft, Windows, Windows NT, and Windows Vista are registered trademarks of Microsoft Corporation in the United States and other countries. Pentium is a trademark of Intel Corporation in the United States and other countries. Ethernet is a trademark of Xerox Corporation. All other company names and product names used in this manual are trademarks or registered trademarks of their respective companies.

Positioning Control
QD77MS-U-S-E
MODEL
1XB947
CODE
IB(NA)-0300185-C(1411)MEE
When exported from Japan, this manual does not require application to the Ministry of Economy, Trade and Industry for service transaction permission.
Specifications subject to change without notice.
Owners and our team usually reply within a day — and your question helps the next person too.
Be the first to ask — other owners or our team will answer.