QD75P2
QD75P2
QD75P2
Before using this product, please read this manual and the relevant manuals introduced in this manual
carefully and pay full attention to safety to handle the product correctly.
The instructions given in this manual are concerned with this product. For the safety instructions of the
programmable logic controller system, please read the CPU module User's Manual.
In this manual, the safety instructions are ranked as "DANGER" and "CAUTION".
Note that the ! CAUTION level may lead to a serious consequence according to the circumstances.
Always follow the instructions of both levels because they are important to personal safety.
Please save this manual to make it accessible when required and always forward it to the end user.
[Design Instructions]
! DANGER
Provide a safety circuit outside the programmable logic controller so that the entire system will
operate safely even when an external power supply error or PLC fault occurs.
Failure to observe this could lead to accidents for incorrect outputs or malfunctioning.
(1) Configure an emergency stop circuit and interlock circuit such as a positioning upper
limit/lower limit to prevent mechanical damage outside the PLC.
(2) The machine OPR operation is controlled by the OPR direction and OPR speed data.
Deceleration starts when the near-point dog turns ON. Thus, if the OPR direction is
incorrectly set, deceleration will not start and the machine will continue to travel. Configure
an interlock circuit to prevent mechanical damage outside the PLC.
(3) When the module detects an error, normally deceleration stop or sudden stop will take
place according to the parameter stop group settings.
Set the parameters to the positioning system specifications.
Make sure that the OPR parameter and positioning data are within the parameter setting
values.
A-1
[Design Instructions]
! CAUTION
Do not bundle or adjacently lay the control wire or communication cable with the main circuit or
power wire.
Separate these by 100mm (3.94in.) or more.
Failure to observe this could lead to malfunctioning caused by noise.
[Mounting Instructions]
! CAUTION
Use the PLC within the general specifications environment given in this manual.
Using the PLC outside the general specification range environment could lead to electric
shocks, fires, malfunctioning, product damage or deterioration.
While pressing the installation lever located at the bottom of module, insert the module fixing
tab into the fixing hole in the base unit until it stops. Then, securely mount the module with the
fixing hole as a supporting point.
Incorrect loading of the module can cause a malfunction, failure or drop.
When using the PLC in the environment of much vibration, tighten the module with a screw.
Tighten the screw in the specified torque range.
Undertightening can cause a drop, short circuit or malfunction.
Overtightening can cause a drop, short circuit or malfunction due to damage to the screw or
module.
Completely turn off the externally supplied power used in the system before mounting or
removing the module.
Not doing so may damage the product.
[Wiring Instructions]
! DANGER
Always confirm the terminal layout before connecting the wires to the module.
[Startup/Maintenance Instructions]
! DANGER
Completely turn off the externally supplied power used in the system before cleaning or
tightening the screws.
Failure to turn all phases OFF could lead to electric shocks.
A-2
[Startup/Maintenance Instructions]
! CAUTION
Never disassemble or modify the module.
Failure to observe this could lead to trouble, malfunctioning, injuries or fires.
Completely turn off the externally supplied power used in the system before installing or
removing the module.
Failure to turn all phases OFF could lead to module trouble or malfunctioning.
Do not install/remove the module to/from the base unit, or the terminal block to/from the module
more than 50 times after the first use of the product. (IEC 61131-2 compliant)
Failure to do so may cause malfunction.
Before starting test operation, set the parameter speed limit value to the slowest value, and
make sure that operation can be stopped immediately if a hazardous state occurs.
Always make sure to touch the grounded metal to discharge the electricity charged in the body,
etc., before touching the module.
Failure to do so may cause a failure or malfunctions of the module.
[Disposal Instructions]
! CAUTION
When disposing of the product, handle it as industrial waste.
A-3
REVISIONS
The manual number is given on the bottom left of the back cover.
Print Date Manual Number Revision
Dec., 1999 SH (NA)-080058-A First edition
Oct., 2000 SH (NA)-080058-B Addition of function version B
(Overall revisions based on the Japanese Manual Version
SH-080047-E)
Jun., 2001 SH (NA)-080058-C The software package names (GPP function software package,
QD75 software package) have been replaced by the product names
(GX Developer, GX Configurator-QP) for standardization.
Partial corrections and additions
CONTENTS, About Manuals, Generic Terms and Abbreviations,
Section 1.4, Section 2.2, Section 2.3, Section 3.2.2 to Section 3.2.4,
Section 3.3.2, Section 3.3.3, Section 3.4.1, Section 3.4.3, Section
3.4.4, Section 4.1.2, Section 4.3, Section 5.1.2, Section 5.1.3, Section
5.2.3, Section 5.2.5, Section 5.6.2, Section 5.7.1, Section 6.2 to
Section 6.4, Section 6.5.3, Section 7.2, Section 8.2.2, Section 8.2.5,
Section 8.2.6, Section 9.1.2, Section 9.2.1, Section 9.2.16, Section
9.2.17, Section 10.3.2, Section 10.6.2, Section 11.2.3, Section 11.3.3,
Section 11.3.4, Section 11.4.3, Section 12.1.1, Section 12.5 to Section
12.7, Section 13.1, Section 13.3, Section 13.4, Section 14.2 to Section
14.7, Section 15.1, Section 15.2, Section 15.4, Appendix 1, Appendix
9.2, Appendix 11, INDEX
Apr., 2003 SH (NA)-080058-D Partial corrections and additions
SAFETY INSTRUCTIONS, CONTENTS, Component List,
Section 1.2.3, Section 1.4, Section 2.3, Section 2.4, Section 3.1,
Section 3.2.1, Section 3.2.3, Section 3.2.4, Section 3.4.1, Section
3.4.4, Section 4.1.2, Section 4.3.1, Section 4.3.2, Section 5.1.1,
Section 5.1.7, Section 5.1.8, Section 5.2.1, Section 5.2.4, Section
5.6.2, Section 5.7.1, Section 6.4, Section 6.5.4, Section 6.5.6, Section
8.2.3 to Section 8.2.8, Section 9.2.17, Section 9.2.19, Section 11.2.1,
Section 11.3.1, Section 11.4.1, Section 12.1.1, Section 12.5.1, Section
12.5.2, Section 12.7.3, Section 12.7.5, Section 12.7.9, Section 14.4,
Section 15.2, Appendix 1.1, Appendix 4.1 to Appendix 4.3, Appendix
7.1, Appendix 9.2, Appendix 10 to Appendix 13, INDEX
Oct., 2003 SH (NA)-080058-E Partial corrections and additions
CONTENTS, Section 1.1.1, Section 1.4, Section 2.2, Section 2.4,
Section 3.2.1, Section 3.2.3, Section 3.2.4, Section 3.3.2, Section
3.4.3, Section 3.4.4, Section 5.1.1, Section 5.1.8, Section 5.7.1,
Section 6.5.3, Section 6.5.6, Section 7.1.2, Section 9.1.2, Section
9.2.3 to Section 9.2.9, Section 11.2.1, Section 11.3.1, Section 11.4.1,
Section 12.2.1, Section 12.7.10, Appendix 9.2, Appendix 12, INDEX
A-4
REVISIONS
The manual number is given on the bottom left of the back cover.
Print Date Manual Number Revision
Feb., 2004 SH (NA)-080058-F Partial corrections and additions
CONTENTS, Section 3.4.1, Section 3.4.3, Section 3.4.4,
Section 5.2.1, Section 5.4, Section 5.5, Section 5.6.2, Section 8.2.6,
Section 10.1.2, Section 10.3.3, Section 10.3.5, Section 10.3.7,
Appendix 9.2, Appendix 12
Nov., 2004 SH (NA)-080058-G Partial corrections and additions
SAFETY INSTRUCTIONS, Section 1.4, Section 2.3, Section 2.4,
Section 4.2.1, Section 4.3.1, Section 4.5.1, Section 5.1.7,
Section 5.2.1, Section 5.2.6, Section 5.6.2, Section 6.1,
Section 9.2.19, Section 12.2.1, Section 12.4.4, Section 12.7.4,
Appendix 1.1, Appendix 9.1
Jun., 2005 SH (NA)-080058-H Partial corrections and additions
Section 5.1.2, Section 9.1.2, Section 9.2.10, Section 9.2.21,
Section 10.3.8, Section 11.4.1, Section 12.5.2, Section 12.7.1,
Section 12.7.6, Section 15.1, Section 15.2
This manual confers no industrial property rights or any rights of any other kind, nor does it confer any patent licenses.
Mitsubishi Electric Corporation cannot be held responsible for any problems involving industrial property rights which
may occur as a result of using the contents noted in this manual.
© 1999 MITSUBISHI ELECTRIC CORPORATION
A-5
INTRODUCTION
Thank you for purchasing the Mitsubishi general-purpose programmable logic controller MELSEC-Q Series.
Always read through this manual, and fully comprehend the functions and performance of the Q Series PLC
before starting use to ensure correct usage of this product.
CONTENTS
SAFETY INSTRUCTIONS.............................................................................................................................A- 1
REVISIONS ....................................................................................................................................................A- 4
INTRODUCTION ...........................................................................................................................................A- 6
CONTENTS....................................................................................................................................................A- 6
About Manuals ..............................................................................................................................................A- 13
Using This Manual.........................................................................................................................................A- 13
Compliance with the EMC and Low Voltage Directives...............................................................................A- 14
Generic Terms and Abbreviations ................................................................................................................A- 15
Component List .............................................................................................................................................A- 16
1. Product Outline 1- 1 to 1- 22
2. System Configuration 2- 1 to 2- 10
A-6
3. Specifications and Functions 3- 1 to 3- 24
5. Data Used for Positioning Control (List of buffer memory addresses) 5- 1 to 5-132
A-7
5.2 List of parameters ................................................................................................................................... 5- 20
5.2.1 Basic parameters 1 .......................................................................................................................... 5- 20
5.2.2 Basic parameters 2 .......................................................................................................................... 5- 26
5.2.3 Detailed parameters 1...................................................................................................................... 5- 28
5.2.4 Detailed parameters 2...................................................................................................................... 5- 36
5.2.5 OPR basic parameters..................................................................................................................... 5- 46
5.2.6 OPR detailed parameters ................................................................................................................ 5- 54
5.3 List of positioning data ............................................................................................................................ 5- 58
5.4 List of block start data ............................................................................................................................. 5- 74
5.5 List of condition data ............................................................................................................................... 5- 80
5.6 List of monitor data.................................................................................................................................. 5- 86
5.6.1 System monitor data ........................................................................................................................ 5- 86
5.6.2 Axis monitor data.............................................................................................................................. 5- 96
5.7 List of control data.................................................................................................................................. 5-110
5.7.1 System control data ........................................................................................................................ 5-110
5.7.2 Axis control data.............................................................................................................................. 5-112
A-8
Section 2 Control Details and Setting
8. OPR Control 8- 1 to 8- 22
A - 10
11.4.4 Creating a program to enable/disable the manual pulse generator operation .......................... 11- 33
A - 12
About Manuals
Related Manuals
Manual Number
Manual Name
(Model Code)
GX Configurator-QP Operating Manual
Describes how to use GX Configurator-QP for the following and other purposes: creating data SH-080172
(parameters, positioning data, etc.), sending the data to the module, monitoring the positioning (13JU19)
operations, and testing. (The manual is supplied with the software.)
Pr. ........ Symbol indicating positioning parameter and OPR parameter item.
Da. ....... Symbol indicating positioning data, block start data and condition
data item.
Md. ....... Symbol indicating monitor data item.
Cd. ....... Symbol indicating control data item.
Buffer memory addresses, error codes and warning codes are represented in
decimal.
X/Y devices are represented in hexadecimal.
Setting data and monitor data are represented in decimal or hexadecimal. Data
ended by "H" are represented in hexadecimal.
(Example) 10.........Decimal
10H ......Hexadecimal
A - 13
Compliance with the EMC and Low Voltage Directives
A - 14
Generic Terms and Abbreviations
Unless specially noted, the following generic terms and abbreviations are used in this
manual.
A - 15
Component List
The table below shows the component included in respective positioning modules:
A - 16
Section 1 Product Specifications and Handling
Section 1
Section 1 is configured for the following purposes (1) to (5).
(1) To understand the outline of positioning control, and the QD75 specifications
and functions
(2) To carry out actual work such as installation and wiring
(3) To set parameters and data required for positioning control
(4) To create a sequence program required for positioning control
(5) To understand the memory configuration and data transmission process
Read Section 2 for details on each control.
The purpose and outline of positioning control using QD75 are explained in this chapter.
Reading this chapter will help you understand what can be done using the positioning
system and which procedure to use for a specific purpose.
By understanding "What can be done", and "Which procedure to use" beforehand, the
positioning system can be structured smoothly.
1-1
1 PRODUCT OUTLINE
MELSEC-Q
(b) For connecting any of the QD75 modules to the base unit, a single slot and
32 dedicated I/O channels are required.
Within the limit imposed by the maximum number of inputs and outputs
supported by the PLC CPU, up to 64 modules can be used. (Refer to
Section 3.1.)
1-2
1 PRODUCT OUTLINE
MELSEC-Q
(4) Faster pulse output and allowance of longer distance to drive unit
(Refer to Section 3.1.)
The modules with a differential driver (QD75D1, QD75D2, and QD75D4)
incorporate the improvements in pulse output speed and maximum distance to
the drive unit.
• QD75D1/QD75D2/QD75D4: 1 Mpulse/s, 10 m max.
• QD75P1/QD75P2/QD75P4: 200 kpulse/s, 2 m max.
1-3
1 PRODUCT OUTLINE
MELSEC-Q
1-4
1 PRODUCT OUTLINE
MELSEC-Q
Palletizer
Conveyor control • Using the servo for one axis, the palletizer is
Conveyor positioned at a high accuracy.
Servomotor • The amount to lower the palletizer according to
(with brakes)
the material thickness is saved.
Position detector
G
Reduction
Servo amplifier gears Palletizer
Ball screw Unloader control
(From QD75)
PLC
MELSEC-Q
Teaching unit
QD75
AD75TU
AD75
1-5
1 PRODUCT OUTLINE
MELSEC-Q
Digital switch
Servo
amplifier
Index table
Detector
Worm gears Servomotor
1-6
1 PRODUCT OUTLINE
MELSEC-Q
Positioning control using the QD75 is carried out with "pulse signals". (The QD75 is a
module that generates pulses). In the positioning system using the QD75, various
software and devices are used for the following roles. The QD75 realizes complicated
positioning control when it reads in various signals, parameters and data and is
controlled with the PLC CPU.
Motor
Workpiece
1-7
1 PRODUCT OUTLINE
MELSEC-Q
The principle of "position control" and "speed control" operation is shown below.
Position control
The total No. of pulses required to move the designated distance is obtained in the
following manner.
The No. of pulses required for the motor to rotate once is the "encoder resolution"
described in the motor catalog specification list.
When this total No. of pulses is issued from the QD75 to the servo amplifier, control to
move the designated distance can be executed.
The machine side movement amount when one pulse is issued to the servo amplifier is
called the "movement amount per pulse". This value is the min. value for the workpiece
to move, and is also the electrical positioning precision.
Speed control
The "Total No. of pulses" mentioned above is invariably required for controlling the
distance. For positioning or speed control, the speed must be controlled as well.
The speed is determined by the frequency of pulses sent from the QD75 to the drive
unit.
Pulse frequency
[pps] This area is the total
No. of commanded
pulses.
Positioning Servo Servo A
module amplifier motor
Detector
(Pulse
encoder)
POINT
The QD75 controls the position with the "total No. of pulses", and the speed with
the "pulse frequency".
1-8
1 PRODUCT OUTLINE
MELSEC-Q
The outline of the positioning system operation and design, using the QD75, is shown
below.
GX Configurator-QP
1-9
1 PRODUCT OUTLINE
MELSEC-Q
Servomotor
speed
Speed V Pulse droop
amount Pulse
distribution
Stop
settling time
1 - 10
1 PRODUCT OUTLINE
MELSEC-Q
(a) In the system shown in Fig. 1.4, the movement amount per pulse,
command pulse frequency, and the deviation counter droop pulse amount
are determined as follows:
1) Movement amount per pulse
The movement amount per pulse is determined by the worm gear lead,
deceleration ratio, and the pulse encoder resolution.
The movement amount, therefore, is given as follows: (Number of
pulses output) × (Movement amount per pulse).
L
A= [mm/pulse]
R× n
(b) The QD75 allows the user to select from the following four units as the unit
used by positioning commands to any of the axes (1 to 4, if the module
supports four axes): mm, inch, degree, and pulse.
The unit selected for one axis may differ from the unit selected for another
axis.
When such data as the movement amount per pulse,
acceleration/deceleration time, positioning speed, and positioning address
are correctly set in consideration of the chosen unit, the QD75 can calculate
the number of pulses required for a movement amount to the target
positioning address and execute the positioning by outputting a pulse train
that includes the calculated number of pulses.
1 - 11
1 PRODUCT OUTLINE
MELSEC-Q
The outline of the signal communication between the QD75 and PLC CPU, peripheral
device and drive unit, etc., is shown below.
(A peripheral device communicates with the QD75 via the PLC CPU to which it is
connected)
PLC QD75
CPU
Y0
PLC READY signal Drive unit READY signal
QD75 READY signal Upper/lower limit signal
X0 External
Syncronization flag Near-point dog signal signal
X1
Forward run JOG start signal Zero signal
Y8,YA,YC,YE
Reverse run JOG start signal Drive
Y9,YB,YD,YF unit
Execution prohibition flag
Y14,Y15,Y16,Y17
Deviation counter clear
External
Pulse train
interface
M code ON signal
X4,X5,X6,X7
Interface
with
PLC
X8,X9,XA,XB Error detection signal CPU
Data write/read
Parameter write/read
Positioning data write/read
Block start data write/read
Operation monitor
Peripheral
device
1 - 12
1 PRODUCT OUTLINE
MELSEC-Q
1 - 13
1 PRODUCT OUTLINE
MELSEC-Q
1 - 14
1 PRODUCT OUTLINE
MELSEC-Q
1)
Design Understand the functions and performance, and determine the positioning operation method
(system design)
2)
Installation, wiring
3) 4)
Setting of the:
· Parameters Creation of sequence
· Positioning data program for operation
· Block start data
· Condition data Refer to (Note)
Preparation
5) 6)
Writing of setting data Writing of program
7) 8)
Connection confirmation
Monitoring with Monitoring and
test operation, debugging of
and debugging operation
of setting data Test operation program
9)
Operation Monitor Actual operation Monitor
(Note)
When not using
GX Configurator
-QP, carry out
10) Maintenance setting, monitoring
and debugging of
Maintenance the data in 3) with
GX Developer.
11) Disposal
1 - 15
1 PRODUCT OUTLINE
MELSEC-Q
The following work is carried out with the processes shown on the previous page.
Details Reference
• Chapter 1
Understand the product functions and usage methods, the configuration devices • Chapter 2
1)
and specifications required for positioning control, and design the system. • Chapter 3
• Chapter 8 to Chapter 13
Install the QD75 onto the base unit, wire the QD75 and external connection devices
2) • Chapter 4
(drive unit, etc.).
• Chapter 5
Using GX Configurator-QP, set the parameters, positioning data, block start data • Chapter 8 to Chapter 13
3)
and condition data required for the positioning control to be executed. • GX Configurator-QP
Operating Manual
Using GX Developer, create the sequence program required for positioning • Chapter 6
4) operation. (When not using GX Configurator-QP, also create the sequence program • GX Developer Operating
for setting data.) Manual
• Chapter 7
Write the parameters and positioning data, etc., created with GX Configurator-QP
5) • GX Configurator-QP
into the QD75.
Operating Manual
Using GX Developer, write the created sequence program into the PLC CPU. • Chapter 7
6) (When not using GX Configurator-QP, also write in the sequence program for • GX Developer Operating
setting data.) Manual
• GX Configurator-QP
Carry out test operation and adjustments in the test mode to check the connection Operating Manual
with the QD75 and external connection device, and to confirm that the designated
7) • Chapter 13
positioning operation is executed correctly. (Debug the set "parameters" and
"positioning data", etc.) • GX Developer Operating
Manual
Carry out test operation and adjustment to confirm that the designated positioning
• GX Developer Operating
8) operation is executed correctly. (Debug the created sequence program. When not
using GX Configurator-QP, also debug the set data. Manual
• Chapter 5
• Chapter 15
Actually operate the positioning operation. At this time, monitor the operation state • GX Configurator-QP
9)
as required. If an error or warning occurs, remedy. Operating Manual
• GX Developer Operating
Manual
10) Service the QD75 as required. • Chapter 4
11) Dispose of the QD75. • Chapter 4
1 - 16
1 PRODUCT OUTLINE
MELSEC-Q
MEMO
1 - 17
1 PRODUCT OUTLINE
MELSEC-Q
The outline for starting each control is shown with the following flowchart.
It is assumed that each module is installed, and the required system configuration,
etc., has been prepared.
Flow of starting
Major position-
Control High-level positioning
ing control control OPR control Manual control
functions ·Position control
·Speed control ·Block start (Normal start) ·JOG operation
·Speed-position ·Condition start ·Machine OPR control
switching control ·Wait start
·Position-speed ·Inching operation
·Simultaneous start ·Fast OPR control
switching control ·Repeated start
·Other control ·Manual pulse generator operation
Positioning
Set the positioning parameters. )
Pr.1 to Pr.42 , Pr.150 )
parameters
to other than 0.
Cd.16 )
)
Control start
Operation
Control end
Stop
1 - 18
1 PRODUCT OUTLINE
MELSEC-Q
Setting method
<GX Configurator-QP>
<GX Developer>
Create sequence program for
executing main function
Write
Operation sequence program PLC CPU
<GX Developer>
1 - 19
1 PRODUCT OUTLINE
MELSEC-Q
The outline for the stopping process in these cases is shown below. (Excluding (1) for
normal stopping.)
Axis Stop process
operation OPR control Manual control
M code status
Stop Major High-level
Stop cause ON signal after Manual
axis Machine Fast positioning positioning JOG/
after stop stopping pulse
OPR OPR control control Inching
generator
( Md.26 ) control control operation
operation
Drive unit
Each No During Deceleration
Forced stop READY Immediate stop
axis change error stop
signal OFF
Hardware
Deceleration stop/sudden stop
stroke limit Deceleration
Fatal stop Each No During
upper/lower (Select with “ Pr.37 Sudden stop group1
(Stop group 1) axis change error stop
limit error
sudden stop selection” )
occurrence
PLC CPU
No
error
change Deceleration stop/sudden stop
Emergency occurrence
All During Deceleration
stop PLC READY Turns (Select with “ Pr.38 Sudden stop group2
axes error stop
(Stop group 2) signal OFF OFF sudden stop selection” )
Error in test No
mode change
Axis error
detection
(Error other
Relatively safe than stop
stop group 1 or 2) Each No During
axis change error
(Stop group 3) “Stop signal”
from
peripheral Deceleration stop/sudden stop
Deceleration
device (Select with “ Pr.39 Sudden stop group3
stop
"Stop signal" sudden stop selection”)
ON from
external When
Intentional stop source Each No stopped
(Stop group 3) "Axis stop axis change (While
signal" ON waiting)
from PLC
CPU
1 - 20
1 PRODUCT OUTLINE
MELSEC-Q
When a stop cause has occurred during operation with position control causing the
axis to stop, positioning to the end point of the positioning data can be restarted from
the stopped position by using the " Cd.6 Restart command".
If issued during a continuous positioning or continuous path control operation, the
restart command will cause the positioning to be re-executed using the
current position (pointed by the positioning data No. associated with the
moment when the movement was interrupted) as the start point.
(1) If the " Md.26 Axis operation status" is stopped, positioning to the end point of
the positioning data will be restarted from the stopped position regardless of
the absolute system or incremental system.
(2) When " Md.26 Axis operation status" is not stopped, the warning "Restart not
possible" (warning code: 104) will be applied, and the restart command will be
ignored.
Stop position due to stop cause Stop position due to stop cause
400 Designated end 400 Stop position
Start point Restart
point position after restart
address
200 200 Operation during
100 100 restart
Axis 2 Axis 2
100 300 700 100 300 700
Reference
If the positioning start signal [Y10 to Y13]/external command signal is turned ON
while the " Md.26 Axis operation status" is waiting or stopped, positioning will be
restarted from the start of the positioning start data regardless of the absolute
system or incremental system. ( : When the external command signal is set to
"External positioning start")
(Same as normal positioning.)
Axis 2 Axis 2
100 300 700 100 300 900
1 - 21
1 PRODUCT OUTLINE
MELSEC-Q
Note the following restrictions applicable to a system that uses a stepping motor:
(1) For the system that uses a stepping motor, executing the S-curve
acceleration/deceleration may cause step-out.
Before using the S-curve acceleration/deceleration, confirm that step-out does
not occur.
(2) Although setting the bias speed at start is required by the characteristics of the
stepping motor, the setting of the bias speed at start is disabled for circular
interpolation control.
POINT
When it is desired to check the following items, refer to the corresponding
explanation sections.
How to check the function version and SERIAL No. (Refer to Section 2.4)
1 - 22
2
Chapter 2 System Configuration
In this chapter, the general image of the system configuration of the positioning control
using QD75, the configuration devices, applicable CPU and the precautions of configuring
the system are explained.
Prepare the required configuration devices to match the positioning control system.
2-1
2 SYSTEM CONFIGURATION
MELSEC-Q
The general image of the system, including the QD75, PLC CPU and peripheral
devices is shown below.
(The Nos. in the illustration refer to the "No." in Section 2.2 "Component list".
Positioning
module
1
CPU I/O
module 1 module
USB cable
Extension 5
system
RS-232 cable
4
REMARK
1 Refer to Section 2.3 "Applicable system" for the CPU modules that can be used.
2 Refer to the CPU module User's Manual for the base units that can be used.
2-2
2 SYSTEM CONFIGURATION
MELSEC-Q
Drive
Motor
unit
Peripheral device
GX Configurator
2 -QP
Personal 3
computer
SWnD5C
-QD75P-E
2-3
2 SYSTEM CONFIGURATION
MELSEC-Q
The positioning system using the QD75 is configured of the following devices.
No. Part name Type Remarks
QD75P1
QD75P2 QD75
QD75P4 No. of control axes
1 Positioning module
QD75D1 P: Open collector output system
QD75D2 D: Differential driver output system
QD75D4
SW D5C-
2 GX Configurator-QP Refer to GX Configurator-QP Operating Manual for details.
QD75P-E
DOS/V personal (Prepared by user)
3 Personal computer
computer Refer to GX Configurator-QP Operating Manual for details.
(Prepared by user)
4 RS-232 cable QC30R2 An RS-232 cable is needed for connecting the CPU module with a
personal computer (DOS/V).
For details, refer to GX Configurator-QP Operating Manual.
(Prepared by user)
A USB cable is needed for connecting the CPU module with a personal
5 USB cable –
computer (DOS/V).
For details, refer to GX Configurator-QP Operating Manual.
6 Drive unit – (Prepared by user)
Manual pulse (Prepared by user)
7 –
generator Recommended: MR-HDP01 (Mitsubishi Electric)
(Prepared by user)
Connection cable
Cables are needed to connect the QD75 with the drive unit, manual pulse
(For connecting
8 – generator, and input devices in the machine system.
between the QD75
and the drive unit) (Prepare them referring to the manuals for the connected devices and
information given in 3.4.2 of this manual.)
2-4
2 SYSTEM CONFIGURATION
MELSEC-Q
2-5
2 SYSTEM CONFIGURATION
MELSEC-Q
2-6
2 SYSTEM CONFIGURATION
MELSEC-Q
2-7
2 SYSTEM CONFIGURATION
MELSEC-Q
100113000000000-B
SERIAL No.
2-8
2 SYSTEM CONFIGURATION
MELSEC-Q
REMARK
The serial number is displayed on the front of the module from January 2008
production. Products manufactured during switching period may not have the
serial number on the front of the module.
100113000000000
SERIAL No.
Function version
2-9
2 SYSTEM CONFIGURATION
MELSEC-Q
MEMO
2 - 10
Chapter 3 Specifications and Functions
3
3-1
3 SPECIFICATIONS AND FUNCTIONS
MELSEC-Q
3-2
3 SPECIFICATIONS AND FUNCTIONS
MELSEC-Q
3-3
3 SPECIFICATIONS AND FUNCTIONS
MELSEC-Q
The QD75 has several functions. In this manual, the QD75 functions are categorized
and explained as follows.
Main functions
(1) OPR control
"OPR control" is a function that established the start point for carrying out
positioning control, and carries out positioning toward that start point. This is
used to return a workpiece, located at a position other than the OP when the
power is turned ON or after positioning stop, to the OP. The "OPR control" is
preregistered in the QD75 as the "Positioning start data No. 9001 (Machine
OPR)", and "Positioning start data No. 9002 (Fast OPR). (Refer to Chapter 8
"OPR Control".)
(2) Major positioning control
This control is carried out using the "Positioning data" stored in the QD75.
Positioning control, such as position control and speed control, is executed by
setting the required items in this "positioning data" and starting that positioning
data. An "operation pattern" can be set in this "positioning data", and with this
whether to carry out control with continuous positioning data (ex.: positioning
data No. 1, No. 2, No. 3, ...) can be set. (Refer to Chapter 9 "Major Positioning
Control".)
(3) High-level positioning control
This control executes the "positioning data" stored in the QD75 using the
"block start data". The following types of applied positioning control can be
carried out.
• Random blocks, handling several continuing positioning data items as
"blocks", can be executed in the designated order.
• "Condition judgment" can be added to position control and speed control.
• The operation of the designated positioning data No. that is set for multiple
axes can be started simultaneously. (Pulses are output simultaneously to
multiple servos.)
• The designated positioning data can be executed repeatedly, etc.,
(Refer to Chapter 10 "High-level Positioning Control".)
(4) Manual control
By inputting a signal into the QD75 from an external source, the QD75 will
output a random pulse train and carry out control. Use this manual control to
move the workpiece to a random position (JOG operation), and to finely adjust
the positioning (inching operation, manual pulse generator operation), etc.
(Refer to Chapter 11 "Manual Control".)
Sub functions
When executing the main functions, control compensation, limits and functions can
be added. (Refer to Chapter 12 "Control Sub Functions".)
Common functions
Common control using the QD75 for "parameter initialization" or "backup of
execution data" can be carried out. (Refer to Chapter 13 "Common Functions".)
3-4
3 SPECIFICATIONS AND FUNCTIONS
MELSEC-Q
Common functions
Parameter initialization function Execution data backup function External I/O logic switching function
External I/O signal monitor function
3-5
3 SPECIFICATIONS AND FUNCTIONS
MELSEC-Q
The outline of the main functions for positioning control with the QD75 is described
below. (Refer to Section 2 for details on each function.)
Reference
Main functions Details
section
Mechanically establishes the positioning start point using
Machine OPR control 8.2
OPR control
3-6
3 SPECIFICATIONS AND FUNCTIONS
MELSEC-Q
Reference
Main functions Details
section
With one start, executes the positioning data in a random block
Block start (Normal start) 10.3.2
with the set order.
Carries out condition judgment set in the "condition data" for
the designated positioning data, and then executes the "block
start data".
Condition start 10.3.3
When the condition is established, the "block start data" is
executed. When not established, that "block start data" is
ignored, and the next point's "block start data" is executed.
Carries out condition judgment set in the "condition data" for
High-level positioning control
With the "major positioning control" ("high-level positioning control"), whether or not to
continuously execute the positioning data can be set with the "operation pattern".
Outlines of the "operation patterns" are given below.
3-7
3 SPECIFICATIONS AND FUNCTIONS
MELSEC-Q
Sub functions
The functions that assist positioning control using the QD75 are described below.
(Refer to Section 2 for details on each function.
Reference
Sub function Details
section
This function retries the machine OPR with the upper/lower
limit switches during machine OPR. This allows machine OPR
Functions OPR retry function 12.2.1
to be carried out even if the axis is not returned to before the
characteristic
near-point dog with JOG operation, etc.
to machine
OPR After returning to the machine OP, this function compensates
OP shift function the position by the designated distance from the machine OP 12.2.2
position and sets that position as the OP address.
This function compensates the mechanical backlash. Feed
Backlash compensation
pulses equivalent to the set backlash amount are output each 12.3.1
function
time the movement direction changes.
By setting the movement amount per pulse, this function can
freely change the machine movement amount per commanded
Functions that
pulse.
compensate Electronic gear function 12.3.2
When the movement amount per pulse is set, a flexible
control
positioning system that matches the machine system can be
structured.
This function suppresses the machine vibration when the
Near pass function 1 speed changes during continuous path control in the 12.3.3
interpolation control.
If the command speed exceeds " Pr.8 Speed limit value"
Speed limit function during control, this function limits the commanded speed to 12.4.1
within the " Pr.8 Speed limit value" setting range.
If the torque generated by the servomotor exceeds " Pr.17
Torque limit setting value" during control, this function limits the
Functions that Torque limit function 2 12.4.2
limit control generated torque to within the " Pr.17 Torque limit setting
value" setting range.
If a command outside of the upper/lower limit stroke limit
Software stroke limit
setting range, set in the parameters, is issued, this function will 12.4.3
function
not execute positioning for that command.
Hardware stroke limit This function carries out deceleration stop with the limit switch
12.4.4
function connected to the QD75 external device connector.
This function changes the speed during positioning.
Set the new speed in the speed change buffer memory
Speed change function ( Cd.14 New speed value), and change the speed with the 12.5.1
3-8
3 SPECIFICATIONS AND FUNCTIONS
MELSEC-Q
Reference
Sub function Details
section
This function temporarily stops the operation to confirm the
positioning operation during debugging, etc.
Step function 12.7.1
The operation can be stopped at each "automatic deceleration"
or "positioning data".
This function stops (decelerates to a stop) the positioning being
Skip function executed when the skip signal is input, and carries out the next 12.7.2
positioning.
This function issues a command for a sub work (clamp or drill
M code output function stop, tool change, etc.) corresponding to the M code No. 12.7.3
(0 to 65535) that can be set for each positioning data.
This function stores the address positioned with manual control
Teaching function into the positioning address having the designated positioning 12.7.4
data No. ( Cd.39 ).
Target position change This function changes the target position during positioning.
12.7.5
function Position and speed can be changed simultaneously.
At each automatic deceleration, this function calculates the
Other functions remaining distance for the QD75 to reach the positioning stop
Command in-position position. When the value is less than the set value, the
12.7.6
function "command in-position flag" is set to "1".
When using another auxiliary work before ending the control,
use this function as a trigger for the sub work.
Acceleration/deceleration
This function adjusts the control acceleration/deceleration. 12.7.7
process function
This function interrupts continuous operation. When this
Continuous operation
request is accepted, the operation stops when the execution of 6.5.4
interrupt function
the current positioning data is completed.
Pre-reading start function This function shortens the virtual start time. 12.7.8
Function that turns ON the flag when the constant speed status
Deceleration start flag or acceleration status switches to the deceleration status during
12.7.9
function position control, whose operation pattern is "Positioning
complete", to make the stop timing known.
Stop command processing
Function that selects a deceleration curve when a stop cause
for deceleration stop 12.7.10
occurs during deceleration stop processing to speed 0.
function
3-9
3 SPECIFICATIONS AND FUNCTIONS
MELSEC-Q
Common functions
The outline of the functions executed as necessary are described below.
(Refer to Section 2 for details on each function.)
Reference
Common functions Details
section
This function returns the "parameters" stored in the QD75
buffer memory and flash ROM to the default values.
Parameter initialization function The following two methods can be used. 13.2
1) Method using sequence program
2) Method using GX Configurator-QP
This functions stores the "setting data", currently being
executed, into the flash ROM.
Execution data backup function 13.3
1) Method using sequence program
2) Method using GX Configurator-QP
This function switches I/O signal logic according to externally
connected devices.
External I/O signal logic switching function This function enables the use of the system that does not use b 13.4
(N.C.)-contact signals, such as Drive unit READY or
Upper/lower limit signal, by setting parameters to positive logic.
This function monitors the external I/O signal monitor
External I/O signal monitor function information in the module's detailed information which can be 13.5
displayed on the system monitor of GX Developer*4.
4: Usable on GX Developer (SW6D5C-GPPW-E or later).
3 - 10
3 SPECIFICATIONS AND FUNCTIONS
MELSEC-Q
MEMO
3 - 11
3 SPECIFICATIONS AND FUNCTIONS
MELSEC-Q
With positioning control using the QD75, the main functions and sub functions can be
combined and used as necessary. A list of the main function and sub function
combinations is given below.
Functions characteristic
Sub functions
to machine OPR
OP shift function
Combination with operation
Main functions
pattern. 1
3 - 12
Backlash compensation
function
control
compensate
Functions that
Near pass function
2
Speed limit function
control
function
Hardware stroke limit
Functions that limit
function
REMARK
Speed change function
3
3 SPECIFICATIONS AND FUNCTIONS
Acceleration/ deceleration
time change function
control details
3 - 13
positioning control" and sub functions.
Step function
Skip function
8
Teaching function
Target position change
function
4
Command in-position
function
Other functions
Acceleration/deceleration
process function
5
Pre-reading start function
7
6
6
function
control". For combinations with the sub functions, refer to the combinations of the "major
• The "common functions" are functions executed as necessary. (These are not combined
• "High-level positioning control" is a control used in combination with the "major positioning
Stop command processing
MELSEC-Q
The QD75 uses 32 input points and 32 output points for exchanging data with the PLC
CPU.
The input/output signals when the QD75 is mounted in slot No. 0 of the main base unit
are shown below.
Device X refers to the signals input from the QD75 to the PLC CPU, and device Y
refers to the signals output from the PLC CPU to the QD75.
Signal direction: QD75 PLC CPU Signal direction: PLC CPU QD75
Device No. Signal name Device No. Signal name
X0 QD75 READY Y0 PLC READY
X1 Synchronization flag Y1
X2 Y2 Use prohibited
Use prohibited
X3 Y3
X4 Axis 1 Y4 Axis 1
X5 Axis 2 Y5 Axis 2
M code ON Axis stop
X6 Axis 3 Y6 Axis 3
X7 Axis 4 Y7 Axis 4
X8 Axis 1 Y8 Axis 1 Forward run JOG start
X9 Axis 2 Y9 Axis 1 Reverse run JOG start
Error detection
XA Axis 3 YA Axis 2 Forward run JOG start
XB Axis 4 YB Axis 2 Reverse run JOG start
XC Axis 1 YC Axis 3 Forward run JOG start
XD Axis 2 YD Axis 3 Reverse run JOG start
BUSY
XE Axis 3 YE Axis 4 Forward run JOG start
XF Axis 4 YF Axis 4 Reverse run JOG start
X10 Axis 1 Y10 Axis 1
X11 Axis 2 Y11 Axis 2
Start complete Positioning start
X12 Axis 3 Y12 Axis 3
X13 Axis 4 Y13 Axis 4
X14 Axis 1 Y14 Axis 1
X15 Axis 2 Y15 Axis 2
Positioning complete Execution prohibition flag
X16 Axis 3 Y16 Axis 3
X17 Axis 4 Y17 Axis 4
X18 Y18
X19 Y19
X1A Y1A
X1B Y1B
Use prohibited Use prohibited
X1C Y1C
X1D Y1D
X1E Y1E
X1F Y1F
Important
[Y1 to Y3], [Y18 to Y1F], [X2, X3], and [X18 to X1F] are used by the system, and cannot be
used by the user.
If these devices are used, the operation of the QD75 will not be guaranteed.
3 - 14
3 SPECIFICATIONS AND FUNCTIONS
MELSEC-Q
The ON/OFF timing and conditions of the input signals are shown below.
Device
Signal name Details
No.
X0 QD75 READY ON: READY • When the PLC READY signal [Y0] turns from OFF to ON, the parameter setting
OFF: Not READY/ range is checked. If no error is found, this signal turns ON.
Watch dog • When the PLC READY signal [Y0] turns OFF, this signal turns OFF.
timer error • When watch dog timer error occurs, this signal turns OFF.
• This signal is used for interlock in a sequence program, etc.
ON
PLC READY signal [Y0] OFF
ON
QD75 READY signal [X0] OFF
X1 Synchronization OFF: Module
• After the PLC is turned ON or the CPU module is reset, this signal turns ON if the
flag access
access from the CPU module to the QD75 is possible.
disabled
• When "Asynchronous" is selected in the module synchronization setting of the CPU
ON: Module
module, this signal can be used as interlock for the access from a sequence program
access
to the QD75.
enabled
X4 Axis 1 M code ON OFF: M code is • In the WITH mode, this signal turns ON when the positioning data operation is
X5 Axis 2 not set started. In the AFTER mode, this signal turns ON when the positioning data
X6 Axis 3 ON: M code is operation is completed.
X7 Axis 4 set • This signal turns OFF with the " Cd.7 M code OFF request".
• When M code is not designated (when " Da.10 M code" is "0"), this signal will
remain OFF.
• With using continuous path control for the positioning operation, the positioning will
continue even when this signal does not turn OFF. However, a warning will occur.
(Warning code: 503)
• When the PLC READY signal [Y0] turns OFF, the M code ON signal will also turn
OFF.
• If operation is started while the M code is ON, an error will occur.
X8 Axis 1 Error OFF: No error • This signal turns ON when an error listed in Section 15.1 occurs, and turns OFF
X9 Axis 2 detection ON: Error when the error is reset on " Cd.5 Axis error rest".
XA Axis 3 occurrence
XB Axis 4
XC Axis 1 BUSY 1 OFF: Not BUSY • This signal turns ON at the start of positioning, OPR or JOG operation. It turns OFF
XD Axis 2 ON: BUSY when the " Da.9 Dwell time" has passed after positioning stops. (This signal
XE Axis 3
remains ON during positioning.) This signal turns OFF when the positioning is
XF Axis 4
stopped with step operation.
• During manual pulse generator operation, this signal turns ON while the " Cd.21
Manual pulse generator enable flag" is ON.
• This signal turns OFF at error completion or positioning stop.
X10 Axis 1 Start OFF: Start • This signal turns ON when the positioning start signal turns ON and the QD75 starts
X11 Axis 2 complete incomplete the positioning process.
X12 Axis 3 ON: Start (The start complete signal also turns ON during OPR control.)
X13 Axis 4 complete ON
Positioning start signal [Y10] OFF
ON
Start complete signal [X10] OFF
X14 Axis 1 Positioning OFF: Positioning • This signal turns ON for the time set in " Pr.40 Positioning complete signal output
X15 Axis 2 complete incomplete
X16 Axis 3 2 ON: Positioning time" from the instant when the positioning control for each positioning data No. is
X17 Axis 4 complete completed.
(It does not turn ON when " Pr.40 Positioning complete signal output time" is "0".)
• If positioning (including OPR), JOG/Inching operation, or manual pulse generator
operation is started while this signal is ON, the signal will turn OFF.
• This signal will not turn ON when speed control or positioning is canceled midway.
3 - 15
3 SPECIFICATIONS AND FUNCTIONS
MELSEC-Q
Important
1: The BUSY signal turns ON even when position control of movement amount 0 is
executed. However, since the ON time is short, the ON status may not be detected in the
sequence program.
2: "Positioning complete" of the QD75 refers to the point when the pulse output from QD75 is
completed.
Thus, even if the QD75's positioning complete signal turns ON, the system may continue
operation.
The ON/OFF timing and conditions of the output signals are shown below.
Device No. Signal name Details
Y0 PLC READY OFF: (a) This signal notifies the QD75 that the PLC CPU is normal.
PLC READY OFF • It is turned ON/OFF with the sequence program.
ON: • The PLC READY signal is turned ON during positioning
PLC READY ON control, OPR control, JOG operation, inching operation, and
manual pulse generator operation, unless the system is in the
peripheral device test mode.
(b) When parameters are changed, the PLC READY signal is turned
OFF depending on the parameter (Refer to Chapter 7.).
(c) The following processes are carried out when the PLC READY
signal turns from OFF to ON.
• The parameter setting range is checked.
• The QD75 READY signal [X0] turns ON.
(d) The following processes are carried out when the PLC READY
signal turns from ON to OFF.
In these cases, the OFF time should be set to 100ms or more.
• The QD75 READY signal [X0] turns OFF.
• The operating axis stops.
• The M code ON signal [X4 to X7] for each axis turns OFF, and
"0" is stored in " Md.25 Valid M code".
(e) When parameters or positioning data (No. 1 to 600) are written
from the peripheral device or PLC CPU to the flash ROM, the
PLC READY signal will turn OFF.
Y4 Axis 1 Axis stop OFF: • When the axis stop signal turns ON, the OPR control, positioning
Y5 Axis 2 Axis stop not control, JOG operation, inching operation and manual pulse
Y6 Axis 3 requested generator operation will stop.
Y7 Axis 4 ON: • By turning the axis stop signal ON during positioning operation, the
Axis stop requested positioning operation will be "stopped".
• Whether to decelerate or suddenly stop can be selected with
" Pr.39 Stop group 3 sudden stop selection".
• During interpolation control of the positioning operation, if the axis
stop signal of any axis turns ON, all axes in the interpolation
control will decelerate and stop.
Y8 Axis 1 Forward run JOG start OFF: • When the JOG start signal is ON, JOG operation will be carried
Y9 Axis 1 Reverse run JOG start JOG not started out at the " Cd.17 JOG speed". When the JOG start signal turns
YA Axis 2 Forward run JOG start ON:
YB Axis 2 Reverse run JOG start JOG started OFF, the operation will decelerate and stop.
YC Axis 3 Forward run JOG start • When inching movement amount is set, the designated movement
YD Axis 3 Reverse run JOG start amount is output for one control cycle and then the operation
YE Axis 4 Forward run JOG start stops.
YF Axis 4 Reverse run JOG start
Y10 Axis 1 Positioning start OFF: • OPR operation or positioning operation is started.
Y11 Axis 2 Positioning start not • The positioning start signal is valid at the rising edge, and the
Y12 Axis 3 requested operation is started.
Y13 Axis 4 ON: • When the positioning start signal turns ON during BUSY, the
Positioning start operation starting warning will occur (warning code: 100).
requested
Y14 Axis 1 Execution prohibition OFF: • If the execution prohibition flag is ON when the positioning start
Y15 Axis 2 flag Not during execution signal turns ON, positioning control does not start until the
Y16 Axis 3 prohibition execution prohibition flag turns OFF. (Pulse output not provided)
Y17 Axis 4 ON: Used with the "Pre-reading start function". (Refer to Section
During execution 12.7.8)
prohibition
3 - 16
3 SPECIFICATIONS AND FUNCTIONS
MELSEC-Q
Input specifications
Rated input Working ON OFF Input Response
Signal name
voltage/current voltage range voltage/current voltage/current resistance time
Drive unit READY
(READY)
Stop signal (STOP)
19.2 to 17.5VDC or more/ 7VDC or less/
Upper limit signal 24VDC/5mA Approx. 4.7kΩ 4ms or less
26.4VDC 3.5mA or more 1.7mA or less
(FLS)
Lower limit signal
(RLS)
2VDC or more/ 0.5VDC or less/
5VDC/5mA 4.5 to 6.1VDC Approx. 0.3kΩ 1ms or less
2mA or more 0.5mA or less
10VDC or more/ 3VDC or less/
24VDC/5mA 12 to 26.4VDC Approx. 4.7kΩ 1ms or less
3mA or more 0.2mA or less
Zero signal ON
(PG05/PG024) 3 s or less 3 s or less
1ms or more
OFF
3 - 17
3 SPECIFICATIONS AND FUNCTIONS
MELSEC-Q
Output specifications
Max. load
Rated load Working load Max. voltage Leakage current
Signal name current/rush Response time
voltage voltage range drop at ON at OFF
current
50mA/1 point/
5 to 24VDC 4.75 to 30VDC 200mA 10ms or 0.5VDC (TYP) 0.1mA or less —
less
The table below shows the rising/falling edge time and duty ratio when the QD75P is used.
QD75P
ON
OFF
tr tf
PULSE
SIGN High Low Low High
Aφ
Bφ
: Pulse rising/falling edge time when the QD75P is used (Unit for "tr" and "tf": µs, unit for "Duty": %)
... When ambient temperature is room temperature.
Load voltage (V) 26.4 4.75
Cable length (m) 1 2 1 2
Load Pulse tr tf tr tf tr tf tr tf
current speed (Rising (Falling Duty (Rising (Falling Duty (Rising (Falling Duty (Rising (Falling Duty
(mA) (kpps) edge) edge) edge) edge) edge) edge) edge) edge)
200 2.33 0.08 6.6 2.20 0.08 14.6 0.57 0.07 44.8 0.95 0.07 39.0
2 100 2.42 0.09 34.7 4.44 0.10 12.6 0.57 0.07 47.5 1.01 0.08 45.3
10 2.44 0.09 48.7 4.52 0.10 47.7 0.60 0.07 49.7 1.04 0.08 49.5
200 1.00 0.09 39.8 1.77 0.11 24.5 0.32 0.07 48.4 0.45 0.08 45.8
5 100 1.01 0.09 45.3 1.76 0.10 40.3 0.31 0.07 49.2 0.45 0.08 48.7
10 1.00 0.10 49.6 1.72 0.10 49.2 0.33 0.08 49.9 0.49 0.08 49.8
200 0.27 0.10 50.1 0.44 0.11 48.0 0.15 0.08 50.7 0.15 0.08 51.3
20 100 0.29 0.10 49.8 0.48 0.11 49.1 0.15 0.08 50.4 0.18 0.08 50.4
10 0.30 0.10 49.9 0.48 0.12 49.9 0.17 0.08 50.1 0.18 0.08 49.9
200 0.19 0.11 50.5 0.24 0.12 50.6 0.15 0.10 51.8 0.14 0.11 51.7
50 100 0.19 0.11 50.4 0.24 0.12 50.4 0.14 0.10 50.7 0.15 0.10 50.8
10 0.18 0.12 50.0 0.22 0.13 50.1 0.14 0.10 50.1 0.15 0.12 50.1
The time for H/L width of differential output waveform with the QD75D . (Cable length: 2m, Ambient temperature: room temperature)
3 - 18
3 SPECIFICATIONS AND FUNCTIONS
MELSEC-Q
The specifications of the connector section, which is the input/output interface for the
QD75 and external device, are shown below.
The signal layout for the QD75 external device connection connector is shown.
3 - 19
3 SPECIFICATIONS AND FUNCTIONS
MELSEC-Q
The details of each QD75 external device connection connector are shown below:
Pin No. Signal details
Signal name
AX1 AX2 AX3 AX4 (Negative logic is selected by external I/O signal logic selection)
• Input the pulse signal from the manual pulse generator A phase and B
Manual pulse generator A phase.
phase 1A19 • If the A phase leads the B phase, the positioning address will increase at the
—
Manual pulse generator B 1A20 rising and falling edges of each phase.
phase • If the B phase leads the A phase, the positioning address will decrease at the
rising and falling edges of each phase.
[When increased] [When decreased]
Positioning Positioning
address +1+1+1+1+1+1+1+1 address -1 -1 -1 -1 -1 -1 -1 -1
3 - 20
3 SPECIFICATIONS AND FUNCTIONS
MELSEC-Q
Time
Near-point dog
Deviation counter clear 1A13 1B13 2A13 2B13 Zero signal OFF
ON
Pr.55 Deviation counter
clear signal output time
CLEAR OFF
ON
After feed pulse output stops
• The output time of the deviation counter clear signal is set in " Pr.55
Deviation counter clear signal output time".
• Use the drive unit that can reset the droop pulse amount in the internal
deviation counter when the QD75 turns this signal ON.
(Note) The deviation counter clear is a signal output by the QD75 during
machine OPR. It cannot be output randomly by the user.
Deviation counter clear common 1A14 1B14 2A14 2B14 • Common for deviation counter clear signal
3 - 21
3 SPECIFICATIONS AND FUNCTIONS
MELSEC-Q
The outline diagrams of the internal circuits for the QD75P1/QD75D1 external device
connection interface are shown below.
External command
1A5 CHG
signal
2
24VDC 1A6
Common COM
1A7
5V (+)
PULSER A+
1A19
Manual pulse generator
A A phase
(–)
5VDC PULSER A–
1B19
B
(+)
PULSER B+
0V 1A20
Manual pulse generator
Manual pulse
B phase
generator (–)
(MR-HDP01) PULSER B–
1B20
1A8 PG024
Zero signal
1A9 PG05
1: The symbols in Need for wiring column indicate the following meanings:
• : Wiring is necessary for positioning.
• : Wiring is necessary depending on the situation.
2: Either polarity can be connected to the common (COM).
3 - 22
3 SPECIFICATIONS AND FUNCTIONS
MELSEC-Q
DOG
OFF
24VDC
COM
Negative logic
(Initial value) (Voltage applied)
DOG
ON
24VDC
COM
DOG
ON
24VDC
COM
Positive logic
(Voltage applied)
DOG
OFF
24VDC
COM
3: Set the logic setting using " Pr.22 Input signal logic selection". For details of the settings, refer to
"Section 5.2.3 Detailed parameters 1" and "Section 13.4 External I/O signal logic switching function".
4: When using the upper limit signal (FLS) or lower limit signal (RLS), always wire it as a "b" (normally
closed) contact in the negative logic setting. The signal will turn OFF to stop positioning.
3 - 23
3 SPECIFICATIONS AND FUNCTIONS
MELSEC-Q
1A15 CW PULSE F
A phase
1A16 PULSE PULSE COM
1A15 CW PULSE F+
A phase
1A16 PULSE PULSE F–
2 Differential driver
SG
common terminal
2
1: The symbols in Need for wiring column indicate the following meanings:
• : Wiring is necessary for positioning.
• : Wiring is necessary depending on the situation.
2: A terminal block at the bottom of the module. (Refer to Section 4.1.2)
3 - 24
Chapter 4 Installation, Wiring and Maintenance
of the Product
The installation, wiring and maintenance of the QD75 are explained in this chapter.
4-1
4 INSTALLATION, WIRING AND MAINTENANCE OF THE PRODUCT
MELSEC-Q
The outline and procedures for QD75 installation, wiring and maintenance are shown
below.
STEP 2
Installing the Install the module (QD75) on the base unit.
Refer to
module Section 4.2
Confirming the
installation and STEP 5 Check the connection using GX Configurator-QP.
Confirm the connection
wiring Refer to
Section 4.4
4-2
4 INSTALLATION, WIRING AND MAINTENANCE OF THE PRODUCT
MELSEC-Q
(1) (1)
(2) (2)
(3) (3)
(5) (5)
(4)
4-3
4 INSTALLATION, WIRING AND MAINTENANCE OF THE PRODUCT
MELSEC-Q
(2) The LED display indicates the following operation statuses of the QD75 and axes.
QD75P4
RUN AX1
AX2
AX3
ERR AX4
4-4
4 INSTALLATION, WIRING AND MAINTENANCE OF THE PRODUCT
MELSEC-Q
Handle the QD75 and cable while observing the following precautions.
! CAUTION
Use the PLC within the general specifications environment given in this manual.
Using the PLC outside the general specification range environment could lead to electric
shocks, fires, malfunctioning, product damage or deterioration.
Do not directly touch the conductive section and electronic parts of the module.
Failure to observe this could lead to module malfunctioning or trouble.
Make sure that foreign matter, such as cutting chips or wire scraps, do not enter the module.
Failure to observe this could lead to fires, trouble or malfunctioning.
Never disassemble or modify the module.
Failure to observe this could lead to trouble, malfunctioning, injuries or fires.
4-5
4 INSTALLATION, WIRING AND MAINTENANCE OF THE PRODUCT
MELSEC-Q
(2) Cable
• Do not press on the cable with a sharp object.
• Do not twist the cable with force.
• Do not forcibly pull on the cable.
• Do not step on the cable.
• Do not place objects on the cable.
• Do not damage the cable sheath.
4-6
4 INSTALLATION, WIRING AND MAINTENANCE OF THE PRODUCT
MELSEC-Q
4.2 Installation
The precautions for installing the QD75 are given below. Refer to this section as well
as "4.1.3 Handling precautions" when carrying out the work.
! DANGER
Completely turn off the externally supplied power used in the system before cleaning or
tightening the screws.
Failure to turn all phases OFF could lead to electric shocks.
! CAUTION
Never disassemble or modify the module.
Failure to observe this could lead to trouble, malfunctioning, injuries or fires.
Completely turn off the externally supplied power used in the system before installing or
removing the module.
Failure to turn all phases OFF could lead to module trouble or malfunctioning.
Do not install/remove the module to/from the base unit, or the terminal block to/from the module
more than 50 times after the first use of the product (IEC 61131-2 compliant). Failure to do so
may cause the module to malfunction due to poor contact of connector.
Use the PLC within the general specifications environment given in this manual.
Using the PLC outside the general specification range environment could lead to electric
shocks, fires, malfunctioning, product damage or deterioration.
Hold down the module mounting lever at the bottom of the module and securely insert the
module fixing projection into the fixing holes of the base module. Improper mounting of the
module may lead to malfunctioning, faults, or dropping.
When using the module in the environment subject to much vibration, secure the module with a
screw.
Tighten the screw within the range of the specified tightening torque.
Insufficient tightening may lead to dropping, short-circuit, or malfunctioning.
Excessive tightening may damage the screw or module, leading to dropping, short-circuit, or
malfunctioning.
4-7
4 INSTALLATION, WIRING AND MAINTENANCE OF THE PRODUCT
MELSEC-Q
4.3 Wiring
The precautions for wiring the QD75 are given below. Refer to this section as well as
"4.1.3 Handling precautions" when carrying out the work.
(1) Always confirm the terminal layout before connecting the wires to the QD75.
(For the terminal layout, refer to Section 3.4.2 "Signal layout for external device
connection connector".)
(2) Correctly solder the external wiring connector. An incomplete soldering could lead
to malfunctioning.
(3) Make sure that foreign matter such as cutting chips and wire scraps does not
enter the QD75. Failure to observe this could lead to fires, faults or
malfunctioning.
(4) A protective label is attached on the top of the QD75 to avoid foreign matter such
as wire scraps from entering inside during wiring process. Do not remove the label
until the wiring is completed. Before starting the system, however, be sure to
remove the label to ensure heat radiation.
(5) Securely mount the external device connector to the connector on the QD75 with
two screws.
(6) Do not disconnect the external wiring cable connected to the QD75 and the drive
unit by pulling the cable section. When the cable has a connector, be sure to hold
the connector connected to the QD75 and the drive unit. Pulling the cable while it
is connected to the QD75 and the drive unit may lead to malfunctioning or
damage of the QD75 and the drive unit or cable.
(7) Do not bundle or adjacently lay the connection cable connected to the QD75
external I/O signals or drive unit with the main circuit line, power line, or the load
line other than that for the PLC. Separate these by 100mm as a guide. Failure to
observe this could lead to malfunctioning caused by noise, surge, or induction.
(8) The shielded cable for connecting QD75 can be secured in place.
If the shielded cable is not secured, unevenness or movement of the shielded
cable or careless pulling on it could result in damage to the QD75 or drive unit or
shielded cable or defective cable connections could cause mis-operation of the
unit.
(9) If the cable connected to the QD75 and the power line must be adjacently laid
(less than 100mm), use a shielded cable. Ground the shield of the cable securely
to the control panel on the QD75 side. (A wiring example is given on the next
page.)
4-8
4 INSTALLATION, WIRING AND MAINTENANCE OF THE PRODUCT
MELSEC-Q
The following shows a wiring example for noise reduction in the case where the
connector A6CON1 is used.
Connector
Connector
(A6CON1)
To external Shielded
devices cable
Drive
unit
To external
device
To drive unit
4-9
4 INSTALLATION, WIRING AND MAINTENANCE OF THE PRODUCT
MELSEC-Q
4 - 10
4 INSTALLATION, WIRING AND MAINTENANCE OF THE PRODUCT
MELSEC-Q
(10) To make this product conform to the EMC and Low Voltage Directive, be
sure to use a AD75CK type cable clamp (manufactured by Mitsubishi
Electric) for grounding to the control box.
QD75
20cm(7.88inch)
to 30cm(11.82inch) AD75CK
Shield cable
Shield
Ground terminal
Using the AD75CK, you can tie four cables of about 7mm outside diameter together for
grounding.
4 - 11
4 INSTALLATION, WIRING AND MAINTENANCE OF THE PRODUCT
MELSEC-Q
Drive Drive
Relay
unit unit
Control panel
Changed
Wiring duct
Relay Relay
Relay
Control panel
(11) The influence of noise may be reduced by installing ferrite cores to the cable
connected to the QD75 as a noise reduction technique.
For the noise reduction techniques related to connection with the servo amplifier,
also refer to the instruction manual of the servo amplifier.
(12) If compliance with the EMC directive is not required, the influence of external
noise may be reduced by making the configuration compliant with the EMC
directive.
For the configuration compliant with the EMC directive, refer to Chapter 9 "EMC
AND LOW VOLTAGE DIRECTIVES" of the QCPU User's Manual (Hardware
Design, Maintenance and Inspection).
4 - 12
4 INSTALLATION, WIRING AND MAINTENANCE OF THE PRODUCT
MELSEC-Q
When the differential driver output system (QD75D1, QD75D2, QD75D4) is used, a
potential difference between commons may occur between the differential driver
common terminal and the differential receiver common terminal of the drive unit. To
remove the potential difference between commons, connect the differential driver
common terminal of the QD75D1/QD75D2/QD75D4 and the differential receiver
common terminal of the drive unit.
When the common terminal of the drive unit is photocoupler-connected, the wiring to
the differential driver common terminal of the QD75D1/QD75D2/QD75D4 is not
needed since a potential difference between commons does not exist.
(For the drive unit specifications, refer to the manual of the used drive unit.)
The following shows an example of wiring to the differential driver common terminal of
the QD75D1/QD75D2/QD75D4.
Up to two cables can be connected to one differential driver common terminal. (For
details, refer to Section 3.1 "Performance specifications".
Module front
Module bottom
Module front
Module side
4 - 13
4 INSTALLATION, WIRING AND MAINTENANCE OF THE PRODUCT
MELSEC-Q
Check the following points when completed with the QD75 installation and wiring.
With this "connection confirmation", "whether the direction that the QD75
recognizes as forward run matches the address increment direction in the actual
positioning work", and "whether the QD75 recognizes the external input/output
signals such as the near-point dog signal and stop signal" can be checked.
Note that GX Developer may also be used to "confirm the connection between
the QD75 and external device (I/O signals).
For details, refer to Section 13.5 "External I/O signal monitor function" and GX
Developer Operating Manual (SW6D5C-GPPW-E or later).
Important
If the QD75 is faulty, or when the required signals such as the near-point dog signal and stop signal are
not recognized, unexpected accidents such as "not decelerating at the near-point dog during machine
OPR and colliding with the stopper", or "not being able to stop with the stop signal" may occur.
The "connection confirmation" must be carried out not only when structuring the positioning system, but
also when the system has been changed with module replacement or rewiring, etc.
4 - 14
4 INSTALLATION, WIRING AND MAINTENANCE OF THE PRODUCT
MELSEC-Q
4.5 Maintenance
The precautions for servicing the QD75 are given below. Refer to this section as well
as "4.1.3 Handling precautions" when carrying out the work.
! DANGER
Always turn all phases of the power supply OFF externally before cleaning or tightening the
screws.
Failure to turn all phases OFF could lead to electric shocks.
! CAUTION
Never disassemble or modify the module.
Failure to observe this could lead to trouble, malfunctioning, injuries or fires.
Completely turn off the externally supplied power used in the system before installing or
removing the module.
Failure to turn all phases OFF could lead to module trouble or malfunctioning.
! CAUTION
When disposing of the product, handle it as industrial waste.
4 - 15
4 INSTALLATION, WIRING AND MAINTENANCE OF THE PRODUCT
MELSEC-Q
MEMO
4 - 16
Chapter 5 Data Used for Positioning Control
The parameters and data used to carry out positioning control with the QD75 are explained
in this chapter.
With the positioning system using the QD75, the various parameters and data explained
in this chapter are used for control. The parameters and data include parameters set
according to the device configuration, such as the system configuration, and parameters
and data set according to each control. Read this section thoroughly and make settings
according to each control or application.
Refer to Section 2 for details on each control.
5-1
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
The parameters and data required to carry out control with the QD75 include the
"setting data", "monitor data" and "control data" shown below.
Setting data (Data set beforehand according to the machine and application, and stored in the flash ROM.)
Positioning
Parameters Basic parameters 1
parameters Set according to the machine and applicable
)
Pr.1 to Pr.57 )
Basic parameters 2 motor when system is started up.
Pr.1 to Pr.42 , Pr.150 )
)
Note)
If the setting of the basic parameters 1 is incorrect, the rotation direction
may be reversed, or no operation may take place.
Detailed parameters 1
Set according to the system configuration when
Detailed parameters 2 the system is started up.
Note)
Detailed parameters 2 are data items for using the QD75 functions to the fullest.
Set as required.
OPR
OPR basic parameters
parameters Set the values required for carrying
OPR detailed parameters out OPR control.
Pr.43 to Pr.57 )
)
Positioning data Positioning data Set the data for "major positioning control".
Da.1 to Da.10 )
)
Block start data Block start data Set the block start data for "high-level positioning control".
Da.11 to Da.14 )
)
Da.11 to Da.19 )
)
Condition data Set the condition data for "high-level positioning control".
Da.15 to Da.19 )
)
Memo data Set the condition judgment values for the condition
data used in "high-level positioning control".
The data is set with the sequence program or peripheral device.
In this chapter, the method using the peripheral device will be explained.
(Refer to "Point" on the next page.)
The basic parameters 1, detailed parameters 1, and OPR parameters become valid
when the PLC READY signal [Y0] turns from OFF to ON. Note, however, that the
only valid value of the " Pr.5 Pulse output mode" is the value at the moment when
the PLC READY signal [Y0] turns from OFF to ON for the first time after the power
is switched ON or the PLC CPU is reset. Once the PLC READY signal [Y0] has
been turned ON, the value will not be reset even if another value is set to the
parameter and the PLC READY signal [Y0] is turned from OFF to ON.
The basic parameters 2 and detailed parameters 2 become valid immediately when
they are written to the buffer memory, regardless of the state of the PLC READY
signal [Y0].
Even when the PLC READY signal [Y0] is ON, the values or contents of the
following can be changed: basic parameters 2, detailed parameters 2, positioning
data, and block start data.
5-2
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
The only valid data assigned to these parameters are the data read at the moment
when a positioning or JOG operation is started. Once the operation has started, any
modification to the data is ignored.
Exceptionally, however, modifications to the following are valid even when they are
made during a positioning operation: acceleration time 0 to 3, deceleration time 0 to
3, and external start command.
• Acceleration time 0 to 3 and deceleration time 0 to 3:
Positioning data are pre-read and pre-analyzed. Modifications to the
data four or more steps after the current step are valid.
• External command function selection: The value at the time of detection is valid.
Monitor data (Data that indicates the control state. Stored in the buffer memory, and monitors as necessary.)
: Md.1 to Md.48
System monitor data Monitors the QD75 specifications and the operation history.
Md.1 to Md.19 )
)
Axis monitor data Monitors the data related to the operating axis, such as the current position
and speed.
Md.20 to Md.48 )
)
The data is monitored with the sequence program or peripheral device. In this chapter,
the method using the peripheral device will be explained.
Control data (Data for user to control positioning system.) : Cd.1 to Cd.42
System control data Performs write/initialization, etc. of the "setting data" in the module.
Cd.1 to Cd.2 , Cd.41 , Cd.42 )
)
Makes settings related to the operation, and controls the speed change during
Axis control data
operation, and stops/restarts the operation.
Cd.3 to Cd.40 )
)
Control using the control data is carried out with the sequence program.
" Cd.41 Deceleration start flag valid" is valid for only the value at the time
when the PLC READY signal [Y0] turns from OFF to ON.
POINT
(1) The "setting data" is created for each axis.
(2) The "setting data" parameters have determined default values, and are set to
the default values before shipment from the factory. (Parameters related to
axes that are not used are left at the default value.)
(3) The "setting data" can be initialized with GX Configurator-QP or the sequence
program.
(4) It is recommended to set the "setting data" with GX Configurator-QP. When
executed with the sequence program, many sequence programs and devices
must be used. This will not only complicate the program, but will also increase
the scan time.
5-3
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
The table below lists items set to the positioning parameters. Setting of positioning
parameters is similarly done for individual axes for all controls achieved by the QD75.
For details of controls, refer to Section 2. For details of setting items, refer to Section
5.2 "List of parameters".
Control Major positioning control Manual control
Position control Other control
Inching operation
LOOP to LEND
JOG operation
OPR control
control
Positioning parameter
Pr.1 Unit setting –
No. of pulses per rotation (Ap)
Pr.2
Basic parameters 1
(Unit: pulse)
Pr.3 Movement amount per rotation (Al) 12.3.2
: Always set
: Set as required (Read "–" when not required.)
: Setting not possible
: Setting restricted
– : Setting not required. (This is an irrelevant item, so the set value will be ignored. If the value is the default value or within the setting range, there is no
problem.)
5-4
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
Inching operation
LOOP to LEND
JOG operation
OPR control
control
Positioning parameter
Pr.25 Acceleration time 1 – – –
Pr.26 Acceleration time 2 – – –
Pr.27 Acceleration time 3 – – –
12.7.7
Pr.28 Deceleration time 1 – – –
Pr.29 Deceleration time 2 – – –
Pr.30 Deceleration time 3 – – –
Pr.31 JOG speed limit value – – – – – – – – – 12.4.1
Detailed parameters 2
: Always set
: Set as required ("–" when not set)
– : Setting not required (This is an irrelevant item, so the setting value will be ignored. If the value is the default value or within the setting range, there is no
problem.)
(1) When the "PLC READY signal [Y0]" output from the PLC CPU to the QD75
changes from OFF to ON
(2) When the test operation button is turned ON in the test mode using GX
Configurator-QP
(3) When an error check is carried out with GX Configurator-QP
REMARK
• "High-level positioning control" is carried out in combination with the "major
positioning control".
Refer to the "major positioning control" parameter settings for details on the
parameters required for "high-level positioning control".
5-5
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
When carrying out "OPR control", the "OPR parameters" must be set. The setting
items for the "OPR parameters" are shown below.
The "OPR parameters" are set commonly for each axis.
Refer to Chapter 8 "OPR control" for details on the "OPR control", and to Section 5.2
"List of parameters" for details on each setting item.
OPR control
Fast
Machine OPR control
OPR control
OPR parameters
Count method 1)
Count method 2)
Stopper method
Stopper method
Stopper method
Near-point dog
Pr.43 OPR method
method
OPR basic parameters
1)
2)
3)
Pr.44 OPR direction
Pr.45 OP address
Pr.46 OPR speed
Pr.47 Creep speed
Pr.48 OPR retry R R R – R R
Pr.49 OPR dwell time – – – – –
: Always set
: Preset parameters are used for machine OPR control.
– : Setting not required (This is an irrelevant item, so the setting value will be ignored. If the value is the default value or
within the setting range, there is no problem.)
R : Set when using the "12.2.1 OPR retry function". ("–" when not set.)
S : Set when using the "12.2.2 OP shift function". ("–" when not set.)
C : Set the deviation counter clear signal output time. (Read as "–" when the setting is not required.)
(1) When the "PLC READY signal [Y0]" output from the PLC CPU to the QD75
changes from OFF to ON
(2) When the test operation button is turned ON in the test mode using GX
Configurator-QP
(3) When an error check is carried out with GX Configurator-QP
5-6
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
Positioning data must be set for carrying out any "major positioning control". The table
below lists the items to be set for producing the positioning data.
One to 600 positioning data items can be set for each axis.
For details of the major positioning controls, refer to Chapter 9 "Major Positioning
Control". For details of the individual setting items, refer to Section 5.3 "List of
positioning data".
Major positioning control Position control Other control
2/3/4-axis fixed-feed control
Speed-position switching
Position-speed switching
1 to 4 axis speed control
1-axis fixed-feed control
JUMP instruction
2/3/4-axis linear
NOP instruction
control
control
control
LOOP
LEND
Positioning data
Independent
positioning – – – –
control
Da.1 Operation Continuous
pattern positioning – – – –
control
Continuous path
– – – –
control
Forward
run speed 1
Reverse run
speed 1
Fixed- Forward Forward Forward
Circular
feed 1 run speed 2 run run
Linear 1 sub
Fixed- Reverse run speed/ position/
Linear 2 Circular Current
Da.2 feed 2 speed 2 position speed NOP JUMP
Control system Linear 3 right value LOOP LEND
Fixed- Forward Reverse Reverse instruction instruction
Linear 4 Circular run speed 3 changing
feed 3 run run
left Reverse run
Fixed- speed/ position/
feed 4 speed 3 position speed
Forward
run speed 4
Reverse run
speed 4
Da.3 Acceleration time No. – – – – –
: Always set
: Set as required (Read "–" when not required.)
: Setting not possible
– : Setting not required.
(This is an irrelevant item, so the set value will be ignored. If the value is the default value or within the setting range, there is no problem.)
: Two control systems are available: the absolute (ABS) system and incremental (INC) system.
5-7
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
5-8
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
MEMO
5-9
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
The "block start data" must be set when carrying out "high-level positioning control".
The setting items for the " block start data" are shown below.
Up to 50 points of " block start data" can be set for each axis.
Refer to Chapter 10 "High-level Positioning Control" for details on the "high-level
positioning control", and to Section 5.4 "List of block start data" for details on each
setting item.
High-level positioning Repeated
Repeated
control Block start Condition Simultaneous start
Wait start start
(Normal start) start start (FOR
(FOR loop)
Block start data condition)
Da.14 Parameter –
5 - 10
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
When carrying out "high-level positioning control" or using the JUMP instruction in the
"major positioning control", the "condition data" must be set as required. The setting
items for the "condition data" are shown below.
Up to 10 "condition data" items can be set for each axis.
Refer to Chapter 10 "High-level Positioning Control" for details on the "high-level
positioning control", and to Section 5.5" List of condition data" for details on each
setting item.
Control Major positioning
High-level positioning control
control
Repeated Repeated
Other than Block start Simul-
JUMP Condition start start
JUMP (Normal Wait start taneous
instruction start (FOR (FOR
Condition data instruction start ) start
loop) condition)
Da.15 Condition target – – –
Da.17 Address – – – –
Da.18 Parameter 1 – – –
Da.19 Parameter 2 – – –
5 - 11
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
The monitor data area in the buffer memory stores data relating to the operating state
of the positioning system, which are monitored as required while the positioning
system is operating.
The following data are available for monitoring.
• System monitoring:
Monitoring of the QD75 configuration and operation history (through the system
monitor data Md.1 through Md.19 )
The axis monitor data are refreshed every 1.8 ms. Note that " Md.21 Machine feed
value", " Md.22 Feedrate", " Md.28 Axis feedrate" and " Md.30 External
input/output signal" are refreshed every 56.8ms. Also, " Md.23 Valid M code", is
updated when the "M code ON signal [X4, X5, X6, X7]" turns ON.
5 - 12
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
5 - 13
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
5 - 14
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
MEMO
5 - 15
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
5 - 16
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
Clear (reset) the axis error ( Md.23 ) and warning ( Md.24 ) Cd.5 Axis error reset
Issue instruction to restart (When axis operation is stopped) Cd.6 Restart command
End current positioning (deceleration stop), and start next positioning Cd.37 Skip command
Set start point No. for executing block start Cd.4 Positioning starting point No.
5 - 17
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
Change " Md.35 Torque limit stored value" Cd.22 New torque value
Set whether " Md.48 Deceleration start flag" is valid or invalid Cd.41 Deceleration start flag valid
Set the stop command processing for deceleration stop function Cd.42
Stop command processing for
(deceleration curve re-processing/deceleration curve continuation) deceleration stop selection
5 - 18
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
MEMO
5 - 19
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
1 : 1-fold 1
Pr.4 10 : 10-fold 10
1 3 153 303 453
Unit magnification (Am) 100 : 100-fold 100
1000 : 1000-fold 1000
5 - 20
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
Due to the mechanical tolerance, the actual movement amount may differ
slightly from the instructed movement amount. The error can be compensated
by adjusting the movement amount per pulse defined here.
(Refer to Section 12.3.2 "Electronic gear function".)
POINT
If the movement amount per pulse is less than 1, command frequency variations
will occur.Smaller setting will increase variations and may cause machine
vibration.If the movement amount per pulse becomes less than 1, also use the
electronic gear function of the drive unit and make setting so that the movement
amount per pulse is 1 or greater.
[Table 1]
Pr.1 setting value Value set with peripheral device Value set with sequence program
(unit) (unit)
0 : mm 0.1 to 6553.5 (μm) 1 to 65535 (× 10-1μm)
1 : inch 0.0001 to 0.65535 (inch) 1 to 65535 (× 10-5inch)
2 : degree 0.00001 to 0.65535 (degree) 1 to 65535 (× 10-5degree)
3 : pulse 1 to 65535 (pulse) 1 to 65535 (pulse)
Pr.3 Movement amount per rotation (Al), Pr.4 Unit magnification (Am)
The amount how the workpiece moves with one motor rotation is determined by
the mechanical structure.
If the worm gear lead (mm/rev) is PB and the deceleration rate is 1/n, then
Movement amount per rotation (AL) = PB × 1/n
5 - 21
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
However, the maximum value that can be set for this "movement amount per
rotation (Al)" parameter is 6553.5 μm (approx. 6.5mm). Set the "movement amount
per rotation (Al)" as shown below so that the "movement amount per rotation (AL)"
does not exceed this maximum value.
Movement amount per rotation (AL)
= PB × 1/n
= Movement amount per rotation (Al) × Unit magnification (Am)
Note) The unit magnification (Am) is a value of 1, 10, 100 or 1000. If the "PB ×
1/n" value exceeds 6553.5 μm, adjust with the unit magnification so that the
"movement amount per rotation (Al) " does not exceed 6553.5 μm.
Example 1)
When movement amount per rotation (AL) = PB × 1/n = 6000.0μm (= 6mm)
Movement amount per rotation (AL)
= Movement amount per rotation (Al) × Unit magnification (Am)
= 6000 × 1
Example 2)
When movement amount per rotation (AL) = PB × 1/n = 60000.0μm (= 60mm)
Movement amount per rotation (AL)
= Movement amount per rotation (Al) × Unit magnification (Am)
= 6000 × 10
= 600 × 100
Workpiece
PLC Servo amplifier Servomotor
1 Reduction gears
n
Encoder PB
Pf
5 - 22
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
IMPORTANT
The only valid value of the " Pr.5 Pulse output mode" is the value at the moment
when the PLC READY signal [Y0] turns from OFF to ON for the first time after the
power is switched ON or the PLC CPU is reset. Once the PLC READY signal [Y0]
has been turned ON, the value will not be reset even if another value is set to the
parameter and the PLC READY signal [Y0] is turned from OFF to ON.
Use " Pr.23 Output signal logic selection" to choose between the positive logic
(pulse rising edge detection) and negative logic (pulse falling edge detection).
An example of the pulse output mode for positive and negative logic is shown
below.
PULSE PULSE
SIGN SIGN
Forward Reverse Forward Reverse
run run run run
Move in + Move in - Move in + move in -
direction direction direction direction
CW CW
CCW CCW
5 - 23
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
B phase B phase
(B ) (B )
Example) When the command 1 pulse output is 1 pulse/s, the pulse rises and falls by four
times per second.
A phase
A phase
(A )
(A )
B phase
B phase
(B )
(B )
Example) When the command 1 pulse output is 1 pulse/s, the pulse rises and falls by one times
per second.
5 - 24
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
1) Set "0" in Pr.6 , and carry out forward run JOG operation.
("0" is set as the default value for Pr.6 .)
2) When workpiece "W" moves toward the address increment direction, keep the current setting.
When workpiece "W" moves toward the address decrement direction, set "1" in Pr.6 to change the
rotation direction.
3) Carry out forward run JOG operation again, and if "W" moves toward the increment direction, the
setting is complete.
OP
3)
POINT
When Pr.6 has been changed from "0" to "1", check if the upper and lower limit
switches operate properly by JOG operation.
If any malfunction is identified, check and correct the wiring.
5 - 25
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
Note that the bias speed should not exceed " Pr.8 Speed limit value".
5 - 26
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
[Table 1]
Pr.1 setting value Value set with peripheral device (unit) Value set with sequence program (unit)
0 : mm 0 to 20000000.00 (mm/min) 0 to 2000000000 (×10-2mm/min)
1 : inch 0 to 2000000.000 (inch/min) 0 to 2000000000 (×10-3inch/min)
2 : degree 0 to 2000000.000 (degree/min) 0 to 2000000000 (×10-3degree/min)
3 : pulse 0 to 1000000 (pulse/s) 0 to 1000000 (pulse/s)
[Table 2]
Pr.1 setting value Value set with peripheral device (unit) Value set with sequence program (unit)
0 : mm 0.01 to 20000000.00 (mm/min) 1 to 2000000000 (×10-2mm/min)
1 : inch 0.001 to 2000000.000 (inch/min) 1 to 2000000000 (×10-3inch/min)
2 : degree 0.001 to 2000000.000 (degree/min) 1 to 2000000000 (×10-3degree/min)
[Select type 1 is QD75P]
1 to 200000 (pulse/s)
3 : pulse 1 to 1000000 (pulse/s) 2
[Select type 1 is QD75D]
1 to 1000000 (pulse/s)
1: For Select type, refer to GX Configurator-QP Operating Manual.
2: When using the QD75P (open collector output type), set the value to within "1 to 200000 (pulse/s)".
Time
Actual
acceleration Actual deceleration time
Pr.9 time Pr.10 Deceleration time 0
Acceleration time 0
1) If the positioning speed is set lower than the parameter-defined speed limit
value, the actual acceleration/deceleration time will be relatively short. Thus,
set the maximum positioning speed equal to or only a little lower than the
parameter-defined speed limit value.
2) These settings are valid for OPR, positioning and JOG operations.
3) When the positioning involves interpolation, the acceleration/deceleration time
defined for the reference axis is valid.
5 - 27
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
Pr.12 The setting value range differs according to the " Pr.1 Unit 18 168 318 468
Software stroke limit upper 2147483647
setting". 19 169 319 469
limit value Here, the value within the [Table 2] range is set.
Pr.13
[Table 2] on right page 20 170 320 470
Software stroke limit lower –2147483648
21 171 321 471
limit value
Pr.14 0 : Apply software stroke limit on current
0
feed value
Software stroke limit 0 22 172 322 472
1 : Apply software stroke limit on
selection 1
machine feed value
0 : Software stroke limit valid during JOG
Pr.15 operation,inching operation and 0
manual pulse generator operation
Software stroke limit 0 23 173 323 473
1 : Software stroke limit invalid during
valid/invalid setting JOG operation ,inching operation and 1
manual pulse generator operation
Workpiece
(moving body)
Worm gear
Backlash
(compensation amount)
5 - 28
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
1) The backlash compensation is valid after machine OPR. Thus, if the backlash
compensation amount is set or changed, always carry out machine OPR once.
2) The backlash compensation amount setting range is 0 to 65535, but it should
be set to 255 or less by using the following expression.
Backlash compensation amount
0≤ ≤ 255
Movement amount per pulse
[Table 1]
Pr.1 Value set with peripheral device Value set with sequence program
setting value (unit) (unit)
[Table 2]
Pr.1 Value set with peripheral device Value set with sequence program
setting value (unit) (unit)
5 - 29
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
1) Generally, the OP is set at the lower limit or upper limit of the stroke limit.
2) By setting the upper limit value or lower limit value of the software stroke limit,
overrun can be prevented in the software. However, an emergency stop limit
switch must be installed nearby outside the range.
3) To invalidate the software stroke limit, set the setting value to "upper limit
value = lower limit value". (The setting value can be anything.)
4) When the unit is "degree", the software stroke limit check is invalid during
speed control (including speed-position switching control, position-speed
switching control) or during manual control.
Pr.17
1 to 500 (%) 1 to 500 (%) 300 26 176 326 476
Torque limit setting value
Pr.18 0 : WITH mode 0
M code ON signal output 0 27 177 327 477
1 : AFTER mode 1
timing
Speed
5 - 30
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
[Table 1]
Pr.1 setting value Value set with peripheral device Value set with sequence program
(unit) (unit)
0 : mm 0.1 to 214748364.7 (µm) 1 to 2147483647 (×10–1µm)
1 : inch 0.00001 to 21474.83647 (inch) 1 to 2147483647 (×10–5inch)
2 : degree 0.00001 to 21474.83647 (degree) 1 to 2147483647 (×10–5degree)
3 : pulse 1 to 2147483647 (pulse) 1 to 2147483647 (pulse)
BUSY signal
BUSY signal [XC,XD,XE,XF]
[XC,XD,XE,XF]
M code ON signal
M code ON signal [X4,X5,X6,X7]
[X4,X5,X6,X7]
Cd.7 M code OFF request
Cd.7 M code OFF request
[1504,1604,1704,1804]
[1504,1604,1704,1804]
Md.25 Valid M code m1 m2
Md.25 Valid M code m1 m2
Positioning
Positioning
Note: If AFTER mode is used with speed control, an M code will not be output and the M code ON signal will not be
turned ON.
5 - 31
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
An M code is a number between 0 and 65535 that can be assigned to each positioning
data ( Da.10 ).
The sequence program can be coded to read an M code from the buffer memory
address specified by " Md.25 Valid M code" whenever the M code ON signal [X4, X5,
X6, X7] turns ON so that a command for the sub work (e.g. clamping, drilling, tool
change) associated with the M code can be issued.
command 0: Negative
Pr.22 b5 Zero signal logic
0 31 181 331 481
Input signal logic selection Near-point 1: Positive
b6 logic Always "0" is set to
signal the part not used.
b7 Not used
Manual pulse
b8
generator input
b9
to Not used
b15
Command
b0
pulse signal
b1 Not used 151413121110 9 8 7 6 5 4 3 2 1 b0
5 - 32
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
Speed Speed
Switch the speed when The next positioning data starts
executing the next positioning data positioning at the designated speed
t t
n: Positioning
data No. n n+1 n n+1
X axis X axis
Designate composite speed
Designate speed
for reference axis
Y axis Y axis
Calculated by QD75
Calculated by QD75
<When composite speed is designated> <When reference axis speed is designated>
Note: Always specify the reference axis speed if the 4-axis linear interpolation or 2 to 4 axis
speed control has to be performed.
If you specify the composite speed for a positioning operation that involves the 4-axis
linear interpolation or 2 to 4 axis speed control, the error code 523 "interpolation mode
error" will be output when the positioning operation is attempted.
For a positioning operation that involves the circular interpolation, specify the composite
speed always.
5 - 33
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
Pr.22 Input signal logic selection, Pr.23 Output signal logic selection
Set the I/O signal logic that matches the signaling specification of the connected
external device.
Note1: A mismatch in the signal logic will disable normal operation. Be careful of
this when you change from the default value.
Note2: Set the manual pulse generator input logic selection (b8) to axis 1. (Setting
of any of axes 2 to 4 is invalid.)
5 - 34
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
MEMO
5 - 35
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
5 - 36
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
[Table 1]
Pr.1 setting value Value set with peripheral device Value set with sequence program
(unit) (unit)
0 : mm 0.01 to 20000000.00 (mm/min) 1 to 2000000000 (× 10-2mm/min)
1 : inch 0.001 to 2000000.000 (inch/min) 1 to 2000000000 (× 10-3inch/min)
2 : degree 0.001 to 2000000.000 (degree/min) 1 to 2000000000 (× 10-3degree/min)
[Select type 1 is QD75P]
1 to 200000 (pulse/s)
3 : pulse 1 to 1000000 (pulse/s) 2
[Select type 1 is QD75D]
1 to 1000000 (pulse/s)
1: For Select type, refer to GX Configurator-QP Operating Manual "Section 11.1.2".
2: When using the QD75P (open collector output type), set the value to within "1 to 200000
(pulse/s)".
5 - 37
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
Pr.38
Stop group 2 sudden stop 0 57 207 357 507
selection
Pr.39 1 : Sudden stop 1
Stop group 3 sudden stop 58 208 358 508
selection
Time Time
5 - 38
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
(Example)
V
A
Positioning
B speed
B/2 B/2
t
When S-curve ratio is 100%
V
Positioning
speed
b b/a = 0.7
sine curve
a
t
S-curve ratio = B/A × 100%
When S-curve ratio is 70%
5 - 39
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
Da.8
Command
speed
5 - 40
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
5 - 41
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
Positioning
Positioning
complete signal
[X14, X15, X16, X17]
Positioning
start signal
Start complete
signal
Positioning complete signal
(after dwell time has passed)
BUSY signal
Positioning
complete signal
Output time
5 - 42
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
[Table 1]
Pr.1 setting value Value set with peripheral device Value set with sequence program
(unit) (unit)
0 : mm 0 to 10000.0 (μm) 0 to 100000 (× 10-1μm)
1 : inch 0 to 1.00000 (inch) 0 to 100000 (× 10-5inch)
2 : degree 0 to 1.00000 (degree) 0 to 100000 (× 10-5degree)
3 : pulse 0 to 100000 (pulse) 0 to 100000 (pulse)
With circular interpolation control using the center point designation, the arc
path calculated with the start point address and center point address and the
end point address may deviate.
5 - 43
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
POINT
To enable the external command signal, set the " Cd.8 External command enable"
to "1".
5 - 44
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
MEMO
5 - 45
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
OPR method
0 : Near-point dog method
5 - 46
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
1 : Stopper method 1)
2 : Stopper method 2)
3 : Stopper method 3)
5 - 47
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
4 : Count method 1)
5 : Count method 2)
after near-point dog ON" has passed, the pulse output from
the QD75 stops with the first zero signal, and the machine
OPR is completed.
The setting value range differs depending on the " Pr.1 Unit
setting".
Pr.46 Here, the value within the [Table 2] range is set. 74 224 374 524
1
OPR speed 75 225 375 525
[Table 2] on right page
5 - 48
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
[Table 1]
Pr.1 setting value Value set with peripheral device Value set with sequence program
(unit) (unit)
0 : mm -214748364.8 to 214748364.7 (μm) -2147483648 to 2147483647 (× 10-1μm)
1 : inch -21474.83648 to 21474.83647 (inch) -2147483648 to 2147483647 (× 10-5inch)
2 : degree 0 to 359.99999 (degree) 0 to 35999999 (× 10-5degree)
3 : pulse -2147483648 to 2147483647 (pulse) -2147483648 to 2147483647 (pulse)
[Table 2]
Pr.1 setting value Value set with peripheral device Value set with sequence program
(unit) (unit)
0 : mm 0.01 to 20000000.00 (mm/min) 1 to 2000000000 (× 10-2mm/min)
1 : inch 0.001 to 2000000.000 (inch/min) 1 to 2000000000 (× 10-3inch/min)
2 : degree 0.001 to 2000000.000 (degree/min) 1 to 2000000000 (× 10-3degree/min)
3 : pulse 1 to 1000000 (pulse/s) 1 to 1000000 (pulse/s)
5 - 49
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
Pr.45 OP address
Set the address used as the reference point for positioning control (ABS system).
(When the machine OPR is completed, the stop position address is changed to the
address set in " Pr.45 OP address". At the same time, the " Pr.45 OP address"
is stored in " Md.20 Current feed value" and " Md.21 Machine feed value".)
Note) Set the "OPR speed" to less than " Pr.8 Speed limit value". If the "speed
limit value" is exceeded, the "Out of speed limit value range" (error code:
910) occurs and OPR is not performed.
The "OPR speed" should be equal to or faster than the " Pr.7 Bias speed
at start" and " Pr.47 Creep speed".
5 - 50
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
Note) The creep speed is related to the detection error when using the OPR
method with zero signal, and the size of the collision if a collision occurs
during OPR method using the stopper method.
Set a speed equal to or faster than the bias speed at start.
Machine
OPR start
Pr.47 Creep speed
ON
Near-point
dog signal OFF
Zero signal
[Table 1]
Pr.1 setting value Value set with peripheral device Value set with sequence program
(unit) (unit)
0 : mm 0.01 to 20000000.00 (mm/min) 1 to 2000000000 (× 10-2mm/min)
1 : inch 0.001 to 2000000.000 (inch/min) 1 to 2000000000 (× 10-3inch/min)
2 : degree 0.001 to 2000000.000 (degree/min) 1 to 2000000000 (× 10-3degree/min)
3 : pulse 1 to 1000000 (pulse/s) 1 to 1000000 (pulse/s)
5 - 51
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
5) 1) 2)
6)
Start position
4)
3)
Zero signal
5 - 52
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
MEMO
5 - 53
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
When stopper method 1) is set for " Pr.43 OPR method", set the time for the
machine OPR to complete after the near-point dog signal turns ON.
The setting value must be longer than the movement time from the near-point dog
signal ON to stopping with the stopper.
(If the OPR method is not "stopper method 1)", the " Pr.49 OPR dwell time" value
is irrelevant.)
5 - 54
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
[Table 1]
Pr.1 setting value Value set with peripheral device Value set with sequence program
(unit) (unit)
0 : mm 0 to 214748364.7 (μm) 0 to 2147483647 (× 10-1μm)
1 : inch 0 to 21474.83647 (inch) 0 to 2147483647 (× 10-5inch)
2 : degree 0 to 21474.83647 (degree) 0 to 2147483647 (× 10-5degree)
3 : pulse 0 to 2147483647 (pulse) 0 to 2147483647 (pulse)
Example of setting for " Pr. 50 Setting for the movement amount after near-point dog ON"
Assuming that the " Pr. 8 Speed limit value" is set to 200 kpulse/s, " Pr. 46 OPR speed" to 10 kpulse/s,
" Pr. 47 Creep speed" to 1 kpulse/s, and deceleration time to 300 ms, the minimum value of " Pr. 50 Setting for the
movement amount after near-point dog ON" is calculated as follows:
1 Vz
[Machine OPR operation] [Deceleration distance] = 2 t + 0.01 Vz
1000
Movement amount for
Pr.8 Speed limit value: Vp=200kpulse/s 10ms at OPR speed
Vz Tb Vz
= 2000 + 0.01 Vz
Vp
3 3
Pr.46 OPR speed: 10 10 300 10 10 3
= 2000 + 0.01 10 10
Vz=10kpulse/s 200 10 3
= 75 + 100
= 175
5 - 55
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
Pr.54
1 to 300 (%) 1 to 300 (%) 300 86 236 386 536
OPR torque limit value
1 to 65535 (ms)
Pr.55 0 to 32767:
Deviation counter Set the decimal value as it is.
1 to 65535 (ms) 11 87 237 387 537
clear signal output 32768 to 65535:
time Convert the decimal value into a
hexadecimal value and set the latter.
Pr.56 0 : OPR speed 0
Speed designation 0 88 238 388 538
1 : Creep speed 1
during OP shift
0 to 65535 (ms)
Pr.57 0 to 32767 :
Dwell time during 0 to 65535 (ms) Set as a decimal 0 89 239 389 539
OPR retry 32768 to 65535 :
Convert into hexadecimal and set
Shift point
Start point Shift point
Zero signal
5 - 56
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
[Table 1]
Pr.1 setting value Value set with peripheral device Value set with sequence program
(unit) (unit)
0 : mm -214748364.8 to 214748364.7 (μm) -2147483648 to 2147483647 (× 10-1μm)
1 : inch -21474.83648 to 21474.83647 (inch) -2147483648 to 2147483647 (× 10-5inch)
2 : degree -21474.83648 to 21474.83647 (degree) -2147483648 to 2147483647 (× 10-5degree)
3 : pulse -2147483648 to 2147483647 (pulse) -2147483648 to 2147483647 (pulse)
When OPR retry is validated (when "1" is set for Pr.48 ), set the stop time after
decelerating in 2) and 4) in the following drawing.
6)
Start position
4)
3)
5 - 57
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
Before explaining the positioning data setting items Da.1 to Da.10 , the configuration
of the positioning data will be shown below.
The positioning data stored in the QD75 buffer memory has the following type of
configuration.
Ê̂ u
’ Œ ‚ Ê̂ƒ
ˆ ß fu
’[ Œ
ˆ ^ƒ ß
‚‡
‚ƒf@[ ^ƒ 599
‡
‚ @ 600
Ê̂ u
’ Œ
ˆ ß‚Ê̂ Ž̄u
’ Œˆ•Ê q
ß
‚ Ž̄ •Ê Ž
Ž q
7980 7990 Up to 600 positioning data items can be set (stored) for each axis
2 3
Da.1@ Da.1@
` @ Da.4` @ Da.4
Positioning data No. 1 in the buffer memory address shown on the left.
This data is controlled as positioning data No. 1 to 600 for each axis.
Ê̂ u
’ Œ
Positioning ‚Ê̂ Ž̄u
’ Œ
ˆidentifier
ß ˆ•Ê Ž
ß
‚ Ž̄ •Ê Ž
q q
2020
2010Da.5
Da.1@ Da.1@
` @ ` @ Da.5
2000
Da.4 Da.4 7981 7991
Da.1 to Da.5
Ê̂ u
’ Œ ‚Ê̂ ƒ
ˆ ß Au
’ Œ
ˆƒ ß
‚ ƒ
h ƒ
Œ AƒXƒ
h ƒ
Œ ƒX One positioning data item is configured of the items shown in the
Da.5
bold box.
Da.10 Da.5 2021
2011Da.6
Da.6
7982 7992
² ‚P
Ž
2001
² ‚P
Ž
M codeÊ̂ u
’ Œ ‚Ê̂ A
ˆ ß ƒu
’ Œ
ˆƒ ß
‚ ƒ
h ƒ
Œ A Xƒ
ƒh ƒ
Œ ƒX
~ Œ
‰ Ê ‰
~ hŒ
A ƒ
ƒ ʃ
ŒƒAƒ
Xƒ
h ƒ
Œ ƒ
X
Da.6 Da.6
2022 7984 7994
² ‚P
Ž
Da.9 2012Da.7
² ‚P
Ž
2002 Da.7
Axis 1
~ Ê
‰ Œ ‰
~ hŒ
ƒ ƒ
A ʃ
ŒƒAƒ
Xƒ
h ƒ
Œ ƒX
7985 7995
Dwell time w —
Ž ‘Ž
ß ¬w“x —
ß ¬
‘ “x
Da.8 2026
2016Da.9
Da.6 Da.8 2006 Da.9 7988 7998
Fƒh‹ƒ ƒ
E ƒ
F ƒ‹ƒ2007
^ ƒ
ƒ C ƒ€ 2017 2027
Positioning
h ƒ
ƒ E address/
ƒ ^ ƒ
ƒ C € Mƒ Mƒ
R [ h
ƒ R [ h
ƒ 7989 7999
movement amount
Da.9 2028
Da.7 Da.9 2008 2018
MƒR [ h Mƒ
ƒ R [ hƒ 2009 2019 2029
Arc address
Ê̂ u
’ Œ ‚ Ê̂ƒ
ˆ ß fu
’[ Œ
ˆ ^ƒ ß
‚‡
‚ƒf@[ ^ƒ 599
‡
‚ @ 600
Ê̂ u
’ Œ
ˆ ß‚Ê̂ Ž̄u
’ Œˆ•Ê q
ß
‚ Ž̄ •Ê Ž
Ž q
13990
2 3 Da.1@
Da.1@ ` @ Da.4 ` @ 13980
Da.4
Positioning data No. 1
Ê̂ u
’ Œ
Positioning ‚Ê̂ Ž̄u
’ Œ
ˆidentifier
ß ˆ•Ê Ž
ß
‚ Ž̄ •Ê Ž
q q
8020
8010Da.5
@ Da.5
Configuration of positioning identifier
Da.1 Da.1@
Da.1@
to Da.5` @ Da.4
8000
` Da.4 13981 13991
Ê̂ u
’ Œ ‚Ê̂ ƒ
ˆ ß Au
’ Œ
ˆƒ ß
‚ ƒ
h ƒ
Œ AƒXƒ
h ƒ
Œ ƒX
b15 b12 b8 b4 b0
Da.5 8021
Da.10 Da.5 8011Da.6
Da.6 Buffer memory
13982 13992
² ‚P
Ž
A8001
² ‚P
Ž
M codeÊ̂ u
’ Œ
ˆ ‚Ê̂ ƒ
ß Au
’ Œ
ˆƒ ß
‚ ƒ
h ƒ
Œ Xƒ
ƒh ƒ
Œ ƒX
~ Œ
‰ Ê ‰
~ hŒ
A ƒ
ƒ ʃ
ŒƒAƒ
Xƒ
h ƒ
Œ ƒ
X
Da.9 8012Da.7
² ‚P
Ž
8002Da.7
Axis 2
‰
~ hŒ
ʃ
ŒƒAƒ
Xƒ
h ƒ
Œ ƒX
‰
~
Dwell time Ê
Œ A ƒ
ƒ
w —
Ž ß ¬‘Ž
w“x —
ß ¬
‘ “x 13985 13995 Da.2 Control system Da.1 Operation pattern
5 - 58
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
599 600
Ê̂ u
’ Œ
ˆ ß‚Ê̂ Ž̄u
’ Œˆ•Ê Ž
ß
‚ Ž̄ •Ê q
q Ž
19990
2 3 Da.1@
Da.1@ ` @ Da.4 ` @ 19980
Da.4
Positioning data No. 1
Ê̂ u
’ Œ
Positioning ‚Ê̂ Ž̄u
’ Œ
ˆidentifier
ß ˆ•Ê Ž
ß
‚ Ž̄ •Ê Ž
q q
14010 14020
Da.5
Da.1@ Da.1@
` @ ` @ Da.5
14000
Da.4 Da.4 19981 19991
Da.1 to Da.5
Ê̂ u
’ Œ
ˆ ß‚Ê̂ A
ƒu
’ Œ
ˆƒ ß
‚ ƒ
h ƒ
Œ AƒXƒ
h ƒ
Œ ƒX
Da.5
Da.10 Da.5 14011Da.6
Da.6 14021
² ‚P
Ž
‚ 14001
² ‚P
Ž 19992
M codeÊ̂ u
’ Œ
ˆ Ê̂ A
ß
‚ u
’ Œ
ƒ ˆƒ
h ß
ƒ
Œ A
ƒXƒƒ
h ƒ
Œ ƒX
~ Œ
‰ Ê ‰
~
A
ƒ ƒhŒ
ʃ
ŒƒAƒ
Xƒ Œ 19982
h ƒ ƒ
X
Da.6 Da.6
14022
² ‚P
Ž
Da.7
Axis 3
~
‰ hŒ
ʃ
ŒAƒ 14002
Xƒ
h ƒ
Œ ƒX
‰
~
Dwell time Ê
Œ ƒ
A ƒ ƒ
w —
Ž ß ¬‘Ž
w“x —
ß ¬
‘ “x 19985 19995
Da.8 14026
Da.6 Da.8 14016Da.9
14006Da.9 19988 19998
h
ƒ ƒ
E F
ƒ ‹
ƒ ^
ƒ ƒ
C ƒ
€14017 14027
Positioning
h ƒ
ƒ E address/
F ‹ƒ ^ƒ ƒ
ƒ C ƒ€14007 Mƒ ƒMƒ
R [ h R [ h
ƒ 19989 19999
movement amount
Da.9 14028
Da.7 Da.9 14008 14018
MƒR [ h ƒMƒR [ hƒ 14009 14019 14029
Arc address
Buffer memory address
599 600
Ê̂ u
’ Œ
ˆ ß‚Ê̂ Ž̄u
’ Œˆ•Ê Ž
ß
‚ Ž̄ •Ê q
q Ž
3 25990
2 Da.1@ Da.1@ ` @ Da.4` @ 25980
Da.4
Positioning data No. 1
Ê̂ u
’ Œ
Positioning ‚Ê̂ Ž̄u
’ Œ
ˆidentifier
ß ˆ•Ê Ž
ß
‚ Ž̄ •Ê Ž
q q
20020
Da.5
Da.1@ Da.1@ ` @ Da.5
20000 20010
Da.4 25981 25991
Da.1 to Da.5` @ Da.4
Ê̂ u
’ Œ
ˆ ß‚Ê̂ A
ƒu
’ Œ
ˆƒ ß
‚ ƒ
h ƒ
Œ AƒXƒ
h ƒ
Œ ƒX
Da.5
Da.10 Da.5 20011Da.6
Da.6 20021
² ‚P
Ž
‚ 20001 25992
² ‚P
Ž
M codeÊ̂ u
’ Œ ‚Ê̂ A
ˆ ß ƒu
’ Œ
ˆƒ ß
h ƒ
Œ A
ƒXƒƒ
h ƒ
Œ ƒX
~ Œ
‰ Ê ‰
~
A
ƒ ƒhŒ
ʃ
ŒƒAƒ
Xƒ Œ 25982
h ƒ ƒ
X
Da.6 Da.6
Axis 4
20022
² ‚P
Ž
Da.7
Ê ‰
~ hŒ
ʃ
ŒAƒ20002
Xƒ
h ƒ
Œ X ƒ
~ Œ
‰
Dwell time ƒ
A ƒ ƒ
w —
Ž ß ¬‘Ž
w“x —
ß ¬
‘ “x 25985 25995
Da.7Da.7 20024
20014Da.8
Da.8 20004Da.8
20015 20025 25986 25996
Ž
w —
ß w“x —
Ž
¬
‘ ß ¬
‘ 20005
“x €25987 25997
Command speed ƒ ƒ
h Fƒ
E ƒ h‹ƒ ƒ
E F ƒ
ƒ
^ ƒ
ƒ C ‹ƒ ƒ
€ ^ ƒ
C ƒ
Da.8 20026
Da.6 Da.8 20016Da.9
20006Da.9 25988 25998
Fƒh‹ƒ ƒ
E F ƒ
ƒ ‹€
ƒ20007
^ ƒ
ƒ C ƒ€20017 20027
h ƒ
ƒ E address/
Positioning ƒ ^ƒ ƒ
C
Mƒ ƒMƒ
R [ h R [ h
ƒ 25989 25999
movement amount
Da.9 20028
Da.7 Da.9 20008 20018
MƒR [ Mƒ
h
ƒ R [ h ƒ 20009 20019 20029
Arc address
Buffer memory address
The descriptions that follow relate to the positioning data set items Da.1 to Da.10 .
(The buffer memory addresses shown are those of the "positioning data No. 1" for the
axes 1 to 4.)
5 - 59
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
0DH
specified (ABS)
INC : Circular interpolation control with sub point
(
0EH
specified (INC)
ABS . : Circular interpolation control with center
0FH
point specified (ABS, CW)
ABS . : Circular interpolation control with center Control system
10H
Da.2 point specified (ABS, CCW)
Control INC . : Circular interpolation control with center
system 11H
point specified (INC, CW) Setting value
INC . : Circular interpolation control with center
12H
point specified (INC, CCW)
Positioning identifier
5 - 60
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
Continuous positioning with one start signal .......... Continuous positioning control
Positioning
continued
Continuous path positioning with speed change ..... Continuous path control
5 - 61
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
Movement Movement
amount : 2000 amount : 2000
5 - 62
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
Stop position
(positioning start position)
Moves in Moves in
negative direction positive direction
[Table 1]
When " Pr.1 Unit Setting" is "mm"
The table below lists the control systems that require the setting of the positioning
address or movement amount and the associated setting ranges.
(With any control system excluded from the table below, neither the positioning
address nor the movement amount needs to be set.)
Value set with peripheral device Value set with sequence program 1
Da.2 setting value
(μm) (× 10-1μm)
ABS Linear 1 : 01H
ABS Linear 2 : 0AH
◊ Set the address ◊ Set the address
ABS Linear 3 : 15H
ABS Linear 4 : 1AH -214748364.8 to 214748364.7 -2147483648 to 2147483647
Current value changing : 81H
INC Linear 1 : 02H
INC Linear 2 : 0BH
INC Linear 3 : 16H
INC Linear 4 : 1BH ◊ Set the movement amount ◊ Set the movement amount
Fixed-feed 1 : 03H -214748364.8 to 214748364.7 -2147483648 to 2147483647
Fixed-feed 2 : 0CH
Fixed-feed 3 : 17H
Fixed-feed 4 : 1CH
Forward run speed/position : 06H
Reverse run speed/position : 07H ◊ Set the movement amount ◊ Set the movement amount
Forward run position/speed : 08H 0 to 214748364.7 0 to 2147483647
Reverse run position/speed : 09H
ABS circular sub : 0DH
◊ Set the address ◊ Set the address
ABS circular right : 0FH
ABS circular left : 10H -214748364.8 to 214748364.7 -2147483648 to 2147483647
INC circular sub : 0EH
◊ Set the movement amount ◊ Set the movement amount
INC circular right : 11H
INC circular left : 12H -214748364.8 to 214748364.7 -2147483648 to 2147483647
5 - 63
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
Speed
Speed Position
control control
Target address setting (ABS mode)
Time
Speed-position switching
5 - 64
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
Da.2 setting value Value set with peripheral device Value set with sequence program 1
(pulse) (pulse)
ABS Linear 1 : 01H
ABS Linear 2 : 0AH
◊ Set the address ◊ Set the address
ABS Linear 3 : 15H
ABS Linear 4 : 1AH -2147483648 to 2147483647 -2147483648 to 2147483647
Current value changing : 81H
INC Linear 1 : 02H
INC Linear 2 : 0BH
INC Linear 3 : 16H
INC Linear 4 : 1BH ◊ Set the movement amount ◊ Set the movement amount
Fixed-feed 1 : 03H -2147483648 to 2147483647 -2147483648 to 2147483647
Fixed-feed 2 : 0CH
Fixed-feed 3 : 17H
Fixed-feed 4 : 1CH
Forward run speed/position : 06H
Reverse run speed/position : 07H ◊ Set the movement amount ◊ Set the movement amount
Forward run position/speed : 08H 0 to 2147483647 0 to 2147483647
Reverse run position/speed : 09H
ABS circular sub : 0DH
◊ Set the address ◊ Set the address
ABS circular right : 0FH
ABS circular left : 10H -2147483648 to 2147483647 -2147483648 to 2147483647
INC circular sub : 0EH
◊ Set the movement amount ◊ Set the movement amount
INC circular right : 11H
INC circular left : 12H -2147483648 to 2147483647 -2147483648 to 2147483647
5 - 65
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
5 - 66
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
MEMO
5 - 67
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
Start point address (Address before starting positioning) Start point address (Address before starting positioning)
<(1) Circular interpolation with sub <(2) Circular interpolation with center
point designation> point designation>
When not carrying out circular interpolation control, the value set in " Da.7 Arc
address" will be invalid.
5 - 68
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
[Table 1]
When " Pr.1 Unit Setting" is "mm"
The table below lists the control systems that require the setting of the arc address
and shows the setting range.
(With any control system excluded from the table below, the arc address does not
need to be set.)
Value set with peripheral device Value set with sequence program 1
Da.2 setting value
(μm) (× 10-1μm)
ABS circular sub : 0DH
◊ ◊ Set the address
ABS circular right : 0FH Set the address
ABS circular left : 10H -214748364.8 to 214748364.7 -2147483648 to 2147483647
INC circular sub : 0EH
◊ Set the movement amount ◊ Set the movement amount
INC circular right : 11H
INC circular left : 12H -214748364.8 to 214748364.7 -2147483648 to 2147483647
Da.2 setting value Value set with peripheral device Value set with sequence program 1
(pulse) (pulse)
ABS circular sub : 0DH
◊ ◊ Set the address
ABS circular right : 0FH Set the address
ABS circular left : 10H -2147483648 to 2147483647 -2147483648 to 2147483647
INC circular sub : 0EH
◊ Set the movement amount ◊ Set the movement amount
INC circular right : 11H
INC circular left : 12H -2147483648 to 2147483647 -2147483648 to 2147483647
5 - 69
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
Da.9 The setting value range differs according to the " Da.2 Control
Dwell time
Dwell time/ system".
JUMP Here, the value within the [Table 2] range is set. 0 2002 8002 14002 20002
destination JUMP
positioning data destination [Table 2] on right page
No. positioning
data No.
M code
The setting value range differs according to the " Da.2 Control
system".
Da.10 Condition
Here, the value within the [Table 3] range is set. 0 2001 8001 14001 20001
data No.
M code
No. of [Table 3] on right page
LOOP to
LEND
repetitions
5 - 70
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
[Table 1]
Pr.1 setting value Value set with peripheral device Value set with sequence program
(unit) (unit)
0 : mm 0.01 to 20000000.00 (mm/min) 1 to 2000000000 (× 10-2mm/min)
1 : inch 0.001 to 2000000.000 (inch/min) 1 to 2000000000 (× 10-3inch/min)
2 : degree 0.001 to 2000000.000 (degree/min) 1 to 2000000000 (× 10-3degree/min)
3 : pulse 1 to 1000000 (pulse/s) 1 to 1000000 (pulse/s)
[Table 2]
Da.2 setting value Value set with peripheral Value set with sequence
Setting item
device program
JUMP instruction: 82H Positioning data No. 1 to 600 1 to 600
Other than JUMP instruction Dwell time 0 to 65535 (ms) 0 to 65535 (ms)
[Table 3]
Da.2 setting value Value set with peripheral Value set with sequence
Setting item
device program
JUMP instruction: 82H Condition data No. 0 to 10 0 to 10
Other than JUMP instruction M code 0 to 65535 0 to 65535
LOOP: 83H Repetition count 1 to 65535 1 to 65535
5 - 71
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
Set the "dwell time" or "positioning data No." corresponding to the " Da.2 Control
system".
• When a method other than "JUMP instruction " is set for " Da.2 Control system"
V
1) When " Da.1 Operation pattern" in "00: Positioning complete" Positioning control
Set the time from when the positioning ends to when the
"positioning complete signal" turns ON as the "dwell time".
t
ON
Positioning complete signal OFF
Da.9
Dwell time
V
2) When " Da.1 Operation pattern" is "01: Continuous positioning control" Positioning control
Next positioning
Set the time from when positioning control ends to when control
the next positioning control starts as the "dwell time".
t
Da.9
Dwell time
V
3) When " Da.1 Operation pattern" is "11: Continuous path control" Positioning control
t
No dwell time (0ms)
5 - 72
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
MEMO
5 - 73
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
The illustrations below show the organization of the block start data stored in the QD75
buffer memory. The block start data setting items Da.11 to Da.14 are explained in
the pages that follow.
b15 b8 b7 b0 26051
26050
50th point
Buffer memory
Setting item address
2nd point
1st point Buffer memory
Setting item
address 27049
Buffer memory
Setting item
œ Ê̂ u
’ Œ
ˆ ß ‚ Ž
n “® fƒ [ ^ƒ address
b15 b8 b7 b0 27001
Axis 2 (Start block 0)
27000
Da.12 Start data No.
Da.11 Shape 27099
b15 b8 b7 b0 27051
27050
5 - 74
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
50th point
Buffer memory
Setting item address
2nd point
1st point Buffer memory
Setting item
address 28049
Buffer memory
Setting item
œ Ê̂ u
’ Œ
ˆ ß ‚ Ž
n “® fƒ [ ^ƒ address
Axis 3 (Start block 0)
b15 b8 b7 b0 28001
28000
Da.12 Start data No.
Da.11 Shape 28099
b15 b8 b7 b0 28051
28050
50th point
Buffer memory
Setting item address
2nd point
1st point Buffer memory
Setting item
address 29049
Buffer memory
Setting item
œ Ê̂ u
’ Œ
ˆ ß ‚ Ž
n “® fƒ [ ^ƒ address
b15 b8 b7 b0 29001
Axis 4 (Start block 0)
29000
Da.12 Start data No.
Da.11 Shape 29099
b15 b8 b7 b0 29051
29050
The pages that follow explain the block start data setting items ( Da.11 to Da.14 ).
(The buffer memory addresses shown are those of the "1st point block start data (block
No. 7000)" for the axes 1 to 4.)
5 - 75
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
REMARK
To perform an high-level positioning control using block start data, set a number
between 7000 and 7004 to the " Cd.3 Positioning start No." and use the
" Cd.4 Positioning starting point No." to specify a point number between 1 and 50, a
position counted from the beginning of the block.
The number between 7000 and 7004 specified here is called the "block No.".
With the QD75, up to 50 "block start data" points and up to 10 "condition data" items
can be assigned to each "block No.".
GX
Block
Axis Block start data Condition Buffer memory Configurator-
No.
QP
Axis 1 Condition data (1 to 10)
Axis 2 Condition data (1 to 10)
7000 Start block 0
Axis 3 Condition data (1 to 10)
Axis 4 Condition data (1 to 10)
Axis 1 Condition data (1 to 10)
Axis 2 Condition data (1 to 10)
7001 Start block 1
Axis 3 Condition data (1 to 10)
Axis 4 Condition data (1 to 10)
Axis 1 Condition data (1 to 10)
Axis 2 Condition data (1 to 10) Supports the Supports the
7002 Start block 2
Axis 3 Condition data (1 to 10) settings settings
Axis 4 Condition data (1 to 10)
Axis 1 Condition data (1 to 10)
Axis 2 Condition data (1 to 10)
7003 Start block 3
Axis 3 Condition data (1 to 10)
Axis 4 Condition data (1 to 10)
Axis 1 Condition data (1 to 10)
Axis 2 Condition data (1 to 10)
7004 Start block 4
Axis 3 Condition data (1 to 10)
Axis 4 Condition data (1 to 10)
: Setting cannot be made when the "Pre-reading start function" is used. If you set any of Nos.
7000 to 7004 and perform the Pre-reading start function, "Outside start No. range error
(error code: 543)" will occur.
(For details, refer to Section 12.7.8 "Pre-reading start function".)
5 - 76
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
0 : End 0
Shape
1 : Continue 1
b15 b11 b7 b3 b0
Da.12 Positioning data No.: 01H 0 0 0
1 to 600 to
Start data No. (01H to 258H) 258H
b15 b11 b7 b3 b0
2 : Wait start 02H
Da.13
Special start 3 : Simultaneous start 03H
0000H 26050 27050 28050 29050
instruction
5 - 77
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
Da.11 Shape
Set whether to carry out only the local "block start data" and then end control, or to
execute the "block start data" set in the next point.
Setting value Setting details
0 : End Execute the designated point's "block start data", and then complete the control.
Execute the designated point's "block start data", and after completing control, execute the next
1 : Continue
point's "block start data".
5 - 78
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
Da.14 Parameter
Set the value as required for " Da.13 Special start instruction ".
5 - 79
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
The illustrations below show the organization of the condition data stored in the QD75
buffer memory. The condition data setting items Da.15 to Da.19 are explained in the
pages that follow.
No.10
Buffer memory Up to 10 block start data points can be set (stored)
Setting item for each axis in the buffer memory addresses shown
address
No.2 on the left.
No.1 Buffer memory Items in a single unit of condition data are shown
Setting item included in a bold frame.
Buffer memory address 26190
Each axis has five start blocks (block Nos. 0 to 4).
Setting item address
b15 b12 b11 b8 b7 b0 For information on the organization of the buffer
26110 26191 memory addresses assigned to the start blocks 1
Axis 1 (start block 0)
No.10
Buffer memory
Setting item address
No.2
No.1 Buffer memory
Setting item
Buffer memory address 27190
Setting item address
b15 b12 b11 b8 b7 b0
27110 27191
Axis 2 (start block 0)
27100 27192
27193
Da.16 Condition Da.15 Condition
operator target 27111 27194
27195
Open 27101 27112 27196
27113 27197
Da.17 Address 27102
27103 27114 27198
27115 27199
Da.18 Parameter 1 27104
27105 27116
27117
Da.19 Parameter 2 27106
27107 27118
27108 27119
Open 27109
5 - 80
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
No.10
Buffer memory
Setting item address
No.2
No.1 Buffer memory
Setting item
Buffer memory address 28190
Setting item address
b15 b12 b11 b8 b7 b0
28110 28191
Axis 3 (start block 0)
28100 28192
28193
Da.16 Condition Da.15 Condition
operator target 28111 28194
28195
Open 28101 28112 28196
28113 28197
Da.17 Address 28102
28103 28114 28198
28115 28199
Da.18 Parameter 1 28104
28105 28116
28117
Da.19 Parameter 2 28106
28107 28118
28108 28119
Open 28109
No.10
Buffer memory
Setting item address
No.2
No.1 Buffer memory
Setting item
Buffer memory address 29190
Setting item address
b15 b12 b11 b8 b7 b0
29110 29191
Axis 4 (start block 0)
29100 29192
29193
Da.16 Condition Da.15 Conditiion
operator target 29111 29194
29195
Open 29101 29112 29196
29113 29197
Da.17 Address 29102
29103 29114 29198
29115 29199
Da.18 Parameter 1 29104
29105 29116
29117
Da.19 Parameter 2 29106
29107 29118
29108 29119
Open 29109
The pages that follow explain the condition data setting items ( Da.15 to Da.19 ).
(The buffer memory addresses shown are those of the "condition data No. 1 (block No.
7000)" for the axes 1 to 4.)
5 - 81
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
REMARK
To perform an high-level positioning control using block start data, set a number
between 7000 and 7004 to the " Cd.3 Positioning start No." and use the
" Cd.4 Positioning starting point No." to specify a point number between 1 and 50, a
position counted from the beginning of the block.
The number between 7000 and 7004 specified here is called the "block No.".
With the QD75, up to 50 "block start data" points and up to 10 "condition data" items
can be assigned to each "block No.".
GX
Block
Axis Block start data Condition Buffer memory Configurator-
No.
QP
Axis 1 Condition data (1 to 10)
Axis 2 Condition data (1 to 10)
7000 Start block 0
Axis 3 Condition data (1 to 10)
Axis 4 Condition data (1 to 10)
Axis 1 Condition data (1 to 10)
Axis 2 Condition data (1 to 10)
7001 Start block 1
Axis 3 Condition data (1 to 10)
Axis 4 Condition data (1 to 10)
Axis 1 Condition data (1 to 10)
Axis 2 Condition data (1 to 10) Supports the Supports the
7002 Start block 2
Axis 3 Condition data (1 to 10) settings settings
Axis 4 Condition data (1 to 10)
Axis 1 Condition data (1 to 10)
Axis 2 Condition data (1 to 10)
7003 Start block 3
Axis 3 Condition data (1 to 10)
Axis 4 Condition data (1 to 10)
Axis 1 Condition data (1 to 10)
Axis 2 Condition data (1 to 10)
7004 Start block 4
Axis 3 Condition data (1 to 10)
Axis 4 Condition data (1 to 10)
: Setting cannot be made when the "Pre-reading start function" is used. If you set
any of Nos. 7000 to 7004 and perform the Pre-reading start function, "Outside
start No. range error (error code: 543)" will occur.
(For details, refer to Section 12.7.8 "Pre-reading start function".)
5 - 82
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
Value
Example)
26107 26106
Da.19 (High-order) 26106 27106 28106 29106
Value b31 b16 b15 (Low-order) b0 0000H
Parameter 2 26107 27107 28107 29107
Value
5 - 83
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
Da.17 Address
Set the address as required for the " Da.15 Condition target".
5 - 84
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
Da.18 Parameter 1
Set the parameters as required for the " Da.16 Condition operator".
Da.19 Parameter 2
Set the parameters as required for the " Da.16 Condition operator".
5 - 85
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
Whether the mode is the test mode from the peripheral device or not is stored.
Md.1 In test mode flag • When not in test mode : OFF
• When in test mode : ON
5 - 86
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
Storage buffer
memory address
Reading the monitor value Default value (common for axis 1 to
axis 4)
5 - 87
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
b15 b12 b8 b4 b0
Buffer
Md.3 memory
0 0 0 0 0 Monitor
value
Peripheral device 10
Restart flag
Stored contents Storage value
Restart flag OFF 0
Restart flag ON 1
Start No.
Storage value Reference
Stored contents
A B C D (Decimal)
(Hour)
0 0 0 0 0 0 0 0 0 0 0 1 0 1 0 1 0 0 1 5
0 0 0 to 2 0 to 3
Not used 00 to 23 (hour)
Note: If a start signal is issued against an operating axis, a record relating to this event may be output before a
record relating to an earlier start signal is output.
5 - 88
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
Md.8
1292
Start history pointer
0000H
Indicates a pointer No. that is next to the Pointer No.
assigned to the latest of the existing starting history records.
Pointer No.
14 15
12 13
10 11
8 9
6 7
5 1282 1287
3 4 1272 1277
1 2 1262 1267
Pointer No. 0
1247 1252 1257
1237 1242
Md.3 1227 1232
1212 1217 1222 1283 1288
Start information 1273 1278
1258 1263 1268
1253
1243 1248
Md.4 1228 1233 1238
1213 1218 1223 1289
1279 1284
Start No. 1269 1274
Starting history
0000
5 - 89
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
[Storage details] This area stores the following results of the error judgment performed
upon starting:
• BUSY start warning flag
• Error flag
Starting history (Up to 16 records can be stored)
• Error No.
[Reading the monitor value] Monitoring is carried out with a hexadecimal display.
A B C D
Monitor value
Md.7 b15 b12 b8 b4 b0
Buffer memory A B C D
Error a B C D
judgment Error flag Error No.
Stored contents Storage value Convert the hexadecimal value "a, B, C, D" into a decimal value and
match it with "15.2 List of errors".
Error flag OFF 0
Error flag ON 1
BUSY start
0
warning OFF
BUSY start
1
warning ON
Indicates a pointer No. that Monitoring is carried out with a decimal display.
Md.8 is next to the Pointer No. Storage value (Pointer number)
assigned to the latest of the Monitor value 0 to 15
Start history
existing starting history
pointer
records.
5 - 90
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
Md.8
1292
Start history pointer
Pointer No.
14 15
12 13
10 11
8 9
6 7
4 5 1282 1287
2 3 1272 1277
Pointer No. 0 1 1262 1267
1247 1252 1257
1242
1232 1237
Md.3 1222 1227
1212 1217 1278 1283 1288
Start information 1268 1273
1253 1258 1263
1243 1248
1233 1238
Md.4 1223 1228
1213 1218 1284 1289
Start No. 1274 1279
Starting histroy
1264 1269
1249 1254 1259
1244
1234 1239
Md.5 1224 1229
1214 1219 1285 1290
0000H Start hour 1275 1280
1265 1270
1250 1255 1260
1245
1235 1240
Md.6 1225 1230
1215 1220 1281 1286 1291
Start min: sec 1271 1276
1256 1261 1266
1246 1251
1236 1241
Md.7 1226 1231
1216 1221
Error judgement
0 1292
5 - 91
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
(Minute:
0 1 0 0 1 0 0 1 0 0 0 0 0 1 1 1 4 9 0 7
0 to 5 0 to 9 0 to 5 0 to 9
second) 00 to 59 (minute) 00 to 59 (second)
Md.13 Indicates a pointer No. that Monitoring is carried out with a decimal display.
is next to the Pointer No. Storage value
Error history assigned to the latest of the Monitor value (Pointer number)
pointer 0 to 15
existing records.
5 - 92
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
Md.13
1357
Error history pointer
0
Pointer No.
14 15
12 13
10 11
8 9
6 7
4 5 1349 1353
2 3 1341 1345
Pointer No. 0 1 1333 1337
1321 1325 1329
1317
0 1309 1313
Md.9
1297 1301 1305
Axis in which the error 1293 1346 1350 1354
1338 1342
occured 1330 1334
1318 1322 1326
1310 1314
1302 1306
Error history
Md.10
1294 1298 1351 1355
Axis error No. 1343 1347
1335 1339
1323 1327 1331
1319
1311 1315
Md.11 1303 1307
Axis error occurrence 1295 1299 1352 1356
1344 1348
hour 1336 1340
1324 1328 1332
1320
1312 1316
Md.12 1304 1308
Axis error occurrence 1296 1300
0000 min: sec
0 1357
5 - 93
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
(Minute:
0 1 0 0 1 0 0 1 0 0 0 0 0 1 1 1 4 9 0 7
0 to 5 0 to 9 0 to 5 0 to 9
second) 00 to 59 (minute) 00 to 59 (second)
Md.18 Indicates a pointer No. that Monitoring is carried out with a decimal display.
is next to the Pointer No. Storage value
Warning assigned to the latest of the Monitor value (Pointer number)
0 to 15
history pointer existing records.
5 - 94
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
Md.18
Warning history 1422
0 pointer
Pointer No.
14 15
12 13
10 11
8 9
6 7 1418
4 5 1410 1414
2 3 1402 1406
Pointer No. 0 1 1394 1398
1386 1390
0 1378 1382
Md.14 1366 1370 1374
1358 1362 1415 1419
Axis in which the 1407 1411
warning occured 1395 1399 1403
1387 1391
1379 1383
Warning history
0 1422
1424
0
1425
5 - 95
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
The address of the current position according to the machine coordinates will be
stored. (Different from the actual motor position during operation)
Note that the current value changing function will not change the machine feed
value.
Under the speed control mode, the machine feed value is constantly updated
Md.21 Machine feed value always, irrespective of the parameter setting.
The value will not be cleared to "0" at the beginning of fixed-feed control.
Even if "degree" is selected as the unit, the addresses will not have a ring structure
for values between 0 and 359.99999 degrees.
• Machine coordinates: Characteristic coordinates determined with machine
• Update timing: 56.8ms
The command output speed of the operating workpiece is stored. (May be different
from the actual motor speed during operation)
• During interpolation operation, the speed is stored in the following manner.
Md.22 Feedrate Reference axis : Composite speed or reference axis speed
(Set with Pr.20 )
Interpolation axis : 0
• Update timing: 56.8ms
When an axis error is detected, the error code corresponding to the error details is
stored.
• The latest error code is always stored.
Md.23 Axis error No. (When a new axis error occurs, the error code is overwritten.)
• When " Cd.5 Axis error reset" (axis control data) turns ON, the axis error No. is
cleared (set to 0).
5 - 96
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
Storage buffer
Default memory address
Reading the monitor value
value
Axis 1 Axis 2 Axis 3 Axis 4
Sorting
A B C D E F G H 1002 1102
802 902
0000H
Unit conversion table 803 903 1003 1103
Md.20 Md.21 )
)
Converted from
hexadecimal to decimal
n Unit
Decimal integer -1 m
value R -5 inch
-5 degree
0 pulse
Unit conversion
R 10n Unit conversion table
Md.22 )
)
n Unit
Actual value -2 mm/min 804 904 1004 1104
Md.20 Current feed value 0000H
-3 inch/min 805 905 1005 1105
Md.21 Machine feed value
-3 degree/min
Md.22 Feedrate 0 pulse/s
5 - 97
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
This area stores an M code that is currently active (i.e. set to the positioning data
relating to the current operation).
Md.25 Valid M code • Update timing : turning ON of the M code ON signal
When the PLC READY signal (Y0) goes OFF, the value is set to "0".
Md.26 Axis operation status This area stores the axis operation status.
" Da.8 Command speed" of the positioning data currently in execution is stored.
(Stores "0" under the speed control.)
• If " Da.8 Command speed" is set to "-1", this area stores the command speed
5 - 98
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
Storage buffer
Default memory address
Reading the monitor value
value
Axis 1 Axis 2 Axis 3 Axis 4
5 - 99
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
• The speed which is actually output as a command at that time in each axis is
stored. (May be different from the actual motor speed)
Md.28 Axis feedrate
"0" is stored when the axis is at a stop.
Update timing: 56.8ms
• The value set as the movement amount for the position control to end after
Md.29 Speed-position switching
changing to position control with the speed-position switching control (INC mode)
control positioning amount is stored.
5 - 100
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
Storage buffer
Default memory address
Reading the monitor value
value
Axis 1 Axis 2 Axis 3 Axis 4
Monitoring is carried out with a hexadecimal.
Low-order buffer memory Example) 812
Monitor b15 b12 b8 b4 b0
value E F G H
E F G H
Sorting
A B C D E F G H
Unit conversion table
Md.28 )
)
Converted from
hexadecimal to decimal
n Unit
Decimal integer -2 mm/min
value R -3 inch/min
-3 degree/min
0 pulse/s
Unit conversion 814 914 1014 1114
Unit conversion table 0000H
R 10 n 815 915 1015 1115
Md.29 )
)
n Unit
Actual value -1 m
Md.28 Axis feedrate
-5 inch
Md.29 Speed-position switching -5 degree
control positioning amount
0 pulse
Monitor
0 0 value
Not used
Stored items D e fa ult
v a lue Meaning 0000H 816 916 1016 1116
b0 Lower limit signal 0
b1 Upper limit signal 0
b2 Drive unit READY signal 0
b3 Stop signal 0
b4 External command signal 0 0: OFF
b5 Zero signal 0 1: ON
b6 Near-point signal 0
b7 Not used 0
b8 Deviation counter clear signal 0
5 - 101
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
This area stores the target value ( Da.6 Positioning address/movement amount)
for a positioning operation.
Md.32 Target value • At the beginning of positioning control: Stores the value of " Da.6 Positioning
address/movement amount".
• At other times : Stores "0".
5 - 102
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
Storage buffer
Default memory address
Reading the monitor value
value
Axis 1 Axis 2 Axis 3 Axis 4
Monitor
0 value
5 - 103
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
• During operation with positioning data : The actual target speed, considering
the override and speed limit value,
etc., is stored. "0" is stored when
positioning is completed.
• During interpolation : The composite speed or reference
Md.33 Target speed
axis speed is stored in the reference
axis address, and "0" is stored in the
interpolation axis address.
• During JOG operation : The actual target speed, considering
the JOG speed limit value for the
JOG speed, is stored.
• During manual pulse generator operation : "0" is stored.
The " Pr.17 Torque limit setting value" or " Cd.22 New torque value" is stored.
• During positioning start, JOG operation start, manual pulse generator operation
Md.35 Torque limit stored value ...The " Pr.17 Torque limit setting value" is stored.
• When value is changed to " Cd.22 New torque value" during operation
...The " Cd.22 New torque value" is stored.
5 - 104
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
Storage buffer
Default memory address
Reading the monitor value
value
Axis 1 Axis 2 Axis 3 Axis 4
Monitoring is carried out with a hexadecimal display.
Low-order buffer memory Example) 820
Monitor b15 b12 b8 b4 b0
value E F G H
E F G H
Sorting
A B C D E F G H
Unit conversion table
Md.33 )
)
Converted from
hexadecimal to decimal
n Unit
Decimal integer -2 mm/min
value R -3 inch/min
-3 degree/min
0 pulse/s
Unit conversion 822 922 1022 1124
0000H
R 10 n Unit conversion table 823 923 1023 1125
)
Md.34 )
n Unit
Actual value -1 m
Md.33 Target speed
-5 inch
Md.34 Movement amount after
near-point dog ON -5 degree
0 pulse
5 - 105
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
Md.36 Special start data instruction • The " instruction code" used with special start and indicated by the start data
code setting value pointer currently being executed is stored.
The " instruction parameter" used with special start and indicated by the start data
Md.37 Special start data instruction pointer currently being executed is stored.
parameter setting value The stored value differs according to the value set for Md.36 .
Md.38 Start positioning data No. • The "positioning data No." indicated by the start data pointer currently being
setting value executed is stored.
• If the speed exceeds the " Pr.8 Speed limit value" due to a speed change or
• The speed change process flag turns ON when the speed is changed during
Md.40 In speed change processing
positioning control.
• After the speed change process is completed or when deceleration starts with the
flag stop signal during the speed change process, the in speed change process flag
turns OFF.
5 - 106
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
Storage buffer
Default memory address
Reading the monitor value
value
Axis 1 Axis 2 Axis 3 Axis 4
Monitor value
Storage value
00
None None 0 828 928 1028 1128
06
01
02 Condition
1 to 10
03 data No.
05
No. of
04 0 to 255
repetitions
5 - 107
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
• This area stores the remaining number of repetitions during "repetitions" specific
to special starting.
Md.41 Special start repetition
• The count is decremented by one (-1) at the loop end.
counter • The control comes out of the loop when the count reaches "0".
• This area stores "0" within an infinite loop.
• This area stores the remaining number of repetitions during "repetitions" specific
to control system.
Md.42 Control system repetition • The count is decremented by one (-1) at the loop end.
counter • The control comes out of the loop when the count reaches "0".
• This area stores "0" within an infinite loop.
• This area stores a point No. (1 to 50) attached to the start data currently being
Md.43 Start data pointer being
executed.
executed • This area stores "0" after completion of a positioning operation.
Md.44 Positioning data No. being • This area stores a positioning data No. attached to the positioning data currently
executed being executed.
• When the operation is controlled by "block start data", this area stores a block
Md.45 Block No. being executed number (7000 to 7004) attached to the block currently being executed.
• At other times, this area stores "0".
• This area stores the positioning data No. attached to the positioning data that was
Md.46 Last executed positioning
executed last time.
data No. • The value is retained until a new positioning operation is executed.
Md.47 Positioning data being • The addresses shown to the right store details of the positioning data currently
• "1" is stored when the constant speed status or acceleration status switches to the
deceleration status during position control whose operation pattern is "Positioning
Md.48 Deceleration start flag complete".
• "0" is stored at the next operation start or manual pulse generator operation
enable.
5 - 108
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
Storage buffer
Default memory address
Reading the monitor value
value
Axis 1 Axis 2 Axis 3 Axis 4
5 - 109
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
• Requests writing of data (parameters, positioning data, and block start data) from
Cd.1 Flash ROM write request
the buffer memory to the flash ROM.
Cd.41 Deceleration start flag valid Set whether " Md.48 Deceleration start flag" is made valid or invalid.
Cd.42 Stop command processing for • Set the stop command processing for deceleration stop function (deceleration
deceleration stop selection curve re-processing/deceleration curve continuation).
5 - 110
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
Storage buffer
memory address
Setting value Default value (common to axes 1
to 4)
Setting
value K 1
Flash ROM write request 0 1900
1: Requests write access to flash ROM.
The QD75 resets the value to "0" automatically when the write access completes.
(This indicates the completion of write operation.)
Setting
value K 1
Parameter initialization request
0 1901
1: Requests parameter initialization.
The QD75 resets the value to "0" automatically when the initialization completes.
(This indicates the completion of parameter initialization.)
5 - 111
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
• Set a " starting point No." (1 to 50) if block start data is used for positioning.
Cd.4 Positioning starting point No.
(Handled as "1" if the value of other than 1 to 50 is set.)
• Clears the axis error detection, axis error No., axis warning detection and axis
warning No.
Cd.5 Axis error reset
• When the QD75 axis operation state is "in error occurrence", the error is cleared
and the QD75 is returned to the "waiting" state.
• When positioning is stopped for any reason (when axis operation state is
Cd.6 Restart command "stopped"), set "1" in Cd.6 . Positioning will be carried out again from the stopped
position to the end point of the stopped positioning data.
5 - 112
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
Storage buffer
Default memory address
Setting value
value
Axis 1 Axis 2 Axis 3 Axis 4
Setting K
value
value K 1 to 50
The value is set to "0" by the QD75 automatically when the continuous
operation is interrupted.
K 1
Error reset request 0 1502 1602 1702 1802
1: Axis error is reset.
After the axis error reset is completed, "0" is stored by the QD75 automatically.
(Indicates that the axis error reset is completed.)
Set with a decimal.
Setting value
K 1
Restart command 0 1503 1603 1703 1803
1: Restarts
K 1
M code OFF request 0 1504 1604 1704 1804
1: M code ON signal turns OFF
After the M code ON signal turns OFF, "0" is stored by the QD75 automatically.
(Indicates that the OFF request is completed.)
5 - 113
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
• When changing the "current feed value" using the start No. "9003", use this data
item to specify a new feed value.
• Set a value within the following range:
5 - 114
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
Storage buffer
Default memory address
Setting value
value
Axis 1 Axis 2 Axis 3 Axis 4
Setting value
K 0 1505 1605 1705 1805
External command valid
0: Invalidates an external command.
1: Validates an external command.
5 - 115
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
• When changing the acceleration time during a speed change, use this data item
to specify a new acceleration time.
Cd.10 New acceleration time value Cd.10 setting range (unit)
0 to 8388608 (ms)
• When changing the deceleration time during a speed change, use this data item
to specify a new deceleration time.
0 to 8388608 (ms)
5 - 116
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
Storage buffer
Default memory address
Setting value
value
Axis 1 Axis 2 Axis 3 Axis 4
Setting
value K
Acceleration/deceleration time change 0 1512 1612 1712 1812
during speed change, enable/disable selection
1 : Enables modifications to
acceleration/deceleration time
Other than 1: Disables modifications to
acceleration/deceleration time
5 - 117
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
• To use the positioning operation speed override function, use this data item to
specify an "override" value.
Cd.13 Positioning operation speed For details of the override function, refer to Section 12.5.2" Override function".
override If the speed resulting from a small override value (e.g. 1%) includes fractions
below the minimum unit, the speed is raised to make a complete unit and the
warning No. 110 is output.
• When changing the speed, use this data item to specify a new speed.
• The operation halts if you specify "0".
• Set a value within the following range:
• After setting the " Cd.14 New speed value", set this data item to "1" to execute
Cd.15 Speed change request
the speed change (through validating the new speed value).
5 - 118
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
Storage buffer
Default memory address
Setting value
value
Axis 1 Axis 2 Axis 3 Axis 4
Setting value
K 100 1513 1613 1713 1813
10n n Unit
-2 mm/min
1514 1614 1714 1814
Setting value -3 inch/min 0
(Decimal) R 1515 1615 1715 1815
-3 degree/min
0 pulse/s
Setting
value K 1
Speed change request
1: Executes speed change. 0 1516 1616 1716 1816
5 - 119
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
5 - 120
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
Storage buffer
Default memory address
Setting value
value
Axis 1 Axis 2 Axis 3 Axis 4
Set with a decimal.
10n n Unit
-1 m
Setting value -5 inch 0 1517 1617 1717 1817
(Decimal) R
-5 degree
0 pulse
10n n Unit
-2 mm/min 1518 1618 1718 1818
Setting value 0
R -3 inch/min 1519 1619 1719 1819
(Decimal) degree/min
-3
0 pulse/s
Setting
value K 1
Interruption request continuous operation
1: Interrupts continuous operation control
or continuous path control. 0 1520 1620 1720 1820
The QD75 resets the value to "0" automatically when the continuous
control interruption request is processed.
(This indicates the completion of continuous operation interruption request.)
5 - 121
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
Cd.19 OPR request flag OFF • The sequence program can use this data item to forcibly turn the OPR request
request flag from ON to OFF.
• This data item determines the factor by which the number of pulses from the
Cd.20 Manual pulse generator 1 manual pulse generator is magnified.
pulse input magnification • Value "0" : read as "1".
• Value "101" or less: read as "100".
• When changing the " Md.35 Torque limit stored value", use this data item to
Cd.22 New torque value specify a new torque limit stored value.
• Set a value within the allowable range of the " Pr.17 Torque limit setting value".
5 - 122
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
Storage buffer
Default memory address
Setting value
value
Axis 1 Axis 2 Axis 3 Axis 4
Setting
value K 1
OPR request flag OFF request
1: Turns the "OPR request flag" 0 1521 1621 1721 1821
from ON to OFF.
The QD75 resets the value to "0" automatically when the OPR
request flag is turned OFF.
(This indicates the completion of OPR request flag OFF request.)
Setting value
K 1522 1622 1722 1822
1
1523 1623 1723 1823
Manul pulse generator
1 pulse input
magnification
1 to 100
Setting value
K 0 1524 1624 1724 1824
Manual pulse generator enable flag
0: Disable manual pulse generator operation.
1: Enable manual pulse generator operation.
5 - 123
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
• During the speed control stage of the speed-position switching control (INC
mode), it is possible to change the specification of the movement amount during
the position control stage. For that, use this data item to specify a new movement
amount.
• The new movement amount has to be set during the speed control stage of the
speed-position switching control (INC mode).
Cd.23 Speed-position switching • The value is reset to "0" when the next operation starts.
control movement amount • Set a value within the following range:
change register
mm inch degree pulse
Pr.1
(×10-1 µm) (×10-5 inch) (×10-5 degree) (pulse)
0 to 0 to 0 to 0 to
Setting range
2147483647 2147483647 2147483647 2147483647
Cd.24 Speed-position switching • Set whether the external control signal (external command signal [CHG]: "speed-
enable flag position, position-speed switching request" is selected) is enabled or not.
5 - 124
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
Storage buffer
Default memory address
Setting value
value
Axis 1 Axis 2 Axis 3 Axis 4
Set with a decimal.
10n n Unit
-1 m
1526 1626 1726 1826
Setting value -5 inch 0
(Decimal) R 1527 1627 1727 1827
-5 degree
0 pulse
Setting
value K
Speed-position switching enable flag
0 1528 1628 1728 1828
0: Speed control will not be taken over
by position control even when the
external command signal comes ON.
1: Speed control will be taken over by
position control when the external
command signal comes ON.
10n n Unit
-2 mm/min
1530 1630 1730 1830
Setting value -3 inch/min 0
(Decimal) R 1531 1631 1731 1831
-3 degree/min
0 pulse/s
5 - 125
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
Cd.26 Position-speed switching • Set whether the external control signal (external command signal [CHG]: "speed-
control enable flag position, position-speed switching request" is selected) is enabled or not.
• When changing the target position during a positioning operation, use this data
item to specify a new positioning address.
• Set a value within the following range:
• When changing the target position during a positioning operation, use this data
item to specify a new speed.
• The speed will not change if "0" is set.
• Set a value within the following range:
Cd.28 Target position change value
mm inch degree pulse
(New speed) Pr.1
(× 10-2 mm/min) (× 10-3 inch/min) (× 10-3 degree/min) (pulse/s)
0 to 0 to 0 to
Setting range 0 to 1000000
2000000000 2000000000 2000000000
5 - 126
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
Storage buffer
Default memory address
Setting value
value
Axis 1 Axis 2 Axis 3 Axis 4
Setting value
K
Position-speed switching
enable flag 0 1532 1632 1732 1832
0: Position control will not be taken
over by speed control even when the
external command signal comes ON.
1: Position control will be taken
over by speed control when the
external command signal comes ON.
10n n Unit
-1 m
Setting value -5 inch
(Decimal) R
-5 degree
0 pulse
Setting
value K 1
Target position change request flag
0 1538 1638 1738 1838
1: Requests a change in the target position
5 - 127
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
• To perform a step operation, use this data item to specify the units by which the
Cd.34 Step mode
stepping should be performed.
Cd.35 Step valid flag • This data item validates or invalidates step operations.
5 - 128
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
Storage buffer
Default memory address
Setting value
value
Axis 1 Axis 2 Axis 3 Axis 4
Setting
value K 0 1544 1644 1744 1844
Step mode
0: Stepping by deceleration units
1: Stepping by data No. units
Setting
value K 0 1545 1645 1745 1845
Step valid flag
0: Invalidates step operations
1: Validates step operations
5 - 129
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
• During a step operation, this data item determines whether the operation is
Cd.36 Step start information
continued or restarted.
Cd.37 Skip command • To skip the current positioning operation, set "1" in this data item.
Cd.38 Teaching data selection • This data item specifies the teaching result write destination.
• This data item specifies the ABS moving direction carrying out the position control
Cd.40 ABS direction in degrees
when "degree" is selected as the unit.
5 - 130
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
Storage buffer
Default memory address
Setting value
value
Axis 1 Axis 2 Axis 3 Axis 4
Set with a decimal.
Setting
value K
Step start information 0 1546 1646 1746 1846
1: Continues step opration
2: Restarts operation
Setting
value K 1
Skip request
1: Issues a skip request to have
0 1547 1647 1747 1847
the machine decelerate, stop,
and then start the next positioning
operation.
The QD75 resets the value to "0" automatically
when processing of the skip request completes.
Setting
value K
0 1548 1648 1748 1848
Teaching data selection
0: Takes the current feed value as a positioning
address.
1: Takes the current feed value as an arc data.
Setting value
K
0 1549 1649 1749 1849
Teaching
positioning
data No.
1 to 600
Setting
value K
ABS direction in degrees
0 1550 1650 1750 1850
0: Takes a shortcut.
(Specified direction ignored.)
1: ABS circular right
2: ABS circular left
5 - 131
5 DATA USED FOR POSITIONING CONTROL
MELSEC-Q
MEMO
5 - 132
Chapter 6 Sequence Program Used for
Positioning Control
The programs required to carry out positioning control with the QD75 are explained
in this chapter.
The sequence program required for control is created allowing for the "start conditions",
"start time chart", "device settings" and general control configuration. (The parameters,
positioning data, block start data and condition data, etc., must be set in the QD75
according to the control to be executed, and program for setting the control data or a
program for starting the various control must be created.)
The first half of this chapter explains the program configuration of general control, and
the latter half explains the program details. Create the required program while referring
to the various control details explained in Section 2, and to Chapter 5 "Data used for
positioning control".
6-1
6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL
MELSEC-Q
The common precautions to be taken when writing data from the PLC CPU to the
QD75 buffer memory are described below.
When diverting any of the program examples introduced in this manual to the actual
system, fully verify that there are no problems in the controllability of the target system.
6-2
6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL
MELSEC-Q
Q Q Q Q Q Q
25 D X X Y 62
Power supply module H 75 41 40 40 D
C P A
P 4
U
X40 to X45
External
devices
X47 to X49 X20 to X3F
(for absolute
position restoration)
Servomotor M
X21 U0\
0 MOVP K1 G1505
X21
0 TOP H0 K1505 K1 K1
Designated Designated
value value Number of
at U0 at G1505 write data (1)
6-3
6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL
MELSEC-Q
(b) When the circuit uses the "intelligent function device" on the source(s) side
and the destination (D) side of a MOV command, change the command to a
FROM command and a TO command.
X15 X0C U0\ U6\
0 MOVP G826 G1
Set the
same device.
X15 X0C
0 FROMP H0 K826 D100 K1
TOP H6 K1 D100 K1
(c) When the circuit uses the "intelligent function device" for a COMPARISON
command, change the command to a FROM command and a
COMPARISON command.
M0 U0\
0 = G1521 K0 RST M0
M0
0 FROMP H0 K1521 D102 K1
(d) When the circuit uses the "intelligent function device" for a WAND command,
change the command to a FROM command and a WAND command.
M2 U0\
0 WANDP G817 H8 D0
M2
0 FROMP H0 K817 D101 K1
Data read out
WANDP D101 H8 D0
REMARK
Refer to QCPU (Q mode) User's Manual (Functions and Programs Basic Part) for
the intelligent function devices.
Refer to QCPU (Q mode) Programming Manual (Common Commands Part) for
detail commands used in those programs shown in this chapter and subsequent.
6-4
6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL
MELSEC-Q
In the sequence programs shown in this chapter and subsequent, the application of the
devices used are as follows.
The I/O numbers for QD75 indicate those when QD75 is mounted in the 0-slot of the
main base.
If it is mounted in the slot other than the 0-slot of the main base, change the I/O
number to that for the position where QD75 was installed.
In addition, change the external inputs, external outputs, internal relays, data resisters,
and timers according to the system used.
6-5
6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL
MELSEC-Q
Device Device
Application Details when ON
name Axis 1 Axis 2 Axis 3 Axis 4
X2C M code OFF command Commanding M code OFF
JOG operation speed setting Commanding JOG operation speed
X2D
command setting
Commanding forward run JOG/inching
X2E Forward run JOG/inching command
operation
Commanding reverse run JOG/inching
X2F Reverse run JOG/inching command
operation
Manual pulse generator operation Commanding manual pulse generator
X30
enable command operation enable
Manual pulse generator operation Commanding manual pulse generator
X31
disable command operation disable
X32 Speed change command Commanding speed change
X33 — Override command Commanding override
Acceleration/deceleration time change Commanding acceleration/deceleration
X34
command time change
Acceleration/deceleration time change Commanding acceleration/deceleration
X35
disable command time change disable
X36 Torque change command Commanding torque change
X37 Step operation command Commanding step operation
X38 Skip operation command Commanding skip operation
External
input X39 Teaching command Commanding teaching
(command) Continuous operation interrupt Commanding continuous operation
X3A
command interrupt command
X3B Restart command Commanding restart
X3C Parameter initialization command Commanding parameter initialization
X3D Flash ROM write command Commanding flash ROM write
X3E Error reset command Commanding error reset
X3F Stop command Commanding stop
Position-speed switching operation Position-speed switching operation
X40
command command
Position-speed switching enable Position-speed switching enable
X41
command command
Position-speed switching prohibit Position-speed switching prohibit
X42
— command command
X43 Speed change command Speed change command
Inching movement amount setting Inching movement amount setting
X44
command command
X45 Target position change command Target position change command
Speed-position switching control (ABS Speed-position switching control (ABS
X4D
mode) setting command mode) setting command
X4E Positioning start command (Y start) Positioning start command being given
External X47 ABS data bit 0 —
input
(absolute X48 — ABS data bit 1 —
position
restoration) X49 Transmission data READY flag —
External Y50 Servo ON signal —
output
(absolute Y51 — ABS transmission mode —
position
restoration) Y52 ABS request mode —
6-6
6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL
MELSEC-Q
Device Device
Application Details when ON
name Axis 1 Axis 2 Axis 3 Axis 4
M0 OPR request OFF command Commanding OPR request OFF
M1 OPR request OFF command pulse OPR request OFF commanded
M2 OPR request OFF command storage OPR request OFF command held
M3 Fast OPR command Commanding fast OPR
M4 Fast OPR command storage Fast OPR command held
M5 Positioning start command pulse Positioning start commanded
M6 Positioning start command storage Positioning start command held
M7 In-JOG/Inching operation flag In-JOG/Inching operation flag
Manual pulse generator operation Commanding manual pulse generator
M8
enable command operation enable
M9 Manual pulse generator operating flag Manual pulse generator operating flag
Manual pulse generator operation Commanding manual pulse generator
M10
disable command operation disable
M11 Speed change command pulse Speed change commanded
—
M12 Speed change command storage Speed change command held
M13 Override command Requesting override
Acceleration/deceleration time change Requesting acceleration/deceleration
M14
command time change
M15 Torque change command Requesting torque change
M16 Step operation command pulse Step operation commanded
M17 Skip command pulse Skip commanded
Internal relay
M18 Skip command storage Skip command held
M19 Teaching command pulse Teaching commanded
M20 Teaching command storage Teaching command held
Continuous operation interrupt Requesting continuous operation
M21
command interrupt
M22 Restart command Requesting restart
M23 Restart command storage Restart command held
Parameter initialization command
M24 Parameter initialization commanded
pulse
Parameter initialization command
M25 Parameter initialization command held
storage
M26 Flash ROM write command pulse Flash ROM write commanded
M27 Flash ROM write command storage Flash ROM write command held
M28 Error reset Error reset completed
M29 Stop command pulse Stop commanded
Target position change command
M30 Target position change commanded
pulse
— Target position change command
M31 Target position change command held
storage
M32 PSTRT1 instruction complete device PSTRT1 instruction completed
PSTRT1 instruction error complete
M33 PSTRT1 instruction error completed
device
6-7
6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL
MELSEC-Q
Device Device
Application Details when ON
name Axis 1 Axis 2 Axis 3 Axis 4
M34 ZP.TEACH1 instruction complete device ZP.TEACH1 instruction completed
ZP.TEACH1 instruction error complete ZP.TEACH1 instruction error
M35
device completed
M36 ZP.PINIT instruction complete device ZP.PINIT instruction completed
ZP.PINIT instruction error complete
M37 ZP.PINIT instruction error completed
device
M38 ZP.PFWRT instruction complete device ZP.PFWRT instruction completed
ZP.PFWRT instruction error complete ZP.PFWRT instruction error
M39
device completed
Internal relay M40 — Absolute position restoration instruction Absolute position restoration
pulse commanded
Absolute position restoration instruction Absolute position restoration
M41
storage instruction held
M42 Z.ABRST instruction complete device Z.ABRST instruction completed
Z.ABRST instruction error complete
M43 Z.ABRST instruction error completed
device
Basic parameter 1 setting complete
M50 Basic parameter 1 setting completed
device
OPR basic parameter setting complete OPR basic parameter setting
M51
device completed
6-8
6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL
MELSEC-Q
Device Device
Application Details of storage
name Axis 1 Axis 2 Axis 3 Axis 4
Acceleration time setting
D15
(low-order 16 bits) ( Cd.10 New acceleration time
Acceleration time setting value)
D16
(high-order 16 bits)
Deceleration time setting
D17
(low-order 16 bits) ( Cd.11 New deceleration time
Deceleration time setting value)
D18
(high-order 16 bits)
( Cd.12 Acceleration/deceleration
Acceleration/deceleration time change
D19 time change enable/disable selection
enable
in speed change)
D20 Step valid flag ( Cd.35 step valid flag)
D51 No. of pulses per rotation ( Pr.2 No. of pulses per rotation)
6-9
6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL
MELSEC-Q
Device Device
Application Details of storage
name Axis 1 Axis 2 Axis 3 Axis 4
( Pr.3 Movement amount per
D52 Movement amount per rotation
rotation)
D53 Unit magnification ( Pr.4 Unit magnification)
6 - 10
6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL
MELSEC-Q
The "positioning control operation program" actually used is explained in this chapter.
The functions and programs explained in Section 2 are assembled into the "positioning
control operation program" explained here. (To monitor the control, add the required
monitor program that matches the system. Refer to Section 5.6 "List of monitor data"
for details on the monitor items.)
Start program
Completion of program
creation
6 - 11
6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL
MELSEC-Q
The various programs that configure the "positioning control operation program" are
shown below. When creating the program, refer to the explanation of each program
and Section 6.4 "Positioning program examples", and create an operation program that
matches the positioning system. (Numbers are assigned to the following programs.
Configuring the program in the order of these numbers is recommended.)
No.1
Parameter setting program
Set using GX
Configurator-QP
When not carrying out "OPR
control", the OPR parameters
do not need to be set.
No.2
Positioning data setting program
No.3
Block start data setting program
Initialization program
No.4
OPR request OFF program Refer to Section 6.5.1
Carried out
No.5
External command function valid
setting program Refer to Section 6.5.1
No.6
PLC READY signal [Y0] ON program Required
6 - 12
6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL
MELSEC-Q
Start program
No.8
Positioning start program Refer to Section 6.5.3
No.9
Program to reset the start
M code OFF program
signal and turn the M code
ON signal OFF
No.10
JOG operation program Refer to Section 11.2.4
No.12
No.11
Inching operation program Refer to Section 11.3.4
No.12
No.13
Manual pulse generator
Refer to Section 11.4.4
operation program
6 - 13
6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL
MELSEC-Q
Sub program
No.15
Override program Refer to Section 12.5.2
No.17
Torque change program Refer to Section 12.5.4
No.18
Step operation program Refer to Section 12.7.1
No.19
Skip program Refer to Section 12.7.2
No.20
Teaching program Refer to Section 12.7.4
No.21
Continuous operation interrupt program Refer to Section 6.5.4
No.22
Target position change program Refer to Section 12.7.5
No.23
Absolute position restoration program Refer to Section 14.3
No.24
Restart program Refer to Section 6.5.5
No.25
Parameter initialization program Refer to Section 13.2
No.26
Flash ROM write program Refer to Section 13.3
Stop program
Program used to stop control
No.28
Stop program Refer to Section 6.5.6
6 - 14
6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL
MELSEC-Q
<Setting of 0 to OP address>
6 - 15
6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL
MELSEC-Q
<(Dummy data)>
6 - 16
6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL
MELSEC-Q
6 - 17
6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL
MELSEC-Q
287
<Positioning data No. 2 setting>
307
<New movement amount write>
313
<Positioning data No. 3 setting>
320
<Position-speed switching signal enable setting>
326
<Position-speed switching signal prohibit setting>
332
<New speed write>
(7) Fast OPR command and fast OPR command storage OFF
(Not required when fast OPR is not used)
345
<Fast OPR command OFF>
359
<Positioning start command pulse>
372
<Positioning start command hold>
384
<Positioning start execution>
6 - 18
6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL
MELSEC-Q
397
<Positioning start command pulse>
408
<Positioning start command hold>
421
<Positioning start No. setting>
439
<M code OFF request write>
No. 10 JOG operation setting program
449
<JOG operation speed (100.00 mm/min) setting>
480
<Inching movement amount (1.0 m) setting>
505
<JOG/inching operating flag ON>
512
516
<Forward run JOG/inching operation execution>
521
<Reverse run JOG/inching operation execution>
6 - 19
6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL
MELSEC-Q
526
<Manual pulse generator operation command
pulse>
533
<Manual pulse generator 1 pulse input
magnification setting>
565
<Speed change command pulse>
572
<Speed change command hold>
576
<New speed value (20.00 mm/min) setting>
596
<Override command pulse>
603
<Setting of override value to 200 %>
613
<Acceleration/deceleration time change
command pulse>
620
<Setting of acceleration time to 2000 ms>
6 - 20
6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL
MELSEC-Q
645
<Torque change command pulse>
652
<Write of torque limit value in Q62DA>
660
<Step operation command pulse>
667
<Step operation run selection>
681
<Skip pulse>
688
<Skip command ON storage>
692
<Skip command write>
715
<Teaching command hold>
719
<Teaching data setting>
<Teaching execution>
740
<Continuous operation interrupt command pulse>
754
<Target position change command pulse>
761
<Target position change command hold>
765
<Setting of target position address to 300.0 m>
6 - 21
6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL
MELSEC-Q
788
796
<Status reset>
(2) Setting of transmit data to servo-amplifier and confirmation of absolute position restoration completion
ABRST1 instruction completed when M42 is ON and M43 is OFF.
Absolute position data restoration completed when status = 0.
802
823
<ABS data bit 0 ON/OFF>
850
<Restart command pulse>
857
<Restart command ON during stop>
864
<Restart request write>
878
<Parameter initialization command pulse>
885
<Parameter initialization command hold>
889
<PLC READY output to QD75 standby>
896
<Parameter initialization execution>
6 - 22
6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL
MELSEC-Q
944
<Error code read>
953
<Error reset command pulse>
957
<Error reset execution>
964
<Stop command pulse>
971
<Stop execution>
979
6 - 23
6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL
MELSEC-Q
Cd.19 OPR request flag OFF 1 Set to "1: Turn OPR request flag OFF". 1521 1621 1721 1821
request
Refer to Section 5.7 "List of control data" for details on the setting details.
ON
OFF
PLC READY signal [Y0]
ON
OFF
QD75 READY signal [X0]
ON
OPR request OFF flag OFF
[ Md. 31 Status: b3]
Refer to Section 5.7 "List of control data" for details on the setting details.
6 - 24
6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL
MELSEC-Q
This program sets which control, out of "OPR", "major positioning control" or "high-level
positioning control" to execute. For " high-level positioning control", "fast OPR", "speed-
position switching control" and "position-speed switching control", add the respectively
required sequence program.
(Refer to Chapter 10 for details on starting the " high-level positioning control.)
(1) Set the "positioning start No." corresponding to the control to be started in
" Cd.3 Positioning start No.".
(2) For " high-level positioning control", set the "positioning start point No." of the
block to be started in " Cd.4 Positioning start point No.".
Refer to Section 5.7 "List of control data" for details on the setting details.
(3) Set the following control data for "speed-position switching control (INC
mode)".
(Set " Cd.23 Speed-position switching control movement amount change
register as required". Setting is not required in the ABS mode.)
Setting Buffer memory address
Setting item Setting details
value Axis 1 Axis 2 Axis 3 Axis 4
Speed-position switching Set the new value when the position control's 1526 1626 1726 1826
Cd.23 control movement amount movement amount is to be changed during
change register speed control. 1527 1627 1727 1827
Cd.24
Speed-position switching When "1" is set, the speed-position switching
1 1528 1628 1728 1828
enable flag signal will be validated.
Refer to Section 5.7 "List of control data" for details on the setting details.
6 - 25
6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL
MELSEC-Q
(4) For "position-speed switching control", set the control data shown below.
(As required, set the " Cd.25 Position-speed switching control speed change
resister".)
Setting Buffer memory address
Setting item Setting details
value Axis 1 Axis 2 Axis 3 Axis 4
Position-speed switching
Cd.25 Used to set a new value when speed is changed 1530 1630 1730 1830
control speed change
during positioning control. 1531 1631 1731 1831
resister
Cd.26
Position-speed switching To validate position-speed switching signal, this
1 1532 1632 1732 1832
enable flag is set to 1.
Refer to Section 5.7 "List of control data" for details on the setting details.
6 - 26
6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL
MELSEC-Q
3)
Control with
positioning data
1) No. 1
1
1500
PLC CPU
2)
ON
When starting positioning with the scan
Input/output signal after the completion of positioning,
insert X10 as an interlock so that
positioning is started after Y10 is turned
Y10 OFF and X10 is turned OFF.
1) Set the "positioning start No." in " Cd.3 Positioning start No." according to the control to
be started.
(In the above example, set positioning data No. "1".)
2) Input the positioning start signal [Y10] or the external command signal.
3) The positioning data No. "1" will start.
6 - 27
6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL
MELSEC-Q
Starting conditions
To start the control, the following conditions must be satisfied.
The necessary start conditions must be incorporated in the sequence program so
that the control is not started when the conditions are not satisfied.
Device
Signal name Signal state
Axis 1 Axis 2 Axis 3 Axis 4
PLC READY signal ON PLC CPU preparation completed Y0
QD75 READY signal ON QD75 preparation completed X0
QD75 buffer memory
Synchronization flag ON X1
Accessible
Interface Axis stop signal OFF Axis stop signal is OFF. Y4 Y5 Y6 Y7
signal
M code ON signal OFF M code ON signal is OFF. X4 X5 X6 X7
Error detection signal OFF No error is present. X8 X9 XA XB
BUSY signal OFF BUSY signal is OFF. XC XD XE XF
Start complete signal OFF Start complete signal is OFF. X10 X11 X12 X13
Drive unit READY signal ON Drive unit preparation completed –
External Stop signal OFF Stop signal is OFF. –
signal Upper limit (FLS) ON Within limit range –
Lower limit (RLS) ON Within limit range –
: When the synchronous setting of the PLC CPU is made in the nonsynchronous mode, this must be
provided as an interlock.
When it is made in the synchronous mode, no interlock must be provided in the program because the
flag is turned ON when calculation is run on the PLC CPU.
6 - 28
6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL
MELSEC-Q
V
Dwell time
Positioning t
ON
Positioning start signal OFF
[Y10, Y11, Y12, Y13]
ON
Start complete signal OFF
[X10, X11, X12, X13]
ON
BUSY signal OFF
[XC, XD, XE, XF]
ON
Positioning complete
OFF
signal
[X14, X15, X16, X17]
POINTS
The BUSY signal [XC, XD, XE, XF] turns ON even when position control of movement amount 0 is
executed. However, since the ON time is short, the ON status may not be detected in the sequence
program.
(The ON status of the start complete signal [X10, X11, X12, X13], positioning complete signal [X14,
X15, X16, X17] and M code ON signal [X4, X5, X6, X7] can be detected in the sequence program.)
6 - 29
6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL
MELSEC-Q
Near-point dog
Zero signal
ON
OFF
Positioning start signal [Y10]
ON
OFF
PLC READY signal [Y0]
ON
OFF
QD75 READY signal [X0]
ON
OFF
Start complete signal [X10]
ON
OFF
BUSY signal [XC]
OFF
Error detection signal [X8]
ON
OPR request flag OFF
[ Md. 31 Status: b3]
ON
OPR complete flag OFF
[ Md. 31 Status: b4]
6 - 30
6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL
MELSEC-Q
ON
OFF
Positioning start signal [Y10]
ON
OFF
PLC READY signal [Y0]
ON
OFF
QD75 READY signal [X0]
ON
OFF
Start complete signal [X10]
ON
OFF
BUSY signal [XC]
OFF
Error detection signal [X8]
6 - 31
6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL
MELSEC-Q
Operation pattern
V Dwell time
Positioning data No. 1(11)
2(00)
6 - 32
6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL
MELSEC-Q
6 - 33
6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL
MELSEC-Q
t2
Output pulse to external source
(PULSE)
Positioning operation
6 - 34
6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL
MELSEC-Q
M code ON signal
(WITH mode) [X4, X5, X6, X7]
t2
t4
Output pulse to external source
(PULSE)
Positioning operation
t5
Positioning complete signal
[X14, X15, X16, X17]
t6
M code ON signal
(AFTER mode)
[X4, X5, X6, X7] t2
• When the positioning start signal turns ON, if all signals marked with an
asterisk ( ) are already ON, the signals marked with an asterisk ( ) will turn
OFF when the positioning start signal turns ON.
6 - 35
6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL
MELSEC-Q
Restrictions
When starting by inputting the external command signal, the start complete signal
[X10, X11, X12, X13] will not turn ON.
Refer to Chapter 5 "Data Used for Positioning Control" for details on the setting details.
Operation pattern
V Dwell time
Positioning data No. 1(00)
Fig. 6.11 Time chart for starting with external start signal
6 - 36
6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL
MELSEC-Q
During positioning control, the control can be interrupted during continuous positioning
control and continuous path control (continuous operation interrupt function). When
"continuous operation interruption" is execution, the control will stop when the
operation of the positioning data being executed ends. To execute continuous
operation interruption, set "1: Continuous operation interrupt request" for " Cd.18
Interrupt request during continuous operation".
Start
t
Positioning data No. 10 Positioning data No. 11 Positioning data No. 12
[2] Restrictions
(1) When the "continuous operation interrupt request" is executed, the positioning
will end.
Thus, after stopping, the operation cannot be "restarted".
When " Cd.6 Restart command" is issued, a warning "Restart not possible"
(warning code: 104) will occur.
(2) Even if the stop command is turned ON after executing the "continuous
operation interrupt request", the "continuous operation interrupt request"
cannot be canceled.
Thus, if "restart" is executed after stopping by turning the stop command ON,
the operation will stop when the positioning data No. where "continuous
operation interrupt request" was executed is completed.
Axis 1
Continuous operation
interrupt request
Axis 2
Positioning with positioning data No. 10
6 - 37
6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL
MELSEC-Q
Start
t
Positioninig data No. 10 Positioning data No. 11 Positioning data No. 12
(4) When operation is not performed (BUSY signal [XC, XD, XE, XF] is OFF), the
interrupt request during continuous operation is not accepted. It is cleared to 0
at a start or restart.
Cd.18 Interrupt request during Set "1: Interrupt request during continuous
1 1520 1620 1720 1820
continuous operation operation".
Refer to Section 5.7 "List of control data" for details on the setting details.
6 - 38
6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL
MELSEC-Q
When a stop factor occurs during position control and the operation stops, the
positioning can be restarted from the stopped position to the position control end point
by using the "restart command" ( Cd.6 Restart command).
("Restarting" is not possible when "continuous operation is interrupted.")
[2] Restrictions
(1) Restarting can be executed only when the " Md.26 Axis operation status" is
"stopped".
If the axis operation is not "stopped", restarting is not possible.
(2) Do not execute restart while the stop command is ON.
If restart is executed while stopped, an error "Stop signal ON at start" (error
code: 106) will occur, and the " Md.26 Axis operation status" will change to
"error occurring".
Thus, even if the error is reset, the operation cannot be restarted.
(3) Restarting can be executed even while the positioning start signal is ON.
However, make sure that the positioning start signal does not change from
OFF to ON while stopped.
If the positioning start signal changes from OFF to ON, positioning will start
from the positioning data No. of designated point's positioning data No. set in
" Cd.3 Positioning start No.".
(4) If positioning is ended with the continuous operation interrupt request, the
operation cannot be restarted.
If restart is requested, a warning "Restart not possible" (warning code: 104)
will occur.
(5) When stopped with interpolation operation, write "1: Restarts" into
" Cd.6 Restart command" for the reference axis, and then restart.
(6) If the " Md.26 Axis operation status" is not "stopped" when restarting, a
warning "Restart not possible" (warning code: 104) will occur, and the process
at that time will be continued.
6 - 39
6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL
MELSEC-Q
REMARK
Restarting after stopping is possible even for the following control.
• Incremental system position control • Continuous positioning control
• Continuous path control • Block start
Refer to Section 5.7 "List of control data" for details on the setting details.
: When the synchronous setting of the PLC CPU is made in the nonsynchronous mode, this must be
provided as an interlock.
When it is made in the synchronous mode, no interlock must be provided in the program because the
flag is turned ON when calculation is run on the PLC CPU.
6 - 40
6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL
MELSEC-Q
V Dwell time
6 - 41
6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL
MELSEC-Q
The axis stop signal [Y4, Y5, Y6, Y7] or a stop signal from an external source is used
to stop the control.
Create a program to turn ON the axis stop signal [Y4, Y5, Y6, Y7] as the stop program.
6 - 42
6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL
MELSEC-Q
REMARK
1 "Deceleration stop" and "sudden stop" are selected with the details parameter 2
"stop group 1 to 3 sudden stop selection". (The default setting is "deceleration
stop".)
6 - 43
6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL
MELSEC-Q
(1) If the deceleration stop command ON (stop signal ON) or deceleration stop
cause occurs during deceleration to speed 0 (including automatic
deceleration), operation changes depending on the setting of " Cd.42 Stop
command processing for deceleration stop selection".
(a) Manual control
Independently of the Cd.42 setting, a deceleration curve is re-processed
from the speed at stop cause occurrence.
(b) OPR control, positioning control
• When Cd.42 = 0 (deceleration curve re-processing):
(2) If the stop signal ON or stop cause specified for a sudden stop occurs during
deceleration, sudden stop process will start at that point.
However, if the sudden stop deceleration time is longer than the deceleration
time, the deceleration stop process will be continued even if a sudden stop
cause occurs during the deceleration stop process.
Example
The process when a sudden stop cause occurs during deceleration stop is shown below.
Sudden Sudden
stop cause stop cause
Stop Stop
Sudden stop deceleration process Deceleration stop process continues Process for sudden stop
(3) Operation will stop immediately if the target reaches the positioning address
specified in the currently executed positioning data during deceleration of
position control.
6 - 44
Chapter 7 Memory Configuration and Data
Process
7
The QD75 memory configuration and data transmission are explained in this chapter.
7-1
7 MEMORY CONFIGURATION AND DATA PROCESS
MELSEC-Q
Backup
Memory
(No.7000 to 7004)
Monitor data area
Parameter area
(No. 1 to 600)
Area that can be directly accessed Not
• Buffer memory with sequence program from PLC pos-
CPU. sible
: Setting and storage area provided, Not possible: Data is lost when power is turned OFF
– : Setting and storage area not provided, Possible: Data is held even when power is turned OFF
7-2
7 MEMORY CONFIGURATION AND DATA PROCESS
MELSEC-Q
Details of areas
• Parameter area
Area where parameters, such as positioning parameters and OPR parameters,
required for positioning control are set and stored.
(Set the items indicated with Pr.1 to Pr.57 , Pr.150 for each axis.)
7-3
7 MEMORY CONFIGURATION AND DATA PROCESS
MELSEC-Q
User accesses
Data is backed up
here.
here.
QD75
7-4
7 MEMORY CONFIGURATION AND DATA PROCESS
MELSEC-Q
Use of address Nos. skipped above is prohibited. If used, the system may not operate correctly.
7-5
7 MEMORY CONFIGURATION AND DATA PROCESS
MELSEC-Q
The data is transmitted between the QD75 memories with steps (1) to (8) shown
below.
The data transmission patterns numbered (1) to (8) on the right page correspond to
the numbers (1) to (8) on the left page.
PLC CPU
QD75
Buffer memory Parameter area (a)
Pr.1 to Pr.7
Parameter area (a) Pr.11 to Pr.24
Parameter area (b) Pr.43 to Pr.57
7-6
7 MEMORY CONFIGURATION AND DATA PROCESS
MELSEC-Q
(3) Validate parameters when PLC READY signal [Y0] changes from
OFF to ON
When the PLC READY signal [Y0] changes from OFF to ON, the data stored in
the buffer memory's "parameter area (a) 2" is validated.
For Pr.5 , however, only the data obtained first after the PLC READY signal [Y0]
changes from OFF to ON when the power is turned ON or PLC CPU is reset
becomes validate.
(Refer to Section 5.2 "List of parameters" for details.)
2: Parameter area (a) .... Parameters validated when PLC READY signal [Y0]
changes from OFF to ON.
( Pr.1 to Pr.7 , Pr.11 to Pr.24 , Pr.43
to Pr.57 , Pr.150 )
POINT
The setting values of the parameters that correspond to parameter area (b) are
valid when written into the buffer memory with the TO command.
However, the setting values of the parameters that correspond to parameter area
(a) are not validated until the PLC READY signal [Y0] changes from OFF to ON.
7-7
7 MEMORY CONFIGURATION AND DATA PROCESS
MELSEC-Q
Peripheral devices
PLC CPU
QD75
Buffer memory Parameter area (a)
Pr.1 to Pr.7
Parameter area (a)
Pr.11 to Pr.24
Parameter area (b) Pr.43 to Pr.57
Positioning data area Pr.150
(No.1 to 600) Parameter area (b)
Flash ROM
7-8
7 MEMORY CONFIGURATION AND DATA PROCESS
MELSEC-Q
IMPORTANT
(1) Do not turn the power OFF or reset the PLC CPU while writing to the flash
ROM. If the power is turned OFF or the PLC CPU is reset to forcibly end the
process, the data backed up in the flash ROM will be lost.
(2) Do not write the data to the buffer memory before writing to the flash ROM is
completed.
(3) The number of writes to the flash ROM with the PLC program is 25 max. while
the power is turned ON.
Writing to the flash ROM beyond 25 times will cause an error (error code: 805).
Refer to Section 15.2 "List of errors" for details.
7-9
7 MEMORY CONFIGURATION AND DATA PROCESS
MELSEC-Q
QD75
Buffer memory Parameter area (a)
Pr.1 to Pr.7
Parameter area (a) Pr.11 to Pr.24
Parameter area (b) Pr.43 to Pr.57
Pr.150
Positioning data area
(No.1 to 600) Parameter area (b)
Flash ROM
PLC CPU
Peripheral devices
7 - 10
7 MEMORY CONFIGURATION AND DATA PROCESS
MELSEC-Q
7 - 11
7 MEMORY CONFIGURATION AND DATA PROCESS
MELSEC-Q
The data transmission is carried out as shown in the previous pages, but the main
method of using this data process is shown below.
Completion
User work
QD75 state
7 - 12
Section 2 Control Details and Setting
The required settings in each control include parameter setting, positioning data setting,
control data setting by a sequence program, etc.
Carry out these settings while referring to Chapter 5 "Data used for positioning".
Also refer to Chapter 6 "Sequence programs used in positioning control" when creating
the sequence programs required in each control, and consider the entire control program
configuration when creating each program.
Section 2
Chapter 8 OPR Control .............................................................................................. 8- 1 to 8- 22
Chapter 9 Major Positioning Control......................................................................... 9- 1 to 9-114
Chapter 10 High-Level Positioning Control ............................................................. 10- 1 to 10- 26
Chapter 11 Manual Control...................................................................................... 11- 1 to 11- 36
Chapter 12 Control Sub Functions .......................................................................... 12- 1 to 12- 98
Chapter 13 Common Functions................................................................................ 13- 1 to 13- 8
Chapter 14 Dedicated instructions........................................................................... 14- 1 to 14- 22
Chapter 15 Troubleshooting .................................................................................... 15- 1 to 15- 38
MEMO
Chapter 8 OPR Control
The details and usage of "OPR control" are explained in this chapter.
OPR control includes "machine OPR" that establish a machine OP without using address
data, and "fast OPR" that store the coordinates established by the machine OPR, and 8
carry out positioning to that position.
OPR carried out by sequence programs from the PLC CPU are explained in this chapter.
Refer to GX Configurator-QP Operating Manual for details on OPR using the
peripheral device.
8-1
8 OPR CONTROL
MELSEC-Q
In "OPR control" a position is established as the starting point (or "OP") when carrying out
positioning control, and positioning is carried out toward that starting point.
It is used to return a machine system at any position other than the OP to the OP when the
QD75 issues a "OPR request" with the power turned ON or others, or after a positioning
stop.
In the QD75, the two types of controls shown below are defined as "OPR control", following
the flow of the OPR work.
These two types of OPR control can be executed by setting the "OPR parameters", setting
"Positioning start No. 9001" and "Positioning start No. 9002" prepared beforehand in the
QD75 to " Cd.3 Positioning start No.", and turning ON the positioning start signal.
The ZP.PSTRT start numbers of the dedicated instruction can also be set to 9001 or 9002
to execute the OPR control. (For details, refer to Chapter 14 "Dedicated instructions".)
(1) Establish a positioning control OP
– "Machine OPR" (positioning start No. 9001)
(2) Carry out positioning toward the OP
– "Fast OPR" (positioning start No. 9002).
The "machine OPR" in (1) above must always be carried out before executing the "fast
OPR" in (2).
REMARK
OPR request
The "OPR request flag" ( Md.31 Status: b3) must be turned ON in the QD75, and a
machine OPR must be executed in the following cases.
• When the power is turned ON
• At the ON OFF of the drive unit READY signal ( Md.30 External input/output signal:
b2).
• At the OFF ON of the PLC READY signal [Y0]
The address information stored in the QD75 cannot be guaranteed while the "OPR
request flag" is ON.
The "OPR request flag" turns OFF and the "OPR complete flag" ( Md.31 Status: b4)
turns ON if the machine OPR is executed and is completed normally.
8-2
8 OPR CONTROL
MELSEC-Q
[Remarks]
The following two sub functions are only related to machine OPR.
Sub function name Machine OPR Fast OPR Reference
OPR retry function Section 12.2.1
OP shift function Section 12.2.2
: Combination possible, : Restricted, : Combination not possible
8-3
8 OPR CONTROL
MELSEC-Q
Important
Use the OPR retry function when the OP position is not always in the same
direction from the workpiece operation area (when the OP is not set near the upper
or lower limit of the machine).
The machine OPR may not complete unless the OPR retry function is used.
The "OP" is established by the method set in " Pr.43 OPR method", and the
3)
machine stops. (Refer to Sections 8.2.2 to 8.2.8)
If "a" is set as " Pr.45 OP address", "a" will be stored as the current position in the
4)
" Md.20 Current feed value" and " Md.21 Machine feed value" which are
monitoring the position.
5) The machine OPR is completed.
M
OP
Machine OPR
Near-point dog
8-4
8 OPR CONTROL
MELSEC-Q
Stopper method 1) against the stopper at the " Pr.47 Creep speed" and stops.
The machine OPR is regarded as completed on completion of the deviation counter clear
output provided after " Pr.49 OPR dwell time" passed after stoppage.
The stopper position is regarded as the OP.
After the deceleration starts by the OFF ON of the near-point dog, the machine presses
Stopper method 2) against the stopper at the " Pr.47 Creep speed" and stops.
The machine OPR is regarded as completed on completion of the deviation counter clear
output provided after the zero signal is detected after stoppage.
The stopper position is regarded as the OP.
The machine starts at the " Pr.47 Creep speed" from the beginning, then presses
Stopper method 3) against the stopper at the " Pr.47 Creep speed" and stops.
The machine OPR is regarded as completed on completion of the deviation counter clear
output provided after the zero signal is detected after stoppage.
The deceleration starts by the OFF ON of the near-point dog, and the machine moves
at the " Pr.47 Creep speed".
Count method 1) The machine stops at the zero signal after moving the distance set in the " Pr.50
Setting for the movement amount after near-point dog ON" from the near point dog OFF
ON position. When a "deviation counter clear signal output" is completed, the machine
OPR is regarded as completed.
The deceleration starts by the OFF ON of the near-point dog, and the machine moves
at the " Pr.47 Creep speed".
Count method 2) The machine moves the distance set in the " Pr.50 Setting for the movement amount
after near-point dog ON" from the near point dog OFF ON position, and stops at that
position. The machine OPR is then regarded as completed.
: The following are the signals input as the zero signals of the QD75 in the corresponding OPR methods.
Near-point dog method, count method 1): Signal that is output as a single pulse at one motor revolution (e.g. Z-phase signal
output from the drive unit)
Stopper method 2), 3) : Signal that is output on detection of contact with the stopper. (Input externally)
REMARK
Creep speed
The stopping accuracy is poor when the machine suddenly stops from fast speeds. To
improve the machine's stopping accuracy, its must change over to a slow speed before
stopping. This speed is set in the " Pr.47 Creep speed".
8-5
8 OPR CONTROL
MELSEC-Q
The following shows an operation outline of the "near-point dog method" OPR method.
Operation chart
The machine OPR is started.
(The machine begins the acceleration designated in " Pr.51 OPR acceleration time selection", in the direction
1)
designated in " Pr.44 OPR direction". It then moves at the " Pr.46 OPR speed" when the acceleration is
completed.)
2) The machine begins decelerating when the near-point dog ON is detected.
The machine decelerates to the " Pr.47 Creep speed", and subsequently moves at that speed.
3) (At this time, the near-point dog must be ON. The workpiece will continue decelerating and stop if the near-point dog is
OFF.)
After the near-point dog turns OFF, the pulse output from the QD75 will stop at the first zero signal,
4) outputting a "deviation counter clear signal" to the drive unit.
(The "deviation counter clear signal output time" is set in Pr.55 .)
After a "deviation counter clear signal" is output to the drive unit, the OPR complete flag ( Md.31 Status:
5)
b4) turns from OFF to ON and the OPR request flag ( Md.31 Status: b3) turns from ON to OFF.
V
Pr.46 OPR speed Deceleration at the near-point dog ON
t
1) 2) 3) 4) 5)
1
Md.34 Movement amount after near-point dog ON
ON
Adjust so the near-point dog OFF position is
Near-point dog OFF as close as possible to the center of the zero
signal HIGH level.
If the near-point dog OFF position overlaps with
the zero signal, the machine OPR stop position
Zero signal may deviate by one servomotor rotation.
ON
Md.20 Current feed value Inconsistent Value of the machine moved is stored. OP address
Md.21 Machine feed value
8-6
8 OPR CONTROL
MELSEC-Q
Restrictions
A pulse generator with a zero signal is required.
When using a pulse generator without a zero signal, generate a zero signal using an
external signal.
V
Pr. 46 OPR speed
ON
Near-point dog OFF
ON
Machine OPR start OFF
(Positioning start signal)
ON
OPR request flag OFF
[ Md.31 Status : b3]
Fig. 8.3 Operation when the near-point dog is turned OFF before the creep speed is reached
(4) When a machine OPR is stopped with the stop signal, perform a machine OPR again.
If the restart command is turned ON after a stop with the stop signal, an error "OPR
restart not possible" (error code: 209) occurs.
8-7
8 OPR CONTROL
MELSEC-Q
The machine decelerates to the " Pr.47 Creep speed", and subsequently moves at that speed.
3)
(Torque limiting is required at this time. If the torque is not limited, the servomotor may fail in step 4).)
4) The machine presses against the stopper at the creep speed and stops.
The pulse output from the QD75 will stop when the " Pr.49 OPR dwell time" has elapsed after the near-point dog turns ON,
5) outputting the "deviation counter clear output" to the drive unit.
(A "deviation counter clear signal output time" is set in the Pr.55 .)
After a "deviation counter clear output" is output to the drive unit, the OPR complete flag ( Md.31 Status: b4) turns from OFF to ON,
6)
and the OPR request flag ( Md.31 Status: b3) turns from ON to OFF.
V
Pr. 46 OPR speed
Stops at stopper
t
1) 2) 3) 4) 5) 6)
Range in which the servomotor rotation
is forcibly stopped by the stopper
Torque limit
ON
Near-point dog OFF
Time out of dwell time
Dwell time measurement
ON
8-8
8 OPR CONTROL
MELSEC-Q
Restrictions
(1) Always limit the servomotor torque after the " Pr.47 Creep speed" is reached. If the
torque is not limited, the servomotor may fail when the machine presses against the
stopper. (Refer to Section 12.4.2 "Torque limit function".)
(2) In the "stopper method 1)", the OPR retry function is unusable.
V
Pr. 46 OPR speed
Stops at stopper
t
" Pr.49 OPR
dwell time" setting
ON
Machine OPR start OFF
(Positioning start signal)
ON
OPR request flag OFF
[ Md.31 Status : b3]
Md.20 Current feed value Inconsistent Value the machine moved is stored Address at stop
Md.21 Machine feed value
Fig. 8.5 Operation when the dwell time elapses during deceleration from the OPR speed
8-9
8 OPR CONTROL
MELSEC-Q
(3) If the " Pr.49 OPR dwell time" elapses before the stop at the stopper, the workpiece
will stop at that position, and that position will be regarded as the OP.
At this time, an error will not occur.
Stops at stopper
Torque limit
ON
Near-point dog OFF
Time out of dwell time
Dwell time measurement
ON
Machine OPR start OFF
(Positioning start signal)
ON
OPR request flag OFF
[ Md.31 Status : b3]
ON
OPR complete flag OFF
[ Md.31 Status : b4]
Fig. 8.6 Operation when the dwell time elapses before the stop at the stopper
(4) Machine OPR started while the near-point dog is ON will start at the " Pr.47 Creep
speed".
(5) When a machine OPR is stopped with the stop signal, perform a machine OPR again.
If the restart command is turned ON after a stop with the stop signal, an error "OPR
restart not possible" (error code: 209) occurs.
8 - 10
8 OPR CONTROL
MELSEC-Q
After a "deviation counter clear output" is output to the drive unit, the OPR complete flag ( Md.31 Status: b4) turns from OFF to ON,
6)
and the OPR request flag ( Md.31 Status: b3) turns from ON to OFF.
Stops at stopper
1) 2) 3) 4) 5) 6) t
Zero signal
Valid torque limit range
Torque limit
ON
Near-point dog OFF
ON
Machine OPR start OFF
(Positioning start signal)
ON
OPR request flag OFF
[ Md.31 Status : b3]
ON
OPR complete flag OFF
[ Md.31 Status : b4]
8 - 11
8 OPR CONTROL
MELSEC-Q
Restrictions
(1) Always limit the servomotor torque after the " Pr.47 Creep speed" is reached. If the
torque is not limited, the servomotor may fail when the machine presses against the
stopper. (Refer to Section 12.4.2 "Torque limit function".)
(2) Use an external input signal as the zero signal.
(3) In the "stopper method 2)", the OPR retry function is unusable.
V
Pr. 46 OPR speed
Stops at stopper
Zero signal
ON
Near-point dog OFF
ON
Machine OPR start OFF
(Positioning start signal)
ON
Fig. 8.8 Operation when a zero signal is input before the creep speed is reached
8 - 12
8 OPR CONTROL
MELSEC-Q
(3) If the zero signal is input before the workpiece stops at the stopper, the workpiece
will stop at that position, and that position will be regarded as the OP.
Stops at stopper
Zero signal
Torque limit
ON
Near-point dog OFF
ON
Fig. 8.9 Operation when the zero signal is input before the stop at the stopper
(4) Machine OPR started while the near-point dog is ON will start at the " Pr.47 Creep
speed".
(5) When a machine OPR is stopped with the stop signal, perform a machine OPR again.
If the restart command is turned ON after a stop with the stop signal, an error "OPR
restart not possible" (error code: 209) occurs.
8 - 13
8 OPR CONTROL
MELSEC-Q
The following shows an operation outline of the "stopper method 3)" OPR method.
The "stopper method 3)" method is effective when a near-point dog has not been installed.
(Note that the operation is carried out from the start at the " Pr.47 Creep speed", so it will
take some time until the machine OPR completion.)
Operation chart
The machine OPR is started.
(The machine moves at the " Pr.47 Creep speed", in the direction designated in " Pr.44 OPR direction". Torque
1)
limiting is required at this time. If the torque is not limited, the servomotor may fail when the machine presses against
the stopper in step 2.)
2) The machine presses against the stopper at the " Pr.47 Creep speed" and stops.
The pulse output from the QD75 will stop at the zero signal after the machine stops, outputting the "deviation counter
3) clear output" to the drive unit.
(A "deviation counter clear signal output time" is set in the Pr.55 .)
After a "deviation counter clear output" is output to the drive unit, the OPR complete flag ( Md.31 Status: b4) turns
4)
from OFF to ON, and the OPR request flag ( Md.31 Status: b3) turns from ON to OFF.
V
Pr. 47 Creep speed
Stops at stopper
Zero signal
Torque limit
ON
Machine OPR start OFF
(Positioning start signal)
ON
Restrictions
(1) Always limit the servomotor torque after the " Pr.47 Creep speed" is reached. If the
torque is not limited, the servomotor may fail when the machine presses against the
stopper. (Refer to Section 12.4.2 "Torque limit function".)
(2) Use an external input signal as the zero signal.
(3) The OPR retry function cannot be used in "stopper stop method 3)".
Zero signal
ON
Fig. 8.11 When the zero signal is input before the stop at the stopper
(2) When a machine OPR is stopped with the stop signal, perform a machine OPR again.
If the restart command is turned ON after a stop with the stop signal, an error "OPR
restart not possible" (error code: 209) occurs.
8 - 15
8 OPR CONTROL
MELSEC-Q
Operation chart
The machine OPR is started.
(The machine begins the acceleration designated in " Pr.51 OPR acceleration time selection", in the direction
1)
designated in " Pr.44 OPR direction". It then moves at the " Pr.46 OPR speed" when the acceleration is
completed.)
2) The machine begins decelerating when the near-point dog ON is detected.
3) The machine decelerates to the " Pr.47 Creep speed", and subsequently moves at that speed.
On detection of the first zero signal after the axis has traveled the movement amount set in " Pr.50 Setting for the
movement amount after near-point dog ON" after near-point dog ON, the pulse output from the QD75 stops and the
4)
"deviation counter clear output" is output to the drive unit.
(A "deviation counter clear signal output time" is set in Pr.55 .)
After a "deviation counter clear output" is output to the drive unit, the OPR complete flag Md.31 Status: b4) turns from
5)
OFF to ON, and the OPR request flag ( Md.31 Status: b3) turns from ON to OFF.
t
Md.34 Movement amount after near-point dog ON 1
8 - 16
8 OPR CONTROL
MELSEC-Q
Restrictions
A pulse generator with a zero signal is required.
When using a pulse generator without a zero signal, generate a zero signal using
an external signal.
(1) An error "Count method movement amount fault (error code: 206)" will occur
and the operation will not start if the " Pr.50 Setting for the movement
amount after near-point dog ON" is smaller than the deceleration distance
from the " Pr.46 OPR speed" to " Pr.47 Creep speed".
A deceleration stop will be carried out if the speed is changed during the
operation and an error occurs.
(2) The following shows the operation when a machine OPR is started while the
near-point dog is ON.
Fig. 8.13 Count method 1) machine OPR on the near-point dog ON position
(3) Turn OFF the near-point dog at a sufficient distance from the OP.
Although there is no harm in operation if the near-point dog is turned OFF
during a machine OPR, it is recommended to leave a sufficient distance from
the OP when the near-point dog is turned OFF for the following reason.
If machine OPRs are performed consecutively after the near-point dog is
turned OFF at the time of machine OPR completion, operation will be
performed at the OPR speed until the hardware stroke limit (upper/lower limit)
is reached.
(4) When a machine OPR is stopped with the stop signal, perform a machine
OPR again.
If the restart command is turned ON after a stop with the stop signal, an error
"OPR restart not possible" (error code: 209) occurs.
8 - 17
8 OPR CONTROL
MELSEC-Q
The following shows an operation outline of the "method 2)" OPR method.
The "count method 2)" method is effective when a "zero signal" cannot be received.
(Note that compared to the "count method 1)" method, using this method will result in
more deviation in the stop position during machine OPR.)
Operation chart
The machine OPR is started.
(The machine begins the acceleration designated in " Pr.51 OPR acceleration time selection", in the
1)
direction designated in " Pr.44 OPR direction". It then moves at the " Pr.46 OPR speed" when the
acceleration is completed.)
2) The machine begins decelerating when the near-point dog ON is detected.
3) The machine decelerates to the " Pr.47 Creep speed", and subsequently moves at that speed.
The pulse output from the QD75 will stop and the machine OPR will be completed when the machine
4) moves the movement amount set in " Pr.50 Setting for the movement amount after near-point dog ON "
from the near-point dog ON position.
t
Md.34 Movement amount after near-point dog ON 1
ON
Machine OPR start OFF
(Positioning start signal)
ON
OPR request flag OFF
[ Md.31 Status : b3]
ON
OPR complete flag OFF
[ Md.31 Status : b4]
8 - 18
8 OPR CONTROL
MELSEC-Q
Restrictions
When this method is used, a deviation will occur in the stop position (OP)
compared to other OPR methods because an error of about 1 ms occurs in taking
in the near-point dog ON.
(1) An error "Count method movement amount fault (error code: 206)" will occur
and the operation will not start if the " Pr.50 Setting for the movement
amount after near-point dog ON" is smaller than the deceleration distance
from the " Pr.46 OPR speed" to " Pr.47 Creep speed".
A deceleration stop will be carried out if the speed is changed during the
operation and an error occurs.
(2) The following shows the operation when a machine OPR is started while the
near-point dog is ON.
Fig. 8.15 Count method 2) machine OPR on the near-point dog ON position
(3) Turn OFF the near-point dog at a sufficient distance from the OP.
Although there is no harm in operation if the near-point dog is turned OFF
during a machine OPR, it is recommended to leave a sufficient distance from
the OP when the near-point dog is turned OFF for the following reason.
If machine OPRs are performed consecutively after the near-point dog is
turned OFF at the time of machine OPR completion, operation will be
performed at the OPR speed until the hardware stroke limit (upper/lower limit)
is reached.
(4) When a machine OPR is stopped with the stop signal, perform a machine
OPR again.
If the restart command is turned ON after a stop with the stop signal, an error
"OPR restart not possible" (error code: 209) occurs.
8 - 19
8 OPR CONTROL
MELSEC-Q
Machine OP
(OP position)
M
OP
Positioning to the OP
8 - 20
8 OPR CONTROL
MELSEC-Q
t1
Positioning operation
•The t1 timing time could be delayed by the operation state of other axes.
Operating restrictions
When the OPR complete flag ( Md.31 Status: b3) is ON, executing a fast OPR start
will result in an error "OPR request ON" (error code: 207)".
8 - 21
8 OPR CONTROL
MELSEC-Q
MEMO
8 - 22
Chapter 9 Major Positioning Control
The details and usage of the major positioning controls (control functions using the
"positioning data") are explained in this chapter.
The major positioning controls include such controls as "positioning control" in which
positioning is carried out to a designated position using the address information,
"speed control" in which a rotating object is controlled at a constant speed,
"speed-position switching control" in which the operation is shifted from "speed control"
to "position control" and "position-speed switching control" in which the operation is
shifted from "position control" to "speed control".
Carry out the required settings to match each control.
9-1
9 MAJOR POSITIONING CONTROL
MELSEC-Q
"Major positioning controls" are carried out using the "positioning data" stored in the
QD75.
The basic controls such as position control and speed control are executed by setting
the required items in this "positioning data", and then starting that positioning data.
The control system for the "major positioning controls" is set in setting item " Da.2
Control system" of the positioning data.
Control defined as a "major positioning control" carries out the following types of
control according to the " Da.2 Control system" setting.
(The " Md.20 Current feed value" is set to "0" at the start.)
Using a designated 2 axes, linear interpolation control is
2-axis fixed- carried out from the start address (current stop position).
Fixed-feed 2
feed control (The " Md.20 Current feed value" is set to "0" at the start.)
Fixed-feed
control Using a designated 3 axes, linear interpolation control is
3-axis fixed- carried out from the start address (current stop position).
Fixed-feed 3
feed control
(The " Md.20 Current feed value" is set to "0" at the start.)
Using a designated 4 axes, linear interpolation control is
4-axis fixed- carried out from the start address (current stop position).
Fixed-feed 4
feed control
(The " Md.20 Current feed value" is set to "0" at the start.)
Sub point ABS Circular sub
designation INC Circular sub The axis in which the interpolation control system is set is
2-axis circular regarded as the reference axis. Positioning is carried out in
interpolation ABS Circular right an arc path to a designated position, while controlling the
control Center point ABS Circular left other axis (interpolation axis) to match the positioning data
designation INC Circular right set in the reference axis.
INC Circular left
1-axis speed Forward run speed 1
The speed control of the designated 1 axis is carried out.
control Reverse run speed 1
2-axis speed Forward run speed 2
The speed control of the designated 2 axes is carried out.
control Reverse run speed 2
Speed control
3-axis speed Forward run speed 3
The speed control of the designated 3 axes is carried out.
control Reverse run speed 3
4-axis speed Forward run speed 4
The speed control of the 4 axes is carried out.
control Reverse run speed 4
9-2
9 MAJOR POSITIONING CONTROL
MELSEC-Q
9-3
9 MAJOR POSITIONING CONTROL
MELSEC-Q
The following table shows an outline of the "positioning data" configuration and setting
details required to carry out the "major positioning controls".
Setting item Setting details
Set the method by which the continuous positioning data (Ex: positioning data No. 1,
Da.1 Operation pattern
No. 2, No. 3) will be controlled. (Refer to Section 9.1.2.)
Da.2 Control system Set the control system defined as a "major positioning control". (Refer to Section 9.1.)
Select and set the acceleration time at control start. (Select one of the four values set
Da.3 Acceleration time No.
in Pr.9 , Pr.25 , Pr.26 , and Pr.27 for the acceleration time.)
Select and set the deceleration time at control stop. (Select one of the four values set
Positioning data No. 1
The settings and setting requirement for the setting details of Da.1 to Da.10 differ according to the
" Da.2 Control system". (Refer to Section 9.2 "Setting the positioning data".)
REMARK
• 600 positioning data (positioning data No. 1 to 600) items can be set per axis.
9-4
9 MAJOR POSITIONING CONTROL
MELSEC-Q
< Operation example when "1-axis linear positioning" is set in the positioning data of axis 1 >
(Setting details)
No.1 Start
Positioning data No.1 Positioning to address [A] at command speed [a] Operation pattern = 11: Continuous path control
No.2 Positioning to address [B] at command speed [b] Operation pattern = 11: Continuous path control
No.3 Positioning to address [C] at command speed [a] Operation pattern = 01: Continuous positioning control
No.4 Positioning to address [D] at command speed [b] Operation pattern = 01: Continuous positioning control
11 01 00
a The machine stops, and
then continues the next
positioning.
Speed is changed Positioning is terminated
without stopping
Time
(One motor is driven, and positioning is carried out to an addresses designated in one direction.)
POINT
The BUSY signal [XC, XD, XE, XF] turns ON even when position control of
movement amount 0 is executed. However, since the ON time is short, the ON
status may not be detected in the sequence program.
9-5
9 MAJOR POSITIONING CONTROL
MELSEC-Q
V
Positioning complete (00)
Dwell time
Time
ON
Positioning start signal OFF
[Y10, Y11, Y12, Y13]
Start complete signal ON
[X10, X11, X12, X13] OFF
ON
BUSY signal [XC, XD, XE, XF] OFF
ON
Positioning complete signal OFF
[X14, X15, X16, X17]
9-6
9 MAJOR POSITIONING CONTROL
MELSEC-Q
(1) The machine always automatically decelerates each time the positioning is
completed. Acceleration is then carried out after the QD75 command speed
reaches 0 to carry out the next positioning data operation. If a dwell time is
designated, the acceleration is carried out after the designated time elapses.
(2) In operation by continuous positioning control (operation pattern "01"), the
next positioning No. is automatically executed. Always set operation pattern
"00" in the last positioning data to complete the positioning.
If the operation pattern is set to positioning continue ("01" or "11"), the
operation will continue until operation pattern "00" is found.
If the operation pattern "00" cannot be found, the operation may be carried
out until the positioning data No. 600. If the operation pattern of the
positioning data No. 600 is not completed, the operation will be started again
from the positioning data No. 1.
Dwell
time
Positioning continue (01)
Positioning continue (01)
Address (+) direction
Time
Dwell time
Address (-) direction not designated
Positioning
complete (00)
ON
Positioning start signal OFF
[Y10, Y11, Y12, Y13]
Start complete signal ON
[X10, X11, X12, X13] OFF
ON
BUSY signal [XC, XD, XE, XF] OFF
ON
Positioning complete signal OFF
[X14, X15, X16, X17]
9-7
9 MAJOR POSITIONING CONTROL
MELSEC-Q
9-8
9 MAJOR POSITIONING CONTROL
MELSEC-Q
Time
ON
Positioning start signal OFF
[Y10, Y11, Y12, Y13]
ON
Start complete signal OFF
[X10, X11, X12, X13]
ON
BUSY signal [XC, XD, XE, XF] OFF
ON
Positioning complete signal OFF
[X14, X15, X16, X17]
Fig. 9.3 Operation during continuous path control (Standard speed switching mode)
POINT
In the continuous path control, a speed variation will not occur using the near-pass
function when the positioning data No. is switched (Refer to Section 12.3.3 "Near-
pass function").
Speed becomes 0
9-9
9 MAJOR POSITIONING CONTROL
MELSEC-Q
(b) When the operation pattern of the positioning data currently being
executed is "continuous path control: 11", and the movement amount
of the next positioning data is "0".
(c) During operation by step operation.
(Refer to Section 12.7.1 Step function".)
(d) When there is an error in the positioning data to carry out the next
operation.
POINTS
(1) The movement direction is not checked during interpolation operations. Thus, automatic deceleration to a stop will
not be carried out even if the movement direction is changed (See the figures below).
Because of this, the interpolation axis may suddenly reverse direction.
To avoid this sudden direction reversal in the interpolation axis, set the pass point to continuous positioning control
"01" instead of setting it to continuous path control "11".
[Positioning by interpolation] [Reference axis operation] [Interpolation axis operation]
V V
Positioning data Positioning data
No.1 No.2
Interpola-
tion axis
t
Reference axis
Positioning data No.1 • • • Continuous path control t
Positioning data Positioning data
No.1 No.2 Positioning data Positioning data
No.1 No.2
(2) When the interpolation axis reveres direction suddenly, the command pulses from QD75 are output as shown in the
figure below.
t1
t2
The t1 and t2 are calculated using the following expressions, where a command frequency is f (pps).
t1 = 1/2 f (s) t2 = 1/f (s)
A time of t1 must be maintained by the drive unit for a specified period T (s).
(T depends on the drive unit specifications.)
If t1 cannot be maintained for T or longer, lower the " Da.8 Command speed" of the positioning data.
(3) When a "0" is set in the " Da.6 Positioning address/movement amount" of the continuous path control positioning
data, the command speed of about 2 ms is reduced to 0.
When a "0" is set in the " Da.6 Positioning address/movement amount" to increase the number of speed change
points in the future, change the " Da.2 Control system" to the "NOP instruction" to make the control
nonexecutable.
(Refer to Section 9.2.20 "NOP instruction".)
(4) In the continuous path control positioning data, assure a movement distance so that the execution time with that
data is 100 ms or longer, or lower the command speed.
9 - 10
9 MAJOR POSITIONING CONTROL
MELSEC-Q
3000 3000
2000 2000
1000 1000
Da. 7 Command speed 1000 3000 -1 -1 -1 Da. 7 Command speed 1000 3000 -1 -1 -1
Md. 36 Current speed 1000 3000 3000 3000 3000 Md. 36 Current speed 1000 3000 3000 3000 3000
POINTS
(1) In the continuous path control, a speed variation will not occur using the near-pass function when the
positioning data is switched (Refer to Section 12.3.3 "Near-pass function").
(2) The QD75 holds the command speed set with the positioning data, and the latest value of the speed
set with the speed change request as the " Md.27 Current speed". It controls the operation at the
"current speed" when "-1" is set in the command speed.
(Depending on the relation between the movement amount and the speed, the feedrate may not reach
2
the command speed value, but even then the current speed will be updated. * )
(3) When the address for speed change is identified beforehand, generate and execute the positioning
data for speed change by the continuous path control to carry out the speed change without requesting
the speed change with a sequence program.
9 - 11
9 MAJOR POSITIONING CONTROL
MELSEC-Q
Speed
V switching Dwell time Dwell time
Positioning t
ON
Positioning start signal OFF
[Y10, Y11, Y12, Y13]
ON
Start complete signal
[X10, X11, X12, X13] OFF
ON
BUSY signal [XC, XD, XE, XF] OFF
ON
Positioning complete signal
OFF
[X14, X15, X16, X17]
9 - 12
9 MAJOR POSITIONING CONTROL
MELSEC-Q
[When the speed cannot change over in P2] [When the movement amount is small during
When the relation of the speeds is P1 = automatic deceleration]
P4, P2 = P3, P1 < P2. The movement amount required to carry out the
automatic deceleration cannot be secured, so the
machine immediately stops in a speed ≠ 0 status.
P1 P2 P3 P4
Positioning address.
V
Dwell time Dwell time
Positioning t
ON
Positioning start signal OFF
[Y10, Y11, Y12, Y13]
ON
Start complete signal
[X10, X11, X12, X13] OFF
ON
BUSY signal [XC, XD, XE, XF] OFF
ON
Positioning complete signal OFF
[X14, X15, X16, X17]
9 - 13
9 MAJOR POSITIONING CONTROL
MELSEC-Q
[When the speed cannot change over to the [When the movement amount is small during
P2 speed in P1] automatic deceleration]
When the relation of the speeds is P1 = The movement amount required to carry out the
P4, P2 = P3, P1 < P2. automatic deceleration cannot be secured, so the
machine immediately stops in a speed ≠ 0 status.
P1 P2 P3 P4
Positioning address
9 - 14
9 MAJOR POSITIONING CONTROL
MELSEC-Q
The following shows the two methods for commanding the position in control using
positioning data.
Absolute system
Positioning is carried out to a designated position (absolute address) having the
OP as a reference. This address is regarded as the positioning address. (The
start point can be anywhere.)
Incremental system
The position where the machine is currently stopped is regarded as the start point,
and positioning is carried out for a designated movement amount in a designated
movement direction.
9 - 15
9 MAJOR POSITIONING CONTROL
MELSEC-Q
The "current feed value" and "machine feed value" are used in monitoring the
current value display, etc.
9 - 16
9 MAJOR POSITIONING CONTROL
MELSEC-Q
Restrictions
(1) A 1.8ms error will occur in the current value update timing when the stored
"current feed value" is used in the control.
A 56.8ms error will occur in the current value update timing when the stored
"machine feed value" is used in the control.
(2) The "current feed value" and "machine feed value" may differ from the values
set in " Da.6 Positioning address/movement amount" of the positioning data if
the movement amount per pulse is not set to "1".
Md.21 Machine feed value 802, 803 902, 903 1002, 1003 1102, 1103
Example
Program in which the axis 1 current feed value is read to D104 and D105
9 - 17
9 MAJOR POSITIONING CONTROL
MELSEC-Q
When the control unit is set to "degree", the following items differ from when other
control units are set.
359.99999° 359.99999°
0° 0° 0°
0
Clockwise direction
315.00000
Section A
90.00000
Section B
9 - 18
9 MAJOR POSITIONING CONTROL
MELSEC-Q
[3] Positioning control method when the control unit is set to "degree"
1) Absolute system
(a) When the software stroke limit is invalid
Positioning is carried out in the nearest direction to the designated
address, using the current value as a reference.
(This is called "shortcut control".)
Example
1) Positioning is carried out in a clockwise direction when the current value is moved from 315° to 45°.
2) Positioning is carried out in a counterclockwise direction when the current value is moved from 45° to 315°.
Using the " Cd.40 ABS direction in degrees", the shortcut control can be invalidated
to carry out positioning in the designated direction.
This function can be performed when the software stroke limit is invalid.
When the software stroke limit is valid, an error "ABS direction in degrees illegal" (error
code: 546) occurs and positioning is not started.
To designate the movement direction for the ABS control, write 1 or 2 to the " Cd.40
ABS direction in degrees" of the buffer memory. (The initial value is 0).
The value written to the " Cd.40 ABS direction in degrees" becomes valid only when
the positioning control is started.
In the continuous positioning control or continuous path control, the operation is
continued with the setting made at a start if the setting is changed during the operation.
9 - 19
9 MAJOR POSITIONING CONTROL
MELSEC-Q
Example
When the current value is moved from 0° to 315°, positioning is carried out in the clockwise direction
if the software stroke limit lower limit value is 0° and the upper limit value is 345°.
345.00000° 0°
315.00000°
POINT
Positioning addresses are within a range of 0° to 359.99999°.
Use the incremental system to carry out positioning of one rotation or more.
2) Incremental system
Positioning is carried out for a designated movement amount in a
designated movement direction when in the incremental system of
positioning.
The movement direction is determined by the sign (+, –) of the movement
amount.
• For a positive (+) movement direction ......Clockwise
• For a negative (–) movement direction.....Counterclockwise
POINT
Positioning of 360° or more can be carried out with the incremental system.
At this time, set as shown below to invalidate the software stroke limit.
[Software stroke limit upper limit value = Software stroke limit lower limit value]
9 - 20
9 MAJOR POSITIONING CONTROL
MELSEC-Q
4-axis linear interpolation control, "4-axis fixed-feed Axis 2 Axis 3, Axis 4, Axis 1
control, 4-axis speed control Axis 3 Axis 4, Axis 1, Axis 2
Axis 4 Axis 1, Axis 2, Axis 3
9 - 21
9 MAJOR POSITIONING CONTROL
MELSEC-Q
Positioning address/ Forward run speed 2, 3, and 4. Forward run speed 2, 3, and 4.
Da.6
movement amount Reverse run speed 2, 3, and 4 not Reverse run speed 2, 3, and 4 not
required. required.
Da.7 Arc address (Only during circular sub, circular (Only during circular sub, circular
right, and circular left). right, and circular left).
9 - 22
9 MAJOR POSITIONING CONTROL
MELSEC-Q
9 - 23
9 MAJOR POSITIONING CONTROL
MELSEC-Q
POINT
• When the "reference axis speed" is set during interpolation control, set so the
major axis side becomes the reference axis. If the minor axis side is set as the
reference axis, the major axis side speed may exceed the " Pr.8 Speed limit
value".
" Da.2 Control system" Pr.20 Interpolation speed Reference axis and interpolation
axis units are the same, or a Reference axis and
interpolation control designation method
combination of "mm" and "inch". interpolation axis units
differ 3
3
Linear 2 (ABS, INC) Composite speed
Fixed-feed 2 Reference axis speed
Circular sub (ABS, INC) Composite speed 2
Circular right (ABS, INC)
Circular left (ABS, INC) Reference axis speed
9 - 24
9 MAJOR POSITIONING CONTROL
MELSEC-Q
The setting requirements and details for the setting items of the positioning data to be
set differ according to the " Da.2 Control system".
The following table shows the positioning data setting items corresponding to the
different types of control. Details and settings for the operation of each control are
shown in Section 9.2.2 and subsequent sections.
(In this section, it is assumed that the positioning data setting is carried out using GX
Configurator-QP.)
Major positioning control Position control Speed control
1-axis linear
control
1-axis fixed-feed
2-axis linear
interpolation
control Speed- Position-
2-axis fixed-feed position speed
control 2-axis circular 1-axis, 2-axis,
control switching switching
3-axis linear
3-axis fixed-feed interpolation 3-axis, 4-axis
interpolation control Speed control control control
control
control
4-axis fixed-feed
4-axis linear
control
Positioning data setting items interpolation
control
Independent
positioning control
(Positioning complete)
Operation
Da.1 Continuous positioning
pattern
control
Continuous path
control
Forward run
speed 1
Reverse run
speed 1
Forward run
Forward run
speed 2
Linear 1 Fixed-feed 1 speed/posi- Forward run
Circular sub Reverse run
Linear 2 Fixed-feed 2 tion position/speed
Circular right speed 2
Da.2 Control system Linear 3 Fixed-feed 3 Reverse run
Circular left Forward run
Linear 4 Fixed-feed 4 speed/posi- Reverse run
speed 3 tion position/speed
Reverse run
speed 3
Forward run
speed 4
Reverse run
speed 4
Da.3 Acceleration time No.
Da.4 Deceleration time No.
Da.5 Axis to be interpolated : 2 - a x i s –: 1, 3, 4-axis – –
Positioning address/movement
Da.6 –
amount
Da.7 Arc address – – – – –
Da.8 Command speed
Da.9 Dwell time
Da.10 M code
9 - 25
9 MAJOR POSITIONING CONTROL
MELSEC-Q
REMARK
• It is recommended that the "positioning data" be set whenever possible with GX Configurator-QP.
Execution by sequence program uses many sequence programs and devices. The execution becomes
complicated, and the scan times will increase.
Current value
NOP instruction JUMP instruction LOOP instruction LEND instruction
changing
Independent
positioning control – – – –
(Positioning complete)
Operation
Da.1 Continuous positioning
pattern – – – –
control
Continuous path
control – – – –
Current value
Da.2 Control system NOP instruction JUMP instruction LOOP instruction LEND instruction
changing
Da.3 Acceleration time No. – – – – –
Da.4 Deceleration time No. – – – – –
Da.5 Axis to be interpolated – – – – –
Change
Positioning address/movement
Da.6 – destination – – –
amount
address
Da.7 Arc address – – – – –
Da.8 Command speed – – – – –
JUMP
destination-
Da.9 Dwell time – – – –
positioning data
No.
Condition data
Da.10 M code – No. of repetition –
No. at JUMP
9 - 26
9 MAJOR POSITIONING CONTROL
MELSEC-Q
In "1-axis linear control" (" Da.2 Control system" = ABS linear 1, INC linear 1), one
motor is used to carry out position control in a set axis direction.
[1] 1-axis linear control (ABS linear 1)
Operation chart
In absolute system 1-axis linear control, addresses established by a machine OPR
are used. Positioning is carried out from the current stop position (start point
address) to the address (end point address) set in " Da.6 Positioning
address/movement amount".
Example
When the start point address (current stop position) is 1000, and the end point address (positioning address) is 8000,
positioning is carried out in the positive direction for a movement amount of 7000 (8000-1000)
0 1000 8000
Refer to Section 5.3 "List of positioning data" for information on the setting details.
9 - 27
9 MAJOR POSITIONING CONTROL
MELSEC-Q
Operation chart
In incremental system 1-axis linear control, addresses established by a machine
OPR are used. Positioning is carried out from the current stop position (start point
address) to a position at the end of the movement amount set in " Da.6
Positioning address/movement amount". The movement direction is determined by
the sign of the movement amount.
Start point address
(current stop position)
Example
When the start point address is 5000, and the movement amount is -7000, positioning is carried out to
the -2000 position.
Da.3
Acceleration time
1 Designate the value set in " Pr.25 Acceleration time 1" as the
No.
Axis 1 Positioning data No. 1
Da.4
Deceleration time
0 Designate the value set in " Pr.10 Deceleration time 0" as the
No. deceleration time at deceleration.
Axis to be
Da.5 – Setting not required (setting value will be ignored).
interpolated
Positioning address/ Set the movement amount. (Assuming "mm" is set in " Pr.1 Unit
Da.6 - 7 0 0 0 . 0 µm
movement amount setting".)
Da.7 Arc address – Setting not required (setting value will be ignored).
Da.8 Command speed 6000.00mm/min Set the speed during movement.
Set the time the machine dwells after the positioning stop (pulse output
Da.9 Dwell time 500ms
stop) to the output of the positioning complete signal.
Set this when other sub operation commands are issued in combination
Da.10 M code 10
with the No. 1 positioning data.
Refer to Section 5.3 "List of positioning data" for information on the setting details.
9 - 28
9 MAJOR POSITIONING CONTROL
MELSEC-Q
In "2-axis linear interpolation control" (" Da.2 Control system" = ABS linear 2, INC
linear 2), two motors are used to carry out position control in a linear path while
carrying out interpolation for the axis directions set in each axis.
(Refer to Section 9.1.6 "Interpolation control" for details on interpolation control.)
Operation chart
In absolute system 2-axis linear control, addresses established by a machine OPR
on a 2-axis coordinate plane are used. Linear interpolation positioning is carried
out from the current stop position (start point address) to the address (end point
address) set in " Da.6 Positioning address/movement amount".
Y axis movement
amount Movement by linear interpolation of the X axis and Y axis
Y1
Reverse direction
Example
When the start point address (current stop position) is (1000, 1000) and the end point address
(positioning address) is (10000, 4000), positioning is carried out as follows.
Axis 1
0 1000 5000 10000
9 - 29
9 MAJOR POSITIONING CONTROL
MELSEC-Q
Restrictions
An error will occur and the positioning will not start in the following cases. The
machine will immediately stop if the error is detected during a positioning control.
• If the movement amount of each axis exceeds "1073741824 (=230)" when "0:
Composite speed" is set in " Pr.20 Interpolation speed designation method"
... The "Outside linear movement amount range error (error code: 504)" occurs
at a positioning start.
(The maximum movement amount that can be set in " Da.6 Positioning
30
address/movement amount" is "1073741824 (=2 )".)
Deceleration time Designate the value set in " Pr.10 Deceleration time 0" as
Da.4 0 –
No. the deceleration time at deceleration.
Axis to be Set the axis to be interpolated (partner axis).
Da.5 1 –
interpolated If the self-axis is set, an error will occur.
Positioning address/ Set the end point address. (Assuming "mm" is set in
Da.6 10000.0 µm 4000.0 µm
movement amount " Pr.1 Unit setting".)
Da.7 Arc address – – Setting not required (setting value will be ignored).
6000.00
Da.8 Command speed – Set the speed during movement to the end point address.
mm/min
Set the time the machine dwells after the positioning stop
Da.9 Dwell time 500ms – (pulse output stop) to the output of the positioning complete
signal.
Set this when other sub operation commands are issued in
Da.10 M code 10 –
combination with the No. 1 positioning data.
Refer to Section 5.3 "List of positioning data" for information on the setting details.
POINT
• When the "reference axis speed" is set during 2-axis linear intrpolation control, set
so the major axis side becomes the reference axis. If the minor axis side is set as
the reference axis, the major axis side speed may exceed the " Pr.8 Speed limit
value".
9 - 30
9 MAJOR POSITIONING CONTROL
MELSEC-Q
Operation chart
In incremental system 2-axis linear interpolation control, addresses established by
a machine OPR on a 2-axis coordinate plane are used. Linear interpolation
positioning is carried out from the current stop position (start point address) to a
position at the end of the movement amount set in " Da.6 Positioning
address/movement amount". The movement direction is determined by the sign of
the movement amount.
Y axis movement
amount Movement by linear interpolation
positioning of the X axis and Y axis
Y1
Reverse direction
Example
When the axis 1 movement amount is 9000 and the axis 2 movement amount is -3000, positioning
is carried out as follows.
9 - 31
9 MAJOR POSITIONING CONTROL
MELSEC-Q
Restrictions
An error will occur and the positioning will not start in the following cases. The
machine will immediately stop if the error is detected during a positioning
operation.
• If the movement amount of each axis exceeds "1073741824 (=230)" when "0:
Composite speed" is set in " Pr.20 Interpolation speed designation method"
... The "Outside linear movement amount range error (error code: 504)" occurs
at a positioning start.
(The maximum movement amount that can be set in " Da.6 Positioning
30
address/movement amount" is "1073741824 (=2 )".)
Da.3
Acceleration time
1 – Designate the value set in " Pr.25 Acceleration time 1" as
No. the acceleration time at start.
Axis 1 Positioning data No. 1
Da.4
Deceleration time
0 – Designate the value set in " Pr.10 Deceleration time 0" as
No. the deceleration time at deceleration.
Axis to be Set the axis to be interpolated (partner axis).
Da.5 1 –
interpolated If the self-axis is set, an error will occur.
Positioning address/ Set the movement amount. (Assuming "mm" is set in
Da.6 9000.0 µm -3000.0 µm
movement amount " Pr.1 Unit setting".)
Da.7 Arc address – – Setting not required (setting value will be ignored).
6000.00
Da.8 Command speed – Set the speed during movement.
mm/min
Set the time the machine dwells after the positioning stop
Da.9 Dwell time 500ms – (pulse output stop) to the output of the positioning complete
signal.
Set this when other sub operation commands are issued in
Da.10 M code 10 –
combination with the No. 1 positioning data.
Refer to Section 5.3 "List of positioning data" for information on the setting details.
POINT
• When the "reference axis speed" is set during 2-axis linear intrpolation control, set
so the major axis side becomes the reference axis. If the minor axis side is set as
the reference axis, the major axis side speed may exceed the " Pr.8 Speed limit
value".
9 - 32
9 MAJOR POSITIONING CONTROL
MELSEC-Q
In "3-axis linear interpolation control" (" Da.2 Control system" = ABS linear 3, INC
linear 3), three motors are used to carry out position control in a linear path while
carrying out interpolation for the axis directions set in each axis.
(Refer to Section 9.1.6 "Interpolation control" for details on interpolation control.)
Operation chart
In the absolute system 3-axis linear control, using an address established by a
machine OPR in the 3-axis coordinate space, a linear interpolation positioning is
carried out from the current stop position (start point address) to the address (end
point address) set in the " Da.6 Positioning address/movement amount".
Forward direction
(Y axis) End point address (X2,Y2,Z2)
(Positioning address)
Movement by linear interpolation
of the X axis, Y axis and Z axis
Y axis movement amount
Forward direction (Z axis)
Za
xi s
mo Start point address (X1,Y1,Z1)
vem
en (Current stop position)
ta
mo
un X axis movement amount
t
Reverse direction Forward direction (X axis)
Example
When the start point address (current stop positon) is (1000, 2000, 1000) and the end point address
(positioning address) is (4000, 8000, 4000), positioning is carried out as follows.
End point address
(positioning address)
Axis 2
8000
Axis 2 movement amount (8000-2000=6000)
4000 2000
Axis 3 movement amount
(4000-1000=3000)
1000 Axis 1
0 1000 4000
9 - 33
9 MAJOR POSITIONING CONTROL
MELSEC-Q
Restrictions
An error will occur and the positioning will not start in the following cases. The
machine will immediately stop if the error is detected during a positioning control.
• If the movement amount of each axis exceeds "1073741824 (=230)" when "0:
Composite speed" is set in " Pr.20 Interpolation speed designation method"
... The "Outside linear movement amount range error (error code: 504)" occurs
at a positioning start.
(The maximum movement amount that can be set in " Da.6 Positioning
30
address/movement amount" is "1073741824 (=2 )".)
Refer to Section 5.3 "List of positioning data" for information on the setting details.
9 - 34
9 MAJOR POSITIONING CONTROL
MELSEC-Q
POINTS
• When the "reference axis speed" is set during 3-axis linear intrpolation control, set
so the major axis side becomes the reference axis. If the minor axis side is set as
the reference axis, the major axis side speed may exceed the " Pr.8 Speed limit
value".
• Refer to Section 9.1.6 "Interpolation control" for the reference axis and
interpolation axis combinations.
9 - 35
9 MAJOR POSITIONING CONTROL
MELSEC-Q
Y2
Forward direction
X2
Reverse direction
Reverse direction
Example
When the axis 1 movement amount is 10000, the axis 2 movement amount is 5000 and the axis
3 movement amount is 6000, positioning is carried out as follows.
Axis 3
5000
Axis 2 movement amount
6000
Axis 3 movement (5000)
amount (6000) Start point address
(current stop position)
Axis 1
5000 10000
9 - 36
9 MAJOR POSITIONING CONTROL
MELSEC-Q
Restrictions
An error will occur and the positioning will not start in the following cases. The
machine will immediately stop if the error is detected during a positioning
operation.
• If the movement amount of each axis exceeds "1073741824 (=230)" when "0:
Composite speed" is set in " Pr.20 Interpolation speed designation method"
... The "Outside linear movement amount range error (error code: 504)" occurs
at a positioning start.
(The maximum movement amount that can be set in " Da.6 Positioning
30
address/movement amount" is "1073741824 (=2 )".)
Refer to Section 5.3 "List of positioning data" for information on the setting details.
9 - 37
9 MAJOR POSITIONING CONTROL
MELSEC-Q
POINTS
(1) When the "reference axis speed" is set during 3-axis linear intrpolation control,
set so the major axis side becomes the reference axis. If the minor axis side is
set as the reference axis, the major axis side speed may exceed the " Pr.8
Speed limit value".
(2) Refer to Section 9.1.6 "Interpolation control" for the reference axis and
interpolation axis combinations.
9 - 38
9 MAJOR POSITIONING CONTROL
MELSEC-Q
In "4-axis linear interpolation control" (" Da.2 Control system" = ABS linear 4, INC
linear 4), four motors are used to carry out position control in a linear path while
carrying out interpolation for the axis directions set in each axis.
(Refer to Section 9.1.6 "Interpolation control" for details on interpolation control.)
Restrictions
An error will occur and the positioning will not start in the following cases. The
machine will immediately stop if the error is detected during a positioning control.
• If the movement amount of each axis exceeds "1073741824 (=230)" when "0:
Composite speed" is set in " Pr.20 Interpolation speed designation method"
... The "Outside linear movement amount range error (error code: 504)" occurs
at a positioning start.
(The maximum movement amount that can be set in " Da.6 Positioning
30
address/movement amount" is "1073741824 (=2 )".)
9 - 39
9 MAJOR POSITIONING CONTROL
MELSEC-Q
Da.4
Deceleration time
0 – – – " Pr.10 Deceleration time 0"
No. as the deceleration time at
Axis 1 Positioning data No. 1
deceleration.
Setting not required (setting
value will be ignored).
Axis to be
Da.5 – – – – When axis 1 is used as a
interpolated
reference axis, the interpolation
axes are axes 2, 3 and 4.
Set the end point address.
Positioning address/ (Assuming "mm" is set in
Da.6 4000.0 µm 8000.0 µm 4000.0 µm 3000.0 µm
movement amount
" Pr.1 Unit setting".)
Setting not required (setting
Da.7 Arc address – – – –
value will be ignored).
6000.00 Set the speed during movement
Da.8 Command speed – – –
mm/min to the end point address.
Set the time the machine dwells
after the positioning stop (pulse
Da.9 Dwell time 500ms – – –
output stop) to the output of the
positioning complete signal.
Set this when other sub
operation commands are issued
Da.10 M code 10 – – –
in combination with the No. 1
positioning data.
Refer to Section 5.3 "List of positioning data" for information on the setting details.
POINTS
• When the "reference axis speed" is set during 4-axis linear intrpolation control, set
so the major axis side becomes the reference axis. If the minor axis side is set as
the reference axis, the major axis side speed may exceed the " Pr.8 Speed limit
value".
• Refer to Section 9.1.6 "Interpolation control" for the reference axis and
interpolation axis combinations.
9 - 40
9 MAJOR POSITIONING CONTROL
MELSEC-Q
Restrictions
An error will occur and the positioning will not start in the following cases. The
machine will immediately stop if the error is detected during a positioning
operation.
• If the movement amount of each axis exceeds "1073741824 (=230)" when "0:
Composite speed" is set in " Pr.20 Interpolation speed designation method"
... The "Outside linear movement amount range error (error code: 504)" occurs
at a positioning start.
(The maximum movement amount that can be set in " Da.6 Positioning
30
address/movement amount" is "1073741824 (=2 )".)
9 - 41
9 MAJOR POSITIONING CONTROL
MELSEC-Q
deceleration.
Setting not required (setting
value will be ignored).
Axis to be
Da.5 – – – – When axis 1 is used as a
interpolated
reference axis, the interpolation
axes are axes 2, 3 and 4.
Set the movement amount.
Positioning address/
Da.6 4000.0 µm 8000.0 µm 4000.0 µm 3000.0 µm (Assuming "mm" is set in
movement amount
" Pr.1 Unit setting".)
Setting not required (setting
Da.7 Arc address – – – –
value will be ignored).
6000.00 Set the speed during
Da.8 Command speed – – –
mm/min movement.
Set the time the machine dwells
after the positioning stop (pulse
Da.9 Dwell time 500ms – – –
output stop) to the output of the
positioning complete signal.
Set this when other sub
operation commands are issued
Da.10 M code 10 – – –
in combination with the No. 1
positioning data.
Refer to Section 5.3 "List of positioning data" for information on the setting details.
POINTS
(1) When the "reference axis speed" is set during 4-axis linear interpolation control,
set so the major axis side becomes the reference axis. If the minor axis side is
set as the reference axis, the major axis side speed may exceed the " Pr.8
Speed limit value".
(2) Refer to Section 9.1.6 "Interpolation control" for the reference axis and
interpolation axis combinations.
9 - 42
9 MAJOR POSITIONING CONTROL
MELSEC-Q
In "1-axis fixed-feed control" (" Da.2 Control system" = fixed-feed 1), one motor is
used to carry out fixed-feed control in a set axis direction.
In fixed-feed control, any remainder of the movement amount designated in the
positioning data is rounded down if less than that required for control accuracy to
output the same amount of pulses. (The remainder of the movement amount with an
accuracy below the control accuracy does not affect the regular controls.)
Operation chart
In 1-axis fixed-feed control, the address ( Md.20 Current feed value) of the current
stop position (start point address) is set to "0". Positioning is then carried out to a
position at the end of the movement amount set in " Da.6 Positioning
address/movement amount".
The movement direction is determined by the movement amount sign.
Stop position
Restrictions
(1) An axis error "Continuous path control not possible (error code: 516)" will
occur and the operation cannot start if "continuous path control" is set in
" Da.1 Operation pattern". ("Continuous path control" cannot be set in fixed-
feed control.)
(2) "Fixed-feed" cannot be set in " Da.2 Control system" in the positioning data
when "continuous path control" has been set in " Da.1 Operation pattern" of
the immediately prior positioning data. (For example, if the operation pattern of
positioning data No. 1 is "continuous path control", fixed-feed control cannot
be set in positioning data No. 2.) An axis error "Continuous path control not
possible (error code: 516)" will occur and the machine will carry out a
deceleration stop if this type of setting is carried out.
9 - 43
9 MAJOR POSITIONING CONTROL
MELSEC-Q
* Refer to Section 5.3 "List of positioning data" for information on the setting details.
9 - 44
9 MAJOR POSITIONING CONTROL
MELSEC-Q
In "2-axis fixed-feed control" (" Da.2 Control system" = fixed-feed 2), two motors are
used to carry out fixed-feed control in a linear path while carrying out interpolation for
the axis directions set in each axis.
In fixed-feed control, any remainder of the movement amount designated in the
positioning data is rounded down if less than that required for control accuracy to
output the same amount of pulses. (The remainder of the movement amount with an
accuracy below the control accuracy does not affect the regular controls.)
(Refer to Section 9.1.6 "Interpolation control" for details on interpolation control.)
Operation chart
In incremental system 2-axis fixed-feed control, the addresses ( Md.20 Current
feed value) of the current stop position (start addresses) of both axes are set to
"0". Linear interpolation positioning is then carried out from that position to a
position at the end of the movement amount set in " Da.6 Positioning
address/movement amount". The movement direction is determined by the sign of
the movement amount.
Y axis
(0,0)
Designated movement
(0,0)
amount
(0,0)
X axis
Designated movement
amount
Restrictions
(1) An axis error "Continuous path control not possible (error code: 516)" will
occur and the operation cannot start if "continuous path control" is set in
" Da.1 Operation pattern". ("Continuous path control" cannot be set in fixed-
feed control.)
30
(2) If the movement amount of each axis exceeds "1073741824 (=2 )" when "0:
Composite speed" is set in " Pr.20 Interpolation speed designation method",
the "Outside linear movement amount range error (error code: 504)" occurs at
a positioning start and positioning cannot be started. (The maximum
movement amount that can be set in " Da.6 Positioning address/movement
30
amount" is "1073741824 (= 2 )".
(3) "Fixed-feed" cannot be set in " Da.2 Control system" in the positioning data
when "continuous path control" has been set in " Da.1 Operation pattern" of
the immediately prior positioning data. (For example, if the operation pattern of
positioning data No. 1 is "continuous path control", fixed-feed control cannot
be set in positioning data No. 2.) An axis error "Continuous path control not
possible (error code: 516)" will occur and the machine will carry out a
deceleration stop if this type of setting is carried out.
9 - 45
9 MAJOR POSITIONING CONTROL
MELSEC-Q
Da.4 0 –
No. the deceleration time at deceleration.
Axis to be Set the axis to be interpolated (partner axis).
Da.5 1 –
interpolated If the self-axis is set, an error will occur.
Positioning address/ Set the positioning address. (Assuming "mm" is set in
Da.6 8000.0 µm 6000.0 µm
movement amount " Pr.1 Unit setting".)
Da.7 Arc address – – Setting not required (setting value will be ignored).
Set the speed during movement. (Designate the composite
6000.00
Da.8 Command speed – speed of reference axis speed in " Pr.20 Interpolation
mm/min
speed designation method".)
Set the time the machine dwells after the positioning stop
Da.9 Dwell time 500ms – (pulse output stop) to the output of the positioning complete
signal.
Set this when other sub operation commands are issued in
Da.10 M code 10 –
combination with the No. 1 positioning data.
* Refer to Section 5.3 "List of positioning data" for information on the setting details.
POINT
• When the "reference axis speed" is set during 2-axis fixed-feed control, set so the major axis side
becomes the reference axis. If the minor axis side is set as the reference axis, the major axis side
speed may exceed the " Pr.8 Speed limit value".
9 - 46
9 MAJOR POSITIONING CONTROL
MELSEC-Q
In "3-axis fixed-feed control" (" Da.2 Control system" = fixed-feed 3), three motors are
used to carry out fixed-feed control in a linear path while carrying out interpolation for
the axis directions set in each axis.
In fixed-feed control, any remainder of the movement amount designated in the
positioning data is rounded down if less than that required for control accuracy to
output the same amount of pulses. (The remainder of the movement amount with an
accuracy below the control accuracy does not affect the regular controls.)
(Refer to Section 9.1.6 "Interpolation control" for details on interpolation control.)
9 - 47
9 MAJOR POSITIONING CONTROL
MELSEC-Q
Operation chart
In incremental system 3-axis fixed-feed control, the addresses ( Md.20 Current
feed value) of the current stop position (start addresses) of every axes are set to
"0". Linear interpolation positioning is then carried out from that position to a
position at the end of the movement amount set in " Da.6 Positioning
address/movement amount". The movement direction is determined by the sign of
the movement amount.
Y axis
(0,0,0)
(0,0,0)
Z axis
Designated movement
amount (0,0,0)
X axis
" Md.20 Current feed value" of each axis
is set to "0" at the positioning start.
Designated movement
amount
9 - 48
9 MAJOR POSITIONING CONTROL
MELSEC-Q
Restrictions
(1) An axis error "Continuous path control not possible (error code: 516)" will
occur and the operation cannot start if "continuous path control" is set in
" Da.1 Operation pattern". ("Continuous path control" cannot be set in fixed-
feed control.)
30
(2) If the movement amount of each axis exceeds "1073741824 (=2 )" when "0:
Composite speed" is set in " Pr.20 Interpolation speed designation method",
the "Outside linear movement amount range error (error code: 504)" occurs at
a positioning start and positioning cannot be started. (The maximum
movement amount that can be set in " Da.6 Positioning address/movement
30
amount" is "1073741824 (= 2 )".
(3) "Fixed-feed" cannot be set in " Da.2 Control system" in the positioning data
when "continuous path control" has been set in " Da.1 Operation pattern" of
the immediately prior positioning data. (For example, if the operation pattern of
positioning data No. 1 is "continuous path control", fixed-feed control cannot
be set in positioning data No. 2.) An axis error "Continuous path control not
possible (error code: 516)" will occur and the machine will carry out a
deceleration stop if this type of setting is carried out.
9 - 49
9 MAJOR POSITIONING CONTROL
MELSEC-Q
Refer to Section 5.3 "List of positioning data" for information on the setting details.
POINTS
(1) When the "reference axis speed" is set during 3-axis fixed-feed control, set so the major axis side
becomes the reference axis. If the minor axis side is set as the reference axis, the major axis side
speed may exceed the " Pr.8 Speed limit value".
(2)Refer to Section 9.1.6 "Interpolation control" for the reference axis and interpolation axis
combinations.
9 - 50
9 MAJOR POSITIONING CONTROL
MELSEC-Q
In "4-axis fixed-feed control" (" Da.2 Control system" = fixed-feed 4), four motors are
used to carry out fixed-feed control in a linear path while carrying out interpolation for
the axis directions set in each axis.
In fixed-feed control, any remainder of the movement amount designated in the
positioning data is rounded down if less than that required for control accuracy to
output the same amount of pulses. (The remainder of the movement amount with an
accuracy below the control accuracy does not affect the regular controls.)
(Refer to Section 9.1.6 "Interpolation control" for details on interpolation control.)
Operation chart
In incremental system 4-axis fixed-feed control, the addresses ( Md.20 Current
feed value) of the current stop position (start addresses) of every axes are set to
"0". Linear interpolation positioning is then carried out from that position to a
position at the end of the movement amount set in " Da.6 Positioning
address/movement amount". The movement direction is determined by the sign of
the movement amount.
Restrictions
(1) An axis error "Continuous path control not possible (error code: 516)" will
occur and the operation cannot start if "continuous path control" is set in
" Da.1 Operation pattern". ("Continuous path control" cannot be set in fixed-
feed control.)
(2) "Fixed-feed" cannot be set in " Da.2 Control system" in the positioning data
when "continuous path control" has been set in " Da.1 Operation pattern" of
the immediately prior positioning data. (For example, if the operation pattern of
positioning data No. 1 is "continuous path control", fixed-feed control cannot
be set in positioning data No. 2.) An axis error "Continuous path control not
possible (error code: 516)" will occur and the machine will carry out a
deceleration stop if this type of setting is carried out.
9 - 51
9 MAJOR POSITIONING CONTROL
MELSEC-Q
deceleration.
Setting not required (setting
value will be ignored).
Axis to be
Da.5 – – – – When axis 1 is used as a
interpolated
reference axis, the interpolation
axes are axes 2, 3 and 4.
Set the positioning address.
Positioning address/
Da.6 4000.0 µm 8000.0 µm 4000.0 µm 3000.0 µm (Assuming "mm" is set in
movement amount
" Pr.1 Unit setting".)
Refer to Section 5.3 "List of positioning data" for information on the setting details.
POINTS
(1) For 4-axis fixed-feed control, set the "reference axis speed" and make setting so that the major
axis side becomes the reference axis. If the minor axis side is set as the reference axis, the major
axis side speed may exceed the " Pr.8 Speed limit value".
(2)Refer to Section 9.1.6 "Interpolation control" for the reference axis and interpolation axis
combinations.
9 - 52
9 MAJOR POSITIONING CONTROL
MELSEC-Q
In "2-axis circular interpolation control" (" Da.2 Control system" = ABS circular sub,
INC circular sub), two motors are used to carry out position control in an arc path
passing through designated sub points, while carrying out interpolation for the axis
directions set in each axis.
(Refer to Section 9.1.6 "Interpolation control" for details on
interpolation control.)
[1] 2-axis circular interpolation control with sub point designation (ABS
circular sub)
Operation chart
In the absolute system, 2-axis circular interpolation control with sub point
designation, addresses established by a machine OPR on a 2-axis coordinate
plane are used. Positioning is carried out from the current stop position (start point
address) to the address (end point address) set in " Da.6 Positioning
address/movement amount", in an arc path that passes through the sub point
address set in " Da.7 Arc address".
The resulting control path is an arc having as its center the intersection point of
perpendicular bisectors of a straight line between the start point address (current
stop position) and sub point address (arc address), and a straight line between the
sub point address (arc address) and end point address (positioning address).
Forward direction
OP
Reverse direction
9 - 53
9 MAJOR POSITIONING CONTROL
MELSEC-Q
Restrictions
(1) 2-axis circular interpolation control cannot be set in the following cases.
• When "degree" is set in " Pr.1 Unit setting"
• When the units set in " Pr.1 Unit setting" are different for the reference axis
and interpolation axis. ("mm" and "inch" combinations are possible.)
• When "reference axis speed" is set in " Pr.20 Interpolation speed
designation method"
(2) An error will occur and the positioning start will not be possible in the following
cases. The machine will immediately stop if the error is detected during
positioning control.
29
• When the radius exceeds "536870912 (=2 )". (The maximum radius for
29
which circular interpolation control is possible is "536870912 (=2 )"
... An error "Outside radius range" (error code: 544) will occur at positioning
start.
31
• When the center point address is outside the range of "–2147483648 (–2 ) to
31
2147483647 (2 –1)"
... A "Sub point setting error" (error code: 525) will occur at positioning start.
• When the start point address is the same as the end point address
... An "End point setting error" (error code: 526) will occur.
• When the start point address is the same as the sub point address
... A "Sub point setting error" (error code: 525) will occur.
• When the end point address is the same as the sub point address
... A "Sub point setting error" (error code: 525) will occur.
• When the start point address, sub point address, and end point address are in
a straight line
... A "Sub point setting error" (error code: 525) will occur.
9 - 54
9 MAJOR POSITIONING CONTROL
MELSEC-Q
Set the sub point address. (Assuming that the " Pr.1 Unit
Da.7 Arc address 4000.0 µm 3000.0 µm
setting" is set to "mm".)
Set the speed when moving to the end point address.
6000.00
Da.8 Command speed – (Designate the composite speed in " Pr.20 Interpolation
mm/min
speed designation method".)
Set the time the machine dwells after the positioning stop
Da.9 Dwell time 500ms – (pulse output stop) to the output of the positioning complete
signal.
Set this when other sub operation commands are issued in
Da.10 M code 10 –
combination with the No. 1 positioning data.
Refer to Section 5.3 "List of positioning data" for information on the setting details.
POINT
Set a value in " Da.8 Command speed" so that the speed of each axis does not
exceed the " Pr.8 Speed limit value". (The speed limit does not function for the
speed calculated by the QD75 during interpolation control.)
9 - 55
9 MAJOR POSITIONING CONTROL
MELSEC-Q
[2] 2-axis circular interpolation control with sub point designation (INC
circular sub)
Operation chart
In the incremental system, 2-axis circular interpolation control with sub point
designation, positioning is carried out from the current stop position (start point
address) to a position at the end of the movement amount set in " Da.6
Positioning address/movement amount" in an arc path that passes through the sub
point address set in " Da.7 Arc address". The movement direction depends on
the sign (+ or -) of the movement amount.
The resulting control path is an arc having as its center the intersection point of
perpendicular bisectors of the straight line between the start point address (current
stop position) and sub point address (arc address) calculated from the movement
amount to the sub point, and a straight line between the sub point address (arc
address) and end point address (positioning address) calculated from the
movement amount to the end point.
Forward direction
Sub point address
Movement by circular interpolation
(arc address)
Arc center
Reverse direction Forward direction
Movement
amount to the
sub point
Reverse direction
9 - 56
9 MAJOR POSITIONING CONTROL
MELSEC-Q
Restrictions
(1) 2-axis circular interpolation control cannot be set in the following cases.
• When "degree" is set in " Pr.1 Unit setting"
• When the units set in " Pr.1 Unit setting" are different for the reference axis
and interpolation axis. ("mm" and "inch" combinations are possible.)
• When "reference axis speed" is set in " Pr.20 Interpolation speed
designation method"
(2) An error will occur and the positioning start will not be possible in the following
cases. The machine will immediately stop if the error is detected during
positioning control.
29
• When the radius exceeds "536870912 (=2 )". (The maximum radius for
29
which circular interpolation control is possible is "536870912 (=2 )"
... An error "Outside radius range" (error code: 544) will occur at positioning
start.
• When the auxiliary point address is outside the range of -2147483648 (–231)
31
to 2147483647 (2 –1).
... An error 525 will occur.
• When the end point address is outside the range of -2147483648 (–231) to
31
2147483647 (2 –1).
... An error 526 will occur.
• When the auxiliary point address, center point address is outside the range of
31 31
"–2147483648 (–2 ) to 2147483647 (2 –1)"
... A "Sub point setting error" (error code: 525) will occur at positioning start.
• When the start point address is the same as the end point address
... An "End point setting error" (error code: 526) will occur.
• When the start point address is the same as the sub point address
... A "Sub point setting error" (error code: 525) will occur.
• When the end point address is the same as the sub point address
... A "Sub point setting error" (error code: 525) will occur.
• When the start point address, sub point address, and end point address are in
a straight line
... A "Sub point setting error" (error code: 525) will occur.
9 - 57
9 MAJOR POSITIONING CONTROL
MELSEC-Q
Refer to Section 5.3 "List of positioning data" for information on the setting details.
POINT
Set a value in " Da.8 Command speed" so that the speed of each axis does not
exceed the " Pr.8 Speed limit value". (The speed limit does not function for the
speed calculated by the QD75 during interpolation control.)
9 - 58
9 MAJOR POSITIONING CONTROL
MELSEC-Q
In "2-axis circular interpolation control" (" Da.2 Control system" = ABS circular right,
INC circular right, ABS circular left, INC circular left), two motors are used to carry out
position control in an arc path having a designated center point, while carrying out
interpolation for the axis directions set in each axis.
(Refer to Section 9.1.6 "Interpolation control" for details on interpolation control.)
The following table shows the rotation directions, arc center angles that can be
controlled, and positioning paths for the different control systems.
Arc center angle that
Control system Rotation direction Positioning path
can be controlled
Positioning path
0° < θ ≤ 360°
Center point
9 - 59
9 MAJOR POSITIONING CONTROL
MELSEC-Q
(1) Calculated error < " Pr.41 Allowable circular interpolation error width"
Circular interpolation control to the set end point address is carried out while
the error compensation is carried out. (This is called "spiral interpolation".)
Start point radius > End point radius: As compared with the speed without
error, the speed becomes slower as
end point address is reached.
Start point radius < End point radius: As compared with the speed without
error, the speed becomes faster as
end point address is reached.
(2) Calculated error > " Pr.41 Allowable circular interpolation error width"
At the positioning start, an error "Large arc error deviation" (error code: 506)
will occur and the control will not start. The machine will immediately stop if the
error is detected during positioning control.
9 - 60
9 MAJOR POSITIONING CONTROL
MELSEC-Q
Operation chart
In the absolute system, 2-axis circular interpolation control with center point
designation, addresses established by a machine OPR on a 2-axis coordinate
plane are used. Positioning is carried out from the current stop position (start point
address) to the address (end point address) set in " Da.6 Positioning
address/movement amount", in an arc path having as its center the address (arc
address) of the center point set in " Da.7 Arc address".
Radius
Arc address
Reverse direction
Positioning of a complete round with a radius from the start point address to the
arc center point can be carried out by setting the end point address (positioning
address) to the same address as the start point address.
Forward direction
Reverese direction
9 - 61
9 MAJOR POSITIONING CONTROL
MELSEC-Q
Start point radius > End point radius: As compared with the speed without error,
the speed becomes slower as end point
address is reached.
Start point radius < End point radius: As compared with the speed without error,
the speed becomes faster as end point
address is reached.
Restrictions
(1) 2-axis circular interpolation control cannot be set in the following cases.
• When "degree" is set in " Pr.1 Unit setting"
• When the units set in " Pr.1 Unit setting" are different for the reference axis
and interpolation axis. ("mm" and "inch" combinations are possible.)
• When "reference axis speed" is set in " Pr.20 Interpolation speed
designation method"
(2) An error will occur and the positioning start will not be possible in the following
cases. The machine will immediately stop if the error is detected during
positioning control.
29
• When the radius exceeds "536870912 (=2 )". (The maximum radius for
29
which circular interpolation control is possible is "536870912 (=2 )"
... An error "Outside radius range " (error code: 544) will occur at
positioning start.
• When the start point address is the same as the center point address
... A "Center point setting error" (error code: 527) will occur.
• When the end point address is the same as the center point address
... A "Center point setting error" (error code: 527) will occur.
• When the center point address is outside the range of -231 to 231-1
... A "Center point setting error" (error code: 527) will occur.
9 - 62
9 MAJOR POSITIONING CONTROL
MELSEC-Q
Deceleration time Designate the value set in " Pr.10 Deceleration time 0" as
Da.4 0 –
No. the deceleration time at deceleration.
Axis to be Set the axis to be interpolated (partner axis).
Da.5 1 –
interpolated If the self-axis is set, an error will occur.
Positioning address/ Set the positioning address. (Assuming "mm" is set in
Da.6 8000.0 µm 6000.0 µm
movement amount " Pr.1 Unit setting".)
Set the arc address. (Assuming that the " Pr.1 Unit
Da.7 Arc address 4000.0 µm 3000.0 µm
setting" is set to "mm".)
Set the speed when moving to the end point address.
6000.00
Da.8 Command speed – (Designate the composite speed in " Pr.20 Interpolation
mm/min
speed designation method".)
Set the time the machine dwells after the positioning stop
Da.9 Dwell time 500ms – (pulse output stop) to the output of the positioning complete
signal.
Set this when other sub operation commands are issued in
Da.10 M code 10 –
combination with the No. 1 positioning data.
Refer to Section 5.3 "List of positioning data" for information on the setting details.
POINT
Set a value in " Da.8 Command speed" so that the speed of each axis does not
exceed the " Pr.8 Speed limit value". (The speed limit does not function for the
speed calculated by the QD75 during interpolation control.)
9 - 63
9 MAJOR POSITIONING CONTROL
MELSEC-Q
Operation chart
In the incremental system, 2-axis circular interpolation control with center point
designation, addresses established by a machine OPR on a 2-axis coordinate
plane are used. Positioning is carried out from the current stop position (start point
address) to a position at the end of the movement amount set in " Da.6
Positioning address/movement amount", in an arc path having as its center the
address (arc address) of the center point set in " Da.7 Arc address".
Forward direction
Start point address Movement by circular interpolation
(Current stop position)
Movement amount
to the end point
Radius
Reverse
direction Forward direction
Arc center point
Positioning of a complete round with a radius of the distance from the start point
address to the arc center point can be carried out by setting the movement amount
to "0".
Forward direction
Reverese direction
9 - 64
9 MAJOR POSITIONING CONTROL
MELSEC-Q
Start point radius > End point radius: As compared with the speed without error,
the speed becomes slower as end point
address is reached.
Start point radius < End point radius: As compared with the speed without error,
the speed becomes faster as end point
address is reached.
Restrictions
(1) 2-axis circular interpolation control cannot be set in the following cases.
• When "degree" is set in " Pr.1 Unit setting"
• When the units set in " Pr.1 Unit setting" are different for the reference axis
and interpolation axis. ("mm" and "inch" combinations are possible.)
• When "reference axis speed" is set in " Pr.20 Interpolation speed
designation method"
(2) An error will occur and the positioning start will not be possible in the following
cases. The machine will immediately stop if the error is detected during
positioning control.
29
• When the radius exceeds "536870912 (=2 )". (The maximum radius for
29
which circular interpolation control is possible is "536870912 (=2 )"
... An error "Outside radius range" (error code: 544) will occur at positioning
start.
• When the end point address is outside the range of -231 to 231-1
... An "End point setting error" (error code: 526) will occur.
• When the start point address is the same as the center point address
... A "Center point setting error" (error code: 527) will occur.
• When the end point address is the same as the center point address
... A "Center point setting error" (error code: 527) will occur.
• When the center point address is outside the range of -231 to 231-1
... A "Center point setting error" (error code: 527) will occur.
9 - 65
9 MAJOR POSITIONING CONTROL
MELSEC-Q
Deceleration time Designate the value set in " Pr.10 Deceleration time 0" as
Da.4 0 –
No. the deceleration time at deceleration.
Axis to be Set the axis to be interpolated (partner axis).
Da.5 1 –
interpolated If the self-axis is set, an error will occur.
Positioning address/ Set the movement amount. (Assuming that the " Pr.1 Unit
Da.6 µ 6000.0 µm
movement amount 8000.0 m setting" is set to "mm".)
Set the center point address. (Assuming that the " Pr.1
Da.7 Arc address 4000.0 µm 3000.0 µm
Unit setting" is set to "mm".)
Set the speed when moving to the end point address.
6000.00
Da.8 Command speed – (Designate the composite speed in " Pr.20 Interpolation
mm/min
speed designation method".)
Set the time the machine dwells after the positioning stop
Da.9 Dwell time 500ms – (pulse output stop) to the output of the positioning complete
signal.
Set this when other sub operation commands are issued in
Da.10 M code 10 –
combination with the No. 1 positioning data.
Refer to Section 5.3 "List of positioning data" for information on the setting details.
POINT
Set a value in " Da.8 Command speed" so that the speed of each axis does not
exceed the " Pr.8 Speed limit value". (The speed limit does not function for the
speed calculated by the QD75 during interpolation control.)
9 - 66
9 MAJOR POSITIONING CONTROL
MELSEC-Q
In "1-axis speed control" (" Da.2 Control system" = Forward run: speed 1, Reverse
run: speed 1), control is carried out in the axis direction in which the positioning data
has been set by continuously outputting pulses for the speed set in " Da.8 Command
speed" until the input of a stop command.
The two types of 1-axis speed control are "Forward run: speed 1" in which the control
starts in the forward run direction, and "Reverse run: speed 1" in which control starts in
the reverse run direction.
Operation chart
The following chart shows the operation timing for 1-axis speed control with axis 1
as the reference axis.
The "in speed control" flag ( Md.31 Status: b0) is turned ON during speed control.
The "Positioning complete signal" is not turned ON.
ON
OFF
Positioning start signal
[Y10]
ON
OFF
BUSY signal
[XC]
Does not turn ON even
when control is stopped
by stop command.
OFF
Positioning complete signal
[X14]
ON
Axis stop signal OFF
(stop command) [Y4]
ON
In speed control flag
Md.31 Status:b0 OFF
9 - 67
9 MAJOR POSITIONING CONTROL
MELSEC-Q
" Pr.21 Current feed value during speed Md.20 Current feed value
control" setting
The current feed value at speed control start
0: Do not update current feed value
is maintained.
1: Update current feed value The current feed value is updated.
2: Zero clear current feed value The current feed value is fixed at 0.
t t t
Current feed value during speed control start is maintained Current feed value is updated 0
(a) Current feed value not updated (b) Current feed value updated (c) Current feed value zero cleared
Restrictions
(1) Set "Positioning complete" in " Da.1 Operation pattern". An axis error
"Continuous path control not possible (error code: 516)" will occur and the
operation cannot start if "continuous positioning control" or "continuous path
control" is set in " Da.1 Operation pattern".
("Continuous positioning control" and "continuous path control" cannot be set
in speed control.)
(2) Set the WITH mode in " Pr.18 M code ON signal output timing" when using
an M code. The M code will not be output, and the M code ON signal will not
turn ON if the AFTER mode is set.
(3) An error "No command speed" (error code: 503) will occur if the current speed
(-1) is set in " Da.8 command speed".
(4) The software stroke limit check will not carried out if the control unit is set to
"degree".
9 - 68
9 MAJOR POSITIONING CONTROL
MELSEC-Q
Da.1 Operation pattern Positioning Setting other than "Positioning complete" is not possible in speed
complete control.
Forward run
Da.2 Control system Set 1-axis speed control.
speed 1
Da.3 Acceleration time 1 Designate the value set in " Pr.25 Acceleration time 1" as the
No. acceleration time at start.
Axis 1 Positioning data No. 1
Da.4 Deceleration time 0 Designate the value set in " Pr.10 Deceleration time 0" as the
No. deceleration time at deceleration.
Axis to be
Da.5 – Setting not required (setting value will be ignored).
interpolated
Positioning address/
Da.6 – Setting not required (setting value will be ignored).
movement amount
Da.7 Arc address – Setting not required (setting value will be ignored).
Da.8 Command speed 6000.00mm/min Set the speed to be commanded.
Da.9 Dwell time – Setting not required (setting value will be ignored).
Set this when other sub operation commands are issued in combination
Da.10 M code 10 with the No. 1 positioning data. (" Pr.18 M code ON signal output
timing" setting only possible in the WITH mode.)
Refer to Section 5.3 "List of positioning data" for information on the setting details.
9 - 69
9 MAJOR POSITIONING CONTROL
MELSEC-Q
In "2-axis speed control" (" Da.2 Control system" = Forward run: speed 2, Reverse
run: speed 2), control is carried out in the 2-axis direction in which the positioning data
has been set by continuously outputting pulses for the speed set in " Da.8 Command
speed" until the input of a stop command.
The two types of 2-axis speed control are "Forward run: speed 2" in which the control
starts in the forward run direction, and "Reverse run: speed 2" in which control starts in
the reverse run direction.
(Refer to Section 9.1.6 "Interpolation control" for the combination of the reference axis
with the interpolation axis.)
Operation chart
The following chart shows the operation timing for 2-axis (axes 1 and 2) speed
control with axis 1 as the reference axis. The "in speed control" flag
( Md.31 Status: b0) is turned ON during speed control.
The "positioning complete signal" is not turned ON.
V
Referense axis (axis1)
Da. 8 Command speed
ON
OFF
Positioning start signal
[Y10]
ON
OFF
BUSY signal
[XC,XD]
Does not turn ON even
when control is stopped
by stop command.
OFF
Positioning complete signal
[X14,X15]
ON
OFF
Axis stop signal (stop command)
(Either Y4 or Y5)
ON
In speed control flag
OFF
Md.31 Status: b0
9 - 70
9 MAJOR POSITIONING CONTROL
MELSEC-Q
" Pr.21 Current feed value during speed Md.20 Current feed value
control" setting
The current feed value at speed control start
0: Do not update current feed value
is maintained.
1: Update current feed value The current feed value is updated.
2: Zero clear current feed value The current feed value is fixed at 0.
t t t
Current feed value during speed control start is maintained Current feed value is updated 0
(a) Current feed value not updated (b) Current feed value updated (c) Current feed value zero cleared
Restrictions
(1) Set "Positioning complete" in " Da.1 Operation pattern". An axis error
"Continuous path control not possible (error code: 516)" will occur and the
operation cannot start if "continuous positioning control" or "continuous path
control" is set.
("Continuous positioning control" and "continuous path control" cannot be set
in speed control.)
(2) Set the WITH mode in " Pr.18 M code ON signal output timing" when using
an M code. The M code will not be output, and the M code ON signal will not
turn ON if the AFTER mode is set.
(3) Set the "reference axis speed" in " Pr.20 Interpolation speed designation
method". An "Interpolation mode error (error code: 523)" will occur and the
operation cannot start if a composite speed is set.
(4) When either of two axes exceeds the speed limit, that axis is controlled with
the speed limit value. The speeds of the other axes are limited at the ratios of
" Da.8 Command speed".
(Examples)
Axis
Axis 1 setting Axis 2 setting
Setting item
Pr.8 Speed limit value 4000.00mm/min 5000.00mm/min
With the settings shown above, the operation speed in speed control is as
follows.
Axis 1: 4000.00 mm/min (Speed is limited by Pr.8 ).
Axis 2: 3000.00 mm/min (Speed is limited at an ratio of an axis 1 command
speed to an axis 2 command speed).
9 - 71
9 MAJOR POSITIONING CONTROL
MELSEC-Q
(5) An error "No command speed" (error code: 503) occurs if a current speed (-1)
is set in " Da.8 Command speed".
(6) The software stroke limit check is not carried out when the control unit is set to
"degree".
Da.1 Operation pattern Positioning Setting other than "Positioning complete" is not possible in
–
complete speed control.
Forward run
Da.2 Control system – Set 2-axis speed control.
speed 2
Da.3
Acceleration time
1 – Designate the value set in " Pr.25 Acceleration time 1" as
No. the acceleration time at start.
Axis 1 Positioning data No. 1
Da.4
Deceleration time
0 – Designate the value set in " Pr.10 Deceleration time 0" as
No. the deceleration time at deceleration.
Set the axis to be interpolated (partner axis).
Da.5 Axis to be 1 –
interpolated If the self-axis is set, an error will occur.
Positioning address/
Da.6 – – Setting not required (setting value will be ignored).
movement amount
Da.7 Arc address – – Setting not required (setting value will be ignored).
6000.00 3000.00
Da.8 Command speed Set the speed to be commanded.
mm/min mm/min
Da.9 Dwell time – – Setting not required (setting value will be ignored).
Set this when other sub operation commands are issued in
combination with the No. 1 positioning data. (" Pr.18 M
Da.10 M code 10 –
code ON signal output timing" setting only possible in the
WITH mode.)
Refer to Section 5.3 "List of positioning data" for information on the setting details.
9 - 72
9 MAJOR POSITIONING CONTROL
MELSEC-Q
In "3-axis speed control" (" Da.2 Control system" = Forward run: speed 3, Reverse
run: speed 3), control is carried out in the 3-axis direction in which the positioning data
has been set by continuously outputting pulses for the speed set in " Da.8 Command
speed" until the input of a stop command.
The two types of 3-axis speed control are "Forward run: speed 3" in which the control
starts in the forward run direction, and "Reverse run: speed 3" in which control starts in
the reverse run direction.
(Refer to Section 9.1.6 "Interpolation control" for the combination of the reference axis
with the interpolation axes.)
Operation chart
The following chart shows the operation timing for 3-axis (axes 1, 2, and 3) speed
control with axis 1 as the reference axis.
The "in speed control" flag ( Md.31 Status: b0) is turned ON during speed control.
The "positioning complete signal" is not turned ON.
ON
OFF
Positioning start signal
[Y10]
ON
OFF
BUSY signal
[XC,XD,XE] Does not turn ON even
when control is stopped
by stop command.
OFF
Positioning complete signal
[X14,X15,X16]
ON
Axis stop signal
OFF
(stop command)
(Either Y4,Y5 or Y6)
ON
In speed control flag
OFF
Md.31 Status: b0
9 - 73
9 MAJOR POSITIONING CONTROL
MELSEC-Q
" Pr.21 Current feed value during speed Md.20 Current feed value
control" setting
The current feed value at speed control start
0: Do not update current feed value
is maintained.
1: Update current feed value The current feed value is updated.
2: Zero clear current feed value The current feed value is fixed at 0.
t t t
Current feed value during speed control start is maintained Current feed value is updated 0
(a) Current feed value not updated (b) Current feed value updated (c) Current feed value zero cleared
Restrictions
(1) Set "Positioning complete" in " Da.1 Operation pattern". An axis error
"Continuous path control not possible (error code: 516)" will occur and the
operation cannot start if "continuous positioning control" or "continuous path
control" is set. ("Continuous positioning control" and "continuous path control"
cannot be set in speed control.)
(2) Set the WITH mode in " Pr.18 M code ON signal output timing" when using
an M code. The M code will not be output, and the M code ON signal will not
turn ON if the AFTER mode is set.
(3) Set the "reference axis speed" in " Pr.20 Interpolation speed designation
method". An "Interpolation mode error (error code: 523)" will occur and the
operation cannot start if a composite speed is set.
9 - 74
9 MAJOR POSITIONING CONTROL
MELSEC-Q
(4) When either of three axes exceeds the speed limit, that axis is controlled with
the speed limit value. The speeds of the other axes are limited at the ratios of
" Da.8 Command speed".
(Examples)
Axis
Axis 1 setting Axis 2 setting Axis 3 setting
Setting item
Da.8 Command
8000.00mm/min 6000.00mm/min 4000.00mm/min
speed
With the settings shown above, the operation speed in speed control is as
follows.
Axis 1: 4000.00 mm/min (Speed is limited by Pr.8 ).
Axis 2: 3000.00 mm/min (Speed is limited at ratios in axes 1, 2, and 3
command speeds).
Axis 3: 2000.00 mm/min (Speed is limited at ratios in axes 1, 2, and 3
command speeds).
(5) An error "No command speed" (error code: 503) will occur if a current speed
(-1) is set in " Da.8 Command speed".
(6) The software stroke limit check is not carried out when the control unit is set to
"degree".
9 - 75
9 MAJOR POSITIONING CONTROL
MELSEC-Q
Refer to Section 5.3 "List of positioning data" for information on the setting details.
9 - 76
9 MAJOR POSITIONING CONTROL
MELSEC-Q
In "4-axis speed control" (" Da.2 Control system" = Forward run: speed 4, Reverse
run: speed 4), control is carried out in the 4-axis direction in which the positioning data
has been set by continuously outputting pulses for the speed set in " Da.8 Command
speed" until the input of a stop command.
The two types of 4-axis speed control are "Forward run: speed 4" in which the control
starts in the forward run direction, and "Reverse run: speed 4" in which control starts in
the reverse run direction.
(Refer to Section 9.1.6 "Interpolation control" for the combination of the reference axis
with the interpolation axes.)
9 - 77
9 MAJOR POSITIONING CONTROL
MELSEC-Q
Operation chart
The following chart shows the operation timing for 4-axis speed control with axis 1
as the reference axis.
The "in speed control" flag ( Md.31 Status: b0) is turned ON during speed control.
The "positioning complete signal" is not turned ON.
V
ON
OFF
Positioning start signal
[Y10]
ON
OFF
BUSY signal
[XC,XD,XE,XF]
Does not turn ON even
when control is stopped
by stop command.
OFF
Positioning complete signal
[X14,X15,X16,X17]
ON
ON
In speed control flag
OFF
Md.31 Status: b0
9 - 78
9 MAJOR POSITIONING CONTROL
MELSEC-Q
" Pr.21 Current feed value during speed Md.20 Current feed value
control" setting
The current feed value at speed control start
0: Do not update current feed value
is maintained.
1: Update current feed value The current feed value is updated.
2: Zero clear current feed value The current feed value is fixed at 0.
t t t
Current feed value during speed control start is maintained Current feed value is updated 0
(a) Current feed value not updated (b) Current feed value updated (c) Current feed value zero cleared
Restrictions
(1) Set "Positioning complete" in " Da.1 Operation pattern". An axis error
"Continuous path control not possible (error code: 516)" will occur and the
operation cannot start if "continuous positioning control" or "continuous path
control" is set. ("Continuous positioning control" and "continuous path control"
cannot be set in speed control.)
(2) Set the WITH mode in " Pr.18 M code ON signal output timing" when using
an M code. The M code will not be output, and the M code ON signal will not
turn ON if the AFTER mode is set.
(3) Set the "reference axis speed" in " Pr.20 Interpolation speed designation
method". An "Interpolation mode error (error code: 523)" will occur and the
operation cannot start if a composite speed is set.
9 - 79
9 MAJOR POSITIONING CONTROL
MELSEC-Q
(4) When either of four axes exceeds the speed limit, that axis is controlled with
the speed limit value. The speeds of the other axes are limited at the ratios of
" Da.8 Command speed".
(Examples)
Axis
Axis 1 Axis 2 Axis 3 Axis 4
setting setting setting setting
Setting item
9 - 80
9 MAJOR POSITIONING CONTROL
MELSEC-Q
deceleration.
Setting not required (setting
value will be ignored).
Da.5 Axis to be – – – – When axis 1 is used as a
interpolated
reference axis, the interpolation
axes are axes 2, 3 and 4.
Positioning address/ Setting not required (setting
Da.6 – – – –
movement amount value will be ignored).
Setting not required (setting
Da.7 Arc address – – – –
value will be ignored).
6000.00 3000.00 2000.00 1000.00 Set the speed to be
Da.8 Command speed
mm/min mm/min mm/min mm/min commanded.
Setting not required (setting
Da.9 Dwell time – – – –
value will be ignored).
Set this when other sub
operation commands are issued
in combination with the No. 1
Da.10 M code 10 – – – positioning data. (" Pr.18 M
code ON signal output timing"
setting only possible in the
WITH mode.)
Refer to Section 5.3 "List of positioning data" for information on the setting details.
9 - 81
9 MAJOR POSITIONING CONTROL
MELSEC-Q
In "speed-position switching control (INC mode)" (" Da.2 Control system" = Forward
run: speed/position, Reverse run: speed/position), the pulses of the speed set in
" Da.8 Command speed" are kept output on the axial direction set to the positioning
data. When the "speed-position switching signal" is input, position control of the
movement amount set in " Da.6 Positioning address/movement amount" is exercised.
Use the detailed parameter 1 " Pr.150 Speed-position function selection" with regard to
the choice for "speed-position switching control (INC mode)".
9 - 82
9 MAJOR POSITIONING CONTROL
MELSEC-Q
Operation chart
The following chart (Fig.9.13) shows the operation timing for speed-position
switching control (INC mode). The "in speed control flag" ( Md.31 Status: b0) is
turned ON during speed control of speed-position switching control (INC mode).
ON
OFF
Positioning start signal
[Y10,Y11,Y12,Y13]
ON
OFF
BUSY signal
[XC,XD,XE,XF]
ON
OFF
Positioning complete signal
[X14,X15,X16,X17]
ON
OFF
Speed-position switching signal
ON
OFF
Cd. 24 Speed-position
switching enable flag
ON
9 - 83
9 MAJOR POSITIONING CONTROL
MELSEC-Q
[Operation example]
The following operation assumes that the speed-position switching signal is input at the position of the
current feed value of 90.00000 [degree] during execution of " Da.2 Control system" "Forward run:
speed/position" at " Pr.1 Unit setting" of "2: degree" and " Pr.21 Current feed value during speed
control" setting of "1: Update current feed value".
(The value set in " Da.6 Positioning address/movement amount" is 270.00000 [degree])
Speed-position 0.00000
0.00000
switching signal ON
90.00000
90.00000
90.00000+270.00000
=360.00000
=Stop at 0.00000 [degree]
9 - 84
9 MAJOR POSITIONING CONTROL
MELSEC-Q
Positioning start
signal [Y10,Y11,Y12,Y13]
BUSY signal
[XC,XD,XE,XF]
t1
M code ON signal
[X4,X5,X6,X7](WITH mode)
t2
Cd.7 M code OFF request
t4
Output pulse to external source
(PULSE)
Speed Position
control control
Positioning operation
Fig. 9.14 Operation timing and processing time during speed-position switching control (INC mode)
• The t1 timing time could be delayed by the operation state of other axes.
9 - 85
9 MAJOR POSITIONING CONTROL
MELSEC-Q
" Pr.21 Current feed value during Md.20 Current feed value
speed control" setting
The current feed value at control start is maintained during
0: Do not update current feed value speed control, and updated from the switching to position
control.
The current feed value is updated during speed control
1: Update current feed value
and position control.
The current feed value is cleared (set to "0") at control
2: Zero clear current feed value
start, and updated from the switching to position control.
Speed Speed control Position control Speed Speed control Position control Speed Speed control Position control
t t t
(a) Current feed value not updated (b) Current feed value updated (c) Current feed value zero cleared
ON
ON
Speed-position switching latch flag OFF
1ms
9 - 86
9 MAJOR POSITIONING CONTROL
MELSEC-Q
Movement amount
change possible
ON
Speed-position switching signal OFF
Setting after the speed-position
switching signal ON is ignored
POINT
• The machine recognizes the presence of a movement amount change request when the data is
written to " Cd.23 Speed-position switching control movement amount change register" with the
sequence program.
• The new movement amount is validated after execution of the speed-position switching control (INC
mode), before the input of the speed-position switching signal.
• The movement amount change can be enable/disable with the interlock function in position control
using the “speed-position switching latch flag” ( Md.31 Status : b1) of the axis monitor area.
Restrictions
(1) An axis error (error code: 516) will occur and the operation cannot start if
"continuous positioning control" or "continuous path control" is set in " Da.1
Operation pattern".
(2) "Speed-position switching control" cannot be set in " Da.2 Control system" of
the positioning data when "continuous path control" has been set in " Da.1
Operation pattern" of the immediately prior positioning data. (For example, if
the operation pattern of positioning data No. 1 is "continuous path control",
"speed-position switching control" cannot be set in positioning data No. 2.) An
axis error (error code: 516) will occur and the machine will carry out a
deceleration stop if this type of setting is carried out.
(3) An error (error code: 503) will occur if "current speed (-1)" is set in " Da.8
command speed".
(4) The software stroke limit range check during speed control is made only when
the following (a) and (b) are satisfied:
(a) " Pr.21 Current feed value during speed control" is "1: Update current feed
value".
If the movement amount exceeds the software stroke limit range during
speed control in case of the setting of other than "1: Update current feed
value", an error (error code: 507 or 508) will occur as soon as speed control
is changed to position control and the axis will decelerate to a stop.
(b) When " Pr.1 Unit setting" is other than "2: degree"
If the unit is "degree", the software stroke limit range check is not performed.
(5) If the value set in " Da.6 Positioning address/movement amount" is negative,
an error (error code: 530) will occur.
(6) Deceleration processing is carried out from the point where the speed-position
switching signal is input if the position control movement amount set in
" Da.6 Positioning address/movement amount" is smaller than the
deceleration distance from the " Da.8 Command speed".
(7) Turn ON the speed-position switching signal in the speed stabilization region
(constant speed status). A warning (warning code: 508) will occur because of
large deviation in the droop pulse amount if the signal is turned ON during
acceleration.
During use of the servomotor, the actual movement amount after switching of
speed control to position control is the "preset movement amount + droop
pulse amount". If the signal is turned ON during acceleration/deceleration, the
stop position will vary due to large variation of the droop pulse amount. Even
though " Md.29 Speed-position switching control positioning amount" is the
same, the stop position will change due to a change in droop pulse amount
when " Da.8 Command speed" is different.
9 - 88
9 MAJOR POSITIONING CONTROL
MELSEC-Q
Designate the value set in " Pr.10 Deceleration time 0" as the
Da.4 Deceleration time 0
No. deceleration time at deceleration.
Axis to be
Da.5 – Setting not required. (Setting value is ignored.)
interpolated
INC mode ( Pr.150 = 0)
Da.6 Positioning address/ 10000.0μm Set the movement amount after the switching to position control.
movement amount
(Assuming that the " Pr.1 Unit setting" is set to "mm".)
Refer to Section 5.3 "List of positioning data" for information on the setting details.
9 - 89
9 MAJOR POSITIONING CONTROL
MELSEC-Q
In case of "speed-position switching control (ABS mode)" (" Da.2 Control system" =
Forward run: speed/position, Reverse run: speed/position), the pulses of the speed set
in " Da.8 Command speed" are kept output in the axial direction set to the positioning
data. When the "speed-position switching signal" is input, position control to the
address set in " Da.6 Positioning address/movement amount" is exercised.
"Speed-position switching control (ABS mode)" is valid only when " Pr.1 Unit setting"
is "2: degree".
: Setting allowed,
: Setting disallowed (If setting is made, an error (error code: 935) will occur when the PLC
READY signal (Y0) turns ON.)
Use the detailed parameter 1 " Pr.150 Speed-position function selection" to choose
"speed-position switching control (ABS mode)".
If the set value is other than 0 and 2, it is regarded as 0 and operation is performed in the INC
mode.
For details of the setting, refer to Section 5.2 "List of parameters".
9 - 90
9 MAJOR POSITIONING CONTROL
MELSEC-Q
Operation chart
The following chart (Fig.9.16) shows the operation timing for speed-position
switching control (ABS mode). The "in speed control flag" ( Md.31 Status: b0) is
turned ON during speed control of speed-position switching control (ABS mode).
ON
OFF
Positioning start signal
[Y10,Y11,Y12,Y13]
ON
OFF
BUSY signal
[XC,XD,XE,XF]
ON
OFF
Positioning complete signal
[X14,X15,X16,X17]
ON
OFF
Speed-position switching signal
ON
OFF
Cd. 24 Speed-position
switching enable flag
ON
9 - 91
9 MAJOR POSITIONING CONTROL
MELSEC-Q
[Operation example]
The following operation assumes that the speed-position switching signal is input at the position of the
current feed value of 90.00000 [degree] during execution of " Da.2 Control system" "Forward run:
speed/position" at " Pr.1 Unit setting" of "2: degree" and " Pr.21 Current feed value during speed
control" setting of "1: Update current feed value".
(The value set in " Da.6 Positioning address/movement amount" is 270.00000 [degree])
Speed-position
0.00000 0.00000
switching signal ON
270.00000 90.00000
90.00000
Stop at 270.00000 [degree]
9 - 92
9 MAJOR POSITIONING CONTROL
MELSEC-Q
Positioning start
signal [Y10,Y11,Y12,Y13]
BUSY signal
[XC,XD,XE,XF]
t1
M code ON signal
[X4,X5,X6,X7](WITH mode)
t2
Cd.7 M code OFF request
t4
Output pulse to external source
(PULSE)
Speed Position
control control
Positioning operation
t6 t5
Fig. 9.17 Operation timing and processing time during speed-position switching control (ABS mode)
• The t1 timing time could be delayed by the operation state of other axes.
9 - 93
9 MAJOR POSITIONING CONTROL
MELSEC-Q
" Pr.21 Current feed value during Md.20 Current feed value
speed control" setting
The current feed value is updated during speed control
1: Update current feed value
and position control.
Only "1: Update current value" is valid for the setting of " Pr.21 Current feed value
during speed control" in speed-position switching control (ABS mode).
An error (error code: 935) will occur if the " Pr.21 Current feed value during
speed control" setting is other than 1.
Updated
ON
ON
Speed-position switching latch flag OFF
1ms
9 - 94
9 MAJOR POSITIONING CONTROL
MELSEC-Q
9 - 95
9 MAJOR POSITIONING CONTROL
MELSEC-Q
Restrictions
(1) An axis error (error code: 516) will occur and the operation cannot start if
"continuous positioning control" or "continuous path control" is set in " Da.1
Operation pattern".
(2) "Speed-position switching control" cannot be set in " Da.2 Control system" of
the positioning data when "continuous path control" has been set in " Da.1
Operation pattern" of the immediately prior positioning data. (For example, if
the operation pattern of positioning data No. 1 is "continuous path control",
"speed-position switching control" cannot be set in positioning data No. 2.) An
axis error (error code: 516) will occur and the machine will carry out a
deceleration stop if this type of setting is carried out.
(3) An error (error code: 503) will occur if "current speed (-1)" is set in " Da.8
command speed".
(4) If the value set in " Da.6 Positioning address/movement amount" is negative,
an error (error code: 530) will occur.
(5) Even though the axis control data " Cd.23 Speed-position switching control
movement amount change register" was set in speed-position switching
control (ABS mode), it would not function. The set value is ignored.
(6) To exercise speed-position switching control (ABS mode), the following
conditions must be satisfied:
(a) " Pr.1 Unit setting" is "2: degree"
(b) The software stroke limit function is invalid (upper limit value = lower limit
value)
(c) " Pr.21 Current feed value during speed control" is "1: Update current
feed value"
(d) The " Da.6 Positioning address/movement amount" setting range is 0 to
359.99999 (degree)
If the value is outside of the range 0 to 359.99999 (degree), an error (error
code: 530) will occur at a start.
(e) The " Pr.150 Speed-position function selection" setting is "2: Speed-
position switching control (ABS mode)".
(7) If any of the conditions in (6)(a) to (6)(c) is not satisfied in the case of (6)(e), an
error (error code: 935) will occur when the PLC READY signal [Y0] turns from
OFF to ON.
(8) If the axis reaches the positioning address midway through deceleration after
automatic deceleration started at the input of the speed-position switching
signal, the axis will not stop immediately at the positioning address. The axis
will stop at the positioning address after N revolutions so that automatic
deceleration can always be made. (N: Natural number)
In this case, make the movement amount after speed-position switching signal
input within 21474.83647 (degree). If the movement amount exceeds
21474.83647 (degree), make the movement amount smaller by reducing the
command speed or shortening the deceleration time, for example.
In the following example, since making deceleration in the path of dotted line
will cause the axis to exceed the positioning addresses twice, the axis will
decelerate to a stop at the third positioning address.
Speed-position switching signal
9 - 96
9 MAJOR POSITIONING CONTROL
MELSEC-Q
Designate the value set in " Pr.10 Deceleration time 0" as the
Da.4 Deceleration time No. 0
deceleration time at deceleration.
Axis to be
Da.5 – Setting not required. (Setting value is ignored.)
interpolated
ABS mode ( Pr.150 = 2)
Positioning address/ 270.00000 Set the address after the switching to position control. (Assuming that
Da.6
movement amount degree
the " Pr.1 Unit setting" is set to "mm".)
Refer to Section 5.3 "List of positioning data" for information on the setting details.
9 - 97
9 MAJOR POSITIONING CONTROL
MELSEC-Q
9 - 98
9 MAJOR POSITIONING CONTROL
MELSEC-Q
Operation chart
The following chart shows the operation timing for position-speed switching
control.
The "in speed control" flag ( Md.31 Status: b0) is turned ON during speed control
of position-speed switching control.
ON
9 - 99
9 MAJOR POSITIONING CONTROL
MELSEC-Q
M code ON signal
[X4,X5,X6,X7](WITH mode)
t2
Cd. 7 M code OFF request
t4
Output pulse to an external source
(PULSE)
Position Speed
control control
Positioning operation
Stop signal
[STOP]
Fig. 9.19 Operation timing and processing time during position-speed switching control
• The t1 timing time could be delayed by the operation state of other axes.
9 - 100
9 MAJOR POSITIONING CONTROL
MELSEC-Q
" Pr.21 Current feed value during Md.20 Current feed value
speed control" setting
The current feed value is updated during position control,
and the current feed value at the time of switching is
0: Do not update current feed value
maintained as soon as position control is switched to
speed control.
The current feed value is updated during position control
1: Update current feed value
and speed control.
The current feed value is updated from 0 at a control start,
2: Zero clear current feed value and the current feed value is cleared (to "0") as soon as
position control is switched to speed control.
Speed Position control Speed control Speed Position control Speed control Speed Position control Speed control
t t t
(a) Current feed value not updated (b) Current feed value updated (c) Current feed value zero cleared
ON
ON
Position-speed switching latch flag OFF
1ms
9 - 101
9 MAJOR POSITIONING CONTROL
MELSEC-Q
Speed change
enable
ON
Position-speed switching OFF
signal
Setting after the position-speed
switching signal ON is ignored.
Cd.25 Position-speed
switching control 0 V2 V3
speed change register
ON
Position-speed switching
OFF
latch flag
Md.31 Status: b5
ON
OFF
Stop signal
9 - 102
9 MAJOR POSITIONING CONTROL
MELSEC-Q
POINTS
• The machine recognizes the presence of a command speed change request when the data is
written to " Cd.25 Position-speed switching control speed change register" with the sequence
program.
• The new command speed is validated after execution of the position-speed switching control before
the input of the position-speed switching signal.
• The command speed change can be enabled/disabled with the interlock function in speed control
using the "position-speed switching latch flag" ( Md.31 Status: b5) of the axis monitor area.
Restrictions
(1) An axis error (error code: 516) will occur and the operation cannot start if
"continuous positioning control" or "continuous path control" is set in
" Da.1 Operation pattern".
(2) "Position-speed switching control" cannot be set in " Da.2 Control system" of
the positioning data when "continuous path control" has been set in
" Da.1 Operation pattern" of the immediately prior positioning data. (For
example, if the operation pattern of positioning data No. 1 is "continuous path
control", "position-speed switching control" cannot be set in positioning data
No. 2.) An axis error (error code: 516) will occur and the machine will carry
out a deceleration stop if this type of setting is carried out.
(3) The software stroke limit range is only checked during speed control if the "1:
Update current feed value" is set in " Pr.21 Current feed value during speed
control".
The software stroke limit range is not checked when the control unit is set to
"degree".
(4) An error (error code: 507 or 508) will occur and the operation cannot start if
the start point address or end point address for position control exceeds the
software stroke limit range.
(5) Deceleration stop will be carried out if the position-speed switching signal is
not input before the machine is moved by a specified movement amount.
When the position-speed switching signal is input during automatic
deceleration by positioning control, acceleration is carried out again to the
command speed to continue speed control.
When the position-speed switching signal is input during deceleration to a stop
with the stop signal, the control is switched to the speed control to stop the
machine.
Restart is carried out by speed control using the restart command.
(6) A warning (warning code: 501) will occur and control is continued by
" Pr.8 Speed limit value" if a new speed exceeds " Pr.8 Speed limit value" at
the time of change of the command speed.
(7) If the value set in " Da.6 Positioning address/movement amount" is negative,
an error (error code: 530) will occur.
9 - 103
9 MAJOR POSITIONING CONTROL
MELSEC-Q
Designate the value set in " Pr.10 Deceleration time 0" as the
Da.4 Deceleration time No. 0
deceleration time at deceleration.
Axis to be
Da.5 – Setting not required. (Setting value is ignored.)
interpolated
Set the movement amount at the time of position control before the
Positioning address/
Da.6
movement amount 10000.0µm switching to speed control. (Assuming that the " Pr.1 Unit setting" is
set to "mm".)
Da.7 Arc address – Setting not required. (Setting value is ignored.)
Da.8 Command speed 6000.00mm/min Set the speed to be controlled.
Set the time the machine dwells after the positioning stop (pulse
output stop) by position control to the output of the positioning
Da.9 Dwell time 500ms
complete signal. If the machine is stopped by speed control, the
setting value will be ignored.
Set this when other sub operation commands are issued in
Da.10 M code 10
combination with the No. 1 positioning data.
Refer to Section 5.3 "List of positioning data" for information on the setting details.
9 - 104
9 MAJOR POSITIONING CONTROL
MELSEC-Q
When the current value is changed to a new value, control is carried out in which the
" Md.20 Current feed value" of the stopped axis is changed to a random address set
by the user. (The " Md.21 Machine feed value" is not changed when the current value
is changed.)
The two methods for changing the current value are shown below.
[1] Changing to a new current value using the positioning data
[2] Changing to a new current value using the start No. (No. 9003) for a current
value changing
The current value changing using method [1] is used during continuous positioning of
multiple blocks, etc.
Operation chart
The following chart shows the operation timing for a current value changing. The
" Md.20 Current feed value" is changed to the value set in " Da.6 Positioning
address/movement amount" when the positioning start signal turns ON.
ON
Positioning start signal OFF
[Y10,Y11,Y12,Y13]
Restrictions
(1) An axis error "New current value not possible (error code: 515)" will occur and
the operation cannot start if "continuous path control" is set in " Da.1
Operation pattern". ("Continuous path control" cannot be set in current value
changing.)
(2) "Current value changing" cannot be set in " Da.2 Control system" of the
positioning data when "continuous path control" has been set in " Da.1
Operation pattern" of the immediately prior positioning data. (For example, if
the operation pattern of positioning data No. 1 is "continuous path control",
"current value changing" cannot be set in positioning data No. 2.) An axis error
"New current value not possible (error code: 515)" will occur and the machine
will carry out a deceleration stop if this type of setting is carried out.
(3) An axis error "Outside new current value range (error code: 514)" will occur
and the operation cannot start if "degree" is set in " Pr.1 Unit setting" and the
value set in " Da.6 Positioning address/movement amount" is outside the
setting range (0 to 359.99999 [degree]).
9 - 105
9 MAJOR POSITIONING CONTROL
MELSEC-Q
(4) If the value set in " Da.6 Positioning address/movement amount" is outside
the software stroke limit ( Pr.12 , Pr.13 ) setting range, an error "Software
stroke limit +, – (error code: 507 or 508)" will occur at the positioning start, and
the operation will not start.
(5) An error (error code: 507 or 508) will occur if the new current value is outside
the software stroke limit range.
Refer to Section 5.3 "List of positioning data" for information on the setting details.
9 - 106
9 MAJOR POSITIONING CONTROL
MELSEC-Q
[2] Changing to a new current value using the start No. (No. 9003) for
a current value changing
Operation chart
The current value is changed by setting the new current value in the current value
changing buffer memory " Cd.9 Current value changing", setting "9003" in the
" Cd.3 Positioning start No.", and turning ON the positioning start signal.
ON
Positioning start signal OFF
[Y10,Y11,Y12,Y13]
Restrictions
(1) An axis error "Outside new current value range (error code: 514)" will occur if
the designated value is outside the setting range when "degree" is set in "Unit
setting".
(2) An error "Software stroke limit +, (error code: 507 or 508)" will occur if the
designated value is outside the software stroke limit range.
(3) The current value cannot be changed during stop commands and while the M
code ON signal is ON.
(4) The M code output function is made invalid.
9 - 107
9 MAJOR POSITIONING CONTROL
MELSEC-Q
Set the new " Md.20 Current feed value". 1506 1606 1706 1806
Cd.9 Current value changing 50000
1507 1607 1707 1807
Refer to Section 5.7 "List of control data" for details on the setting details.
Cd.3 Positioning start No. Data No. during positioning execution 9003
Fig. 9.21 Changing to a new current value using the start No. (No. 9003) for a current value changing
9 - 108
9 MAJOR POSITIONING CONTROL
MELSEC-Q
(3) Add the following sequence program to the control program, and write it to the
PLC CPU.
á
—
Example
9 - 109
9 MAJOR POSITIONING CONTROL
MELSEC-Q
Operation
The positioning data No. to which the NOP instruction is set transfers, without any
processing, to the operation for the next positioning data No.
Refer to Section 5.3 "List of positioning data" for information on the setting details.
Restrictions
An error "Control system setting error (error code: 524)" will occur if the "NOP
instruction" is set for the control system of the positioning data No. 600.
POINT
<Use example of NOP instruction>
If there is a possibility of speed switching or temporary stop (automatic deceleration) at a point
between two points during positioning, that data can be reserved with the NOP instruction to change
the data merely by the replacement of the identifier.
9 - 110
9 MAJOR POSITIONING CONTROL
MELSEC-Q
The JUMP instruction is used to control the operation so it jumps to a positioning data
No. set in the positioning data during "continuous positioning control" or "continuous
path control".
Operation
(1) Unconditional JUMP
The JUMP instruction is unconditionally executed. The operation jumps to the
positioning data No. set in " Da.9 Dwell time".
Restrictions
(1) When using a conditional JUMP instruction, establish the JUMP instruction
execution conditions by the 4th positioning data No. before the JUMP
instruction positioning data No.
If the JUMP instruction execution conditions are not established by the time
the 4th positioning control is carried out before the JUMP instruction
positioning data No., the operation will be processed as an operation without
established JUMP instruction execution conditions.
(During execution of continuous path control/continuous positioning control,
the QD75 calculates the positioning data of the positioning data No. four items
ahead of the current positioning data.)
9 - 111
9 MAJOR POSITIONING CONTROL
MELSEC-Q
Da.4 Deceleration time No. – Setting not required. (Setting value is ignored.)
Axis 1 Positioning data No. 1
Refer to Section 5.3 "List of positioning data" for information on the setting details.
9 - 112
9 MAJOR POSITIONING CONTROL
MELSEC-Q
9.2.22 LOOP
The LOOP is used for loop control by the repetition of LOOP to LEND.
Operation
The LOOP to LEND loop is repeated by set repeat cycles.
Da.3 Acceleration time No. – Setting not required. (Setting value is ignored.)
Da.4 Deceleration time No. – Setting not required. (Setting value is ignored.)
Refer to Section 5.3 "List of positioning data" for information on the setting details.
Restrictions
(1) An error "Control system LOOP setting error (error code: 545)" will occur if a
"0" is set for the repeat cycles.
(2) Even if LEND is absent after LOOP, no error will occur, but repeat processing
will not be carried out.
(3) Nesting is not allowed between LOOP-LEND's. If such setting is made, only the
inner LOOP-LEND is processed repeatedly.
POINT
The setting by this control system is easier than that by the special start "FOR loop" of "High-level
Positioning Control" (refer to Chapter 10).
<Setting data>
• For special start: Positioning start data, special start data, condition data, and positioning data
• For control system : Positioning data
For the special start FOR to NEXT, the positioning data is required for each of FOR and NEXT
points. For the control system, loop can be executed even only by one data.
Also, nesting is enabled by using the control system LOOP to LEND in combination with the special
start FOR to NEXT.
However LOOP to LEND cannot be set across block. Always set LOOP to LEND so that the
processing ends within one block.
(For details of the "block", refer to Section 10.1 "Outline of high-level positioning control".)
9 - 113
9 MAJOR POSITIONING CONTROL
MELSEC-Q
9.2.23 LEND
The LEND is used to return the operation to the top of the repeat (LOOP to LEND)
loop.
Operation
When the repeat cycle designated by the LOOP becomes 0, the loop is
terminated, and the next positioning data No. processing is started. (The operation
pattern, if set to "Positioning complete", will be ignored.)
When the operation is stopped after the repeat operation is executed by
designated cycles, the dummy positioning data (for example, incremental
positioning without movement amount) is set next to LEND.
Positioning data
Operation pattern Control system Conditions Operation
No.
1 Continuous control ABS2 Executed in the
Positioning Number of loop order of the
2 LOOP
complete cycles: 2 positioning data
Continuous path No. 1 2 3
3 ABS2
control 4 5 2 3
4 Continuous control ABS2 4 5 6.
Positioning (The operation
5 LEND patterns of the
complete
positioning data
Positioning
6 ABS2 Nos. 2 and 5 are
complete
ignored.)
Da.3 Acceleration time No. – Setting not required. (Setting value is ignored.)
Da.4 Deceleration time No. – Setting not required. (Setting value is ignored.)
Restrictions
(1) Ignore the "LEND" before the "LOOP" is executed.
9 - 114
Chapter 10 High-level Positioning Control
The details and usage of high-level positioning control (control functions using the
"block start data") are explained in this chapter.
High-level positioning control is used to carry out applied control using the "positioning
data". Examples of applied control are using conditional judgment to control
"positioning data" set with the major positioning control, or simultaneously starting
"positioning data" for several different axes.
Read the execution procedures and settings for each control, and set as required.
10
10.1 Outline of high-level positioning control ..................................................................10- 2
10.1.1 Data required for high-level positioning control.........................................10- 3
10.1.2 " Block start data" and "condition data" configuration...............................10- 4
10.2 High-level positioning control execution procedure ...............................................10- 6
10.3 Setting the block start data ......................................................................................10- 7
10.3.1 Relation between various controls and block start data ...........................10- 7
10.3.2 Block start (normal start) ...........................................................................10- 8
10.3.3 Condition start ...........................................................................................10- 10
10.3.4 Wait start ...................................................................................................10- 11
10.3.5 Simultaneous start ...................................................................................10- 12
10.3.6 Repeated start (FOR loop) ......................................................................10- 13
10.3.7 Repeated start (FOR condition) ...............................................................10- 14
10.3.8 Restrictions when using the NEXT start...................................................10- 15
10.4 Setting the condition data .......................................................................................10- 16
10.4.1 Relation between various controls and the condition data ......................10- 16
10.4.2 Condition data setting examples ..............................................................10- 19
10.5 Multiple axes simultaneous start control................................................................10- 20
10.6 Start program for high-level positioning control .....................................................10- 23
10.6.1 Starting high-level positioning control.......................................................10- 23
10.6.2 Example of a start program for high-level positioning control .................10- 24
10 - 1
10 HIGH-LEVEL POSITIONING CONTROL
MELSEC-Q
In "high-level positioning control" the execution order and execution conditions of the
"positioning data" are set to carry out more applied positioning. (The execution order
and execution conditions are set in the "block start data" and "condition data".)
The following applied positioning controls can be carried out with "high-level positioning
control".
High-level positioning
Details
control
Block 1 start
With one start, executes the positioning data in a random block with the set order.
(Normal start)
Carries out condition judgment set in the "condition data" for the designated
positioning data, and then executes the "block start data".
Condition start • When the condition is established, the " block start data" is executed.
• When not established, that " block start data" is ignored, and the next point's " block
start data" is executed.
Carries out condition judgment set in the "condition data" for the designated
positioning data, and then executes the " block start data".
Wait start
• When the condition is established, the " block start data" is executed.
• When not established, stops the control until the condition is established. (Waits.)
Simultaneous start Simultaneously executes the positioning data having the No. for the axis designated
2 with the "condition data". (Outputs pulses at the same timing.)
Repeated start (FOR Repeats the program from the " block start data" set with the "FOR loop" to the "
loop) block start data" set in "NEXT" for the designated No. of times.
Repeats the program from the " block start data" set with the "FOR condition" to the "
Repeated start (FOR
block start data" set in "NEXT" until the conditions set in the "condition data" are
condition)
established.
REMARK
Block 1:
"1 block" is defined as all the data continuing from the positioning data in which
"continuous positioning control" or "continuous path control" is set in the
operation pattern ( Da.1 ) to the positioning data in which "independent
positioning control (Positioning complete)" is set.
Simultaneous start 2:
Besides the simultaneous start of "block start data" system, the "simultaneous
starts" include the "multiple axes simultaneous start control" of control system.
Refer to Section 10.5 "Multiple axes simultaneous start control" for details.
10 - 2
10 HIGH-LEVEL POSITIONING CONTROL
MELSEC-Q
"High-level positioning control" is executed by setting the required items in the "block
start data" and "condition data", then starting that "block start data". Judgment about
whether execution is possible, etc., is carried out at execution using the "condition
data" designated in the "block start data".
"Block start data" can be set for each No. from 7000 to 7004 (called "block Nos."), and
up to 50 points can be set for each axis. (This data is controlled with Nos. called
"points" to distinguish it from the positioning data. For example, the 1st block start data
item is called the "1st point block start data" or "point No. 1 block start data".)
"Condition data" can be set for each No. from 7000 to 7004 (called "block Nos."), and
up to 10 data items can be set for each axis.
The " block start data" and "condition data" are set as 1 set for each block No.
The following table shows an outline of the " block start data" and "condition data"
stored in the QD75.
Setting item Setting details
Set whether to end the control after executing only the "block
Da.11 Shape start data" of the shape itself, or continue executing the "block
start data" set in the next point.
Block start data
Da.12 Start data No. Set the "positioning data No." to be executed.
Da.13 Special start Set the method by which the positioning data set in Da.12
instruction will be started.
Set the conditions by which the start will be executed
Da.14 Parameter according to the commands set in Da.13 . (Designate the
"condition data No." and "No. of repetitions".)
10 - 3
10 HIGH-LEVEL POSITIONING CONTROL
MELSEC-Q
The "block start data" and "condition data" corresponding to "block No. 7000" can be
stored in the buffer memory. (The following drawing shows an example for axis 1.)
50th point
Buffer memory
Setting item
address
2nd point
1st point Setting item Buffer memory
Buffer memoryaddress
26049
Setting item
œˆÊ’uŒˆ‚ß n“®ƒf [ƒ^ address
b15 b8 b7 b0 26001
Axis 1 block start data
26000
b15 b8 b7 b0 26051
26050
No.10
Buffer memory
Setting item
address
No.2 Condition identifier
No.1 Setting item Buffer memory
address 26190
Buffer memory
Setting item
address
Condition identifier
b15 b12b11 b8 b7 b0 26110 26191
Axis 1 condition data
10 - 4
10 HIGH-LEVEL POSITIONING CONTROL
MELSEC-Q
Set in QD75 the " block start data" and "condition data" corresponding to the following
"block Nos. 7001 to 7004" using GX Configurator-QP or the sequence program. (The
following drawing shows an example for axis 1.)
b15 b8 b7 b0
26251 b15 b8 b7 b0
26851
26250 26850
Da13 Special start Da14 Parameter Da13 Special start Da14 Parameter
instruction instruction
No.10 No.10
Buffer memory Buffer memory
Setting item address
Setting item address
No.2 Condition identifier No.2 Condition identifier
No.1 Buffer memory No.1 Buffer memory
Setting item address 26390 Setting item address 26990
Buffer memory Buffer memory
Setting item Setting item
address address
Axis 1 condition data
7001 7004
10 - 5
10 HIGH-LEVEL POSITIONING CONTROL
MELSEC-Q
STEP 4 Create a sequence program in which "7000"*is set in The QD75 recognizes that the control is high-level
Refer to Section 10.6 the " Cd. 3 Positioning start No". (Control data setting) positioning control using " block start data" by the
"7000" designation.
Create a sequence program in which the "block start Use GX Developer to create a sequence program
data point No. to be started" (1 to 50) is set in the to execute the "high-level positioning control".
" Cd. 4 Positioning start point No". (Control data setting) (Set the control data in the QD75 buffer memory using
a TO command.)
Create a sequence program in which the "positioning
start signal" is turned ON by a positioning start command.
Stopping the control STEP 8 Same procedure as for the "major positioning control" stop.
Stop when control is completed
Refer to Section 6.5.6
Control termination
REMARK
(1) Five sets of "block start data (50 points)" and "condition data (10 items)
corresponding to "7000" to "7004" are set with a sequence program.
(2) Five sets of data from "7000" to "7004" can be set when GX Configurator-QP
is used. If GX Configurator-QP is used to set the "block start data" and
"condition data" corresponding to "7001" to "7004" and write the data to the
QD75, "7001" to "7004" can be set in " Cd.3 Positioning start No." in STEP
4.
10 - 6
10 HIGH-LEVEL POSITIONING CONTROL
MELSEC-Q
The " block start data" must be set to carry out "high-level positioning control". The
setting requirements and details of each " block start data" item to be set differ
according to the " Da.13 Special start instruction" setting.
The following shows the " block start data" setting items corresponding to various
control systems. The operation details of each control type are explained starting in
Section 10.3.2. Also refer to Section 10.4 "Setting the condition data for details on
"condition data" with which control execution is judged.
(The " block start data" settings in this chapter are assumed to be carried out using GX
Configurator-QP.)
High-level positioning Repeated
control Block start Condition Simulta-
Repeated
start NEXT start
(Normal Wait start start
Block start data start neous start (FOR
start) (FOR loop)
setting items condition)
0 : End
Da.11 Shape
1 : Continue
The "NEXT start" instruction is used in combination with "repeated start (FOR loop)" and "repeated start (FOR
condition)". Control using only the "NEXT start" will not be carried out.
REMARK
It is recommended that the "block start data" be set whenever possible with GX
Configurator-QP. Execution by sequence program uses many sequence programs
and devices. The execution becomes complicated, and the scan times will increase.
10 - 7
10 HIGH-LEVEL POSITIONING CONTROL
MELSEC-Q
In a "block start (normal start)", the positioning data groups of a block are continuously
executed in a set sequence starting from the positioning data set in " Da.12 Start data
No." by one start.
Section [2] shows a control example where the " block start data" and "positioning
data" are set as shown in section [1].
REMARK
Block :
"1 block" is defined as all the data continuing from the positioning data in which
"continuous positioning control" or "continuous path control" is set in the operation
pattern ( Da.1 ) to the positioning data in which "independent positioning control
(Positioning complete)" is set.
10 - 8
10 HIGH-LEVEL POSITIONING CONTROL
MELSEC-Q
<1> The positioning data is executed in the following order before stopping.
Axis 1 positioning data No. 1 2 3 4 5 6 10 15.
Operation pattern
Positioning data No. 1 1
3(01)
1(00) 2(11) 4(00)
Address(+) 10(00)
t
Address(-) 1 1
5(11)
6(00)
1
1 15(00)
ON
Positioning start signal OFF ON
[Y10,Y11,Y12,Y13]
Start complete signal OFF
[X10,X11,X12,X13] ON
BUSY signal [XC,XD,XE,XF] OFF ON
Positioning complete signal OFF
[X14,X15,X16,X17]
1 Dwell time of corresponding positioning data
10 - 9
10 HIGH-LEVEL POSITIONING CONTROL
MELSEC-Q
In a "condition start", the "condition data" conditional judgment designated in " Da.14
Parameter" is carried out for the positioning data set in " Da.12 Start data No.". If the
conditions have been established, the " block start data" set in "1: condition start" is
executed. If the conditions have not been established, that " block start data" will be
ignored, and the "block start data" of the next point will be executed.
Section [2] shows a control example where the " block start data" and "positioning
data" are set as shown in section [1].
The "condition data Nos." have been set in " Da.14 Parameter".
In a "wait start", the "condition data" conditional judgment designated in " Da.14
Parameter" is carried out for the positioning data set in " Da.12 Start data No.". If the
conditions have been established, the " block start data" is executed. If the conditions
have not been established, the control stops (waits) until the conditions are
established.
Section [2] shows a control example where the " block start data" and "positioning
data" are set as shown in section [1].
Da.11 Da.13
Axis 1 block Da.12 Da.14
start data Special start
Shape Start data No. Parameter
instruction
1st point 1: Continue 1 2: Wait start 3
2nd point 1: Continue 10 0: Block start –
3rd point 0: End 50 0: Block start –
•
•
The "condition data Nos." have been set in " Da.14 Parameter".
10 - 11
10 HIGH-LEVEL POSITIONING CONTROL
MELSEC-Q
Da.11 Da.13
Axis 1 block Da.12 Da.14
start data Special start
Shape Start data No. Parameter
instruction
1st point 1: Continue 1 3: Simultaneous start 4
2nd point 1: Continue 10 3: Simultaneous start 5
3rd point 0: End 50 3: Simultaneous start 6
•
•
It is assumed that the "axis 2 positioning data" for simultaneous starting is set in the
"condition data" designated with " Da.14 Parameter".
(2) Positioning data setting example
Axis 1 position- Da.1
ing data No. Operation pattern
1 01: Continuous positioning control
2 01: Continuous positioning control
3 00: Positioning complete
•
10 11: Continuous path control
11 11: Continuous path control
12 00: Positioning complete
•
50 00: Positioning complete
•
10 - 12
10 HIGH-LEVEL POSITIONING CONTROL
MELSEC-Q
In a "repeated start (FOR loop)", the data between the " block start data" in which "4:
FOR loop" is set in " Da.13 Special start instruction" and the "block start data" in
which "6: NEXT start" is set in " Da.13 Special start instruction " is repeatedly
executed for the No. of times set in " Da.14 Parameter". An endless loop will result if
the No. of repetitions is set to "0".
(The No. of repetitions is set in " Da.14 Parameter" of the " block start data" in which
"4: FOR loop" is set in " Da.13 Special start instruction".)
Section [2] shows a control example where the " block start data" and "positioning
data" are set as shown in section [1].
Da.11 Da.13
Axis 1 block Da.12 Da.14
start data Special start
Shape Start data No. Parameter
instruction
1st point 1: Continue 1 4: FOR loop 2
2nd point 1: Continue 10 0: Block start –
3rd point 0: End 50 6: NEXT start –
•
•
The "condition data Nos." have been set in " Da.14 Parameter".
10 - 13
10 HIGH-LEVEL POSITIONING CONTROL
MELSEC-Q
In a "repeated start (FOR condition)", the data between the " block start data" in which
"5: FOR condition" is set in " Da.13 Special start instruction" and the " block start
data" in which "6: NEXT start" is set in " Da.13 Special start instruction" is repeatedly
executed until the establishment of the conditions set in the "condition data".
(The "condition data" designation is set in " Da.14 Parameter" of the " block start
data" in which "5: FOR condition" is set in " Da.13 Special start instruction".)
Section [2] shows a control example where the " block start data" and "positioning
data" are set as shown in section [1].
10 - 14
10 HIGH-LEVEL POSITIONING CONTROL
MELSEC-Q
The "NEXT start" is a instruction indicating the end of the repetitions when executing
Section 10.3.6 "Repeated start (FOR loop)" and Section 10.3.7 "Repeated start (FOR
condition)".
The following shows the restrictions when setting "6: NEXT start" in the " block start
data".
(1) The processing when "6: NEXT start" is set before execution of "4: FOR loop" or
"5: FOR condition" is the same as that for a "0: block start".
(2) Repeated processing will not be carried out if there is no "6: NEXT start"
instruction after the "4: FOR loop" or "5: FOR condition" instruction. (Note that an
"error" will not occur.)
(3) Nesting is not possible between "4: FOR loop" and "6: NEXT start", or between
"5: FOR condition" and "6: NEXT start". A warning "FOR to NEXT nest
construction (warning code: 506)" will occur if nesting is attempted.
[Operating examples without nesting structure] [Operating examples with nesting structure]
Da.12 Special start Da.12 Special start
Start block data Start block data
command command
1st point Normal start 1st point Normal start
2nd point FOR 2nd point FOR
3rd point Normal start 3rd point Normal start
4th point NEXT 4th point FOR
5th point Normal start 5th point Normal start
6th point Normal start 6th point Normal start
7th point FOR 7th point NEXT
8th point Normal start 8th point Normal start
9th point NEXT 9th point NEXT
• •
• •
A warning will occur when starting the 4th
point "FOR".
The JUMP destination of the 7th point "NEXT"
is the 4th point. The 9th point "NEXT" is
processed as normal start.
10 - 15
10 HIGH-LEVEL POSITIONING CONTROL
MELSEC-Q
(1) When setting conditions during execution of Section 9.2.21 "JUMP instruction"
(major positioning control)
(2) When setting conditions during execution of "high-level positioning control"
The "condition data" to be set includes the 5 setting items from Da.15 to Da.19 , but
the setting requirements and details differ according to the control system and setting
conditions.
The following shows the "condition data" " Da.15 Condition target" corresponding to
the different types of control.
(The "condition data" settings in this chapter are assumed to be carried out using GX
Configurator-QP.)
Control type Major positioning
High-level positioning control
control
REMARK
It is recommended that the "condition data" be set whenever possible with GX
Configurator-QP. Execution by sequence program uses many sequence programs
and devices. The execution becomes complicated, and the scan times will increase.
10 - 16
10 HIGH-LEVEL POSITIONING CONTROL
MELSEC-Q
The setting requirements and details of the following "condition data" Da.16 to
Da.19 setting items differ according to the " Da.15 Condition target" setting.
The following shows the Da.16 to Da.19 setting items corresponding to the
" Da.15 Condition target".
Other setting
item Da.16 Da.17 Da.18 Da.19
Da.15
Condition operator Address Parameter 1 Parameter 2
Setting item
01H: Device X 07H : DEV=ON 0 to 1FH (bit No.)
– –
02H: Device Y 08H : DEV=OFF 0 to 1FH (bit No.)
03H: Buffer memory 01H : =P1
(1 word) 02H : ≠ P1
P2 (numeric value)
03H : ≤P1 Buffer
memory P1 (numeric value) (Set only when Da.16 is
04H: Buffer memory 04H : ≥P1 address
(2 words) 05H : P1 ≤ ≤P 2 [05H] or [06H].)
06H : ≤P 1 , P 2 ≤
10H : Axis 1 designation
20H : Axis 2 designation
30H : Axis 1 and axis 2
designation
40H : Axis 3 designation Axis 1 Axis 3
50H : Axis 1 and axis 3 Low-order 16 Low-order 16
positioning positioning
designation bits bits
data No. data No.
60H : Axis 2 and axis 3
designation
70H : Axis 1, axis 2 and
axis 3 designation
05H: Positioning data 80H : Axis 4 designation
—
No. 90H : Axis 1 and axis 4
designation
A0H : Axis 2 and axis 4
designation
B0H : Axis 1, axis 2 and
Axis 2 Axis 4
axis 4 designation High-order 16 High-order 16
positioning positioning
C0H : Axis 3 and axis 4 bits bits
data No. data No.
designation
D0H : Axis 1, axis 3 and
axis 4 designation
E0H : Axis 2, axis 3 and
axis 4 designation
– : Setting not required (Setting value will be ignored. Use the initial value or a value within the setting range.)
: Value stored in buffer memory designated in Da.17 .
: Refer to Section 5.5 "List of condition data" for the setting contents.
Judgment whether the condition operator is "=" or "=” at the start of wait.
Judgment on data is carried out for each control cycle of the QD75. Thus, in the
judgment on the data such as current feed value which varies continuously, the
operator "=" may not be detected. If this occurs, use a range operator.
10 - 17
10 HIGH-LEVEL POSITIONING CONTROL
MELSEC-Q
REMARK
The "PLC CPU memory area" can be designated as the buffer memory address to
be designated in Da.17 . (Refer to Section 7.1.1 "Configuration and roles of QD75
memory".)
QD75 buffer memory
Address 30000
30001
30099
10 - 18
10 HIGH-LEVEL POSITIONING CONTROL
MELSEC-Q
Da.16 Da.18
Da.15 Da.17 Da.19
Condition
Condition target Address Parameter 1 Parameter 2
operator
[Condition]
The value stored in buffer memory addresses "800, 801" (= " Md.20 Current
feed value") is "1000" or larger.
Da.16 Da.18
Da.15 Da.17 Da.19
Condition
Condition target Address Parameter 1 Parameter 2
operator
[Condition]
Simultaneously starting "axis 2 positioning data No.3".
Da.16 Da.18
Da.15 Da.17 Da.19
Condition
Condition target Address Parameter 1 Parameter 2
operator
10 - 19
10 HIGH-LEVEL POSITIONING CONTROL
MELSEC-Q
The "multiple axes simultaneous start control" starts and controls the multiple axes
simultaneously by outputting pulses to the axis to be started at the same timing as the
start axis.
The maximum of four axes can be started simultaneously.
[2] Restrictions
(1) An error will occur and all simultaneously started axes will not start (error
code: 501) if the simultaneously started axis start data No. is not set to the
axis control data on the start axis or set outside the setting range.
(2) An error will occur and all simultaneously started axes will not start (error
code: 501) if either of the simultaneously started axes is BUSY.
(3) An error will occur and all simultaneously started axes will not start (error
code: 501) if an error occurs during the analysis of the positioning data on the
simultaneously started axes.
(4) No error or warning will occur if only the start axis is the simultaneously
started axis.
(5) This function cannot be used with the sub function Section 12.7.8 "Pre-
reading start function".
10 - 20
10 HIGH-LEVEL POSITIONING CONTROL
MELSEC-Q
Cd.3 Positioning start Set the multiple axes simultaneous start control
9004 1500 1600 1700 1800
No. start No. "9004".
Simultaneous
Cd.30 starting axis start
1540 1640 1740 1840
data No. (Axis 1
start data No.)
Simultaneous
Cd.31 starting axis start
1541 1641 1741 1841
data No. (Axis 2
Set the simultaneously started axis start data No.
start data No.)
Set a "0" for the axis other than the simultaneously started
Simultaneous
axes.
Cd.32 starting axis start
1542 1642 1742 1842
data No. (Axis 3
start data No.)
Simultaneous
Cd.33 starting axis start
1543 1643 1743 1843
data No. (Axis 4
start data No.)
Refer to Section 5.7 "List of control data" for information on setting details.
Cd.3 Positioning start Set the multiple axes simultaneous start control
9004 1500
No. start No. "9004".
Simultaneous
Cd.30 starting axis start The axis 1 starts the positioning data No.
100 1540
data No. (Axis 1 100.
start data No.)
Simultaneous Immediately after the start of the axis 1,
Cd.31 starting axis start 200 the axis 2 starts the axis 2 positioning data 1541
data No. (Axis 2
start data No.) No. 200.
Simultaneous
Cd.32 starting axis start
data No. (Axis 3
0 Will not start simultaneously. 1542
start data No.)
Simultaneous Immediately after the start of the axis 1,
Cd.33 starting axis start
data No. (Axis 4
300 the axis 4 starts the axis 4 positioning data 1543
start data No.) No. 300.
10 - 21
10 HIGH-LEVEL POSITIONING CONTROL
MELSEC-Q
POINTS
(1) The "multiple axes simultaneous start control" carries out an operation equivalent to the
"simultaneous start" using the "block start data".
(2) The setting of the "multiple axes simultaneous start control" is easier than that of the
"simultaneous start" using the "block start data".
• Setting items for "simultaneous start" using "block start data"
Positioning start data, block start data, condition data, and positioning data
• Setting items for "multiple axes simultaneous start control"
Positioning data and axis control data
10 - 22
10 HIGH-LEVEL POSITIONING CONTROL
MELSEC-Q
The following shows the procedure for starting the "1st point block start data"
(regarded as block No. 7000) set in axis 1.
QD75
Buffer memory Drive unit
4)
Control by designated
1) positioning data
7000
2) 1500
1
PLC CPU 1501
3)
ON
Input/output signal
10 - 23
10 HIGH-LEVEL POSITIONING CONTROL
MELSEC-Q
The following shows an example of a start program for high-level positioning control in
which the 1st point " block start data" of axis 1 is started. (The block No. is regarded as
"7000".)
Start conditions
The following conditions must be fulfilled when starting the control. The required
conditions must also be integrated into the sequence program, and configured so
the control does not start unless the conditions are fulfilled.
Device
Signal name Signal state Axis Axis Axis Axis
1 2 3 4
PLC READY signal ON PLC CPU preparation completed Y0
QD75 READY signal ON QD75 preparation completed X0
QD75 buffer memory
Synchronization flag ON X1
The access is possible.
Interface
Axis stop signal OFF Axis stop signal is OFF Y4 Y5 Y6 Y7
signal
Start complete signal OFF Start complete signal is OFF X10 X11 X12 X13
BUSY signal OFF BUSY signal is OFF XC XD XE XF
Error detection signal OFF There is no error X8 X9 XA XB
M code ON signal OFF M code ON signal is OFF X4 X5 X6 X7
Drive unit READY signal ON Drive unit preparation completed –
External Stop signal OFF Stop signal is OFF –
signal Upper limit (FLS) ON Within limit range –
Lower limit (RLS) ON Within limit range –
10 - 24
10 HIGH-LEVEL POSITIONING CONTROL
MELSEC-Q
Da.11 Da.13
Axis 1 block Da.12 Da.14
start data Special start
Shape Start data No. Parameter
instruction
V
Operation pattern Dwell time Dwell time
Positioning data No. 10(11)
1(11)
2(00) 11(11)
12(00)
t
Fig. 10.3 Start time chart for high-level positioning control (block start)
10 - 25
10 HIGH-LEVEL POSITIONING CONTROL
MELSEC-Q
Example
Positioning
start
command
10 - 26
Chapter 11 Manual Control
The details and usage of manual control are explained in this chapter.
In manual control, pulse output commands are issued during a JOG operation and an
inching operation executed by the turning ON of the JOG START signal, or from a manual
pulse generator connected to the QD75.
Manual control using a sequence program from the PLC CPU is explained in this chapter.
Refer to GX Configurator-QP Operating Manual for an explanation of manual
control (JOG operation, inching operation and manual pulse generator operation) using the
peripheral devices.
11 - 1
11 MANUAL CONTROL
MELSEC-Q
"Manual control" refers to control in which positioning data is not used, and a
positioning operation is carried out in response to signal input from an external source.
The three types of this "manual control" are explained below.
ON
JOG start signal OFF
ON
JOG start signal OFF
11 - 2
11 MANUAL CONTROL
MELSEC-Q
Movement in response
to the command pulses
Output pulses
QD75 M
Pulse input
11 - 3
11 MANUAL CONTROL
MELSEC-Q
Important
Use the hardware stroke limit function when carrying out JOG operation near the
upper or lower limits. (Refer to Section 12.4.4).
* If the hardware stroke limit function is not used, the workpiece may exceed the
moving range, causing an accident.
JOG operation
In JOG operation, the FORWARD run JOG start signal (Y8, YA, YC, YE) or
REVERSE run JOG start signal (Y9, YB, YD, YF) turns ON, causing pulses to be
output to the drive unit from the QD75 while the signal is ON. The workpiece is
then moved in the designated direction.
The following shows examples of JOG operation.
When the START signal turns ON, acceleration begins in the direction designated by the
START signal, and continues for the acceleration time designated in " Pr.32 JOG
1)
operation acceleration time selection". At this time, the BUSY signal changes from OFF to
ON.
When the workpiece being accelerated reaches the speed set in " Cd.17 JOG speed",
2) the movement continues at this speed.
The constant speed movement takes place at 2) and 3).
When the START signal is turned OFF, deceleration begins from the speed set in
3) " Cd.17 JOG speed", and continues for the deceleration time designated in " Pr.33
JOG operation deceleration time selection".
The operation stops when the speed becomes "0". At this time, the BUSY signal changes
4)
from ON to OFF.
1) 2) 3) 4)
Reverse JOG run
ON
PLC READY signal [Y0] OFF
ON
QD75 READY signal [X0] OFF
ON
Forward run JOG start signal OFF
[Y8, YA, YC, YE]
ON
Reverse run JOG start signal OFF
[Y9, YB, YD, YF] ON
BUSY signal[XC, XD, XE, XF] OFF
11 - 4
11 MANUAL CONTROL
MELSEC-Q
(1) For safety, first set " Cd.17 JOG speed" to a smaller value and check the
movement. Then gradually increase the value.
(2) An axis error will occur and the operation will not start (error code: 300) if the
"JOG speed" is outside the setting range at the JOG start.
(3) An axis error will occur and the operation will not start (error code: 956) if
" Pr.31 JOG speed limit value" is set to a value larger than " Pr.8 speed limit
value".
(4) If " Cd.17 JOG speed" exceeds the speed set in " Pr.31 JOG speed limit
value", the workpiece will move at the " Pr.31 JOG speed limit value" and an
"Axis warning" will occur in the QD75 (warning code: 301).
(5) The JOG operation can be continued even if an "Axis warning" has occurred.
(6) A JOG start signal OFF ON immediately after the stop signal ON OFF
(within 100ms) will be ignored. (The operation will not start.)
(7) Set a "0" in " Cd.16 inching movement amount". If a value other than "0" is
set, the operation will become an inching operation (Refer to Section 11.3
"Inching operation").
V
JOG operation
ON
Upper/lower OFF
limit signal
11 - 5
11 MANUAL CONTROL
MELSEC-Q
ON
Pulse output to an
external source (PULSE)
Positioning operation
• Delays may occur in the t1 timing time due to the operation status of other axes.
11 - 6
11 MANUAL CONTROL
MELSEC-Q
STEP 6 Stop the JOG operation when the JOG start signal is turned
JOG operation Turn OFF the JOG operation start signal that is ON. OFF using the sequence program in STEP 2.
stop
End of control
REMARK
• Mechanical elements such as limit switches are considered as already installed.
• Parameter settings work in common for all control using the QD75.
11 - 7
11 MANUAL CONTROL
MELSEC-Q
Pr.12 Software stroke limit upper limit value (Unit: pulse) 2147483647
Pr.13 Software stroke limit lower limit value (Unit: pulse) –2147483648
REMARK
• Parameter settings work in common for all control using the QD75. When carrying
out other control ("major positioning control", "high-level positioning control", "OPR
positioning control"), the respective setting items must also be matched and set.
• Parameters are set for each axis.
• Refer to Chapter 5 "Data Used for Positioning Control" for setting details.
11 - 8
11 MANUAL CONTROL
MELSEC-Q
11 - 9
11 MANUAL CONTROL
MELSEC-Q
Refer to Section 5.7 "List of control data" for details on the setting details.
Start conditions
The following conditions must be fulfilled when starting. The required conditions
must also be assembled in the sequence program, and the sequence program
must be configured so the operation will not start if the conditions are not fulfilled.
Device
Signal name Signal state Axis Axis Axis Axis
1 2 3 4
PLC READY signal ON PLC CPU preparation completed Y0
QD75 READY signal ON QD75 preparation completed X0
QD75 buffer memory
Synchronization flag ON X1
The access is possible.
Interface
Axis stop signal OFF Axis stop signal is OFF Y4 Y5 Y6 Y7
signal
Start complete signal OFF Start complete signal is OFF X10 X11 X12 X13
BUSY signal OFF QD75 is not operating XC XD XE XF
Error detection signal OFF There is no error X8 X9 XA XB
M code ON signal OFF M code ON signal is OFF X4 X5 X6 X7
Drive unit READY signal ON Drive unit preparation completed –
External Stop signal OFF Stop signal is OFF –
signal Upper limit (FLS) ON Within limit range –
Lower limit (RLS) ON Within limit range –
If the PLC CPU is set to the asynchronous mode in the synchronization setting, this must be
inserted in the program for interlocking. If it is set to the synchronous mode, it must not be
inserted in the program for interlocking because it is turned ON when the PLC CPU executes
calculation.
11 - 10
11 MANUAL CONTROL
MELSEC-Q
Forward
JOG run
t
Reverse JOG run
ON
Forward run JOG start signal [Y8] OFF
ON
Reverse run JOG start signal [Y9] OFF
ON
PLC READY signal [Y0] OFF
ON
QD75 READY signal [X0]
OFF
ON
OFF
BUSY signal [XC]
OFF
Error detection signal [X8]
11 - 11
11 MANUAL CONTROL
MELSEC-Q
á
—
Example
11 - 12
11 MANUAL CONTROL
MELSEC-Q
ON
PLC READY signal [Y0] OFF
ON
QD75 READY signal [X0]OFF
ON
Forward run JOG start signal OFF
[Y8, YA, YC, YE]
ON
Axis stop signal OFF
[Y4, Y5, Y6, Y7]
ON
BUSY signal[XC, XD, XE, XF] OFF
Fig. 11.7 Operation when the stop signal is turned ON during JOG operation
POINT
The QD75 will not receive a "JOG start signal" while the "stop signal" is ON.
11 - 13
11 MANUAL CONTROL
MELSEC-Q
When both the "forward run JOG start signal" and "reverse run JOG start
signal" are turned ON simultaneously for one axis
When both the "forward run JOG start signal" and "reverse run JOG start signal"
are turned ON simultaneously for one axis, the "forward run JOG start signal" is
given priority. In this case, the "reverse run JOG start signal" is validated when the
QD75 BUSY signal is turned OFF.
If the forward run JOG operation is stopped due to stop or axis error by a stop
signal, the reverse run JOG operation will not be executed even if the "reverse run
JOG start signal" turns ON.
ON
Forward run JOG start signal OFF
[Y8, YA, YC, YE]
ON
OFF
Reverse run JOG start signal
[Y9, YB, YD, YF]
ON
BUSY signal[XC, XD, XE, XF]
OFF
Fig. 11.8 Operation when both the forward run JOG start signal and reverse run JOG start signal are
turned ON simultaneously
11 - 14
11 MANUAL CONTROL
MELSEC-Q
When the "JOG start signal" is turned ON again during deceleration caused
by the ON OFF of the "JOG start signal"
When the "JOG start signal" is turned ON again during deceleration caused by the
ON OFF of the "JOG start signal", the JOG operation will be carried out from the
time the "JOG start signal" is turned ON.
ON
Forward run JOG start
OFF
signal [Y8, YA, YC, YE]
ON
BUSY signal
[XC, XD, XE, XF] OFF
Fig. 11.9 Operation when the JOG start signal is turned ON during deceleration
When the "JOG start signal" is turned ON during a peripheral device test
mode
When the "JOG start signal" is turned ON during a peripheral device test mode, it
will be ignored and the JOG operation will not be carried out.
ON
In test mode OFF
ON
Fig. 11.10 Operation when the JOG start signal is turned ON during a test mode
11 - 15
11 MANUAL CONTROL
MELSEC-Q
When the "JOG start signal" is turned ON immediately after the stop signal
OFF (within 100ms)
When the "JOG start signal" is turned ON immediately after the stop signal OFF
(within 100ms), it will be ignored and the JOG operation will not be carried out.
ON
Fig. 11.11 Operation when the JOG start signal is turned ON immediately after the stop signal OFF
11 - 16
11 MANUAL CONTROL
MELSEC-Q
Important
When the inching operation is carried out near the upper or lower limit, use the
hardware stroke limit function (Refer to Section 12.4.4).
If the hardware stroke limit function is not used, the workpiece may exceed the
movement range, and an accident may result.
Inching operation
In inching operation, pulses are input to the drive unit at the first control cycle (1.8
ms) to move the workpiece by a designated movement amount after the forward
run JOG start signal [Y8, YA, YC, YE] or reverse JOG start signal [Y9, YB, YD, YF]
is turned ON.
The following shows the example of inching operation.
When the start signal is turned ON, inching operation is carried out in the direction
1)
designated by the start signal. In this case, BUSY signal is turned from OFF to ON.
The workpiece is moved by a movement amount set in " Cd.16 Inching movement
2)
amount".
The workpiece movement stops when the speed becomes "0". In this case, BUSY signal
3)
is turned from ON to OFF. The positioning complete signal is turned from OFF to ON.
The positioning complete signal is turned from ON to OFF after a time set in
4) " Pr.40 Positioning complete signal output time" has been elapsed.
2)
1) 3) 4)
ON
PLC READY signal [Y0]
OFF
ON
QD75 READY signal OFF
[X0]
ON
Forward run JOG start
OFF
signal
[Y8,YA,YC,YE] ON
BUSY signal OFF
[XC,XD,XE,XF]
ON
Positioning complete OFF
signal Pr.40 Positioning complete signal
[X14,X15,X16,X17] output time
11 - 17
11 MANUAL CONTROL
MELSEC-Q
ON
Upper/lower
limit signal OFF
11 - 18
11 MANUAL CONTROL
MELSEC-Q
ON
Forward run JOG start signal
[Y8,YA,YC,YE] OFF
BUSY signal
OFF
[XC,XD,XE,XF]
t1 t3
Positioning operation
Positioning complete ON
signal OFF
[X14,X15,X16,X17]
t4
• Depending on the operating statuses of the other axes, delay may occur in the
t1 timing time.
11 - 19
11 MANUAL CONTROL
MELSEC-Q
STEP 2
End of control
REMARK
• Mechanical elements such as limit switches are considered as already installed.
• Parameter settings work in common for all control using the QD75.
11 - 20
11 MANUAL CONTROL
MELSEC-Q
Pr.12 Software stroke limit upper limit value (Unit: pulse) 2147483647
Pr.13 Software stroke limit lower limit value (Unit: pulse) –2147483648
REMARK
• Parameter settings work in common for all control using the QD75. When carrying
out other controls ("major positioning control", "high-level positioning control", and
“OPR positioning control"), the respective setting items must also be set.
• Parameters are set for each axis.
• Refer to Chapter 5 "Data Used for Positioning Control" for setting details.
11 - 21
11 MANUAL CONTROL
MELSEC-Q
Start conditions
The following conditions must be fulfilled when starting. The required conditions
must also be assembled in the sequence program, and the sequence program
must be configured so the operation will not start if the conditions are not fulfilled.
Device
Signal name Signal state Axis Axis Axis Axis
1 2 3 4
PLC READY signal ON PLC CPU preparation completed Y0
QD75 READY signal ON QD75 preparation completed X0
Accessible to QD75 buffer
Synchronization flag ON X1
memory
Axis stop signal OFF Axis stop signal is OFF Y4 Y5 Y6 Y7
Interface
Start complete signal OFF Start complete signal is OFF X10 X11 X12 X13
signal
BUSY signal OFF QD75 is not operating XC XD XE XF
Positioning complete Positioning complete signal is
OFF X14 X15 X16 X17
signal OFF
Error detection signal OFF There is no error X8 X9 XA XB
M code ON signal OFF M code ON signal is OFF X4 X5 X6 X7
Drive unit READY signal ON Drive unit preparation completed –
External Stop signal OFF Stop signal is OFF –
signal Upper limit (FLS) ON Within limit range –
Lower limit (RLS) ON Within limit range –
If the PLC CPU is set to the asynchronous mode in the synchronization setting, this must be
inserted in the program for interlocking. If it is set to the synchronous mode, it must not be
inserted in the program for interlocking because it is turned ON when the PLC CPU executes
calculation.
11 - 22
11 MANUAL CONTROL
MELSEC-Q
ON
Forward run JOG start signal [Y8]
OFF
ON
Reverse run JOG start signal [Y9]
OFF
ON
PLC READY signal [Y0] OFF
ON
QD75 READY signal [X0]
OFF
ON
OFF
Error detection signal [X8]
ON
Positioning complete signal [X14]
OFF
11 - 23
11 MANUAL CONTROL
MELSEC-Q
á
—
Example
11 - 24
11 MANUAL CONTROL
MELSEC-Q
ON
PLC READY
signal [Y0] OFF
ON
QD75 READY OFF
signal
[X0]
ON
Forward run JOG
start signal OFF
[Y8,YA,YC,YE]
ON
Axis stop signal OFF
[Y4,Y5,Y6,Y7]
ON
BUSY signal OFF
[XC,XD,XE,XF]
Fig. 11.15 Operation when stop signal is turned ON during inching operation
POINT
The QD75 will not accept "JOG start signal" while "stop signal" is turned ON.
11 - 25
11 MANUAL CONTROL
MELSEC-Q
When "JOG start signal" is turned ON when peripheral devices are in the
test mode:
If "JOG star signal" is turned ON when peripheral devices are in the test mode, the
"JOG start signal" will be ignored and inching operation will not be carried out.
ON
OFF
In test mode
ON
Forward run JOG start signal
[Y8,YA,YC,YE] OFF
Fig. 11.16 Operation when JOG start signal is turned ON in test mode
When "JOG start signal" is turned ON immediately after stop signal OFF
(within 100 ms):
If "JOG start signal" is turned ON immediately after the stop signal is turned OFF
(within 100 ms), the "JOG start signal" will be ignored and inching operation will
not be carried out.
ON
OFF
Forward run JOG start signal
[Y8,YA,YC,YE]
ON
OFF
Axis stop signal
[Y4,Y5,Y6,Y7]
100ms
Fig. 11.17 Operation when JOG start signal is turned ON immediately after stop signal is turned OFF
11 - 26
11 MANUAL CONTROL
MELSEC-Q
Important
Create the sequence program so that " Cd.21 Manual pulse generator enable
flag" is always set to "0" (disabled) when a manual pulse generator operation is not
carried out.
Mistakenly touching the manual pulse generator when the manual pulse
generator enable flag is set to "1" (enable) can cause accidents or incorrect
positioning.
When the " Cd.21 Manual pulse generator enable flag" is set to "1", the BUSY signal
1)
turns ON and the manual pulse generator operation is enabled.
The workpiece is moved corresponding to the No. of pulses input from the manual pulse
2)
generator.
The workpiece movement stops when no more pulses are input from the manual pulse
3)
generator.
When the " Cd.21 Manual pulse generator enable flag" is set to "0", the BUSY signal
4)
turns OFF and the manual pulse generator operation is disabled.
Manual pulse
generator
operation stops 1
t
1) 2) 3) 4)
ON
BUSY signal [XC, XD, YE, XF] OFF
Manual pulse
generator input
[Precautions]
1 If the input from the manual pulse generator stops, the machine will decelerate to a stop within
90 ms.
2 The start complete signal does not turn ON in manual pulse generator operation.
Fig. 11.18 Manual pulse generator operation
11 - 27
11 MANUAL CONTROL
MELSEC-Q
Restricted items
A manual pulse generator is required to carry out manual pulse generator
operation.
(2) If the " Cd.21 Manual pulse generator enable flag" is turned ON while the
QD75 is BUSY (BUSY signal ON), a warning will occur (warning code 100:
start during operation).
(3) If a stop factor occurs during manual pulse generator operation, the operation
will stop, and the BUSY signal will turn OFF.
At this time, the " Cd.21 Manual pulse generator enable flag" will be left ON,
but manual pulse generator operation will not be possible. To carry out manual
pulse generator operation again, measures must be carried out to eliminate
the stop factor. Once eliminated, the operation can be carried out again by
turning the " Cd.21 Manual pulse generator enable flag" ON OFF ON.
(4) Pulses will not be output if an error occurs when the manual pulse generator
operation starts.
REMARK
• One QD75 module can be connected to one manual pulse generator.
• The QD75 module can simultaneously output pulses to the axis 1 to axis 4 drive
units by one manual pulse generator.
(1-axis to 4-axis simultaneous operation is possible.)
V
Manual pulse
generator operation
ON
Upper/lower OFF
limit signal
11 - 28
11 MANUAL CONTROL
MELSEC-Q
Start complete signal The start complete signal does not turn ON in manual pulse generator operation.
Md. 26 Axis operation status Standing by In manual pulse generator operation Standing by
t2
Positioning operation
Fig. 11.19 Manual pulse generator operation timing and processing times
• Delays may occur in the t1 timing time due to the operation status of other axes.
11 - 29
11 MANUAL CONTROL
MELSEC-Q
Current feed value = Number of input pulses × Cd.20 Manual pulse generator 1
pulse input magnification × Manual pulse generator 1 pulse
movement amount
Manual pulse
generator 1 pulse 0.1µm 0.00001inch 0.00001degree 1pulse
movement amount
For example, when " Pr.1 Unit setting" is mm and " Cd.20 Manual pulse
generator 1 pulse input magnification" is 2, and 100 pulses are input from the
manual pulse generator, the current feed value is as follows.
100 × 2 × 0.1 = 20 [µm]
The number of pulses output actually to the drive unit is "Manual pulse generator 1
pulse movement amount/movement amount per pulse ". For example, when
" Pr.1 Unit setting" is mm and the movement amount per pulse is 1 µm, 0.1/1 =
1/10, i.e., the output to the drive unit per pulse from the manual pulse generator is
1/10 pulse. Thus, the QD75 outputs 1 pulse to the drive unit after receiving 10
pulses from the manual pulse generator.
Pr.3 Movement amount per rotation
Movement amount per pulse = Pr.4 Unit magnification
Pr.2 No. of pulses per rotation
11 - 30
11 MANUAL CONTROL
MELSEC-Q
The manual pulse generator operation is carried out by the following procedure.
Preparation STEP 1 Set the parameters One of the following two methods can be used.
)
Pr.1 to Pr.24 ) <Method 1>
Refer to Chapter 5
and Section 11.4.3. Directly set (write) the parameters in the QD75 using
GX Configurator-QP.
<Method 2>
Set (write) the parameters from the PLC CPU to the QD75
using the sequence program (TO command).
Manual pulse STEP 4 Issue a command to enable the manual pulse generator Write "1" in " Cd.21 Manual pulse generator enable
generator operation operation, and input the signals from the manual pulse
generator.
flag", and operate the manual pulse generator.
start
Monitoring of the STEP 5 One of the following two methods can be used.
manual pulse Monitor the manual pulse generator operation. <Method 1>
generator operation Monitor using GX Configurator-QP.
<Method 2>
Monitor using GX Developer.
Manual pulse STEP 6 Stop operating the manual pulse generator, and write "0"
End the input from the manual pulse generator,
generator operation and issue a command to disable the manual pulse in " Cd. 21 Manual pulse generator enable flag".
stop
End of control
REMARK
• Mechanical elements such as limit switches are considered as already installed.
• Parameter settings work in common for all control using the QD75.
11 - 31
11 MANUAL CONTROL
MELSEC-Q
11.4.3 Setting the required parameters for manual pulse generator operation
The "Parameters" must be set to carry out manual pulse generator operation.
The following table shows the setting items of the required parameters for carrying out
manual pulse generator operation. When only manual pulse generator operation will
be carried out, no parameters other than those shown below need to be set. (Use the
initial values or setting values within a range where no error occurs for trouble-free
operation.)
Factory-set initial value
Setting item Setting requirement
(setting details)
Pr.1 Unit setting 3 (pulse)
Pr.12 Software stroke limit upper limit value (Unit: pulse) 2147483647
Pr.13 Software stroke limit lower limit value (Unit: pulse) –2147483648
REMARK
• Parameter settings work in common for all control using the QD75. When carrying
out other control ("major positioning control", "high-level positioning control", "OPR
positioning control"), the respective setting items must also be matched and set.
• Parameters are set for each axis. But Pr.22 Manual pulse generator input logic
(b8), Pr.24 is set only for axis 1. (The setting for axes 2,3, and 4 is ignored.)
• Refer to Chapter 5 "Data Used for Positioning Control" for setting details.
11 - 32
11 MANUAL CONTROL
MELSEC-Q
Start conditions
The following conditions must be fulfilled when starting. The required conditions
must also be assembled in the sequence program, and the sequence program
must be configured so the operation will not start if the conditions are not fulfilled.
Device
Signal name Signal state Axis Axis Axis Axis
1 2 3 4
PLC READY signal ON PLC CPU preparation completed Y0
QD75 READY signal ON QD75 preparation completed X0
QD75 buffer memory
Synchronization flag ON X1
The access is possible.
Interface
Axis stop signal OFF Axis stop signal is OFF Y4 Y5 Y6 Y7
signal
Start complete signal OFF Start complete signal is OFF X10 X11 X12 X13
BUSY signal OFF QD75 is not operating XC XD XE XF
Error detection signal OFF There is no error X8 X9 XA XB
M code ON signal OFF M code ON signal is OFF X4 X5 X6 X7
Drive unit READY signal ON Drive unit preparation completed –
External Stop signal OFF Stop signal is OFF –
signal Upper limit (FLS) ON Within limit range –
Lower limit (RLS) ON Within limit range –
If the PLC CPU is set to the asynchronous mode in the synchronization setting, this must be
inserted in the program for interlocking. If it is set to the synchronous mode, it must not be
inserted in the program for interlocking because it is turned ON when the PLC CPU executes
calculation.
11 - 33
11 MANUAL CONTROL
MELSEC-Q
Forward run
Reverse run
11 - 34
11 MANUAL CONTROL
MELSEC-Q
á
—
Example
11 - 35
11 MANUAL CONTROL
MELSEC-Q
MEMO
11 - 36
Chapter 12 Control Sub Functions
The details and usage of the "sub functions" added and used in combination with
the main functions are explained in this chapter.
A variety of sub functions are available, including functions specifically for machine
OPR and generally related functions such as control compensation, etc.
More appropriate, finer control can be carried out by using these sub functions.
Each sub function is used together with a main function by creating matching
parameter settings and sequence programs. Read the execution procedures and
settings for each sub function, and set as required.
12 - 1
12 CONTROL SUB FUNCTIONS
MELSEC-Q
"Sub functions" are functions that compensate, limit, add functions, etc., to the control
when the main functions are executed. These sub functions are executed by
parameter settings, commands from GX Configurator-QP, sub function sequence
programs, etc.
12 - 2
12 CONTROL SUB FUNCTIONS
MELSEC-Q
3 "The 16-point input module", "16-point output module", and "the drive unit capable of configuring an
absolute position detection system" are required to execute the "absolute position restoration function".
12 - 3
12 CONTROL SUB FUNCTIONS
MELSEC-Q
The sub functions specifically for machine OPR include the "OPR retry function" and
"OP shift function". Each function is executed by parameter setting.
When the workpiece goes past the OP without stopping during positioning control, it
may not move back in the direction of the OP although a machine OPR is commanded,
depending on the workpiece position. This normally means the workpiece has to be
moved to a position before the near-point dog by a JOG operation, etc., to start the
machine OPR again. However, by using the OPR retry function, a machine OPR can
be carried out regardless of the workpiece position.
The details shown below explain about the "OPR retry function".
[1] Control details
[2] Precautions during control
[3] Setting the OPR retry function
1) The movement starts in the " Pr.44 OPR direction" by a machine OPR start.
2) The operation decelerates when the limit signal OFF is detected.
3) After stopping at detection of the limit signal OFF, the operation moves at the " Pr.46 OPR speed" in the
direction opposite to the " Pr.44 OPR direction".
4) The operation decelerates when the near-point dog turns OFF.
5) After stopping due to the near-point dog OFF, a machine OPR is carried out in the " Pr.44 OPR
direction".
6) Machine OPR completion
2)
5) 1)
6) 3)
4)
Zero signal
12 - 4
12 CONTROL SUB FUNCTIONS
MELSEC-Q
(2) OPR retry operation when the workpiece is outside the range between the
upper and lower limits.
1) When the direction from the workpiece to the OP is the same as the " Pr.44 OPR direction", a
normal machine OPR is carried out.
Zero signal
Movement range
2) When the direction from the workpiece to the OP is the opposite direction from the " Pr.44 OPR
direction", the operation carries out a deceleration stop when the near-point dog turns OFF, and
then carries out a machine OPR in the direction set in " Pr.44 OPR direction".
OP
Pr. 44 OPR direction
Zero signal
Movement range
Note) The above figures (a) and (b) are examples where " Pr.44 OPR direction" is set to "0: Positive
direction". When "0: Positive direction" is set in Pr.44 , check that the limit switch placed in the
OPR direction acts as the upper limit. When "1: Negative direction" is set in Pr.44 , check that
the limit switch placed in the OPR direction acts as the lower limit. Incorrect wiring of these limit
switches may cause improper OPR retry operation. If any malfunction is identified, check and
correct " Pr.6 Rotation direction setting" and the wiring.
Fig. 12.2 OPR retry operation from on limit (limit switch OFF)
12 - 5
12 CONTROL SUB FUNCTIONS
MELSEC-Q
" Pr.57 Dwell time during OPR" is validated when the operation stops at
the "A" and "B" positions in the following drawing. (The dwell time is the
same value at both positions "A" and "B".)
B OP
A
Stop by near-point
dog OFF Reverse run operation
after limit signal detection
Near-point dog Limit signal OFF
Zero signal
12 - 6
12 CONTROL SUB FUNCTIONS
MELSEC-Q
(2) Always establish upper/lower limit switches at the upper/lower limit positions
of the machine, and connect an QD75 module. If the OPR retry function is
used without hardware stroke limit switches, the motor will continue rotation
until a hardware stroke limit signal is detected.
(3) Always wire QD75 upper/lower limit switches even when the OPR function
is invalidated. Control cannot be carried out with the QD75 unless the wiring
is carried out.
(4) Do not carry out settings so that the drive unit power turns OFF by the
upper/lower limit switches connected to the QD75. If the drive unit power is
turned OFF, the OPR retry cannot be carried out.
Pr.57 Dwell time during Set the deceleration stop time during OPR retry.
0
OPR retry (Random value between 0 and 65535 (ms))
Refer to Section 5.2 "List of parameters" for setting details.
REMARK
• Parameters are set for each axis.
• It is recommended that the parameters be set whenever possible with GX
Configurator-QP. Execution by sequence program uses many sequence programs
and devices. The execution becomes complicated, and the scan times will
increase.
12 - 7
12 CONTROL SUB FUNCTIONS
MELSEC-Q
When a machine OPR is carried out, the OP is normally established using the near-
point dog, stopper, and zero signal. However, by using the OP shift function, the
machine can be moved a designated movement amount from the position where the
zero signal was detected. A mechanically established OP can then be interpreted at
that point.
The OP shift function can be used without relation to " Pr.43 OPR method".
The details shown below explain about the "OP shift function".
[1] Control details
[2] Setting range for the OP shift amount
[3] Movement speed during OP shift
[4] Precautions during control
[5] Setting the OP shift function
Near-point dog
Zero signal
12 - 8
12 CONTROL SUB FUNCTIONS
MELSEC-Q
Near-point dog
Lower limit Upper limit
Pr. 44 OPR direction
Zero signal
OP
Near-point dog
Zero signal
12 - 9
12 CONTROL SUB FUNCTIONS
MELSEC-Q
Pr. 44 OPR
direction
OP
Zero signal
REMARK
• Parameters are set for each axis.
• It is recommended that the parameters be set whenever possible with GX
Configurator-QP. Execution by sequence program uses many sequence programs
and devices. The execution becomes complicated, and the scan times will
increase.
12 - 10
12 CONTROL SUB FUNCTIONS
MELSEC-Q
The sub functions for compensating the control include the "backlash compensation
function", "electronic gear function", and "near pass function". Each function is
executed by parameter setting or sequence program creation and writing.
The details shown below explain about the "backlash compensation function".
[1] Control details
[2] Precautions during control
[3] Setting the backlash compensation function
Worm gear
Workpiece
12 - 11
12 CONTROL SUB FUNCTIONS
MELSEC-Q
Setting Factory-set
Setting item Setting details
value initial value
Backlash
Pr.11 compensation Set the backlash compensation amount. 0
amount
Refer to Section 5.2 "List of parameters" for setting details.
REMARK
• Parameters are set for each axis.
• It is recommended that the parameters be set whenever possible with GX
Configurator-QP. Execution by sequence program uses many sequence programs
and devices. The execution becomes complicated, and the scan times will
increase.
12 - 12
12 CONTROL SUB FUNCTIONS
MELSEC-Q
The "electronic gear function" adjusts the pulses calculated and output according to the
parameters set in the QD75 with the actual machine movement amount.
The QD75 automatically carries out the processing for [A] and [B].
The details shown below explain about the "electronic gear function", including the
method for compensating the error in [C] above, etc.
[1] Error compensation method
[2] Relation between the movement amount per pulse and speed
[3] Precautions during control
12 - 13
12 CONTROL SUB FUNCTIONS
MELSEC-Q
The QD75 "movement amount per pulse" is calculated with the following
equation.
Movement amount per pulse is "A", " Pr.2 No. of pulses per rotation" is
(Ap), " Pr.3 Movement amount per rotation" is (Al), and " Pr.4 Unit
magnification" is (Am).
Al
A= × Am
Ap
(2) Procedure
(a) Set the "command movement amount (L)", and carry out positioning.
(Set the "movement amount per pulse (A)" according to Section 5.2
"List of parameters".)
(b) After positioning, measure the "actual movement amount (L')".
(c) Calculate the "error compensation amount".
L'
Error compensation amount =
L
(d) Calculate the post-compensation " Pr.2 No. of pulses per rotation
(Ap')", " Pr.3 Movement amount per rotation (Al')", and " Pr.4 Unit
magnification (Am')" from the "post-compensation movement amount
per pulse (A')".
Al L'
= × Am ×
Ap L
Al'
= × Am'
Ap'
(Adjust with Am' so that Al' and Ap' do not exceed the setting range.)
12 - 14
12 CONTROL SUB FUNCTIONS
MELSEC-Q
Calculation example
(Conditions)
Movement amount per pulse : 500 (µm/rev)
No. of pulses per rotation : 12000 (pulse/rev)
Unit magnification :1
(Positioning results)
Command movement amount : 100mm
Actual movement amount : 101mm
(Compensation amount)
5× 10 101× 10
3 3
AL' 5050 101
= × = =
101× 10
3
AP' 12000 12000 240
[Set in Pr.4 ]
(e) Set the post-compensation " Pr.2 No. of pulses per rotation (Ap')",
" Pr.3 Movement amount per rotation (Al')", and " Pr.4 Unit
magnification (Am')" in the parameters, and write them to the QD75.
The set details are validated at the rising edge (OFF ON) of the
PLC READY signal (Y0).
Setting Pre-compensation
Setting item Setting details
value value
12 - 15
12 CONTROL SUB FUNCTIONS
MELSEC-Q
[2] Relation between the movement amount per pulse and speed
The following shows the relation of the "movement amount per pulse (A)" to the
command speed and actual speed. The command speed is the speed
commanded by each control, and the actual speed is the actual feedrate.
V
Actual speed V'
1)
Command speed V 2)
3)
Fig. 12.9 Relation of the movement amount per pulse to the command speed and actual speed
12 - 16
12 CONTROL SUB FUNCTIONS
MELSEC-Q
REMARK
In the QD75, the general term for the functions in items [1] to [3] above is defined as
the "electronic gear function". Refer to the User's Manual for the servomotor for the
definition of the "electronic gear" on the servomotor side.
12 - 17
12 CONTROL SUB FUNCTIONS
MELSEC-Q
When continuous pass control is carried out using interpolation control, the near pass
function is carried out.
The "near pass function" is a function to suppress the mechanical vibration occurring at
the time of switching the positioning data when continuous pass control is carried out
using interpolation control.
The details shown below explain about the "near pass function".
[1] Control details
[2] Precautions during control
12 - 18
12 CONTROL SUB FUNCTIONS
MELSEC-Q
Axis 2
Fig. 12.11 Path and output speed of various axes when movement direction varies during continuous
path control
12 - 19
12 CONTROL SUB FUNCTIONS
MELSEC-Q
(3) When continuous path control of a circular interpolation is being carried out in
the near pass, an address in which the extra movement amount is subtracted
from the positioning address of the positioning data currently being executed is
replaced by the starting point address of the next positioning data No.
Because the starting point address will be replaced, an error "Large arc error
deviation" (error code: 506) may occur.
In this case, adjust the " Pr.41 Allowable circular interpolation error width".
[Near pass]
Path of positioning data No.2
Starting point address of positioning data No.1
Starting point address of
positioning data No.2
12 - 20
12 CONTROL SUB FUNCTIONS
MELSEC-Q
Functions to limit the control include the "speed limit function", "torque limit function",
"software stroke limit", and "hardware stroke limit". Each function is executed by
parameter setting or sequence program creation and writing.
The speed limit function limits the command speed to a value within the "speed limit
value" setting range when the command speed during control exceeds the "speed limit
value".
The details shown below explain about the "speed limit function".
[1] Relation between the speed limit function and various controls
[2] Precautions during control
[3] Setting the speed limit function
[1] Relation between the speed limit function and various controls
The following table shows the relation of the "speed limit function" and various
controls.
Control type Speed limit function Speed limit value
OPR Machine OPR control
control Fast OPR control
1-axis linear control
2 to 4-axes linear
interpolation control
Position 1-axis fixed-feed control
Pr.8 Speed limit
control 2 to 4-axes fixed-feed
control (interpolation) value
: Always set
– : Setting not required (Setting value is invalid. Use the initial values or setting values
within a range where no error occurs.)
12 - 21
12 CONTROL SUB FUNCTIONS
MELSEC-Q
REMARK
• Parameters are set for each axis.
• It is recommended that the parameters be set whenever possible with GX
Configurator-QP. Execution by sequence program uses many sequence programs
and devices. The execution becomes complicated, and the scan times will
increase.
12 - 22
12 CONTROL SUB FUNCTIONS
MELSEC-Q
The "torque limit function" limits the generated torque to a value within the "torque limit
value" setting range when the torque generated in the servomotor exceeds the "torque
limit value".
The "torque limit function" protects the deceleration function, limits the power of the
operation pressing against the stopper, etc. It controls the operation so that
unnecessary force is not applied to the load and machine.
The details shown below explain about the "torque limit function".
[1] Relation between the torque limit function and various controls
[2] Control details
[3] Precautions during control
[4] Setting the torque limit function
[1] Relation between the torque limit function and various controls
The following table shows the relation of the "torque limit function" and various
controls.
Torque limit
Control type Torque limit value
function
Pr.17 Torque limit setting value
12 - 23
12 CONTROL SUB FUNCTIONS
MELSEC-Q
Various operations
12 - 24
12 CONTROL SUB FUNCTIONS
MELSEC-Q
Pr.54 OPR torque limit Set the torque limit value after the " Pr.47 Creep
300
value speed" is reached. Set as a percentage.
Refer to Section 5.2 "List of parameters" for setting details.
(2) The "torque limit value" set in the QD75 is set in the " Md.35 Torque limit
stored value". The " Md.35 Torque limit stored value" in the sequence
program is transferred to the "D/A converter module", and the torque is
limited.
QD75
The following table shows the " Md.35 Torque limit stored value" of the
buffer memory address.
Buffer memory address
Monitor
Monitor item Storage details Axis Axis Axis Axis
value
1 2 3 4
Torque limit stored The "torque limit value" valid at that time is
Md.35 826 926 1026 1126
value stored. ( Pr.17 , Pr.54 , or Cd.22 )
Refer to Section 5.6 "List of monitor data" for information on the setting details.
REMARK
• Parameters are set for each axis.
• It is recommended that the parameters be set whenever possible with GX
Configurator-QP. Execution by sequence program uses many sequence programs
and devices. The execution becomes complicated, and the scan times will
increase.
12 - 25
12 CONTROL SUB FUNCTIONS
MELSEC-Q
In the "software stroke limit function" the address established by a machine OPR is
used to set the upper and lower limits of the moveable range of the workpiece.
Movement commands issued to addresses outside that setting range will not be
executed.
In the QD75, the "current feed value" and "machine feed value" are used as the
addresses indicating the current position. However, in the "software stroke limit
function", the address used to carry out the limit check is designated in the " Pr.14
Software stroke limit selection". (Refer to Section 9.1.4 "Confirming the current value"
or details on the "current feed value" and "machine feed value".)
The upper and lower limits of the moveable range of the workpiece are set in " Pr.12
Software stroke limit upper limit value"/ " Pr.13 Software stroke limit lower limit
value".
The details shown below explain about the "software stroke limit function".
[1] Differences in the moveable range when "current feed value" and "machine feed
value" are selected.
[2] Software stroke limit check details
[3] Relation between the software stroke limit function and various controls
[4] Precautions during software stroke limit check
[5] Setting the software stroke limit function
[6] Invalidating the software stroke limit
[7] Setting when the control unit is "degree"
[1] Differences in the moveable range when "current feed value" and
"machine feed value" are selected.
The following drawing shows the moveable range of the workpiece when the
software stroke limit function is used.
Software stroke limit (lower limit) Software stroke limit (upper limit)
12 - 26
12 CONTROL SUB FUNCTIONS
MELSEC-Q
The following drawing shows the differences in the operation when " Md.20
Current feed value" and " Md.21 Machine feed value" are used in the moveable
range limit check.
[Conditions]
Assume the current stop position is 2000, and the upper stroke limit is set to 5000.
Moveable range
Fig. 12.16 Software stroke limits of the current feed value and machine feed value
POINT
When "machine feed value" is set in " Pr.14 Software stroke limit selection", the
moveable range becomes an absolute range referenced on the OP. When "current
feed value" is set, the moveable range is the relative range from the "current feed
value".
12 - 27
12 CONTROL SUB FUNCTIONS
MELSEC-Q
1Check whether the " Md.20 Current feed value" or " Md.21 Machine feed value" is set in
2Moveable range from the " Pr.12 Software stroke limit upper limit value" to the " Pr.13
Software stroke limit lower limit value".
[3] Relation between the software stroke limit function and various
controls
Limit
Control type Processing at check
check
Machine OPR control –
OPR control Check not carried out.
Fast OPR control –
1-axis linear control
2 to 4-axes axis linear
interpolation control Checks 1) and 2) in the previous section [2] are carried
Position 1-axis fixed-feed control out.
control 2 to 4-axes fixed-feed control For speed control: The axis decelerates to a stop when
(interpolation) it exceeds the software stroke limit
2-axis circular interpolation range.
Major For position control: The axis comes to an immediate
control
positioning stop when it exceeds the software
control 1 to 4-axes speed control
3, 4 stroke limit range.
Speed-position switching control
Position-speed switching control 3, 4
The current value will not be changed if the new current
Current value changing –
Other value is outside the software stroke limit range.
control JUMP instruction, NOP
– Check not carried out.
instruction, LOOP to LEND
JOG operation, Inching operation 5 Check 1) in the previous section [2] is carried out.
The machine will carry out a deceleration stop when the
Manual software stroke limit range is exceeded. If the address
control Manual pulse generator operation 5 falls out of the software stroke limit range, the operation
can be started only toward the movable range after an
error reset.
: Check valid
: Check is not made when the current feed value is not updated (Refer to Pr.21 ) at the setting of " current feed
value" in " Pr.14 Software stroke limit selection" during speed control.
– : Check not carried out (check invalid).
: Valid only when "1:valid" is set in the " Pr.15 Software stroke limit valid/invalid setting".
3 : The value in " Md.20 Current feed value" will differ according to the " Pr.21 Current feed value during speed
control" setting.
4: When the unit is "degree", check is not made during speed control.
5: When the unit is "degree", check is not carried out.
12 - 28
12 CONTROL SUB FUNCTIONS
MELSEC-Q
Axis 1
The software stroke limit check is carried out for the following addresses
during circular interpolation control. (Note that " Da. 7 Arc address" is carried
out only for circular interpolation control with sub point designation.
Current value/end point address ( Da. 6 )/arc address ( Da. 7 )
(4) If an error is detected during continuous path control, the axis stops
immediately on completion of execution of the positioning data located right
before the positioning data in error.
Example
• If the positioning address of positioning data No. 13 is outside the software stroke limit range,
the operation immediately stops after positioning data No. 12 has been executed.
Positioning data
Immediate stop at
error detection No.10
P11
No.11
P11
No.10 No.11 No.12 No.13
No.12
P11
No.13
P11
Md. 26
Axis operation status Controlling position Error occurring No.14
P01
12 - 29
12 CONTROL SUB FUNCTIONS
MELSEC-Q
(5) During simultaneous start, a stroke limit check is carried out for the current
values of every axis to be started. Every axis will not start if an error occurs,
even if it only occurs in one axis.
Software stroke Set whether to use the " Md.20 Current feed value" or 0: Current feed
Pr.14
limit selection " Md.21 Machine feed value" as the "current value". value
(For manual operation, set "0: software stroke limit invalid" in the " Pr.15
Software stroke limit valid/invalid setting".)
The set details are validated at the rising edge (OFF ON) of the PLC READY
signal (Y0).
When the unit is "degree", the software stroke limit check is not performed during
speed control (including speed control in speed-position switching control or
position-speed switching control) or during manual control, independently of the
values set in Pr.12 , Pr.13 and Pr.15 .
REMARK
• Parameters are set for each axis.
• It is recommended that the parameters be set whenever possible with GX
Configurator-QP. Execution by sequence program uses many sequence programs
and devices. The execution becomes complicated, and the scan times will
increase.
12 - 30
12 CONTROL SUB FUNCTIONS
MELSEC-Q
359.99999° 359.99999°
0° 0° 0°
Fig. 12.17 Current value address when the control unit is "degree".
Lower limit
90º
Section B
Fig. 12.18 Software stroke limit when the control unit is "degree"
12 - 31
12 CONTROL SUB FUNCTIONS
MELSEC-Q
! DANGER
When the hardware stroke limit is required to be wired, ensure to wire it in the negative logic using b-contact.
If it is set in positive logic using a-contact, a serious accident may occur.
In the "hardware stroke limit function", limit switches are set at the upper/lower limit of
the physical moveable range, and the control is stopped (by deceleration stop) by the
input of a signal from the limit switch. Damage to the machine can be prevented by
stopping the control before the upper/lower limit of the physical moveable range is
reached.
Hardware stroke limit switches are normally installed inside the stroke limit/stroke end
on the drive unit side, and the control is stopped before the stroke limit/stoke end on
the drive unit side is reached.
The details shown below explain about the "hardware stroke limit function".
[1] Control details
[2] Wiring the hardware stroke limit
[3] Precautions during control
[4] When the hardware stroke limit is not used
Drive unit Lower limit switch Upper limit switch QD75 Drive unit
stroke limit stroke limit
Drive unit
12 - 32
12 CONTROL SUB FUNCTIONS
MELSEC-Q
FLS
RLS
COM
24VDC
Note) Connect the upper and lower limit switches to the directions of increasing and decreasing
current feed values respectively. When these switches are connected in wrong directions, the
hardware stroke limit function does not operate properly and the motor does not stop.
For " Pr.6 Rotation direction setting", refer to "5.2.1 Basic parameters 1".
FLS
RLS
COM
24VDC
Fig. 12.21 Wiring when not using the hardware stroke limit function
(When " Pr.22 Input signal logic selection" is the initial value)
12 - 33
12 CONTROL SUB FUNCTIONS
MELSEC-Q
Functions to change the control details include the "speed change function", "override
function", "acceleration/deceleration time change function" and "torque change
function". Each function is executed by parameter setting or sequence program
creation and writing.
Both the "speed change function" or "override function" change the speed, but the
differences between the functions are shown below. Use the function that corresponds
to the application.
"Override function"
• The speed is changed for all control to be executed. (Note that this excludes
manual pulse generator operation.)
• The new speed is set as a percent (%) of the command speed.
The speed control function is used to change the speed during control to a newly
designated speed at any time.
The new speed is directly set in the buffer memory, and the speed is changed by a
speed change command ( Cd.15 Speed change request) or external command signal.
During the machine OPR, a speed change to the creep speed cannot be carried out
after deceleration start because the near point dog ON is detected.
The details shown below explain about the "speed change function".
[1] Control details
[2] Precautions during control
[3] Setting the speed change function from the PLC CPU
[4] Setting the speed change function using an external command signal
V3
t
Md. 40 In speed change processing flag
Speed change
command
(2) When changing the speed during continuous path control, the speed change
will be ignored if there is not enough distance remaining to carry out the
change.
(3) When the stop command was given to make a stop after a speed change
that had been made during position control, the restarting speed depends
on the function version.
Function version Restarting speed
Refer to Section 2.4 for the way to check the function version.
V
Da. 8 Command speed
Speed change
command Cd. 14 New speed value
Restarting
Stop command command
t
Fig. 12.24 Restarting speed after speed change made during position control (Function version B)
12 - 35
12 CONTROL SUB FUNCTIONS
MELSEC-Q
(4) When the speed is changed by setting " Cd.14 New speed value" to "0",
the operation is carried out as follows.
• A deceleration stop is carried out, and the speed change 0 flag
( Md.31 Status: b10) turns ON.
(During interpolation control, the speed change 0 flag on the reference axis
side turns ON.)
• The axis stops, but " Md.26 Axis operation status" does not change, and
the BUSY signal remains ON. (If a stop signal is input, the BUSY signal
will turn OFF, and " Md.26 Axis operation status" will change to
"stopped".)
In this case, setting the " Cd.14 New speed value" to a value besides "0"
will turn OFF the speed change 0 flag ( Md.31 Status: b10), and enable
continued operation.
Positioning operation
ON
Speed change 0 flag OFF
Md. 31 status: b10
[3] Setting the speed change function from the PLC CPU
The following shows the data settings and sequence program example for
changing the control speed of axis 1 from the PLC CPU. (In this example, the
control speed is changed to "20.00mm/min".)
V
Dwell time
Fig. 12.26 Time chart for changing the speed from the PLC CPU
12 - 37
12 CONTROL SUB FUNCTIONS
MELSEC-Q
(3) Add the following sequence program to the control program, and write it to
the PLC CPU.
—
áExample
12 - 38
12 CONTROL SUB FUNCTIONS
MELSEC-Q
(1) Set the following data to change the speed using an external command
signal.
(Use the start time chart shown in section (2) below as a reference, and set
using the sequence program shown in section (3).)
Buffer memory address
Setting
Setting item Setting details Axis Axis Axis Axis
value
1 2 3 4
Refer to Section 5.7 "List of control data" for details on the setting details.
V
Dwell time
Fig. 12.27 Time chart for changing the speed using an external command signal
12 - 39
12 CONTROL SUB FUNCTIONS
MELSEC-Q
(3) Add the following sequence program to the control program, and write it to
the PLC CPU.
Example
External command
valid signal [Speed change processing]
DTOP H0 K1514 D108 K1 <Write the new speed. >
Input the external command signal. (QD75 starts speed change processing.)
12 - 40
12 CONTROL SUB FUNCTIONS
MELSEC-Q
Md. 22 Feedrate 50 1 25 75 50 75
V
Not affected by the override value Not enough remaining
distance could be secured,
during deceleration
so operation is carried out
at an increased speed.
12 - 41
12 CONTROL SUB FUNCTIONS
MELSEC-Q
(2) The following shows a time chart for changing the speed using the override
function.
V
Dwell time
Fig. 12.29 Time chart for changing the speed using the override function
12 - 42
12 CONTROL SUB FUNCTIONS
MELSEC-Q
(3) Add the following sequence program to the control program, and write it to
the PLC CPU.
á
—
Example
12 - 43
12 CONTROL SUB FUNCTIONS
MELSEC-Q
The details shown below explain about the "acceleration/deceleration time change
function".
[1] Control details
[2] Precautions during control
[3] Setting the acceleration/deceleration time change function
Cd.15 Speed
change request
t
Cd.12 Acceleration/deceleration
time change during
Disabled
speed change, enable/
disable selection
[For an acceleration/deceleration time change enable setting]
V
Operation with the acceleration/deceleration
time ( Cd. 10 and Cd. 11 ) set in the buffer memory.
Cd.15 Speed
change request
Cd.12 Acceleration/deceleration
time change during Disabled Enabled
speed change, enable/
disable selection
12 - 44
12 CONTROL SUB FUNCTIONS
MELSEC-Q
V Speed change
Speed change
12 - 45
12 CONTROL SUB FUNCTIONS
MELSEC-Q
(4) If the "new acceleration/deceleration time" is set to "0" and the speed is
changed after the "new acceleration/deceleration time" is validated, the
operation will be controlled with the previous "new acceleration/deceleration
time".
Example
New acceleration/deceleration
time ( Cd. 10 , Cd. 11 )
V Speed change
Speed change
Speed change
POINT
If the speed is changed when an acceleration/deceleration change is enabled, the
"new acceleration/deceleration time" will become the acceleration/deceleration time
of the positioning data being executed. The "new acceleration/deceleration time"
remains valid until the changeover to the next positioning data. (The automatic
deceleration processing at the completion of the positioning will also be controlled
by the "new acceleration/deceleration time".)
12 - 46
12 CONTROL SUB FUNCTIONS
MELSEC-Q
Example
12 - 47
12 CONTROL SUB FUNCTIONS
MELSEC-Q
The "torque change function" is used to change the torque limit value during torque
limiting.
The torque limit value during torque limiting is normally the value set in the " Pr.17
Torque limit setting value" that was previously set in the parameters. However, by
setting the new torque limit value in the axis control data " Cd.22 New torque value",
and writing it to the QD75, the torque generated by the servomotor during control can
be limited with the new torque value.
(The " Cd.22 New torque value" is validated when written to the QD75.)
The details shown below explain about the "torque change function".
[1] Control details
[2] Precautions during control
[3] Setting the torque change function start signal
Various operations
ON
PLC READY signal [Y0] OFF
12 - 48
12 CONTROL SUB FUNCTIONS
MELSEC-Q
(2) The " Cd.22 New torque value" is validated when written to the QD75.
(Note that it is not validated from the time the power supply is turned ON to
the time the PLC READY signal (Y0) is turned ON.)
(3) If the setting value is outside the setting range, an axis warning "Outside
new torque value range" (warning code: 113) will occur and the torque will
not be changed.
(4) If the time to hold the new torque value is not more than 100ms, a torque
change may not be executed.
Refer to Section 5.7 "List of control data" for details on the setting details.
12 - 49
12 CONTROL SUB FUNCTIONS
MELSEC-Q
! CAUTION
When the absolute position restoration is carried out, the servo ON signal may be turned OFF (servo OFF)
for about 20 ms, and the motor may operate. If this is not desired, install an electromagnetic brake
separately and lock the motor by that brake during the absolute position restoration.
The "absolute position restoration function" is a function to restore the absolute position
of the designated axis by the absolute position detection system. By this function, the
OPR after power OFF such as instantaneous power interruption and emergency stop
is not required, and the restoration operation at site can be carried out easily.
The details of the "absolute position restoration function" are described below.
[1] Configuration and preparation of absolute position detection system
[2] Outline of absolute position detection data communication
[3] Absolute position signal transmission procedure
[4] Precautions during control
Power Servo
supply amplifier
4)
PLC system
QCPU I/O
3) QD75 module
Detector cable Control signal connector
2) Operation
panel
12 - 50
12 CONTROL SUB FUNCTIONS
MELSEC-Q
(2) Preparation
Prepare the absolute position detection system taking care of the following.
Component Details
1) Servo amplifier • Install the battery to the servo amplifier.
• Validate the absolute position detection function of the
servo amplifier.
Refer to the servo amplifier manual for details.
2) Servomotor • Use a servomotor with absolute position detector.
Refer to the servomotor manual for details.
3) Detector cable • Add a battery power connection cable (BAT/LG signal) for
wiring the incremental detector cable.
Refer to the cable operation manual for details.
4) PLC system • Carry out the transmission and receiving of the absolute
position detection data by the I/O modules (input 3
points/output 3 points).
• Use the "16 point input module" and "16 point output
module".
Servomotor
12 - 51
12 CONTROL SUB FUNCTIONS
MELSEC-Q
Servo ON signal
<Absolute position detection request> ABS transmission
mode [Dedicated
ABS request instruction] <Current position data>
Z.ABRST1 Md.20
Current feed value
Z.ABRST2
Md.21
Transmission data Z.ABRST3 Machine feed value
preparation completed Z.ABRST4
Current position Data transmission
ABS bit0
data
ABS bit1
12 - 52
12 CONTROL SUB FUNCTIONS
MELSEC-Q
QD75
ABS bit0
24(PF) 0(X47) 16 points input module
ABS bit1
23(ZSP) 1(X48)
Transmission data preparation completed
25(TLC) 2(X49)
Servo ON
12(SON) 0(Y50) 16 points output module
ABS transmission mode
44(DI3) 1(Y51)
ABS request
45(DI4) 2(Y52)
: The X and Y devices can be set arbitrarily with the sequence program.
12 - 53
12 CONTROL SUB FUNCTIONS
MELSEC-Q
c) The number of output pulses varies with the number of feedback pulses as
indicated below:
• When the number of feedback pulses is 8192 (pulse):
-268435456 (pulse) to 268435455 (pulse)
• When the number of feedback pulses is 16384 (pulse):
-536870912 (pulse) to 536870911 (pulse)
12 - 54
12 CONTROL SUB FUNCTIONS
MELSEC-Q
Example 1.
(1) There are the following conditions to calculate the positioning address:
• Movement amount per pulse: 0.1 (μm)
• OP address: 0.0 (μm)
• Feedback pulses = 8192 (pulse)
(2) Calculate the upper and lower limit values of the positioning address which
can be specified from the output pulse count using range in Condition 1 and
the positioning address calculation expression (Expression 1).
• Lower limit value of positioning address (the number of negative pulses in
Condition 1 is used for calculation)
(Positioning address) = (Movement amount per pulse)
(number of output pulses) + (OP address)
=0.1 (-268435456) + 0.0
=-26843545.6(μm)
• Upper limit value of positioning address (the number of positive pulses in
Condition 1 is used for calculation)
(Positioning address) = (Movement amount per pulse)
(number of output pulses) + (OP address)
=0.1 (268435456) + 0.0
=26843545.5 (μm)
(3) The upper and lower limit values of the positioning address calculated are
within the range of Condition 2.
Hence, the positioning range [-26843545.6 (μm) to 26843545.5 (μm)]
calculated in Condition 1 can be used in the absolute position detection system.
Positioning outside of the range -26843545.6 (μm) to 26843545.5 (μm)
cannot be used in the absolute position detection system.
Unit: μm
OP
-214748364.8 -26843545.6 0 26843545.5 214748364.7
12 - 55
12 CONTROL SUB FUNCTIONS
MELSEC-Q
Example 2.
(1) Using Expression 1, calculate the positioning address which can be specified
in the system where the OP address in Example 1 is 214740000.0 (μm).
• Lower limit value of positioning address
(Positioning address) =0.1 (-268435456) + 214740000.0
=187896454.4 (μm)
• Upper limit value of positioning address
(Positioning address) =0.1 268435455+ 214740000.0
=241583545.5 (μm)
(2) Since the lower limit value of the positioning address calculated is within the
range of Condition 2, the calculated address 187896454.4 (μm) is the lower
limit for positioning in the absolute position detection system.
Since the upper limit of the positioning address calculated is outside of the
range of Condition 2, the upper limit value 214748364.7 (μm) is the upper
limit for positioning in the absolute position detection system.
In the absolute position detection system, use the positioning address within
the range 187896454.4 (μm) to 214748364.7 (μm).
Positioning in excess of 187896454.4 (μm) cannot be used in the absolute
position detection system.
Unit: μm
-214748364.8 Positioning address specifying range 214748364.7
(OP)
187896454.4 214740000.0 241583545.5
Example 3.
(1) There are the following conditions to calculate the positioning address:
• Movement amount per pulse: 0.9 (μm)
• OP address: 0.0 (μm)
• Feedback pulses = 8192 (pulse)
(2) Calculate the positioning address from the output pulse count using range in
Condition 1 and the positioning address calculation expression (Expression
1).
• Lower limit value of positioning address (the number of negative pulses in
Condition 1 is used for calculation)
(Positioning address) = (Movement amount per pulse)
(number of output pulses) + (OP address)
= 0.9 (-268435456) + 0.0
= -241591910.4 (μm)
• Upper limit value of positioning address (the number of positive pulses in
Condition 1 is used for calculation)
(Positioning address) = (Movement amount per pulse)
(number of output pulses) + (OP address)
= 0.9 268435455 + 0.0
= 241591909.5 (μm)
12 - 56
12 CONTROL SUB FUNCTIONS
MELSEC-Q
(3) Since the upper and lower limit values of the positioning address calculated
are outside of the range of Condition 2, use the positioning address within the
positioning range of Condition 2 (-214748364.8(μm) to 214748364.7(μm)).
Unit: μm
OP
-241591910.4 -214748364.8 0 214748364.7 241591909.5
0 0
Unusable in absolute position detection Usable range in absolute position detection system
system. (0 ~ 359.99999 )
Current value cannot be restored
properly at power supply on or resetting
12 - 57
12 CONTROL SUB FUNCTIONS
MELSEC-Q
Other functions include the "step function", "skip function", "M code output function",
"teaching function", "target position change function", "command in-position function",
"acceleration/deceleration processing function", "pre-reading start function",
"deceleration start flag function" and "stop command processing for deceleration stop
function". Each function is executed by parameter setting or sequence program
creation and writing.
The "step function" is used to confirm each operation of the positioning control one by
one.
It is used in debugging work for major positioning control, etc.
A positioning operation in which a "step function" is used is called a "step operation".
In step operations, the timing for stopping the control can be set. (This is called the
"step mode".) Control stopped by a step operation can be continued by setting "step
continue" (to continue the control)" or restarted by setting "restart" in the "step start
information".
12 - 58
12 CONTROL SUB FUNCTIONS
MELSEC-Q
Stop status in the step Md.26 Axis operation Cd.36 Step start
Step start results
operation status information
1 step of positioning
Step standing by 1: Step continue The next positioning data is executed.
stopped normally
The warnings "Step not possible (warning code: 511)" will occur if the " Md.26
Axis operation status" is as shown below or the step valid flag is OFF when step
start information is set.
Md.26 Axis operation status Step start results
Standing by
Stopped
In interpolation
In JOG operation
In manual pulse generator operation
Analyzing
Waiting for special start
Step not continued by warning
In OPR
In position control
In speed control
In speed control of speed-position switching control
In position control of speed-position switching control
In speed control of position-speed switching control
In position control of position-speed switching control
12 - 59
12 CONTROL SUB FUNCTIONS
MELSEC-Q
(2) Set the step mode before starting the positioning data.
(Set in " Cd.34 Step mode".)
(3) Turn ON the positioning start signal, and check that the
positioning control starts normally.
(4) The control will stop for the following reasons.
a) One step of positioning stopped normally. (Go to step (6))
b) Control stopped by a stop signal (Take appropriate measures, go to
step (5))
c) An error occurred and the control stopped. (Take appropriate
measures, go to step (3))
(5) Write "1" (restart) to " Cd.6 Restart command", and check that
the positioning data where the control stopped operates
normally. (Go to (4)).
(6) Write "1" (step continue) to " Cd.36 Step start information", and
check that the next positioning data operates normally.
a) One step of positioning stopped normally. (Go to step (6))
b) Control stopped by a stop signal (Take appropriate measures, go to
step (5))
c) An error occurred and the control stopped. (Take appropriate
measures, go to step (3))
d) All positioning data operated normally (Go to step (7))
(7) Turn OFF the step valid flag, and quit the "step function".
(Write "0" (do not carry out step operation) in " Cd.35 Step valid flag".)
12 - 60
12 CONTROL SUB FUNCTIONS
MELSEC-Q
ON
Cd. 35 Step valid flag OFF
ON
Positioning start signal OFF
[Y10, Y11, Y12, Y13]
ON
BUSY signal OFF
[XC, XD, XE, XF] ON
Positioning complete signal OFF
[X14, X15, X16, X17] V
Positioning
t
(2) The following drawing shows a step operation during a "data No. unit step".
Fig. 12.36 Operation during step execution positioning data No. unit step
12 - 61
12 CONTROL SUB FUNCTIONS
MELSEC-Q
Cd.34 Step mode Set "0: Deceleration unit step" or "1: Data No.
1544 1644 1744 1844
unit step".
Cd.35 Step valid flag 1 Set "1: Carry out step operation". 1545 1645 1745 1845
Cd.36 Step start Set "1: Step continue", depending on the stop
1546 1646 1746 1846
information status.
Refer to Section 5.7 "List of control data" for details on the setting details.
12 - 62
12 CONTROL SUB FUNCTIONS
MELSEC-Q
The "skip function" is used to stop (deceleration stop) the control of the positioning
data being executed at the time of the skip signal input, and execute the next
positioning data.
A skip is executed by a skip command ( Cd.37 Skip command) or external command
signal.
The "skip function" can be used during control in which positioning data is used.
ON
Positioning start signal
OFF
[Y10, Y11, Y12, Y13]
ON
BUSYsignal
OFF
[XC, XD, XE, XF]
ON
Positioning complete signal OFF
[X14, X15, X16, X17] V
Positioning
t
Deceleration by Start of the
skip signal next positioning
ON
Skip signal OFF
Fig. 12.37 Operation when a skip signal is input during positioning control
12 - 63
12 CONTROL SUB FUNCTIONS
MELSEC-Q
Refer to Section 5.7 "List of control data" for details on the setting details.
(2) Add the following sequence program to the control program, and write it to
the PLC CPU.
1) When the "skip command" is input, the value "1" (skip request) set in
" Cd.37 Skip command" is written to the QD75 buffer memory (1547).
Example
12 - 64
12 CONTROL SUB FUNCTIONS
MELSEC-Q
Refer to Section 5.7 "List of control data" for details on the setting details.
(2) Add the following sequence program to the control program, and write it to
the PLC CPU.
Example
Skip function
selection command
TOP H0 K62 K3 K1 <Select skip request>
Skip request
12 - 65
12 CONTROL SUB FUNCTIONS
MELSEC-Q
The "M code output function" is used to command sub work (clamping, drill rotation,
tool replacement, etc.) related to the positioning data being executed.
When the M code ON signal (X4, X5, X6, X7) is turned ON during positioning
execution, a No. called the M code is stored in " Md.25 Valid M code".
These " Md.25 Valid M code" are read from the PLC CPU, and used to command
auxiliary work. M codes can be set for each positioning data. (Set in setting item
" Da.10 M code" of the positioning data.)
The timing for outputting (storing) the M codes can also be set in the "M code output
function".
The details shown below explain about the "M code output function".
[1] M code ON signal output timing
[2] M code OFF request
[3] Precautions during control
[4] Setting the M code output function
[5] Reading M codes
ON
Positioning start signal OFF
[Y10, Y11, Y12, Y13]
ON
BUSY signal [XC, XD, XE, XF] OFF
ON
M code ON signal OFF
[X4, X5, X6, X7]
V Dwell time
Positioning
t
Da. 1 Operation pattern 01 00
12 - 66
12 CONTROL SUB FUNCTIONS
MELSEC-Q
ON
Positioning start signal OFF
[Y10, Y11, Y12, Y13]
ON
BUSY signal [XC, XD, XE, XF] OFF
ON
M code ON signal
OFF
[X4, X5, X6, X7]
Cd. 7 M code OFF request 0 1 0
V
Positioning
t
Refer to Section 5.7 "List of control data" for details on the setting details.
The next positioning data will be processed as follows if the M code ON signal is
not turned OFF. (The processing differs according to the " Da.1 Operation
pattern".)
12 - 67
12 CONTROL SUB FUNCTIONS
MELSEC-Q
ON
Positioning start signal OFF
[Y10, Y11, Y12, Y13]
ON
BUSY signal [XC, XD, XE, XF] OFF
ON
M code ON signal
OFF
[X4, X5, X6, X7]
Cd. 7 M code OFF request 0 1 0 1 0
Positioning
t
Fig. 12.40 Warning due to an M code ON signal during continuous path control
POINT
If the M code output function is not required, set a "0" in setting item " Da.10 M
code" of the positioning data.
(2) The M code ON signal will not turn ON if "0" is set in " Da.10 M code". (The
M code will not be output, and the previously output value will be held in
" Md.25 Valid M code".)
(3) If the M code ON signal is ON at the positioning start, an error "M code ON
signal start (error code: 536)" will occur, and the positioning will not start.
(4) If the PLC READY signal (Y0) is turned OFF, the M code ON signal will turn
OFF and "0" will be stored in " Md.25 Valid M code".
(5) If the positioning operation time is short during continuous path control, there
will not be enough time to turn OFF the M code ON signal, and a warning "M
code ON signal ON (error code: 503)" may occur. In this case, set a "0" in
the " Da.10 M code" of that section's positioning data.
(6) In the AFTER mode during speed control, the M code is not output and the
M code ON signal does not turn ON.
(7) If current value changing where "9003" has been set to " Cd.3 Positioning
start No." is performed, the M code output function is made invalid.
12 - 68
12 CONTROL SUB FUNCTIONS
MELSEC-Q
(2) Set the timing to output the M code ON signal (X4, X5, X6, X7).
Set the required value in the following parameter, and write it to the QD75.
The set details are validated at the rising edge (OFF ON) of the PLC READY
signal (Y0).
Buffer memory address
Setting
Setting item Setting details Axis Axis Axis Axis
value
1 2 3 4
Set the timing to output the M code ON signal.
Pr.18 M code ON signal
0: WITH mode 27 177 327 477
output timing
1: AFTER mode
Refer to Section 5.2 "List of parameters" for setting details.
Refer to Section 5.6 "List of monitor data" for information on the storage details.
The following shows a sequence program example for reading the " Md.25 Valid
M code" to the PLC CPU data register (D110). (The read value is used to
command the sub work.)
Read M codes not as "rising edge commands", but as "ON execution
commands".
Example
M code ON signal
ON execution command
12 - 69
12 CONTROL SUB FUNCTIONS
MELSEC-Q
The "teaching function" is used to set addresses aligned using the manual control
(JOG operation, inching operation manual pulse generator operation) in the positioning
data addresses (" Da.6 Positioning address/movement amount", " Da.7 Arc
address").
Positioning data
Positions aligned by manual
control
Da.6 Positioning address/movement
"Current feed value" A
amount
12 - 70
12 CONTROL SUB FUNCTIONS
MELSEC-Q
Cd.1 Flash ROM write Write the set details to the flash ROM (backup
1 1900
request the changed data).
Sets to which "current feed value" is written.
0: Written to " Da.6 Positioning
Cd.38 Teaching data
1548 1648 1748 1848
selection address/movement amount".
1: Written to " Da.7 Arc address".
Designates the data to be taught.
Teaching (Teaching is carried out when the setting value
Cd.39 positioning data is 1 to 600.) 1549 1649 1749 1849
No. When teaching has been completed, the QD75
is zero cleared in the initial stage.
Refer to Section 5.7 "List of control data" for details on the setting details.
12 - 71
12 CONTROL SUB FUNCTIONS
MELSEC-Q
Start
NO
End teaching?
YES
End
12 - 72
12 CONTROL SUB FUNCTIONS
MELSEC-Q
(2) When entering teaching data into " Da.7 Arc address" and then into
" Da.6 Positioning address/movement amount" (Teaching example for 2-
axis circular interpolation control with sub point designation on axes 1 and 2)
Start
2) 1)
12 - 73
12 CONTROL SUB FUNCTIONS
MELSEC-Q
2) 1)
End teaching?
End
[Motion path]
(Axis 2)
Forward direction
OP
Reverse direction
12 - 74
12 CONTROL SUB FUNCTIONS
MELSEC-Q
Target position
12 - 75
12 CONTROL SUB FUNCTIONS
MELSEC-Q
Example
<Execute teaching>
POINT
(1) Confirm the teaching function and teaching procedure before setting the positioning data.
(2) The positioning addresses that are written are absolute address (ABS) values.
(3) If the positioning operation is correctly completed with the written positioning data, it is
recommended that the positioning data be registered in the QD75 flash ROM.
12 - 76
12 CONTROL SUB FUNCTIONS
MELSEC-Q
The following shows the details of the "target position change function".
[1] Details of control
[2] Precaution during operation
[3] Method of setting target position change function from PLC CPU
(a) When the address after change is positioned away from the start point more than the positioning address:
(b) When the speed is changed simultaneously with changing the address:
Speed after
change
Speed before
change
Address after
change
Positioning address
12 - 77
12 CONTROL SUB FUNCTIONS
MELSEC-Q
POINT
When carrying out the target position change continuously, take an interval of 100 ms or longer between the
times of the target position changes. Also, take an interval of 100 ms or longer when the speed change is
carried out after changing the target position or the target position change is carried out after the speed
change.
12 - 78
12 CONTROL SUB FUNCTIONS
MELSEC-Q
[3] Method of setting target position change function from PLC CPU
The following table and chart show the example of a data setting and sequence
program used to change the target position of the axis 1 by the command from
the PLC CPU, respectively. (example in which the target position value and
command speed are changed to a new target position of "300.0 m" and a new
command speed of "10000.00 mm/min".)
(1) The following data is set.
(Referring to the starting time chart shown in item (2) below, carry out the
setting with the sequence program shown in item (3).)
(2) The following shows the time chart for target position change.
V
Dwell time
Fig. 12.42 Time chart for target position change from PLC CPU
12 - 79
12 CONTROL SUB FUNCTIONS
MELSEC-Q
(3) The following sequence program is added to the control program, and written
to the PLC CPU.
Example
12 - 80
12 CONTROL SUB FUNCTIONS
MELSEC-Q
The "command in-position function" checks the remaining distance to the stop position
during the automatic deceleration of positioning control, and raises a flag. This flag is
called the "command in-position flag". The command in-position flag is used as a front-
loading signal indicating beforehand the completion of the position control.
The details shown below explain about the "command in-position function".
[1] Control details
[2] Precautions during control
[3] Setting the command in-position function
[4] Confirming the command in-position flag
Positioning t
ON
Command in-position flag OFF
[ Md.31 Status : b2]
Command in-position
width setting value
12 - 81
12 CONTROL SUB FUNCTIONS
MELSEC-Q
Command in-position
V width setting value Speed to position switching
Speed-position
Positioning switching Command in-position
control start control start width setting value
Execution of the command in-position width check Execution of the command in-position
width check
(2) The command in-position flag will be turned OFF in the following cases.
("0" will be stored in " Md.31 Status: b2".)
• At the positioning control start
• At the speed control start
• At the speed-position switching control, position-speed switching control
start
• At the OPR control start
• At the JOG operation start
• At the inching operation start
• When the manual pulse generator operation is enabled.
(3) The " Pr.16 Command in-position width" and command in-position flag
( Md.31 Status: b2) of the reference axis are used during interpolation
control.
12 - 82
12 CONTROL SUB FUNCTIONS
MELSEC-Q
REMARK
• Parameters are set for each axis.
• It is recommended that the parameters be set whenever possible with GX
Configurator-QP. Execution by sequence program uses many sequence programs
and devices. The execution becomes complicated, and the scan times will
increase.
12 - 83
12 CONTROL SUB FUNCTIONS
MELSEC-Q
Setting Factory-set
Setting item Setting details
value initial value
Pr.9 Acceleration time 0 1000
12 - 84
12 CONTROL SUB FUNCTIONS
MELSEC-Q
Velocity
Time
Velocity
Time
12 - 85
12 CONTROL SUB FUNCTIONS
MELSEC-Q
REMARK
• Parameters are set for each axis.
• It is recommended that the parameters be set whenever possible with GX
Configurator-QP. Execution by sequence program uses many sequence programs
and devices. The execution becomes complicated, and the scan times will
increase.
12 - 86
12 CONTROL SUB FUNCTIONS
MELSEC-Q
The "pre-reading start function" does not output pulses while the execution prohibition
flag is ON if a positioning start request is given with the execution prohibition flag ON,
and starts outputting pulses within 3m after OFF of the execution prohibition flag is
detected. The positioning start request is given when the axis is in a standby status,
and the execution prohibition flag is turned OFF at the axis operating timing. This
shortens the virtual start time. The QD75 normally takes 6 to 7ms from when it
receives a positioning start request until it starts pulse output (start time). Some
systems often need the start time to be shortened. This "pre-reading start function" can
improve the tact time of the system.
[1] Controls
The pre-reading start function is performed by turning ON the positioning start
signal [Y10, Y11, Y12, Y13] with the execution prohibition flag [Y14, Y15, Y16,
Y17] ON, or by executing the dedicated instruction (ZP.PSTRT1, ZP.PSTRT2,
ZP.PSTRT3, ZP.PSTRT4). However, if positioning is started with the execution
prohibition flag ON, the positioning data is analyzed but pulse output is not
provided. While the execution prohibition flag is ON, " Md.26 Axis operation
status" remains unchanged from "5: Analyzing". Pulse output starts within 3ms
after the execution prohibition flag [Y14, Y15, Y16, Y17] has turned OFF, and
" Md.26 Axis operation status" changes to the status (e.g. during position
control, during speed control) that matches the control system. (Refer to Fig.
12.48)
t
Start time
Positioning start signal ON
[Y10,Y11,Y12,Y13] OFF
Positioning start timing
12 - 87
12 CONTROL SUB FUNCTIONS
MELSEC-Q
The pre-reading start function is effective for the system as shown below.
Cutter
Cutter shaft
Feed shaft
Stock
12 - 88
12 CONTROL SUB FUNCTIONS
MELSEC-Q
Feed shaft
t
Start Stop time Start
time Tw time
Ts Ts
Cutter shaft
Start t
time
Ts
Feed shaft
start request
Cutter shaft
start request
1 2
The cutter shaft starts from the moment the feed shaft has completed feeding the
stock " 1 ", and the feed shaft starts from the moment the cutter shaft has
returned to the standby position " 2 ". Actually, however, there is a delay of start
time Ts (6 to 7ms) from when the QD75 receives a start request until it outputs
pulses. The system's tact time can be reduced by the shortening of this delay
with the Pre-reading start function.
In Fig. 12.50, the feed shaft stands by during the stop time Tw.
Hence, pre-reading of the next data starts during the stop time Tw. If Tw is a
certain period of time, the analysis of the next data is completed during that
period, and the system is placed in an execution prohibition flag OFF waiting
status. Therefore, replacing the positioning start timing at 2 with the execution
prohibition flag OFF allows the time from when the axis operation request turns
ON until pulse output starts to be reduced to within 3ms in the sequence
program. (Refer to Fig. 12.48)
12 - 89
12 CONTROL SUB FUNCTIONS
MELSEC-Q
12 - 90
12 CONTROL SUB FUNCTIONS
MELSEC-Q
12 - 91
12 CONTROL SUB FUNCTIONS
MELSEC-Q
The "deceleration start flag function" turns ON the flag when the constant speed status
or acceleration status switches to the deceleration status during position control whose
operation pattern is "Positioning complete". This function can be used as a signal to
start the operation to be performed by other equipment at each end of position control
or to perform preparatory operation, etc. for the next position control.
For the "deceleration start flag function", the following will be explained.
[1] Control details
[2] Precautions during control
[3] Deceleration start flag function setting method
[4] Checking of deceleration start flag
Time
12 - 92
12 CONTROL SUB FUNCTIONS
MELSEC-Q
The following table indicates the operation of the deceleration start flag in the
case of the following block start data and positioning data.
Da.13
Block start Da.11 Da.12
data Special start
Shape Start data No.
instruction
Positioning Da.1
Data No. Operation pattern
1 01: Continuous positioning control
2 00: Positioning complete
3 00: Positioning complete
4 11: Continuous path control
5 00: Positioning complete
•
•
V
1st point: Continue (1) 2nd point: Continue (1) 3rd point: End (0)
Operation
pattern
Positioning complete (00)
Positioning complete (00)
Continuous
Positioning complete (00) Continuous path
positioning
control (01) control (11)
12 - 93
12 CONTROL SUB FUNCTIONS
MELSEC-Q
(6) When the movement direction is reversed by a target position change, the
deceleration start flag turns ON.
Time
12 - 94
12 CONTROL SUB FUNCTIONS
MELSEC-Q
Setting
Setting item Setting details Buffer memory address
value
Refer to Section 5.7 "List of control data" for details on the setting details.
Refer to Section 5.6 "List of monitor data" for information on the storage details.
12 - 95
12 CONTROL SUB FUNCTIONS
MELSEC-Q
The "stop command processing for deceleration stop function" is provided to set the
deceleration curve if a stop cause occurs during deceleration stop processing
(including automatic deceleration).
This function is valid for both automatic trapezoidal and S-curve
acceleration/deceleration processing methods.
(For the stop cause, refer to Section 1.2.3 Outline of stopping.)
This section explains the "stop command processing for deceleration stop function" as
follows:
[1] Control
[2] Precautions for control
[3] Setting method
[1] Control
The operation of "stop command processing for deceleration stop function" is
explained below.
Fig. 12.53 Deceleration curve re-processing operation (for position control or S-curve
acceleration/deceleration processing)
12 - 96
12 CONTROL SUB FUNCTIONS
MELSEC-Q
Deceleration stop
processing (automatic
deceleration) start
Fig. 12.54 Deceleration curve continuation operation (for position control or S-curve
acceleration/deceleration processing)
t t
(Sudden stop in front of the specified positioning address) (Immediate stop at the specified positioning address)
Fig. 12.55 Sudden stop operation (for position control or S-curve acceleration/deceleration processing)
12 - 97
12 CONTROL SUB FUNCTIONS
MELSEC-Q
Setting
Setting item Setting details Buffer memory address
value
For details of the setting details, refer to "Section 5.7 Control data list".
12 - 98
Chapter 13 Common Functions
The details and usage of the "common functions" executed according to the user's
requirements are explained in this chapter.
Common functions include functions required when using the QD75, such as parameter
initialization and execution data backup.
Read the setting and execution procedures for each common function indicated in this
chapter thoroughly, and execute the appropriate function where required.
13
13 - 1
13 COMMON FUNCTIONS
MELSEC-Q
The following table shows the functions included in the "common functions".
Means
Common function Details Sequence Peripheral
program devices
This function returns the
parameter stored in the QD75
Parameter initialization
buffer memory and flash ROM to
the factory-set initial value.
This function writes the
"execution data", currently being
Execution data backup
used for control, to the flash
ROM.
This function switches I/O signal
logic according to the equipment
connected to the QD75.
For the system in which drive unit
External I/O signal logic READY with b-contact, upper
switching limit switch, and lower limit switch
are not used, the parameter logic
setting can be controlled without
wiring if it is changed to a
"positive logic".
This function monitors the
external I/O signal monitor
External I/O signal information in the module's
⎯ ⎯
monitor detailed information which can be
displayed on the system monitor
of GX Developer .
Usable on GX Developer (SW6D5C-GPPW-E or later).
13 - 2
13 COMMON FUNCTIONS
MELSEC-Q
"The parameter initialization function" is used to return the setting data set in the QD75
buffer memory and flash ROM to their factory-set initial values.
The details shown below explain about the "parameter initialization function".
[1] Parameter initialization means
[2] Control details
[3] Precautions during control
[4] Parameter initialization method
Important
Parameter initialization takes about 10 seconds. (Up to 30 seconds are sometimes
required.)
Do not turn the power ON/OFF; reset the PLC CPU, etc., during parameter
initialization. The flash ROM data may be corrupted.
13 - 3
13 COMMON FUNCTIONS
MELSEC-Q
(2) Parameter initialization can also be carried out by the writing of the data
shown in the table below to the buffer memory using the TO
command/intelligent function device.
The initialization of the parameter is executed at the time point the data is
written to the QD75 buffer memory.
Buffer memory address
Setting
Setting item Setting details Axis Axis Axis Axis
value
1 2 3 4
Refer to Section 5.7 "List of control data" for details on the setting details.
When the initialization is complete, "0" will be set in " Cd.2 Parameter
initialization request" by the QD75 automatically.
13 - 4
13 COMMON FUNCTIONS
MELSEC-Q
When the QD75 buffer memory data is rewritten from the PLC CPU, "the data backed
up in the QD75 flash ROM" may differ from "the data (buffer memory data) for which
control is being executed".
In cases like these, the data being executed will be lost when the PLC power is turned
OFF. (Refer to Chapter 7.)
In cases like these, the "execution data backup function" backs up the data being
executed by writing it to the flash ROM. The data that was backed up is then written to
the buffer memory when the power is turned ON next.
The details shown below explain about the "execution data backup function".
[1] Execution data backup means
[2] Control details
[3] Precautions during control
[4] Execution data backup method
Important
Do not turn the power ON/OFF, reset the PLC CPU, during writing to the flash
ROM. The flash ROM data may be corrupted.
13 - 5
13 COMMON FUNCTIONS
MELSEC-Q
Cd.1 Flash ROM write 1 Set "1" (flash ROM write request). 1900
request
Refer to Section 5.7 "List of control data" for details on the setting details.
When the writing to the flash ROM is complete, "0" will be set in " Cd.1 Flash
ROM write request" by the QD75 automatically.
13 - 6
13 COMMON FUNCTIONS
MELSEC-Q
This function switches the signal logic according to the external equipment connected
to the QD75.
For the system in which drive unit READY with b-contact, upper limit switch, and lower
limit switch are not used, the parameter logic setting can be controlled without wiring if
it is changed to a "positive logic".
When the drive unit READY, upper limit switch, and lower limit switch are used, ensure
to use them with b-contact.
The details shown below explain about the "External I/O signal logic switching
function".
[1] Parameter setting details
[2] Precautions on parameter setting
Refer to Section 5.2 "List of parameters" for the information on detail settings.
13 - 7
13 COMMON FUNCTIONS
MELSEC-Q
The "External I/O signal monitor function" monitors the module's information and
external I/O signal monitor information in the module's detailed information which
can be displayed on the system monitor of GX Developer .
The information that can be monitored are the module's information (same as the
QD75 front "RUN", "ERR" LED indicators) and the following external I/O signals.
(Set the logic of the external I/O signals in " Pr.22 Input signal logic selection"
and " Pr.23 Output signal logic selection".)
0:OFF, 1:ON
13 - 8
Chapter 14 Dedicated instructions
These instructions are used to facilitate the programming for the use of the functions
of the intelligent function module.
Using the dedicated instructions, the programming can be carried out without being
aware of the QD75 buffer memory address and interlock signal.
14
14 - 1
14 DEDICATED INSTRUCTIONS
MELSEC-Q
The dedicated instructions explained in this Chapter are listed in Table 14.1.
14 - 2
14 DEDICATED INSTRUCTIONS
MELSEC-Q
These dedicated instructions restore the absolute position of the designated axis.
Usable device
Internal device Link direct device J \ Intelligent Constant
Setting Index
File function
data register Others
Bit Word register Bit Word module K, H, $
Zn
U \G
(S) – – – –
(D) – – – –
Z.ABRST1
Z.ABRST1 "Un" (S) (D)
Z.ABRST2
Z.ABRST2 "Un" (S) (D)
Z.ABRST3
Z.ABRST3 "Un" (S) (D)
Z.ABRST4
Z.ABRST4 "Un" (S) (D)
When Z.ABRST1, Z.ABRST2, Z.ABRST3, and Z.ABRST4 are common to each other, they are designated as
" Z.ABRST ".
[Setting data]
Setting side
Setting data Setting details Data type
( 1)
QD75 head I/O number
"Un" User BIN 16 bits
(00 to FE: High-order two digits of I/O number expressed in three digits)
(S) Head number of a device in which control data is stored – Device
Head number of a bit device which turns ON the operation by one scan at the
(D) time of completion of the instruction. System Bit
If the instruction is completed abnormally, ((D) + 1) will also be turned ON.
Note) The file register of each of the local device and the program cannot be used as a device for setting data.
14 - 3
14 DEDICATED INSTRUCTIONS
MELSEC-Q
[Control data]
Setting side
Device Item Setting data Setting range
( 1)
(S)+0 System area – – –
The state at the time of completion is stored.
(S)+1 Complete status •0 : Normal completion – System
• Other than 0 : Abnormal completion (error code)( 2)
The following signal states taken in from the servo
amplifier to the input module are written. b0: 0/1
Signal received from
(S)+2 • b0: ABS data bit 0 b1: 0/1 User
servo amplifier
• b1: ABS data bit 1 b2: 0/1
• b2: Transmission data READY flag
The ON/OFF states of the following data which are
calculated using the dedicated instructions by the
"signals received from the servo amplifier" and output to
Signal transmitted to
(S)+3 the servo amplifier are stored. – System
servo amplifier
• b0: Servo amplifier ON
• b1: ABS transfer mode
• b2: ABS request flag
Status of communication with servo amplifier
•0 : Communication completed
(S)+4 Status 0 User/system
(Set by user at communication start)
• Other than 0 : During communication (System stores)
(S)+5 to
System area – – –
(S)+7
1: The data on the setting side is as follows.
• User : Data before the execution of dedicated instructions is stored by user.
• System : Data after the execution of dedicated instruction is stored by PLC CPU.
2: Refer to Section 15.2 for error codes at abnormal completion.
[Functions]
(1) The positioning data is read from the servo amplifier capable of processing the
absolute positions of the axes to be set (See below), and the values converted with
respect to a unit are stored in " Md.20 current feed value" and " Md.21 machine
feed value" area of the QD75.
• Z.ABRST1: Axis 1
• Z.ABRST2: Axis 2
• Z.ABRST3: Axis 3
• Z.ABRST4: Axis 4
For absolute position detection system, carry out the absolute position restoration
operation each time the power is turned ON or PLC CPU is reset.
14 - 4
14 DEDICATED INSTRUCTIONS
MELSEC-Q
(2) An I/O module is used for communication (data read/write) with the servo amplifier
capable of processing the absolute positions.
When using the Z.ABRST , prepare the input/output with the following number of
points, for each axis, for communication with the servo amplifier.
• Input : 3 points
• Output : 3 points
Refer to Section 12.6 for wiring of I/O signals.
(3) The Z.ABRST instruction completion can be confirmed using the complete
devices ((D)+0) and ((D)+1).
OFF When
Complete device completed
ON abnormally
When
Complete state display OFF completed normally
device 1 scan
The completion of absolute position restoration can be confirmed using the ((S)+4)
"status".
14 - 5
14 DEDICATED INSTRUCTIONS
MELSEC-Q
(4) Using the Z.ABRST instruction, the absolute position restoration is carried out in
the following procedure.
Start
Output the ((S)+3) data. ......... Output the servo ON, ABS transfer mode, and ABS request flag
to the output module using the sequence program.
Set the data in ((S)+2). ......... Set the ABS data bit 0/bit 1 and transmission data READY flag
using the sequence program.
End
[Errors]
(1) When a dedicated instruction is completed abnormally, the error complete signal
((D)+1) is turned ON, and the error code is stored in the complete status ((S)+1).
Check and take a measure against the error referring to Section 15.2 "List of error
codes".
[Precautions]
(1) After the absolute position detection system is configured, the absolute position
restoration must be carried out at least once after the power is turned ON or reset.
Unless the absolute position restoration of the QD75 is completed, the servo
amplifier will not be turned ON.
(2) Execute absolute position restoration when the PLC READY signal [Y0] is OFF.
(3) The restoration of the absolute position (Z.ABRST instruction execution) can
also be carried out when the servo amplifier is turned ON. If this is carried out,
however, the servo ON signal is turned OFF for about 20 ms (servo OFF) and the
motor may move.
When carrying out the absolute position restoration during servo OFF, install an
electromagnetic brake and output the Z.ABRST instruction to that brake during
the Z.ABRST instruction execution.
(4) The following dedicated instructions cannot be executed simultaneously for the
same axis.
(Can be executed simultaneously for different axes.)
• Positioning start instructions (ZP.PSTRT1 to ZP.PSTRT4)
• Absolute position restoration instructions (Z.ABRST1 to Z.ABRST4)
• Teaching instructions (ZP.TEACH1 to ZP.TEACH4)
(5) When the remote I/O station (Q Corresponding MELSECNET/H network remote
I/O module) is used, the dedicated instruction (Z.ABRST ) is unusable.
(For the sequence program example for use when the dedicated instruction is not
used, refer to the Mitsubishi General-Purpose AC Servo "Absolute Position
Detection System" Installation Guide.)
: For details of the remote I/O station, refer to Q Corresponding MELSECNET/H
Network System Reference Manual (Remote I/O Network).
14 - 6
14 DEDICATED INSTRUCTIONS
MELSEC-Q
(6) If the Z.ABRST instruction is executed in either of the following cases, an error
"Dedicated instruction error" (error code: 804) will occur and absolute position
restoration cannot be carried out.
• Any value other than 0 is set to "Status" (device: (S)+4) of the control data.
• The instruction for a non-existent axis is specified.
(Example: The Z.ABRST2 instruction is specified when the QD75P1 is used.)
[Program examples]
Program to restore the absolute position of axis 1.
The X47 to X49 and Y50 to Y52 are used for communication with the servo
amplifier.
X47: ABS data bit 0
X48: ABS data bit 1
X49: Transmission data READY flag
Y50: Servo ON signal
Y51: ABS transfer mode
Y52: ABS request flag
<Status reset>
(2) Setting of transmit data to servo-amplifier and confirmation of absolute position restoration completion
Z.ABRST1 instruction completed when M42 is ON and M43 is OFF.
Absolute position data restoration completed when status = 0.
14 - 7
14 DEDICATED INSTRUCTIONS
MELSEC-Q
These dedicated instructions are used to start the positioning of the designated axis.
Usable device
Internal device Link direct device J \ Intelligent Constant
Setting Index
File function
data register Others
Bit Word register Bit Word module K, H, $
Zn
U \G
(S) – – – –
(D) – – – –
ZP.PSTRT1
ZP.PSTRT1 "Un" (S) (D)
ZP.PSTRT2
ZP.PSTRT2 "Un" (S) (D)
ZP.PSTRT3
ZP.PSTRT3 "Un" (S) (D)
ZP.PSTRT4
ZP.PSTRT4 "Un" (S) (D)
When ZP.PSTRT1, ZP.PSTRT2, ZP.PSTRT3, and ZP.PSTRT4 are common to each other, they are designated as "
ZP.PSTRT ".
[Setting data]
Setting side
Setting data Setting details Data type
( 1)
QD75 head I/O number
"Un" User BIN 16 bits
(00 to FE: High-order two digits of I/O number expressed in three digits)
(S) Head number of a device in which control data is stored – Device
Head number of a bit device which turns ON the operation by one scan at the
(D) time of completion of the instruction. System Bit
If the instruction is completed abnormally, ((D) + 1) will also be turned ON.
Note) The file register of each of the local device and the program cannot be used as a device for setting data.
14 - 8
14 DEDICATED INSTRUCTIONS
MELSEC-Q
[Control data]
Setting side
Device Item Setting data Setting range
( 1)
(S)+0 System area – – –
The state at the time of completion is stored.
(S)+1 Complete status •0 : Normal completion – System
• Other than 0: Abnormal completion (error code)( 2)
The following data Nos. to be started by the ZP.PSTRT
instruction are designated.
• Positioning data No. : 1 to 600
1 to 600
• Block start : 7000 to 7004
(S)+2 Start No. 7000 to 7004 User
• Machine OPR : 9001
9000 to 9004
• Fast OPR : 9002
• Current value changing : 9003
• Multiple axes simultaneous start : 9004
1: The data on the setting side is as follows.
• User : Data before the execution of dedicated instructions is stored by user.
• System: Data after the execution of dedicated instruction is stored by PLC CPU.
2: Refer to Section 15.2 for error codes at abnormal completion.
[Functions]
(1) The positioning start of the axes to be processed (See below) is carried out.
• ZP.PSTRT1: Axis 1
• ZP.PSTRT2: Axis 2
• ZP.PSTRT3: Axis 3
• ZP.PSTRT4: Axis 4
(2) The block start, OPR start, current value changing, and multiple axes simultaneous
start can be carried out by the setting of "start number" 7000 to 7004/9001 to 9004
in ((S)+2).
(3) The ZP.PSTRT instruction completion can be confirmed using the complete
devices ((D)+0) and ((D)+1).
14 - 9
14 DEDICATED INSTRUCTIONS
MELSEC-Q
OFF When
Complete device completed
ON abnormally
When
Complete state display OFF completed normally
device 1 scan
[Errors]
(1) When an ZP.PSTRT instruction is completed abnormally, the error complete
signal ((D)+1) is turned ON, and the error code is stored in the complete status
((S)+1).
Check and take a measure against the error referring to Section 15.2 "List of error
codes".
[Precautions]
(1) When positioning is started by the ZP.PSTRT instruction, the positioning start
signals (Y10 to Y13) and start complete signals (X10 to X13) will not turn ON.
To confirm that positioning control is being executed, use the ZP.PSTRT start
command or BUSY signals (XC to XF).
(2) If, after positioning has been started by the ZP.PSTRT instruction, a stop
command is input before positioning is complete, the complete device (D) turns
ON one scan and the execution of the ZP.PSTRT instruction is completed.
(3) The following dedicated instructions cannot be executed simultaneously for the
same axis.
(Can be executed simultaneously for different axes.)
• Positioning start instructions (ZP.PSTRT1 to ZP.PSTRT4)
• Absolute position restoration instructions (Z.ABRST1 to Z.ABRST4)
• Teaching instructions (ZP.TEACH1 to ZP.TEACH4)
(4) The ZP.PSTRT instruction can only be executed when the QD75 READY signal
(X0) is turned ON.
Even if the ZP.PSTRT instruction execution request is given when the QD75
READY signal is turned OFF, the ZP.PSTRT instruction will not be executed.
(not processed.)
Before executing the ZP.PSTRT instruction, turn ON the PLC READY signal
(Y0), and turn ON the QD75 READY signal (X0).
(5) When the remote I/O station (Q Corresponding MELSECNET/H network remote
I/O module) is used, the dedicated instruction (ZP.PSTRT ) is unusable.
: For details of the remote I/O station, refer to Q Corresponding MELSECNET/H
Network System Reference Manual (Remote I/O Network).
14 - 10
14 DEDICATED INSTRUCTIONS
MELSEC-Q
(6) If the ZP.PSTRT instruction is executed in either of the following cases, an error
"Dedicated instruction error" (error code: 804) will occur and positioning cannot be
started.
• Any value other than 1 to 600, 7000 to 7004, and 9001 to 9004 is set to
"Starting number" (device: (S)+2) of the control data.
• The instruction for a non-existent axis is specified.
(Example: The ZP.PSTRT2 instruction is specified when the QD75P1 is used.)
[Program examples]
• The following program executes the positioning start of positioning data No. 1 when
X100 turns ON.
Use D30 to D32 as the control data devices of positioning data No. 1, and M32 and
M33 as the completion devices.
DX0C
<Positioning start signal OFF>
14 - 11
14 DEDICATED INSTRUCTIONS
MELSEC-Q
ZP.TEACH1
ZP.TEACH1 "Un" (S) (D)
ZP.TEACH2
ZP.TEACH2 "Un" (S) (D)
ZP.TEACH3
ZP.TEACH3 "Un" (S) (D)
ZP.TEACH4
ZP.TEACH4 "Un" (S) (D)
When ZP.TEACH1, ZP.TEACH2, ZP.TEACH3, and ZP.TEACH4 are common to each other, they are designated as
"ZP.TEACH ".
[Setting data]
Setting side
Setting data Setting details Data type
( 1)
QD75 head I/O number
"Un" User BIN 16 bits
(00 to FE: High-order two digits of I/O number expressed in three digits)
(S) Head number of a device in which control data is stored – Device
Head number of a bit device which turns ON the operation by one scan at the
(D) time of completion of the instruction. System Bit
If the instruction is completed abnormally, ((D) + 1) will also be turned ON.
Note) The file register of each of the local device and the program cannot be used as a device for setting data.
14 - 12
14 DEDICATED INSTRUCTIONS
MELSEC-Q
[Control data]
Setting side
Device Item Setting data Setting range
( 1)
(S)+0 System area – – –
The state at the time of completion is stored.
(S)+1 Complete status 0 : Normal completion – System
Other than 0 : Abnormal completion (error code)( 2)
The address (positioning address/arc address) to which
Teaching data the current feed value is written is set.
(S)+2 0, 1 User
selection 0: Current feed value is written to positioning address.
1: Current feed value is written to arc address.
The positioning data No. for which teaching is carried out
(S)+3 Positioning data No. 1 to 600 User
is set.
1: The data on the setting side is as follows.
• User : Data before the execution of dedicated instructions is stored by user.
• System: Data after the execution of dedicated instruction is stored by PLC CPU.
2: Refer to Section 15.2 for error codes at abnormal completion.
[Functions]
(1) The "current feed value" of the axes to be set (See below) is set in the positioning
address or arc address.
The positioning data other than the positioning addresses and arc addresses are
set by peripheral device or using a sequence program.
• ZP.TEACH1: Axis 1
• ZP.TEACH2: Axis 2
• ZP.TEACH3: Axis 3
• ZP.TEACH4: Axis 4
(2) Teaching can be carried out for the positioning data No. 1 to 600.
(3) The movement of the machine to the address (position) set in the positioning
address/arc address of the positioning data is carried out by the JOG operation,
inching operation, or manual pulse generator operation.
(4) The ZP.TEACH instruction completion can be confirmed using the complete
devices ((D)+0) and ((D)+1).
14 - 13
14 DEDICATED INSTRUCTIONS
MELSEC-Q
OFF When
Complete device completed
ON abnormally
When
Complete state display OFF completed normally
device 1 scan
[Errors]
(1) When a ZP.TEACH instruction is completed abnormally, the error complete signal
((D)+1) is turned ON, and the error code is stored in the complete status (S)+1.
Check and take a measure against the error referring to Section 15.2 "List of error
codes".
[Precautions]
(1) The following dedicated instructions cannot be executed simultaneously for the
same axis.
(Can be executed simultaneously for different axes.)
• Positioning start instructions (ZP.PSTRT1 to ZP.PSTRT4)
• Absolute position restoration instructions (Z.ABRST1 to Z.ABRST4)
• Teaching instructions (ZP.TEACH1 to ZP.TEACH4)
(2) The ZP.TEACH instruction can only be executed when the BUSY signal (XC,
XD, XE, XF) is turned OFF.
When the BUSY signal is turned ON, the ZP.TEACH instruction will not be
executed. (not processed.)
Before executing the ZP.PFWRT instruction, make sure that the BUSY signal for
the axis to be processed is turned OFF.
(3) When the remote I/O station* (Q Corresponding MELSECNET/H network remote
I/O module) is used, the dedicated instruction (ZP.TEACH ) is unusable.
: For details of the remote I/O station, refer to Q Corresponding MELSECNET/H
Network System Reference Manual (Remote I/O Network).
(4) If the ZP.TEACH instruction is executed in any of the following cases, an error
"Dedicated instruction error" (error code: 804) will occur and teaching cannot be
performed.
• Any value other than 0 and 1 is set to "Teaching selection" (device: (S)+2) of the
control data.
• Any value other than 1 to 600 is set to "Positioning No." (device: (S)+3) of the
control data.
• The instruction for a non-existent axis is specified.
(Example: The ZP.TEACH2 instruction is specified when the QD75P1 is used.)
14 - 14
14 DEDICATED INSTRUCTIONS
MELSEC-Q
[Program example]
Program to execute the teaching of the positioning data No. 3 of the axis 1 when
X39 is turned ON.
<Teaching execution>
14 - 15
14 DEDICATED INSTRUCTIONS
MELSEC-Q
14.6 ZP.PFWRT
These dedicated instructions are used to write the QD75 parameters, positioning data
and block start data to the flash ROM.
Usable device
Internal device Link direct device J \ Intelligent Constant
Setting Index
File function
data register Others
Bit Word register Bit Word module K, H, $
Zn
U \G
(S) – – – –
(D) – – – –
ZP.PFWRT
ZP.PFWRT "Un" (S) (D)
[Setting data]
Setting side
Setting data Setting details Data type
( 1)
QD75 head I/O number
"Un" User BIN 16 bits
(00 to FE: High-order two digits of I/O number expressed in three digits)
(S) Head number of a device in which control data is stored – Device
Head number of a bit device which turns ON the operation by one scan at the
(D) time of completion of the instruction. System Bit
If the instruction is completed abnormally, ((D) + 1) will also be turned ON.
Note) The file register of each of the local device and the program cannot be used as a device for setting data.
[Control data]
Setting Setting side
Device Item Setting data
Range ( 1)
(S)+0 System area – – –
The state at the time of completion is stored.
(S)+1 Complete status 0 : Normal completion – System
Other than 0 : Abnormal completion (error code)( 2)
1: The data on the setting side is as follows.
• User : Data before the execution of dedicated instructions is stored by user.
• System: Data after the execution of dedicated instruction is stored by PLC CPU.
2: Refer to Section 15.2 for error codes at abnormal completion.
14 - 16
14 DEDICATED INSTRUCTIONS
MELSEC-Q
[Functions]
(1) The ZP.PFWRT instruction completion can be confirmed using the complete
devices ((D)+0) and ((D)+1).
ZP.PFWRT
ZP.PFWRT "Un" (S) (D)
OFF When
Complete device completed
ON abnormally
When
Complete state display OFF completed normally
device 1 scan
[Errors]
(1) When a dedicated instruction is completed abnormally, the error complete signal
((D)+1) is turned ON, and the error code is stored in the complete status ((S)+1).
Check and take measures against the error referring to Section 15.2 "List of error
codes".
14 - 17
14 DEDICATED INSTRUCTIONS
MELSEC-Q
[Precautions]
(1) Do not turn ON the power and reset the PLC CPU while parameters, positioning
data and block start data are written to the flash ROM using the ZP.PFWRT
instruction.
A parameter error will occur or normal positioning start will become impossible
because the parameters, positioning data and block start data are not written
normally to the flash ROM.
If this occurs, restart the operation by the method shown below.
• For GX Configurator-QP, write the parameters, positioning data and block start
data again to the flash ROM.
• For a sequence program, write the parameters, positioning data and block start
data to the QD75 after initializing the parameters (ZP.PINIT instruction
execution and others).
Then execute the ZP.PFWRT instruction again.
(3) After the power ON and PLC CPU reset operation, writing to the flash ROM using
a sequence program is limited to up to 25 times. (Not limited to up to 25 times
when writing to the flash ROM is carried out by peripheral device.)
If the 26th or more writing is requested after the power ON/PLC CPU reset
operation, a flash ROM write number error (error code: 805) will occur, and the
writing will be disabled. If a flash ROM write error occurs by one writing to the
flash ROM, check and correct the flash ROM writing program. Then reset the
error or turn ON the power and reset the PLC CPU again.
(4) The ZP.PFWRT instruction can only be executed when the QD75 READY signal
(X0) is turned OFF.
When the QD75 READY signal is turned ON, the ZP.PFWRT instruction cannot be
executed.
Before executing the ZP.PFWRT instruction, turn OFF the PLC READY signal (Y0)
and then turn OFF the QD75 READY signal.
(5) When the remote I/O station (Q Corresponding MELSECNET/H network remote
I/O module) is used, the dedicated instruction (ZP.PFWRT) is unusable.
: For details of the remote I/O station, refer to Q Corresponding MELSECNET/H
Network System Reference Manual (Remote I/O Network).
14 - 18
14 DEDICATED INSTRUCTIONS
MELSEC-Q
[Program example]
Program used to write the parameters and positioning data stored in the buffer
memory to the flash ROM when X3D is turned ON.
14 - 19
14 DEDICATED INSTRUCTIONS
MELSEC-Q
14.7 ZP.PINIT
This dedicated instruction is used to initialize the setting data of the QD75.
Usable device
Setting Internal device Link direct device J \ Index Constant
File
data U \G register Others
Bit Word register Bit Word K, H, $
Zn
(S) – – – –
(D) – – – –
ZP.PINIT
Z.PINIT "Un" (S) (D)
[Setting data]
Setting side
Setting data Setting details Data type
( 1)
QD75 head I/O number
"Un" User BIN 16 bits
(00 to FE: High-order two digits of I/O number expressed in three digits)
(S) Head number of a device in which control data is stored – Device
Head number of a bit device which turns ON the operation by one scan at the
(D) time of completion of the instruction. System Bit
If the instruction is completed abnormally, ((D) + 1) will also be turned ON.
Note) The file register of each of the local device and the program cannot be used as a device for setting data.
[Control data]
Setting side
Device Item Setting data Setting range
( 1)
(S)+0 System area – – –
The state at the time of completion is stored.
(S)+1 Complete status 0 : Normal completion – System
Other than 0: Abnormal completion (error code)( 2)
1: The data on the setting side is as follows.
• User : Data before the execution of dedicated instructions is stored by user.
• System: Data after the execution of dedicated instruction is stored by PLC CPU.
2: Refer to Section 15.2 for error codes at abnormal completion.
14 - 20
14 DEDICATED INSTRUCTIONS
MELSEC-Q
[Functions]
(1) This dedicated instruction is used to return the setting data set in the QD75 buffer
memory and flash ROM to their factory-set data (initial values).
Initialized setting data
Parameters ( Pr.1 to Pr.57 , Pr.150 )
Positioning data (No. 1 to No. 600)
Block start data (No. 7000 to 7004)
(2) The ZP.PINIT instruction completion can be confirmed using the complete devices
((D)+0) and ((D)+1).
(a) Complete device ((D)+0)
This device is turned ON by the END processing of the scan for which
ZP.PINIT instruction is completed, and turned OFF by the next END
processing.
(b) Complete state display device ((D)+1)
This device is turned ON and OFF according to the state in which ZP.PINIT
instruction is completed.
• When completed normally : Kept unchanged at OFF.
• When completed abnormally : This device is turned ON by the END
processing of the scan for which ZP.PINIT
instruction is completed, and turned OFF by
the next END processing. (same ON/OFF
operation as complete device).
END END END END
processing processing processing processing
Sequence program
ZP.PINIT instruction
ON execution completion
OFF
ZP.PINIT instruction
ON
OFF When
Complete device completed
ON abnormally
When
Complete state display OFF completed normally
device 1 scan
[Errors]
(1) When a dedicated instruction is completed abnormally, the error complete signal
((D)+1) is turned ON, and the error code is stored in the complete status ((S)+1).
Check and take measures against the error referring to Section 15.2 "List of error
codes".
[Precautions]
(1) The ZP.PINIT instruction can only be executed when the QD75 READY signal
(X0) is turned OFF.
When the QD75 READY signal is turned ON, the ZP.PINIT instruction cannot be
executed.
Before executing the ZP.PINIT instruction, turn OFF the PLC READY signal (Y0)
and then turn OFF the QD75 READY signal.
(2) When the remote I/O station (Q Corresponding MELSECNET/H network remote
I/O module) is used, the dedicated instruction (ZP.PINIT) is unusable.
: For details of the remote I/O station, refer to Q Corresponding MELSECNET/H
Network System Reference Manual (Remote I/O Network).
14 - 21
14 DEDICATED INSTRUCTIONS
MELSEC-Q
[Program example]
The following program initializes the parameters in buffer memory and flash ROM
when X3C turns ON.
<Parameter initialization
command storagee OFF>
14 - 22
Chapter 15 Troubleshooting
The "errors" and "warnings" detected by the QD75 are explained in this chapter.
Errors can be confirmed with the QD75 LED display and peripheral devices.
When an error or warning is detected, confirm the detection details and carry out the
required measures.
15
15 - 1
15 TROUBLESHOOTING
MELSEC-Q
[1] Errors
Types of errors
Errors detected by the QD75 include parameter setting range errors and errors at
the operation start or during operation.
15 - 2
15 TROUBLESHOOTING
MELSEC-Q
Error storage
When an error occurs, the error detection input turns ON, and the error code
corresponding to the error details is stored in the following buffer memory address
( Md.23 Axis error No.) for axis error No. storage. Note that there is a delay of up
to 1.8 ms after the error detection signal turns ON until the error code is stored.
Axis No. Error detection signal Buffer memory address
1 X8 806
2 X9 906
3 XA 1006
4 XB 1106
A new error code is stored in the buffer memory address ( Md.23 Axis error No.)
for axis error storage every time an error occurs.
[2] Warnings
Types of warnings
(2) Axis warnings occur due to setting warnings from operations such as
positioning operations, JOG operations, manual pulse generator operations, or
system errors. They can be canceled by turning ON the " Cd.5 Axis error
reset".
Note that some warnings cannot be canceled unless the cause of the warning
is eliminated.
The axis operation status does not change even if an axis warning occurs.
15 - 3
15 TROUBLESHOOTING
MELSEC-Q
Warning storage
(1) When an axis warning occurs, the warning code corresponding to the warning
details is stored in the following buffer memory ( Md.24 Axis warning No.) for
axis warning No. storage.
Axis No. Buffer memory address
1 807
2 907
3 1007
4 1107
(2) When an axis warning occurs in a positioning operation, etc., "1" is set in bit 9
(b9) of the following buffer memory ( Md.31 Status) for axis status storage.
15 - 4
15 TROUBLESHOOTING
MELSEC-Q
MEMO
15 - 5
15 TROUBLESHOOTING
MELSEC-Q
The following table shows the error details and remedies to be taken when an error
occurs.
Classification Error
Error name Error Operation status at error occurrence
of errors code
Hardware stroke The hardware stroke limit (upper limit The system stops with the setting
104 (deceleration stop/sudden stop) of the
Common limit (+) signal FLS) is turned OFF.
detailed parameter 2 Sudden stop
selection (stop group 1).
(Note that the deceleration stop only
Hardware stroke The hardware stroke limit (lower limit occurs during the manual pulse
105
limit (–) signal RLS) is turned OFF. generator operation.)
15 - 6
15 TROUBLESHOOTING
MELSEC-Q
Check the drive unit power, wiring with the drive unit,
— — — — — and connection of connectors, and cancel the error
with an axis error reset. (Refer to Section 15.1[3])
15 - 7
15 TROUBLESHOOTING
MELSEC-Q
Classification Error
Error name Error Operation status at error occurrence
of errors code
ABS transmission
213
time Communication cannot be carried
out with the servo-amplifier using an The absolute position restoration is
ABS transmission absolute position restoration not carried out.
214 instruction.
SUM
At the time of JOG starting, the JOG The JOG operation is not carried out
Outside JOG speed
300 speed comes out of a specified when the JOG speed is outside the
range
range. setting range at the time of JOG start.
JOG inching The inching operation is not carried
Inching movement The inching movement amount out when the inching movement
301
amount error exceeds the JOG speed limit. amount exceeds a JOG speed limit at
the time of inching start.
The condition data No. is outside the
setting range when a block using the
Positioning Illegal condition data condition data is started by a special
500 The operation is terminated.
operation No. starting (conditional start, wait start,
simultaneous start, FOR (condition)).
(1 Condition data No. 10)
15 - 8
15 TROUBLESHOOTING
MELSEC-Q
Refer to Section 5.4 <Condition data No.> Review the condition data No.
"List of block start data" 1 to 10 (Refer to Section 5.4 Da.14 )
15 - 9
15 TROUBLESHOOTING
MELSEC-Q
Classification Error
Error name Error Operation status at error occurrence
of errors code
15 - 10
15 TROUBLESHOOTING
MELSEC-Q
Simultaneous
1541 1641 1741 1841 Axis 2 start data No.
start axis start
Normalize the simultaneous start axis start data No.
data No.
(Refer to Section 10.5)
1542 1642 1742 1842 Axis 3 start data No.
0 to 600
15 - 11
15 TROUBLESHOOTING
MELSEC-Q
Classification Error
Error name Error Operation status at error occurrence
of errors code
15 - 12
15 TROUBLESHOOTING
MELSEC-Q
15 - 13
15 TROUBLESHOOTING
MELSEC-Q
Classification Error
Error name Error Operation status at error occurrence
of errors code
15 - 14
15 TROUBLESHOOTING
MELSEC-Q
1506 1606 1706 1806 <New current value> Bring the new current value into the setting range.
1507 1607 1707 1807 [degree] 0 to 35999999 (Refer to Section 9.2.19)
15 - 15
15 TROUBLESHOOTING
MELSEC-Q
Classification Error
Error name Error Operation status at error occurrence
of errors code
15 - 16
15 TROUBLESHOOTING
MELSEC-Q
15 - 17
15 TROUBLESHOOTING
MELSEC-Q
Classification Error
Error name Error Operation status at error occurrence
of errors code
15 - 18
15 TROUBLESHOOTING
MELSEC-Q
<Positioning address/movement
amount>
• unit [mm] [pulse] [inch]
–2147483648 to 2147483647
(Unit [degree]) cannot be set. Correct the end address (positioning address).
(Refer to Section 9.2.10)
<Arc address>
–2147483648 to 2147483647
Refer to Section 5.3
"List of positioning data"
Classification Error
Error name Error Operation status at error occurrence
of errors code
15 - 20
15 TROUBLESHOOTING
MELSEC-Q
<Special start instruction> Correct the instruction code of the special start data.
00H to 06H (Refer to Section 5.4 Da.13 )
<M code OFF request> After turning OFF the M code ON signal, start the
1504 1604 1704 1804
1: M code ON signal is turned OFF system. (Refer to Section 12.7.3)
15 - 21
15 TROUBLESHOOTING
MELSEC-Q
Classification Error
Error name Error Operation status at error occurrence
of errors code
15 - 22
15 TROUBLESHOOTING
MELSEC-Q
15 - 23
15 TROUBLESHOOTING
MELSEC-Q
Classification Error
Error name Error Operation status at error occurrence
of errors code
15 - 24
15 TROUBLESHOOTING
MELSEC-Q
Set the bias speed to not more than the speed limit
6 156 306 456 0 to 1000000 [pulse/s] value.
7 157 307 457 0 to 2000000000 [mm/min or others] With the setting brought into the setting range, turn the
PLC READY signal [Y0] from OFF to ON.
QD75P :
1 to 200000 [pulse/s] • The value converted into the frequency should not
1 to 2000000000 exceed the maximum output frequency ("maximum
10 160 310 460 [mm/min or another] output pulse" in Section 3.1) of the module.
11 161 311 461 QD75D : • Set a value which is not less than the OPR speed.
1 to 1000000 [pulse/s] • With the setting brought into the setting range, turn
1 to 2000000000 the PLC READY signal [Y0] from OFF to ON.
[mm/min or another]
• [mm] [inch] [pulse] • Bring the setting into the setting range.
18 168 318 468 –2147483648 to 2147483647
19 169 319 469 • In a unit other than degree, set the setting so that the
• [degree] 0 to 35999999 lower limit value is smaller than the upper limit value.
15 - 25
15 TROUBLESHOOTING
MELSEC-Q
15 - 26
15 TROUBLESHOOTING
MELSEC-Q
• [mm] [inch] [pulse] • Bring the setting into the setting range.
20 170 320 470 –2147483648 to 2147483647
21 171 321 471 • In a unit other than degree, set so that the lower limit
• [degree] 0 to 35999999 value is smaller than the upper limit value.
With the setting brought into the setting range, turn the
27 177 327 477 0, 1
PLC READY signal [Y0] from OFF to ON.
33 0, 1, 2, 3
15 - 27
15 TROUBLESHOOTING
MELSEC-Q
Classification Error
Error name Error Operation status at error occurrence
of errors code
15 - 28
15 TROUBLESHOOTING
MELSEC-Q
QD75P :
1 to 200000 [pulse/s]
1 to 2000000000
• With the setting brought into the setting range, turn
48 198 348 498 [mm/min or another]
the PLC READY signal [Y0] from OFF to ON.
49 199 349 499 QD75D :
• Bring the setting into the speed limit value or below.
1 to 1000000 [pulse/s]
1 to 2000000000
[mm/min or another]
15 - 29
15 TROUBLESHOOTING
MELSEC-Q
Classification Error
Error name Error Operation status at error occurrence
of errors code
15 - 30
15 TROUBLESHOOTING
MELSEC-Q
83 233 383 533 0, 1, 2, 3 With the setting brought into the setting range, turn the
PLC READY signal [Y0] from OFF to ON.
15 - 31
15 TROUBLESHOOTING
MELSEC-Q
The following table shows the warning details and remedies to be taken when a
warning occurs.
15 - 32
15 TROUBLESHOOTING
MELSEC-Q
<Speed change request> Do not carry out the JOG speed change during
1516 1616 1716 1816
1: Speed change is requested deceleration with the JOG start signal OFF.
15 - 33
15 TROUBLESHOOTING
MELSEC-Q
15 - 34
15 TROUBLESHOOTING
MELSEC-Q
<M code OFF request> Normalize the ON and OFF timings of the "M code
1504 1604 1704 1804
1: M code ON signal is turned OFF OFF request". (Refer to Section 12.7.3)
<Operation pattern>
Refer to Section 5.3 00: Positioning complete Set the operation termination to the 50th point.
"List of positioning data" 01: Continuous positioning control (Refer to Chapter 10)
11: Continuous path control
Make 1 nest construction for FOR to NEXT.
— — — — —
(Refer to Section 10.3.8)
15 - 35
15 TROUBLESHOOTING
MELSEC-Q
15 - 36
15 TROUBLESHOOTING
MELSEC-Q
<Teaching data selection> Set the teaching data selection set value to within the
1548 1648 1748 1848
0, 1 setting range.
15 - 37
15 TROUBLESHOOTING
MELSEC-Q
The states of QD75 and each axis control can be confirmed by the LEDs located on
the front panel of the QD75 main unit.
QD75P4
RUN AX1
AX2
AX3
ERR AX4
15 - 38
Appendices
Appen-
dices
Appendix - 1
APPENDICES
MELSEC-Q
Appendix - 2
APPENDICES
MELSEC-Q
MEMO
Appendix - 3
APPENDICES
MELSEC-Q
Axis address
mm, inch, degree, pulse
Appendix - 4
APPENDICES
MELSEC-Q
Axis address
mm, inch, degree, pulse
Appendix - 5
APPENDICES
MELSEC-Q
Setting range
Item
mm inch degree pulse
Pr.1 Unit setting 0 1 2 3
Pr.3
(Al) × 10-1μm × 10-5inch × 10-5degree pulse
Pr.4 Unit magnification (Am) 1: 1-fold, 10: 10-fold, 100: 100-fold, 1000: 1000-fold
Pr.7
0 to 2000000000 0 to 2000000000 0 to 2000000000 0 to 1000000
Bias speed at start
× 10-2mm/min × 10-3inch/min × 10-3degree/min pulse/s
1 to 1000000/
Basic parameters
Pr.8
1 to 2000000000 1 to 2000000000 1 to 2000000000
Speed limit value 1 to 200000
× 10-2mm/min × 10-3mm/min × 10-3degree/min
pulse
2
Pr.11
0 to 65535 0 to 65535 0 to 65535 0 to 65535
Backlash compensation amount
× 10-1μm × 10-5inch × 10-5degree pulse
Appendix - 6
APPENDICES
MELSEC-Q
20000
20000
20000
1000
1000
2147483647
–2147483648
100
300
Appendix - 7
APPENDICES
MELSEC-Q
Setting range
Item
mm inch degree pulse
b0 Lower limit b3 Stop signal b6 Near-point signal
External b7, b9 Setting of
Pr.22
b1 Upper limit b4 Unused each bit value
Input signal logic selection command to b15
0: Negative
Drive unit Manual pulse logic
b2 b5 Zero signal b8
Detailed parameters 1
0 to 3
Pr.33 JOG operation deceleration
time selection
1000
1000
1000
1000
1000
1000
20000
100
1000
300
100
Appendix - 9
APPENDICES
MELSEC-Q
Setting range
Item
mm inch degree pulse
0: Near-point dog method
1: Stopper method 1) (By dwell time elapse)
2: Stopper method 2) (By OP signal when stopper is hit)
Pr.43 OPR method
3: Stopper method 3) (Without near-point dog method)
4: Count method 1) (Use zero signal)
OPR basic parameters
Pr.50 Setting for the movement amount 0 to 2147483647 0 to 2147483647 0 to 2147483647 0 to 2147483647
after near-point dog ON × 10-1μm × 10-5inch × 10-5degree pulse
0 to 3
Pr.52 OPR deceleration time selection
–2147483648 to –2147483648 to
0 to 35999999 –2147483648 to
Pr.53 2147483647 2147483647
OP shift amount × 10-5degree 2147483647
× 10-1μm × 10-5inch pulse
Appendix - 10
APPENDICES
MELSEC-Q
300
11
Appendix - 11
APPENDICES
MELSEC-Q
Appendix 2.3 Positioning data setting value entry table [data No. to ]
Axis
Da.1 Da.2 Da.3 Da.4 Da.5 Da.6 Da.7 Da.8 Da.9 Da.10
Operation Control Accelera- Decelera- Axis to be Positioning Arc Command Dwell M code
Data pattern system tion time tion time interpola- address/ address speed time
No. No. ted movement
amount
1
2
3
4
5
6
7
8
9
0
1
2
3
4
5
6
7
8
9
0
1
2
3
4
5
6
7
8
9
0
1
2
3
4
5
6
7
8
9
0
1
2
3
4
5
6
7
8
9
0
Appendix - 12
APPENDICES
MELSEC-Q
Appendix - 13
APPENDICES
MELSEC-Q
Appendix - 14
APPENDICES
MELSEC-Q
Appendix - 15
APPENDICES
MELSEC-Q
Appendix - 16
APPENDICES
MELSEC-Q
Appendix - 17
APPENDICES
MELSEC-Q
Appendix - 18
APPENDICES
MELSEC-Q
Appendix - 19
APPENDICES
MELSEC-Q
Appendix - 20
APPENDICES
MELSEC-Q
Appendix - 21
APPENDICES
MELSEC-Q
Appendix - 22
APPENDICES
MELSEC-Q
Appendix - 23
APPENDICES
MELSEC-Q
Appendix - 24
APPENDICES
MELSEC-Q
Appendix - 25
APPENDICES
MELSEC-Q
Appendix - 26
APPENDICES
MELSEC-Q
Appendix - 27
APPENDICES
MELSEC-Q
Appendix - 28
APPENDICES
MELSEC-Q
Appendix - 29
APPENDICES
MELSEC-Q
Appendix - 30
APPENDICES
MELSEC-Q
Appendix - 31
APPENDICES
MELSEC-Q
Appendix - 32
APPENDICES
MELSEC-Q
Appendix - 33
APPENDICES
MELSEC-Q
Appendix - 34
APPENDICES
MELSEC-Q
Appendix - 35
APPENDICES
MELSEC-Q
Appendix - 36
APPENDICES
MELSEC-Q
Within 10m 5
CN1 Detector
External emergency stop
4 CN2
QD75D SG 16
1 SG 40
Near-point dog EMG 46
DOG 3
FLS 1 Upper limit 2 Servo ON SON 12
2 Lower limit 2 Reset
RLS RES 15
4 Stop Torque limit
STOP TL 13
5 External command 3 Forward run stroke end LSP
CHG 38 Within 50m
3 Reverse run stroke end
LSN 39
COM 6 VIN 20
24VDC
COM 7 VDD 22
CLEAR 13 CR 37
CLEAR COM 14 SG 17
CN3 Monitor output 10k
PULSE F+ 15 PP 10 Max. 1mA total
4 MO1 A
PULSE F- 16 PPR 11 Two-way deviation
3 MO2 A
PULSE R+ 17 NP 35
1 MOG
PULSE R- 18 NPR 36 Within 2m
READY 11 RD 49
RDY COM 12
PGO5 9 LZ 8
PGO COM 10 LZR 9
5V +5V
PULSER A+ A19 Zero speed RA1 VDD 21
A detection
PULSER A- B19 ZSP 23
B Fault
PULSER B+ A20 ALM 48
PULSER B- B20 0V RA2
5G
Manual pulse generator LG 3
MR-HDP01
Analog torque limit command (+) P15R 1
Differential driver When connecting an open collector,
+10V/max. current TLAP 27
common terminal make connection as shown below.
LG 28
N15R 26 QD75P CN1
Analog torque limit command (-)
TLAN 29 PULSE F 15 PPO 18
-10V/max. current
LG 30 PULSE COM 16 SG 47
SD 50 PULSE R 17 NPO 19
Within 2m PULSE COM 18
REMARK
(1) It is recommended to make differential driver connection since differential driver connection is more excellent than
open collector connection in max. output pulse and max. connection distance between servos. (Refer to Section
3.1 "Performance specifications".)
(2) 1: The logic for each I/O terminal can be changed with " Pr.22 Input signal logic selection" and " Pr.23 Output
signal logic selection" in detailed parameters 1. (Negative logic is used for all terminals in the example above.)
(3) 2: The QD75D upper limit (FLS) and lower limit (RLS) are used in the OPR retry function. Set these signals
inside the servo amplifier limit switches.
(4) 3: These are limit switches for the servo (for stop).
(5) 4: Refer to the specification and handling instruction manual of the servo amplifier MR-H for details on
connection.
(6) 5: This indicates the distance between the QD75D and servo amplifier.
(7) 6: Use the same logic (positive logic/negative logic) for the QD75D and servo amplifier. The QD75D is
initially set to negative logic.
Appendix - 37
APPENDICES
MELSEC-Q
5
Appendix 4.2 Connection example of QD75D and MR-J2/J2S- A (Differential driver)
Configure a sequence to turn OFF the HC-MF, HA-FF
MC at alarms and emergency stops. series motor
NF MC MR-J2/MR-J2S- A
TE1 U
L1 U
Power supply V
L2 V SM
3-phase 200VAC W
L3 W
E
L11 PE
EMG B1
L21 PE
C TE2
D 24VDC B2 Electromagnetic
P Cutoff by servo ON signal brake
CN1A OFF alarm signal.
Detector
Within 10m 4
CN2
QD75D
1 OPC 11
PULSE F+ 15 PP 3
PULSE F- 16 PG 13
PULSE R+ 17 NP 2
PULSE R- 18 NG 12
CLEAR 13 CR 8
CLEAR COM 14 SG 10
READY 11 RD 19
RDY COM 12 COM 9
CN3
PG05 9 LZ 5
12 TxD RD
PG0 COM 10 RA4 LZR 15
Positioning 2 RxD SD
COM 6 complete INP 18
24VDC 1 LG GND
COM 7
11 LG GND Commercially
LG 1 available
5 LG RS personal computer
Near-point dog External SD Plate
15 LG CS
DOG 3 emergency stop CN1B
Upper limit 2 DR
FLS 1 EMG 15
Lower limit 2 Servo ON ER
RLS 2 SON 5
Stop Reset Monitor output
STOP 4 RES 14
External command Proportional control 4 MO1 A Max. 1mA total
CHG 5 5V PC 8
5V Torque limit
TL 9
3 LG 10k Two-way deviation
PULSER A+ A19 A
A 3 Forward run stroke end 14 MO2
PULSER A- B19 LSP 16
3 Reverse run stroke end 13 LG 10k
PULSER B+ A20 B LSN 17
Plate SD
PULSER B- B20 SG 10
0V Within 2m
5G SG 20
Manual pulse generator VDD 3
MR-HDP01 COM 13
RA1
Fault ALM 18
RA2
Zero speed detection ZSP 19
RA3
During torque limiting TLC 6 When connecting an open collector,
make connection as shown below.
P15R 11
Analog torque limit QD75P CN1
TLA 12
+10V/max. current PULSE F 15 PP 3
LG 1 PULSE COM SG
16 10
Within 2m SD Plate PULSE R 17 NP 2
PULSE COM 18
REMARK
(1) It is recommended to make differential driver connection since differential driver connection is more excellent than
open collector connection in max. output pulse and max. connection distance between servos. (Refer to Section
3.1 "Performance specifications".)
(2) 1: The logic for each I/O terminal can be changed with " Pr.22 Input signal logic selection" and " Pr.23 Output
signal logic selection" in detailed parameters 1. (Negative logic is used for all terminals in the example above.)
(3) 2: The QD75D upper limit (FLS) and lower limit (RLS) are used in the OPR retry function. Set these signals
inside the servo amplifier limit switches.
(4) 3: These are limit switches for the servo amplifier (for stop).
(5) 4: This indicates the distance between the QD75D and servo amplifier.
(6) 5: Use the same logic (positive logic/negative logic) for the QD75D and servo amplifier. The QD75D is
initially set to negative logic.
Appendix - 38
APPENDICES
MELSEC-Q
5
Appendix 4.3 Connection example of QD75D and MR-C A (Differential driver)
Regenerative resistor is an external option.
Configure a sequence to turn OFF the HC-PQ
MC at alarms and emergency stops. series motor
NF MC C P
U
Power supply L1 TE1 U
V
V SM
Single-phase 200VAC (A type) or W
L2 W
single-phase 100VAC (A1 type) E
24VDC Electromagnetic
brake
Cutoff by servo ON signal
OFF alarm signal.
Detector
Within 10m 4 CN2
QD75D
1 CN1
PULSE F+ 15 PP 9
PULSE F- 16 PG 10
PULSE R+ 17 NP 7
PULSE R- 18 NG 8
CLEAR 13 CR 13
CLEAR COM 14 SG 12
PG024 8 V+ 1
PG0 COM 10 OP 4
READY 11 SD 11
3 Servo READY Servo ON
DOG SON 17
Near-point dog 2 Forward run stroke end 3
FLS 1 LSP 15
RLS 2 Upper limit 2 Reverse run stroke end 3
LSN 14
Lower limit Fault RA1
STOP 4 ALM 2
CHG 5 Stop
V24 20
External command
COM 6
COM 7
RDY COM 12 +5V
5V
PULSER A+ A19
PULSER A- B19 A
PULSER B+ A20 B
PULSER B- B20 When connecting an open collector,
0V 5G make connection as shown below.
Manual pulse generator
QD75P CN1
MR-HDP01
PULSE F 15 PP 9
PULSE COM 16 SG 12
24V, 0.2 A or higher PULSE R 17 NP 7
PULSE COM 18
24V power +
supply -
REMARK
(1) It is recommended to make differential driver connection since differential driver connection is more excellent than
open collector connection in max. output pulse and max. connection distance between servos. (Refer to Section
3.1 "Performance specifications".)
(2) 1: The logic for each I/O terminal can be changed with " Pr.22 Input signal logic selection" and " Pr.23 Output
signal logic selection" in detailed parameters 1. (Negative logic is used for all terminals in the example above.)
(3) 2: The QD75D upper limit (FLS) and lower limit (RLS) are used in the OPR retry function. Set these signals
inside the servo amplifier limit switches.
(4) 3: These are limit switches for the servo amplifier (for stop).
(5) 4: This indicates the distance between the QD75D and servo amplifier.
(6) 5: Use the same logic (positive logic/negative logic) for the QD75D and servo amplifier. The QD75D is
initially set to negative logic.
Appendix - 39
APPENDICES
MELSEC-Q
REMARK
(1) 1: The logic for each I/O terminal can be changed with " Pr.22 Input signal logic selection" and " Pr.23 Output
signal logic selection" in detailed parameters 1. (Negative logic is used for all terminals in the example above.)
(2) 2: The QD75P upper limit (FLS) and lower limit (RLS) are used in the OPR retry function.
(3) 3: Refer to the manual of the stepping motor drive for information on the stepping motor drive side wiring and
various signal wire shields not shown above.
(4) 4: Use the same logic (positive logic/negative logic) for the QD75P and stepping motor. The QD75P is
initially set to negative logic.
(5) 5: This indicates the distance between the QD75P and VEXTA UPD.
Appendix - 40
APPENDICES
MELSEC-Q
2m max 5
QD75D MINAS-A 3
1
PULSE F+ 15 4 PULSE2
PULSE F- 16 3 PULSE1
PULSE R+ 17 6 SIGN2
PULSE R- 18 5 SIGN1
CLEAR 13 30 CL
CLEAR COM 14
PGO5 9 23 OZ+
PGO COM 10 24 OZ-
READY 11 35 S-RDY+
RDY COM 12 34 S-RDY-
29 SRV-QN
5V +5V
PULSER A+ A19 9 CCWL
A Manual pulse
PULSER A- B19 generator 8 CWL
B
PULSER B+ A20 MR-HDP01 7 COM+
0V
PULSER B- B20 5G
Near-point dog
DOG 3
Upper limit 2 2
FLS 1
Lower limit 2 2
RLS 2
Stop
STOP 4
External command
CHG 5
24G
COM 6
COM 7 P24V
REMARK
(1) 1: The logic for each I/O terminal can be changed with " Pr.22 Input signal logic selection" and " Pr.23 Output
signal logic selection" in detailed parameters 1. (Negative logic is used for all terminals in the example above.)
(2) 2: The QD75D upper limit (FLS) and lower limit (RLS) are used in the OPR retry function. Set these signals
inside the servo amplifier limit switches.
(3) 3: Refer to the manual of the servo amplifier for information on the servo amplifier side wiring and various signal
wire shields not shown above.
(4) 4: Use the same logic (positive logic/negative logic) for the QD75D and servo amplifier. The QD75D is
initially set to negative logic.
(5) 5: This indicates the distance between the QD75D and MINAS-A.
Appendix - 41
APPENDICES
MELSEC-Q
2m max 5
QD75D PYO 3
1
PULSE F+ 15 26 PPC
PULSE F- 16 27 PPC
PULSE R+ 17 28 NPC
PULSE R- 18 29 NPC
CLEAR 13 34 CLE
CLEAR COM 14 24 SG
PGO24 8 25 SG
PGO COM 10 11 COP
READY 11 41 SRDY
RDY COM 12 49 DOR-24V
37 SON
5V +5V
PULSER A+ A19 32 PROT
A Manual pulse
PULSER A- B19 33 NROT
B generator
PULSER B+ A20 MR-HDP01 13 SG
0V 50 DC5-24V
PULSER B- B20 5G
Near-point dog
DOG 3 48 SG
Upper limit 2 2
FLS 1
Lower limit 2 2
RLS 2
Stop
STOP 4
External command
CHG 5
24G
COM 6
COM 7 P24V
Differential driver
common terminal
REMARK
(1) 1: The logic for each I/O terminal can be changed with " Pr.22 Input signal logic selection" and " Pr.23 Output
signal logic selection" in detailed parameters 1. (Negative logic is used for all terminals in the example above.)
(2) 2: The QD75D upper limit (FLS) and lower limit (RLS) are used in the OPR retry function. Set these signals
inside the servo amplifier limit switches.
(3) 3: Refer to the manual of the servo amplifier for information on the servo amplifier side wiring and various signal
wire shields not shown above.
(4) 4: Use the same logic (positive logic/negative logic) for the QD75D and servo amplifier. The QD75D is
initially set to negative logic.
(5) 5: This indicates the distance between the QD75D and PYO.
Appendix - 42
APPENDICES
MELSEC-Q
2m max 5
QD75D 3
1
PULSE F+ 15 7 PULS
PULSE F- 16 8 /PULS
PULSE R+ 17 11 SIGN
PULSE R- 18 12 /SIGN
CLEAR 13 14 /CLR
CLEAR COM 14 1 SG
PGO5 9 19 PCO
PGO COM 10 20 /PCO
READY 11 29 S-RDY+
RDY COM 12 30 S-RDY-
+5V 15 CLR
5V 18 PL3
PULSER A+ A19 Manual pulse
PULSER A- A 40 S-ON
B19 B generator
PULSER B+ A20 MR-HDP01 42 P-OT
PULSER B- B20 Near-point0V
dog 5G 43 N-OT
DOG 3 Upper limit 2 47 +24VIN
FLS 2
1 Lower limit 2 2
RLS 2 Stop
STOP 4 External command
CHG 5
24G
COM 6
COM 7 P24V
REMARK
(1) 1: The logic of each I/O terminal can be changed with " Pr.22 Input signal logic selection" and " Pr.23 Output signal
logic selection" in detailed parameters 1. (Negative logic is used for all terminals in the example above.)
(2) 2: The QD75D upper limit (FLS) and lower limit (RLS) are used in the OPR retry function. Set these signals
inside the servo amplifier limit switches.
(3) 3: Refer to the manual of the servo amplifier for information on the servo amplifier side wiring and various signal
wire shields not shown above.
(4) 4: Use the same logic (positive logic/negative logic) for the QD75D and servo amplifier. The QD75D is
initially set to negative logic.
(5) 5: This indicates the distance between the QD75D and ∑- .
Appendix - 43
APPENDICES
MELSEC-Q
Appendix - 44
APPENDICES
MELSEC-Q
The following shows the comparisons between the QD75 and the conventional
positioning modules A1SD75P1-S3/A1SD75P2-S3/A1SD75P3-S3.
interpolation
Speed
3-axis linear
control
interpolation
Positioning systems
4-axis linear
interpolation
Speed-position
switching control
Position-speed
switching control
<Absolute system> <Absolute system >
-214748364.8 to 214748364.7 ( m) -214748364.8 to 214748364.7 ( m)
-21474.83648 to 21474.83647 (inch) /-13421772.8 to 13421772.7 ( m)
0 to 359.99999 (degree) -21474.83648 to 21474.83647 (inch)
-2147483648 to 2147483647 (pulse) /-1342.17728 to 1342.17727 (inch)
<Incremental system > 0 to 359.99999 (degree)
-214748364.8 to 214748364.7 ( m) /0 to 359.99999 (degree)
-21474.83648 to 21474.83647 (inch) -2147483648 to 2147483647 (pulse)
-21474.83648 to 21474.83647 (degree) /-134217728 to 134217727 (pulse)
-2147483648 to 2147483647 (pulse) <Incremental system >
-214748364.8 to 214748364.7 ( m)
<Speed-position or position-speed switching
controls> /-13421772.8 to 13421772.7 ( m)
0 to 214748364.7 ( m) -21474.83648 to 21474.83647 (inch)
Positioning range 2 0 to 21474.83647 (inch) /-1342.17728 to 1342.17727 (inch)
0 to 21474.83647 (degree)/ -21474.83648 to 21474.83647 (degree)
0 to 359.99999 (degree) 3 /-1342.17728 to 1342.17727 (degree)
0 to 2147483647 (pulse) -2147483648 to 2147483647 (pulse)
/-134217728 to 134217727 (pulse)
<Speed-position switching control>
0 to 214748364.7 ( m)
/0 to 13421772.7 ( m)
0 to 21474.83647 (inch)
/0 to 1342.17727 (inch)
0 to 21474.83647 (degree)
/0 to 1342.17727 (degree)
0 to 2147483647 (pulse)
/0 to 134217727 (pulse)
Appendix - 45
APPENDICES
MELSEC-Q
Appendix - 46
APPENDICES
MELSEC-Q
Appendix - 47
APPENDICES
MELSEC-Q
Appendix - 48
APPENDICES
MELSEC-Q
Appendix - 49
APPENDICES
MELSEC-Q
Basic parameter 1 " Pr.5 Pulse output mode" When the PLC is turned ON or the PLC CPU module is reset, the valid value is
only the first value after the PLC READY signal (Y0) turns from OFF to ON.
A1SD75 QD75
Detailed parameters 0 (Factory Software stroke limits invalid for Software stroke limits valid for
" Pr.15 Software stroke limit valid/invalid setting" setting) manual operation manual operation
Software stroke limits valid for Software stroke limits invalid for
1
manual operation manual operation
Appendix - 50
APPENDICES
MELSEC-Q
Appendix - 51
APPENDICES
MELSEC-Q
Pr.13 Software stroke limit upper limit value 16 166 316 18 168 318
17 167 317 19 169 319
Pr.14 Software stroke limit lower limit value 18 168 318 20 170 320
19 169 319 21 171 321
Pr.15 Software stroke limit selection 20 170 320 22 172 322
Pr.16 Software stroke limit valid/invalid setting 21 171 321 23 173 323
Appendix - 52
APPENDICES
MELSEC-Q
Pr.42 Allowable circular interpolation error width 60 210 360 60 210 360
61 211 361 61 211 361
Pr.43 External start function selection
62 212 362 62 212 362
(QD75: Pr.42 External command function selection)
Pr.44 Near pass mode selection for path control 66 216 366 – – –
Pr.45 OPR method 70 220 370 70 220 370
Pr.46 OPR direction 71 221 371 71 221 371
Appendix - 53
APPENDICES
MELSEC-Q
100 ms
627 to 687 1296 to 1356
(QD75: Md. 12 Axis error occurrence
(Minute: second))
Md.23 Error history pointer 688 1357
Appendix - 54
APPENDICES
MELSEC-Q
minute
691 to 751 1360 to 1420
(QD75: Md. 16 Axis warning occurrence Warning
(Hour)) history
Md.27 Axis warning occurrence Second:
100 ms
692 to 752 1361 to 1421
(QD75: Md. 17 Axis warning occurrence
(Minute: second))
Md.28 Warning history pointer 753 1422
Appendix - 55
APPENDICES
MELSEC-Q
Md.29 Current feed value 800 900 1000 800 900 1000
801 901 1001 801 901 1001
Md.30 Machine feed value 802 902 1002 802 902 1002
803 903 1003 803 903 1003
Md.44 Movement amount after near-point dog ON 824 924 1024 824 924 1024
825 925 1025 825 925 1025
Md.45 Torque limit stored value 826 926 1026 826 926 1026
Md.46 Special start data instruction code setting value 827 927 1027 827 927 1027
Md.47 Special start data instruction parameter setting
828 928 1028 828 928 1028
value
Md.48 Start positioning data No. setting value 829 929 1029 829 929 1029
Md.49 In speed control flag 830 930 1030 830 930 1030
Md.50 In speed change processing flag 831 931 1031 831 931 1031
Md.51 Start data pointer being executed 832 932 1032 834 934 1034
Md.52 Last executed positioning data No. 833 933 1033 837 937 1037
Md.53 Repetition counter
834 934 1034 832 932 1032
(QD75: Md. 41 Special start repetition counter)
Md.54 Positioning data No. being executed 835 935 1035 835 935 1035
Md.55 Block No. being executed 836 936 1036 836 936 1036
Appendix - 56
APPENDICES
MELSEC-Q
Cd.15 New current value 1154 1204 1254 1506 1606 1706
1155 1205 1255 1507 1607 1707
Cd.16 New speed value 1156 1206 1256 1514 1614 1714
1157 1207 1257 1515 1615 1715
Cd.17 Speed change request 1158 1208 1258 1516 1616 1716
Cd.18 Positioning operation speed override 1159 1209 1259 1513 1613 1713
Cd.33 New acceleration time value 1184 1234 1284 1508 1608 1708
1185 1235 1285 1509 1609 1709
Appendix - 57
APPENDICES
MELSEC-Q
Cd.34 New deceleration time value 1186 1236 1286 1510 1610 1710
1187 1237 1287 1511 1611 1711
Cd.35 Acceleration/deceleration time change during
1188 1238 1288 1512 1612 1712
speed change, enable/disable selection
Da.1 Operation pattern
1: With the QD75, the positioning data buffer memory addresses are Nos. 1 to 600.
Appendix - 58
APPENDICES
MELSEC-Q
Da.12 Special start 4300 4350 4550 4600 4800 4850 26000 26050 27000 27050 28000 28050
point
Start block data
instruction
Da.13 Parameter
2nd point 4301 4351 4551 4601 4801 4851 26001 26051 27001 27051 28001 28051
3rd point 4302 4352 4552 4602 4802 4852 26002 26052 27002 27052 28002 28052
to to to to to to to
2
50th point 4349 4399 4599 4649 4849 4899 26049 26099 27049 27099 28049 28099
Positioning start information
Indirect
specification to to to to to to to
Start No. 8050 4549 4799 5049 – – –
5050 30000
PLC CPU Condition judgment target data of
the condition data to to
memo area
5099 30099
Target axis 5100 –
Head positioning block No. 5101 –
No. of read/write data items 5102 –
Read/write request 5103 –
Read/write block 5110 to 6109 –
Appendix - 59
APPENDICES
MELSEC-Q
Appendix - 60
APPENDICES
MELSEC-Q
Setting for the movement amount after near-point dog ON Pr.52 Pr.50
Appendix - 61
APPENDICES
MELSEC-Q
Monitor data
OS type Md.3 –
OS version Md.4 –
Appendix - 62
APPENDICES
MELSEC-Q
Repetition counter (QD75: Md. 41 Special start repetition counter) Md.53 Md.41
Appendix - 63
APPENDICES
MELSEC-Q
Control data
External start valid (QD75: Cd. 8 External command valid) Cd.25 Cd.8
Appendix - 64
APPENDICES
MELSEC-Q
Simultaneous starting axis start data No. (Axis 1 start data No.) – Cd.30
Simultaneous starting axis start data No. (Axis 2 start data No.) – Cd.31
Simultaneous starting axis start data No. (Axis 3 start data No.) – Cd.32
Simultaneous starting axis start data No. (Axis 4 start data No.) – Cd.33
Acceleration/deceleration time change during speed change, enable/disable selection Cd.35 Cd.12
Appendix - 65
APPENDICES
MELSEC-Q
Appendix - 66
APPENDICES
MELSEC-Q
A1SD75 QD75
Name Logic switch with Logic switch with
Logic (initial status) Logic (initial status)
parameters parameters
Drive unit READY Negative logic Not possible Negative logic Possible
In-position signal Negative logic Not possible – –
Zero signal Negative logic Not possible Negative logic Possible
Manual pulse generator A phase Negative logic Negative logic
Not possible Possible
Manual pulse generator B phase 1 (multiple of 4) (multiple of 4)
Near-point signal Negative logic Not possible Negative logic Possible
Stop signal Negative logic Not possible Negative logic Possible
Upper limit Negative logic Not possible Negative logic Possible
Lower limit Negative logic Not possible Negative logic Possible
External start 2 Negative logic Not possible Negative logic Possible
Speed-position switching signal 2 Negative logic Not possible Negative logic Possible
A1SD75 QD75
Name Logic switch with Logic switch with
Logic (initial status) Logic (initial status)
parameters parameters
Positive logic Negative logic
Command pulse 3 Possible Possible
CW/CCW mode CW/CCW mode
Deviation counter clear Negative logic Not possible Negative logic Possible
A1SD75 QD75
No. of connectable manual pulse
1 generator/1 axis 1 generator/1 module
generators
Possible
Mode selection (with parameter) Not possible Multiple of 1 mode, multiple of 4 mode,
PULSE/SIGN mode
2: With the QD75, the "external start signal" and "speed-position switching signal" are combined into the "external command signal".
A1SD75 QD75
PULSE/SIGN mode, A phase/B phase (multiple of 4) mode,
Mode selection (with parameter)
A phase/B phase (multiple of 1) mode, CW/CCW mode
Open collector: 200kpps Open collector: 200kpps
Max. command frequency
Differential driver: 400kpps Differential driver: 1Mpps
Appendix - 67
APPENDICES
MELSEC-Q
Positioning speed V2
A phase Time
Positioning address P1
B phase
A phase
B phase
2-PHASE PULSE
An A phase and B phase double pulse. There
is a phase difference between the two phases,
so that difference can be automatically added
and subtracted in the pulse count. The
standard phase difference is a 90ø electrical
angle.
If the B phase were to lag behind the A phase
in a forward run (B phase turns ON after the A
phase), the A phase would lag behind the B
phase in a reverse run (A phase turns ON after
the B phase). In this way the forward and
reverse run (addition and subtraction) can be
automatically carried out.
Appendix - 68
APPENDICES
MELSEC-Q
Phototransistor
24 Speed 0 Time
23
22
Rotating 2 1 Acceleration time
axis 20
Binary code
ADDRESS
ABSOLUTE POSITION DETECTION 1) This is a numerical value to express the
SYSTEM positioning position, designated in mm,
In the absolute position detection system, once inch, angle, or No. of pulse units.
an OPR is carried out at the system startup, 2) The memory address. Many addresses are
the system stores the machine position in the stored in the memory. An address is read
memory and retains the current position even or written after it is designated.
when the power is turned OFF. Mechanical
deviation will be compensated, so that the
OPR is not required after the power is turned AFTER mode
ON next time. Configuring this system requires This is the mode that outputs the M code after
a motor with an absolute position detector and positioning is complete (after stopping).
a servo amplifier and positioning module Clamping can be commanded, drilling
compatible with an absolute position detection dimensions can be selected, etc., with this
system. mode.
Appendix - 69
APPENDICES
MELSEC-Q
BACKLASH COMPENSATION
When a forward run operation changes to a
reverse run operation, there is sometimes play
(backlash) in the mesh of the toothed gears.
This also occurs when using a worm gear.
Because of this backlash, a left feed of 1m
(3.28feet) carried out after a right feed of 1m
(3.28feet) will not be sufficient to return the
machine to its original position. The machine
cannot be positioned to its original position
without an extra feed equivalent to the
backlash amount. This function compensates
for that backlash amount.
Forward run
Backlash
Machine
1m (3.28feet) (right feed) does not
move.
1m (3.28feet) (left feed)
Backlash
(Left feed amount)
Appendix - 70
APPENDICES
MELSEC-Q
512=
256=
128=
16384=
8192=
4096=
2048=
1024=
Positive/
negative
64=
32=
16=
8=
4=
2=
1=
0 1 0 1 1 0 0 0 0 1 1 1 0 0 1 0 5.872
8000
4000
2000
1000
800
400
200
100
80
40
20
10
8
4
2
1
2) BCD commands are commands in which a 2) BIN commands are commands in which a
binary number (BIN) is converted to a binary coded decimal (BCD) is converted to
binary coded decimal (BCD). a binary number (BIN).
They are used to output data from the PLC They are used to input the data shown on
and display it on the digital display. the digital switch to the PLC.
The following drawing shows a 16-bit The following drawing shows a 16-bit
example. example.
BCD code 0 0 0 0 0 0 0 1 0 1 1 0 0 1 1 1
BIN code 0 0 0 0 0 0 0 0 1 0 1 0 0 1 1 1 167
167 80
40
20
10
8000
4000
2000
1000
800
400
200
100
8
4
2
1
negative
Positive/
512
256
128
16384
8192
4096
2048
1024
64
32
16
8
4
2
1
BIN code 0 0 0 0 0 0 0 0 1 0 1 0 0 1 1 1
BCD code 0 0 0 0 0 0 0 1 0 1 1 0 0 1 1 1 167
167
8192
4096
2048
1024
512
256
128
16384
Positive/
negative
64
32
16
8
4
2
1
800
400
200
100
8000
4000
2000
1000
80
40
20
10
8
4
2
1
Full speed
Bias speed
Speed 0
Appendix - 71
APPENDICES
MELSEC-Q
Obstacle
BUFFER MEMORY A B C D
Memory used to temporarily store data. Before Collision
writing external data to the PLC CPU data
memory, it is first temporarily stored in the
buffer memory to be used for operation by the COMMAND PULSE
program. The buffer memory is used by the Refer to term "FEEDBACK PULSE".
positioning module because the latest data
can be read and written.
COMPOSITE SPEED
PLC CPU Positioning module
The movement speed for the target control
Bus during interpolation operations.
External
data
Data Data is written/read Buffer
memory using the following memory
commands: Y axis
Write : TO Composite speed
speed
Read : FROM
X axis speed
BUSY
The device is doing some other work. It is in a
positioning operation or in dwell time. CONTROL UNIT
This is one type of positioning reference data.
The unit to be used is designated as mm, inch,
CCW (Counterclockwise) degree, or pulse.
Rotation in the counterclockwise direction. In
the motor, this is determined looking from the
shaft end side. Also refer to "CW".
Appendix - 72
APPENDICES
MELSEC-Q
Appendix - 73
APPENDICES
MELSEC-Q
Setting speed
DIGITAL BUS CONNECTION
Commands are generally output from the
positioning module to the servo amplifier as a
Speed 0 Time pulse train. Recently, however, devices are
being digitalized. Accompanying that, a
connection method has appeared in which the
Deceleration time
bus lines of both the positioning module and
the servo amplifier CPUs are connected. This
has enabled the construction of higher-
DEVIATION COUNTER accuracy, higher-speed systems.
Deviation counters have the following two The MELSEC A70D, AD774M, A171SCPU,
functions. A273UCPU etc., models employ this digital
1) To count the command pulses issued from bus connection.
the QD75, and transmit the count value to
the D/A converter.
2) To subtract the feedback pulses from the DOG SIGNAL
command pulses, and run the motor by the
The near-point dog of the OPR.
deviation value (droop pulse) of the
command pulses and feedback pulses until
the command pulses reaches 0.
DRIVE UNIT
Command The commands output from the positioning
pulses Deviation D/A module are low-voltage, low-current
Motor
counter convertor
commands with insufficient energy to run the
motor.
Feedback pulses The drive unit increases the width of these
PLG Encoder
commands so the motor can be run. It is an
accessory on servomotors and stepping
motors. Also called a servo amplifier.
DIFFERENTIAL OUTPUT TYPE
This is one type of encoder feedback pulse Positioning Drive Motor
output. When one signal is output with this module unit
method, a companion signal having the
reverse polarity is simultaneously output. This Power supply
method enables high-frequency transfer, and
is resistant to noise, etc., so it is also used in
high-speed signal transfer such as inputting
DRIVE UNIT READY
and outputting of pulse trains. In general, the
transmission side is called the driver, the This signal is output when the drive unit for the
reception side is called the receiver, and a motor is in a READY state.
dedicated IC is used. This signal remains OFF when the drive unit
power is OFF, or during faults, etc.
Appendix - 74
APPENDICES
MELSEC-Q
DYNAMIC BRAKE Z
Appendix - 75
APPENDICES
MELSEC-Q
OP
ERROR RESET
This resets error of axis. Note that if the cause
of the error is not eliminated at that time, the Dog switch
error will occur again.
FEED PULSE
EXTERNAL REGENERATIVE BRAKE This is a pulse issued from the positioning
RESISTOR module to a servomotor or stepping motor.
This is also called the regenerative brake. Also called a command pulse.
When a machine is moved with a motor, power
is normally supplied to the motor from an
amplifier. However, the rotation energy in the FEED SCREW
motor and machine counterflows (regenerates) This is the basic screw in mechanisms that
to the amplifier when the motor is decelerating position using screw rotation. Ball screws are
or when driving a descending load. often used to reduce backlash and dimension
The external regenerative resistor consumes error.
this regeneration energy with resistance,
obtains the regenerative brake torque, and Positioning
feed screw
enables the full capacity of the regeneration
system during stopping. 1 rotation
It is used when carrying out highly repetitive by the motor
acceleration/deceleration. Lead (feedrate per screw rotation)
F FEEDBACK PULSE
In the QD75, F is a status where the module This is a method of using a returning pulse
itself has a fault. train to confirm whether the machine faithfully
[HOLD] operated according to the commands issued in
automatic control. If the machine did not
faithfully operate according to the commands,
a correction command is issued. For example,
if a command is issued for 10,000 pulses, and
a feedback pulse of 10,000 pulses is returned,
then the balance becomes 0 and it can be
judged that the command was faithfully
followed.
Refer to the term "DEVIATION COUNTER".
Appendix - 76
APPENDICES
MELSEC-Q
FIXED-FEED G CODE
This is the feeding of a set dimension for These are standardized (coded) 2-digit
cutting sheet and bar workpieces into the numerical values (00 to 99) designating
designated dimensions. Incremental system various control functions of the NC module.
positioning is often used. The current value is Also called G functions.
not incremented, even when the feed Example :
operation is repeated. G01 Linear interpolation
G02 Circular interpolation CW (clockwise)
G04 Dwell
FLASH MEMORY G28 OPR
This battery-less memory can be used to store G50 Max. spindle speed setting
parameters and positioning data for backup.
Because it is battery-less, battery maintenance
is not required GAIN
The changing of the ratio between two values
having a proportional relation. Seen on a
FLAT TYPE MOTOR (PANCAKE MOTOR) graph, the changing of the incline of the
About 100mm shorter in axial dimension than characteristics.
the standard motor. Used when the
servomotor is installed in a small space.
Raising
the gain
13
FLS SIGNAL (forward limit signal)
10
This is the input signal that notifies the user
that the limit switch (b contact configuration,
normally ON) installed at the upper limit of the Output Lowering
positioning control enabled range has been the gain
2
activated.
The positioning operation stops when the FLS 10
Input
signal turns OFF (non-continuity).
For example, when 10 is output for an input of
10, the output can be changed to 12, 5, etc.,
by changing the gain.
2
GD
The inertia moment. The sum total of the mass
(dm) of each small area configuring an object
multiplied by the square of the distance (r) of
each of those areas from a given straight line.
The relation with I = r2dmGD2 is given by 4gI,
with "g" being gravitational acceleration.
Appendix - 77
APPENDICES
MELSEC-Q
Z
B INERTIA
Phototransistor Zero signal slit
The property of an object, when not being
Rotating axis 1 pitch affected by external forces, where it tries to
maintain its current condition. The inertia
1
A moment.
pitch
4
B
1 pulse per axis rotation
Zero signal
Output waveform 2-phase + OP output
Appendix - 78
APPENDICES
MELSEC-Q
LIMIT SWITCH
INTERLOCK This is a switch set to stop a moving object at
In this condition, the machine is blocked from both ends, etc., of a movement device for
moving to the next operation until the safety reasons.
operation in progress is complete. This A circuit is created in which the moving body
function is used to prevent damage to devices itself presses against the switch to activate the
and malfunctioning. contact and forcibly shut the power OFF. For
example, pressing on the actuator in the
Y1 drawing below activates the internal
Y0 Forward run
microswitch. There are various other types.
Y0
Y1 Reverse run
Actuator
Push plunger
INTERPOLATION OPERATION
Rubber cap
The simultaneous operation of multiple motors
Lead Case
to carry out a composite operation. Each motor
can be freely set with the positioning distance,
acceleration/deceleration time, speed, and Microswitch
NC NO COM
other factors, which are combined to move a
target in a straight line, circle, etc. Linear
interpolation and circular interpolation are
available. (The circular interpolation uses two
motors.)
INVERTER
This refers to a device to change a direct
current (DC) to an alternating current (AC).
The device actually changes the motor speed
by changing 50Hz or 60Hz of commercial
frequency to direct current once, then
changing it again to a 5 to 120Hz alternating
current and controlling the motor speed.
Appendix - 79
APPENDICES
MELSEC-Q
MASTER AXIS
When carrying out interpolation operations,
this is the side on which the positioning data is
executed in priority. For example, when
positioning with the X axis and Y axis, the side
with the largest movement distance will
become the master axis, and the speed will
follow that axis. The slave axis speed will be
ignored.
Appendix - 80
APPENDICES
MELSEC-Q
Appendix - 81
APPENDICES
MELSEC-Q
OP OPR METHOD
This is the reference position for positioning. The OPR methods are shown below. The
Positioning cannot start without a reference method used depends on the machine
point. structure, stopping accuracy, etc.
The OP is normally set to the upper or lower OPR can be carried out when the OPR
stroke limit. parameters are written.
1) Near-point dog method
This point is the reference. 2) Stopper method
3) Count method
OP
OPR PARAMETER
OP SHIFT FUNCTION This parameter is required when returning to
the OP. It is determined by the machine side
The OP position can be shifted in the positive
design, so subsequent changes of this
or negative direction by executing a machine
parameter must be accompanied by changes
OPR and determining the shift amount from
in the machine design.
the machine OPR complete position.
The OP is the reference for positioning
An OP can be set at a position besides the OP
operations, so if the OP is lost due to a power
position, or outside the dog switch.
failure during positioning, or because the
power is turned OFF and the machine is
moved manually, etc., it can be restored by
OPERATION PATTERN carrying out an OPR. When a machine OPR
The kind of operation to be carried out after command is issued, the machine will move in
executing the positioning data is determined. search of the near-point dog regardless of the
1) If "POSITIONING COMPLETE" is selected, current value, and will stop at the OP. At this
the operation will stop after the positioning time, the current value will be rewritten to the
is complete. OP address. Data cannot be written during
2) If "CONTINUOUS POSITIONING positioning. With the QD75, data is always
CONTROL" is selected, the next data No. written for all axes (from 1 to 4 axes).
will be automatically executed after the Refer to the term "NEAR-POINT DOG".
positioning is complete.
3) If "CONTINUOUS PATH CONTROL" is
selected, the positioning will not be
completed. Only the speed will be
automatically changed, and the next data
No. will be executed.
Appendix - 82
APPENDICES
MELSEC-Q
Appendix - 83
APPENDICES
MELSEC-Q
ON POSITIONING
Positioning High speed
ON Accurately moving the machine from a point to
Positioning Low speed
a determined point. The distance, direction,
ON ON
Limit switch LS1 speed, etc., for that movement are designated
Limit switch LS2
ON by the user. Positioning is used in operations
ON such as cutting sheets, drilling holes in plates,
Limit switch LS3
mounting parts on a PCB, and welding.
Positioning is also used with robots.
Dwell time
Positioning complete
signal
Time
Appendix - 84
APPENDICES
MELSEC-Q
Appendix - 85
APPENDICES
MELSEC-Q
RESOLVER
This device detects the angle by resolving the
two voltages of the analog input. Also called a
2-phase synchro. For a 1-phase voltage input,
the axis rotation angle is converted into a
perpendicular 2-phase voltage (analog
voltage) and output.
Movement distance
for one resolver rotation
Toothed gear
Appendix - 86
APPENDICES
MELSEC-Q
SERVOMOTOR
A motor that rotates true to the command.
Servomotors are highly responsive, and can
carry out frequent high-speed and high-
accuracy starts and stops.
DC and AC types are available, as well as
large-capacity motors. A pulse generator
accessory for speed detection is common, and
feedback control is often carried out.
SETTING UNIT
This is one setting item of the positioning
reference parameters. The unit to be used is
designated as mm, inch, degree, or pulse.
Appendix - 87
APPENDICES
MELSEC-Q
START COMPLETE
SPEED LIMIT VALUE This signal gives an immediate response
This is the max. speed for positioning. Even if notifying the user that the QD75 that was
other data is mistakenly set to a higher speed started is now in a normal state and can start
than this, the positioning will be carried out at positioning.
this speed limit value when it is set in the
parameters. The acceleration time becomes
the time to accelerate from a stopped state to STARTING AXIS
the speed limit value, and the deceleration One of the QD75 axis system axes (axis 1,
time becomes the time to decelerate from the axis 2, axis 3, or axis 4) or the reference axis
speed limit value to a stopped state. for the interpolation operation is designated as
the starting axis.
Appendix - 88
APPENDICES
MELSEC-Q
N
C B C B
A A A A
B C B C
Appendix - 89
APPENDICES
MELSEC-Q
Sudden stop
Time
Deceleration time
TEACHING
When the positioning address is uncertain, or
gauging is required, this function is used by
the user to search for and teach the position to
the machine.
For example, complex addresses such as
drawings can be taught by tracing a model,
and the positioning operation can be
reproduced.
Appendix - 90
APPENDICES
MELSEC-Q
TURNTABLE XY TABLE
A rotating table, which is turned using power. This is a device that moves a table in the X
The table is used divided from one 360° (latitudinal) and Y (longitudinal) directions so
rotation into the required locations for work. that positioning can be carried out easily.
The positioning control unit is "degree". There are also commercially available
products.
X axis
UNIT SETTING
This is the setting of the unit for the actual Z PHASE
address to which positioning is required, or for Also called "PG zero". Refer to "ZERO
the movement amount. SIGNAL".
The following units can be set: mm, inch,
degree and pulse. The initial value in the
parameters is a pulse unit.
ZERO SIGNAL
This refers to PG0 of the pulse generator
WARNING (encoder) (one detection per shaft rotation). It
also called "Z phase". Refer to the term
A warning is output as a warning code in when "PULSE GENERATOR".
an abnormality is detected that is not serious
enough to require cancellation or stoppage of
the positioning operation. Warnings are
handled differently than errors.
WINDOW
These are the selection menus that appear on
the screen when the QD75 is started.
• Menu selection window
• Mode function selection window
• Sub-function selection window
• Execution/setting selection window
WITH MODE
This is the mode that outputs the M code
before the start of the positioning. This mode
turns ON at the positioning start, enabling
voltage to be applied to the welding
electrodes, display of positioning speeds, etc.
Refer to the term "AFTER MODE".
Appendix - 91
APPENDICES
MELSEC-Q
Appendix - 92
APPENDICES
MELSEC-Q
How can the deceleration stop Set "1: Sudden stop" in the " Pr.37 Stop group 1
time during stopping be shortened sudden stop selection", and reduce the setting value of 11
using the hardware stroke limit? " Pr.36 Sudden stop deceleration time".
The value set for the acceleration/deceleration time is the
time required for the machine to accelerate from speed
The motor does not operate at "0" to the value set in " Pr.8 Speed limit value". Because
"60000ms" although the of that, the acceleration/deceleration time will also be 12
acceleration/deceleration time is shorter than "60000ms" if the command speed value is
set to "60000ms".
smaller than the " Pr.8 Speed limit value". (Refer to the
Acceleration/decelerat explanation for Pr.9 and Pr.10 for details.)
ion time
The trapezoidal and S-curve acceleration/deceleration
Can each acceleration/ processing is a common setting for all
deceleration time be individually acceleration/deceleration times, so individual setting is not
13
set to trapezoidal or S-curve possible.
acceleration/deceleration? (Refer to Section 12.7.7 "Acceleration/deceleration
process function".)
The machine starts and stops
suddenly when carrying out JOG
Review the parameter settings for acceleration/
operations and positioning
deceleration time, speed limit value, JOG speed limit 14
operations.
value, JOG acceleration/deceleration time, etc.
(Using an MR-J2S servo
amplifier.)
Are simplified absolute position
Simplified absolute They are possible if the models are used in combination
detection system possible in the
position detection with a Mitsubishi "AC Servo". 15
QD75P and QD75D Positional
system (Refer to "AC servo User's Manual" for details.)
deviation models?
The physical position position
detection system from the
If the deviation counter value is not "0", the servo side is
commanded position, although the
Positional deviation still moving. 16
positioning is complete (and the
Increase the torque.
monitored current position is
correct).
In this case, the following values will result.
• No. of pulses per rotation 8192
A setting of "1μm 1pulse" is • Movement amount per rotation 10000
required in the following system. • Unit magnification 10
Electronic gear • Ball screw pitch 10mm Therefore, the "Movement amount per pulse" will become 17
• No. of feedback pulses "1.2207μm".
8192pulse This value is fixed by the machine system, so it cannot be
changed.
Thus, the setting "1μm 1pulse" cannot be achieved.
Appendix - 93
APPENDICES
MELSEC-Q
In the near-point dog method 2) Lower the values in " Pr.46 OPR speed" and
machine OPR, the stop positions " Pr.47 Creep speed". 20
are not uniform.
3) Confirm whether the zero signal and near-point dog
signal turn ON normally.
4) Check that there is no play (backlash) in the machine
OPR system.
Can the machine OPR be carried A "Hardware stroke limit error" will occur and the
out with the OPR retry function operation will not be carried out.
when it is started with the near- (The machine will interpret any position where the near- 21
point dog ON and the upper/lower point dog is ON as being within the working range, and
limit OFF? that the upper/lower limit is ON.)
Are ABS and INC positioning They are possible.
possible without carrying out an In this case, the position where the power is turned ON is 22
OPR? handled as the current feed value "0".
The OPR request flag turns ON in the following cases.
1) When the power is turned ON.
2) When the PLC READY signal [YO] turns from OFF to
After an OPR, the OPR request ON.
flag sometimes turns ON for no 3) When an OPR is carried out. 23
apparent reason. 4) When the servo amplifier power is turned OFF.
If no problem is found when the above are checked, then
it is possible that the communication is being interrupted
by "a fault in the bus cable", "noise influence", etc.
The OPR complete flag
Check whether the drive unit READY signal is weak or the
( Md.31 Status: b4) sometimes 24
power supply is unstable.
turns ON when it shouldn't be ON.
Appendix - 94
APPENDICES
MELSEC-Q
The operation will not start even Check the " Md.26 axis operation status" and
26
when the start signal is turned ON. " Md.23 axis error No".
Appendix - 95
APPENDICES
MELSEC-Q
Appendix - 96
APPENDICES
MELSEC-Q
Appendix - 97
APPENDICES
MELSEC-Q
The following shows the relation between the buffer memory addresses and the various items.
(Do not use ary address other than listed below. If used, the system may not operate correctly.)
Buffer memory address
Item Memory area
Axis 1 Axis 2 Axis 3 Axis 4
0 150 300 450 Pr.1 Unit setting
Basic parameters 1
2 152 302 452 Pr.3 Movement amount per rotation (Al)
Basic parameters
9 159 309 459
10 160 310 460 Pr.8 Speed limit value
11 161 311 461
2
12 162 312 462 Pr.9 Acceleration time 0
13 163 313 463
14 164 314 464 Pr.10 Deceleration time 0
15 165 315 465
17 167 317 467 Pr.11 Backlash compensation amount
Positioning parameters
18 168 318 468 Pr.12 Software stroke limit upper limit value
19 169 319 469
20 170 320 470 Pr.13 Software stroke limit lower limit value
21 171 321 471
22 172 322 472 Pr.14 Software stroke limit selection
30 180 330 480 Pr.21 Current feed value during speed control
Appendix - 98
APPENDICES
MELSEC-Q
Positioning parameters
50 200 350 500 Pr.32 JOG operation acceleration time selection
Basic parameters 2
51 201 351 501 Pr.33 JOG operation deceleration time selection
80 230 380 530 Pr.50 Setting for the movement amount after
81 231 381 531 near-point dog ON
OPR detailed parameters
87 237 387 537 Pr.55 Deviation counter clear signal output time
Appendix - 99
APPENDICES
MELSEC-Q
Start History
1213 1218 1223 1228 1233 1238 1243 1248 1256 1258 1263 1268 1273 1278 1283 1288
1214 1219 1224 1229 1234 1239 1244 1249 1254 1259 1264 1269 1274 1279 1284 1289 Md.5 Start (Hour)
1215 1220 1225 1230 1235 1240 1245 1250 1255 1260 1265 1270 1275 1280 1285 1290 Md.6 Start (Minute: second)
1216 1221 1226 1231 1236 1241 1246 1251 1256 1261 1266 1271 1276 1281 1286 1291 Md.7 Error judgment
Monitor data
(0) (1) (2) (3) (4) (5) (6) (7) (8) (9) (10) (11) (12) (13) (14) (15)
Error History
1294 1298 1302 1306 1310 1314 1318 1322 1326 1330 1334 1338 1342 1346 1350 1354 Md.10 Axis error No.
1359 1363 1367 1371 1375 1379 1383 1387 1391 1395 1399 1403 1407 1411 1415 1419 Md.15 Axis warning No.
Appendix - 100
APPENDICES
MELSEC-Q
Monitor data
Md.33 Target speed
821 921 1021 1121
824 924 1024 1124 Md.34 Movement amount after near-point dog ON
825 925 1025 1125
826 926 1026 1126 Md.35 Torque limit stored value
834 934 1034 1134 Md.43 Start data pointer being executed
835 935 1035 1135 Md.44 Positioning data No. being executed
837 937 1037 1137 Md.46 Last executed positioning data No.
1038 to 1138 to Md.47 Positioning data being executed
838 to 847 938 to 947
1047 1147
899 999 1099 1199 Md.48 Deceleration start flag
Appendix - 101
APPENDICES
MELSEC-Q
Control data
1519 1619 1719 1819
Cd.18 Interrupt request during continuous
1520 1620 1720 1820
operation
1521 1621 1721 1821 Cd.19 OPR request flag OFF request
1522 1622 1722 1822 Cd.20 Manual pulse generator 1 pulse input
1523 1623 1723 1823 magnification
1524 1624 1724 1824 Cd.21 Manual pulse generator enable flag
Appendix - 102
APPENDICES
MELSEC-Q
Control data
1548 1648 1748 1848 Cd.38 Teaching data selection
Appendix - 103
APPENDICES
MELSEC-Q
No.1
Da.9 Dwell time/JUMP destination
2002 8002 14002 20002
positioning data No.
2003 8003 14003 20003 Not used
Positioning data
Positioning data
2004 8004 14004 20004 Da.8 Command speed
2005 8005 14005 20005
2006 8006 14006 20006 Da.6 Positioning address/movement
2007 8007 14007 20007 amount
2008 8008 14008 20008 Da.7 Arc address
2009 8009 14009 20009
2010 8010 14010 20010
to to to to No.2
2019 8019 14019 20019
2020 8020 14020 20020
to to to to No.3
2029 8029 14029 20029
to to to to to
7990 13990 19990 25990
to to to to No.600
7999 13999 19999 25999
Appendix - 104
APPENDICES
MELSEC-Q
Da.11 Shape
1st point
Da.12 Start data No.
26000 26050 27000 27050 28000 28050 29000 29050
Da.13 Specilal start instruction
26001 26051 27001 27051 28001 28051 29001 29051 2nd point
26002 26052 27002 27052 28002 28052 29002 29052 3rd point
to to to to to
Starting block 0
26049 26099 27049 27099 28049 28099 29049 29099 50th point
Da.15 Condition target
26100 27100 28100 29100
Da.16 Condition operator
No. 1
26103 27103 28103 29103
Condition data
26104 27104 28104 29104 Da.18 Parameter 1
26405 27405 28405 29405
26106 27106 28106 29106
Da.19 Parameter 2
Starting block 1
26200 to 26299 27200 to 27299 28200 to 28299 29200 to 29299 Block start data
26300 to 26399 27300 to 27399 28300 to 28399 29300 to 29399 Condition data
Starting block 2
26400 to 26499 27400 to 27499 28400 to 28499 29400 to 29499 Block start data
26500 to 26599 27500 to 27599 28500 to 28599 29500 to 29599 Condition data
Starting block 3
26600 to 26699 27600 to 27699 28600 to 28699 29600 to 29699 Block start data
26700 to 26799 27700 to 27799 28700 to 28799 29700 to 29799 Condition data
Starting block 4
26800 to 26899 27800 to 27899 28800 to 28899 29800 to 29899 Block start data
26900 to 26999 27900 to 27999 28900 to 28999 29900 to 29999 Condition data
Appendix - 105
APPENDICES
MELSEC-Q
Positioning data
30000
memory area
Condition judgement target data of the condition
PLC CPU
to
data
30099
Appendix - 106
APPENDICES
MELSEC-Q
[1] QD75P1/QD75P2/QD75P4
23
27. 4
98
4
90 46 (unit:mm)
Appendix - 107
APPENDICES
MELSEC-Q
[2] QD75D1/QD75D2/QD75D4
23
27. 4
98
4
12
90 46 (unit:mm)
Appendix - 108
INDEX
Index - 1
Allowable circular interpolation error width BCD (Explanation of positioning terms)
( Pr.41 )........................................................ 5-43 .......................................................... Appendix-71
Applicable system ........................................... 2-5 Bias speed at start ( Pr.7 ) ..........................5-26
Applicable wire size......................................... 3-3 Bias speed at start (Explanation of positioning
Arc address ( Da.7 )..................................... 5-68 terms) ............................................... Appendix-71
Auto tuning (Explanation of positioning terms) BIN (Explanation of positioning terms)
..........................................................Appendix-70 .......................................................... Appendix-71
Automatic trapezoidal acceleration/deceleration Bipolar drive constant-current system (Explanation
(Explanation of positioning terms) ...Appendix-70 of positioning terms) ........................ Appendix-72
Automatic trapezoidal acceleration/deceleration Block...............................................................10-2
processing method...................................... 12-85 Block No. being executed ( Md.45 ) ...........5-108
Axis display LED ............................................. 4-3 Block start (Normal start) ...............................10-8
Axis error No. ( Md.10 , Md.23 )............... 5-92,96 Block start data ..............................................10-7
Block start data area (Nos. 7000 to 7004) ......7-3
Axis error occurrence (Hour) ( Md.11 )........ 5-92
Buffer memory .................................................7-2
Axis error occurrence (Minute: second) ( Md.12 ) Buffer memory (Explanation of positioning terms)
....................................................................... 5-92 .......................................................... Appendix-72
Axis error reset ( Cd.5 ) ............................. 5-112 Buffer memory area configuration...................7-5
Axis feedrate ( Md.28 )............................... 5-100 BUSY (Explanation of positioning terms)
.......................................................... Appendix-72
Axis in which the error occurred ( Md.9 ) .... 5-92
BUSY signal ...................................................3-14
Axis in which the warning occurred ( Md.14 )
....................................................................... 5-94
[C]
Axis monitor data........................................... 5-96
Cable clamp ...................................................4-11
Axis operation status ( Md.26 ) .................... 5-98 CCW (Explanation of positioning terms)
Axis stop signal ............................................. 3-16 .......................................................... Appendix-72
Axis to be interpolated ( Da.5 ) .................... 5-62 CHANGE signal (Explanation of positioning terms)
Axis warning detection ................................ 5-102 .......................................................... Appendix-72
Axis warning No. ( Md.15 , Md.24 ) ........ 5-94,98 Circular interpolation (Explanation of positioning
Axis warning occurrence (Hour) ( Md.16 )... 5-94 terms) ............................................... Appendix-72
Combination of functions ...............................3-12
Axis warning occurrence (Minute: second)
Combination of main functions and sub functions
( Md.17 )........................................................ 5-94
........................................................................3-12
Command in-position flag............................5-102
[B] Command in-position function.....................12-81
Backlash compensation amount ( Pr.11 ). 5-28 Command in-position width ( Pr.16 ) ..........5-30
Backlash compensation (Explanation of Command pulse (Explanation of positioning terms)
positioning terms) .............................Appendix-70 .......................................................... Appendix-72
Backlash compensation function ................ 12-11 Command pulse frequency ...........................1-11
Backup function (Explanation of positioning terms)
Command speed ( Da.8 ).............................5-70
..........................................................Appendix-70
Common functions................................. 3-8, 13-2
Ball screw (Explanation of positioning terms)
Communicating signals between QD75 and each
..........................................................Appendix-70
module............................................................1-12
Basic parameters 1 ....................................... 5-20
Composite speed...........................................5-32
Basic parameters 2 ....................................... 5-26
Composite speed (Explanation of positioning
terms) ............................................... Appendix-72
Index - 2
Condition data ............................................. 10-16 [D]
Condition operator....................................... 10-17 D/A converter (Explanation of positioning terms)
Condition operator ( Da.16 ) ........................ 5-84 .......................................................... Appendix-73
Condition start ............................................. 10-10 Data No. (Explanation of positioning terms)
.......................................................... Appendix-73
Condition target ( Da.15 ) ............................ 5-84
Data transmission process ..............................7-6
Conditional JUMP ....................................... 9-111
Deceleration curve.......................................12-96
Configuration and roles of QD75 memory...... 7-2
Deceleration curve re-processing ...............12-96
Confirming the current value......................... 9-16
Deceleration curve continuation ..................12-96
Confirming the installation and wiring........... 4-14
Deceleration ratio (Explanation of positioning
Connection confirmation ............................... 4-14
terms) ............................................... Appendix-73
Connector ........................................................ 4-3
Deceleration start flag ( Md.48 )..................5-108
Continuous operation interrupt program....... 6-37
Deceleration start flag valid ( Cd.41 ) .........5-110
Continuous path control .................................. 9-8
Deceleration stop ...........................................6-43
Continuous positioning control........................ 9-7
Deceleration time (Explanation of positioning
Control data area............................................. 7-3
terms) ............................................... Appendix-74
Control functions ............................................. 3-4
Deceleration time 0 ( Pr.10 ) .......................5-27
Control system ( Da.2 )................................ 5-60
Deceleration time 1 ( Pr.28 ) .......................5-36
Control system repetition counter ( Md.42 )
..................................................................... 5-108 Deceleration time 2 ( Pr.29 ) .......................5-36
Control unit (Explanation of positioning terms) Deceleration time 3 ( Pr.30 ) .......................5-36
..........................................................Appendix-72 Deceleration time No. ( Da.4 ) .....................5-60
Count method 1) machine OPR ................... 8-16
Detailed parameters 1 ...................................5-28
Count method 2) machine OPR ................... 8-18
Detailed parameters 2 ...................................5-36
CP control (Explanation of positioning terms)
Details of input signals (QD75 PLC CPU)
..........................................................Appendix-73
........................................................................3-15
Creep speed ( Pr.47 ) ................................. 5-50 Details of output signals (PLC CPU QD75)
Creep speed (Explanation of positioning terms) ........................................................................3-16
..........................................................Appendix-73 Deviation counter (Explanation of positioning
Current feed value......................................... 9-16 terms) ............................................... Appendix-74
Current feed value ( Md.20 ) ........................ 5-96 Deviation counter clear ..................................3-21
Current feed value (Explanation of positioning Deviation counter clear signal output time
terms)................................................Appendix-73 ( Pr.55 ) ........................................................5-56
Current feed value during speed control ( Pr.21 ) Deviation counter droop pulse amount .........1-11
....................................................................... 5-32 Differential driver common terminal (SG)
Current loop mode (Explanation of positioning ................................................................ 3-24, 4-3
terms)................................................Appendix-73 Differential output type (Explanation of positioning
Current speed ( Md.27 ) ............................... 5-98 terms) ............................................... Appendix-74
Digital bus connection (Explanation of positioning
Current value (Explanation of positioning terms)
terms) ............................................... Appendix-74
..........................................................Appendix-73
Disposal instructions......................................4-15
CW (Explanation of positioning terms)
DOG signal (Explanation of positioning terms)
..........................................................Appendix-73
.......................................................... Appendix-74
CW/CCW mode............................................. 5-23
DOS/V personal computer ........................... A-15
Drive unit (Explanation of positioning terms)
.......................................................... Appendix-74
Index - 3
Drive unit (Servo amplifier) ...........................A-15 External dimension drawing .......... Appendix-107
Drive unit READY.......................................... 3-21 External input/output signal ( Md.30 ) ........5-100
Drive unit READY (Explanation of positioning External I/O signal logic switching function...13-7
terms)................................................Appendix-74 External I/O signal monitor function ..............13-8
Droop pulse (Explanation of positioning terms) External regenerative brake resistor (Explanation
..........................................................Appendix-75 of positioning terms) ........................ Appendix-76
Dwell time (Explanation of positioning terms)
..........................................................Appendix-75 [F]
Dwell time (JUMP destination positioning data F (Explanation of positioning terms)
No.) ( Da.9 ).................................................. 5-70 .......................................................... Appendix-76
Dwell time during OPR retry ( Pr.57 )......... 5-56 Fast OPR .......................................................8-20
Dynamic brake (Explanation of positioning terms) Fast OPR (Explanation of positioning terms)
..........................................................Appendix-75 .......................................................... Appendix-76
Fatal stop........................................................6-42
[E] Features of QD75 ............................................1-2
Electrical specifications ................................. 3-17 Feed pulse (Explanation of positioning terms)
Electromagnetic brake (Explanation of positioning .......................................................... Appendix-76
terms)................................................Appendix-75 Feed screw (Explanation of positioning terms)
Electronic gear (Explanation of positioning terms) .......................................................... Appendix-76
..........................................................Appendix-75 Feedback pulse (Explanation of positioning terms)
Electronic gear function............................... 12-13 .......................................................... Appendix-76
Emergency stop ............................................ 6-42 Feedrate ( Md.22 ) ........................................5-96
Emergency stop (Explanation of positioning terms) Fixed-feed (Explanation of positioning terms)
..........................................................Appendix-75 .......................................................... Appendix-77
Encoder (Explanation of positioning terms) Flash memory (Explanation of positioning terms)
..........................................................Appendix-75 .......................................................... Appendix-77
Error and warning details .............................. 15-2 Flash ROM .......................................................7-2
Error compensation method ....................... 12-14 Flash ROM write program .............................6-23
Error correction (Explanation of positioning terms) Flash ROM write request ( Cd.1 ) ..............5-110
..........................................................Appendix-76
Flat type motor (Pancake motor) (Explanation of
Error detection signal .................................... 3-15
positioning terms)............................. Appendix-77
Error history ................................................... 5-92
Flow of all processes .....................................1-15
Error history pointer ( Md.13 ) ...................... 5-92
Flow of system operation...............................1-15
Error judgement ( Md.7 ).............................. 5-90
FLS signal (Explanation of positioning terms)
Error reset (Explanation of positioning terms)
.......................................................... Appendix-77
..........................................................Appendix-76
Forced stop ....................................................6-42
Error reset program....................................... 6-23
Front-loading speed switching mode ............9-13
Execution data backup function.................... 13-5
Functions for compensating the control ......12-11
Execution prohibition flag.............................. 3-14
Functions to change the control details ......12-34
External command signal.............................. 3-21
Functions to limit the control........................12-21
External command function selection ( Pr.42 ) Function version................................. Appendix-2
....................................................................... 5-42
External command function valid setting program [G]
....................................................................... 6-12 G code (Explanation of positioning terms)
External command valid ( Cd.8 ) ............... 5-114 .......................................................... Appendix-77
External device connector............................... 4-3 Gain (Explanation of positioning terms)
.......................................................... Appendix-77
Index - 4
2
GD (Explanation of positioning terms) Interpolation speed designation method ( Pr.20 )
..........................................................Appendix-77 ........................................................................5-32
General configuration of program................. 6-11 Interruption request during continuous operation
General image of system ................................ 2-2
( Cd.18 ) ......................................................5-120
GX Configurator-QP...............................A-15, 2-4
Inverter (Explanation of positioning terms)
GX Developer ................................................A-15
.......................................................... Appendix-79
[H]
[J]
Handling precautions ...................................... 4-5
JOG (Explanation of positioning terms)
Hardware stroke limit function .................... 12-32
.......................................................... Appendix-79
High-level positioning control........................ 10-2
JOG operation................................................11-4
[I] JOG operation acceleration time selection
Immediate stop.............................................. 6-43 ( Pr.32 ) ........................................................5-36
In speed change processing flag ( Md.40 ) JOG operation deceleration time selection
..................................................................... 5-106 ( Pr.33 ) ........................................................5-36
In speed control flag.................................... 5-102 JOG operation setting program.....................6-19
In speed control flag ( Md.39 ) ................... 5-106 JOG operation start time chart ....................11-11
JOG operation timing and processing times
In test mode flag ( Md.1 ) ............................. 5-86
........................................................................11-6
Inching movement amount ( Cd.16 )......... 5-120
JOG speed ( Cd.17 ) ..................................5-120
Inching operation setting program ................ 6-19
JOG speed limit value ( Pr.31 )...................5-36
Inching operation start time chart ............... 11-23
Inching operation timing and processing times JOG start signal .............................................3-16
..................................................................... 11-19 JUMP instruction..........................................9-111
Inching operation......................................... 11-17
Incremental encoder (Explanation of positioning [K]
terms)................................................Appendix-78 kPPS (Explanation of positioning terms)
Incremental system ....................................... 9-15 .......................................................... Appendix-79
Incremental system (Explanation of positioning
terms)................................................Appendix-78 [L]
Independent positioning control...................... 9-6 Last executed positioning data No. ( Md.46 )
Inertia (Explanation of positioning terms) ......................................................................5-108
..........................................................Appendix-78 LED display functions ..................................15-38
Initialization program ..................................... 6-24 LEND............................................................9-114
Input signal logic selection ( Pr.22 ) ........... 5-32 Limit switch (Explanation of positioning terms)
Input terminal (Explanation of positioning terms) .......................................................... Appendix-79
..........................................................Appendix-79 Linear interpolation (Explanation of positioning
Input/output interface internal circuit............. 3-22 terms) ............................................... Appendix-80
Intentional stop .............................................. 6-42 List of block start data....................................5-74
Interlock (Explanation of positioning terms) List of condition data......................................5-80
..........................................................Appendix-79 List of configuration devices ............................2-4
Internal circuit ................................................ 3-22 List of control data........................................5-110
Internal current consumption .......................... 3-3 List of dedicated instructions .........................14-2
Interpolation axis ........................................... 9-21 List of devices used .........................................6-5
Interpolation control....................................... 9-21 List of errors ...................................................15-6
Interpolation operation (Explanation of positioning List of functions ................................................3-4
terms)................................................Appendix-79 List of input/output signal details ...................3-20
Index - 5
List of input/output signals ............................ 3-14 processing times ..........................................11-29
List of monitor data........................................ 5-86 Master axis (Explanation of positioning terms)
List of parameters.......................................... 5-20 .......................................................... Appendix-80
List of positioning data .................................. 5-58 Max. connection distance ................................3-3
List of warnings ........................................... 15-32 Max. output pulse.............................................3-3
Load inertia ratio (Explanation of positioning Mechanism of positioning control....................1-7
terms)................................................Appendix-80 Monitor data area.............................................7-3
LOOP........................................................... 9-113 Movement amount after near-point dog ON
Lower limit signal........................................... 3-20 ( Md.34 ) ......................................................5-104
Low-inertia motor (Explanation of positioning
Movement amount per pulse ( Pr.2 to Pr.4 )
terms)................................................Appendix-80
........................................................................5-20
[M] Movement amount per pulse (Explanation of
M code (Condition data No., No. of LOOP to positioning terms)............................. Appendix-81
LEND repetitions) ( Da.10 ) ......................... 5-70 Movement amount per rotation ( Pr.3 ).......5-20
Index - 6
NOP instruction ........................................... 9-110 OPR parameter (Explanation of positioning terms)
Normal start ................................................... 10-8 .......................................................... Appendix-82
OPR request ....................................................8-2
[O] OPR request (Explanation of positioning terms)
OP (Explanation of positioning terms) .......................................................... Appendix-83
..........................................................Appendix-82 OPR request flag .........................................5-102
OP address ( Pr.45 )................................... 5-48 OPR request flag OFF request ( Cd.19 )
OP shift amount ( Pr.53 ) ............................ 5-56 ......................................................................5-122
OP shift function ............................................ 12-8 OPR retry ( Pr.48 ).......................................5-50
OP shift function (Explanation of positioning terms) OPR retry function .........................................12-4
..........................................................Appendix-82 OPR speed ( Pr.46 )....................................5-48
Operating principle .......................................... 1-7
OPR torque limit value ( Pr.54 )
Operation pattern ( Da.1 )............................ 5-60
........................................................................5-56
Operation pattern (Explanation of positioning
Order of priority for stop process...................6-44
terms)................................................Appendix-82
Outline design of positioning system...............1-9
Operation patterns........................................... 9-5
Outline of installation, wiring and maintenance
Operation timing and processing time during
..........................................................................4-2
position-speed switching control................. 9-100
Outline of OPR control.....................................8-2
Operation timing and processing time during
Outline of restarting........................................1-21
speed-position switching control (ABS mode)
Outline of starting...........................................1-18
....................................................................... 9-93
Outline of stopping .........................................1-20
Operation timing and processing time during
Output signal logic selection ( Pr.23 ) .........5-32
speed-position switching control (INC mode)
....................................................................... 9-85 Output terminal (Explanation of positioning terms)
Operation timing and processing time of fast OPR .......................................................... Appendix-83
....................................................................... 8-21 Override function..........................................12-41
Override function (Explanation of positioning
OPR acceleration time selection ( Pr.51 ).. 5-54
terms) ............................................... Appendix-83
OPR basic parameters.................................. 5-46
Override program...........................................6-20
OPR complete flag ...................................... 5-102
OPR deceleration time selection ( Pr.52 ).. 5-54 [P]
OPR detailed parameters ............................. 5-54 P rate (Explanation of positioning terms)
OPR direction ( Pr.44 ) ............................... 5-48 .......................................................... Appendix-83
Index - 8
• External command function valid setting Reference axis speed (Explanation of positioning
program .................................................. 6-17 terms) ............................................... Appendix-86
• Flash ROM write program....................... 6-23 Regeneration brake option (Explanation of
• Inching operation setting program .......... 6-19 positioning terms)............................. Appendix-86
• JOG operation setting program .............. 6-19 Relatively safe stop........................................6-42
• JOG operation/inching operation execution Repeated start (FOR condition) ..................10-14
program .................................................. 6-19 Repeated start (FOR loop) ..........................10-13
• M code OFF program.............................. 6-19 Resolver (Explanation of positioning terms)
• Manual pulse generator operation program .......................................................... Appendix-86
................................................................ 6-20 Restart command ( Cd.6 )..........................5-112
• OPR request OFF program .................... 6-17 Restart operation ...........................................6-39
• Override program .................................... 6-20 Restart program .............................................6-39
• Parameter initialization program............. 6-22 RLS signal (Explanation of positioning terms)
• PLC READY signal [Y0] ON program .... 6-17 .......................................................... Appendix-86
• Positioning start No. setting program ..... 6-17 Rotary table...................................... Appendix-86
• Positioning start program ........................ 6-18
Rotation direction setting ( Pr.6 ) ................5-22
• Restart program ...................................... 6-22
• Skip program ........................................... 6-21
[S]
• Speed change program .......................... 6-20
S-curve acceleration/deceleration
• Step operation program .......................... 6-21
.......................................................... Appendix-86
• Stop program........................................... 6-23
SERIAL No. .............................. 1-22, Appendix-2
• Target position change program............. 6-21
Servo amplifier (Explanation of positioning terms)
• Teaching program ................................... 6-21
.......................................................... Appendix-86
• Torque change program ......................... 6-21
Servo lock (Explanation of positioning terms)
PTP control (Explanation of positioning terms)
.......................................................... Appendix-87
..........................................................Appendix-85
Servo ON (Explanation of positioning terms)
Pulse (Explanation of positioning terms)
.......................................................... Appendix-87
..........................................................Appendix-85
Servomotor (Explanation of positioning terms)
Pulse generator (Explanation of positioning terms)
.......................................................... Appendix-87
..........................................................Appendix-85
Setting data ......................................................5-2
Pulse output mode ( Pr.5 ).......................... 5-22 Setting for the movement amount after near-point
Pulse output mode (Explanation of positioning dog ON ( Pr.50 ) ..........................................5-54
terms)................................................Appendix-85
Setting items for block start data ...................5-10
Purpose and applications of positioning control
Setting items for condition data .....................5-11
......................................................................... 1-5
Setting items for OPR parameters
..........................................................................5-6
[Q]
Setting items for positioning data ....................5-7
QD75 .............................................................A-15
Setting items for positioning parameters.........5-4
QD75 READY signal..................................... 3-15
Setting the positioning data ...........................9-25
Setting the torque limit function ...................12-25
[R]
Setting unit (Explanation of positioning terms)
READY (Explanation of positioning terms)
.......................................................... Appendix-87
..........................................................Appendix-86
SFC (Explanation of positioning terms)
Real-time AUTO tuning (Explanation of positioning
.......................................................... Appendix-87
terms)................................................Appendix-86
Shape ( Da.11 ) ............................................5-77
Reference axis .............................................. 9-21
Reference axis speed ................................... 5-33
Index - 9
Signal layout of connector............................. 3-19 Special start data instruction parameter setting
Signal name................................................... 3-14 value ( Md.37 ) ............................................5-106
Signals
Special start repetition counter ( Md.41 ) ...5-108
• Axis stop signal ....................................... 3-16
Specifications of input/output interfaces .......3-17
• BUSY signal ............................................ 3-15
Specifications of input/output signals ............3-14
• Error detection signal .............................. 3-15
Speed change 0 flag....................................5-102
• Execution prohibition flag signal ............. 3-16
Speed change function................................12-34
• JOG start signal....................................... 3-16
Speed change program .................................6-20
• M code ON signal.................................... 3-15
• PLC READY signal ................................ 3-16 Speed change request ( Cd.15 )................5-118
• Positioning complete signal .................... 3-15 Speed control (Explanation of positioning terms)
• Positioning start signal ............................ 3-16 .......................................................... Appendix-88
• QD75 READY signal............................... 3-15 Speed designation during OP shift ( Pr.56 )
• Start complete signal............................... 3-15 ........................................................................5-56
• Synchronization flag signal ..................... 3-15 Speed integral compensation (Explanation of
Simultaneous start....................................... 10-12 positioning terms)............................. Appendix-88
Simultaneous starting axis start data No. (Axis 1 Speed limit function .....................................12-21
start data No.) ( Cd.30 ) ............................. 5-128 Speed limit value ( Pr.8 ).............................5-26
Simultaneous starting axis start data No. (Axis 2 Speed limit value (Explanation of positioning
start data No.)( Cd.31 ) .............................. 5-128 terms) ............................................... Appendix-88
Simultaneous starting axis start data No. (Axis 3 Speed loop gain (Explanation of positioning terms)
start data No.)( Cd.32 ) .............................. 5-128 .......................................................... Appendix-88
Speed loop mode (Explanation of positioning
Simultaneous starting axis start data No. (Axis 4
terms) ............................................... Appendix-88
start data No.)( Cd.33 ) .............................. 5-128
Speed-position function selection ( Pr.150 ) ..5-34
Skip command ( Cd.37 ) ............................ 5-130 Speed switching mode ( Pr.19 )..................5-32
Skip function ................................................ 12-63 Speed-position switching control (ABS mode)
Skip function (Explanation of positioning terms) ........................................................................9-90
..........................................................Appendix-87 Speed-position switching control (INC mode)
Skip program ................................................. 6-14 ........................................................................9-82
Slave axis (Explanation of positioning terms) Speed–position switching control (Explanation of
..........................................................Appendix-87 positioning terms)............................. Appendix-88
Slot................................................................... 2-5 Speed-position switching control movement
Software stroke limit lower limit value ( Pr.13 )
amount change register ( Cd.23 ) ..............5-124
....................................................................... 5-28
Speed-position switching control positioning
Software stroke limit selection ( Pr.14 ) ...... 5-28
Software stroke limit upper limit value ( Pr.12 ) amount ( Md.29 ).........................................5-100
....................................................................... 5-28 Speed-position switching enable flag ( Cd.24 )
Software stroke limit valid/invalid setting ( Pr.15 ) ......................................................................5-124
....................................................................... 5-28 Speed-position switching latch flag .............5-102
S-curve acceleration/deceleration processing Speed-position switching signal ....................3-21
method......................................................... 12-85 Speed-position switching control mode
S-curve ratio ( Pr.35 ).................................. 5-38 (Explanation of positioning terms)... Appendix-88
Special start instruction ( Da.13 ) ................ 5-77 Spiral interpolation .........................................9-60
Standard speed switching mode ...................9-12
Special start data instruction code setting value
Start Hour ( Md.5 ) ........................................5-88
( Md.36 )...................................................... 5-106
Index - 10
Start complete (Explanation of positioning terms) Stop group 3 sudden stop selection ( Pr.39 )
..........................................................Appendix-88 ........................................................................5-38
Start complete signal..................................... 3-15 Stop process ..................................................6-42
Start data No. ( Da.12 )................................ 5-77 Stop program .................................................6-42
Start data pointer being executed ( Md.43 ) Stop settling time (Explanation of positioning
..................................................................... 5-108 terms) ............................................... Appendix-89
Start details setting program ......................... 6-25 Stop signal .....................................................3-21
Start history ................................................... 5-88 STOP signal (Explanation of positioning terms)
Start history pointer ( Md.8 ) ........................ 5-90 .......................................................... Appendix-89
Stop with stopper (Explanation of positioning
Start information ( Md.3 ) ............................. 5-88
terms) ............................................... Appendix-89
Start Minute: second ( Md.6 )....................... 5-88 Stopper method 1) machine OPR ...................8-8
Start No. ( Md.4 ).......................................... 5-88 Stopper method 2) machine OPR .................8-11
Start positioning data No. setting value ( Md.38 ) Stopper method 3) machine OPR .................8-14
Stroke (Explanation of positioning terms)
..................................................................... 5-106
.......................................................... Appendix-89
Start program................................................. 6-27
Stroke limit (Explanation of positioning terms)
Start program for high-level positioning control
.......................................................... Appendix-90
..................................................................... 10-23
Sub functions .................................................12-2
Starting axis (Explanation of positioning terms)
Sub functions specifically for machine OPR
..........................................................Appendix-88
........................................................................12-4
Status ( Md.31 ) .......................................... 5-102
Sudden stop ...................................................6-43
Status (Explanation of positioning terms) Sudden stop (Explanation of positioning terms)
..........................................................Appendix-88 .......................................................... Appendix-90
Step function................................................ 12-58 Sudden stop deceleration time ( Pr.36 ) .....5-38
Step function (Explanation of positioning terms)
Synchronization flag (X1) ..............................3-15
..........................................................Appendix-88
System control data .....................................5-110
Step mode ................................................... 12-59
System monitor data......................................5-86
Step mode ( Cd.34 )................................... 5-128
Step operation program ................................ 6-21 [T]
Step out (Explanation of positioning terms) Tact time.......................................................12-87
..........................................................Appendix-89 Target position change function ..................12-77
Step start information .................................. 12-59 Target position change request flag ( Cd.29 )
Step start information ( Cd.36 ) ................. 5-130 ......................................................................5-126
Step valid flag ( Cd.35 ) ............................. 5-128 Target position change value (new address)
Stepping motor (Explanation of positioning terms) ( Cd.27 ) ......................................................5-126
..........................................................Appendix-89 Target position change value (new speed)
Stop cause..................................................... 6-42 ( Cd.28 ) ......................................................5-126
Stop command processing for deceleration stop
Target speed ( Md.33 ) ...............................5-104
function ........................................................ 12-96
Stop command processing for deceleration stop Target value ( Md.32 ).................................5-102
selection ( Cd.42 )....................................... 5-110 Teaching (Explanation of positioning terms)
.......................................................... Appendix-90
Stop group 1 sudden stop selection ( Pr.37 )
Teaching data selection ( Cd.38 ) ..............5-130
....................................................................... 5-38 Teaching function.........................................12-70
Stop group 2 sudden stop selection ( Pr.38 ) Teaching positioning data No. ( Cd.39 ).....5-130
....................................................................... 5-38
Index - 11
Teaching program ......................................... 6-21 Unit setting (Explanation of positioning terms)
Time chart .......................................................... Appendix-91
• Inching operation start time chart ......... 11-23 Upper limit signal ...........................................3-20
• JOG operation start time chart.............. 11-11
• Time chart for changing the speed from the [V]
PLC CPU .............................................. 12-37 Valid M code ( Md.25 )..................................5-98
• Time chart for changing the speed using an
external command signal ..................... 12-39 [W]
• Time chart for changing the speed using the Wait start ......................................................10-11
override function................................... 12-42 Warning (Explanation of positioning terms)
• Time chart for restarting.......................... 6-41 .......................................................... Appendix-91
• Time chart for starting "fast OPR" .......... 6-31 Warning history ..............................................5-94
• Time chart for starting "machine OPR" .. 6-30 Warning history pointer ( Md.18 ) .................5-94
• Time chart for starting "major positioning Window (Explanation of positioning terms)
control".................................................... 6-32 .......................................................... Appendix-91
• Time chart for starting "position-speed Writing to the Flash ROM ..............................13-6
switching control".................................... 6-33 WITH mode..................................................12-66
• Time chart for starting "speed-position WITH mode (Explanation of positioning terms)
switching control".................................... 6-32 .......................................................... Appendix-91
• Time chart for starting with external command Workpiece ..................................................... A-15
signal....................................................... 6-36
Torque change function .............................. 12-48 [X]
Torque change program ............................... 6-21 X0 (QD75 READY) ........................................3-15
Torque control (Explanation of positioning terms) X1 (Synchronization flag) ..............................3-15
..........................................................Appendix-90 XY table (Explanation of positioning terms)
Torque limit function.................................... 12-23 .......................................................... Appendix-91
Torque limit setting value ( Pr.17 ) ............. 5-31
[Z]
Torque limit stored value ( Md.35 ) ............ 5-104 Z.ABRST1 ......................................................14-3
Torque loop mode (Explanation of positioning Z.ABRST2 ......................................................14-3
terms)................................................Appendix-90 Z.ABRST3 ......................................................14-3
Torque ripple (Explanation of positioning terms) Z.ABRST4 ......................................................14-3
..........................................................Appendix-90 Zero signal (Explanation of positioning terms)
Tracking function (Explanation of positioning .......................................................... Appendix-91
terms)................................................Appendix-90 ZP.PFWRT.....................................................14-2
Turntable (Explanation of positioning terms) ZP.PINIT.........................................................14-2
..........................................................Appendix-91 Z phase (Explanation of positioning terms)
Types and roles of control data .................... 5-16 .......................................................... Appendix-91
Types and roles of monitor data ................... 5-12 ZP.PSTRT1....................................................14-8
Types of data................................................... 5-2 ZP.PSTRT2....................................................14-8
Types of errors .............................................. 15-2 ZP.PSTRT3....................................................14-8
Types of stop processes ............................... 6-43 ZP.PSTRT4....................................................14-8
Types of warnings ......................................... 15-3
[U]
Unconditional JUMP.................................... 9-111
Unit magnification ( Pr.4 ) ........................... 5-20
Unit setting ( Pr.1 ) ...................................... 5-20
Index - 12
WARRANTY
Please confirm the following product warranty details before using this product.
3. Overseas service
Overseas, repairs shall be accepted by Mitsubishi's local overseas FA Center. Note that the repair conditions at each FA
Center may differ.
6. Product application
(1) In using the Mitsubishi MELSEC programmable logic controller, the usage conditions shall be that the application will
not lead to a major accident even if any problem or fault should occur in the programmable logic controller device, and
that backup and fail-safe functions are systematically provided outside of the device for any problem or fault.
(2) The Mitsubishi programmable logic controller has been designed and manufactured for applications in general
industries, etc. Thus, applications in which the public could be affected such as in nuclear power plants and other
power plants operated by respective power companies, and applications in which a special quality assurance system
is required, such as for Railway companies or Public service purposes shall be excluded from the programmable logic
controller applications.
In addition, applications in which human life or property that could be greatly affected, such as in aircraft, medical
applications, incineration and fuel devices, manned transportation, equipment for recreation and amusement, and
safety devices, shall also be excluded from the programmable logic controller range of applications.
However, in certain cases, some applications may be possible, providing the user consults their local Mitsubishi
representative outlining the special requirements of the project, and providing that all parties concerned agree to the
special circumstances, solely at the users discretion.
Microsoft Windows, Windows NT, Windows Vista are registered trademarks of Microsoft Corporation in the
United States and other countries.
Other company and product names herein may be either trademarks or registered trademarks of their
respective owners.
SH (NA)-080058-J