Mitsubishi Electric MELSEC iQ-R16MTCPU, MELSEC iQ-R32MTCPU, MELSEC iQ-R64MTCPU Programming Manual

MELSEC iQ-R Motion Controller Programming Manual (Positioning Control)
-R16MTCPU
-R32MTCPU
-R64MTCPU

SAFETY PRECAUTIONS

WARNING
Indicates that incorrect handling may cause hazardous conditions, resulting in death or severe injury.
CAUTION
Indicates that incorrect handling may cause hazardous conditions, resulting in minor or moderate injury or property damage.
(Read these precautions before using this product.)
Before using this product, please read this manual and the relevant manuals carefully and pay full attention to safety to handle
the product correctly.
Manual for a description of the PLC system safety precautions.
In this manual, the safety precautions are classified into two levels: " WARNING" and " CAUTION".
Under some circumstances, failure to observe the precautions given under " CAUTION" may lead to serious
consequences.
Observe the precautions of both levels because they are important for personal and system safety.
Make sure that the end users read this manual and then keep the manual in a safe place for future reference.
[Design Precautions]
WARNING
Configure safety circuits external to the programmable controller to ensure that the entire system operates safely even when a fault occurs in the external power supply or the programmable controller. Failure to do so may result in an accident due to an incorrect output or malfunction. (1) Emergency stop circuits, protection circuits, and protective interlock circuits for conflicting
operations (such as forward/reverse rotations or upper/lower limit positioning) must be configured external to the programmable controller.
(2) When the programmable controller detects an abnormal condition, it stops the operation and all
outputs are:
• Turned off if the overcurrent or overvoltage protection of the power supply module is activated.
• Held or turned off according to the parameter setting if the self-diagnostic function of the CPU module detects an error such as a watchdog timer error.
(3) All outputs may be turned on if an error occurs in a part, such as an I/O control part, where the
CPU module cannot detect any error. To ensure safety operation in such a case, provide a safety mechanism or a fail-safe circuit external to the programmable controller. For a fail-safe circuit example, refer to "General Safety Requirements" in the MELSEC iQ-R Module Configuration Manual.
(4) Outputs may remain on or off due to a failure of a component such as a relay and transistor in an
output circuit. Configure an external circuit for monitoring output signals that could cause a serious accident.
In an output circuit, when a load current exceeding the rated current or an overcurrent caused by a load short-circuit flows for a long time, it may cause smoke and fire. To prevent this, configure an external safety circuit, such as a fuse.
Configure a circuit so that the programmable controller is turned on first and then the external power supply. If the external power supply is turned on first, an accident may occur due to an incorrect output or malfunction.
1
[Design Precautions]
WARNING
For the operating status of each station after a communication failure, refer to manuals relevant to the network. Incorrect output or malfunction due to a communication failure may result in an accident.
When connecting an external device with a CPU module or intelligent function module to modify data of a running programmable controller, configure an interlock circuit in the program to ensure that the entire system will always operate safely. For other forms of control (such as program modification, parameter change, forced output, or operating status change) of a running programmable controller, read the relevant manuals carefully and ensure that the operation is safe before proceeding. Improper operation may damage machines or cause accidents.
Especially, when a remote programmable controller is controlled by an external device, immediate action cannot be taken if a problem occurs in the programmable controller due to a communication failure. To prevent this, configure an interlock circuit in the program, and determine corrective actions to be taken between the external device and CPU module in case of a communication failure.
Do not write any data to the "system area" and "write-protect area" of the buffer memory in the module. Also, do not use any "use prohibited" signals as an output signal from the CPU module to each module. Doing so may cause malfunction of the programmable controller system. For the "system area", "write-protect area", and the "use prohibited" signals, refer to the user's manual for the module used.
If a communication cable is disconnected, the network may be unstable, resulting in a communication failure of multiple stations. Configure an interlock circuit in the program to ensure that the entire system will always operate safely even if communications fail. Failure to do so may result in an accident due to an incorrect output or malfunction.
To maintain the safety of the programmable controller system against unauthorized access from external devices via the network, take appropriate measures. To maintain the safety against unauthorized access via the Internet, take measures such as installing a firewall.
Configure safety circuits external to the programmable controller to ensure that the entire system operates safely even when a fault occurs in the external power supply or the programmable controller. Failure to do so may result in an accident due to an incorrect output or malfunction.
If safety standards (ex., robot safety rules, etc.,) apply to the system using the module, servo amplifier and servo motor, 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.
Do not remove the SSCNET cable while turning on the control circuit power supply of modules and servo amplifier. Do not see directly the light generated from SSCNET connector of the module or servo amplifier and the end of SSCNET cable. When the light gets into eyes, you may feel something wrong with eyes. (The light source of SSCNET complies with class1 defined in JISC6802 or IEC60825-1.)
2
[Design Precautions]
CAUTION
Do not install the control lines or communication cables together with the main circuit lines or power cables. Keep a distance of 100mm or more between them. Failure to do so may result in malfunction due to noise.
During control of an inductive load such as a lamp, heater, or solenoid valve, a large current (approximately ten times greater than normal) may flow when the output is turned from off to on. Therefore, use a module that has a sufficient current rating.
After the CPU module is powered on or is reset, the time taken to enter the RUN status varies depending on the system configuration, parameter settings, and/or program size. Design circuits so that the entire system will always operate safely, regardless of the time.
Do not power off the programmable controller or reset the CPU module while the settings are being written. Doing so will make the data in the flash ROM and SD memory card undefined. The values need to be set in the buffer memory and written to the flash ROM and SD memory card again. Doing so also may cause malfunction or failure of the module.
When changing the operating status of the CPU module from external devices (such as the remote RUN/STOP functions), select "Do Not OPEN in Program" for "Open Method Setting" of "Module Parameter". If "OPEN in Program" is selected, an execution of the remote STOP function causes the communication line to close. Consequently, the CPU module cannot reopen the line, and external devices cannot execute the remote RUN function.
[Installation Precautions]
WARNING
Shut off the external power supply (all phases) used in the system before mounting or removing the module. Failure to do so may result in electric shock or cause the module to fail or malfunction.
3
[Installation Precautions]
CAUTION
Use the programmable controller in an environment that meets the general specifications in the Safety Guidelines included with the base unit. Failure to do so may result in electric shock, fire, malfunction, or damage to or deterioration of the product.
To mount a module, place the concave part(s) located at the bottom onto the guide(s) of the base unit, and push in the module until the hook(s) located at the top snaps into place. Incorrect mounting may cause malfunction, failure, or drop of the module.
To mount a module with no module fixing hook, place the concave part(s) located at the bottom onto the guide(s) of the base unit, push in the module, and fix it with screw(s). Incorrect mounting may cause malfunction, failure, or drop of the module.
When using the programmable controller in an environment of frequent vibrations, fix the module with a screw.
Tighten the screws within the specified torque range. Undertightening can cause drop of the screw, short circuit, or malfunction. Overtightening can damage the screw and/or module, resulting in drop, short circuit, or malfunction.
When using an extension cable, connect it to the extension cable connector of the base unit securely. Check the connection for looseness. Poor contact may cause malfunction.
When using an SD memory card, fully insert it into the SD memory card slot. Check that it is inserted completely. Poor contact may cause malfunction.
Securely insert an extended SRAM cassette into the cassette connector of the CPU module. After insertion, close the cassette cover and check that the cassette is inserted completely. Poor contact may cause malfunction.
Do not directly touch any conductive parts and electronic components of the module, SD memory card, extended SRAM cassette, or connector. Doing so may cause malfunction or failure of the module.
[Wiring Precautions]
WARNING
Shut off the external power supply (all phases) used in the system before installation and wiring. Failure to do so may result in electric shock or cause the module to fail or malfunction.
After installation and wiring, attach the included terminal cover to the module before turning it on for operation. Failure to do so may result in electric shock.
4
[Wiring Precautions]
CAUTION
Individually ground the FG and LG terminals of the programmable controller with a ground resistance of 100 ohms or less. Failure to do so may result in electric shock or malfunction.
Use applicable solderless terminals and tighten them within the specified torque range. If any spade solderless terminal is used, it may be disconnected when the terminal screw comes loose, resulting in failure.
Check the rated voltage and signal layout before wiring to the module, and connect the cables correctly. Connecting a power supply with a different voltage rating or incorrect wiring may cause fire or failure.
Connectors for external devices must be crimped or pressed with the tool specified by the manufacturer, or must be correctly soldered. Incomplete connections may cause short circuit, fire, or malfunction.
Securely connect the connector to the module. Poor contact may cause malfunction.
Do not install the control lines or communication cables together with the main circuit lines or power
cables. Keep a distance of 100mm or more between them. Failure to do so may result in malfunction due to noise.
Place the cables in a duct or clamp them. If not, dangling cable may swing or inadvertently be pulled, resulting in damage to the module or cables or malfunction due to poor contact. Do not clamp the extension cables with the jacket stripped. Doing so may change the characteristics of the cables, resulting in malfunction.
Check the interface type and correctly connect the cable. Incorrect wiring (connecting the cable to an incorrect interface) may cause failure of the module and external device.
Tighten the terminal screws or connector screws within the specified torque range. Undertightening can cause drop of the screw, short circuit, fire, or malfunction. Overtightening can damage the screw and/or module, resulting in drop, short circuit, fire, or malfunction.
When disconnecting the cable from the module, do not pull the cable by the cable part. For the cable with connector, hold the connector part of the cable. For the cable connected to the terminal block, loosen the terminal screw. Pulling the cable connected to the module may result in malfunction or damage to the module or cable.
Prevent foreign matter such as dust or wire chips from entering the module. Such foreign matter can cause a fire, failure, or malfunction.
A protective film is attached to the top of the module to prevent foreign matter, such as wire chips, from entering the module during wiring. Do not remove the film during wiring. Remove it for heat dissipation before system operation.
Programmable controllers must be installed in control panels. Connect the main power supply to the power supply module in the control panel through a relay terminal block. Wiring and replacement of a power supply module must be performed by qualified maintenance personnel with knowledge of protection against electric shock. For wiring, refer to the MELSEC iQ-R Module Configuration Manual.
For Ethernet cables to be used in the system, select the ones that meet the specifications in the user's manual for the module used. If not, normal data transmission is not guaranteed.
5
[Startup and Maintenance Precautions]
WARNING
Do not touch any terminal while power is on. Doing so will cause electric shock or malfunction.
Correctly connect the battery connector. Do not charge, disassemble, heat, short-circuit, solder, or
throw the battery into the fire. Also, do not expose it to liquid or strong shock. Doing so may cause the battery to generate heat, explode, ignite, or leak, resulting in injury or fire.
Shut off the external power supply (all phases) used in the system before cleaning the module or retightening the terminal screws, connector screws, or module fixing screws. Failure to do so may result in electric shock.
[Startup and Maintenance Precautions]
CAUTION
When connecting an external device with a CPU module or intelligent function module to modify data of a running programmable controller, configure an interlock circuit in the program to ensure that the entire system will always operate safely. For other forms of control (such as program modification, parameter change, forced output, or operating status change) of a running programmable controller, read the relevant manuals carefully and ensure that the operation is safe before proceeding. Improper operation may damage machines or cause accidents.
Especially, when a remote programmable controller is controlled by an external device, immediate action cannot be taken if a problem occurs in the programmable controller due to a communication failure. To prevent this, configure an interlock circuit in the program, and determine corrective actions to be taken between the external device and CPU module in case of a communication failure.
Do not disassemble or modify the modules. Doing so may cause failure, malfunction, injury, or a fire.
Use any radio communication device such as a cellular phone or PHS (Personal Handy-phone
System) more than 25cm away in all directions from the programmable controller. Failure to do so may cause malfunction.
Shut off the external power supply (all phases) used in the system before mounting or removing the module. Failure to do so may cause the module to fail or malfunction.
Tighten the screws within the specified torque range. Undertightening can cause drop of the component or wire, short circuit, or malfunction. Overtightening can damage the screw and/or module, resulting in drop, short circuit, or malfunction.
After the first use of the product, do not mount/remove the module to/from the base unit, and the terminal block to/from the module, and do not insert/remove the extended SRAM cassette to/from the CPU module more than 50 times (IEC 61131-2 compliant) respectively. Exceeding the limit of 50 times may cause malfunction.
After the first use of the product, do not insert/remove the SD memory card to/from the CPU module more than 500 times. Exceeding the limit of 500 times may cause malfunction.
Do not touch the metal terminals on the back side of the SD memory card. Doing so may cause malfunction or failure.
Do not touch the integrated circuits on the circuit board of an extended SRAM cassette. Doing so may cause malfunction or failure.
Do not drop or apply shock to the battery to be installed in the module. Doing so may damage the battery, causing the battery fluid to leak inside the battery. If the battery is dropped or any shock is applied to it, dispose of it without using.
6
[Startup and Maintenance Precautions]
CAUTION
Startup and maintenance of a control panel must be performed by qualified maintenance personnel with knowledge of protection against electric shock. Lock the control panel so that only qualified maintenance personnel can operate it.
Before handling the module, touch a conducting object such as a grounded metal to discharge the static electricity from the human body. Failure to do so may cause the module to fail or malfunction.
Before testing the operation, set a low speed value for the speed limit parameter so that the operation can be stopped immediately upon occurrence of a hazardous condition.
Confirm and adjust the program and each parameter before operation. Unpredictable movements may occur depending on the machine.
When using the absolute position system function, on starting up, and when the module or absolute position motor has been replaced, always perform a home position return.
Before starting the operation, confirm the brake function.
Do not perform a megger test (insulation resistance measurement) during inspection.
After maintenance and inspections are completed, confirm that the position detection of the absolute
position detection function is correct.
Lock the control panel and prevent access to those who are not certified to handle or install electric equipment.
[Operating Precautions]
CAUTION
When changing data and operating status, and modifying program of the running programmable controller from an external device such as a personal computer connected to an intelligent function module, read relevant manuals carefully and ensure the safety before operation. Incorrect change or modification may cause system malfunction, damage to the machines, or accidents.
Do not power off the programmable controller or reset the CPU module while the setting values in the buffer memory are being written to the flash ROM in the module. Doing so will make the data in the flash ROM and SD memory card undefined. The values need to be set in the buffer memory and written to the flash ROM and SD memory card again. Doing so also may cause malfunction or failure of the module.
Note that when the reference axis speed is specified for interpolation operation, the speed of the partner axis (2nd, 3rd, or 4th axis) may exceed the speed limit value.
Do not go near the machine during test operations or during operations such as teaching. Doing so may lead to injuries.
[Disposal Precautions]
CAUTION
When disposing of this product, treat it as industrial waste.
When disposing of batteries, separate them from other wastes according to the local regulations. For
details on battery regulations in EU member states, refer to the MELSEC iQ-R Module Configuration Manual.
7
[Transportation Precautions]
CAUTION
When transporting lithium batteries, follow the transportation regulations. For details on the regulated models, refer to the MELSEC iQ-R Module Configuration Manual.
The halogens (such as fluorine, chlorine, bromine, and iodine), which are contained in a fumigant used for disinfection and pest control of wood packaging materials, may cause failure of the product. Prevent the entry of fumigant residues into the product or consider other methods (such as heat treatment) instead of fumigation. The disinfection and pest control measures must be applied to unprocessed raw wood.
8

