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.
The precautions given in this manual are concerned with this product only. Refer to MELSEC iQ-R Module Configuration
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.
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 mDescription
R64MTCPU/R32MTCPU/R16MTCPU or
Motion CPU (module)
MR-J4(W)-BServo amplifier model MR-J4-B/MR-J4W-B
MR-J3(W)-BServo amplifier model MR-J3-B/MR-J3W-B
AMP or Servo amplifierGeneral name for "Servo amplifier model MR-J4-B/MR-J4W-B/MR-J3-B/MR-J3W-B"
RnCPU, PLC CPU or PLC CPU moduleAbbreviation for MELSEC iQ-R series CPU module
Multiple CPU system or Motion systemAbbreviation for "Multiple PLC system of the R series"
CPUnAbbreviation for "CPU No.n (n = 1 to 4) of the CPU module for the Multiple CPU system"
Operating system softwareGeneral name for "SW10DNC-RMTFW"
Engineering software packageGeneral name for MT Developer2/GX Works3
MELSOFT MT Works2General product name for the Motion controller engineering software "SW1DND-MTW2"
MT Developer2Abbreviation for the programming software included in the "MELSOFT MT Works2" Motion controller
GX Works3General 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 systemGeneral name for "system using the servomotor and servo amplifier for absolute position"
Intelligent function moduleGeneral 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-MV200Abbreviation for SSCNET/H Compatible Optical Hub Unit (MR-MV200)
Sensing moduleGeneral name for SSCNET/H compatible sensing module MR-MT2000 series
Sensing SSCNET/H head module
MR-MT2010
Sensing extension moduleGeneral name for I/O module (MR-MT2100), pulse I/O module (MR-MT2200), analog I/O module (MR-
Sensing I/O module or MR-MT2100Abbreviation for I/O module (MR-MT2100)
Sensing pulse I/O module or MR-MT2200Abbreviation for pulse I/O module (MR-MT2200)
Sensing analog I/O module or MR-MT2300Abbreviation 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
• 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+2031=M3820
M3215+20n ([Rq.1155] Servo OFF command)=M3215+2031=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.
• 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+1011=M10550
D13240+20n ([Md.320] Synchronous encoder axis current value)=D13240+2011=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.mMachine 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+327=M44128
D53168+128m ([Md.2020] Machine type)=M53168+287=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+41=D54444.0
D54496+128s ([Md.3016] Number of axes on line)=D54496+1281=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.snLine No.Axis No.sn
110 218
2129
32310
43411
54512
65613
76714
87815
• 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+215=D54478.0
D54754+32sn ([Md.3146] Rotating axis setting status)=D54754+3215=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.
SymbolDevice assignment method
RMELSEC iQ-R Motion device assignment
QQ series Motion compatible device assignment
19
1POSITIONING CONTROL BY THE MOTION CPU
1.1Positioning Control by the Motion CPU
The following positioning controls are possible in the Motion CPU.
Motion CPUControl axes
R64MTCPUUp to 64 axes
R32MTCPUUp to 32 axes
R16MTCPUUp 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
2POSITIONING 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 nameDevice range
MELSEC iQ-R Motion device assignmentQ 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 signalsDescription
Upper/lower limit switch inputThe upper/lower limit of the positioning range is controlled.
Stop signalThis signal makes the starting axis stop.
Proximity dog signalON/OFF signal from the proximity dog.
Speed/position switching signalSignal for switching from speed to position.
Manual pulse generator inputSignal from the manual pulse generator.
Forced stop signalSignal 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.1Internal Relays
Internal relay list
■MELSEC iQ-R Motion device assignment
Device No.SymbolPurposeReference
*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.SymbolPurposeReference
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]
[St.1040] Start accept flag
(R: M30080+n/Q: M2001+n)
OFF
ON
OFF
ON
Servo program start
t
V
• This signal turns on with the start completion for the positioning control of the axis specified with the servo program. It does
not turn on at the starting using JOG operation or manual pulse generator operation. It can be used to read a M-code at the
positioning start. (Page 425 M-code Output Function)
• This signal turns off at leading edge of "[Rq.1144] Complete signal OFF command (R: M34484+32n/Q: M3204+20n)" or
positioning completion.
[At leading edge of "[Rq.1144] Complete signal OFF command (R: M34484+32n/Q: M3204+20n)"]
[St.1040] Start accept flag
(R: M30080+n/Q: M2001+n)
OFF
ON
OFFOFF
ONON
Servo program start
t
V
Dwell time
Positioning
completion
• This signal turns on with the completion of the command output to positioning address for the axis specified with the servo
program. It does not turn on at the start or stop on the way using home position return, JOG operation, manual pulse
generator operation or speed control. It does not turn on at the stop on the way during positioning. It can be used to read a
M-code at the positioning completion. (Page 425 M-code Output Function)
• This signal turns off at leading edge of "[Rq.1144] Complete signal OFF command (R:M34484+32n/Q: M3204+20n)" or
positioning start.
[At leading edge of "[Rq.1144] Complete signal OFF command (R:M34484+32n/Q: M3204+20n)"]
[At next positioning start]
2
• The positioning complete signal turns ON by the execution of servo program even if the travel value of the axis specified
with the servo program is set to "0".
CAUTION
• The deviation counter value is not considered, so that The "[St.1061] Positioning complete (R: M32401+32n/Q:M2401+20n)" turns on with the completion of
the command output to positioning address. Use the "[St.1061] Positioning complete (R: M32401+32n/Q:M2401+20n)" together with the "[St.1062] Inposition (R: M32402+32n/Q: M2402+20n)" to confirm the positioning completion of servo axis in the final instruction under program.
• This signal turns on when an error occurs at the servo amplifier side, and can be used to judge whether there is a servo
error or not. However, servo warnings are not detected. When an error is detected at the servo amplifier side, the minor
error (error code: 1C80H) is stored in the "[Md.1005] Servo error code (R: D32008+48n/Q: D8+20n)" storage register. The
error code read from the servo amplifier is stored in "[Md.1019] Servo amplifier display servo error code (R: D32028+48n/
Q: #8008+20n)". Refer to the following for servo amplifier error codes.
Servo amplifier Instruction Manual
• This signal turns off when the "[Rq.1148] Servo error reset command (R: M34488+32n/Q: M3208+20n)" turns on or the
servo power supply turns on again.
[St.1069] Home position return request (R: M32409+32n/Q: M2409+20n)
This signal turns on when it is necessary to confirm the home position address.
■When not using an absolute position system
• This signal turns on in the following cases:
• Multiple CPU system power supply on or reset
• Servo amplifier power supply on
• Home position return start (Unless a home position return is completed normally, the home position return request signal does not turn off.)
• This signal turns off by the completion of home position return.
■When using an absolute position system
• This signal turns on in the following cases:
• When not executing a home position return once after system start.
• Home position return start (Unless a home position return is completed normally, the home position return request signal does not turn off.)
• Erase of an absolute data in Motion CPU according to causes, such as memory error
• When servo error (AL.25) occurs
• When servo error (AL.E3) occurs
• When servo error(AL.2B) occurs
• When warning (error code: 093CH, 093EH) occurs
• When minor error (error code: 197EH) occurs
• When the "rotation direction selection" of servo parameter is changed.
• This signal turns off by the completion of the home position return.
CAUTION
• When using the absolute position system function, on starting up, and when the Motion controller or absolute position motor has been replaced, always
perform a home position return. In the case of the absolute position system, use the sequence program to check the home position return request before
performing the positioning control. Failure to observe this could lead to an accident such as a collision.
34
2 POSITIONING DEDICATED SIGNALS
2.1 Internal Relays
[St.1070] Home position return complete (R: M32410+32n/Q: M2410+20n)
• This signal turns on when the home position return operation using the servo program has been completed normally.
• This signal turns off at the positioning start, JOG operation start and manual pulse generator operation start.
• If the home position return of proximity dog, dog cradle or stopper method using the servo program is executed during this
signal on, the minor error (error code: 197BH) occurs and home position return cannot start.
• This command is a signal which stop a starting axis from an external source and becomes effective at leading edge of
signal. (An axis for which the stop command is turning on cannot be started.)
• The details of stop processing when the stop command turns on are shown below. (Refer to Speed control () (Page
318 Speed Control (I)), or speed control () (Page 321 Speed Control (II)) for details of speed control.)
Control details during
execution
Positioning controlThe axis decelerates to a stop in the deceleration time set in
Speed control ()
Speed control ()
JOG operation
Speed control with fixed
position stop
Manual pulse generator
operation
Home position return• The axis decelerates to a stop in the deceleration time set in the parameter block.
Speed-torque controlThe speed commanded to servo amplifier is "0". The mode is
Pressure control
Machine program operationThis decelerates to a stop in the deceleration time set in the
Machine JOG operation
Processing at the turning stop command on
During controlDuring deceleration stop processing
The deceleration stop processing is continued.
the parameter block or servo program.
An immediate stop is executed without deceleration
processing.
• A stop error during home position return occurs and the minor error (error code:1908H) is stored in the "[Md.1004] Error
code (R: D32007+48n/Q: D7+20n)" for each axis.
switched to position control mode when "Zero speed" turns
ON, and the operation stops.
parameter block or machine positioning data.
The deceleration stop processing is continued.
• The stop command in a dwell time is invalid. (After a dwell time, the "[St.1040] Start accept flag (R: M30080+n/Q:
M2001+n)" turns OFF, and the "[St.1061] Positioning complete (R: M32401+32n/Q: M2401+20n)" turns ON.)
40
2 POSITIONING DEDICATED SIGNALS
2.1 Internal Relays
If it is made to stop by turning on the "[Rq.1140] Stop command (R: M34480+32n/Q: M3200+20n)" during a
home position return, execute the home position return again.
If the stop command is turned on after the proximity dog ON in the proximity dog method, execute the home
position return after move to before the proximity dog ON by the JOG operation or positioning.
• This command stops a starting axis rapidly from an external source and becomes effective at leading edge of signal. (An
axis for which the rapid stop command is turning on cannot be started.)
• The details of stop processing when the rapid stop command turns on are shown below.
Control details during
execution
Position controlThe axis decelerates to a rapid stop deceleration time set in
Speed control ()
Speed control ()
JOG operation
Speed control with fixed
position stop
Manual pulse generator
operation
Home position return• The axis decelerates to a stop in the rapid stop deceleration time set in the parameter block.
Speed-torque controlThe speed commanded to servo amplifier is "0". The mode is
Pressure control
Machine program operationThis decelerates to a stop in the deceleration time set in the
Machine JOG operation
Processing at the turning rapid stop command on
During controlDuring deceleration stop processing
Deceleration processing is stopped and rapid stop processing
the parameter block or servo program.
An immediate stop is executed without deceleration
processing.
• A "stop error during home position return" occurs and the minor error (error code:192DH) is stored in the "[Md.1004] Error
code (R: D32007+48n/Q: D7+20n" for each axis.
switched to position control mode when "Zero speed" turns
ON, and the operation stops.
parameter block or machine positioning data.
is executed.
Deceleration processing is stopped and rapid stop processing
is executed.
2
• The rapid stop command in a dwell time is invalid. (After a dwell time, the "[St.1040] Start accept flag (R: M30080+n/Q:
M2001+n)" turns OFF, and the "[St.1061] Positioning complete (R: M32401+32n/Q: M2401+20n)" turns ON.)
If it is made to stop rapidly by turning on the "[Rq.1141] Rapid stop command (R: M34481+32n/Q:
M3201+20n)" during a home position return, execute the home position return again.
If the rapid stop command turned on after the proximity dog ON in the proximity dog method, execute the
home position return after move to before the proximity dog ON by the JOG operation or positioning.
[Rq.1142] Forward rotation JOG start command (R: M34482+32n/Q: M3202+20n)
JOG operation to the address increase direction is executed while "[Rq.1142] Forward rotation JOG start command (R:
M34482+32n/Q: M3202+20n)" is turning on. When "[Rq.1142] Forward rotation JOG start command (R: M34482+32n/Q:
M3202+20n)" is turned off, a deceleration stop is executed in the deceleration time set in the parameter block.
Take an interlock so that the "[Rq.1142] Forward rotation JOG start command (R: M34482+32n/Q:
M3202+20n)" and "[Rq.1143] Reverse rotation JOG start command (R: M34483+32n/Q: M3203+20n)" may
not turn on simultaneously.
2 POSITIONING DEDICATED SIGNALS
2.1 Internal Relays
41
[Rq.1143] Reverse rotation JOG start command (R: M34483+32n/Q: M3203+20n)
Control switches from speed
control to position control because
"[Rq.1145] Speed/position switching
enable command
(R: M34485+32n/Q: M3205+20n)
turns on
CHANGE
Control does not switch from speed
control to position control because
"[Rq.1145] Speed/position switching
enable command
(R: M34485+32n/Q: M3205+20n)
turns off
JOG operation to the address decrease direction is executed while "[Rq.1143] Reverse rotation JOG start command (R:
M34483+32n/Q: M3203+20n)" is turning on. When "[Rq.1143] Reverse rotation JOG start command (R: M34483+32n/Q:
M3203+20n)" is turned off, a deceleration stop is executed in the deceleration time set in the parameter block.
Take an interlock so that the "[Rq.1142] Forward rotation JOG start command (R: M34482+32n/Q:
M3202+20n)" and "[Rq.1143] Reverse rotation JOG start command (R: M34483+32n/Q: M3203+20n)" may
not turn on simultaneously.
[Rq.1144] Complete signal OFF command (R: M34484+32n/Q: M3204+20n)
This command is used to turn off the "[St.1060] Positioning start complete (R: M32400+32n/Q: M2400+20n)" and "[St.1061]
This signal is used to set the external stop signal input valid or invalid.
Setting valueDescription
ONExternal stop input is set as invalid, and even axes which stop input is turning on can be started.
OFFExternal stop input is set as valid, and axes which stop input is turning on cannot be started.
This is ignored during G-code control. When "[Rq.1149] External stop input disable at start command (R: M34489+32n/Q:
M3209+20n)" is turned ON, axes with STOP input turned ON cannot be started.
Refer to the following for details on the servo error code storage registers.
MELSEC iQ-R Motion controller Programming Manual (Common)
When it stops an axis with the external stop input after it starts by turning on the "[Rq.1149] External stop input
disable at start command (R: M34489+32n/Q: M3209+20n)", switch the external stop input from OFF ON (if
the external stop input is turning on at the starting, switch it from ON OFF ON).
2 POSITIONING DEDICATED SIGNALS
2.1 Internal Relays
43
[Rq.1152] Feed current value update request command (R: M34492+32n/Q: M3212+20n)
This signal is used to set whether the feed current value will be cleared or not at the starting in speed/position switching
control or speed control ().
Setting valueDescription
ONThe feed current value is not cleared at the starting. The feed current value is updated from the starting. In speed
control (), the software stroke limit is valid.
OFFThe feed current value is cleared at the starting. In speed/position switching control, the feed current value is updated
from the starting. In speed control (), "0" is stored in the feed current value.
When it starts by turning on the "[Rq.1152] Feed current value update request command (R: M34492+32n/Q:
M3212+20n)", keep "[Rq.1152] Feed current value update request command (R: M34492+32n/Q:
M3212+20n)" on until completion of the positioning control. If "[Rq.1152] Feed current value update request
command (R: M34492+32n/Q: M3212+20n)" is turned off on the way, the feed current value may not be
reliable.
[Rq.1155] Servo OFF command (R: M34495+32n/Q: M3215+20n)
When "[Rq.1123] All axes servo ON command (R: M30042/Q: M2042)" is ON, this command is used to execute the servo
OFF state (free run state).
Setting valueDescription
ONServo OFF (free run state)
OFFServo ON
Execute this command after positioning completion because it becomes invalid during positioning.
CAUTION
• Turn the power supply of the servo amplifier side off before touching a servomotor, such as machine adjustment.
[Rq.1156] Gain changing command (R: M34496+32n/Q: M3216+20n)
This signal is used to change the gain of servo amplifier in the Motion controller by the gain changing command ON/OFF.
Setting valueDescription
ONGain changing command ON
OFFGain changing command OFF
Refer to the following for details of gain changing function.
Servo amplifier Instruction Manual
This signal is used to change the PI-PID switching of servo amplifier in the Motion controller by the PI-PID switching command
ON/OFF.
Setting valueDescription
ONPI-PID switching command ON (PID control)
OFFPI-PID switching command OFF (PI control)
Refer to the following for details of PI-PID switching function.
Servo amplifier Instruction Manual
44
2 POSITIONING DEDICATED SIGNALS
2.1 Internal Relays
[Rq.1158] Control loop changing command (R: M34498+32n/Q: M3218+20n)
Fully closed loop
control change
ON
OFF
OFF
ON
Semi closed loop
control change
[Rq.1158] Control loop changing command
(R: M34498+32n/Q: M3218+20n)
[St.1050] Control loop monitor status
(R: M30336+n/Q: M2272+n)
CPSTART2
Axis
Axis
Speed
FIN
ABS-2
Axis
Axis
M-code
ABS-2
Axis
Axis
M-code
ABS-2
Axis
Axis
M-code
ABS-2
Axis
Axis
CPEND
Point
1
2
3
4
1
2
1,
2,
1,
2,
1,
2,
1,
2
10000
100
200000
200000
10
300000
250000
11
350000
300000
12
400000
400000
<K 0>
Point1WAIT2
M-code
[St.1079] M-code outputting
(R: M32419+32n/Q: M2419+20n)
[Rq.1159] FIN signal
(R: M34499+32n/Q: M3219+20n)
1011
Timing Chart for Operation Description
1. When the positioning of point 1 starts, M-code 10 is output and
the M-code outputting signal turns on.
2. FIN signal turns on after performing required processing in the
Motion SFC program. Transition to the next point does not
execute until the FIN signal turns on.
3. When the FIN signal turns on, the M-code outputting signal
turns off.
4. When the FIN signal turns off after the M-code outputting signal
turns off, the positioning to the next point 2 starts.
When using the fully closed loop control servo amplifier, this signal is used to change the fully closed loop control/semi closed
loop control of servo amplifier in the Motion controller by the control loop changing command ON/OFF.
Setting valueDescription
ONDuring fully closed loop control
OFFDuring semi closed loop control
Refer to the following for details of control loop changing function.
Servo amplifier Instruction Manual
• When the servo amplifier is not started (LED: "AA", "Ab", "AC", "Ad" or "AE"), if the control loop changing
command is turned ON/OFF, the command becomes invalid.
• When the following are operated during the fully closed loop, it returns to the semi closed loop control.
(1) Power supply OFF or reset of the Multiple CPU system
(2) Wire breakage of the SSCNET cable between the servo amplifier and Motion controller
(3) Control circuit power supply OFF of the servo amplifier
2
[Rq.1159] FIN signal (R: M34499+32n/Q: M3219+20n)
When a M-code is set in a servo program, transit to the next block does not execute until the FIN signal changes as follows:
OFF ON OFF. Positioning to the next block begins after the FIN signal changes as above.
It is valid, only when the FIN acceleration/deceleration is set and FIN signal wait function is selected.
• The "[Rq.1159] FIN signal (R: M34499+32n/Q: M3219+20n)" and "[St.1079] M-code outputting (R:
M32419+32n/Q: M2419+20n)" are both signal for the FIN signal wait function.
• The "[Rq.1159] FIN signal (R: M34499+32n/Q: M3219+20n)" and "[St.1079] M-code outputting (R:
M32419+32n/Q: M2419+20n)" are valid only when FIN acceleration/deceleration is designated in the servo
program. Otherwise, the FIN signal wait function is disabled, and the "[St.1079] M-code outputting (R:
M32419+32n/Q: M2419+20n)" does not turn on.
2 POSITIONING DEDICATED SIGNALS
2.1 Internal Relays
45
Command generation axis status
Device No.Signal name
MELSEC iQ-R Motion
device assignment
M36560 to M36591M9800 to M9819Axis 1 command generation axis status
M36592 to M36623M9820 to M9839Axis 2 command generation axis status
M36624 to M36655M9840 to M9859Axis 3 command generation axis status
M36656 to M36687M9860 to M9879Axis 4 command generation axis status
M36688 to M36719M9880 to M9899Axis 5 command generation axis status
M36720 to M36751M9900 to M9919Axis 6 command generation axis status
M36752 to M36783M9920 to M9939Axis 7 command generation axis status
M36784 to M36815M9940 to M9959Axis 8 command generation axis status
M36816 to M36847M9960 to M9979Axis 9 command generation axis status
M36848 to M36879M9980 to M9999Axis 10 command generation axis status
M36880 to M36911M10000 to M10019Axis 11 command generation axis status
M36912 to M36943M10020 to M10039Axis 12 command generation axis status
M36944 to M36975M10040 to M10059Axis 13 command generation axis status
M36976 to M37007M10060 to M10079Axis 14 command generation axis status
M37008 to M37039M10080 to M10099Axis 15 command generation axis status
M37040 to M37071M10100 to M10119Axis 16 command generation axis status
M37072 to M37103M10120 to M10139Axis 17 command generation axis status
M37104 to M37135M10140 to M10159Axis 18 command generation axis status
M37136 to M37167M10160 to M10179Axis 19 command generation axis status
M37168 to M37199M10180 to M10199Axis 20 command generation axis status
M37200 to M37231M10200 to M10219Axis 21 command generation axis status
M37232 to M37263M10220 to M10239Axis 22 command generation axis status
M37264 to M37295M10240 to M10259Axis 23 command generation axis status
M37296 to M37327M10260 to M10279Axis 24 command generation axis status
M37328 to M37359M10280 to M10299Axis 25 command generation axis status
M37360 to M37391M10300 to M10319Axis 26 command generation axis status
M37392 to M37423M10320 to M10339Axis 27 command generation axis status
M37424 to M37455M10340 to M10359Axis 28 command generation axis status
M37456 to M37487M10360 to M10379Axis 29 command generation axis status
M37488 to M37519M10380 to M10399Axis 30 command generation axis status
M37520 to M37551M10400 to M10419Axis 31 command generation axis status
M37552 to M37583M10420 to M10439Axis 32 command generation axis status
M37584 to M37615Axis 33 command generation axis status
M37616 to M37647Axis 34 command generation axis status
M37648 to M37679Axis 35 command generation axis status
M37680 to M37711Axis 36 command generation axis status
M37712 to M37743Axis 37 command generation axis status
M37744 to M37775Axis 38 command generation axis status
M37776 to M37807Axis 39 command generation axis status
M37808 to M37839Axis 40 command generation axis status
M37840 to M37871Axis 41 command generation axis status
M37872 to M37903Axis 42 command generation axis status
M37904 to M37935Axis 43 command generation axis status
M37936 to M37967Axis 44 command generation axis status
M37968 to M37999Axis 45 command generation axis status
M38000 to M38031Axis 46 command generation axis status
M38032 to M38063Axis 47 command generation axis status
M38064 to M38095Axis 48 command generation axis status
M38096 to M38127Axis 49 command generation axis status
Q series Motion compatible
device assignment
46
2 POSITIONING DEDICATED SIGNALS
2.1 Internal Relays
Device No.Signal name
MELSEC iQ-R Motion
device assignment
M38128 to M38159Axis 50 command generation axis status
M38160 to M38191Axis 51 command generation axis status
M38192 to M38223Axis 52 command generation axis status
M38224 to M38255Axis 53 command generation axis status
M38256 to M38287Axis 54 command generation axis status
M38288 to M38319Axis 55 command generation axis status
M38320 to M38351Axis 56 command generation axis status
M38352 to M38383Axis 57 command generation axis status
M38384 to M38415Axis 58 command generation axis status
M38416 to M38447Axis 59 command generation axis status
M38448 to M38479Axis 60 command generation axis status
M38480 to M38511Axis 61 command generation axis status
M38512 to M38543Axis 62 command generation axis status
M38544 to M38575Axis 63 command generation axis status
M38576 to M38607Axis 64 command generation axis status
Q series Motion compatible
device assignment
2
2 POSITIONING DEDICATED SIGNALS
2.1 Internal Relays
47
• Details for each axis
Device No.SymbolSignal nameRefresh cycle Fetch cycleSignal type
M38646+16nM10446+10nSt.325Synchronous encoder axis control
M38647+16nM10447+10nUnusable
M38648+16nM10448+10n
M38649+16nM10449+10n
M38650+16n
M38651+16n
M38652+16n
M38653+16n
M38654+16n
M38655+16n
Q series Motion
compatible
device
assignment
Q series Motion compatible
device assignment
At power onStatus signal
flag
Operation cycle
valid flag
enable flag
setting request flag
Immediate
detection flag
ImmediateStatus signal
complete flag
52
Refer to the following for details of synchronous encoder axis status.
MELSEC iQ-R Motion Controller Programming Manual (Advanced Synchronous Control)
2 POSITIONING DEDICATED SIGNALS
2.1 Internal Relays
Synchronous encoder axis command signal
Device No.Signal name
MELSEC iQ-R Motion
device assignment
M42240 to M42247M11600 to M11603Axis 1 synchronous encoder axis command signal
M42248 to M42255M11604 to M11607Axis 2 synchronous encoder axis command signal
M42256 to M42263M11608 to M11611Axis 3 synchronous encoder axis command signal
M42264 to M42271M11612 to M11615Axis 4 synchronous encoder axis command signal
M42272 to M42279M11616 to M11619Axis 5 synchronous encoder axis command signal
M42280 to M42287M11620 to M11623Axis 6 synchronous encoder axis command signal
M42288 to M42295M11624 to M11627Axis 7 synchronous encoder axis command signal
M42296 to M42303M11628 to M11631Axis 8 synchronous encoder axis command signal
M42304 to M42311M11632 to M11635Axis 9 synchronous encoder axis command signal
M42312 to M42319M11636 to M11639Axis 10 synchronous encoder axis command signal
M42320 to M42327M11640 to M11643Axis 11 synchronous encoder axis command signal
M42328 to M42335M11644 to M11647Axis 12 synchronous encoder axis command signal
• Details for each axis
Device No.SymbolSignal nameRefresh cycle Fetch cycleSignal type
MELSEC iQ-R
Motion device
assignment
M42240+8nM11600+4nRq.323Synchronous encoder axis error resetMain cycleCommand signal
M42241+8nM11601+4nRq.320Synchronous encoder axis control
M42242+8nM11602+4nRq.324Connection command of synchronous
M42243+8nM11603+4nUnusable
M42244+8n
M42245+8n
M42246+8n
M42247+8n
Q series Motion
compatible
device
assignment
Q series Motion compatible
device assignment
Operation cycle
request
Main cycle
encoder via device/master CPU
2
Refer to the following for details of synchronous encoder axis command signal.
MELSEC iQ-R Motion Controller Programming Manual (Advanced Synchronous Control)
2 POSITIONING DEDICATED SIGNALS
2.1 Internal Relays
53
Output axis status
Device No.Signal name
MELSEC iQ-R Motion
device assignment
M38960 to M38975M10560 to M10569Axis 1 output axis status
M38976 to M38991M10570 to M10579Axis 2 output axis status
M38992 to M39007M10580 to M10589Axis 3 output axis status
M39008 to M39023M10590 to M10599Axis 4 output axis status
M39024 to M39039M10600 to M10609Axis 5 output axis status
M39040 to M39055M10610 to M10619Axis 6 output axis status
M39056 to M39071M10620 to M10629Axis 7 output axis status
M39072 to M39087M10630 to M10639Axis 8 output axis status
M39088 to M39103M10640 to M10649Axis 9 output axis status
M39104 to M39119M10650 to M10659Axis 10 output axis status
M39120 to M39135M10660 to M10669Axis 11 output axis status
M39136 to M39151M10670 to M10679Axis 12 output axis status
M39152 to M39167M10680 to M10689Axis 13 output axis status
M39168 to M39183M10690 to M10699Axis 14 output axis status
M39184 to M39199M10700 to M10709Axis 15 output axis status
M39200 to M39215M10710 to M10719Axis 16 output axis status
M39216 to M39231M10720 to M10729Axis 17 output axis status
M39232 to M39247M10730 to M10739Axis 18 output axis status
M39248 to M39263M10740 to M10749Axis 19 output axis status
M39264 to M39279M10750 to M10759Axis 20 output axis status
M39280 to M39295M10760 to M10769Axis 21 output axis status
M39296 to M39311M10770 to M10779Axis 22 output axis status
M39312 to M39327M10780 to M10789Axis 23 output axis status
M39328 to M39343M10790 to M10799Axis 24 output axis status
M39344 to M39359M10800 to M10809Axis 25 output axis status
M39360 to M39375M10810 to M10819Axis 26 output axis status
M39376 to M39391M10820 to M10829Axis 27 output axis status
M39392 to M39407M10830 to M10839Axis 28 output axis status
M39408 to M39423M10840 to M10849Axis 29 output axis status
M39424 to M39439M10850 to M10859Axis 30 output axis status
M39440 to M39455M10860 to M10869Axis 31 output axis status
M39456 to M39471M10870 to M10879Axis 32 output axis status
M39472 to M39487Axis 33 output axis status
M39488 to M39503Axis 34 output axis status
M39504 to M39519Axis 35 output axis status
M39520 to M39535Axis 36 output axis status
M39536 to M39551Axis 37 output axis status
M39552 to M39567Axis 38 output axis status
M39568 to M39583Axis 39 output axis status
M39584 to M39599Axis 40 output axis status
M39600 to M39615Axis 41 output axis status
M39616 to M39631Axis 42 output axis status
M39632 to M39647Axis 43 output axis status
M39648 to M39663Axis 44 output axis status
M39664 to M39679Axis 45 output axis status
M39680 to M39695Axis 46 output axis status
M39696 to M39711Axis 47 output axis status
M39712 to M39727Axis 48 output axis status
M39728 to M39743Axis 49 output axis status
Q series Motion compatible
device assignment
54
2 POSITIONING DEDICATED SIGNALS
2.1 Internal Relays
Device No.Signal name
MELSEC iQ-R Motion
device assignment
M39744 to M39759Axis 50 output axis status
M39760 to M39775Axis 51 output axis status
M39776 to M39791Axis 52 output axis status
M39792 to M39807Axis 53 output axis status
M39808 to M39823Axis 54 output axis status
M39824 to M39839Axis 55 output axis status
M39840 to M39855Axis 56 output axis status
M39856 to M39871Axis 57 output axis status
M39872 to M39887Axis 58 output axis status
M39888 to M39903Axis 59 output axis status
M39904 to M39919Axis 60 output axis status
M39920 to M39935Axis 61 output axis status
M39936 to M39951Axis 62 output axis status
M39952 to M39967Axis 63 output axis status
M39968 to M39983Axis 64 output axis status
Q series Motion compatible
device assignment
• Details for each axis
Device No.SymbolSignal nameRefresh cycle Fetch cycleSignal type
MELSEC iQ-R
Motion device
assignment
M38960+16nM10560+10nSt.420Main shaft clutch ON/OFF statusOperation cycleStatus signal
M38961+16nM10561+10nSt.421Main shaft clutch smoothing status
M38962+16nM10562+10nSt.423Auxiliary shaft clutch ON/OFF status
M38963+16nM10563+10nSt.424Auxiliary shaft clutch smoothing status
M38964+16nM10564+10nUnusable
M38965+16nM10565+10n
M38966+16nM10566+10nSt.426Control change completeOperation cycleStatus signal
M38967+16nM10567+10nUnusable
M38968+16nM10568+10n
M38969+16nM10569+10n
M38970+16n
M38971+16n
M38972+16n
M38973+16n
M38974+16n
M38975+16n
Q series Motion
compatible
device
assignment
2
• The following range is valid. R16MTCPU: Axis No.1 to 16, R32MTCPU: Axis No.1 to 32.
• The following device area can be used as a user device. R16MTCPU: 17 axes or more, R32MTCPU: 33
axes or more. However, when the project of R16MTCPU is replaced with R32MTCPU/R64MTCPU, or the
project of R32MTCPU is replaced with R64MTCPU, this area cannot be used as a user device.
• Refer to the following for details of output axis status.
M30049M2049St.1045All axes servo ON accept flagOperation cycleStatus signal
M30050M2050Unusable
M30051M2051Rq.1125Manual pulse generator 1 enable flagMain cycleCommand signal
M30052M2052Rq.1126Manual pulse generator 2 enable flag
M30053M2053Rq.1127Manual pulse generator 3 enable flag
M30054M2054St.1046Operation cycle over flagOperation cycleStatus signal
M30055Unusable
M30056
M30057
M30058
M30059
M30060
M30061
M30062
M30063
M30064
M30065
M30066
M30067
M30068
M30069
M30070
M30071
M30072
M30073
M30074
M30075
M30076
M30077
M30078
M30079
M30080M2001St.1040Axis 1Start accept flagOperation cycleStatus signal
M30081M2002Axis 2
M30082M2003Axis 3
M30083M2004Axis 4
M30084M2005Axis 5
M30085M2006Axis 6
M30086M2007Axis 7
M30087M2008Axis 8
M30088M2009Axis 9
M30089M2010Axis 10
M30090M2011Axis 11
(5 points)
command
(25 points)
Main cycleCommand signal
*1*2
72
2 POSITIONING DEDICATED SIGNALS
2.1 Internal Relays
Device No.SymbolSignal nameRefresh cycle Fetch cycleSignal type
MELSEC iQ-R
Motion device
assignment
Q series Motion
compatible
device
assignment
M30091M2012St.1040Axis 12Start accept flagOperation cycleStatus signal
M30092M2013Axis 13
M30093M2014Axis 14
M30094M2015Axis 15
M30095M2016Axis 16
M30096M2017Axis 17
M30097M2018Axis 18
M30098M2019Axis 19
M30099M2020Axis 20
M30100M2021Axis 21
M30101M2022Axis 22
M30102M2023Axis 23
M30103M2024Axis 24
M30104M2025Axis 25
M30105M2026Axis 26
M30106M2027Axis 27
M30107M2028Axis 28
M30108M2029Axis 29
M30109M2030Axis 30
M30110M2031Axis 31
M30111M2032Axis 32
M30112Axis 33
M30113Axis 34
M30114Axis 35
M30115Axis 36
M30116Axis 37
M30117Axis 38
M30118Axis 39
M30119Axis 40
M30120Axis 41
M30121Axis 42
M30122Axis 43
M30123Axis 44
M30124Axis 45
M30125Axis 46
M30126Axis 47
M30127Axis 48
M30128Axis 49
M30129Axis 50
M30130Axis 51
M30131Axis 52
M30132Axis 53
M30133Axis 54
M30134Axis 55
M30135Axis 56
M30136Axis 57
M30137Axis 58
M30138Axis 59
M30139Axis 60
*1*2
2
2 POSITIONING DEDICATED SIGNALS
2.1 Internal Relays
73
Device No.SymbolSignal nameRefresh cycle Fetch cycleSignal type
MELSEC iQ-R
Motion device
assignment
Q series Motion
compatible
device
assignment
M30140St.1040Axis 61Start accept flagOperation cycleStatus signal
M30141Axis 62
M30142Axis 63
M30143Axis 64
M30144M2061St.1047Axis 1Speed change accepting
M30145M2062Axis 2
M30146M2063Axis 3
M30147M2064Axis 4
M30148M2065Axis 5
M30149M2066Axis 6
M30150M2067Axis 7
M30151M2068Axis 8
M30152M2069Axis 9
M30153M2070Axis 10
M30154M2071Axis 11
M30155M2072Axis 12
M30156M2073Axis 13
M30157M2074Axis 14
M30158M2075Axis 15
M30159M2076Axis 16
M30160M2077Axis 17
M30161M2078Axis 18
M30162M2079Axis 19
M30163M2080Axis 20
M30164M2081Axis 21
M30165M2082Axis 22
M30166M2083Axis 23
M30167M2084Axis 24
M30168M2085Axis 25
M30169M2086Axis 26
M30170M2087Axis 27
M30171M2088Axis 28
M30172M2089Axis 29
M30173M2090Axis 30
M30174M2091Axis 31
M30175M2092Axis 32
M30176Axis 33
M30177Axis 34
M30178Axis 35
M30179Axis 36
M30180Axis 37
M30181Axis 38
M30182Axis 39
M30183Axis 40
M30184Axis 41
M30185Axis 42
M30186Axis 43
M30187Axis 44
M30188Axis 45
flag
Operation cycleStatus signal
*1*2
*1*2
74
2 POSITIONING DEDICATED SIGNALS
2.1 Internal Relays
Device No.SymbolSignal nameRefresh cycle Fetch cycleSignal type
MELSEC iQ-R
Motion device
assignment
Q series Motion
compatible
device
assignment
M30189St.1047Axis 46Speed change accepting
M30190Axis 47
M30191Axis 48
M30192Axis 49
M30193Axis 50
M30194Axis 51
M30195Axis 52
M30196Axis 53
M30197Axis 54
M30198Axis 55
M30199Axis 56
M30200Axis 57
M30201Axis 58
M30202Axis 59
M30203Axis 60
M30204Axis 61
M30205Axis 62
M30206Axis 63
M30207Axis 64
M30208M2128St.1048Axis 1Automatic decelerating flag Operation cycleStatus signal
M30209M2129Axis 2
M30210M2130Axis 3
M30211M2131Axis 4
M30212M2132Axis 5
M30213M2133Axis 6
M30214M2134Axis 7
M30215M2135Axis 8
M30216M2136Axis 9
M30217M2137Axis 10
M30218M2138Axis 11
M30219M2139Axis 12
M30220M2140Axis 13
M30221M2141Axis 14
M30222M2142Axis 15
M30223M2143Axis 16
M30224 M2144Axis 17
M30225M2145Axis 18
M30226M2146Axis 19
M30227M2147Axis 20
M30228M2148Axis 21
M30229M2149Axis 22
M30230M2150Axis 23
M30231M2151Axis 24
M30232M2152Axis 25
M30233M2153Axis 26
M30234M2154Axis 27
M30235M2155Axis 28
M30236M2156Axis 29
M30237M2157Axis 30
flag
Operation cycleStatus signal
*1*2
2
*1*2
2 POSITIONING DEDICATED SIGNALS
2.1 Internal Relays
75
Device No.SymbolSignal nameRefresh cycle Fetch cycleSignal type
MELSEC iQ-R
Motion device
assignment
Q series Motion
compatible
device
assignment
M30238M2158St.1048Axis 31Automatic decelerating flag Operation cycleStatus signal
M30239M2159Axis 32
M30240Axis 33
M30241Axis 34
M30242Axis 35
M30243Axis 36
M30244Axis 37
M30245Axis 38
M30246Axis 39
M30247Axis 40
M30248Axis 41
M30249Axis 42
M30250Axis 43
M30251Axis 44
M30252Axis 45
M30253Axis 46
M30254Axis 47
M30255Axis 48
M30256Axis 49
M30257Axis 50
M30258Axis 51
M30259Axis 52
M30260Axis 53
M30261Axis 54
M30262Axis 55
M30263Axis 56
M30264Axis 57
M30265Axis 58
M30266Axis 59
M30267Axis 60
M30268Axis 61
M30269Axis 62
M30270Axis 63
M30271Axis 64
M30272M2240St.1049Axis 1Speed change "0"
M30273M2241Axis 2
M30274M2242Axis 3
M30275M2243Axis 4
M30276M2244Axis 5
M30277M2245Axis 6
M30278M2246Axis 7
M30279M2247Axis 8
M30280M2248Axis 9
M30281M2249Axis 10
M30282M2250Axis 11
M30283M2251Axis 12
M30284M2252Axis 13
M30285M2253Axis 14
M30286M2254Axis 15
accepting flag
*1*2
76
2 POSITIONING DEDICATED SIGNALS
2.1 Internal Relays
Device No.SymbolSignal nameRefresh cycle Fetch cycleSignal type
MELSEC iQ-R
Motion device
assignment
Q series Motion
compatible
device
assignment
M30287M2255St.1049Axis 16Speed change "0"
M30288M2256Axis 17
M30289M2257Axis 18
M30290M2258Axis 19
M30291M2259Axis 20
M30292M2260Axis 21
M30293M2261Axis 22
M30294M2262Axis 23
M30295M2263Axis 24
M30296M2264Axis 25
M30297M2265Axis 26
M30298M2266Axis 27
M30299M2267Axis 28
M30300M2268Axis 29
M30301M2269Axis 30
M30302M2270Axis 31
M30303M2271Axis 32
M30304Axis 33
M30305Axis 34
M30306Axis 35
M30307Axis 36
M30308Axis 37
M30309Axis 38
M30310Axis 39
M30311Axis 40
M30312Axis 41
M30313Axis 42
M30314Axis 43
M30315Axis 44
M30316Axis 45
M30317Axis 46
M30318Axis 47
M30319Axis 48
M30320Axis 49
M30321Axis 50
M30322Axis 51
M30323Axis 52
M30324Axis 53
M30325Axis 54
M30326Axis 55
M30327Axis 56
M30328Axis 57
M30329Axis 58
M30330Axis 59
M30331Axis 60
M30332Axis 61
M30333Axis 62
M30334Axis 63
M30335Axis 64
accepting flag
Operation cycleStatus signal
*1*2
2
2 POSITIONING DEDICATED SIGNALS
2.1 Internal Relays
77
Device No.SymbolSignal nameRefresh cycle Fetch cycleSignal type
MELSEC iQ-R
Motion device
assignment
Q series Motion
compatible
device
assignment
M30336M2272St.1050Axis 1Control loop monitor statusOperation cycleStatus signal
M30337M2273Axis 2
M30338M2274Axis 3
M30339M2275Axis 4
M30340M2276Axis 5
M30341M2277Axis 6
M30342M2278Axis 7
M30343M2279Axis 8
M30344M2280Axis 9
M30345M2281Axis 10
M30346M2282Axis 11
M30347M2283Axis 12
M30348M2284Axis 13
M30349M2285Axis 14
M30350M2286Axis 15
M30351M2287Axis 16
M30352M2288Axis 17
M30353M2289Axis 18
M30354M2290Axis 19
M30355M2291Axis 20
M30356M2292Axis 21
M30357M2293Axis 22
M30358M2294Axis 23
M30359M2295Axis 24
M30360M2296Axis 25
M30361M2297Axis 26
M30362M2298Axis 27
M30363M2299Axis 28
M30364M2300Axis 29
M30365M2301Axis 30
M30366M2302Axis 31
M30367M2303Axis 32
M30368Axis 33
M30369Axis 34
M30370Axis 35
M30371Axis 36
M30372Axis 37
M30373Axis 38
M30374Axis 39
M30375Axis 40
M30376Axis 41
M30377Axis 42
M30378Axis 43
M30379Axis 44
M30380Axis 45
M30381Axis 46
M30382Axis 47
M30383Axis 48
M30384Axis 49
*1*2
78
2 POSITIONING DEDICATED SIGNALS
2.1 Internal Relays
Device No.SymbolSignal nameRefresh cycle Fetch cycleSignal type
MELSEC iQ-R
Motion device
assignment
Q series Motion
compatible
device
assignment
M30385St.1050Axis 50Control loop monitor status Operation cycleStatus signal
M30386Axis 51
M30387Axis 52
M30388Axis 53
M30389Axis 54
M30390Axis 55
M30391Axis 56
M30392Axis 57
M30393Axis 58
M30394Axis 59
M30395Axis 60
M30396Axis 61
M30397Axis 62
M30398Axis 63
M30399Axis 64
M30400Unusable
:
M30639
M2033Unusable
:
M2037
M2055Unusable
:
M2060
M2093Unusable
:
M2127
M2160Unusable
:
M2239
M2304Unusable
:
M2319
(240 points)
(5 points)
(6 points)
(35 points)
(80 points)
(16 points)
*1 The following range is valid. R16MTCPU: Axis No.1 to 16, R32MTCPU: Axis No.1 to 32.
*2 The following device area can be used as a user device. R16MTCPU: 17 axes or more, R32MTCPU: 33 axes or more.
*1*2
2
• Internal relays for positioning control are not latched even within the latch range.
• The range devices allocated as internal relays for positioning control cannot be used by the user even if
their applications have not been set.
2 POSITIONING DEDICATED SIGNALS
2.1 Internal Relays
79
[Rq.1120] PLC ready flag (R: M30000/Q: M2000)
[Rq.1120] PLC ready flag
(R: M30000/Q: M2000)
PCPU READY complete
flag (SM500)
Clear a M-code
V
Positioning start
Deceleration stop
OFF
OFF
ON
ON
"PCPU READY complete flag
(SM500)" does not turn on because
during deceleration.
t
• This signal is used to start the program control of the Motion CPU. When "[Rq.1120] PLC ready flag (R: M30000/Q:
M2000)" is ON, execution of the Motion SFC program, starting of axes by the servo program, and the synchronous control
operation can be performed.
• "[Rq.1120] PLC ready flag (R: M30000/Q: M2000)" can be switched OFF/ON by the following operation. However, turning
from OFF to ON of the "[Rq.1120] PLC ready flag (R: M30000/Q: M2000)" is ignored when the RUN/STOP switch is set to
"STOP" or during test mode.
(1) Switching with the RUN/STOP switch
• When the RUN/STOP switch is switched from "STOP" to "RUN", "[Rq.1120] PLC ready flag (R: M30000/Q: M2000)" turns ON.
• When the Multiple CPU system power supply is turned ON when the RUN/STOP switch is set to "RUN", "[Rq.1120] PLC ready flag (R: M30000/Q:
M2000)" turns ON.
• When the RUN/STOP switch is switched from "RUN" to "STOP", "[Rq.1120] PLC ready flag (R: M30000/Q: M2000)" turns OFF.
(2) Switching between RUN and STOP by remote operation
• Writing of parameters or files in the program from MT Developer2 is available while "[Rq.1120] PLC ready flag (R: M30000/
Q: M2000)" is OFF.
• When turning "[Rq.1120] PLC ready flag (R: M30000/Q: M2000)" from OFF to ON enables the program control of the
Motion CPU, "PCPU READY complete flag (SM500)" turns ON. Refer to the following for details of the processing when
"[Rq.1120] PLC ready flag (R: M30000/Q: M2000)" turns from OFF to ON, or from ON to OFF.
MELSEC iQ-R Motion controller Programming Manual (Common)
[St.1041] Motion SFC debugging flag (R: M30038/Q: M2038)
This flag turns on when it switches to the debug mode of the Motion SFC program using MT Developer2. It turns off with
release of the debug mode.
80
2 POSITIONING DEDICATED SIGNALS
2.1 Internal Relays
[Rq.1122] Speed switching point specified flag (R: M30040/Q: M2040)
Pass points of the
continuous trajectory
control (When the speed
change is specified with P3.)
[Rq.1122] Speed switching
point specified flag
(R: M30040/Q: M2040)
Servo program start
[St.1040] Start accept flag
(R: M30080+n/Q: M2001+n)
OFF
ON
OFF
V
P1P2P3P4
t
"[Rq.1122] Speed switching point specified flag (R: M30040/Q: M2040)" OFF
V
OFF
ON
P1P2P3P4
t
ON
OFF
[Rq.1122] Speed switching
point specified flag
(R: M30040/Q: M2040)
Servo program start
[St.1040] Start accept flag
(R: M30080+n/Q: M2001+n)
Pass points of the
continuous trajectory
control (When the speed
change is specified with P3.)
"[Rq.1122] Speed switching point specified flag (R: M30040/Q: M2040)" ON
[Rq.1123] All axes servo ON command
(R: M30042/Q: M2042)
[St.1045] All axes servo ON accept flag
(R: M30049/Q: M2049)
Each axis servo ready state
*1
ON
OFF
ON
OFF
ON
OFF
This flag is used when the speed change is specified at the pass point of the continuous trajectory control.
• By turning "[Rq.1122] Speed switching point specified flag (R: M30040/Q: M2040)" on before the starting of the continuous
trajectory control (before the servo program is started), control with the change speed can be executed from the first of
pass point.
Setting valueDescription
ONSpeed has been changed to the specified speed at the pass point of the continuous trajectory control.
OFFSpeed is changed to the specified speed from the pass point of the continuous trajectory control.
2
• When using advanced S-curve acceleration/deceleration and starting continuous trajectory control with "[Rq.1122] Speed
switching point specified flag (R: M30040/Q: M2040)" turned ON, the override function is disabled.
[Rq.1123] All axes servo ON command (R: M30042/Q: M2042)
This command is used to enable servo operation. Refer to the following for details of the servo ON/OFF.
MELSEC iQ-R Motion controller Programming Manual (Common)
Servo operationDescription
Enabled"[Rq.1123] All axes servo ON command (R: M30042/Q: M2042)" turns on while the "[Rq.1155] Servo OFF command (R:
M34495+32n/Q: M3215+20n)" is off and there is no servo error.
Disable• "[Rq.1123] All axes servo ON command (R: M30042/Q: M2042)" is off
• The "[Rq.1155] Servo OFF command (R: M34495+32n/Q: M3215+20n)" is on
• Servo error state
• Forced stop
Execute "[Rq.1123] All axes servo ON command (R: M30042/Q: M2042)": OFF after positioning completion because it
becomes invalid during positioning.
*1 Refer to the "[St.1075] Servo ready (R: M32415+32n/Q: M2415+20n)" for details. (Page 35 [St.1075] Servo ready (R: M32415+32n/
Q: M2415+20n))
When "[Rq.1123] All axes servo ON command (R: M30042/Q: M2042)" turns ON, it is not turned off even if the
Motion CPU is set in the STOP state.
"[Rq.1123] All axes servo ON command (R: M30042/Q: M2042)" turns OFF by the forced stop of Motion CPU.
2 POSITIONING DEDICATED SIGNALS
2.1 Internal Relays
81
[Rq.1124] JOG operation simultaneous start command (R: M30048/Q: M2048)
[Rq.1123] All axes servo ON command
(R: M30042/Q: M2042)
[St.1045] All axes servo ON accept flag
(R: M30049/Q: M2049)
Each axis servo ready state
*1
ON
OFF
ON
OFF
ON
OFF
• When "[Rq.1124] JOG operation simultaneous start command (R: M30048/Q: M2048)" turns on, JOG operation
simultaneous start based on the JOG operation execution axis set in the "[Cd.1096] JOG operation simultaneous start axis
setting register (Forward rotation JOG) (R: D35286 to D35289/Q: D710, D711)" and "[Cd.1097] JOG operation
[St.1040] Start accept flag
(R: M30080+n/Q: M2001+n)
Current value changing
processing
Turns off at the completion of
current value change.
This flag turns on when the time concerning motion operation exceeds the "Motion setting operation cycle (SD523)". Refer to
the following for details.
MELSEC iQ-R Motion controller Programming Manual (Common)
Perform the following operation, in making it turn off.
• Turn the Multiple CPU system power supply ONOFF
• Reset the Multiple CPU system
• Reset using the user program
■Countermeasures for operation cycle over
• Change the operation cycle to a larger value in the [Motion CPU Common Parameter] [Basic Setting] "Operation
Cycle".
• Reduce the number of executions of event task and NMI task instructions in the Motion SFC program.
[St.1040] Start accept flag (R: M30080+n/Q: M2001+n)
• This flag turns on when axis control is started by the servo program or the command signals. The start accept flag of the
controlled axis turns ON.
• The start accept flag turns ON when the following control is being executed.
• Servo program
• Direct positioning control by the Motion dedicated PLC instruction (M(P).SVSTD/D(P).SVSTD)
• JOG operation
• Manual pulse generator operation
• Speed-torque control
• Synchronous control operation (output axis)
• Current value change
• Pressure control
• Machine program operation
• Machine JOG operation
• G-code control
• The state of the start accept flag during positioning control by servo program is shown below.
2
• The state of the start accept flag of a current value change by the CHGA instruction of servo program or by the Motion
dedicated PLC instruction (M(P).CHGA/D(P).CHGA) is shown below.
2 POSITIONING DEDICATED SIGNALS
2.1 Internal Relays
83
CAUTION
CHGV instruction
[St.1047] Speed change
accepting flag
(R: M30144/Q: M2061+n)
Setting speed
OFF
ON
Speed change
Speed change completion
Speed after
speed change
0 to 4 ms
t
[St.1048] Automatic
decelerating flag
(R: M30208+n/Q: M2128+n)
ON
OFF
P1
P2
P3
t
V
[St.1048] Automatic
decelerating flag
(R: M30208+n/Q: M2128+n)
ON
OFF
P1
P3
t
V
P2
"[St.1048] Automatic decelerating flag (R: M30208+n/Q: M2128+n)
turns ON after the execution of positioning to final point (P3) even
if automatic deceleration processing starts while executing the
positioning to P2.
Do not turn the start accept flags ON/OFF in the user side.
• If the start accept flag is turned off using the program or user operation while this flag is on, no error will occur but the positioning operation will not be
reliable. Depending on the type of machine, it might operate in an unanticipated operation.
• If the start accept flag is turned on using the program or user operation while this flag is off, no error will occur but the "start accept on error" will occur at the
next starting and cannot be started.
[St.1047] Speed change accepting flag (R: M30144+n/Q: M2061+n)
This flag turns on at start of speed change by the control change (CHGV) instruction (or Motion dedicated PLC instruction
(M(P).CHGV/D(P).CHGV) of the Motion SFC program.
[St.1048] Automatic decelerating flag (R: M30208+n/Q: M2128+n)
This signal turns on while automatic deceleration processing is performed during the positioning control or position follow-up
control.
• This flag turns on while automatic deceleration to the command address at the position follow-up control, but it turns off if
the command address is changed.
• This signal turns on while automatic deceleration processing is performed during execution of positioning to final point while
in continuous trajectory control.
2 POSITIONING DEDICATED SIGNALS
84
2.1 Internal Relays
Set a travel value in which automatic deceleration processing can be started at the final positioning point,
therefore the automatic decelerating flag turns on at the start point of automatic deceleration processing after
this final point.
• During machine program operation, "[St.1048] Automatic decelerating flag (R: M30208+n/Q: M2128+n)" turns ON while
[St.1048] Automatic
decelerating flag
(R: M30208+n/Q: M2128+n)
ON
OFF
t
V
[St.1040] Start accept flag
(R: M30080+n/Q: M2001+n)
OFF
ON
V
[St.1049] Speed change "0"
accepting flag
(R: M30272+n/Q: M2240+n)
[Cd.1096] to [Cd.1104]Common device (Command signal)
[Md.300] to [Md.303]Servo input axis monitor device
Unusable
[Md.340] to [Md.348]Command generation axis monitor device
Unusable
[Md.320] to [Md.324], [Md.326],
[Md.327]
Unusable
[Md.400] to [Md.402],
[Md.406] to [Md.412], [Md.422],
[Md.425]
Unusab
[Pr.302]Servo input axis control device
Unusable
[Cd.340], [Pr.348]Command generation axis control device
Unusable
[Pr.326], [Cd.320] to [Cd.322],
[Cd.325]
Unusable
[Pr.400] to [Pr.414],
[Pr.418] to [Pr.431],
[Pr.434] to [Pr.442], [Pr.444],
[Pr.445], [Pr.447], [Pr.448],
[Pr.460] to [Pr.468],
[Pr.490] to [Pr.493],
[Cd.407] to [Cd.409]
Synchronous encoder axis control device
(16 points 12 axes)
(128 points)
Output axis control device
(160 points 64 axes)
(16 points)
(32 points 8 machines)
Page 91 Axis monitor devices
Page 104 JOG speed setting registers
Page 155 Common devices
Page 106 Servo input axis monitor device
Page 110 Command generation axis
monitor device
Page 115 Synchronous encoder axis
monitor device
Page 118 Output axis monitor device
Page 108 Servo input axis control device
Page 113 Command generation axis control
device
Page 117 Synchronous encoder axis control
device
Page 121 Output axis control device
Page 128 Machine control device
88
2 POSITIONING DEDICATED SIGNALS
2.2 Data Registers
Device No.SymbolPurposeReference
D53152
to
D53168
to
D54192
to
D54224
to
D54226
to
D54230
to
D54262
to
D54278
to
D54310
to
D54438
to
D54440
to
D54448
to
D54480
to
D54496
to
D54752
to
264
D55
to
D55584
to
D57343
Unusable
(16 points)
[Md.2020] to [Md.2031],
[Md.2033] to [Md.2045],
[Md.2047] to [Md.2059],
[Md.2061] to [Md.2066],
[Md.2069] to [Md.2071],
[Md.2077] to [Md.2080],
[Md.2083] to [Md.2090]
Unusable
[Rq.3344]G-code control common command signal
[Rq.3376] to [Rq.3383]G-code control line command signal
Unusable
[Cd.3305]G-code control common control device
[Cd.3320] to [Cd.3322]G-code control line control device
Unusable
[St.3272]G-code control common status
[St.3208] to [St.3225]G-code control line status
[St.3076]G-code control axis status
[Md.3000] to [Md.3004]G-code control common monitor device
[Md.3016] to [Md.3071]G-code control line monitor device
[Md.3144] to [Md.3150],
[Md.3152] to [Md.3154]
[Md.3178] to [Md.3180]G-code control line monitor device (expansion)
Unusable
Machine monitor device
(128 points 8 machines)
(32 points)
(2 points)
(4 points)
(32 points)
(16 points)
(32 points)
(128 points)
(2 points)
(8 points)
(32 points)
(16 points)
(256 points)
G-code control axis monitor device
(512 points)
(320 points)
(1760 points)
Page 130 Machine monitor device
Page 134 G-code control common
command signal
Page 138 G-code control line command
signal
Page 135 G-code control common control
device
Page 139 G-code control line control device
Page 136 G-code control common status
Page 140 G-code control line status
Page 151 G-code control axis status
Page 137 G-code control common monitor
device
Page 142 G-code control line monitor device
age 153 G-code control axis monitor
P
device
Page 146 G-code control line monitor device
(expansion)
*1 It can be used as a user device.
2
Total number of user device points
• 32000 points
2 POSITIONING DEDICATED SIGNALS
2.2 Data Registers
89
■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 control device (D52896 to D53151), and machine status (D53168 to D54191), use
[Cd.1096] to [Cd.1104]Common device (Command signal)
Unusable
User device
System area
[Md.300] to [Md.303]Servo input axis monitor device
[Md.340] to [Md.348]Command generation axis monitor device
[Md.320] to [Md.324], [Md.326],
[Md.327]
Unusable
[Md.400] to [Md.402],
[Md.406] to [Md.412], [Md.422],
[Md.425]
Unusable
[Pr.302]Servo input axis control device
Unusable
[Cd.340], [Pr.348]Command generation axis control device
Unusable
[Pr.326], [Cd.320] to [Cd.322],
[Cd.325]
Unusab
[Pr.400] to [Pr.414],
[Pr.418] to [Pr.431],
[Pr.434] to [Pr.442], [Pr.444],
[Pr.445], [Pr.447], [Pr.448],
[Pr.460] to [Pr.468],
[Pr.490] to [Pr.493],
[Cd.407] to [Cd.409]
Synchronous encoder axis control device
(10 points 12 axes)
le
(60 points)
Output axis control device
(150 points 32 axes)
(24 points)
(656 points)
Page 91 Axis monitor devices
Page 104 JOG speed setting registers
Page 155 Common devices
Page 106 Servo input axis monitor device
Page 110 Command generation axis
monitor device
Page 115 Synchronous encoder axis
monitor device
Page 118 Output axis monitor device
Page 108 Servo input axis control device
Page 113 Command generation axis control
device
Page 117 Synchronous encoder axis control
device
Page 121 Output axis control device
*1 It can be used as a user device.
Total number of user device points
• 10096 points
90
2 POSITIONING DEDICATED SIGNALS
2.2 Data Registers
Axis monitor devices
The monitoring data area is used by the Motion CPU to store data such as the feed current value during positioning control,
the real current value and the deviation counter value.
It can be used to check the positioning control state using the Motion SFC program.
The user cannot write data to the monitoring data area.
Refer to processing times of the Motion CPU for the delay time between a positioning device (input, internal relay and special
relay) turning ON/OFF and storage of data in the monitor data area. (Page 473 Processing Times of the Motion CPU)
Device No.Signal name
MELSEC iQ-R Motion
device assignment
D32000 to D32047D0 to D19Axis 1 monitor device
D32048 to D32095D20 to D39Axis 2 monitor device
D32096 to D32143D40 to D59Axis 3 monitor device
D32144 to D32191D60 to D79Axis 4 monitor device
D32192 to D32239D80 to D99Axis 5 monitor device
D32240 to D32287D100 to D119Axis 6 monitor device
D32288 to D32335D120 to D139Axis 7 monitor device
D32336 to D32383D140 to D159Axis 8 monitor device
D32384 to D32431D160 to D179Axis 9 monitor device
D32432 to D32479D180 to D199Axis 10 monitor device
D32480 to D32527D200 to D219Axis 11 monitor device
D32528 to D32575D220 to D239Axis 12 monitor device
D32576 to D32623D240 to D259Axis 13 monitor device
D32624 to D32671D260 to D279Axis 14 monitor device
D32672 to D32719D280 to D299Axis 15 monitor device
D32720 to D32767D300 to D319Axis 16 monitor device
D32768 to D32815D320 to D339Axis 17 monitor device
D32816 to D32863D340 to D359Axis 18 monitor device
D32864 to D32911D360 to D379Axis 19 monitor device
D32912 to D32959D380 to D399Axis 20 monitor device
D32960 to D33007D400 to D419Axis 21 monitor device
D33008 to D33055D420 to D439Axis 22 monitor device
D33056 to D33103D440 to D459Axis 23 monitor device
D33104 to D33151D460 to D479Axis 24 monitor device
D33152 to D33199D480 to D499Axis 25 monitor device
D33200 to D33247D500 to D519Axis 26 monitor device
D33248 to D33295D520 to D539Axis 27 monitor device
D33296 to D33343D540 to D559Axis 28 monitor device
D33344 to D33391D560 to D579Axis 29 monitor device
D33392 to D33439D580 to D599Axis 30 monitor device
D33440 to D33487D600 to D619Axis 31 monitor device
D33488 to D33535D620 to D639Axis 32 monitor device
D33536 to D33583Axis 33 monitor device
D33584 to D33631Axis 34 monitor device
D33632 to D33679Axis 35 monitor device
D33680 to D33727Axis 36 monitor device
D33728 to D33775Axis 37 monitor device
D33776 to D33823Axis 38 monitor device
D33824 to D33871Axis 39 monitor device
D33872 to D33919Axis 40 monitor device
D33920 to D33967Axis 41 monitor device
D33968 to D34015Axis 42 monitor device
Q series Motion compatible
device assignment
2
2 POSITIONING DEDICATED SIGNALS
2.2 Data Registers
91
Device No.Signal name
MELSEC iQ-R Motion
device assignment
D34016 to D34063Axis 43 monitor device
D34064 to D34111Axis 44 monitor device
D34112 to D34159Axis 45 monitor device
D34160 to D34207Axis 46 monitor device
D34208 to D34255Axis 47 monitor device
D34256 to D34303Axis 48 monitor device
D34304 to D34351Axis 49 monitor device
D34352 to D34399Axis 50 monitor device
D34400 to D34447Axis 51 monitor device
D34448 to D34495Axis 52 monitor device
D34496 to D34543Axis 53 monitor device
D34544 to D34591Axis 54 monitor device
D34592 to D34639Axis 55 monitor device
D34640 to D34687Axis 56 monitor device
D34688 to D34735Axis 57 monitor device
D34736 to D34783Axis 58 monitor device
D34784 to D34831Axis 59 monitor device
D34832 to D34879Axis 60 monitor device
D34880 to D34927Axis 61 monitor device
D34928 to D34975Axis 62 monitor device
D34976 to D35023Axis 63 monitor device
D35024 to D35071Axis 64 monitor device
Q series Motion compatible
device assignment
92
2 POSITIONING DEDICATED SIGNALS
2.2 Data Registers
• Details for each axis
Device No.SymbolSignal nameRefresh cycle Fetch cycleSignal type
MELSEC iQ-R
Motion device
assignment
D32000+48nD0+20nMd.20Feed current valueOperation cycleMonitor device
D32001+48nD1+20n
D32002+48nD2+20nMd.101Real current value
D32003+48nD3+20n
D32004+48nD4+20nMd.102Deviation counter value
D32005+48nD5+20n
D32006+48nD6+20nMd.1003Warning codeImmediate
D32007+48nD7+20nMd.1004Error code
D32008+48nD8+20nMd.1005Servo error codeMain cycle
D32009+48nD9+20nMd.1006Home position return re-travel valueOperation cycle
D32010+48nD10+20nMd.34Travel value after proximity dog ON
D32011+48nD11+20n
D32012+48nD12+20nMd.1008Execute program No.At start
D32013+48nD13+20nMd.25M-codeOperation cycle
D32014+48nD14+20nMd.35Torque limit value
D32015+48nD15+20nMd.1011Data set pointer for continuous trajectory
D32016+48nD16+20nUnusable
D32017+48nD17+20n
D32018+48nD18+20nMd.1012Real current value at stop inputOperation cycleMonitor device
*2 Operation cycle 1.777[ms] or less: Operation cycle, operation cycle 3.555[ms] or more: 3.555[ms]
Q series Motion
compatible
device
assignment
• The following range is valid. R16MTCPU: Axis No.1 to 16, R32MTCPU: Axis No.1 to 32.
• The following device area can be used as a user device. R16MTCPU: 17 axes or more, R32MTCPU: 33
axes or more. However, when the project of R16MTCPU is replaced with R32MTCPU/R64MTCPU, or the
project of R32MTCPU is replaced with R64MTCPU, this area cannot be used as a user device.
[Md.20] Feed current value (R: D32000+48n/Q: D0+20n, D1+20n)
• This register stores the target address output to the servo amplifier on the basis of the positioning address/travel value
specified with the servo program.
• A part for the amount of the travel value from "0" after starting is stored in the fixed-pitch feed control.
• In the speed/position switching control or speed control (), the address at the start depends on the state of "[Rq.1152] Feed current value update command
(R: M34492+32n/Q: M3212+20n)" as shown below.
[Rq.1152] Feed current value update command
(R: M34492+32n/Q: M3212+20n)
OFFResets the feed current value to "0" at the start.
ONNot reset the feed current value at the start.
• "0" is stored during speed control ().
Description
• The stroke range check is performed on this feed current value data.
[Md.101] Real current value (R: D32002+48n, D32003+48n/Q: D2+20n, D3+20n)
• This device stores the converted value (in an axis control unit) of the feedback position of the motor encoder (in pulse unit).
• The "feed current value" is equal to the "real current value" in the stopped state.
[Md.102] Deviation counter value (R: D32004+48n, D32005+48n/Q: D4+20n, D5+20n)
This register stores the droop pulses read from the servo amplifier.
[Md.1003] Warning code (R: D32006+48n/Q: D6+20n)
• This register stores the corresponding warning code at the warning occurrence. If another warning occurs after warning
code storing, the previous warning code is overwritten by the new warning code.
• The servo warning (Warning (error code: 0C80H)) is not stored in this device. It is stored in "[Md.1005] Servo error code (R:
D32008+48n/Q: D8+20n)".
• Warning codes can be cleared by "[Rq.1147] Error reset command (R: M34487+32n/Q: M3207+20n)" or "Error reset
(SM50)".
94
Refer to the following for details of the warning codes.
MELSEC iQ-R Motion controller Programming Manual (Common)
2 POSITIONING DEDICATED SIGNALS
2.2 Data Registers
[Md.1004] Error code (R: D32007+48n/Q: D7+20n)
• This register stores the corresponding error code at the error occurrence. If another error occurs after error code storing,
the previous error code is overwritten by the new error code.
• The servo error (Minor error (error code: 1C80H)) is not stored in this device. It is stored in "[Md.1005] Servo error code (R:
D32008+48n/Q: D8+20n)".
• Error codes can be cleared by "[Rq.1147] Error reset command (R: M34487+32n/Q: M3207+20n)" or "Error reset (SM50)".
Refer to the following for details of the error codes.
MELSEC iQ-R Motion controller Programming Manual (Common)