GFGFDGDFG
GFGFDGDFG
Logic Controller
Training Manual
QD75 Positioninge(Q-series)
cours
SAFETY PRECAUTIONS
(Always read these instructions before the exercise.)
When designing the system, always read the relevant manuals and give sufficient consideration to safety.
During the exercise, pay full attention to the following points and handle the product correctly.
[EXERCISE PRECAUTIONS]
WARNING
Do not touch the terminals while the power is on to prevent electric shock.
When opening the safety cover, turn off the power or conduct a sufficient check of safety before operation.
Caution
Follow the instructor's direction during the exercise.
Do not remove the module of the demonstration machine or change wirings without permission.
Doing so may cause failures, malfunctions, personal injuries and/or a fire.
When the demonstration machine (X/Y table, etc.) emits abnormal odor/sound, press "Power switch" or
"Emergency switch" to turn off.
A-1
Print Date * Textbook Number Revision
Jan., 2006 SH-080621ENG-A First edition
This textbook 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 textbook.
© 2006 MITSUBISHI ELECTRIC CORPORATION
A-2
CONTENTS
A-3
CHAPTER 4 TYPES AND FUNCTIONS OF SETTING DATA 4- 1 to 4-44
This textbook is a school textbook that allows you to easily understand the 1-axis and
multiple axes control by the positioning module of MELSEC-Q series.
For a good understanding of the QD75 positioning module features, this textbook
describes the data settings for positioning, the sequence program creating method, the
monitoring operation and the test operation by using the QD75D4 positioning module
and the Windows version (QD75P, GPPW) software packages for a demonstration
machine. As this textbook avoids any mention of the advanced positioning control (block
start, etc.), refer to the user's manual for them.
(4) Servo
MR-H□AN Instruction Manual ................................................................... SH(NA)-3190
MR-J2-03A5 Instruction Manual ............................................................... SH(NA)-3200
MR-J2S-□A Instruction Manual............................................................. SH(NA)-030006
MR-C□A Instruction Manual...................................................................... SH(NA)-3167
Servo Motor Instruction Manual ................................................................ SH(NA)-3181
MEMO
CHAPTER1 PRODUCT OUTLINE
(b) For connecting any of the QD75 modules to the base unit, a single slot and
32 I/O points are required.
Within the limit imposed by the maximum I/O points of the PLC CPU, up to
64 modules can be used.
(b) For each positioning data, the user can specify any of the following control
methods: position control, fixed-feed control, speed control, speed-position
switching control, position-speed switching control, and so on.
1-1
(d) Two acceleration/deceleration methods (selectable by users) are
provided: automatic trapezoidal acceleration/deceleration and S-curve
acceleration/deceleration. (The S-curve acceleration/deceleration control is
disabled if stepping motors are used.)
(4) Faster pulse output and longer maximum distance to drive unit
The differential driver type modules (QD75D1, QD75D2 and QD75D4)
incorporate the following improvements in the pulse output speed and the
maximum distance to the drive unit.
• For the differential driver type module, QD75D1/QD75D2/QD75D4:
1 Mpulse/s, 10m max.
• For the open collector type, QD75P1/QD75P2/QD75P4:
200 kpulse/s, 2m max. (For the differential driver type module AD75: 400
kpulse/s, 10m max.)
(a) Data such as the positioning data and parameters can be stored on a flash
ROM inside the QD75, eliminating the need of a battery for retaining data.
(b) Error contents are classified in more detail to facilitate the initial
fault diagnosis.
(c) The module retains 16 error data and 16 warning data, offering
easier confirmation of error and warning histories.
(7) Support of setting, monitoring and testing with a software package for
positioning Using a software package for positioning (SW D5C-QD75P), the
user can set the QD75 parameters and positioning data without considering the
buffer memory addresses.
Moreover, the software package has a test function which allows the user to
check the wiring before creating a sequence program for positioning control, or to
test the QD75 using set parameters and positioning data for checking their
integrity.
The control monitor function allows the user to debug programs efficiently.
1.1.2 Purpose and applications of positioning control
Palletizer
• Using the 1-axis servo,
Conveyor control
Conveyor
the palletizer is positioned
Servomotor
at a high accuracy.
(with a brake) • The amount to lower the
Position detector
Reduction
palletizer according to the
Palletizer
Servo amplifier gears material thickness is
Ball screw Unloader control
saved.
(From QD75)
QD75
Unloader
• For the aging process,
Loader/unloader CRTs are stored onto the
rack by positioning with the
Conveyor B
Aging rack AC servo.
Lifter • The lifter is vertically
Conveyor C
Servo amplifier positioned with the 1-axis
Conveyor A
Counterweight
servo, and the aging rack is
Reduction horizontally positioned with
gears QD75
Loader
Servomotor
the 2-axis servo.
Servomotor
(with brakes)
Servo amplifier
Index table
Detector
Worm gear
servomotor
Positioning control using the QD75 is carried out with "pulse signals". (The QD75 is a
pulse-generating module.)
In the positioning system using the QD75, software packages for the QD75 and the
GPP functions and external devices are used as shown in the diagram below.
Controlled by a PLC CPU, the QD75 realizes complicated positioning control, by
reading in various signals, parameters and positioning data.
Outputs the start and stop signals according to the stored program.
Detects errors occurred in the QD75.
Creates control sequences and conditions as
a sequence program.
Inputs signals such as the start signal,stop signal, limit signal and control switch signal to the QD75.
External signal
S/W package for QD75 QD75 Transmits pulses.
positioning module
Manual pulse generator
Servo amplifier
Motor
Workpiece
(1) Principe of position commands
The total No. of pulses required to move the designated distance is obtained in
the following manner.
No. of pulses required
Designated x for motor to rotate once
Total No. of pulses required to distance
=
move designated distanceMachine (load) side moving distance for each motor rotation
*The No. of pulses required for the motor to rotate once is the
"encoder resolution" shown in the motor catalog specifications.
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 moving amount produced by outputting one pulse to the servo
amplifier is called the "moving amount per pulse". This value is the minimum value for
the workpiece motion, and represents the electrical positioning accuracy.
A speed command is controlled by the frequency of pulses output from the QD75
to a drive unit.
Detector
ta tb tc (s)
Speed = Pulses frequency
Moving distance = No.of pulsesPulses generated by detector 0.4 1.2 0.4
POINT
The QD75 controls positions with "total No. of pulses” and speeds with "pulse frequency".
1.1.4 Outline design of positioning system
The outline of the positioning system operation and design, using the QD75, is
shown below.
Speed
command Servo
D/A converter
ProgramRead, write, etc. Deviation counter amplifier M
Reverse run pulse train
Setting data
Peripheral Interface
devicesRead, write, etc. interface
PG
Feedback pulse
Read, write, etc.
SWD5C-QD75P
Personal computer
Fig. 1.2 Outline of the operation of positioning system using QD75
2) The motor rotation is controlled by the speed control signal from the
drive unit.
As the motor rotates, the pulse generator (PG) attached to the motor
generates feedback pulses, the frequency of which is proportionate to
the rotation speed.
The feedback pulses are fed back to the drive unit and decrements the
pulse droop, the pulse count maintained by the deviation counter.
The motor keeps on rotating as the pulse droop is maintained at a
certain level.
3) After the QD75 terminates the output of a pulse train, the motor
decelerates as the pulse droop decreases, and stops when the count
drops to zero.
Thus, the motor rotation speed is proportionate to the command pulse
frequency, while the overall motor rotation angle is proportionate to the
total number of command pulses output by the QD75.
Therefore, when a movement amount per pulse is given, the overall
movement amount can be determined by the number of pulses in the
pulse train.
The pulse frequency, on the other hand, determines the motor rotation
speed (feed speed).
(b) Pulse train output from the QD75
1) As shown in Fig. 1.3, the pulse frequency increases as the motor
accelerates. The pulses are sparse when the motor starts and more
frequent when the motor speed comes close to the target speed.
2) The pulse frequency stabilizes when the motor speed equals the target
speed.
3) The QD75 decreases the pulse frequency (sparser pulses) to decelerate
the motor before it finally stops the output.
There will be a little time delay between the decrease in the pulse
frequency and the actual deceleration and stopping of the motor.
This difference, called "the stop settling time", is required for gaining a
stopping accuracy.
Sp
Servomotor speed
ee
d Pulse droop amountPulse
V distribution
L [mm/pulse]
A=
R n
V [Pulse/s]
Vs =
A
Vs [Pulse]
= K
(b) The QD75 allows the user to select from the following four units as the unit
used by positioning commands to any of axes (1 to 4, if the module supports
four axes): mm, inch, degree, and pulse.
The unit selected for one axis can be different from the unit selected for
another axis.
When data such 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 the pulse train
of the calculated number of pulses.
1.1.5 Communicating signals between QD75 and each module
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
PLC READY signal Drive unit READY signal
Y0
QD75 READY signal Upper/lower limit signal
X0 External
Synchronization flag Near-point dog signal signal
X1
Forward run JOG start signal Zero signal Drive unit
Y8,YA,YC,YE
Reverse run JOG start signal
Y9,YB,YD,YF
Ex
ter Deviation counter clear
na
l Pulse train
int
erf
Positioning start signal ac
Y10,Y11,Y12,Y13 Manual pulse generator A-phase
Manual pulse
Positioning complete signal Manual pulse generator B-phase generator
X14,X15,X16,X17
Stop signal
BUSY signal External
XC,XD,XE,XF External command signal
X10,X11,X12,X13 Start complete signal signal
Data write/read
Parameter write/read
Positioning data write/read
Pe Block start data write/read
rip
he
OPR operation (test)
ral
JOG operation (test), Inching operation
de
vic Positioning operation (test)
e
int Operation monitor
erf
ac
e
Peripheral device
1.2 Flow of System Operation
The positioning control processes, using the QD75, are shown below.
System design
(1)
Design
Installation, wiring
(2)
(3) (4)
Setting of: Creating sequence
· Parameters program for operation
Preparation
· Positioning data
Writing program
Writing setting (6)
data
(5)
(8)
Operation
Actual Monitoring
Monitoring operation
(9)
Maintenance
(10) Maintenance
The following operations are performed for the processes shown on the previous
page.
Description Reference
1) Understand the product functions and usage,
and related devices and specifications required
for positioning control, to determine the
operation
method and design the system.
2) Install the QD75 onto the base unit, wire the • QD75 User's Manual
(Details)
QD75 and external devices (drive unit, etc.), and
connect the PLC CPU to peripheral devices.
3) Using the S/W package for the QD75, set • S/W Package for QD75
parameters and positioning data required for the Operating Manual
positioning control to be executed.
4) Using the GPP function S/W package, create a • GPP Function S/W
sequence program required for positioning Package Operating Manual
operation.
5) Write the parameters and positioning data, etc., • S/W Package for QD75
created with the S/W package into the QD75. Operating Manual
6) Using the GPP function S/W package, write the • GPP Function S/W
created sequence program into the PLC CPU. Package Operating Manual
7) Check the connection between the QD75 and • S/W Package for QD75
external devices, and test the system to check Operating Manual
whether the designated positioning operation
is
executed correctly.
8) Carry out test operation to confirm that the • GPP Function S/W
designated positioning operation is executed Package Operating Manual
correctly.
9) Actually operate the positioning operation. At • QD75 User's Manual (Details)
this time, monitor the operation state as • S/W Package for QD75
required. If an error or warning occurs, take Operating Manual
corrective actions. • GPP Function S/W
Package Operating Manual
10) Inspect and service the QD75 as required. • QD75 User's Manual
1.2.2 Outline for start
The outline for starting each control is shown in the following flowchart.
* The following chart is made on the premise that each module installation and
required system configuration has been completed.
Position control Speed control Speed-position switching control Position-speed switching control Other
OPRcontrol
control JOG operation
Inching operation
Positioning parameters
Set the positioning parameters.
OPR
parameters
Set the OPR parameters.
Positioning
Set the positioning data.
data
Control data Set the positioning start No. Set the manual pulse generator enable flag to "1".
Set the JOG speed.
Set theamount
Set the inching movement pulse input
to 0.magnification for the manual pulse generator.
Input the start signal. Turn the QD75Operate the JOG start signal ON frommanual pulse the PLC CPU.generator.
Method (1) Turn ON the QD75 start signal from the PLC CPU. Method (2) Execute the PSTRT instruction from the PLC CPU. Method (3) Turn the QD75 external start signal ON.
Start signal
Control start
Operation
Control end
Stop
Setting method
: Indicates the sequence program that must be created.
<SW D5C-QD75P>
Write
Set parameters and positioning data for executing main functions.
Write QD75
PLC CPU
<GPPW>
* Create sequence program by which control signals, such as start signal, are output to QD75.
Write
PLC CPU
<GPPW>
Speed change
Current value changingCreate a sequence program
Torque limitfor the sub functions.
Restart, etc.
1.2.3 Outline for stop
The outline for the stop processing in these cases is shown below.
(Excluding (1), the case of normal stop.)
Stop processing
Positioning control
Manual
OPR control
control
Axis
Stop operation
Inching operation
stop
JOG operation
Deceleration operation
Drive unit READY signal
OFF Each
Forced stop
axis
Error Immediate stop stop
ON stop
stop
Each
(Stop group 1) Error (Select from "sudden stop
axis
group1 sudden stop
selection" )
Emergency stop I/O reset Deceleration stop/sudden
Deceleration
All
(Stop group 2) Error in test mode Error (Select from "sudden stop
axes
group2 sudden stop
selection" )
Relatively safe Axis error detection (Error
Deceleration stop
When a stop is caused by a stop factor during position control, the positioning can be
restarted from the stop position to the end point specified in the positioning data by
using the "restart command".
For the case of continuous positioning or continuous path control operation, the
positioning is restarted from the stop position shown in the positioning data No.
associated with the moment when the movement was stopped.
(1) If the "axis operation status" is "stop", positioning to the end point of the
positioning data will be restarted from the stop position regardless of using the
absolute system or the incremental system.
(2) When "axis operation status" is not "stop", the warning "restart not possible"
(warning code: 104) will be output, and the restart command will be ignored.
(3) The following shows the restart operation when the axis 1 movement amount is
300 and the axis 2 movement amount is 600.
Axis 1 Axis 1
Stop position (due to stop factor) 400 Stop position (due to stop factor)
400 Designated Stop position
end
(2) The circular interpolation control is not available in systems where stepping
motors are used.
(To employ the circular interpolation control, servomotors are needed for both of
two controlled axes.)
CHAPTER 2 SYSTEM CONFIGURATION
The entire system including the QD75, a PLC CPU and peripheral devices is shown
below.
Servomotor
Axis 1
Drive unitM
Pulse train
Axis 2
Drive unit M
Pulse train
Axis 3
Axis 4
Drive unitM
Pulse train
2-1
2.2 Device List
The positioning system using the QD75 is composed of the following devices.
Connectable
Model Remarks
QD75
FA-CBLQ75M2H(-P) MR-HA series (Mitsubishi Electric)
FA-CBLQ75M2J2(-P) MR-J2/J2SA series (Mitsubishi Electric)
FA-CBLQ75M2C(-P) QD75D1 MR-C series (Mitsubishi Electric)
QD75D2
FA-CBLQ75Y2 (-P) - series (YASKAWA Electric)
QD75D4
FA-CBLQ75P2A(-P) MINAS A series (MATSUSHITA Electric)
FA-CBLQ75S2PY(-P) PYO series (SANYO DENKI)
QD75P1
QD75P2 Untied wire type for the other end
QD75P4 (For connection between the QD75 and a
FA-CBLQ75G2(-P)
QD75D1 stepping motor manufactured by Oriental Motor
QD75D2
Co., Ltd.)
QD75D4
2-2
2.3 Applicable System
3-1
Table 3.1 Performance specifications (Continued)
Model QD75P1 *1 QD75P2 *1 QD75P4 *1
Item QD75D1 QD75D2 QD75D4
1-axis linear control 6
1-axis speed control 6
2-axis linear interpolation control
7
(Composite speeds)
2-axis linear interpolation control Factors in starting time extension
7 The following times will be added to the
(Reference axis speed)
2-axis circular interpolation control 7 starting time in the described conditions:
• S-curve acceleration/
Starting time (ms) 2-axis speed control 6 deceleration is selected : 0.5
3-axis linear interpolation control • Other axis is in operation : 1.5
7 • During continuous
(Composite speed)
positioning control : 0.2
3-axis linear interpolation control • During continuous path
7
(Reference axis speed) control : 1.0
3-axis speed control 6
4-axis linear interpolation control 7
4-axis speed control 7
External wiring connection 40-pin connector
system
Applicable wire size 0.3mm2 (for A6CON1), AWG#24 (for A6GON2)
Applicable connector for A6CON1, A6CON2(sold separately)
external device
QD75P1,QD75P2,QD75P4: 200kbps
Max. output pulse
QD75D1,QD75D2,QD75D4: 1Mbps
Max. connection distance QD75P1,QD75P2,QD75P4: 2m
between servos QD75D1,QD75D2,QD75D4: 10m
Internal current consumption QD75P1: 0.40A QD75P2: 0.46A QD75P4: 0.58A
(5VDC) QD75D1: 0.52A QD75D2: 0.56A QD75D4: 0.82A
No. of occupied I/O points 32 points (I/O assignment: 32 points for intelligent function module)
External dimensions 98(H) 27.4(W) 90(D)
Weight (kg) 0.15 0.15 0.16
*1: QD75P represents the open collector output system, and QD75D represents the differential
driver output system.
3-2
3.2 List of Functions
The QD75 has several functions. In this manual, the QD75 functions are categorized
and explained as follows.
2) 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.
3) 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.
Common functions
Parameter initialization function Execution data backup function I/O logic switching function
3.2.2 QD75 main functions
The outline of the main functions for positioning control with the QD75 is described
below.
(Refer to QD75 User's Manual for details on each function.)
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 input signals from the QD75 to the PLC CPU, and device Y
refers to the output signals from the PLC CPU to the QD75.
IMPORTANT
[Y1 to Y3], [Y18 to Y1F], [X2, X3], and [X18 to X1F] are used by the system, and cannot be
used by users.
If these devices are used, the operation of the QD75 will not be guaranteed.
3 – 10
3.3.2 Input/output signal timing
The following shows the Input/output signal timing at OPR, positioning operation, JOG
operation and manual pulse generator operation.
BUSY(X0C,X0D,X0E,X0F)
t1
t2
OPR operation
t3
OPR complete flag * (Axis monitor)
Note: If all signals marked with an asterisk (*) are already ON or OFF, the signals
marked with an asterisk (*) will turn ON or OFF when the positioning start signal
turns ON.
Start(Y10,Y11,Y12,Y13)
BUSY(X0C,X0D,X0E,X0F)
t1
M code ON(X4,X5,X6,X7)
(WITH mode)
t2
M code OFF request
(Axis control data)
t3
t4
Positioning operation
t5
*
Positioning complete (X14,X15,X16,X17)
t6
M code ON(X4,X5,X6,X7)
(AFTER mode)
t2
M code OFF request
(Axis control data)
*
OPR complete flag (Axis monitor)
Note: 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.
t2
Reverse run JOG
(Y9,Y0B,Y0D,Y0F)
BUSY(X0C,X0D,X0E,X0F)
t1 t4
t3
JOG operation
*
Positioning complete (X14,X15,X16,X17)
Note: 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.
ERR
AX3 AX1
AX4 AX2
AX1 AX2
AX1
The input and output signals of input/output interfaces for the QD75P1/QD75D1 are
shown below.
External wiring Pin No. Internal circuit Signal name Need for wiring *1
External command
1A5 CHG
signal
24VDC
1A6
Common COM
1A7
(+)
PULSER A+
5V
1A19 Manual pulse
(-) generator A phase
A PULSER A-
1B19
5VDC
B (+)
PULSER B+
1A20 Manual pulse
0V (-) generator B phase
PULSER B-
Manual pulse generator
(MR-HDP01)
1B20
*1: The symbols in the Need for wiring column indicate the following meanings:
• : Wiring is necessary for positioning.
• : Wiring is necessary depending on the situation.
(2) Output (For QD75P1 open collector output)
Need for
External wiring Pin No. Internal circuit Signal name
wiring *1
Deviation
1A13 CLEAR
counter clear
1A14 Common CLEAR COM
Need for
External wiring Pin No. Internal circuit Signa name
l wiring *1
Deviation
1A13 CLEAR
counter clear
1A14 Common CLEAR COM
*1: The symbols in the Need for wiring column indicate the following meanings:
• : Wiring is necessary for positioning.
• : Wiring is necessary depending on the situation.
3.5 Buffer Memory
The QD75’s buffer memory provides addresses ranging from 0 to 30099. By reading
or writing data from or to them using a sequence program, highly precise control is
realized.
2000 to 7999
8000 to 13999
Address
14000 to 19999
0 to
20000 to 25999
15 26000 to 26999
17 to 62
27000 to 27999
70 to 89
150 to 28000 to 28999
165
167 to 29000 to 29999
212
30000 to 30099
220 to
239
300 to
315
317 to
362
370 to
389
450 to
465
467 to
512
520 to
539
800 to
847
900 to
947
1000 to
1047
1100 to 1147
1200 to
1425
1500 to
1599
1600 to
1699
1700 to
1799
1800 to
1899
1900 to
1901
3 - 17
Tabl from the positioning
e data
3.4 No. which were executed
Buff when they were written.
erAxis monitor for axis 1
me
Axis monitor for axis 2
mor
y Axis monitor for axis 3 Monitor data area Initialization Read-only
conf
Axis monitor for axis 4
igur
System monitor
atio
Axis Control data for axis 1
n
Axis control data for axis 2
Axis control data for axis 3 Control data area Initialization
Basic parameter 1·2
Axis control data for axis 4
Detailed parameter 1·2
System control data
OPR parameter
Positioning data for axis 1
Basic parameter 1·2 Positioning data The data in Can be written at any time
Positioning data for axis 2
Detailed parameter 1·2 area flash ROM is
Positioning data for axis 3 (No.1 to No.600) transferred.
OPR parameter Except positioning
Positioning data for axis 4 data during starting up
Basic parameter 1·2Block start data for axis 1
Detailed parameter (including
1·2 condition data)
OPR parameter Block start data for axis 2 Block start data
The data in
(including condition data) area
Basic parameter 1·2 flash ROM is
Block start data for axis 3 (Block No. 7000
Detailed parameter (including
1·2 transferred.
condition data) to No.7004)
Block start data for axis 4
(including condition data)
OPR parameter
PLC CPU memo area CPU memo area Initialization Reading/writing
* Use of the address Nos. skipped from the above is
prohibited. If used, the system may not operate correctly.
3 - 18
3.5.2 Explanations of frequently-used buffer memory address
The following describes the buffer memory addresses which are used in the program
of school text.
For buffer memories which are not shown below, refer to the Help of SW D5C-
Item
In speed control flag
Speed-position switching latch flag
Status Command in-position flag 0
OPR request flag
OPR complete flag
Axis warning detection flag
Speed change 0 flag
OP absolute position overflow flag
OP absolute position underflow flag
Table 3.5 Frequently-used buffer memory (Continued)
Buffer Memory Address Initial
Item Remarks/Setting range
Axis 1 Axis 2 Axis 3 Axis 4 value
1500 1600 1700 1800 • Set the positioning start No. for executing the positioning
1 to 600: Positioning data No. 7000 to 7004: Block start designation
Positioning start No. designation 9002: Fast-OPR 0
9001: Machine OPR 9004: Simultaneous starting of
9003: Current value changing multiple axes
1502 1602 1702 1802 • Clears the axis error detection, axis error No., axis warning detection and
axis warning No.
• When the axis operation is in an error occurrence state, the error is cleared
Axis error reset 0
and the QD75 is returned to the waiting state.
0: Axis error reset request acceptance is completed (set by QD75)
1: Axis error reset request (Set by PLC program)
1503 1603 1703 1803 • By setting "1" when axis operation state is stopped, positioning will be
carried out again from the stopped position to the end point of the stopped
Restart command positioning data. 0
0: Restart command acceptance is completed (set by QD75)
1: Restart command (set by PLC program)
1504 1604 1704 1804 • The M code ON signal turns off.
M code OFF
0: M code OFF request acceptance is completed (set by QD75) 0
request
1: M code OFF request (set by PLC program)
1505 1605 1705 1805 • Validates or invalidates external command signals.
External command
0: Invalidates an external command. 0
valid
1: Validates an external command.
1506 1606 1706 1806 • When changing the current feed value using the start No. 9003, use this
1507 1607 1707 1807 data item to specify a new feed value.
-2147483648 to -2147483648 to 0 to 35999999 -2147483648 to
New current value 0
+2147483647 +2147483647 10-5degree +2147483647
10-1 m 10-5 inch pulse
1 to 300%
1514 1614 1714 1814 • When changing the speed, use this data item to specify a new speed. The
1515 1615 1715 1815 operation halts if you specify 0.
New speed value 0
0 to 2000000000 0 to 2000000000 0 to 2000000000 0 to 1000000
10-2 mm/min 10-3 inch/min 10-3 degree/min pulse/s
1516 1616 1716 1816 • When changing the speed, use this data item to specify a new speed.
Speed change
0: Speed change request acceptance is completed. (set by QD75) 0
request
1: Speed change request (set by PLC program)
1517 1617 1717 1817 • Use this data item to set the amount of movement by inching.
Inching movement The machine performs a JOG operation if 0 is set.
0
amount 0 to 65535 0 to 65535 0 to 65535 0 to 65535
10-1 m 10-5 inch 10-5 degree pulse
1518 1618 1718 1818 • Use this data item to store the JOG speed during JOG operation.
1519 1619 1719 1819 • When changing JOG speed during JOG operation, new JOG speed is
JOG speed stored. 0
1 to 2000000000 1 to 2000000000 1 to 2000000000 1 to 1000000
10-22mm/min 10-3 inch/min 10-3 degree/min pulse/s
1528 1628 1728 1828 • When the external command function selection is set to speed-position or
Speed-position position-speed switching request, set whether to enable the switching by the
switching enable external control switching signal (external command signal "CHG"). 0
flag 0: Disable
1: Enable
Table 3.5 Frequently-used buffer memory (Continued)
Buffer Memory Address Initial
Item Remarks/Setting range
Axis 1 Axis 2 Axis 3 Axis 4 value
1900 • Write the set details of buffer memory to the flash ROM
Writing to the flash ROM is executed when the PLC READY signal [Y0] is
Flash ROM
OFF. 0
write request
0: Flash ROM write is completed. (set by QD75)
1: Flash ROM write request (set by PLC program)
2004 8004 14004 20004 -1: The command speed setting is omitted. (current speed)
2005 8005 14005 20005 Command speed 1 to 2000000000 1 to 2000000000 1 to 2000000000 1 to 1000000 0
10-2 mm/min 10-3 inch/min 10-3 degree/min pulse/s
2006 8006 14006 20007 Positioning • Set the positioning address or movement amount.
2007 8007 14007 20006 address/movement • The setting range differs according to the control system and units. (Refer to 0
amount Section 4.3)
2008 8008 14008 20008 • When the control system is the ABS system circular interpolation, set the
2009 8009 14009 20009 sub point or center point address.
Arc address 0
• When the control system is the INC system circular interpolation, set the
distance from the start point to the sub point or center point.
<Configuration of positioning data area>
599 600
The set details of buffer memory can be checked using the HELP of SW D5C-QD75P
For the operation of the HELP of SW D5C-QD75P, refer to Section 5.6.
Setting data refers to data required for positioning control by QD75 and there are
eight types of setting data as shown below. (Block start data is not explained.)
The "Setting data" can be created for each axis and is stored in the QD75 buffer
memory.
Some types of the setting data can be changed only while the PLC READY Y0 is
OFF. Also note that writing the setting data from a peripheral device can only be
executed when the PLC CPU is in the STOP state.
* : For the block start data, refer to the QD75 User's Manual.
(1) The parameter and the OPR parameter are determined by the design of the
positioning hardware.
(2) The positioning data is determined by how the positioning machine is controlled
and operated.
(3) At the time of shipment from the factory, the initial value is set. (The initial value is
same from axis 1 to 4.)
(4) When all the memory addresses are cleared, the initial value is stored.
(5) Setting data change can be performed by the peripheral device or by the TOP or
DTOP instruction of the sequence program.
(Refer to the above chart for information on whether setting data change is
available while the PLC CPU READY Y0 is ON.)
4-1
4.1 Parameters
Four parameters are available: Basic parameters 1 and 2, detailed parameters 1 and
2.
This is basic data determined by the mechanical system to allow the QD75 to perform
the positioning control.
4-2
Unit setting
Set the unit used for defining positioning operations. Choose from the following units
depending on the type of the control target: mm, inch, degree, and pulse.
(Example) mm, inch ......X-Y table, Conveyor
(Select mm or inch depending on the machine specifications.)
degree .........Rotating body (360 degrees/rotation)
pulse ............X-Y table, Conveyor
Each axis unit can be set individually.
Workpiece
PLC Servo amplifier Servomotor
Pf
L: Worm gear lead (mm/rev)
R: Deceleration rate
n: No. of pulses from generator (pulse/rev)
Ap=n
AL=L R
When the positioning is carried out by the set "movement amount per pulse", an error
sometimes occurs between the command movement amount and the actual
movement amount.
The QD75 can compensate this error by adjusting the values in No. of pulses per
rotation, movement amount per rotation and unit magnification.
The method of compensating the errors using the QD75 is shown below.
(1) Set the command movement amount (mm) and carry out positioning.
(3) With the obtained command and actual movement amount, how much
compensation is needed for [No. of pulses per rotation] and [Movement
amount per rotation] can be calculated as follows:
(c) Apparent movement amount per pulse to actual movement amount (mm)
In the upper formula, reduce the fraction of AL'/AP' to its lowest terms and
replace with this obtained value.
Calculation example
<Condition>
Movement amount per pulse.... 5000 (µm/rev) No. of pulses per rotation ........ 12000 (pulse/rev) Unit m
<Positioning results>
Command movement amount.. 100000µm Actual movement amount......... 100173µm
<Compensation amount>
Set the unit magnification which makes the calculation result 6553.5 or less.
Unit magnification
Set the pulse output mode to match the servo amplifier being used.
(The QD75 outputs the pulse in negative logic at default.)
(1) PLS/SIGN mode
Forward run and reverse run are controlled with the ON/OFF of the direction sign
(SIGN).
• The motor will run in the forward direction when the direction sign is LOW.
• The motor will run in the reverse direction when the direction sign is HIGH.
PULSE SIGN
Forward runReverse run Move in + direction Move in - direction
PULSE F
PULSE R
Set the relation between the motor rotation direction and the current value address
increment/decrement.
QD75
Address increment/decrement
Set value
Increase/decrease
Current value Current value
increase decrease
Forward
0 1
Output run pulse
pulse Reverse
1 0
run pulse
IMPORTANT
Rotation direction is determined by whether the address increases (the setting is
0) or decreases (the setting is 1) in the JOG operation in reaction to the forward
run command. Refer to the below.
[Setting]
Forward run pulse (motor forward run CW)..........0
· Reverse run pulse (motor reverse run CCW).......1
Rotation direction
Forward run pulse (motor forward run CW)..........0
Reverse run pulse (motor reverse run CCW).......1
The bias speed at start is a minimum speed required for ensuring the smooth start of
the motor, especially when a stepping motor is used.
(1) This setting is valid for the OPR, positioning and JOG operations.
(2) If not using this setting, set it to "0".
Set how long the machine takes to reach the speed limit value, specified in the basic
parameter (2), from its start.
Time
(1) If the positioning speed is set to lower than the parameter-defined speed limit
value, the actual acceleration/deceleration time will be proportionally short.
Thus, set the maximum positioning speed equal to or only a little lower than the
parameter-defined speed limit value.
(2) This setting is valid for the OPR, positioning and JOG operations.
(3) When the positioning involves interpolation, the acceleration/deceleration time
defined for the reference axis is valid.
4.1.2 Detailed parameters
OPR direction
Worm gear
(1) The backlash compensation is valid after the machine OPR. Thus, if the
backlash compensation amount is set or changed, always carry out the machine
OPR once.
(2) The backlash compensation amount setting ranges from 0 to 65535, however,
as shown in the expression below, it should be set to 255 or less.
Backlash compensation amount
0 Movement amount per pulse
255
Software stroke limit upper limit value
Set the upper limit for the machine's movement range during positioning control.
Set the lower limit for the machine's movement range during positioning control.
(However, the stroke limit value is ignored during the JOG operation.)
Software stroke limit lower limit Software stroke limit upper limit
Figure 4.6 Software stroke limit upper limit value/lower limit value
(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.
This is the value of "positioning address" from which "current feed value" was
subtracted at the position where the command in-position signal (bit 2 of the buffer
memory 817, 917, 1017, and 1117) turns ON.
(It is used as a front-loading signal of the positioning complete signal.)
Speed
Position control start Command in-position setting value
The torque limit function limits the torque generated by the servomotor within the set
range.
If the torque required for control exceeds the torque limit value, the control is
performed with the set torque limit value.
Usage
(1) Limitation for pulse train output type
(a) Wiring for a D/A conversion module and wiring between a D/A conversion
module and drive unit must be made.
(b) A drive unit that can issue the torque limit command with the analog
voltage is required.
(c) The torque limit setting value is set in the buffer memory area "torque limit
stored value (826, 926, 1026, and 1126)". Transmit that "torque limit stored
value" to the D/A conversion module with the sequence program.
WITH mode ...... An M code is output and the M code ON signal is turned ON when positioning operation starts.
Positioning start
BUSY
M code m1m2
**
Positioning
Positioning start
BUSY
M code
m1 m2
* *
Positioning
Note: If the 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.
(a) Select the speed switching mode from the standard switching mode and front-
loading switching mode.
• The standard switching switches the speed when executing the next
positioning data.
• The front-loading switching switches at the end of the positioning data currently
being executed.
(b) The following shows the speed switching when positioning data No. n is executed.
t t
n n+1 n n+1
When carrying out the linear interpolation/circular interpolation, select which speed to
designate, the composite speed or reference axis speed.
• The composite speed designates the movement speed of the control target, and the
speed of each axis is calculated by the QD75.
• The reference axis speed designates the axis speed set for the reference axis, and
the speed for the other axis carrying out interpolation is calculated by the QD75.
(The axis longer than the other must be the reference axis.)
X axis
X axis
Designate composite
speed
Designate speed
for reference axis
Y axis Y axis
Calculated by QD75
Calculated by
QD75
Set the I/O signal logic that matches the signal specifications of the connected
external device.
A mismatch in the signal logic will cause errors. Be careful of this when you change
from the default value.
Acceleration/deceleration process
selection
Select the acceleration/deceleration mode from the automatic trapezoid
acceleration/deceleration mode and S-curve acceleration/deceleration mode.
Distance Distance
<Automatic trapezoid acceleration/deceleration> <S-curve acceleration/deceleration>
S-curve ratio
(a) Set the S-curve ratio (1 to 100%) for carrying out the S-
curve acceleration/deceleration processing.
(Example) V
A
Positioning speed
B
B/2B/2
t
When S-curve ratio is 100%
V
Positioning speed
b
sin curve b/a=0.7
a
(a) Set the output time of "positioning complete signal (X14, X15, X16, X17)" that is
output from the QD75. Positioning completion refers to a state where the
specified dwell time has passed after the QD75 had terminated the output.
PLC
M
Positioning complete signal Positioning
X14,X15,X16,X17
Positioning start
Positioning complete
BUSY signal (after dwell time has passed)
(b) The operation when the next positioning is started while the positioning complete
signal is ON is shown below. (For details of positioning patterns, refer to the
section of positioning data.)
(1) When the positioning pattern is "complete", the positioning complete signal
turns OFF after the next data No. starts operation.
(3) In the condition that the positioning pattern is set to "continuous positioning"
and the set time of the positioning complete signal is longer than the next
positioning operation time, the positioning complete signal turns ON when
the next data No. starts operation after the previous dwell time has passed.
However, if the next data No. continuously starts operation before the set
time has elapsed, the elapsed time is ignored and the set time starts
elapsing from the beginning.
It turns OFF when the set time has elapsed.
Dwell Dwell The time elapsed up to here is ignored and restarts counting.
Setting time
(4) When the positioning pattern is set to "continuous path", the positioning
complete signal turns ON at speed alteration and moves onto the positioning
of the next data No.
Complete
Path
Dwell Dwell
(Note) When the setting time of the positioning complete signal is longer than
the next positioning operation time, the operation of the path is as
explained in 3).
Allowable circular interpolation error
width
(a) With the 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.
(b) With the allowable circular interpolation error width, the allowable error range of
the calculated arc path and end point address can be set. If the error of the
calculated arc path and end point address are within the set range, circular
interpolation will be carried out to the set end point address while compensating
the error with spiral interpolation.
(c) The allowable circular interpolation error width is set in the following axis detailed
parameter.
• If axis 1 is the reference axis, set in the axis 1 detailed parameter.
• If axis 2 is the reference axis, set in the axis 2 detailed parameter.
• If axis 3 is the reference axis, set in the axis 3 detailed parameter.
• If axis 4 is the reference axis, set in the axis 4 detailed parameter.
Error
Path with spiral End point address
interpolation with calculation
POINT
To enable the external command signal, set 1 to the "external command enable"
(1505, 1605, 1705, and 1805) of the buffer memory.
4.2 OPR Parameters
The OPR parameters consist of the basic parameters and detailed parameters.
Setting range
Unit Initial value
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)
OPR method 0
3: Stopper method 3) (Without zeroing dog method)
4: Count method 1) (Use zero signal)
5: Count method 2) (Do not use zero signal)
0: Positive direction (address increment direction)
OPR direction 0
1: Negative direction (address decrement direction)
-214748364.8 to -21474.83648 to 0 to -2147483648 to
OP address 0
214748364.7µm 21474.83647inch 359.99999degree 2147483647pulse
0.01 to 0.001 to 2000000.000 0.001 to 2000000.000
OPR speed 1 to 1000000pulse/s 1
20000000.00mm/min inch/min degree/min
0.01 to 20000000.00 0.001 to 2000000.000 0.001 to 2000000.000
Creep speed 1 to 1000000pulse/s 1
mm/min inch/min degree/min
0: Do not retry OPR by upper/lower limit switch
OPR retry 0
1: Retry OPR by limit switch
V OPR
Decelerate at the near-point dog
speed
Creep speed
t
ON
Near-point dog OFF
Zero signal
Time for
one servomotor rotation
(2) Stopper method (1) (By dwell time elapse)
To use this method, caution must be used on the strain to a mechanical system,
torque limit settings and OPR dwell time settings.
V OPR
Movement amount after near-point dog ON
speed
Creep speed
Torque limit
ON
Near-point dog OFF
Dwell time up
Dwell time counting
(3) Stopper method (2) (By zero signals when the stopper is hit)
To use this method, caution must be used on the strain to a mechanical system
and torque limit settings.
Zero signal of
external switch
Torque limit
ON
Near-point dog OFF
(4) Stopper method (3) (Without zeroing dogs)
To use this method, caution must be used on the strain to a mechanical system
and torque limit settings. However, a zeroing dog is not required.
Zero signal of
external switch
Torque limit
V OPR
Movement amount after near-point dog ON
speed
Creep speed
Movement amount
Set in OPR
after near-point dog
ON detailed parameters
The near-point dog must turn
OFF at a sufficient distance away
ON from the OP position.
Near-point dog OFF
V OPR
Movement amount after near-point dog ON
speed
Creep speed
Movement amount
Set in OPR
after near-point dog
ON detailed parameters
OPR direction
Near-point dog
0: Address increment direction at OPR 1: Address decrement direction at OPR
IMPORTANT
(1) Setting the OP address to the upper limit side (address increment) or the
lower limit side (address decrement) determines the OPR direction.
[Setting]
(Positive direction)................................................0
OPR direction
• (Negative direction)..............................................1
After the completion of OPR, the current position is set as the specified address. This
newly specified address can be the reference value of absolute positioning.
This OP address is stored in "current feed value" and "machine feed value" when the
OPR is completed.
OPR speed
Creep speed
Set the creep speed (the low speed just before a stop, after decelerating from the
OPR speed) that comes after near-point dog turns ON.
The creep speed is set within the following range.
OPR speed Creep speed Bias speed at start
OPR retry
(a) This function retries the machine OPR with the upper/lower limit switches during
the machine OPR.
This allows the machine OPR to be carried out even if the axis is not returned to
before the zeroing dog with JOG operation, etc.
(b) When the OPR retry function is validated and the machine OPR is started, the
axis will move in the OPR direction. If the upper/lower limit signal turns OFF
before the near-point dog signal ON is detected, the axis will decelerate to a
stop, and then will move in the direction opposite to the specified OPR direction.
If the falling edge of the near-point dog signal is detected during movement in
the opposite direction, the axis will decelerate to a stop, and will carry out the
OPR again.
(5) (1)
(2)
(6)
Start position
(4)
(3)
Zero signal
Setting range
Unit Initial value
Item mm inch degree pulse
OPR dwell time 0 to 65535ms 0
Setting for the movement
0 to 21474.83647 0 to
amount after near-point dog 0 to 214748364.7µm 0 to 21474.83647inch 0
degree 2147483647pulse
ON
OPR acceleration time
Select acceleration time 0 to 3 from basic parameters 2 and detailed parameters 2. 0
selection
OPR deceleration time
Select deceleration time 0 to 3 from basic parameters 2 and detailed parameters 2. 0
selection
-214748364.8 to -21474.83648 to -21474.83648 to -2147483648 to
OP shift amount 0
214748364.7µm 21474.83647inch 21474.83648degree 2147483647pulse
OPR torque limit value 1 to 300% 300
Deviation counter clear signal
1 to 65535ms 11
output time
Speed designation during OP 0: OPR speed
0
shift 1: Creep speed
Dwell time during OPR retry 0 to 65535ms 0
This is the period of time from when the near-point dog turns ON to when OPR is
completed, if the OPR is set by the stopper method (1).
The setting value must be longer than the movement time from when the near-point
dog turns ON to when stopped by the stopper.
If the OPR method is not stopper method 1, the OPR dwell time value is irrelevant,
even if the setting value is within setting range.
When using the count method (1) or (2), set the movement amount to the OP after the
near-point dog signal turns ON.
The movement amount after near-point dog ON should be equal to or greater than
distance covered by the deceleration from the OPR speed to the creep speed.
OP shift amount from zero
OPR direction
Shift point
Start point Shift point
Near-point dog
Zero signal
(a) The positioning data is used for positioning operation (excluding the OPR, JOG
operation and manual pulse generator operation), consisting of types of data
shown below.
(b) Choose a reference axis and axis to be interpolated between axes 1 and 4 when
interpolation control, such as 2-axis linear interpolation, 2-axis linear fixed-feed,
and 2-axis circular interpolation, is performed to 2 axes.
Set all positioning data to a reference axis such as control system and operation
patterns.
Set only positioning address/movement amount required for interpolation to the
axis to be interpolated.
(c) The width check for each setting value of positioning data is carried out at each
positioning.
(An error will occur if the set width is exceeded and positioning will not be
executed.))
Setting range
Unit Initial value
Item mm inch degree pulse
0: Completed Positioning complete 0:
Operation pattern 1: Continuous Continuous positioning control Completed
2: Path Continuous path control
1: ABS linear 1 1-axis linear control (ABS)
2: INC linear 1 1-axis linear control (INC)
3: Fixed-feed 1 1-axis fixed-feed control
4: VF1 1-axis speed control (forward run)
5: VR1 1-axis speed control (reverse run)
6: VPF Speed-position switching control (forward run)
7: VPR Speed-position switching control (reverse run)
8: PVF Position-speed switching control (forward run)
9: PVR Position-speed switching control (reverse run)
A: ABS linear 2 2-axis linear interpolation control (ABS)
B: INC linear 2 2-axis linear interpolation control (INC)
C: Fixed-feed 2 Fixed-feed control by 2-axis linear interpolation
D: ABS Circular interpolation control with sub point specified (ABS)
E: INC Circular interpolation control with sub point specified (INC)
F: ABS circular right Circular interpolation control with center point specified (ABS, CW)
G: ABS circular left Circular interpolation control with center point specified (ABS, CCW)
H: INC circular right Circular interpolation control with center point specified (INC, CW)
I: INC circular left Circular interpolation control with center point specified (INC, CCW)
Control system
J: VF2 2-axis speed control (forward run)
K: VR2 2-axis speed control (reverse run)
L: ABS linear 3 3-axis linear interpolation control (ABS)
M: INC linear 3 3-axis linear interpolation control (INC)
N: Fixed-feed 3 Fixed-feed control by 3-axis linear interpolation
O: VF3 3-axis speed control (forward run)
P: VR3 3-axis speed control (reverse run)
Q: ABS linear 4 4-axis linear interpolation control (ABS)
R: INC linear 4 4-axis linear interpolation control (INC)
S: Fixed-feed 4 Fixed-feed control by 4-axis linear interpolation
T: VF4 4-axis speed control (forward run)
U: VR4 4-axis speed control (reverse run)
V: NOP NOP instruction
W: Current value Current value changing
changing
X: JUMP instruction JUMP instruction
Y: LOOP Declares the beginning of LOOP to LEND section
Z: LEND Declares the end of LOOP to LEND section
Table 4.5 Positioning data (Continued)
Setting range
Unit Initial value
Item mm inch degree pulse
0: Axis1
1: Axis 2
Axis to be interpolated
2: Axis 3
3: Axis 4
Acceleration time No. Select acceleration time 0 to 3 from the basic parameters 2 and detailed parameters 2. 0
Deceleration time No. Select deceleration time 0 to 3 from the basic parameters 2 and detailed parameters 2. 0
Positioning -214748364.8 to -21474.83648 to 0 to -2147483648 to
Absolute 0
address 214748364.7µm 21474.83647inch 359.99999degree 2147483647pulse
-214748364.8 to -21474.83648 to -21474.83648 to -2147483648 to
Increment 0
214748364.7µm 21474.83647inch 21474.83647degree 2147483647pulse
Movement
Speed-position,
amount 0 to 0 to 0 to
position-speed 0 to 214748364.7µm 0
21474.83647inch 21474.83647degree 2147483647pulse
switching request
Arc address -214748364.8 to -21474.83648 to -2147483648 to
-- 0
(sub point or center point) 214748364.7µm 21474.83647inch 2147483647pulse
0.01 to 20000000.00 0.001 to 2000000.000 0.001 to 2000000.000
1 to 1000000pulse/s
Command speed mm/min inch/min degree/min 0
-1 (Current speed) Same as the previous speed
When the control system is other than the JUMP instruction and LOOP instruction: 0 to
65535ms
Dwell time 0
JUMP instruction: Jump destination data No. 1 to 600
LOOP instruction: Repeat cycles 1 to 65535
Other than JUMP instruction: 0 to 65535
M code 0
JUMP instruction: Conditional JUMP condition data No.1 to 10
<Setting example>
Command
Operation Axis to Acceleration Deceleration Positioning Arc address Dwell time Positioning data
No. Control systems speed M code
pattern be time No. time No. address [µm] [µm] [ms] comment
[mm/min]
interpolated
1 0: Completed1: ABS linear 1 0: 100 0: 100 50000.0 0.0 2000.00 0 0
2 0: Completed1: ABS linear 1 0: 100 0: 100 75000.0 0.0 2000.00 0 0
3 0: Completed1: ABS linear 1 0: 100 0: 100 100000.0 0.0 2000.00 0 0
4 0: Completed1: ABS linear 1 0: 100 0: 100 150000.0 0.0 2000.00 0 0
5 0: Completed1: ABS linear 1 0: 100 0: 100 200000.0 0.0 2000.00 0 0
6 0: Completed1: ABS linear 1 0: 100 0: 100 25000.0 0.0 2000.00 0 0
7
8
9
10
For positioning data, the items which require settings differ depending on control
systems, etc.
Therefore, SW0D5C-QD75P displays setting columns as shown below depending
on the need of setting.
Yellow: Setting is not available as it is on the interpolation axis side of interpolation
control.
Red: Item to be set has not been set or an error occurred
Grey: Setting is not required (Setting is invalid)
Operation pattern
Operation pattern
Positioning ................................................................................................Complete
complete
(1) Positioning complete ...Set to execute positioning to the designated address, and
then complete positioning after the dwell time has passed.
Speed Complete
Time
Dwell time
(2) Continuous positioning control .... Positioning is carried out successively in order of
data Nos. with one start signal. (the BUSY signal
remains ON during positioning continued.)
Start (Y10)
BUSY(X0C) Complete
V3
V1
Speed Continuous Continuous
Time
V2
Dwell time Dwell time Dwell time
Start (Y10)
Path
Path
V1 Continuous
Complete
V2 V
3
V4
Dwell time Dwell time
Control system
Axis to be interpolated
Set the interpolation axis (target axis) only for operation under the 2-axis interpolation
control.
(This item does not need to be set in case where 3 or 4-axis interpolation is selected.)
(1) Do not specify the own axis or a value out of the setting range 1 to 4 for an
interpolation target axis. An error will occur when executed.
(2) The following shows the relationship between a reference axis and interpolation
axis according to control systems.
Axis definition
Reference axis Interpolation axis
Control systems
2-axis linear interpolation control, 2-axis Either of axis 1, axis 2, axis Axis set for "interpolation
fixed-feed control, 3 and axis 4 target axis of reference axis
2-axis circular interpolation control, 2-axis
speed control
Axis 1 Axis 2, Axis 3
3-axis linear interpolation control, 3-axis Axis 2 Axis 3, Axis 4
fixed-feed control, Axis 3 Axis 4, Axis 1
3-axis speed control Axis 4 Axis 1, Axis 2
Axis 1 Axis 2, Axis 3, Axis 4
4-axis linear interpolation control, 4-axis Axis 2 Axis 3, Axis 4, Axis 1
fixed-feed control, Axis 3 Axis 4, Axis 1, Axis 2
4-axis speed control Axis 4 Axis 1, Axis 2, Axis 3
Positioning address
-1000
1000 3000
Arc address
The arc address is data required only when carrying out the circular interpolation
control.
(1) When carrying out circular interpolation with a sub point designated, set the sub
point (passing point) address.
(2) When carrying out circular interpolation with a center point designated, set the
center point address of the arc.
Sub point
End point address
End point address
<Circular interpolation with sub point designated> <Circular interpolation with center point designated>
Command speed
Dwell time
Dwell time is the time from when the pulse output that is required for positioning is
completed to when the completion of the positioning (the BUSY signal OFF).
(1) The positioning will not be accurate if the dwell time is too short.
(2) The dwell time should be set longer than the time from when the output of
positioning pulses is completed to when the motor stops..
Figure 4.14
Start (Y10)
Speed
(Pattern [Complete])
Time
Dwell time
(3) If "JUMP instruction" is selected as the control system, set the positioning data
No. of the JUMP destination.
M code
(1) Positioning control is carried out from the current stop address (address before
positioning), that is specified based on the OP, to the designated address.
(2) The movement direction is determined by the current stop address and
designated address.
Need of setting in interpolation control
Item
Reference axis Interpolation axis
Operation pattern
"ABS linear 1"
200 End point
"ABS linear 2"
Control system Moves to this position
"ABS linear 3" wherever address before
"ABS linear 4" positioning is.
Axis to be *1 100
interpolated
Acceleration time
No.
0
Deceleration time No. Start
Positioning address point 0 100 200 (mm)
Arc address
Command speed
Dwell time
M code
*1: Required only when ABS linear 2 is selected as the control system
(1) Positioning control is carried out for the designated movement amount from the
address of the current stop position.
(2) The movement direction is determined by the movement amount sign (+/-).
• When movement direction is positive ... Positioning in the positive direction
(address increment direction)
• When movement direction is negative .. Positioning in the negative direction
(address decrement direction)
Need of setting in interpolation control
Item
Reference axis Interpolation axis
Operation pattern
"INC linear 1"
"INC linear 2" End point
Control system
"INC linear 3" 200
"INC linear 4"
Axis to be *1
interpolated 100 Start point
Acceleration time
No.
Deceleration time No.
Positioning address 0
100 200 (mm)
Arc address 0 50
Command speed
Dwell time
M code
Arc address
Command speed
Dwell time
M code
*1: Required when fixed-feed 2 is selected as the control system
4.3.3 Circular interpolation control with sub point designated
(2) The path that the positioning operation draws results in an arc whose center point is an intersection point of
two perpendicular bisectors, one of which is a straight line between the start point address (current stop
position) and sub point address, and the other of which is a straight line between the sub point address and
end point address.
(2) The path that the positioning operation draws results in an arc whose center
point is an intersection point of two perpendicular bisectors, one of which is a
straight line between the start point (current stop position) and the sub point, and
the other of which is a straight line between the sub point and an end point .
2-axis control with INC circular in right or left direction (increment system)
(1) Circular interpolation is carried out from the current stop address, which works as a start point (0, 0), to the
end point in an arc movement.
interpolated
Acceleration time Center point
No. 100
Deceleration time No.
50
Positioning address Start point End point
0
Arc address 50 20 (mm)
(Sets the center point address) (Sets the center point address) 0 0
Command speed 125
Dwell time
M code
4.3.5 Speed control
(1) After startup, the servomotor continues running at a designated speed until the
stop command is input.
(2) The current feed value remains 0. (The machine feed value is incremented.)
1-axis control with forward run speed/position switching and reverse run speed/position switching (increment
system)
(1) The speed control is carried out after the start, and switched to the position
control by the external command signal (select the "speed-position/position-
speed switching request” for the "external command function selection") when
the "speed-position switching enable flag" is ON (Enable), and then the
positioning for the designated movement amount is carried out.
(2) The current feed value at the start and during speed control depends on the
setting of "current feed value during speed control". (The machine feed value is
always incremented.)
Time
1-axis control with forward run position/speed switching and reverse run position/speed switching (increment system).
(1) The position control is carried out after the start, and switched to the speed
control before reaching to the positioning end point by the external command
signal (select the "speed-position/position-speed switching request" for the
"external command function selection") when the "speed-position switching
enable flag" is ON (Enable), and then the speed control is carried out until the
input of the stop signal.
(2) The current feed value at the start and during speed control depends on the
setting of "current feed value during speed control". (The machine feed value is
always incremented.)
interpolated
Movement amount of position control
Acceleration time 0
(mm)
No. 0 100 200
Deceleration time No.
Positioning address
Arc address
Command speed External command signal
Dwell time Deceleration
Speed stop
M code
Time
control
Positioning Speed control
4.3.8 NOP instruction
(1) The NOP instruction is used for the control system that executes nothing.
When the NOP instruction is selected as the control system, all settings
(positioning address, command speed, etc.) other than the control system are
invalid.
(2) The positioning data No. to which the NOP instruction is set is skipped, without
any processing, to the operation for the next positioning data No.
However, when the NOP instruction is set to the positioning data No.600, an
error will occur.
REMARK
The NOP instruction is used for reserving the data if there is a possibility of
executing speed switching or temporary stop (automatic deceleration) somewhere
in the positioning control.
The data can be changed simply by replacing the identifier.
4.3.9 Current value changing
(1) Change the [Current feed data] to a desired value using the current value
changing instruction at a stop or during the continuous positioning control.
(The current value changing cannot be executed during the continuous path
control.)
(3) When this instruction is executed, the current feed value is changed, and the
machine feed value is kept.
REMARK
The current feed value can also be changed by storing a new value to the buffer
memory (1506, 1507/1606, 1607/1706, 1707/1806, 1807) using the positioning
data No.9003 and the DTO instruction.
4.3.10 JUMP instruction
(2) The jump destination positioning data No. is set to 1 to 600 in the dwell time column.
(3) The execution condition is set using the block start condition data No. 1 to 10 in
the M code column.
Item Necessity of setting
Operation pattern
Control system "JUMP instruction"
When starting positioning data
Axis to be No.11 listed in 4) below,
200
interpolated the mouvement of No.14 and 15,
indicated in the dotted line, is
Acceleration time No. skipped and the mouvement
indicated in the full line is performed.
Deceleration time No.
100
Positioning address
Arc address
Command speed 0
100 200 (mm)
Dwell time 0 50
(Jump destination data No.)
*1
M code
4) The following shows an example where a jump is made to data No. 16 when the
JUMP instruction is input to positioning data No.13 and the condition data 1 is
set in the M code column and then the condition is met.
Axis to Positioning Command
Operation Acceleration Deceleration Arc address Dwell time Positioning data
No. Control system be address speed M code
pattern time No. time No. [µm] [ms] comment
interpolated [µm] [mm/min]
11 1: 1: ABS linear 1 0: 100 0: 100 50000.0 0.0 2000.00 0 0
Continuous
12 1: 1: ABS linear 1 0: 100 0: 100 75000.0 0.0 2000.00 0 0
Continuous
13 1: X: JUMP 0: 100 0: 100 0.0 0.0 2000.00 16 1
Continuous instruction
14 1: 1: ABS linear 1 0: 100 0: 100 150000.0 0.0 2000.00 0 0
Continuous
15 1: 1: ABS linear 1 0: 100 0: 100 200000.0 0.0 2000.00 0 0
Continuous
16 0: 1: ABS linear 1 0: 100 0: 100 25000.0 0.0 2000.00 0 0
Completed
17
Note) For the condition data No.1, a condition
must be created separately. JUMP destination data No. Condition data No.
4.3.11 LOOP to LEND control
(1) The LOOP to LEND loop is repeated for the set number of cycles.
(2) The repeat cycles are set to 1 to 65535 in the M code column.
(3) When LOOP is selected as the control system, settings other than the repeat
cycles (M code column) are ignored.
(4) When LEND is selected as the control system, the settings of other items are
ignored.
(5) 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 will be ignored.)
To stop the operation after the operation has been repeated for the designated number of times, set the dummy
positioning data (for example, incremental positioning without movement amount) next to LEND.
Necessity of LEND
LOOP setting
Item
Operation pattern
Control system "LOOP" "LEND"
Axis to be interpolated
Acceleration time No.
Deceleration time No.
Positioning address
Arc address
Command speed
Dwell time
M code
(Setting of repeat cycles)
(6) The following shows an example where a jump is made to the positioning data
No.25 after LOOP is input to the positioning data No.22 and the repeat cycle 2 is
set to the M code column.
Axis to Positioning Command
Operation Acceleration Deceleration Arc address Dwell time Positioning data
No. Control system be address speed M code
pattern time No. time No. [µm] [mm/min ] [ms] comment
interpolated [µm]
21 1: 1: ABS linear 1 0: 100 0: 100 50000.0 0.0 2000.00 0 0
Continuous
22 0: Y:LOOP 0: 100 0: 100 0.0 0.0 0.00 0 2
Completed
23 1: 1: ABS linear 1 0: 100 0: 100 100000.0 0.0 2000.00 0 0
Continuous
24 1: 1: ABS linear 1 0: 100 0: 100 150000.0 0.0 2000.00 0 0
Continuous
25 0: Z:LEND 0: 100 0: 100 0.0 0.0 0.00 0 0
Completed
26 0: 1: ABS linear 1 0: 100 0: 100 25000.0 0.0 2000.00 0 0
Completed
27
Repeat cycles
Positioning data No.21 22 23 24 25 22 23 24 25 26
|--------------------------|--------------------------|
Repeat cycles First Second
CHAPTER 5 EXERCISE (1) TEST OPERATION USING SW D5C-QD75P
Power supply
Input module Positioning module
module
CPU
Output module
module
QX
Q02H 42 QY QD
Q61P-A1 I/O panel
42P Q64AD Q62DA 75D4
CPU (64 points) (64 points) (16 points) (16 points) (32 points)
X80
X90 X0A0
to to to
X8F X9F X0BF
Y80 Y90 Y0A0
to to to
X0 Y40
to to
X3F Y7F
I/O panel
LED 12
Y70 to Y7B
Y7B Y7A Y79 Y78 Y77 Y76 Y75 Y74 Y73 Y72 Y71 Y70
X3C X38
Snap switch 12
5-1
X0 to XB
XB XA X9 X8 X7 X6 X5 X4 X3 X2 X1 X0
5-1
(2) Wiring and preparation
Power
supply
SW D5C-QD75P
SW D5C-GPPW
RS-232C cable
POWER
Servomotor
IMPORTANT
Be sure to turn the power off before replacing the module or wiring.
(ON)
5-2
5.2 Starting Up and Exiting SW D5C-QD75P
This section provides explanations from how to start up the SW D5C-QD75P software
package for QD75 positioning to how to create a new project.
SW D5C-QD75P accesses the QD75 via PLC CPUs, serial communication modules,
etc.
Make the settings for the interfaces located midway along the communication path
and interfaces on the peripheral device side to perform the online operations (data
write/read/monitor/test and so on).
IMPORTANT
In SW D5C-QD75P, connection setup must be performed each time a project is
opened in order not to access undesired QD75s.
When a project is opened, display the Connection setup dialog box before online
operation and click the OK button. (The latest saved settings are retained.)
The online operation cannot be performed without connection setup.
The connection setup is not required for offline operation (such as editing
positioning data on the peripheral device).
5.4 Initialization and Connection Check Using SW D5C-QD75P
When the positioning system is changed or a new system is installed, initialize the
QD75 and check the I/O signals from the drive module and the external devices.
Also, execute the JOG operation in the test mode to check the rotation direction of the
servo motor and the ON/OFF of zeroing and zero point.
To next page
From the previous page
REMARK
The operation check of the upper/lower limit switches (FLS/RLS) can be performed
in the JOG operation.
Perform one of the three following operations to initialize the parameters and the
positioning data.
1) Select and execute "QD75Initialization" with the QD75P in the online mode.
2) Execute the QD75 dedicated instruction "PINIT".
3) Write "1" to the buffer memory "1901".
5.5 Positioning Exercise Using Test Operation Function
Set the parameters, OPR parameters and positioning data using SW D5C-QD75P
and write them to the QD75.
Perform the test operation and monitoring from the peripheral device in the test mode.
Procedure
No.3No.1 No.2
Positioning data No.
300000 Address (pulse)
0 2000070000 150000
OP Standby point
5.5.1 Basic parameter and OPR basic parameter setting
Set the parameters according to the devices to be used and the control details.
In the procedure below, the initial values (default values) are used except some items.
REMARK
The positioning data can be edited using [Edit] [Cut] / [Copy] / [Paste] for a
dragged area.
5.5.3 Simulation
Check if the set details of the operation pattern, control method, address and
command speed are correct using the simulation (virtual positioning) function.
Write the set parameters, OPR parameters and positioning data to the QD75.
(For the writing, a data type and range can be designated per axis.)
To check how the QD75 operates, perform the OPR test and the test operation using
the stored positioning data.
Also, monitor the axis status during operation and set details. .
[OPR and Positioning test operation] 1) Click "Online" "Test" "Test On/Off".
To next page
From the previous page
5) Click (Axis #1 operation test) on the
toolbar.
To next page
9) From here, perform the test operation on the
next positioning data.
Click the "Position start" tab.
From the previous page
10) Confirm that "Start type" is set to "Positioning
start" and "Data No." to "1", and then click
the
Start button.
When "Current feed value" of Monitor item
becomes "70000", this means the 1-axis
linear control test has completed.
The example of search operation using the SQ D5C-QD75P is shown below. In this
example, the error code 102 is searched.
Details of other error codes and warning codes can be searched using the same
method.
To next page
From the previous page
4) Double-click "[Number: 102]Drive unit READY
OFF".
REMARK
The lists of [Warning code], [I/O signal] and [Buffer memory address] can be
viewed by the same operation.
CHAPTER 6 EXERCISE (2) 1-AXIS POSITIONING OPERATION USING SEQUENCE
PROGRAM
The OPR and positioning operation are carried out by the sequence program of the
PLC CPU.
Stroke MAX150 mm
0
X0A0 Electronic gear 131072 pulses per one rotation of motor Ball screw lead 10mm
to X0BF Y0A0 CMX:16 CDV:1 Gear ratio 1:1
to Y0BF
*: Since the feedback pulse of the servomotor HC-MFS (generates 131072 pulses per rotation) exceeds the
Q75 parameter setting range of 65535 pulses, in this example 8192 pulses are set and multiplied by 16 with
the electronic gear of the servo amplifier to obtain 131072 pulses.
6-1
6.2 Practice Question (1)
Feedback pulse
Movement amount
per motor rotation
6-2
6.3 Opening Text FD Project
Project name X
This section explains how to open the project of SW D5C-QD75P saved in the text
FD.
Insert the text FD into FDD.
mm unit
Feedback pulse
Movement
amount per motor
rotation
1000mm/mi
300mm/min
Note) The positioning data comment field is not shown because it does not require
settings.
No.1 No.4
No.2 No.3 No.5
(Standby point)
No.6
6.4 Saving Project to User FD
This section explains how to write and save the currently opened project data to the
user FD.
Insert the formatted user FD into FDD (A drive).
To next page
From the previous
page
7) Enter "QD75P" in the "New directory create"
dialog box.
This section explains how to write the project data read from the text FD to the QD75.
Refer to Section 5.5.4 for the basic write operation to the QD75.
The example below is to explain the method of writing data only to the required range.
This section provides explanations from how to start up the SW D5C-GPPW software
package to how to create a new project.
This section explains how to exit GPPW and save the project.
(QCPU RUN)
SM1039 Interlock
Y0A0PLC READY
X0A8
Axis 1 error detection
X0AA
Axis 3 error detection
X0AB
Axis 4 error detection
3) OPR
At power-ON or start of operation, carry out OPR to check the original position.
Also, it is recommended to carry out OPR when the OPR request is issued.
X0...................
OPR command
X1...................
Stop command
X2................... Standby point start
X3................... Designated positioning data No.
Digital switch Digital switch
X4................... start Forward run JOG start
Y70.................
OPR request D10 ................ For positioning data No.
Y71................. .
STOP (X20 to X2B)
Y73................. D11 ................ For setting data (X30 to X3F)
M code detection
Y74................. .
Forward JOG operating For calculation
Y75................. Reverse JOG D13,14............
For status signal read
Y76................. operating Error display D20 ................
.
Automatic refresh setting
M0...................
OPR command pulse D100,101 ...... Axis 1 current feed value
M2................... .
Standby point start Axis 1 machine feed value
pulse D102,103 ......
.
M3................... Designated positioning data No. start D104,105 ....... Axis 1 feed speed
M7................... pulse D106 ............. Axis 1 error code
M9................... Setting data registration . Axis 1 warning code
M10................. pulse Error reset, restart D107 ............. Axis 1 valid M code
.
pulse Interlock Axis 1 operation status
D108 .............
.
D109 .............
.
M20................. (Flash ROM *: The automatic refresh setting of
write) Master SW D5C-QD75P automatically
T1.................... control updates the buffer memory value of
T2.................... M code 1 QD75.
T3.................... detection M code
3 detection M
code 5 detection
M200
Used for QD75 dedicated
to M259...........
instruction
D200
to D259
...........
The following shows how to add the intelligent function module parameters to a GPPW
project, using the auto refresh setting of SW D5C-QD75P.
To next page
From the previous page
Project name A
X0 PLS M200
M201
(Start
command) (Start flag)
M200 SET M201
X1 Start flag set
(Start (Abnormal
completion) completion)
M204 M221 PLS M220
(Start (Start
command) flag)
M220 SET M221 Start flag reset
X1
No.5
(Stop)
M221 MOVP K5 D222
Start No. setting
System area
ZP.PSTRT1 "U0A" D22 M222 Completion device
0
Axis 1 start
Start flag reset
M221
RST
(Start (Abnormal
completion) completion)
4) Write the parameter and the sequence program to the PLC CPU with (the
[Online] [Write to PLC] menu).
PLC CPU is STOP
(Click the Param+Prog button on the PLC write dialog box, then click the
Execute button.)
5) Reset the PLC CPU once, and then put into the RUN state.
Start operation During OPR, check the current feed value and the axis status in the SW D5C-QD75P
operation monitor window.
Repeat
The speed is decelerated to the creep speed when the zeroing dog is
turned ON, and the OPR is completed when the zero phase signal turns
ON. (The address of axis 1 becomes "0".)
Carry out the positioning start. Turn (The address of axis 1 becomes
X2 ON. "150000.0 m".)
6.10 Practice Question (2) JOG Operation
<Hint> • Directly transfer the JOG speed into the buffer memory of the QD75
by the DMOV command from the intelligent function module direct
device.
• Turn ON the output Y of the JOG start.
<Operation>
Add the answer into the sequence program in Section 6.9 and write it to the PLC
CPU, and confirm the operation.
MEMO
Practice question (2) Answer
Project name B
X4(Axis 1 forward run JOG)
Axis 1 JOG
U0A\ speed
DMOVP K100000 G1518
1000 mm/min
Axis 1 forward
Y0A8 run JOG
X5(Axis 1 reverse run JOG)
Axis 1 JOG
K100000 U0A\
DMOVP G1518 speed
1000 mm/min
Reference: When designating the JOG speed by the sequence program, designate
100 times as much as the actual value since the unit is [ 10 -2mm/min].
Execute button.)
Project name X
Always set this program.
SM1032
1s clock SM1006(PLC CPU battery error) Y77 (PLC CPU
X0 battery error)
(QD75 error detection)
A8
RST Y0B0
Reset of
positioning
start flag
Display the No. of pulses that is output by the QD75 as a current value.
With SM1030, the display of the current value varies every 0.1s.
X0A0 SM1030(0.1s clock)
D<= K0 D100 DBCD D100 K8Y40 Current value
display of axis 1
(READY) (0.1m unit)
Reference
Write the program that makes the machine perform forward run JOG while X4 is ON
and reverse run JOG while X5 is ON.
Y0A8
Axis 1 forward
run JOG
Y74 Lamp
(Axis 1 reverse run JOG command)
X5 Y0A8 U0A\ Axis 1 JOG speed
DMOVP K100000 G1518
1000 mm/min
Inter
lock
U0A\ Inching movement
MOVP K0 G1517
amount 0.0 m
Y0A9
Axis 1 reverse
run JOG
Y75 Lamp
REFERENCE
The inching operation can be carried out by setting the inching movement amount into the
JOG operation program.
Axis 1 Axis 2 Axis 3 Axis 4
Inching movement amount buffer
1517 1617 1717 1817
memory
6.11.5 OPR of axis 1
"Retry OPR" is set in "OPR retry" of the OPR basic parameter, therefore when the
machine is at a stop inside the DOG, it automatically gets out of the DOG and
conducts OPR.
(OPR command)
X0 M201 PLS M200
(Start (Abnormal
completion) completion)
(Stop) No.6
M221 MOVP K6 D222
Start No. setting
System area
ZP.PSTRT1 "U0A" D22 M222 Complete device
0
Axis 1 start
Start flag reset
M221
RST
(Start (Abnormal
completion) completion)
(Start of setting data No.)
X3 M231
PLS M230
(Start (Start
command) flag)
M230 Start flag set
X1 SET M231
Digital switch between
(Stop) X20 to X2B
M231 BIN
K3X2 D232 Start No. setting
0
System area
ZP.PSTRT1 "U0A"
M232 Complete device
Axis 1 start
D230
Start flag reset
M231
RST
(Start (Abnormal
completion) completion)
Indirect designation is transferred to the start No. setting word device of the PSTRT
instruction.
Positioning data No. is stored in the word device by BIN instruction.
1 K3X20 D232
2 (BIN conversion)
3
4
5
6
<Figure for operation explanation>
2000 mm/min
No.6
<Positioning data>
X3F to X30
0000
X2F
0002
to X20
Positioning
address
1 50 mm
Positioning data No. 2 75 mm
3 100 mm
4 130 mm
5 150 mm
6 25 mm
In this positioning system, the desired multiple points are positioned by starting just
one positioning data.
Set the positioning data pattern to "1" (continuous positioning
control). (The sequence program needs not be changed.)
4000 mm/min
3000 mm/min
2000 mm/min
No.14
1000 mm/min
No.11
No.13
No.12
No.15
No.16
2000 mm/min
<Positioning
data>
In this positioning system, by starting just one positioning data, the machine
automatically changes its movement speed at the desired addresses on the
movement path, and moves through the multiple points continuously.
Set the positioning data pattern to "2" (continuous path
control). (The sequence program needs not be changed.)
No.234000 mm/min
3000 mm/min
2000 mm/min
1000 mm/min No.24
No.21
No.22
No.25
No.26
2000 mm/min
<Positioning
data>
Y71 Lamp
REMARK
To stop while in operation can also be carried out by wiring the external switch to the
external
STOP signal, which enables a quick stop regardless of the scan time of the PLC CPU.
6.11.10 Restart after stopping
If the restart needs to be continued when the stop X1 turns ON during the continuous
positioning of data No.11 to No.16 or data No.21 to No.26, write "1" to the buffer
memory 1503 (start of restart).
<Sequence program>
(Restart command)
X9 X0AC Y0B0 Axis 1 restart
U0A\
MOVP K1
G1503
(BUSY) (Start)
For restart, it is not needed to turn
ON the positioning start flag (Y0B0).
Turn X3 ON.
2) Turn the stop X1 ON during the continuous positioning.
3) Turn X9 ON.
6.11.11 Speed change during positioning
Fo 2000
rw 1500 mm/min
ar
d No.5
ru
150 mm
R
ev 25 mm No.6
er
se 1500
ru 2000 mm/min
<Sequence program>
X7(Registration of setting data)
PLS M7
K4X30 D11
BIN Speed set in the
unit of mm/min
M7 X0AC = K5 Set to
D10 * D11 K100
1.1 mm/min
(BUSY) D13
Write speed to the
U0A\
2) The speed changes if X7 is turned ON when the data No.5 is moving to 150mm
after X3 is turned ON.
3) The speed changes if X7 is turned ON when the data No.6 is moving to 25mm in
after X2 is turned ON.
6.11.12 Address designation by digital switch
Changes the positioning address of positioning data No.31 (buffer memory is 2306,
2307) designating in the unit of 1mm.
2000 mm/min
0 50 100 150(mm)
( “_ )
<Positioning data>
<Sequence
program>
Move to the position to be registered by the JOG operation (or manual pulse
generator operation) and carry out the registration operation. Once the position is
registered, the positioning to the registered position is performed by the start switch
any number of times.
<Positioning data>
<Sequence
program>
M7
BINK3X20 D10Positioning data No.
Write of the current value address at "35"
X0AC
M7
Executed at the data No. 35
=K35D10SETM241
Write current feed value to positioning address
(BUSY)
Teaching selection
M241
MOVP H0D242
System area
ZP.TEACH1 "U0A"D240 M242
Axis 1 teaching Complete device
M242M243
PLSM244
(Completion) (Abnormal completion)
RSTM10
Create the program inside the dotted line when the writing to flash
ROM is performed after teaching.
Demonstration machine operation
1) Turn X4 ON, operate the forward run JOG, and turn X4 OFF at the desired position.
R (Jot down the current value address )
ep 2) Set the digital switch.
ea X3F to X30 X2F to X20
0000 0035
Arbitrary Setting of
positioning data No.
3) Turning X7 ON carries out teaching the current value to the data No.35.
4) Turn X2 ON and move to the standby point.
5) Turning X3 ON executes the data No.35. (Stop at the jotted address)
Combine the absolute and incremental positioning and designate the speed and move
amount of the incremental part by the digital switch.
X2 is ON330 mm/minNo.42
Movement amount P
No.41
X2 is ON
2000 mm/min
<Positioning
data>
Positioning Arc
Operation Axis to be Acceleration Deceleration
No. Control system address address
pattern interpolated time No. time No.
[ m] [ m]
42 0: Completed 2: INC linear 1 0:100 0:100 0.0 0.0 1.00 0 0
Command Dwell Positioning
speed time M code data
[mm/min] [ms] comment
43
44
45
Setting of speed
Setting of address
<Sequence program>
3) Set the digital switch and write the address P to the buffer memory by X8 and X7.
Turn Turn
X3F to X30 X2F to X20
Movement 0 0 44 0041
amount P mm X8 X7 ON.
(2416, 2417) Setting of positioning ON.
Set between data No.
0001
to 0100.
Address 50 mm of the data No.41.
Movement amount of the data No.42.
= End point
6.11.15 Fixed-feed
Feed again after feeding a certain amount by the incremental system to carry out "cut"
or "drilling".
0 25 150 mm
Upper limit
Set the current value to 20 mm.
<Positioning data>
<Sequence program>
A program to start the positioning data No.51.
(Same program as the one in Section 6.11.6.)
3) Turn X3
ON.
Confirm that the current value becomes m.
Do not turn ON more than 8 times on the 1-axis demonstration machine and
more than 10 times on the XYZ table.
It exceeds the upper limit causing an error.
6.11.16 Speed control
Speed control is used to move endlessly in the same direction; for example, a
conveyer or a carrying machine.
Normally, in speed control, the current value does not change regardless of the
forward run or the reverse run, and it does not stop until the stop instruction comes.
However, if "1" is set to the current feed value update request command in the
detailed parameter (1) (buffer memory address 30/180/330/480), the current value
increases or decreases.
This demonstration machine with the upper/lower limit switch automatically stops at
that position.
500 mm/min X1 is ON
(Stop command)
No.61 Forward run
0
150 mm
Lower limit
Upper limit
X1 is ON 500 mm/min
(Stop command)
<Positioning
data>
<Sequence program>
A program to start the positioning data No.61,
No.62. (Same program as the one in Section
6.11.6.)
Demonstration machine operation
1) Turn X0 ON to carry out OPR.
R 2) Set the digital switch to 61.
ep X3F to X30 X2F to X20
ea
0000 0061
Setting of positioning
data No.
Turn X3 ON for the forward run.
The axis-1 current value of the SW D5C-QD75P operation monitor screen
remains "0" and is not incremented.
Confirm that the speed is displayed.
REFERENCE
If an error occurs, move to the center by the JOG operation and turn X0B (Error reset) ON.
6.11.17 When external command signal is used
After creating the positioning data and writing the start data No. to the buffer memory
1500, "0" needs be written to the external command signal function selection (buffer
memory address 62) and "1" to the external command signal valid (buffer memory
address 1505) to start the data by the input of the external command signal.
<Positioning data>
<Sequence program>
M7 X0AC U0A\
= K71 D10 MOVP K0 G62 Selects the external
command signal for
(BUSY)
the external start
U0A\
Carries out the external MOVP K1 G1505 Enables the external
start at "71" command signal
U0A\
MOVP D10 G1500
Indirectly designates
the positioning data
No.
K0
REMARK
The external command signal can be used as the external start request, external speed switching request, speed •
position/position • speed control switching request, and skip request by the external command signal function selection
of detailed parameter 2.
6.11.18 Speed position switching control by external command signal
Inputting the external switching signal (CHG signal) during speed control carries out
the positioning for the set movement amount.
0 Movement
Reverse amount
No.82run
External command
signal ON
<Positioning
data>
<Sequence program>
1) A program to start the positioning data No.81,
No.82. (Same program as the one in Section
6.11.6.)
2) The following programs are needed to use the external command signal (CHG) for
the speed • position switching.
• Write "2" to the 'external command signal function selection' of detailed
parameter 2 (1-axis buffer memory address 62).
• Write "1" to the 'external command valid' (1-axis buffer memory address 1505).
• Write "1" to the 'speed position switching enable flag' (1-axis buffer memory
address 1528).
(Start to setting data No.)
X3 Y0B0 PLS M3
(Start)
Digital switch
M3 BIN K3X20 D10 between X20 to
X2B
U0A\ Selects the
X0AC
external
= D10 MOVP K2 G6 command signal
(BUSY) 2 for the speed-
position switching
K81
= K82 U0A\
D10 MOVP K1 Enables the
external
command signal
G1505 Enables the
U0A\
MOVP K1 G152 speed-position
8 switching
Positioning start data
No.
<>
D10 <> K82 D10 M8
K81
For an M code, numbers of 0 to 65535 are used for each axis and added to the
positioning data.
Using the 'M code ON signal output timing' of detailed parameter (1) (buffer memory
27/177/327/477), select when to detect the signal, at the start of "WITH mode [0]" or
at the completion of "AFTER mode (1)”.
(For this time, "AFTER mode [1]" is set by the parameter.
If the M code detection signal (X0A4/X0A5/X0A6/X0A7) turns ON in the sequence
program, the sequence (work) corresponding to the M code is executed by reading
the valid M code (buffer memory 808/908/1008/1108) from the QD75 buffer memory.
Also, comments (32 characters) can be attached to M codes 1 to 50, and the M code
comments being detected by peripheral devices (work descriptions) can be
monitored.
1) An M code is detected when the next data No. is executed, and the work
corresponding to the M code is executed.
No.91,93........M code "1"....... Comment "6s welding"
No.91,93........M code "3"....... Comment "4.4s welding"
No.91,93........M code "5"....... Comment "Processing completed product change"
5000
4000 mm/min
3000
Fo
2000
rw
ar 1000
d
ru
M code 1
Processing
Start completed
No.96 product
R 6s 4.4s 6s 4.4s 4.4s change
ev welding welding welding welding weldin M code 5
er g 2000
No.91 No.9 No.9 No.9 No.95
se mm/min
ru 2 3 4
M code
1 M code M code Time M code M code 3
3 1 3
<Positioning data>
M code detection
D108 K60
= K1 T1 6s
D108 4.4s
K44
= K3 T2
D108 10s
K100
= K5 T3
K4Y60
BCDT3
T1 M code reset
MOVP K1 U0A\
G1504
T2
T3
Demonstration machine operation
1) Click Monitor Start button Comment
button.
Turn X3 ON.
Data from No.91 to 96 are executed consecutively, and weld time is
displayed on the digital displays from Y60 to Y6F.
6.11.20 Summary of sequence program
Regular programs explained in Section 6.11 are brought into one here.
Project name X
D106 K4Y60
Displays
BCDP the error code
Y0B0
Reset of positioning
RST start flag
X6 U0A\
MOVP Inching movement
K1000 G151
amount 100.0m
7
Y74 Lamp
(Axis 1 reverse run JOG command)
X5 Y0A8 DMOVP K100000 Axis 1 JOG speed
U0A\ 1000 mm/min
51 G1518
Interlock
Inching movement
U0A\
Y75 Lamp
(OPR command)
X0 M201 PLS M200
64
M200
68 X1 SET M201 Start flag set
RST
M201 Start flag reset
D20.3 MC M20
96 Master control to
turn ON M20 without
N0 the OPR request
NO M20
(Start to standby point)
X2 M221 PLS M220
99
M224
M222 M223 PLS
120
124 X3 M231
PLS M230
(Start (Start flag)
command)
128 X1 Start flag set
M230 SET M231
(Stop)
BIN K3X2 D232 Digital switch between
M231
0 X20 to X2B
131
Start No. setting
ZP.PSTRT1 "U0A" M232 System area
D230
Axis 1 start
Complete device
M231
RST Start flag reset
Y71 Lamp
(Restart command)
"U0A" D2
ZP.TEACH1 40
M242
System area
Axis 1 teaching Complete device
RST
M241 Teaching flag reset
SET M10 Turn OFF PLC
M242 M243 READY Y0A0
222
(Completion) (Abnormal completion)
Complete device
Axis 1
M252 M253 start RST M251
Flash ROM write
flag reset
(Write completion) (Abnormal completion)
RST M10
Write address P
U0A\ to data No.42
DMOVP D13 G2416
268 (BUSY) = K71 D10 MOVP K0 G62 command signal for the
external start
< > K71 D10 < > K81 D10 < > K82 D10 M8
305
BCDT1 K4Y60
K44 4.4s
=K3D108 T2
M code "3" detection
BCDT2
K4Y60
BCDT3
T1 K4Y60
MOVP K1
M code reset
U0A\
357 G1504
T2
T3
364 END
6.12 Monitoring Buffer Memory Using GPPW
Set the starting I/O No. Check either bit format or word format depending on a buffer memory to be monitored.
For double word, check "32bit integer".
of module to be monitored. Enter A0 in this case.
Set the buffer memory address to be monitored. For word format, check DEC.
REMARK
Device test can perform data writing to the buffer memory.
6.13 Practice Question (3) Parameter Change During RUN
There may be the cases where the detailed parameter (1) must be changed while the
PLC is running.
To do this, create the sequence program that executes the following actions: when
the PLC READY Y0A0 turns OFF and the QD75 READY X0A0 turns OFF, the MOV
instruction is turned ON to rewrite the buffer memory storing the M code ON signal
output timing of the detailed parameter (1), using the intelligent function module direct
device.
RUN, Always
ON after 1 scan
X0A (PLC READY OFF command)
SM1039 PLC READY
Y0A0
Write to the
DMOVP buffer memory
Turn ON the PLC READY (Y0A0) after rewriting and start the positioning data No.91.
4) Turn X0A from OFF to ON to turn OFF the PLC READY, and rewrite the buffer
memory.
5) Turn ON the PLC READY Y0A0 by turning X0A from ON to OFF.
6) Turn X0 ON to carry out OPR.
7) Turn X3 ON.
• When the WITH mode is selected, the M code is detected at the same time
with start, and the timer starts.
• When the AFTER mode is selected, the M code is detected after the
positioning is completed, and the timer starts.
CHAPTER 7 EXERCISE (3) 3-AXIS POSITIONING OPERATION USING SEQUENCE
PROGRAM
Axis
definition Reference axis Interpolation axis
Control system
2-axis linear interpolation control, Any of axes 1, 2, 3, Axis set in "axis to be
2-axis fixed-feed control, 2-axis and 4 interpolated" of
circular reference axis
interpolation control, 2-axis speed
control
Axis
definition Reference axis Interpolation axis
Control system
Axis 1 Axis 2, Axis 3
3-axis linear interpolation control,
Axis 2 Axis 3, Axis 4
3-axis fixed-feed control, 3-axis speed
Axis 3 Axis 4, Axis 1
control
Axis 4 Axis 1, Axis 2
Axis 1 Axis 2, Axis 3, Axis 4
4-axis linear interpolation control,
Axis 2 Axis 3, Axis 4, Axis 1
4-axis fixed-feed control, 4-axis speed
Axis 3 Axis 4, Axis 1, Axis 2
control
Axis 4 Axis 1, Axis 2, Axis 3
7-1
(4) Limits to interpolation control
There are limits to the interpolation control that can be executed and speed
(Interpolation speed designation method) that can be set, depending on the
reference axis and the "Unit setting of the interpolation axis". (For example,
circular interpolation control cannot be executed if the reference axis and
interpolation axis units differ.)
The following table shows the interpolation control and speed designation limits.
Unit setting*1
Reference axis and
"Control system" Interpolation speed Reference axis and
interpolation axis units are the
interpolation control designation method interpolation axis units differ
same, or a combination of
*3
"mm" and "inch" *3
Linear 2 Composite speed
(ABS, INC) Reference axis
Fixed-feed 2 speed
Circular sub Composite speed *2
(ABS, INC)
Circular right
(ABS, INC) Reference axis
Circular left speed
(ABS, INC)
Linear 3 Composite speed
(ABS, INC) Reference axis
Fixed-feed 3 speed
Linear 4 Composite speed
(ABS, INC) Reference axis
Fixed-feed 4 speed
: Setting possible, : Setting not possible
*1 : "mm" and "inch" unit mix possible.
*2 : "degree" setting not possible.
The "Control system error (error code: 524)" will occur and the positioning
cannot be executed if circular interpolation control is set when the unit is
"degree".
The machine will immediately stop if "degree" is set during positioning control.
*3 : The unit set in the reference axis will be used for the speed unit during
control if the units differ or if "mm" and "inch" are combined.
7-2
7.1 XYZ Axis Control Positioning Operation System
X0A0
to X0BF Y0A0
to Y0BF
For differential receiver output of QD75D4, differential receiver input is used for parameter 3 (ST0) of MR-H10A.
Common to X axis, Y axis and Z axis
·Max. 200 mm of stroke Workpiece Workpiece
8192 pulse per one rotation of motor
8 mm of ball screw lead Parameter 3 (ST0) 0 0 0 1
Gear ratio 1:1 (Refer to page Appendix-4) Reverse run
Reverse run
PU operation
PARAM 31Y axis (axis 2)Z axis (axis 3)
7.2 Parameter of Axis 1, Axis 2, Axis 3 and OPR Parameter
The "rotation direction setting" is set according to the X, Y, Z table where the axis is
forward run increment and the axes 2 and 3 are reverse run increment.
The interpolation speed is the composite speed of the initial value of detailed
parameter (1).
(In the following screen example, the settings of unused 4 axes (initial value for all)
are omitted.)
7.3 Sequence Program for 3-Axis Control
The following shows the sequence program for controlling 3 axes, containing the
PLC READY, error code reading/resetting, current value reading, JOG operation,
OPR and positioning data No. start.
RST Y0B1
RST
Y0B2
Axis
2
start
reset Axis 3 start reset
X0A0 SM1030(0.1s clock) D100 D/P D100 K10000 D50
Changing 0.1 m mm
25 D<=
K0
(READY)
D<= K0
D110 D/P D110 K10000 D60 Changing 0.1 m mm
D<= K0
D120 D/P D120 K10000 D70 Changing 0.1 m mm
Forward run JOG command BCD D70 K4Y60 Displaying the current
value of axis 3
Storing the current value of axis 3 (Automatic refresh)
X4
69 K1X30 D40 Axis number setting
(1 to 3)
BIN
Y0A9 U0A\ Axis 1 JOG speed
DMOVP K100000 G1518 1000 mm/min
= D40 Axis 1
K1 reverse run
JOG U0A\ Axis 1 inching movement
Y0AB
DMOVP K100000 U0A\ Axis 2 JOG speed
= D40 Axis 2 G1618 1000 mm/min
K2 reverse run
JOG
U0A\ Axis 2 inching movement
MOVP K0 G161 amount 0.0m
7
120 X5
BINK1X30 D40 Axis number setting
(1 to 3)
Y0A8 U0A\ DMOVP K100000G1518 Axis 1 JOG speed
= D40K1 Axis 1 reverse run 1000 mm/min
JOGU0A\
MOVP K0G1517
Axis 1 inching movement
K807 D11 amount 0.0m
Y0AB
Axis 2 reverse run JOG
Y0AD
Axis 3 reverse run JOG
Y75
Lamp lighting
X1(Stop)
Y0A4
171 Axis 1 stop
Y0A5
Axis 2 stop
Y0A6
Axis 3 stop
Y71
Restart command Lamp lighting
X9 X0ACX0ADX0AEY0B0Y0B1Y0B2
PLSM9
176
(Axis 1 BUSY)(Axis 2 BUSY)(Axis 3 BUSY) (Axis 1 start) (Axis 2 start) (Axis 3 start)
M9 U0A\
MOVP K1G1503
Axis1 restart
U0A\
MOVP K1G1703
Axis3 restart
(OPR command)
X0 M301 PLS M300
196
SE M301
M300 X1
T
200
(Stop)
M301
203 MOV K9001 D302
P
M302 M303
M301
216 RST
PLS M304
PLS M310
M304 M311
221
SE M311
M310 X1
T
225
(Stop)
M311
228 MOV K9001 D312
P
M312 M313
M311
241 RST
PLS M314
PLS M320
M314 M321
246
SE M321
M320 X1
T
250
(Stop)
M321
253 MOVP K9001 D322
M322 M323
M321
266 RST
MC M12
D21.3 D22.3 D23.3 (Three bit of D21, D22, and D23) Turning ON M12
284 without OPR request of
N0 master control No.
(Axis 1) (Axis 2) (Axis
N0 3) M12 start
axis 1, axis 2 and axis 3
(Movement command to standby
point) X2 M331 PLS M330
28
9
SET M331
M330 X1
293
(Stop)
M331 MOVP K100 D332
296
MOVP
K100 D352
RST M331
PLS M334
M332 M342 M352 M333 M343 M353
33
4 (Circular interpolation command)
SET M361
M360 X1
34
6
M361
349 MOVP K101 D362
RST M361
M362M372M363M373
375 PLS M364
(3-axis linear interpolation command)
X7M381
381 PLS M380
M380 X1
385 SET M381
(Stop)
M381
388 MOVP K107 D382
M382M383
402 PLS M384
Completion of
406 MCR NO master control
407 END
7.4 Independent Positioning to Standby Point by Each Axis
The axis 1, axis 2 and axis 3 are independently operated with the control system of
ABS linear 1.
200 200
150
150
Y axis
(Axis 2)
100
100
75 75
50 50
25 25
Standby point
0 0 No.100
0 25 50 75Standby
100point No.100
150 200mm
(Independent axis)
(Independent axis)
Axis to Command
Operation Acceleration Deceleration Positioning Arc address Dwell time Positioning data
No. Control system be speed M code
pattern time No. time No. address [µm] [µm] [ms] comment
interpolated [mm/min]
100 0: 1: ABS linear 1 0: 100 0: 100 25000.0 0.0 2000.00 0 0
Completed
(Independent axis)
Axis to Command
Operation Acceleration Deceleration Positioning Arc address Dwell time Positioning data
No. Control system be speed M code
pattern time No. time No. address [µm] [µm] [ms] comment
interpolated [mm/min]
100 0: 1: ABS linear 1 0: 100 0: 100 25000.0 0.0 2000.00 0 0
Completed
Demonstration machine operation
1) The QD75 setting data (parameter and positioning data) is
Project name XYZ .
Read from the text FD and write to the QD75D4.
3) When turning ON X0, OPR is started in the order of axis 1, axis 2 and axis 3.
4) When turning ON X2, the axis 1, axis 2 and axis 3 carry out positioning together
to the standby point of positioning data No.100 (25mm).
(The current value is 25000.0mm.)
Y6F to
Y6 Y5F Y5 Y4F Y40
0 0
to to
0025 0025 0025
(Current value (mm) of axis (Current value (mm) of axis (Current value (mm) of axis 1)
3) 2)
7.5 Interpolation Operations (Axis 1/Axis 2) and Simultaneous Operation (Axis 3)
When carrying out 2-axis linear interpolation or 2-axis circular interpolation by axis 1
and axis 2, the axis 3 is independently operated.
103
Y axis
100
100 Center point
No.105
25 No.106 (Address) 25
No.100
0 0
0 25 50 75 100 150 200
mm Z axis
X axis (Reference axis 1) (Independent axis 3)
REMARK
(Reference axis)
Axis to Command
Operation Acceleration Deceleration Positioning Arc address Dwell time Positioning data
No. Control system be speed M code
pattern time No. time No. address [µm] [µm] [ms] comment
interpolated [mm/min]
101 1: A: ABS linear 2 2-axis 0: 100 0: 100 50000.0 0.0 5000.00 700 0
Continuous
102 1: D: ABS circular 2-axis 0: 100 0: 100 150000.0 0.0 3000.00 700 0
Continuous sub
103 1: A: ABS linear 2 2-axis 0: 100 0: 100 200000.0 75000.0 9000.00 700 0
Continuous
104 2: Path G: ABS circular 2-axis 0: 100 0: 100 200000.0 0.0 4000.00 0 0
left
105 2: Path A: ABS linear 2 2-axis 0: 100 0: 100 200000.0 200000.0 2000.00 0 0
106 0: A: ABS linear 2 2-axis 0: 100 0: 100 25000.0 0.0 10000.00 0 0
Completed
(Interpolation axis)
Axis to Command
Operation Acceleration Deceleration Positioning Arc address Dwell time Positioning data
No. Control system be speed M code
pattern time No. time No. address [µm] [µm] [ms] comment
interpolated [mm/min]
101 100000.0 0.0 0.00
102 150000.0 0.0 0.00
103 150000.0 150000.0 0.00
104 50000.0 0.0 0.00
105 25000.0 100000.0 0.00
106 25000.0 0.0 0.00
(Independent axis)
Axis to Command
Operation Acceleration Deceleration Positioning Arc address Dwell time Positioning data
No. Control system be speed M code
pattern time No. time No. address [µm] [µm] [ms] comment
interpolated [mm/min]
101 1: 1: ABS linear 1 0: 100 0: 100 200000.0 0.0 5000.00 700 0
Continuous
102 1: 2: INC linear 1 0: 100 0: 100 -100000.0 0.0 7000.00 700 0
Continuous
103 1: 2: INC linear 1 0: 100 0: 100 30000.0 0.0 1500.00 700 0
Continuous
104 1: 2: INC linear 1 0: 100 0: 100 50000.0 0.0 2000.00 700 0
Continuous
105 0: 1: ABS linear 1 0: 100 0: 100 25000.0 0.0 4000.00 700 0
Completed
106
The 3-axis linear interpolation control by axis 1, axis 2 and axis 3 is operated.
Y axis
(Interpolation axis 2) No.107
200
mm
150
Z axis
(Interpolationaxis 3)
100
200 75 No.108
mm 150
100 50
75
25
50 X axis
25 50 75 100 150 (Reference axis 1)
0 25 200 mm
(Reference axis)
(Interpolation axis)
(Interpolation axis)
Mount the QD75 on the slot of the demonstration machine and connect the MR-H10A
amplifier and X-Y-Z table as shown below.
(XY0A0 to 0BF)
SW D5C-QD75P SW D5C-GPPW
RS-232C
cable
Differential driver output
AX1
AX2
AX3
X axis encoder
Y axis encoder Z axis encoder
X axis UVW
Y axis UVW
Z axis UVW
X Y Z
LS of X-Y-Z X-Y-Z table
EMG switch
App - 1
The XYZ table allows you to draw a plain view with a ballpoint pen using three
servomotors (HA-FH-053Y) and a ball screw (Lead 8mm).
200
mm 200 mm
Ballpoint
pen
DOG
RLS DOG
RLS
Replacement
of ballpoint pen
Pen up-and-down • Before using the
screw
demonstration machine, be
sure to move the ballpoint
pen up and down.
If the ballpoint pen is
constantly attached to a
paper, its ink will leak and be
wasted quickly.
Move the ball point pen down
after checking the machine
operation.
E
CONX1/CONY1:MS3102A/8-4P(DDK)
(CON Z1: For 3 axes)
7 4
17 3
9 14
X axis Y axis Z axis To servo amplifier 15 15
10 8 Motor accessory cable
1 2
20 7
11 1
19 10
13 20
CONXE1/CONYE1:MRP-20M01(Honda)
(CON ZE1: For 3axes)
CONLS:MRP-16M01(Honda)
OUT
X axis Y axis Z axis
Zeroing dog Black + Brown
1 6 11 L Pink Switch = ON at zero point
-
Blue
OUT
Limit + Switch = OFF
2 7 12 L at limit
-
OUT
3 8 13 Limit + Switch = OFF
L at limit
-
+24V
4 9 14 SG
5 10 15
To QD754D module
(3) Basic parameter of the MR-H10A servo amplifier (For details, refer to the
instruction manual.)
(For the demonstration machine, set the parameter No.3 (ST0) to "1".)
Initial
Pr No. Setting value
Name value Function description
abbr.
Setting range Unit
0 3 3 0: HA-SH standard 2: HA-UH flat
Motor series
MSR* 0 to 3 1: HA-LH low-inertia 3:HA-FH
053 053 Upper 2 digits : Motor rated output (Unit: 100W) 053
1
Motor type Last 1 digit : Rated rotation speed (Unit: 3000 rev/min
MIY* 023 to 2202 50 W
1000rev/min.)
0000 1) 0 to e according to the type of regenerative
Without regenerative 0000 brake option
2 brake option 2) Servo loop
Servo type
STY* 0 1 0 2 0: Position 1: Position-speed
0000 to 0D05h 2: Speed 3: Speed-torque
4: Torque 5: Torque-position
1) Absolute position detection
0: Invalid 1: Valid
0001 0000 2) External dynamic brake
0: Without 1: With
3 3) Pin 23 function of connector CN1
Function selection 1
STO* 1 2 3 4 0: Zero speed detection ZSP
1: Electromagnetic brake interlock
4) Pulse train input system
0000 to 2111h
0: Open collector
1: Differential receiver
Command pulse 1 1
4 Command pulse CMX Position command CMX
multiplying factor f2=f1
CMX (numerator) 1 to 50000 input f1 CDV pulse f2 CDV
5 Command pulse 1 1 1 CMX
multiplying factor (Refer to the next page)
CDV (denominator) 1 to 50000 50 CDV 50
6 100 100
In-position range Sets a droop pulse value to output the positioning complete signal.
INP 0 to 50000 PLS
7 Position control gain 70 70 Position loop gain. Sets this gain to improve trace ability within the
PG1 1 4 to 1000 rad/sec range where overshooting does not have a too high value.
8 3 3 Sets time constant when setting the primary delay filter to the position
Smoothing
PST 0 to 50000 msec command.
9 SC1 Internal speed command 1 speed (Speed torque)
10 SC2 Internal speed command 2 speeds (Speed torque)
11 SC3 Internal speed command 3 speeds (Speed torque)
12 Not used for positioning STA Acceleration time constant (Speed)
13 STB Deceleration time constant (Speed)
14 STC S-curve acceleration/deceleration time constant
15 TQC Torque command time constant (Torque)
16 Torque limit time 0 0 Sets time constant when setting the primary delay filter to the torque
TLT constant 0 to 50000 msec limit command
Initial
Pr No. Setting value
Name value Function description
Setting range Unit
abbr.
Pr No. Initial
Setting value
Name value Function description
abbr.
Setting range Unit
First digit: Auto tuning selection 0.1.2
20 0001 0001 Second digit : Restart after instantaneous power failure Valid/Invalid
* Function selection 2
OP1 Third digit : Auto tuning response 0 to C
0000 to 1C12h Fourth digit : Speed control servo lock Invalid/Valid
First digit: Low acoustic noise selection 0.3
0000 0000 Second digit: Command pulse input form
21
* Function selection 3 (0: CW/CCW 1: Signed 2: A phase/B phase)
OP2
0000 to 2124h Third digit: Command pulse input logic
(0: Positive logic 2: Negative logic Fourth digit: 0)
22 0000 0000 Specifies sudden stop (0) or slow stop (1) (by PARA No.8) when the
* Function selection 4
OP3 000 to 0010 limit switch (stroke end) operates in second digit.
23 0 0 Droop pulse is 0 at constant speed operation when set to 100%.
Feed forward gain
FFC 0 to 100 % Used when the auto tuning is invalid.
24 Command pulse 1 1
multiplying factor
CM1 numerator 2 1 to 50000 Dl1 Dl2 Electronic gear
1 numerator
25 Command pulse 1 1 Sets to 50 or more, 50 or less ON OFF CM1
multiplying factor when electronic gear switching
CM2 1 to 50000 OFF ON CM2
numerator 3
function is valid in PARA No.41.
Command pulse 1 1 ON ON CM3
26
multiplying factor OFF OFF PARA-No.4
CM3 numerator 4 1 to 50000
27 Excessive error alarm 80 80
For alarm output of excessive droop pulse
ERZ level 1 to 1000 KPLS
28 STD Second acceleration time constant
29 STE Second deceleration time constant
30 Not used for SC4 Internal command speed 4
31 positioning SC5 Internal command speed 5
32 SC6 Internal command speed 6
33 SC7 Internal command speed 7
34 50 50
Zero speed Operating range of zero speed output
ZSP 0000 to 10000 rpm
35 Not used for VCM Rotation speed at 10V command
36 positioning
VCA* VC speed command average
37
Spare TLC Torque control command full-scale value
38
The following selection can be made with second digit of PARA No.43.
1 1 1) Output division ratio setting
39 Encoder output of servo Servo amplifier Cumulative feedback pulse per motor rotation
* output = 4 ENR setting value (P/R)
ENR amplifier
2) Output pulse setting
1 to 32768
Servo amplifier output = ENR setting value/4 (P/R)
40 Torque limit value 100 100 Max. torque is 100%. When external torque limit is valid, limits nearer
TLL (Internal) 0 to 100 % one. Monitor output 8V at this setting level.
1) Second acceleration/deceleration selection
(Select with CR=ON)
0: Invalid
0000 0000 1: Valid (PARA No. 28, 29)
2) Clear signal (CR)
41 0: Leading
* Input signal selection 1 1: Shortened
IP1
1 2 3 4 3) Internal speed 7 (D10 D11 D12)
0: Invalid
0000 to 1111h 1: PARA No. 30 to 33 Valid
4) Electronic gear 4-stage switching
0: Invalid
1: PARA No.24, 25 Valid
Initial
Pr No. Setting value
Name value Function description
abbr.
Setting range Unit
1 2 3 4
0000 0000
1) LSN input selection
42 2) LSP input selection
* Input signal selection 2
IP2 3) SON input selection
4) External torque limit signal
0000 to 1111h 0: OFF Internal limit ON External limit
1: OFF Max. torque ON Internal limit
First digit: 0: m/min 1: m/sec 2:
0000 0000
deg/min Multiplying factor is according to PARA
43
* Function selection 5 No.45
OP4
0000 to 0012h Second digit: Encoder output selection of the servo amplifier (PARA No.
39)
0: Division ratio setting 1: Output pulse setting
44 0000 0000 First digit: Alarm code output Valid/Invalid
* Output signal selection
OPC 0000 to 0011h Second digit: Pre-alarm output Valid/Invalid
45 Machine speed 10000 10000
* Sets the conversion constant of rotation speed/machine speed.
MVC conversion constant 0 to 50000
1) Sampling time (msec)
0001 0001 0: 1.77 3: 14.2
2: 7.11
46 Data selection before
* 0 1 2 3 2) Data selection 1
MOA alarm
3) Data selection 2
0000 to 0499h
Every selection is according to on items 0 to
9 of PARA Nol.17.
47 Not used for
VC offset
VCO positioning
48 TLAP 0 0
Offset for the limit analog command of a reverse run side torque
TPO offset -9.999 to 9.999 mV
49 TLNP 0 0
Offset for the limit analog command of a forward run side torque
TNO offset -9.999 to 9.999 mV
50 MO1 0 0
Offset for monitor output 1
MO1 offset -9.999 to 9.999 mV
51 MO2 0 0
Offset for monitor output 2
MO2 offset -9.999 to 9.999 mV
53 Electromagnetic brake 100 100 Sets the time delay from the electromagnetic brake operation to the
MBR sequence output 0 to 1000 msec base circuit shut-off.
52
54
55 Spare
56
57
58 1.0 1.0 Automatically set if the auto tuning is set for the load inertia moment
Load inertia ratio
DG2 0.0 to 100.0 0.1 ratio to the servomotor
59 Machine resonance 0 0 0: Without filter Sets 1 to 7 according to the resonance frequencies
NCH suppression filter 0 to 7 1125 to 281
60 25 25 Used when increasing the response for load disturbance
Position control gain 2
PG2 1 to 500 rad/sec Setting larger values generates vibration noise.
61 VG1 Speed control gain 1
62 Not used for VG2 Speed control gain 2
63 positioning VIC Speed integral compensation
64 VDC Speed differential compensation
Appendix 2 Installing SW D5C-QD75P
Start
Installation of SW D5C-QD75P
Register your name and organization name.
(1) Refer to the details on QD75P install operation
Register product I/D.
Startup of application
Check whether it is correctly installed or not. Refer to Section 5.2 Startup of QD75P
Completion
App - 8
(1) Installing SW D5C-QD75P
This section explains how to install SW D5C-QD75P.
POINT
• Before installation, close all other applications running on Windows.
• When using Windows NT Workstation 4.0, log on as a user with administrative
privileges (for computer management).
POINT
• When the installation is failed in the middle of process, uninstall the software, and
then reinstall it again.
The following icon appears after the installation of SW D5C-QD75P.
Appendix 3 QD75 Maintenance Instructions
1) Read the positioning data, parameters and block start data from the QD75 buffer
memory to a peripheral device (personal computer).
2) Turn the PLC power off and remove the connector connected to the QD75 module.
6) Turn the power on, and check the QD75 status and the connecting status with
external devices using the QD75P connection confirmation function of a
peripheral device (personal computer).
7) Write each data from a peripheral device (personal computer) to the QD75D
module.
App - 12
Appendix 4 Intelligent Function Module Direct Device
In this document, writing and reading of data are performed using the intelligent
function module direct device in order to simplify the sequence program and reduce
steps
(1) Intelligence function module direct device
This device directly accesses the buffer memory of the intelligent function
module/special function module from the QCPU.
Designation method : U \G
Buffer memory address (0 to 16383 with a decimal)
High-order two digits when expressing the I/O number of
intelligent function module/special function module in 3 digits
In case of X/Y0A0····X/Y0A0
Designation: 0A
The following describes the QD75 dedicated instruction types, the form of each
instruction and how to use them.
Axis 1 PSTRT1 Starts the positioning control of the designated axis of the QD75.
Axis 2 PSTRT2 (Refer to Appendix 5.1 of
Instru ction the text.)
Positioning startAxis 3 PSTRT3 ZP.PSTRT "Un" (S) (D)
Axis 4 PSTRT4
Axis 1 TEACH1 Carries out teaching of the designated axis of the QD75.
Axis 2 TEACH2 (Refer to Appendix 5.2 of
Instru ction the text.)
Teaching Axis 3 TEACH3 ZP.TEACH "Un" (S) (D)
Axis 4 TEACH4
Writes the buffer memory parameters, positioning data and block start data to the flas
(Refer to Appendix 5.3 of
ction the text.)
Writing to flash ROM Instru
ZP.PFWRT "Un" (S) (D)
PFWRT
Initializes the parameters of the buffer memory and flash ROM to the
factory-set data (initial values).
(Refer to Section 14.7 of
ction
Instru the manual.)
Parameter initialization PINIT
Z.PINIT "Un" (S) (D)
X2 M100
PLSM2
(Start command) (Start flag)
M2
SETM100Start flag set
M200 M201
PLSM101
(Start completion)(Abnormal completion)
X2 Y0B0
PLSM2
(Start(Start) command)
M2
U0A\
K807 D11K100 G1500 No.100 start
MOVP
SETY0B0Axis 1 start
Y0B0 X0B0X0AC
RST Y0B0 Start flag reset
(Start)(Start completion) X0A8
(BUSY)
(Error detection)
These dedicated instructions are used to start the positioning of the designated axis.
Usable device
Setting MELSECNET/10 Special
Internal device Index register constant
data File register direct J module Others
Zn
Bit Word Bit Word UG K,H,$
(S)
(D)
PSTRT1(Axis 1)
ZP.PSTRT1"Un"(S)(D)
PSTRT2(Axis 2) ZP.PSTRT2"Un"(S)(D)
PSTRT3(Axis 3) ZP.PSTRT3"Un"(S)(D)
PSTRT4(Axis 4) ZP.PSTRT4"Un"(S)(D)
When PSTRT1, PSTRT2, PSTRT3 and PSTRT4 are the same, they are designated
as "PSTRT ".
Setting data
OFF When
ON completed
Complete device abnormally
When
OFF completed normally
Complete state 1 scan
display device
Errors (1) When the 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).
Precautions (1) When positioning is started by the PSTRT instruction, the positioning start
signals (Y10 to Y13) will not turn ON.
To confirm that positioning control is being executed, use the PSTRT start
command or the positioning start complete signals (X10 to X13).
(2) The following dedicated instructions cannot be executed simultaneously for the
same axis.
(They can be executed simultaneously for different axes.)
• Positioning start instructions (PSTRT1 to PSTRT4)
• Absolute position restoration instructions (ABRST1 to ABRST4)
• Teaching instructions (TEACH1 to TEACH4)
(3) The PSTRT instruction can be executed when the QD75 READY signal (X0) is
turned ON.
When the QD75 READY signal is turned OFF, the PSTRT instruction will not be
executed even if the PSTRT instruction execution request is given. (Not
processed.)
Before executing the PSTRT instruction, turn ON the PLC READY signal (Y0),
and turn ON the QD75 READY signal (X0).
Program examples The following program executes the positioning of positioning data No.100 and No.200
repeatedly when X71 turns ON.
The positioning is completed when X72 turns ON.
Use D90 to D92 as the control data devices, and M92 and M93 as the complete
devices of the positioning data No. 100.
Use D93 to D95 as the control data devices, and M95 and M96 as the complete
devices of the positioning data No. 200.
(1) Positioning start command reception
X71 Positioning start command pulsed
M98
Position
-ing data No.100
start storage
Positioning start command pulsed
(3) Positioning data No.200 start request
M92 M93
DeviceComplete
head for device for PSTR1PSTRT1
instruction
Positioning start command storage OFF
Position
-ing start command storage
TEACH1(Axis 1)
ZP.TEACH1"Un" (S) (D)
TEACH2(Axis 2)
ZP.TEACH2"Un" (S) (D)
When PSTRT1, PSTRT2, PSTRT3, and PSTRT4 are the same, they are shown as
"PSTRT ".
Setting data
Setting data Setting details Setting side (*1) Data type
A QD75 head I/O number
"Un" (00 to FE: Highest two digits in the case of an I/O number User BIN 16 bits
expressed in three digits)
(S) A head number of a device in which control data is stored - Word
A head number of a bit device that turns ON for one scan time at
completion of the instruction.
(D) System Bit
If the instruction is completed abnormally, ((D) + 1) will also be
turned ON.
Control data
Device Item Setting data Setting range Setting side (*1)
(S)+0 System area
The state at the time of completion is stored.
0 : Normal completion
(S)+1 Complete status System
Other than 0 : Abnormal
completion
(error code)
The address to write the current feed value
to (positioning address/arc address) is set.
Teaching 0: Writes the current feed value to the
(S)+2 positioning address. 0,1 User
data selection
1: Writes the current feed value to the arc
address.
Positioning data The positioning data No. to carry out
(S)+3 1 to 600 User
No. teaching is set.
*1 The data on the setting side is as follows.
• User : Data before the execution of dedicated instructions is stored by users.
• System : Data after the execution of dedicated instruction is stored by PLC CPU.
Functions (1) The "current feed value" of the axes to be processed (See below) is set in the
positioning address or arc address.
The positioning data other than the positioning addresses and arc addresses are
set using a peripheral device or sequence program.
• TEACH1: Axis 1
• TEACH2: Axis 2
• TEACH3: Axis 3
• 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 in the JOG operation,
inching operation, or manual pulse generator operation.
(4) The TEACH instruction completion can be confirmed using the complete
devices ((D)+0) and ((D)+1).
(a) Complete device ((D)+0)
This device is turned ON by the END processing of the scan in which
TEACH 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 how the TEACH 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 in which TEACH
instruction was completed, and turned
OFF by the next END processing. (Same
ON/OFF operation as complete device).
END processing END processing END processing END processing
Errors
(1) When the TEACH instruction is completed abnormally, the error complete
signal ((D)+1) is turned ON, and the error code is stored in the complete status
Precautions (S)+1.
(1) The following dedicated instructions cannot be executed simultaneously for the
same axis.
(They can be executed simultaneously for different axes.)
• Positioning start instructions (PSTRT1 to PSTRT4)
• Absolute position restoration instructions (ABRST1 to ABRST4)
• Teaching instructions (TEACH1 to TEACH4)
(2) The TEACH instruction can be executed when the BUSY signal (XC, XD, XE,
XF) is turned OFF.
When the BUSY signal is turned ON, the TEACH instruction will not be
executed. (Not processed.)
Before executing the PFWRT instruction, make sure that the BUSY signal for the
Program example axis to be processed is turned OFF.
(1) Write a sequence program where the teaching is executed to the positioning
data No. 3 of the axis 1 when X39 is turned ON.
M19X0C
Teaching commandBusy
pulse
signal Teaching command storage
Teaching data
Teaching command storage
Teaching execution
ControlComplete
data fordevice TEACH 1
instruction
These dedicated instructions are used to write the QD75 parameters, positioning data
and block start data to the flash ROM.
Usable device
Setting MELSECNET/10 Special
Internal device Index register Constant
data File register direct J module Others
Zn
Bit Word Bit Word UG K,H,$
(S)
(D)
Setting data
Control data
OFF When
completed
Complete device ON abnormally
When
OFF completed normally
Complete state 1 scan
display device
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).
Precautions (1) Do not turn OFF the power or reset the PLC CPU while parameters, positioning
data and block start data are written to the flash ROM using the PFWRT
instruction.
Doing so causes a parameter error or abnormal positioning operation because
the parameters, positioning data and block start data are not written normally to
the flash ROM.
If this error occurs, restart the operation by the method shown below.
• For the QD75 S/W package, 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 (by executing the PINIT
instruction, etc.).
Then execute the PFWRT instruction again.
(4) The PFWRT instruction can be executed when the QD75 READY signal (X0) is
turned OFF.
When the QD75 READY signal is turned ON, the PFWRT instruction cannot be
executed.
Before executing the PFWRT instruction, turn OFF the PLC READY signal (Y0)
and then turn OFF the QD75 READY signal.
Program example (1) The following is a program used to write the parameters, positioning data and
block start data stored in the buffer memory to the flash ROM when X3D is
turned ON.
M26 X0C
BUSY
Flash signal Flash ROM
ROM write
write command
command storage
pulse Standby of PLC READY signal output to QD75
M27 Y0
PLC PLC READY
Flash READY signal OFF
ROM signal confirmation
write
command Flash ROM write execution
storage
T1
Control data Complete
PLC for PFWRT device
READY instruction
signal
OFF
Flash ROM write command storage OFF
confirm
-ation M38
M39
Abnormal Flash
Complete complete ROM
device device write
command
storage
Appendix 6 Connection Examples with Servomotors
R1 S1
10m max. *5
CN1 *4
SG 16 CN2
QD75D
SG 40 En
*1 Near-point dog
External emergency stop EMG 46 co
DOG FLS RLS STOP CHG 3
Upper limit *2 Servo-on Reset Torque limitSON 12 de
Lower limit *2 RESend LSN
Forward run stroke end Reverse run stroke 15 r
Stop TL VIN
13
External command*3 LSP 38
50m max.
*3
39
COM COM CLEAR 6 20
DC24V
7 VDD CR SG PP PPR NP 22
NPR RD
13 37
CLEAR COM 14 17
10 CN3 Monitor output 10k
15
PULSE F+ PULSE F- PULSE R+ PULSE R- READY RDY COM Max. 1mA total Two-way deviation
11 4MO1 MO2 MOG A A
16
35 3
17
36 1
18
11 49 2m max.
12
PGO59 LZ LZR 8
PGO COM10 9
5V A B +5V
PULSER A+ A19 PULSER A- B19 PULSER B+ A20 PULSER B- Zero
B20speed detection Fault VDD21
OV RA1
5G ZSP23
ALM48
RA2
2m max.
REMARK
(1) *1: The logic for each I/O terminal can be changed with the input signal logic
selection and the output signal logic selection in the 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: These are limit switches for the servo amplifier (for stop).
(4) *4: Refer to the specifications and handling instruction manual of the servo
amplifier MR-H for details on connection.
(5) *5: This indicates the distance between the QD75D and servo amplifier.
(6) *6: Use the same logic (positive logic/negative logic) for the QD75D and servo
amplifier. The QD75D is initially set to negative logic.
(7) "FA-CBLQ75M2H(-P) cable" can be used for the connection between the
QD75D and MR-H ]A.
(Refer to Section 2.2 Component list.)
Appendix 6.2 Connection Example of QD75D and MR-J2/J2S A (Differential Driver) *5
HC-MF,HA-FF
Configure a sequence to turn OFF series motors
the MC at alarms and
emergency stops.
NF MC MR-J2- A
L1 U
V U
V
Power supply TE1 SM
L2 W
3-phase 200VAC W
L3 E
L11 PE B1
EMG
L21
PE
C TE2
D DC24V Electromagnetic
brake
P
10m max.*4 CN1A B2
PG05 9 LZ 5
RD
PG0 COM 10 LZR 15
DC24V SD
COM 6 CN3 GND
COM 7 12 TxD Commercially
GND available
LG 1 2 RxD
Near-point dog RS personal
Externa SD Plate 1 LG computer
DOG 3 l CS
CN1B 11 LG
5 LG
15 LG
FLS 1 Upper limit emergency
DR
stop EMG 15
*2
RLS Lower limit *2 Servo-on ER
2 SON 5
STOP 4 Stop Reset RES 14 Monitor output
External 4 MO1 A Max. 1mA total
CHG 5 command Proportion control
PC 8 10k Two-way deviation
5V 3 LG
PULSER A+ A19 5V Torque limit selection
TL 9
*3 Forward run stroke end 14 MO2 A
PULSER A- B19 A LSP 16 10k
*3 Reverse run stroke end 13 LG
PULSER B+ A20 B LSN 17
SG 10 Plate SD
PULSER B- B20
OV 5G SG 20 2m max.
P15R 11
Analog torque limit command (+)
TLA 12
+10V/max. current
LG 1
SD Plate
2m max.
REMARK
(1) *1: The logic for each I/O terminal can be changed with the input signal logic
selection and the output signal logic selection in the 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: These are limit switches for the servo amplifier (for stop).
(4) *4: This indicates the distance between the QD75D and servo amplifier.
(5) *5: Use the same logic (positive logic/negative logic) for the QD75D and servo
amplifier. The QD75D is initially set to negative logic.
(6) "FA-CBLQ75M2J2(-P) cable" can be used for the connection between the
QD75D and MR-J2/J2S- A.
(Refer to Section 2.2 Component list.)
Appendix 6.3 Connection Example of QD75D and MR-C A (Differential Driver) *5
Configure a sequence to turn OFF the MC at alarms and Regenerative resistor is an external option.
HC-PQ
emergency stops.
series motor
NF MC CP
Power supply U
L1 TE1 U
1-phase 200VAC (A type) V SM
V
or 1-phase 100VAC (A1 type) L2 WW
E
MR-C A EMG
or
MR-C A1 Electromagnetic brake
DC24V
ervo-on signal OFF Shut off by alarm signal
+5V
5V A B
PULSER A+ A19 PULSER A- B19 PULSER B+ A20 PULSER B- B20
OV
5G
Manual pulse generator MR-HDP01
24V +
power supply -
REMARK
(1) *1: The logic for each I/O terminal can be changed with the input signal logic
selection and the output signal logic selection in the 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: These are limit switches for the servo amplifier (for stop).
(4) *4: This indicates the distance between the QD75D and servo amplifier.
(5) *5: Use the same logic (positive logic/negative logic) for the QD75D and servo
amplifier. The QD75D is initially set to negative logic.
(6) "FA-CBLQ75M2C2(-P) cable" can be used for the connection between the
QD75D and MR-C A.
(Refer to Section 2.2 Component list.)
Appendix 7 Comparisons with Conventional Positioning Modules
The following shows the comparisons between the QD75 and the conventional
positioning module A1SD75.
(1) Comparisons of performance specifications
Model QD75P1 QD75P2 QD75P4 A1SD75 A1SD75 A1SD75
Item QD75D1 QD75D2 QD75D4 P1-S3 P2-S3 P3-S3
No. of control axes 1-axis 2-axis 4-axis 1-axis 2-axis 3-axis
No. of positioning data items 600/axis 600/axis*1
Position 2-axis linear interpolation
control 3-axis linear interpolation
interpolation 4-axis linear interpolation
functions
2-axis circular interpolation
Position control
1-axis
2-axis linear
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)
/-13421772.8 to 13421772.7 ( m)
-21474.83648 to 21474.83647(inch) -21474.83648 to 21474.83647 (inch)
/-1342.17728 to 1342.17727 (inch)
0 to 359.99999 (degree) 0 to 359.99999 (degree)
/0 to 359.99999 (degree)
-2147483648 to 2147483647 (pulse) -2147483648 to 2147483647 (pulse)
/-134217728 to 134217727 (pulse)
<Incremental system > <Incremental system>
-214748364.8 to 214748364.7 ( m) -214748364.8 to 214748364.7 ( m)
/-13421772.8 to 13421772.7 ( m)
-21474.83648 to 21474.83647 (inch) -21474.83648 to 21474.83647 (inch)
2 /-1342.17728 to 1342.17727 (inch)
Positioning range* -21474.83648 to 21474.83647 (degree) -21474.83648 to 21474.83647 (degree)
/-1342.17728 to 1342.17727 (degree)
-2147483648 to 2147483647 (pulse) -2147483648 to 2147483647 (pulse))
/-134217728 to 134217727 (pulse)
<Speed-position or position-speed <Speed-position switching control>
switching controls>
0 to 214748364.7 ( m) 0 to 214748364.7 ( m)
/0 to 13421772.7 ( m)
0 to 21474.83647 (inch) 0 to 21474.83647 (inch)
/0 to 1342.17727 (inch)
0 to 21474.83647 (degree) 0 to 21474.83647 (degree)
/0 to 1342.17727 (degree)
0 to 2147483647 (pulse) 0 to 2147483647 (pulse)
/0 to 134217727 (pulse)
A1SD75
*2: With the QD75, the "external start signal" and "speed-position switching signal" are combined into the
"external command signal".
A ABSOLUTE SYSTEM
ABSOLUTE ENCODER One of systems for expressing a positioning
A detector that enables the angle data within 1 address.
motor rotation to be output to an external Absolute address system.
destination. Absolute encoders are generally able This system uses 0 as a reference, and expresses
to output 360° in 8 to 12 bits. the address as the distance from 0. The direction
Incremental encoders have a disadvantage in that is automatically determined, even when it is not
the axis position is lost when a power failure designated. The other address system is the
occurs. On the other hand, with absolute increment system.
encoders,
the axis position is not lost even when a power 0 No.1 No.2 No.3
failure occurs.
Various codes such as a binary code and BCD
code can be output. Absolute encoders are more
expensive, more accurate, and larger than
incremental encoders. Refer to "ENCODER". AUTOMATIC TRAPEZOIDAL
Fixed slit
Light-emitting diode
0
ACCELERATION/DECELERATION
2 1
Slit 2
234
An operation in which a graph of the time and
disk 2
speed takes a trapezoidal shape.
Phototransistor Acceleration
Deceleration
24
23
Speed
2 21
Rotating axis 2
Time
20
Binary code C
ABSOLUTE POSITION DETECTION SYSTEM COMPOSITE SPEED
In the absolute position detection system, once Movement speed of the control target during
OPR is carried out at the system startup, the interpolation operations.
system stores the machine position in the memory
and retains the current position even when the
Y axis speed Composite speed
power is turned OFF. Mechanical deviation will be
compensated, so that OPR is not required after
the power is turned ON next time. This system X axis speed
Power supply
F The axis returns to the machine OP at the OPR speed without
FAST OPR detecting the zeroing dog.
(This is not validated unless machine OPR has I
been carried out first.) INCREMENTAL SYSTEM
OPR speed
The current value is 0 in this system. Target
positions are represented by the designated
direction and distance of travel from the current
value. Also called the relative address system.
This system is used in fixed-feed, etc.
Stop No.1 No.2 No.3
0
OP
Left
No.2 is several millimeters
0 0 to the right of No.1.
Dog switch
Right Right
FEEDBACK PULSE
INCREMENTAL ENCODER
A method of returning a pulse train to confirm
A device that simply outputs ON/OFF pulses by
whether the machine faithfully operated according
the rotation of the axis. 1-phase types output only
to the commands issued in automatic control. If
A pulses, and do not indicate the axis rotation
the machine did not faithfully operate according to
direction. 2-phase types output both A and B pulse
the commands, a correction command is issued.
trains, and can judge the rotation direction. The
For example, if a command is issued for 10,000
direction is judged to be forward if the B pulse train
pulses, and a feedback pulse of 10,000 pulses is
turns ON when A is ON, and judged to be reverse
returned, then the balance becomes 0 and it can
if A turns ON when B is ON. There is also another
be judged that the command was faithfully
type of incremental encoders with a zero signal.
followed.
The most commonly used incremental encoders
FLASH ROM output between 100 and 10,000 pulses per axis
This battery-less memory can be used to store rotation.
B signal slit
parameters and positioning data for backup.
A signal slit
Because it is battery-less, battery maintenance is Light-emitting diode
Slit disk A
not required B
Z
Phototransistor Zero signal slit
1
A
4 pitch
B 1 pulse per axis rotation
Zero signal
INTERLOCK
In this condition, the machine is blocked from
moving to the next operation until the operation in
progress is complete. This function is used to
prevent devices from being damaged and
overrunning.
Y1
Y0 Forward run
Y0
Y1 Reverse run
M The current position in machine coordinates determined by a
MACHINE FEED VALUE machine having an OP address as a reference is stored.
The OP address at completion of machine OPR is Even if the current value is changed, this value will not change.
stored.
MANUAL PULSE GENERATOR P
The handle of this device is manually rotated to PLC READY
generate pulses. This device is used when This signal is output when the PLC CPU is in a
manually carrying out accurate positioning. READY state.
Positioning can be started only in this state.
POSITION CONTROL
Control that is performed mainly over position and
dimension, such as in fixed-feed, positioning,
numerical control, etc. This is always controlled
Made by Mitsubishi Electric Corp. with feed pulses.
(model: MR-HDP01)
O POSITIONING DATA
OVERRIDE FUNCTION Data for users to carry out positioning. The No. of
With this function, the speed during positioning points to which positioning is carried out (the No.
operations (current speed) can be varied between of addresses) is designated by users. In the QD75,
1 and 300%. these are 600 points. Writing (changing) data by
The speed can also be changed by the same the program during positioning is also possible.
variable rate for continuous positioning carried out POSITIONING PARAMETER
at different designated speeds. Basic data for carrying out positioning control.
Types of data include control unit, movement
amount per rotation, speed limit value, upper and
lower stroke limit values, acceleration/deceleration
time, positioning system, etc.
Parameters have an initial value, which can be
changed to match the control conditions.
R This device detects the angle by resolving the two voltages of
REFERENCE AXIS SPEED an analog input. Also called a 2-phase synchro. For a 1-phase
The speed of the reference axis during voltage input, the axis rotation angle is converted into a
interpolation operations. perpendicular 2-phase voltage (analog voltage) and output.
Movement distance for one resolver rotation
Y axis speed
(interpolation axis)
SKIP FUNCTION
When the SKIP signal is input, the positioning
being executed is interrupted, the motor is
decelerated to stop, and the next positioning is
automatically carried out.
STROKE LIMIT (Movement outside this range is possible in JOG.) For
The range in which a positioning operation is operations using a worm gear, the stroke limit is determined by
possible, or the range in which the machine can the length of the screw. For operations using a fixed-feed, it is
be moved without damage occurring. determined by the max. dimension to be cut.
The upper and lower limits are set in the TURNTABLE
parameters, however a separate limit switch A table that rotates with power.
should be established and an emergency stop One rotation is 360° and this is divided into angles
circuit outside the PLC should be installed. suitable for the work.
Limit switch for
emergency stop The positioning control unit is "degree".
30°
U
UNIT SETTING
0 Upper limit
Lower limit 3m (9.84feet) Refers to setting a unit of the target address of
positioning, or of the movement amount.
Positioning possible in a 3m (9.84feet) range By using the units of mm, inch, degree and pulse
T appropriately, the initial value in the fixed
TEACHING parameters becomes a pulse unit.
When the positioning address is uncertain, or X
gauging is required, users may need to search for XY TABLE
the positions by themselves. This function is used A device that moves a table in the X (latitudinal)
in such case to teach the obtained position to the and Y (longitudinal) directions so that positioning
machine. can be carried out easily.
For example, complex addresses, such as There are also commercially available XY tables.
addresses of a drawing, can be taught by tracing a Y table Ball screw
model, and the positioning operation can be
X table
reproduced.
TRACKING FUNCTION
With this function, positioning is carried out to a
moving target at relative speed by inputting the
movement amount from an external encoder and
adding it to the servo command value.
Z
ZERO PHASE SIGNAL
The pulse which is generated one (or two) per
rotation of a pulse generator.
It is used for OPR of positioning. Also called "Z
signal" or "PGO".
Feedback pulse
PG0
One rotation of axis
OP SHIFT FUNCTION
The OP position can be shifted in the positive or
negative direction by executing OPR and
determining the shift amount to the OPR complete
position.
An OP can be set to a position other than the zero
point position or outside of the dog switch.
NEAR-POINT DOG
A switch placed before the OP. When this switch
turns ON, the feedrate is changed to the creep
speed. Because of that, the time that this switch is
ON must be longer than the time that the feedrate
is decelerated to the creep speed.
Feedrate
Creep speed
ON OFF
Time
Near-point dog
Mitsubishi Programmable Logic Controller Training Manual
QD75 Positioning course(Q-series)
MODEL SCHOOL-Q-QD75-E
MODEL 13JW54
CODE
SH(NA)-080621ENG-A(0601)MEE
HEAD OFFICE : TOKYO BUILDING, 2-7-3 MARUNOUCHI, CHIYODA-KU, TOKYO 100-8310, JAPAN
NAGOYA WORKS : 1-14 , YADA-MINAMI 5-CHOME , HIGASHI-KU, NAGOYA , JAPAN
When exported from Japan, this manual does not require application to the Ministry of Economy, Trade and Industry for service transaction permission.