CONDITIONS OF USE FOR THE PRODUCT

(1) Mitsubishi programmable controller ("the PRODUCT") shall be used in conditions;
i) where any problem, fault or failure occurring in the PRODUCT, if any, shall not lead to any major or serious accident;
and
ii) where the backup and fail-safe function are systematically or automatically provided outside of the PRODUCT for the
case of any problem, fault or failure occurring in the PRODUCT.
(2) The PRODUCT has been designed and manufactured for the purpose of being used in general industries.
MITSUBISHI SHALL HAVE NO RESPONSIBILITY OR LIABILITY (INCLUDING, BUT NOT LIMITED TO ANY AND ALL
RESPONSIBILITY OR LIABILITY BASED ON CONTRACT, WARRANTY, TORT, PRODUCT LIABILITY) FOR ANY
INJURY OR DEATH TO PERSONS OR LOSS OR DAMAGE TO PROPERTY CAUSED BY the PRODUCT THAT ARE
OPERATED OR USED IN APPLICATION NOT INTENDED OR EXCLUDED BY INSTRUCTIONS, PRECAUTIONS, OR
WARNING CONTAINED IN MITSUBISHI'S USER, INSTRUCTION AND/OR SAFETY MANUALS, TECHNICAL
BULLETINS AND GUIDELINES FOR the PRODUCT.
("Prohibited Application")
Prohibited Applications include, but not limited to, the use of the PRODUCT in;
• Nuclear Power Plants and any other power plants operated by Power companies, and/or any other cases in which the
public could be affected if any problem or fault occurs in the PRODUCT.
• Railway companies or Public service purposes, and/or any other cases in which establishment of a special quality
assurance system is required by the Purchaser or End User.
• Aircraft or Aerospace, Medical applications, Train equipment, transport equipment such as Elevator and Escalator,
Incineration and Fuel devices, Vehicles, Manned transportation, Equipment for Recreation and Amusement, and
Safety devices, handling of Nuclear or Hazardous Materials or Chemicals, Mining and Drilling, and/or other
applications where there is a significant risk of injury to the public or property.
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.

