A1sd75m1 Ib66715i
A1sd75m1 Ib66715i
Before using this product, please read this manual and the relevant manuals introduced in this manual
carefully and pay full attention to safety to handle the product correctly.
The instructions given in this manual are concerned with this product. For the safety instructions of the
programmable controller system, please read the CPU module User's Manual.
In this manual, the safety instructions are ranked as "DANGER" and "CAUTION".
Note that the ! CAUTION level may lead to a serious consequence according to the circumstances.
Always follow the instructions of both levels because they are important to personal safety.
Please save this manual to make it accessible when required and always forward it to the end user.
[Design Instructions]
! DANGER
Provide a safety circuit outside the programmable controller so that the entire system will
operate safely even when an external power supply error or PLC fault occurs.
Failure to observe this could lead to accidents for incorrect outputs or malfunctioning.
(1) Configure an emergency stop circuit and interlock circuit such as a positioning upper
limit/lower limit to prevent mechanical damage outside the PLC.
(2) The machine zero point return operation is controlled by the zero point return direction and
zero point return speed data. Deceleration starts when the near-point dog turns ON. Thus,
if the zero point return direction is incorrectly set, deceleration will not start and the
machine will continue to travel. Configure an interlock circuit to prevent mechanical
damage outside the PLC.
(3) When the module detects an error, normally deceleration stop or sudden stop will take
place according to the parameter stop group settings.
Set the parameters to the positioning system specifications.
Make sure that the zero point return parameter and positioning data are within the
parameter setting values.
A-1
[Design Instructions]
! CAUTION
Do not bundle or adjacently lay the control wire or communication cable with the main circuit or
power wire.
Separate these by 100mm or more.
Failure to observe this could lead to malfunctioning caused by noise.
[Mounting Instructions]
! CAUTION
Use the PLC within the general specifications environment given in this manual.
Using the PLC outside the general specification range environment could lead to electric
shocks, fires, malfunctioning, product damage or deterioration.
Always securely insert the module latches at the bottom of the module into the fixing holes on
the base unit. (Always screw the AnS Series module onto the base unit with the specified
torque.)
Improper mounting of the module could lead to malfunctioning, faults or dropping.
Securely connect the external device connection connector, SSCNET connection connector
and peripheral device connection connector into the module connector until a click is heard.
Improper connection could lead to a connection fault, and to incorrect inputs and outputs.
When not connecting the external device, always install a cover on the connector section.
Failure to observe this could lead to malfunctioning.
[Wiring Instructions]
! DANGER
Always confirm the terminal layout before connecting the wires to the module.
Make sure that foreign matter such as cutting chips and wire scraps does not enter the module.
Failure to observe this could lead to fires, faults or malfunctioning.
[Startup/Maintenance Instructions]
! DANGER
Switch off all phases of the externally supplied power used in the system before cleaning or
tightening the screws.
Failure to turn all phases OFF could lead to electric shocks.
A-2
[Startup/Maintenance Instructions]
! CAUTION
Never disassemble or modify the module.
Failure to observe this could lead to trouble, malfunctioning, injuries or fires.
Switch off all phases of the externally supplied power used in the system before installing or
removing the module.
Failure to turn all phases OFF could lead to module trouble or malfunctioning.
Before starting test operation, set the parameter speed limit value to the slowest value, and
make sure that operation can be stopped immediately if a hazardous state occurs.
Always make sure to touch the grounded metal to discharge the electricity charged in the body,
etc., before touching the module.
Failure to do so may cause a failure or malfunctions of the module.
[Disposal Instructions]
! CAUTION
When disposing of the product, handle it as industrial waste.
A-3
REVISIONS
* The manual number is given on the bottom left of the back cover.
Print Date * Manual Number Revision
Feb., 1997 IB (NA)-66715-A Initial print
Feb., 1998 IB (NA)-66715-B Complete review
Mar., 1999 IB (NA)-66715-C Additional Function
Section 4.28 (Parameter Initialization), Section 4.29 (Adding
Servo Monitor Items), Section 4.3.3(5) (Adjacent passing mode
of interpolation operation during locus control), Section 4.6.2
(Restart when servo OFF changes to ON)
Partial correction addition
Chapter 1, Section 2.2, Section 4.1, Section 4.2.1, Section
4.2.9, Fig. 4.10, Section 4.4.2, Section 4.7.2, Section 4.7.4,
Section 4.12.1, Section 4.13, Chapter 5, Section 5.1, Section
5.5, Section 5.5.2, Section 8.2.4, Section 8.2.7, Section 8.2.8,
Section 8.2.9, Section 8.3.2 (Buffer memory: 873, 973, 1073),
Section 8.4, Section 10.1, Section 12.2.2, Section 18.1.1,
Appendix 2.2
Additional Section
Section 1.5 (Section 1.5 was altered to Section 1.6 and Section
1.6 to Section 1.7)
Oct., 2003 IB (NA)-66715-D Complete review
Feb., 2004 IB (NA)-66715-E Partial correction addition
Section 5.6.2, Section 7.1.2, Section 14.1, Section 14.2.1,
Appendix 7
Aug., 2004 IB (NA)-66715-F Partial correction addition
SAFETY INSTRUCTION, Section 4.3.1, Section 4.4.2, Section
5.6.2, Section 5.7.2, Section 8.2.6, Section 13.4, Section
14.2.1, Appendix 2.2, Appendix 7
Jun., 2005 IB(NA)-66715-G Partial correction addition
Section 5.1.2, Section 5.5, Section 5.6.2, Section 6.1, Section
6.5.6, Section 8.1.1, Section 8.2.5, Section 8.2.6, Section 8.3.1,
Section 8.4, Section 9.1.2, Section 9.1.5, Section 9.2.6, Section
9.2.10, Section 10.3.9, Section 11.3.1, Section 12.2.1. Section
12.4.3, Section 12.4.4, Section 12.5.2, Section 12.7.1, Section
12.7.5, Section 14.1, Section 14.2.1
Jul., 2006 IB(NA)-66715-H Partial correction addition
Section 12.5.2, INDEX
A-4
* The manual number is given on the bottom left of the back cover.
Print Date * Manual Number Revision
Sep., 2007 IB(NA)-66715-I Partial correction
Section 5.1.2, Section 5.6.1, Section 5.7.1, Section 6.5.3,
Section 6.5.5, Section 9.1.2, Section 9.2.9, Section 9.2.10,
Section 10.3.2, Section 10.5.1, Section 12.5.1, Section 12.5.2,
Section 12.7.1,, Section 12.7.2, Section 12.7.7, Section 14.3.2,
Section 14.3.3, Section 14.3.4, Section 14.3.5, Section 14.3.6
This manual confers no industrial property rights or any rights of any other kind, nor does it confer any patent licenses.
Mitsubishi Electric Corporation cannot be held responsible for any problems involving industrial property rights which
may occur as a result of using the contents noted in this manual.
© 1997 MITSUBISHI ELECTRIC CORPORATION
A-5
INTRODUCTION
Thank you for purchasing the Mitsubishi general-purpose programmable controller MELSEC-A Series.
Always read through this manual, and fully comprehend the functions and performance of the A Series PLC
before starting use to ensure correct usage of this product.
CONTENTS
SAFETY INSTRUCTIONS...............................................................................................................................A-1
REVISIONS ......................................................................................................................................................A-4
INTRODUCTION..............................................................................................................................................A-6
CONTENTS......................................................................................................................................................A-6
About Manuals ...............................................................................................................................................A-13
Conformation to the EMC and Low Voltage Directives ................................................................................A-13
Using This Manual (1) ....................................................................................................................................A-14
Using This Manual (2) ....................................................................................................................................A-15
Using This Manual (3) ....................................................................................................................................A-17
Generic Terms and Abbreviations .................................................................................................................A-18
Enclosed Parts ...............................................................................................................................................A-19
A-6
3. SPECIFICATIONS AND FUNCTIONS 3-1 to 3-20
A-8
SECTION 2 CONTROL DETAILS AND SETTING
A-9
10.2 Advanced positioning control execution procedure ............................................................................. 10-6
10.3 Setting the start block data .................................................................................................................... 10-7
10.3.1 Relation between various controls and start block data ................................................................ 10-7
10.3.2 Block start (normal start) ................................................................................................................ 10-8
10.3.3 Condition start ............................................................................................................................... 10-10
10.3.4 Wait start........................................................................................................................................ 10-11
10.3.5 Simultaneous start ....................................................................................................................... 10-12
10.3.6 Stop................................................................................................................................................ 10-13
10.3.7 Repeated start (FOR loop) .......................................................................................................... 10-14
10.3.8 Repeated start (FOR condition) ................................................................................................... 10-15
10.3.9 Restrictions when using the NEXT start....................................................................................... 10-16
10.4 Setting the condition data .................................................................................................................... 10-17
10.4.1 Relation between various controls and the condition data .......................................................... 10-17
10.4.2 Condition data setting examples .................................................................................................. 10-19
10.5 Start program for advanced positioning control .................................................................................. 10-20
10.5.1 Starting advanced positioning control .......................................................................................... 10-20
10.5.2 Example of a start program for advanced positioning control ..................................................... 10-21
A - 10
12.4 Functions to limit the control ................................................................................................................ 12-25
12.4.1 Speed limit function....................................................................................................................... 12-25
12.4.2 Torque limit function...................................................................................................................... 12-27
12.4.3 Software stroke limit function........................................................................................................ 12-30
12.4.4 Hardware stroke limit function ...................................................................................................... 12-36
12.4.5 Servo ON/OFF function ................................................................................................................ 12-38
12.5 Functions to change the control details............................................................................................... 12-43
12.5.1 Speed change function ................................................................................................................. 12-43
12.5.2 Override function ........................................................................................................................... 12-50
12.5.3 Acceleration/deceleration time change function .......................................................................... 12-53
12.5.4 Torque change function ................................................................................................................ 12-56
12.6 Absolute position restoration function ................................................................................................. 12-58
12.6.1 Outline of absolute position restoration function .......................................................................... 12-58
12.6.2 Absolute position restoration mode switching function................................................................ 12-65
12.7 Other functions ..................................................................................................................................... 12-70
12.7.1 Step function.................................................................................................................................. 12-70
12.7.2 Skip function .................................................................................................................................. 12-75
12.7.3 M code output function.................................................................................................................. 12-78
12.7.4 Teaching function.......................................................................................................................... 12-82
12.7.5 Command in-position function ...................................................................................................... 12-92
12.7.6 Acceleration/deceleration processing function............................................................................. 12-95
12.7.7 Indirectly specification function ..................................................................................................... 12-99
A - 11
14.4 Start during error history ...................................................................................................................... 14-80
A - 12
About Manuals
Related
MANUALS
Manual Number
Manual Name
(Model Code)
AD75M1/M2/M3 Positioning Module User's Manual (Hardware)
IB-66735
The AD75M1/M2/M3 positioning module performance specifications, input interface, names of each part
(13J885)
and startup procedures, etc., are explained. (Enclosed with module)
For details on making Mitsubishi PLC conform to the EMC directive and low voltage
instruction when installing it in your product, please refer to Chapter 3, “EMC Directive
and Low Voltage Instruction” of the using PLC CPU module User's Manual
(Hardware).
The CE logo is printed on the rating plate on the main body of the PLC that conforms
to the EMC directive and low voltage instruction.
To make this product conform to the EMC directive and low voltage instruction, please
refer to section 4.3.1 “Precautions for wiring”
A - 13
Using This Manual (1)
A - 14
Using This Manual (2)
A - 15
MEMO
A - 16
Using This Manual (3)
A - 17
Generic Terms and Abbreviations
Unless specially noted, the following generic terms and abbreviations are used in this
manual.
A - 18
Enclosed Parts
Quantity
Part name A1SD75M1 A1SD75M2 A1SD75M3
AD75M1 AD75M2 AD75M3
External device connection connector
1 2 3
(10136-3000VE, Sumitomo 3M)
Connector cover (10336-56 F0-008, Sumitomo 3M) 1 2 3
AD75 1
A1SD75M1/M2/M3, AD75M1/M2/M3
1
Positioning Module User's Manual (Hardware)
A - 19
MEMO
A - 20
SECTION 1
SECTION 1
PRODUCT SPECIFICATIONS AND HANDLING
(1) To understand the outline of positioning control, and the AD75 specifications
and functions
(2) To carry out actual work such as installation and wiring
(3) To set parameters and data required for positioning control
(4) To create a sequence program required for positioning control
(5) To understand the memory configuration and data transmission process
PRODUCT OUTLINE
The purpose and outline of positioning control using AD75 are explained in this chapter.
By understanding "What can be done", and "Which procedures to use" beforehand, the
positioning system can be structured smoothly.
1-1
1 PRODUCT OUTLINE
MELSEC-A
(a) Having the SSCNET interface for connection to the servo amplifier (MR-H-
B (MR-H-BN), MR-J-B, MR-J2-B, MR-J2S-B, MR-J2-03B5), the AD75 can
be connected directly to the Mitsubishi servo amplifier on the SSCNET.
(b) The SSCNET cables are used for connection between the AD75 and servo
amplifier or between the servo amplifiers, saving the wiring.
(c) The servo parameters can be set on the AD75 side and transferred to the
servo amplifier by the SSCNET.
(d) The error definition that the servo has can be checked in the AD75 buffer
memory.
RS-422 cable
RS-232 RS-422 conversion cable
Peripheral device
(Refer to Section 2.1)
SSCNET
Servo amplifier
corresponding SSCNET Terminal connector
MR-H-B(MR-H-BN) MR-TM (MR-H-B
MR-J-B (MR-H-BN), MR-J-B)
MR-J2-B MR-A-TM (MR-J2-B,
MR-J2S-B MR-J2S-B,
MR-J2-03B5 MR-J2-03B5)
1-2
1 PRODUCT OUTLINE
MELSEC-A
(b) Once a zero point position is established, zero point return operation is not
necessary at power-on.
(c) In the absolute position detection system, a zero point position can be
established by a data setting method machine zero point return.
This eliminates the need for wiring of near-point dogs, etc.
(d) By setting the absolute position restoration mode to the "infinite length
mode", infinite length positioning control in the control unit "degree" can be
realized in the absolute position detection system.
(a) There are six types of positioning modules for 1-axis to 3-axis control.
Select according to the PLC CPU type and the required No. of control axes.
(b) There is one slot used to mount each AD75 onto the base unit. The number
of input/output points occupied by the PLC CPU is 32 points each.
There is no limit to the No. of mounted modules as long as the total is within
the PLC CPU No. of input/output points.
(a) Various functions required for the positioning system, such as positioning
control to random position, fixed-dimension feed control and uniform speed
control are provided.
1-3
1 PRODUCT OUTLINE
MELSEC-A
(b) The control method designated with each positioning data includes position
control, speed control and speed/position changeover control.
(c) Continuous positioning with multiple positioning data items is possible with
the operation pattern set by the user using positioning data.
With the above multiple positioning data as one block, continuous
positioning of multiple blocks is possible.
1) The near-point dog method (two types), count method (three types),
and data setting method (one type) zero point return methods have
been prepared as the "machine zero point return" zero point return
method.
2) To realize zero point return control to the machine zero point from a
random position, the zero point return retry function has been prepared.
(The machine zero point is the position used as the start point for
control such as positioning control. The machine zero point is
established with the machine zero point return in item 1) above.)
(a) The various data, such as the positioning data and parameters, are stored
on a flash ROM in the AD75.
This allows the data to be held without a battery.
(b) The error display, machine system input state can be confirmed with the
17-segment display.
(c) The primary diagnosis has been improved by detailing the error details.
(d) Up to 16 history items each for the error and warning information can be
held, so the details of the errors and warnings that have occurred can be
confirmed easily.
1-4
1 PRODUCT OUTLINE
MELSEC-A
MEMO
1-5
1 PRODUCT OUTLINE
MELSEC-A
Palletizer
Conveyor control • Using the servo for one axis, the palletizer is
Conveyor positioned at a high accuracy.
Servomotor • The amount to lower the palletizer according to
(with brakes)
the material thickness is saved.
Position detector
G
Reduction
Servo amplifier gears Palletizer
Ball screw Unloader control
(From AD75)
PLC
MELSEC-A
AD75
1-6
1 PRODUCT OUTLINE
MELSEC-A
Servomotor
(with brakes)
Servo amplifier PLC MELSEC-A
Digital switch
Servo
amplifier
Index table
Detector
Worm gears Servomotor
1-7
1 PRODUCT OUTLINE
MELSEC-A
Positioning control using the AD75 is carried out with "SSCNET". In the positioning
system using the AD75, various software and devices are used for the following roles.
The AD75 realizes complicated positioning control when it reads in various signals,
parameters and data and is controlled with the PLC CPU.
This section explains positioning control as performed by pulse train output for ease of
understanding. (Because of the SSCNET connection type, the AD75 outputs to the
servo amplifier the data (position/speed commands) resultant from conversion of pulse
trains into numerical values.)
In numerical data-based commands and pulse train-based commands, the concepts of
the movement amount and speed are the same.
GPP function
software PLC CPU
package
Inputs signals such as the start
signal, stop signal, limit signal and
control changeover signal to the AD75.
Servomotor
Workpiece
1-8
1 PRODUCT OUTLINE
MELSEC-A
The principle of "position control" and "speed control" operation is shown below.
Position control
The total number of pulses in a pulse train required to move the designated distance
is obtained in the following manner.
Total number of
pulses in a pulse Designated distance No. of pulses required
train required to for servomotor to rotate
move designated Movement amount of machine (load) once
distance side when motor rotates once
* The No. of pulses required for the servomotor to rotate once is the "pulse encoder
resolution" described in the servomotor catalog specification list.
When this total number of pulses in a pulse train is issued from the AD75 to the servo
amplifier, control to move the designated distance can be executed.
The machine side movement amount when one pulse is issued to the servo amplifier is
called the "movement amount per pulse". This value is the min. value for the workpiece
to move, and is also the electrical positioning precision.
Speed control
The above "total number of pulses in a pulse train" is an element required for
movement distance control, but when carrying out positioning control or speed
control, the speed must also be controlled.
This "speed" is controlled by the "pulse train frequency".
POINT
The AD75 controls the position with the "total number of pulses in a pulse train",
and the speed with the "pulse train frequency".
1-9
1 PRODUCT OUTLINE
MELSEC-A
The outline of the positioning system operation and design, using the AD75, is shown
below.
PLC CPU AD75 Servo amplifier corresponding SSCNET (refer to section 2.2) Servomotor
1 - 10
1 PRODUCT OUTLINE
MELSEC-A
The movement amount per pulse is indicated with (1), and the [position/speed
command] × [movement amount per pulse] is the movement amount. The command
speed is calculated with (2) using the movable section speed and movement amount per
pulse.
The relation of the command speed and deviation counter droop pulses is shown in
(3).
As the positioning command unit, (mm), (inch), (degree) or (pulse) can be selected
independently for the 1 to 3 axes of the AD75.
Thus, if the data such as the movement amount per pulse, acceleration/deceleration
time, positioning speed, and positioning address are set to match the positioning
command unit, the operation will be carried out within the AD75 for the target
positioning address. The position/speed command will be output, and positioning will
be executed.
1 - 11
1 PRODUCT OUTLINE
MELSEC-A
The outline of signal communication between the AD75 and PLC CPU, peripheral
device, servo amplifier, etc. is shown below.
AD75
PLC CPU
PLC READY signal Servo status
Y1D
AD75 READY signal Servo ON
X0
Position/speed command
All axes servo ON signal
Y15 SSCNET
interface
Zero point Servo
Foward run JOG start signal amplifier
Y16, Y18, Y1A
Monitor data
Y17, Y19, Y1B
Reverse run JOG start signal
1 - 12
1 PRODUCT OUTLINE
MELSEC-A
1 - 13
1 PRODUCT OUTLINE
MELSEC-A
1)
Design Understand the functions and performance, and determine the positioning operation method
(system design)
2)
Installation, wiring, single module test
3) 4)
Setting of the:
· Parameters Creation of sequence
· Positioning data program for operation
· Start block data
· Condition data Refer to (Note)
Preparation
5) 6)
Writing of setting data Writing of program
7) 8)
Servo starting up
Monitoring with Monitoring and
test operation, debugging of
and debugging operation
of setting data Test operation program
9)
Operation Monitor Actual operation Monitor
(Note)
When not using the
AD75 software
package, carry out
10) Maintenance setting, monitoring
and debugging of
Maintenance the data in 3) with
the GPP function
software package.
11) Disposal
1 - 14
1 PRODUCT OUTLINE
MELSEC-A
The following work is carried out with the processes shown on the left page.
Details Reference
• Chapter 1
Understand the product functions and usage methods, the configuration devices • Chapter 2
1)
and specifications required for positioning control, and design the system. • Chapter 3
• Chapter 8 to Chapter 13
Install the AD75 onto the base unit, wire the AD75 and external connection devices
2) (servo amplifier, etc.), and connect the AD75 and peripheral devices. Check that • Chapter 4
the AD75 operates correctly. (Single module test)
• Chapter 5
Using the AD75 software package, set the parameters, positioning data, start block • Chapter 8 to Chapter 13
3)
data and condition data required for the positioning control to be executed. • AD75 Software Package
Operating Manual
Using the GPP function software package, create the sequence program required • Chapter 6
4) for positioning operation. (When not using the AD75 software package, also create • GPP Function Software
the sequence program for setting data.) Package Operating Manual
• Chapter 7
Write the parameters and positioning data, etc., created with the AD75 software
5) • AD75 Software Package
package into the AD75.
Operating Manual
Using the GPP function software package, write the created sequence program into • Chapter 7
6) the PLC CPU. (When not using the AD75 software package, also write in the • GPP Function Software
sequence program for setting data.) Package Operating Manual
Carry out test operation and adjustments in the test mode to check the servo
amplifier setting status and external connection device operation status, and to • AD75 Software Package
7)
confirm that the designated positioning operation is executed correctly. (Debug the Operating Manual
set "parameters" and "positioning data", etc.)
Carry out test operation and adjustment to confirm that the designated positioning
• GPP Function Software
8) operation is executed correctly. (Debug the created sequence program. When not
Package Operating Manual
using the AD75 software package, also debug the set data.
• Chapter 5
• Chapter 14
Actually operate the positioning operation. At this time, monitor the operation state • AD75 Software Package
9)
as required. If an error or warning occurs, remedy. Operating Manual
• GPP Function Software
Package Operating Manual
10) Service the AD75 as required. • Chapter 4
11) Dispose of the AD75. • Chapter 4
1 - 15
1 PRODUCT OUTLINE
MELSEC-A
The outline for starting each control is shown with the following flowchart.
* It is assumed that each module is installed, and the required system configuration,
etc., has been prepared.
Flow of starting
Positioning
Set the positioning parameters. )
Pr.1 to Pr.44 , Pr.150 )
parameters
Control start
Operation
Control end
Stop
1 - 16
1 PRODUCT OUTLINE
MELSEC-A
Setting method
Write
Operation sequence program PLC CPU
1 - 17
1 PRODUCT OUTLINE
MELSEC-A
The outline for the stopping process in these cases is shown below. (Excluding (1) for
normal stopping.)
Stop process
Zero point return
Axis Manual control
control
operation
Stop status after High- Main Advanced
Stop cause
axis stopping Machine speed positioning positioning
JOG
Manual
zero point zero control control pulse
( Md.35 ) return opera-
point generator
tion
control return operation
control
Servo alarm
turns ON and
Servo ON turns Each During Immediate
Forced stop OFF Immediate stop
axis error stop
( Md.116 Servo
status: b1, b13)
Hardware stroke
Fatal stop limit upper/lower Each During Deceleration stop/sudden stop Deceleration
(Stop group 1) limit error axis error (Select with Pr.38 ) stop
occurrence
Software stroke
limit upper/lower Each
limit error axis
Emergency occurrence Deceleration stop/sudden stop
During Deceleration
stop
PLC READY error (Select with Pr.39 ) stop
(Stop group 2)
signal OFF All
"Stop" input from axes
peripheral device
Axis error
detection (Error
Relatively safe other than stop
Each During
stop group 1 or 2) axis error
(Stop group 3)
Error in test
mode Deceleration stop/sudden stop Deceleration
"Stop signal" ON (Select with Pr.40 ) stop
from external
Intentional stop source Each When
(Stop group 3) "Axis stop signal" axis stopped
ON from PLC
CPU
1 - 18
1 PRODUCT OUTLINE
MELSEC-A
When a stop cause has occurred during operation with position control causing the
axis to stop, positioning to the end point of the positioning data can be restarted from
the stopped position by using the " Cd.13 Restart command".
Axis 1 Axis 1
Stop position due to stop cause Stop position due to stop cause
400 Designated end 400 Stop position
Start point point position Restart after restart
address
200 200
Operation
100 100 during restart
Axis 2 Axis 2
100 300 700 100 300 700
Reference
If the positioning start signal [Y10 to Y12]/external start signal is turned ON while
the " Md.35 Axis operation status" is waiting or stopped, positioning will be
restarted from the start of the positioning start data regardless of the absolute
method or incremental method.
(Same as normal positioning.)
Axis 1 Axis 1
Stop position due to stop cause
Stop position due to stop cause 500 Stop position
after start
400 Designated Positioning
Start point end point start
address position
200 200 Operation dur-
ing positioning
100 100 start
Axis 2 Axis 2
100 300 700 100 300 900
1 - 19
1 PRODUCT OUTLINE
MELSEC-A
MEMO
1 - 20
Chapter 2
2
SYSTEM CONFIGURATION
In this chapter, the general image of the system configuration of the positioning control
using AD75, the configuration devices, applicable CPU module and the precautions of
configuring the system are explained.
Prepare the required configuration devices to match the positioning control system.
2-1
2 SYSTEM CONFIGURATION
MELSEC-A
The general image of the system, including the AD75, PLC CPU and peripheral
devices is shown below.
(The Nos. in the illustration refer to the "No." in section "2.2 List of configuration
devices".
Extension 2
Main base unit *
cable
Positioning
module
1
1
CPU module* I/O module
5 Conversion cable
* Only when using
A1SD75M
RS-422 cable
Extension
system
6 RS-232 cable
6
Converter *3
REMARK
*1 Refer to section "2.3 Applicable system" for the CPU modules that can be used.
*2 Refer to the CPU module User's Manual for the base units that can be used.
*3 Refer to the AD75 Software Package Operating Manual.
*4 Refer to section "2.2 List of configuration devices" for the usable servo amplifiers.
2-2
2 SYSTEM CONFIGURATION
MELSEC-A
7
Servo
Terminal connector amplifier
corresponding
Motor
Battery
SSCNET*4
7
Servo
amplifier
corresponding
Motor
SSCNET*4
SSCNET cable
10
Cable
9 Machine system input (switch)
· Near-point dog
· Limit switch
· External start signal
· Speed/position
changeover signal
· Stop signal
AD75TU
4
Peripheral
device AD75 software package
2
3
SW1IVD
Personal -AD75P-E
computer
SW0D5C
-AD75P-E
2-3
2 SYSTEM CONFIGURATION
MELSEC-A
The positioning system using the AD75 is configured of the following devices.
No. Part name Type Remarks
AD75M1 75M
AD75M2
AD75M3 No. of control axes
1 Positioning module
A1SD75M1
A1SD75M2 · AD ....... Building block type
· A1SD ... Compact building block type
A1SD75M3
AD75 software SW1IVD-AD75P-E DOS/V personal computer software package
2
package SW0D5C-AD75P-E For details, refer to the GX Configurator-AP Operating Manual.
DOS/V personal (Prepared by user)
3 Personal computer
computer Refer to the AD75 Software Package Operating Manual for details.
Unit for setting, monitoring and testing the AD75 parameters and
4 Teaching unit AD75TU *1
positioning data.
A1SD75-C01H
5 Conversion cable Length 30cm Cable for connecting RS-422 cable and A1SD75M .
A1SD75-C01HA
RS-232 cable for connecting AD75 with DOS/V personal computer, and
Connection cable
6 – RS-232/RS-422 converter. (Prepared by user)
(converter)
Refer to the AD75 Software Package Operating Manual for details.
MR-H-B (MR-H-BN)
MR-J-B
Servo amplifier
7 corresponding MR-J2-B (Prepared by user)
SSCNET MR-J2S-B *
2
2
MR-J2-03B5 *
Manual pulse (Prepared by user)
8 –
generator Recommended: MR-HDP01 (Mitsubishi Electric)
Cable for connecting AD75 with manual pulse generator or machine
Connection cable
9 – system input signal. (Prepared by user)
(prepared by user)
Refer to manual of connected device.
Cable for connection between the AD75 and servo amplifier
corresponding SSCNET or between the servo amplifiers corresponding
MR-HBUS M SSCNET. (Prepared by user) 0.5m, 1m, 5m
10 SSCNET cable
MR-J2HBUS M-A The SSCNET cable changes depending on the connected servo
amplifier. Refer to the Specifications and Installation Guide or Instruction
Manual of the used servo amplifier.
*1 There are data that cannot be set to the servo parameters and some positioning parameters.
For the data that can be set, refer to the manual of the teaching unit.
Use a sequence program to set the data that cannot be set with the teaching unit.
*2 Set some servo parameters using a sequence program.
(Refer to section "5.2.10 Servo parameters for MR-J2S-B" or "5.2.11 Servo parameters for MR-J2-03B5".)
2-4
2 SYSTEM CONFIGURATION
MELSEC-A
2-5
2 SYSTEM CONFIGURATION
MELSEC-A
The CPU module and remote I/O station applicable for the AD75 are shown below.
CPU module
For A1SD75M1/
AD75
For AD75M1/AD75M2/AD75M3 A1SD75M2/
PLC CPU *1
A1SD75M3
• A0J2CPU • A2UCPU (-S1) • A1SCPU
• A0J2HCPU • A3UCPU • A1SJCPU (-S3)
• A4UCPU • A2SCPU
• A1CPU • A2ASCPU (-S1)
• A2CPU (-S1) • A73CPU (-S3) *2 • A52GCPU
• A3CPU
• A81CPU • A1SHCPU
• A1NCPU • A52GCPU • A2SHCPU
• A2NCPU (-S1) • A1SJHCPU
ACPU • A3NCPU • A1SCPU
• A1SJCPU-S3
• A3MCPU
• A3HCPU • A2SCPU
• A2ASCPU (-S1)
• A2ACPU (-S1)
• A3ACPU • A1SHCPU
• A2SHCPU
• A1SJHCPU
• A2USHCPU-S1
• Q2ACPU (-S1) • Q3ACPU • Q2ASCPU (-S1)
• Q2ASHCPU (-S1)
QnACPU • Q2ASCPU (-S1) • Q4ACPU
• Q2ASHCPU (-S1) • Q4ARCPU
Q02CPU-A
QCPU
– Q02HCPU-A
(A mode) Q06HCPU-A
2-6
2 SYSTEM CONFIGURATION
MELSEC-A
The following precautions apply when configuring the positioning system using the
AD75.
• Precautions for mounting base unit
• Precautions according to module version
• Precautions for using 3-axis module
• Precautions for configuring absolute position detection system
• Precautions for using servo amplifier MR-J2S-B, MR-J2-03B5
The AD75 can be mounted in a random slot of the main base unit or extension
base unit. Note that the following precautions must be observed.
(1) When mounting the AD75 in an extension base unit that has no power supply,
take special care to the power capacity and the voltage drop.
(2) The AD75M1/AD75M2/AD75M3 cannot be mounted into the final slot at the
7th extension stage of the A3CPU.
(3) The AD75M1/AD75M2/AD75M3 cannot be mounted into the main base unit of
the A73CPU(-S3).
Simultaneous start and interpolation operation with the axis controlled by the
A73(S3)CPU/A373CPU PCPU is not possible.
(4) When mounting onto the PLC CPU or base unit, refer to the User's Manual of
the PLC CPU being used.
POINT
One slot is required for mounting the AD75 onto the base unit. The No. of
input/output points occupied in respect to the PLC CPU is 32 points. When
assigning the I/O with the parameters, set as "special 32 points".
There is no limit to the No. of mounted modules as long as the total is within the
PLC CPU's No. of input/output points.
Some AD75 cannot be used depending on the module version. Refer to "Appendix
4 Comparison with old versions of A1SD75M1/A1SD75M2/A1SD75M3, and
AD75M1/AD75M2/AD75M3 models" for details.
2-7
2 SYSTEM CONFIGURATION
MELSEC-A
There are the following precautions for configuring an absolute position detection
system.
• Infinite length feed control, e.g. control in the given direction only, is not allowed.
• Restrictions on the usable ranges of the movement amount, etc. according to the
zero point address and feedback pulse count.
Refer to section "12.6 Absolute position restoration function" for details.
2.4.5 Precautions for machine zero point return control in absolute position detection system
When machine zero point return control is executed in the absolute position
detection system, access is made to the FeRAM (Ferroelectric Random Access
Memory). (Refer to section 12.6.)
(The FeRAM is a memory capable of fast read and write and non-volatile storage,
i.e. data are not lost when power is switched off. Further it is operable at low
voltage and features that a rewritable count is more than several orders of
2
magnitude greater than those of the flash ROM and E PROM.)
9
The FeRAM access count is maximum 9.9999 10 times.
9
When the FeRAM access count exceeds 9.9999 10 times, the absolute position
(zero point position) cannot be restored normally at a system startup (power on,
reset, etc.).
(Refer to "Appendix 4" for the zero point position storage destination and access
count for the absolute position detection system, which change depending on the
module version.)
2-8
2 SYSTEM CONFIGURATION
MELSEC-A
There are the following precautions for use of the servo amplifier MR-J2S-B, MR-
J2-03B5.
• The parameters, whose specifications and setting ranges have been changed
from those of the MR-J2-B by extension/addition/deletion, cannot be set from the
peripheral device.
For the items/ranges that can be set from the peripheral device, refer to section
"5.2.10 Servo parameters for MR-J2S-B" or "5.2.11 Servo parameters for
MR-J2-03B5".
Use a sequence program to set the items/ranges that cannot be set from the
peripheral device.
2-9
2 SYSTEM CONFIGURATION
MELSEC-A
MEMO
2 - 10
Chapter 3
3-1
3 SPECIFICATIONS AND FUNCTIONS
MELSEC-A
*1 Indicates to which power distribution section, from the public power distribution network to the in-plant machine
device, the device is assumed to be connected to.
Category II applies to a device fed power from a fixed facility.
The withstand surge voltage level for a device with a rating up to 300V is 2500V.
*2 Exponential indicating the degree of conductive matter generated in the environment where device is used.
In the degree of contamination level 2, only non-conductive contaminants are generated. However, temporary
conductivity could occur due to rare condensation.
3
* Do not use or store the PLC in the environment where the pressure is higher than the atmospheric pressure at sea
level. Otherwise, malfunction may result. To use the PLC in high-pressure environment, contact your nearest
Mitsubishi representative.
3-2
3 SPECIFICATIONS AND FUNCTIONS
MELSEC-A
The AD75 has several functions. In this manual, the AD75 functions are categorized
and explained as follows.
Main functions
(1) Zero point return control
"Zero point return control" is a function that established the start point for
carrying out positioning control, and carries out positioning toward that start
point. This is used to return a workpiece, located at a position other than the
zero point when the power is turned ON or after positioning stop, to the zero
point. The "zero point return control" is preregistered in the AD75 as the
"Positioning start data No. 9001 (Machine zero point return)", and "Positioning
start data No. 9002 (High-speed zero point return). (Refer to "Chapter 8 ZERO
POINT RETURN CONTROL".)
(2) Main positioning control
This control is carried out using the "Positioning data" stored in the AD75.
Basic control, such as position control and speed control, is executed by
setting the required items in this "positioning data" and starting that positioning
data. An "operation pattern" can be set in this "positioning data", and with this
whether to carry out control with continuous positioning data (ex.: positioning
data No. 1, No. 2, No. 3, ...) can be set. (Refer to "Chapter 9 MAIN
POSITIONING CONTROL".)
(3) Advanced positioning control
This control executes the "positioning data" stored in the AD75 using the
"positioning start information". The following types of applied positioning
control can be carried out.
• Random blocks, handling several continuing positioning data items as
"blocks", can be executed in the designated order.
• "Condition judgment" can be added to position control and speed control.
• The positioning data having the same No. and set for multiple axes can be
started simultaneously. (Position/speed commands are output
simultaneously to multiple servos.)
• The designated positioning data can be executed repeatedly, etc.,
(Refer to "Chapter 10 ADVANCED POSITIONING CONTROL".)
(4) Manual control
By inputting a signal into the AD75 from an external source, the AD75 will
output a random position/speed command and carry out control. Use this
manual control to move the workpiece to a random position (JOG operation),
and to finely adjust the positioning (manual pulse generator operation), etc.
(Refer to "Chapter 11 MANUAL CONTROL".)
Auxiliary functions
When executing the main functions, control compensation, limits and functions can
be added. (Refer to "Chapter 12 CONTROL AUXILIARY FUNCTIONS".)
Common functions
Common control using the AD75 for "parameter initialization" or "backup of
execution data" can be carried out. (Refer to "Chapter 13 COMMON
FUNCTIONS".)
3-4
3 SPECIFICATIONS AND FUNCTIONS
MELSEC-A
Common functions
Parameter initialization function Execution data backup function LED display function Clock data function
3-5
3 SPECIFICATIONS AND FUNCTIONS
MELSEC-A
The outline of the main functions for positioning control with the AD75 are described
below. (Refer to "SECTION 2" for details on each function.)
Reference
Main functions Details
section
3-6
3 SPECIFICATIONS AND FUNCTIONS
MELSEC-A
Reference
Main functions Details
section
With one start, executes the positioning data in a random block
Block start (Normal start) 10.3.2
with the set order.
Carries out condition judgment set in the "condition data" for
the designated positioning data, and then executes the "start
block data".
Condition start 10.3.3
When the condition is established, the "start block data" is
executed. When not established, that "start block data" is
ignored, and the next point's "start block data" is executed.
Advanced positioning control
With the "main positioning control" ("advanced positioning control"), whether or not to
continuously execute the positioning data can be set with the "operation pattern".
Outlines of the "operation patterns" are given below.
Reference
Da.1 Operation pattern Details
section
When "independent positioning control" is set for the operation
Independent positioning control pattern of the started positioning data, only the designated
(positioning complete) positioning data will be executed, and then the positioning will
end.
When "continuous positioning control" is set for the operation
pattern of the started positioning data, after the designated
Continuous positioning control 9.1.2
positioning data is executed, the program will stop once, and
then the next following positioning data will be executed.
When "continuous path control" is set for the operation pattern
of the started positioning data, the designated positioning data
Continuous path control
will be executed, and then without decelerating, the next
following positioning data will be executed.
3-7
3 SPECIFICATIONS AND FUNCTIONS
MELSEC-A
Auxiliary functions
The functions that assist positioning control using the AD75 are described below.
(Refer to "SECTION 2" for details on each function.)
Reference
Auxiliary function Details
section
This function retries the machine zero point return with the
Zero point return retry upper/lower limit switches during machine zero point return. This
Functions 12.2.1
function allows machine zero point return to be carried out even if the axis is
characteristic not returned to before the near-point dog with JOG operation, etc.
to machine
zero point After returning to the machine zero point, this function
return compensates the position by the designated distance from the
Zero point shift function 12.2.2
machine zero point position and sets that position as the zero point
address.
This function compensates the mechanical backlash.
Backlash compensation
Position/speed commands equivalent to the set backlash amount 12.3.1
function
are output each time the movement direction changes.
By setting the movement amount per pulse, this function can freely
change the machine movement amount per commanded pulse.
Functions that Electronic gear function 12.3.2
When the movement amount per pulse is set, a flexible positioning
compensate system that matches the machine system can be structured.
control
This function suppresses the machine vibration when the speed
Near pass mode function 12.3.3
changes during continuous path control in the interpolation control.
This function monitors the motor rotation amount (real current
Follow up processing
value) of the motor in a servo OFF status and reflects it on the 12.3.4
function
current feed value.
If the command speed exceeds " Pr.7 Speed limit value" during
Speed limit function control, this function limits the commanded speed to within the 12.4.1
" Pr.7 Speed limit value" setting range.
If the torque generated by the servomotor exceeds " Pr.18
Torque limit setting value" during control, this function limits the
Torque limit function 12.4.2
generated torque to within the " Pr.18 Torque limit setting value"
setting range.
Functions that If a command outside of the upper/lower limit stroke limit setting
Software stroke limit
limit control range, set in the parameters, is issued, this function will not 12.4.3
function
execute positioning for that command.
Hardware stroke limit This function carries out deceleration stop with the limit switch
12.4.4
function connected to the AD75 external device connection connector.
This function performs all axes servo ON/OFF using the all axes
servo ON signal (Y15).
Servo ON/OFF function 12.4.5
This function performs the servo ON/OFF of each axis using
" Cd.100 Servo OFF command".
This function changes the speed during positioning.
Set the new speed in the speed change buffer memory ( Cd.16
Speed change function 12.5.1
New speed value), and change the speed with the Speed change
request ( Cd.17 ).
Functions that This function changes the speed within a percentage of 1 to 300%
change control Override function during positioning. This is executed using " Cd.18 Positioning 12.5.2
details operation speed override".
Acceleration/deceleration This function changes the acceleration/deceleration time during
12.5.3
time change function speed change.
Torque change function This function changes the "torque limit value" during control. 12.5.4
1 This function restores the absolute position of the axis at servo
Absolute position restoration function * 12.6
power-on.
*1 The "servomotor with absolute position detector that can configure an absolute position detection system" is required.
3-8
3 SPECIFICATIONS AND FUNCTIONS
MELSEC-A
Reference
Auxiliary function Details
section
This function temporarily stops the operation to confirm the
positioning operation during debugging, etc.
Step function 12.7.1
The operation can be stopped at each "automatic deceleration" or
"positioning data".
This function stops (decelerates to a stop) the positioning being
Skip function executed when the skip signal is input, and carries out the next 12.7.2
positioning.
This function issues an auxiliary work (clamp or drill stop, tool
M code output function change, etc.) according to the code No. (0 to 32767) set for each 12.7.3
positioning data.
This function stores the address positioned with manual control into
Other functions Teaching function the positioning address having the designated positioning data No. 12.7.4
( Cd.5 ).
At each automatic deceleration, this function calculates the
remaining distance for the AD75 to reach the positioning stop
Command in-position position, and when the value is less than the set value, sets the
12.7.5
function "command in-position flag".
When using another auxiliary work before ending the control, use
this function as a trigger for the auxiliary work.
Acceleration/deceleration
This function adjusts the control acceleration/deceleration. 12.7.6
process function
Indirectly specification
This function specifies indirectly and starts the positioning data No. 12.7.7
function
Common functions
The outline of the functions executed as necessary are described below.
(Refer to "SECTION 2" for details on each function.)
Reference
Common functions Details
section
This function returns the "setting data" stored in the AD75 flash
ROM to the default values.
Parameter initialization function The following two methods can be used. 13.2
1) Method using sequence program
2) Method using AD75 software package
This functions stores the "setting data", currently being executed,
into the flash ROM.
Execution data backup function 13.3
1) Method using sequence program
2) Method using AD75 software package
This function displays the AD75 operation state, signal state and
error details on the 17-segment LED on the front of the main
LED display function module. 13.4
The display details can be changed with the mode switch on the
front of the main module.
This function sets the PLC CPU clock data in the AD75. This used
Clock data function 13.5
for the various history data.
3-9
3 SPECIFICATIONS AND FUNCTIONS
MELSEC-A
With positioning control using the AD75, the main functions and auxiliary functions can
be combined and used as necessary. A list of the main function and auxiliary function
combinations is given below.
Functions characteristic
Auxiliary functions to machine zero point
return
2-axis linear
– –
interpolation control
1-axis fixed-dimension (Continuous path control
Position control feed control – –
cannot be set)
2-axis fixed-dimension
(Continuous path control
feed control – –
cannot be set)
(interpolation)
Main positioning 2-axis circular
control – –
interpolation control
(Only independent positioning
Speed control – –
control can be set)
(Continuous path control
Speed/position changeover control – –
cannot be set)
(Continuous path control
Current value change – –
cannot be set)
Other control
(Independent positioning
JUMP command – –
control cannot be set)
JOG operation – –
Manual control
Manual pulse generator operation – –
: Always combine, : Combination possible, : Combination limited, : Combination not possible, –: Setting invalid
1
* The operation pattern is one of the "positioning data" setting items.
*2 Change the current value using the positioning data. Disabled for a start of positioning start No. 9003.
3 - 10
3 SPECIFICATIONS AND FUNCTIONS
MELSEC-A
Functions that
Functions that limit Functions that change
compensate Other functions
control control details
control
Acceleration/decelera-
Indirectly specification
Command in-position
Hardware stroke limit
Teaching function
Override function
Near pass mode
Step function
Skip function
function
function
function
function
function
function
– – – – – – – – – – – – – – – – *2
– – – – – – – – – – – – – – – –
REMARK
• The "common functions" are functions executed as necessary. (These are not combined
with the control.)
• "Advanced positioning control" is a control used in combination with the "main positioning
control". For combinations with the auxiliary functions, refer to the combinations of the "main
positioning control" and auxiliary functions.
3 - 11
3 SPECIFICATIONS AND FUNCTIONS
MELSEC-A
The AD75 uses 32 input points and 32 output points for exchanging data with the PLC
CPU.
The input/output signals for when the AD75 is mounted in slot No. 0 of the main base
unit are shown below.
Device X refers to the signals input from the AD75 to the PLC CPU, and device Y
refers to the signals output from the PLC CPU to the AD75.
Signal direction: AD75 PLC CPU Signal direction: PLC CPU AD75
Device No. Signal name Device No. Signal name
X0 AD75 READY Y0
X1 Axis 1
X2 Axis 2 Start complete
X3 Axis 3
X4 Axis 1
X5 Axis 2 BUSY
X6 Axis 3
X7 Axis 1
Use prohibited
X8 Axis 2 Positioning complete
X9 Axis 3
XA Axis 1
XB Axis 2 Error detection
XC Axis 3
XD Axis 1
XE Axis 2 M code ON
XF Axis 3 YF
X10 Y10 Axis 1
Y11 Axis 2 Positioning start
Y12 Axis 3
Y13 Axis 1
Axis stop
Y14 Axis 2
Y15 All axes servo ON
Y16 Axis 1 Forward run JOG start
Y17 Axis 1 Reverse run JOG start
Use prohibited
Y18 Axis 2 Forward run JOG start
Y19 Axis 2 Reverse run JOG start
Y1A Axis 3 Forward run JOG start
Y1B Axis 3 Reverse run JOG start
Y1C Axis 3 Axis stop
Y1D PLC READY
Y1E
Use prohibited
X1F Y1F
Important
[Y1E], [Y1F], [Y0 to YF] and [X10 to X1F] are used by the system, and cannot be used by the
user.
If used, the operation of the AD75 will not be guaranteed.
Note that when the AD75 is mounted on the remote I/O station, [YD] to [YF] can be turned
OFF in the user program.
3 - 12
3 SPECIFICATIONS AND FUNCTIONS
MELSEC-A
The ON/OFF timing and conditions, etc., of the input signals are shown below.
Device
Signal name Details
No.
X0 AD75 READY OFF : READY • When the PLC READY signal [Y1D] turns from OFF to ON, the parameter setting
complete range is checked, and if there is no error, this signal turns OFF.
ON : Not • When the PLC READY signal [Y1D] turns OFF, this signal turns ON.
ready/WDT
error *3 • When a WDT error occurs, this signal turns ON.
• This is used for the interlock with the sequence program, etc.
ON
PLC READY signal
OFF
[Y1D]
AD75 READY signal ON
[X0] OFF
X1 Axis 1 Start OFF : Starting • When the positioning start signal turns ON, and the AD75 starts the positioning
X2 Axis 2 complete incomplete process, this signal turns ON.
X3 Axis 3 ON : Start (The start complete signal also turns ON during zero point return control.)
complete ON
Positioning start signal
OFF
[Y10]
Start complete signal ON
[X1] OFF
X4 Axis 1 BUSY *1 OFF : Not BUSY • This signal turns ON at the start of positioning, zero point return or JOG, and turns
X5 Axis 2 ON : BUSY OFF after the " Da.8 Dwell time" has passed after positioning stop. (This signal
X6 Axis 3 remains ON during positioning.) This signal turns OFF when stopped with step
operation.
• During manual pulse generator operation, this signal turns ON while the " Cd.22
Manual pulse generator enable flag" is ON.
• This signal turns OFF at an error complete or stop.
X7 Axis 1 Positioning OFF : Positioning • This signal turns ON for the time set in " Pr.41 Positioning complete signal output
X8 Axis 2 complete *2 incomplete
time" from the time that each positioning data No. positioning control is completed.
X9 Axis 3 ON : Positioning
(This does not turn ON when " Pr.41 Positioning complete signal output time" is 0.)
complete
• If positioning is started (including zero point return), JOG operation or manual pulse
generator operation start is executed while this signal is ON, the signal will turn OFF.
• This signal will not turn ON when speed control or positioning is canceled midway.
• After the BUSY signal [X4,X5,X6] turns OFF, the positioning complete signal
[X7,X8,X9] turns ON.
ON
BUSY Signal [X4,X5,X6] OFF
ON
Positioning complete Signal [X7,X8,X9] OFF
XA Axis 1 Error OFF : No error
• This signal turns ON when an error listed in section 14.1 occurs, and turns OFF
XB Axis 2 detection ON : Error
occurrence when the error is reset.
XC Axis 3
XD Axis 1 M code ON OFF : No M code • In the WITH mode, this signal turns ON when the positioning data is started, and in
XE Axis 2 setting the AFTER mode, this signal turns ON when the positioning data positioning is
XF Axis 3 ON : M code set completed.
• This signal turns OFF with the " Cd.14 M code OFF request".
• When there is no M code designated (when " Da.9 M code" is 0), this signal will
remain OFF.
• With using continuous path control for the positioning operation, the positioning will
continue even when this signal does not turn OFF. However, a warning will occur.
(Warning code: 503)
• When the PLC READY signal [Y1D] turns OFF, the M code ON signal will also turn
OFF.
• If operation is started while the M code is ON, an error will occur. (Error code: 536)
3 - 13
3 SPECIFICATIONS AND FUNCTIONS
MELSEC-A
Important
*1 When position control of movement amount 0 is executed, the BUSY signal also turns ON. However,
since the ON time is short, the ON status may not be detected in the sequence program.
*2 AD75 positioning complete refers to when the output of position/speed commands from AD75 is
completed.
Thus, even if the AD75 positioning complete signal turns ON, the system may continue to operate.
*3 If WDT error occurs, status of I/O signals cannot be checked by the monitor function of GX
Configurator-AP.
To check the status of WDT error by the AD75 READY signal [X0], use the device monitor of GX
Developer.
3 - 14
3 SPECIFICATIONS AND FUNCTIONS
MELSEC-A
The ON/OFF timing and conditions, etc., of the output signals are shown below.
Device
Signal name Details
No.
Y10 Axis 1 Positioning OFF : No positioning • Zero point return or positioning operation is started.
Y11 Axis 2 start start request • The positioning start signal is valid at the rising edge, and carries
Y12 Axis 3 ON : Positioning start out starting.
requested • When the positioning start signal turns ON during BUSY, the
warning “start during operation” (warning code: 100) will occur.
Y13 Axis 1 Axis stop OFF : No axis stop • When the axis stop signal turns ON, the zero point return control,
Y14 Axis 2 request positioning control, JOG operation and manual pulse generator
Y1C Axis 3 ON : Axis stop operation will stop.
requested Since ON/OFF is detected at intervals of 4ms, set the ON time to
4ms or longer when stopping the axis.
• By turning the axis stop signal ON during positioning operation,
the positioning operation will be "stopped".
• Whether to decelerate or suddenly stop for each stop group can
be selected with " Pr.38 Stop group 1 sudden stop selection" to
" Pr.40 Stop group 3 sudden stop selection".
• During interpolation control of the positioning operation, if the axis
stop signal for either axis turns ON, both axes will decelerate and
stop.
Y15 All axes servo ON OFF : Servo operation • This signal makes all axes servos operable.
not possible For servo ON/OFF, refer to section "12.4.5 Servo ON/OFF
ON : Servo operation function".
possible
Y16 Axis 1 Forward run OFF : JOG not started • When the JOG start signal is ON, JOG operation will be carried
Y17 Axis 1 JOG start ON : JOG started out at the " Cd.19 JOG speed". When the JOG start signal turns
Y18 Axis 2 Reverse run OFF, the system will decelerate and stop.
Y19 Axis 2 JOG start
Y1A Axis 3 Forward run
Y1B Axis 3 JOG start
Reverse run
JOG start
Forward run
JOG start
Reverse run
JOG start
Y1D PLC READY OFF : PLC READY (a) This signal notifies the AD75 that the PLC CPU is normal.
OFF • This is turned ON/OFF with the sequence program.
ON : PLC READY ON • The PLC READY signal is turned ON during positioning
control, zero point return control, JOG operation and manual
pulse generator operation, except for in the peripheral device
test mode.
(b) When data (parameters, etc) are changed, the PLC READY
signal will turn OFF depending on the item. (Refer to Chapter 7.)
(c) The following processes are carried out when the PLC READY
signal turns from OFF to ON.
• The parameter setting range is checked.
• The AD75 READY complete signal [X0] turns OFF.
(d) The following processes are carried out when the PLC READY
signal turns from ON to OFF.
In this case, the OFF time will be 100ms or more.
• The AD75 READY signal [X0] turns ON.
• The operating axis stops.
• The M code ON signal [XD to XF] for each axis turns OFF,
and "0" is stored in " Md.32 Valid M code".
(e) When parameters or positioning data (No.1 to 100) are written
from the peripheral device or PLC CPU to the flash ROM, the
PLC READY signal will turn OFF.
3 - 15
3 SPECIFICATIONS AND FUNCTIONS
MELSEC-A
3 - 16
3 SPECIFICATIONS AND FUNCTIONS
MELSEC-A
The specifications of the connector section, which is the input interface for the AD75
and external device, are shown below.
The signal layout for the AD75 external device connection connector (for one axis) is
shown.
(The signal layout for the external device connection connector is the same for axis 1
to axis 3.)
Pin Signal direction Connection
Pin layout Signal name
No. AD75 – external destination
A1SD75M1/A1SD75M2/ 36 Common COM (External device)
A1SD75M3
(Main body side) 35 Common COM (External device)
34 Open
36 18
29 Open
19 1
17 Open
1 Open
* The signal application follows " Pr.43 External start function selection".
3 - 17
3 SPECIFICATIONS AND FUNCTIONS
MELSEC-A
The details of each AD75 external device connection connector (for 1 axis) signal are
shown below.
Signal name Pin No. Signal details
36 • Common for near-point dog signal, upper/lower limit, stop signal,
Common
35 speed/position changeover signal, and external start signal.
• Input the pulse signal from the manual pulse generator A phase and B
phase.
Manual pulse generator • If the A phase is advanced more than the B phase, the positioning
(B phase –) 28 address will increase at the rising edge and falling edge of each phase.
Manual pulse generator 27 • If the B phase is advanced more than the A phase, the positioning
(A phase –) address will decrease at the rising edge and falling edge of each phase.
A phase A phase
Manual pulse generator
(B phase +) 10
Manual pulse generator 9 B phase B phase
(A phase +)
Positioning Positioning
address +1+1+1+1+1+1+1+1 address -1 -1 -1 -1 -1 -1 -1 -1
• Use as the positioning start, speed change request and skip request
input signal from an external source.
External start signal 16
• Set which function to use the external start signal with in " Pr.43
External start function selection".
• Input the control changeover signal for the speed/position changeover
Speed/position changeover signal 15
control.
• Input when positioning is stopped.
• When this signal turns ON, the AD75 will stop the positioning being
Stop signal 14 executed.
After that, even if this signal turns from ON for OFF, the system will not
start.
• This signal is input from the limit switch installed at the stroke lower limit
position.
Lower limit signal 13 • Positioning will stop when this signal turns OFF.
• When zero point return retry function is valid, this will be the lower limit
for finding the near-point dog signal.
• This signal is input from the limit switch installed at the stroke upper limit
position.
Upper limit signal 12 • Positioning will stop when this signal turns OFF.
• When zero point return retry function is valid, this will be the upper limit
for finding the near-point dog signal.
• Use this for detecting the near-point dog during machine zero point
Near-point dog signal 11 return.
• The near-point dog signal is detected at turning from OFF to ON.
3 - 18
3 SPECIFICATIONS AND FUNCTIONS
MELSEC-A
The outline diagram of the internal circuit for the AD75 external device connection
interface is shown below.
Pin Need for
External wiring Internal circuit Signal name
No. wiring *1
Speed/position
15 CHG
changeover signal
24VDC
35
Common COM
36
(+)
PULSER A+
5V 9
Manual pulse generator
A A phase
(–)
5VDC PULSER A–
27
B
(+)
PULSER B+
0V 10
Manual pulse
generator Manual pulse generator
(MR-HDP01) B phase
(–)
PULSER B–
28
*1: The meaning of “O” and “Δ” in the “need for wiring” column is as follows.
• : Wiring is necessary in positioning.
• : Perform wiring when necessary.
*2: The terminal connected to the common line may be either positive or negative.
3 - 19
3 SPECIFICATIONS AND FUNCTIONS
MELSEC-A
MEMO
3 - 20
Chapter 4
The installation, wiring and maintenance of the AD75 are explained in this chapter.
4-1
4 INSTALLATION, WIRING AND MAINTENANCE OF THE PRODUCT
MELSEC-A
The outline and procedures for AD75 installation, wiring and maintenance are shown
below.
STEP 2
Installing the Install the module (AD75) on the base unit.
Refer to
module section 4.2
4-2
4 INSTALLATION, WIRING AND MAINTENANCE OF THE PRODUCT
MELSEC-A
A D75M3 A 1SD75M3
AX1
AX2
1) 17-segment LED AX3
AX1
MODE
AX1
AX2 2) Axis display LED
AX3 RS-422
MODE
3) Mode switch
4) Module version label
RS-422
5) Peripheral device connection
connector
AX2 AX3
A1SD75M3
7) SSCNET connection
connector
4-3
4 INSTALLATION, WIRING AND MAINTENANCE OF THE PRODUCT
MELSEC-A
3) Mode switch
Internal information 1
4-4
4 INSTALLATION, WIRING AND MAINTENANCE OF THE PRODUCT
MELSEC-A
Handle the AD75 and cable while observing the following precautions.
! CAUTION
Use the PLC within the general specifications environment given in this manual.
Using the PLC outside the general specification range environment could lead to electric
shocks, fires, malfunctioning, product damage or deterioration.
Do not directly touch the conductive section and electronic parts of the module.
Failure to observe this could lead to module malfunctioning or trouble.
When not connecting the external device or peripheral device, always install a cover on the
connector section.
Failure to observe this could lead to malfunctioning.
Make sure that foreign matter, such as cutting chips or wire scraps, do not enter the module.
Failure to observe this could lead to fires, trouble or malfunctioning.
Never disassemble or modify the module.
Failure to observe this could lead to trouble, malfunctioning, injuries or fires.
4-5
4 INSTALLATION, WIRING AND MAINTENANCE OF THE PRODUCT
MELSEC-A
(b) Cable
• Do not press on the cable with a sharp object.
• Do not twist the cable with force.
• Do not forcibly pull on the cable.
• Do not step on the cable.
• Do not place objects on the cable.
• Do not damage the cable sheath.
4-6
4 INSTALLATION, WIRING AND MAINTENANCE OF THE PRODUCT
MELSEC-A
4.2 Installation
The precautions for installing the AD75 are given below. Refer to this section as well
as section "4.1.3 Handling precautions" when carrying out the work.
! DANGER
Switch off all phases of the externally supplied power used in the system before cleaning or
tightening the screws.
Failure to turn all phases OFF could lead to electric shocks.
! CAUTION
Never disassemble or modify the module.
Failure to observe this could lead to trouble, malfunctioning, injuries or fires.
Switch off all phases of the externally supplied power used in the system before installing or
removing the module.
Failure to turn all phases OFF could lead to module trouble or malfunctioning.
Use the PLC within the general specifications environment given in this manual.
Using the PLC outside the general specification range environment could lead to electric
shocks, fires, malfunctioning, product damage or deterioration.
Always securely insert the module latches at the bottom of the module into the fixing holes on
the base unit. (Always screw the AnS Series module onto the base unit with the specified
torque.) Improper mounting of the module could lead to malfunctioning, faults or dropping.
(a) Avoid mounting the AD75 onto an extension base unit (A5 B/A1S5 B) that
has no power supply module.
When mounting on this type of unit, take the power capacity and extension
cable voltage drop into consideration.
(b) If the temperature in the panel could exceed 55°C, consider forcibly
ventilating in the PLC panel.
4-7
4 INSTALLATION, WIRING AND MAINTENANCE OF THE PRODUCT
MELSEC-A
4.3 Wiring
The wiring precautions for the AD75 are described below. Be careful to observe the
following items together with the "Handling precautions" described in section 4.1.3.
(1) Perform wiring of the AD75 correctly while checking the terminal arrangement.
(For the terminal arrangement of the external device connection connector, refer
to section "3.5.2 Signal layout for external device connection connector.")
(3) Be careful to avoid entry of chips, wiring dust and so on inside the AD75.
Otherwise fire, failure or malfunction may be caused.
(4) Be sure to install a cover for the external device connection connector if no
external device is connected. Otherwise malfunction may be caused.
(6) Do not pull the cable when removing the cable from the AD75 or servo amplifier.
Hold and pull the connector connected to the AD75 or servo amplifier. If the cable
connected to the AD75 or servo amplifier is pulled, a malfunction may be caused.
As well, the AD75, servo amplifier or cable may be broken.
(7) Disconnect the external device connection connector and SSCNET connection
connector when the system is stopped.
If the external device connection connector or SSCNET connection connector is
disconnected during operation of the system, the system will be stopped.
(8) Route the cables connected to the AD75, in a duct, or fix them. If cables are not
routed in the duct or no fixing measures are taken to them, drifting or moving
cables, breakage of the AD75, servo amplifier or cable due to a carelessly pulled
cable, or malfunction caused by a poorly connected cable may be caused.
(9) Do not tie the AD75 cable with the main circuit cable, power cable, or a load
cable for other than the programmable controller or do not route the AD75 cable
near them. Separate these by 100 mm as a measure. Otherwise noise, surge or
induction may cause a malfunction.
(10) When routing the AD75 cable near a power cable at a distance smaller than 100
mm, use a shielded cable for a countermeasure against noise. Connect the
shielding wire of the shielded cable securely to the panel of the AD75.
4-8
4 INSTALLATION, WIRING AND MAINTENANCE OF THE PRODUCT
MELSEC-A
4-9
4 INSTALLATION, WIRING AND MAINTENANCE OF THE PRODUCT
MELSEC-A
(11) To comply with EMC directive and low voltage directive, use shielded cables and
AD75CK cable clamp (made by Mitsubishi Electric) to ground to the panel.
AD75
20 to 30cm
AD75CK
Shielded cable
Shielding wires
Grounding terminal
AD75CK can ground up to four shielded cables having about 7 mm or smaller outside
diameters. (For details, refer to AD75CK cable clamp operation manual <IB-68682>.)
4 - 10
4 INSTALLATION, WIRING AND MAINTENANCE OF THE PRODUCT
MELSEC-A
(12) The influence of noise may be reduced by installing ferrite cores to the cable
connected to the AD75 as a noise reduction technique.
For the noise reduction techniques related to connection with the servo amplifier,
also refer to the instruction manual of the servo amplifier.
(13) If compliance with the EMC directive is not required, the influence of external
noise may be reduced by making the configuration compliant with the EMC
directive.
For the configuration compliant with the EMC directive, refer to Chapter 3 "EMC
directive and low voltage directive" in the User's Manual (Hardware) of the used
CPU module.
(14) Installing ferrite cores and noise filter to the power supply line of the PLC as
noise reduction techniques may have effects on external noise.
(Example) • Ferrite cores
Type: ZCAT3035-1330 (TDK ferrite core)
• Noise filter
Type: MXB-1210-33 (DENSEI-LAMBDA noise filter)
4 - 11
4 INSTALLATION, WIRING AND MAINTENANCE OF THE PRODUCT
MELSEC-A
The pins for the external device connection connector are wired in the following
manner.
..... Disassemble the connector section,
(1) Disassembling the connector section
and remove the connector.
(2) Connecting the connector and wire ..... Solder the wire onto the connector pin.
(3) Assembling the connector section ..... Assemble the connector section.
Connector
4 - 12
4 INSTALLATION, WIRING AND MAINTENANCE OF THE PRODUCT
MELSEC-A
(a) Loosen the cable fixture screw B, pass the cable through, and
then tighten screw B.
(Screw B may be removed once, and then tightened after sandwiching the
cable.)
(Take care not to lose the screw and nut.)
B
Pass the cable through
Cable fixture
Connector
Solder
18
36
Wire
17
35
20
2
19
4 - 13
4 INSTALLATION, WIRING AND MAINTENANCE OF THE PRODUCT
MELSEC-A
4 - 14
4 INSTALLATION, WIRING AND MAINTENANCE OF THE PRODUCT
MELSEC-A
(a) Fit the soldered connector and cable fixture into the connector
cover.
* The cable fixture acts as a stopper to protect the signal wire connection
section when the cable is pulled on. If the cable is not sufficiently
tightened with the cable fixture, wind insulation tape around the cable so
that it can be sufficiently tightened and pressed down.
(b) Sandwich the parts with the connector cover, and tigthen
screw A.
The following figure shows the case of the AD75M1/AD75M2/AD75M3.
4 - 15
4 INSTALLATION, WIRING AND MAINTENANCE OF THE PRODUCT
MELSEC-A
Check the (1) and (2) points when completed with the AD75 installation and wiring.
(1) Does the AD75 operate correctly? ... "Single module test"
With the "single module test", correct operation of the AD75 is confirmed by the
LED displays on the AD75. (Change the mode switch following the procedures
given in section "4.4.2 Single module test", and confirm the details displayed on
each mode LED.)
Check that there are no faults in the AD75 with the single module test.
(2) Is the servo amplifier correctly wired and set? ... "Servo starting up"
In "servo starting up", check the following four points with the servo starting up
function of the AD75 software package. (To perform "servo starting up", the servo
parameters must be set and written to the AD75 using the AD75 software
package.)
• Checking of error/warning history
• Checking of servo parameters and peripheral device's servo parameters
• Checking of upper/lower limit switch operations
• Checking of motor speed
In this manual (1) "Single module test" is explained. Refer to the AD75 Software
Package Operating Manual for details on (2) "Servo starting up".
Important
If the AD75 is faulty, or when the required signals such as the near-point dog signal and stop signal are
not recognized, unexpected accidents such as "not decelerating at the near-point dog during machine
zero point return and colliding with the stopper", or "not being able to stop with the stop signal" may
occur.
The "single module test" and "servo starting up" must be carried out not only when structuring the
positioning system, but also when the system has been changed with module replacement or rewiring,
etc.
4 - 16
4 INSTALLATION, WIRING AND MAINTENANCE OF THE PRODUCT
MELSEC-A
Whether the AD75 is operating correctly is confirmed with the LED displays on the
AD75 main body.
The "single module test" methods are described below.
The "single module test" can be carried out when there is no sequence program stored
in the PLC CPU, when there is no data stored in the AD75, and when the AD75 is
running.
Carry this test out after connecting the AD75, servo amplifier, servomotor and external
devices. The "mode switch", "17-segment LED" and "axis display LED" used in the
explanation refer to the AD75 switches and LEDs.
2) When the mode switch is pressed, the state will shift to the operation
monitor 2 described in (Step 3).
4 - 17
4 INSTALLATION, WIRING AND MAINTENANCE OF THE PRODUCT
MELSEC-A
POINT
* When the PLC READY signal [Y1D] is ON, even if a parameter error occurs,
the error code will not appear on the 17-segment LED.
If the error code is not displayed on the 17-segment LED, check the error code
with the peripheral device or AD75 error code storage buffer memory. ( Md.33
Axis error No., Md.34 Axis warning No.)
2) When the mode switch is pressed, the state will shift to the internal
information 1 monitor state described in (Step 4).
4 - 18
4 INSTALLATION, WIRING AND MAINTENANCE OF THE PRODUCT
MELSEC-A
Version
2) The axis display LED for each axis will turn OFF.
3) When the mode switch is pressed, the state will shift to the input information
n monitor state described in (Step 6).
POINT
(1) The operation monitor described in this section is a function that allows the
AD75 state, control state of each axis and state of the input signals to be
confirmed. This monitor can be operated at any time.
(2) If the AD75 is not operating correctly, use the operation monitors as necessary.
(3) As another display on the above 17-segment LED, if a watch dog timer error
occurs in the AD75, "FALT" will appear.
If a watch dog timer error occurs in the AD75, the PLC CPU must be reset.
If the watch dog timer error still occurs in the AD75 even after resetting the PLC
CPU, the AD75 module must be replaced.
Contact your nearest dealer or sales office.
4 - 19
4 INSTALLATION, WIRING AND MAINTENANCE OF THE PRODUCT
MELSEC-A
4.5 Maintenance
The precautions for servicing the AD75 are given below. Refer to this section as well
as section "4.1.3 Handling precautions" when carrying out the work.
! DANGER
Switch off all phases of the externally supplied power used in the system before cleaning or
tightening the screws.
Failure to turn all phases OFF could lead to electric shocks.
! CAUTION
Never disassemble or modify the module.
Failure to observe this could lead to trouble, malfunctioning, injuries or fires.
Switch off all phases of the externally supplied power used in the system before installing or
removing the module.
Failure to turn all phases OFF could lead to module trouble or malfunctioning.
! CAUTION
When disposing of the product, handle it as industrial waste.
4 - 20
Chapter 5
The parameters and data used to carry out positioning control with the AD75 are explained
in this chapter.
With the positioning system using the AD75, the various parameters and data explained
in this chapter are used for control. The parameters and data include parameters set 5
according to the device configuration, such as the system configuration, and parameters
and data set according to each control. Read this section thoroughly and make settings
according to each control or application.
* Refer to "SECTION 2" for details on each control.
The parameters and data required to carry out control with the AD75 include the
"setting data", "monitor data" and "control data" shown below.
Setting data (Data set beforehand according to the machine and application, and stored in the flash ROM.)
Positioning
Parameters Basic parameters 1
parameters Set according to the machine and applicable
Pr.1 to Pr.58 Basic parameters 2 motor when system is started up.
Pr.1 to Pr.44
Pr.100 to Pr.138
Pr.149 , Pr.150
Pr.150 Note)
Especially when the setting of the basic parameters 1 is wrong, the movement
amount may change or no operation may take place.
Detailed parameters 1
Set according to the system configuration when
Detailed parameters 2 the system is started up.
Note)
Detailed parameters 2 are data items for using the AD75 functions to the fullest.
Set as required.
Zero point
return Zero point return basic parameters
Set the values required for carrying
parameters
Zero point return detailed parameters out zero point return control.
) Pr.45 to Pr.59 )
Servo
Servo basic parameters
parameters
Set according to the servo amplifier and
Pr.100 to Pr.138 , Servo adjustment parameters
control details.
Pr.149
Servo extention parameters
Positioning data Positioning data Set the data for "main positioning control".
) Da.1 to Da.9 )
Positioning start Start block data Set the start block data for "advanced positioning control".
information ) Da.10 to Da.13 )
) Da.10 to Da.18 )
Condition data Set the condition data for "advanced positioning control".
) Da.14 to Da.18 )
Memo data Set the condition judgment values for the condition
data used in "advanced positioning control".
5-2
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
Monitor data (Data that indicates the control state. Stored in the buffer memory, and monitors as necessary.)
Md.1 to Md.56 , Md.100 to Md.121
System monitor data Monitors the AD75 specifications, such as the module name and OS type,
and the operation history.
Md.1 to Md.28 )
)
Axis monitor data Monitors the data related to the operating axis, such as the current position
and speed.
Md.29 to Md.56
Md.100 to Md.121
◊ The data is monitored with the sequence program or peripheral device. In this chapter,
the method using the peripheral device will be explained.
Control data (Data for user to control positioning system.) Cd.1 to Cd.35 , Cd.100 to Cd.101
System control data Sets the clock data in the module, and reads/writes the "positioning data".
Cd.1 to Cd.10 )
)
Makes settings related to the operation, and controls the speed change during
Axis control data
operation, and stops/restarts the operation.
Cd.11 to Cd.35
Cd.100 , Cd.101
◊ Control using the control data is carried out with the sequence program.
POINT
(1) The "setting data" is created for each axis.
(2) The "setting data" parameters have determined default values, and are set to
the default values before shipment from the factory. (Parameters related to
axes that are not used are left at the default value.)
(3) The "setting data" can be initialized with the AD75 software package or the
sequence program.
(4) It is recommended to set the "setting data" with the AD75 software package.
When executed with the sequence program, many sequence programs and
devices must be used. This will not only complicate the program, but will also
increase the scan time.
5-3
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
The setting items for the "positioning parameters" are shown below. The "positioning
parameters" are commonly set for each axis for all control using the AD75.
Refer to "SECTION 2" for details on each control, and section "5.2 List of parameters"
for details on each setting item.
Manual
Main positioning control
Control control
Position control Other control
2-axis fixed-dimension
interpolation control
1-axis linear control
changeover control
JUMP command
Speed/position
JOG operation
Speed control
2-axis circular
2-axis linear
feed control
feed control
operation
Positioning parameter
: Always set
: Set as required ("–" when not set)
: Setting limited
– : Setting not required (This is an irrelevant item, so the setting value will be ignored. If the value is the default value or within the
setting range, there is no problem.)
* : Section to be referred to
5-4
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
Manual
Main positioning control
Control control
Position control Other control
2-axis fixed-dimension
interpolation control
1-axis linear control
changeover control
JUMP command
Speed/position
JOG operation
Speed control
2-axis circular
2-axis linear
feed control
feed control
operation
Positioning parameter
selection
Acceleration/deceleration process – – –
Pr.35
selection
Pr.36 – – – 12.7.6*
S-curve ratio
Pr.37 Sudden stop deceleration time – – –
Pr.38 Stop group 1 sudden stop selection – – – –
Pr.39 Stop group 2 sudden stop selection – – – –
Pr.40 Stop group 3 sudden stop selection – – – –
Positioning complete signal output – – – –
Pr.41 –
time
Allowable circular interpolation error – – – – – – – – –
Pr.42 –
width
– – 12.5.1*
Pr.43 External start function selection
12.7.2*
Near pass mode selection for path – – – – – – – –
Pr.44 12.3.3*
control
Setting for the restart allowable – – – – –
Pr.150 12.4.5
range when servo OFF to ON
: Always set
: Set as required ("–" when not set)
– : Setting not required (This is an irrelevant item, so the setting value will be ignored. If the value is the default value or within the
setting range, there is no problem.)
* : Section to be referred to
REMARK
• "Advanced positioning control" is carried out in combination with the "main
positioning control".
Refer to the "main positioning control" parameter settings for details on the
parameters required for "advanced positioning control".
5-5
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
When carrying out "zero point return control", the "zero point return parameters" must
be set. The setting items for the "zero point return parameters" are shown below.
The "zero point return parameters" are set commonly for each axis.
Refer to "Chapter 8 ZERO POINT RETURN CONTROL" for details on the "zero point
return control", and to section "5.2 List of parameters" for details on each setting item.
Zero point return control High-speed zero
Machine zero point return control
Zero point return parameters point return control
Data setting
dog method
dog method
Near-point
Near-point
method 1)
method 2)
method 3)
Zero point return basic
method
Pr.45 Zero point return method
Count
Count
Count
parameters
2)
Pr.46 Zero point return direction –
Pr.47 Zero point address
Pr.48 Zero point return speed –
Pr.49 Creep speed –
Pr.50 Zero point return retry R R R R R –
Value set for
Setting for the movement amount after machine zero point
Pr.52 – – –
Zero point return detailed parameters
: Always set
– : Setting not required (This is an irrelevant item, so the setting value will be ignored. If the value is the default value or
within the setting range, there is no problem.)
R : Set when using the section "12.2.1 Zero point return retry function". ("–" when not set.)
S : Set when using the section "12.2.2 Zero point shift function". ("–" when not set.)
A : Set when an absolute position detection system is configured. ("–" when an absolute position detection system is not
configured.)
5-6
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
The setting items for the "servo parameters" are indicated below. Set the "servo
parameters" axis-by-axis according to the used servo amplifier and control details.
The types and setting ranges of the parameters change depending on the used servo
amplifier.
For details of the setting items, refer to the following servo parameter section of the
corresponding model.
• When MR-H-B (MR-H-BN) is used : "Section 5.2.7 Servo parameters for MR-H-B
(MR-H-BN)"
• When MR-J-B is used : "Section 5.2.8 Servo parameters for MR-J-B"
• When MR-J2-B is used : "Section 5.2.9 Servo parameters for MR-J2-B"
• When MR-J2S-B is used : "Section 5.2.10 Servo parameters for MR-J2S-B"
• When MR-J2-03B5 is used : "Section 5.2.11 Servo parameters for MR-J2-
03B5"
For details of the servo parameters, refer to the Instruction Manual of the used servo
amplifier.
Servo amplifier model MR-H-B
MR-J-B MR-J2-B MR-J2S-B MR-J2-03B5
Servo parameter (MR-H-BN)
Pr.100 Servo series
Pr.101 Amplifier setting
Servo basic parameter
5-7
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
5-8
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
The "positioning data" must be set when carrying out "main positioning control". The
setting items for the "positioning data" are shown below.
One to 600 "positioning data" items can be set for each axis.
Refer to "Chapter 9 MAIN POSITIONING CONTROL" for details on the "main
positioning control", and to section "5.3 List of positioning data" for details on each
setting item.
Main positioning control Position control Other control
1-axis fixed-dimension
2-axis fixed-dimension
changeover control
JUMP command
Speed/position
Speed control
2-axis circular
2-axis linear
feed control
feed control
: Always set
: Set as required ("–" when not set)
: Setting not possible
– : Setting not required (This is an irrelevant item, so the setting value will be ignored. If the value is the default value or within the
setting range, there is no problem.)
* : The "ABS (absolute) method" or "INC (incremental) method" can be used for the control method.
5-9
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
5 - 10
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
The "start block data" must be set when carrying out "advanced positioning control".
The setting items for the "start block data" are shown below.
Up to 50 points of "start block data" can be set for each axis.
Refer to "Chapter 10 ADVANCED POSITIONING CONTROL" for details on the
"advanced positioning control", and to section "5.4 List of start block data" for details on
each setting item.
Advanced positioning
Repeated
control Block start Repeated
Condition Simulta- start
(Normal Wait start Stop start
Start block data start neous start (FOR
start) (FOR loop)
setting items condition)
Da.10 Shape
Da.13 Parameter – –
5 - 11
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
When carrying out "advanced positioning control" or using the JUMP command in the
"main positioning control", the "condition data" must be set as required. The setting
items for the "condition data" are shown below.
Up to 10 "condition data" items can be set for each axis.
Refer to "Chapter 10 ADVANCED POSITIONING CONTROL" for details on the
"advanced positioning control", and to section "5.5 List of condition data" for details on
each setting item.
Control Main positioning
Advanced positioning control
control
Other Repeat-
Block Repeat-
than JUMP Simul- ed start
start Condition ed start
JUMP com- Wait start taneous Stop (FOR
(Normal start (FOR
com- mand start condi-
start ) loop)
Condition data mand tion)
Da.16 Address – – – – –
Da.17 Parameter 1 – – – –
Da.18 Parameter 2 – – – –
5 - 12
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
Data that indicates the positioning system's operation state is stored in the buffer
memory's monitor data area.
When using the positioning system, this data must be monitored as necessary.
The data that can be monitored is shown below.
5 - 13
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
5 - 14
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
5 - 15
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
5 - 16
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
Several controls are carried out as necessary when using the positioning system.
(When the power is turned ON, the default values of the data used for control are set.
However, these values can be set with the sequence program when necessary.)
The items that can be controlled are shown below.
5 - 17
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
[Reference]
The outline of reading and writing the positioning data is shown below.
Stored
Set the read origin positioning data No. in the OS Set the write designation positioning data No.
memory into buffer memory Cd.5 . in the OS memory into the buffer memory Cd.5 .
Set "1" in the buffer memory Cd.7 . Set which of the data stored in Cd.8 to write
(Request reading) into the buffer memory Cd.6 .
<Read completed>
<Write completed>
: User work
: AD75 state
5 - 18
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
5 - 19
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
5 - 20
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
MEMO
5 - 21
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
1 : 1-fold 1
Pr.4 10 : 10-fold 10
1 3 153 303
Unit magnification (Am) 100 : 100-fold 100
1000 : 1000-fold 1000
5 - 22
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
* When carrying out positioning, an error (mechanical error) could occur between
the designated movement amount and actual movement amount. In that case,
the error can be compensated with the "movement amount per pulse". (Refer to
section "12.3.2 Electronic gear function".)
POINT
If the movement amount per pulse is less than 1, command speed variations will Pr.
occur.
Smaller setting will increase variations and may cause machine vibration.
Make setting so that the movement amount per pulse is 1 or greater.
[Table 1]
Value set with peripheral device Value set with sequence program
Pr.1 setting value
(unit) (unit) *
0 : mm 0.1 to 6553.5 (µm) 1 to 65535 (× 10-1µm)
1 : inch 0.0001 to 0.65535 (inch) 1 to 65535 (× 10-5inch)
2 : degree 0.00001 to 0.65535 (degree) 1 to 65535 (× 10-5degree)
3 : pulse 1 to 65535 (pulse) 1 to 65535 (pulse)
* 1 to 32767 : Set as a decimal
32768 to 65535 : Convert into hexadecimal and set
5 - 23
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
Pr.3 Movement amount per rotation (Al), Pr.4 Unit magnification (Am)
The amount how the workpiece moves with one motor rotation is determined by
the mechanical structure.
If the worm gear lead (mm/rev) is PB and the deceleration rate is 1/n, then
Movement amount per rotation (AL) = PB × 1/n
However, the maximum value that can be set for this "movement amount per
rotation (Al)" parameter is 6553.5µm (approx. 6.5mm). Set the "movement amount
per rotation (Al)" as shown below so that the "movement amount per rotation (AL)"
does not exceed this maximum value.
Movement amount per rotation (AL)
= PB × 1/n
= Movement amount per rotation (Al) × Unit magnification (Am)
Note) The unit magnification (Am) is a value of 1, 10, 100 or 1000. If the "PB ×
1/n" value exceeds 6553.5 µm, adjust with the unit magnification so that the
"movement amount per rotation (Al) " does not exceed 6553.5 µm.
Example 1)
When movement amount per rotation (AL) = PB × 1/n = 6000.0µm (= 6mm)
Movement amount per rotation (AL)
= Movement amount per rotation (Al) × Unit magnification (Am)
= 6000.0µm × 1
Example 2)
When movement amount per rotation (AL) = PB × 1/n = 60000.0µm (= 60mm)
Movement amount per rotation (AL)
= Movement amount per rotation (Al) × Unit magnification (Am)
= 6000.0µm × 10
= 600.0µm × 100
Workpiece
PLC Servo amplifier Servomotor
1 Reduction gears
n
Encoder PB
Pf
5 - 24
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
MEMO
5 - 25
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
The setting value range differs according to the " Pr.25 8 158 308
Pr.8 Acceleration time 0 1000
Size selection for acceleration/deceleration time setting". 9 159 309
Here, the value within the [Table 2] range is set.
10 160 310
Pr.9 Deceleration time 0 [Table 2] on right page
1000
11 161 311
Positioning speed
Time
POINT
If the " Pr.7 Speed limit value", " Pr.8 Acceleration time 0" and " Pr.9
Deceleration time 0" value is changed during positioning control, the new value is
reflected after a delay of a maximum of three pieces of data, with the exception of
the positioning data No. being executed at the time of the change.
5 - 26
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
1) If the positioning speed setting is slower than the parameter speed limit, the
actual acceleration/deceleration time will be relatively short. Thus, set the
maximum positioning speed value to be equal to the parameter speed limit
value or a close value under the speed limit value.
2) These settings are value for zero point return, positioning and JOG operation.
3) During interpolation positioning, the acceleration/deceleration item for the
reference axis is valid.
[Table 1]
Pr.1 Value set with peripheral device Value set with sequence program
setting value (unit) (unit)
0 : mm 0.01 to 6000000.00 (mm/min) 1 to 600000000 (× 10-2mm/min)
1 : inch 0.001 to 600000.000 (inch/min) 1 to 600000000 (× 10-3inch/min)
2 : degree 0.001 to 600000.000 (degree/min) 1 to 600000000 (× 10-3degree/min)
3 : pulse 1 to 1000000 (pulse/s) 1 to 1000000 (pulse/s)
[Table 2]
Pr.25 Value set with peripheral device Value set with sequence program
setting value (ms) (ms)
0 : 1-word type 1 to 65535 1 to 65535*
1 : 2-word type 1 to 8388608 1 to 8388608
5 - 27
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
Pr.13 Software stroke The setting value range differs depending on the " Pr.1
16 166 316
limit upper limit Unit setting". 2147483647
17 167 317
value Here, the value within the [Table 2] range is set.
Pr.14 Software stroke
[Table 2] on right page 18 168 318
limit lower limit –2147483648
19 169 319
value
0 : Apply software stroke limit on
0
Pr.15 Software stroke current feed value
0 20 170 320
limit selection 1 : Apply software stroke limit on
1
machine feed value
0 : Software stroke limit invalid during
JOG operation and manual pulse 0
Pr.16 Software stroke generator operation
limit valid/invalid 0 21 171 321
setting 1 : Software stroke limit valid during
JOG operation and manual pulse 1
generator operation
Workpiece
(moving body)
Worm gear
Backlash
(compensation amount)
5 - 28
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
1) The backlash compensation is valid after completed the machine zero point
return. Thus, if the backlash compensation amount is set or changed, always
carry out machine zero point return once.
2) The backlash compensation amount setting range is 0 to 65535, but it should
be set to 255 or less by using the following expression.
Backlash compensation amount
0≤ ≤ 255
Movement amount per pulse
[Table 1]
Pr.1 Value set with peripheral device Value set with sequence program
setting value (unit) (unit) *
0 : mm 0 to 6553.5 (µm) 0 to 65535 (× 10-1µm)
1 : inch 0 to 0.65535 (inch) 0 to 65535 (× 10-5inch)
2 : degree 0 to 0.65535 (degree) 0 to 65535 (× 10-5degree)
3 : pulse 0 to 65535 (pulse) 0 to 65535 (pulse)
[Table 2]
Pr.1 Value set with peripheral device Value set with sequence program
setting value (unit) (unit)
–214748364.8 to 214748364.7 (µm) –2147483648 to 2147483647 (× 10 µm)
-1
0 : mm
–21474.83648 to 21474.83647(inch) –2147483648 to 2147483647 (× 10- inch)
5
1 : inch
2 : degree 0 to 359.99999 (degree) 0 to 35999999 (× 10-5degree)
3 : pulse –2147483648 to 2147483647(pulse) –2147483648 to 2147483647 (pulse)
5 - 29
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
1) Generally, the zero point is set at the lower limit or upper limit of the stroke
limit.
2) By setting the upper limit value or lower limit value of the software stroke limit,
overrun can be prevented in the software. However, an emergency stop limit
switch must be installed nearby outside the range.
3) To invalidate the software stroke limit, set the setting value to "upper limit
value = lower limit value". (The setting value can be anything.)
4) When the unit is "degree", the software stroke limit check is invalid during
speed control (including speed/position chageover control) or during manual
control.
Speed
5 - 30
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
[Table 1]
Pr.1 Value set with peripheral device Value set with sequence program
setting value (unit) (unit)
0 : mm 0.1 to 3276700.0 (µm) 1 to 32767000 (× 10-1µm)
1 : inch 0.00001 to 327.67000 (inch) 1 to 32767000 (× 10-5inch)
2 : degree 0.00001 to 327.67000 (degree) 1 to 32767000 (× 10-5degree)
3 : pulse 1 to 32767 (pulse) 1 to 32767 (pulse)
5 - 31
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
M code ON signal
M code ON signal
[X8D, X8E, X8F]
[X8D, X8E, X8F]
m1 m2
Md.32 Valid M code
Md.32 Valid M code m1 m2
* *
* *
Positioning
Positioning
Note) When using the AFTER mode with speed control, the M code will not be
output and the M code ON signal will not turn ON.
The M code is a No. between 0 and 32767 that can be set for each positioning
data ( Da.9 ).
When the M code ON signal [XD, XE, XF] turns ON, " Md.32 Valid M code" is read
from the buffer memory by the sequence program, and an auxiliary work (ex.,
clamping, drill rotation, tool change, etc.) matching the code No. can be issued.
5 - 32
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
MEMO
5 - 33
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
Speed Speed
Change the speed when The next positioning data starts
executing the next positioning data positioning at the designated speed
t t
n: Positioning
data No. n n+1 n n+1
5 - 34
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
X axis X axis
Designate composite speed
Designate speed
for reference axis
Y axis Y axis
Calculated by AD75
Calculated by AD75
<When composite speed is designated> <When reference axis speed is designated>
Note) For a positioning operation that involves the circular interpolation, specify
the composite speed always.
5 - 35
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
5 - 36
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
MEMO
5 - 37
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
5 - 38
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
[Table 1]
Pr.25 Value set with peripheral device Value set with sequence program
setting value (ms) (ms)
0 : 1-word type 1 to 65535 1 to 65535*
1 : 2-word type 1 to 8388608 1 to 8388608
[Table 2]
Pr.1 Value set with peripheral device Value set with sequence program
setting value (unit) (unit)
0 : mm 0.01 to 6000000.00 (mm/min) 1 to 600000000 (× 10-2mm/min)
1 : inch 0.001 to 600000.000 (inch/min) 1 to 600000000 (× 10-3inch/min)
2 : degree 0.001 to 600000.000 (degree/min) 1 to 600000000 (× 10-3degree/min)
3 : pulse 1 to 1000000 (pulse/s) 1 to 1000000 (pulse/s)
5 - 39
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
Time Time
5 - 40
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
(Example)
V
A
Positioning
B speed
B/2 B/2
t
When S-curve ratio is 100%
V
Positioning
speed
b b/a = 0.7
sine curve
a
t
S-curve ratio = B/A × 100%
When S-curve ratio is 70%
[Table 1]
Pr.25 Value set with peripheral device Value set with sequence program
setting value (ms) (ms)
0 : 1-word type 1 to 65535 1 to 65535*
1 : 2-word type 1 to 8388608 1 to 8388608
5 - 41
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
Da.7
Command
speed
5 - 42
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
5 - 43
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
Positioning
Positioning
complete signal
[X7, X8, X9]
Positioning
start signal BUSY signal turns OFF
after the Dwell time
has passed after
Start complete positioning stop.
signal
BUSY signal
Positioning
complete signal
Output time
5 - 44
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
[Table 1]
Pr.1 Value set with peripheral device Value set with sequence program
setting value (unit) (unit)
0 : mm 0 to 10000.0 (μm) 0 to 100000 (× 10-1μm)
1 : inch 0 to 1.00000 (inch) 0 to 100000 (× 10-5inch)
2 : degree 0 to 1.00000 (degree) 0 to 100000 (× 10-5degree)
3 : pulse 0 to 100000 (pulse) 0 to 100000 (pulse)
* With circular interpolation control using the center point designation, the arc
path calculated with the start point address and center point address and the
end point address may deviate.
5 - 45
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
POINT
" Cd.25 External start valid" must be set to validate the external start signal.
Note) Refer to section "12.3.3 Near pass mode function" for details on the near
pass mode.
Pr.150 Setting for the restart allowable range when servo OFF to ON
Set the range that is used as a condition for enabling a restart when the servo
switches from OFF to ON. (This setting is disabled for the AD75TU of software
version "C" or earlier.)
0 : Restart not allowed ...................... A restart at servo OFF to ON is not allowed.
1 to 163840 : Restart allowed
(restart allowable
range) ......................... A restart is allowed (axis operation status is
during a stop) when the difference between
the last command position of the AD75 and
the current value at servo OFF to ON is less
than the set value.
Note) For a restart at servo OFF to ON, refer to section "12.4.5 Servo ON/OFF
function".
5 - 46
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
* : When setting the parameter with the peripheral device, "7: Near-point dog method 2)" and "8: Count method 3)" can be
set using GX Configurator-AP only. For details, refer to the "GX Configurator-AP Operating Manual".
5 - 47
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
4 : Count method 1)
5 : Count method 2)
(1) Start machine zero point return. V Pr.48 Zero point Pr.52
return speed
(Start movement at the " Pr.48 Zero point return speed" in Setting for the movement
(2)
the " Pr.46 Zero point return direction".) amount after near-poing dog ON
Pr.49 Creep speed
(2) Detect the near-point dog ON, and start deceleration. (3)
(3) Decelerate to " Pr.49 Creep speed", and move with the (4)
(1) t
creep speed.
(4) Stop when the movement amount set in " Pr.52 Setting for
the movement amount after near-point dog ON" is reached
ON
after the near-point dog turned ON, and complete the Near-point dog OFF
machine zero point return.
5 - 48
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
8 : Count method 3)
5 - 49
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
5 - 50
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
[Table 1]
Pr.1 Value set with sequence program
Value set with peripheral device (unit)
setting value (unit)
–214748364.8 to 214748364.7 (µm) –2147483648 to 2147483647 (× 10 µm)
-1
0 : mm
1 : inch –21474.83648 to 21474.83647 (inch) –2147483648 to 2147483647 (× 10-5inch)
2 : degree 0 to 359.99999 (degree) 0 to 35999999 (× 10-5degree)
3 : pulse –2147483648 to 2147483647 (pulse) –2147483648 to 2147483647 (pulse)
[Table 2]
Pr.1 Value set with sequence program
Value set with peripheral device (unit)
setting value (unit)
0 : mm 0.01 to 6000000.00 (mm/min) 1 to 600000000 (× 10-2mm/min)
1 : inch 0.001 to 600000.000 (inch/min) 1 to 600000000 (× 10-3inch/min)
2 : degree 0.001 to 600000.000 (degree/min) 1 to 600000000 (× 10-3degree/min)
3 : pulse 1 to 1000000 (pulse/s) 1 to 1000000 (pulse/s)
5 - 51
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
Machine zero
point return
start
Pr.49 Creep speed
ON
Near-point
dog signal OFF
Zero point
5 - 52
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
[Table 1]
Pr.1 Value set with peripheral device Value set with sequence program
setting value (unit) (unit)
0 : mm 0.01 to 6000000.00 (mm/min) 1 to 600000000 (× 10-2mm/min)
1 : inch 0.001 to 600000.000 (inch/min) 1 to 600000000 (× 10-3inch/min)
2 : degree 0.001 to 600000.000 (degree/min) 1 to 600000000 (× 10-3degree/min)
3 : pulse 1 to 1000000 (pulse/s) 1 to 1000000 (pulse/s)
5)
1)
2)
6)
Start position
4)
3)
Zero point
5 - 53
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
5 - 54
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
[Table 1]
Pr.1 Value set with peripheral device Value set with sequence program
setting value (unit) (unit)
0 : mm 0 to 214748364.7 (µm) 0 to 2147483647 (× 10-1µm)
1 : inch 0 to 21474.83647 (inch) 0 to 2147483647 (× 10-5inch)
2 : degree 0 to 21474.83647 (degree) 0 to 2147483647 (× 10-5degree)
3 : pulse 0 to 2147483647 (pulse) 0 to 2147483647 (pulse)
Example for setting " Pr.52 Setting for the movement amount after near-point dog ON"
When " Pr.7 Speed limit value" is set to 200kpulse/s, " Pr.48 Zero point return speed" is set to 10kpulse/s, " Pr.49 Creep
speed" is set to 1kpulse/s and the deceleration time is set to 300ms, " Pr.52 Setting for the movement amount after near-point
dog ON" is calculated as shown below.
[Machine zero point return operation]
Pr.7 Speed limit value [Deceleration = 1 × Vz × t ×
+ 0.01 Vz
: Vp=200kpulse/s distance] 2 1000 Movement amount for 10ms
at zero point return speed
Vz × Tb × Vz 0.01 × Vz
Pr.48 Zero point return speed = +
: Vz=10kpulse/s
2000 Vp
10 × 103 300 × 10 × 10 3
= × + 0.01 × 10 × 10 3
2000 200 × 10 3
Pr.49 Creep speed = 75 + 100
: Vc=1kpulse/s
= 175
* Set 175 or more for " Pr.52 Setting for the movement
t amount after near-point dog ON"
Actual decel- Vz
eration time : t = Tb × Vp
Deceleration time
: Tb=300ms
5 - 55
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
Shift point
Start point Shift point
Shift operation is
When " Pr.55 Zero point performed
shift amount" is negative
Zero point
5 - 56
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
[Table 1]
Pr.1 Value set with peripheral device Value set with sequence program
setting value (unit) (unit)
0 : mm –214748364.8 to 214748364.7 (µm) –2147483648 to 2147483647 (× 10-1µm)
1 : inch –21474.83648 to 21474.83647 (inch) –2147483648 to 2147483647 (× 10-5inch)
2 : degree –21474.83648 to 21474.83647 (degree) –2147483648 to 2147483647 (× 10-5degree)
3 : pulse –2147483648 to 2147483647 (pulse) –2147483648 to 2147483647 (pulse)
Start position
4)
3)
* This parameter is made valid when the servo amplifier is powered OFF, then ON again after it has been transferred
from the AD75 to the servo amplifier.
5 - 58
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
0 H
Regenerative brake option selection
00 : External regenerative brake option not used*
01 : FR-RC, FR-BU
02 : MR-RB013
03 : MR-RB033 * : When using the converter unit
05 : MR-RB32 MR-RB-138-4 with the large
06 : MR-RB34 capacity type servo amplifier,
07 : MR-RB54 select "00: External regenerative
08 : MR-RB30 brake option not used".
09 : MR-RB50 At this time, setting must also be
0B : MR-RB31 made to the converter unit.
0C : MR-RB51
0E : Standard+fan
5 - 60
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
Foward run(CCW)
Reverse run(CW)
5 - 61
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
POINT
" Pr.112 Load inertia ratio" to " Pr.117 Speed integral compensation" are
transferred to the servo amplifier when the PLC CPU is powered ON or reset or the
PLC READY signal [Y1D] turns ON. When auto tuning is executed and operation is
performed, however, they are changed to the optimum values in the servo amplifier.
At this time, the auto tuning results are not reflected on the AD75.
Hence, if " Pr.108 Auto tuning" is changed to "2: Invalid" and the PLC CPU is
powered ON or reset or the PLC READY signal [Y1D] is turned ON, the settings
return to the status before auto tuning, and the motor may vibrate.
When it is desired to save the optimum values obtained by auto tuning, set the data
read from the buffer memory addresses 858 to 863 (Axis 1), 958 to 963 (Axis 2),
1058 to 1063 (Axis 3) to Pr.112 to Pr.117 , and perform write to flash ROM.
5 - 62
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
POINT
When setting this parameter, always set " Pr.108 Auto tuning" to "2: Invalid".
Option No.23 *OP1 Serial encoder cable selection 0000H 123 273 423
function 1
0 : 2-wire 0 H
1 : Valid 1 H
less
* This parameter is made valid when the servo amplifier is powered OFF, then ON again after it has been transferred
from the AD75 to the servo amplifier.
0 0 H
Monitor output 2 selection
Set any of 0 to A. (Refer to the settings of the following monitor output 1)
0 0 H
Carrier frequency selection
0:2.5KHz (Standard)
3:9.0KHz (Low noise)
0 0 H
Motor-less operation selection
0:Invalid
1:Valid
5 - 65
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
1 : Torque 1H / 1 H
3 : Torque (+) 3H / 3 H
4 : Current command 4H / 4 H
5 : Command speed 5H / 5 H
1 : 3.55ms 1 H
2 : 7.11ms 2 H
3 : 14.2ms 3 H
4 : 28.4ms 4 H
Pr.130
No.30 ZSP 0 to 10000 (r/min) 0 to 10000 (r/min) 50 130 280 430
Zero speed
Pr.131
Error
No.31 ERZ 1 to 1000 (kpulse) 1 to 1000 (kpulse) 80 131 281 431
excessive
alarm level
PI-PID control switching
0 : PI control is always
0
valid
1 : Switched to PID control
Pr.132 when value set to "PI-
Option No.32 OP5 PID switching position 0 132 282 432
function 5 1
droop" is reached or
exceeded during
position control
2 : PID control is always
2
valid
Pr.134
PI-PID
No.34 VPI 0 to 50000 (pulse) 0 to 50000 (pulse) 0 134 284 434
switching
position droop
Pr.136
Speed
No.36 VDC 0 to 1000 0 to 1000 980 136 286 436
differential
compensation
5 - 66
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
0 H
Data selection 2
Set any of 0 to A. (Refer to the settings
of the following data selection 1)
Data selestion 1
0: Servomotor speed
1: Torque
Pre-alarm data sampling
2: Servomotor speed (+)
time selection
3: Torque (+)
0: 1.77ms 4: Current command
1: 3.55ms 5: Commanad speed
2: 7.11ms 6: Droop speed 1/1
3: 14.2ms 7: Droop speed 1/4
4: 28.4ms 8: Droop speed 1/16
9: Droop speed 1/32
A: Droop speed 1/64
5 - 67
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
5 - 68
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
0 H
Regenerative brake option selection
00: External regenerative brake option not used
02: MR-RB013
03: MR-RB033
04: MR-RB064 2
05: MR-RB32
06: MR-RB34
07: MR-RB54
0F: MR-RB064
POINT
Always set the motor capacity.
At the default value "0", operation cannot be performed since communication with
the servo amplifier is not made.
5 - 69
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
Foward run(CCW)
Reverse run(CW)
5 - 70
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
5 - 71
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
POINT
" Pr.112 Load inertia ratio" to " Pr.117 Speed integral compensation" are
transferred to the servo amplifier when the PLC CPU is powered ON or reset or the
PLC READY signal [Y1D] turns ON. When auto tuning is executed and operation is
performed, however, they are changed to the optimum values in the servo amplifier.
At this time, the auto tuning results are not reflected on the AD75.
Hence, if " Pr.108 Auto tuning" is changed to "2: Invalid" and the PLC CPU is
powered ON or reset or the PLC READY signal [Y1D] is turned ON, the settings
return to the status before auto tuning, and the motor may vibrate.
When it is desired to save the optimum values obtained by auto tuning, set the data
read from the buffer memory addresses 858 to 863 (Axis 1), 958 to 963 (Axis 2),
1058 to 1063 (Axis 3) to Pr.112 to Pr.117 , and perform write to flash ROM.
5 - 72
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
POINT
When setting this parameter, always set " Pr.108 Auto tuning" to "2: Invalid".
5 - 73
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
1 : Torque 1 H
Option No.23 *OP1 Serial encoder cable selection 0000H 123 273 423
function 1 0 : 2-wire 0 H
* This parameter is made valid when the servo amplifier is powered OFF, then ON again after it has been transferred
from the AD75 to the servo amplifier.
0 0 0 H
5 - 74
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
0 0 H
Carrier frequency selection
0: 2.5KHz (Standard)
3: 9.0KHz (Low noise)
0 0 0 H
Motor-less operation selection
0: Invaid
1: Valid
5 - 75
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
5 - 76
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
MEMO
5 - 77
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
5 - 78
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
0 H
Regenerative brake option selection
00: External regenerative brake option not used
05: MR-RB32
08: MR-RB30
09: MR-RB50
10: MR-RB032
11: MR-RB12
POINT
Always set the motor capacity to other than "0".
At the default value "0", operation cannot be performed since communication with
the servo amplifier is not made.
5 - 79
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
Foward run(CCW)
Reverse run(CW)
5 - 80
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
5 - 81
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
POINT
" Pr.112 Load inertia ratio" to " Pr.117 Speed integral compensation" are
transferred to the servo amplifier when the PLC CPU is powered ON or reset or the
PLC READY signal [Y1D] turns ON. When auto tuning is executed and operation is
performed, however, they are changed to the optimum values in the servo amplifier.
At this time, the auto tuning results are not reflected on the AD75.
Hence, if " Pr.108 Auto tuning" is changed to "2: Invalid" and the PLC CPU is
powered ON or reset or the PLC READY signal [Y1D] is turned ON, the settings
return to the status before auto tuning, and the motor may vibrate.
When it is desired to save the optimum values obtained by auto tuning, set the data
read from the buffer memory addresses 858 to 863 (Axis 1), 958 to 963 (Axis 2),
1058 to 1063 (Axis 3) to Pr.112 to Pr.117 , and perform write to flash ROM.
5 - 82
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
POINT
When setting this parameter, always set " Pr.108 Auto tuning" to "2: Invalid".
1 : Valid 1 H
* This parameter is made valid when the servo amplifier is powered OFF, then ON again after it has been transferred
from the AD75 to the servo amplifier.
0 0 H
Monitor output 2 selection
Set any of 0 to A. (Refer to the settings of the following monitor output 1)
5 - 84
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
0 0 H
Amplifier EMG selection
0: Valid
1: Invalid
0 0 H
Slight viblation suppression function selection
0: Invalid
1: Valid
5 - 85
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
5 - 86
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
5 - 87
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
When using the servo amplifier MR-J2Super (Model MR-J2S- B), set the servo
series to the "MR-J2-B" on the peripheral device.
For the items and ranges that cannot be set as the MR-J2-B, set them in a sequence
program (refer to section "6.4 Positioning program examples").
* This parameter is made valid when the servo amplifier is powered OFF, then ON again after it has been transferred
from the AD75 to the servo amplifier.
5 - 88
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
0 H
Regenerative brake option selection
00: External regenerative brake option not used
05: MR-RB32
08: MR-RB30
09: MR-RB50
10: MR-RB032
11: MR-RB12
POINT
Always set the motor capacity to other than "0".
At the default value "0", operation cannot be performed since
communication with the servo amplifier is not made.
5 - 89
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
When setting this parameter to "1: 8192 pulse", set it with a sequence program.
(When the peripheral device is used, this parameter is fixed to "0: 16384 pulse" as
the MR-J2-B.)
When any value other than "0" or "1" is set on the AD75, operation cannot be
guaranteed.
5 - 90
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
Foward run(CCW)
Reverse run(CW)
On the peripheral device, any value in the range "0" to "C" can be set.
(Since the setting is made as the MR-J2-B, the screen display differs from the
above.)
When setting any of "D" to "F", set this parameter in the sequence program.
5 - 91
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
POINT
" Pr.112 Load inertia ratio" to " Pr.117 Speed integral compensation" are
transferred to the servo amplifier when the PLC CPU is powered ON or reset or the
PLC READY signal [Y1D] turns ON. When auto tuning is executed and operation is
performed, however, they are changed to the optimum values in the servo amplifier.
At this time, the auto tuning results are not reflected on the AD75.
Hence, if " Pr.108 Auto tuning" is changed to "2: Manual mode 2" and the PLC
CPU is powered ON or reset or the PLC READY signal [Y1D] is turned ON, the
settings return to the status before auto tuning, and the motor may vibrate.
When it is desired to save the optimum values obtained by auto tuning, set the data
read from the buffer memory addresses 858 to 863 (Axis 1), 958 to 963 (Axis 2),
1058 to 1063 (Axis 3) to Pr.112 to Pr.117 , and perform write to flash ROM.
5 - 92
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
5 - 93
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
– 1 to 3 H
Pr.119
Feed forward No.19 FFC 0 to 100 (%) 0 to 100 (%) 0 119 269 419
gain
Pr.120
In-position No.20 INP 0 to 50000 0 to 50000 100 120 270 420
range
Pr.121
Solenoid No.21 MBR 0 to 1000 (ms) 0 to 1000 (ms) 100 121 271 421
brake output
0 H
Notch frequency
Setting Frequency Setting Frequency Setting Frequency Setting Frequency
00 Invalid 08 562.5 10 281.3 18 187.5
01 4500 09 500 11 264.7 19 180
02 2250 0A 450 12 250 1A 173.1
03 1500 0B 409.1 13 236.8 1B 166.7
04 1125 0C 375 14 225 1C 160.1
05 900 0D 346.2 15 214.3 1D 155.2
06 750 0E 321.4 16 204.5 1E 150
07 642.9 0F 300 17 195.7 1F 145.2
Notch depth
Setting Depth Gain
0 Deep -40dB
1 -14dB
2 -8dB
3 shallow -4dB
On the peripheral device, any of only the notch frequencies "00" to "07" can be set
as the notch filter selection of the MR-J2-B.
(Since the setting is made as the MR-J2-B, the screen display differs from the above.)
On the peripheral device, the notch depth cannot be set. (It is set to the initial
setting "0".)
When setting any of notch frequencies "08" to "1F" and notch depths "1" to "3", set
this parameter in the sequence program.
5 - 94
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
POINT
When setting this parameter, always set " Pr.108 Auto tuning" to "2: Manual mode
2".
10 10-6
8192 = 8.192 8
10 10-3
5 - 95
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
* This parameter is made valid when the servo amplifier is powered OFF, then ON again after it has been transferred
from the AD75 to the servo amplifier.
5 - 96
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
0 0 H
Monitor output 2 selection
Set any of 0 to B.
(Refer to the settings of the following monitor output 1)
0 0 H
Amplifier EMG selection
0: Valid
1: Invalid
5 - 97
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
1 : Valid 1 H
– 1 H
Pr.125
Adaptive vibration suppression control selection
Low pass
filter/adaptive – 0 H
No.25 LPF 0000H 125 275 425
vibration – 1 H
suppression – 2 H
control
Adaptive vibration suppression control sensitivity
– 0 H
– 1 H
* This parameter is made valid when the servo amplifier is powered OFF, then ON again after it has been transferred
from the AD75 to the servo amplifier.
0 0 H
Slight viblation suppression function selection
0: Invalid
1: Valid
5 - 98
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
0 H
Low pass filter selection
0: Valid (Automatic adjustment)
1: Invalid
5 - 99
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
– 1 H
– 1 H
Pr.134
PI-PID No.34 VPI 0 to 50000 (pulse) 0 to 50000 (pulse) 0 134 284 434
switching
position droop
Pr.136
Speed No.36 VDC 0 to 1000 0 to 1000 980 136 286 436
differential
compensation
* This parameter is made valid when the servo amplifier is powered OFF, then ON again after it has been transferred
from the AD75 to the servo amplifier.
0 H
Serial communication baud rate selection
0: 9600 [bps]
1: 19200 [bps]
2: 38400 [bps]
3: 57600 [bps]
5 - 101
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
5 - 102
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
MEMO
5 - 103
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
When using the servo amplifier MR-J2-Jr series (Model MR-J2-03B5), set the servo
series to the "MR-J2-B" on the peripheral device.
For the items and ranges that cannot be set as the MR-J2-B, set them in a sequence
program (refer to section "6.4 Positioning program examples").
5 - 104
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
POINT
Always set the motor capacity to other than "0".
At the default value "0", operation cannot be performed since communication with
the servo amplifier is not made.
5 - 105
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
5 - 106
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
5 - 107
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
POINT
" Pr.112 Load inertia ratio" to " Pr.117 Speed integral compensation" are
transferred to the servo amplifier when the PLC CPU is powered ON or reset or the
PLC READY signal [Y1D] turns ON. When auto tuning is executed and operation is
performed, however, they are changed to the optimum values in the servo amplifier.
At this time, the auto tuning results are not reflected on the AD75.
Hence, if " Pr.108 Auto tuning" is changed to "2: Invalid" and the PLC CPU is
powered ON or reset or the PLC READY signal [Y1D] is turned ON, the settings
return to the status before auto tuning, and the motor may vibrate.
When it is desired to save the optimum values obtained by auto tuning, set the data
read from the buffer memory addresses 858 to 863 (Axis 1), 958 to 963 (Axis 2),
1058 to 1063 (Axis 3) to Pr.112 to Pr.117 , and perform write to flash ROM.
5 - 108
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
POINT
When setting this parameter, always set " Pr.108 Auto tuning" to "2: Invalid".
1 : Valid 1 H
* This parameter is made valid when the servo amplifier is powered OFF, then ON again after it has been transferred
from the AD75 to the servo amplifier.
0 0 0 H
Amplifier EMG selection
0: Valid
1: Invalid
0 0 H
Slight viblation suppression function selection
0: Invalid
1: Valid
5 - 110
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
5 - 111
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
Before explaining the positioning data setting items Da.1 to Da.9 , the
configuration of the positioning data will be shown below.
The positioning data stored in the AD75 buffer memory has the following type of
configuration.
99 100 *
Up to 100 positioning data items can be set (stored) for each axis
2290 in the buffer memory address shown on the left.
3 2280
Positioning data No. 1 2 This data is controlled as positioning data No. 1 to 100 for each axis.
Da.8 2284
1302 2295
Dwell time 2285
Da.5
1306 1316 1326 2298
2288
Positioning address/ 1307 1317 1327 2299
2289
movement amount
Ê̂ u
’ Œ
ˆ ß
‚ 100 *
99
3280 3290
2 3
Positioning data No. 1
Da.8 3294
2312 2322 3284
Axis 2
2302 3295
Dwell time 3285 Da.2 Da.1
Control method Operation pattern
2304 2314 2324 3296 Da.3
Da.7 3286
2305 2315 2325 3297
Command speed 3287 Acceleration time No.
Da.4
Da.5 2326 3298
2306 2316 2327 3288 Deceleration time No.
Positioning address/ 2307 2317 3289 3299
movement amount
5 - 112
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
100 *
99
4280 4290
2 3
Positioning data No. 1
Da.5
3306 3316 3326 4298
4288
Positioning address/ 3307 3317 3327 4299
4289
movement amount
Da.
The positioning data setting items ( Da.1 to Da.9 ) are explained in the following
section.
(The buffer memory addresses for the axis 1 to axis 3 "positioning data No. 1" are
shown.)
REMARK
*: Positioning data No. 101 to 600 cannot be set in the buffer memory.
The data set in positioning data No. 101 to 600 is directly set into the AD75 OS
memory from a peripheral device using the AD75 software package.
(To set without using a peripheral device, transmission must be carried out using
the block transmission memory.)
5 - 113
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
5 - 114
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
Continuous positioning with one start signal .......... Continuous positioning control
Positioning
continued
Continuous path positioning with speed change ..... Continuous path control
5 - 115
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
Stop position
(positioning start address)
Movement Movement
amount : 2000 amount : 2000
Moves in Moves in
negative direction positive direction
5 - 116
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
[Table 1]
When " Pr.1 Unit setting" is "mm"
Da.2 Value set with peripheral device Value set with sequence program *1
setting value (µm) (× 10-1µm)
ABS Linear 1 : 01H
◊ Set the address ◊ Set the address
ABS Linear 2 : 04H
–214748364.8 to 214748364.7 –2147483648 to 2147483647
Current value change : 11H
INC Linear 1 : 02H
INC Linear 2 : 05H ◊ Set the movement amount ◊ Set the movement amount
Fixed-dimension feed 1 : 03H –214748364.8 to 214748364.7 –2147483648 to 2147483647
Fixed dimension feed 2 : 06H
Forward run speed/position : 0FH ◊ Set the movement amount ◊ Set the movement amount
Reverse run speed/position : 10H 0 to 214748364.7 0 to 2147483647
Forward run Speed control : 0DH
Reverse run Speed control : 0EH (Setting not required) (Setting not required)
JUMP command : 20H
ABS Circular interpolation : 07H
◊ Set the address ◊ Set the address
ABS Circular right : 09H
–214748364.8 to 214748364.7 –2147483648 to 2147483647
ABS Circular left : 0AH
INC Circular interpolation : 08H
◊ Set the movement amount ◊ Set the movement amount
INC Circular right : 0BH
–214748364.8 to 214748364.7 –2147483648 to 2147483647
INC Circular left : 0CH
*1 Decimal points cannot be used in the sequence program, so input the setting value as an integer.
(The value will be converted into the specified value within the system.)
Speed
Speed Position
control control
Time
Speed/position changeover
5 - 117
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
Da.2 Value set with peripheral device Value set with sequence program *1
setting value (degree) (× 10-5 degree)
ABS Linear 1 : 01H
◊ Set the address ◊ Set the address
ABS Linear 2 : 04H
0 to 359.99999 0 to 35999999
Current value change : 11H
INC Linear 1 : 02H
INC Linear 2 : 05H ◊ Set the movement amount ◊ Set the movement amount
Fixed-dimension feed 1 : 03H –21474.83648 to 21474.83647 –2147483648 to 2147483647
Fixed-dimension feed 2 : 06H
Forward run speed/position : 0FH ◊ Set the movement amount ◊ Set the movement amount
Reverse run speed/position : 10H 0 to 21474.83647 0 to 2147483647
Forward run Speed control : 0DH
Reverse run Speed control : 0EH (Setting not required) (Setting not required)
JUMP command : 12H
ABS Circular interpolation : 07H
ABS Circular right : 09H
ABS Circular left : 0AH
Circular interpolation control is not possible
INC Circular interpolation : 08H
INC Circular right : 0BH
INC Circular left : 0CH
5 - 118
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
Da.2 Value set with peripheral device Value set with sequence program *1
setting value (inch) (× 10-5 inch)
ABS Linear 1 : 01H
◊ Set the address ◊ Set the address
ABS Linear 2 : 04H
–21474.83648 to 21474.83647 –2147483648 to 2147483647
Current value change : 11H
INC Linear 1 : 02H
INC Linear 2 : 05H ◊ Set the movement amount ◊ Set the movement amount
Fixed-dimension feed 1 : 03H –21474.83648 to 21474.83647 –2147483648 to 2147483647
Fixed-dimension feed 2 : 06H
Forward run speed/position : 0FH ◊ Set the movement amount ◊ Set the movement amount
Reverse run speed/position : 10H 0 to 21474.83647 0 to 2147483647
Forward run Speed control : 0DH
Reverse run Speed control : 0EH (Setting not required) (Setting not required)
JUMP command : 20H
ABS Circular interpolation : 07H
◊ Set the address ◊ Set the address
ABS Circular right : 09H
–21474.83648 to 21474.83647 –2147483648 to 2147483647
ABS Circular left : 0AH
INC Circular interpolation : 08H
◊ Set the movement amount ◊ Set the movement amount
INC Circular right : 0BH
–21474.83648 to 21474.83647 –2147483648 to 2147483647
INC Circular left : 0CH
*1 Decimal points cannot be used in the sequence program, so input the setting value as an integer.
(The value will be converted into the specified value within the system.)
5 - 119
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
Start point address (Address before starting positioning) Start point address (Address before starting positioning)
<(1) Circular interpolation with auxiliary <(2) Circular interpolation with center
point designation> point designation>
When not carrying out circular interpolation control, the value set in " Da.6 Arc
address" will be invalid.
5 - 120
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
[Table 1]
When " Pr.1 Unit setting" is "mm"
Da.2 Value set with peripheral device Value set with sequence program *1
setting value (µm) (× 10-1µm)
ABS Circular interpolation : 07H
◊ Set the address ◊ Set the address
ABS Circular right : 09H
–214748364.8 to 214748364.7 –2147483648 to 2147483647
ABS Circular left : 0AH
INC Circular interpolation : 08H
◊ Set the movement amount ◊ Set the movement amount
INC Circular right : 0BH
INC Circular left : 0CH –214748364.8 to 214748364.7 –2147483648 to 2147483647
*1 Decimal points cannot be used in the sequence program, so input the setting value as an integer.
(The value will be converted into the specified value within the system.)
Da.2 Value set with peripheral device Value set with sequence program *1
setting value (degree) (× 10-5 degree)
ABS Circular interpolation : 07H
ABS Circular right : 09H
ABS Circular left : 0AH
Circular interpolation control is not possible (If set, an error occurs.)
INC Circular interpolation : 08H
INC Circular right : 0BH
INC Circular left : 0CH
ABS Linear 1 : 01H
ABS Linear 2 : 04H
INC Linear 1 : 02H
INC Linear 2 : 05H
Fixed-dimension feed 1 : 03H
Fixed-dimension feed 2 : 06H
(Setting not required) (Setting not required)
Forward run Speed control : 0DH
Reverse run Speed control : 0EH
Forward run speed/position : 0FH
Reverse run speed/position : 10H
JUMP command : 20H
Current value change : 11H
5 - 121
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
*1 Decimal points cannot be used in the sequence program, so input the setting value as an integer.
(The value will be converted into the specified value within the system.)
5 - 122
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
Da.2 Value set with peripheral device Value set with sequence program *1
setting value (inch) (× 10-5 inch)
ABS Circular interpolation : 07H
◊ Set the address ◊ Set the address
ABS Circular right : 09H
–21474.83648 to 21474.83647 –2147483648 to 2147483647
ABS Circular left : 0AH
INC Circular interpolation : 08H
◊ Set the movement amount ◊ Set the movement amount
INC Circular right : 0BH
–21474.83648 to 21474.83647 –2147483648 to 2147483647
INC Circular left : 0CH
ABS Linear 1 : 01H
ABS Linear 2 : 04H
INC Linear 1 : 02H
INC Linear 2 : 05H
Fixed-dimension feed 1 : 03H
Fixed-dimension feed 2 : 06H
(Setting not required) (Setting not required)
Forward run Speed control : 0DH
Reverse run Speed control : 0EH
Forward run speed/position : 0FH
Reverse run speed/position : 10H
JUMP command : 20H
Current value range : 11H
*1 Decimal points cannot be used in the sequence program, so input the setting value as an integer.
(The value will be converted into the specified value within the system.)
5 - 123
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
Da.8 The setting value range differs according to the " Da.2
Dwell time Control method".
Dwell time/
JUMP Here, the value within the [Table 2] range is set. 0 1302 2302 3302
destination JUMP
positioning data destination [Table 2] on right page
No. positioning
data No.
The setting value range differs according to the " Da.2
M code Control method".
Da.9 Here, the value within the [Table 3] range is set. 0 1301 2301 3301
M code
Condition [Table 3] on right page
data No.
5 - 124
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
[Table 1]
Pr.1 Value set with sequence program
Value set with peripheral device (unit)
setting value (unit)
0 : mm 0.01 to 6000000.00 (mm/min) 1 to 600000000 (× 10-2mm/min)
1 : inch 0.001 to 600000.000 (inch/min) 1 to 600000000 (× 10-3inch/min)
2 : degree 0.001 to 600000.000 (degree/min) 1 to 600000000 (× 10-3degree/min)
3 : pulse 1 to 1000000 (pulse/s) 1 to 1000000 (pulse/s)
[Table 2]
Da.2 Value set with peripheral Value set with sequence
Setting item
setting value device program
JUMP command : 20H Positioning data No. 1 to 600 1 to 600
Other than JUMP command * : 01H to 10H Dwell time 0 to 65535 (ms) 0 to 65535 (ms)
[Table 3]
Da.2 Value set with peripheral Value set with sequence
Setting item
setting value device program
JUMP command : 20H Condition data No. 0 to 10 0 to 10
Other than JUMP command * : 01H to 10H M code 0 to 32767 0 to 32767
* Setting is not required at the actual value modification(11H).
5 - 125
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
V
1) When " Da.1 Operation pattern" in "00: Positioning complete Positioning control
· Set the time from when the positioning ends to when the
"positioning complete signal" turns ON as the "dwell time".
t
ON
Positioning complete signal OFF
Da.8
Dwell time
V
2) When " Da.1 Operation pattern" is "01: Continuous positioning control" Positioning control
Next positioning
· Set the time from when positioning control ends to when control
the next positioning control starts as the "dwell time".
t
Da.8
Dwell time
V
3) When " Da.1 Operation pattern" is "11: Continuous path control" Positioning control
t
No dwell time (0ms)
5 - 126
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
Before explaining the start block data setting items Da.1 to Da.13 , the configuration
of the start block data will be shown below.
The start block data stored in the AD75 buffer memory has the following type of
configuration.
50th point
Buffer memory
Setting item
address
Up to 50 start block data points can be set
2nd point (stored) for each axis in the buffer memory
1st point Buffer memory address shown on the left.
Setting item
ddress 4349
Buffer memory One start block data item is configured of
Setting item address
the items shown in the bold box.
b15 b8 b7 b0 4301
4300
Da.11
Axis 1
Da.10 4399
Start data No.
Shape
b15 b8 b7 b0 4351
4350
Da.12 Da.13
Special start Parameter
command
50th point
Buffer memory
Setting item address
2nd point
1st point Setting item Buffer memory
ddress 4599
Buffer memory
Setting item address
b15 b8 b7 b0 4551
4550
Da.11
Axis 2
Da.10 4649
Start data No.
Shape
b15 b8 b7 b0 4601
4600
Da.12 Da.13
Special start Parameter
command
5 - 127
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
50th point
Buffer memory
Setting item address
2nd point
1st point Setting item Buffer memory
ddress 4849
Buffer memory
Setting item address
b15 b8 b7 b0 4801
4800
Da.11
Axis 3
Da.10 4899
Start data No.
Shape
b15 b8 b7 b0 4851
4850
Da.12 Da.13
Special start Parameter
command
The start block data setting items ( Da.10 to Da.13 ) are explained in the following
section.
(The buffer memory addresses for the axis 1 to axis 3 "1st point start block data (block
No. 7000)" are shown.)
REMARK
When carrying out advanced positioning control using the "positioning start
information", set a number between "7000 and 7010" in " Cd.11 Positioning start
No.", and set the "start block data" for the nth point block between "1 and 50" in the
" Cd.31 Positioning starting point No.".
This number between "7000 and 7010" is called the "block No.".
With the AD75, the "start block data (50 points)" and "condition data (10 items)" can
be set for each "block No.".
* Data corresponding to block No. 7001 to 7010 cannot be set in the buffer
memory. The data corresponding to block No. 7001 to 7010 is directly set into the
AD75 OS memory from a peripheral device using the AD75 software package.
Block Buffer AD75 software
Axis Start block data Condition
No. memory package
Axis 1 Start block data (1 to 50) Condition data (1 to 10)
7000 Axis 2 Start block data (1 to 50) Condition data (1 to 10)
Axis 3 Start block data (1 to 50) Condition data (1 to 10)
Axis 1 Start block data (1 to 50) Condition data (1 to 10)
7001 to
Axis 2 Start block data (1 to 50) Condition data (1 to 10)
7010
Axis 3 Start block data (1 to 50) Condition data (1 to 10)
5 - 128
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
0 : End 0
Da.10
Shape
b15 b11 b7 b3 b0
0 0 0
1 : Continue 1 0000H 4300 4550 4800
Shape
Da.11 01H
Positioning data No.: 1 to 600
to
Start data No. (01H to 258H) 258H
Start data No.
Special start
6 : FOR condition 06H command
5 - 129
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
Da.10 Shape
Set whether to carry out only the local "start block data" and then end control, or to
execute the "start block data" set in the next point.
Setting value Setting details
0 : End Execute the designated point's "start block data", and then complete the control.
Execute the designated point's "start block data", and after completing control, execute the next
1 : Continue
point's "start block data".
Da.13 Parameter
Set the value as required for " Da.12 Special start command".
Da.12 Special start command Setting value Setting details
Block start (Normal start) – Not used. (There is no need to set.)
Condition start Set the condition data No. (No. of
"condition data" set to perform
Wait start 1 to 10 condition judgment)
(For details of the condition data, refer
Simultaneous start to Section 5.5.)
Stop – Not used. (There is no need to set.)
Repeated start (FOR loop) 0 to 255 Set the No. of repetitions.
Set the condition data No. (No. of
"condition data" set to perform
Repeated start (FOR condition) 1 to 10 condition judgment)
(For details of the condition data, refer
to Section 5.5.)
5 - 130
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
Before explaining the condition data setting items Da.14 to Da.18 , the configuration
of the condition data will be shown below.
The condition data stored in the AD75 buffer memory has the following type of
configuration.
No.10
Buffer memory
Setting item
address Up to 10 condition data items can be set (stored)
No.2 for each axis in the buffer memory address shown
No.1 Buffer memory on the left.
Setting item
ddress 4490
Buffer memory One condition data item is configured of the items
Setting item address shown in the bold box.
b15 b12 b11 b8 b7 b0
4410 4491
4400 4492
4493
Da.15 Da.14
Axis 1
4411 4494
Condition operator Condition target 4495
Open 4401 4412 4496
4413 4497
Da.16 Address 4402
4403 4414 4498
4415 4499
Da.17 Parameter 1 4404
4405 4416
4417
Da.18 Parameter 2 4406
4407 4418
4419
4408
Open 4409
No.10
Buffer memory
Setting item address
No.2
No.1 Buffer memory
Setting item
ddress 4740
Buffer memory
Setting item address
b15 b12 b11 b8 b7 b0
4660 4741
4650 4742
4743
Da.15 Da.14
Axis 2
4661 4744
Condition operator Condition target 4745
Open 4651 4662 4746
4663 4747
Da.16 Address 4652
4653 4664 4748
4665 4749
Da.17 Parameter 1 4654
4655 4666
4667
Da.18 Parameter 2 4656
4657 4668
4669
4658
Open 4659
5 - 131
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
No.10
Buffer memory
Setting item address
No.2
No.1 Buffer memory
Setting item
ddress 4990
Buffer memory
Setting item address
b15 b12 b11 b8 b7 b0
4910 4991
4900 4992
4993
Da.15 Da.14
Axis 3
4911 4994
Condition operator Condition target 4995
Open 4901 4912 4996
4913 4997
Da.16 Address 4902
4903 4914 4998
4915 4999
Da.17 Parameter 1 4904
4905 4916
4917
Da.18 Parameter 2 4906
4907 4918
4919
4908
Open 4909
The condition data setting items ( Da.14 to Da.18 ) are explained in the following
section.
(The buffer memory addresses for the axis 1 to axis 3 "condition data No. 1 (block No.
7000)" are shown.)
REMARK
When carrying out advanced positioning control using the "positioning start
information", set a number between "7000 and 7010" in " Cd.11 Positioning start
No.", and set the "start block data" for the nth point block between "1 and 50" in the
" Cd.31 Positioning starting point No.".
This number between "7000 and 7010" is called the "block No.".
With the AD75, the "start block data (50 points)" and "condition data (10 items)" can
be set for each "block No.".
* Data corresponding to block No. 7001 to 7010 cannot be set in the buffer
memory. The data corresponding to block No. 7001 to 7010 is directly set into the
AD75 OS memory from a peripheral device using the AD75 software package.
Block Buffer AD75 software
Axis Start block data Condition
No. memory package
Axis 1 Start block data (1 to 50) Condition data (1 to 10)
7000 Axis 2 Start block data (1 to 50) Condition data (1 to 10)
Axis 3 Start block data (1 to 50) Condition data (1 to 10)
Axis 1 Start block data (1 to 50) Condition data (1 to 10)
7001 to
Axis 2 Start block data (1 to 50) Condition data (1 to 10)
7010
Axis 3 Start block data (1 to 50) Condition data (1 to 10)
5 - 132
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
04 : ∗∗≥P1 04H
05 : P1≤∗∗≤ P2 05H
06 : ∗∗≤P1, P2≤∗∗ 06H b15 b8 b7 b0 0000H 4490 4740 4990
07 : DEV=ON 07H
Da.15
08 : DEV=OFF 08H
Condition
operator 09 : Axis 1 designation 09H
0A : Axis 2 designation 0AH
0B : Axis 1 and axis 2
0BH
designation
0C : Axis 3 designation 0CH
0D: Axis 1 and axis 3
0DH
designation
0E : Axis 2 and axis 3
0EH
designation
Example)
4493 4492
b31 (High-order) b16 b15 (Low-order) b0 4492 4742 4992
Da.16 Address Buffer memory address 0000H
4493 4743 4993
Example)
4495 4494
Da.17 b31 (High-order) b16 b15 (Low-order) b0 4494 4744 4994
Value 0000H
Parameter 1 4495 4745 4995
Value
Example)
4497 4496
Da.18 b31 (High-order) b16 b15 (Low-order) b0 4496 4746 4996
Value 0000H
Parameter 2 4497 4747 4997
Value
5 - 133
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
Da.16 Address
Set the address as required for the " Da.14 Condition target".
Da.14 Condition target Setting value Setting details
01H : Device X
– Not used. (There is no need to set.)
02H : Device Y
03H : Buffer memory (1-word) Set the target "buffer memory address".
Value
(For 2 word, set the low-order buffer memory
04H : Buffer memory (2-word) (Buffer memory address)
address.)
05H : Positioning data No. – Not used. (There is no need to set.)
5 - 134
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
Da.17 Parameter 1
Set the parameters as required for the " Da.15 Condition operator".
Da.15 Condition operator Setting value Setting details
01H : ∗∗=P1
Value Set the "P1" value.
06H : ∗∗≤P1, P2≤∗∗
07H : DEV=ON Value Set the device's bit No.
08H : DEV=OFF (Bit No.) X : 0H to FH, Y : 10H to 1DH
09H : Axis 1 designation Set the positioning data No. for starting axis 1 and axis 2.
Low-order 16-bit:
Value
Axis 1 positioning data No. 1 to 600 (01H to 258H)
(Positioning data No.)
0EH : Axis 2 and axis 3 designation High-order 16-bit:
Axis 2 positioning data No. 1 to 600 (01H to 258H)
Da.18 Parameter 2
Set the parameters as required for the " Da.15 Condition operator".
Da.15 Condition operator Setting value Setting details
01H : ∗∗=P1
– Not used. (There is no need to set.)
04H : ∗∗≥P1
05H : P1≤∗∗≤ P2 Value Set the "P2" value.
06H : ∗∗≤P1, P2≤∗∗
07H : DEV=ON
08H : DEV=OFF
– Not used. (There is no need to set.)
09H : Axis 1 designation
0AH : Axis 2 designation
0BH : Axis 1 and axis 2 designation
0CH : Axis 3 designation Set the positioning data No. for starting axis 3.
0DH : Axis 1 and axis 3 designation Value Low-order 16-bit:
(Positioning data No.) Axis 3 positioning data No. 1 to 600 (01H to 258H)
0EH : Axis 2 and axis 3 designation High-order 16-bit: No setting
5 - 135
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
Whether the mode is the test mode from the peripheral device or not is stored.
Md.1 In test mode flag • When not in test mode : OFF
• When in test mode : ON
The software clock data created by the system in the AD75 is stored.
• This is used to record the history occurrence time.
Md.5 Clock data (hour: minute) Note) To utilize the clock data, the correct time must be set from the PLC CPU
with Cd.1 to Cd.3 . If this setting is not made, the clock data will start
counting from "00 hours 00 minutes" when the AD75 power is turned ON.
The software clock data created by the system in the AD75 is stored.
• This is used to record the history occurrence time.
Md.6 Clock data (second: 100 ms) Note) To utilize the clock data, the correct time must be set from the PLC CPU
with Cd.1 to Cd.3 . If this setting is not made, the clock data will start
counting from "00 seconds 00 ms" when the AD75 power is turned ON.
5 - 136
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
Storage buffer
memory address
Reading the monitor value Default value (common for axis 1 to
axis 3)
Monitoring is carried out with a decimal.
Monitor
Storage value 0 450
value
0: Not in test mode
1: In test mode
456 3 0 4 D –
456
OS version (Corresponding
0 M 457
V00M OS version)
457 5 6 3 0
V 0
(Converted with ASCII code)
5 - 137
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
Restart flag
Block positioning operation ~
1 B 6 2 7010
Stored contents Storage value
JOG operation 1 F 7 C 8060
Restart flag OFF 0 Manual pulse generator operation 1 F 7 D 8061
Restart flag ON 1 Machine zero point return
Starting history (up to 16 items can be stored)
1 F 7 3 8051
High-speed zero point return 1 F 7 4 8052
Current value change 1 F 7 5 8053
a : Binary, B to D: Hexadecimal
[Stored contents] The error judgment results when starting (shown below) are stored.
• BUSY start warning flag • Error flag • Error No.
5 - 138
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
Default value Storage buffer memory address (common for axis 1 to axis 3)
Md.12
542
Starting history pointer
504 509
494 499
Md.9 479 484 489
474
Start time 464 469 535 540
0000 525 530
(Hour: minute) 510 515 520
505
495 500
Md.10 485 490
475 480
Start time 465 470 536 541
526 531
(Second: 100ms) 511 516 521
506
496 501
486 491
Md.11 476 481
466 471
Error judgment
0000H
0 542
5 - 139
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
Restart flag
Block positioning operation ~
1 B 6 2 7010
Stored contents Storage value JOG operation 1 F 7 C 8060
Error at start history (up to 16 items can be stored)
[Stored contents] The error judgment results when starting (shown below) are stored.
• BUSY start warning flag • Error flag • Error No.
The pointer No. following the Monitoring is carried out with a decimal.
Md.18
pointer No. where the latest start Monitor Storage value (Pointer No.)
Starting history history during errors is stored is value 0 to 15
pointer at error indicated.
5 - 140
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
Default value Storage buffer memory address (common for axis 1 to axis 3)
Md.18
Starting history pointer 623
at error
0000H
0 623
5 - 141
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
Md.19 Monitor
The axis No. for which an value Storage value
Axis in which the error was detected is stored. 1: Axis 1
error occurred 2: Axis 2
3: Axis 3
Monitor
Md.20 value Error No.
The axis error No. is stored
Axis error No. Refer to section "14.2 List
of errors" for details on the
error Nos. (error codes).
Error history (up to 16 items can be stored)
5 - 142
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
Default value Storage buffer memory address (common for axis 1 to axis 3)
0 Md.23
688
Error history pointer
Pointer No.
14 15
12 13
10 11
8 9
6 7 684
4 5 676 680
2 3 668 672
Pointer No. 0 1 664
0 656 660
648 652
Md.19 636 640 644
628 632 685
Axis in which the 624 677 681
665 669 673
error occurred 661
653 657
641 645 649
637
629 633
Error history
Md.20 686
625 678 682
Axis error No.
666 670 674
658 662
650 654
Md.21 638 642 646
630 634 683 687
Axis error occurrence 626 675 679
671
time (Hour: minute) 663 667
655 659
643 647 651
Md.21 639
0000 631 635
Axis error occurrence 627
time (Second: 100ms)
0 688
5 - 143
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
Md.24
The axis No. for which a Monitor
Axis in which the warning was detected is value Storage value
warning 1: Axis 1
stored. 2: Axis 2
occurred
3: Axis 3
Monitor
Md.25 Warning No.
The axis warning No. is value
Refer to section
Axis warning No. stored. "14.3 List of warnings"
for details on the warning
Nos. (error codes).
Warning history (up to 16 items can be stored)
Md.26 The axis warning detection Buffer memory (stored with BCD code)
Axis warning time is stored. 1 5 3 0 Monitor value
occurrence time (Software clock data created
1 5 3 0
b15 b12 b8 b4 b0
(Hour: minute) by system in AD75.) 0 0 0 1 0 1 0 1 0 0 1 1 0 0 0 0
0 to 2 0 to 9 0 to 5 0 to 9
00 to 23 00 to 59
(hour) (minute)
5 - 144
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
Default value Storage buffer memory address (common for axis 1 to axis 3)
Md.28
0
Warning history 753
pointer
Pointer No.
14 15
12 13
10 11
8 9
6 7 749
4 5 741 745
2 3 733 737
Pointer No. 1 729
0 0
717 721
725
705 709 713
Md.24 697 701
Axis in which the 689 693 746 750
738 742
warning occurred 726 730 734
722
714 718
706 710
Warning history
0 753
5 - 145
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
The currently commanded address is stored. (Different from the actual motor
position during operation)
The current position address is stored.
• Update timing : 56.8ms
Md.29 Current feed value
• The zero point address is stored when the machine zero point return is
completed.
• When the current value is changed with the current value charge function, the
changed value is stored.
The address of the current position obtained with the machine coordinates is
stored. (Different from the actual motor position during operation)
Md.30 Machine feed value
• Machine coordinates: Characteristic coordinates determined with machine
• Update timing: 56.8ms
The output speed (average value per 910ms) commanded by the AD75 is stored.
(May be different from the actual motor speed during operation)
• During interpolation operation, the speed is stored in the following manner.
Md.31 Feedrate Reference axis : Composite speed or reference axis speed
(Set with Pr.21 )
Interpolation axis : 0
• Update timing: 910ms
The currently valid M code (set in the positioning data currently operating) is
Md.32 Valid M code stored.
• Update timing : When M code ON signal turns ON
When an axis error is detected, the error code corresponding to the error details is
stored.
• The latest error code is always stored.
Md.33 Axis error No.
(When a new axis error occurs, the error code is overwritten.)
• When "axis error reset" (axis control data) turns ON, the axis error No. is
cleared (set to 0).
5 - 146
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
Storage buffer
Reading the monitor value Default value memory address
Axis 1 Axis 2 Axis 3
◊ Sorting
A B C D E F G H 1002
802 902
Unit conversion table 0000H
803 903 1003
◊ Converted from Md.29 Md.30 )
)
hexadecimal to decimal
n Unit
Decimal integer -1 mm
value R -5 inch
-5 degree
0 pulse
◊ Unit conversion
R × 10 n Unit conversion table
Md.31 )
)
n Unit
804 904 1004
Actual value
Md.29 Current feed value
-2 mm/min 0000H
805 905 1005
-3 inch/min
Md.30 Machine feed value
-3 degree/min
Md.31 Feedrate 0 pulse/s
5 - 147
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
When an axis warning is detected, the warning code corresponding to the details of
the warning is stored.
• The latest warning code is always stored. (When a new axis warning occurs,
Md.34 Axis warning No.
the warning code is overwritten.)
• When " Cd.12 Axis error reset" (axis control data) turns ON, the axis warning
No. is cleared (set to 0).
" Da.7 Command speed" of the positioning data currently in execution is stored.
• When "–1" is set for " Da.7 Command speed": The command speed of the
previous positioning data is stored.
Md.36 Current speed • When a value other than "–1" is set for " Da.7 Command speed": The
command speed of the positioning data currently being executed is stored.
• When the speed change function is executed: " Cd.16 New speed value" is
stored. (For details of the speed change function, refer to Section 12.5.1.)
5 - 148
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
Storage buffer
Reading the monitor value Default value memory address
Axis 1 Axis 2 Axis 3
Monitor
Warning No.
value 0 808 908 1008
Refer to section "14.3 List of
warnings" for details on the
warning Nos. (warning codes).
Monitor
value R Decimal integer
value
Unit conversion table
Md.36 )
)
◊ Unit conversion 810 910 1010
n Unit
0
R × 10 n
811 911 1011
-2 mm/min
-3 inch/min
-3 degree/min
Actual
Md.36 Current speed 0 pulse/s
value
5 - 149
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
• The output speed (average value per 910ms) commanded by the AD75 to each
axis is stored. (May be different from the actual motor speed.)
Md.37 Axis feedrate
• “0” is stored when the axis is stopped.
• The update timing is 910ms.
Md.38 Speed/position changeover • The value set as the movement amount for the position control to end after
control positioning amount changing to position control with the speed/position changeover control is stored.
5 - 150
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
Storage buffer
Reading the monitor value Default value memory address
Axis 1 Axis 2 Axis 3
Monitoring is carried out with a hexadecimal.
Low-order buffer memory Example) 812
Monitor b15 b12 b8 b4 b0
value E F G H
E F G H
◊ Sorting
A B C D E F G H
Unit conversion table
◊ Converted from Md.37 )
)
hexadecimal to decimal
n Unit
Decimal integer -2 mm/min
value R -3 inch/min
-3 degree/min
0 pulse/s
◊ Unit conversion 814 914 1014
Unit conversion table 0000H
R × 10 n 815 915 1015
Md.38 )
)
n Unit
Actual value -1 mm
Md.37 Axis feedrate
-5 inch
Md.38 Speed/position changeover -5 degree
control positioning amount
0 pulse
Monitor
0 value
b3 Near-point signal 0
b4 Stop signal 0 0: OFF
b5 Upper limit signal 0 1: ON
b6 Lower limit signal 0
b7 External start signal 0
b8 Speed/position changeover signal 0
5 - 151
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
5 - 152
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
Storage buffer
Reading the monitor value Default value memory address
Axis 1 Axis 2 Axis 3
Monitor
value
5 - 153
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
• During operation with positioning data : The actual target speed, considering
the override and speed limit value,
etc., is stored. "0" is stored when
positioning is completed.
• During interpolation : The composite speed or reference
axis speed is stored in the reference
Md.42 Target speed
axis address, and "0" is stored in the
interpolation axis address.
• During JOG operation : The actual target speed, considering
the JOG speed limit value for the
JOG speed, is stored.
• During manual pulse generator operation : "0" is stored.
The " Pr.18 Torque limit setting value" or " Cd.30 New torque value" is stored.
• During positioning start, JOG operation start, manual pulse generator operation
Md.45 Torque limit stored value ...The " Pr.18 Torque limit setting value" is stored.
• When value is changed to " Cd.30 New torque value" during operation
...The " Cd.30 New torque value" is stored.
5 - 154
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
Storage buffer
Reading the monitor value Default value memory address
Axis 1 Axis 2 Axis 3
◊ Sorting
A B C D E F G H
Unit conversion table
822 922 1022
0000H
823 923 1023
◊ Converted from Md.42 )
)
hexadecimal to decimal
n Unit
Decimal integer -2 mm/min
value R -3 inch/min
-3 degree/min
0 pulse/s
◊ Unit conversion
R × 10 n Unit conversion table
Md.43 Md.44 )
)
n Unit
Actual value -1 mm
Md.42 Target speed
-5 inch
Md.43 Zero point absolute position -5 degree 824 924 1024
0000H
Md.44 Movement amount after 0 pulse 825 925 1025
near-point dog ON
5 - 155
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
Md.46 Special start data command • The "command code" used with special start and indicated by the start data
code setting value pointer currently being executed is stored.
The "command parameter" used with special start and indicated by the start data
Md.47 Special start data command
pointer currently being executed is stored.
parameter setting value
The stored value differs according to the value set for Md.46 .
Md.48 Start positioning data No. • The "positioning data No." indicated by the start data pointer currently being
setting value executed is stored.
• If the speed exceeds the " Pr.7 Speed limit value" due to a speed change or
override, the speed limit functions, and the in speed limit flag turns ON.
Md.49 In speed limit flag
• When the speed drops to less than " Pr.7 Speed limit value", or when the axis
stops, the in speed limit flag turns OFF.
• The speed change process flag turns ON when the speed is changed during
positioning control.
Md.50 In speed change processing
• After the speed change process is completed or when deceleration starts with
flag
the stop signal during the speed change process, the in speed change process
flag turns OFF.
5 - 156
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
Storage buffer
Reading the monitor value Default value memory address
Axis 1 Axis 2 Axis 3
00
04 None None 0 828 928 1028
07
01
02 Condition 1 to 10
03 data No.
06
No. of
05 0 to 255
repetitions
5 - 157
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
Md.51 Start data pointer being • The point No. (1 to 50) of the start data currently being executed is stored.
executed • "0" is stored when positioning is completed.
Md.52 Last executed positioning • The positioning data No. executed last is stored.
data No. • The value is held until the next positioning is executed.
• When controlling using the "start block data", the block No. "7000" to "7010"
Md.55 Block No. being executed currently being executed is stored.
• In all other cases, "0" is stored.
Md.56 Positioning data being • The details of the positioning data currently being executed (data of positioning
executed data No. stored in Md.54 ) are stored in the addresses shown on the right.
5 - 158
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
Storage buffer
Reading the monitor value Default value memory address
Axis 1 Axis 2 Axis 3
Storage address
Stored item Reference
Axis 1 Axis 2 Axis 3
1038
840 940 1040 Dwell time Da.8 838 to 938 to
0 to
847 947
841 941 1041 Not used 1047
842 942 1042
Command speed Da.7
843 943 1043
844 944 1044
Positioning address Da.5
845 945 1045
846 946 1046
Arc address Da.6
847 947 1047
5 - 159
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
Md.100 Zero point return re- • The movement amount (signed) of movement up to the zero point by re-
movement amount movement is stored.
• The current value of actual movement (current feed value - droop value of
Md.101 Real current value
deviation counter) is stored.
• The " Pr.108 Auto tuning" servo parameter value set to the servo amplifier is
Md.105 Auto tuning stored.
• The update timing is 56.8ms.
5 - 160
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
Storage buffer
Reading the monitor value Default value memory address
Axis 1 Axis 2 Axis 3
Monitoring is carried out with a hexadecimal.
Low-order buffer memory Example) 848
Monitor b15 b12 b8 b4 b0
value E F G H
E F G H
◊ Sorting
(High-order (Low-order
buffer memory) buffer memory)
A B C D E F G H
Decimal
integer value R
850 950 1050
◊ Unit conversion 0
851 951 1051
R 10n Unit conversion table
n Unit
-1 µm
Actual Md.100 Zero point return -5 inch
value re-movement amount
-5 degree
Md.101 Real current value
0 pulse
5 - 161
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
• The " Pr.112 Load inertia ratio" servo parameter value set to the servo amplifier
Md.106 Load inertia ratio is stored. (Unit: 0.1%)
(When auto tuning is valid, the value calculated by auto tuning is stored.)
• The " Pr.113 Position loop gain 1" servo parameter value set to the servo
Md.107 Position loop gain 1 amplifier is stored. (Unit: rad/s)
(When auto tuning is valid, the value calculated by auto tuning is stored.)
• The " Pr.114 Speed loop gain 1" servo parameter value set to the servo
Md.108 Speed loop gain 1 amplifier is stored. (Unit: rad/s)
(When auto tuning is valid, the value calculated by auto tuning is stored.)
• The " Pr.115 Position loop gain 2" servo parameter value set to the servo
Md.109 Position loop gain 2 amplifier is stored. (Unit: rad/s)
(When auto tuning is valid, the value calculated by auto tuning is stored.)
• The " Pr.116 Speed loop gain 2" servo parameter value set to the servo
Md.110 Speed loop gain 2 amplifier is stored. (Unit: rad/s)
(When auto tuning is valid, the value calculated by auto tuning is stored.)
• The " Pr.117 Speed integral compensation" servo parameter value set to the
Md.111 Speed integral
servo amplifier is stored. (Unit: ms)
compensation
(When auto tuning is valid, the value calculated by auto tuning is stored.)
5 - 162
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
Storage buffer
Reading the monitor value Default value memory address
Axis 1 Axis 2 Axis 3
Monitoring is carried out with a decimal.
Monitor value
Storage value (rad/s)
5 - 163
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
Md.113 Parameter error • When a servo parameter error occurs, the bit corresponding to any of the servo
(No.1 to 15) parameter No. 1 to 15 ( Pr.101 to Pr.115 ) in error turns ON.
Md.114 Parameter error • When a servo parameter error occurs, the bit corresponding to any of the servo
(No.16 to 31) parameter No. 16 to 31 ( Pr.116 to Pr.131 ) in error turns ON.
Md.115 Parameter error • When a servo parameter error occurs, the bit corresponding to any of the servo
(No.32 to 36) parameter No. 32 to 36 ( Pr.132 to Pr.136 ) in error turns ON.
5 - 164
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
Storage buffer
Reading the monitor value Default value memory address
Axis 1 Axis 2 Axis 3
Monitoring is carried out with a hexadecimal.
b15 b12 b8 b4 b0
Monitor value
0 Monitor value
b15 b12 b8 b4 b0
Buffer
memory 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Not Not Not Storage item
Default
Meaning
0000H 873 973 1073
used used used value
b0 READY ON 0
b1 Servo ON 0
b4 Zero point pass 0
b5 In-position 0 0: OFF
b6 Zero speed 0 1: ON
b7 Torque limit 0
b13 Servo alarm 0
b14 Servo warning 0
5 - 165
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
• The average value of the ratios of the regenerative load to the allowable value of
*1 the regenerative brake resistor selected in the servo basic parameter for the past
Md.117 Regenerative load ratio 15 seconds is stored. (Unit: 1%)
• The update timing is 1 second interval.
• The average value of the ratios of the load to the rated torque of the servomotor
*1
Md.118 Effective load ratio for the past 15 seconds is stored. (Unit: 1%)
• The update timing is 1 second interval.
• The held value of the ratio of the peak load to the rated torque of the servomotor
Md.119 Peak load ratio *1 is stored. (Unit: 1%)
• The update timing is 1 second interval.
• The mode for absolute position restoration is stored in the axis where " Pr.1
Unit setting" is "2: degree" and absolute position detection is valid.
(Set timing)
Md.121 Absolute position At power-on
At completion of machine zero point return
restoration mode
• The update timing is 56.8ms.
Refer to section 12.6.2 for details of mode switching for absolute position
restoration.
*1: During any of the following processings, " Md.117 Regenerative load ratio", " Md.118 Effective load ratio" and
" Md.119 Peak load ratio" storage buffer memory data are not updated.
During the processing, therefore, a delay may occur in the updating of the " Md.117 Regenerative load ratio", " Md.118
Effective load ratio" and " Md.119 Peak load ratio" storage buffer memory data.
• When a machine zero point return is made (when ZCT is read, when the absolute position reference point is read)
• When initial communication is being made with the servo amplifier
• When the PLC READY signal [Y1D] is turned from OFF to ON
• When the servo parameters are updated with the "AD75M servo position control gain function" of GX Configurator-AP
(For details of GX Configurator-AP, refer to the GX Configurator-AP Operating Manual.)
5 - 166
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
Storage buffer
Reading the monitor value Default value memory address
Axis 1 Axis 2 Axis 3
Monitor value
Storage value (%) 0 877 977 1077
b47 b32
882
0 0 0 2
b63 b48
883
0 0 0 0
Monitor value
Storage value 0 879 979 1079
0: Standard mode
1: Infinite length mode
5 - 167
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
• The clock data (hour) from the PLC CPU is set after the AD75 power is turned
Cd.1 Clock data setting (hour)
ON.
Cd.2 Clock data setting (minute, • The clock data (minute, second) from the PLC CPU is set after the AD75 power
second) is turned ON.
• After setting the clock data in Cd.1 and Cd.2 , when setting the data in
Cd.3 Clock data writing Md.5 and Md.6 as the AD75 clock data, set "1".
• When the setting is completed, the OS sets "0".
Cd.4 Target axis* • Set the axis targeted for reading or writing.
* Cd.4 to Cd.8 are data used to transmit the positioning data between the OS memory and buffer memory.
(Refer to section "7.2 Data transmission process".)
5 - 168
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
Storage buffer
memory address
Setting value Default value (common for axis 1 to
axis 3)
Setting value
0 0 1 0
0000 1100
b15 b12 b8 b4 b0
Buffer memory 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
No setting 0 to 2 0 to 3
b15 b12 b8 b4 b0
Buffer memory 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 to 5 0 to 9 0 to 5 0 to 9
0 0 0 1
Clock data wirte
1: Clock data 0000H 1102
b15 b12 b8 b4 b0
write request
Buffer memory 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1
Not set
When the clock data is written,
"0" is stored from the OS.
0 0 0
Target axis
1: Axis 1
b15 b12 b8 b4 b0 2: Axis 2 0000H 1103
Buffer memory 0 0 0 0 0 0 0 0 0 0 0 0 3: Axis 3
4: Axis 1 and axis 2
Not set interpolation
5: Axis 2 and axis 3
interpolation
6: Axis 3 and axis 1
interpolation
5 - 169
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
Cd.5 Positioning data No. • Set the positioning data No. targeted for reading or writing.
• When writing the positioning data stored in the Cd.8 data storage address into
the positioning data designated with Cd.5 , set the type of the data targeted for
writing.
* When reading, all data types are unconditionally read.
Address field
Cd.6 Write pattern
Set how to write data into the positioning address and arc address of the
positioning data.
Positioning data field
Set how to write the data other than the positioning address and arc address in
the positioning data.
• When reading the positioning data, set "1". When writing, set "2".
Cd.7 Read/write request • Reading and writing are also carried out simultaneously for the interpolation axis.
• Issue the write or read request when the PLC READY signal is OFF.
* Cd.4 to Cd.8 are data used to transmit the positioning data between the OS memory and buffer memory.
(Refer to section "7.2 Data transmission process".)
5 - 170
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
Storage buffer
memory address
Setting value Default value (common for axis 1 to
axis 3)
Positioning data
1 to 600
Command speed
Address field
Stored item Setting value
Arc address 0: Write
Positioning address 1: Do not write
5 - 171
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
Cd.9 Flash ROM write request • Write the OS memory contents into the flash ROM.
* Cd.4 to Cd.8 are data used to transmit the positioning data between the OS memory and buffer memory.
(Refer to section "7.2 Data transmission process".)
5 - 172
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
Storage buffer
memory address
Setting value Default value (common for axis 1 to
axis 3)
Storage address
Stored item Reference
Axis 1 Axis 2 Axis 3
1108 1118 1128 Positioning identifier Da.1 to Da.4
1109 1119 1129 M code Da.9
1110 1120 1130 Dwell time Da.8
1111 1121 1131 Not used 0 1108 to 1137
1112 1122 1132
Command speed Da.7
1113 1123 1133
1114 1124 1134
Positioning address Da.5
1115 1125 1135
1116 1126 1136
Arc address Da.6
1117 1127 1137
5 - 173
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
• Clears the axis error detection, axis error No., axis warning detection and axis
warning No.
Cd.12 Axis error reset
• When the AD75 axis operation state is "in error occurrence", the error is cleared
and the AD75 is returned to the "waiting" state.
• When positioning is stopped for any reason (when axis operation state is
Cd.13 Restart command "stopped"), set "1" in Cd.13 . Positioning will be carried out again from the
stopped position to the end point of the stopped positioning data.
5 - 174
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
Storage buffer
Setting value Default value memory address
Axis 1 Axis 2 Axis 3
Set with a decimal.
Setting value
K
Positioning data No. 0 1150 1200 1250
· 1 to 600 : Positioning data No.
· 7000 to 7010 : Block start designation
· 8001 to 8050 : Indirectly specification
· 9001 : Machine zero point return
· 9002 : High-speed zero point return
· 9003 : Current value change
K 1
Error reset request 0 1151 1201 1251
Axis 1: Axis error is reset.
(Set by sequence program)
After the axis error reset is completed, "0" is stored by the OS.
(Indicates that the axis error reset is completed.)
K 1
Restart command 0 1152 1202 1252
1: Restarts
(Set by sequence program)
After the M code ON signal turns OFF, "0" is stored by the OS.
(Indicates that the OFF request is completed.)
5 - 175
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
• When changing the current feed value using the start No. "9003", set the new
current feed value.
• The value is set within the following range.
To request the speed change process (to validate the Cd.16 value) after setting
Cd.17 Speed change request
the " Cd.16 New speed value", set "1".
• When applying an override on the speed during positioning operation, set the
Cd.18 Positioning operation speed
"override" value.
override
* Refer to section "12.5.2 Override function" for details on the "override".
5 - 176
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
Storage buffer
Setting value Default value memory address
Axis 1 Axis 2 Axis 3
5 - 177
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
Cd.20 Speed/position changeover • Set whether to validate the control signal (speed/position changeover signal)
enable flag from an external source.
• To change the movement amount for the position control during speed control of
speed/position changeover control, set the movement amount after changing to
position control.
• Make the setting during the speed control of speed/positioning changeover
control.
• The setting value is cleared to 0 at the next start.
• Set the value within the following range.
5 - 178
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
Storage buffer
Setting value Default value memory address
Axis 1 Axis 2 Axis 3
Actual
value Cd.19 JOG speed
◊ Integer value
Unit conversion table
× 10 n
Cd.19 )
)
K
Cd.20 Speed/position changeover enable flag
0 1163 1213 1263
0: Even if the speed/position changeover signal
turns ON, the control does not change from
speed to position control.
1: When the speed/position changeover signal
turns ON, the control changes from speed
to position control.
Actual
value Cd.21 Speed/position changeover control
movement amount change register
5 - 179
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
• Set the magnification of the No. of pulses input from the manual pulse generator.
Cd.23 Manual pulse generator 1
• When setting value is 0 or less: Processed as "1"
pulse input magnification
• When setting value is 101 or more: Processed as "100"
Cd.24 Zero point return request flag • When the zero point return request flag is ON, set the request to turn this OFF
OFF request forcibly with the sequence program.
Cd.26 Step valid flag • Set whether to carry out step operation.
5 - 180
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
Storage buffer
Setting value Default value memory address
Axis 1 Axis 2 Axis 3
K 1
Zero point return request flag OFF request 0 1170 1220 1270
1: Turn OFF the "zero point return request
flag" that is ON.
(Set by sequence program)
After the zero point return request turns OFF, "0" is stored by the OS.
(Indicates that the zero point return request flag OFF request is completed.)
5 - 181
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
Cd.27 Step mode • When using step operation, set which unit to step with.
Cd.28 Step start information • When using step operation, set whether to continue or restart operation.
• To change the " Md.45 Torque limit stored value", set the new estimated torque
Cd.30 New torque value limit stored value.
• Set the value within the " Pr.18 Torque limit setting value" range.
Cd.31 Positioning starting point No. • Set the "start point No. (1 to 50)" for executing block start (positioning).
5 - 182
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
Storage buffer
Setting value Default value memory address
Axis 1 Axis 2 Axis 3
K 1
0 1175 1225 1275
Skip command
1: Decelerate to a stop, and then carry
out the next positioning. (Skip request)
(Set by sequence program)
After the skip request is accepted, "0" is stored by the OS.
5 - 183
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
• When changing the acceleration time during speed change, set the new
acceleration time.
Pr.25 Cd.33
Cd.33 New acceleration time value setting setting range (unit)
1-word type 0 to 65535 (mm)
2-word type 0 to 8388608 (ms)
• When changing the deceleration time during speed change, set the new
deceleration time.
Pr.25 Cd.33
Cd.34 New deceleration time value setting setting range (unit)
1-word type 0 to 65535 (mm)
2-word type 0 to 8388608 (ms)
Cd.35 Acceleration/deceleration
time change during speed • Set whether to enable/disable the acceleration/deceleration time change during
change, enable/disable speed change.
selection
• Set "1" when it is desired to switch the servo OFF (free run status) during
positioning standby.
Cd.100 Servo OFF command • During positioning operation, the servo OFF command is invalid.
(However, if the servo amplifier results in error during positioning operation, the
servo OFF command is made valid immediately.)
5 - 184
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
Storage buffer
Setting value Default value memory address
Axis 1 Axis 2 Axis 3
Set with a decimal.
Setting value
K 1
Continuous operation interrupt request 0 1181 1231 1281
1: Interrupt continuous control or continuous
path control. (Set by sequence program)
After the control interrupt request is accepted, "0" is stored by the OS.
(Indicates that the continuous operation interrupt request is completed.)
Example)
To set "60000ms" for the " Cd.33
New acceleration time value", set
"60000" in the buffer memory. 1186 1236 1286
0
1187 1237 1287
Setting value
Setting value
K 0 1180 1230 1280
5 - 185
5 DATA USED FOR POSITIONING CONTROL
MELSEC-A
MEMO
5 - 186
Chapter 6
The programs required to carry out positioning control with the AD75 are explained
in this chapter. 6
The sequence program required for control is created allowing for the "start conditions",
"start time chart", "device settings" and general control configuration. (The parameters,
positioning data, start block data and condition data, etc., must be set in the AD75
according to the control to be executed, and program for setting the control data or a
program for starting the various control must be created.)
The first half of this chapter explains the program configuration of general control, and
the latter half explains the program details. Create the required program while referring
to the various control details explained in "SECTION 2", and to "Chapter 5 DATA USED
FOR POSITIONING CONTROL".
6-1
6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL
MELSEC-A
The common precautions to be taken when writing data from the PLC CPU to the
AD75 buffer memory are described below.
Note) Connect the upper and lower limit switches to the directions of increasing and
decreasing current feed values respectively. When these switches are connected in
wrong directions, the hardware stroke limit function does not operate properly and the
motor does not stop.
M0
TO H0 K50 D1 K1
X1 X1
SET M1 SET M1
M1 M1
FROMP H0 K50 D5 K1 PLS M2
M2
FROM H0 K50 D5 K1
X3 X3
TO H0 K50 K10 K1 MOV K10 D0
TO H0 K50 D0 K1
(b) With the 3-axis module, the number of times the FROM/TO command, the
DFRO/DTO command, and the command using the special function module
device are executed changes depending on the function to be executed.
• When carrying out circular interpolation control and S-pattern
acceleration/deceleration : 4 times/axis
• When CHG input is input simultaneously for two axes during
speed/position changeover control : 4 times/axis
• When not carrying out the above control : 10 times/axis
Circular S-pattern Speed/position changeover
Control other
interpolation acceleration/ control (CHG input
than that on left
control deceleration simultaneously for two axes)
A1SD75M1
10 times/axis 10 times/axis 10 times/axis 10 times/axis
AD75M1
A1SD75M2
10 times/axis 10 times/axis 10 times/axis 10 times/axis
AD75M2
A1SD75M3
4 times/axis 4 times/axis 4 times/axis 10 times/axis
AD75M3
P
L A
C
D
C
P 75
U
POINT
During the various processes of the special function module, the access from the
PLC CPU is processed as a priority. Thus, if the special function module's buffer
memory is frequently accessed from the PLC CPU, the PLC CPU scan time will
increase and a delay will occur in the special function module's processes.
Access the buffer memory from the PLC CPU with the FROM/TO command, etc.,
only when necessary.
6-3
6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL
MELSEC-A
The application of the input/output Nos. [X] [Y], internal relays [M] and data registers
[D] used in this chapter are shown below.
Device Device
Application Details when ON
name Axis 1 Axis 2 Axis 3
X0 AD75 READY signal Preparation incomplete/WDT error
X1 X2 X3 Positioning start complete signal Start completed
X4 X5 X6 BUSY signal BUSY (operating)
Input
X7 X8 X9 Positioning complete signal Positioning completed
XA XB XC Error detection signal Error detected
XD XE XF M code ON signal Outputting M code
AD75
Y10 Y11 Y12 Positioning start signal Requesting start
Y13 Y14 Y1C Axis stop signal Requesting stop
Out- Y15 All axes servo ON signal Requesting all axes servo ON
put Y16 Y18 Y1A Forward run JOG start signal Starting forward run JOG
Y17 Y19 Y1B Reverse run JOG start signal Starting reverse run JOG
Y1D PLC READY signal PLC CPU preparation completed
Commanding zero point return request
X20 Zero point return request OFF command
OFF
X21 External start valid setting command Commanding external start valid setting
Commanding external start invalid
X22 External start invalid command
command
X23 Machine zero point return command Commanding machine zero point return
X24 High-speed zero point return command Commanding high-speed zero point return
X25 Positioning start command Commanding positioning start
Speed/position changeover operation Commanding speed/position changeover
X26
command operation
Speed/position changeover enable Commanding speed/position changeover
X27
command enable
Speed/position changeover prohibit Commanding speed/position changeover
X28
command prohibit
X29 Movement amount change command Commanding movement amount change
Command — Advanced positioning control start Commanding advanced positioning
X2A
command control start
X2B Positioning start command Commanding positioning start
X2C M code OFF command Commanding M code OFF
Commanding JOG operation speed
X2D JOG operation speed setting command
setting
X2E Forward run JOG command Commanding forward run JOG operation
X2F Reverse run JOG command Commanding reverse run JOG
Manual pulse generator operation enable Commanding manual pulse generator
X30
command operation enable
Manual pulse generator operation disable Commanding manual pulse generator
X31
command operation disable
X32 Speed change command Commanding speed change
X33 Override command Commanding override
Acceleration/deceleration time change Commanding acceleration/deceleration
X34
command time change
6-4
6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL
MELSEC-A
Device Device
Application Details when ON
name Axis 1 Axis 2 Axis 3
Acceleration/deceleration time change Commanding acceleration/deceleration
X35
disable command time change disable
X36 Torque change command Commanding torque change
X37 Step operation command Commanding step operation
X38 – Skip command Commanding skip
X39 Teaching command Commanding teaching
Commanding continuous operation
X3A Continuous operation interrupt command
Command interrupt
X3B Restart command Commanding restart
X3C Parameter initialization command Commanding parameter initialization
X3D Flash ROM write command Commanding flash ROM write
X3E Error reset command Commanding error reset
–
X3F Stop command Commanding stop
X40 All axes servo OFF command All axes servo OFF
X41 – Axis 1 servo OFF command Axis 1 servo OFF
Commanding zero point return request
M0 Zero point return request OFF command
OFF
Zero point return request OFF command Zero point return request OFF
M1 –
pulse commanded
Zero point return request OFF command Zero point return request OFF command
M2
storage held
M3 Clock data write command pulse Clock data write commanded
M4 Clock data write command storage Clock data write command held
M5 High-speed zero point return command Requesting high-speed zero point return
High-speed zero point return command High-speed zero point return command
M6
storage held
M7 Positioning start command pulse Positioning start commanded
M8 Positioning start command storage Positioning start command held
M9 In JOG flag In JOG flag
Manual pulse generator operation enable Requesting manual pulse generator
M10
command operation enable
Internal M11 Manual pulse generator operating flag Manual pulse generator operating flag
relay Manual pulse generator operation disable Requesting manual pulse generator
M12
command operation disable
M13 Speed change command pulse Speed change commanded
M14 – Speed change command storage Speed change command held
M15 Override command Requesting override
Acceleration/deceleration time change Requesting acceleration/deceleration time
M16
command change
M17 Torque change command Requesting torque change
M18 Step operation command pulse Step operation commanded
M19 Skip operation command pulse Skip operation commanded
M20 Skip operation command storage Skip operation command held
M21 Teaching command pulse Teaching commanded
M22 Teaching command storage Teaching command held
M23 Continuous operation interrupt command Requesting continuous operation interrupt
M24 Restart command Requesting restart
M25 Restart command storage Restart command held
6-5
6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL
MELSEC-A
Device Device
Application Details when ON
name Axis 1 Axis 2 Axis 3
M26 Parameter initialization command pulse Parameter initialization commanded
M27 Parameter initialization command storage Parameter initialization command held
M28 Flash ROM write command pulse Flash ROM write commanded
M29 Flash ROM write command storage Flash ROM write command held
M30 Error code read complete Error code read completed
Internal
M31 – Error reset Error reset completed
relay
M32 Stop command pulse Stop commanded
M9028 Clock data read command Requesting clock data read
M9036 Always ON contact Always ON contact
M9038 1 scan ON after RUN 1 scan turned ON after RUN
M9039 1 scan OFF after RUN 1 scan turned OFF after RUN
D0 Status information ( Md.40 Status)
D1 – Zero point return request flag ( Md.40 Status (bit3))
( Cd.24 Zero point return request flag
D2 Zero point return request OFF results
OFF request)
D3 Date/hour data
PLC CPU clock data
D4 Minute/second data
D5 Clock data write request ( Cd.3 Clock data writing)
D6 Clock data write results ( Cd.3 Clock data writing)
D7 Positioning data No. Positioning data No.
D8 Movement amount (low-order 16 bits) ( Cd.21 Speed/position changeover
control movement amount
D9 Movement amount (high-order 16 bits) change register)
D10 JOG operation speed (low-order 16 bits)
( Cd.19 JOG speed)
D11 JOG operation speed (high-order 16 bits)
Manual pulse generator 1 pulse input
D12
magnification (low-order) ( Cd.23 Manual pulse generator 1
Manual pulse generator 1 pulse input pulse input magnification)
D13
magnification (high-order)
D14 Speed change value (low-order 16 bits)
Data ( Cd.16 New speed value)
D15 Speed change value (high-order 16 bits)
register
D16 Speed change request ( Cd.17 Speed change request)
–
D17 Speed change result ( Cd.17 Speed change request)
( Cd.18 Positioning operation speed
D18 Override value
override)
Acceleration time setting (low-order 16
D19
bits)
( Cd.33 New acceleration time value)
Acceleration time setting (high-order 16
D20
bits)
Deceleration time setting (low-order 16
D21
bits)
( Cd.34 New deceleration time value)
Deceleration time setting (high-order 16
D22
bits)
D23 Torque output setting value ( Cd.101 Torque output setting value)
D24 Step valid flag ( Cd.26 Step valid flag)
D25 Step mode ( Cd.27 Step mode)
D26 Skip operation results ( Cd.29 Skip command)
D27 Target axis ( Cd.4 Target axis)
D28 Positioning data No. ( Cd.5 Positioning data No.)
D29 Write pattern ( Cd.6 Write pattern)
6-6
6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL
MELSEC-A
Device Device
Application Details when ON
name Axis 1 Axis 2 Axis 3
D30 Read/write request ( Cd.7 Read/write request)
D31 Teaching results ( Cd.7 Read/write request)
D32 Axis state ( Md.35 Axis operation status)
D33 Restart command ( Cd.13 Restart command)
D34 Parameter initialization results ( Cd.10 Parameter initialization request)
D35 Flash ROM write results ( Cd.9 Flash ROM write request)
D36 Error code ( Md.33 Axis error No.)
D40 Positioning identifier ( Da.1 to Da.4 )
For teaching
D41 M code ( Da.9 M code)
D42 Dwell time ( Da.8 Dwell time)
D43 Blank Blank
D44 Speed command (low-order 16 bits)
( Da.7 Command speed)
D45 Speed command (high-order 16 bits)
D50 Unit setting ( Pr.1 Unit setting)
D51 No. of pulses per rotation ( Pr.2 No. of pulses per rotation)
D52 Movement amount per rotation ( Pr.3 Movement amount per rotation)
D53 Unit magnification ( Pr.4 Unit magnification )
( Da.1 Operation pattern)
( Da.2 Control method)
D56 Positioning identifier
( Da.3 Acceleration time No.)
Data
register ( Da.4 Deceleration time No.)
Positioning data No.1
6-7
6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL
MELSEC-A
The "positioning control operation program" actually used is explained in this chapter.
The functions and programs explained in "SECTION 2" are assembled into the
"positioning control operation program" explained here. (To monitor the control, add
the required monitor program that matches the system. Refer to section "5.6 List of
monitor data" for details on the monitor items.)
Start program
Completion of program
creation
6-8
6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL
MELSEC-A
The various programs that configure the "positioning control operation program" are
shown below. When creating the program, refer to the explanation of each program
and section "6.4 Positioning program examples", and create an operation program that
matches the positioning system. (Numbers are assigned to the following programs.
Configuring the program in the order of these numbers is recommended.)
No.3
Positioning start information
setting program
Initialization program
No.5
External start function valid
setting program Refer to section 6.5.1
Set
Clock data is ...
No.6
Not set Clock data setting program Refer to section 13.5
No.7
PLC READY signal
[Y1D] ON program * Required
No.8
Servo ON/OFF program * Required
6-9
6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL
MELSEC-A
Start program
No.10
Positioning start signal input program Refer to section 6.5.3
No.11
Program to reset the start
Reset program
signal and turn the M code
ON signal OFF
No.12
JOG operation program Refer to section 11.2.4
No.13
Manual pulse generator
Refer to section 11.3.4
operation program
6 - 10
6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL
MELSEC-A
Auxiliary program
No.15
Override program Refer to section 12.5.2
No.17
Torque change program Refer to section 12.5.4
No.18
Step operation program Refer to section 12.7.1
No.19
Skip program Refer to section 12.7.2
No.20
Teaching program Refer to section 12.7.4
No.21
Continuous operation interrupt program Refer to section 6.5.4
No.22
Restart program Refer to section 6.5.5
No.23
Parameter initialization program Refer to section 13.2
No.24
Flash ROM write program Refer to section 13.3
Stop program
* Program used to stop control
No.26
Stop program Refer to section 6.5.6
6 - 11
6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL
MELSEC-A
*
* No.1 Parameter setting program
* (For basic parameter 1 axis 1)
*
<Setting of unit setting (0:mm)>
6 - 12
6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL
MELSEC-A
*
No.3 Positioning start information setting program
* Start block data of block No.7000 (axis 1)
* For setting of points 1 to 5
* (Conditions)
Shapes: Continued at points 1 to 4, ended at point 5
* Special start command : Normal start at all of points 1 to 5
* <Positioning data are already preset>
*
[Setting of shape and start data No.]
*
* <Setting of continue and start data No. 1>
*
* [Setting of special start command to normal start]
*
<Setting of normal start>
*
* No.4 Zero point return request OFF program
*
6 - 13
6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL
MELSEC-A
*
* No.5 External start function valid setting program
*
*
* No.8 Servo ON/OFF program
*
* (1) All axes servo ON/OFF program
*
<Servo ON signal ON>
*
* (2) Axis 1 servo ON/OFF program
* (Unnecessary when servo ON/OFF is not performed on an axis basis)
*
<Axis 1 servo OFF command write>
*
* No.9 Positioning start No. setting program
*
* (1) Machine zero point return
*
*
* (2) High-speed zero point return
*
<AD75 status information read>
6 - 14
6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL
MELSEC-A
*
* (3) Positioning with positioning data No.1 (Control other than speed/position changeover control)
*
<Positioning data No.1 setting>
*
* (4) Positioning with positioning data No.1 (Speed/position changeover control)
*
*
* (6) High-speed zero point return command and high-speed zero point return command storage OFF
* (Not required when high-speed zero point return is not used)
*
* No.10 Positioning start signal input program
* (When high-speed zero point return is not made, contacts of M5 and M6 are not needed.)
* (When M code is not used, contact of X0D is not needed.)
*
* (When JOG operation is not performed, contact of M9 is not needed.)
* (When manual pulse generator operation is not performed, contact of M11 is not needed.)
*
6 - 15
6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL
MELSEC-A
*
* No.11 Reset program
*
*
* No.12 JOG operation program
*
6 - 16
6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL
MELSEC-A
*
* No.14 Speed change program
*
*
* No.15 Override program
*
*
* No.16 Acceleration / deceleration time change program
*
6 - 17
6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL
MELSEC-A
*
* No.18 Step operation program
*
<Axis 1 setting>
6 - 18
6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL
MELSEC-A
*
* No.21 Continuous operation interrupt program
*
<Continuous operation interrupt command pulse>
*
* No.22 Restart program
*
<Restart command pulse>
*
* No.23 Parameter initialization program
*
<Parameter initialization command pulse>
*
* No.24 Flash ROM write program
*
<Flash ROM write command pulse>
6 - 19
6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL
MELSEC-A
*
* No.25 Error reset program
*
*
* No.26 Stop program
*
<Stop execution>
6 - 20
6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL
MELSEC-A
ON
Fig. 6.1 Time chart for zero point return OFF request
* Refer to section "5.7 List of control data" for details on the setting details.
6 - 21
6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL
MELSEC-A
This program sets which control, out of "zero point control", "main positioning control"
or "advanced positioning control" to execute. For "advanced positioning control", "high-
speed zero point return" and "speed/position changeover control", add the respectively
required sequence program.
(Refer to "Chapter 10" for details on starting the "advanced positioning control.)
(1) Set the "positioning start No." corresponding to the control to be started in
" Cd.11 Positioning start No.".
Setting Buffer memory address
Setting item Setting details
value Axis 1 Axis 2 Axis 3
1 to 600 : Positioning data No.
9001 : Machine zero point return
9002 : High-speed zero point return
Positioning start
Cd.11 9003 : Current value change 1150 1200 1250
No.
7000 to 7010 : Block No.
(For "advanced positioning
control")
* Refer to section "5.7 List of control data" for details on the setting details.
(2) For "advanced positioning control", set the "positioning start point No." of the
block to be started in " Cd.31 Positioning start point No.".
Setting Buffer memory address
Setting item Setting details
value Axis 1 Axis 2 Axis 3
Positioning start
Cd.31 1 to 50 : Point No. of start block data 1178 1228 1278
point No.
* Refer to section "5.7 List of control data" for details on the setting details.
(3) For "high-speed zero point return", confirm that the "zero point absolute
position overflow flag/underflow flag" is OFF.
(4) Set the following control data for "speed/position changeover control".
(Set " Cd.21 Speed/position changeover control movement amount change
register" as required.)
Setting Buffer memory address
Setting item Setting details
value Axis 1 Axis 2 Axis 3
Speed/position
When "1" is set, the speed/position changeover
Cd.20 changeover 1 1163 1213 1263
signal will be validated.
enable flag
Speed/position
changeover Set the new value when the position control's
1164 1214 1264
Cd.21 control movement movement amount is to be changed during
1165 1215 1265
amount change speed control.
register
* Refer to section "5.7 List of control data" for details on the setting details.
6 - 22
6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL
MELSEC-A
3)
Control with
positioning data
1) No. 1
1
1150
PLC CPU
2)
ON
* When starting positioning with the scan
Input/output signal after the completion of positioning,
insert X1 as an interlock so that
positioning is started after Y10 is turned
Y10 OFF and X1 is turned OFF.
1) Set the "positioning start No." in " Cd.11 Positioning start No." according to the control to
be started.
(In the above example, set positioning data No. "1".)
2) Input the positioning start signal [Y10, Y11, Y12] or the external start signal.
3) The positioning data No. "1" will start.
Starting conditions
When starting, the following conditions must be satisfied. The program must be
configured by adding the required conditions into the sequence program so that
the operation does not start until the conditions are satisfied.
Device
Signal name Signal state
Axis 1 Axis 2 Axis 3
All axes servo ON signal ON Servo operation possible Y15
PLC READY signal ON PLC CPU preparation completed Y1D
AD75 READY signal OFF AD75 preparation completed X0
Interface Axis stop signal OFF Axis stop signal is OFF Y13 Y14 Y1C
signal Start complete signal OFF Start complete signal is OFF X1 X2 X3
BUSY signal OFF BUSY signal is OFF X4 X5 X6
Error detection signal OFF There is no error XA XB XC
M code ON signal OFF M code ON signal is OFF XD XE XF
Stop signal OFF Stop signal is OFF –
External
Upper limit (FLS) ON Within limit range –
signal
Lower limit (RLS) ON Within limit range –
Monitor Md.116 Servo status:
Servo ON ON Servo ON is ON
data b1
6 - 23
6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL
MELSEC-A
V
Dwell time
Positioning
t
ON
Positioning start signal OFF
[Y10,Y11,Y12]
ON
Start complete signal OFF
[X1,X2,X3]
ON
BUSY signal
[X4,X5,X6] OFF
ON
Positioning complete
OFF
signal [X7,X8,X9]
POINT
When position control of movement amount 0 is executed, the BUSY signal [X4,
X5, X6] also turns ON. However, since the ON time is short, the ON status may not
be detected in the sequence program.
(The ON statuses of the start complete signal [X1, X2, X3], positioning complete
signal [X7, X8, X9] and M code ON signal [XD, XE, XF] can be detected in the
sequence program.)
6 - 24
6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL
MELSEC-A
Near-point dog
Zero point
ON
ON
Zero point return request flag OFF
[ Md.40 Status:b3]
ON
Zero point return complete flag OFF
[ Md.40 Status:b4]
Fig. 6.4 Time chart for starting "machine zero point return"
6 - 25
6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL
MELSEC-A
ON
Fig. 6.5 Time chart for starting "high-speed zero point return"
6 - 26
6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL
MELSEC-A
Operation pattern
V Dwell time
Positioning data No. 1(11)
2(00)
Cd. 20 Speed/position 1 0
changeover enable flag
6 - 27
6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL
MELSEC-A
t2
Position command
Positioning operation
Fig. 6.8 Machine zero point return operation timing and process time
6 - 28
6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL
MELSEC-A
Positioning
start signal [Y10,Y11,Y12]
t4
Position command
Positioning operation
t5
Positioning complete signal *
[X7,X8,X9]
t6
M code ON signal
(AFTER mode) [XD,XE,XF]
t2
Cd. 14 M code OFF request
• When the positioning start signal turns ON, if all signals marked with an
asterisk (*) are already ON, the signals marked with an asterisk (*) will turn
OFF when the positioning start signal turns ON.
6 - 29
6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL
MELSEC-A
Restrictions
When starting by inputting the external start signal, the start complete signal [X1,
X2, X3] will not turn ON.
* Refer to Chapter "5 DATA USED FOR POSITIONING CONTROL" for details on the setting details.
1 0
Cd. 25 External start valid
Fig. 6.10 Time chart for starting with external start signal
6 - 30
6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL
MELSEC-A
During positioning control, the control can be interrupted during continuous positioning
control and continuous path control (continuous operation interrupt function). When
"continuous operation interruption" is execution, the control will stop when the
operation of the positioning data being executed ends. To execute continuous
operation interruption, set "1: Continuous operation interrupt request" for " Cd.32
Interrupt request during continuous operation.
Start
t
Positioning data No. 10 Positioning data No. 11 Positioning data No. 12
(2) Restrictions
(1) When the "continuous operation interrupt request" is executed, the positioning
will end.
Thus, after stopping, the operation cannot be "restarted".
When " Cd.13 Restart command" is issued, a warning "Restart not possible"
(warning code:104) will occur.
(2) Even if the stop command is turned ON after executing the "continuous
operation interrupt request", the "continuous operation interrupt request"
cannot be canceled.
Thus, if "restart" is executed after stopping by turning the stop command ON,
the operation will stop when the positioning data No. where "continuous
operation interrupt request" was executed is completed.
Axis 1
Continuous operation
interrupt request
Axis 2
Positioning with positioning data No. 10
6 - 31
6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL
MELSEC-A
Start
t
Positioninig data No. 10 Positioning data No. 11 Positioning data No. 12
6 - 32
6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL
MELSEC-A
When a stop factor occurs during position control and the operation stops, the
positioning can be restarted from the stopped position to the position control end point
by using the "restart command" ( Cd.13 Restart command).
("Restarting" is not possible when "continuous operation is interrupted.")
(2) Restrictions
(1) Restarting can be executed only when the " Md.35 Axis operation status" is
"stopped".
If the axis operation is not "stopped", restarting is not possible.
(2) Do not execute restart while the stop command is ON.
If restart is executed while stopped, an error "Stop signal ON at start" (error
code:106) will occur, and the " Md.35 Axis operation status" will change to
"error occurring".
Thus, even if the error is reset, the operation cannot be restarted.
(3) Restarting can be executed even while the positioning start signal is ON.
However, make sure that the positioning start signal does not change from
OFF to ON while stopped.
If the positioning start signal changes from OFF to ON, positioning will start
from the positioning data No. of designated point's positioning data No. set in
" Cd.11 Positioning start No.".
(4) If positioning is ended with the continuous operation interrupt request, the
operation cannot be restarted.
If restart is requested, a warning "Restart not possible" (warning code:104) will
occur.
(5) When stopped with interpolation operation, write "1: restarts" into " Cd.13
Restart command" for the reference axis, and then restart.
(6) If the " Md.35 Axis operation status" is not "stopped" when restarting, a
multiple start warning will occur, and the process at that time will be continued.
REMARK
Restarting after stopping is possible even for the following control.
• Incremental type position control • Continuous positioning control
• Continuous path control • Block start
6 - 33
6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL
MELSEC-A
* Refer to section "5.7 List of control data" for details on the setting details.
6 - 34
6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL
MELSEC-A
V Dwell time
6 - 35
6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL
MELSEC-A
The axis stop signal [Y13, Y14, Y1C] or a stop signal from an external source is used
to stop the control. Create a program to turn the axis stop signal [Y13, Y14, Y1C] ON
as the stop program.
The process for stopping control is explained below.
Each control is stopped in the following cases.
(a) When each control is completed normally.
(b) When Servo alarm ( Md.116 Servo status: b13) turns ON.
(c) When the PLC READY signal is turned OFF.
(d) When an error occurs.
(e) When control is intentionally stopped. (Stop signal from PLC CPU turned ON, stop
from peripheral device, etc.)
The stop process for the above cases is shown below. (Excluding (a) when the
operation stops normally.)
6 - 36
6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL
MELSEC-A
REMARK
*1 "Deceleration stop" and "sudden stop" are selected with the details parameter
"stop group 1 to 3 sudden stop selection". (The default setting is "deceleration
stop".)
6 - 37
6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL
MELSEC-A
(1) During deceleration (including automatic deceleration), the operation will stop
at that deceleration speed even if the decelerations to command turns ON
(stop signal turns ON) or a deceleration stop cause occurs.
(2) If the stop signal designated for sudden stop turns ON or a stop cause occurs
during deceleration, the sudden stop process will start from that point.
However, if the sudden stop deceleration time is longer than the deceleration
time, the deceleration stop process will be continued even if a sudden stop
cause occurs during the deceleration stop process.
Example
The process when a sudden stop cause occurs during deceleration stop is shown below.
Sudden Sudden
stop cause stop cause
Stop Stop
Sudden stop deceleration process Deceleration stop process continues Process for sudden stop
6 - 38
Chapter 7
The AD75 memory configuration and data transmission are explained in this chapter.
7-1
7 MEMORY CONFIGURATION AND DATA PROCESS
MELSEC-A
Backup
Memory
Parameter area
(No.101 to 600)
area (No.7000)
(No.1 to 100)
Area that can be directly accessed Not
• Buffer memory with sequence program from PLC – – pos-
CPU. sible
Not
• OS memory Area used by system. – – – – pos-
sible
: Setting and storage area provided, Not possible: Data is lost when power is turned OFF
– : Setting and storage area not provided, Possible: Data is held even when power is turned OFF
7-2
7 MEMORY CONFIGURATION AND DATA PROCESS
MELSEC-A
Details of areas
• Parameter area
Area where the parameters, such as the positioning parameters, zero point return
parameters and servo parameters, required for positioning control are set and
stored.
(Set the items indicated with Pr.1 to Pr.59 , Pr.100 to Pr.138 , Pr.149 and
Pr.150 for each axis.)
* When using a peripheral device, the "positioning data No. 101 to 600" is set
with the same method as "positioning data No. 1 to 100".
7-3
7 MEMORY CONFIGURATION AND DATA PROCESS
MELSEC-A
Buffer memory
Flash ROM OS memory
Parameter area
AD75
7-4
7 MEMORY CONFIGURATION AND DATA PROCESS
MELSEC-A
Indirectly specification
4500 to 4549 4750 to 4799 5000 to 5049
data area
PLC CPU memo area PLC CPU memo area 5050 to 5099 Possible
5100 to 5103
Block transmission area Block transmission area Possible
5110 to 6109
* Use of address Nos. skipped above is prohibited. If used, the system may not operate correctly.
(For details of the buffer memory address, refer to Appendix 7.)
7-5
7 MEMORY CONFIGURATION AND DATA PROCESS
MELSEC-A
The data is transmitted between the AD75 memories with steps (1) to (11) shown
below.
• The data transmission patterns numbered (1) to (11) on the right page correspond
to the numbers (1) to (11) on the left page.
PLC CPU
AD75
Buffer memory Parameter area (a)
Pr.1 to Pr.4
Parameter area (a)
Pr.10 to Pr.25
Parameter area (b) Pr.45 to Pr.59
(3) TO command
Flash ROM ROM OS memory
Peripheral device
7-6
7 MEMORY CONFIGURATION AND DATA PROCESS
MELSEC-A
(2) Transmitting data when PLC READY signal [Y1D] changes from
OFF to ON ( )
When the PLC READY signal [Y1D] changes from OFF to ON, the data stored in
the buffer memory's "parameter area (a) *1" is transmitted to the OS memory.
*1 Parameter area (a) ....... Parameters transmitted to OS memory when PLC
READY signal [Y1D] changes from OFF to ON
( Pr.1 to Pr.4 , Pr.10 to Pr.25 , Pr.45 to
Pr.59 , Pr.100 to Pr.138 , Pr.149 , Pr.150 )
POINT
The setting values of the parameters that correspond to parameter area (b) are
valid when written into the buffer memory with the TO command. However, the
setting values of the parameters that correspond to parameter area (a) are not
validated until the PLC READY signal [Y1D] changes from OFF to ON.
7-7
7 MEMORY CONFIGURATION AND DATA PROCESS
MELSEC-A
PLC CPU
AD75
Buffer memory Parameter area (a)
Pr.1 to Pr.4
Parameter area (a) Pr.10 to Pr.25
Parameter area (b) Pr.45 to Pr.59
Positioning data area (6) Block transmission request Positioning data area
(No.1 to100) (No.1 to100)
Positioning start information Positioning start information
area (No.7000) area (No.7000)
Peripheral device
7-8
7 MEMORY CONFIGURATION AND DATA PROCESS
MELSEC-A
POINT
The following two types of parameters are stored in the buffer memory.
• Parameters transmitted to the OS memory when the PLC READY signal [Y1D]
changes from OFF to ON
• Parameters transmitted simultaneously to the OS memory when written into the
buffer memory with the TO command
With type 1) of the flash ROM write, the "parameters and data set in the buffer
memory" (including parameters not transmitted to the OS memory) are written into
the flash ROM.
IMPORTANT
Do not turn the power OFF or reset the PLC CPU while writing to the flash ROM. If
the power is turned OFF or the PLC CPU is reset to forcibly end the process, the
data backed up in the flash ROM will be lost.
7-9
7 MEMORY CONFIGURATION AND DATA PROCESS
MELSEC-A
PLC CPU
AD75
Buffer memory Parameter area (a)
Pr.1 to Pr.4
Parameter area (a) Pr.10 to Pr.25
Parameter area (b) Pr.45 to Pr.59
Positioning data area Pr.100 to Pr.139
(No.1 to 100) Pr.149 , Pr.150
Positioning start information area Parameter area (b)
(No.7000)
Pr.7 to Pr.9
Monitor data area Pr.26 to Pr.44
Control data area
Peripheral device
7 - 10
7 MEMORY CONFIGURATION AND DATA PROCESS
MELSEC-A
At this time, when [Flash ROM Write] is set with the peripheral device, the
transmission processes indicated with the following are carried out.
• (7) Flash ROM write 1
• (7) Flash ROM write 2
7 - 11
7 MEMORY CONFIGURATION AND DATA PROCESS
MELSEC-A
AD75
Servo parameters
Pr.100 to Pr.138 , Pr.149
Parameter
area
7 - 12
7 MEMORY CONFIGURATION AND DATA PROCESS
MELSEC-A
(Conditions)
• The AD75 and servo amplifier has been powered on and started.
• The servo basic parameter "motor capacity" in the AD75 OS memory is other than "0".
(Communication is continued if the servo basic parameter "motor capacity" of the OS memory is set to "0"
after establishment of communication.)
At power-on or PLC CPU reset, the data stored (backed up) in the flash ROM are transferred to the OS
memory. (Refer to section 7.2 (1).)
Therefore, when the servo basic parameter "motor capacity" stored in the flash ROM is not "0" and the servo
amplifier has started earlier than the AD75, communication with the servo amplifier starts before the PLC
CPU starts RUN, so the servo parameters transferred to the servo amplifier are the data stored in the flash
ROM.
[How to transfer the servo parameters, which were set from the sequence program, to the
servo amplifier]
(Method 1)
Set the value of the servo basic parameter "motor capacity" stored in the flash ROM to "0". (The factory
setting is 0.)
This turns the servo basic parameter "motor capacity" in the flash ROM to "0" at power-on or PLC CPU
reset, disabling communication from starting since the communication starting condition does not hold.
When the servo parameters ("motor capacity" is not "0") are set from the sequence program and the PLC
READY signal [Y1D] is turned from OFF to ON, the servo parameters in the buffer memory are transferred to
the OS memory, and communication starts since the communication start conditions have held.
Therefore, the servo parameters transferred to the servo amplifier are the values set from the sequence
program.
(Method 2)
Turn the PLC READY signal [Y1D] from OFF to ON using the sequence program. When the AD75 READY
signal [X0] then turns from ON to OFF, power on the servo amplifier.
When the AD75 READY signal [X0] turns OFF, the servo parameters set from the sequence program are
reflected on the OS memory.
Therefore, the servo parameters transferred to the servo amplifier are the values set from the sequence
program.
[How to transfer the servo parameters, which were written to the flash ROM, to the servo
amplifier]
Set the servo parameters to the buffer memory and write them to the flash ROM. After that, switch power on
again or reset the PLC CPU.
After the servo parameters to be transferred to the servo amplifier have been written to the flash ROM, the
setting of the servo parameters from the sequence program is not necessary.
7 - 13
7 MEMORY CONFIGURATION AND DATA PROCESS
MELSEC-A
*1 *2
Servo parameters
Undefined Values in flash ROM Values written with sequence program
in OS memory
(Operation)
(1) Servo parameter transfer made when the AD75 is powered on with the servo amplifier started up
(a) The servo basic parameter "motor capacity" in the flash ROM is not "0"
Timing of starting communication with servo amplifier : At completion of AD75 initialization processing
( in the above chart)
Transferred servo parameters : Data stored (saved) in the flash ROM
(b) The servo basic parameter "motor capacity" in the flash ROM is "0"
Timing of starting communication with servo amplifier : When the PLC READY signal [Y1D] turns from
OFF to ON ( in the above chart)
Transferred servo parameters : Data written from the sequence program
before the PLC READY signal [Y1D] turns ON
(data written in in the above chart)
(2) Servo parameter transfer made when the servo amplifier starts up after the PLC READY signal [Y1D] has
turned from OFF to ON ( in the above chart)
Timing of starting communication with servo amplifier : At startup of the servo amplifier
Transferred servo parameters : Data written from the sequence program
before the PLC READY signal [Y1D] turns ON
(data written in in the above chart)
*1: The servo parameters stored in the flash ROM are transferred to the buffer memory and OS memory by
the AD75 initialization processing performed at power-on.
*2: The servo parameters written to the buffer memory using the sequence program are not reflected on the
OS memory.
When the PLC READY signal (Y1D) turns from OFF to ON, the values set in the buffer memory are
transferred to the OS memory.
*3: Communication with the servo amplifier is not made until the AD75 initialization processing is completed
after power-on.
Communication is started when the communication starting conditions hold after completion of the AD75
initialization processing.
*4: When the servo parameters to be transferred to the servo amplifier have been written to the flash ROM in
advance, setting from the sequence program is not necessary.
7 - 14
7 MEMORY CONFIGURATION AND DATA PROCESS
MELSEC-A
The data transmission is carried out as shown in the previous pages, but the main
method of using this data process is shown below.
Write data correct with peripheral device into OS memory Pr.44 Pr.7
[Transmission process (10)] Pr.26 Pr.10
Complete
• • • User work
• • • AD75 state
7 - 15
7 MEMORY CONFIGURATION AND DATA PROCESS
MELSEC-A
Write positioning data into buffer Write required positioning data into buffer memory's block
memory using TO command transmission area [5110 to 6109] using TO command.
Set the data following the [Transmission process (3)] [Transmission process (6)]
peripheral device menu
Write following items into buffer memory's block
*
transmission area [5100 to 5103] using TO command:
* Axis that sets positioning data
* Head No. of positioning data to be set
* Size of positioning data to be set
(Up to 100 items can be set at once)
* Setting of write/read
[Transmission process (6)]
Write the data set with the peripheral The positioning data set in the block transmission
device into the OS memory area [5110 to 6109] is written into the OS memory.
Complete
• • • User work
• • • AD75 state
7 - 16
7 MEMORY CONFIGURATION AND DATA PROCESS
MELSEC-A
(Example) When setting the positioning data No. 101 to 300 of axis 1 to the OS
memory
(The number of data that can be set for block transmission at one time is up to 100
pieces.)
Start
6092 6102
Da.9 5111 5121 5131
M code 6093 6103
Set as follows. 5122 5132
Da.8 Dwell time 5112 6104
[Read/write request: Write request] 6094
6105
5113 5123 5133 6095
Not used
Set "2" to the buffer
memory address 5103. Da.7 5114 5124 5134 6096 6106
5115 5125 5135 6097 6107
Command speed
End
7 - 17
7 MEMORY CONFIGURATION AND DATA PROCESS
MELSEC-A
MEMO
7 - 18
SECTION 2
The required settings in each control include parameter setting, positioning data setting,
control data setting by a sequence program, etc.
Carry out these settings while referring to "Chapter 5 DATA USED FOR POSITIONING
CONTROL".
Also refer to "Chapter 6 SEQUENCE PROGRAM USED IN POSITIONING CONTROL"
when creating the sequence programs required in each control, and consider the entire
control programconfiguration when creating each program.
The details and usage of "zero point return control" are explained in this chapter.
Zero point return control includes "machine zero point returns" that establish a machine
zero point without using address data, and "high-speed zero point returns" that store
the coordinates established by the machine zero point return, and carry out positioning
to that position.
Zero point returns carried out by sequence programs from the PLC CPU are explained
in this chapter.
Refer to the AD75 Software Package Operating Manual for details on zero point returns
using the AD75 software package.
8-1
8 ZERO POINT RETURN CONTROL
MELSEC-A
In "zero point return control" a position is established as the starting point (or "zero
point") when carrying out positioning control, and positioning is carried out toward that
starting point.
It is used to return a machine system at any position other than the zero point to the
zero point, such as, when the AD75 issues a "zero point return request"*, after a
positioning stop, etc.
In the AD75, the two types of controls shown below are defined as "zero point return
control", following the flow of the zero point return work.
These two types of zero point return control can be executed by setting the "zero point
return parameters", setting "Positioning start No. 9001" and "Positioning start No.
9002" prepared beforehand in the AD75 to " Cd.11 Positioning start No.", and turning
ON the positioning start signal.
* The "machine zero point return" in (1) above must always be carried out before
executing the "high-speed zero point return" in (2).
When an absolute position detection system is used, however, performing a zero
point return once at the installation of a machine eliminates the need for a "machine
zero point return" in (1) after that.
REMARK
Zero point return request *
The "zero point return request flag" ( Md.40 Status: b3) must be turned ON in the
AD75, and a machine point return must be executed in the following cases.
• At the ON OFF of the servo ON signal ( Md.116 Servo status: b1)
• At the OFF ON of the PLC READY signal [Y1D]
The address information stored in the AD75 cannot be guaranteed while the "zero
point return request flag" is ON.
The "zero point return request flag" turns OFF and the "zero point return complete
flag" ( Md.40 Status: b4) turns ON if the machine zero point return is executed and
is completed normally.
In the absolute position detection system, ignore the zero point return request flag.
8-2
8 ZERO POINT RETURN CONTROL
MELSEC-A
[Remarks]
The following two auxiliary functions are only related to machine zero point
returns.
Machine zero point High-speed zero
Auxiliary function name Reference
return point return
Zero point return retry function Section 12.2.1
Zero point shift function Section 12.2.2
: Combination possible, : Restricted, : Combination not possible
8-3
8 ZERO POINT RETURN CONTROL
MELSEC-A
Important
Use the zero point return retry function when the zero point position is not always in
the same direction from the workpiece operation area (when the zero point is not
set near the upper or lower limit of the machine).
* The machine zero point return may not complete unless the zero point return retry
function is used.
* The " Pr.47 Zero point address" is a fixed value set by the user, but the
" Md.43 Zero point absolute position" is constantly changed by the AD75 to
indicate the "zero point", even if there is a change in the address information.
M
Zero point
Machine zero point return
Near-point dog
8-4
8 ZERO POINT RETURN CONTROL
MELSEC-A
8-5
8 ZERO POINT RETURN CONTROL
MELSEC-A
REMARK
Creep speed
The stopping accuracy is poor when the machine suddenly stops from high
speeds. To improve the machine's stopping accuracy, its must change over to a
low speed before stopping. This speed is set in the " Pr.49 Creep speed".
8-6
8 ZERO POINT RETURN CONTROL
MELSEC-A
The following shows an operation outline of the "near-point dog method" zero point
return method.
Operation chart
The machine zero point return is started.
(The machine begins the acceleration designated in " Pr.53 Zero point return acceleration time selection", in the
1)
direction designated in " Pr.46 Zero point return direction". It then moves at the " Pr.48 Zero point return speed" when
the acceleration is completed.)
2) The machine begins decelerating when the near-point dog ON is detected.
3) The machine decelerates to the " Pr.49 Creep speed", and subsequently moves at that speed.
At detection of the near-point dog OFF, the machine decelerates to a stop. The machine accelerates to " Pr.49 Creep
4)
speed" again and stops at the first zero point.
The zero point return complete flag ( Md.40 Status: b4) turns from OFF to ON, and the zero point return request flag
5)
( Md.40 Status: b3) turns from ON to OFF.
1) 2) 3) 4) 5) t
Md.44 Movement amount after near-point dog ON *
1
ON
Near-point dog OFF
Zero point
ON
Machine zero point return start OFF
(Positioning start signal)
ON
Zero point return request flag OFF
[ Md.40 Status : b3]
ON
8-7
8 ZERO POINT RETURN CONTROL
MELSEC-A
Restrictions
The system where the zero point can always be passed between a machine zero
point return start and the near-point dog ON to OFF, is required.
V
Pr. 48 Zero point return speed
t
ON
Near-point OFF
dog
Zero point
ON
Fig. 8.3 Operation performed when the zero point is not passed in the near-point dog method
(5) If the restart command is turned ON after machine zero point return is stopped
upon a stop signal, an error “zero point return restart not possible” (error code:
209) occurs.
8-8
8 ZERO POINT RETURN CONTROL
MELSEC-A
When the zero point is passed between a machine zero point return start and
deceleration to a stop by the near-point dog ON to OFF, the operation outline of the
zero point return method "near-point dog method 2)" is the same as that of the zero
point return method (1) "near-point dog method". (Refer to section 8.2.3.) The following
shows the operation outline of the case where the zero point is not passed.
Operation chart
The machine zero point return is started.
1) (The machine starts acceleration designated in " Pr.53 Zero point return acceleration time selection" in the direction
designated in " Pr.46 Zero point return direction", and moves at " Pr.48 Zero point return speed".)
At detection of the near-point dog ON, the machine decelerates to " Pr.49 Creep speed", and then moves at the creep
2)
speed.
3) At detection of the near-point dog ON, the machine decelerates to a stop.
After stopping, the machine moves by the amount of one servomotor revolution at " Pr.48 Zero point return speed" in the
4)
direction opposite to the designated zero point return direction.
The machine moves at " Pr.48 Zero point return speed" in the designated zero point return direction, and completes the
5) machine zero point return in the position of the first zero point after near-point dog ON to OFF. (At this time, the machine
does not decelerate to " Pr.49 Creep speed" when the near-point dog turns from OFF to ON.)
Speed
3)
Zero point return direction
4)
ON
Near-point dog OFF
Zero point
Zero point not passed
Fig. 8.4 Operation performed when the zero point is not passed in the near-point dog method 2)
8-9
8 ZERO POINT RETURN CONTROL
MELSEC-A
Restrictions
• The system where the machine can move by the movement amount of more
than one servomotor revolution is required.
• The system where the upper/lower limit stroke limit signal does not turn OFF
when the servomotor rotates one turn in the opposite direction following a stop
made when the designated condition holds after the near-point dog has turned
ON, is required.
8 - 10
8 ZERO POINT RETURN CONTROL
MELSEC-A
The following shows the outline of the zero point return method "count method 1)".
Operation chart
The machine zero point return is started.
1) (The machine starts acceleration designated in " Pr.53 Zero point return acceleration time selection" in the direction
designated in " Pr.46 Zero point return direction", and moves at " Pr.48 Zero point return speed".)
3) The machine decelerates to " Pr.49 Creep speed", and then moves at the creep speed.
The machine decelerates to a stop as soon as it moves the movement amount set to " Pr.52 Setting for the movement
4) amount after near-point dog ON" after the near-point dog has turned ON. The machine accelerates to " Pr.49 Creep
speed" again, and stops at the first zero point.
The zero point return complete flag ( Md.40 Status: b4) turns from OFF to ON, and the zero point return request flag
5)
( Md.40 Status: b3) turns from ON to OFF.
V Pr.48 Zero point return Pr.52 Setting for the movement amount
speed after near-point dog ON
Pr.49 Creep speed
t
1) 2) 3) 4) 5)
Md.44 Movement amount after near-point dog ON *1
Zero point
One servomotor revolution
ON
8 - 11
8 ZERO POINT RETURN CONTROL
MELSEC-A
Near-point dog
Zero point
Fig. 8.6 Count method 1) machine zero point return with near-point dog ON
(3) Turn OFF the near-point dog sufficiently away from the zero point position.
If the near-point dog is turned OFF during a machine zero point return, there is
no harm in operation. For the following reason, however, it is recommended to
turn OFF the near-point dog sufficiently away from the zero point position.
Reason: If a machine zero point return is made continuously after the near-
point dog is turned OFF at completion of a machine zero point return,
the machine operates at the zero point return speed until it reaches
the hardware stroke limit (upper/lower limit).
8 - 12
8 ZERO POINT RETURN CONTROL
MELSEC-A
(4) If the zero point has never been passed from a machine zero point return start
until the machine moves the movement amount set to " Pr.52 Setting for the
movement amount after near-point dog ON" after the near-point dog ON, an
error "zero point not pass at zero point return" (error code: 210) occurs and the
machine decelerates to a stop.
In the system where the distance between the machine zero point return
starting position and zero point is too short to detect the zero point, select the
zero point return method (5): "count method 3)".
V
Pr.48 Zero point
return speed Pr.52 Setting for the movement amount
after near-point dog ON
t
ON
Near-point dog OFF
Zero point
ON
Machine zero point return start OFF
(Positioning start signal)
ON
Fig. 8.7 Operation performed when the zero point is not passed in the count method 1)
(5) If the restart command is turned ON after the machine zero point return is
stopped by the stop signal, an error "zero point return restart not possible"
(error code: 209) occurs.
REMARK
• In the "count method 1)" zero point return method, a machine zero point return
can be made while the near-point dog is ON.
• In the "count method 1)" zero point return method, a continuous start can be
made after completion of a machine zero point return.
8 - 13
8 ZERO POINT RETURN CONTROL
MELSEC-A
The following shows the operation outline of the zero point return method "count
method 2)".
Operation chart
The machine zero point return is started.
1) (The machine starts acceleration designated in " Pr.53 Zero point return acceleration time selection" in the direction
designated in " Pr.46 Zero point return direction", and moves at " Pr.48 Zero point return speed".)
2) At detection of the near-point dog ON, the machine starts deceleration.
3) The machine decelerates to " Pr.49 Creep speed", and then moves at the creep speed.
The machine stops as soon as it moves the movement amount set to " Pr.52 Setting for the movement amount after
4)
near-point dog ON" after the near-point dog has turned ON, completing the machine zero point return.
t
1) 2) 3) 4)
Md.44 Movement amount after near-point dog ON *1
ON
8 - 14
8 ZERO POINT RETURN CONTROL
MELSEC-A
Restrictions
Since there is a variation of about 1ms in import of near-point dog ON, the
stopping position (zero point) will vary as compared with the other zero point return
methods.
Fig. 8.9 Count method 2) machine zero point return with near-point dog ON
(3) Turn OFF the near-point dog sufficiently away from the zero point position.
If the near-point dog is turned OFF during a machine zero point return, there is
no harm in operation. For the following reason, however, it is recommended to
turn OFF the near-point dog sufficiently away from the zero point position.
Reason: If a machine zero point return is made continuously after the near-
point dog is turned OFF at completion of a machine zero point return,
the machine operates at the zero point return speed until it reaches
the hardware stroke limit (upper/lower limit).
(4) If the restart command is turned ON after the machine zero point return is
stopped by the stop signal, an error "zero point return restart not possible"
(error code: 209) occurs.
8 - 15
8 ZERO POINT RETURN CONTROL
MELSEC-A
When the zero point is passed from a machine zero point return start until the machine
moves the movement amount set to " Pr.52 Setting for the movement amount after
near-point dog ON", the operation outline of the zero point return method "count
method 3)" is the same as that of the zero point return method (1) "count method 1)".
(Refer to section 8.2.5.)
The following shows the operation outline of the case where the zero point is not
passed from a machine zero point return start until the machine moves the movement
amount set to " Pr.52 Setting for the movement amount after near-point dog ON".
Operation chart
The machine zero point return is started.
1) (The machine starts acceleration designated in " Pr.53 Zero point return acceleration time selection" in the direction
designated in " Pr.46 Zero point return direction", and moves at " Pr.48 Zero point return speed".)
At detection of the near-point dog ON, the machine decelerates to " Pr.49 Creep speed", and then moves at the creep
2)
speed.
The machine decelerates to a stop in the position where the movement amount set to " Pr.52 Setting for the movement
3)
amount after near-point dog ON" is reached.
After stopping, the machine moves by the amount of one servomotor revolution at " Pr.48 Zero point return speed" in the
4)
direction opposite to the designated zero point return direction.
The machine moves at " Pr.48 Zero point return speed" in the designated zero point return direction, and completes the
machine zero point return in the position of the first zero point following the movement of the movement amount set to
5) " Pr.52 Setting for the movement amount after near-point dog ON" after near-point dog ON.
(At this time, the machine does not decelerate to " Pr.49 Creep speed" when the near-point dog turns from OFF to ON.)
3)
Zero point return
direction
4)
Zero point
Zero point not passed
Fig. 8.10 Operation performed when the zero point is not passed in the count method 3)
8 - 16
8 ZERO POINT RETURN CONTROL
MELSEC-A
Restrictions
• The system where the machine can move by the movement amount of more
than one servomotor revolution is required.
• The system should satisfy the condition that the upper/lower limit stroke limit
signal does not turn OFF when the servomotor rotates one turn in the opposite
direction following a stop made when the machine has moved the movement
amount set to " Pr.52 Setting for the movement amount after near-point dog
ON" after the near-point dog has turned ON.
(1) If " Pr.52 Setting for the movement amount after near-point dog ON" is less
than the distance of deceleration from " Pr.48 Zero point return speed" to
" Pr.49 Creep speed", an error "count method movement amount fault" (error
code: 206) occurs, disabling a start.
The machine decelerates to a stop if an error occurs due to a speed change
made midway during operation.
(2) The operation performed when a machine zero point return is stared while the
near-point dog is ON is the same as in the "count method 1)".
(3) Turn OFF the near-point dog sufficiently away from the zero point position.
If the near-point dog is turned OFF during a machine zero point return, there is
no harm in operation. For the following reason, however, it is recommended to
turn OFF the near-point dog sufficiently away from the zero point position.
Reason: If a machine zero point return is made continuously after the near-
point dog is turned OFF at completion of a machine zero point return,
the machine operates at the zero point return speed until it reaches
the hardware stroke limit (upper/lower limit).
(4) When the zero point is not passed from a machine zero point return start until
the machine moves the movement amount set to " Pr.52 Setting for the
movement amount after near-point dog ON", do not touch the servomotor and
positioning system until the machine zero point return is completed.
(When the servomotor rotates one turn in the opposite direction, the AD75
waits until the in-position signal and zero speed signal of the servo amplifier
turn ON. If the servomotor or positioning system is touched in the status where
the stop position has not yet been reached, the in-position signal and zero
speed signal may turn ON due to the motor side load, rotating the servomotor
suddenly in the opposite direction and positioning the machine to the zero
point.)
(5) If the restart command is turned ON after the machine zero point return is
stopped by the stop signal, an error "zero point return restart not possible"
(error code: 209) occurs.
REMARK
• In the "count method 3)" zero point return method, a machine zero point return
can be made while the near-point dog is ON.
• In the "count method 3)" zero point return method, a continuous start can be
made after completion of a machine zero point return.
8 - 17
8 ZERO POINT RETURN CONTROL
MELSEC-A
The data setting method machine zero point return is a method in which the position
reached by manual operation (JOG operation/manual pulse generator operation) is
defined as the zero point in an absolute position detection system. (The axis is not
moved in the data setting method machine zero point return.) When the data setting
method machine zero point return is executed, the current position (position reached
by manual operation) in the absolute position detection system is registered as the
zero point, and " Pr.47 Zero point address" is stored into " Md.29 Current feed value"
and " Md.30 Machine feed value".
Operation chart
In the absolute position detection system, move the machine to the position desired to be registered as the
1)
zero point by manual operation (JOG operation/manual pulse generator operation).
2) Start the machine zero point return (turns ON the positioning start signal).
The absolute position of the servomotor at execution of the machine zero point return is stored as the zero
3)
point.
" Pr.47 Zero point address" is stored into " Md.29 Current feed value" and " Md.30 Machine feed
4)
value".
Precautions
(1) The data setting method machine zero point return performed in a system that
is not an absolute position detection system has the same functions as a
current value change.
(2) Among the zero point return parameters, only the zero point address is used in
the data setting method.
Set any values within the setting ranges to the zero point return parameters
other than the zero point address.
(3) Prior to the data setting method machine zero point return after power-on,
always rotate the servomotor one or more turns by JOG operation, etc.
If the servomotor is not rotated one or more turns before the data setting
method machine zero point return, an error "zero point not pass at zero point
return" (error code: 210) occurs.
If the error has occurred, make an error reset, rotate the servomotor one or
more turns, and then perform the data setting method machine zero point
return again.
8 - 18
8 ZERO POINT RETURN CONTROL
MELSEC-A
M
Zero point
Positioning to the zero
8 - 19
8 ZERO POINT RETURN CONTROL
MELSEC-A
t1
Positioning operation
Fig. 8.13 Operation timing and processing time of high-speed zero point returns
Operating restrictions
(1) When the zero point return complete flag ( Md.40 Status: b3) is ON, executing
a high-speed zero point return start will result in an error "zero point return
request ON" (error code: 207)".
(2) When the absolute position restoration mode is the "infinite length mode", an
error "outside start number range" (error code: 543) occurs at a high-speed
zero point return start.
8 - 20
8 ZERO POINT RETURN CONTROL
MELSEC-A
Restrictions
Md.43 Zero point absolute position is not modified in following cases.
• Feeding actual value 0 clear when starting fixed dimensions feeding.
(Refer to section 9.2.4 and 9.2.5)
• Feeding actual value 0 clear when controlling speed. (Refer to section 9.2.8)
• Updating feeding actual value when controlling speed. (Refer to section 9.2.8)
The "zero point absolute position overflow/underflow flags" ( Md.40 Status:
b11/b12) must be turned OFF.
Designate the value set in " Pr.8 Acceleration time 0" as the
Da.3 Acceleration time No. 0
acceleration time at start.
Designate the value set in " Pr.9 Deceleration time 0" as the
Da.4 Deceleration time No. 0
deceleration time at deceleration.
Positioning address/ Set " Md.43 Zero point absolute position" in the positioning address.
Da.5
movement amount (Assuming that the " Pr.1 Unit setting" is set to "mm".)
Da.6 Arc address – Setting not required. (Setting value will be ignored.)
Da.7 Command speed 20.00mm/min Set the speed when moving to the positioning address.
Set the time from the positioning stop (position command output stop)
Da.8 Dwell time 500ms
to the output of the positioning complete signal.
Set when carrying out other auxiliary operation commands in
Da.9 M code 0
combination with the No. 1 positioning data
* Refer to section "5.3 List of positioning data" for information on the setting details.
8 - 21
8 ZERO POINT RETURN CONTROL
MELSEC-A
ON
Positioning start signal [Y10] OFF
ON
PLC READY signal [Y1D] OFF
ON
AD75 READY signal [X0] OFF
ON
Start complete signal [X1] OFF
ON
BUSY signal [X4] OFF
Fig. 8.14 Start time chart for positioning to the zero point
8 - 22
8 ZERO POINT RETURN CONTROL
MELSEC-A
8 - 23
8 ZERO POINT RETURN CONTROL
MELSEC-A
Example
*
* Reception program for high-speed machine zero point return commands
*
8 - 24
Chapter 9
The details and usage of the main positioning controls (control functions using the
"positioning data") are explained in this chapter.
The main positioning controls include such controls as "positioning control" in which
positioning is carried out to a designated position using the address information,
"speed control" in which a rotating object is controlled at a constant speed, and
"speed/position changeover control" in which the operation is shifted from "speed control"
to "position control".
9-1
9 MAIN POSITIONING CONTROL
MELSEC-A
"Main positioning controls" are carried out using the "positioning data" stored in the
AD75.
The basic controls such as position control and speed control are executed by setting
the required items in this "positioning data", and then starting that positioning data.
The control method for the "main positioning controls" is set in setting item " Da.2
Control method" of the positioning data.
Control defined as a "main positioning control" carries out the following types of control
according to the " Da.2 Control method" setting.
9-2
9 MAIN POSITIONING CONTROL
MELSEC-A
The following table shows an outline of the "positioning data" configuration and setting
details required to carry out the "main positioning controls".
Setting item Setting details
Set the method by which the continuous positioning data (Ex: positioning data No. 1,
Da.1 Operation pattern
No. 2, No. 3) will be controlled. (Refer to section 9.1.2.)
Da.2 Control method Set the control method defined as a "main positioning control". (Refer to section 9.1.)
Select and set the acceleration time at control start. (Select one of the four values set in
Da.3 Acceleration time No.
Pr.8 , Pr.26 , Pr.27 , and Pr.28 for the acceleration time.)
Positioning data No. 1
Select and set the deceleration time at control stop. (Select one of the four values set in
Da.4 Deceleration time No.
Pr.9 , Pr.29 , Pr.30 , and Pr.31 for the deceleration time.)
Positioning address/
Da.5 Set the target value during position control. (Refer to section 9.1.3.)
movement amount
Da.6 Arc address Set the auxiliary point or center point address during circular interpolation control.
Da.7 Command speed Set the speed during the control execution.
Set the time the machine waits from the completion of the executed positioning control
Da.8 Dwell time and the stopping of the workpiece until the judgment of the AD75 positioning
completion.
Set this item when carrying out auxiliary work (clamp and drill stops, tool replacement,
Da.9 M code
etc.) corresponding to the code No. related to the positioning data execution.
* The settings and setting requirement for the setting details of Da.1 to Da.9 differ according to the
" Da.2 Control method". (Refer to section "9.2 Setting the positioning data".)
REMARK
• Up to 600 positioning data items (positioning data No.1 to 600) can be set per axis.
9-3
9 MAIN POSITIONING CONTROL
MELSEC-A
The following shows examples of operation patterns when "1-axis linear control (ABS
linear 1)" is set in positioning data No. 1 to No. 6 of axis 1. Details of each operation
pattern are shown on the following pages.
< Operation example when "1-axis linear positioning" is set in the positioning data of axis 1 >
(Setting details)
No.1 Start
Positioning data No.1 Positioning to address [A] at command speed [a] Operation pattern = 11: Continuous path control
No.2 Positioning to address [B] at command speed [b] Operation pattern = 11: Continuous path control
No.3 Positioning to address [C] at command speed [a] Operation pattern = 01: Continuous positioning control
No.4 Positioning to address [D] at command speed [b] Operation pattern = 01: Continuous positioning control
11 01 00
a The machine stops, and
then continues the next
positioning operation.
Speed is changed Positioning is terminated
without stopping
Time
(One motor is driven, and positioning is carried out to an addresses designated in one direction.)
POINT
When position control of movement amount 0 is executed, the BUSY signal [X4,
X5, X6] also turns ON. However, since the ON time is short, the ON status may not
be detected in the sequence program.
9-4
9 MAIN POSITIONING CONTROL
MELSEC-A
Dwell time
Time
ON
Positioning start signal [Y10, Y11, Y12] OFF
ON
Start complete signal [X1, X2, X3] OFF
ON
BUSY signal [X4, X5, X6] OFF
ON
Positioning complete signal [X7, X8, X9] OFF
9-5
9 MAIN POSITIONING CONTROL
MELSEC-A
(a) The machine always automatically decelerates each time the positioning is
completed. Acceleration is then carried out after the AD75 command speed
reaches 0 to carry out the next positioning data operation. If a dwell time is
designated, the acceleration is carried out after the designated time elapses.
(b) In operation by continuous positioning control (operation pattern "01"), the
next positioning No. is automatically executed. Always set operation pattern
"00" in the last positioning data to terminate the positioning.
If the operation pattern is set to positioning continue ("01" or "11"), the
operation will continue until operation pattern "00" is found.
The operation may be carried out until the max. data item No. 600 if
operation pattern "00" cannot be found because it was not set in the last
positioning data.
Dwell
time
Positioning continue (01)
Positioning continue (01)
Address (+) direction
Time
ON
Positioning start signal [Y10, Y11, Y12] OFF
ON
Start complete signal [X1, X2, X3] OFF
ON
BUSY signal [X4, X5, X6] OFF
ON
Positioning complete signal [X7, X8, X9] OFF
9-6
9 MAIN POSITIONING CONTROL
MELSEC-A
Time
ON
Positioning start signal [Y10, Y11, Y12] OFF
ON
OFF
Start complete signal [X1, X2, X3]
ON
BUSY signal [X4, X5, X6] OFF
ON
Positioning complete signal [X7, X8, X9] OFF
Fig. 9.3 Operation during continuous path control (Standard speed changeover mode)
POINT
Speed fluctuation can be eliminated by setting the mode to the near pass mode.
(Refer to section "12.3.3 Near pass mode function".)
9-7
9 MAIN POSITIONING CONTROL
MELSEC-A
Speed becomes 0
POINT
(1) Only the movement direction of the reference axis is checked during interpolation operations
Thus, automatic deceleration is not carried out if the movement direction does not change in the reference axis.
Because of this, the interpolation axis may suddenly reverse direction.
To avoid this sudden direction reversal in the interpolation axis, set the pass point to continuous positioning control
"01" instead of setting it to continuous positioning control "11".
[Positioning by interpolation] [Reference axis operation] [Interpolation axis operation]
V V
Reference axis t
Positioning data No.1 • • • Continuous path control Positioning data Positioning data Positioning data Positioning data
No.1 No.2 No.1 No.2
(2) Automatic deceleration will not be carried out either the positioning data No. currently being executed or the next
positioning data No. uses circular interpolation control as a control method.
(3) In the continuous path control positioning data, assure a movement distance so that the execution time with that
data is 100 ms or longer, or lower the command speed.
9-8
9 MAIN POSITIONING CONTROL
MELSEC-A
*1 *2
Speed P1 P2 P3 P4 P5 Speed P1 P2 P3 P4 P5
3000 3000
2000 2000
1000 1000
Da. 7 Command speed 1000 3000 -1 -1 -1 Da. 7 Command speed 1000 3000 -1 -1 -1
Md. 36 Current speed 1000 3000 3000 3000 3000 Md. 36 Current speed 1000 3000 3000 3000 3000
POINT
(1) Speed fluctuation can be eliminated by setting the mode to the near pass mode. (Refer to section
"12.3.3 Near pass mode function".)
(2) The AD75 holds the command speed set with the positioning data as the " Da.7 Command speed",
and the latest value of the speed set with the speed change request as the " Md.36 Current speed". It
controls the operation at the " Md.36 current speed" when "-1" is set in the command speed.
(Depending on the relation between the movement amount and the speed, the feedrate may not reach
2
the command speed value, but even then the current speed will be updated.* )
(3) When the address for speed change is identified beforehand, generate and execute the positioning
data for speed change by the continuous path control to carry out the speed change without requesting
the speed change with a sequence program.
9-9
9 MAIN POSITIONING CONTROL
MELSEC-A
Speed
V changeover Dwell time Dwell time
Positioning t
ON
Positioning start signal [Y10, Y11, Y12] OFF
ON
Start complete signal [X1, X2, X3] OFF
ON
BUSY signal [X4, X5, X6] OFF
ON
Positioning complete signal [X7, X8, X9] OFF
9 - 10
9 MAIN POSITIONING CONTROL
MELSEC-A
[When the speed cannot change over in P2] [When the movement amount is small during
When the relation of the speeds is P1 = automatic deceleration]
P4, P2 = P3, P1 < P2. The movement amount required to carry out the
automatic deceleration cannot be secured, so the
machine immediately stops in a speed ≠ 0 status.
P1 P2 P3 P4
Positioning address.
V
Dwell time Dwell time
Positioning t
ON
Positioning start signal [Y10, Y11, Y12] OFF
ON
Start complete signal [X1, X2, X3] OFF
ON
BUSY signal [X4, X5, X6] OFF
ON
Positioning complete signal [X7, X8, X9] OFF
9 - 11
9 MAIN POSITIONING CONTROL
MELSEC-A
[When the speed cannot change over to the [When the movement amount is small during
P2 speed in P1] automatic deceleration]
When the relation of the speeds is P1 = The movement amount required to carry out the
P4, P2 = P3, P1 < P2. automatic deceleration cannot be secured, so the
machine immediately stops in a speed ≠ 0 status.
P1 P2 P3 P4
Positioning address
9 - 12
9 MAIN POSITIONING CONTROL
MELSEC-A
The following shows the two methods for commanding the position in control using
positioning data.
Absolute system
Positioning is carried out to a designated position (absolute address) having the
zero point as a reference. This address is regarded as the positioning address.
(The start point can be anywhere.)
Increment system
The position where the machine is currently stopped is regarded as the start point,
and positioning is carried out for a designated movement amount in a designated
movement direction.
9 - 13
9 MAIN POSITIONING CONTROL
MELSEC-A
The "current feed value" and "machine feed value" are used in monitoring the
current value display, etc.
9 - 14
9 MAIN POSITIONING CONTROL
MELSEC-A
Restrictions
(1) A 56.8ms error will occur in the current value update timing when the stored
"current feed value" and "machine feed value" are used in the control.
(2) The "current feed value" and "machine feed value" may differ from the values
set in " Da.5 Positioning address/movement amount" of the positioning data
if the movement amount per pulse is not set to "1".
(3) When the absolute position restoration mode is the "infinite length mode", the
"machine feed value" cannot be used.
Example
*
* Program in which the axis 1 current feed value is read to D104 and D105
*
* <Read current feed value to D104 and D105>.
9 - 15
9 MAIN POSITIONING CONTROL
MELSEC-A
When the control unit is set to "degree", the following items differ from when other
control units are set.
359.99999° 359.99999°
0° 0° 0°
720°
(2) Positioning control method when the control unit is set to "degree"
Example
1) Positioning is carried out in a clockwise direction when the current value is moved from 315° to 45°.
2) Positioning is carried out in a counterclockwise direction when the current value is moved from 45° to 315°.
POINT
To make the software stroke limit invalid, set to
[Software stroke limit upper limit value = Software stroke limit lower limit value].
9 - 16
9 MAIN POSITIONING CONTROL
MELSEC-A
Example
When the current value is moved from 0° to 315°, positioning is carried out in the clockwise direction
if the software stroke limit lower limit value is 0° and the upper limit value is 345°.
345.00000° 0°
315.00000°
POINT
Positioning addresses are within a range of 0° to 359.99999°.
Use the increment system to carry out positioning of one rotation or more.
POINT
Positioning of 360° or more can be carried out with the increment system.
At this time, set as shown below to invalidate the software stroke limit.
[Software stroke limit upper limit value = Software stroke limit lower limit value]
9 - 17
9 MAIN POSITIONING CONTROL
MELSEC-A
Zero point
To make the software stroke limit valid, set the upper and lower limit values
within the range 0° to 359.99999°.
Zero point
359.99999 359.99999
For details of the mode for absolute position restoration, refer to section "12.6.2
Absolute position restoration mode switching function".
9 - 18
9 MAIN POSITIONING CONTROL
MELSEC-A
*: In case of a 2-axis module, the reference axis is axis 1 and the interpolation axis is axis 2.
Da.6 Arc address (Only during circular interpolation, (Only during circular interpolation,
right arc, and left arc) right arc, and left arc)
Da.7 Command speed –
Da.8 Dwell time –
Da.9 M code –
9 - 19
9 MAIN POSITIONING CONTROL
MELSEC-A
POINT
The speed limit does not function for the speed calculated by the AD75 during
interpolation control. Because of this, observe the following precautions when
setting the speed.
• When the "composite speed" is set, set a value so the speed for each axis does
not exceed the " Pr.7 Speed limit value".
• When the "reference axis speed" is set, set so the major axis side becomes the
reference axis. If the minor axis side is set as the reference axis, the major axis
side speed may exceed the " Pr.7 Speed limit value".
9 - 20
9 MAIN POSITIONING CONTROL
MELSEC-A
9 - 21
9 MAIN POSITIONING CONTROL
MELSEC-A
The setting requirements and details for the setting items of the positioning data to be
set differ according to the " Da.2 Control method".
The following table shows the positioning data setting items corresponding to the
different types of control. Details and settings for the operation of each control are
shown in section 9.2.2 and subsequent sections.
(In this section, it is assumed that the positioning data setting is carried out using the
AD75 software package.)
Main positioning control Position control Other control
1-axis fixed-dimension
2-axis fixed-dimension
interpolation control
1-axis linear control
changeover control
JUMP command
Speed/position
Speed control
2-axis circular
2-axis linear
feed control
feed control
Independent
positioning control
Operation Continuous positioning
Da.1
pattern control
Continuous path
control
Forward
Fixed-
run Forward run
dimension Circular
Speed speed/posi-
Linear 1 feed1 interpolation Current
limited tion JUMP
Da.2 Control method Linear 2 Fixed- Circular right value
Reverse Reverse run command
* dimension Circular left change
run speed/posi-
feed 2 *
Speed tion
*
limited
Da.3 Acceleration time No. – –
Da.4 Deceleration time No. – –
Change
Positioning address/movement
Da.5 – – destination –
amount
address
Da.6 Arc address – – – – – –
Da.7 Command speed – –
JUMP
destination
Da.8 Dwell time –
positioning
data No.
Da.9 M code –
: Always set : Set as required ("–" when not set) : Setting not possible : Setting limited
– : Setting not required (Setting value is invalid. Use the initial values or setting values within a range where no error occurs.)
* : The "ABS (absolute) method" or "INC (incremental) method" can be used for the control method.
REMARK
• It is recommended that the "positioning data" be set whenever possible with the AD75 software package.
Execution by sequence program uses many sequence programs and devices. The execution becomes
complicated, and the scan times will increase.
• A "Block transmission" is required when setting No. 101 and subsequent positioning data using a
sequence program.
9 - 22
9 MAIN POSITIONING CONTROL
MELSEC-A
In "1-axis linear control" (" Da.2 Control method" = ABS linear 1, INC linear 1), one
motor is used to carry out position control in a set axis direction.
Operation chart
In absolute system 1-axis linear control, addresses established by a machine zero
point return are used. Positioning is carried out from the current stop position (start
point address) to the address (end point address) set in " Da.5 Positioning
address/movement amount".
Example
When the start point address (current stop position) is 1000, and the end point address (positioning address) is 8000,
positioning is carried out in the positive direction for a movement amount of 7000 (8000-1000)
0 1000 8000
Acceleration time Designate the value set in " Pr.26 Acceleration time 1" as the
Da.3 1
No. acceleration time at start.
Deceleration time Designate the value set in " Pr.9 Deceleration time 0" as the
Da.4 0
No. deceleration time at deceleration.
Positioning address/ Set the positioning address. (Assuming "mm" is set in " Pr.1 Unit
Da.5
movement amount 8 0 0 0 . 0 µm
setting".)
Da.6 Arc address – Setting not required (setting value will be ignored).
Da.7 Command speed 6000.00mm/min Set the speed during movement to the positioning address.
Set the time the machine dwells after the positioning stop (position
Da.8 Dwell time 500ms
command output stop) to the output of the positioning complete signal.
Set this when other auxiliary operation commands are issued in
Da.9 M code 10
combination with the No. 1 positioning data.
* Refer to section "5.3 List of positioning data" for information on the setting details.
9 - 23
9 MAIN POSITIONING CONTROL
MELSEC-A
Operation chart
In increment system 1-axis linear control, addresses established by a machine
zero point return are used. Positioning is carried out from the current stop position
(start point address) to a position at the end of the movement amount set in
" Da.5 Positioning address/movement amount". The movement direction is
determined by the sign of the movement amount.
Example
When the start point address is 5000, and the movement amount is -7000, positioning is carried out to
the -2000 position.
Acceleration time Designate the value set in " Pr.26 Acceleration time 1" as the
Da.3 1
No. acceleration time at start.
Deceleration time Designate the value set in " Pr.9 Deceleration time 0" as the
Da.4 0
No. deceleration time at deceleration.
Positioning address/ Set the movement amount. (Assuming "mm" is set in " Pr.1 Unit
Da.5 – 7 0 0 0 . 0 µm
movement amount setting".)
Da.6 Arc address – Setting not required (setting value will be ignored).
Da.7 Command speed 6000.00mm/min Set the speed during movement.
Set the time the machine dwells after the positioning stop (position
Da.8 Dwell time 500ms
command output stop) to the output of the positioning complete signal.
Set this when other auxiliary operation commands are issued in
Da.9 M code 10
combination with the No. 1 positioning data.
* Refer to section "5.3 List of positioning data" for information on the setting details.
9 - 24
9 MAIN POSITIONING CONTROL
MELSEC-A
In "2-axis linear interpolation control" (" Da.2 Control method" = ABS linear 2, INC
linear 2), two motors are used to carry out position control in a linear path while
carrying out interpolation for the axis directions set in each axis.
(Refer to section "9.1.6 Interpolation control" for details on interpolation control.)
Operation chart
In absolute system 2-axis linear control, addresses established by a machine zero
point return on a 2-axis coordinate plane are used. Linear interpolation positioning
is carried out from the current stop position (start point address) to the address
(end point address) set in " Da.5 Positioning address/movement amount".
Y axis movement
amount Movement by linear interpolation of the X axis and Y axis
Y1
Reverse direction
Example
When the start point address (current stop position) is (1000, 4000) and the end point address
(positioning address) is (10000, 1000), positioning is carried out as follows.
Axis 2
Axis 1
0 5000 10000
9 - 25
9 MAIN POSITIONING CONTROL
MELSEC-A
Restrictions
An error will occur and the positioning will not start in the following cases. The
machine will immediately stop if the error is detected during a positioning control.
• If the movement amount of each axis exceeds "1073741824 (=230)" at the
setting of "0: Composite speed" in " Pr.21 Interpolation speed designation
method".
An error "outside linear movement amount range" (error code: 504) will occur
at the positioning start.
(The maximum movement amount that can be set in " Da.5 Positioning
30
address/movement amount" is "1073741824 (=2 )"
Da.3 1 –
No. the acceleration time at start.
Deceleration time Designate the value set in " Pr.9 Deceleration time 0" as
Da.4 0 –
No. the deceleration time at deceleration.
Positioning address/ Set the end point address. (Assuming "mm" is set in
Da.5 10000.0 µm 1000.0 µm " Pr.1 Unit setting".)
movement amount
Da.6 Arc address – – Setting not required (setting value will be ignored).
6000.00
Da.7 Command speed – Set the speed during movement to the end point address.
mm/min
Set the time the machine dwells after the positioning stop
Da.8 Dwell time 500ms – (position command output stop) to the output of the
positioning complete signal.
Set this when other auxiliary operation commands are
Da.9 M code 10 –
issued in combination with the No. 1 positioning data.
* Refer to section "5.3 List of positioning data" for information on the setting details.
POINT
The speed limit does not function for the speed calculated by the AD75 during
interpolation control. Because of this, observe the following precautions when
setting the speed.
• When the "composite speed" is set, set a value so the speed for each axis does
not exceed the " Pr.7 Speed limit value".
• When the "reference axis speed" is set, set so the major axis side becomes the
reference axis. If the minor axis side is set as the reference axis, the major axis
side speed may exceed the " Pr.7 Speed limit value".
9 - 26
9 MAIN POSITIONING CONTROL
MELSEC-A
Operation chart
In increment system 2-axis linear interpolation control, addresses established by a
machine zero point return on a 2-axis coordinate plane are used. Linear
interpolation positioning is carried out from the current stop position (start point
address) to a position at the end of the movement amount set in " Da.5
Positioning address/movement amount". The movement direction is determined
by the sign of the movement amount.
Y axis movement
amount Movement by linear interpolation
positioning of the X axis and Y axis
Y1
X axis movement
amount
Reverse direction
Example
When the axis 1 movement amount is 9000 and the axis 2 movement amount is -3000, positioning is
carried out as follows.
Axis 2
Start point address
4000 (current stop position)
Axis 1
0 5000 10000
9 - 27
9 MAIN POSITIONING CONTROL
MELSEC-A
Restrictions
An error will occur and the positioning will not start in the following cases. The
machine will immediately stop if the error is detected during a positioning
operation.
• If the movement amount of each axis exceeds "1073741824 (=230)" at the
setting of "0: Composite speed" in " Pr.21 Interpolation speed designation
method".
An error "outside linear movement amount range" (error code: 504) will occur
at the positioning start.
(The maximum movement amount that can be set in " Da.5 Positioning
address/movement amount" is "1073741824 (=230)"
Da.3 1 –
No. the acceleration time at start.
Deceleration time Designate the value set in " Pr.9 Deceleration time 0" as
Da.4 0 –
No. the deceleration time at deceleration.
Positioning address/ Set the movement amount. (Assuming "mm" is set in
Da.5 9000.0 µm -3000.0 µm
movement amount " Pr.1 Unit setting".)
Da.6 Arc address – – Setting not required (setting value will be ignored).
6000.00
Da.7 Command speed – Set the speed during movement.
mm/min
Set the time the machine dwells after the positioning stop
Da.8 Dwell time 500ms – (position command output stop) to the output of the
positioning complete signal.
Set this when other auxiliary operation commands are
Da.9 M code 10 –
issued in combination with the No. 1 positioning data.
* Refer to section "5.3 List of positioning data" for information on the setting details.
POINT
The speed limit does not function for the speed calculated by the AD75 during
interpolation control. Because of this, observe the following precautions when
setting the speed.
• When the "composite speed" is set, set a value so the speed for each axis does
not exceed the " Pr.7 Speed limit value".
• When the "reference axis speed" is set, set so the major axis side becomes the
reference axis. If the minor axis side is set as the reference axis, the major axis
side speed may exceed the " Pr.7 Speed limit value".
9 - 28
9 MAIN POSITIONING CONTROL
MELSEC-A
Operation chart
In 1-axis fixed-dimension feed control, the address ( Md.29 Current feed value) of
the current stop position (start point address) is set to "0". Positioning is then
carried out to a position at the end of the movement amount set in " Da.5
Positioning address/movement amount".
The movement direction is determined by the movement amount sign.
Stop position
9 - 29
9 MAIN POSITIONING CONTROL
MELSEC-A
Restrictions
(1) An error "Continuous path control not possible" (error code: 516) will occur and
the operation cannot start if "continuous path control" is set in " Da.1
Operation pattern". ("Continuous path control" cannot be set in fixed-
dimension feed control.)
(2) "Fixed-dimension feed" cannot be set in " Da.2 Control method" in the
positioning data when "continuous path control" has been set in " Da.1
Operation pattern" of the immediately prior positioning data. (For example, if
the operation pattern of positioning data No. 1 is "continuous path control",
fixed-dimension feed control cannot be set in positioning data No. 2.) An error
"Continuous path control not possible" (error code: 516) will occur and the
machine will carry out a deceleration stop if this type of setting is carried out.
(3) When the absolute position restoration mode is the "infinite length mode", an
error "control method setting error" (error code: 524) occurs, disabling a start.
Acceleration time Designate the value set in " Pr.26 Acceleration time 1" as the
Da.3 1
No. acceleration time at start.
Deceleration time Designate the value set in " Pr.9 Deceleration time 0" as the
Da.4 0
No. deceleration time at deceleration.
Positioning address/ Set the positioning address. (Assuming "mm" is set in " Pr.1 Unit
Da.5 8 0 0 0 0 . 0 µm
movement amount setting".)
Da.6 Arc address – Setting not required (setting value will be ignored).
Da.7 Command speed 6000.00mm/min Set the speed during movement to the positioning address.
Set the time the machine dwells after the positioning stop (position
Da.8 Dwell time 500ms
command output stop) to the output of the positioning complete signal.
Set this when other auxiliary operation commands are issued in
Da.9 M code 10
combination with the No. 1 positioning data.
* Refer to section "5.3 List of positioning data" for information on the setting details.
9 - 30
9 MAIN POSITIONING CONTROL
MELSEC-A
Operation chart
In increment system 2-axis fixed-dimension feed control, the addresses ( Md.29
Current feed value) of the current stop position (start addresses) of both axes are
set to "0". Linear interpolation positioning is then carried out from that position to a
position at the end of the movement amount set in " Da.5 Positioning
address/movement amount". The movement direction is determined by the sign of
the movement amount.
Y axis
(0,0)
Designated movement
(0,0)
amount
(0,0)
X axis
Designated movement
amount
9 - 31
9 MAIN POSITIONING CONTROL
MELSEC-A
Restrictions
(1) An error "Continuous path control not possible" (error code: 516) will occur and
the operation cannot start if "continuous path control" is set in " Da.1
Operation pattern". ("Continuous path control" cannot be set in fixed-
dimension feed control.)
30
(2) If the movement amount of each axis exceeds "1073741824 (=2 )" at the
setting of "0: Composite speed" in " Pr.21 Interpolation speed designation
method", an error "outside linear movement amount range" (error code: 504)
will occur at a positioning start and positioning cannot be started. (The
maximum movement amount that can be set in " Da.5 Positioning
30
address/movement amount" is "1073741824 (=2 )".
(3) "Fixed-dimension feed" cannot be set in " Da.2 Control method" in the
positioning data when "continuous path control" has been set in " Da.1
Operation pattern" of the immediately prior positioning data. (For example, if
the operation pattern of positioning data No. 1 is "continuous path control",
fixed-dimension feed control cannot be set in positioning data No. 2.) An error
"Continuous path control not possible" (error code: 516) will occur and the
machine will carry out a deceleration stop if this type of setting is carried out.
(4) When the absolute position restoration mode is the "infinite length mode", an
error "control method setting error" (error code: 524) occurs, disabling a start.
9 - 32
9 MAIN POSITIONING CONTROL
MELSEC-A
Acceleration time Designate the value set in " Pr.26 Acceleration time 1" as
Da.3 1 –
No. the acceleration time at start.
Deceleration time Designate the value set in " Pr.9 Deceleration time 0" as
Da.4 0 –
No. the deceleration time at deceleration.
Positioning address/ 80000.0 60000.0 Set the positioning address. (Assuming "mm" is set in
Da.5
movement amount µm µm " Pr.1 Unit setting".)
Da.6 Arc address – – Setting not required (setting value will be ignored).
Set the speed during movement. (Designate the composite
6000.00
Da.7 Command speed – speed of reference axis speed in " Pr.21 Interpolation
mm/min
speed designation method".)
Set the time the machine dwells after the positioning stop
Da.8 Dwell time 500ms – (position command output stop) to the output of the
positioning complete signal.
Set this when other auxiliary operation commands are
Da.9 M code 10 –
issued in combination with the No. 1 positioning data.
* Refer to section "5.3 List of positioning data" for information on the setting details.
POINT
The speed limit does not function for the speed calculated by the AD75 during interpolation control.
Because of this, observe the following precautions when setting the speed.
• When the "composite speed" is set, set a value so the speed for each axis does not exceed the
" Pr.7 Speed limit value".
• When the "reference axis speed" is set, set so the major axis side becomes the reference axis. If
the minor axis side is set as the reference axis, the major axis side speed may exceed the " Pr.7
Speed limit value".
9 - 33
9 MAIN POSITIONING CONTROL
MELSEC-A
In "2-axis circular interpolation control" (" Da.2 Control method" = ABS circular
interpolation, INC circular interpolation), two motors are used to carry out position
control in an arc path passing through designated auxiliary points, while carrying out
interpolation for the axis directions set in each axis.
(Refer to section "9.1.6 Interpolation control" for details on interpolation control.)
Operation chart
In the absolute system, 2-axis circular interpolation control with auxiliary point
designation, addresses established by a machine zero point return on a 2-axis
coordinate plane are used. Positioning is carried out from the current stop position
(start point address) to the address (end point address) set in " Da.5 Positioning
address/movement amount", in an arc path that passes through the auxiliary point
address set in " Da.6 Arc address".
The resulting control path is an arc having as its center the intersection point of
perpendicular bisectors of a straight line between the start point address (current
stop position) and auxiliary point address (arc address), and a straight line
between the auxiliary point address (arc address) and end point address
(positioning address).
Forward direction
Zero point
Reverse direction
9 - 34
9 MAIN POSITIONING CONTROL
MELSEC-A
Restrictions
(1) 2-axis circular interpolation control cannot be set in the following cases.
• When "degree" is set in " Pr.1 Unit setting"
• When the units set in " Pr.1 Unit setting" are different for the reference axis
and interpolation axis. ("mm" and "inch" combinations are possible.)
• When "reference axis speed" is set in " Pr.21 Interpolation speed
designation method"
(2) An error will occur and the positioning start will not be possible in the following
cases. The machine will immediately stop if the error is detected during
positioning control.
29
• In case radius is over than "536870912(=2 )" which is the maximum and
acceptable radius for circular interpolation control, or in case the end address
31 31
is outside the scope of "–2147483648(–2 ) to 2147483647(2 –1)".
... An error ""end point setting error"" (error code:526) or "outside radius
range" (error code: 544) will occur at positioning start.
• When the auxiliary point address, center point address is outside the range of
31 31
"–2147483648 (–2 ) to 2147483647 (2 –1)"
... An error "auxiliary point setting error" (error code: 525) will occur at
positioning start.
• When the start point address is the same as the end point address
... An error "end point setting error" (error code: 526) will occur.
• When the start point address is the same as the auxiliary point address
... An error "auxiliary point setting error" (error code: 525) will occur.
• When the end point address is the same as the auxiliary point address
... An error "auxiliary point setting error" (error code: 525) will occur.
• When the start point address, auxiliary point address, and end point address
are in a straight line
... An error "auxiliary point setting error" (error code: 525) will occur.
9 - 35
9 MAIN POSITIONING CONTROL
MELSEC-A
* Refer to section "5.3 List of positioning data" for information on the setting details.
POINT
Set a value in " Da.7 Command speed" so that the speed of each axis does not
exceed the " Pr.7 Speed limit value". (The speed limit does not function for the
speed calculated by the AD75 during interpolation control.)
9 - 36
9 MAIN POSITIONING CONTROL
MELSEC-A
In the increment system, 2-axis circular interpolation control with auxiliary point
designation, addresses established by a machine zero point return on a 2-axis
coordinate plane are used. Positioning is carried out from the current stop position
(start point address) to a position at the end of the movement amount set in
" Da.5 Positioning address/movement amount", in an arc path that passes
through the auxiliary point address set in " Da.6 Arc address".
The resulting control path is an arc having as its center the intersection point of
perpendicular bisectors of the following:
(1) A straight line between the start point address (current stop position) and
auxiliary point address (arc address) calculated from the movement amount to
the auxiliary point.
(2) A straight line between the start auxiliary point address (arc address) and end
point address (positioning address) calculated from the movement amount to
the end point.
Forward direction
Auxiliary point address Movement by circular interpolation
(arc address)
End point address
(positioning address)
Arc center
Reverse direction Forward direction
Movement amount
to the auxiliary point
Reverse direction
9 - 37
9 MAIN POSITIONING CONTROL
MELSEC-A
Restrictions
(1) 2-axis circular interpolation control cannot be set in the following cases.
• When "degree" is set in " Pr.1 Unit setting"
• When the units set in " Pr.1 Unit setting" are different for the reference axis
and interpolation axis. ("mm" and "inch" combinations are possible.)
• When "reference axis speed" is set in " Pr.21 Interpolation speed
designation method"
(2) An error will occur and the positioning start will not be possible in the following
cases. The machine will immediately stop if the error is detected during
positioning control.
29
• When the radius exceeds "536870912 (2 )". (The maximum radius for which
29
circular interpolation control is possible is "536870912 (2 )"
... An error "outside radius range" (error code: 544) will occur at positioning
start.
31
• When the center point address is outside the range of "–2147483648 (–2 ) to
31
2147483647 (2 –1)"
... An error "auxiliary point setting error" (error code: 525) will occur at
positioning start.
• When the start point address is the same as the end point address
... An error "end point setting error" (error code: 526) will occur.
• When the start point address is the same as the auxiliary point address
... An error "auxiliary point setting error" (error code: 525) will occur.
• When the end point address is the same as the auxiliary point address
... An error "auxiliary point setting error" (error code: 525) will occur.
• When the start point address, auxiliary point address, and end point address
are in a straight line
... An error "auxiliary point setting error" (error code: 525) will occur.
9 - 38
9 MAIN POSITIONING CONTROL
MELSEC-A
Da.3 1 –
No. the acceleration time at start.
Deceleration time Designate the value set in " Pr.9 Deceleration time 0" as
Da.4 0 –
No. the deceleration time at deceleration.
Positioning address/ 80000.0 60000.0 Set the movement amount. (Assuming that the " Pr.1 Unit
Da.5
movement amount µm µm setting" is set to "mm".)
40000.0 30000.0 Set the auxiliary point address. (Assuming that the " Pr.1
Da.6 Arc address
µm µm Unit setting" is set to "mm".)
6000.00 Set the speed during movement. (Designate the composite
Da.7 Command speed –
mm/min speed in " Pr.21 Interpolation speed designation method".)
Set the time the machine dwells after the positioning stop
Da.8 Dwell time 500ms – (position command output stop) to the output of the
positioning complete signal.
Set this when other auxiliary operation commands are
Da.9 M code 10 –
issued in combination with the No. 1 positioning data.
* Refer to section "5.3 List of positioning data" for information on the setting details.
POINT
Set a value in " Da.7 Command speed" so that the speed of each axis does not
exceed the " Pr.7 Speed limit value". (The speed limit does not function for the
speed calculated by the AD75 during interpolation control.)
9 - 39
9 MAIN POSITIONING CONTROL
MELSEC-A
In "2-axis circular interpolation control" (" Da.2 Control method" = ABS right arc, INC
right arc, ABS left arc, INC left arc), two motors are used to carry out position control in
an arc path having a designated center point, while carrying out interpolation for the
axis directions set in each axis.
(Refer to section "9.1.6 Interpolation control" for details on interpolation control.)
The following table shows the rotation directions, arc center angles that can be
controlled, and positioning paths for the different control methods.
Arc center angle that
Control method Rotation direction Positioning path
can be controlled
Positioning path
0° < θ ≤ 360°
Center point
0°< θ ≤ 360°
Counterclockwise
Start point End point
(current stop (positioning address)
INC left arc position)
Positioning path
9 - 40
9 MAIN POSITIONING CONTROL
MELSEC-A
(1) Calculated error " Pr.42 Allowable circular interpolation error width"
Circular interpolation control to the set end point address is carried out while
the error compensation is carried out. (This is called "spiral interpolation".)
(2) Calculated error > " Pr.42 Allowable circular interpolation error width"
At the positioning start, an error "large arc error deviation" (error code: 506)
will occur and the control will not start. The machine will immediately stop if the
error is detected during positioning control.
During arc interpolation control with center point designation, the angle is calculated on
the assumption that movement at the command speed occurs on an arc drawn in the
radius calculated from the start point and center point addresses, and the radius is
corrected in proportion to the angular velocity from the start point.
Therefore, if there is difference between the radius (radius at start point) calculated
from the start point and center point addresses and the radius (radius at end point)
calculated from the end point and center point addresses, the resultant velocity has the
following tendency, different from the command speed.
• If the radius at the start point is larger than that at the end point:
The velocity becomes slower as the end point address draws nearer when compared
with the case including no error.
• If the radius at the start point is smaller than that at the end point:
The velocity becomes faster as the end point address draws nearer when compared
with the case including no error.
9 - 41
9 MAIN POSITIONING CONTROL
MELSEC-A
Operation chart
In the absolute system, 2-axis circular interpolation control with center point
designation, addresses established by a machine zero point return on a 2-axis
coordinate plane are used. Positioning is carried out from the current stop position
(start point address) to the address (end point address) set in " Da.5 Positioning
address/movement amount", in an arc path having as its center the address (arc
address) of the center point set in " Da.6 Arc address".
Radius
Arc address
Reverse direction
Positioning of a complete round with a radius from the start point address to the
arc center point can be carried out by setting the end point address (positioning
address) to the same address as the start point address.
Forward direction
Reverse direction
9 - 42
9 MAIN POSITIONING CONTROL
MELSEC-A
Restrictions
(1) 2-axis circular interpolation control cannot be set in the following cases.
• When "degree" is set in " Pr.1 Unit setting"
• When the units set in " Pr.1 Unit setting" are different for the reference axis
and interpolation axis. ("mm" and "inch" combinations are possible.)
• When "reference axis speed" is set in " Pr.21 Interpolation speed
designation method"
(2) An error will occur and the positioning start will not be possible in the following
cases. The machine will immediately stop if the error is detected during
positioning control.
29
• In case radius is over than "536870912(=2 )" which is the maximum and
acceptable radius for circular interpolation control, or in case the end address
31 31
is outside the scope of "–2147483648(–2 ) to 2147483647(2 –1)".
... An error ""end point setting error"" (error code:526) or "outside radius
range" (error code: 544) will occur at positioning start.
• When the start point address is the same as the center point address
... An error "center point setting error" (error code: 527) will occur.
• When the end point address is the same as the center point address
... An error "center point setting error" (error code: 527) will occur.
Da.3 1 –
No. the acceleration time at start.
Deceleration time Designate the value set in " Pr.9 Deceleration time 0" as
Da.4 0 –
No. the deceleration time at deceleration.
Positioning address/ 80000.0 60000.0 Set the positioning address. (Assuming "mm" is set in
Da.5
movement amount µm µm " Pr.1 Unit setting".)
40000.0 30000.0 Set the arc address. (Assuming that the " Pr.1 Unit
Da.6 Arc address
µm µm setting" is set to "mm".)
Set the speed when moving to the end point address.
6000.00
Da.7 Command speed – (Designate the composite speed in " Pr.21 Interpolation
mm/min
speed designation method".)
Set the time the machine dwells after the positioning stop
Da.8 Dwell time 500ms – (position command output stop) to the output of the
positioning complete signal.
Set this when other auxiliary operation commands are
Da.9 M code 10 –
issued in combination with the No. 1 positioning data.
* Refer to section "5.3 List of positioning data" for information on the setting details.
9 - 43
9 MAIN POSITIONING CONTROL
MELSEC-A
POINT
Set a value in " Da.7 Command speed" so that the speed of each axis does not
exceed the " Pr.7 Speed limit value". (The speed limit does not function for the
speed calculated by the AD75 during interpolation control.)
Operation chart
In the increment system, 2-axis circular interpolation control with center point
designation, addresses established by a machine zero point return on a 2-axis
coordinate plane are used. Positioning is carried out from the current stop position
(start point address) to a position at the end of the movement amount set in
" Da.5 Positioning address/movement amount", in an arc path having as its
center the address (arc address) of the center point set in " Da.6 Arc address".
Movement amount
to the end point
Radius
Positioning of a complete round with a radius of the distance from the start point
address to the arc center point can be carried out by setting the movement amount
to "0".
Forward direction
Movement amount = 0
Reverese direction
9 - 44
9 MAIN POSITIONING CONTROL
MELSEC-A
Start point radius > End point radius: As compared with the speed without error,
the speed becomes slower as end point
address is reached.
Start point radius < End point radius: As compared with the speed without error,
the speed becomes faster as end point
address is reached.
Restrictions
(1) 2-axis circular interpolation control cannot be set in the following cases.
• When "degree" is set in " Pr.1 Unit setting"
• When the units set in " Pr.1 Unit setting" are different for the reference axis
and interpolation axis. ("mm" and "inch" combinations are possible.)
• When "reference axis speed" is set in " Pr.21 Interpolation speed
designation method"
(2) An error will occur and the positioning start will not be possible in the following
cases. The machine will immediately stop if the error is detected during
positioning control.
29
• When the radius exceeds "536870912 (2 )". (The maximum radius for which
29
circular interpolation control is possible is "536870912 (2 )"
... An error "outside radius range" (error code: 544) will occur at positioning
start.
• When the start point address is the same as the center point address
... An error "center point setting error" (error code: 527) will occur.
• When the end point address is the same as the center point address
... An error "center point setting error" (error code: 527) will occur.
9 - 45
9 MAIN POSITIONING CONTROL
MELSEC-A
Da.3 1 –
No. the acceleration time at start.
Deceleration time Designate the value set in " Pr.9 Deceleration time 0" as
Da.4 0 –
No. the deceleration time at deceleration.
Positioning address/ 80000.0 60000.0 Set the movement amount. (Assuming that the " Pr.1 Unit
Da.5
movement amount µm µm setting" is set to "mm".)
40000.0 30000.0 Set the center point address. (Assuming that the " Pr.1
Da.6 Arc address
µm µm Unit setting" is set to "mm".)
Set the speed when moving to the end point address.
6000.00
Da.7 Command speed – (Designate the composite speed in " Pr.21 Interpolation
mm/min
speed designation method".)
Set the time the machine dwells after the positioning stop
Da.8 Dwell time 500ms – (position command output stop) to the output of the
positioning complete signal.
Set this when other auxiliary operation commands are
Da.9 M code 10 –
issued in combination with the No. 1 positioning data.
* Refer to section "5.3 List of positioning data" for information on the setting details.
POINT
Set a value in " Da.7 Command speed" so that the speed of each axis does not
exceed the " Pr.7 Speed limit value". (The speed limit does not function for the
speed calculated by the AD75 during interpolation control.)
9 - 46
9 MAIN POSITIONING CONTROL
MELSEC-A
In "speed control"(" Da.2 Control method" = Forward run: speed control, Reverse
run: speed control), control is carried out in the axis direction in which the positioning
data has been set by continuously outputting the speed set in " Da.7 Command
speed" until the input of a stop command.
The two types of speed control are "Forward run: speed control" in which the control
starts in the forward run direction, and "Reverse run: speed control" in which control
starts in the reverse run direction.
Operation chart
The following chart shows the operation timing for speed control. The "in speed
control flag" ( Md.40 Status: b0) is turned ON during speed control.
ON
OFF
Positioning start signal
[Y10,Y11,Y12]
ON
OFF
BUSY signal
[X4,X5,X6]
Does not turn ON even
when control is stopped
by stop command
OFF
Positioning complete signal
[X7,X8,X9]
ON
OFF
Stop command
ON
In speed control flag
Md.40 Status:b0 OFF
9 - 47
9 MAIN POSITIONING CONTROL
MELSEC-A
t t t
Current feed value during speed control start is maintained Current feed value is updated 0
(a) Current feed value not updated (b) Current feed value updated (c) Current feed value zero cleared
Restrictions
(1) Set "Positioning complete" for " Da.1 Operation pattern." If "continuous
positioning control" or "continuous path control" is selected, an error
"continuous path control not possible" (error code: 516) occurs, resulting in a
failure to start. (In the speed control mode, "continuous positioning control" or
"continuous path control" cannot be selected.)
(2) To use M codes, set the "WITH" mode for " Pr.19 M code ON signal output
timing." If the "AFTER" mode is selected, the M codes are not output and the
"M code ON" signal does not turn ON.
(3) The software stroke limit check is not made with the "degree" unit.
(4) When the absolute position restoration mode is the "infinite length mode",
executing speed control with other than "1" set to " Pr.22 Current feed value
during speed control" results in an error "control method setting error" (error
code: 524).
9 - 48
9 MAIN POSITIONING CONTROL
MELSEC-A
* Refer to section "5.3 List of positioning data" for information on the setting details.
9 - 49
9 MAIN POSITIONING CONTROL
MELSEC-A
Operation chart
The following chart (Fig.9.10) shows the operation timing for speed/position
changeover control. The "in speed control flag" ( Md.40 Status: b0) is turned ON
during speed control of speed/position changeover control.
9 - 50
9 MAIN POSITIONING CONTROL
MELSEC-A
ON
OFF
Positioning start signal
[Y10,Y11,Y12]
ON
OFF
BUSY signal
[X4,X5,X6]
ON
OFF
Positioning complete signal
[X7,X8,X9]
ON
OFF
Speed/position changeover signal
ON
OFF
Cd. 20 Speed/position
changeover enable flag
ON
9 - 51
9 MAIN POSITIONING CONTROL
MELSEC-A
Positioning start
signal [Y10,Y11,Y12]
t1
M code ON signal
[XD,XE,XF](WITH mode)
t2
Cd.14 M code OFF request
t4
Position/speed command
Speed Position
control control
Positioning operation
*
Positioning complete signal
[X7,X8,X9] t7
M code ON signal (AFTER mode)
[XD,XE,XF]
t2
Cd.14 M code OFF request
Fig. 9.11 Operation timing and processing time during speed/position changeover control
9 - 52
9 MAIN POSITIONING CONTROL
MELSEC-A
Speed Speed control Position control Speed Speed control Position control Speed Speed control Position control
t t t
(a) Current feed value not updated (b) Current feed value updated (c) Current feed value zero cleared
ON
ON
Speed/position changeover latch flag OFF
1ms
9 - 53
9 MAIN POSITIONING CONTROL
MELSEC-A
Movement amount
change possible
ON
Speed/position changeover signal OFF
Setting after the speed/position
changeover signal ON is ignored
POINT
• The machine recognizes the presence of a movement amount change request when the data is
written to " Cd.21 Speed/position changeover control movement amount change register" with the
sequence program.
• The new movement amount is validated after execution of the speed/position changeover control,
before the input of the speed/position changeover signal.
• The movement amount change can be enabled/disabled with the interlock function in position
control using the "speed/position changeover latch flag" of the axis monitor area.
9 - 54
9 MAIN POSITIONING CONTROL
MELSEC-A
Restrictions
(1) If "continuous path control" is specified for " Da.1 Operation pattern, " an error
"continuous path control not possible" (error code: 516) occurs, resulting in a
failure to start. (In the speed or position changeover control mode, "continuous
path control" cannot be set.)
(2) If "continuous path control" is specified for " Da.1 Operation pattern" of the
positioning data immediately before, "speed/position changeover control"
cannot be specified for " Da.2 Control method" in the positioning data. (For
example, if the operation pattern of positioning data No. 1 is "continuous path
control," "speed/position changeover control" cannot be specified for
positioning data No. 2.) If this setting is given, an error "continuous path
control not possible" (error code: 516) occurs, resulting in deceleration and
stop.
(3) If the position control movement amount specified for " Da.5 Positioning
address/movement amount" is smaller than the deceleration distance from
" Da.7 Command speed," deceleration occurs when the speed/position
changeover signal is supplied.
(4) Turn on the speed/position changeover signal in a stable-speed area
(constant-speed state). If it is turned on during acceleration, a warning
"speed/position changeover signal ON during acceleration" (warning code:
508) occurs due to large variation in the accumulating pulses.
(5) The software stroke limit range check under speed control is performed only if
"1: update current feed value" is specified for " Pr.22 Current feed value during
speed control." At this time, if the movement amount exceeds the software
stroke limit range during speed control, an error "start outside stroke limit +/-"
(error code: 507/508) occurs at the timing of the change to position control,
resulting in deceleration and stop.
If the "degree" unit is selected, the software stroke limit range check is not
performed.
(6) Do not turn ON the speed/position changeover signal during speed change if
the servomotor is used. (Turn the speed/position changeover signal ON in the
stable-speed area (constant-speed state).) The actual movement amount after
switching is the "set movement amount + amount of accumulated pulses." If
the signal is turned on during acceleration or deceleration, there is variation in
the stopping position due to a large variation in the amount of accumulated
pulses. If " Da.7 Command speed" varies even if " Md.38 Speed/position
changeover control positioning amount" is the same, the amount of
accumulated pulses varies and therefore the stopping position varies.
(7) When the absolute position restoration mode is the "infinite length mode", an
error "control method setting error" (error code: 524) occurs, disabling a start.
9 - 55
9 MAIN POSITIONING CONTROL
MELSEC-A
* Refer to section "5.3 List of positioning data" for information on the setting details.
9 - 56
9 MAIN POSITIONING CONTROL
MELSEC-A
When the current value is changed to a new value, control is carried out in which the
" Md.29 Current feed value" of the stopped axis is changed to a random address set
by the user. (The " Md.30 Machine feed value" is not changed when the current value
is changed.)
The two methods for changing the current value are shown below.
(1) Current value change using the positioning data
(2) Current value change using the start No. (No. 9003) for a current value
change
The current value change using method [1] is used during continuous positioning of
multiple blocks, etc.
Operation chart
The following chart shows the operation timing for a current value change. The
" Md.29 Current feed value" is changed to the value set in " Da.5 Positioning
address/movement amount" when the positioning start signal turns ON.
ON
Positioning start signal OFF
[Y10,Y11,Y12]
9 - 57
9 MAIN POSITIONING CONTROL
MELSEC-A
Restrictions
(1) An error "Current value change not possible" (error code: 515) will occur and
the operation cannot start if "continuous path control" is set in " Da.1
Operation pattern". ("Continuous path control" cannot be set in current value
change.)
(2) "Current value change" cannot be set in " Da.2 Control method" of the
positioning data when "continuous path control" has been set in " Da.1
Operation pattern" of the immediately prior positioning data. (For example, if
the operation pattern of positioning data No. 1 is "continuous path control",
"Current value change" cannot be set in positioning data No. 2.) An error
"Current value change not possible" (error code: 515) will occur and the
machine will carry out a deceleration stop if this type of setting is carried out.
(3) An error "Outside current value change range" (error code: 514) will occur and
the operation cannot start if "degree" is set in " Pr.1 Unit setting" and the
value set in " Da.5 Positioning address/movement amount" is outside the
setting range (0 to 359.99999 [degree]).
(4) If the value set in " Da.5 Positioning address/movement amount" is outside
the scope of software stroke limit ( Pr.13 , Pr.14 ), the actual value will be
modified. However, the error "Starting outside of stroke limit +/-" (error
code:507/508) and it will not start up.
(5) When the absolute position restoration mode is the "infinite length mode", an
error "control method setting error" (error code: 524) occurs, disabling a start.
Designate the value set in " Pr.26 Acceleration time 1" as the
Da.3 Acceleration time No. 1
acceleration time at start.
Designate the value set in " Pr.9 Deceleration time 0" as the
Da.4 Deceleration time No. 0
deceleration time at deceleration.
Positioning address/ Set the movement amount after the changeover to position control.
Da.5
movement amount 10000.0μm (Assuming that the " Pr.1 Unit setting" is set to "mm".)
Da.6 Arc address – Setting not required. (Setting value is ignored.)
Da.7 Command speed 6000.00mm/min Set the speed to be controlled.
Da.8 Dwell time – Setting not required. (Setting value is ignored.)
Set this when other auxiliary operation commands are issued in
Da.9 M code 10
combination with the No. 1 positioning data.
* Refer to section "5.3 List of positioning data" for information on the setting details.
9 - 58
9 MAIN POSITIONING CONTROL
MELSEC-A
(2) Current value change using the start No. (No. 9003) for a current
value change
Operation chart
The current value is changed by setting the new current value in the new current
value buffer memory " Cd.15 New current value", setting "9003" in the " Cd.11
Positioning start No.", and turning ON the positioning start signal.
ON
Positioning start signal OFF
[Y10,Y11,Y12]
Restrictions
(1) An error "Outside current value change range" (error code: 514) will occur if
the designated value is outside the setting range when "degree" is set in
" Pr.1 Unit setting".
(2) An error will not occur even if the designated value is outside the software
stroke limit range.
However, an error "Start outside stroke limit +/-" (error code: 507/508) will
occur at the positioning start.
(3) The current value cannot be changed during stop commands and while the M
code ON signal is ON.
(4) When the absolute position restoration mode is the "infinite length mode", an
error "outside start number range" (error code: 543) occurs at a positioning
start.
9 - 59
9 MAIN POSITIONING CONTROL
MELSEC-A
Cd.11 Positioning start No. Data No. during positioning execution 9003
Fig. 9.13 Current value change using the start No. (No. 9003) for a current value change
9 - 60
9 MAIN POSITIONING CONTROL
MELSEC-A
(3) Add the following sequence program to the control program, and write it to the
PLC CPU.
Example
*
* Current value change program
*
*
* Store new current feed value in D106 and D107
*
*
9 - 61
9 MAIN POSITIONING CONTROL
MELSEC-A
The JUMP command is used to control the operation so it jumps to a positioning data
No. set in the positioning data during "continuous positioning control" or "continuous
path control".
Operation
(1) Unconditional JUMP
The JUMP command is unconditionally executed. The operation jumps to the
positioning data No. set in " Da.8 Dwell time".
(2) Conditional JUMP
• If the JUMP command execution conditions set in " Da.9 M code" have
been established, the JUMP command is executed and the operation jumps
to the positioning data No. set in " Da.8 Dwell time".
• If the JUMP command execution conditions set in " Da.9 M code" have not
been established, the JUMP command is ignored and the next positioning
data No. is executed.
Restrictions
(1) When using a conditional JUMP command, establish the JUMP command
execution conditions by the 4th positioning data No. before the JUMP
command positioning data No.
If the JUMP command execution conditions are not established by the time the
4th positioning control is carried out before the JUMP command positioning
data No., the operation will be processed as an operation without established
JUMP command execution conditions.
(During execution of continuous path control/continuous positioning control,
the AD75 calculates the positioning data of the positioning data No. four items
ahead of the current positioning data.)
(2) Set JUMP commands in positioning data No. of "continuous positioning
control" or "continuous path" operation patterns.
JUMP commands cannot be set in the positioning data No. of a "Positioning
complete" operation pattern.
(3) Positioning control such as loops cannot be executed by conditional JUMP
commands alone until the conditions have been established.
To the JUMP instruction destination, specify the positioning data whose
control method is other than the JUMP instruction."
9 - 62
9 MAIN POSITIONING CONTROL
MELSEC-A
Positioning address/
Da.5 – Setting not required. (Setting value is ignored.)
movement amount
Da.6 Arc address – Setting not required. (Setting value is ignored.)
Da.7 Command speed – Setting not required. (Setting value is ignored.)
Set the positioning data No. 1 to 600 for the JUMP destination. (The
Da.8 Dwell time 500
positioning data No. of the JUMP command cannot be set.)
Set the JUMP command execution conditions with the condition data
No.
0 : Unconditional JUMP
Da.9 M code 10
1 to 10 : Condition data No.
("Simultaneous start" condition data cannot be
set.)
* Refer to section "5.3 List of positioning data" for information on the setting details.
9 - 63
9 MAIN POSITIONING CONTROL
MELSEC-A
MEMO
9 - 64
Chapter 10
The details and usage of advanced positioning control (control functions using the
"start block data") are explained in this chapter.
Advanced positioning control is used to carry out applied control using the "positioning
data". Examples of advanced control are using conditional judgment to control
"positioning data" set with the main positioning control, or simultaneously starting
"positioning data" for several different axes.
Read the execution procedures and settings for each control, and set as required.
10 - 1
10 ADVANCED POSITIONING CONTROL
MELSEC-A
In "advanced positioning control" the execution order and execution conditions of the
"positioning data" are set to carry out more applied positioning. (The execution order
and execution conditions are set in the "start block data" and "condition data".)
The following applied positioning controls can be carried out with "advanced
positioning control".
Advanced
Details
positioning control
Block* start With one start, executes the positioning data in a random block with the set
(Normal start) order.
Carries out condition judgment set in the "condition data" for the
designated positioning data, and then executes the "start block data".
Condition start When the condition is established, the "start block data" is executed. When
not established, that "start block data" is ignored, and the next point's "start
block data" is executed.
Carries out condition judgment set in the "condition data" for the
designated positioning data, and then executes the "start block data".
Wait start
When the condition is established, the "start block data" is executed. When
not established, stops the control until the condition is established. (Waits.)
Simultaneously executes the positioning data having the No. for the axis
Simultaneous start designated with the "condition data". (Outputs position/speed commands at
the same timing.)
Stop Stops the positioning operation.
Repeated start Repeats the program from the "start block data" set with the "FOR loop" to
(FOR loop) the "start block data" set in "NEXT" for the designated No. of times.
Repeats the program from the "start block data" set with the "FOR
Repeated start
condition" to the "start block data" set in "NEXT" until the conditions set in
(FOR condition)
the "condition data" are established.
REMARK
Block *:
"1 block" is defined as all the data continuing from the positioning data in which
"continuous positioning control" or "continuous path control" is set in the
operation pattern ( Da.1 ) to the positioning data in which "independent
positioning control (Positioning complete)" is set.
10 - 2
10 ADVANCED POSITIONING CONTROL
MELSEC-A
"Advanced positioning control" is executed by setting the required items in the "start
block data" and "condition data", then starting that "start block data". Judgment about
whether execution is possible, etc., is carried out at execution using the "condition
data" designated in the "start block data".
"Start block data" can be set for each No. from 7000 to 7010 (called "block Nos."), and
up to 50 points can be set for each axis. (This data is controlled with Nos. called
"points" to distinguish it from the positioning data. For example, the 1st start block data
item is called the "1st point start block data" or "point No. 1 start block data".)
"Condition data" can be set for each No. from 7000 to 7010 (called "block Nos."), and
up to 10 data items can be set for each axis.
The "start block data" and "condition data" are set as 1 set for each block No.
The following table shows an outline of the "start block data" and "condition data"
stored in the AD75.
Setting item Setting details
Set whether to end the control after executing only the "start
Da.10 Shape block data" of the shape itself, or continue executing the "start
Start block data
Da.15
operator Da.14 .
Set the buffer memory address in which condition judgment is
Da.16 Address carried out (only when the details set in Da.14 are "buffer
memory storage details").
Set the required conditions according to the details set in
Da.17 Parameter 1
Da.14 and Da.15 .
Set the required conditions according to the details set in
Da.18 Parameter 2
Da.14 and Da.15 .
10 - 3
10 ADVANCED POSITIONING CONTROL
MELSEC-A
The "start block data" and "condition data" corresponding to "block No. 7000" can be
stored in the buffer memory. (The following drawing shows an example for axis 1.)
50th point
Buffer memory
Setting item
address
2nd point
1st point Setting item Buffer memory
Buffer memoryaddress 4349
Setting item
address
b15 b8 b7 b0 4301
Axis 1 start block data
4300
b15 b8 b7 b0 4351
4350
No.10
Buffer memory
Setting item
address
No.2 Condition identifier
No.1 Setting item Buffer memory
address 4490
Buffer memory
Setting item
address
Condition identifier
b15 b12 b11 b8 b7 b0 4410 4491
Axis 1 condition data
10 - 4
10 ADVANCED POSITIONING CONTROL
MELSEC-A
Set in AD75 the "start block data" and "condition data" corresponding to the following
"block Nos. 7001 to 7010" using the AD75 software package. (The following drawing
shows an example for axis 1.)
b15 b8 b7 b0 b15 b8 b7 b0
Da11 Start positioning data No. Da11 Start positioning data No.
Da10 Shape Da10 Shape
b15 b8 b7 b0 b15 b8 b7 b0
No.10 No.10
Da15 Condition Da14 Condition target Da15 Condition Da14 Condition target
operater operater
Open Open
Open Open
7001 7010
* Setting is only possible when the AD75 software package is used.
(Same for axis 2 and axis 3.)
10 - 5
10 ADVANCED POSITIONING CONTROL
MELSEC-A
STEP 2 Set the start block data corresponding to each control. * The 50 "start block data" points from 1 to 50 points
Refer to Section 10.3 ( Da. 10 to Da. 13 ) × required data amount. can be set.
STEP 4 Create a sequence program in which "7000"*is set in * The AD75 recognizes that the control is advanced
Refer to Section 10.5 the " Cd. 11 Positioning start No." (Control data setting) positioning control using "start block data" by the
"7000" designation.
Create a sequence program in which the "start block Use the GPP function software package to create a
data point No. to be started" (1 to 50) is set in the sequence program to execute the "advanced
" Cd. 31 Positioning start point No." (Control data setting) positioning control".
(Set the control data in the AD75 buffer memory using
Create a sequence program in which the "positioning a TO command.)
start signal" is turned ON by a positioning start command.
Stopping the control STEP 8 * Same procedure as for the "main positioning control" stop.
Stop when control is completed
Refer to Section 6.5.6
Control termination
REMARK
* (1) One set of "start block data (50 points)" and "condition data (10 items)
corresponding to "7000" is set with a sequence program.
(2) Eleven sets of data from "7000" to "7010" can be set when the AD75 software
package is used. If the AD75 software package is used to set the "start block
data" and "condition data" corresponding to "7001" to "7010" and write the
data to the AD75, "7001" to "7010" can be set in " Cd.11 Positioning start
No." in STEP 4.
10 - 6
10 ADVANCED POSITIONING CONTROL
MELSEC-A
The "start block data" must be set to carry out "advanced positioning control". The
setting requirements and details of each "start block data" item to be set differ
according to the " Da.12 Special start command" setting.
The following shows the "start block data" setting items corresponding to various
control methods. The operation details of each control type are explained starting in
section 10.3.2. Also refer to section "10.4 Setting the condition data" for details on
"condition data" with which control execution is judged.
(The "start block data" settings in this chapter are assumed to be carried out using the
AD75 software package.)
Advanced positioning Block Repeated
control Simulta- Repeated
start Condition start NEXT
Wait start neous Stop start
Start block data (Normal start (FOR start *
start (FOR loop)
setting items start) condition)
0 : End
Da.10 Shape
1 : Continue
No. of Condition
Da.13 Parameter – Condition data No. – –
repetitions data No.
* The "NEXT start" command is used in combination with "repeated start (FOR loop)" and "repeated start (FOR
condition)". Control using only the "NEXT start" will not be carried out.
REMARK
It is recommended that the "start block data" be set whenever possible with the
AD75 software package. Execution by sequence program uses many sequence
programs and devices. The execution becomes complicated, and the scan times will
increase.
10 - 7
10 ADVANCED POSITIONING CONTROL
MELSEC-A
In a "block start (normal start)", the positioning data groups of a block are continuously
executed in a set sequence starting from the positioning data set in " Da.11 Start data
No." by one start.
Section [2] shows a control example where the "start block data" and "positioning data"
are set as shown in section [1].
REMARK
Block * :
"1 block" is defined as all the data continuing from the positioning data in which
"continuous positioning control" or "continuous path control" is set in the operation
pattern ( Da.1 ) to the positioning data in which "independent positioning control
(Positioning complete)" is set.
10 - 8
10 ADVANCED POSITIONING CONTROL
MELSEC-A
<1> The positioning data is executed in the following order before stopping.
Axis 1 positioning data No. 1 2 3 4 5 6 10 15.
Operation pattern
Positioning data No.
3(01) *1 *1
1(00) 4(00)
2(11) 10(00)
Address(+)
t
Address(-) *1 *1 5(11)
6(00)
*1 15(00)
*1
ON
Positioning start signal OFF ON
[Y10,Y11,Y12]
Start complete signal OFF ON
[X1,X2,X3]
BUSY signal [X4,X5,X6] OFF ON
Positioning complete signal OFF
[X7,X8,X9]
*1 Dwell time of corresponding positioning data
10 - 9
10 ADVANCED POSITIONING CONTROL
MELSEC-A
In a "condition start", the "condition data" conditional judgment designated in " Da.13
Parameter" is carried out for the positioning data set in " Da.11 Start data No.". If the
conditions have been established, the "start block data" set in "1: condition start" is
executed. If the conditions have not been established, that "start block data" will be
ignored, and the "start block data" of the next point will be executed.
Section (2) shows a control example where the "start block data" and "positioning data"
are set as shown in section (1).
* The "condition data Nos." have been set in " Da.13 Parameter".
10 - 10
10 ADVANCED POSITIONING CONTROL
MELSEC-A
In a "wait start", the "condition data" conditional judgment designated in " Da.13
Parameter" is carried out for the positioning data set in " Da.11 Start data No.". If the
conditions have been established, the "start block data" is executed. If the conditions
have not been established, the control stops (waits) until the conditions are
established.
Section (2) shows a control example where the "start block data" and "positioning data"
are set as shown in section (1).
* The "condition data Nos." have been set in " Da.13 Parameter".
10 - 11
10 ADVANCED POSITIONING CONTROL
MELSEC-A
In a "simultaneous start", the positioning data set in the " Da.11 Start data No." and
positioning data of other axes set in the "condition data" are simultaneously executed
(Outputs position/speed commands at the same timing).
(The "condition data" is designated with " Da.13 Parameter".)
Section (2) shows a control example where the "start block data" and "positioning data"
are set as shown in section (1).
(1) Setting examples
(a) Start block data setting example
Axis 1 start Da.11 Da.12 Special Da.13
Da.10 Shape
block data Start data No. start command Parameter
1st point 1: Continue 1 3: Simultaneous start 4
2nd point 1: Continue 10 3: Simultaneous start 5
3rd point 0: End 50 3: Simultaneous start 6
•
•
* It is assumed that the "axis 2 positioning data" for simultaneous starting is set in the
"condition data" designated with " Da.13 Parameter".
(b) Positioning data setting example
Axis 1 position-
Da.1 Operation pattern
ing data No.
1 01: Continuous positioning control
2 01: Continuous positioning control
3 00: Positioning complete
•
10 11: Continuous path control
11 11: Continuous path control
12 00: Positioning complete
•
50 00: Positioning complete
•
10 - 12
10 ADVANCED POSITIONING CONTROL
MELSEC-A
10.3.6 Stop
In a "stop", the control is stopped with the "start block data" set in "4: stop".
The control after the point in which the "stop" is set can be restarted by issuing a
" Cd.13 Restart command".
Section (2) shows a control example where the "start block data" and "positioning data"
are set as shown in section (1).
10 - 13
10 ADVANCED POSITIONING CONTROL
MELSEC-A
In a "repeated start (FOR loop)", the data between the "start block data" in which "5:
FOR loop" is set in " Da.12 Special start command" and the "start block data" in which
"7: NEXT start" is set in " Da.12 Special start command" is repeatedly executed for the
No. of times set in " Da.13 Parameter". An endless loop will result if the No. of
repetitions is set to "0", and the data between "5: FOR loop" and "7: NEXT start" will be
repeated until the control is stopped by a "stop command".
(The No. of repetitions is set in " Da.13 Parameter" of the "start block data" in which
"5: FOR loop" is set in " Da.12 Special start command".)
Section (2) shows a control example where the "start block data" and "positioning data"
are set as shown in section (1).
10 - 14
10 ADVANCED POSITIONING CONTROL
MELSEC-A
In a "repeated start (FOR condition)", the data between the "start block data" in which
"6: FOR condition" is set in " Da.12 Special start command" and the "start block data"
in which "7: NEXT start" is set in " Da.12 Special start command" is repeatedly
executed until the establishment of the conditions set in the "condition data".
(The "condition data" designation is set in " Da.13 Parameter" of the "start block data"
in which "6: FOR condition" is set in " Da.12 Special start command".)
Section (2) shows a control example where the "start block data" and "positioning data"
are set as shown in section (1).
10 - 15
10 ADVANCED POSITIONING CONTROL
MELSEC-A
The "NEXT start" is a command indicating the end of the repetitions when executing
section "10.3.7 Repeated start (FOR loop)" and section "10.3.8 Repeated start (FOR
condition)".
The following shows the restrictions when setting "7: NEXT start" in the "start block
data".
(1) The processing when "7: NEXT start" is set before execution of "5: FOR loop" or
"6: FOR condition" is the same as that for a "0: normal start".
(2) Repeated processing will not be carried out if there is no "7: NEXT start"
command after the "5: FOR loop" or "6: FOR condition" command. (Note that an
"error" will not occur.)
(3) Nesting is not possible between "5: FOR loop" and "7: NEXT start", or between
"6: FOR condition" and "7: NEXT start". A warning "FOR to NEXT nesting
structure" (warning code: 506) will occur if nesting is attempted.
[Operating examples without nesting structure] [Operating examples with nesting structure]
Da.12 Special start Da.12 Special start
Start block data Start block data
command command
1st point Normal start 1st point Normal start
2nd point FOR 2nd point FOR
3rd point Normal start 3rd point Normal start
4th point NEXT 4th point FOR
5th point Normal start 5th point Normal start
6th point Normal start 6th point Normal start
7th point FOR 7th point NEXT
8th point Normal start 8th point Normal start
9th point NEXT 9th point NEXT
• •
• •
A warning will occur when starting the 4th
point "FOR".
The JUMP destination of the 7th point "NEXT"
is the 4th point. The 9th point "NEXT" is
processed as normal start.
10 - 16
10 ADVANCED POSITIONING CONTROL
MELSEC-A
(1) When setting conditions during execution of section "9.2.11 JUMP command"
(main positioning control)
(2) When setting conditions during execution of "advanced positioning control"
The "condition data" to be set includes the 5 setting items from Da.14 to Da.18 , but
the setting requirements and details differ according to the control methods and setting
conditions.
The following shows the "condition data" " Da.14 Condition target" corresponding to
the different types of control.
(The "condition data" settings in this chapter are assumed to be carried out using the
AD75 software package.)
Control type Main positioning
Advanced positioning control
control
Da.14 Simultaneous Repeated start
Block start Wait start JUMP command
setting item start (For condition)
01H: Device X
02H: Device Y
03H: Buffer memory
(1 word)
04H: Buffer memory
(2 words)
05H: Positioning
data No.
: One of the setting items must be set.
: Setting not possible
REMARK
It is recommended that the "condition data" be set whenever possible with the AD75
software package. Execution by sequence program uses many sequence programs
and devices. The execution becomes complicated, and the scan times will increase.
10 - 17
10 ADVANCED POSITIONING CONTROL
MELSEC-A
The setting requirements and details of the following "condition data" Da.15 to
Da.18 setting items differ according to the " Da.14 Condition target" setting.
The following shows the Da.15 to Da.18 setting items corresponding to the " Da.14
Condition target".
Other setting item
Da.15 Da.16
Da.17 Parameter 1 Da.18 Parameter 2
Da.14 Condition operator Address
setting item
01H: Device X 07H : DEV=ON 0H to FH (bit No.)
– –
02H: Device Y 08H : DEV=OFF 10H to 1FH (bit No.)
03H: Buffer memory 01H : =P1
(1 word) 02H : ≠ P1
Buffer P2 (numeric value)
03H : ≤P1
memory P1 (numeric value) (Set only when Da.15 is
04H: Buffer memory 04H : ≥P1 address [05H] or [06H].)
(2 words) 05H : P1≤ ≤P2
06H : ≤P1 , P2 ≤
09H : Axis 1 designation
0AH : Axis 2 designation Low-order Axis 1 positioning Low-order Axis 3 positioning
0BH : Axis 1 and axis 2 16 bits data No. 16 bits data No.
designation
05H: Positioning data
0CH : Axis 3 designation —
No.
0DH : Axis 1 and axis 3
designation High-order Axis 2 positioning High-order
–
0EH : Axis 2 and axis 3 16 bits data No. 16 bits
designation
– : Setting not required (Setting value will be ignored. Use the initial value or a value within the setting range.)
: Value stored in buffer memory designated in Da.16 .
REMARK
The "PLC CPU memory area" can be designated as the buffer memory address to
be designated in " Da.16 ". (Refer to section "7.1.1 Configuration and roles of AD75
memory".)
AD75 buffer memory
Address 5050
5051
5099
10 - 18
10 ADVANCED POSITIONING CONTROL
MELSEC-A
[Condition]
The value stored in buffer memory addresses "800, 801" (=" Md.29 Current
feed value") is "1000" or larger.
Da.15
Da.14 Da.16 Da.17 Da.18
Condition
Condition target Address Parameter 1 Parameter 2
operator
04H: Buffer memory
03H: ≤ P1 800 1000 –
(2 words)
[Condition]
Simultaneously starting "axis 2 positioning data No.3".
Da.15
Da.14 Da.16 Da.17 Da.18
Condition
Condition target Address Parameter 1 Parameter 2
operator
05H: Positioning 0AH: Axis 2 High-order 16
– –
data No. designation bits "0003H"
10 - 19
10 ADVANCED POSITIONING CONTROL
MELSEC-A
The following shows the procedure for starting the "1st point start block data"
(regarded as block No. 7000) set in axis 1.
AD75
Buffer memory Servo amplifier
4)
Control by designated
1) positioning data
7000
2) 1150
1
PLC CPU 1178
3)
ON
Input/output signal
10 - 20
10 ADVANCED POSITIONING CONTROL
MELSEC-A
The following shows an example of a start program for advanced positioning control in
which the 1st point "start block data" of axis 1 is started. (The block No. is regarded as
"7000".)
* Refer to section "5.7 List of control data" for details on the setting details.
Start conditions
The following conditions must be fulfilled when starting the control. The required
conditions must also be integrated into the sequence program, and configured so
the control does not start unless the conditions are fulfilled.
Device
Signal name Signal state
Axis 1 Axis 2 Axis 3
All axes servo ON signal ON Servo operation possible Y15
PLC READY signal ON PLC CPU preparation completed Y1D
AD75 READY signal OFF AD75 preparation completed X0
Interface Axis stop signal OFF Axis stop signal is OFF Y13 Y14 Y1C
signal Start complete signal OFF Start complete signal is OFF X1 X2 X3
BUSY signal OFF BUSY signal is OFF X4 X5 X6
Error detection signal OFF There is no error XA XB XC
M code ON signal OFF M code ON signal is OFF XD XE XF
Stop signal OFF Stop signal is OFF –
External
Upper limit (FLS) ON Within limit range –
signal
Lower limit (RLS) ON Within limit range –
Monitor Md.116 Servo
Servo ON ON Servo ON is ON
data status:b1
10 - 21
10 ADVANCED POSITIONING CONTROL
MELSEC-A
V
Operation pattern Dwell time Dwell time
Fig. 10.3 Start time chart for advanced positioning control (block start)
10 - 22
10 ADVANCED POSITIONING CONTROL
MELSEC-A
Example
Positioning
start
command
M104 Y10 X1
TO H0 K1150 K7000 K1 Write the positioning data No. 7000
for block positioning.
10 - 23
10 ADVANCED POSITIONING CONTROL
MELSEC-A
MEMO
10 - 24
Chapter 11
MANUAL CONTROL
The details and usage of manual control are explained in this chapter.
In manual control, pulse output commands are issued during a JOG operation executed
by the turning ON of the JOG START signal, or from a manual pulse generator
connected to the AD75.
Manual control using a sequence program from the PLC CPU is explained in this chapter.
Refer to the AD75 Software Package Operating Manual for an explanation of manual
control (JOG operation, manual pulse generator operation) using the AD75 software
package.
11 - 1
11 MANUAL CONTROL
MELSEC-A
"Manual control" refers to control in which positioning data is not used, and a
positioning operation is carried out in response to signal input from an external source.
The two types of this "manual control" are explained below.
ON
OFF
JOG START signal
AD75 M
Pulse input
11 - 2
11 MANUAL CONTROL
MELSEC-A
11 - 3
11 MANUAL CONTROL
MELSEC-A
Important
Use the hardware stroke limit function when carrying out JOG operation near the
upper or lower limits. (Refer to section 12.4.4).
* If the hardware stroke limit function is not used, the workpiece may exceed the
operating range, causing an accident.
JOG operation
In JOG operation, the Forward run JOG start signal (Y16, Y18, Y1A) or Reverse
run JOG start signal (Y17, Y19, Y1B) turns ON, causing position/speed commands
to be output to the servo amplifier from the AD75 while the signal is ON. The
workpiece is then moved in the designated direction.
The following shows examples of JOG operation.
When the START signal turns ON, acceleration begins in the direction designated by the
START signal, and continues for the acceleration time designated in " Pr.33 JOG
1)
operation acceleration time selection". At this time, the BUSY signal changes from OFF to
ON.
When the workpiece being accelerated reaches the speed set in " Cd.19 JOG speed",
2) the movement continues at this speed.
Constant speed operation takes place at 2) and 3).
When the START signal is turned OFF, deceleration begins from the speed set in
3) " Cd.19 JOG speed", and continues for the deceleration time designated in " Pr.34 JOG
operation deceleration time selection".
The operation stops when the speed becomes 0. At this time, the BUSY signal changes
4)
from ON to OFF.
1) 2) 3) 4)
Reverse JOG run
ON
PLC READY signal [Y1D] OFF
11 - 4
11 MANUAL CONTROL
MELSEC-A
V
JOG operation
ON
Upper/lower
limit signal OFF
11 - 5
11 MANUAL CONTROL
MELSEC-A
ON
Position/speed command
Positioning operation
• Delays may occur in the t1 timing time due to the following factors.
1) Whether a FROM/TO command is issued during start processing.
2) The operation status of other axes.
3) Whether there is intervention from a peripheral device during start
processing.
4) Details of the positioning data to be started.
11 - 6
11 MANUAL CONTROL
MELSEC-A
* Using the GPP function software package, set the control data
STEP 2 Set the " Cd. 19 JOG speed". and create a sequence program for executing the JOG operation.
(Control data setting) (Set the control data in the AD75 buffer memory using the TO
Refer to section command.)
11.2.4.
Create a sequence program in which the "JOG start
signal" is turned ON by a JOG operation start command.
STEP 6 * Stop the JOG operation when the JOG start signal is turned
JOG operation Turn OFF the JOG operation start signal that is ON. OFF using the sequence program in STEP 2.
stop
End of control
REMARK
• Mechanical elements such as limit switches are considered as already installed.
• Parameter settings work in common for all control using the AD75.
11 - 7
11 MANUAL CONTROL
MELSEC-A
REMARK
• Parameter settings work in common for all control using the AD75. When carrying
out other control ("main positioning control", "advanced positioning control", "zero
point return positioning control"), the respective setting items must also be
matched and set.
• Parameters are set for each axis.
• Refer to "Chapter 5 DATA USED FOR POSITIONING CONTROL" for setting
details.
11 - 8
11 MANUAL CONTROL
MELSEC-A
11 - 9
11 MANUAL CONTROL
MELSEC-A
* Refer to section "5.7 List of control data" for details on the setting details.
Start conditions
The following conditions must be fulfilled when starting. The required conditions
must also be assembled in the sequence program, and the sequence program
must be configured so the operation will not start if the conditions are not fulfilled.
Device
Signal name Signal state
Axis 1 Axis 2 Axis 3
All axes servo ON signal ON Servo operation possible Y15
PLC READY signal ON PLC CPU preparation completed Y1D
AD75 READY signal OFF AD75 preparation completed X0
Interface Axis stop signal OFF Axis stop signal is OFF Y13 Y14 Y1C
signal Start complete signal OFF Start complete signal is OFF X1 X2 X3
BUSY signal OFF BUSY signal is OFF X4 X5 X6
Error detection signal OFF There is no error XA XB XC
M code ON signal OFF M code ON signal is OFF XD XE XF
Stop signal OFF Stop signal is OFF –
External
Upper limit (FLS) ON Within limit range –
signal
Lower limit (RLS) ON Within limit range –
Monitor Md.116 Servo
Servo ON ON Servo ON is ON
data status:b1
11 - 10
11 MANUAL CONTROL
MELSEC-A
Forward
JOG run
t
Reverse JOG run
ON
Forward run JOG start signal [Y16] OFF
ON
Reverse run JOG start signal [Y17] OFF
ON
PLC READY signal [Y1D] OFF
AD75 READY signal [X0] ON
OFF
ON
OFF
BUSY signal [X4]
OFF
Error detection signal [XA]
11 - 11
11 MANUAL CONTROL
MELSEC-A
*
* No. 12 JOG operation program
*
11 - 12
11 MANUAL CONTROL
MELSEC-A
ON
PLC READY signal [Y1D] OFF
ON
AD75 READY signal [X0] OFF
ON
Forward run JOG start signal OFF
[Y16, Y18, Y1A]
ON
Axis stop signal OFF
[Y13, Y14, Y1C]
ON
BUSY signal [X4, X5, X6] OFF
Fig. 11.6 Operation when the stop signal is turned ON during JOG operation
POINT
The AD75 will not receive a "JOG start signal" while the "stop signal" is ON.
11 - 13
11 MANUAL CONTROL
MELSEC-A
When both the "forward run JOG start signal" and "reverse run JOG start
signal" are turned ON simultaneously for one axis
When both the "forward run JOG start signal" and "reverse run JOG start signal"
are turned ON simultaneously for one axis, the "forward run JOG start signal" is
given priority. In this case, the "reverse run JOG start signal" is validated when the
AD75 BUSY signal is turned OFF.
ON
Forward run JOG start signal OFF
[Y16, Y18, Y1A]
ON
OFF
Reverse run JOG start signal
[Y16, Y18, Y1B]
ON
BUSY signal [X4, X5, X6]
OFF
Fig. 11.7 Operation when both the forward run JOG start signal and reverse run JOG start signal are
turned ON simultaneously
11 - 14
11 MANUAL CONTROL
MELSEC-A
When the "JOG start signal" is turned ON again during deceleration caused
by the ON OFF of the "JOG start signal"
When the "JOG start signal" is turned ON again during deceleration caused by the
ON OFF of the "JOG start signal", the JOG operation will be carried out from the
time the "JOG start signal" is turned ON.
ON
Forward JOG start
OFF
signal [Y16, Y18, Y1A]
ON
BUSY signal
[X4, X5, X6] OFF
Fig. 11.8 Operation when the JOG start signal is turned ON during deceleration
When the "JOG start signal" is turned ON during a peripheral device test
mode
When the "JOG start signal" is turned ON during a peripheral device test mode, it
will be ignored and the JOG operation will not be carried out.
ON
In test mode OFF
ON
Fig. 11.9 Operation when the JOG start signal is turned ON during a test mode
11 - 15
11 MANUAL CONTROL
MELSEC-A
When the "JOG start signal" is turned ON immediately after the stop signal
OFF (within 56.8ms)
When the "JOG start signal" is turned ON immediately after the stop signal OFF
(within 56.8ms), it will be ignored and the JOG operation will not be carried out.
ON
Fig. 11.10 Operation when the JOG start signal is turned ON immediately after the stop signal OFF
11 - 16
11 MANUAL CONTROL
MELSEC-A
Important
Create the sequence program so that " Cd.22 Manual pulse generator enable flag"
is always set to "0" (disabled) when a manual pulse generator operation is not
carried out.
* Mistakenly touching the manual pulse generator when the manual pulse
generator enable flag is set to "1" (enable) can cause accidents or incorrect
positioning.
Manual pulse
generator
operation stops *1
t
1) 2) 3) 4)
Cd 22 Manual pulse
generator enable flag 0 1 0
ON
BUSY signal [X4, X5, Y6] OFF
Manual pulse
generator input
[Precautions]
*1 When the input from the manual pulse generator stops, the output of the position/speed command
to the servo amplifier is completed with a delay of one control cycle time (120 to 180ms).
*2 The start complete signal does not turn ON in manual pulse generator operation.
11 - 17
11 MANUAL CONTROL
MELSEC-A
Restricted items
A manual pulse generator is required to carry out manual pulse generator
operation.
REMARK
• One AD75 module can be connected to each manual pulse generator axis.
• The AD75 module can simultaneously output position/speed commands to the axis
1 to axis 3 servo amplifiers units by one manual pulse generator.
(1-axis to 3-axis simultaneous operation is possible.)
V
Manual pulse
generator operation
ON
Upper/lower
limit signal OFF
11 - 18
11 MANUAL CONTROL
MELSEC-A
Positioning start complete The start complete signal does not turn ON in manual pulse generator operation.
signal [X1, X2, X3]
Md. 35 Axis operation status Standing by In manual pulse generator operation Standing by
t2
Position/speed command
Positioning operation
Fig. 11.12 Manual pulse generator operation timing and processing times
• Delays may occur in the t1 timing time due to the following factors.
1) Whether a FROM/TO command is issued during start processing.
2) The operation status of other axes.
3) Whether there is intervention from a peripheral device during processing
the start process.
4) Details of the positioning data to be started.
11 - 19
11 MANUAL CONTROL
MELSEC-A
*: When the manual pulse generator input frequency changes, the new frequency will
apply after a maximum of 180ms delay.
11 - 20
11 MANUAL CONTROL
MELSEC-A
The manual pulse generator operation is carried out by the following procedure.
Preparation STEP 1 Set the parameters * One of the following two methods can be used.
)
Pr.1 to Pr.23 , Pr.100 to Pr.109 <Method 1>
Refer to Chapter 5
and section 11.3.3. Directly set (write) the parameters in the AD75 using the
AD75 software package.
<Method 2>
Set (write) the parameters from the PLC CPU to the AD75
using the sequence program (TO command).
Manual pulse STEP 4 Issue a command to enable the manual pulse generator * Write "1" in " Cd.22 Manual pulse generator enable
generator operation operation, and input the signals from the manual pulse
generator.
flag", and operate the manual pulse generator.
start
Monitoring of the STEP 5 * One of the following two methods can be used.
manual pulse Monitor the manual pulse generator operation. <Method 1>
generator operation Monitor using the AD75 software package.
<Method 2>
Monitor using the GPP function software package.
Manual pulse STEP 6 * Stop operating the manual pulse generator, and write "0"
End the input from the manual pulse generator,
generator operation and issue a command to disable the manual pulse in " Cd. 22 Manual pulse generator enable flag".
stop
End of control
REMARK
• Mechanical elements such as limit switches are considered as already installed.
• Parameter settings work in common for all control using the AD75.
11 - 21
11 MANUAL CONTROL
MELSEC-A
11.3.3 Setting the required parameters for manual pulse generator operation
The "Parameters" must be set to carry out manual pulse generator operation.
The following table shows the setting items of the required parameters for carrying out
manual pulse generator operation. When only manual pulse generator operation will
be carried out, no parameters other than those shown below need to be set. (Use the
initial values or setting values within a range where no error occurs for trouble-free
operation.)
Factory-set initial value
Setting item Setting requirement
(setting details)
Pr.1 Unit setting 3 (pulse)
Pr.2 No. of pulses per rotation (Ap) (Unit: pulse) 20000
Pr.3 Movement amount per rotation (Al) (Unit: pulse) 20000
Pr.4 Unit magnification (Am) 1 (1-fold)
Pr.12 Backlash compensation amount (Unit: pulse) 0
Pr.13 Software stroke limit upper limit value (Unit: pulse) 2147483647
Pr.14 Software stroke limit lower limit value (Unit: pulse) –2147483648
Pr.15 Software stroke limit selection 0 (current feed value)
Pr.16 Software stroke limit valid/invalid setting 0 (invalid)
Pr.18 Torque limit setting value (Unit: pulse) 300
Axis 1 = 1, axis 2 = 2,
Pr.23 Manual pulse generator selection
axis 3 = 3
Parameters
REMARK
• Parameter settings work in common for all control using the AD75. When carrying
out other control ("main positioning control", "advanced positioning control", "zero
point return positioning control"), the respective setting items must also be
matched and set.
• Parameters are set for each axis.
• Refer to "Chapter 5 DATA USED FOR POSITIONING CONTROL" for setting
details.
11 - 22
11 MANUAL CONTROL
MELSEC-A
* Refer to section "5.7 List of control data" for details on the setting details.
11 - 23
11 MANUAL CONTROL
MELSEC-A
Forward run
Reverse run
11 - 24
11 MANUAL CONTROL
MELSEC-A
Example
*
* No.13 Manual pulse generator operation program
*
11 - 25
11 MANUAL CONTROL
MELSEC-A
MEMO
11 - 26
Chapter 12
The details and usage of the "auxiliary functions" added and used in combination with
the main functions are explained in this chapter.
A variety of auxiliary functions are available, including functions specifically for machine
zero point returns and generally related functions such as control compensation, etc.
More appropriate, finer control can be carried out by using these auxiliary functions.
Each auxiliary function is used together with a main function by creating matching
parameter settings and sequence programs. Read the execution procedures and
settings for each auxiliary function, and set as required.
12 - 1
12 CONTROL AUXILIARY FUNCTIONS
MELSEC-A
"Auxiliary functions" are functions that compensate, limit, add functions, etc., to the
control when the main functions are executed. These auxiliary functions are executed
by parameter settings, commands from the AD75 software package, auxiliary function
sequence programs, etc.
12 - 2
12 CONTROL AUXILIARY FUNCTIONS
MELSEC-A
12 - 3
12 CONTROL AUXILIARY FUNCTIONS
MELSEC-A
The auxiliary functions specifically for machine zero point returns include the "zero
point retry function" and "zero point shift function". Each function is executed by
parameter setting.
When the workpiece goes past the zero point without stopping during positioning
control, it may not move back in the direction of the zero point although a machine zero
point return is commanded, depending on the workpiece position. This normally means
the workpiece has to be moved to a position before the near-point dog by a JOG
operation, etc., to start the machine zero point return again. However, by using the
zero point return retry function, a machine zero point return can be carried out
regardless of the workpiece position.
The details shown below explain about the "zero point return retry function".
(1) Control details
(2) Precautions during control
(3) Setting the zero point return retry function
1) The movement starts in the " Pr.46 Zero point return direction" by a machine zero point return start.
2) The operation decelerates when the limit signal OFF is detected.
3) After stopping due to the limit signal OFF detection, the operation moves at the " Pr.48 Zero point return
speed" in the opposite direction of the " Pr.46 Zero point return direction".
4) The operation decelerates when the near-point dog turns OFF.
5) After stopping due to the near-point dog OFF, a machine zero point return is carried out in the " Pr.46
Zero point return direction".
6) The movement stops at the zero point, completing the machine zero point return.
2)
5) 1)
6) 3)
4)
Zero point
Fig. 12.1 Zero point return retry operation by limit signal detection
12 - 4
12 CONTROL AUXILIARY FUNCTIONS
MELSEC-A
(b) Zero point return retry operation when the workpiece is outside the range
between the upper and lower limits.
1) When the direction from the workpiece to the zero point is the same as the " Pr.46 Zero point
return direction", a normal machine zero point return is carried out.
Zero point
Movement range
2) When the direction from the workpiece to the zero point is the opposite direction from the
" Pr.46 Zero point return direction", the operation carries out a deceleration stop when the near-
point dog turns OFF, and then carries out a machine zero point return in the direction set in
" Pr.46 Zero point return direction".
Zero point
Zero point
Movement range
Fig. 12.2 Zero point return retry operation from on limit (limit signal OFF)
12 - 5
12 CONTROL AUXILIARY FUNCTIONS
MELSEC-A
(c) Zero point return retry operation performed when the zero point is not
passed in the near-point dog method
1) The machine starts moving in the " Pr.46 Zero point return direction" by a machine zero point
returns start.
2) The machine decelerates to the " Pr.49 Creep speed" when the near-point dog turns ON.
3) The machine decelerates to a stop when the near-point dog turns OFF.
4) The machine further moves in the " Pr.46 Zero point return direction" at the " Pr.48 Zero point
return speed".
5) The machine stops when the upper/lower limit signal turns OFF.
2) 5)
1) 3)
4)
ON Limit signal OFF
Near-point dog
Zero point
1 motor revolution
6) The machine moves at the " Pr.48 Zero point return speed" in the direction opposite to the
" Pr.46 Zero point return direction".
7) The machine stops when the near-point dog turns OFF.
8) A machine zero point return is carried out again. (Zero point return retry operation)
8)
6)
7)
ON Limit signal OFF
Near-point dog
Zero point
Fig. 12. 3 Zero point return retry operation performed when the zero point is not passed in the near-
point dog method
12 - 6
12 CONTROL AUXILIARY FUNCTIONS
MELSEC-A
(d) Setting the dwell time for a zero point return retry
With the zero point return retry function, the dwell time can be set for
reverse run operation started at detection of the upper/lower limit signal and
for a machine zero point return executed after a stop by near-point dog OFF
when a zero point return retry is made.
" Pr.58 Dwell time during zero point return retry" is made valid when the
operation stops in position "A" of the following figure. (The dwell times in
positions A and B are the same values.)
B Zero point A
Stop by near-point
dog OFF Reverse run operation
after limit signal detection
Zero point
Fig. 12.4 Setting the dwell time during a zero point return retry
12 - 7
12 CONTROL AUXILIARY FUNCTIONS
MELSEC-A
(a) The following table shows whether the zero point return retry function may
be executed by the " Pr.45 Zero point return method".
Pr.45 Zero point return method Execution status of zero point return retry function
Near-point dog method : Execution possible*1
Near-point dog method 2) : Execution possible*2
Count method 1) : Execution possible*3
Count method 2) : Execution possible
Count method 3) : Execution possible
Data setting method : Execution not possible
*1: In the case of the AD75 whose software version is "P" or earlier, if the zero point is not
passed between a machine zero point return start and the near-point dog OFF, the machine
decelerates to a stop due to an error "zero point not pass at zero point return" (error code:
210), and the zero point return retry function is not executed.
*2: When the zero point is not passed between a machine zero point return start and the near-
point dog OFF, the operation performed when the zero point is not passed is performed if the
zero point return retry function is made valid.
Refer to section 8.2.4 for the operation of the near-point dog method 2).
*3: If the zero point is not passed between a machine zero point return start and the near-point
dog OFF, the machine decelerates to a stop due to an error "zero point not pass at zero
point return" (error code: 210), and the zero point return retry function is not executed.
(b) Always establish upper/lower limit switches at the upper/lower limit positions
of the machine, and connect an AD75 module. If the zero point return retry
function is used without hardware stroke limit switches, the motor will
continue rotation until a hardware stroke limit signal is detected.
(c) Always wire AD75 upper/lower limit switches even when the zero point
return function is invalidated. Control cannot be carried out with the AD75
unless the wiring is carried out.
(d) Do not carry out settings so that the servo amplifier power turns OFF by the
upper/lower limit switches connected to the AD75. If the servo amplifier
power is turned OFF, the zero point return retry cannot be carried out.
12 - 8
12 CONTROL AUXILIARY FUNCTIONS
MELSEC-A
REMARK
• Parameters are set for each axis.
• It is recommended that the parameters be set whenever possible with the AD75
software package. Execution by sequence program uses many sequence
programs and devices. The execution becomes complicated, and the scan times
will increase.
12 - 9
12 CONTROL AUXILIARY FUNCTIONS
MELSEC-A
When a machine zero point return is carried out, the zero point is normally established
using the near-point dog and zero point. However, by using the zero point shift
function, the machine can be moved a designated movement amount from the position
where the zero point was detected. A mechanically established zero point can then be
interpreted at that point.
The zero point shift function can be used without relation to " Pr.45 Zero point return
method".
The details shown below explain about the "zero point shift function".
(1) Control details
(2) Setting range for the zero point shift amount
(3) Movement speed during zero point shift
(4) Precautions during control
(5) Setting the zero point shift function
Near-point dog
Zero point
12 - 10
12 CONTROL AUXILIARY FUNCTIONS
MELSEC-A
Near-point dog
Lower limit Upper limit
Pr. 46 Zero point return direction
Zero point
Fig. 12.6 Setting range for the zero point shift amount
(a) Zero point shift operation at the " Pr.48 Zero point return speed"
Zero point
Near-point dog
Zero point
Fig. 12.7 Zero point shift operation at the zero point return speed
12 - 11
12 CONTROL AUXILIARY FUNCTIONS
MELSEC-A
(b) Zero point shift operation at the " Pr.49 Creep speed"
Zero point
Zero point
Machine zero point
return start When the " Pr.55 Zero point
shift amount" is negative
Near-point dog
Zero point
REMARK
• Parameters are set for each axis.
• It is recommended that the parameters be set whenever possible with the AD75
software package. Execution by sequence program uses many sequence
programs and devices. The execution becomes complicated, and the scan times
will increase.
12 - 12
12 CONTROL AUXILIARY FUNCTIONS
MELSEC-A
The auxiliary functions for compensating the control include the "backlash
compensation function", "electronic gear function", and "near pass mode function".
Each function is executed by parameter setting or sequence program creation and
writing.
The details shown below explain about the "backlash compensation function".
(1) Control details
(2) Precautions during control
(3) Setting the backlash compensation function
Worm gear
Workpiece
12 - 13
12 CONTROL AUXILIARY FUNCTIONS
MELSEC-A
Setting Factory-set
Setting item Setting details
value initial value
Backlash
Pr.12 compensation Set the backlash compensation amount. 0
amount
* Refer to section "5.2 List of parameters" for setting details.
REMARK
• Parameters are set for each axis.
• It is recommended that the parameters be set whenever possible with the AD75
software package. Execution by sequence program uses many sequence
programs and devices. The execution becomes complicated, and the scan times
will increase.
12 - 14
12 CONTROL AUXILIARY FUNCTIONS
MELSEC-A
The "electronic gear function" adjusts the position and speed commands calculated
and output according to the parameters set in the AD75 with the actual machine
movement amount.
The AD75 automatically carries out the processing for (A), (B) and (C).
The details shown below explain about the "electronic gear function", including the
method for compensating the error in (D) above, etc.
(1) Error compensation method
(2) Relation between the movement amount per pulse and speed
(3) Precautions during control
12 - 15
12 CONTROL AUXILIARY FUNCTIONS
MELSEC-A
(a) Definition
The "error compensation amount" used to carry out the error compensation
is defined as follows.
The AD75 "movement amount per pulse" is calculated with the following
equation.
Movement amount per pulse is "A", Pr.2 No. of pulses per rotation is
(Ap), Pr.3 Movement amount per rotation is (Al), and Pr.4 Unit
magnification is (Am).
Al
A= × Am
Ap
(b) Procedure
1) Set the "command movement amount (L)", and carry out positioning.
(Set the "movement amount per pulse (A)" according to section "5.2
List of parameters".)
2) After positioning, measure the "actual movement amount (L')".
3) Calculate the "error compensation amount".
L'
Error compensation amount =
L
Al L'
= × Am ×
Ap L
Al'
= × Am'
Ap'
(Adjust with Am' so that Al' and Ap' do not exceed the setting range.)
12 - 16
12 CONTROL AUXILIARY FUNCTIONS
MELSEC-A
Calculation example
(Conditions)
Movement amount per pulse : 500 (µm/rev)
No. of pulses per rotation : 12000 (pulse/rev)
Unit magnification :1
(Positioning results)
Command movement amount : 100mm
Actual movement amount : 101mm
(Compensation amount)
5× 10 101× 10
3 3
AL' 5050 101
= × = =
101× 10
3
AP' 12000 12000 240
5) Set the post-compensation " Pr.2 No. of pulses per rotation (Ap')",
" Pr.3 Movement amount per rotation (Al')", and " Pr.4 Unit
magnification (Am')" in the parameters, and write them to the AD75.
The set details are validated at the rising edge (OFF ON) of the
PLC READY signal (Y1D).
Setting Pre-compensation
Setting item Setting details
value value
No. of pulses per
Pr.2 Ap' Set the post-compensation value. Ap
rotation
Movement
Pr.3 amount per Al' Set the post-compensation value. Al
rotation
Unit
Pr.4 Am' Set the post-compensation value. Am
magnification
* Refer to section "5.2 List of parameters" for setting details.
12 - 17
12 CONTROL AUXILIARY FUNCTIONS
MELSEC-A
(2) Relation between the movement amount per pulse and speed
The following shows the relation of the "movement amount per pulse (A)" to the
command speed and actual speed. The command speed is the speed
commanded by each control, and the actual speed is the actual feedrate.
V
Actual speed V'
1)
Command speed V 2)
3)
Fig. 12.10 Relation of the movement amount per pulse to the command speed and actual speed
12 - 18
12 CONTROL AUXILIARY FUNCTIONS
MELSEC-A
(a) If the setting of the movement amount per pulse is less than 1, the
command speed increases, and the actual speed may exceed the speed
limit value ( Pr.7 Speed limit value, Pr.32 JOG speed limit value),
causing the servomotor speed to be overspeed.
(b) If the setting of the movement amount per pulse is less than 1, the
mechanical system may vibrate.
(c) Set the movement amount per pulse that will make the command speed to
the servo amplifier not more than 1Mpps.
If the setting of the command speed to the servo amplifier is more than
1Mpp, the AD75 may operate improperly.
REMARK
In the AD75, the general term for the functions in items (a) to (c) above is defined as
the "electronic gear function". Refer to the User's Manual for the servomotor for the
definition of the "electronic gear" on the servomotor side.
12 - 19
12 CONTROL AUXILIARY FUNCTIONS
MELSEC-A
When carrying out continuous path control using interpolation control, either the
"positioning address pass mode" or the "near pass mode" can be selected by setting
the " Pr.44 Near pass mode selection for path control".
The "near pass mode" can be selected as the "near pass mode function" to suppress
the mechanical vibration occurring during speed changes when carrying out
continuous path control using interpolation control. (Mechanical vibration may occur in
continuous path control due to the dropping of the output speed during speed
changes.)
The details shown below explain about the "near pass mode function".
(1) Control details
(2) Precautions during control
(3) Setting the near pass mode function
REMARK
The "near pass mode function" is added to AD75 software version "G" and
subsequent versions.
12 - 20
12 CONTROL AUXILIARY FUNCTIONS
MELSEC-A
Path of positioning data No.3 Path of positioning data No.3 Path of positioning data No.4
V V
t t
Positioning data No. 3 Positioning data No. 4 Positioning data No. 3 Positioning data No. 4
Fig. 12.11 Paths of the positioning address pass mode and near pass mode
12 - 21
12 CONTROL AUXILIARY FUNCTIONS
MELSEC-A
(a) If the movement amount designated by the positioning data is small when
the continuous path control is executed in the near pass mode, the output
speed may not reach the designated speed.
(b) If continuous path control is carried out in the near pass mode, the output
will suddenly reverse when the reference axis movement direction changes
from the positioning data No. currently being executed to the next
positioning data No.
If the sudden output reversal affects the mechanical system, carry out
control with continuous positioning control.
(When the reference axis movement direction changes in the positioning
address pass mode, the operation automatically decelerates.)
Axis 2
t t
Positioning data Positioning data No.2 Positioning data Positioning data No.2
No. 1 No. 1
t t
Fig. 12.12 Path and output speed of various axes during continuous path control
12 - 22
12 CONTROL AUXILIARY FUNCTIONS
MELSEC-A
(c) When continuous path control of a circular interpolation is being carried out in
the near pass mode, an address in which the extra movement amount is
subtracted from the positioning address of the positioning data currently being
executed is replaced by the starting point address of the next positioning data
No.
Because of this, circular interpolation control cannot be carried out using the
increment system.
Because the starting point address will be replaced, an error "large arc error
deviation" (error code: 506) may occur.
In this case, adjust the " Pr.42 Allowable circular interpolation error width".
Positioning data No.2
starting point address Address designated by positioning data No.1
during the near pass mode
Positioning data No.2
Starting point address of positioning data No.1 Path of positioning data No.2
Starting point address of
positioning data No.2
Follow up processing monitors the rotation amount (real current value) of the motor in
a servo OFF status and reflects it on the current feed value.
Hence, if the servomotor rotates during servo OFF, the servomotor will not rotate by
the droop pulse value at next servo ON, starting positioning at the stopping position.
The following details will be explained for the "follow up processing function".
(1) Processing execution timing
(2) Setting method
ON
All axes servo ON signal [Y15] OFF
Servo error
occurrence
ON
Servo ON/OFF status OFF
12 - 24
12 CONTROL AUXILIARY FUNCTIONS
MELSEC-A
Functions to limit the control include the "speed limit function", "torque limit function",
"software stroke limit", and "hardware stroke limit". Each function is executed by
parameter setting or sequence program creation and writing.
The speed limit function limits the command speed to a value within the "speed limit
value" setting range when the command speed during control exceeds the "speed limit
value".
The details shown below explain about the "speed limit function".
(1) Relation between the speed limit function and various controls
(2) Precautions during control
(3) Setting the speed limit function
(1) Relation between the speed limit function and various controls
The following table shows the relation of the "speed limit function" and various
controls.
Control type Speed limit function Speed limit value
Zero point Machine zero point return control
return
control High-speed zero pint return control
1-axis linear control
2-axis linear interpolation
control
1-axis fixed-dimension Pr.7 Speed limit
Position
feed control value
control
Main 2-axis fixed-dimension
positioning feed control (interpolation)
control 2-axis circular interpolation
control
Speed control
Speed/position changeover control
Other Current value change –
Setting value invalid
control JUMP command –
Pr.32 JOG speed
Manual JOG operation
limit value
control
Manual pulse generator operation Setting not possible.
: Always set
: Setting not possible
– : Setting not required (Setting value is invalid. Use the initial values or setting values
within a range where no error occurs.)
12 - 25
12 CONTROL AUXILIARY FUNCTIONS
MELSEC-A
REMARK
• Parameters are set for each axis.
• It is recommended that the parameters be set whenever possible with the AD75
software package. Execution by sequence program uses many sequence
programs and devices. The execution becomes complicated, and the scan times
will increase.
12 - 26
12 CONTROL AUXILIARY FUNCTIONS
MELSEC-A
The "torque limit function" limits the generated torque to a value within the "torque limit
value" setting range when the torque generated in the servomotor exceeds the "torque
limit value".
The "torque limit function" protects the deceleration function, limits the power of the
operation pressing against the stopper, etc. It controls the operation so that
unnecessary force is not applied to the load and machine.
The details shown below explain about the "torque limit function".
(1) Relation between the torque limit function and various controls
(2) Control details
(3) Precautions during control
(4) Setting the torque limit function
(1) Relation between the torque limit function and various controls
The following table shows the relation of the "torque limit function" and various
controls.
Torque limit
Control type Torque limit value *1
function
Zero point Cd.101 Torque output setting
Machine zero point return control
return value*2,*3
control High-speed zero pint return control
1-axis linear control
2-axis linear interpolation
control
1-axis fixed-dimension
Position
feed control Cd.101 Torque output setting
control
2-axis fixed-dimension value*2
Main
positioning feed control (interpolation)
control 2-axis circular interpolation
control
Speed control
Speed/position changeover control
Other Current value change –
–
control JUMP command –
Manual JOG operation Cd.101 Torque output setting
control Manual pulse generator operation value*2
Various operations
*: Since the " Cd.101 Torque output setting value" is greater than the " Pr.18 Torque limit setting value", the torque is limited at the " Pr.18 Torque limit setting value".
(a) When limiting the torque at the " Cd.101 Torque output setting value",
confirm that the " Cd.30 New torque value" is set to "0". If this axis control
data is set to a value other than "0", the " Cd.30 New torque value" will be
validated, and the torque will be limited at that value. (Refer to section
"12.5.4 Torque change function" for details of the "new torque value".)
(b) When the operation is stopped by torque limiting, the droop pulses will
remain in the deviation counter. When the load torque is eliminated,
operation for the amount of droop pulses will be carried out.
12 - 28
12 CONTROL AUXILIARY FUNCTIONS
MELSEC-A
* Refer to section "5.2 List of parameters" and "5.7 List of control data" for setting details.
(b) The "torque limit value" set in the AD75 is transferred to the servo amplifier
at a start of the corresponding control to limit the torque.
REMARK
• Parameters are set for each axis.
• It is recommended that the parameters be set whenever possible with the AD75
software package. Execution by sequence program uses many sequence
programs and devices. The execution becomes complicated, and the scan times
will increase.
12 - 29
12 CONTROL AUXILIARY FUNCTIONS
MELSEC-A
In the "software stroke limit function" the address established by a machine zero point
return is used to set the upper and lower limits of the moveable range of the workpiece.
Movement commands issued to addresses outside that setting range will not be
executed.
In the AD75, the "current feed value" and "machine feed value" are used as the
addresses indicating the current position. However, in the "software stroke limit
function", the address used to carry out the limit check is designated in the " Pr.15
Software stroke limit selection". (Refer to section "9.1.4 Confirming the current value"
or details on the "current feed value" and "machine feed value".)
The upper and lower limits of the moveable range of the workpiece are set in " Pr.13
Software stroke limit upper limit value"/ " Pr.14 Software stroke limit lower limit value".
The details shown below explain about the "software stroke limit function".
(1) Differences in the moveable range when "current feed value" and "machine feed
value" are selected.
(2) Software stroke limit check details
(3) Relation between the software stroke limit function and various controls
(4) Precautions during software stroke limit check
(5) Setting the software stroke limit function
(6) Invalidating the software stroke limit
(7) Setting when the control unit is "degree"
(1) Differences in the moveable range when "current feed value" and
"machine feed value" are selected.
The following drawing shows the moveable range of the workpiece when the
software stroke limit function is used.
Software stroke limit (lower limit) Software stroke limit (upper limit)
12 - 30
12 CONTROL AUXILIARY FUNCTIONS
MELSEC-A
The following drawing shows the differences in the operation when " Md.29
Current feed value" and " Md.30 Machine feed value" are used in the moveable
range limit check.
[Conditions]
Assume the current stop position is 2000, and the upper stroke limit is set to 5000.
Moveable range
Fig. 12.16 Software stroke limits of the current feed value and machine feed value
POINT
When "machine feed value" is set in " Pr.15 Software stroke limit selection", the
moveable range becomes an absolute range referenced on the zero point. When
"current feed value" is set, the moveable range is the relative range from the
"current feed value".
12 - 31
12 CONTROL AUXILIARY FUNCTIONS
MELSEC-A
*1 Check whether the " Md.29 Current feed value" or " Md.30 Machine feed value" is set in
" Pr.15 Software stroke limit selection".
*2 Moveable range from the " Pr.13 Software stroke limit upper limit value" to the " Pr.14
Software stroke limit lower limit value".
(3) Relation between the software stroke limit function and various
controls
Limit
Control type Processing at check
check
Zero point Machine zero point return control –
Check not carried out.
return control High-speed zero pint return control –
1-axis linear control
2-axis linear interpolation
control
Position 1-axis fixed-dimension feed Checks 1) and 2) in the previous section (2) are carried
control out.
control
2-axis fixed-dimension feed For position control: The axis comes to an immediate
control (interpolation) stop when it exceeds the software
Main 2-axis circular interpolation stroke limit range.
positioning control
control Speed control *3, 4
Speed/position changeover control *3, 4
When the current value is changed, an error will not occur
even if the new address is outside the software stroke
Other Current value change – limit range. However, an error "start outside stroke limit
control +/-" (error code: 507/508) will occur at the next operation
start.
JUMP command – Check not carried out.
5 Check 1) in the previous section (2) is carried out.
JOG operation *
The machine will carry out a deceleration stop when the
Manual software stroke limit range is exceeded. If the address is
control Manual pulse generator operation *5 outside the software stroke limit range, the operation can
only be started toward the moveable range after the error
is reset.
: Check valid
: Check only carried out at start. (If "current feed value" is set in the " Pr.15 Software stroke limit selection", the
check will not be carried out when the Pr.22 Current feed value is updated.)
– : Check not carried out (check invalid).
: Valid only when "valid" is set in the " Pr.16 Software stroke limit valid/invalid setting".
*3 : The value in " Md.29 Current feed value" will differ according to the " Pr.22 Current feed value during speed
control" setting.
*4 : When the unit is "degree", check is not carried out during speed control.
*5 : When the unit is "degree", check is not carried out.
12 - 32
12 CONTROL AUXILIARY FUNCTIONS
MELSEC-A
Axis 1
* The software stroke limit check is carried out for the following addresses
during circular interpolation control.
Current value/end point address ( Da. 5 )/arc address ( Da. 6 )
(d) If an error is detected during continuous path control, the operation will
immediately stop after the positioning data just before the positioning data
where the error occurred has been executed.
Example
• If the positioning address of positioning data No. 13 is outside the software stroke limit range,
the operation immediately stops after positioning data No. 12 has been executed.
Positioning data
Immediate stop at
error detection No.10
P11
No.11
P11
No.10 No.11 No.12 No.13
No.12
P11
No.13
P11
Md. 35
Axis operation status Controlling position Error occurring No.14
P01
(e) During simultaneous start, a stroke limit check is carried out for the current
values of both axes to be started. Neither axis will start if an error occurs,
even if it only occurs in one axis.
12 - 33
12 CONTROL AUXILIARY FUNCTIONS
MELSEC-A
(For manual operation, set "0: software stroke limit invalid" in the " Pr.16
Software stroke limit valid/invalid setting".)
The set details are validated at the rising edge (OFF ON) of the PLC READY
signal (Y1D).
When the unit is "degree", the software stroke limit check is not performed during
speed control (including speed control in speed/position changeover control) or
during manual control, independently of the values set in Pr.13 , Pr.14 and
Pr.16 .
REMARK
• Parameters are set for each axis.
• It is recommended that the parameters be set whenever possible with the AD75
software package. Execution by sequence program uses many sequence
programs and devices. The execution becomes complicated, and the scan times
will increase.
12 - 34
12 CONTROL AUXILIARY FUNCTIONS
MELSEC-A
359.99999° 359.99999°
0° 0° 0°
Fig. 12.17 Current value address when the control unit is "degree".
Lower limit
90º
Section B
Fig. 12.18 Software stroke limit when the control unit is "degree"
12 - 35
12 CONTROL AUXILIARY FUNCTIONS
MELSEC-A
In the "hardware stroke limit function", limit switches are set at the upper/lower limit of
the physical moveable range, and the control is stopped (by deceleration stop) by the
input of a signal from the limit switch. Damage to the machine can be prevented by
stopping the control before the upper/lower limit of the physical moveable range is
reached.
The details shown below explain about the "hardware stroke limit function".
(1) Control details
(2) Wiring the hardware stroke limit
(3) Precautions during control
(4) When the hardware stroke limit is not used
Servo amplifier*
* The B type servo amplifier does not have the stroke limit input.
12 - 36
12 CONTROL AUXILIARY FUNCTIONS
MELSEC-A
AD75
FLS
RLS
COM
24VDC
Note) Connect the upper and lower limit switches to the directions of increasing and decreasing
current feed values respectively. When these switches are connected in wrong directions, the
hardware stroke limit function does not operate properly and the motor does not stop.
For " Pr.107 Rotation direction", refer to "5.1.4 Setting items for servo parameters".
AD75
FLS
RLS
COM
24VDC
Fig. 12.21 Wiring when not using the hardware stroke limit
12 - 37
12 CONTROL AUXILIARY FUNCTIONS
MELSEC-A
The "servo ON/OFF function" performs the servo ON/OFF of the servo amplifier, which
is connected to the AD75, from the AD75.
Performing servo ON makes the servo operable.
Performing servo OFF puts the servomotor in a free run status, so that the axis can be
moved by external force when a machine system fault occurs, for example.
The servo ON/OFF status of the servo amplifier can be confirmed using " Md.116
Servo status (b1: Servo ON)".
Important
Always switch the servo ON when performing positioning control.
Control cannot be performed in a servo OFF status.
The following details will be explained for the "servo ON/OFF function".
(1) Servo ON method
(2) Servo OFF method
(3) Restart at servo OFF to ON
(a) All axes servo ON commands the servo amplifiers of all axes to perform
servo ON.
Turn ON the all axes servo ON signal (Y15) when the following conditions
are satisfied.
• No errors are detected in the servo amplifiers.
• The " Cd.100 Servo OFF command" (buffer memory address: 1179 (Axis
1), 1229 (Axis 2), 1279 (Axis 3)) is "0".
If an error is detected in any of the servo amplifiers during all axes servo
ON, servo OFF is carried out on only the axis where the error has occurred.
(b) Axis-by-axis servo ON returns the axes, where servo OFF was performed, to
the servo ON status on an axis basis when the all axes servo ON signal
(Y15) is ON (during all axes servo ON).
When the following conditions are satisfied, set the data indicated in the
following table.
• No errors are detected in the servo amplifiers.
• The all axes servo ON signal (Y15) is ON.
* Refer to section "5.7 List of control data" for the setting details.
12 - 38
12 CONTROL AUXILIARY FUNCTIONS
MELSEC-A
(a) All axes servo OFF commands the servo amplifiers of all axes to perform
servo OFF.
Turn OFF the all axes servo ON signal (Y15) when the " Md.35 Axis
operation status" of all axes are in any of the following statuses. (The servo
ON signal is ignored if it is turned OFF while any other axis is operating.)
• Standby
• Stop
• Step standby
• Step stop
• Error occurrence
• Step error occurrence
(b) Axis-by-axis servo OFF performs the servo OFF of only any of the axes
when the all axes servo ON signal (Y15) is ON (during all axes servo
ON).When the " Md.35 Axis operation status" of the axis whose servo will
be switched OFF is in any of the following statuses, set the data indicated in
the following table.
• Standby
• Stop
• Step standby
• Step stop
• Error occurrence
• Step error occurrence
* Refer to section "5.7 List of control data" for the setting details.
12 - 39
12 CONTROL AUXILIARY FUNCTIONS
MELSEC-A
This section explains whether a restart is allowed or not, the setting method and
precautions in the case where servo OFF is performed once by a servo
emergency stop command during operation or by a servo OFF command during
a stop and servo ON is then performed again. (For the restarting method, refer to
section "6.5.5 Restart program".)
ON
12 - 40
12 CONTROL AUXILIARY FUNCTIONS
MELSEC-A
2) Restart at servo ON after servo OFF by all axes servo ON signal (Y15)
or " Cd.100 Servo OFF command"
When operation is stopped by an external "stop signal" or the axis stop
signal (Y13 (Axis 1), Y14 (Axis 2), Y1C (Axis 3)), " Md.35 Axis
operation status" turns to "Stop". (Refer to section "6.5.6 Stop
program".)
At this time, servo OFF is performed by the OFF of the servo ON
signal or by the " Cd.100 Servo OFF command", and when servo ON
is performed again, " Md.35 Axis operation status" turns to "Stop" or
"Standby".
When " Md.35 Axis operation status" is "Stop", operation can be
restarted by " Cd.13 Restart command".
When " Md.35 Axis operation status" is other than "Stop", a warning
"Restart not possible" (warning code: 104) occurs and the restart
command is ignored.
ON
Servo ON signal OFF
Md.35 Axis operation Positioning Stop Servo OFF Stop/Standby Servo OFF Stand by
status
Restart not possible Restart not possible
Stop command Servo ON Restart possible Servo ON
12 - 41
12 CONTROL AUXILIARY FUNCTIONS
MELSEC-A
2) Setting of " Pr.150 Setting for the restart allowable range when servo
OFF to ON"
To enable or disable a restart at servo OFF to ON, set the "movement
range during servo OFF" in the following parameter.
The set data is validated at the rising edge (OFF to ON) of the PLC
READY signal (Y1D).
Setting Buffer memory address
Setting item Setting details
value Axis 1 Axis 2 Axis 3
Set "0: Restart not
Setting for the Restart not allowed
allowed".
restart allowable 64 214 364
Pr.150 range when Set the restart allowable
servo OFF to movement range during 65 215 365
Restart allowed
ON servo OFF, 1 to 163840
(pulses).
Restart operation
Emergency stop input Stop position Last command (Current value at servo ON)
(Last command position) at servo OFF position Stop position at servo OFF
3) Perform servo OFF in the status where the machine system has
stopped completely.
A restart at servo OFF to ON is not applicable to the system where the
machine system is operated by external pressure, etc. during servo
OFF.
12 - 42
12 CONTROL AUXILIARY FUNCTIONS
MELSEC-A
Functions to change the control details include the "speed change function", "override
function", "acceleration/deceleration time change function" and "torque change
function". Each function is executed by parameter setting or sequence program
creation and writing.
Both the "speed change function" or "override function" change the speed, but the
differences between the functions are shown below. Use the function that corresponds
to the application.
"Override function"
• The speed is changed for all control to be executed. (Note that this excludes
manual pulse generator operation.)
• The new speed is set as a percent (%) of the command speed.
The speed control function is used to change the speed during control to a newly
designated speed at any time.
The new speed is directly set in the buffer memory, and the speed is changed by a
speed change command ( Cd.17 Speed change request) or external start signal.
The details shown below explain about the "speed change function".
(1) Control details
(2) Precautions during control
(3) Setting the speed change function from the PLC CPU
(4) Setting the speed change function using an external start signal
12 - 43
12 CONTROL AUXILIARY FUNCTIONS
MELSEC-A
V3
t
Md. 50 In speed change processing flag
(a) Control is carried out as follows at the speed change during continuous path
control.
1) When no speed designation (current speed) is provided in the next
positioning data:
The next positioning data is controlled at the " Cd.16 New speed
value".
2) When a speed designation (current speed) is provided in the next
positioning data:
The next positioning data is controlled at its command speed
( Da.7 ).
Speed change
command
(b) When changing the speed during continuous path control, the speed change
will be ignored if there is not enough distance remaining to carry out the
change.
12 - 44
12 CONTROL AUXILIARY FUNCTIONS
MELSEC-A
(c) When the speed is changed by setting " Cd.16 New speed value" to "0", the
operation is carried out as follows.
• A deceleration stop is carried out, and the speed change 0 flag ( Md.40
Status: b10) turns ON.
(During interpolation control, the speed change 0 flag on the reference axis
side turns ON.)
• The axis stops, but " Md.35 Axis operation status" does not change, and
the BUSY signal remains ON. (If a stop signal is input, the BUSY signal
will turn OFF, and " Md.35 Axis operation status" will change to
"stopped".)
* In this case, setting the " Cd.16 New speed value" to a value besides "0"
will turn OFF the speed change 0 flag ( Md.40 Status: b10), and enable
continued operation.
Positioning operation
ON
Speed change 0 flag OFF
Md. 40 status: b10
(d) A warning "deceleration and stop speed change" (warning code: 500)
occurs and the speed cannot be changed in the following cases.
• During deceleration by a stop command
• During automatic deceleration during positioning control
(e) A warning "speed limit value over" (warning code: 501) occurs and the
speed is controlled at the " Pr.7 Speed limit value" when the value set in
" Cd.16 New speed value" is equal to or larger than the " Pr.7 Speed limit
value".
(f) When the speed is changed during interpolation control, the required speed
is set in the reference axis.
(g) When carrying out consecutive speed changes, be sure there is an interval
between the speed changes of 100ms or more.
(If the interval between speed changes is short, the AD75 will not be able to
track, and it may become impossible to carry out commands correctly.)
12 - 45
12 CONTROL AUXILIARY FUNCTIONS
MELSEC-A
(3) Setting the speed change function from the PLC CPU
The following shows the data settings and sequence program example for
changing the control speed of axis 1 from the PLC CPU. (In this example, the
control speed is changed to "20.00mm/min".)
* Refer to section "5.7 List of control data" for details on the setting details.
V
Dwell time
Fig. 12.25 Time chart for changing the speed from the PLC CPU
12 - 46
12 CONTROL AUXILIARY FUNCTIONS
MELSEC-A
(c) Add the following sequence program to the control program, and write it to
the PLC CPU.
Example
*
* No.14 Speed change program
*
12 - 47
12 CONTROL AUXILIARY FUNCTIONS
MELSEC-A
(4) Setting the speed change function using an external start signal
The speed can also be changed using an "external start signal".
The following shows the data settings and sequence program example for
changing the control speed of axis 1 using an "external start signal". (In this
example, the control speed is changed to "10000.00mm/min".)
(a) Set the following data to change the speed using an external start signal.
(Use the start time chart shown in section (2) below as a reference, and set
using the sequence program shown in section (3).)
Setting Buffer memory address
Setting item Setting details
value Axis 1 Axis 2 Axis 3
External start
Pr.43 1 Set "1: External speed change request". 62 212 362
function selection
1156 1206 1256
Cd.16 New speed value 1000000 Set the new speed.
1157 1207 1257
Cd.25 External start valid 1 Set "1: Validate the external start". 1171 1221 1271
* Refer to section "5.2 List of parameters" and "5.7 List of control data" for details on the setting details.
V
Dwell time
Fig. 12.26 Time chart for changing the speed using an external start signal
12 - 48
12 CONTROL AUXILIARY FUNCTIONS
MELSEC-A
(c) Add the following sequence program to the control program, and write it to
the PLC CPU.
Example
External start
valid signal [Speed change processing]
DTOP H0 K1156 D108 K1 Write the new speed.
Input the external start signal. (AD75 starts speed change processing.)
12 - 49
12 CONTROL AUXILIARY FUNCTIONS
MELSEC-A
Md. 31 Feedrate 50 1 25 75 50 75
V
Not enough remaining
Not affected by the override value
distance could be secured,
during deceleration
so operation is carried out
at an increased speed.
12 - 50
12 CONTROL AUXILIARY FUNCTIONS
MELSEC-A
(a) When changing the speed during continuous path control, the speed change
will be ignored if there is not enough distance remaining to carry out the
change.
(b) A warning "deceleration and stop speed change" (warning code: 500)
occurs and the speed cannot be changed in the following cases.
• During deceleration by a stop command
• During automatic deceleration during positioning control
(c) When the speed is changed during interpolation control, the required speed
is set in the reference axis.
(a) Set the following data. (Use the start time chart shown in section (2) below
as a reference, and set using the sequence program shown in section (3).)
Setting Buffer memory address
Setting item Setting details
value Axis 1 Axis 2 Axis 3
Positioning
Cd.18 operation speed 200 Set the new speed as a percentage (%). 1159 1209 1259
override
* Refer to section "5.7 List of control data" for details on the setting details.
(b) The following shows a time chart for changing the speed using the override
function.
V
Dwell time
Fig. 12.28 Time chart for changing the speed using the override function
12 - 51
12 CONTROL AUXILIARY FUNCTIONS
MELSEC-A
(c) Add the following sequence program to the control program, and write it to
the PLC CPU.
Example
*
* No.15 Override program
*
12 - 52
12 CONTROL AUXILIARY FUNCTIONS
MELSEC-A
The details shown below explain about the "acceleration/deceleration time change
function".
(1) Control details
(2) Precautions during control
(3) Setting the acceleration/deceleration time change function
Cd.17 Speed
change request
t
Cd.35 Acceleration/deceleration
time change during
Disabled
speed change, enable/
disable selection
Cd.17 Speed
change request
Cd.35 Acceleration/deceleration
time change during Disabled Enabled
speed change, enable/
disable selection
12 - 53
12 CONTROL AUXILIARY FUNCTIONS
MELSEC-A
V Speed change
Speed change
12 - 54
12 CONTROL AUXILIARY FUNCTIONS
MELSEC-A
(d) If the "new acceleration/deceleration time" is set to "0" and the speed is
changed after the "new acceleration/deceleration time" is validated, the
operation will be controlled with the previous "new acceleration/deceleration
time".
Example
New acceleration/deceleration
time ( Cd. 33 , Cd. 34 )
V Speed change
Speed change
Speed change
POINT
If the speed is changed when an acceleration/deceleration change is enabled, the
"new acceleration/deceleration time" will become the acceleration/deceleration time
of the positioning data being executed. The "new acceleration/deceleration time"
remains valid until the changeover to the next positioning data. (The automatic
deceleration processing at the completion of the positioning will also be controlled
by the "new acceleration/deceleration time".)
12 - 55
12 CONTROL AUXILIARY FUNCTIONS
MELSEC-A
The "torque change function" is used to change the torque limit value during torque
limiting.
The torque limit value during torque limiting is normally the value set in the " Cd.101
Torque output setting value" that was set in the axis control data. However, by setting
the new torque limit value in the positioning data " Cd.30 New torque value", and
writing it to the AD75, the torque generated by the servomotor during control can be
limited with the new torque value.
(The " Cd.30 New torque value" is validated when written to the AD75.)
The details shown below explain about the "control torque change function".
(1) Control details
(2) Precautions during control
(3) Setting the torque change function start signal
Various operations
ON
12 - 56
12 CONTROL AUXILIARY FUNCTIONS
MELSEC-A
(a) If a value other than "0" is set in the " Cd.30 New torque value", the torque
generated by the servomotor will be limited by that value. To limit the torque
with the value set in " Cd.101 Torque output setting value", set "0" in the
" Cd.30 New torque value".
To limit the torque with the value set in " Pr.18 Torque limit setting value",
set "0" in the " Cd.101 Torque output setting value" and " Cd.30 New torque
value".
(b) The " Cd.30 New torque value" is validated when it is written to the
AD75.However, there is a maximum delay of 56.8ms from when the new
torque value is written until the torque is limited with the new value.
(c) At a start of the corresponding control, the " Cd.30 New torque value" is
cleared to "0", and the torque is limited with the " Cd.101 Torque output
setting value".
(d) If the setting value is outside the setting range, a warning "Outside torque
change value range" (warning code: 113) will occur and the torque will not
be changed.
* Refer to section "5.7 List of control data" for details on the setting details.
12 - 57
12 CONTROL AUXILIARY FUNCTIONS
MELSEC-A
The "absolute position restoration function" restores the absolute position of the axis
automatically at power-on of the AD75 by an absolute position detection system.
This function eliminates the need for a zero point return after power-off, such as an
instantaneous power failure or emergency stop, facilitating on-site recovery.
The following details will be explained for the "absolute position restoration function".
[1] Configuration and preparations of absolute position detection system
[2] Outline of absolute position detection data communication
[3] Precautions during control
(1) Configuration
The following shows the configuration of an absolute position detection system.
Power supply
Servo
amplifier
PLC AD
3) CPU 75 *
SSCNET
2)
* Set "1: Absolute position detection valid" to " Pr.101 Amplifier setting".
12 - 58
12 CONTROL AUXILIARY FUNCTIONS
MELSEC-A
(2) Preparations
Note the contents of the following table for preparations of the absolute position
detection system.
Component Description
1) Servo amplifier • Install the battery (MR-BAT, A6BAT) to the servo amplifier.
(MR-H-B (MR-H-BN), • Validate the absolute position detection function of the
MR-J-B, MR-J2-B, servo amplifier.
MR-J2S-B)
For other details, refer to the manual of the servo amplifier.
As shown in the system block diagram in Fig. 12.32, the current absolute position is
stored by the battery fitted to the servo amplifier, and the absolute position of the zero
point is stored in the FeRAM of the AD75.
Making a zero point return once at the installation of the machine eliminates the need
for a zero point return at subsequent power-on.
After powering on the AD75 and servo amplifier, start communication between the
AD75 and servo amplifier to restore the absolute position.
Unit setting,
No. of pulses per rotation,
Movement amount per
rotation,
Unit magnification,
Rotation direction,
Zero point address
Battery backup
Servomotor
Absolute position data
(Detector)
12 - 59
12 CONTROL AUXILIARY FUNCTIONS
MELSEC-A
(1) Since the zero point data in the AD75 is initialized before shipment from the
factory, the absolute position (zero point position) cannot be restored normally.
When using the AD75 for the first time, always perform machine zero point
return control.
(2) When machine zero point return control is executed in the absolute position
detection system, access is made to the FeRAM (Ferroelectric Random
Access Memory).
9
The FeRAM access count is maximum 9.9999 10 times.
Access to the FeRAM is made three times (read is performed twice, and write
once) at power-on.
At a machine zero point return in the absolute position detection system,
(a) When the "Md.121 Absolute position restoration mode" is switched between
the "standard mode" and "infinite length mode"
Access to the FeRAM is made four times (read is performed twice, and write
twice)
(b) When the "Md.121 Absolute position restoration mode" is not switched
Access to the FeRAM is made twice (read is performed once, and write
once)
9
When the " Md.120 FeRAM access count" exceeds 9.0000 10 times, a
warning "FeRAM count warning" (warning code: 10) occurs.
9
When the " Md.120 FeRAM access count" exceeds 9.9999 10 times, an
error "FeRAM count over" (error code: 10) occurs. In this case, the AD75
has reached the end of its service life. Therefore, replace the module.
9
When the FeRAM access count exceeds 9.9999 10 times, the absolute
position (zero point position) cannot be restored normally at a system
startup (power on, reset, etc.).
(3) When the absolute position detection system has been configured, start
communication between the AD75 and servo amplifier after power-on or reset
to perform absolute position restoration. The parameters on the OS memory
are used for absolute position restoration. (Refer to Chapter 7 for details of the
OS memory.)
(4) When the AD75 is used in the absolute position detection system, the
followings cannot be performed.
• Infinite length feed control* that performs control in the given direction only
• Control in which the movement amount from the zero point address is outside
the range of Condition 1 and Condition 2 indicated below
When performing positioning in the absolute position detection system, use the
AD75 within the range that satisfies Condition 1 and Condition 2 indicated
below.
If it is used in the range that does not satisfy Condition 1 and Condition 2, a
normal current value cannot be restored at the time of absolute position
restoration and therefore the AD75 cannot be used in the absolute position
detection system.
* When the control unit is degree, set the absolute position restoration mode to
the "infinite length mode" to enable infinite length feed control. (Refer to
section 12.6.2 for details.)
12 - 60
12 CONTROL AUXILIARY FUNCTIONS
MELSEC-A
[ 32768 (number of feedback pulses)] [number of output pulses] [32768 (number of feedback pulses) 1]
(b) The direction in which the address increases from the zero point is positive,
and the direction in which the address decreases from the zero point is
negative.
Zero point
-214748364.8 0 214748364.7
Since the concept of the positioning address is the same, an example of the case
where the unit is mm is given below.
12 - 61
12 CONTROL AUXILIARY FUNCTIONS
MELSEC-A
Example 1.
(1) The conditions for calculating the positioning address are indicated below.
• Movement amount per pulse: 0.1 (µm)
• Zero point address: 0.0 (µm)
• Number of feedback pulses = 8192 (pulse)
(2) Calculate the upper and lower limit values of the positioning address that can
be specified from the range of using the number of output pulses in Condition
1 and the expression for calculating the positioning address (Expression 1).
• Lower limit value of positioning address (use the number of negative side
pulses in Condition 1 for calculation)
(Positioning address) = (movement amount per pulse) (number of output
pulses) + (zero point address)
= 0.1 (-268435456) + 0.0
= -26843545.6 (µm)
• Upper limit value of positioning address (use the number of positive side
pulses in Condition 1 for calculation)
(Positioning address) = (movement amount per pulse) (number of output
pulses) + (zero point address)
= 0.1 268435455 + 0.0
= 26843545.5 (µm)
(3) The upper and lower limit values of the calculated positioning address are
within the range of Condition 2.
Hence, the positioning range calculated under Condition 1 [ 26843545.6 (µm)
to 26843545.5 (µm)] can be used in the absolute position detection system.
For positioning outside the range 26843545.6 (µm) to 26843545.5 (µm), the
AD75 cannot be used in the absolute position detection system.
Unit: µm
Zero point
-214748364.8 -26843545.6 0 26843545.5 214748364.7
12 - 62
12 CONTROL AUXILIARY FUNCTIONS
MELSEC-A
Example 2.
(1) Using Expression 1, calculate the positioning address that can be specified in
the system where the zero point address in Example 1 is 214740000.0 (µm).
• Lower limit value of positioning address
(Positioning address) = 0.1 (-268435456) + 214740000.0
= 187896454.4 (µm)
• Upper limit value of positioning address
(Positioning address) = 0.1 268435455 + 214740000.0
= 241583545.5 (µm)
(2) Since the lower limit value of the calculated positioning address is within the
range of Condition 2, the calculated address 187896454.4 (µm) is the lower
limit for positioning in the absolute position detection system.
Since the upper limit value of the calculated positioning address is outside the
range of Condition 2, the upper limit value 214748364.7 (µm) in the positioning
range of Condition 2 is the upper limit for positioning in the absolute position
detection system.
Use the AD75 within the range 187896454.4 (µm) to 214748364.7 (µm) in the
absolute position detection system.
For positioning in excess of 187896454.4 (µm), the AD75 cannot be used in
the absolute position detection system.
-214748364.8 214748364.7 Unit: µm
Positioning address specifying range
(Zero point)
187896454.4 214740000.0 241583545.5
Example 3.
(1) The conditions for calculating the positioning address are indicated below.
• Movement amount per pulse: 0.9 (µm)
• Zero point address: 0.0 (µm)
• Number of feedback pulses = 8192 (pulse)
(2) Calculate the positioning address from the range of using the number of output
pulses in Condition 1 and the expression for calculating the positioning
address (Expression 1).
• Lower limit value of positioning address (use the number of negative side
pulses in Condition 1 for calculation)
(Positioning address) = (movement amount per pulse) (number of output
pulses) + (zero point address)
= 0.9 (-268435456) + 0.0
= -241591910.4 (µm)
• Upper limit value of positioning address (use the number of positive side
pulses in Condition 1 for calculation)
(Positioning address) = (movement amount per pulse) (number of output
pulses) + (zero point address)
= 0.9 268435455 + 0.0
= 241591909.5 (µm)
12 - 63
12 CONTROL AUXILIARY FUNCTIONS
MELSEC-A
(3) Since the upper and lower limit values of the calculated positioning address
are outside the range of Condition 2, use the AD75 within the positioning
range of Condition 2 ( 214748364.8 (µm) to 214748364.7 (µm)).
Unit: µm
Zero point
-241591910.4 -214748364.8 0 214748364.7 241591909.5
<When the mode for absolute position restoration is the "standard mode"
("Md.121 Absolute position restoration mode" = 0)>
For positioning in the same direction, out of bound control (when the address
increases: 359.99999° 0° / when the address decreases: 0° 359.99999°)
cannot be performed.
Zero point
359.99999 359.99999
Cannot be used in the absolute
Cannot be used in the absolute
position detection system.
position detection system.
At power-on or reset, the current
At power-on or reset, the current
value cannot be restored normally.
value cannot be restored normally.
0 0
To make the software stroke limit valid, set the upper and lower limit values
within the range 0° to 359.99999°.
<When the mode for absolute position restoration is the "infinite length mode"
("Md.121 Absolute position restoration mode" = 1)>
For positioning in the same direction, out of bound control (when the address
increases: 359.99999° 0° / when the address decreases: 0° 359.99999°)
can be performed.
Zero point
359.99999 359.99999
For details of the mode for absolute position restoration, refer to section "12.6.2
Absolute position restoration mode switching function".
12 - 64
12 CONTROL AUXILIARY FUNCTIONS
MELSEC-A
The "absolute position restoration mode switching function" switches the mode for
absolute position restoration in the absolute position detection system of control unit
"degree". This enables absolute position detection for infinite length positioning control
where control is performed in only the given direction, e.g. turn table.
[1] About absolute position restoration mode
[2] Control details
[3] Precautions during control
[4] Absolute position restoration mode switching method
There are the following two absolute position restorable ranges (absolute position
restoration modes) in an absolute position detection system of control unit "degree"
(" Pr.1 Unit setting" is "2").
(a) Standard mode
In this mode, the absolute position can be restored only within the range
where out of bound operation (operation where " Md.29 Current feed value"
changes from 359.99999° to 0° when the address increases, or " Md.29
Current feed value" changes from 0° to 359.99999° when the address
decreases) is not performed from the zero point return position.
(b) Infinite length mode
In this mode, the absolute position can be restored in the range where out of
bound operation (operation where " Md.29 Current feed value" changes
from 359.99999° to 0° when the address increases, or " Md.29 Current feed
value" changes from 0° to 359.99999° when the address decreases) is
performed from the zero point return position.
0 0 0 0 0
(Infinite length mode) Zero point return position
0 0 0 0 0
Fig. 12.33 Ranges where absolute position can be restored in absolute position detection system of
control unit "degree"
12 - 65
12 CONTROL AUXILIARY FUNCTIONS
MELSEC-A
The operation performed for absolute position restoration mode switching is described
below.
1) To switch the absolute position restoration mode, select the mode in
" Pr.59 Absolute position restoration selection" and make a machine
zero point return.
The absolute position restoration mode is established when the zero
point return complete flag ( Md.40 Status: b4) turns ON.
2) When power is switched from OFF to ON after execution of Step 1),
the system starts up in the mode established in Step 1) and restores
the absolute position.
The established absolute position restoration mode can be checked in the " Md.121
Absolute position restoration mode".
When the " Md.121 Absolute position restoration mode" is "1: Infinite length mode", the
AD75 automatically updates the absolute position of the zero point stored in the
FeRAM every time the machine moves the given distance* (servomotor shaft: 8142 to
8192 revolutions). This detects the absolute position for infinite length positioning
control. Every time the absolute position is automatically updated, the " Md.120 FeRAM
access count" is incremented by "2".
* The given distance is automatically determined by the setting of " Pr.2 No. of
pulses per rotation".
ON
PLC READY signal [Y1D]
OFF
ON
AD75 READY signal [X0]
OFF
12 - 66
12 CONTROL AUXILIARY FUNCTIONS
MELSEC-A
The following precautions are for the case where the "infinite length mode" is selected
as the absolute position restoration mode and the absolute position is detected for
infinite positioning control.
(1) The following table indicates usable hardware versions and software versions
of the modules.
Model name Hardware version Software version
AD75M1 F or later
AD75M2 F or later
AD75M3 G or later
W or later
A1SD75M1 G or later
A1SD75M2 G or later
A1SD75M3 H or later
If the hardware version is earlier than the one indicated in the above table and
the software version is as indicated in the above table, selection of the "infinite
length mode" in " Pr.59 Absolute position restoration selection" will result in an
error "absolute position restoration selection error" (error code: 998) when the
PLC READY signal (Y1D) turns from OFF to ON.
(2) To switch the absolute position restoration mode to the "infinite length mode",
make a machine zero point return after satisfying the following conditions (a) to
(c). If any of (a) to (c) is not satisfied, the absolute position restoration mode
turns to the "standard mode" on completion of the machine zero point return.
(a) " Pr.1 Unit setting" is "2: degree".
(b) The software stroke limit function (refer to section 12.4.3) is invalid.
(c) " Pr.101 Amplifier setting" is "1: Absolute position detection valid".
12 - 67
12 CONTROL AUXILIARY FUNCTIONS
MELSEC-A
(6) When " Da.2 Control method" "0DH: Speed control (forward run)" or "0EH:
Speed control (reverse run)" is to be executed, " Pr.22 Current feed value
during speed control" must be set to "1: Update current feed value". If either of
the above control methods is executed at the setting of other than "1", an error
"control method setting error" (error code: 524) occurs.
(7) If the servomotor shaft has rotated more than 15000 turns without the AD75
and servo amplifier making communication, e.g. at power-off, absolute position
restoration may not be made normally at the next power-on.
If external force, etc. may cause the servomotor shaft to rotate more than
15000 turns, use the servomotor equipped with brake, for example, to secure
the servomotor shaft.
(8) When any of the following parameters has been changed from the setting at
execution of a machine zero point return, always make a machine zero point
return. If a machine zero point return is not executed, normal absolute position
restoration cannot be performed.
(a) Basic parameters 1
Pr.1 Unit setting, Pr.2 No. of pulses per rotation, Pr.3 Movement
amount per rotation, Pr.4 Unit magnification
(b) Detailed parameters 1
Pr.13 Software stroke limit upper limit value,
Pr.14 Software stroke limit lower limit value
(c) Zero point return basic parameters
Pr.47 Zero point address
(d) Zero point return detailed parameters
Pr.59 Absolute position restoration selection
(e) Servo basic parameters*
Pr.101 Amplifier setting, Pr.107 Rotation direction
*: When the servo basic parameters in above (e) are changed after the AD75
and servo amplifier has started communication, power the AD75 or servo
amplifier OFF, then ON and make communication between the AD75 or servo
amplifier.
(9) If either of the following settings is made with "Md.121 Absolute position
restoration mode" set to "1: infinite length mode" and " Pr.59 Absolute
position restoration selection" set to "1: infinite length mode", an error occurs
when the PLC READY signal (Y1D) turns from OFF to ON.
(a) When " Pr.1 Unit setting" is set to other than "2: degree"
Error "outside unit setting range" (error code: 900)
(b) When the software stroke limit function (refer to section 12.4.3) is set valid
Error "software stroke limit upper limit" (error code: 921), error "software
stroke limit lower limit" (error code: 922)
(10)Every time a machine zero point return is executed, " Md.120 FeRAM access
count" increases as described below.
(a) When "Md.121 Absolute position restoration mode" is switched between the
"standard mode" and "infinite length mode"
" Md.120 FeRAM access count" increases by "4".
12 - 68
12 CONTROL AUXILIARY FUNCTIONS
MELSEC-A
(12)If write to the FeRAM is not completed normally at automatic updating of the
absolute position of the zero point, a warning "automatic update failure"
(warning code: 12) occurs.
The method of switching the absolute position restoration mode is described below.
POINT
When the "infinite length mode" is selected as the absolute position restoration
selection, set the parameters to satisfy the following (a) to (c).
(a) Set " Pr.1 Unit setting" to "2: degree".
(b) Set the software stroke limit function invalid.
(c) Set " Pr.101 Amplifier setting" to "1: Absolute position detection valid".
* Refer to section "5.6 List of monitor data" for the storage details.
12 - 69
12 CONTROL AUXILIARY FUNCTIONS
MELSEC-A
Other functions include the "step function", "skip function", "M code output function",
"teaching function", "command in-position function", "acceleration/deceleration
processing function" and "indirectly specification function". Each function is executed
by parameter setting or sequence program creation and writing.
The "step function" is used to confirm each operation of the positioning control one by
one.
It is mainly used in debugging work for positioning control, etc.
A positioning operation in which a "step function" is used is called a "step operation".
In step operations, the timing for stopping the control can be set. (This is called the
"step mode".) Control stopped by a step operation can be continued by setting "step
continue" (to continue the control)" or restarted by setting "restart" in the "step start
information".
12 - 70
12 CONTROL AUXILIARY FUNCTIONS
MELSEC-A
The following warnings will occur if the " Md.35 Axis operation status" is not
appropriate when step start information is set.
Md.35 Axis operation status Step start results
Standing by
Stopped
Error occurring Step start information invalid warning
Servo has not been connected
In servo OFF
In interpolation
In JOG operation
In manual pulse generator operation
Analyzing
Waiting for special start
Start during operation warning
In zero point return
In position control
In speed control
In speed control of speed/position changeover control
In position control of speed/position changeover control
12 - 71
12 CONTROL AUXILIARY FUNCTIONS
MELSEC-A
(a) Turn ON the step valid flag before starting the positioning data.
(Write "1" (carry out step operation) in " Cd.26 Step valid flag".)
(b) Set the step mode before starting the positioning data.
(Set in " Cd.27 Step mode".)
(c) Turn ON the positioning start signal, and check that the
positioning control starts normally.
(d) The control will stop for the following reasons.
1) One step of positioning stopped normally. (Go to step (f))
2) Control stopped by a stop signal (Take appropriate measures, go to
step (e))
3) An error occurred and the control stopped. (Take appropriate
measures, go to step (c))
(e) Write "2" (restart) to " Cd.28 Step start information", and check
that the positioning data where the control stopped operates
normally. (Go to (d)).
(f) Write "1" (step continue) to " Cd.28 Step start information", and
check that the next positioning data where the control stopped
operates normally.
1) One step of positioning stopped normally. (Go to step (f))
2) Control stopped by a stop signal (Take appropriate measures, go to
step (e))
3) An error occurred and the control stopped. (Take appropriate
measures, go to step (c))
4) All positioning data operated normally (Go to step (g))
(g) Turn OFF the step valid flag, and quit the "step function".
(Write "0" (do not carry out step operation) in " Cd.26 Step valid flag".)
12 - 72
12 CONTROL AUXILIARY FUNCTIONS
MELSEC-A
(a) The following drawing shows a step operation during a "deceleration unit
step".
ON
Cd. 26 Step valid flag OFF
ON
Positioning start signal OFF
[Y10, Y11, Y12]
ON
BUSY signal [X4, X5, X6] OFF
Positioning
t
(b) The following drawing shows a step operation during a "data No. unit step".
Fig. 12.36 Operation during step execution positioning data No. unit step
12 - 73
12 CONTROL AUXILIARY FUNCTIONS
MELSEC-A
(a) When step operation is carried out using interpolation control positioning
data, the step function settings are carried out for the reference axis.
(b) When the step valid flag is ON, the step operation will start from the
beginning if the positioning start signal is turned ON while " Md.35 Axis
operation status" is "step standing by", "step stopped", or "step error
occurring". (The step operation will be carried out from the positioning data
set in " Cd.11 Positioning start No.".)
12 - 74
12 CONTROL AUXILIARY FUNCTIONS
MELSEC-A
The "skip function" is used to stop (deceleration stop) the control of the positioning data
being executed at the time of the skip signal input, and execute the next positioning
data.
A skip is executed by a skip command ( Cd.29 Skip command) or external start signal.
The "skip function" can be used during control in which positioning data is used.
ON
Positioning start signal OFF
[Y10, Y11, Y12]
ON
BUSYsignal OFF
[X4,X5,X6]
ON
Positioning complete signal OFF
[X7,X8,X9] V
Positioning
t
Deceleration by Start of the
skip signal next positioning
ON
Skip signal OFF
Fig. 12.37 Operation when a skip signal is input during positioning control
(a) If the skip signal is turned ON at the last of an operation, a deceleration stop
will occur and the operation will be terminated.
(b) When a control is skipped (when the skip signal is turned ON during a
control), the positioning complete signals (X7, X8, X9) will not turn ON.
(c) When the skip signal is turned ON during the dwell time, the remaining dwell
time will be ignored, and the next positioning data will be executed.
(d) When a control is skipped during interpolation control, the reference axis
skip signal is turned ON. When the reference axis skip signal is turned ON,
a deceleration stop will be carried out for both axes, and the next reference
axis positioning data will be executed.
(e) The M code ON signals (XD, XE, XF) will not turn ON when the M code
output is set to the AFTER mode (when "1: AFTER mode" is set in " Pr.19
M code ON signal output timing").
(In this case, the M code will not be stored in " Md.32 Valid M code".)
12 - 75
12 CONTROL AUXILIARY FUNCTIONS
MELSEC-A
* Refer to section "5.7 List of control data" for details on the setting details.
(b) Add the following sequence program to the control program, and write it to
the PLC CPU.
1) When the "skip command" is input, the value "1" (skip request) set in
" Cd.29 Skip command" is written to the AD75 buffer memory (1175).
Example
*
* No.19 Skip program
*
12 - 76
12 CONTROL AUXILIARY FUNCTIONS
MELSEC-A
(a) Set the following data to execute the skip function using an external start
signal.
(The setting is carried out using the sequence program shown below in
section (2)).
Setting Buffer memory address
Setting item Setting details
value Axis 1 Axis 2 Axis 3
External start
Pr.43 2 Set "2: Skip request". 62 212 362
function selection
Cd.25 External start valid 1 Set "1: Validate external start". 1171 1221 1271
* Refer to section "5.7 List of control data" for details on the setting details.
(b) Add the following sequence program to the control program, and write it to
the PLC CPU.
Example
Skip function
selection command
TOP H0 K62 K2 K1 Select skip request
Skip request
12 - 77
12 CONTROL AUXILIARY FUNCTIONS
MELSEC-A
The "M code output function" is used to command auxiliary work (clamping, drill
rotation, tool replacement, etc.) related to the positioning data being executed.
When the M code ON signal (XD, XE, XF) is turned ON during positioning execution, a
No. called the M code is stored in " Md.32 Valid M code".
These " Md.32 Valid M code" are read from the PLC CPU, and used to command
auxiliary work. M codes can be set for each positioning data. (Set in setting item
" Da.9 M code" of the positioning data.)
The timing for outputting (storing) the M codes can also be set in the "M code output
function".
The details shown below explain about the "M code output function".
(1) M code ON signal output timing
(2) M code OFF request
(3) Precautions during control
(4) Setting the M code output function
(5) Reading M codes
ON
Positioning start signal OFF
[Y10, Y11, Y12]
ON
BUSY signal [X4,X5,X6] OFF
ON
M code ON signal [XD,XE,XF] OFF
V Dwell time
Positioning
t
Da. 1 Operation pattern 01 00
12 - 78
12 CONTROL AUXILIARY FUNCTIONS
MELSEC-A
ON
Positioning start signal OFF
[Y10, Y11, Y12]
ON
BUSY signal [X4,X5,X6] OFF
ON
M code ON signal [XD,XE,XF] OFF
V
Positioning
t
The next positioning data will be processed as follows if the M code ON signal is
not turned OFF. (The processing differs according to the " Da.1 Operation
pattern".)
Da.1 Operation pattern Processing
Independent positioning control
00 The next positioning data will not be executed until the M code ON
(Positioning complete)
signal is turned OFF.
01 Continuous positioning control
The next positioning data will be executed, but a warning "M code
11 Continuous path control
ON signal ON start" (warning code: 503) will occur.
12 - 79
12 CONTROL AUXILIARY FUNCTIONS
MELSEC-A
ON
Positioning start signal OFF
[Y10, Y11, Y12]
ON
BUSY signal [X4,X5,X6] OFF
ON
M code ON signal [XD,XE,XF] OFF
Positioning
t
Fig. 12.40 Warning due to an M code ON signal during continuous path control
POINT
If the M code output function is not required, set a "0" in setting item " Da.9 M
code" of the positioning data.
12 - 80
12 CONTROL AUXILIARY FUNCTIONS
MELSEC-A
(a) Set the M code No. in the positioning data " Da.9 M code".
(b) Set the timing to output the M code ON signal (XD, XE, XF).
Set the required value in the following parameter, and write it to the AD75.
The set details are validated at the rising edge (OFF ON) of the PLC READY
signal (Y1D).
Setting Buffer memory address
Setting item Setting details
value Axis 1 Axis 2 Axis 3
Set the timing to output the M code ON signal.
M code ON signal
Pr.19 0: WITH mode 25 175 325
output timing
1: AFTER mode
* Refer to section "5.2 List of parameters" for setting details.
The following shows a sequence program example for reading the " Md.32 Valid
M code" to the PLC CPU data register (D110). (The read value is used to
command the auxiliary work.)
Read M codes not as "rising edge commands", but as "ON execution
commands".
Example
M code ON signal
ON execution command
12 - 81
12 CONTROL AUXILIARY FUNCTIONS
MELSEC-A
The "teaching function" is used to set addresses aligned using the manual control
(JOG operation, manual pulse generator operation) in the positioning data addresses
( Da.5 Positioning address/movement amount, Da.6 Arc address).
Positioning data
Positions aligned by manual
control
Da.5 Positioning address/movement
"Current feed value" A
amount
12 - 82
12 CONTROL AUXILIARY FUNCTIONS
MELSEC-A
(a) Before teaching, a "machine zero point return" must be carried out to
establish the zero point. (When a current value change function, etc., is
carried out, " Md.29 Current feed value" may not show absolute addresses
having the zero point as a reference.)
(b) Teaching cannot be carried out for positions to which movement cannot be
executed by manual control (positions to which the workpiece cannot
physically move). (During center point designation circular interpolation
control, etc., teaching of " Da.6 Arc address" cannot be carried out if the
center point of the arc is not within the moveable range of the workpiece.)
(c) Writing to the flash ROM can be executed up to 100,000 times.
Writing to the flash ROM will become impossible after 100,000 times.
* Refer to section "5.7 List of control data" for details on the setting details.
12 - 83
12 CONTROL AUXILIARY FUNCTIONS
MELSEC-A
Start
Set the target axis. • • • • • • • • Set the target axis in the buffer memory address [1103].
Confirm the completion of the writing. • • • • • • • • Confirm that the buffer memory address [1106] has become 0.
NO End teaching?
YES
Confirm the completion of the writing. • • • • • • • • Confirm that the buffer memory address [1138] has become 0.
End
12 - 84
12 CONTROL AUXILIARY FUNCTIONS
MELSEC-A
(b) When teaching to the " Da.6 Arc address", then teaching to the " Da.5
Positioning address/movement amount"
Start
Set the target axis. • • • • • • • • Set the target axis in the buffer memory address [1103].
Confirm the completion of the writing. • • • • • • • • Confirm that the buffer memory address [1106] has become 0.
II I
12 - 85
12 CONTROL AUXILIARY FUNCTIONS
MELSEC-A
II I
Confirm the completion of the writing. • • • • • • • • Confirm that the buffer memory address [1106] has become 0.
NO
End teaching?
YES
Turn OFF the PLC READY • • • • • • • • Set 1 in the buffer memory address [1138].
signal [Y1D].
End
12 - 86
12 CONTROL AUXILIARY FUNCTIONS
MELSEC-A
D40 272 (0110H) (Deceleration time: Use No. 0) 1108 Positioning identifier
(Acceleration time: Use No. 1)
(Operation pattern: Positioning complete)
12 - 87
12 CONTROL AUXILIARY FUNCTIONS
MELSEC-A
1) Move the workpiece to the target position using a JOG operation (or a
manual pulse generator operation).
Example
Target position
12 - 88
12 CONTROL AUXILIARY FUNCTIONS
MELSEC-A
Example
*
* No.20 Teaching program
*
*
* • Positioning to the target position with manual operation.
* • Store the data other than the positioning data interface address
* in D40 to D45.
*
*
*
<Axis 1 setting>
POINT
(1) Use the address 1103 to 1137 areas in the system control data area as the buffer memory
for the positioning data interface.
(2) Confirm the teaching function and teaching procedure before setting the positioning data.
(3) The positioning addresses that are written are absolute address (ABS) values.
(4) If the positioning operation is correctly completed with the written positioning data, it is
recommended that the positioning data be registered in the AD75 flash ROM.
12 - 89
12 CONTROL AUXILIARY FUNCTIONS
MELSEC-A
Address 800
Md. 29 Current feed value (axis1)
801
PLC CPU data register 900
Md. 29 Current feed value (axis2)
D111 4 (Interpolation with axis 1 and axis 2) 901
D112 2 (Data No. 2)
1551(060FH) (When the arc auxiliary 1103 Cd.4 Target axis
/ point is set.)
D113 1104 Cd.5 Positioning data No.
1295(050FH) (When the positioning address is set.)
D114 2 (Writing request) 1105 Cd.6 Write pattern
1) Move the workpiece to the target position using a JOG operation (or a
manual pulse generator operation).
Example
V
Arc auxiliary point End position
(The following drawing is
for the 1st axis only.) (Positioning address)
12 - 90
12 CONTROL AUXILIARY FUNCTIONS
MELSEC-A
Example
*
* Teaching program
*
*
* • Set the positioning data other than the positioning address and circle
* data of data No. 2.
*
*
*
* • Position the workpiece to the auxiliary point of the circular interpolation
using a manual operation.
• Store the data for the positioning data interface in D111 to D114.
(Write pattern: 060FH)
X4 : BUSY signal
X40, X41 : Teaching 1, 2 command
M105, M107 : Teaching command 1, 2 pulse
M106, M108 : Teaching command 1, 2 storage
D111 to D114 : Positioning data interface
D115, D116 : Teaching results
POINT
(1) Use the address 1103 to 1137 areas in the system control data area as the buffer memory
for the positioning data interface.
(2) Confirm the teaching function and teaching procedure before setting the positioning data.
(3) The positioning addresses that are written are absolute address (ABS) values.
(4) If the positioning operation is correctly completed with the written positioning data, it is
recommended that the positioning data be registered in the AD75 flash ROM.
12 - 91
12 CONTROL AUXILIARY FUNCTIONS
MELSEC-A
The "command in-position function" checks the remaining distance to the stop position
during the automatic deceleration of positioning control, and set a flag. This flag is
called the "command in-position flag". The command in-position flag is used as a front-
loading signal indicating beforehand the completion of the position control.
The details shown below explain about the "command in-position function".
(1) Control details
(2) Precautions during control
(3) Setting the command in-position function
(4) Confirming the command in-position flag
(a) When the remaining distance to the stop position during the automatic
deceleration of positioning control becomes equal to or less than the value
set in " Pr.17 Command in-position width", "1" is stored in the command in-
position flag ( Md.40 Status: b2).
Positioning t
ON
Command in-position flag OFF
[ Md.40 Status : b2]
Command in-position
width setting value
12 - 92
12 CONTROL AUXILIARY FUNCTIONS
MELSEC-A
(a) The range check of the command in-position is not performed during speed
control and that of speed/position changeover control.
Command in-position
V width setting value Speed to position changeover
Speed/position
Positioning changeover Command in-position
control start control start width setting value
Execution of the command in-position width check Execution of the command in-position
width check
(b) The command in-position flag will be turned OFF in the following cases.
("0" will be stored in " Md.40 Status: b2".)
• At the positioning control start
• At the speed control start
• At the zero point return control start
• At the JOG operation start
• When the manual pulse generator operation is enabled.
(c) The " Pr.17 Command in-position width" and command in-position flag
( Md.40 Status: b2) of the reference axis are used during interpolation
control.
12 - 93
12 CONTROL AUXILIARY FUNCTIONS
MELSEC-A
REMARK
• Parameters are set for each axis.
• It is recommended that the parameters be set whenever possible with the AD75
software package. Execution by sequence program uses many sequence
programs and devices. The execution becomes complicated, and the scan times
will increase.
12 - 94
12 CONTROL AUXILIARY FUNCTIONS
MELSEC-A
Set the required values for the acceleration/deceleration time size in the
parameters shown in the following table, and write them to the AD75.
The set details are validated at the rising edge (OFF ON) of the PLC READY
signal (Y1D).
Setting Factory-set
Setting item Setting details
value initial value
Select the acceleration/deceleration time size (setting
Size selection for range) from the following two sizes, and set the
Pr.25 acceleration/dece appropriate value. 0
leration time 0: 1 to 65535ms
1: 1 to 8388608ms
* Refer to section "5.2 List of parameters" for setting details.
12 - 95
12 CONTROL AUXILIARY FUNCTIONS
MELSEC-A
Setting Factory-set
Setting item Setting details
value initial value
Pr.8 Acceleration time 0 1000
Pr.26 Acceleration time 1 Set the acceleration time within the setting value 1000
range set in " Pr.25 Size selection for
Pr.27 Acceleration time 2 acceleration/deceler-ation time". 1000
Pr.28 Acceleration time 3 1000
Pr.9 Deceleration time 0 1000
Pr.29 Deceleration time 1 Set the deceleration time within the setting value 1000
range set in " Pr.25 Size selection for
Pr.30 Deceleration time 2 acceleration/deceler-ation time". 1000
Pr.31 Deceleration time 3 1000
Velocity
Time
12 - 96
12 CONTROL AUXILIARY FUNCTIONS
MELSEC-A
Velocity
Time
12 - 97
12 CONTROL AUXILIARY FUNCTIONS
MELSEC-A
REMARK
• Parameters are set for each axis.
• It is recommended that the parameters be set whenever possible with the
AD75 software package. Execution by sequence program uses many
sequence programs and devices. The execution becomes complicated, and
the scan times will increase.
12 - 98
12 CONTROL AUXILIARY FUNCTIONS
MELSEC-A
The "indirectly specification function" specifies indirectly and starts the positioning data
No.
The "indirectly specification function" is executed by setting the positioning data No. 1
to 600 desired to be started to the "indirectly specification data area" and starting that
"indirectly specification data".
The "indirectly specification data" can be set on an "indirectly specification No. (8001 to
8050)" basis and can be set to up to 50 pieces on an axis basis.
The following details will be explained about the "indirectly specification function".
(1) "Indirectly specification data" setting items and setting details
(2) "Indirectly specification data" configuration
(3) Control details and setting
Positioning data No. for Set the positioning data No. (1 to 600) whose execution will be
indirectly specification started when 8005 is set as the positioning start No. and
No. 8005 started.
to to
Positioning data No. for Set the positioning data No. (1 to 600) whose execution will be
indirectly specification started when 8046 is set as the positioning start No. and
No. 8046 started.
Positioning data No. for Set the positioning data No. (1 to 600) whose execution will be
indirectly specification started when 8047 is set as the positioning start No. and
No. 8047 started.
Positioning data No. for Set the positioning data No. (1 to 600) whose execution will be
indirectly specification started when 8048 is set as the positioning start No. and
No. 8048 started.
Positioning data No. for Set the positioning data No. (1 to 600) whose execution will be
indirectly specification started when 8049 is set as the positioning start No. and
No. 8049 started.
Positioning data No. for Set the positioning data No. (1 to 600) whose execution will be
indirectly specification started when 8050 is set as the positioning start No. and
No. 8050 started.
12 - 99
12 CONTROL AUXILIARY FUNCTIONS
MELSEC-A
Indirectly speccification
No.8050
Buffer memory
Setting item address
specification data
Axis 1 indirectly
Indirectly speccification
No.8002
Indirectly speccification
Buffer memory
No.8001 Setting item address
specification data
Buffer memory
Setting item Positioning data No.(1 to 600) 4549
Axis 1 indirectly
address
specification data
Axis 1 indirectly
Indirectly speccification
No.8050
Buffer memory
Setting item address
specification data
Axis 1 indirectly
Indirectly speccification
No.8002
Indirectly speccification
Buffer memory
No.8001 Setting item address
specification data
Buffer memory
Setting item Positioning data No.(1 to 600) 4799
Axis 1 indirectly
address
specification data
Axis 2 indirectly
Indirectly speccification
No.8050
Buffer memory
Setting item address
specification data
Axis 1 indirectly
Indirectly speccification
No.8002
Indirectly speccification
Buffer memory
No.8001 Setting item address
specification data
Buffer memory
Setting item Positioning data No.(1 to 600) 5049
Axis 1 indirectly
address
specification data
Axis 3 indirectly
* Set to the AD75 using a sequence program or the AD75 software package.
12 - 100
12 CONTROL AUXILIARY FUNCTIONS
MELSEC-A
AD75
Buffer memory Servo amplifier
4
Controlled with
the specified
positioning data
1
8001
1150
2
1
4500
PLC CPU
3
ON
Input/output signal
12 - 101
12 CONTROL AUXILIARY FUNCTIONS
MELSEC-A
Device
Signal name Signal state
Axis 1 Axis 2 Axis 3
All axes servo ON signal ON Servo operation possible Y15
PLC READY signal ON PLC CPU preparation completed Y1D
AD75 READY signal OFF AD75 preparation completed X0
Interface Axis stop signal OFF Axis stop signal is OFF Y13 Y14 Y1C
signal Start complete signal OFF Start complete signal is OFF X1 X2 X3
BUSY signal OFF BUSY signal is OFF X4 X5 X6
Error detection signal OFF There is no error XA XB XC
M code ON signal OFF M code ON signal is OFF XD XE XF
Stop signal OFF Stop signal is OFF
External
Upper limit (FLS) ON Within limit range
signal
Lower limit (RLS) ON Within limit range
Monitor
Servo ON On Servo On is ON Md.116 Servo status: b1
data
12 - 102
12 CONTROL AUXILIARY FUNCTIONS
MELSEC-A
V
Operation pattern Dwell time Dwell time
3(11)
Positioning data No. 1(11)
2(01) 4(11)
5(00)
t
Fig. 12.47 Start time chart for positioning control using indirectly specification function
12 - 103
12 CONTROL AUXILIARY FUNCTIONS
MELSEC-A
MEMO
12 - 104
Chapter 13
COMMON FUNCTIONS
The details and usage of the "common functions" executed according to the user's
requirements are explained in this chapter.
Common functions include functions required when using the AD75, such as parameter
initialization and execution data backup.
Read the setting and execution procedures for each common function thoroughly, and
execute the appropriate function where required.
13
13 - 1
13 COMMON FUNCTIONS
MELSEC-A
13 - 2
13 COMMON FUNCTIONS
MELSEC-A
"The parameter initialization function" is used to return the setting data set in the AD75
flash ROM and OS memory to their factory-set initial values.
This function is used when several parameter errors occur and the AD75 will not start.
In this case, resetting is carried out after the setting data are initialized. (If there is an
abnormality in the parameters set in the AD75 when the PLC READY signal (Y1D) is
turned ON, the AD75 READY signal (X0) will not turn OFF, and control will not be
possible.)
Parameter initialization is carried out using one of the following methods.
• Method using the sequence program.
• Method using the AD75 software package.
"The execution method using the sequence program" is explained in this section.
Refer to the AD75 Software Package Operating Manual for details on the execution
method using the AD75 software package.
The details shown below explain about the "parameter initialization function".
(1) Control details
(2) Precautions during control
(3) Initializing the parameters
13 - 3
13 COMMON FUNCTIONS
MELSEC-A
Important
Parameter initialization takes about 10 seconds. (Up to 30 seconds are sometimes
required.)
Do not turn the power ON/OFF; reset the PLC CPU, etc., during parameter
initialization. The flash ROM data may be corrupted.
When the initialization is complete, "0" will be set in " Cd.10 Parameter
initialization request" by the AD75.
13 - 4
13 COMMON FUNCTIONS
MELSEC-A
When the AD75 buffer memory data is rewritten from the PLC CPU, "the data backed
up in the AD75 flash ROM" may differ from "the data for which control is being
executed". In cases like these, the data being executed will be lost when the PLC
power is turned OFF. (Refer to Chapter 7.)
In cases like these, the "execution data backup function" backs up the data being
executed by writing it to the flash ROM. The data that was backed up is then written to
the buffer memory when the power is turned ON next.
The execution data is backed up (written to the flash ROM) using one of the following
methods.
• Method using the sequence program
• Method using the AD75 software package
"The execution method using the sequence program" is explained in this section.
Refer to the AD75 Software Package Operating Manual for details on the execution
method using the AD75 software package.
The details shown below explain about the "execution data backup function".
(1) Control details
(2) Precautions during control
(3) Backing up the execution data
OS memory
Positioning data (No. 101 to No. 600) Positioning data (No. 101 to No. 600)
Positioning start information Positioning start information
(No. 7000 to 7010) (No. 7000 to 7010)
Important
Do not turn the power ON/OFF; reset the PLC CPU, etc., during parameter writing.
The flash ROM data may be corrupted.
13 - 5
13 COMMON FUNCTIONS
MELSEC-A
When the writing to the flash ROM is complete, "0" will be set in " Cd.9 Flash
ROM write request" by the AD75.
13 - 6
13 COMMON FUNCTIONS
MELSEC-A
The AD75 status, control status of each axis, input signal status, etc., can be confirmed
using the LED display on the front of the AD75 main unit.
Monitor the operation condition as required when the AD75 is not operating normally,
etc. (Constant monitoring is possible.)
The details shown below explain about the "LED display function".
(1) LED display position
(2) Display details
(3) Changing the display details
AD75M3 A1SD75M3
A D75M3 A1SD75M3
AX1
RS-422
AX2 AX3
A1SD75M3
AX1
AX3 AX2
13 - 7
13 COMMON FUNCTIONS
MELSEC-A
REMARK
The "OS type" appears in the LED display area for 1 second after the PLC power is
turned ON, then the "operation monitor 1" display appears.
13 - 8
13 COMMON FUNCTIONS
MELSEC-A
13 - 9
13 COMMON FUNCTIONS
MELSEC-A
(Procedure)
1) Power OFF the servo amplifier.
2) Set the key switch of the PLC CPU to STOP.
3) Power the PLC system OFF once, then ON again. If "FALT" is displayed when
the system is powered ON again, the hardware is faulty.
4) Then, correct the contents of the flash ROM.
Perform the parameter initialization function* to initialize the set data
(parameters, positioning data, start block data, condition data) saved in the
flash ROM to the factory settings. After parameter initialization, switch power
OFF once, then ON again.
5) Set the data, such as the parameters, positioning data, start block data and
condition data, to the buffer memory, and turn ON the PLC READY signal
(Y1D). At this time, make sure that the AD75 READY signal (X0) turns OFF. If
it does not turn OFF, any of the parameter settings is in error. Turn OFF the
PLC READY signal (Y1D), refer to the error code ( Md.33 Axis error No.), and
correct the parameter. Turn ON the PLC READY signal (Y1D) again, and
make sure that the AD75 READY signal (X0) turns OFF.
6) Turn OFF the PLC READY signal (Y1D) and execute write to flash ROM. (It
need not be executed when save to flash ROM is not necessary.)
* The parameter initialization function initializes all data saved in the flash ROM
to the factory settings. When it is not desired to initialize data other than the
parameters, back them up using the file register, etc., and then initialize the
parameters.
Operation monitor 1
Operation monitor 2
Internal information 1
Internal information 2
ULMT
LLMT
V-P
DOG
13 - 10
13 COMMON FUNCTIONS
MELSEC-A
"The clock data function" utilizes the PLC CPU clock data in the AD75.
This clock data is used to monitor the various history data. The clock data is controlled
in 0.1 second units in the AD75 to simplify the measurement of cycle time, etc.
The details shown below explain about the "clock data setting function".
(1) Precautions during control
(2) Setting the clock data
* Refer to section "5.7 List of control data" for details on the setting details.
13 - 11
13 COMMON FUNCTIONS
MELSEC-A
(b) Add the following sequence program to the control program, and write it to
the PLC CPU.
Example
*
* No.6 Clock data setting program
*
13 - 12
Chapter 14
TROUBLESHOOTING
The "errors" and "warnings" detected by the AD75 and servo amplifier are explained in
this chapter.
Errors and warnings can be confirmed with the AD75 LED display and peripheral devices.
When an "error" or "warning" is detected, confirm the detection details and carry out the
required measures.
14
14 - 1
14 TROUBLESHOOTING
MELSEC-A
(1) Errors
Types of errors
Errors include AD75-detected parameter setting range errors and errors at
operation start/during operation, and servo amplifier-detected errors.
POINT
If the AD75 does not start up due to occurrence of many errors 900 to 997, initialize
the parameters (refer to section 13.2) and then set them again.
14 - 2
14 TROUBLESHOOTING
MELSEC-A
14 - 3
14 TROUBLESHOOTING
MELSEC-A
Error storage
When an error occurs, the error detection signal turns ON, and the error code
corresponding to the error details is stored in the following buffer memory address
( Md.33 Axis error No.) for axis error No. storage. Note that there is a delay of up
to 56.8ms after the error detection signal turns ON until the error code is stored.
Axis No. Error detection signal Buffer memory address
1 XA 807
2 XB 907
3 XC 1007
A new error code is stored in the buffer memory ( Md.33 Axis error No.) for axis
error storage every time an error occurs.
(2) Warnings
Types of warnings
Warnings include system warnings and axis warnings detected by the AD75 and
warnings detected by the servo amplifier.
14 - 4
14 TROUBLESHOOTING
MELSEC-A
Warning storage
(1) When an axis warning occurs, the warning code corresponding to the warning
details is stored in the following buffer memory ( Md.34 Axis warning No.) for
axis warning No. storage.
Axis No. Buffer memory address
1 808
2 908
3 1008
(2) When an axis warning occurs, "1" is set in bit 9 (b9) of the following buffer
memory ( Md.40 Status) for axis status storage.
Axis No. Buffer memory address
1 817
2 917
3 1017
For details of (2) and (3), refer to the GPP Function Software Package Operating
Manual or AD75 Software Package Operating Manual.
14 - 5
14 TROUBLESHOOTING
MELSEC-A
Division of Error
Error name Description Action at occurrence of error
error code
000 (Normal)
• Hardware error
001 Fault • Any of the parameters saved in the flash
ROM is illegal.
The system is stopped.
003 Division by zero
004 Overflow Hardware error
005 Underflow
Common
Servo alarm
Servo alarm ( Md.116 Servo status: b13)
102 occurrence Immediate stop.
turned ON during operation.
during operation
14 - 6
14 TROUBLESHOOTING
MELSEC-A
14 - 7
14 TROUBLESHOOTING
MELSEC-A
Division of Error
Error name Description Action at occurrence of error
error code
PLC READY
The “PLC READY” signal is turned OFF while The AD75 READY signal (X0) is not turned
107 OFF --> ON in
the busy signal is turned ON. OFF.
busy
14 - 8
14 TROUBLESHOOTING
MELSEC-A
14 - 9
14 TROUBLESHOOTING
MELSEC-A
Division of Error
Error name Description Action at occurrence of error
error code
In the near-point dog method or count method
1), the zero point is not passed between a
machine zero point return start and machine
Zero point not
zero point return completion. The machine zero point return is not
210 pass at zero
After power-on, data setting method machine completed.
point return
zero point return control was performed without
the servo motor being rotated more than one
Zero point turn.
return
The machine zero point return is not
211 ZCT read error
completed.
A time-out occurred when the data used for
machine zero point return control were read
ABS reference from the servo amplifier. The machine zero point return is not
212
point read error completed.
14 - 10
14 TROUBLESHOOTING
MELSEC-A
Reset the axis error (refer to [3] in section 14.1) and start a
machine zero point return again.
<JOG speed>
1160 1210 1260 Correct the JOG speed to within the setting range. (Refer
1 to 1000000 [pulse/s]
1161 1211 1261 to section 11.2)
1 to 600000000 [mm/min, etc.]
Refer to section “5.4 List of start <Condition data No.> Examine the condition data number. (Refer to Da. 13 in
block data.” 1 to 10 section 5.4)
<Condition operator>
Refer to section “5.5 List of Correct the condition operator.
Axis designation: 09H, 0AH, 0BH, 0CH,
condition data.” (Refer to section 5.5 Da. 15 )
0DH, 0EH
<Command speed>
1 to 1000000 [pulse/s] Correct the positioning data.
1 to 600000000 [mm/min, etc.]
<Positioning address/movement
amount>
Refer to section “5.3 List of
• [mm] [inch] [pulse] [degree (INC)]
positioning data.” Examine the positioning address.
-2147483648 to 2147483647
• [degree (ABS)] 0 to 35999999
• Speed/position changeover
0 to 2147483647
<Arc address>
-2147483648 to 2147483647
• Correct the center point address (positioning address).
• Correct the end point address (arc address).
14 - 11
14 TROUBLESHOOTING
MELSEC-A
Division of Error
Error name Description Action at occurrence of error
error code
Start outside Positioning is started at a position outside the
507
stroke limit (+) upper software stroke limit.
Start outside Positioning is started at a position outside the
508
stroke limit (-) lower software stroke limit.
Movement Operation at the start is not carried out.
Positioning start is made to a position beyond
509 outside stroke
the upper software stroke limit.
limit (+)
Movement
Positioning start is made to a position beyond
510 outside stroke
the lower software stroke limit.
limit (-)
14 - 12
14 TROUBLESHOOTING
MELSEC-A
18 168 318
19 169 319
1154 1204 1254 <New current value> Change the new current value to within the setting range.
1155 1205 1255 [degree] 0 to 35999999 (Refer to section 9.2.10)
<Unit setting> Correct the positioning data or the “unit setting” parameter.
0 150 300
0, 1, 2, 3 (Refer to section 9.1.6)
<Control method> 01H to 11H, 20H
• 03H, 06H: 1 to 2 axis fixed-dimension control
Correct the control method.
• 0DH, 0EH: Speed control
(Refer to section 5.3 Da. 2 )
• 11H: Current value change
• Speed/position changeover control: 0FH, 10H
14 - 13
14 TROUBLESHOOTING
MELSEC-A
Division of Error
Error name Description Action at occurrence of error
error code
Command speed
522 The command speed is set at “0.”
setting error
14 - 14
14 TROUBLESHOOTING
MELSEC-A
Refer to section "5.3 List of Refer to the error history to search for axes developing
positioning data" and section "5.4 errors other than this one and remove the causes of the
Start block data." errors. Correct the start block data and positioning data.
14 - 15
14 TROUBLESHOOTING
MELSEC-A
Division of Error
Error name Description Action at occurrence of error
error code
14 - 16
14 TROUBLESHOOTING
MELSEC-A
Refer to section “5.3 List of <Max. radius> Correct the positioning data.
positioning data.” 536870912 (Refer to sections 9.2.6 and 9.2.7)
0 150 300 0, 1, 2, 3
14 - 17
14 TROUBLESHOOTING
MELSEC-A
Division of Error
Error name Description Action at occurrence of error
error code
Outside speed The setting range of “speed limit value” in basic
910
limit value range parameter 2 is out of the setting range.
Outside
The setting range of “acceleration time 0” in
911 acceleration time At power-on or when the PLC READY signal
basic parameter 2 is out of the setting range.
range (Y1D) is turned ON: The AD75 READY signal
Outside (X0) is not turned ON.
The setting range of “deceleration time 0” in
912 deceleration time At start: Operation does not start.
basic parameter 2 is out of the setting range.
range
Outside bias The setting range of “bias speed at start” in
913
speed range basic parameter 2 is out of the setting range.
• The “software stroke limit upper limit value”
setting in detail parameter 1 is out of the
setting range with “degree” unit.
• The software stroke limit upper limit value is
smaller than the software stroke limit lower
limit value with a unit other than “degree”.
Software stroke • When the zero point return detailed
921
limit upper limit parameter "absolute position restoration
selection" is "1: infinite length mode" and the
axis monitor data "absolute position
restoration mode" is "1: infinite length mode",
the software stroke limit function is valid
(software stroke limit upper limit value
software stroke limit lower limit value).
• The “software stroke limit lower limit value”
setting in detail parameter 1 is out of the
Parameter setting range with “degree” unit.
• The software stroke limit upper limit value is
smaller than the software stroke limit lower
limit value with a unit other than “degree.”
Software stroke • When the zero point return detailed
922 The AD75 READY signal (X0) is not turned
limit lower limit parameter "absolute position restoration
OFF.
selection" is "1: infinite length mode" and the
axis monitor data "absolute position
restoration mode" is "1: infinite length mode",
the software stroke limit function is valid
(software stroke limit upper limit value
software stroke limit lower limit value).
The setting range of “software stroke limit
Software stroke
923 selection” in detail parameter 1 is out of the
limit selection
setting range.
Software stroke The setting range of the “software stroke limit
924 limit valid/invalid valid/invalid setting” in detail parameter 1 is out
setting of the setting range.
The setting range of the “torque limit setting
Illegal torque limit
925 value” in detail parameter 1 is out of the setting
setting value
range.
The setting range of the “command in-position
Command in-
926 range” in detail parameter 1 is out of the setting
position range
range.
The setting range of the “M code ON signal
M code ON
927 output timing” in detail parameter 1 is out of the
timing error
setting range.
14 - 18
14 TROUBLESHOOTING
MELSEC-A
20 170 320 0, 1
21 171 321 0, 1
25 175 325 0, 1
14 - 19
14 TROUBLESHOOTING
MELSEC-A
Division of Error
Error name Description Action at occurrence of error
error code
Speed The setting range of the “speed changeover
928 changeover mode” in detail parameter 1 is out of the setting
mode error range.
Interpolation
The setting range of the “interpolation speed
speed
929 designation method” in detail parameter 1 is
designation
out of the setting range.
method
Current value The setting range of the “current feed value
930 update request during speed control” in detail parameter 1 is
error out of the setting range.
14 - 20
14 TROUBLESHOOTING
MELSEC-A
26 176 326 0, 1
27 177 327 0, 1
28 178 328 0, 1, 2
0: One-word type
31 181 331
1: Two-word type
14 - 21
14 TROUBLESHOOTING
MELSEC-A
Division of Error
Error name Description Action at occurrence of error
error code
JOG acceleration The setting range of “JOG acceleration time
957 selection setting selection” in detail parameter 2 is out of the
error setting range.
JOG deceleration The setting range of “JOG deceleration time
958 selection setting selection” in detail parameter 2 is out of the
error setting range.
Acceleration/dec
The setting range of “acceleration/deceleration
eleration
959 process selection” in detail parameter 2 is out
selection setting
of the setting range.
error
S-pattern
The setting range of the “S-pattern proportion”
960 proportion setting
in detail parameter 2 is out of the setting range.
error
At start: Failure to start
Illegal sudden The setting range of the “sudden stop During operation:
962 stop deceleration deceleration time” in detail parameter 2 is out Stopping according to sudden stop
time of the setting range. (stopping group 3) setting
(deceleration and stop/sudden
Stop group 1 The setting range of “stop group 1 sudden stop stop) selected in detail parameter 2
963 sudden stop selection” in detail parameter 2 is out of the
(However, deceleration and stop only during
selection error setting range.
manual pulse generator operation)
Stop group 2 The setting range of “stop group 2 sudden stop
964 sudden stop selection” in detail parameter 2 is out of the
selection error setting range.
Stop group 3 The setting range of “stop group 3 sudden stop
Parameter
965 sudden stop selection” in detail parameter 2 is out of the
selection error setting range.
Outside
The setting range of the “allowable circular
allowable circular
966 interpolation error width range” in detail
interpolation error
parameter 2 is out of the setting range.
width range
The setting range of “external start function
External start
967 selection” in detail parameter 2 is out of the
selection error
setting range.
The detailed parameter 2 "setting for the restart
Restart allowable
970 allowable range when servo OFF to ON"
range error
setting is outside the setting range.
The “near pass mode selection for path control”
Path control
971 setting in detail parameter 2 is out of the setting
mode error
range.
The setting range of the “zero point return
Zero point return The AD75 READY signal (X0) is not turned
980 method” zero point return basic parameter is
method error OFF.
out of the setting range.
The setting range of the “zero point return
Zero point return
981 direction” zero point return basic parameter is
direction error
out of the setting range.
Zero point The setting range of the “zero point address”
982 address setting zero point return basic parameter is out of the
error setting range.
14 - 22
14 TROUBLESHOOTING
MELSEC-A
50 200 350 0, 1, 2 ,3
51 201 351 0, 1, 2 ,3
52 202 352 0, 1
(One-word type)
54 204 354 1 to 65535
55 205 355 (Two-word type)
1 to 8388608
56 206 356 0, 1
57 207 357 0, 1
60 210 360
1 to 100000
61 211 361
62 212 362 0, 1, 2
70 220 370 0, 1, 2, 3, 4, 5
71 221 371 0, 1
14 - 23
14 TROUBLESHOOTING
MELSEC-A
Division of Error
Error name Description Action at occurrence of error
error code
The setting range of the “zero point return
Zero point return
983 speed” zero point return basic parameter is out
speed error
of the setting range.
The setting range of the “creep speed” zero
Creep speed
984 point return basic parameter is out of the
error
setting range.
The setting range of the “zero point return retry”
Zero point return
985 zero point return basic parameter is out of the
retry error
setting range.
The setting range of the “zero point return
Zero point return
991 torque limit value” zero point return detail
torque limit value
parameter is out of the setting range.
Setting for the
The setting range of the “setting for the
movement
movement amount after near-point dog ON”
992 amount after
zero point return detail parameter is out of the
near-point dog
setting range.
ON error The AD75 READY signal (X0) is not turned
Parameter
Zero point return The setting range of the “zero point return OFF.
993 acceleration acceleration time selection” zero point return
selection error detail parameter is out of the setting range.
Zero point return The setting range of the “zero point return
994 deceleration deceleration time selection” zero point return
selection error detail parameter is out of the setting range.
Speed selection The setting range of the “speed designation
997 at zero point shift during zero point shift” zero point return detail
error parameter is out of the setting range.
In the hardware version that does not support
the absolute position restoration mode
Absolute position
switching function (refer to Appendix 4), the
998 restoration
zero point return detailed parameter "absolute
selection error
position restoration selection" is set to "1:
infinite length mode".
Flash ROM sum
999 Flash ROM writing is terminated erroneously.
check error
If a reserved error code is displayed, unnecessary data is stored in the buffer memory not described in the
manual.
If a reserved error occurs, write the following data to the designated buffer memory.
14 - 24
14 TROUBLESHOOTING
MELSEC-A
78 228 378 0, 1
82 232 382 0, 1, 2 ,3
83 233 383 0, 1, 2 ,3
88 238 388 0, 1
14 - 25
14 TROUBLESHOOTING
MELSEC-A
Servo
Error
amplifier Name Definition Occurrence factor
code
LED display
1. Power supply voltage is low.
2. Power failed instantaneously.
In case of MR-H700BN or less: 15ms or more
Power supply voltage In case of MR-H11KBN or less: 10ms or more
2010 10 Undervoltage dropped. 3. Shortage of power supply capacity caused the power supply
160VAC or less voltage to drop at start, etc.
4. Power switched ON within 5s after it had switched OFF.
Motor
When using HC-MF, HA-FF, HC-SF or HC-UF series servomotor,
2020 1A combination Motor combination error
improper motor was connected with servo amplifier.
error
Communication error
1. Encoder connector disconnected.
occurred between
2020 20 Encoder error 2
encoder and servo
2. Encoder cable faulty (open cable or short circuit)
amplifier.
Ground fault occurred at 1. Power input cable and servomotor output cable are making
the servomotor outputs contact at the main circuit terminal block (TE1).
2024 24 Ground fault
(U, V and W phases) of
2. Servomotor power cable insulation deteriorated.
the servo amplifier.
14 - 26
14 TROUBLESHOOTING
MELSEC-A
Connect correctly.
Connect correctly.
Connect correctly.
14 - 27
14 TROUBLESHOOTING
MELSEC-A
Servo
Error
amplifier Name Definition Occurrence factor
code
LED display
1. Wrong setting of " Pr.102 Regenerative brake resistor"
Permissible regenerative 2. Built-in regenerative brake resistor or regenerative brake option is
power of the built-in not connected.
regenerative brake 3. High-duty operation or continuous regenerative operation caused
resistor or regenerative the permissible regenerative power of the regenerative brake
brake option is option to be exceeded.
exceeded. 4. Power supply voltage is abnormal.
260V or more
Regenerative
2030 30
error
4. " Pr.103 Motor type" or " Pr.105 Motor speed" setting error
5. Encoder faulty.
1. Short occurred in servo amplifier output phases U, V and W.
14 - 28
14 TROUBLESHOOTING
MELSEC-A
Connect correctly.
1. Change lead.
2. Connect correctly.
Change the servo amplifier.
1. For wire breakage of built-in regenerative brake
resistor, change servo amplifier.
2. For wire breakage of regenerative brake option, change
regenerative brake option.
14 - 29
14 TROUBLESHOOTING
MELSEC-A
Servo
Error
amplifier Name Definition Occurrence factor
code
LED display
1. SSCNET cable is disconnected.
SSCNET cable 2. SSCNET cable fault.
2034 34 CRC error
communication error 3. Noise entered the SSCNET cable.
4. The terminal connector is disconnected.
Command pulse Input command pulse is 1. Command pulse frequency too high.
2035 35
frequency alarm too high. 2. Noise entered the command pulse.
1. SSCNET cable is disconnected.
SSCNET cable or 2. SSCNET cable fault.
2036 36 Transfer error
printed board fault 3. Printed board H-C10 fault.
4. The terminal connector is disconnected.
1. Servo amplifier fault caused the parameter setting to be rewritten.
Servomotor temperature
Servomotor
2046 46 rise actuated the thermal 2. Servomotor is overloaded.
overheat
protector.
3. Thermal protector in encoder is faulty.
4. Air cooling fan of servomotor stopped.
5. Encoder faulty.
14 - 30
14 TROUBLESHOOTING
MELSEC-A
Connect correctly.
14 - 31
14 TROUBLESHOOTING
MELSEC-A
Servo
Error
amplifier Name Definition Occurrence factor
code
LED display
5. Encoder faulty.
7. Encoder faulty.
8. Wrong connection of servomotor.
Servo amplifier's output terminals U, V, W do not match
servomotor's input terminals U, V, W.
Serial communication
error occurred between 1. Communication cable faulty (open cable or short circuit).
servo amplifier and
2086 8E RS-232 alarm telecommunication
equipment (parameter
2. Telecommunication equipment faulty.
unit, personal computer
or similar device).
14 - 32
14 TROUBLESHOOTING
MELSEC-A
Connect correctly.
Connect correctly.
14 - 33
14 TROUBLESHOOTING
MELSEC-A
Servo
Error
amplifier Name and definition Occurrence factor
code
LED display
Undervoltage
The power supply voltage (R, S, T)
2010 10 2. An instantaneous power failure occurred for 15ms or longer.
dropped to or below the given level
(160VAC).
3. Shortage of power supply capacity caused the power supply
voltage to drop at start, etc.
Memory error 1
2012 12 J-C21 printed board fault
ROM, RAM
2013 13 Clock error J-C21 printed board fault
Memory error 2
2015 15 J-C21 printed board fault
E2PROM
14 - 34
14 TROUBLESHOOTING
MELSEC-A
14 - 35
14 TROUBLESHOOTING
MELSEC-A
Servo
Error
amplifier Name and definition Occurrence factor
code
LED display
Overspeed
2031 31 Motor speed reached or exceeded the
permissible speed. 3. The servo system is instable to cause overshoot.
4. " Pr.103 Motor type" or " Pr.105 Motor speed" setting error
5. Encoder faulty.
14 - 36
14 TROUBLESHOOTING
MELSEC-A
14 - 37
14 TROUBLESHOOTING
MELSEC-A
Servo
Error
amplifier Name and definition Occurrence factor
code
LED display
3. Cooling fault.
1. Servomotor overloaded.
5. Encoder faulty.
14 - 38
14 TROUBLESHOOTING
MELSEC-A
14 - 39
14 TROUBLESHOOTING
MELSEC-A
Servo
Error
amplifier Name and definition Occurrence factor
code
LED display
Error excessive
2052 52 Droop pulse value of the deviation counter
exceeded 80kpulses.
5. Servomotor rotated one turn by external force.
14 - 40
14 TROUBLESHOOTING
MELSEC-A
14 - 41
14 TROUBLESHOOTING
MELSEC-A
Servo
Error
amplifier Name Definition Occurrence factor
code
LED display
1. Power supply voltage is low.
2. An instantaneous power failure occurred for 100ms or longer.
3. Shortage of power supply capacity caused the power supply
Power supply voltage voltage to drop at start, etc.
2010 10 Undervoltage dropped to 160VAC or
4. Power was restored after the bus voltage dropped to 200VDC.
less.
(Main circuit power switched ON within 5s after it had switched
OFF.)
Communication error
1. Encoder connector disconnected.
occurred between
2020 20 Encoder error 2
encoder and servo
2. Encoder cable faulty (open cable or short circuit)
amplifier.
Ground fault occurred at 1. Ground fault occurred at U, V and W phases of servo amplifier
2024 24 Ground fault
U, V and W. output.
14 - 42
14 TROUBLESHOOTING
MELSEC-A
Connect correctly.
Change the servomotor.
Repair or change the cable.
Use correct combination.
Any of error codes 2017 and 2018 occurs if
power is switched ON after all connectors are Change the servo amplifier.
disconnected.
Connect correctly.
14 - 43
14 TROUBLESHOOTING
MELSEC-A
Servo
Error
amplifier Name Definition Occurrence factor
code
LED display
1. " Pr.102 Regenerative brake resistor" setting error
Permissible regenerative
2. Built-in regenerative brake resistor or regenerative brake option is
power of the built-in
not connected.
regenerative brake
3. High-duty operation or continuous regenerative operation caused
resistor or regenerative
the permissible regenerative power of the regenerative brake
brake option is
option to be exceeded.
exceeded.
Regenerative 4. Power supply voltage increased to 260V or more.
2030 30
error
3. Encoder faulty.
1. Short occurred in servo amplifier output phases U, V and W.
14 - 44
14 TROUBLESHOOTING
MELSEC-A
Connect correctly.
1. Change lead.
2. Connect correctly.
Change the servo amplifier.
1. For wire breakage of built-in regenerative brake
resistor, change servo amplifier.
2. For wire breakage of regenerative brake option, change
regenerative brake option.
Connect correctly.
Repair or change the cable.
Take noise suppression measures.
Connect correctly.
Review the operation program.
Take noise suppression measures.
Change the AD75.
Connect correctly.
Repair or change the cable.
Connect correctly.
Change the servo amplifier.
14 - 45
14 TROUBLESHOOTING
MELSEC-A
Servo
Error
amplifier Name Definition Occurrence factor
code
LED display
1. Servo amplifier fault caused the parameter setting to be rewritten.
2037 37 Parameter error Parameter setting error 2. Regenerative brake option not combined with used servo
amplifier was selected in " Pr.102 Regenerative brake resistor".
5. Encoder faulty.
4. Encoder faulty.
14 - 46
14 TROUBLESHOOTING
MELSEC-A
102 252 402 Set " Pr.102 Regenerative brake resistor" correctly.
Connect correctly.
Connect correctly.
14 - 47
14 TROUBLESHOOTING
MELSEC-A
Servo
Error
amplifier Name Definition Occurrence factor
code
LED display
1. Acceleration/deceleration time constant is small.
2. Motor cannot be started due to torque shortage caused by power
supply voltage drop.
6. Encoder faulty.
7. Wrong connection of servomotor.
Servo amplifier's output terminals U, V, W do not match
servomotor's input terminals U, V, W.
Serial communication
1. Communication connector disconnected.
error occurred between
servo amplifier and
2. Communication cable faulty (open cable or short circuit).
2086 8E RS-232 alarm telecommunication
equipment (personal
3. Telecommunication equipment (personal computer or similar
computer or similar
device) faulty.
device).
14 - 48
14 TROUBLESHOOTING
MELSEC-A
Connect correctly.
Connect correctly.
14 - 49
14 TROUBLESHOOTING
MELSEC-A
Servo
Error
amplifier Name Definition Occurrence factor
code
LED display
1. Power supply voltage is low.
2. An instantaneous power failure occurred for 60ms or longer.
Power supply voltage 3. Shortage of power supply capacity caused the power supply
dropped. voltage to drop at start, etc.
MR-J2S- B: 4. Power was restored after the bus voltage dropped to 200VDC.
2010 10 Undervoltage
160VAC or less (Main circuit power switched ON within 5s after it had switched
MR-J2S- B1: OFF.)
83VAC or less
5. Faulty parts in the servo amplifier.
14 - 50
14 TROUBLESHOOTING
MELSEC-A
Connect correctly.
14 - 51
14 TROUBLESHOOTING
MELSEC-A
Servo
Error
amplifier Name Definition Occurrence factor
code
LED display
1. " Pr.102 Regenerative brake resistor" setting error
2. Built-in regenerative brake resistor or regenerative brake option is
Permissible regenerative
not connected.
power of the built-in
3. High-duty operation or continuous regenerative operation caused
regenerative brake
the permissible regenerative power of the regenerative brake
resistor or regenerative
option to be exceeded.
brake option is
4. Power supply voltage is abnormal.
exceeded.
Regenerative MR-J2S- B: 260V or more
2030 30
error MR-J2S- B1: 135V or more
3. Encoder faulty.
1. Short occurred in servo amplifier output phases U, V and W.
14 - 52
14 TROUBLESHOOTING
MELSEC-A
Connect correctly.
1. Change lead.
2. Connect correctly.
Change the servo amplifier.
1. For wire breakage of built-in regenerative brake
resistor, change servo amplifier.
2. For wire breakage of regenerative brake option, change
regenerative brake option.
14 - 53
14 TROUBLESHOOTING
MELSEC-A
Servo
Error
amplifier Name Definition Occurrence factor
code
LED display
1. SSCNET cable is disconnected.
SSCNET cable or
2036 36 Transfer error 2. SSCNET cable fault.
printed board fault
3. The terminal connector is disconnected.
1. Servo amplifier fault caused the parameter setting to be rewritten.
5. Encoder faulty.
4. Encoder faulty.
14 - 54
14 TROUBLESHOOTING
MELSEC-A
Connect correctly.
Connect correctly.
14 - 55
14 TROUBLESHOOTING
MELSEC-A
Servo
Error
amplifier Name Definition Occurrence factor
code
LED display
1. Acceleration/deceleration time constant is small.
7. Encoder faulty.
8. Wrong connection of servomotor.
Servo amplifier's output terminals U, V, W do not match
servomotor's input terminals U, V, W.
Serial communication
error occurred between 1. Communication cable faulty (open cable or short circuit).
servo amplifier and
2086 8E RS-232 alarm telecommunication
equipment (personal 2. Telecommunication equipment (personal computer or similar
computer or similar device) faulty.
device).
14 - 56
14 TROUBLESHOOTING
MELSEC-A
Connect correctly.
14 - 57
14 TROUBLESHOOTING
MELSEC-A
Servo
Error
amplifier Name Definition Occurrence factor
code
LED display
1. Power supply voltage is low.
2. An instantaneous power failure occurred for 40ms or longer.
3. Shortage of power supply capacity caused the power supply
voltage to drop at start, etc.
Power supply voltage
4. Power was restored after the bus voltage dropped to 15VDC.
2010 10 Undervoltage dropped to 20VDC or
(Main circuit power switched ON within 5s after it had switched
less.
OFF.)
2017 17 Board error 2 CPU/parts fault Faulty parts in the servo amplifier
3. Encoder faulty.
1. Short occurred in servo amplifier output phases U, V and W.
14 - 58
14 TROUBLESHOOTING
MELSEC-A
Connect correctly.
Change the servomotor.
14 - 59
14 TROUBLESHOOTING
MELSEC-A
Servo
Error
amplifier Name Definition Occurrence factor
code
LED display
1. SSCNET cable is disconnected.
2. SSCNET cable fault (open cable or short circuit).
SSCNET cable
2034 34 CRC error 3. Noise entered the SSCNET cable.
communication error
4. The terminal connector is disconnected.
5. The same No. exists in the servo amplifier side axis setting.
1. Command of higher than servomotor maximum speed was given.
Command pulse Input command pulse is
2035 35 2. Noise entered the SSCNET cable.
frequency alarm too high.
3. AD75 faulty
1. SSCNET cable is disconnected.
2. SSCNET cable fault.
2036 36 Transfer error SSCNET cable fault
3. Printed board faulty
4. The terminal connector is disconnected.
1. Servo amplifier fault caused the parameter setting to be rewritten.
5. Encoder faulty.
4. Encoder faulty.
14 - 60
14 TROUBLESHOOTING
MELSEC-A
Connect correctly.
Connect correctly.
14 - 61
14 TROUBLESHOOTING
MELSEC-A
Servo
Error
amplifier Name Definition Occurrence factor
code
LED display
1. Acceleration/deceleration time constant is small.
7. Encoder faulty.
8. Wrong connection of servomotor.
Servo amplifier's output terminals U, V, W do not match
servomotor's input terminals U, V, W.
Serial communication
error occurred between 1. Communication cable faulty (open cable or short circuit).
servo amplifier and
2086 8E RS-232 alarm telecommunication
equipment (personal 2. Telecommunication equipment (personal computer or similar
computer or similar device) faulty.
device).
14 - 62
14 TROUBLESHOOTING
MELSEC-A
Connect correctly.
14 - 63
14 TROUBLESHOOTING
MELSEC-A
The following table shows the warning details and remedies when warnings occur.
Division of Warning
Warning name Description Action at occurrence of warning
warning code
000 (Normal)
FeRAM count FeRAM access count exceeded
10
warning 9 109 times.
When the absolute position of the zero point is
Automatic automatically updated in the infinite length
11 update count positioning control of control unit "degree", the
9
over FeRAM access count exceed 9.9999 10 Operation continues.
times.
When the absolute position of the zero point is
Automatic automatically updated in the infinite length
12
update failure positioning control of control unit "degree",
write to FeRAM is not completed normally.
Start during
100 A start request is issued when the axis is busy. Operation continues.
operation
Current value
The current value is changed when the axis is
101 change when The current value change request is ignored.
busy.
BUSY
Common
Illegal target The target axis of reading/writing is out of the • The warning is for the reference axis.
105
axis setting range. • Reading/writing is not made.
Illegal
The positioning data number to be read/written • The warning is for the target axis.
106 positioning data
is out of the setting range. • Reading/writing is not made.
No.
Illegal writing The writing pattern to be read/written is out of • The warning is for the target axis.
107
pattern the setting range. • Reading/writing is not made.
Illegal flash A flash ROM writing request is issued when • The warning is for axis 1.
108
ROM writing AD75 READY (X0) is OFF. • The flash ROM is not written.
Writing when The warning is for the target axis of the writing
109 A request is issued when the axis is busy.
BUSY request.
14 - 64
14 TROUBLESHOOTING
MELSEC-A
14 - 65
14 TROUBLESHOOTING
MELSEC-A
Division of Warning
Warning name Description Action at occurrence of warning
warning code
Illegal override A value outside the range from 1 to 300 is • Setting “0”: Controlled to 100.
112
value specified as an override value. • “301” or larger setting: Controlled to 300.
Outside new
A value outside the range from 1 to 500 is
113 torque value Torque change is not carried out.
specified as a new torque value.
range
Manual
pulse
generator Manual pulse The manual pulse generator enable flag is set
Failure to start manual pulse generator
402 generator when “manual pulse generator selection” in
operation
selection 0 detail parameter 1 is set at “0.”
14 - 66
14 TROUBLESHOOTING
MELSEC-A
<No. of read/write data> Change the setting to within the setting range and issue
5102
1 to 100 a read/write request. (Refer to section 7.2)
<Speed change request> Do not change the JOG speed during deceleration
1158 1208 1258
1: Speed change request caused by turned OFF of the JOG start signal.
Manual pulse generator enable flag <Manual pulse generator enable flag>
1167 1217 1267 0: Operation using the manual pulse
Manual pulse generator selection generator is not enabled.
1: Operation using the manual pulse
generator is enabled.
<Manual pulse generator selection> • Change the manual pulse generator enable flag to
0: Manual pulse generator operation prohibition.
ignored • Change the manual pulse generator selection setting
29 179 329 1: Manual pulse generator connected to to a value between 1 and 3.
axis 1 is used.
2: Manual pulse generator connected to
axis 2 is used.
3: Manual pulse generator connected to
axis 3 is used.
14 - 67
14 TROUBLESHOOTING
MELSEC-A
Division of Warning
Warning name Description Action at occurrence of warning
warning code
Deceleration and
A speed change request is issued during
500 stop speed Speed change is not carried out.
deceleration and stop.
change
FOR to NEXT
506 There is a nested set of FOR and NEXT.
nesting structure
Speed/position
The changeover signal is turned ON during Operation continues.
changeover
508 acceleration under speed/position changeover
signal ON during
control.
Positioning acceleration
operation Insufficient A speed change occurs at the nearest value.
The deceleration distance for a speed change
509 remaining (However, the request is ignored if the
request is insufficient.
distance operation pattern is continuous path control.)
“2: Restart” is specified for the step start
information in the “in step wait” axis operation
status.
Invalid step start "1: Step continue" or "2: Restart" is set to the
511 Step operation does not start.
information step start information in the axis operation
status of "step error occurring", "error
occurring", "waiting", "stopped", "servo has not
been connected" or "in servo OFF".
Illegal external The “external start function selection” setting in Nothing occurs in response to the external start
512
start function detail parameter 2 exceeds the setting range. signal.
Insufficient
There is no movement amount necessary for Immediate stop after the positioning address is
513 movement
automatic deceleration. reached
amount
14 - 68
14 TROUBLESHOOTING
MELSEC-A
<External start function selection> Change “external start function selection” in detail
62 212 362
0, 1, 2 parameter 2 to within the setting range.
Refer to section “5.3 List of positioning Change the positioning data to an address or
data.” movement amount sufficient for deceleration.
14 - 69
14 TROUBLESHOOTING
MELSEC-A
Servo
Warning
amplifier Name Definition Occurrence factor
code
LED display
Open battery cable Absolute position detection system 1. Battery cable is open.
2092 92
warning battery voltage is low. 2. Battery voltage dropped to 2.8V or less.
1. In incremental system:
Zero point return could not be
made.
Zero point setting Droop pulses remaining are greater than the in-
2096 96 2. In absolute position detection
warning position range setting.
system:
Zero point setting could not be
made.
Voltage of battery for absolute
2102 9F Battery warning Battery voltage dropped to 3.2V or less.
position detection system reduced.
There is a possibility that
Regenerative power increased to 85% of
regenerative power may exceed
Excessive permissible regenerative power of built-in
2140 E0 permissible regenerative power of
regenerative warning regenerative brake resistor or regenerative brake
built-in regenerative brake resistor
option.
or regenerative brake option.
There is a possibility that overload Load increased to 85% or more of overload 1 (error
2141 E1 Overload warning 1 (error code: 2050) or overload 2 code: 2050) or overload 2 (error code: 2051)
(error code: 2051) may occur. occurrence level.
Parameter is outside the setting Parameter was set from AD75 to value outside
2144 E4 Parameter warning
range. setting range.
Servo emergency External emergency stop was made valid.
2146 E6 EM1-EM2 open.
stop (EM1-EM2 opened)
1. EMG (pin 6) or EMG* (pin 16) in SSCNET cable
is open.
2. Servo amplifier connector faulty
Servo system controller
2147 E7 PC emergency stop 3. AD75 connector faulty
emergency stop was input.
14 - 70
14 TROUBLESHOOTING
MELSEC-A
Refer to overload 1 (error code: 2050) Refer to overload 1 (error code: 2050) or
or overload 2 (error code: 2051) in overload 2 (error code: 2051) in section
Servo ON continued
section "14.2.2 Errors detected by MR- "14.2.2 Errors detected by MR-H-B (MR-H-
H-B (MR-H-BN)". BN)".
14 - 71
14 TROUBLESHOOTING
MELSEC-A
Servo
Warning
amplifier Name Definition Occurrence factor
code
LED display
Open battery cable Absolute position detection system 1. Battery cable is open.
2092 92
warning battery voltage is low. 2. Battery voltage dropped to 2.8V or less.
1. In incremental system:
Zero point return could not be
made.
Zero point setting Droop pulses remaining are greater than the in-
2096 96 2. In absolute position detection
warning position range setting.
system:
Zero point setting could not be
made.
Parameter is outside the setting Parameter was set from AD75 to value outside
2144 E4 Parameter warning
range. setting range.
1. EMG (pin 6) or EMG* (pin 16) in SSCNET cable
is open.
2. Servo amplifier connector faulty
Servo system controller
2147 E7 PC emergency stop 3. AD75 connector faulty
emergency stop was input.
14 - 72
14 TROUBLESHOOTING
MELSEC-A
14 - 73
14 TROUBLESHOOTING
MELSEC-A
Servo
Warning
amplifier Name Definition Occurrence factor
code
LED display
Open battery cable Absolute position detection system 1. Battery cable is open.
2092 92
warning battery voltage is low. 2. Battery voltage dropped to 2.8V or less.
1. In incremental system:
Zero point return could not be
made.
Zero point setting Droop pulses remaining are greater than the in-
2096 96 2. In absolute position detection
warning position range setting.
system:
Zero point setting could not be
made.
There is a possibility that
Regenerative power increased to 85% of
regenerative power may exceed
Excessive permissible regenerative power of built-in
2140 E0 permissible regenerative power of
regenerative warning regenerative brake resistor or regenerative brake
built-in regenerative brake resistor
option.
or regenerative brake option.
There is a possibility that overload Load increased to 85% or more of overload 1 (error
2141 E1 Overload warning 1 (error code: 2050) or overload 2 code: 2050) or overload 2 (error code: 2051)
(error code: 2051) may occur. occurrence level.
Absolute position Absolute position encoder pulses 1. Noise entered the encoder.
2143 E3
counter warning faulty. 2. Encoder faulty.
Parameter is outside the setting Parameter was set from AD75 to value outside
2144 E4 Parameter warning
range. setting range.
14 - 74
14 TROUBLESHOOTING
MELSEC-A
Servo OFF
Change the servo amplifier.
14 - 75
14 TROUBLESHOOTING
MELSEC-A
Servo
Warning
amplifier Name Definition Occurrence factor
code
LED display
Open battery cable Absolute position detection system 1. Battery cable is open.
2092 92
warning battery voltage is low. 2. Battery voltage dropped to 2.8V or less.
1. Droop pulses remaining are greater than the in-
position range setting.
Zero point setting Zero point return could not be 2. Zero point return was executed during operation
2096 96
warning made to the accurate position. command.
Parameter is outside the setting Parameter was set from AD75 to value outside
2144 E4 Parameter warning
range. setting range.
14 - 76
14 TROUBLESHOOTING
MELSEC-A
Servo ON continued
76 226 476
Reduce creep speed.
77 227 477
Refer to error code: 2050, 2051 Refer to error code: 2050, 2051 (Section
Servo ON continued
(Section 14.2.4). 14.2.4).
Servo OFF
Change the servo amplifier.
14 - 77
14 TROUBLESHOOTING
MELSEC-A
Servo
Warning
amplifier Name Definition Occurrence factor
code
LED display
There is a possibility that overload Load increased to 85% or more of overload 1 (error
2141 E1 Overload warning 1 (error code: 2050) or overload 2 code: 2050) or overload 2 (error code: 2051)
(error code: 2051) may occur. occurrence level.
Parameter is outside the setting Parameter was set from AD75 to value outside
2144 E4 Parameter warning
range. setting range.
14 - 78
14 TROUBLESHOOTING
MELSEC-A
14 - 79
14 TROUBLESHOOTING
MELSEC-A
If an error occurs when starting, all the data in the buffer memory start history area
(address: 462 to 541) is copied to the start during error history area (addresses: 543 to
622).
The data stored in the start during error history area is lost when the power is turned
OFF.
(When the power is turned ON, a "0" is stored in the start during error history.)
Up to 16 start history items from turning the power ON can be stored in the start during
error history area.
(The previous history items are cleared in order from No. 1 when the No. of history
items is exceeded.)
The start during error history can be monitored with a peripheral device.
Refer to the AD75 Software Package Operating Manual for details on operation of the
peripheral device.
14 - 80
APPENDICES
APPEN-
DICES
Appendix - 1
APPENDICES
MELSEC-A
(1) AD75M1/AD75M2/AD75M3
4.2
A D75M3
2
AX1
AX2
AX3
MODE
RS-422
250
PCB
AX1
AX3 AX2
38
(Unit: mm)
Appendix - 2
APPENDICES
MELSEC-A
(2) A1SD75M1/A1SD75M2/A1SD75M3
A1SD75M3
AX1
AX2
AX3
AX1
MODE
RS-422
130
PCB
AX2 AX3
A1SD75M3
38
6.5 93.6 52 34.5
(Unit: mm)
Appendix - 3
APPENDICES
MELSEC-A
Axis address
mm, inch, degree, pulse
Appendix - 4
APPENDICES
MELSEC-A
Axis address
mm, inch, degree, pulse
Appendix - 5
APPENDICES
MELSEC-A
[1] Parameters
Setting range
Item
mm inch degree pulse
Pr.1 Unit setting 0 1 2 3
parameters 1
Appendix - 6
APPENDICES
MELSEC-A
3
20000
20000
200000
1000
1000
2147483647
–2147483648
100
300
0
Appendix - 7
APPENDICES
MELSEC-A
Setting range
Item
mm inch degree pulse
0: Ignore manual pulse generator operation
Detailed parameters 1
Appendix - 8
APPENDICES
MELSEC-A
Axis 1: 1, Axis 2: 2,
Axis 3: 3
1000
1000
1000
1000
1000
1000
20000
100
1000
300
100
Appendix - 9
APPENDICES
MELSEC-A
Setting range
Item
mm inch degree pulse
0: Near-point dog method, 4: Count method 1)
Pr.45 Zero point return method 5: Count method 2), 6: Data setting method
Zero pint return basic parameters
–2147483648 to –2147483648 to
0 to 35999999 –2147483648 to
2147483647 2147483647
Pr.47 Zero point address × 10-5degree 2147483647
× 10-1µm × 10-5inch pulse/s
selection
0 to 3
Zero point return deceleration time
Pr.54
selection
–2147483648 to –2147483648 to
0 to 35999999 –2147483648 to
Pr.55 Zero point shift amount 2147483647 2147483647
× 10-5degree 2147483647
× 10-1µm × 10-5inch pulse/s
Appendix - 10
APPENDICES
MELSEC-A
1
1
300
Appendix - 11
APPENDICES
MELSEC-A
0000H
0
1
0
30
70
1200
25
600
20
0
0
100
100
Appendix - 13
APPENDICES
MELSEC-A
Appendix - 14
APPENDICES
MELSEC-A
50
80
0
980
Appendix - 15
APPENDICES
MELSEC-A
Appendix - 16
APPENDICES
MELSEC-A
0000H
0
1
0
30
70
1200
25
600
20
0
0
100
0
50
80
980
Appendix - 17
APPENDICES
MELSEC-A
brake selection
Pr.103 Motor type 0080H: Automatic setting, 00FFH: Special motor
Pr.104 Motor capacity 0000H to 9999H
0: Forward run with positioning address increment
Pr.107 Rotation direction
1: Reverse run with positioning address increment
0: Auto tuning selected for use of interpolation axis control in position
Pr.108 Auto tuning
control, 1: Auto tuning for ordinary operation, 2: Invalid
1: Normal (low response), 2: Normal (low/middle response),
3: Normal (middle response), 4: Normal (middle/high response),
5: Normal (high response), 8: Large friction (low response),
Pr.109 Servo response setting
9: Large friction (low/middle response),
A: Large friction (middle response),
B: Large friction (middle/high response), C: Large friction (high response)
Pr.112 Load inertia ratio 0.0 to 100.0%
Pr.113 Position loop gain 1 4 to 1000rad/s
Pr.114 Speed loop gain 1 20 to 5000rad/s
Pr.115 Position loop gain 2 1 to 500rad/s
Pr.116 Speed loop gain 2 20 to 8000rad/s
Pr.117 Speed integral compensation 1 to 1000 ms
Pr.118 Notch filter selection 0: Not used, 1: 1125, 2: 563, 3: 375, 4: 282, 5: 225, 6:1881, 7: 161
Servo adjustment parameters
0000H
0
30
70
1200
25
600
20
0
0
100
100
0
0
50
80
0
980
Appendix - 19
APPENDICES
MELSEC-A
Appendix - 20
APPENDICES
MELSEC-A
0000H
0
0
30
70
1200
25
600
20
0
0
100
100
Appendix - 21
APPENDICES
MELSEC-A
selection
Low pass
parameters
Adaptive vibration
filter/adaptive
Pr.125 vibration suppression 0: Invalid, 1: Valid 2: Hold
suppression control selection
control Adaptive vibration
suppression 0: Normal, 1: Large sensitivity
control sensitivity
Pr.127 Monitor output 1 offset –999 to 999mV
Pr.128 Monitor output 2 offset –999 to 999mV
Pr.130 Zero speed 0 to 10000r/min
Pr.131 Error excessive alarm level 0.025 to 25.000rev
0: PI control is always valid
Option PI-PID control 1: Switched to PID control when value set to "PI-PID switching
Pr.132
function 5 switching position droop" is reached or exceeded during position control
Servo extension parameters
Appendix - 22
APPENDICES
MELSEC-A
0
0
50
80
0
980
4000
Appendix - 23
APPENDICES
MELSEC-A
Appendix - 24
APPENDICES
MELSEC-A
0000H
0
30
70
1200
25
600
20
0
0
100
100
1
0
0
50
80
0
980
Appendix - 25
APPENDICES
MELSEC-A
Appendix 2.3 Positioning data setting value entry table [data No. to ]
Axis
Da.1 Da.2 Da.3 Da.4 Da.5 Da.6 Da.7 Da.8 Da.9
Operation Control Accelera- Decelera- Positioning Arc Command Dwell time M code
Data pattern method tion time tion time address/ address speed
No. No. movement
amount
1
2
3
4
5
6
7
8
9
0
1
2
3
4
5
6
7
8
9
0
1
2
3
4
5
6
7
8
9
0
1
2
3
4
5
6
7
8
9
0
1
2
3
4
5
6
7
8
9
0
Appendix - 26
APPENDICES
MELSEC-A
Appendix - 27
APPENDICES
MELSEC-A
Appendix - 28
APPENDICES
MELSEC-A
Appendix - 29
APPENDICES
MELSEC-A
*1: When auto tuning is invalid, the values set to the servo amplifier are also stored.
Appendix - 30
APPENDICES
MELSEC-A
Appendix - 31
APPENDICES
MELSEC-A
Positioning speed V2
an absolute position detector and servo
Positioning address P2 amplifier and positioning module compatible
with an absolute position detection system are
Time required to configure this system.
Positioning address P1
ABSOLUTE SYSTEM
ABSOLUTE ENCODER This is one system for expressing a positioning
This is a detector that enables the angle data address.
within 1 motor rotation to be output to an Absolute address system.
external destination. Absolute encoders are This system uses 0 as a reference, and
expresses the address as the distance from 0.
generally able to output 360° in 8 to 12 bits.
The direction is automatically determined,
Incremental encoders have a disadvantage in
even when it is not designated. The other
that the axis position is lost when a power
address system is the increment system.
failure occurs. However, with absolute
encoders, the axis position is not lost even
0 No.1 No.2 No.3
when a power 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".
Setting speed
Speed 0 Time
Acceleration time
Appendix - 32
APPENDICES
MELSEC-A
Clamp command
Backlash
Machine
AUTO TUNING (Automatic Tuning) 1m (right feed) does not
move.
Properties such as responsiveness and
1m (left feed)
stability of machines driven with a servomotor Backlash
are affected by changes in the inertia moment (Left feed amount)
and rigidity due to changes in the machine
load, etc.
This function automatically adjusts the speed
loop gain and position loop gain to match the BACKUP FUNCTION
machine state, so the machine's performance Backup functions consist of the following.
can be maintained at its optimum state. 1) Functions for storing the sequence program
A real time automatic tuning function should be and device statuses stored in the RAM
used for machines having large load memory of the PLC CPU, so that they are
fluctuations. not lost during power failures, etc.
2) Functions for storing the current value in
absolute position compatible systems so
AUTOMATIC TRAPEZOIDAL that it is not lost during power failures, etc.
ACCELERATION/DECELERATION 3) Functions for reading the PLC CPU data
An operation in which a graph of the time and (PLC programs, parameters, positioning
speed takes a trapezoidal shape. data, etc.) by a peripheral device when the
old CPU is replaced, and then write it to the
Acceleration new PLC CPU after the replacement is
Deceleration completed.
Speed
Time
Appendix - 33
APPENDICES
MELSEC-A
Y axis
Bias speed Composite speed
Speed 0 speed
X axis speed
BUSY
The device is doing some other work. It is in a
positioning operation or in dwell time. CONTINUOUS POSITIONING CONTROL
Refer to the term "OPERATION PATTERN".
CCW (Counterclockwise)
Rotation in the counterclockwise direction. In CONTROL UNIT
the motor, this is determined looking from the This is one type of positioning reference data.
shaft end side. Also refer to "CW". The unit to be used is designated as mm, inch,
degree, or pulse.
CHANGE signal
CP CONTROL (Continuous Path Control)
The CHANGE signal is an external signal used
Continuous path is a control method in which a
to change the speed/position control from the
path is followed without interrupting such as in
speed control being executed to position
uniform speed control.
control.
Appendix - 34
APPENDICES
MELSEC-A
Appendix - 35
APPENDICES
MELSEC-A
Appendix - 36
APPENDICES
MELSEC-A
Light source
F
(LED) Collimator lens In the AD75, this is a status where there is a
fault in the module itself.
b
Main scale
Photoreceptor FEEDBACK PULSE
(photodiode)
a This is a method of using a returning pulse
Reference
a train to confirm whether the machine faithfully
b z operated according to the commands issued in
zero point Index
scale automatic control. If the machine did not
faithfully operate according to the commands,
Linear encoder
a correction command is issued. For example,
if a command is issued for 10,000 pulses, and
a feedback pulse of 10,000 pulses is returned,
ERROR CORRECTION then the balance becomes 0 and it can be
If a dimension error occurs in the machine, judged that the command was faithfully
and that error is actually smaller or larger than followed.
1m in spite of a 1m command being issued Refer to the term "DEVIATION COUNTER".
from the AD75, that error amount will be
compensated. For example, when the error is
actually smaller than 1m, the remaining FIXED-DIMENSION FEED
distance to 1m is fed, and the correct 1m of
This is the feeding of a set dimension for
positioning is carried out.
cutting sheet and bar workpieces into the
designated dimensions. Increment system
positioning is often used. The current value is
ERROR RESET not incremented, even when the feed
This resets error of axis. Note that if the cause operation is repeated.
of the error is not eliminated at that time, the
error will occur again.
FLASH MEMORY
This battery-less memory can be used to store
parameters and positioning data for backup.
Because it is battery-less, battery maintenance
is not required.
Appendix - 37
APPENDICES
MELSEC-A
GAIN
The changing of the ratio between two values Zero point
having a proportional relation. Seen on a
graph, the changing of the incline of the
characteristics. Near-point dog switch
Raising
the gain
13 INCREMENT SYSTEM
10 The current value is 0 in this system. Positions
are expressed by the designated direction and
distance of travel. Also called the relative
Output Lowering address system. This system is used in fixed-
the gain dimension feed, etc. Compare ABSOLUTE
2
SYSTEM.
10
Input No.1 No.2 No.3
Stop
Zero point
Appendix - 38
APPENDICES
MELSEC-A
JOG
INPUT TERMINAL This refers to moving the tool in small steps at
This is a pin connector wired by the user for a time. Inching.
inputting data to the AD75 from an external Parameter setting is required when carrying
source. It is connected to the machine side. out JOG operation.
This terminal is used to output the following.
• Near-point dog signal
• Stop signal kPPS
• Upper limit signal
This is the abbreviation for "kilopulses per
• Lower limit signal
second". 80kPPS equals 80,000 pulses per
• External start signal
second.
• Speed/position changeover signal
• Manual pulse generator
The input No. Xn is not directly related to the
program, so it is not used.
Appendix - 39
APPENDICES
MELSEC-A
Appendix - 40
APPENDICES
MELSEC-A
ON OFF
Time
Near-point dog
Appendix - 41
APPENDICES
MELSEC-A
PARAMETER POSITIONING
This is the basic data used in positioning. Accurately moving the machine from a point to
Parameters are determined by the machine a determined point. The distance, direction,
side design, so subsequent changes of speed, etc., for that movement are designated
parameters must be accompanied by changes by the user. Positioning is used in operations
in the machine design. such as cutting sheets, drilling holes in plates,
Data cannot be written during positioning. The mounting parts on a PCB, and welding.
initial parameter values are written by the Positioning is also used with robots.
maker.
Dwell time
POSITION LOOP GAIN Positioning complete
This is the ratio of the deviation counter droop signal
pulse count to the command speed (pulse/s).
Position Command speed
= (1/s)
loop gain Droop pulse count Positioning Different type of work
The position loop gain can be set with the
Time
servo amplifier. Raise the gain to improve the
stopping accuracy. However, overshooting will
occur if the position loop gain is raised too far,
and the operation will become unstable. POSITIONING DATA
If the position loop gain is lowered too far, the This is data for the user to carry out
machine will stop more smoothly but the positioning. The No. of points to which
stopping error will increase. positioning is carried out (the No. of
addresses) is designated by the user. In the
AD75, this is a maximum of 600 points.
POSITION LOOP MODE As a principle, positioning is executed in the
This is one servo control mode used in order of the data Nos.
positioning. It is a mode for carrying out
position control. The other servo control
modes are the speed loop mode for carrying POSITIONING PARAMETER
out speed control, and the torque loop mode This is basic data for carrying out positioning
for carrying out torque control (current control). control. Types of data include control unit,
movement amount per pulse, speed limit
Servo amplifier Servomotor value, upper and lower stroke limit values,
acceleration/deceleration time, positioning
Droop pulses method, etc.
Pulse train Parameters have an initial value, so that value
Posi-
tion
Speed Cur-
rent Inverter M
is changed to match the control conditions.
control
control control
Current feedback
Speed feedback
Position feedback Interface PLG
Appendix - 42
APPENDICES
MELSEC-A
PTP Control (Point To Point Control) RLS SIGNAL (Reverse Limit Signal)
This is a type of positioning control. With this This is the input signal that notifies the user
control method, the points to be passed are that the limit switch (b contact configuration,
designated at random locations on the path. normally continuity) installed at the lower limit
Movement only to a given target positioning is of the positioning control enabled range was
requested. Path control is not required during activated.
movement from a given point to the next value. The positioning operation stops when the RLS
signal turns OFF (non-continuity).
PU (Programming Unit)
This is the abbreviation for "programming unit". ROTARY TABLE
A round table on which the workpiece is
placed. Positioning control is carried out while
PULSE rotating the workpiece in a 360° range.
The turning ON and OFF of the current
(voltage) for short periods. A pulse train is a
series of pulses. S-PATTERN
ACCELERATION/DECELERATION
In this pattern, the acceleration and
deceleration follow a sine curve, and the
movement is smooth. The S-pattern proportion
can be set from 1 to 100%.
Y axis speed
(interpolation axis)
X axis speed
(reference axis)
Appendix - 43
APPENDICES
MELSEC-A
Appendix - 44
APPENDICES
MELSEC-A
Appendix - 45
APPENDICES
MELSEC-A
Deceleration time
TEACHING
30°
When the positioning address is uncertain, or
gauging is required, this function is used by
the manual operation to search for and teach Rotated by the motor
the position to the machine.
For example, complex addresses such as
drawings can be taught by tracing a model, UNIT SETTING
and the positioning operation can be
reproduced. This is the setting of the unit for the actual
address to which positioning is required, or for
the movement amount.
TEACHING UNIT The following units can be set: mm, inch,
degree and pulse. The initial value in the
This is a device capable of writing, reading, parameters is a pulse unit.
running, and monitoring data.
It is used connected to the AD75. The model is
AD75TU. WARNING
A warning is output as a warning code in when
an abnormality is detected that is not serious
TORQUE CONTROL
enough to require cancellation or stoppage of
In this function, a limit is established for the the positioning operation. Warnings are
resistance torque applied to the servomotor. handled differently than errors.
The power is turned OFF if torque exceeding
that value is applied to the motor.
When excessive torque is applied to a motor, it WITH MODE
causes the current to suddenly increase. Motor
burning and other stress on the motor occurs, This is the mode that outputs the M code
and the life of the motor is shortened. before the start of the positioning. This mode
This function utilizes the sudden increase in turns ON at the positioning start, enabling
the torque when the machine returns to the voltage to be applied to the welding
zero point to issue a command to stop the electrodes, display of positioning speeds, etc.
motor. Refer to the term "AFTER MODE".
Appendix - 46
APPENDICES
MELSEC-A
Appendix - 47
APPENDICES
MELSEC-A
Appendix - 48
APPENDICES
MELSEC-A
Appendix - 49
APPENDICES
MELSEC-A
Appendix - 50
APPENDICES
MELSEC-A
Appendix - 51
APPENDICES
MELSEC-A
Appendix - 52
APPENDICES
MELSEC-A
Appendix - 53
APPENDICES
MELSEC-A
The following shows the relation between the buffer memory addresses and the various items.
(Any address not given in the list must not be used. If used, the system may not operate correctly.)
Buffer memory address Memory
Item area
Axis 1 Axis 2 Axis 3
Basic parameters 1
0 150 300 Pr.1 Unit setting
1 151 301 Pr.2 No. of pulses per rotation (Ap)
2 152 302 Pr.3 Movement amount per rotation (Al)
3 153 303 Pr.4 Unit magnification (Am)
6 156 306
Pr.7 Speed limit value
Basic parameters 2
7 157 307
8 158 308
Pr.8 Acceleration time 0
9 159 309
10 160 310
Pr.9 Deceleration time 0
11 161 311
12 162 312
Pr.10 Bias speed at start
13 163 313
15 165 315 Pr.12 Backlash compensation amount
16 166 316
Pr.13 Software stroke limit upper limit value
17 167 317
18 168 318
Pr.14 Software stroke limit lower limit value
19 169 319
20 170 320 Pr.15 Software stroke limit selection
Detailed parameters 1
21 171 321 Pr.16 Software stroke limit valid/invalid setting
Positioning parameters
22 172 322
Pr.17 Command in-position width
23 173 323
24 174 324 Pr.18 Torque limit setting value
25 175 325 Pr.19 M code ON signal output timing
26 176 326 Pr.20 Speed changeover mode
27 177 327 Pr.21 Interpolation speed designation method
28 178 328 Pr.22 Current feed value during speed control
29 179 329 Pr.23 Manual pulse generator selection
Pr.25 Size selection for acceleration/deceleration
31 181 331
time
36 186 336
Pr.26 Acceleration time 1
37 187 337
38 188 338
Pr.27 Acceleration time 2
39 189 339
Detailed parameters 2
40 190 340
Pr.28 Acceleration time 3
41 191 341
42 192 342
Pr.29 Deceleration time 1
43 193 343
44 194 344
Pr.30 Deceleration time 2
45 195 345
46 196 346
Pr.31 Deceleration time 3
47 197 347
48 198 348
Pr.32 JOG speed limit value
49 199 349
50 200 350 Pr.33 JOG operation acceleration time selection
Appendix - 54
APPENDICES
MELSEC-A
Positioning parameters
55 205 353
Detailed parameters 2
56 206 356 Pr.38 Stop group 1 sudden stop selection
57 207 357 Pr.39 Stop group 2 sudden stop selection
58 208 358 Pr.40 Stop group 3 sudden stop selection
59 209 359 Pr.41 Positioning complete signal output time
60 210 360
Pr.42 Allowable circular interpolation error width
61 211 361
62 212 362 Pr.43 External start function selection
64 214 364 Pr.150 Setting for the restart allowable range when
65 215 365 servo OFF to ON
66 216 366 Pr.44 Near pass mode selection for path control
70 220 370 Pr.45 Zero point return method
Appendix - 55
APPENDICES
MELSEC-A
Servo parameters *2
117 267 417 Pr.117 Speed integral compensation
118 268 418 Pr.118 Notch filter selection *1
119 269 419 Pr.119 Feed forward gain
120 270 420 Pr.120 In-position range
121 271 421 Pr.121 Solenoid brake output
122 272 422 Pr.122 Monitor output mode selection
123 273 423 Pr.123 Option function 1
124 274 424 Pr.124 Option function 2
Pr.125 Low pass filter/adaptive vibration
125 275 425
suppression control
127 277 427 Pr.127 Monitor output 1 offset
128 278 428 Pr.128 Monitor output 2 offset
Servo extension parameters
129 279 429 Pr.129 Pre-alarm data selection
130 280 430 Pr.130 Zero speed
131 281 431 Pr.131 Error excessive alarm level
132 282 432 Pr.132 Option function 5
133 283 433 Pr.133 Option function 6
134 284 434 Pr.134 PI-PID switching position droop
136 286 436 Pr.136 Speed differential compensation
138 288 438 Pr.138 Encoder output pulses
149 299 449 Pr.149 Servo parameter transmission setting
*1: Called "Machine resonance suppression filter 1" in the MR-J2S-B.
*2: Some of the servo parameters do not exist depending on the servo amplifier. For details, refer to section "5.1.4
Setting items for servo parameters".
Appendix - 56
APPENDICES
MELSEC-A
Start history
463 468 473 478 483 488 493 498 503 508 513 518 523 528 533 538 Md.8 Operation type
464 469 474 479 484 489 494 499 504 509 514 519 524 529 534 539 Md.9 Start time (Hour: minute)
465 470 475 480 485 490 495 500 505 510 515 520 525 530 535 540 Md.10 Start time (Second: 100 ms)
466 471 476 481 486 491 496 501 506 511 516 521 526 531 536 541 Md.11 Error judgment
542 Md.12 Start history pointer
Monitor data
534 549 554 559 564 569 574 579 584 589 594 599 604 609 614 619 Md.14 Operation type
535 550 555 560 565 570 575 580 585 590 595 600 605 610 615 620 Md.15 Start time (Hour: minute)
536 551 556 561 566 571 576 581 586 591 596 601 606 611 616 621 Md.16 Start time (Second: 100 ms)
537 552 557 562 567 572 577 582 587 592 597 602 607 612 617 622 Md.17 Error judgment
623 Md.18 Start history pointer at error
(0) (1) (2) (3) (4) (5) (6) (7) (8) (9) (10) (11) (12) (13) (14) (15) (pointer No.)
624 628 632 636 640 644 648 652 656 660 664 668 672 676 680 684 Md.19 Axis in which the error occurred
625 629 633 637 641 645 649 653 657 661 665 669 673 677 681 685 Md.20 Axis error No. Error history
Md.21 Axis error occurrence time
626 630 634 638 642 646 650 654 658 662 666 670 674 678 682 686
(Hour: minute)
Md.22 Axis error occurrence time
627 631 635 639 643 647 651 655 659 663 667 671 675 679 683 687
(Second: 100ms)
688 Md.23 Error history pointer
(0) (1) (2) (3) (4) (5) (6) (7) (8) (9) (10) (11) (12) (13) (14) (15) (pointer No.)
689 693 697 701 705 709 713 717 721 725 729 733 737 741 745 749 Md.24 Axis in which the warning occurred
Warning history
690 694 698 702 706 710 714 718 722 726 730 734 738 742 746 750 Md.25 Axis warning No.
Md.26 Axis warning occurrence time
691 695 699 703 707 711 715 719 723 727 731 735 739 743 747 751
(Hour: minute)
Md.27 Axis warning occurrence time
692 696 700 704 708 712 716 720 724 728 732 736 740 744 748 752
(Second: 100ms)
753 Md.28 Warning history pointer
Appendix - 57
APPENDICES
MELSEC-A
Appendix - 58
APPENDICES
MELSEC-A
Monitor data
860 960 1060 Md.108 Speed loop gain 1
861 961 1061 Md.109 Position loop gain 2
862 962 1062 Md.110 Speed loop gain 2
863 963 1063 Md.111 Speed integral compensation
864 to 869 964 to 969 1064 to 1069 Md.112 Servo amplifier software No.
870 970 1070 Md.113 Parameter error (No. 1 to 15)
871 971 1071 Md.114 Parameter error (No. 16 to 31)
872 972 1072 Md.115 Parameter error (No. 32 to 36)
873 973 1073 Md.116 Servo status
876 976 1076 Md.117 Regenerative load ratio
877 977 1077 Md.118 Effective load ratio
878 978 1078 Md.119 Peak load ratio
879 979 1079 Md.121 Absolute position restoration mode
880 to 883 980 to 983 1080 to 1083 Md.120 FeRAM access count
Appendix - 59
APPENDICES
MELSEC-A
Control data
1161 1211 1261
1163 1213 1253 Cd.20 Speed/position changeover enable flag
1164 1214 1264 Cd.21 Speed/position changeover control
1165 1215 1265 movement amount change register
1167 1217 1267 Cd.22 Manual pulse generator enable flag
Appendix - 60
APPENDICES
MELSEC-A
No.1
positioning data No.
Positioning data
1303 2303 3303 Not used
1304 2304 3304
Da.7 Command speed
1305 2305 3305
1306 2306 3306 Da.5 Positioning address/movement
1307 2307 3307 amount
1308 2308 3308
Da.6 Arc address
1309 2309 3309
1310 to 1319 2310 to 1219 3310 to 3319 No. 2
1320 to 1329 2320 to 2329 3320 to 3329 No. 3
Positioning data
2290 to 2299 3290 to 3299 4290 to 3299 No. 100
Da.10 Shape
1st point
Da.11 Start data No.
4300 4350 4550 4600 4800 4850
Appendix - 61
APPENDICES
MELSEC-A
Indirectly specification
4500 5750 5000 Start No. 8001
Positioning start
information
4501 4751 5001 Start No. 8002
data
Positioning data
4549 4799 5049 Start No. 8001
PLC CPU
5050
memory
Condition judgment target data of the condition
area
data
5099
5100 Target axis
5101 Head positioning data No. Block
5102 No. of read/write data transmission
area
5103 Read/write request
5110 to 6109 Read/write block
Appendix - 62
INDEX
[Number]
1-axis fixed-dimension feed control .............. 9-29 AUTOMATIC TRAPEZOIDAL ACCELERATION/
1-axis linear control (ABS linear 1) ............... 9-23 DECELERATION (explanation of terms)
1-axis linear control (INC linear 1) ................ 9-24 .......................................................... Appendix-33
17-segment LED ............................................. 4-3 Absolute position restoration function .........12-58
2-SPEED TRAPEZOIDAL CONTROL Absolute position restoration mode... 9-18, 12-65
(explanation of terms) ......................Appendix-32 Absolute position restoration mode ( Md.121 )
2-axis circular interpolation control with auxiliary ......................................................................5-166
point designation (ABS circular interpolation) Absolute position restoration mode switching
....................................................................... 9-34 function.........................................................12-65
2-axis circular interpolation control with auxiliary Absolute position restoration selection ( Pr.59 )
point designation (INC circular interpolation) ........................................................................5-57
....................................................................... 9-37 Absolute system.............................................9-13
2-axis circular interpolation control with center Acceleration / deceleration time change program
point designation (ABS right arc, ABS left arc) ........................................................................6-17
....................................................................... 9-42 Acceleration time 0 ( Pr.8 ) .........................5-26
2-axis circular interpolation control with center Acceleration time 1 ( Pr.26 ) .........................5-38
point designation (INC right arc, INC left arc) Acceleration time 2 ( Pr.27 ) .........................5-38
....................................................................... 9-44 Acceleration time 3 ( Pr.28 ) .........................5-38
2-axis fixed-dimension feed control (interpolation) Acceleration time No. ( Da.3 ) ...................5-115
....................................................................... 9-31 Acceleration/deceleration process selection
2-axis linear interpolation control (ABS linear 2) ( Pr.35 )..........................................................5-40
....................................................................... 9-25 Acceleration/deceleration processing function
2-axis linear interpolation control (INC linear 2) ......................................................................12-95
....................................................................... 9-27 Acceleration/deceleration time change during
speed change, enable/disable selection ( Cd.35 )
[A] ......................................................................5-184
ABSOLUTE ENCODER (explanation of terms) Acceleration/deceleration time change function
..........................................................Appendix-32 ......................................................................12-53
ABSOLUTE POSITION DETECTION SYSTEM Address ( Da.16 ).........................................5-134
(explanation of terms) ......................Appendix-32 Advanced positioning control ........................10-2
ABSOLUTE SYSTEM (explanation of terms) Allowable circular interpolation error width
..........................................................Appendix-32 ( Pr.42 )..........................................................5-44
ACCELERATION TIME (explanation of terms) Amplifier setting ( Pr.101 ) .. 5-59, 68, 78, 89, 104
..........................................................Appendix-32 Applicable system ............................................2-6
Actual acceleration/deceleration time........... 5-27 Applicable wire size .........................................3-3
AD75..............................................................A-18 Arc address ( Da.6 )...................................5-120
AD75 READY signal ..................................... 3-13 Assembling the connector section ................4-15
AD75 software package.........................A-18, 2-4 Automatic trapezoidal acceleration/deceleration
ADDRESS (explanation of terms) ...Appendix-33 processing method ......................................12-96
AFTER mode............................................... 12-79 Auto tuning ( Md.105 )...................................5-160
AFTER mode (explanation of terms) Auto tuning ( Pr.108 ).......... 5-61, 71, 80, 91, 107
..........................................................Appendix-33 Auxiliary functions ..........................................12-2
AUTO TUNING (explanation of terms) Auxiliary functions specifically for machine zero
..........................................................Appendix-33 point returns ...................................................12-4
Axis display LED ..............................................4-4
Index - 1
Axis error No. ( Md.20 , Md.33 )........... 5-142, 146 CIRCULAR INTERPOLATION
Axis error occurrence time (Hour: minute) (explanation of terms) ...................... Appendix-34
( Md.21 ) ....................................................... 5-142 COMPOSITE SPEED (explanation of terms)
Axis error occurrence time (Second: 100 ms) .......................................................... Appendix-34
( Md.22 ) ....................................................... 5-142 CONTINUOUS POSITIONING CONTROL
Axis error reset ( Cd.12 ) ............................. 5-174 (explanation of terms) ...................... Appendix-34
Axis feedrate ( Md.37 ) ................................ 5-150 CONTROL UNIT (explanation of terms)
Axis in which the error occurred ( Md.19 ) .. 5-142 .......................................................... Appendix-34
Axis in which the warning occurred ( Md.24 ) CP CONTROL (explanation of terms)
..................................................................... 5-144 .......................................................... Appendix-34
Axis monitor data......................................... 5-146 CPU module.....................................................2-6
Axis operation status ( Md.35 ).................... 5-148 CREEP SPEED (explanation of terms)
Axis stop signal ............................................. 3-14 .......................................................... Appendix-35
Axis warning No. ( Md.25 , Md.34 ) ..... 5-144, 148 CURRENT FEED VALUE (explanation of terms)
Axis warning detection ................................ 5-152 .......................................................... Appendix-35
Axis warning occurrence time (Hour: minute) CURRENT LOOP MODE (explanation of terms)
( Md.26 ) ....................................................... 5-144 .......................................................... Appendix-35
Axis warning occurrence time (Second: 100 ms) CURRENT VALUE (explanation of terms)
( Md.27 ) ....................................................... 5-144 .......................................................... Appendix-35
CURRENT VALUE CHANGE
[B] (explanation of terms) ...................... Appendix-35
BACKLASH COMPENSATION CW (explanation of terms)............... Appendix-35
(explanation of terms) ......................Appendix-33 Cable clamp ...................................................4-10
BACKUP FUNCTION (explanation of terms) Cable fixture ...................................................4-12
..........................................................Appendix-33 Clock data (hour: minute) ( Md.5 ) .............5-136
BALL SCREW (explanation of terms) Clock data (second: 100 ms) ( Md.6 ) .......5-136
..........................................................Appendix-34 Clock data function ......................................13-11
BIAS SPEED AT START (explanation of terms) Clock data setting (hour) ( Cd.1 ) ..............5-168
..........................................................Appendix-34 Clock data setting (minute, second) ( Cd.2 )
BUSY (explanation of terms) ...........Appendix-34 ......................................................................5-168
BUSY signal .................................................. 3-13 Clock data setting program............................6-14
Backlash compensation amount ( Pr.12 ) ... 5-28 Clock data writing ( Cd.3 ) .........................5-168
Backlash compensation function ................ 12-13 Combination of AD75 functions.....................3-10
Basic parameters 1 ....................................... 5-22 Combination of main functions and auxiliary
Basic parameters 2 ....................................... 5-26 functions .........................................................3-10
Bias speed at start ( Pr.10 ) ......................... 5-27 Command in-position flag............................5-152
Block .............................................................. 10-8 Command in-position function.....................12-92
Block No. being executed ( Md.55 )............ 5-158 Command in-position width ( Pr.17 )............5-30
Block start (normal start) ............................... 10-8 Command speed ( Da.7 ) ..........................5-124
Block transmission ........................................ 7-16 Command speed ...........................................1-11
Block transmission area.................................. 7-3 Common functions................................. 3-9, 13-1
Buffer memory................................................. 7-2 Communicating signals between AD75 and each
Buffer memory area configuration .................. 7-5 module............................................................1-12
Composite speed...........................................5-35
[C] Condition data..............................................10-17
CCW (explanation of terms) ............Appendix-34 Condition operator .......................................10-18
CHANGE signal (explanation of terms) Condition operator ( Da.15 ) ........................5-134
..........................................................Appendix-34 Condition start ..............................................10-10
Index - 2
Condition target ( Da.14 )............................ 5-134 Data link system............................................ A-18
Conditional JUMP ......................................... 9-62 Data setting method machine zero point return
Configuration and roles of AD75 memory ...... 7-2 ........................................................................8-18
Confirming the current value......................... 9-14 Data transmission process ..............................7-6
Confirming the installation and wiring........... 4-16 Deceleration stop ...........................................6-37
Conformation to the EMC Directive and Low Deceleration time 0 ( Pr.9 ).........................5-26
Voltage Instruction.........................................A-13 Deceleration time 1 ( Pr.29 ).........................5-38
Connecting the connector and wire .............. 4-13 Deceleration time 2 ( Pr.30 ).........................5-38
Connection connector ..................................... 3-3 Deceleration time 3 ( Pr.31 ).........................5-38
Connector ...................................................... 4-12 Deceleration time No. ( Da.4 )...................5-115
Connector cover ............................................ 4-12 Detailed parameters 1 ...................................5-28
Continuous operation interrupt program....... 6-19 Detailed parameters 2 ...................................5-38
Continuous path control .................................. 9-7 Details of input signals (AD75 PLC CPU)
Continuous positioning control........................ 9-6 ........................................................................3-13
Control data area............................................. 7-3 Details of output signals (PLC CPU AD75)
Control functions ............................................. 3-4 ........................................................................3-15
Control method ( Da.2 )............................. 5-115 Deviation counter droop pulse amount .........1-11
Count method 1) machine zero point return Deviation counter value ( Md.102 )...............5-160
....................................................................... 8-11 Disassembling the connector section ...........4-12
Count method 2) machine zero point return Disposal instructions......................................4-20
....................................................................... 8-14 Dwell time/JUMP designation positioning data No.
Count method 3) machine zero point return ( Da.8 )........................................................5-126
....................................................................... 8-16 Dwell time during zero point return retry ( Pr.58 )
Creep speed ( Pr.49 )................................... 5-52 ........................................................................5-57
Current feed value......................................... 9-14
Current feed value ( Md.29 )........................ 5-146 [E]
Current feed value during speed control ( Pr.22 ) ELECTROMAGNETIC BRAKE
....................................................................... 5-35 (explanation of terms) ...................... Appendix-36
Current speed ( Md.36 ) .............................. 5-148 EMERGENCY STOP (explanation of terms)
Current value change.................................... 9-57 .......................................................... Appendix-36
ENCODER (explanation of terms) .. Appendix-37
[D] ERROR CORRECTION (explanation of terms)
DATA NO. (explanation of terms)....Appendix-35 .......................................................... Appendix-37
DECELERATION RATIO (explanation of terms) ERROR RESET (explanation of terms)
..........................................................Appendix-35 .......................................................... Appendix-37
DECELERATION TIME (explanation of terms) EXTERNAL REGENERATIVE BRAKE
..........................................................Appendix-35 RESISTOR (explanation of terms).. Appendix-37
DEVIATION COUNTER (explanation of terms) Effective load ratio ( Md.118 ) .......................5-166
..........................................................Appendix-36 Electrical specifications..................................3-16
DOG SIGNAL (explanation of terms) Electronic gear function ...............................12-15
..........................................................Appendix-36 Emergency stop .............................................6-36
DOS/V personal computer............................A-18 Encoder output pulses ( Pr.138 ).................5-102
DROOP PULSE (explanation of terms) Error and warning details...............................14-2
..........................................................Appendix-36 Error codes
DWELL TIME (explanation of terms) Detected by AD75......................................14-6
..........................................................Appendix-36 Detected by MR-H-B (MR-H-BN) ............14-26
DYNAMIC BRAKE (explanation of terms) Detected by MR-J-B.................................14-34
..........................................................Appendix-36 Detected by MR-J2-03B5 ........................14-58
Index - 3
Detected by MR-J2-B .............................. 14-42 General configuration of program ...................6-8
Detected by MR-J2S-B ........................... 14-50 General image of system.................................2-2
Error compensation method ....................... 12-15 General specifications .....................................3-2
Error detection signal .................................... 3-13
Error excessive alarm level ( Pr.131 ) [H]
...............................................5-67,76,87,101,111 HIGH-SPEED MACHINE ZERO POINT RETURN
Error history pointer ( Md.23 ) ..................... 5-142 (explanation of terms) ...................... Appendix-38
Error judgment ( Md.11 , Md.17 ).......... 5-138,140 High-speed machine zero point return..........8-21
Error reset program....................................... 6-20 HIGH-SPEED ZERO POINT RETURN
Execution data backup function.................... 13-5 (explanation of terms) ...................... Appendix-38
External device connection connector............ 4-4 Handling precautions .......................................4-5
External dimension drawing............... Appendix-2 Hardware stroke limit function .....................12-36
External input signal ( Md.39 )..................... 5-150 High-speed zero point return.........................8-19
External start signal....................................... 3-18
External start function selection ( Pr.43 )..... 5-46 [I]
External start function valid setting program I/F .................................................................. A-18
....................................................................... 6-14 INCREMENT SYSTEM (explanation of terms)
External start valid ( Cd.25 )........................ 5-180 .......................................................... Appendix-38
INCREMENTAL ENCODER
[F] (explanation of terms) ...................... Appendix-39
F (explanation of terms) ...................Appendix-37 INERTIA (explanation of terms) ...... Appendix-39
FEEDBACK PULSE (explanation of terms) INPUT TERMINAL (explanation of terms)
..........................................................Appendix-37 .......................................................... Appendix-39
FIXED-DIMENSION FEED (explanation of terms) INTERLOCK (explanation of terms)
..........................................................Appendix-37 .......................................................... Appendix-39
FLASH MEMORY (explanation of terms) INTERPOLATION OPERATION
..........................................................Appendix-37 (explanation of terms) ...................... Appendix-39
FLS SIGNAL (explanation of terms) INVERTER (explanation of terms)
..........................................................Appendix-38 .......................................................... Appendix-39
Fatal stop ....................................................... 6-36 Immediate stop ..............................................6-37
Features of AD75 ............................................ 1-2 In speed change processing flag ( Md.50 )
Feedback pulse ( Pr.106 )................. 5-60, 70, 90 ......................................................................5-156
Feedrate ( Md.31 ) ....................................... 5-146 In speed control flag ....................................5-152
FeRAM access count ( Md.120 ).................. 5-166 In speed limit flag ( Md.49 )..........................5-156
Flash ROM ...................................................... 7-2 In test mode flag ( Md.1 ) ...........................5-136
Flash ROM write program............................. 6-19 In-position range ( Pr.120 )
Flash ROM write request ( Cd.9 )............. 5-172 ............................................. 5-63, 73, 83, 95, 109
Flow of all processes..................................... 1-14 Increment system...........................................9-13
Flow of system operation .............................. 1-14 Independent positioning control ......................9-5
Follow up process ....................................... 12-24 Indirectly specification data .........................12-99
Forced stop.................................................... 6-36 Indirectly specification function....................12-99
Front-loading speed changeover mode ....... 9-11 Initialization program......................................6-21
Functions for compensating the control ..... 12-13 Input information n .........................................13-9
Functions to change the control details...... 12-43 Input interface internal circuit.........................3-18
Functions to limit the control ....................... 12-25 Intentional stop...............................................6-36
Internal circuit.................................................3-19
[G] Internal current consumption...........................3-3
GAIN (explanation of terms) ............Appendix-38 Internal information 1 .....................................13-8
Index - 4
Internal information 2 .................................... 13-8 List of warnings ............................................14-64
Interpolation axis ........................................... 9-19 Load inertia ratio ( Md.106 ) ..........................5-162
Interpolation control....................................... 9-19 Load inertia ratio ( Pr.112 )
Interpolation speed designation method ( Pr.21 ) ............................................. 5-63, 73, 83, 92, 109
....................................................................... 5-35 Lower limit signal ...........................................3-18
Interrupt request during continuous operation Low pass filter/adaptive vibration suppression
( Cd.32 ) ....................................................... 5-184 control ( Pr.125 ).............................................5-99
[J] [M]
JOG (explanation of terms)..............Appendix-39 M CODE (explanation of terms) ...... Appendix-40
JOG operation ............................................... 11-4 M code OFF request....................................12-79
JOG operation acceleration time selection M code OFF request ( Cd.14 ).....................5-174
( Pr.33 ) ......................................................... 5-39 M code ON signal ..........................................3-13
JOG operation deceleration time selection M code ON signal output timing ( Pr.19 ).....5-32
( Pr.34 ) ......................................................... 5-39 M code ON/OFF timing................................12-78
JOG operation program ................................ 6-16 M code output function ................................12-78
JOG operation start time chart.................... 11-11 M code/condition data No. ( Da.9 )............5-124
JOG operation timing and processing times MACHINE FEED VALUE (explanation of terms)
....................................................................... 11-6 .......................................................... Appendix-40
JOG speed ( Cd.19 ) ................................... 5-178 MANUAL PULSE GENERATOR
JOG speed limit value ( Pr.32 ).................... 5-39 (explanation of terms) ...................... Appendix-40
JOG start signal............................................. 3-15 MASTER AXIS (explanation of terms)
JUMP command............................................ 9-62 .......................................................... Appendix-41
MOVEMENT AMOUNT PER PULSE
[K] (explanation of terms) ...................... Appendix-41
kPPS (explanation of terms) ............Appendix-39 MULTIPLYING RATE SETTING
(explanation of terms) ...................... Appendix-41
[L] Machine feed value........................................9-14
LED display function ..................................... 13-7 Machine feed value ( Md.30 ) ......................5-146
LIMIT SWITCH (explanation of terms) Machine resonance suppression filter 1 ( Pr.118 )
..........................................................Appendix-40 ........................................................................5-94
LINEAR INTERPOLATION (explanation of terms) Machine zero point return................................8-4
..........................................................Appendix-40 Machine zero point return method ..................8-5
LOW-INERTIA MOTOR (explanation of terms) Main functions ..................................................3-6
..........................................................Appendix-40 Main positioning control ...................................9-2
Last executed positioning data No.( Md.52 ) Manual control ...............................................11-2
..................................................................... 5-158 Manual pulse generator......................... A-18, 2-4
List of condition data ................................... 5-131 Manual pulse generator 1 pulse input
List of configuration devices............................ 2-4 magnification ( Cd.23 ).................................5-180
List of control data ....................................... 5-168 Manual pulse generator enable flag ( Cd.22 )
List of devices.................................................. 6-4 ......................................................................5-180
List of errors................................................... 14-6 Manual pulse generator operation ..............11-17
List of functions................................................ 3-4 Manual pulse generator operation program
List of input/output signals ............................ 3-12 ........................................................................6-16
List of monitor data...................................... 5-136 Manual pulse generator operation start time chart
List of parameters.......................................... 5-22 ......................................................................11-24
List of positioning data ................................ 5-112 Manual pulse generator operation timing and
List of start block data ................................. 5-127 processing times ..........................................11-19
Index - 5
Manual pulse generator selection ( Pr.23 ) [N]
....................................................................... 5-36 NEAR-POINT DOG (explanation of terms)
Max. connection distance ............................... 3-3 .......................................................... Appendix-41
Max. output command speed ......................... 3-3 NEXT start....................................................10-16
Mechanism of positioning control ................... 1-8 Names of each part .........................................4-3
Mode switch..................................................... 4-4 Near pass mode...........................................12-20
Module name ( Md.2 ) ............................... 5-136 Near pass mode function.............................12-20
Module version label ....................................... 4-4 Near pass mode selection for path control
Monitor data area ............................................ 7-3 ( Pr.44 )..........................................................5-46
Monitor output 1 offset ( Pr.127 ) Near-point dog method machine zero point return
...................................................5-67, 76, 87, 100 ..........................................................................8-7
Monitor output 2 offset ( Pr.128 ) .... 5-67, 87, 101 Near-point dog method 2) machine zero point
Monitor output mode selection ( Pr.122 ) return ................................................................8-9
.....................................................5-64, 74, 84, 97 Near-point dog signal.....................................3-18
Motor capacity ( Pr.104 ) .....5-59, 69, 79, 89, 105 Network system ............................................ A-16
Motor current ( Md.104 ) ............................... 5-160 New acceleration time value ( Cd.33 ) ........5-184
Motor speed ( Md.103 ) ................................ 5-160 New current value ( Cd.15 ).........................5-176
Motor speed ( Pr.105 ) ............................ 5-60, 70 New deceleration time value ( Cd.34 ) ........5-184
Motor type ( Pr.103 ) ...........5-59, 69, 79, 89, 104 New speed value ( Cd.16 ) ..........................5-176
Movement amount after near-point dog ON New torque value ( Cd.30 )..........................5-182
( Md.44 ) ....................................................... 5-154 No. of control axes ...........................................3-3
Movement amount per pulse ( Pr.2 to Pr.4 ) No. of mounted modules .................................2-7
....................................................................... 5-23 No. of occupied input/output points.................3-3
Movement amount per rotation ( Pr.3 )...... 5-24 No. of pulses per rotation ( Pr.2 ) ...............5-23
MR-H-B (MR-H-BN) No. of slots .......................................................2-7
Error codes detected by .......................... 14-26 Normal start....................................................10-8
Servo parameters for................................. 5-58 Notch filter selection ( Pr.118 ) . 5-63, 73, 83, 109
Warning codes detected by .................... 14-70
MR-J-B [O]
Error codes detected by .......................... 14-34 OPERATION PATTERN (explanation of terms)
Servo parameters for................................. 5-68 .......................................................... Appendix-41
Warning codes detected by .................... 14-72 OS memory......................................................7-2
MR-J2-03B5 OS type ( Md.3 ) .........................................5-136
Error codes detected by .......................... 14-58 OS version ( Md.4 ) ....................................5-136
Precautions for using................................... 2-9 OVERRIDE FUNCTION (explanation of terms)
Servo parameters for............................... 5-104 .......................................................... Appendix-41
Warning codes detected by .................... 14-78 Operation monitor 1 .......................................13-8
MR-J2-B Operation monitor 2 .......................................13-8
Error codes detected by .......................... 14-42 Operation pattern ( Da.1 )..........................5-115
Servo parameters for................................. 5-78 Operation patterns ...........................................9-4
Warning codes detected by .................... 14-74 Operation timing and processing time during
MR-J2S-B speed/position changeover control ...............9-52
Error codes detected by .......................... 14-50 Operation timing and processing time of high-
Precautions for using................................... 2-9 speed zero point returns................................8-20
Servo parameters for................................. 5-88 Operation type ( Md.8 , Md.14 ) ....... 5-138, 140
Warning codes detected by .................... 14-76 Order of priority for stop process...................6-38
Outline design of positioning system.............1-10
Outline for restarting ......................................1-19
Index - 6
......................................................................5-164
Outline of installation, wiring and maintenance Parameter error (No. 32 to 36) ( Md.115 )
......................................................................... 4-2 ......................................................................5-164
Outline of starting .......................................... 1-16 Parameter initialization program....................6-19
Outline of stopping ........................................ 1-18 Parameter initialization request ( Cd.10 )
Outline of zero point return control ................. 8-2 ......................................................................5-172
Override function ......................................... 12-50 Parameter setting program............................6-12
Override program .......................................... 6-17 Performance specifications .............................3-3
Peak load ratio ( Md.119 ).............................5-166
[P] Peripheral device connection connector .........4-4
P RATE (explanation of terms)........Appendix-41 Personal computer........................................ A-18
PANCAKE MOTOR (explanation of terms) Position loop gain 1 ( Md.107 ) .....................5-162
..........................................................Appendix-41 Position loop gain 1 ( Pr.113 )
PARAMETER (explanation of terms) ............................................. 5-63, 73, 83, 93, 109
..........................................................Appendix-42 Position loop gain 2 ( Md.109 ) .....................5-162
PI-PID switching position droop ( Pr.134 ) Position loop gain 2 ( Pr.115 )
.................................................5-67, 87, 101, 111 ............................................. 5-63, 73, 83, 93, 109
PLC CPU .......................................................A-18 Positioning address pass mode ..................12-20
PLC CPU memo area ..................................... 7-3 Positioning address/movement amount ( Da.5 )
PLC READY signal ....................................... 3-15 ......................................................................5-116
PLC READY signal [Y1D] ON program........ 6-14 Positioning complete........................................9-5
POSITION CONTROL (explanation of terms) Positioning complete signal ...........................3-13
..........................................................Appendix-42 Positioning complete signal output time ( Pr.41 )
POSITION LOOP GAIN (explanation of terms) ........................................................................5-44
..........................................................Appendix-42 Positioning control operation program ............6-9
POSITION LOOP MODE (explanation of terms) Positioning data No. ( Cd.5 ) .....................5-170
..........................................................Appendix-42 Positioning data No. 101 to 600 setting .....7-9,16
POSITIONING (explanation of terms) Positioning data No. being executed ( Md.54 )
..........................................................Appendix-42 ......................................................................5-158
POSITIONING COMPLETE SIGNAL Positioning data area (No. 1 to 100) ...............7-3
(explanation of terms) ......................Appendix-42 Positioning data area (No. 101 to 600) ...........7-3
POSITIONING DATA (explanation of terms) Positioning data being executed ( Md.56 )
..........................................................Appendix-42 ......................................................................5-158
POSITIONING PARAMETER (explanation of Positioning data setting program...................6-12
terms)................................................Appendix-42 Positioning operation speed override ( Cd.18 )
POSITIONING START (explanation of terms) ......................................................................5-176
..........................................................Appendix-43 Positioning program examples ......................6-12
PTP Control (explanation of terms) Positioning start No. ( Cd.11 )......................5-174
..........................................................Appendix-43 Positioning start No. setting program ............6-14
PU (explanation of terms) ................Appendix-43 Positioning start information area (No.7000)
PULSE (explanation of terms) .........Appendix-43 ..........................................................................7-3
Parameter ( Da.13 )..................................... 5-130 Positioning start information area
Parameter 1 ( Da.17 ).................................. 5-135 (No.7001 to 7010) ............................................7-3
Parameter 2 ( Da.18 ).................................. 5-135 Positioning start information setting program
Parameter area ............................................... 7-3 ........................................................................6-13
Parameter error (No. 1 to 15) ( Md.113 ) Positioning start signal...................................3-15
..................................................................... 5-164 Positioning start signal input program ...........6-15
Parameter error (No. 16 to 31) ( Md.114 ) Positioning starting point No. ( Cd.31 ) .......5-182
Index - 7
Positioning to the zero point.......................... 8-21 Continuous operation interrupt program ...6-19
Pre-alarm data selection ( Pr.129 )............... 5-67 Error reset program....................................6-20
Precautions according to module version ...... 2-7 External start function valid starting program
Precautions for configuring absolute position ....................................................................6-14
detection system ............................................. 2-8 Flash ROM write program..........................6-19
Precautions for configuring system ................ 2-7 JOG operation program .............................6-16
Precautions for creating program ................... 6-2 Manual pulse generator operation program
Precautions for installation.............................. 4-7 ....................................................................6-16
Precautions for maintenance ........................ 4-20 Override program .......................................6-17
Precautions for mounting ................................ 4-7 PLC READY signal [Y1D] ON program ....6-14
Precautions for mounting base unit ................ 2-7 Parameter initialization program................6-19
Precautions for using 3-axis module .............. 2-8 Parameter setting program ........................6-12
Precautions for wiring...................................... 4-8 Positioning start information setting program
Precautions ....................................................................6-13
Disposal instructions ................................. 4-20 Positioning data setting program ...............6-12
according to module version ....................... 2-7 Positioning start No. setting program ........6-14
for creating program .................................... 6-2 Positioning start signal input program .......6-15
for configuring absolute position detection Reset program ...........................................6-16
system.......................................................... 2-8 Restart program .........................................6-19
for installation............................................... 4-7 Servo ON/OFF program ............................6-14
for machine zero point return control in Skip program ..............................................6-18
absolute position detection system............. 2-8 Speed change program .............................6-17
for maintenance......................................... 4-20 Step operation program .............................6-18
for mounting................................................. 4-7 Stop program..............................................6-20
for mounting base unit................................. 2-7 Teaching program ......................................6-18
for using 3-axis module ............................... 2-8 Torque change program ............................6-17
for using MR-J2-03B5 ................................. 2-9 Zero point return request OFF program ....6-13
for using MR-J2S-B ..................................... 2-9 Pulse encoder ................................................1-11
for wiring ...................................................... 4-8 Purpose and applications of positioning control
Handling....................................................... 4-5 ..........................................................................1-6
Principle of operation ...................................... 1-9
Process time [R]
JOG operation timing and processing times REAL-TIME AUTO TUNING
................................................................... 11-6 (explanation of terms) ...................... Appendix-43
Machine zero point return operation timing and REFERENCE AXIS SPEED
process time .............................................. 6-28 (explanation of terms) ...................... Appendix-43
Manual pulse generator operation timing and REGENERATIVE BRAKE OPTION
processing times...................................... 11-19 (explanation of terms) ...................... Appendix-43
Operation timing and processing time during RLS SIGNAL (explanation of terms)
speed/position changeover control ........... 9-52 .......................................................... Appendix-43
Operation timing and processing time of high- ROTARY TABLE (explanation of terms)
speed zero point returns ........................... 8-20 .......................................................... Appendix-43
Position control operation timing and process RS-422 cable ...................................................2-4
time ............................................................ 6-29 Read/write positioning data I/F ( Cd.8 ).....5-172
Program details ............................................. 6-21 Read/write request ( Cd.7 ) .......................5-170
Program examples Real current value ( Md.101 )........................5-160
Acceleration / deceleration time change Reference axis ...............................................9-19
program...................................................... 6-17 Reference axis speed ....................................5-35
Clock data setting program ....................... 6-14 Regenerative brake resistor ( Pr.102 )
Index - 8
.....................................................5-59, 69, 79, 89 .......................................................... Appendix-45
Regenerative load ratio ( Md.117 )............... 5-166 STARTING AXIS ............................. Appendix-45
Relatively safe stop ....................................... 6-36 STATUS (explanation of terms) ...... Appendix-45
Remote I/O station .......................................... 2-6 STEP FUNCTION (explanation of terms)
Repeat counter ( Md.53 )............................. 5-158 .......................................................... Appendix-45
Repeated start (FOR condition).................. 10-15 STOP SETTLING TIME (explanation of terms)
Repeated start (FOR loop).......................... 10-14 .......................................................... Appendix-45
Reset program............................................... 6-16 STOP SIGNAL (explanation of terms)
Restart command ( Cd.13 )......................... 5-174 .......................................................... Appendix-45
Restart operation........................................... 6-33 STROKE (explanation of terms)...... Appendix-45
Restart program ............................................ 6-19 STROKE LIMIT (explanation of terms)
Rotation direction ( Pr.107 ) .......................................................... Appendix-43
.............................................5-61, 70, 80, 91, 106 SUDDEN STOP (explanation of terms)
.......................................................... Appendix-46
[S] Servo OFF command ( Cd.100 ) ..................5-184
S-CURVE ACCELERATION/DECELERATION Servo ON/OFF function ...............................12-38
(explanation of terms) ......................Appendix-43 Servo amplifier corresponding SSCNET
S-curve acceleration/deceleration processing ................................................................ 1-10, 2-4
method......................................................... 12-97 Servo amplifier software No. ( Md.112 ) .......5-162
S-curve ratio ( Pr.36 ) ................................... 5-41 Servo parameters
SERVO LOCK (explanation of terms) for MR-H-B (MR-H-BN)..............................5-58
..........................................................Appendix-44 for MR-J-B ..................................................5-68
SERVO ON (explanation of terms) for MR-J2-03B5........................................5-104
..........................................................Appendix-44 for MR-J2-B ................................................5-78
SERVOMOTOR (explanation of terms) for MR-J2S-B..............................................5-88
..........................................................Appendix-44 Servo parameter transmission setting ( Pr.149 )
SETTING UNIT (explanation of terms) ......................................................................5-102
..........................................................Appendix-44 Servo response setting ( Pr.109 )
SKIP FUNCTION (explanation of terms) ............................................. 5-61, 71, 81, 91, 107
..........................................................Appendix-44 Servo series ( Pr.100 ) ........ 5-59, 68, 78, 89, 104
SLAVE AXIS (explanation of terms) Servo starting up............................................4-16
..........................................................Appendix-44 Servo status ( Md.116 ) .................................5-164
SPEED CHANGEOVER CONTROL Servo System Controller............................... A-18
(explanation of terms) ......................Appendix-44 Setting data ......................................................5-2
SPEED CONTROL (explanation of terms) Setting for the movement amount after
..........................................................Appendix-44 near-point dog ON ( Pr.52 ) ..........................5-54
SPEED INTEGRAL COMPENSATION Setting for the restart allowable range when
(explanation of terms) ......................Appendix-44 servo OFF to ON ( Pr.150 ) ...........................5-46
SPEED LIMIT VALUE (explanation of terms) Setting items for condition data .....................5-12
..........................................................Appendix-44 Setting items for positioning data ....................5-9
SPEED LOOP GAIN (explanation of terms) Setting items for positioning parameters.........5-4
..........................................................Appendix-45 Setting items for start block data ...................5-11
SPEED LOOP MODE (explanation of terms) Setting items for zero point return parameters
..........................................................Appendix-45 ..........................................................................5-6
SPEED/POSITION CONTROL CHANGEOVER Setting positioning data No.101 to 600 data
MODE (explanation of terms) ..........Appendix-45 ....................................................................7-9, 16
SSCNET .................................................A-18, 2-4 Setting the positioning data ...........................9-22
START COMPLETE (explanation of terms) Setting the torque limit function ...................12-29
Index - 9
Shape ( Da.10 ) ........................................... 5-130 ............................................. 5-63, 73, 83, 93, 109
Signal layout for connector ........................... 3-16 Speed loop gain 2 ( Md.110 )........................5-162
Signal name................................................... 3-13 Speed loop gain 2 ( Pr.116 )
Signal ............................................. 5-63, 73, 83, 93, 109
AD75 READY signal.................................. 3-13 Speed integral compensation ( Md.111 )......5-162
Axis stop signal.......................................... 3-15 Speed integral compensation ( Pr.117 )
BUSY signal............................................... 3-13 ............................................. 5-63, 73, 83, 93, 109
Error detection signal ................................ 3-13 Speed limit function .....................................12-25
JOG start signal......................................... 3-15 Speed limit value ( Pr.7 ) ............................5-26
M code ON signal ...................................... 3-13 Speed/position changeover control...............9-50
PLC READY signal.................................... 3-15 Speed/position changeover control movement
Positioning complete signal....................... 3-13 amount change register ( Cd.21 )................5-178
Positioning start signal .............................. 3-15 Speed/position changeover control positioning
Start complete signal................................. 3-13 amount ( Md.38 ) ..........................................5-150
Simultaneous start....................................... 10-12 Speed/position changeover enable flag ( Cd.20 )
Single module test......................................... 4-17 ......................................................................5-178
Size selection for acceleration/deceleration time Speed/position changeover latch flag .........5-152
( Pr.25 ) ......................................................... 5-36 Speed/position changeover signal ................3-19
Skip command ( Cd.29 ) ............................. 5-182 Spiral interpolation .........................................9-41
Skip function ................................................ 12-75 Standard speed changeover mode...............9-10
Skip program ................................................. 6-18 Start axis ( Md.7 , Md.13 ) ................ 5-138, 140
Software stroke limit lower limit value ( Pr.14 ) Start block data ..............................................10-7
....................................................................... 5-29 Start complete signal .....................................3-13
Software stroke limit selection ( Pr.15 ) ....... 5-30 Start data No. ( Da.11 )................................5-130
Software stroke limit upper limit value ( Pr.13 ) Start data pointer being executed ( Md.51 )
....................................................................... 5-29 ......................................................................5-158
Software stroke limit valid/invalid setting ( Pr.16 ) Start details setting program..........................6-22
....................................................................... 5-30 Start during error history..............................14-80
Solenoid brake output ( Pr.121 ) Start positioning data No. setting value ( Md.48 )
...................................................5-63, 83, 95, 109 ......................................................................5-156
Special start command ( Da.12 ) ................ 5-130 Start program .................................................6-23
Special start data command code setting value Start program for advanced positioning control
( Md.46 ) ....................................................... 5-156 ......................................................................10-20
Special start data command parameter setting Start time (Hour: minute) ( Md.9 , Md.15 )
value ( Md.47 ) ............................................. 5-156 ............................................................. 5-138, 140
Specifications of input/output signals ........... 3-12 Start time (Second:100 ms) ( Md.10 , Md.16 )
Speed change 0 flag ................................... 5-152 ............................................................. 5-138, 140
Speed change function ............................... 12-43 Start time chart for positioning control using
Speed change program ................................ 6-17 indirectly specification function..................12-103
Speed change request ( Cd.17 )................. 5-176 Start time chart for positioning to the zero point
Speed changeover mode ( Pr.20 ) .............. 5-34 ........................................................................8-22
Speed control ................................................ 9-47 Starting history pointer ( Md.12 )..................5-138
Speed designation during zero point shift Starting history pointer at error ( Md.18 ).....5-140
( Pr.57 ) ......................................................... 5-57 Status ( Md.40 ) ............................................5-152
Speed differential compensation ( Pr.136 ) Step function ................................................12-70
...........................................5-67, 76, 87, 101, 111 Step mode....................................................12-71
Speed loop gain 1 ( Md.108 ) ....................... 5-162 Step mode ( Cd.27 ).....................................5-182
Speed loop gain 1 ( Pr.114 ) Step operation program.................................6-18
Index - 10
Step start information .................................. 12-71 Time chart for starting machine zero point return
Step start information ( Cd.28 )................... 5-182 ........................................................................6-25
Step valid flag ( Cd.26 )............................... 5-180 Time chart for starting main positioning control
Stop.............................................................. 10-13 ........................................................................6-27
Stop cause..................................................... 6-36 Time chart for starting speed/position changeover
Stop group 1 sudden stop selection ( Pr.38 ) control.............................................................6-27
....................................................................... 5-43 Time chart for starting with external start signal
Stop group 2 sudden stop selection ( Pr.39 ) ........................................................................6-30
....................................................................... 5-43 Time chart
Stop group 3 sudden stop selection ( Pr.40 ) for positioning control using indirectly
....................................................................... 5-43 specification function..............................12-103
Stop process.................................................. 6-36 for positioning to the zero point .................8-22
Stop program................................................. 6-20 for restarting ...............................................6-35
Stop signal..................................................... 3-18 for starting high-speed zero point return ...6-26
Sudden stop .................................................. 6-37 for starting machine zero point return........6-25
Sudden stop deceleration time ( Pr.37 ) ...... 5-42 for starting main positioning control...........6-27
System control data .................................... 5-168 for starting speed/position changeover control
System monitor data ................................... 5-136 ....................................................................6-27
for starting with external start signal ..........6-30
[T] Torque change function...............................12-56
TEACHING (explanation of terms) Torque change program ................................6-17
..........................................................Appendix-46 Torque limit function ....................................12-27
TEACHING UNIT (explanation of terms) Torque limit setting value ( Pr.18 ) ...............5-31
..........................................................Appendix-46 Torque limit stored value ( Md.45 ) ..............5-154
TORQUE CONTROL (explanation of terms) Torque output setting value ( Cd.101 ).........5-184
..........................................................Appendix-46 Types and roles of control data .....................5-17
TORQUE LOOP MODE (explanation of terms) Types and roles of monitor data....................5-13
..........................................................Appendix-46 Types of data ...................................................5-2
TORQUE RIPPLE (explanation of terms) Types of errors ...............................................14-2
..........................................................Appendix-46 Types of stop processes................................6-37
TURNTABLE (explanation of terms) Types of warnings..........................................14-4
..........................................................Appendix-46
Target axis ( Cd.4 ).................................... 5-168 [U]
Target speed ( Md.42 ) ................................ 5-154 UNIT SETTING (explanation of terms)
Target value ( Md.41 ) ................................. 5-152 .......................................................... Appendix-46
Teaching function ........................................ 12-82 Unconditional JUMP ......................................9-62
Teaching program ......................................... 6-18 Unit magnification ( Pr.4 ) ...........................5-24
Teaching unit ................................................... 2-4 Unit setting ( Pr.1 ) ......................................5-22
Time chart for changing the speed from the PLC Upper limit signal ...........................................3-18
CPU ............................................................. 12-46
Time chart for changing the speed using an [V]
external start signal ..................................... 12-48 Valid M code ( Md.32 ) .................................5-146
Time chart for changing the speed using the
override function.......................................... 12-51 [W]
Time chart for restarting ................................ 6-35 WARNING (explanation of terms)... Appendix-46
Time chart for starting high-speed zero point return WITH MODE (explanation of terms)
....................................................................... 6-26 .......................................................... Appendix-46
Index - 11
WITH mode ................................................. 12-78 Zero point return method (2): Near-point dog
WORM GEAR (explanation of terms) method 2) .........................................................8-9
..........................................................Appendix-47 Zero point return method (3): Count method 1)
Wait start...................................................... 10-11 ........................................................................8-11
Warning codes Zero point return method (4): Count method 2)
Detected by AD75 ................................... 14-64 ........................................................................8-14
Detected by MR-H-B (MR-H-BN)............ 14-70 Zero point return method (5): Count method 3)
Detected by MR-J-B ................................ 14-72 ........................................................................8-16
Detected by MR-J2-03B5........................ 14-78 Zero point return method (6): Data setting
Detected by MR-J2-B .............................. 14-74 method ...........................................................8-18
Detected by MR-J2S-B ........................... 14-76 Zero point return method ( Pr.45 )................5-47
Warning history pointer ( Md.28 )................ 5-144 Zero point return re-movement amount ( Md.100 )
Wiring the external device connection connector ......................................................................5-160
pins ................................................................ 4-12 Zero point return request .................................8-2
Workpiece......................................................A-18 Zero point return request OFF program........6-13
Write pattern ( Cd.6 )................................. 5-170 Zero point return request flag ......................5-152
Writing to the flash ROM............................... 13-6 Zero point return request flag OFF request
( Cd.24 )........................................................5-180
[X] Zero point return retry ( Pr.50 ).....................5-53
XY TABLE (explanation of terms)....Appendix-47 Zero point return retry function ......................12-4
Zero point return speed ( Pr.48 ) ..................5-51
[Z] Zero point return torque limit value ( Pr.56 )
ZERO POINT (explanation of terms) ........................................................................5-57
..........................................................Appendix-47 Zero point shift amount ( Pr.55 )...................5-56
ZERO POINT RETURN METHOD Zero point shift function ...............................12-10
(explanation of terms) ......................Appendix-47 Zero speed ( Pr.130 )........ 5-67, 76, 87, 101, 111
ZERO POINT RETURN PARAMETER
(explanation of terms) ......................Appendix-47
ZERO POINT RETURN REQUEST
(explanation of terms) ......................Appendix-47
ZERO POINT SHIFT FUNCTION
(explanation of terms) ......................Appendix-47
ZERO POINT SIGNAL (explanation of terms)
..........................................................Appendix-47
Zero point absolute position ( Md.43 ) ........ 5-154
Zero point absolute position overflow/underflow
flag ............................................................... 5-152
Zero point address ( Pr.47 ) ......................... 5-51
Zero point return acceleration time selection
( Pr.53 ) ......................................................... 5-55
Zero point return basic parameters .............. 5-47
Zero point return complete flag................... 5-152
Zero point return deceleration time selection
( Pr.54 ) ......................................................... 5-55
Zero point return detailed parameters .......... 5-54
Zero point return direction ( Pr.46 ).............. 5-50
Index - 12
WARRANTY
Please confirm the following product warranty details before using this product.
3. Overseas service
Overseas, repairs shall be accepted by Mitsubishi's local overseas FA Center. Note that the repair conditions at each FA
Center may differ.
6. Product application
(1) In using the Mitsubishi MELSEC programmable controller, the usage conditions shall be that the application will not
lead to a major accident even if any problem or fault should occur in the programmable controller device, and that
backup and fail-safe functions are systematically provided outside of the device for any problem or fault.
(2) The Mitsubishi programmable controller has been designed and manufactured for applications in general industries,
etc. Thus, applications in which the public could be affected such as in nuclear power plants and other power plants
operated by respective power companies, and applications in which a special quality assurance system is required,
such as for Railway companies or Public service purposes shall be excluded from the programmable controller
applications.
In addition, applications in which human life or property that could be greatly affected, such as in aircraft, medical
applications, incineration and fuel devices, manned transportation, equipment for recreation and amusement, and
safety devices, shall also be excluded from the programmable controller range of applications.
However, in certain cases, some applications may be possible, providing the user consults their local Mitsubishi
representative outlining the special requirements of the project, and providing that all parties concerned agree to the
special circumstances, solely at the users discretion.
Microsoft Windows, Windows NT are registered trademarks of Microsoft Corporation in the United States
and other countries.
Other company and product names herein may be either trademarks or registered trademarks of their
respective owners.
IB(NA)-66715-I