INTRODUCTION

Thank you for purchasing the Mitsubishi Electric MELSEC iQ-R series programmable controllers.
This manual describes the dedicated signals, parameters, servo programs, and functions required for performing positioning
control of the relevant products listed below.
Before using this product, please read this manual and the relevant manuals carefully and develop familiarity with the
functions and performance of the MELSEC iQ-R series programmable controller to handle the product correctly.
When applying the program examples provided in this manual to an 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.
Relevant products
R16MTCPU, R32MTCPU, R64MTCPU
9

CONTENTS

SAFETY PRECAUTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1
CONDITIONS OF USE FOR THE PRODUCT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9
INTRODUCTION. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9
RELEVANT MANUALS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .15
TERMS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .16
MANUAL PAGE ORGANIZATION. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .17
CHAPTER 1 POSITIONING CONTROL BY THE MOTION CPU 20
1.1 Positioning Control by the Motion CPU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Parameters and programs used for positioning control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Starting a servo program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Direct positioning start from the PLC CPU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
JOG operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Manual pulse generator operation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
CHAPTER 2 POSITIONING DEDICATED SIGNALS 22
2.1 Internal Relays . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Axis status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Axis command signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
Command generation axis status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
Command generation axis command signal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
Synchronous encoder axis status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
Synchronous encoder axis command signal. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
Output axis status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
Output axis command signal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
Synchronous control signal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
Synchronous analysis complete signal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
Synchronous control start signal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
Synchronous analysis request signal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
Machine common command signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
Machine command signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
Machine status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
Common devices. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
2.2 Data Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88
Axis monitor devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91
JOG speed setting registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104
Servo input axis monitor device. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106
Servo input axis control device . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108
Command generation axis monitor device . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110
Command generation axis control device . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113
Synchronous encoder axis monitor device . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115
Synchronous encoder axis control device. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117
Output axis monitor device . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118
Output axis control device . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121
Machine control device . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128
Machine monitor device. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 130
G-code control common command signal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 134
G-code control common control device . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135
10
G-code control common status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 136
G-code control common monitor device . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137
G-code control line command signal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 138
G-code control line control device . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 139
G-code control line status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140
G-code control line monitor device . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 142
G-code control line monitor device (expansion) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 146
G-code control axis status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 151
G-code control axis monitor device . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 153
Common devices. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 155
2.3 Motion Registers (#) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161
Monitor devices 2 of each axis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 162
2.4 Special Relays (SM). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 165
2.5 Special Registers (SD) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 165
CHAPTER 3 PARAMETERS FOR POSITIONING CONTROL 166
3.1 Parameters Used by the Motion CPU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 166
3.2 Indirect Setting Method by Devices for Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 168
3.3 Fixed Parameters. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 168
Unit Setting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 169
Number of pulses per rotation/Travel value per rotation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 169
Backlash compensation amount . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 172
Upper/lower stroke limit value . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 172
Command in-position range . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 174
Speed control 10 x multiplier setting for degree axis. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 174
3.4 Home Position Return Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 178
Home position return direction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 179
Home position return method . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 180
Home position address . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 180
Home position return speed . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 180
Creep speed . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 180
Travel value after proximity dog ON . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 181
Parameter block setting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 182
Home position return retry function/dwell time at the home position return retry . . . . . . . . . . . . . . . . . . . . . . . 183
Home position shift amount/speed set at the home position shift . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 184
Torque limit value at the creep speed . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 185
Operation setting for incompletion of home position return . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 185
Setting items for home position return data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 187
3.5 JOG Operation Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 188
3.6 External Signal Parameter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 189
3.7 Expansion Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 192
Positive direction torque limit value monitor device/negative direction torque limit value monitor device. . . . . 193
Acceleration/deceleration time change parameter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 194
Servo motor maximum speed check parameter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .195
ABS direction in degrees device . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 197
3.8 Speed-torque control data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 201
Control mode switching request device. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 203
Control mode setting device . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 203
Speed limit value at speed-torque control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 203
Torque limit value at speed-torque control. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 203
CONTENTS
11
Speed command device . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 203
Command speed acceleration time, Command speed deceleration time. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 204
Torque command device . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 204
Command torque time constant (positive direction), Command torque time constant (negative direction) . . .205
Speed initial value selection at control mode switching. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .206
Torque initial value selection at control mode switching . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 206
Invalid selection during zero speed at control mode switching . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .206
3.9 Pressure control data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .207
Pressure control selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 208
Feed/dwell startup device . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 208
Dwell forced switching device . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 208
Pressure release startup device . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 208
Pressure command reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 208
Speed limit reference. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 208
Abnormal pressure switching mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 208
Abnormal pressure setting. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 208
Abnormal pressure setting time. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 209
Mode reset selection after passing dwell time. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 209
Pressure profile start device . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 209
Pressure control status device . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 209
Feed execution point device . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 209
Dwell execution point device . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 209
Pressure release execution point device. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 209
3.10 Override Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 210
Override ratio setting device . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 210
3.11 Vibration Suppression Command Filter Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 211
Vibration suppression command filter 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 212
Vibration suppression command filter 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 213
Feed current value monitor device after filter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 213
Command output complete signal after filter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 213
3.12 Servo Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 214
3.13 Parameter Block . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 215
Interpolation control unit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 217
Speed limit value, acceleration time, deceleration time and rapid stop deceleration time. . . . . . . . . . . . . . . . . 218
S-curve ratio . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 220
Advanced S-curve acceleration/deceleration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 221
Torque limit value. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 233
Deceleration processing on STOP input . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 233
Allowable error range for circular interpolation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 234
Bias speed at start. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 234
12
CHAPTER 4 SERVO PROGRAMS FOR POSITIONING CONTROL 236
4.1 Servo Program Composition Area. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 236
Servo program composition. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 236
4.2 Servo Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 238
4.3 Positioning Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 242
4.4 Setting Method for Positioning Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 248
Setting method for direct setting by numerical values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 248
Indirect setting method by devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 248
CHAPTER 5 POSITIONING CONTROL 250
5.1 Basics of Positioning Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 250
Positioning speed . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 250
Positioning speed at the interpolation control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 251
Control units for 1 axis positioning control. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 255
Control units for interpolation control. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 256
Control in the control unit "degree" . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 257
Stop processing and restarting after stop . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 259
Acceleration/deceleration processing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 266
5.2 1 Axis Linear Positioning Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 270
5.3 2 Axes Linear Interpolation Control. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 273
5.4 3 Axes Linear Interpolation Control. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 276
5.5 4 Axes Linear Interpolation Control. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 280
5.6 Auxiliary Point-Specified Circular Interpolation Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 283
5.7 Radius-Specified Circular Interpolation Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 287
5.8 Central Point-Specified Circular Interpolation Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 291
5.9 Helical Interpolation Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 295
Circular interpolation specified method by helical interpolation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 296
5.10 Axis Fixed-Pitch Feed Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 309
5.11 Fixed-Pitch Feed Control Using 2 Axes Linear Interpolation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 312
5.12 Fixed-Pitch Feed Control Using 3 Axes Linear Interpolation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 315
5.13 Speed Control (I) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 318
5.14 Speed Control (II). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 321
5.15 Speed/Position Switching Control. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 324
Speed/position switching control start . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 324
Re-starting after stop during control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 330
5.16 Speed Control with Fixed Position Stop . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 334
5.17 Continuous Trajectory Control. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 338
Specification of pass points by repetition instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 341
Speed-switching by instruction execution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 345
1 axis continuous trajectory control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 348
2 to 4 axes continuous trajectory control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 351
Continuous trajectory control for helical interpolation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 355
Pass point skip function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 360
FIN signal wait function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 362
5.18 Position Follow-Up Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 369
5.19 High-Speed Oscillation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 373
5.20 Simultaneous Start . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 375
5.21 Home Position Return . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 377
Servo program for home position return . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 378
Home position return by the proximity dog method 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 380
Home position return by the proximity dog method 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 382
Home position return by the count method 1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 384
Home position return by the count method 2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 385
Home position return by the count method 3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 386
Home position return by the data set method 1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 388
Home position return by the data set method 2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 389
Home position return by the data set method 3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 390
Home position return by the dog cradle method . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 391
Home position return by the stopper method 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 394
CONTENTS
13
Home position return by the stopper method 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 395
Home position return by the limit switch combined method . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 396
Home position return by the scale home position signal detection method. . . . . . . . . . . . . . . . . . . . . . . . . . . .398
Home position return by the dogless home position signal reference method . . . . . . . . . . . . . . . . . . . . . . . . . 400
Home position return by the driver home position return method . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 405
Home position return retry function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 406
Home position shift function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 409
Condition selection of home position set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 412
5.22 Current Value Change . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 413
CHAPTER 6 MANUAL CONTROL 415
6.1 JOG Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 415
Individual start . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 415
Simultaneous start. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 418
6.2 Manual Pulse Generator Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 420
CHAPTER 7 AUXILIARY AND APPLIED FUNCTIONS 425
7.1 M-code Output Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 425
7.2 Backlash Compensation Function. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 427
7.3 Torque Limit Function. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 428
7.4 Skip Function in which Disregards Stop Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 430
7.5 Speed-Torque Control. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 431
Operation of speed-torque control. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 432
7.6 Acceleration/Deceleration Time Change Function. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 445
7.7 Pressure Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 450
System configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 451
Outline of pressure control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 452
Pressure profile . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 453
Feed/dwell operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 457
Pressure release operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 459
Operation by stroke limit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 459
Using point No. to substitute M-code. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 459
Pressure control settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 460
Mode reset after passing dwell time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 461
Stop causes during pressure control mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 461
7.8 Override Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 462
7.9 Vibration Suppression Command Filter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 467
Vibration suppression command filter operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 467
Precautions when using vibration suppression command filter. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 470
14
APPENDICES 473
Appendix 1 Processing Times of the Motion CPU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 473
REVISIONS. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .476
WARRANTY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .477
TRADEMARKS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .478

RELEVANT MANUALS

Manual Name [Manual Number] Description Available form
MELSEC iQ-R Motion Controller Programming Manual (Positioning Control) [IB-0300241] (This manual)
MELSEC iQ-R Motion Controller User's Manual [IB-0300235]
MELSEC iQ-R Motion Controller Programming Manual (Common) [IB-0300237]
MELSEC iQ-R Motion Controller Programming Manual (Program Design) [IB-0300239]
MELSEC iQ-R Motion Controller Programming Manual (Advanced Synchronous Control) [IB-0300243]
MELSEC iQ-R Motion Controller Programming Manual (Machine Control) [IB-0300309]
MELSEC iQ-R Motion Controller Programming Manual (G-Code Control) [IB-0300371]
This manual explains the servo parameters, positioning instructions, device lists and others.
This manual explains specifications of the Motion CPU modules, SSCNET cables, synchronous encoder, troubleshooting, and others.
This manual explains the Multiple CPU system configuration, performance specifications, common parameters, auxiliary/applied functions, error lists and others.
This manual explains the functions, programming, debugging for Motion SFC and others.
This manual explains the dedicated instructions to use synchronous control by synchronous control parameters, device lists and others.
This manual explains the dedicated instructions to use machine control by machine control parameters, machine positioning data, device lists and others.
This manual explains the dedicated instructions to use G-code control by G-code control parameters and G-code programs.
Print book
e-Manual PDF
Print book
e-Manual PDF
Print book
e-Manual PDF
Print book
e-Manual PDF
Print book
e-Manual PDF
Print book
e-Manual PDF
Print book
e-Manual PDF
e-Manual refers to the Mitsubishi FA electronic book manuals that can be browsed using a dedicated tool.
e-Manual has the following features:
• Required information can be cross-searched in multiple manuals.
• Other manuals can be accessed from the links in the manual.
• The hardware specifications of each part can be found from the product figures.
• Pages that users often browse can be bookmarked.
15

TERMS

Unless otherwise specified, this manual uses the following terms.
Ter m Description
R64MTCPU/R32MTCPU/R16MTCPU or Motion CPU (module)
MR-J4(W)-B Servo amplifier model MR-J4-B/MR-J4W-B
MR-J3(W)-B Servo amplifier model MR-J3-B/MR-J3W-B
AMP or Servo amplifier General name for "Servo amplifier model MR-J4-B/MR-J4W-B/MR-J3-B/MR-J3W-B"
RnCPU, PLC CPU or PLC CPU module Abbreviation for MELSEC iQ-R series CPU module
Multiple CPU system or Motion system Abbreviation for "Multiple PLC system of the R series"
CPUn Abbreviation for "CPU No.n (n = 1 to 4) of the CPU module for the Multiple CPU system"
Operating system software General name for "SW10DNC-RMTFW"
Engineering software package General name for MT Developer2/GX Works3
MELSOFT MT Works2 General product name for the Motion controller engineering software "SW1DND-MTW2"
MT Developer2 Abbreviation for the programming software included in the "MELSOFT MT Works2" Motion controller
GX Works3 General product name for the MELSEC PLC software package "SW1DND-GXW3"
Serial absolute synchronous encoder or Q171ENC-W8
SSCNET/H
SSCNET
SSCNET(/H) General name for SSCNET/H, SSCNET
Absolute position system General name for "system using the servomotor and servo amplifier for absolute position"
Intelligent function module General name for module that has a function other than input or output such as A/D converter module and D/A
SSCNET/H head module
Optical hub unit or MR-MV200 Abbreviation for SSCNET/H Compatible Optical Hub Unit (MR-MV200)
Sensing module General name for SSCNET/H compatible sensing module MR-MT2000 series
Sensing SSCNET/H head module MR-MT2010
Sensing extension module General name for I/O module (MR-MT2100), pulse I/O module (MR-MT2200), analog I/O module (MR-
Sensing I/O module or MR-MT2100 Abbreviation for I/O module (MR-MT2100)
Sensing pulse I/O module or MR-MT2200 Abbreviation for pulse I/O module (MR-MT2200)
Sensing analog I/O module or MR-MT2300 Abbreviation for analog I/O module (MR-MT2300)
Sensing encoder I/F module or MR-MT2400 Abbreviation for encoder I/F module (MR-MT2400)
*1
*1
*1
*1
Abbreviation for MELSEC iQ-R series Motion controller
engineering software
Abbreviation for "Serial absolute synchronous encoder (Q171ENC-W8)"
High speed synchronous network between Motion controller and servo amplifier
converter module.
Abbreviation for "MELSEC-L series SSCNET/H head module (LJ72MS15)"
or
Abbreviation for SSCNET/H head module (MR-MT2010)
MT2300), encoder I/F module (MR-MT2400)
*1 SSCNET: Servo System Controller NETwork
16

MANUAL PAGE ORGANIZATION

Ex.
Ex.
Representation of numerical values used in this manual
Axis No. representation
In the positioning dedicated signals, "n" in "M3200+20n", etc. indicates a value corresponding to axis No. as shown in the
following table.
Axis No. n Axis No. n Axis No. n Axis No. n Axis No. n Axis No. n Axis No. n Axis No. n
1 0 9 8 17 16 25 24 33 32 41 40 49 48 57 56
2 1109181726253433424150495857
3 2 11 10 19 18 27 26 35 34 43 42 51 50 59 58
4 3 12 11 20 19 28 27 36 35 44 43 52 51 60 59
5 4 13 12 21 20 29 28 37 36 45 44 53 52 61 60
6 5 14 13 22 21 30 29 38 37 46 45 54 53 62 61
7 6 15 14 23 22 31 30 39 38 47 46 55 54 63 62
8 7 16 15 24 23 32 31 40 39 48 47 56 55 64 63
• The range of axis No.1 to 16 (n=0 to 15) is valid in the R16MTCPU. The range of axis No.1 to 32 (n=0 to 31) is valid in the
R32MTCPU.
• Calculate as follows for the device No. corresponding to each axis.
For axis No. 32 in Q series Motion compatible device assignment M3200+20n ([Rq.1140] Stop command)=M3200+2031=M3820 M3215+20n ([Rq.1155] Servo OFF command)=M3215+2031=M3835
In the positioning dedicated signals, "n" in "M10440+10n", etc. of the "Synchronous encoder axis status", "Synchronous
encoder axis command signal", "Synchronous encoder axis monitor device" and "Synchronous encoder axis control device"
indicates a value corresponding to synchronous encoder axis No. as shown in the following table.
Synchronous encoder axis No. n Synchronous encoder axis No. n Synchronous encoder axis No. n
105498
2165109
32761110
43871211
• Calculate as follows for the device No. corresponding to each synchronous encoder.
For synchronous encoder axis No.12 in Q series Motion compatible device assignment M10440+10n ([St.320] Synchronous encoder axis setting valid flag)=M10440+1011=M10550 D13240+20n ([Md.320] Synchronous encoder axis current value)=D13240+2011=D13460
17
Machine No. representation
Ex.
Ex.
Ex.
In the positioning dedicated signals, "m" in "M43904+32m", etc. indicates a value corresponding to machine No. as shown in
the following table.
Machine No. m Machine No. m
1054
2165
3276
4387
• Calculate as follows for the device No. corresponding to each machine.
For machine No.8 in MELSEC iQ-R Motion device assignment M43904+32m ([St.2120] Machine error detection) M43904+327=M44128 D53168+128m ([Md.2020] Machine type)=M53168+287=D54064
Line No. representation in G-code control
In the positioning dedicated signals, "s" in "D54496+128s", etc. indicates a value corresponding to line No. as shown in the
following table.
Line No. s
10
21
• Calculate as follows for the device No. corresponding to each line.
For line No.2 in MELSEC iQ-R Motion device assignment D54440.0+4s ([St.3208] During G-code control)=D54440.0+41=D54444.0 D54496+128s ([Md.3016] Number of axes on line)=D54496+1281=D54624
Line No. and axis No. representation in G-code control
In the positioning dedicated signals, "sn" in "D54278+16sn", etc. indicates a value corresponding to line No. and axis No. as
shown in the following table.
Line No. Axis No. sn Line No. Axis No. sn
110 218
21 29
32 310
43 411
54 512
65 613
76 714
87 815
• Calculate as follows for the device No. corresponding to each line.
For line No.2, axis No. 8 in MELSEC iQ-R Motion device assignment D54448.0+2sn ([St.3076] Smoothing zero)=D54448.0+215=D54478.0 D54754+32sn ([Md.3146] Rotating axis setting status)=D54754+3215=D55234
18
Representation of device No. used in this manual
The "R" and "Q" beside the device No. of positioning dedicated signals such as "[Rq.1140] Stop command (R: M34480+32n/
Q: M3200+20n)" indicate the device No. for the device assignment methods shown below. When "R" and "Q" are not beside
the device No., the device No. is the same for both device assignment methods.
Symbol Device assignment method
R MELSEC iQ-R Motion device assignment
Q Q series Motion compatible device assignment
19
1 POSITIONING CONTROL BY THE MOTION CPU
1.1 Positioning Control by the Motion CPU
The following positioning controls are possible in the Motion CPU.
Motion CPU Control axes
R64MTCPU Up to 64 axes
R32MTCPU Up to 32 axes
R16MTCPU Up to 16 axes
There are the following six functions as controls toward the servo amplifier/servomotor.
• Servo operation by the servo program positioning instructions.
• Servo operation by the Motion dedicated PLC instruction (Direct positioning start request: M(P).SVSTD/D(P).SVSTD)
• JOG operation by each axis command signal of Motion CPU.
• Manual pulse generator operation by the positioning dedicated device of Motion CPU.
• Speed change, torque limit value change, and target position change during positioning control by the Motion dedicated
PLC instruction and Motion dedicated function of operation control step "F".
• Current value change by the Motion dedicated PLC instruction or servo instructions.

Parameters and programs used for positioning control

Positioning control parameters
Positioning control parameters are used for positioning control of the Motion CPU.
Parameter data can be set and corrected using MT Developer2. Refer to the parameters for positioning control for details of positioning control parameters. (Page 166 PARAMETERS
FOR POSITIONING CONTROL)
Servo program
The servo program is used for the positioning control. It comprises a program No., servo instructions and positioning data. Refer to the servo programs for positioning control for details of servo program. (Page 236 SERVO PROGRAMS FOR
POSITIONING CONTROL)
Motion SFC program
Motion SFC program is used to program an operation sequence or transition control combining servo programs, "Step",
"Transition", or "End" to perform Motion CPU control.
Refer to the following for details of Motion SFC program. MELSEC iQ-R Motion controller Programming Manual (Program Design)
Sequence program
The Motion CPU control can be performed using the Motion dedicated PLC instruction in the sequence program of PLC CPU.
Refer to the following for details of the Motion dedicated PLC instruction. MELSEC iQ-R Motion controller Programming Manual (Program Design)
20

1 POSITIONING CONTROL BY THE MOTION CPU

1.1 Positioning Control by the Motion CPU

Starting a servo program

There are the following two methods for starting a servo program.
Starting by Motion SFC program
Use the Motion control step "K" in the Motion SFC program to start the specified servo program.
Refer to the following for details of starting a Motion SFC program. MELSEC iQ-R Motion controller Programming Manual (Program Design)
Starting by sequence program
By executing the Motion dedicated PLC instruction (Servo program start request: M(P).SVST/D(P).SVST) in the sequence
program of the PLC CPU, the servo program in the Motion CPU can be started.
Refer to the following for details of the Motion dedicated PLC instruction. MELSEC iQ-R Motion controller Programming Manual (Program Design)

Direct positioning start from the PLC CPU

Execute the Motion dedicated PLC instruction (Direct positioning start request: M(P).SVSTD/D(P).SVSTD) in the sequence
program of the PLC CPU, and start the positioning control set in the device of the Motion CPU.
With this instruction, servo operations are possible without using a servo program.
Refer to the following for details of the Motion dedicated PLC instruction. MELSEC iQ-R Motion controller Programming Manual (Program Design)

JOG operation

1
JOG operation can be performed by controlling the JOG dedicated device of the Motion CPU. Refer to the JOG operation for details of JOG operation. (Page 415 JOG Operation)

Manual pulse generator operation

Manual pulse generator operation can be performed with a manual pulse generator connected to a high-speed counter
module controlled by the Motion CPU. The manual pulse generator is operated by controlling the manual pulse generator
dedicated device of the Motion CPU. Refer to the manual pulse generator operation for details of manual pulse generator operation. (Page 420 Manual Pulse
Generator Operation)
1 POSITIONING CONTROL BY THE MOTION CPU
1.1 Positioning Control by the Motion CPU
21
2 POSITIONING DEDICATED SIGNALS
R series PLC system bus
SSCNET(/H)
M
Servo amplifier
M
• Upper limit switch input
• Lower limit switch input
• Proximity dog/ Speed/Position switching signal
PLC CPU
Device memory
CPU buffer memory
CPU buffer memory
(fixed-cycle area)
Motion control processor
Motion CPU
Device memory
CPU buffer memory
CPU buffer memory
(fixed-cycle area)
PLC control processor
Input module
• Upper limit switch input
• Lower limit switch input
• Proximity dog/ Speed/Position switching signal
• Stop signal
• Forced stop signal (All axes)
Intelligent function module
*1
(high-speed counter module)
Manual pulse
generator input
Intelligent function
module
*1
The internal signals of the Motion CPU and the external signals to the Motion CPU are used as positioning signals.
Internal signals
The following five devices of the Motion CPU are used as the internal signals of the Motion CPU.
MELSEC iQ-R Motion device assignment and Q series Motion compatible device assignment are available. The ranges used
for devices differs depending on the device assignment method used.
Device name Device range
MELSEC iQ-R Motion device assignment Q series Motion compatible device assignment
Internal relay (M) M16000 to M49151 (33152 points) M2000 to M3839 (1840 points)
M8192 to M12287 (4096 points)
Special relay (SM) SM0 to SM4095 (4096 points)
Data register (D) D32000 to D57343 (25344 points) D0 to D799 (800 points)
D10240 to D19823 (9584 points)
Motion register (#) #8000 to #8639 (640 points)
Special register (SD) SD0 to SD4095 (4096 points)
Refer to the following for details on device assignment method. MELSEC iQ-R Motion Controller Programming Manual (Common)
External signals
The external input signals to the Motion CPU are shown below.
External input signals Description
Upper/lower limit switch input The upper/lower limit of the positioning range is controlled.
Stop signal This signal makes the starting axis stop.
Proximity dog signal ON/OFF signal from the proximity dog.
Speed/position switching signal Signal for switching from speed to position.
Manual pulse generator input Signal from the manual pulse generator.
Forced stop signal Signal for forced stop of the servo amplifier.
• Configuration between modules
*1 Motion CPU controlled module
22

2 POSITIONING DEDICATED SIGNALS

Internal processing of the Motion CPU
Operation cycle
Main cycle
1 Operation cycle
: One main cycle process (processing time will change)
Main cycle (1 cycle)
*2
Main cycle (1 cycle)
*2
*1
Internal processing of the Motion CPU is divided into two cycles. The "operation cycle" and the "main cycle".
*1 Can be monitored with "Motion operation cycle (SD522)" *2 Can be monitored with "Scan time (SD520)" (Maximum value can be monitored with "Maximum scan time (SD521)")
Operation cycle
The processing required for every operation cycle is executed. This processing includes data communication with the servo
amplifier, execution of fixed-cycle tasks of the Motion SFC, and generation of servo command values for every operation
cycle.
The processing time changes according to the number of servo axes, the servo program being executed, etc.
When the operation cycle exceeds the setting in [Motion CPU Common Parameter] [Basic Setting] "Operation Cycle",
"[St.1046] Operation cycle over flag (R: M30054/Q: M2054)" turns ON.
Main cycle
Using the free time after the processing in operation cycle, the automatic refresh and normal tasks of the Motion SFC, as well
as communication with MT Developer2 are executed.
The processing time in the main cycle changes according to the free time after the processing in operation cycle, the number
of automatic refresh transmissions, and the number of executed normal tasks of the Motion SFC, etc.
When the main cycle becomes longer, it can be shortened by increasing the operation cycle setting time in [Motion CPU
Common Parameter] [Basic Setting] "Operation Cycle " which increases free time.
2
Refer to the following for the monitoring of processing times of operation cycle and main cycle. MELSEC iQ-R Motion controller Programming Manual (Common)
Cautions
For positioning dedicated signals labelled as "operation cycle" in refresh cycles and fetch cycles, when axes are operating at
the low speed operation cycle with the mixed operation cycle function, the refresh cycle and fetch cycle for these axes is the
"low speed operation cycle".
2 POSITIONING DEDICATED SIGNALS
23
2.1 Internal Relays
Internal relay list
MELSEC iQ-R Motion device assignment
Device No. Symbol Purpose Reference
*1
M0 to
M16000 to
M30000 to
M30640 to
M32400 to
M34448 to
M34480 to
M36528 to
M36560 to
M38608 to
M38640 to
M38832 to
M38960 to
M39984 to
M40000 to
M40064 to
M40080 to
M40144 to
M40160 to
M42208 to
M42240 to
M42336 to
M42400 to
M43424 to
M43440 to
M43504 to
User device
(16000 points)
Unusable
(14000 points)
[St.1040], [St.1041], [St.1045] to [St.1050], [Rq.1120], [Rq.1122] to [Rq.1127]
Unusable
[St.1060] to [St.1076], [St.1079] Axis status
Unusable
[Rq.1140] to [Rq.1145], [Rq.1147] to [Rq.1149], [Rq.1152], [Rq.1155] to [Rq.1159]
Unusable
[St.340] to [St.349] Command generation axis status
Unusable
[St.320] to [St.325] Synchronous encoder axis status
Unusable
[St.420] to [St.424], [St.426] Output axis status
Unusable
[St.380] Synchronous control signal
Unusable
[St.381] Synchronous analysis complete signal
Unusable
[Rq.341] to [Rq.348] Command generation axis command signal
Unusable
[Rq.320], [Rq.323], [Rq.324] Synchronous encoder axis command signal
Unusable
[Rq.400] to [Rq.406] Output axis command signal
Unusable
[Rq.380] Synchronous control start signal
Unusable
Common device (640 points)
(1760 points)
(32 points 64 axes)
(32 points)
Axis command signal (32 points 64 axes)
(32 points)
(32 points 64 axes)
(32 points)
(16 points 12 axes)
(128 points)
(16 points 64 axes)
(16 points)
(
4 points)
6
(16 points)
(64 points)
(16 points)
(32 points 64 axes)
(32 points)
(8 points 12 axes)
(64 points)
(16 points 64 axes)
(16 points)
(64 points)
(16 points)
Page 71 Common devices
Page 27 Axis status
Page 37 Axis command signals
Page 46 Command generation axis status
Page 52 Synchronous encoder axis status
Page 54 Output axis status
Page 58 Synchronous control signal
Page 60 Synchronous analysis complete
signal
Page 49 Command generation axis
command signal
Page 53 Synchronous encoder axis
command signal
Page 56 Output axis command signal
Page 62 Synchronous control start signal
24
2 POSITIONING DEDICATED SIGNALS

2.1 Internal Relays

Device No. Symbol Purpose Reference
M43520 to
M43584 to
M43616 to
M43872 to
M43904 to
M44160 to M49151
[Rq.381] Synchronous analysis request signal
(64 points)
[Rq.2200] Machine common command signal
[Rq.2240], [Rq.2243] to [Rq.2247], [Rq.2250] to [Rq.2261]
Unusable
[St.2120], [St.2123], [St.2124], [St.2127], [St.2128]
Unusable
(32 points)
Machine command signal (32 points 8 machines)
(32 points)
Machine status (32 points 8 machines)
(4992 points)
Page 64 Synchronous analysis request signal
Page 66 Machine common command signals
Page 67 Machine command signals
Page 69 Machine status
*1 It can be used as a user device
Total number of user device points
• 16000 points
2
2 POSITIONING DEDICATED SIGNALS
2.1 Internal Relays
25
Q series Motion compatible device assignment
For devices on axis 1 to 32, use Q series Motion compatible device assignment.
For devices on axis 33 to 64, machine command signal (M43616 to M43871), and machine status (M43904 to M44159), use
MELSEC iQ-R Motion device assignment.
Device No. Symbol Purpose Reference
*1
M0 to
M2000 to
M2320 to
M2400 to
M3040 to
M3200 to
M3840 to
M8192 to
M9800 to
M10440 to
M10560 to
M10880 to
M10912 to
M10944 to
M10960 to
M11600 to
M11648 to
M11680 to
M12000 to
M12032 to
M12064 to M12287
*1
User device
(2000 points)
[St.1040], [St.1041], [St.1045] to [St.1050],[Rq.1120], [Rq.1122] to [Rq.1127]
Unusable
[St.1060] to [St.1076], [St.1079] Axis status
Unusable
[Rq.1140] to [Rq.1145], [Rq.1147] to [Rq.1149], [Rq.1152], [Rq.1155] to [Rq.1159]
User device
System area
[St.340] to [St.349] Command generation axis status
[St.320] to [St.325] Synchronous encoder axis status
[St.420] to [St.424], [St.426] Output axis status
[St.380] Synchronous control signal
[St.381] Synchronous analysis complete signal
Unusable
[Rq.341] to [Rq.348] Command generation axis command signal
[Rq.320], [Rq.323], [Rq.324] Synchronous encoder axis command signal
Unusable
[Rq.400] to [Rq.406] Output axis command signal
[Rq.380] Synchronous control start signal
[Rq.381] Synchronous analysis request signal
Unusab
Common device (320 points)
(80 points)
(20 points 32 axes)
(160 points)
Axis command signal (20 points 32 axes)
(4352 points)
(1608 points)
(20 points 32 axes)
(10 points 12 axes)
(10 points 32 axes)
(32 points)
(32 points)
(16 points)
(20 points 32 axes)
(4 points 12 axes)
(32 points)
(10 points 32 axes)
(32 points)
(32 points)
le
(224 points)
Page 71 Common devices
Page 27 Axis status
Page 37 Axis command signals
Page 46 Command generation axis status
Page 52 Synchronous encoder axis status
Page 54 Output axis status
Page 58 Synchronous control signal
Page 60 Synchronous analysis complete
signal
Page 49 Command generation axis
command signal
Page 53 Synchronous encoder axis command signal
Page 56 Output axis command signal
Page 62 Synchronous control start signal
Page 64 Synchronous analysis request
signal
*1 It can be used as a user device
Total number of user device points
• 6352 points
26
2 POSITIONING DEDICATED SIGNALS
2.1 Internal Relays

Axis status

Device No. Signal name
MELSEC iQ-R Motion device assignment
M32400 to M32431 M2400 to M2419 Axis 1 status
M32432 to M32463 M2420 to M2439 Axis 2 status
M32464 to M34495 M2440 to M2459 Axis 3 status
M34496 to M32527 M2460 to M2479 Axis 4 status
M32528 to M32559 M2480 to M2499 Axis 5 status
M32560 to M32591 M2500 to M2519 Axis 6 status
M32592 to M32623 M2520 to M2539 Axis 7 status
M32624 to M32655 M2540 to M2559 Axis 8 status
M32656 to M32687 M2560 to M2579 Axis 9 status
M32688 to M32719 M2580 to M2599 Axis 10 status
M32720 to M32751 M2600 to M2619 Axis 11 status
M32752 to M32783 M2620 to M2639 Axis 12 status
M32784 to M32815 M2640 to M2659 Axis 13 status
M32816 to M32847 M2660 to M2679 Axis 14 status
M32848 to M32879 M2680 to M2699 Axis 15 status
M32880 to M32911 M2700 to M2719 Axis 16 status
M32912 to M32943 M2720 to M2739 Axis 17 status
M32944 to M32975 M2740 to M2759 Axis 18 status
M32976 to M33007 M2760 to M2779 Axis 19 status
M33008 to M33039 M2780 to M2799 Axis 20 status
M33040 to M33071 M2800 to M2819 Axis 21 status
M33072 to M33103 M2820 to M2839 Axis 22 status
M33104 to M33135 M2840 to M2859 Axis 23 status
M33136 to M33167 M2860 to M2879 Axis 24 status
M33168 to M33199 M2880 to M2899 Axis 25 status
M33200 to M33231 M2900 to M2919 Axis 26 status
M33232 to M33263 M2920 to M2939 Axis 27 status
M33264 to M33295 M2940 to M2959 Axis 28 status
M33296 to M33327 M2960 to M2979 Axis 29 status
M33328 to M33359 M2980 to M2999 Axis 30 status
M33360 to M33391 M3000 to M3019 Axis 31 status
M33392 to M33423 M3020 to M3039 Axis 32 status
M33424 to M33455 Axis 33 status
M33456 to M33487 Axis 34 status
M33488 to M33519 Axis 35 status
M33520 to M33551 Axis 36 status
M33552 to M33583 Axis 37 status
M33584 to M33615 Axis 38 status
M33616 to M33647 Axis 39 status
M33648 to M33679 Axis 40 status
M33680 to M33711 Axis 41 status
M33712 to M33743 Axis 42 status
M33744 to M33775 Axis 43 status
M33776 to M33807 Axis 44 status
M33808 to M33839 Axis 45 status
M33840 to M33871 Axis 46 status
M33872 to M33903 Axis 47 status
M33904 to M33935 Axis 48 status
M33936 to M33967 Axis 49 status
Q series Motion compatible device assignment
2
2 POSITIONING DEDICATED SIGNALS
2.1 Internal Relays
27
Device No. Signal name
MELSEC iQ-R Motion device assignment
M33968 to M33999 Axis 50 status
M34000 to M34031 Axis 51 status
M34032 to M34063 Axis 52 status
M34064 to M34095 Axis 53 status
M34096 to M34127 Axis 54 status
M34128 to M34159 Axis 55 status
M34160 to M34191 Axis 56 status
M34192 to M34223 Axis 57 status
M34224 to M34255 Axis 58 status
M34256 to M34287 Axis 59 status
M34288 to M34319 Axis 60 status
M34320 to M34351 Axis 61 status
M34352 to M34383 Axis 62 status
M34384 to M34415 Axis 63 status
M34416 to M34447 Axis 64 status
Q series Motion compatible device assignment
28
2 POSITIONING DEDICATED SIGNALS
2.1 Internal Relays
Loading...
+ 452 hidden pages