D2 Series Servo Drive User Manual V2.1 (En)
D2 Series Servo Drive User Manual V2.1 (En)
User Manual
www.hiwinmikro.tw
MD07UE01-2010_V2.1
Revision History
The version of the manual is also indicated on the bottom of the front cover.
MD07UE01-2010_V2.1
Version
Release Date
Before using the product, please carefully read through this manual. HIWIN Mikrosystem (HIWIN) is not
responsible for any damage, accident or injury caused by failure in following the installation instructions
and operating instructions stated in this manual.
Do not disassemble or modify the product. The design of the product has been verified by structural
calculation, computer simulation and actual testing. HIWIN is not responsible for any damage,
accident or injury caused by disassembly or modification done by users.
Before installing or using the product, ensure there is no damage on its appearance. If any damage
is found after inspection, please contact HIWIN or local distributors.
Carefully read through the specification noted on product label or technical document. Install the
product according to its specification and installation instructions stated in this manual.
Ensure the product is used with power supply specified on product label or in product requirement.
HIWIN is not responsible for any damage, accident or injury caused by incorrect power supply.
Ensure the product is used with rated load. HIWIN is not responsible for any damage, accident or
injury caused by improper usage.
Do not subject the product to shock. HIWIN is not responsible for any damage, accident or injury
caused by improper usage.
If an error occurs in the drive, please refer to Chapter 9 and follow the instructions for
troubleshooting. After the error is eliminated, power on the drive again.
Do not repair the product by yourself when it malfunctions. The product can only be repaired by
qualified technician from HIWIN.
HIWIN offers 1-year warranty for the product. The warranty does not cover damage caused by improper
usage (Refer to the precautions and instructions stated in this manual.) or natural disaster.
ATTENTION
The maximum ambient temperature for the product is 55°C.
The drive can only be installed in the environment that the degree of contamination is below 2.
The rated input voltage of the product is 240V. The power supply voltage cannot exceed 240V, and the
short-circuit current cannot be over 5000A.
The drive provides neither motor over-temperature sensor, nor motor over-temperature protection.
The short-circuit protection of the drive cannot be used as a shunt-circuit protection. The shunt-circuit
protection should be selected based on US National Electrical Code (NEC) and local regulations.
Power off and wait at least five minutes before examining the drive. To avoid electric shock, please use a
multi-meter or a similar apparatus to check if the residual voltage between P and N terminals has dropped to
the safety level (50Vdc or lower).
WARNING
If the sequence of connection is not correctly followed when installing or replacing motor power cables, the
motor may run abnormally. It may cause serious damage to equipment or injury to people. Please use
correctly labelled wires.
If you decide to use your self-made extension cord for motor encoder, please look up this User Manual in
detail or contact HIWIN Customer Service Department. Wrong connection may cause abnormal motion or
injury to people.
When applying the open type of optical feedback system (e.g. optical scale), please make sure the scale is
not stained or scratched. Otherwise, it may cause abnormal motion to the motor, damage to the motor or
equipment, or injury to people.
When applying the open type of magnetic feedback system (e.g. magnetic scale), please make sure the
strong magnetic object is not close to the scale. Otherwise, it may cause abnormal motion to the motor,
damage to the motor or equipment, or injury to people.
Each motor model has its own rated maximum payload. If exceeds, it may cause abnormal motion to the
motor, even damage to equipment or injury to people.
If you accidentally touch or move the encoder connector on the drive during the operation of motor, please
make sure the drive is undamaged. It is recommended to power cycle the drive, or it may cause damage to
equipment or injury to people.
During the usage of motor, please do not unplug the extension cord for motor encoder, move the motor and
plug it back when power on. It may cause abnormal motion to the motor, even damage to equipment or injury
to people.
Carefully read through this manual before installation, transportation, maintenance and examination.
Ensure the product is correctly used.
Carefully read through electromagnetic (EM) information, safety information and related precautions
before usage.
Safety precautions in this manual are classified into “Warning”, “Attention”, “Prohibited” and
“Required”.
DANGER
Ensure the drive is correctly grounded. Use PE bar in the control cabinet as reference potential.
Perform low-ohmic grounding for safety reason.
Do not remove motor power cable from the drive when it is still power-on, or there is a risk of electric shock or
damage to the contact.
Do not touch the live part (contact or bolt) within 5 minutes after disconnecting the drive from power supply.
For your own safety, we suggest measuring the voltage in the intermediate circuit and wait until it falls to
40Vdc before touching the live part.
Operation
Do not touch the terminals and the internal part of the product when power
on, or it may cause electric shock.
Do not touch the terminals and internal part of the product within 10 minutes
after power off, or the residual voltage may cause electric shock.
Do not modify wiring when power on, or it may cause electric shock.
Do not damage, apply excessive force to, place any heavy object on the
cable or put the cable between two objects, or it may cause electric shock or
fire.
Storage
Do not store the product in location which is subject to water, water drop,
direct sunlight, harmful gas or liquid.
Transportation
Carefully move the product to avoid damage.
Do not apply excessive force to the product.
Do not stack the products to avoid collapse.
Installation site
Do not install the product in location with high ambient temperature and high
humidity or location which is subject to dust, iron powder or cutting powder.
Install the product in location with ambient temperature stated in the manual.
Use cooling fan if the ambient temperature is too high.
Do not install the product in location which is subject to direct sunlight.
The product is not drip-proof or waterproof, so do not install or operate the
product outdoor or in location which is subject to water or liquid.
Install the product in location with less vibration.
Motor generates heat when running for a period of time. Use cooling fan or
disable the motor when it is not in use, so the ambient temperature will not
exceed product specification.
Installation
Wiring
Set external wiring for emergency stop to stop the motor at any time.
Maintenance
Do not disassemble or modify the product.
Do not repair the product by yourself when it malfunctions, please contact
HIWIN for help.
Table 2.1.1.1
Model No.
Input/output voltage
200-240V
Phases
Rated input/output current
Input/output frequency
Figure2.1.2.1
Table 2.1.3.1
Code 1 2 3 - 4 5 6 7 - 8 - 9 10
Example D 2 - 0 4 2 3 - S - B 0
Note:
(1) The standard model supports the pulse and +/- 10 V input interfaces.
(2) The EtherCAT (CoE) and EtherCAT (mega-ulink) models do not have the extension I/O module and Modbus
module.
(3) The frame D model requires the voltage range of 3-phase 220 Vac.
(4) D2 model does not support the extension I/O module and the rated output of 2.0 KW.
(5) D2T frame A, B, and C models do not have the Modbus module.
(6) For the dual-loop model, the rotary encoder should be the 17-bit serial absolute encoder and the linear
encoder should be the digital AqB encoder.
(7) The EtherCAT (CoE) model does not support the dual-loop control.
Frame
Single/three-phase, 200 - 240 Vac 50/60Hz
A-C
Main power
Frame
Input power 220V Three-phase, 200 - 240 Vac 50/60Hz
D
Frame
Control power Single-phase, 200 - 240 Vac 50/60Hz
A-D
Frame A: 100 W; frame B: 400 W; frame C: 1.0 KW;
Power
frame D: 2.0 KW.
Frame A: 0.9 Arms; frame B: 2.5 Arms;
Continuous current
frame C: 5.1 Arms; frame D: 11 Arms.
Output power
Frame A: 2.7 Arms; frame B: 7.5 Arms;
Peak current
frame C: 15.3 Arms; frame D: 33 Arms.
Sustainable duration of peak
1 second maximum.
current
Operation temperature: 0°C to 45°C
Temperature (if over 55°C, the forced ventilation is needed)
Storage temperature: -20°C to 65°C
(2) Errors;
Control output
(3) In-velocity;
(4) Zero speed detected, etc.
Torque commands can be provided by the duty cycle of
Torque command
PWM input PWM input. Parameters are used to set the scale and
input
command direction.
Torque commands can be provided by the analog voltage.
Torque command
Analog input Parameters are used to set the scale and command
input
direction.
Speed limit function The parameter for speed limit can be set.
Error log Errors and warnings are saved in the non-volatile memory.
Dimensions and mounting holes of D2-series drives, D2-series drives with the EtherCAT (CoE/
mega-ulink) module, and D2-series drives with the extension I/O module are shown in the following
figures. The dimension unit is in mm, and the diameter of mounting hole is 4 mm.
D2-DNN46A
D2-DNN47A
D2-DNN48A
D2-DNN52A
D2-DNN43A
D2-DNN44A
D2-DNN45A
D2-DNN57A
D2-DNN54A
D2-DNN55A
D2-DNN56A
D2-DNN53A
To fix drive in the used environment (e.g. electric cabinet), conductive screws must be used to secure
drive to electric cabinet. Moreover, insulating materials (e.g. paint) on the contact surface of electric
cabinet must be removed, so that the drive can connect to ground through the machine. If the main power
of drive is 220 V, the grounding resistance must be less than 50 Ω.
Installing drive must be careful, not to shut suction hole and vent, and not place it in the inclined position.
Otherwise, it will cause drive failure. In order to ensure that the effect of cooling circulation is well,
installing drive should keep an enough space between the drive and the adjacent article or baffle. If more
than one drive is installed, keep the space between drives more than 20 mm, such that the drive has an
enough space for heat dissipation. Fans can be set in the electric cabinet to facilitate the heat dissipation
of drives.
Figure2.4.1
50 mm 20 mm 20 mm Electric cabinet
or more or more or more case
50 mm 50 mm
or more or more
50 mm
or more
Table2.5.1
The following operation modes can be used to implement the interface between the standard D2 drive
and the host controller.
The host controller sends pulses to drive. These pulses are equal to position commands. When the drive
receives a pulse, it moves the motor with a corresponding distance. The host controller is responsible for
path planning. The pulse is sent faster and faster at the acceleration, and is sent with a fixed frequency at
the constant speed. As shown in figure 3.1.1.1, there are three formats of pulse signal: pulse/direction
(pulse/dir), pulse up/pulse down (CW/CCW), and quadrature (AqB). Based on the hardware wiring, the
pulse signal can be classified into the differential and single-end TTL logic signals.
The electronic gear can be set in the position mode. One input pulse is normally set to be equal to one
encoder count. For example, the gear ratio of 2:3 means that 2 input pulses is equal to 3 encoder counts.
Pulse input
Dir input
Forward Reversal
CW input
CCW input
Forward Reversal
A-phase input
B-phase input
Forward Reversal
Figure3.1.1.1
The drive can receive the command from the host controller via voltage, so as called V command. The
input voltage range is from -10 V to +10 V. The drive converts the received external voltage to the
corresponding velocity command to drive the motor. Besides the voltage, the host controller can also
send the velocity command via PWM signal, so as called PWM command. It utilizes different duty cycles
to correspond to different velocity commands. There are two types of PWM command: single-line type
(PWM 50%) and dual-line type (PWM 100%). The single-line type (PWM 50%) takes the duty cycle of
50% as the basis. If the duty cycle of PWM command is less than 50%, the motor performs the reverse
motion; while if greater than 50%, the motor performs the forward motion. In addition to using one pin to
transmit PWM command, the dual-line type (PWM 100%) needs another pin to control motion direction.
In the force/torque mode, the command from the host controller, which can be received by the drive, is the
same as that in the velocity mode. There are V command and PWM command. After the drive receives
these two commands, it converts them to the corresponding current to drive the motor.
There is one high-speed DSP on the inside of drive. Therefore, the drive can plan the motion profile by
itself. If the drive needs to do test alone or without any host controller (e.g. only the servo motor and
drive), the stand-alone mode can be selected to let drive be responsible for all control loops.
The encoder usually plays an important role in the servo motor control. It provides the information of drive
position or angle to realize the servo-loop control. There are two types of commonly used encoder: digital
type and analog type. D2-series drives only support the digital encoder presently, but not analog encoder.
Resolution
Figure3.2.1
Grating Period
Figure3.2.2
The input signal of encoder is used to perform the servo control by the servo drive. When the drive works
with the host controller, the host controller also has the requirement of receiving position signal. Normally,
the drive will transmit the position or angle signal received from the encoder to the host controller. D2
drive provides the following two modes of encoder output.
Figure3.3.1
D2
Switchable
Buffered
Encoder
Output
Encoder
Emulated Signal
Encoder Processing
Output
Figure3.3.2
The main purpose of path planning is that the host controller calculates the suitable motion command
based on the user’s actual requirement of distance, velocity, acceleration, and smooth factor, as shown in
figure 3.4.1. This command (pulse or V command) is sent to the drive by the host controller, or calculated
by the drive itself (stand-alone mode). Different configurations are adopted according to different
applications.
Position (p)
Velocity (v)
Acceleration (a)
Time (t)
Figure3.4.1
(1) Position
The encoder provides the position information of motor to the drive, such that the drive can realize
the current motor position. For the linear motion, common position units are um, mm, and m; while
for rotary motion, it is the encoder count. For D2 drive, “Reference position” denotes the position
command, which is calculated by the path generator based on the related parameters. However,
“Target position” is the target position set by the user or host controller. After this parameter is sent to
the drive, normally, it needs to be calculated by the path generator so as to let motor move.
(2) Velocity
The velocity is defined as the difference of position per unit time. For linear motion, velocity units are
um/sec, mm/sec, m/sec; while for rotary motion, they are count/sec, rps, and rpm.
(3) Acceleration
The acceleration is defined as the difference of velocity per unit time. For linear motion, acceleration
units are um/sec2, mm/sec2, and m/sec2; while for rotary motion, it is rps2.
Figure3.5.1
0.1……………………………………5……………………………………1
Figure3.5.2
Gain margin (GM) is defined as that the loop gain, calculated by dB, can be increased before the
close-loop system becomes unstable. On the other hand, phase margin (PM) is defined as that the phase
delay can be increased before the close-loop system becomes unstable.
Gain margin
Denote G(jωp) as the relative distance from the intersection of Nyquist diagram and the negative real
axis to the point (-1, j0), where ωp is the frequency at the phase crossover. The example of G(jωp)
= 180° is shown in figure 3.6.1.1. For the transfer function G(s) in a loop system, gain margin = GM =
1
20 log10 = −20 log10 G( jω p )
G( jω p )
dB.
Following results can be derived from figure 3.6.1.1 and characteristics of Nyquist diagram.
a If G(jω) does not intersect with the negative real axis, |G(jωp)| = 0 and GM = dB. When the
Nyquist diagram does not intersect with the negative real axis at any non-zero and finite
frequency, GM = dB. Theoretically, the loop gain can be increased to be infinite before the
system becomes unstable.
b If G(jω) intersects with the negative real axis between 0 and -1, 0 < |G(jωp)| < 1 and GM > 0 dB.
When the Nyquist diagram intersects with the negative real axis between 0 and -1 at any
frequency, the system is stable as increasing loop gain.
c If G(jω) is at the point (-1, j0), |G(jωp)| = 1 and GM = 0 dB. When the Nyquist diagram G(jω) is at
the point (-1, j0), GM = 0 dB. This means that the system reaches the unstable boundary and the
loop gain cannot be increased any more.
d If G(jω) passes by the point (-1, j0), |G(jωp)| > 1 and GM < 0 dB. When the Nyquist diagram
G(jω) passes by the point (-1, j0), GM < 0 dB. At this time, GM must be reduced to achieve the
steady state of loop gain.
j Im G
G ( jω) − Plane
Phase crossover
ω = ωp
0 Re G
G ( jω p )
0←ω
Figure3.6.1.1 Gain margin of Nyquist diagram
Phase margin
Phase margin is defined as that the angle between the straight line passing through the gain
crossover and the negative real axis of G(jω)-plane, as shown in figure 3.6.1.2.
j ImG
G (j ω ) − Plane
-1 1
0 Re G
Phase margin
Gain
crossover
ω = ωg
0←ω
The gain margin and phase margin of Bode diagram are given in figure 3.6.2.1.
∠G ( j ω) (deg) Phase
margin
0
-90
-180
-270 ω ( rad /sec)
-360 ωp Phase crossover
The bandwidth of Bode diagram is defined as the frequency at -3 dB, as shown in figure 3.6.2.2.
Gain (dB)
0 dB
-3 dB f
Bandwidth
The motor moves based on the path planned by the host controller. When it arrives at the target position,
it is able to position accurately and stop motion. This is called move and settling.
Position error
In the servo system, there is a certain difference between the target position and the encoder
feedback position. This is called position error.
Target radius
After the motor arrives at the target position, the difference between the feedback position and the
target position must be controlled and kept within a specific positive/negative small range. This range
is called target radius.
Total time
Figure3.7.1
Normally, the positioning accuracy of drive is determined by the performance of encoder. But sometimes,
the encoder cannot completely meet the requirement of accuracy. In this case, instruments with the
higher level of accuracy (e.g. laser interferometer) should be applied to measure the system error. D2
drive has one high-performance control method. It saves the measured error data into the error map of
drive, as shown in figure 3.8.1, and uses this data during motion. By adopting the method of linear
interpolation between the fixed distance, it calculates the value of error compensation to enhance the
positioning accuracy.
D2 Motor
drive
Figure3.8.1
The mapping effective area is determined by the index signal. The area from the index towards positive
direction is the mapping effective area; while the area from the index towards negative direction is the
area without mapping. As shown in the following figure, the mapping effective area for non-zero home
offset is the same as that for zero home offset.
+ position
index
Drive coordinate = 0
Home offset
= 100 Mapping effective area
+ position
index
Drive coordinate = -100 Drive coordinate = 0
Figure3.8.2
Generally in the motion control, it is always desirable that the motion in the constant-speed phase is as
smooth as possible. The motion stability can be estimated by the index of velocity ripple. Main factors
causing the variation in the constant-speed phase are the motor cogging force, cable chain, air pipeline,
and guideway friction, and so on. This velocity ripple is usually used for scanning or detecting machines
required high stability in the constant-speed phase. The equation of velocity ripple is:
Velocity Ripple = ±
1 V max
− V min
× 100%,
2 V target
where Vtarget is the target velocity, Vmax is the maximum velocity in the constant-speed phase, and Vmin is
the minimum velocity in the constant-speed phase. As shown in figure 3.9.1, the velocity ripple of (a) is
larger indicated less steadiness; while (b) is smaller indicated better steadiness.
(a) (b)
Vtarget
Vmax Vmax
Vtarget
Vmin Vmin
Constant Constant
Velocity Velocity
Figure3.9.1
3.10 Enable
The enable is a necessary step before the drive starts to receive any motion command. Only at the
enable state, the drive can receive the pulse or voltage command from the host controller to do motion.
Phase initialization
For the drive with the incremental encoder, it needs to find the electrical angle at the first power-on,
called phase initialization. For HIWIN servo motors, after the drive is booted, it is able to successfully
find the electrical angle almost without any movement at the first enable process. The other common
method of phase initialization is to add Hall sensor to achieve the same effect. Generally, the host
controller sends an output signal to the drive (e.g. the input I3 of D2 drive) to complete the phase
initialization and enable process.
Figure3.11.1
This chapter describes the system configuration of drive and the function of each connector.
The following figure shows the name, function, and specification of each drive connector.
Figure4.1.1.1
Figure4.1.1.2
CN8-out
CN8-in
CN13
CN14
Figure4.1.1.3
Table4.1.1.1
4.1.1.1 Grounding
To prevent interference from causing false operation, perform grounding by following the instructions.
(1) Use the third type grounding or D type grounding (Grounding resistance must be below 100 Ω.).
(2) The servo drive cannot share the same power supply with electric welding machine or electric
discharge machine. If there is high frequency generator near the servo drive, install noise filter at the
input sides of main circuit power cable and control circuit power cable.
(3) The ground wire must be as short as possible. Parallel and single-point grounding is suggested.
(4) If servo motor is insulated from machine, ground the servo motor directly.
(5) If there is high frequency generator (such as electric welding machine, electric discharge machine or
frequency converter) in servo system, the high frequency generator must be grounded
separately to avoid interference to other device.
(6) When servo motor is grounded through a machine, switching noise current may flow out from the
servo drive main circuit with the stray capacitance of the servo motor. To avoid the above situation,
connect the frame or ground terminal of the servo motor to the ground terminal of the servo drive.
Then ground the ground terminal of the servo drive. When linear motor is used, both the forcer
and stator must be grounded.
(7) When control signal cable is interfered, connect its shield to its connector shell. Then perform
grounding.
The pin assignment of CN1 for frame A-C models is different with that for the frame D model. Check the
pin assignment for each model before use. Descriptions of CN1 power wiring include: single/three-phase
power input, motor power output (frame A-C), regenerative resistor wiring, single-phase control power
input, and DC reactor wiring (frame D).
Before connecting the main circuit of drive, ensure that the drive is properly grounded. Frame D model is
only allowed connecting three-phase 200 - 240 Vac.
Table4.1.2.1.1
(2) Frame D
Connector model: TE Connectivity 1-2229794-1 (female).
The ground wire of main power should be connected to the drive housing.
Table4.1.2.1.2
Be sure to ground the drive and the motor. The following motor wiring is only suitable for frame A-C
models.
mega-fabs
D2 Series drive
CN1
L1
L2
L3
U
V
W
REG-
REG+
L1C
L2C
Motor
Figure4.1.2.2.1
The regenerative resistor is optional. However, the frame D model has one internal regenerative resistor
(13 Ω/100 W). Install it according to the actual application.
mega-fabs
D2 Series drive
CN1
L1
Regenerative L2
L3
resistor case
U
V
Fuse W
REG-
REG+
L1C
L2C
Figure4.1.2.3.1
(2) Frame D
Regenerative
resistor case
Fuse
The DC reactor is optional. Its main function is to improve the input power factor and suppress the
harmonic current. Only the frame D model supports this feature. Install it according to the actual
application.
Specification
Table4.1.2.4.1
The wiring diagram and instructions for installing DC reactor are given as below.
Note:
(1) ☉1 and ☉2 on CN1 are connected when servo drive is shipped out. Do not disconnect them. Otherwise the
servo drive cannot function normally.
(2) If using DC reactor to suppress harmonic current, its wiring must be between ☉1 and ☉2.
Figure4.1.2.4.1
CAUTION
Wiring and the related inspection must be done by the professional technician.
Turn off the power before wiring or inspection to avoid electric shock and other dangers.
After the power is turned off, do not touch power terminals for a short time period (at least 5 minutes), since
the power in the drive remains high.
Perform wiring correctly and reliably; otherwise it may cause uncontrolled motor operation, personnel injury,
machine malfunction, or other unexpected accidents.
Do not connect the U, V, or W terminal of motor to power supply.
Connectors of power and motor cables should be connected securely; otherwise it may cause fire.
Ensure that the drive and motor are grounded properly.
The drive and motor should be installed before wiring; otherwise it may cause electric shock.
Do not damage, pull, or squeeze the wire; otherwise it may cause electric shock.
The drive may interfere with the nearby electronic equipment. A noise filter could be used to reduce the
effect of electromagnetic interference.
Do not make any modification to the drive.
Do not put the main circuit cable, I/O signal cable, or encoder cable in the same duct, or tie them together.
The cable should be kept more than 30 cm away from each other at wiring.
Following instructions must be observed for wiring main circuit terminals:
Do not insert more than two wires in the same socket.
4-10 HIWIN MIKROSYSTEM CORP.
MD07UE01-2010
Check that there is no short circuit between the wire and its adjacent wire after inserting the wire.
Use the specific power voltage; otherwise it may cause fire or drive damage.
If the drive is used at the condition of poor or significantly fluctuating power, ensure that the power is
supplied within the specified range of voltage fluctuation; otherwise it may cause drive damage.
Install safety devices, such as breaker, to prevent the short circuit of external wiring from damaging the
drive.
The appropriate isolation and shielding measures must be adopted when the drive is used in the following
environments; otherwise it may cause the poor operation of drive.
Environment with the interference generated by the static electricity or the like.
Environment with a strong electric field or a strong magnetic field.
Environment with the emitted radiation.
Residual power still exists in capacitor even if main power is cut off. If you would like to stop the motor right
after the main power is cut off, refer to the instructions below.
Control power must be cut off at the same time.
Disable hardware enable by using relay.
Enable dynamic brake after main power is cut off.
For frame A-C models, CN2 is the brake connector; while for the frame D model, CN2 is the motor power
connector. Check the pin assignment for each model before use. It is suggested that the brake power
should be independent power and does not use the same power source with other power.
Figure4.1.3.1
Power:
Isolated
control
Figure4.1.3.2 Brake wiring with a relay
(2) Frame D
The motor ground wire should be connected to the drive housing.
Connector model: TE Connectivity 3-2229794-1 (female).
Figure4.1.3.3
Table4.1.3.1
Use the mini USB to connect with PC for monitoring drive, doing test runs, or writing parameters, and so
on. The corresponding operation please refers to Section 5.
Use HIWIN cable with the shielding network. Its model is “USB 2.0 Type A to mini-B 5-pin (1.8M)”.
Figure4.1.4.1
PC mega-fabs
D2 Series drive
USB
Serial CN3
port
N/C 4
USB_D+ 3 USB_D+ 3
GND 5 GND 5
USB_D- 2 USB_D- 2
+5V 1 USB_VBUS 1
Figure4.1.4.2
Use RS485 cable to connect with the host controller. By using the Modbus serial communication protocol,
it can read and write drive parameters. All CN4 connectors of frame A-D models are Modbus
communication ports, but their connector specifications are different. The Modbus communication cable
must be AWG26/3-wire and double-shielded. It must comply with UL2464 standard and its copper braid
must connect with the shell.
Note:
D2T models with frame A-C do not support the Modbus communication.
Table4.1.5.1
(2) Frame D
Connector model: TE Connectivity 2040008-1 (female).
Table4.1.5.2
CN5 connectors of frame A-C models are Modbus communication ports; while the CN5 connector of
frame D model is the input of safety-function device. Check the pin assignment for each model before
use.
(2) Frame D
If the safety function is not used, connect the supplied safety jumper to CN5. When the safety jumper
is not installed, the drive will not supply current to the motor, and the motor will not work normally.
Connector model: TE Connectivity 1971153-1 (female).
Figure4.1.6.1
Table 4.1.6.1
For the pulse command and PWM command, the high-level input voltage should be greater than 2 V, and
the low-level input voltage should be less than 0.8 V.
Table4.1.7.1
(a) SCR connector 10 pin (male) (b) SCR connector 10PIN (female)
Figure4.1.8.1
Table4.1.8.1
Pin Signal
Encoder 13-bit 17-bit 17-bit Dual-loop Description
type incremental incremental absolute architecture
1 +5 Vdc +5 Vdc +5 Vdc +5 Vdc Encoder power output of +5 Vdc
2 SG SG SG SG Digital ground and ground for +5 Vdc
3 N/A MA+ PS+ PS+ 17-bit incremental: timing output for
serial communication (MA+, MA-)
17-bit absolute and dual-loop
4 N/A MA- PS- PS- architecture: data transmission for
serial communication (PS+, PS-)
5 A SL+ N/A A 13-bit incremental: digital signal
6 /A SL- N/A /A transmission (A, /A, B, /B, Z, /Z)
7 B N/A N/A B 17-bit incremental: data transmission
for serial communication (SL+, SL-)
8 /B N/A N/A /B Dual-loop architecture: digital signal
9 Z N/A N/A Z transmission (Connecting to linear
10 /Z N/A N/A /Z encoder)
Shield FG FG FG FG Frame ground reference
To connect with the EtherCAT module, the connector of network cable should have the shielding
protection.
Figure4.1.10.1
Table4.1.10.2
CN13 CN14
Pin Signal Description Pin Signal Description
1 DO 1+ Positive terminal of digital output 1 1 DO 7+ Positive terminal of digital output 7
2 DO 1- Negative terminal of digital output 1 2 DO 7- Negative terminal of digital output 7
3 DO 2+ Positive terminal of digital output 2 3 DO 8+ Positive terminal of digital output 8
4 DO 2- Negative terminal of digital output 2 4 DO 8- Negative terminal of digital output 8
5 DO 3+ Positive terminal of digital output 3 5 DO 9+ Positive terminal of digital output 9
6 DO 3- Negative terminal of digital output 3 6 DO 9- Negative terminal of digital output 9
7 DO 4+ Positive terminal of digital output 4 7 DO 10+ Positive terminal of digital output 10
8 DO 4- Negative terminal of digital output 4 8 DO 10- Negative terminal of digital output 10
9 DO 5+ Positive terminal of digital output 5 9 DO 11+ Positive terminal of digital output 11
10 DO 5- Negative terminal of digital output 5 10 DO 11- Negative terminal of digital output 11
11 DO 6+ Positive terminal of digital output 6 11 DO 12+ Positive terminal of digital output 12
12 DO 6- Negative terminal of digital output 6 12 DO 12- Negative terminal of digital output 12
14 DI 1 Digital input 1 14 DI 13 Digital input 13
15 DI 2 Digital input 2 15 DI 14 Digital input 14
16 DI 3 Digital input 3 16 DI 15 Digital input 15
17 DI 4 Digital input 4 17 DI 16 Digital input 16
18 DI 5 Digital input 5 18 DI 17 Digital input 17
19 DI 6 Digital input 6 19 DI 18 Digital input 18
20 DI 7 Digital input 7 20 DI 19 Digital input 19
21 DI 8 Digital input 8 21 DI 20 Digital input 20
22 DI 9 Digital input 9 22 DI 21 Digital input 21
23 DI 10 Digital input 10 23 DI 22 Digital input 22
24 DI 11 Digital input 11 24 DI 23 Digital input 23
25 DI 12 Digital input 12 25 DI 24 Digital input 24
Input common point of (allowed for Input common point (allowed for
13 COM+/- 13 COM+/-
positive or negative) positive or negative)
26 COM+/- 26 COM+/-
Table4.2.1
Table4.2.2
03 05 07 10
Cable Length (m) 3 5 7 10
Encoder cable
Table4.2.3
Table4.2.4
03 05 07 10
Wire Length (m) 3 5 7 10
Note:
The encoder cable shall be chosen to match with the motor encoder.
Table4.2.5
Communication cable
Table4.2.6
Connector kit
Table4.2.7
Table4.2.8
Note:
The EMI magnetic ring can reduce the noise interference, and can be applied on the main power cable, motor
power cable, encoder cable, or pulse control cable based on demand.
Regenerative resistor
Table4.2.9
RG1 68 Ω 100W/500W
Regenerative resistor
RG2 120 Ω 300W/1500W
Connector specifications
Note:
(1) The accessory kit includes connectors of CN1, CN2, and CN6 (with 733-130 fixture tool). HIWIN P/N:
051800200070.
(2) Turn off all power and use fixture tools to avoid electric shock at wiring.
CAUTION
Wiring and the related inspection must be done by the professional technician.
Turn off the power before the wiring or inspection to avoid electric shock and other dangers.
After the power is turned off, do not touch power terminals for a short time period (at least 5 minutes),
since the power in the drive remains high.
Perform wiring correctly and reliably; otherwise it may cause uncontrolled motor operation, personnel
injury, machine malfunction, or other unexpected accidents.
Do not make any modification to the drive.
It is recommended to use the single-phase filter model of FN2090-6-06 for 50 W - 400 W motors, and
FN2090-10-06 for 750 W - 1 KW motors.
Emergency
ON OFF Stop
KM
KM
SK
mega-fabs
D2 Series drive
Filter
NFB KM CN1
1-phase
100~240VAC
200 L1
50/60Hz L2
L3
Earth
L1C
L2C
Figure4.3.1.1
Table4.3.1.1
FN2090-6-06 Filter
Emergency
ON OFF Stop
KM
KM
SK
mega-fabs
D2 Series drive
NFB Filter
CN1
KM
3-phase
200~240VAC
L1
50/60Hz L2
L3
Earth
L1C
L2C
Figure4.3.2.1
Table4.3.2.1
FN3025HL-20-71 Filter
Operation frequency DC to 60 Hz
Do not use the power connector on the drive to connect the power supply between drives in parallel.
Emergency
ON OFF Stop
KM
KM
SK
mega-fabs
D2 Series drive
NFB Filter
CN1
KM
3-phase
200~240VAC
L1
50/60Hz L2
L3
Earth
L1C
Terminal L2C
mega-fabs
D2 Series drive
CN1
L1
Terminal L2
L3
L1C
Terminal
L2C
mega-fabs
D2 Series drive
CN1
L1
L2
L3
L1C
L2C
Figure4.4.1
Note:
IB: Rated NFB current;
In: Rated drive current;
InMAX: The maximum rated current among different drives;
C: Multiple of rated current, usually 1.5 - 2.5, or 1.5 if it cannot be determined;
Cmax: Multiple of rated current for the maximum rated current among drives;
K: Demand rate; 1 if it cannot be determined.
Example:
If five D2-0123--A and one D2-0423--B drives are used,
(assuming that C and CMAX are 2)
Not started at the same time: IB = (1.5×5 + 4.1 - 4.1)×1 + 4.1×2 = 15.7 Arms.
Started at the same time: IB = 2×1.5 + 2×1.5 + 2×1.5 + 2×1.5 + 2×1.5 + 2×4.1 = 23.2 Arms.
D2 model provides 9 general-purpose inputs and 4 general-purpose outputs on CN6 connector; while
D2T model provides 10 general-purpose inputs and 5 general-purpose outputs on CN6 connector. Users
can configure the function of each I/O by using the software. In this section, take D2 model as an
example. The wiring method for D2T model is the same as that for D2 model.
General-purpose inputs of D2-series drives adopt the optical-coupler input interface suitable for the
voltage system of 12 - 24 Vdc. D2 (D2T) model has the total of 9 (10) general-purpose inputs with one
COM port and suitable for Sink or Source connection at the same time. The default function of I3 is “Axis
Enable”. Others can be set by using the human-machine interface (HMI) based on the user’s requirement.
Sink connection 接
4.7K
7 COM
Current 33 I1
30 I2
29 I3
Figure4.5.1.1.1
30 I2
29 I3
Figure4.5.1.1.2
Source connection
4.7K
7 COM
33 I1
30 I2
29 I3
Current流
Figure4.5.1.2.1
30 I2
29 I3
Current流
Figure4.5.1.2.2
General-purpose outputs of D2-series drive adopt the output interface of optical-coupler Darlington
suitable for the voltage system of less than 24 Vdc. D2 (D2T) model has 4 (5) general-purpose outputs.
Each output has an independent Darlington open-collector circuit. The maximum allowable current is 100
mA. Users can configure the function of each output by using the software.
Note:
When O5 of frame D model is set to brake signal output, it is necessary to connect to a relay to control
the motor brake, since its maximum allowable current is 100 mA.
O1+ 35
O1- 34
O2+ 37
+24VDC
O2- 36
O3+ 39
O3- 38
O4+ 11
O4- 10
Figure4.5.2.1
Figure4.5.2.2
Figure4.5.2.3
4.6.1
(1) When host controller is NPN using 12/24V power with
external resistors:
MD07UE01-2010
A phase output
B phase output
C phase output
Figure4.6.1.1
Voltage input (+/-10V)
D2-ENT01A
: Twisted pair
The position mode can accept three formats of pulse command from the host controller. Refer to Section
MD07UE01-2010
Wiring example for the host controller having the differential interface for high-speed pulse:
General-purpose output;
High-speed pulse mega-fabs its function can be
Host controller command D2 Series Drive assigned by the user.
(4 Mpps or less) High speed pulse input Signal output CN6 24V
CN6 RDY
1K O1+ 35
PLS 44 CWH+
121 1K O1- 34 Photo-
CW / A 45 CWH-
ALM
Coupler
O2+ 37 wiring
1K
DIR 46 CCWH+
121 O2- 36
CCW / B 1K
47 CCWH- INP
O3+ 39 R
25 SG
O3- 38 Relay
wiring
Signal input O4+ 11 R
CN6
4.7K O4- 10
24V 7 COM
IHN 0V
33 I1
Encoder output ( :Twisted pair)
CPE 30 I2 CN6
A 21 A-phase
SVN 29 I3 /A 22 output
B 48 B-phase
GNS 27 I4 /B 49 output
General-purpose
input; its function DIV1 Z 23 Z-phase
28 I5
can be assigned by /Z 24 output
the user. LL 26 I6
MOD 32 I7 Ic=0.6A(Max.)
Vce=40V(Max.)
CE 31 I8 Z output (open collector)
CZ 19
RL SG 25 0V
9 I9
0V
CN1 CN7
U
V
W
D2-ENE01A
Figure4.6.1.1.1
Wiring example for the host controller having the differential interface for low-speed pulse:
General-purpose outputs
Low-speed pulse command
(user-defined)
(500K pps or less)
General-purpose inputs
(user-defined)
Figure4.6.1.2.1
Wiring example for the host controller having the NPN interface with current-limit resistances:
MOD 32 I7 Ic=0.6A(Max.)
Vce=40V(Max.)
CE 31 I8 Z output (open collector)
CZ 19
RL SG 25 0V
9 I9
0V
CN1 CN7
U
V
W
D2-ENE02A
Figure4.6.1.3.1
Wiring example for the host controller having the NPN interface without current-limit resistances:
Low-speed pulse
General-purpose output;
command mega-fabs its function can be
(500 Kpps or less) D2 Series Drive assigned by the user.
12~24VDC CN6 Low speed pulse input Signal output CN6 24V
Host controller RDY
2K O1+ 35
NPN type 1 CWL 2K
O1- 34 Photo-
220 Coupler
4 CWL- ALM
PLS O2+ 37 wiring
2K
CW / A 2 CCWL
2K
O2- 36
220 INP
6 CCWL- O3+ 39 R
DIR
CCW / B O3- 38 Relay
Signal input wiring
0V
O4+ 11 R
CN6
4.7K O4- 10
24V 7 COM
IHN 0V
33 I1
Encoder output ( :Twisted pair)
CPE 30 I2 CN6
A 21 A-phase
SVN 29 I3 /A 22 output
B 48 B-phase
GNS 27 I4 /B 49 output
General-purpose Z 23
DIV1 28 I5 Z-phase
input; its function /Z 24 output
can be assigned by LL 26 I6
the user.
MOD 32 I7 Ic=0.6A(Max.)
Vce=40V(Max.)
CE 31 I8 Z output (open collector)
CZ 19
RL SG 25 0V
9 I9
0V
CN1 CN7
U
V
W
D2-ENE03A
Figure4.6.1.4.1
Wiring example for the host controller having the PNP interface with current-limit resistances:
Low-speed pulse
General-purpose output;
command
Host controller mega-fabs its function can be
(500 Kpps or less)
PNP type D2 Series Drive assigned by the user.
12~24VDC
CN6 Low speed pulse input Signal output CN6 24V
PLS RDY
O1+ 35
CW / A R 2K
3 CWL+ O1- 34 Photo-
220 Coupler
4 CWL- ALM
DIR O2+ 37 wiring
CCW / B R 2K
5 CCWL+ O2- 36
220 INP
6 CCWL- O3+ 39 R
Vdc Resistor (R)
0V O3- 38 Relay
12V 1KΩ , 0.5W Signal input wiring
24V 2KΩ , 0.5W O4+ 11 R
CN6
4.7K O4- 10
24V 7 COM
IHN 0V
33 I1
Encoder output ( :Twisted pair)
CPE 30 I2 CN6
A 21 A-phase
SVN 29 I3 /A 22 output
B 48 B-phase
GNS 27 I4 /B 49 output
General-purpose
input; its function DIV1 Z 23 Z-phase
28 I5
can be assigned by /Z 24 output
the user. LL 26 I6
MOD 32 I7 Ic=0.6A(Max.)
Vce=40V(Max.)
CE 31 I8 Z output (open collector)
CZ 19
RL SG 25 0V
9 I9
0V
CN1 CN7
U
V
W
D2-ENE04A
Figure4.6.1.5.1
Wiring example for the host controller having the PNP interface without current-limit resistances:
Low-speed pulse
command
(500 Kpps or less) General-purpose output;
Host controller mega-fabs its function can be
12~24VDC
PNP type D2 Series Drive assigned by the user.
PLS Low speed pulse input Signal output CN6 24V
CN6
CW / A RDY
2K O1+ 35
1 CWL 2K
O1- 34 Photo-
220 Coupler
DIR 4 CWL- ALM
CCW / B O2+ 37 wiring
2K
2 CCWL
2K
O2- 36
220 INP
6 CCWL- O3+ 39 R
0V O3- 38 Relay
Signal input wiring
O4+ 11 R
CN6
4.7K O4- 10
24V 7 COM
IHN 0V
33 I1
Encoder output ( :Twisted pair)
CPE 30 I2 CN6
A 21 A-phase
SVN 29 I3 /A 22 output
B 48 B-phase
GNS 27 I4 /B 49 output
General-purpose
input; its function DIV1 Z 23 Z-phase
28 I5
can be assigned by /Z 24 output
the user. LL 26 I6
MOD 32 I7 Ic=0.6A(Max.)
Vce=40V(Max.)
CE 31 I8 Z output (open collector)
CZ 19
RL SG 25 0V
9 I9
0V
CN1 CN7
U
V
W
D2-ENE05A
Figure4.6.1.6.1
Wiring example for the host controller having the 5V TTL interface:
O3- 38 Relay
0V Signal input wiring
O4+ 11 R
CN6
4.7K O4- 10
24V 7 COM
ZSP 0V
33 I1
Encoder output ( :Twisted pair)
30 I2 CN6
A 21 A-phase
SVN 29 I3 /A 22 output
General-purpose
input; its function B 48 B-phase
General input GNS 27 I4 output
can be assigned by by user
Definited /B 49
the user. Z 23 Z-phase
28 I5
/Z 24 output
LL 26 I6
MOD 32 I7 Ic=0.6A(Max.)
Vce=40V(Max.)
CE 31 I8 Z output (open collector)
CZ 19
RL SG 25 0V
9 I9
0V
CN1 CN7
U
V
W
D2-ENE17A
Figure4.6.1.7.1
Note:
The signal logic of pulse command accepted by D2 drive is shown as follows.
Table4.6.1.7.1
Pulse
Dir
CW
CCW
A
B
If the pulse command of host controller is the single-ended negative logic CW/CCW signal, it can be
converted to the positive logic CW/CCW signal by using the following wiring.
D2-series drive
Figure4.6.1.7.2 Wiring for converting the single-ended negative logic to positive logic CW/CCW signal
The drive can accept the voltage command form the host controller in the velocity and force/torque
modes. Refer to Sections 3.1.2 and 3.1.3 for more information.
A phase
output
B phase
output
Z phase
output
: Twisted pair
Figure4.6.2.1
Wiring example for the host controller having the interface of -10 V to +10 V:
General-purpose output;
mega-fabs its function can be
Host controller D2 Series Drive assigned by the user.
Velocity mode input Signal output CN6 24V
RDY
O1+ 35
R Vref
CN6 O1- 34 Photo-
10K 10.2K ALM
Coupler
14 ADC0+ O2+ 37 wiring
Vcmd+
15 ADC0- O2- 36
Vcmd- 10K 10.2K R
IN-V
O3+ 39 R
Voltage range
-10V~+10V O3- 38 Relay
wiring
ZSPD
Signal input O4+ 11 R
CN6
4.7K O4- 10
24V 7 COM
ZSC 0V
33 I1
Encoder output ( :Twisted pair)
30 I2 CN6
A 21 A-phase
SVN 29 I3 /A 22 output
B 48 B-phase
GNS 27 I4
General-purpose /B 49 output
input; its function Z 23 Z-phase
28 I5
can be assigned by /Z 24 output
the user. LL 26 I6
MOD 32 I7 Ic=0.6A(Max.)
Vce=40V(Max.)
CE 31 I8 Z output (open collector)
CZ 19
RL SG 25 0V
9 I9
0V
CN1 CN7
U
V
W
D2-ENE06A
Figure4.6.2.2
In addition to analog voltage command, D2-series drives can also accept the PWM command in the
velocity and force/torque modes. The PWM command is classified into single-wire (PWM 50%) and
two-wire (PWM 100%) types. Refer to Sections 3.1.2 and 3.1.3 for more information.
Wiring example for the host controller having the NPN interface with PWM 50%:
General-purpose output;
mega-fabs its function can be
PWM 50% command D2 Series Drive assigned by the user.
Host controller 12~24VDC CN6 Velocity / Torque mode Signal output CN6 24V
RDY
NPN type 2K O1+ 35
1 CWL 2K
O1- 34 Photo-
220 Coupler
4 CWL- ALM
PWM O2+ 37 wiring
2K
2 CCWL
2K
O2- 36
220 INP
0V 6 CCWL- O3+ 39 R
O3- 38 Relay
Signal input wiring
O4+ 11 R
CN6
4.7K O4- 10
24V 7 COM
ZSP 0V
33 I1
Encoder output ( :Twisted pair)
30 I2 CN6
A 21 A-phase
SVN 29 I3 /A 22 output
B 48 B-phase
GNS 27 I4
General-purpose /B 49 output
input; its function Z 23 Z-phase
28 I5
can be assigned by /Z 24 output
the user. LL 26 I6
MOD 32 I7 Ic=0.6A(Max.)
Vce=40V(Max.)
CE 31 I8 Z output (open collector)
CZ 19
RL SG 25 0V
9 I9
0V
CN1 CN7
U
V
W
D2-ENE13A
Figure4.6.3.1.1
Wiring example for the host controller having the NPN interface with PWM 100%:
General-purpose output;
mega-fabs its function can be assigned
PWM 100% command D2 Series Drive by the user.
Host controller 12~24VDC CN6 Velocity / Torque mode Signal output CN6 24V
RDY
NPN type 2K O1+ 35
1 CWL 2K
O1- 34 Photo-
220 Coupler
4 CWL- ALM
PWM O2+ 37 wiring
2K
2 CCWL
2K
O2- 36
220 INP
6 CCWL- O3+ 39 R
DIR
O3- 38 Relay
Signal input wiring
0V
O4+ 11 R
CN6
4.7K O4- 10
24V 7 COM
ZSP 0V
33 I1
Encoder output ( :Twisted pair)
30 I2 CN6
A 21 A-phase
SVN 29 I3 /A 22 output
B 48 B-phase
GNS 27 I4 /B 49 output
General-purpose
input; its function Z 23 Z-phase
28 I5
can be assigned by /Z 24 output
the user. LL 26 I6
MOD 32 I7 Ic=0.6A(Max.)
Vce=40V(Max.)
CE 31 I8 Z output (open collector)
CZ 19
RL SG 25 0V
9 I9
0V
CN1 CN7
U
V
W
D2-ENE14A
Figure4.6.3.2.1
Wiring example for the host controller having the 5V TTL interface with PWM 50%:
General-purpose output;
mega-fabs its function can be
General output
PWM 50% command D2 Series Drive assigned by the
Definited byuser.
user
Controller 5VDC CN6 Velocity / Torque mode Signal output CN6 24V
RDY
5V TTL type O1+ 35
2K
3 CWL+ O1- 34 Photo-
PWM 220
4 CWL- ALM
Coupler
O2+ 37 wiring
2K
5 CCWL+ O2- 36
0V
220 INP
6 CCWL- O3+ 39 R
O3- 38 Relay
Signal input wiring
O4+ 11 R
CN6
4.7K O4- 10
24V 7 COM
ZSP 0V
33 I1
Encoder output ( :Twisted pair)
30 I2 CN6
A 21 A-phase
SVN 29 I3 /A 22 output
General-purpose
B 48 B-phase
General
input; input
its function GNS 27 I4 /B 49 output
Definited by user
can be assigned by
Z 23 Z-phase
the user. 28 I5
/Z 24 output
LL 26
29 I6
MOD 32 I7 Ic=0.6A(Max.)
Vce=40V(Max.)
CE 31 I8 Z output (open collector)
CZ 19
RL SG 25 0V
9 I9
0V
CN1 CN7
U
V
W
D2-ENE15B
Figure4.6.3.3.1
Wiring example for the host controller having the 5V TTL interface with PWM 100%:
O3- 38 Relay
Signal input wiring
0V
O4+ 11 R
CN6
4.7K O4- 10
24V 7 COM
ZSP 0V
33 I1
Encoder output ( :Twisted pair)
30 I2 CN6
A 21 A-phase
SVN 29 I3 /A 22 output
B 48 B-phase
General input GNS
General-purpose
Definited by user
27 I4 /B 49 output
input; its function Z 23
28 I5 Z-phase
can be assigned by /Z 24 output
the user. LL 26
29 I6
MOD 32 I7 Ic=0.6A(Max.)
Vce=40V(Max.)
CE 31 I8 Z output (open collector)
CZ 19
RL SG 25 0V
9 I9
0V
CN1 CN7
U
V
W
D2-ENE16B
Figure4.6.3.4.1
The human-machine interface (HMI) for D2-series drives is called Lightening. Through the connection
between PC and the drive by using the mini USB, it can perform functions of initialization, configuration,
operation, test runs, parameters saving, and so on. This section describes how to install Lightening and
communicate with the drive.
Files in the Lightening setup folder are shown in figure 5.1.1.1, included an auto execution file
“setup.exe”, a firmware folder “dce”, and so on.
Figure5.1.1.1
If using the installation CD, simply wait for the setup program to run automatically. If using setup files
downloaded from HIWIN website (after log in HIWIN website, the file path is “http://
www.hiwinmikro.tw/hiwintree/Product_SubType.aspx?type=D2”), unzip the downloaded file and execute
“setup.exe”. The default installation path is “C:\HIWIN\”. Do not try to change this path. The installation
window is given in figure 5.1.1.2. Click the “Start” button to run the automated installation procedure. After
this procedure is completed, the message window of figure 5.1.1.3 appears to show that the software
installation is ended successfully.
Figure5.1.1.2
Figure5.1.1.3
The execution shortcut of Lightening will appear on the PC desktop after the installation procedure is
completed, as shown in figure 5.1.1.4. The path for this shortcut is:
“C:\HIWIN\dce\toolswin\winkmi\lightening.exe”.
Figure5.1.1.4
There are three methods of communicating with the drive: (1) using USB communication, (2) using
mega-ulink communication, and (3) using CoE communication. This section will introduce the former two
methods. As for the last one, refer to the other HIWIN document: “HIWIN CoE Drive User Guide” (log in
HIWIN website and download it. If the mega-ulink or CoE communication is used to connect with the
drive, it is suggested to use network card with the network chip certified by Beckhoff.
Note:
(1) The firmware for previous CoE model (firmware number 0.037) cannot support later EtherCAT model. The
firmware must be updated.
(2) The firmware for previous mega-ulink model (firmware number 0.037) cannot support later EtherCAT model.
This can be solved by using PDL program, please contact HIWIN.
Figure5.1.2.1
The window for communication setup is shown in figure 5.1.2.2. D2 drive supports the USB
communication method. Here, the “BPS” field shows the transmission rate and its default value is
115,200 bps. This value should not be changed. The “Port” field shows the communication port. It will
display the existing PC ports. Select the port actually connected to the drive. Using default values in
remaining fields, Lightening can successfully communicate with the drive.
Figure5.1.2.2
Figure5.1.2.3
The “EtherCat set up” window will appear to display all network cards in the computer, as shown in
figure 5.1.2.4. Select the network card connected to the drive. After that, close the “EtherCat set up”
window and click the “Apply” button in the “lightening Communication Setup” window.
Figure5.1.2.4
After the setting is completed, the window of figure 5.1.2.5 will appear. The number of connected axes
can be obtained from the information in the window. After going back to Lightening main window, the
connection is established and “Ethercat” is shown in the title, as given in figure 5.1.2.6.
Connect to 1 slave
Figure5.1.2.5
Figure5.1.2.6
The HMI main window after connecting is given in figure 5.1.3.1. The axis name can be modified by
clicking the right mouse button at the axis name and choosing “Rename”. It also can be modified directly
by clicking the axis name.
Main toolbar
Drive connection
area Axis name
Connection status
display area
Figure5.1.3.1
Main toolbar
: Open the window of PDL program.
- : The light is green when the drive software is enabled. Only when both hardware
and software are enabled, the drive can enable the motor. Click the “Enable” button in the
performance center to enable the software; while click the “Disable” button to cancel the software
enable. If there is no connection between PC and the drive, the status of software enable is changed
with the status of hardware enable. If there is the connection between PC and the drive, when
Lightening HMI is closed, it will query whether the software is enabled or disabled after the window is
closed.
Drive property
Properties of used drive can be obtained by clicking the right mouse button at the axis name and
choosing “Properties”, as shown in figure 5.1.3.2.
Figure5.1.3.2
Note:
When Lightening 0.144 (inclusive) or older version is used to connect with D2 model, or Lightening 0.180 (inclusive)
or older version is used to connect with D2T model, the message for installation error will appear after connecting,
as shown in figure 5.1.3.3. Since these HMI versions do not contain the firmware version for these drives, Lightening
cannot identify them. Click the “Do nothing” button and download the latest version of Lightening from HIWIN
website.
When using a new drive or a new motor, relevant parameters should be set based on the actual
application via configuration center. The configuration center can be opened by clicking in the main
toolbar. The location of this button is shown in figure 5.2.1.
Figure5.2.1
Following setting steps must be done before using D2 drive to drive the motor successfully.
(1) Motor type: Set the used motor type and the corresponding parameters for the motor hardware.
(2) Encoder parameter: Set the used encoder type and its resolution.
(3) Operation mode: Set the operation mode at the drive.
The motor configuration is at the first page of configuration center. AC servo motors supported by D2
drive can be found under . For the motor with a serial encoder, it does not need to set motor
parameters, since they are already saved in the encoder. Hence, there is no option of . For
Lightening 0.177 (inclusive) or less, the motor configuration page is shown in figure 5.2.1.1; while for
Lightening 0.178 (inclusive) or above, it is given in figure 5.2.1.2.
Operation parameters
setting area
Motor parameter
setting area
ZeroTune parameters
setting area
Setting correct parameters for the motor operation can help to calculate suitable values for
driving parameters, such that the drive can successfully drive the motor.
The drive normally receives a feedback signal from the position encoder to execute the servo control. The
encoder configuration page is shown in figure 5.2.2.1. Select or set the correct type and parameters of
encoder on this page. To work with the host controller, D2 drive can output encoder signals besides
receiving encoder signals. It provides the buffered encoder output or emulated encoder output. When
using the emulated encoder output, the output resolution can be modified by setting “Scaling”.
Specifications of rotary digital encoder used in HIWIN AC servo motor is given in table 5.2.2.1.1. The 9-th
bit of motor model name being 5 uses the 13-bit digital incremental rotary encoder with the resolution of
10,000 counts/rev. The 9-th bit of motor model name being 6 uses the 17-bit serial incremental rotary
encoder with the resolution of 131,072 counts/rev. The 9-th bit of motor model name being 4 uses the
17-bit serial multi-turn absolute rotary encoder with the resolution of 131,072 counts/rev.
Table5.2.2.1.1
a When the option of “Dual loop” is not checked, the setting method for the serial encoder is
adopted. The drive will read encoder parameters automatically, and users do not set them by
manual. The option of “Use emulated encoder” only can be set in the “Encoder output” area.
Users can decide whether to use the function of “Emulated index output in every revolution” by
clicking this option. Details refer to Section 5.2.2.3.
b When the option of “Dual loop” is checked, users must key in the resolution of linear encode, as
shown in figure 5.2.2.1.3. If some encoders are powered on longer, the delay time should be set
in the “Power-on time” field based on their specification to avoid occurring encoder error during
the boot process. Moreover, there are two options of “Use buffered encoder” and “Use
emulated encoder”, that can be chosen in the “Encoder output” area. These two output modes
adopt the position signal of linear encoder. At this moment, the function of “ Emulated index
output in every revolution” is invalided, and the option is anti-gray and cannot be checked.
Figure 5.2.2.1.2 Encoder configuration page for dual-loop encoder (the “Dual loop” option is not checked)
Figure5.2.2.1.3 Encoder configuration page for dual-loop encoder (the “Dual loop” option is checked)
In the encoder configuration page, besides encoder parameters for HIWIN motor with common resolution
can be chosen, parameters for various encoder brands can also be typed in the customized setting area.
Opening “Rotary” and choosing “Customized Rotary Digital”, the resolution parameter could be entered
according to the encoder specification. In the “Encoder Resolutions” field, enter the total number of
position signal for the encoder output as the motor rotating one revolution, where the unit is counts/rev.
Based on the screw pitch and encoder resolution, the software automatically calculates the linear
resolution and gives it in the “Linear Resolution” field. The unit is um/counts. After this setting is
completed, the save function can be used to create encoder parameters. Users can load the created file
for encoder parameters (*.enc) at any time.
Encoder selection
area
Resolution setting area
Encoder save/load
D2 drive sends out the encoder signal with the AqB square wave via CN2. It can be connected to the host
controller if needed. Checking “Use buffered encoder” or “Use emulated encoder” in the “Encoder output”
area, as shown in figure 5.2.2.3.1, the value in the “Output Resolution” field will be updated according to
the selected output mode.
Note:
For AC servo motor with the 17-bit encoder, the Z-phase signal can be sent out to the host controller by using the
emulated encoder, as shown in figure 5.2.2.3.4.
Note:
The function of emulated encoder output will temporarily loss efficacy when parameters are saved to Flash.
a Emulated index radius: the output range of emulated Z-phase signal, as shown in figure
5.2.2.3.4.
b Emulated index jitter filter: reducing the bounce phenomenon of emulated Z-phase signal.
Figure5.2.2.3.4
When the home offset function is used for homing, the emulated Z-phase signal will move to the
home position after home offset, as shown in the following figure.
The configuration page for the operation mode is shown in figure 5.2.3.1. After parameters of the previous
two steps have been set, the last step is to set the operation mode for the drive.
Position mode
To work with the host controller only sending pulse commands, the position mode should be chosen
to receive the external pulse command for the motion. The closed-loop control is done by the drive.
D2 drive supports three formats of pulse command. Also, the electronic gear ratio is allowed to be
set for the high-speed application.
Note:
(1) Only at the status of servo ready, the drive accepts the pulse command sent by the host controller.
(2) For the framework of dual-loop control, only the position mode and stand-alone mode can be selected.
Figure5.2.3.2
Velocity mode
To work with the host controller sending analog commands or PWM commands, the drive can be set
to the velocity mode. Only the ratio (“Scaling”) between the external command and velocity has to be
set, where the unit is the corresponding relationship between 1V and mm/s or rpm, or between Full
PWM and the maximum speed. If “Scaling” is set to a negative value, the motor will move in the
reverse direction.
Output
Input
Dead band
Figure5.2.3.3
Force/Torque mode
To work with the host controller sending analog commands or PWM commands, the other operation
mode is the force/torque mode. Only the ratio (“Scaling”) between the external command and current
has to be set, where the unit is the corresponding relationship between 1V and Ampere, or between
Full PWM and the maximum current. If “Scaling” is set to a negative value, the motor will move in the
reverse direction.
Figure5.2.3.4
Stand-Alone mode
If only test drive alone or without any host controller (such as only the servo side and drive side), the
stand-alone mode can be selected. This mode let drive be responsible for all loop controls.
The configuration page for the Modbus communication is given in figure 5.2.4.1. Only the drive with the
Modbus module has this configuration page.
Figure5.2.4.1
(2) Mode
Set the mode of Modbus communication. The default mode is RTU (remote terminal unit).
(3) Format
Set the data format for the used communication mode. The format information includes the data
length, parity, and stop bits. The data length for the RTU mode is 7 bits; while that for the ASCII
mode is 8 bits. The stop bit for odd parity and even parity is 1 bit; while that for none parity is 2 bits.
After completing the motor, encoder, and operation mode configurations, click the “OK” button at the
bottom of window to show figure 5.2.5.1. This window gives parameters before setting and after setting
for the comparison. After confirming parameters, click the “Send to RAM” button to send parameters to
the drive. If the “Cancel” button is clicked, the window returns to the configuration center.
Note:
For a new drive without initialization, after entering the configuration center, the “OK” button at the bottom of window
is invalid and cannot be clicked. After parameter settings for the motor, encoder, and operation modes are
confirmed, the “OK” button becomes valid.
Parameters are
sent to the drive.
Cancel button
Figure5.2.5.1
If these parameters need to be kept, click (“Save to Flash”) on the HMI main window to save
parameters to Flash. Parameters in Flash will not disappear even if the drive is turned off. If it is needed to
save parameters to a file on the disc of PC, click (“Save Parameters from Amplifier RAM to File”) to
save parameters to a file. The filename extension of saved file is *.prm. If it is needed to load parameters
in the file to the drive, click (“Load parameters in the file to RAM”) to load parameters to the drive.
After loading parameters, remember to click to save parameters to Flash.
Click in the main toolbar on the HMI main window to open the auto phase center. The drive provides
following two methods for phase initialization.
(1) STABS
This phase initialization method is for the 17-bit serial encoder. Without any tuning, the phase
initialization can be done successfully, and the motor has no jitter phenomena in progress. This
method is for the 9-th bit of drive model name being 4 or 5, and the 9-th bit of motor model name
being 4 or 6. For example, the drive model name is D2T-0423-S-B4 and the motor model name is
FRLS4020606A.
(2) LSWIR
This method is for the less-wire incremental encoder, since it has a built-in hall sensor. Without any
tuning and additional wiring, the phase initialization can be done successfully, and the motor has no
jitter phenomenon in process. This method is for the 9-th bit of drive model name being 0, and the
9-th bit of motor model name being 5. For example, the drive model name is D2-0423-S-B4 and the
motor model name is FRLS4020506A.
5.3.2 Pre-operation
This section describes the procedure of auto phase initialization for LSWIR. As for STABS, it can use the
same procedure for LSWIR.
5.3.4 Troubleshooting
(1) Confirm that the motor power cable and encoder feedback cable have been correctly connected.
(2) Confirm that the parameter setting for the encoder or motor is correct, such as the encoder
resolution or the number of motor pole pair.
(3) Confirm that the grounding system is suitable.
(4) Confirm that the enable signal of host controller in the drive has been triggered.
(5) Confirm that the software enable signal in the drive has been triggered.
(6) Confirm that there is no mechanical interference.
(7) Confirm that the motor resistance is correct.
The auto tune center can automatically find the better drive gain to save the time and cost of tuning by the
engineer. When the auto gain tuning is performed, the motor will continue to vibrate at different
frequencies and will perform functions of gain tuning (control-loop gains) and filter design in progress. The
execution time approximates 25 seconds.
The auto tune center can be opened by clicking in the Lightening main toolbar. Its location is shown in
figure 5.4.1.1.
Figure5.4.1.1
Note:
The function of auto tune center only supports D2-serial drives (included D2T model). It is applicable to Lightening
0.184 and D2 MDP 0.037 (inclusive) or above, and D2COE MDP 0.113 (inclusive) or above. If the firmware version
is not in the above version, the option of in the Lightening main toolbar will be anti-gray and cannot be clicked. If
it is in the above version, since it is no longer to execute the auto phase center, the option of in the Lightening
main toolbar will be anti-gray and cannot be clicked.
The window of auto tune center is given in figure 5.4.1.2. The window title is the version of auto tune
center (Lightening 0.184 is 2.100). This window can be divided into two areas: enabling area and tuning
area.
Enabling area
Tuning area
Enabling area
Clicking the “Enable” button in the enabling area, the drive will enable the motor. Click or to
check the direction of motor movement, as shown in figure 5.4.1.3. If the motor is near the hard stop,
click or to drive the motor far away from it. This can avoid failing in the process of auto gain
tuning.
Enable/Disable
A. If the motor is not enabled, all buttons in the tuning area are anti-gray. If the motor is enabled,
the “Enable” button is changed to the “Disable” button, and all options in the tuning area are
valid.
B. There is one “TD” (toggle direction) button in the enabling area. The function of this button is to
change the direction of motor movement, such that it is the same as the user-defined direction.
If the direction is different, simply click the “TD” button to change the motor direction. After
clicking the “TD” button, the drive will disable the motor. Users need to enable the motor again
before continuing with the next step.
Tuning area
After setting “Auto tune mode” and “Stiffness” in the tuning area, click the “Execute” button, as shown
in figure 5.4.1.4. After that, the “Execute” button will be changed to the “Stop” button. To stop the
process of auto gain tuning, click the “Stop” button or close the window during the drive continuously
sends the firing signal. When the firing signal is sent completely, the process of auto gain tuning
cannot be stopped until the calculation of algorithm is completed.
Table5.4.1.1
B. Stiffness
Selectable stiffness is given in table 5.4.1.2. If the first tuning, the “Normal” stiffness is
recommended.
Stiffness
Table5.4.1.2
Stiffness Description
Stiffness is small. Suitable for the low rigidity, such as the belt and other
1. Soft
mechanisms.
Stiffness is normal. Suitable for the high rigidity, such as the ball screw
2. Normal
and other mechanisms. If the mechanical stiffness is not clear, select this
(default)
stiffness.
Stiffness is high. Suitable for Harmonic drive, gear box, and other
3. Rigid
mechanisms close to the rigid-body system.
Progress bar
After clicking the “Execute” button, the drive will drive the motor to vibrate at different frequencies
and the status light of “Auto tuned” will continue to flash. After the firing single is sent completely, the
drive will disable the motor and perform the gain tuning algorithm. When the light stops flashing and
the progress bar is full, it means that the process of auto gain tuning is finished (the execution time is
about 25 seconds). After that, if the light keeps green, it indicates that the auto gain tuning is
successful; while if the light keeps red, it indicates that the auto gain tuning is failed. The failed case
and troubleshooting refer to Section 5.4.3. If the auto gain tuning is failed, the gain tuning and filter
design will recover to the original setting.
5.4.2 Announcements
If the mechanical system meets following conditions, the auto gain tuning easily fails:
(1) The stroke is not sufficient (for example, the motor running range is less than one revolution).
(2) The weight or inertial of load changes too much during the tuning process.
(3) The mechanical system touches the hard stop at tuning.
(4) The dynamic friction of mechanical system is too large.
To avoid auto gain tuning failure, before performing it, be sure to confirm the following:
(1) Confirm that the motor power cable is connected well.
(2) Confirm that the encoder feedback cable is connected well.
(3) Confirm that the AC main power is turned on.
(4) Confirm that there is no warning or error in the drive (There is no warning or error in the
Lightening main window).
(5) Confirm that the mechanical system can let the motor run at least 1 revolution.
Notes:
(1) The auto gain tuning function can be applied to all operation modes. If the drive is set to the position
mode, velocity mode, or force/torque mode, the drive cannot accept any external pulse command or
analog voltage command.
(2) After the auto tune center is opened, it cannot be switched back to the Lightening main window until the
auto gain tuning process is completed.
(3) The auto gain tuning function will disable the ZeroTune function. If the ZeroTune function is set again,
gains obtained from the previous auto gain tuning will be disabled.
5.4.3 Troubleshooting
The following are causes and troubleshootings for auto gain tuning problems.
Table5.4.3.1
If the motor still vibrates abnormally after performing the auto gain tuning process many times, please
collect the following information and consult with the customer-service engineer to help troubleshooting
the problem.
(1) After performing the auto gain tuning process, go to “Message Windows” and click the left “S” button
to save the file of plant.txt.
(2) Perform “Frequency analyzer” and click the “Run” button in the “DCBL Plant” tab. Waiting for finish,
click the “Loop Constructor” button. After the “Loop Constructor” window appears, click “File” ->
“Save” -> “Save plant+gains to file...” to save the file of plant.lop.
Click in the main toolbar on the main window to open the I/O center. Click the drop-down button ( )
in the input function menu to select the digital input pin and its function, as shown in figure 5.5.1.1. D2
(D2T) model has 9 (10) digital inputs.
Table5.5.1.1
Hardware
No. Input function Description Trigger
Symbol
1 SVN Axis Enable Enable/Disable; the default used in I3. Level trigger
2 LL Left Limit Switch Left hardware limit; the default used in I6. Level trigger
3 RL Right Limit Switch Right hardware limit; the default used in I9. Level trigger
The homing completed command from the host
4 MAP Home OK, start err. map Edge trigger
controller.
5 RST Reset amplifier Reset the drive. Edge trigger
Note:
“V” means that the input function has this function in the corresponding mode, and can be set to I1 - I10 at will.
29 I3 Axis Enable Axis Enable Axis Enable Axis Enable Axis Enable No
Switch to Switch to Switch to
Switch to Left (-) Limit
27 I4 secondary secondary secondary No
secondary CG Switch
CG CG CG
Electronic
Near Home Right (+)
28 I5 Gear Select No
Sensor Limit Switch
(DIV1)
Left (-) Left (-) Left (-) Left (-) Near Home
26 I6 No
Limit Switch Limit Switch Limit Switch Limit Switch Sensor
Switch to Switch to Switch to Switch to
32 I7 secondary secondary secondary secondary No
mode mode mode mode
31 I8 Clear Error Clear Error Clear Error Clear Error No
8 I10* No
Note:
Only for D2T model.
Input function Abort Motion Operation mode Pos Vel Trq Std
Symbol EMG Default input I2 Circuit Refer to 4.5.1
Function description
In the stand-alone mode, the drive will decelerate the motor to stop by using the emergency-stop deceleration
(Dec. kill) when this input single is triggered by the button. The emergency-stop deceleration can be set in the
performance center.
Instructions
Select “Abort Motion” in the “Input” tab of I/O center (default is I2). Utilize the external trigger signal to stop the
motor by using the emergency-stop deceleration.
When the input state of “Abort Motion” is True (the state light is green), the drive will decelerate the motor to
stop by using the emergency-stop deceleration (Dec. kill).
Input function Invert V Command Operation mode Pos Vel Trq Std
Symbol INVC Default input None Circuit Refer to 4.5.1
Function description
Invert the voltage command sent by the host controller.
Instructions:
Assign “Invert V Command” to the input function in the velocity or force/torque mode. When the input state of
“Invert V Command” is False, the drive let the motor move in the forward direction at receiving the analog input
voltage between 0 to +10 V, and in the reversal direction at receiving the voltage between -10 to 0 V. On the
other hand, when the input state of “Invert V Command” is True, the drive let the motor move in the reversal
direction at receiving the voltage between 0 to +10 V, and in the reversal direction at receiving the voltage
between -10 to 0 V.
Input function Invert V Command Operation mode Pos Vel Trq Std
Symbol INVC Default input None Circuit Refer to 4.5.1
True
Invert V command
False
Forward Reversal Forward Reversal
Input function Switch to secondary mode Operation mode Pos Vel Trq Std
Symbol MOD Default input I7 Circuit Refer to 4.5.1
Function description
Switch the operation mode via the I/O signal from the host controller.
Instructions
Set the operation mode in the “Mode” tab of configuration center as shown in the following figure.
When the input state of “Switch to secondary mode” is False (the state light is off), the operation mode set in
“Primary Operation Mode” is used. When the input state is True (the state light is on), the operation mode set in
“Secondary Operation Mode” is used.
Input
Electronic Gear Select (DIV1, DIV2) Operation mode Pos Vel Trq Std
Function
Symbol DIV1, DIV2 Default Input I5 Circuit Refer to 4.5.1
Function description
Switch among four sets of electronic gear ratio.
Instructions:
Go to the “Mode” tab of configuration center, and select “Position Mode” in “Primary Operation Mode” or
“Secondary Operation mode” to set four sets of electronic gear ratio, as shown in the following figure.
Input function Inhibit Pulse Command Operation mode Pos Vel Trq Std
Symbol INH Default input I1 Circuit Refer to 4.5.1
Function description
Inhibit to receive the pulse command sent by the host controller via triggering this input signal.
Instructions
In the position mode, assign “Inhibit Pulse Command” to the input function. If this input single is True, the drive
stops receiving the pulse command from the host controller; while if it is False, the drive receives the pulse
command from the host controller to let the motor move.
Input function Start homing Operation mode Pos Vel Trq Std
Symbol HOM Default input I1 Circuit Refer to 4.5.1
Function description
Execute the homing procedure.
Instructions
When the state of “Start homing” is changed from False to True, the homing procedure will be executed based
on the homing method set in the application center.
Input function Switch HI/LO Pulse Input Operation mode Pos Vel Trq Std
Symbol PSEL Default input None Circuit Refer to 4.5.1
Function description
In the position mode, trigger this input signal through the host controller to switch between the high-speed and
low-speed pulse input channels.
Instructions
Select “Switch HI/LO Pulse Input” in the “Inputs” tab of I/O center (as shown in the following figure). I1 to I9 are
selectable. The following figure takes I8 as an example. Use an external trigger signal to switch between the
high-speed and low-speed pulse input channels.
The external signal is not triggered and The external signal is triggered and the
the high-speed pulse channel is used. low-speed pulse channel is used.
When the input state of “Switch HI/LO Pulse Input” is False (the state light is off), the high-speed pulse channel
is used. When the input state is True (the state light is green), the low-speed pulse channel is used.
Note:
When any input (I1 - I9) is configured as “Switch HI/LO Pulse Input”, the high-speed and low-speed pulse channels
(hardware interface) cannot be set as selecting the position mode in the “Mode” tab of configuration center.
Input function Switch to secondary vpg Operation mode Pos Vel Trq Std
Symbol JSEL Default input None Circuit Refer to 4.5.1
Function description:
Switch between velocity loop gains.
Instructions:
Different velocity loop gains can be set in the “Schedule Gains + vpg” tab of “Advanced gains” window, as
shown in the following figure.
When the input state of “Switch to secondary vpg” is True (the light is on), “Secondary vpg” is used. When it is
False (the light is off), “Primary vpg” is used.
Input function Zero Speed Clamp Operation mode Pos Vel Trq Std
Symbol ZSC Default input I1 Circuit Refer to 4.5.1
Function description
This input function is only applicable to the velocity mode and is level triggered. When the input state of “Zero
Speed Clamp” is True, if the motor speed corresponding to the analog input voltage command is equal to or less
than the brake start speed, the operation mode will be switched to the stand-alone mode automatically, and the
motor will be locked at the current position. Until the motor speed corresponding to the analog input voltage
command is larger than the brake start speed, the operation mode will be switched to the velocity mode
automatically to let the motor continue moving, as shown in the following figure.
Input function Zero Speed Clamp Operation mode Pos Vel Trq Std
Symbol ZSC Default input I1 Circuit Refer to 4.5.1
vel_stop
Forward direction
Reversal direction
Velocity mode Stand-Alone mode Velocity mode
Instructions
At the case of operation mode being set to the velocity mode, go to the I/O center and set “Zero Speed Clamp”
as the input function. The following figure takes I1 as an example.
After that, go to the protection center and set the brake start speed (vel_stop) to a suitable value (the default
value is 500 count/s), referring to the following figure.
The function of “Zero Speed Clamp” is activated when the input state of I1 is True.
Input function Clear Error Operation mode Pos Vel Trq Std
Symbol CE Default input I8 Circuit Refer to 4.5.1
Function description
Clear error message.
Instructions
The error message will be cleared when the input state of “Clear Error” is changed from False to True.
Input function Switch to secondary CG Operation mode Pos Vel Trq Std
Symbol GNS Default input None Circuit Refer to 4.5.1
Function description:
Switch between common gains.
Instructions:
“Secondary CG” can be set in the “Schedule Gains + vpg” tab of “Advanced gains” window, as shown in the
following figure.
When the input state of “Switch to secondary CG” is True (the light is on), “Secondary CG” is used. When it is
False (the light is off), “Primary CG” is used.
D2 model provides 5 sets of programmable digital output. Here, 4 sets (O1 - O4) are general- purpose
outputs located on the CN6 connector. The fifth set (CN2 BRK) is specially designed as the brake output
and can also be used as the general-purpose output. D2T model has more than one general-purpose
output (O5) located on the CN6 connector. In this section, take D2 model as an example to illustrate the
digital output function.
Output function
Configuration button
High
Note:
The internal logic of drive is not affected by this “Invert State” setting at all.
Table5.5.2.1
5 SVB Servo Voltage Big PWM command is greater than the set warning value.
6 PEW Position Error Warning Position error is greater than the set warning value.
7 VEW Velocity Error Warning Velocity error is greater than the set warning value.
Current has saturated. The specification of motor peak
8 CUL Current Limited
current is reached.
When the motor is moving, the protection setting for the
9 ACL Acceleration Limited
acceleration is reached.
When the motor is moving, the protection setting for the
10 VL Velocity Limited
velocity is reached.
11 BOHL Both HW limits are active Both left and right hardware limits are triggered.
34, 35 O1 Servo Ready Servo Ready Servo Ready Servo Ready Servo Ready No
Zero Speed Zero Speed Zero Speed Zero Speed Zero Speed
10, 11 O4 No
Detected Detected Detected Detected Detected
40, 12 O5* No
Note:
*Only for D2T model.
Note:
“V” means that the output function has this function in the corresponding mode.
Output function Zero Speed Detected Operation mode Pos Vel Trq Std
Symbol ZSPD Default output O4 Circuit Refer to 4.5.2
Function description
The drive outputs this signal when the motor speed is close to zero.
Instructions:
The so-called “speed closed to zero” means that the motor speed is less than the threshold set by the parameter
“vel_stop”. In addition, this feature has the hysteresis of 12 rpm to avoid the bounce of ZSPD output signal. The
parameter “vel_stop” refers to Section 8.3.
Low
High
Click the “Configure O2” button to appear the “Configuration of O2” window. Click the “Set all errors” button to
check all options in the “Errors” category, as shown in the red box of the following figure. The used output
displays “Errors”. However, if a part of errors is selected, but not all errors, the used output displays
“Customized”.
D2T model has two analog outputs, located on the CN6 connector, which can be used to monitor the
motor speed (pin 42) and motor torque (pin 43). The output voltage range is from -10 V to 10 V, and the
output resolution is 16 bits. The configuration page for analog output is shown in figure 5.5.3.1.
For D2 drive with the extension I/O module, parameters shown in table 5.5.4.1 can be used to set the
voltage level for each extension I/O pin.
Table5.5.4.2
Table5.5.4.3
Table5.5.4.4
Table5.5.4.5
Example:
When DI 9 of CN13 (pin 22) is at the high level, DO 2 of CN13 (pin 3 and pin 4) outputs a high-level
signal.
#task/1;
_External_IOtest:
till(External_Input_1 & 0x0100 ); // Wait for DI 9 of CN13 to be high level.
External_Output_1 = 0x0002; // DO 2 of CN13 outputs a high-level signal.
ret;
In the servo system, the target position and the encoder feedback position have a certain following error.
When the motor moves to the target position, there will be a small period of settling, called the settling
time. Then, the motor enters the target radius. D2 drive provides the functional interface of in-position to
observe whether the motor has reached the target position by setting “Target radius” and “Debounce
time”. This function is supported only when the drive is operated in the position mode or stand-alone
mode. The “In-Position” status can be sent to the host controller via the digital output signal.
Function setting
Click to appear the window of performance center. The “In-Position” configuration page is
displayed in the “Position” tab. Click the “Set scope…” button to open the “Scope” window if
capturing the waveform is needed. The default of “In-Position” signal is O2. Refer to Section 5.5.2 for
setting digital output.
Figure5.6.1
Table5.6.1
Parameter Description
Target radius for the position error. After the position error is into
Target radius “Target radius” and continues “Debounce time”, “In-Position” is valid.
The default value is 100 times the encoder resolution.
De-bounce time. After the position error is into “Target radius” for
Debounce time
“In-Position” and continues this time, the in-position is valid.
Move time Path planning time.
Settling time Settling time.
Total Total time (move time + settling time).
(1) After fixing “Target radius” and setting “Debounce time” to 0 ms, let the motor move a distance
and observe the “In-Position” signal on the oscilloscope, as shown in figure 5.6.2. When
“In-Position” is achieved, the signal is a high level; while when it is not achieved, the signal is a
low level. It can be observed from figure 5.6.2, when the motor moves to near the target
position, there are six protruding pulses (the latter two are closer). Observing the high-level
duration of each protruding pulse, the first one is about 1.5 ms, the second one is about 1.4 ms,
the third one is about 1.4 ms, the fourth one is about 1.3 ms, and the fifth one and the sixth one
are about 1 ms.
(2) Observing in figure 5.6.2, the widest protruding pulse is 1.5 ms. So, “Debounce time” can be set
to larger than this value. After considering the safety factor, set “Debounce time” to 3 ms. Let
the motor move a distance, the “In-Position” signal is shown in figure 5.6.3. The instability of
“In-Position” signal is improved.
Click to appear the window of application center, as shown in figure 5.6.2. The first tab is the homing
configuration page of “Homing”.
There are 5 basic parameters for the homing configuration, as shown in the following table.
Table5.7.1
Parameter Description
Slower Speed Slower homing speed.
Faster Speed Faster homing speed.
The homing-specific parameter, smooth factor, can be set in the
Smooth factor
range of 1 to 500.
Time out The maximum time of homing procedure.
Home offset Home offset.
The motor with the incremental encoder uses homing modes (1) and (2). The motor with the multi-turn
absolute encoder uses the homing mode (3). However, in the case of CoE model, it uses the homing
mode (4). This mode is only supported for the software version of Lightening 0.185 or above.
After setting homing mode, click the “Home” button at the bottom of performance center to start the
homing procedure. The “Homed” status light on the performance center will continue flashing green when
the homing is in progress. When the homing is completed, the “Homed” status light will be green ( )
to indicate that the homing is successful. However, when the set “Time out” is reached and the home
position is not found, the “Homed” status light will be red ( ) to indicate that the homing is failed.
Home offset
(1) Homing mode for incremental encoder
This method is only applicable to homing modes (1) and (2) described above. When “Home
Offset” is set to a nonzero value, the home position found in the original condition is offset by a
distance. This new position is taken as the coordinate origin, and the motor moves to this origin
position. For example, if the left and right conditions are not “None”, the drive will take the
position, which is the home position found in the original condition offset by a distance, as the
new home position, as shown in figure 5.6.3. If “Home Offset” is positive, the coordinated origin
is at the right side of home position found in the original condition; while if it is negative, the
coordinated origin is at the left side of home position found in the original condition.
Home offset
Home position
Left limit Home position found in Right limit
the original condition Motor
Figure5.7.2
Home offset
Home position
Left limit Motor Right limit
Figure5.7.3
Home offset
This function is a kind of multi-function homing mode built-in D2 drive. By searching the left and right
conditions, the home position can be determined. The main method is to find the midpoint of two
boundaries as the home position. The left and right conditions can choose the left and right limit switches.
They also can be end stops. The current generated when the motor touches the mechanical stop is used
to search the left and right conditions. If it is needed to search the single index of stroke for home position,
click the option of “Search index signal” to achieve this requirement.
Homing procedure
The motor moves at the slower homing speed based on the set initial movement direction
(parameter ○
1 ). Taking “Left” as an example, the motor first moves in the left direction to search the
left side condition, and then moves in the right direction to search the right side condition. Finally, the
motor stops at the middle of both sides, and takes this position as the home position. If the option of
“Search index signal” is checked, the found index in progress is taken as the home position.
Searching conditions for left side and right side are determined according to the setting (parameters
2 and ○
○ 3 ).
Parameter ①
Parameter ② Parameter ③
Parameter ④ Parameter ⑤
Figure5.7.1.1
Table5.7.1.1
Select one of following items for the left or right side condition.
(1) None: Non-search;
(2) End Stop: Search the end stop;
(3) Limit Switch: Search the limit switch.
Step 1: Open the “Scope” window, as shown in figure 5.7.4, to set to observe the physical quantity
of “Actual Current”.
Step 2: Use the “Slower Speed” setting to move in the entire stroke.
Step 3: Observe the change of “Actual Current”, and record the maximum value. As shown in
figure 5.7.4, the maximum value of “Actual Current” is about 0.2 A. Therefore, “Search end
stop current” could be set to be slightly more than 0.2 A. For example, it can be set to 0.23
A in this case.
To avoid the error of “Position error too big” occurring at searching the end stop, the slower speed
and time for searching the end stop should meet the following condition:
Figure5.7.1.2
Exceptions:
(1) Consider that “Left side condition” is set to “None” (i.e. not use the left side condition),
“Right side condition” is set to “End Stop” or “Right Limit Switch”, and the initial movement
direction (parameter ○
1 ) is set to “Left”, as shown in figure 5.7.1.1. When the homing is
performed, the homing procedure is judged to be a failure, and the status light of “Homed”
is red; and vice versa. (In this case, it is the unreasonable setting. Hence, the homing is
failed.)
Figure5.7.1.3
(2) If the option of “Search Index Signal” is checked and there are multiple indexes in the
stroke, the drive will take the index closest to “End Stop” or “Right Limit Switch” as the
home position.
Homing example
According to the setting of figure 5.7.1.2, when starting the homing procedure, the motor moves
at the slower homing speed in the negative direction to search the left limit switch. After it is
found, the motor searches the first index signal at the slower homing speed in the positive
direction. The action process is described in figure 5.7.1.3.
Figure5.7.1.4
Motor
Figure5.7.1.5
Another homing mode is to search “Near Home Sensor” or encoder index signal to determine the home
position. “Near Home Sensor” is set to a digital input in the I/O center and is triggered via an external
switch. After “Near Home Sensor” is found, the encoder index signal can be searched in the left or right
direction for the home position to get the better accuracy.
Homing procedure
Use the setting of initial movement direction (parameter ○
6 ) and initial movement speed (parameter
Parameter ⑥ Parameter ⑦
Parameter ⑧
Figure5.7.2.1
Table5.7.2.1
Searching Near Home Sensor then After the near home sensor is found, change to
⑧ home position change to lower speed, move search the encoder index signal at the lower
method left, search index homing speed in the left direction.
Near Home Sensor then After the near home sensor is found, change to
change to lower speed, move search the encoder index signal at a lower
right, search index homing speed in the right direction.
When “Near Home Sensor” is used for homing, the photoelectric switch or mechanical switch can be
connected to the digital input of drive. Taking I2 as an example, set I2 to be “Near Home Sensor” in
the I/O center, as shown in figure 5.7.1.5.
Figure5.7.2.2
Homing example
According to the setting of figure 5.7.2.1, when starting the homing procedure, the motor moves
at the faster homing speed in the negative direction to search “Near Home sensor”. After it is
found, the motor searches the first index signal at the slower homing speed in the negative
direction. The action process is described in figure 5.7.2.2.
Figure5.7.2.3
Motor
Figure5.7.2.4
Due to the characteristic of multi-turn absolute encoder, the drive can obtain the absolute position of
motor at any time. Therefore, this homing mode can know the home position without moving motor.
Homing procedure
Take the current motor position as the home position.
Figure5.7.3.1
For the CoE model, the software version of Lightening 0.185 or above supports this homing mode. The
configuration page is shown in figure 5.7.2.4, where the green line represents the faster homing speed,
and the orange line represents the slower homing speed. Homing methods in this mode are summarized
in table 5.7.4.1.
Figure5.7.4.1
Table5.7.4.1
37
Note:
Homing methods -4 and -5 do not support the function of “Set home offset as zero position”. That is, whether this
option is checked or unchecked, after the homing procedure is completed, the motor stops at the position of “home
offset” and set this position to zero.
Click (“Save parameters from amplifier RAM to Flash”) in the HMI main window to save the current
parameter in the memory. Parameters will not disappear even if the drive’s power is turned off. However,
following two items should be noted.
(1) The emulated encoder output is temporarily disabled during saving. Therefore, if the host controller
is connected to the emulated encoder output, the received position information may be lost. Please
pay attention to this.
(2) Compensation values of “Error map” will not be saved via this function. Perform the “Save”
procedure in the “Error map” window to save compensation values.
In the “Tools” menu of HMI main window, select “Set parameters to factory default” to restore drive’s
parameters to factory settings, as shown in figure 5.7.3.1. Then, the window of figure 5.7.4.1 (for versions
of Lightening 0.180 - 0.185A) appears to ask if users want to set the drive to factory default. If the error
stable is needed to be cleared at the same time, check the option of “Clear error table in flash then reset
drive”, and click the “Yes” button to automatically execute this function. When the option of “Clear error
table in flash then reset drive” is checked, the program will display the “Notice” window to inform users
that it will save default settings to the drive and then reset the drive before clearing “Error map”, as shown
in figure 5.8.2.1. If the “Yes (Y)” button is clicked, the program executes the chosen function in the window
of “Set parameters to factory default”. However, if the “No (N)” button is clicked, it will go back to the
window of “Set parameters to factory default” to let users reselect functions needed to execute. After
parameters are restored to factory settings, the drive will automatically execute the reset function.
Figure5.8.2.1
Figure5.8.2.2
Figure5.8.2.3
For the version of Lightening 0.186 (inclusive) or above, select “Set amplifier to factory default” in the
“Tools” menu of HMI main window. Then, the window of figure 5.8.2.2 appears to ask if users want to set
the amplifier to factory default. Lightening is not only to restore drive parameters to factory settings, but
also closes other windows exclusive of main window. If the error stable is needed to be cleared at the
same time, check the option of “Clear error table in flash and reset drive”. If the content of “user.pdl” is
needed to be cleared simultaneously, check the option of “Clear user PDL”. When the option of “Clear
user PDL” is checked, the program will display the “Notice” window to inform users that “user.pdl” will be
cleared, as shown in figure 5.8.2.4. If the “Yes (Y)” button is clicked, the program executes the chosen
function in the window of “Set amplifier to factory default”. However, if the “No (N)” button is clicked, it will
go back to the window of “Set amplifier to factory default” to let users reselect functions needed to
execute. After parameters are restored to factory settings, the drive will automatically execute the “Reset”
function.
Figure5.8.2.4
Figure5.8.2.5
In the position mode, the drive will move the corresponding distance when it receives the pulse command,
referring to Section 3.1.1.
The position mode configuration includes: the mode selection, pulse format selection, electronic gear ratio
setting, and smooth factor setting. After all parameters are set, refer to Section 5.8.1 to save parameters
to flash.
D2 drive can transfer the voltage command and PWM command to the velocity command, referring to
Section 3.1.2.
The velocity mode configuration includes: the mode selection and input command format setting. After all
parameters are set, refer to Section 5.8.1 to save parameters to flash.
D2 drive can transfer the voltage command and PWM command to the current command, referring to
Section 3.1.2.
The force/torque mode configuration includes: the mode selection and input command format setting.
After all parameters are set, refer to Section 5.8.1 to save parameters to flash.
In the stand-alone mode, the drive will execute the internal path planning to drive the motor, referring to
Section 3.1.4.
The stand-alone mode configuration includes the mode selection. After all parameters are set, refer to
Section 5.8.1 to save parameters to flash.
(b)
In Lightening HMI, the status display and “Quick view” are two auxiliary tools, which are indispensable in
the tuning process. They can help to know the drive status at any time and present many important
parameter values in the motion control.
There are 2 status display tools, as shown in figure 6.1.1.1. The left figure shows the “Status” area in the
HMI main screen; while the right figure shows the “Status” area in the performance center. The status
display provides the status and error/warning message for users to know the system status.
Status
(1) Hardware Enable Input: To indicate whether the hardware enable signal is activated.
(2) Software Enabled: To indicate whether the software enable is activated.
(3) Servo Ready: To indicate whether the motor is enabled.
(4) Phase Initialized: To indicate whether the motor completes the phase initialization.
(5) Moving: To indicate whether the motor is in motion.
(6) Homed: To indicate whether the motor completes the homing procedure.
(7) SM mode: The motor is enabled in the SM mode.
The “Quick view” area is at the bottom of HMI main screen, and is used to help users to know more about
the detail of drive’s current status. The interface provides 3 physical quantities to display. Users can select
the physical quantity to be observed. These 3 physical quantities will update their display values at any
time. This is convenient for users to observe and analyze the system status, as shown in figure 6.1.2.1.
Refer to Section 3.11 for selectable physical quantities.
There are two function shortcuts in HMI for D2 drive: F6 and F12. They are only available if Lightening
HMI is active for Windows operation system.
(1) F6: Move the Lightening main window to the top level.
(2) F12: This function is an emergency stop action. For example, clicking F12 during the movement will
perform the emergency stop action (refer to Section 3.4). The motor will be disabled after the stop.
Most of tuning procedures are centered around the performance center. After completing the setting in
Section 5.3 or Section 5.4, the motor is ready for test runs. The performance center is mainly used to
provide users with the motion testing and tuning, and with the help of auxiliary tools to observe the motion
performance. It provides three modes of motion: point-to-point (“P2P”) motion, relative motion, and
continuous motion (“Jog”). Parameters related to these motions, such as speed,
acceleration/deceleration, emergency stop deceleration, and smooth factor, are also set in this interface.
Table6.2.1
The performance center has the function of measuring the settling time. The target radius of position error
and debounce time for settling time can be set via “Target radius”, referring to Section 5.6. During motion,
the servo gain (“Primary CG”) can be tuned to meet the requirement of settling time. The higher the servo
gain is, the faster the response is and the shorter the settling time is. The required time from moving to
in-position can be observed via “Move time”, “Settling time”, and “Total time” (refer to Section 3.7). Click
“Set scope…” button to appear the graphical oscilloscope (“Scope”). This tool can be used to observe the
motion waveform related to the settling time.
The performance center has the function of measuring the velocity ripple. The performance of velocity
ripple can be observed via the point-to-point motion. Here, “V max”, “V min”, “V avg”, and “Velocity Ripple”
are the maximum speed, minimum speed, average speed, and velocity ripple at the constant speed
phase, respectively. Click the “Set scope…” button to appear the graphical oscilloscope (“Scope”). This
tool can be used to observe the motion waveform related to the velocity ripple.
○
1
○
2
In addition to the P2P function, the relative motion (“Relative move”) can be set to move a distance; while
the continuous motion (“Jog”) can continue moving in the positive or negative direction just by clicking the
button of or . The speed, acceleration/deceleration, and smooth factor in the “Motion Protection”
area are also used as the function of motion protection. Hence, if these values are forgot to set to the
value of motion protection after the test run is completed, the expected speed or acceleration may not be
reached at receiving the motion command sent from the host controller. Please pay special attention to
this.
○
15
○
8
○
3
○
4
○
5
○
6 ○
13
○
7
○
9
○
14
○
10
○
11
○
12
closer to the T-type curve is. Refer to Section 3.4 for more information.
(9) P2P: Execute the point-to-point motion.
(10) Relative move: Execute the relative motion.
(11) Jog: Execute the continuous movement. Set the current value for the continuous movement with the
constant current.
(12) Home: Execute the homing procedure.
(13) Common Gain: Servo gain. The greater the gain is, the greater the servo rigidity is. Users can user
this parameter to adjust the servo rigidity. But if the servo stiffness is too strong, it will lead to system
instability, and cause the vibration and electrical noise. At this time, this value should be reduced.
(14) Status Display: Display the status.
(15) enable sw limit: Start the software limit protection, which restricts the travel of motor.
6.3 Scope
D2 drive provides a “Scope” graphics oscilloscope to help users to observe all significant physical
quantities during the tuning process to judge the tuning result. In addition, this feature can be used to find
the error clue when the drive cannot be operated. Click or the “Set scope…” button in the
performance center to open “Scope”. Clicking the “Set scope…” button in the “Position” tab and “Velocity
Ripple” tab will display their respective physical quantities. As shown in figure 6.3.1, after selecting
parameters, the real-time waveform of selected physical quantity can be observed.
Note:
The data shown in “Scope” is not fully real-time physical quantities. To observe more fine physical changes, use
tools other than “Scope”, such as an oscilloscope or a data collection (refer to Section 6.4).
○
1 ○
2
○
3
○
4
Figure6.3.1 Scope
(1) Physical quantity: Select the physical quantity to be observed, referring to Section 3.11.
(2) Unit: Select the unit of physical quantity.
(3) Number of channel: Select the number of channels to be displayed simultaneously (1 - 8).
(4) Time range of “Scope”: Set the time length for one screen on the horizontal axis. Unit: seconds.
Table6.3.1
The switch of “Scope”. When the switch is turned off and then turned
Scope On/Off (PageDown)
on, the scope will re-capture the data.
Change the display waveform mode. There are the “Normal” and
View in paper mode (Ctrl+T)
“Paper” modes.
Display all selected physical quantities on a single screen. Each
Toggle scopes window (PageUp)
click to switch a physical quantity.
Fit graph to window Adjust all physical quantities to the appropriate scale.
Fit graph to window dynamically Adjust all physical quantities to the appropriate scale dynamically.
Fit graph to window dynamically Same as above, but the range of vertical axis will only increase
+ clip without reduction.
Show last data with plot view tool Use the “Plot view” tool to draw the data of “Scope”.
In addition to using “Scope” to observe physical quantities of each drive, there is a tool to provide more
setting options for data capture, and more advanced graphical display and processing functions. The
“Data collection” function allows users to set the sampling time, as well as conditional triggers to start and
stop the data capture.
By using the “Scope” function of “Open recode window” shown in figure 6.3.1, the program will
automatically set the selected physical quantity for the follow-up data capture. The main function is as
follows.
○
4 ○
1
○
5
○
2
○
3
(2) It is the internal variable name of the physical quantity of collected data.
(3) Manual collection button. Click the “Start” button to start the collection and click the “Stop” button to
stop the collection. Click the “Graph” button to draw the collected data via “Plot view”.
(4) Conditional auto collection. Set the start event and stop event for the data collection.
(5) The auto collection option is triggered instantaneously.
Note:
When “Upd vars” in ○
1 is unchecked, the Lightening HMI stops updating variables. This can improve the
bandwidth of data collection. However, if “Start event” is triggered by I3 (as in Example 3), the I/O pin of
hardware is triggered via the external signal.
In order to improve the accuracy of data collection, “Sync” (trigger the auto collection instantaneously) in
figure 6.4.1.1 ○
5 provides more flexible and more real-time data capture than the conditional auto
collection. The program fragment with the title labeled by “_RecordSync” should be added in the PDL
program. Set the start event of data collection. Once this event is triggered, “Data collection” starts to
collect the data. Operation steps are given as follows.
Step 1: An empty task is required to execute “_RecordSync”. Make sure that the task in PDL is less than
four, i.e, whether one of task 0 to task 3 is available.
Step 2: Add the following content in the PDL program:
_RecordSync:
till( ); // Add to wait for the trigger event or status.
rtrs_act=1; // Start to record.
ret; // If this line is not added, the data collection cannot be triggered repeatedly.
Step 3: Add the interrupted condition or status in the parentheses of “till()” on the “_RecordSync” function.
For example, it could be I4 (default for the right limit state) in the I/O center.
Step 4: Check “Sync” in figur e 6.4.1.1 ○
5 .
The “Plot view” function is built on the “Data collection” function. It draws the data collected by “Data
collection” into graphics. “Plot view” has a powerful analysis function to provide the measurement and
calculation. It is divided into five areas: function menu area, main toolbar area, physical quantity display
area, graphic display area, and timeline scroll bar area, as shown in figure 6.5.1.
Function
menu area
Main
toolbar area
Physical
quantity Graphic
display display
area area
Timeline
scroll bar
area
To observe the graph of two physical quantities, click and then select “Only graph 2” to change
the number of channels into two. To observe the graph of one physical value, click and then
select “Only graph 1” to change the number of channels into one. As shown in figure 6.5.1.1, it gives
an example that “Scope” or “Data collection” only collects two physical quantities.
Figure6.5.1.1
Figure6.5.1.2
Figure6.5.1.3
Figure6.5.1.4
adjust the vertical display range, as shown in figure 6.5.1.7. Finally, if the icon of is clicked, it will
return to the original graph of Y axis before the zoom-in, as shown in figure 6.5.1.5.
Figure6.5.1.5
Figure6.5.1.6
Parameters are
not automatically
adjusted to fit the
graph.
Figure6.5.1.7
In “Plot view”, the saved-file type can be divided into the text file (.txt), picture file (.bmp), and special “Plot
view” file (.gpp). The .txt file saves the value of each physical quantity within the collection time; the .bmp
file saves the graph of all physical quantities as a figure; while the .gpp file is the only file allowed to be
opened in “Plot view”. Therefore, if the file will be re-opened via “Plot view” in the future, remember to
save it as .gpp file. The related icon of saving as .txt file and .bmp file on the main toolbar area is
described as follows.
The .gpp file of “Plot view” is read or opened via the option of “Save” or “Open” in the function menu of
“File”, as shown in figure 6.5.2.1.
“Plot view” also provides some math formulas for the operation of physical quantities, such as the
integration, differentiation, addition, multiplication,…, etc. This allows users to calculate and observe the
calculated result directly in “Plot view”. In addition, it also provides the maximum, minimum, ripple
calculation, and spectrum analysis of each physical quantity.
- : The maximum, minimum, root mean square (rms), and ripple calculation of physical quantity.
Figure6.5.3.2
Figure6.5.3.3
Figure6.5.3.4
Figure6.5.3.5
Important tasks of servo drive include whether the time from the motor starting moving to arriving the
position, i.e. “Move & Settle” (see Section 3.7), is very small, and whether the position error is very small
and the velocity is very smooth during motion. These performance improvements can be achieved by
tuning gains and parameters. The simplest way of D2 drive to adjust the performance of motor motion is
to tune the common gain (“Primary CG”). The greater the common gain is, the stronger the servo rigidity
is. However, if the servo rigidity is too strong, the system vibration or electrical noise may be generated.
These phenomena are various with the mechanical status.
Advance
gains
Common
Gain
When using only common gain cannot fulfill the required performance, this system also provides
“Advanced gains”, included functions of “Filter”, “Acc feedforward”, “Schedule Gains + vpg”, “Analog
input”, “current loop”, and so on.
6.6.1 Filter
The filter is located in the servo control loop on the inside of drive. Its main purposes are to eliminate the
control problem caused by the high-frequency vibration of system, and to deal with the resonant
frequency of overall mechanical system. The performance of system control can be enhanced via the
filter. D2 drive provides two filters that can be used simultaneously and set in the form of low pass filter or
notch filter. To design a filter, the frequency analyzer is usually used to analyze the system characteristic.
By clicking the “Bode…” button given in figure 6.6.1.1, the simulation interface of “Bode plot” is appeared
for the filter design. Settings of two common used filters are described in the following.
Figure6.6.1.1 Filter
Notch Filter
When the system has an inappropriate resonance frequency (for example, between 10 and 250 Hz)
that cannot be eliminated by the mechanism correction or design enhancement, the notch filter can
be used to improve this problem. In general, the notch filter should be set according to the result of
frequency analysis. Refer to Section 6.6.3.
The setting of typical notch filter is given as follows:
(1) fr: The cutoff frequency of filter. The unit is Hz.
(2) xi: The damping ratio of filter. Its value ranges from 0 to 1. The closer to 0 this value is, the
narrower the filtering frequency band is; while the closer to 1 this value is, the wider the filtering
frequency band is.
(3) k1: 0.
(4) k2: 1.
The position error of servo control is usually large in the motion phase of acceleration or deceleration.
Especially for applications with a large moving mass or moment of inertial, this problem is more likely to
occur. By setting the parameter of acceleration feed-forward, the position error can be reduced effectively
in the acceleration/deceleration phase.
Step 4: Record the maximum of “Command Current” in the acceleration phase, as shown in figure
6.6.2.2. It can be observed from the figure that “Command Current” is 16 in the acceleration
phase. When the motor starts moving, “Scope” will be shown as figure 6.6.2.2. Use the button
of “Toggle scopes windows (Page UP)” to change to the graph with a single physical quantity.
Repeatedly clicking this button will switch to the graph of “Command Current”, “Reference
Acceleration”, or “Position Error” to facilitate the observation of graphic value.
“Command
Current” is 16.
Toggle
scopes
“Reference windows
Acceleration” is (Page UP)
950,000 count/s2.
“Position Error”
is 90 counts.
Step 5: Record the maximum of “Reference Acceleration” in the acceleration phase. In the example of
figure6.6.2.2, the maximum of “Reference Acceleration is 950,000 count/s2.
Step 6: Dividing the value obtained in Step 4 by the value obtained in Step 5, Acc feedforward gain =
Command Current/Reference Acceleration = 16/950,000 =1.68421*10-5.
Step 7: Enter the result obtained in Step 6 into the “Acc feed forward gain” field, as shown in figure
6.6.2.3.
Step 8: Observe whether “Position Error” is reduced. As shown in figure 6.6.2.4, the position error in the
acceleration phase is decreased from 90 counts in figure 6.6.2.2 to 65 counts.
“Position Error”
is 65 counts.
Schedule gains
A complete motion can be roughly divided into three phases (see Section 3.7):
(1) Move: From the start to the end of path planning.
(2) Settling: From the end of path planning to the in-position phase.
(3) In-position: Output an in-position signal.
The main purpose of “Schedule gain” is to adjust the output servo stiffness of each motion phase
(“Move”, “Settling”, “In-position”) by changing the servo gain. The gain of each phase is adjusted in
proportion. When it is set to 1, it means that the original servo gain is used. When it is less than 1, the
gain of this phase is lowered. The corresponding parameter of each phase is given as follows.
(1) Move: sg_run.
(2) Settling: sg_stop.
(3) In-position: sg_idle.
If “CG” = 0.5 and “sg_run” = 1.2, this means that the actual servo gain in the “Move” phase is
changed to 0.5 x 1.2 = 0.6.
The “Settling” and “In-position” phases use the same setting method to change the originally fixed
servo gain to the gain met the different requirement in each motion phase via “Schedule gains”.
Step 1: Click the “Freq analyzer” button to appear the window of figure 6.6.3.2.
Figure6.6.3.2
Step 3: Click the “Run” button to start the frequency analyzer. The motor will be in the
low-frequency vibration and then gradually issue a high-frequency sound. After it is
completed, a frequency response will be drawn on the window, as shown in figure 6.6.3.3.
Figure6.6.3.3
Step 4: Click the left mouse button on the frequency response diagram to appear the cursor line of
-20 dB. Press and hold the left mouse button to drag the cursor line to close to the line of
frequency response, as shown in figure 6.6.3.4. Dragging the line will re-calculate the gain
and display the vpg value at any time. The gain is increased when the cursor line is
dragged downward; while decreased when it is dragged upward.
Step 5: Click the “Send” button to send the velocity loop gain to the drive. If the setting needs to be
saved, do not forget to save it in the drive’s Flash.
vpg is got
via the
automatic
calculation.
Cursor
line
Frequency
response
line
Figure6.6.3.4
When the voltage mode is used, the voltage command sent by the host controller may contain the DC
bias due to various factors. This will lead to the command distortion and affect the performance. In this
case, this function can be used to compensate and correct the voltage. The compensation is very simple.
As long as clicking the “Set Offset” button in the following figure, the measurement and offset correction
will be executed automatically.
Gain values of current loop, “Ki” and “Kp”, are basically calculated according to motor parameters when
the motor model is selected in the configuration center. They are usually not required for further
adjustment. However, if the motor parameter is not set correctly, this function can be used to adjust.
The vibration suppression feature (VSF) is used to suppress the vibration generated by the motor during
the movement. Especially when the load of mechanism is the cantilever, the vibration is particularly
evident. Through the “VSF” tab in the “Advanced gains” window, the effect of vibration suppression can
be achieved by setting “Frequency” and “VSF factor”, and checking the “enable VSF” option. The setting
range of “Frequency” is 0.1 - 200 Hz, and the range of “VSF factor” is 0.7 - 1.5. Generally, the value of
“VSF factor” is recommended to be 1.0, same as the default value. Note that “enable VSF” cannot be
checked or unchecked while the motor is moving; otherwise the motor will generate an unexpected
vibration and error.
The following is the operation method for finding the vibration frequency and starting the vibration
suppression feature.
Step 1: Set the pre-planned acceleration, deceleration, speed, and travel. Then make the motor do the
back-and-forth motion.
Step 2: Open “Scope” to observe “Position Error” and “Reference Velocity”, as shown in figure6.6.6.2.
Step 3: Click (“Plot view”) at the right side of the “Scope” window to analyze captured graphs.
Figure6.6.6.2
Step 4: Enlarge the graph of “Position Error” at the end of motion command. Set the observed range in
the window, as shown in figure 6.6.6.3, and then click at the toolbar of window to enlarge
the set range. Refer to Section 6.5 for related operations.
Figure6.6.6.3
Step 5: Click at the toolbar of “Plot view” window to open the operation window for fast Fourier
transform (FFT). Execute FFT on pos_err, as shown in figure6.6.6.4.
Press this
button to start
to execute
FFT.
Figure6.6.6.4
Figure6.6.6.5
Step 7: Enlarge the low-frequency region to observe the maximum amplitude of vibration frequency, as
shown in figure 6.6.6.6.
Step 8: Enter the value of low-frequency vibration frequency (this example is 6.7 Hz) into the
“Frequency” field in the “VSF” tab of “Advanced gains” window.
Step 9: Check the “enable VSF” option to enable the vibration suppression feature, as shown in figure
6.6.6.7. Note that: Do not check or uncheck the “enable VSF” option during motor motion.
Step 10: After the vibration suppression feature is enabled, it is found from “Scope” that “Position Error”
has become smaller when the motor is stopped, as shown in figure 6.6.6.8.
Low-frequency
vibration
frequency.
Figure6.6.6.6
Figure6.6.6.7
Figure6.6.6.8
In the operation of drive element, there is always the mechanical friction to affect the efficiency and
function of movement. D2-series drives provide a friction compensation method to reduce the effect of
friction, as shown in figure 6.6.7.1.
Before using the friction compensation function, the Lightening HMI provides a convenient set of steps.
The friction compensation can be successfully added after completing each step.
Step 1: Click the “Set scope” button to show the “Scope” window.
Step 4: Set the desired speed and make the motor to do the back-and-forth motion. Observing “Position
Error” in “Scope” can determine whether the friction compensation is necessary to add or not. If
the motor has a large position error at the start, as shown in the left side of figure 6.6.7.2, the
friction compensation can be added to improve the position error.
Step 5: Observe “Command Current” at the constant speed, and calculate the average value. In the
example of figure 6.6.7.2, the average value of “Command Current” is 20.
Step 6: Enter the average value obtained from Step 5 into the “friction compensation” field.
Step 7: Observe whether “Position Error” is reduced at the start of motor movement. As shown in the
right side of figure 6.6.7.2, it can be found that the friction compensation does reduce the
position error.
Position
error
Constant
speed
Figure6.6.7.2
“Loop constructor” allows users to confirm the stability of control system. It has spectrum analysis tools,
such as Nyquist, Nichols, and Bode, and provides users for adjusting filters and gain values (vpg, vig,
ppg, and CG). This function can directly adjust parameters to observe the frequency response of control
system. To open the “Loop constructor” window, click the “Loop constructor” option in the “Tools” menu of
Lightening, as shown in figure 6.7.1. The “Loop constructor” window is given in figure 6.7.2.
Gain tuning
Spectrum analysis
Window adjustment
Gain tuning
Before using “Loop constructor” to analyze the control system, the control system and gains must be
loaded by selecting the “Load” option in the “File” menu of “Loop constructor” window. There are three
methods of loading file: (1) “Load plant + gains from file...”, (2) “Load plant from file…”, and (3) “Load
gains from file…”, as shown in figure 6.7.1.1.
(1) Load plant + gains from file…: Load the .lop file. This file contains the control system and gain
parameters.
(2) Load plant from file…: Load the .fgr file. This file contains the control system.
(3) Load gains from file…: Load the .gns file. This file contains the control gain.
After using “Loop constructor” to analyze the control system, if it is needed to save the control system and
gain parameters, select the “Save” option in the “File” menu of “Loop constructor” window. There are
three methods of saving file: (1) “Save plant + gains to file...”, (2) “Save plant to file…”, and (3) “Save
gains to file...”, as shown in figure 6.7.1.2.
(1) Save plant + gains to file…: Save as the .lop file. This file contains the control system and gain
parameters.
(2) Save plant to file…: Save as the .fgr file. This file contains the control system.
(3) Save gains to file…: Save the .gns file. This file contains the control gain.
6.7.2 Tool
Spectrum analysis tools of “Loop constructor” can analyze and simulate the Nyquist, Bode, and Nichols
diagrams of control system. By using this function, the frequency response of control system can be
obtained.
The frequency response can be expressed by the transfer function of dynamic system, which indicates
the relative relationship between the input signal and the output signal of dynamic system. The control
architecture of drive is shown in figure 6.7.2.1.1.
6.7.2.2 Nyquist
The “Nyquist” option of “Loop constructor” can analyze and simulate frequency responses of “Vel open
loop” (velocity open loop) and “Pos open loop” (position open loop) of control system. Using the check
method can select to analyze and simulate the Nyquist diagram of “Velocity open loop” or “Position open
loop”. It can also select two loops to analyze and simulate at the same time. The Nyquist plot of “Pos open
loop” is shown in figure 6.7.2.2.1. Clicking the curve on the Nyquist plot displays the value of frequency
response for the analysis of control system.
(1) Vel open loop: The frequency response of the velocity open loop of control system.
(2) Pos open loop: The frequency response of the position open loop of control system.
6.7.2.3 Bode
The “ph + gain” option of “Loop constructor” can analyze and simulate frequency responses of “Vel
controller”, “Vel open loop”, “Vel close loop”, “Pos controller”, “Pos open loop”, and “Pos close loop” of
control system. Using the check method can select to analyze and simulate the Bode diagram of velocity
loop or position loop. It can also select six loops to analyze and simulate at the same time. Bode plots of
“Vel close loop” and “Pos close loop” are shown in figure 6.7.2.3.1. Clicking the curve on the Bode plot
displays the value of frequency response for the analysis of control system.
(1) Vel controller (Velocity controller): The frequency response of velocity controller.
(2) Vel open loop (Velocity open loop): The frequency response of the velocity open loop of control
system.
(3) Vel close loop (Velocity close loop): The frequency response of the velocity close loop of control
system.
(4) Pos controller (Position controller): The frequency response of position controller.
(5) Pos open loop (Position open loop): The frequency response of the position open loop of control
system.
(6) Pos close loop (Position close loop): The frequency response of the position close loop of control
system.
Figure6.7.2.3.1 Bode plots of velocity close loop and position close loop
6.7.2.4 Nichols
The “Nichols” option of “Loop constructor” can analyze and simulate frequency responses of “Vel open
loop” and “Pos open loop” of control system. Using the check method can select to analyze and simulate
the Nichols diagram of “Vel open loop” or “Pos open loop”. It can also select two loops to analyze and
simulate at the same time. Nichols plots of “Vel open loop” and “Pos open loop” are shown in figure
6.7.2.4.1. Clicking the curve on the Nichols plot displays the value of frequency response for the analysis
of control system.
(1) Vel open loop (Velocity open loop): The frequency response of the velocity open loop of control
system
(2) Pos open loop (Position open loop): The frequency response of the position open loop of control
system
Figure6.7.2.4.1 Nichols plots of velocity open loop and position open loop
6.7.3 Filter
The control loop of drive provides two filters, which can be used at the same time. They are designed to
suppress the high-frequency noise, machine vibration, shortage structure rigidity, and so on.
The low pass filter in the control system is used to suppress the high-frequency noise or machine
vibration. The Bode plot of low pass filter is given in figure 6.7.3.1.1. Modifying the filter parameters (fr, xi)
will affect the frequency response of various control loop analysis. This is used to simulate the frequency
response of control system plus low pass filter to facilitate the actual adjustment.
(1) fr: The cutoff frequency of filter. The unit is Hz. For general applications, a good effect can be
achieved at the setting of 500 Hz. Other cases can be considered to decrease this value. However,
the control performance will be reduced if the cutoff frequency is too small.
(2) xi: The damping ratio of filter. Its value ranges from 0 to 1.
(3) k1: Low pass filter = 0.
(4) k2: Low pass filter = 0.
When the mechanism system has an inappropriate resonance frequency and the resonance
phenomenon cannot be eliminated by modifying the design of mechanism, this problem can be improved
by using a notch filter. The Bode plot of notch filter is given in figure 6.7.3.2.1. Modifying the filter
parameters (fr, xi) will affect the frequency response of various control loop analysis. This is used to
simulate the frequency response of control system plus notch filter to facilitate the actual adjustment.
“Loop constructor” provides gain values of velocity loop (vpg, vig) and position loop (ppg), and common
gains (CG). Refer to Section 6.6 for more information. These parameters can be used to tune gains to
simulate the stability of control system after gain tuning, as shown in figure 6.7.4.1.
“Loop constructor” provides the gain margin, phase margin, and bandwidth of velocity loop and position
loop. This function can be used to tune gains to simulate the stability of control system after gain tuning,
as shown in figure 6.7.5.1. Here, “P margin” is the phase margin, and “G margin” is the gain margin. Refer
to Section 3.6 for more information.
The encoder plays an important role in the servo motor control, which provides the information about
drive position or angle to achieve the servo loop control. For D2-series drives, the encoder output signal
can be ensured via HMI.
The motor accuracy is usually determined by the linear encoder used on the positioning platform. The
positioning accuracy is usually measured and corrected by using a laser interferometer, so that the
positioning error table can be obtained. D2 drive has an error map function. By inputting and saving the
error table to the drive via HMI, the drive can use this information to calculate the compensation value at
the fixed distance by using the linear interpolation manner to improve the positioning accuracy.
After measuring the positioning accuracy and obtaining the error table, set the compensation interval
(“Interval”) and total compensation points (“Total points”) first, and then input the error compensation
value into the table one by one.
Note:
(1) “Error map” takes the home position as the start position, and compensates the position in the positive
direction. Therefore, complete the homing procedure before enabling the error map function.
(2) When the host controller needs to receive the feedback pulse outputted from the drive, and also to enable the
error map function, set “Encoder output” in the “Encoder” tab to “Use emulated encoder”.
The following describes steps of enabling the error map function for D2 drive.
Step 1: Go to the application center and select the “Error Map” tab to open the window of error map
function, as shown in figure 6.9.1.1.
Error compensation
curve
Error compensation value
for each position
Step 2: Set the compensation interval (“Interval”) and total compensation points (“Total points”), and
then enter the error compensation value into the “Error” field. If a different custom unit is
needed, click the unit field to set different unit. Taking the example of figure 6.9.1.2, the
compensation range is from 0 to 1,000 mm, the compensation interval is 100 mm, and the total
compensation point is 11 points. The value in the “Error” field is obtained from the error
measurement of laser interferometer. For example, when the target position is 100 mm, the
laser measurement returns to 100.002 mm.
The displayed
reminder to
inform that the
modified
compensation
value has not
been saved to
the drive’s
Flash.
Note:
(1) When the error compensation value is entered into the table, the entered value is rounded to an integer
multiple of encoder resolution. For example, if the encoder resolution is 2 um and the entered compensation
value is 1 um, the program will forcibly convert it to 2 um. If the input is 0.5 um, it will be converted to 0 um.
(2) Because the displayed accuracy is only to the third decimal, select the appropriate unit for “Position” and
“Error”.
Current parameters except error map parameters are different from those
in the drive’s Flash. If click the “Continue” button to save error map
parameters to Flash, servo parameters will be lost due to the forced
“Reset” action of drive.
Figure6.9.1.3
Step 5: Click the “Cancel” button and go to the HMI main window to save servo parameters into Flash.
After servo parameters are saved, redo Step 4.
Step 6: When the “confirm” window appears, click the “Confirm” button to save error map parameters
into Flash. After error map parameters are saved, the drive will automatically execute the
“Reset” action.
Figure6.9.1.4
After setting the related parameter of error map described above, the drive has the ability of error
compensation. As soon as the motor completes the homing procedure, the drive starts the error map
immediately. There are two ways for D2 drive to complete the homing procedure. Just choose one of
them to use.
Figure6.9.2.1
Stand-Alone homing
Go to the performance center and click the “Home” button ( ) to execute the homing
procedure (see Section 6.2).
The established error compensation value can be directly saved into the disk, and can also be directly
read from the disk. As shown in the following figure, click “File” in the function menu to do it. As described
in Section 6.9.1, the “Send Table to Flash” option of “Files” in the function menu can save the error map
table in the drive’s Flash. Note that, the “Save to Flash” button ( ) in the main window cannot
automatically save the error map table in the drive’s Flash (see Section 5.8.1).
Figure6.9.3.1
If it is needed to change the start position of error map, select the “Advanced” option of “View” in the
function menu to appear the window of figure 6.9.4.1. Enter the required start position of compensation in
the “Start position” field. In addition, pressing the “Next” button on the right side of window, the motor will
move the distance of one “Interval” in the forward; while pressing the “Previous” button, the motor will
move the distance of one “Interval” in the reversal. The “Error” value in the “Status” area is updated to the
error compensation value corresponding to the current position. The red dot on the graph of “Error Map” is
the “Encoder” value, and the “Feedback position” value is equal to the “Encoder” value plus the “Error”
value.
Figure6.9.4.1
Note:
To compensate the errors in negative direction, input the stop point in Start position field and set the interval in
Interval field. For instance, input -1000 in Start position field, 100 in Interval field and 11 in Total points field. Then
the compensation positions will be -1000, -900, -800, …, -100, 0, starting from index 0.
Table6.9.4.1
Home Start
Mapping effective area
offset position
Mapping effective area
+ position
0 0
mm mm
index
Drive coordinate = 0
Table6.9.4.2
Home Start
Mapping effective area
offset position
Home offset
= 100 Mapping effective area
100 0 + position
mm mm
index
Drive coordinate = -100 Drive coordinate = 0
Table6.9.4.3
Home Start
Mapping effective area
offset position
Start position Mapping effective area
= 100
0 100
mm mm
index + position
Drive coordinate = 0
Start position
= -100
Mapping effective area
0 -100
+ position
mm mm
index
Drive coordinate = 0
Table6.9.4.4
Home Start
Mapping effective area
offset position
Start position
= 100
Mapping effective area
Home offset
= 50
50 100
mm mm
index + position
Drive coordinate = -50 Drive coordinate = 0
Home offset
= 100
Mapping effective area
Start position
= 50
100 50
mm mm
index + position
Drive coordinate = -100 Drive coordinate = 0
Home Start
Mapping effective area
offset position
Start position Home offset
= -100 = 50
50 -100
mm mm + position
index
Drive coordinate = -50 Drive coordinate = 0
100 -50
+ position
mm mm
index
Drive coordinate = -100 Drive coordinate = 0
-50 100
mm mm
Drive
coordinate index + position
=0 Drive coordinate = 50
-100 50
mm mm
Drive
coordinate index + position
=0 Drive coordinate = 100
Home Start
Mapping effective area
offset position
Start position
= -100
Home offset
= -50
Mapping effective area
-50 -100
mm mm + position
Drive index
coordinate Drive coordinate = 50
=0
Home offset
= -100
Start position
= -50
Mapping effective area
-100 -50
mm mm + position
Drive
coordinate index
=0 Drive coordinate = 100
Home offset
= Start position Mapping effective area
= 100
100 100
mm mm
index + position
Drive coordinate = -100 Drive coordinate = 0
Home offset
= Start position
= -100 Mapping effective area
Drive index
coordinate Drive coordinate = 100
=0
If the platform moves in a fixed direction and stops, it does not move immediately when it needs to move
in the opposite direction. The platform stays at the original position until the motion command is
accumulated to a certain amount to start moving. This is called the backlash error. Go to the “Backlash”
tab. The backlash compensation setting is given in figure 6.10.1. This setting can be used for backlash
compensation to improve the bi-direction reproducibility.
Display
Page number
Axis name
Name Function
Display Display change parameter values, statuses, parameters, actions, and so on.
LCD display is divided into four pages. The current page number is shown in the upper left
Page number
corner.
The axis name is displayed on the first page - home page, and can be modified on the HMI
Axis name main window. Refer to Section 5.1.3. Messages will also be displayed if there are errors or
warnings.
- Static cursor: Flashing underscore. The parameter can be edited.
- Dynamic cursor: Solid flashing box cursor. The parameter is editing or the continuous
Cursor
motion is in progress (jogging).
- No cursor: Parameters can only be displayed, but not edited.
Up key Select options, set parameter values, and do “Jog” action.
Down key Select options, set parameter values, and do “Jog” action.
Function key Switch among four modes, and switch between actions of edit mode at setting the
(F key) parameter value.
Enter the option of status display, save the setting parameter value, and confirm the action
Enter key
input.
There are four modes on the display panel: home page, display parameters page, change parameters
page, and actions page. Press the F key to switch to other mode. The overall structure of LCD is shown in
figure 7.1.2.1.
When taking an uninitialized new drive, follow steps below to select the motor model name, perform the
initialization procedure, and drive the motor via the LCD panel. The example of operation procedure is
that the motor model name is FRLS402XX5 and the operation mode is the stand-alone mode
(“STNDALON”).
(1) Press the Enter key to set motor model (“MOTRSE”), and then press the Up key or Down key to
select the motor model name connected to the drive. This example is “LS402XX5”. If the 9-th bit of
motor model name is 4 or 6, it uses the serial encoder and the motor model name is unnecessary to
be selected. Press the Enter key to confirm the motor model name.
(2) The LCD screen changes to the gain setting page of “ZeroTune” (“ZT”). Servo loop gains can be
easily set without complex procedures via “ZeroTune”. Only by selecting the load level of motor, the
well stable velocity response can be achieved. Even a beginner who has no knowledge about the
servo control can easily drive a motor. Press the Enter key to enter the “ZT” setting, and then press
the Up key or Down key to select the load level (“LV”). Figure 7.1.2.1 shows the reference weight
corresponded to the load level. After selecting the appropriate load level, press the Enter key to
confirm it.
(3) The LCD screen moves to the setting page of operation mode (“MODE”). Press the Enter key to
enter the “MODE” setting. Press the Up key or Down key to select “STNDALON”, and then press the
Enter key to confirm the change of operation mode.
(4) The LCD screen moves to the “SAVE TO FLASH” page (“SAVEFL”). Press the Enter key to enter the
setting page of saving parameters to Flash, and then press the Up key or Down key to select “NO”.
Press the Enter key to confirm that parameters do not be saved to Flash. Refer to Section 7.5.1 for
more information.
(5) The LCD screen moves to the home page. At this time, “SVNRDY” is displayed to indicate that the
motor is not enabled yet. Now, the setting of motor parameter initialization is completed.
4 MOTRSE 4 MOTRSE
LS05XX5 LS05XX5
3 ZT 4 MOTRSE
LV5 100 LS402X5
3 ZT
LV5 100
3 MODE 3 ZT
STNDALON LV5 100
1 SVNRDY
X
When the drive is power-on, the display will show the status of servo ready first. The symbol of this status
is given in table 7.3.1.
When D2 drive detects the occurrence of error or warning, the error or warning message will be displayed
on the second line, as shown in figure 7.3.1. Displayed symbols of error and warning are described in
table 7.3.1 and table 7.3.2, respectively. There are two designs for LCD display. Before firmware versions
of D2 MDP 0.037 (inclusive) and D2COE MDP 0.113 (inclusive), the LCD display adopts the abbreviated
design for LCD displayed symbols. On the other hand, after firmware versions of D2 MDP 0.038
(inclusive) and D2COE MDP 0.114 (inclusive), the LCD display adopts the numbered design for LCD
displayed symbols.
(a) LCD abbreviated display symbol (b) LCD numbered display symbol
Figure7.3.1 Error and warning display
Note:
(1) Before D2 MDP 0.037 (inclusive) and D2COE MDP 0.113 (inclusive), the abbreviated design is adopted for
LCD displayed symbols. After D2 MDP 0.038 (inclusive) and D2COE MDP 0.114 (inclusive), the numbered
design is adopted for LCD displayed symbols.
(2) ERR E18, ERR E25, and ERR E26 are only for the frame D model.
Note:
Before D2 MDP 0.037 (inclusive) and D2COE MDP 0.113 (inclusive), the abbreviated design is adopted for LCD
displayed symbols. After D2 MDP 0.038 (inclusive) and D2COE MDP 0.114 (inclusive), the numbered design is
adopted for LCD displayed symbols.
In the display parameters page, press the Up key or Down key to change the displayed parameter. The
operation flow chart is shown in figure 7.4.1, and the definition of the displayed symbol for each parameter
is given in table 7.4.1. In the LCD display, the first line is the parameter name, and the second line is its
value or status.
2 01FBPO 2:01FBPO
-369 -369
2 02RFPO 2:02RFPO
-369 -369
2 04POSE 2:04POSE
10 10
(a) LCD abbreviated display symbol (b) LCD numbered display symbol
Figure7.4.1 Operation flow chart for display parameters page
Note:
(1) Only for the drive supporting the single-turn absolute encoder.
(2) Only for the drive supporting the dual-loop encoder.
(3) Only for D2T model.
(4) Only for the drive supporting the 13-bit encoder.
The status display for parameters O1 - O5 is shown in figure 7.4.2 and the symbol of status display is
described in table 7.4.2.
Output Status
2 81 O1 2 81 O1
TRU-HIGH FLS-LOW
The third page of LCD is the change parameters page, which is used to change the set parameter. The
operation can be divided into two zones: common parameter zone and advanced parameter zone. The
former is given in table 7.5.1 and the latter is given in table 7.5.3.1. In the change parameters page, press
the Up key or Down key to change the edited parameter. The operation flow chart is described in figure
7.5.1. The detailed operation procedure is described in the next subsection (take the LCD abbreviated
display symbol as an example).
Static
cursor 3 SAVEFL Save parameters 3:SAVEFL
NO in the drive’s RAM NO
to flash.
• •
• •
•
•
3 340 ZeroTune 3:No.340
0 load level. 0
Press to enter
parameter
Advanced
3 +++ 3: +++
parameter
Advanced
0 the advanced 0
parameter zone.
zone
zone
Note:
Static cursor (flashing underscore). The parameter can be edited.
(a) LCD abbreviated display symbol (b) LCD numbered display symbol
Table7.5.1 Common parameter table (set parameter based on the actual application)
Note:
For the parameter name of LCD No. and its input range, refer to table 7.5.3.1.
Use following steps to save parameters in the drive’s RAM to Flash (“SAVEFL”).
Step 1: Press the Enter key to enter the “SAVEFL” option (the dynamic cursor appears on the left side
of the second line).
Step 2: Press the Up key or Down key to select whether to save parameters in the drive’s RAM to Flash
(“YES”/“NO”). Select “YES” to continue.
Step 3: When the servo is disabled, the “PROCESS.” message will be displayed on the screen after
pressing the Enter key. This indicates that parameters are being saved to Flash. The “FINISH!”
message will be displayed after the “Save” procedure is completed. The operation flow chart is
given in figure 7.5.1.1. When the servo is enabled, pressing the Enter key will also do the same
steps described in figure 7.5.1.1, but the motor will be disabled.
3 SAVEFL 3 SAVEFL
NO NO
Dynamic
cursor 3 SAVEFL
YES
3 SAVEFL
PROCESS.
Wait 2 seconds.
Pressing any key will not
have any reaction during 3 SAVEFL
the display of “FINISH!” FINISH !
message.
Wait 2 seconds.
LCD parameters are classified into two types: enumerated type and non-enumerated type. The parameter
marked with “#” in table 7.5.3.1 is the enumerated-type parameter. For this type parameter, after pressing
the Enter key, it changes to the edit mode. Press the UP key or Down key to select the desired parameter.
The non-enumerated-type parameter requires users to enter the parameter value by themselves. In the
edit mode of this type parameter, the UP key or Down key are used to move cursor or to change
parameter value. To switch these functions, press the F key. Here, changing the value of common gain
(CG, LCD No. 064) is taken as an operation example. For changing other parameter, refer to this
operation. Assume that the CG value needs to be changed from 0.5 to 1.2. After entering the page of LCD
No. 065, use following steps to change the parameter value. The operation flow chat is given in figure
7.5.2.1.
Step 1: Press the Enter key to enter the edit mode of LCD No. 065 (the dynamic cursor appears on the
left side of the second line).
Step 2: Press the Down key once to move the flashing cursor to the “0” position.
Step 3: Press the F key once (the function of Up key and Down key is switched to change parameter
value).
Step 4: Press the Up key twice and stop when the number turns to “1”. Refer to figure 7.5.2.2 for the
number switching sequence.
Step 5: Press the F key once (the function of Up key and Down key is switched to move cursor).
Step 6: Press the Down key twice to move the flashing cursor to the “5” position.
Step 7: Press the F key once (the function of Up key and Down key is switched to change parameter
value.)
Step 8: Press the Down key fourth times and stop when the number turns to “2”.
Step 9: Press the Enter key to change CG to 1.2.
Note:
When using the LCD parameter edit mode, the notice of using F key is given as below:
(1) Pressing the F key for less than one second switches the operation of Up key and Down key between moving
cursor and changing parameter value.
(2) Pressing and holding the F key for more than two seconds, the screen will return to LEVEL ONE and any
change will be discarded.
3 065
0.5
3 065
1.5
3 065
1.5
0
1
(Space)
e 2
-
3
. 4
9 5
6
8
7
Step 1: Press the Down key to the “+++” page first, and then press the Enter key (the static cursor
appears in the left side of the second line) to enter the advanced parameter zone. Advanced
parameters are listed in table 7.5.3.1.
Step 2: After entering the advanced parameter zone, the operation is the same as that described in
Section 7.5.2.
Step 3: After the parameter is edited, press the Enter key to complete the editing, return to the edited
parameter, and display the edited parameter. To leave the advanced parameter zone, press
and hold the F key for more than 2 seconds, as shown in figure 7.5.3.1.
Press once to
shift the cursor
to the right one
place.
081
1
Press the F
key to enter
the parameter
edit mode.
081
1
Table7.5.3.1 Advanced parameter table (set parameter based on the actual application)
LCD
Parameter Definition Unit Default Max. Min.
No.
Maximum acceleration of motor during
Refer to
motion
000 X_acc rev/s2 Section 231 - 1 1
(recommended value: ten times of motor’s
8.1
maximum velocity)
Maximum deceleration of motor during
Refer to
motion
001 X_dcc rev/s2 Section 231 - 1 1
(recommended value: ten times of motor’s
8.1
maximum velocity)
Deceleration of motor output during
Refer to
emergency stop
002 X_dcc_kill rev/s2 Section 231 - 1 1
(recommended: ten times of motor’s
8.1
maximum deceleration)
Maximum velocity of motor during motion Refer to
003 X_vel_max (recommended value: do not exceed the rpm motor 231 - 1 1
rated motor speed) catalog
Position 1 for the point-to-point (P2P)
007 X_p2p_pos1 count 0 231 - 1 -(231 - 1)
motion
Position 2 for the point-to-point (P2P)
008 X_p2p_pos2 count 0.05 rev 231 - 1 -(231 - 1)
motion
024 X_f1_fr Cutoff frequency of closed-loop filter 1 Hz 800 5,000 0
028 X_f2_fr Cutoff frequency of closed-loop filter 2 Hz 0 5,000 0
Refer to
032 X_Upi_kp Proportional gain of current loop (D axis) - Section 100,000 1
6.6.5
Refer to
033 X_Upi_ki Integral gain of current loop (D axis) - Section 100,000 0
6.6.5
0.05
039 X_index_vel Slower homing velocity (“Slower speed”) count/s 231 - 1 1
rev/s
Maximum search time of homing
040 X_index_tout 66.67 μs 25 sec 231 - 1 1
procedure
1 pole
050 X_max_err Maximum position error count 231 - 1 1
pair pitch
Velocity proportional gain of close-loop
059 X_vpg - 0.001 1 10-6
control
Acceleration feed-forward gain of
064 X_affg - 0 1 0
close-loop control
065 X_CG servo gain - 0.3 10 0.01
066 X_sg_run Schedule gain for the motion phase - 1 10 0.01
067 X_sg_idle Schedule gain for the in-position phase - 1 10 0.01
074 X_tr_time De-bounce time of in-position signal 66.67 μs 100 ms 231 - 1 0
075 X_tr Target radius of in-position signal count 100 231 - 1 0
079 X_gearRatyio Gear ratio of AC servo motor - 1 100 1
080 Vcmd_offs Analog input bias correction Volt 0 10 -10
081 X_cmd_ext_N Numerator of electronic gear ratio (output) - 1 231 - 1 1
Denominator of electronic gear ratio
082 X_cmd_ext_M - 1 231 - 1 1
(input)
LCD
Parameter Definition Unit Default Max. Min.
No.
Velocity command scale; the speed
rpm/V or
X_cmd_ext_v_s corresponds to 1 V, or the maximum
083 rpm/Full 60 3.4X1038 -3.4X1038
c speed corresponds to “Full PWM”
PWM
(recommended value: rated speed/10)
Dead band of velocity command. The
X_cmd_ext_v_d
084 speed command is 0 when the input Volt 0 10 0
z
voltage is less than the set value
Current command scale; the output Motor
Aamp/V or
X_cmd_ext_i_s current corresponds to 1 V, or the peak
085 Aamp/ Full 3.4X1038 -3.4X1038
c maximum current corresponds to “Full current/1
PWM
PWM” 0
Dead band of current command. The
X_cmd_ext_i_d
086 current command is 0 when the input Volt 0 10 0
z
voltage is less than the set value
X_pos_err_war 0.5 pole
088 Warning threshold for the position error count 231 - 1 1
n_win pair pitch
X_vel_err_warn
089 Warning threshold for the velocity error count/s 108 3.4X1038 1
_win
0.05
092 X_ vel_stop Brake start speed count/s 3.4X1038 1
rev/s
X_delMaxEnTo
093 Delay time for starting brake 66.67 μs 500 ms 231 - 1 1
Brk
094 X_delBrkToDis Brake action time 66.67 μs 50 ms 231 - 1 1
095 X_index_offs Home offset count 0 231 - 1 0
115 X_new_sm_fac Smooth factor - 100 500 0
Pulse format 1: for 17
0: Quadrature (AqB) bit
129# X_pulse_mode - 2 0
1: Pulse/Direction 0: for 13
2: Pulse up/Pulse down (CW/CCW) bit
Invert pulse command
130# X_pulse_dir 0: Not inverse - 0 1 0
1: Inverse
Trigger method of pulse command
131# X_fall_rise 0: Falling edge - 0 1 0
1: Rising edge
Input command format for the velocity and
torque modes
X_cmd_pwm_m
132# 0: Analog - 0 2 0
ode
1: PWM 50%
2: PWM 100%
133 out_config[0] - 0 215 - 1 0
134 out_config[1] - 0 215 - 1 0
CN2 BRK output signal setting
135 out_config[2] - 0 215 - 1 0
136 out_config[3] - 0 215 - 1 0
137 out_config[4] - 0 215 - 1 0
138 out_config[5] - 2,048 215 - 1 0
O1 output signal setting
139 out_config[6] - 0 215 - 1 0
140 out_config[7] - 0 215 - 1 0
141 out_config[8] - 57,538 215 - 1 0
O2 output signal setting
142 out_config[9] - 32,828 215 - 1 0
LCD
Parameter Definition Unit Default Max. Min.
No.
143 out_config[10] - 34 215 - 1 0
144 out_config[11] - 1,683 215 - 1 0
145 out_config[12] - 8 215 - 1 0
146 out_config[13] - 0 215 - 1 0
O3 output signal setting
147 out_config[14] - 0 215 - 1 0
148 out_config[15] - 0 215 - 1 0
Enable/Disable the software limit
X_sw_pos_prot
155# 0: Disable the software limit - 0 1 0
_en
1: Enable the software limit
Enable/Disable the hardware limit
X_hw_lim_prot_
156# 0: Disable the hardware limit - 1 1 0
en
1: Enable the hardware limit
157 X_emu_N Numerator of emulated encoder output - 1 231 - 1 1
158 X_emu_M Denominator of emulated encoder output - 1 231 - 1 1
875: for
X_emu_i_radiu 17 bit;
164 Index radius of emulated encoder count 231 - 1 1
s 10: for 13
bit
165 X_emu_i_jitter Filter factor of emulated encoder count 1 231 - 1 0
172 X_vsf.fr VSF frequency Hz 0 200 0
173 X_vsf.xi VSF damping factor - 1 1.5 0.001
Enable/disable VSF
174# X_vsf_en 0: Disable VSF - 0 1 0
1: Enable VSF
Numerator of electronic gear ratio
175 X_cmd_ext_N2 - 1 231 - 1 1
(second output)
Numerator of electronic gear ratio
176 X_cmd_ext_N3 - 1 231 - 1 1
(third output)
Numerator of electronic gear ratio
177 X_cmd_ext_N4 - 1 231 - 1 1
(fourth output)
179 X_home_vel Faster homing velocity (“Faster speed”) count/s 0.1 rev/s 231 - 1 1
Homing mode
180# X_home_option 0: Go left and right for homing - 1 1 0
1: Use near home sensor/index for homing
Start direction for homing
181# X_home_DIR 0: To left side - 0 1 0
1: To right side
Searching index setting for the first homing
mode
X_home_opt0_i
182# 0: Home position at the middle of total - 0 1 0
ndex
travel
1: Home position at the index
Left side condition for homing
X_home_left_S 0: None
183# - 0 2 0
W 1: End stop
2: Limit switch
Right side condition for homing
X_home_right_ 0: None
184# - 0 2 0
SW 1: End stop
2: Limit switch
LCD
Parameter Definition Unit Default Max. Min.
No.
(Aamp×
Current threshold for searching end stop
X_home_wall_ 1000)/(cur
185 (Note: “curr_drv_peak” is the drive’s peak 0 231 - 1 1
CurrThrshld r_drv_pea
current)
k)
X_home_wall_
186 Time limitation for searching end stop msec 0 231 - 1 1
CurrTime
Initial speed setting for the second homing
X_home_select mode
187# - 0 1 0
_Speed 0: Slower speed
1: Faster speed
Searching home method for the second
homing option
0: Index signal only
X_home_searc 1: Near Home Sensor only
188# - 0 3 0
h_option 2: Near Home Sensor then change to
lower speed, move left, search index
3: Near Home Sensor then change to
lower speed, move right, search index
189 X_backlash Backlash count 0 231 - 1 0
205 out_config[16] - 0 215 - 1 0
206 out_config[17] - 0 215 - 1 0
O4 output signal setting
207 out_config[18] - 512 215 - 1 0
208 out_config[19] - 0 215 - 1 0
Dynamic brake (only for D frame model)
X_Use_Dynami
209 0: Not use dynamic brake - 0 1 0
cBrk
1: Use dynamic brake
Primary operation mode
0: Stand-Alone
212# X_oper_mode1 1: Position mode - 0 3 0
2: Velocity mode
3: Force/Torque mode
Secondary operation mode
0: Stand-Alone
213# X_oper_mode2 1: Position mode - 0 3 0
2: Velocity mode
3: Force/Torque mode
214 X_second_cg Secondary CG - 0.3 10 0.01
215 X_second_vpg Secondary VPG - X_vpg 1 10-6
Switch between the high-speed and
LCD.low_or_hig low-speed pulse inputs
216# - 0 1 0
h 0: High-speed pulse input
1: Low-speed pulse input
Invert setting of buffered encoder output
217# LCD.buff_inv 0: Not inverse - 0 1 0
1: Inverse
Switch between the buffered and emulated 1: for 17
LCD.emu_or_b encoder outputs bit
218# - 1 0
uff 0: Buffered encoder output 0: for 13
1: Emulated encoder output bit
LCD
Parameter Definition Unit Default Max. Min.
No.
Switch between the positive and negative
logics for CW/CCW pulse command
LCD.cw_ccw_in
219# (CW_CCW_INV) - 0 1 0
v
0: Not inverse
1: Inverse
241# LCD.I1_inv Invert of input 1 - 0 1 0
242# LCD.I2_inv Invert of input 2 - 0 1 0
243# LCD.I3_inv Invert of input 3 - 0 1 0
244# LCD.I4_inv Invert of input 4 - 0 1 0
245# LCD.I5_inv Invert of input 5 - 0 1 0
246# LCD.I6_inv Invert of input 6 - 0 1 0
247# LCD.I7_inv Invert of input 7 - 0 1 0
248# LCD.I8_inv Invert of input 8 - 0 1 0
249# LCD.I9_inv Invert of input 9 - 0 1 0
250# LCD.I10_inv Invert of input 10* - 0 1 0
280# LCD.brk_inv Invert of CN2 BRK output - 1 1 0
281# LCD.O1_inv Invert of output 1 - 0 1 0
282# LCD.O2_inv Invert of output 2 - 0 1 0
283# LCD.O3_inv Invert of output 3 - 0 1 0
284# LCD.O4_inv Invert of output 4 - 0 1 0
285# LCD.O5_inv Invert of output 5* - 0 1 0
ZeroTune load level
0: Tuned (gains are modified by Auto tune
340# X_ZT_loadLV - 3 5 0
or manually)
1 - 5: LV1 - LV5
341 out_config [20] - 0 215 - 1 0
342 out_config [21] - 0 215 - 1 0
O5 output signal setting*
343 out_config [22] - 0 215 - 1 0
344 out_config [23] - 0 215 - 1 0
Enable/Disable the dual-loop control
345# X_Use2ndEnc 0: Disable the dual-loop control - 0 1 0
1: Enable the dual-loop control
Linear encoder resolution of dual-loop
346 X_cntperunit2 count 0 231 - 1 0
control
Linear encoder direction of dual-loop
control
347# X_2ndEnc_sgn - -1 1 -1
-1: Inverse
1: Not inverse
X_hybdev_thre Maximum tolerance of deviation input for
348 count 16,000 227 1
shold the hybrid control
Switch between the enable and disable the
X_VOF.FB_Swi velocity observer
349# - 1 1 0
tch 0: Disable the velocity observer
1: Enable the velocity observer
Latch the error massage of “over
X_latch_err_tdr temperature”
353# - 1 1 0
v 0: Disable
1: Enable
LCD
Parameter Definition Unit Default Max. Min.
No.
Latch the error massage of “under voltage”
X_latch_err_un
354# 0: Disable - 0 1 0
derv
1: Enable
Emulated index output in every revolution
X_mult_emu_in
355# 0: Disable - 0 1 0
d
1: Enable
Mode setting for the second generation of
Auto tune
357# AT.mode - 1 2 1
1: Standard
0: Advanced
Stiffness setting for the second generation
of Auto tune
358# AT.stiff 1: Soft - 2 3 1
2: Normal
3: Rigid
Baud rate for the Modbus communication
0: 9,600 (default)
1: 2,400
X_Mbus_Baud 2: 4,800
359# bps 0 6 0
RateIndex 3: 9,600
4: 14,400
5: 19,200
6: 38,400
X_Mbus_Slave
360 Drive station number (for Modbus) - 0 247 0
_Addr
Check setting for the Modbus parity
0: 8 data, Even parity, 1 stop bit
1: 8 data, Odd parity, 1 stop bit
X_Mbus_SetPa 2: 8 data, None parity, 2 stop bit
361# - 0 6 0
rity 3: 8 data, Even parity, 1 stop bit
4: 7 data, Odd parity, 1 stop bit
5: 7 data, None parity, 2 stop bit
6: 7 data, Even parity, 1 stop bit
Maximum time interval for the Modbus
362 X_Mbus_T15 ms 3 231-1 1
RTU character
Minimum time interval for the Modbus RTU
363 X_Mbus_T35 ms 4 231-1 1
frame
364 X_TMO_Scale Output scale of analog output 1 % 100 300 1
365 X_TMO_Offs Output offset of analog output 1 mv 0 10,000 -10,000
366 X_VMO_Scale Output scale of analog output 2 % 100 300 1
367 X_VMO_Offs Output offset of analog output 2 mv 0 10,000 -10,000
UserPDL.X_fVa PDL parameter which can be saved in
368 - 0 3.4X1038 -3.4X1038
r[0] Flash
UserPDL.X_fVa PDL parameter which can be saved in
369 - 0 3.4X1038 -3.4X1038
r[1] Flash
UserPDL.X_fVa PDL parameter which can be saved in
370 - 0 3.4X1038 -3.4X1038
r[2] Flash
UserPDL.X_fVa PDL parameter which can be saved in
371 - 0 3.4X1038 -3.4X1038
r[3] Flash
UserPDL.X_fVa PDL parameter which can be saved in
372 - 0 3.4X1038 -3.4X1038
r[4] Flash
UserPDL.X_iVa PDL parameter which can be saved in
373 - 0 231-1 -(231 - 1)
r [0] Flash
LCD
Parameter Definition Unit Default Max. Min.
No.
UserPDL.X_iVa PDL parameter which can be saved in
374 - 0 231-1 -(231 - 1)
r [1] Flash
UserPDL.X_iVa PDL parameter which can be saved in
375 - 0 231-1 -(231 - 1)
r [2] Flash
UserPDL.X_iVa PDL parameter which can be saved in
376 - 0 231-1 -(231 - 1)
r [3] Flash
UserPDL.X_iVa PDL parameter which can be saved in
377 - 0 231-1 -(231 - 1)
r [4] Flash
UserPDL.X_iVa PDL parameter which can be saved in
378 - 0 231-1 -(231 - 1)
r [5] Flash
UserPDL.X_iVa PDL parameter which can be saved in
379 - 0 231-1 -(231 - 1)
r [6] Flash
UserPDL.X_iVa PDL parameter which can be saved in
380 - 0 231-1 -(231 - 1)
r [7] Flash
UserPDL.X_iVa PDL parameter which can be saved in
381 - 0 231-1 -(231 - 1)
r [8] Flash
UserPDL.X_iVa PDL parameter which can be saved in
382 - 0 231-1 -(231 - 1)
r [9] Flash
UserPDL.X_iVa PDL parameter which can be saved in
383 - 0 231-1 -(231 - 1)
r [10] Flash
UserPDL.X_iVa PDL parameter which can be saved in
384 - 0 231-1 -(231 - 1)
r [11] Flash
UserPDL.X_iVa PDL parameter which can be saved in
385 - 0 231-1 -(231-1)
r [12] Flash
UserPDL.X_iVa PDL parameter which can be saved in
386 - 0 231-1 -(231 - 1)
r [13] Flash
UserPDL.X_iVa PDL parameter which can be saved in
387 - 0 231-1 -(231 - 1)
r [14] Flash
Note:
(1) * Only D2T model supports functions of I10 and O5.
(2) # It is the enumerated-type parameter. After pressing the Enter key to enter the edit mode, press the Up key or
Down key to select the parameter value.
This page allows users to perform functions of enabling or disabling motor, jogging, moving to absolute
position, and setting the current position to zero. Besides, it can set the motion velocity and target
position. Press the Up key or Down key to select the required function. The operation flow chart of actions
page is given in figure 7.6.1 or figure 7.6.2. The detailed operation procedure is described in the next
subsection (take the LCD abbreviated display symbol as an example).
Note:
The “MOTRSE” function will redo the procedure of initializing motor, referring to Section 7.2.
4 ENA/DI Servo
SV RDY enable/disable.
Figure7.6.1 Operation flow chart of actions page (LCD abbreviated display symbol)
4: ENA/DI Servo
SV RDY enable/disable.
Figure7.6.2 Operation flow chart of actions page (LCD numbered display symbol)
7.6.1 Enable/Disable
Before using this function to enable/disable the servo motor, ensure that the external enable signal is sent
to the drive, or LCD No. 243 (inverse of I3) is set to 1. The default configuration for I3 is the input of “Axis
Enable” signal. Use following steps to set the enable or disable. The operation flow chart is given in figure
7.6.1.1.
Step 1: Press the Enter key to enter the “ENA/DI” option (the dynamic cursor appears on the left side of
the second line).
Step 2: Press the Up key or Down key to select “ENABLE” or “DISABLE”.
Step 3: After selecting, press the Enter key to complete the setting.
4 ENA/DI
Servo disable
DISABLE
4 ENA/DI
SVNRDY
or
4 ENA/DI 4 ENA/DI
ENABLE Servo enable
SV RDY
7.6.2 JOG
Use following steps to perform the continuous motion (“JOG”). The operation flow chart is given in figure
7.6.2.1.
Step 1: Press the Enter key to enter the “JOG” option (the dynamic cursor appears on the left side of
the second line).
Step 2: Press the Up key or Down key to let the motor rotate in the forward or reversal direction. The
feedback position will be shown in the LCD display when the motor is in motion. The motor
stops the movement immediately when the key is released.
2 01FBPO
Press and hold 323088
the Up key
(CW)
4 JOG 4 JOG
-8 -8
Note:
In the force/torque mode, the “JOG” speed for LCD operation is based on the “Speed” set in the motion protection,
but not based on “VEL_LC” set in the LCD actions page.
Use following steps to perform the action of moving to absolute target position. The operation flow chart is
given in figure 7.6.3.1. Take the absolute coordinate of target position being 2,000 as an example.
Step 1: Press the Up key or Down key to enter the “MOV PO” option for setting target position. Refer to
Section 7.5.2 for the editing method. In this example, the target position will be set to 2,000.
Step 2: Move to the “MOV2PO” option and press the Enter key (the dynamic cursor appears on the left
side of the second line). The current position is displayed, but the motor does not yet start
moving.
Step 3: Press the Up key to start moving. The motor moves to the target position set in “MOV2PO” with
the speed set in “VEL_LC”. The feedback position (“01FB PO”) is displayed on the second line
of LCD screen during motion. To stop the movement during motion, just press the Enter key. To
continue the motion, just press the Up key to continue moving to the original set target position.
4 MOV2PO 4 MOV2PO
2000 2000
For Lightening 0.183 and D2 MDP 0.036 (inclusive) or below, or D2COE MDP 0.112 (inclusive) or below,
the auto gain tuning adopts the first-generation auto tune design. For Lightening 0.184 and D2 MDP
0.037 (inclusive) or above, or D2COE MDP 0.113 (inclusive) or above, the auto gain tuning adopts the
second-generation auto tune design described in Section 5.4. Use following steps to perform the auto
gain tuning (“AUTOTU”). The operation flow chart is given in figure 7.6.4.1.
Step 1: Press the Enter key to enter the “AUTOTU” option (the dynamic cursor appears on the left side
of the second line).
Step 2: Press the Up key or Down key to select whether to execute the auto gain tuning.
Step 3: The drive will execute the auto gain tuning when “AUTOTU YES” is selected and the Enter key
is pressed. Otherwise, the drive does not execute the auto gain tuning when “AUTOTU NO” is
selected.
4 AUTOTU 4 AUTOTU
NO NO
4 AUTOTU
4 AUTOTU PROCESS.
YES
Complete
the auto
gain tuning.
4 AUTOTU
Execute the
FINISH!
auto gain
tuning.
Wait 2
seconds.
Use following steps to set the current position to zero. The operation flow chart is given in figure 7.6.5.1.
LEVEL ONE
4 MOV PO
0
4 SETZER 4 SETZER
2000 0
4 AUTOTU
NO
In the position mode, the drive will move the corresponding distance when it receives the pulse command,
referring to Section 3.1.1. The position mode configuration includes: the mode selection, pulse format
selection, electronic gear ratio setting, and smooth factor setting. After all parameters are set, refer to
Section 7.5.1 to save parameters to flash.
Note:
The operation mode can be set via the following parameter.
Table7.7.1.2
Table7.7.1.3
To set “invert pulse command” (LCD No. 130) or “switch positive/negative logic” (LCD No. 219), the
setting procedure is the same as that for “pulse format” (LCD No. 129).
Note:
The pulse format can be set via following parameters.
Table7.7.1.4
Table7.7.1.5
Note:
The high/low speed pulse channel can be set via the following parameter.
Table7.7.1.6
Table7.7.1.7
Note:
The electronic gear ratio can be set via following parameters.
Table7.7.1.8
Note:
The smooth factor can be set via the following parameter.
Table7.7.1.10
D2 drive can transfer the voltage command and PWM command to the velocity command, referring to
Section 3.1.2. The velocity mode configuration includes: the mode selection and input command format
setting. After all parameters are set, refer to Section 7.5.1 to save parameters to flash.
Table7.7.2.2
To set the dead band for velocity command (LCD No. 084), the setting procedure is the same as that
for setting velocity command scale (LCD No. 083).
Note:
The input command format can be set via following parameters.
Table7.7.2.3
D2 drive can transfer the voltage command and PWM command to the current command, referring to
Section 3.1.2. The force/torque mode configuration includes: the mode selection and input command
format setting. After all parameters are set, refer to Section 7.5.1 to save parameters to flash.
Table7.7.3.1
Table7.7.3.2
To set the dead band for current command (LCD No. 086), the setting procedure is the same as that
for setting current command scale (LCD No. 085).
Note:
The input command format can be set via following parameters.
Table7.7.3.3
In the stand-alone mode, the drive will execute the internal path planning to drive the motor, referring to
Section 3.1.4. The stand-alone mode configuration includes the mode selection. After all parameters are
set, refer to Section 7.5.1 to save parameters to flash.
Table7.7.4.1
The main function of motion protection is to limit or specify the maximum speed, maximum acceleration,
maximum deceleration, emergency stop deceleration of motor output during motor movement. When the
speed and acceleration corresponding to the pulse command or voltage command sent from the host
controller are too high, the protection function is activated and the motion characteristic is limited to the
set value. The drive has various protection functions for different operation modes. The following is
applicable parameters for each operation mode.
Table8.1.1
Note:
“O” means it is active, and “X means it is inactive.
Figure8.1.1
Table8.1.2
Note:
Jm is the moment of inertia obtained by the inertia estimation.
As shown in figure 8.1.1, the “Motion Protection” area displays the maximum speed, maximum
acceleration, and maximum deceleration of movement. The unit can be set according to the user’s
custom unit by clicking “Position Units”. These settings are not only used for the motion protection,
but also used as test run parameters. Therefore, when the motion function (“P2P”, “Relative move”,
or “Jog”) in the performance center is used, it is important to check whether the data in the “Motion
Protection” area is the user’s motion protection setting, as shown in figure 8.1.2. In the position mode
or velocity mode, be sure to set “Acc.” and “Dec.” to the required value multiplied by 10 times, to
avoid being limited by the motion protection function. If this action is ignored, the desired speed or
acceleration/deceleration may not be achieved when the motion command is sent from the host
controller.
Figure8.1.3
Smooth motion
The function of smooth motion is used to reduce the impact of motor force to the load in the
acceleration/deceleration phase of motion process. This purpose is achieved by setting “Smooth
factor”. This parameter is designed according to the number of samples in the moving average filter,
as shown in figure 8.1.4. The relationship of filter time constant and “Smooth factor” is described as
follows.
(1) Non CoE model: filter time constant = “Smooth factor” × 0.5333 ms;
(2) CoE model: filter time constant = “Smooth factor” × 0.5 ms.
Time
Figure8.1.4
The value of “Smooth factor” is between 1 and 500. The higher the value is, the smaller the impact
is. The value of 1 means no smooth function. In some cases, increasing the smooth factor will be
helpful for the final settling performance of positioning process due to the impact reduction of motor
force. However, the smoother motion inevitably increases the move time (see Section 3.7). How to
obtain the balance between the two must be practically tested and tuned in the machine.
There is a position error in the servo control. The position error is usually larger when the motor moves.
Moreover, some external factors may also cause that the position error becomes abnormally large, such
as that bearings or linear guideways on the mechanism have a high friction due to the lack of lubricators,
the winding or cable tray is too tight, foreign objects invades on the motor travel, the motor hits the
abnormal object or hard stop, the position encoder is abnormal or interfered, and other conditions. In
order to avoid all kinds of anomalies leading the position error too big, D2 drive has a “Error windows”.
When the position error is over this “Error windows”, the drive will generate an error message of “Position
error too big”, start the emergency stop procedure, send the brake signal, and disable the motor.
Figure8.2.1.1
Table8.2.1.1
Parameter Description
Maximum Pos Error Maximum position error limit
Position Error Position error warning value
Velocity Error Velocity error warning value
If the drive is the dual-loop model and uses the dual-loop function, the “Protection” tab in the protection
center has a “Hybrid deviation error” field to be set to prevent the mixed control deviation from being too
large, as shown in figure 8.2.1.2. This may cause the velocity loop or position loop becomes unstable.
When the actual error exceeds this set, the drive generates an error message of “Hybrid deviation too
big”. If the dual-loop function is not used, the “Hybrid deviation error” field is anti-gray and cannot be set.
Figure8.2.1.2
In addition to the setting of position error limit described above, D2 drive also provides an early warning
function. When the position error or velocity error exceeds the set value in “Warning windows”, the
warning message will be displayed on the “Status” area of main window to warn the user that an
abnormality has occurred in advance.
In order to protect the motor and the system structure, D2-series drives provide a brake signal output to
actuate an external electromagnetic brake, which is often used in the Z-direction motor actuation. There
are some timing motion issues in this application. For example, when the motor moves in the Z direction
and the drive receives a disable command, if the brake directly starts at the high speed, the great shock
will be generated to damage the mechanism. In addition, if the motor is disabled early, there is a risk that
the mechanism and the motor may slip. D2-series drives have proprietary brake parameters to reduce
this risk.
Click to enter the protection center and select the “Brake” tab to open the configuration page for
braking timing. The output pin of brake can be set by clicking the “Set…” button on this page. The default
pin is CN2_BRK for frame A - C models and O5 for the frame D model. Click this button to show the
configuration page of I/O center. Refer to Section 5.5.2 for the setting information.
Step 1: When the drive receives the disable command, the brake will be started after the delay
time of starting brake (“delMaxEnToBrk”). However, if the motor speed is reduced to the
brake start speed (“vel_stop”), the brake is started first.
Step 2: Counting from the drive starting the brake, the post-stage power will be turned off after the
set brake action time (“delBrkToDis”). Its main purpose is to completely and truly execute
the brake action.
Figure8.3.1
Table8.3.1
(1) It is only applicable to the transient braking effect, and cannot achieve the bite ability of general
mechanical brake.
(2) The braking performance is poor in comparison to the emergency deceleration. Its main
function is to compensate some error cases that the braking function does not apply the
emergency deceleration.
The brake configuration page for the frame D model is shown in figure 8.3.2, and brake parameters
are the same as those given in table 8.3.1. To enable the dynamic brake function, simply check the
option of “Enable Dynamic Brake”. If the option of “Enable Dynamic Brake” is unchecked, this
function is disabled. Although the frame D model has the built-in dynamic brake resistor, in most
cases, it will first use the mechanical brake process to decelerate. Only when the error of E01, E02,
E03, E04, E07, E10, or E12 occurs (see Section 9.3 for error codes), the dynamic brake is activated
first, and then the mechanical brake process is activated. Refer to figure 8.3.3 to figure 8.3.5 for the
dynamic brake timing.
Figure8.3.2
Enable timing
D2 drive has a hardware limit protection. The hardware limit is usually the photoelectric switch or micro
switch installed in the positioning platform. It is used to identify the stroke of mechanical movement. When
the motor hits the hardware limit, the emergency brake protection will be activated. Usually, the hardware
limit switch is a normally close sensor. When the hardware limit switch is touched, the drive stops the
motor by using the emergency stop deceleration (“Dec. kill”). At this moment, the drive can only accept
the motion command in the opposite direction.
After clicking to enter the protection center, select the “HW limit protection” tab to open the
configuration page of hardware limits. To enable the hardware limit protection, the option of “enable HW
limit” ( ) must be checked. The digital input pin of hardware limit can be set by clicking the
“Set…” button on this page. Clicking this button will appear the configuration page of I/O center. Refer to
Section 5.5.1 for the setting information.
Figure8.4.1.1
In addition to the hardware limit protection, D2 drive also has the software limit protection. It also plays the
role of protecting over stroke. When the motor reaches the position of software limit, the drive can only
accept the command to move in the opposite direction.
Click to enter the protection center, and select the “Protection” tab. The “Limits” area is the
configuration page of software limits. After checking the option of “enable sw limit”, the upper and lower
software limits can be set. Moreover, the software limit protection can be activated by checking the option
of “enable sw limit” in the performance center.
Figure8.4.2.1
Table8.4.2.1
D2 drive has the function of estimating the motor temperature by using the software. Utilizing the current
output to estimate the motor power and then estimate the motor temperature. When it reaches the default
value of drive, the drive issues an error message of “Soft-thermal threshold reached”, enters the
emergency stop process, and finally disables the motor. Select the “Soft-thermal Accumulator” item in
“Quick view” to observe the current estimation of motor temperature.
D2 drive has the protection of drive over temperature. When the drive’s temperature reaches 80 °C, the
error message of “Amplifier over temperature” is displayed, and the motor is stopped.
When the motor is decelerating, the kinetic energy is converted into the thermal energy for the
consumption. The remaining energy charges the drive’s capacitor. When the energy exceeds the capacity
of drive’s capacitor, the energy must be consumed on the regenerative resistor in the regenerative circuit
to protect the drive. The regenerative resistor of D2 drive has the turn-on voltage of 370 Vdc and the
turn-off voltage of 360 Vdc. Users can refer to the following characteristic of each motor specification
(under the deceleration of 10 m/s2 and the screw pitch of 10 mm) to determine whether the regenerative
resistor is needed or not. Take the motor of 750 W as an example. If the motor is operated at the highest
speed of 3,000 rpm and the load inertia is more than 0.00082 Kg-m2, a regenerative resistor is needed.
Refer to table 7.1.1 to select an appropriate regenerative resistor model.
The regenerative resistor model of HIWIN standard product is given in table 8.6.1. Users can use them in
series or in parallel according to the requirement. The appearance and size are given in table 8.6.2 and
figure 8.6.6.
Table8.6.1
Table8.6.2
Regenerative
L1 L2 W W1 H
Resistor Model
RG1 165 ± 2 mm 150 ± 2 mm 40 ± 0.5 mm 5.3 ± 0.5 mm 20 ± 0.5 mm
RG2 215 ± 2 mm 200 ± 2 mm 60 ± 1 mm 5.3 ± 1 mm 30 ± 1 mm
Figure8.6.6
The drive’s status indictor is LED on the front panel of drive, which shows the current status of drive. Its
status is described in the following stable.
Status indicator
Status indicator Drive’s status
No light The drive has no control power.
Green and red lights flash
The drive is booting.
simultaneously
Green light flashes The motor has no power.
Green light constantly lights The motor has power.
Green light flashes and red The motor has no power, and an error
light constantly lights occurs.
Note:
The status indicator will look like orange when the red and green lights are
enabled at the same time.
Figure9.1.1
When D2 drive detects an error, in addition to staring the protection mechanism, it also displays the last
error message in the error message display area (“Last error”), as shown in figure 9.2.1.1. Uses can judge
the error condition of drive based on this message. On the other hand, when the event occurs and needs
to be warned during the operation, the warning message will be shown in the warning message display
area (“Last warning”).
The servo status will be displayed in the home page of LCD screen, as shown in figure 9.2.2.1.
(1) SVNRDY: Servo disabled. It is at the “Servo OFF” status. The motor has no power.
(2) SV RDY: Servo enabled. It is at the “Servo ON” status. The motor has power.
When an error or warning occurs, the second line of home page displays an error or warning message
code. For LCD error codes, refer to Sections 9.3 and 9.4 error/warning codes and troubleshooting.
(a) LCD abbreviated display symbol (b) LCD numbered display symbol
Figure9.2.2.1
When D2 drive detects an error or warning event, in addition to showing it in the error message display
area and warning message display area on the main window, as given in figure 9.2.1.1, it is also recorded
in “Errors and warnings Log”. The opening method is shown in figure 9.2.3.1.
Lightening provides this function to prevent that errors and warnings reported by the drive are flashing.
This may cause that users lose the error and warning messages. The error and warning messages and
the number, occurred after the drive is powered on, are recorded in “Errors and warnings log”. Refer to
figure 9.2.3.2 for the “Time log” tab in “Errors and warnings log”. All occurred error and warning messages
are recorded in “Type of error/warning” in the chronological order. The occurrence time is recorded in the
“Time (seconds)” column.
Refer to figure 9.2.5 for the “Statistics” tab in “Errors and warnings log”. The number of errors or warnings
(“Frequency”) occurred in the drive is recorded in this window. This can help users to understand which
events occur most frequently and to debug.
Moreover, when users want to know more about the content of errors and warnings, double-click the
name of error or warning event to appear the “Help tips” window. For example, as shown in figure 9.2.6, if
the error event of “E04 Encoder error” is clicked, the possible cause and solution can be obtained from
this window.
To ensure the compatibility between the loaded PRM parameter file and the drive firmware, Lightening
will check if the PRM file is suitable for the current firmware version. When the following error message
appears, it means that the PRM file is unsuitable, and need to re-set parameters or replace an
appropriate firmware version. The number in the parentheses denotes the PRM error scenario, referring
to table 9.2.4.1.
Figure9.2.4.1
Table9.2.4.1
Table9.3.1
LCD
No. Error Description Troubleshooting
Error Code
The short of three motor phases is detected.
(1) After power-off, unplug the UVW-phase connector at the
drive-side and measure the resistance between each phase of
UVW and ground to check if there is a short circuit. The short
E01 SHORT circuit may burn the motor.
Motor short (over
1 or (2) Measure the line-to-line resistance between motor UVW
current) detected
ERR E01 phases to check that they are close to the specification. If the
line-to-line resistance is lower than the specification too much,
the motor may be burned.
(3) Separate the motor from the motor power cable, and use a
multimeter to check if the motor power cable is short.
The DC bus voltage in the drive exceeds the limit.
E02 OVERV When the motor has a heavy load and is operated at high speed,
Over voltage
2 or the back EMF exceeding the voltage limit will cause this error.
detected
ERR E02 Check if the regenerative resistor needs to be installed, which is
selected according to the load and the motion specification.
The position error is greater than “maximum pos error” set in the
“Motion Protection” area.
(1) Check if the gain tuning is improper.
(2) Confirm that the maximum position error is set properly
E03 PEBIG (“Application center” -> “Protection” -> “maximum pos error”).
Position error too
3 or (3) Check if the motor movement is obstructed.
big
ERR E03 (4) Check if the load is too heavy.
(5) Check if the guideway is without maintenance for a long time.
(6) Check if the cable tray is installed too tight.
(7) “W05 SVBIG” continues occurring before “E03”. Use 220 V
power.
The encoder signal is incorrect or the alarm pin reports an error.
(1) Confirm that all encoder connectors are connected firmly.
E04 ENCOD (2) Confirm that the encoder wiring is correct.
4 Encoder error or (3) If the encoder is a digital type, it may be caused by the
ERR E04 external interference. Confirm that the encoder cable has an
anti-interference twisted wire and shield, or is equipped with
an iron core.
Motor overload. (The software detects the motor over-temperature.)
(1) Confirm that the continuous current and peak current during
motor movement comply with the motor specification.
E05 SWHOT (2) Check if the motor movement is obstructed.
Soft-thermal (3) It can be eliminated by resetting and re-enabling the drive.
5 or
threshold reached However, if the current exceeds the motor specification due to
ERR E05
the load and motor parameters, it may occur again.
(4) Reduce the speed, acceleration, and deceleration.
(5) Check if the motor model name or motor current parameter is
set incorrectly.
E06 UVWCN The motor power cable is not physically connected to the drive.
Motor maybe
6 or (1) Check if the connector of UVW cable is loose.
disconnected
ERR E06 (2) Check if the motor model name is set incorrectly.
7 Amplifier over E07 D.HOT The drive is over temperature.
LCD
No. Error Description Troubleshooting
Error Code
temperature or (1) Check that the drive is placed in a well-ventilated location.
ERR E07 (2) Check if the ambient temperature is too high.
(3) Wait for the internal temperature of drive to decrease.
(4) To drive a large load or operate at a high duty cycle, install the
heat sink if needed.
The DC bus in the drive is too small.
E09 UND.V
Under voltage
9 or Confirm that L1 and L2 of drive are connected to 220 Vac power
detected
ERR E09 source. Use a multimeter to check whether the input is 220 Vac.
LCD
No. Error Description Troubleshooting
Error Code
E22BUS.E The DC bus voltage is abnormal.
DC bus voltage
22 or
abnormal Check that the input voltage is well.
ERR E22
The drive does not detect the EtherCAT interface or the drive has
EtherCAT E23NOET no EtherCAT interface.
23 interface is not or (1) Re-power the drive to re-detect it.
detected ERR E23 (2) The drive does not support EtherCAT. Check that the drive
has this function.
An error occurs while performing the CiA-402 homing. This causes
E24HOM.E the homing fail.
CiA-402 homing
24 or (1) Check that the left and right limits, near home sensor, and
error
ERR E24 index signals are normal.
(2) Check that the used homing method is appropriate.
E25FAN.E The fan system is abnormal.
25 Fan fault error or
ERR E25 Check if the fan is stuck in a foreign object.
The motor was operated over the rated current for longer than the
Drive overload sustainable duration.
26 ERR E26
error Check that the motion profile is appropriate, or if the load is too
heavy.
Figure9.3.2
Click on Protection tab in Protection center. Enable or disable this function in the setting area of
Error type setting, as figure 9.3.1. Check the checkbox of Latch amplifier over temperature error
to disable automatic error handling function. If the checkbox is not checked, automatic error
handling function will be enabled.
Example 1
When error “Amplifier over temperature” occurs, it means the servo drive is overheating. If user
would like the motor to be enabled automatically after the cause of the error is cleared, uncheck
the checkbox of Latch amplifier over temperature error. If the servo drive cools down
naturally, the motor will be enabled automatically.
Figure9.3.1
Table9.4.1
LCD
No. Error Description Troubleshooting
error code
W01 SWLL
The set left software limit is reached, and the motor can no longer
1 Left SW limit or
move to the left.
WRN W01
W02 SWRL
The set right software limit is reached, and the motor can no
2 Right SW limit or
longer move to the right.
WRN W02
The hardware limit switch on the left side has been detected and
the motor can no longer move to the left.
W03 HWLL
3 Left HW limit or (1) If the hardware limit is not connected to the drive and the
WRN W03 false trigger occurs, cancel the enable of hardware limit.
(2) If it is confirmed that the limit switch is not actually triggered,
check that the wiring or actuation logic is correct.
The hardware limit switch on the right side has been detected and
the motor can no longer move to the right.
W04 HWRL
4 Right HW limit or (1) If the hardware limit is not connected to the drive and the
WRN W04 false trigger occurs, cancel the enable of hardware limit.
(2) If it is confirmed that the limit switch is not actually triggered,
check that the wiring or actuation logic is correct.
The drive’s PWM output switch is greater than the limit value and
the current output cannot be increased. If this warning continues
W05 SVBIG occurring in the position control, the error of “E03 PEBIG” will
5 Servo voltage big or happen.
WRN W05
(1) Change the power source to 220 V.
(2) Reduce the speed, acceleration, or deceleration.
The position error exceeds the set warning window for position
error.
W06 PE (1) Check that the servo gain is properly tuned.
Position error
6 or (2) Check if the warning threshold is set too small.
warning
WRN W06 (3) Sometimes, this phenomenon may occur since the
maintenance period is over or the lubrication is not
implemented.
The velocity error exceeds the set warning window for velocity
error.
W07 VE (1) Check that the servo gain is properly tuned.
Velocity error
7 or (2) Check if the warning threshold is set too small.
warning
WRN W07 (3) Sometimes, this phenomenon may occur since the
maintenance period is over or the lubrication is not
implemented.
The current has saturated in the specification of motor peak
W08 CUR.L current. If this warning continues occurring, the error of “E05
8 Current Limited or SWHOT” will happen and the motor will be disabled.
WRN W08 (1) Reduce the speed, acceleration, or deceleration.
(2) Decrease the load.
Acceleration W09 ACC.L In the position mode or velocity mode, the acceleration protection
9
Limited or setting is reached when the motor is moving.
LCD
No. Error Description Troubleshooting
error code
WRN W09 To increase the acceleration, increase the acceleration setting in
the motion protection.
In the velocity mode or torque mode, the velocity protection setting
W10 VEL.L is reached when the motor is moving.
10 Velocity Limited or
WRN W10 To increase the velocity, increase the velocity setting in the motion
protection.
Both the left and right hardware limits have been triggered.
W11 BOTH (1) If the hardware limit is not connected to the drive and the
Both HW limits
11 or false trigger occurs, cancel the enable of hardware limit.
active
WRN W11 (2) If it is confirmed that the limit switch is not actually triggered,
check that the wiring or actuation logic is correct.
Failed to perform the homing procedure.
W13 HOM.E (1) Check that the left and right limits, near home sensor, and
13 Homing fail or index signal are normal.
WRN W13 (2) Check that “Time out” and “Search end stop current” are set
properly.
In the position mode, the conflict situation of receiving the pulse
W14HOM.C command and homing command simultaneously occurs.
Pulse command
14 or
and homing conflict Do not send the pulse command and perform the built-in homing
WRN W14
function at the same time.
W15BAT.E The encoder battery has no power.
Absolute encoder
15 or
battery warning Replace the battery.
WRN W15
W16ABS.W The absolute encoder feedbacks the error absolute position.
Wrong absolute
16 or
position Reset the home position.
WRN W16
MECHATROLINK MECHATROLINK communication warning
17 communication WRN W17
warning Check if communication cable is correctly connected.
Figure9.4.1
Figure9.4.2
When the speed (“Speed”) in the performance test is set to be less than the command, the warning
message of “W10 VEL.L” or “WRN W10” will appear and the speed will be limited. To solve this
problem, increase the speed. For example, if the required speed is 500 mm/s and “Speed” is set to
100 mm/s, “W10 VEL.L” or “WRN W10” will appear. “Speed” can be changed to a value larger than
the target value, e.g. 600 mm/s.
Figure9.4.2
Figure10.1.1
When the light of “Hardware enable input” in the HMI main window is green, it indicates that the drive has
received a hardware enable signal from the host controller, as shown in figure 10.2.1.
Figure10.2.1
Usually, the motor enable is controlled by the “Axis Enable” signal sent from the host controller to the
drive’s input pin. When HMI is turned on, following items must be noticed.
(1) When Lightening is a valid window on the computer, the F12 key can be pressed to disable the
motor at any time. Usually, it is useful in the emergency situation.
(2) When the performance center in Lightening is turned on, the “Disable” button (same as F12) can be
pressed to disable the motor. Click the “Enable” button on the window to enable the motor again (but
only if the “Hardware enable input” light is still green).
When motor parameters are modified during the operation of Lightening and do not save in the drive’s
Flash, the prompt window of “Compare parameter RAM to Flash” appears at the situation of closing
Lightening or saving error map parameters in Flash (see Section 6.9.1), as shown in figure 11.1.1. This
window mainly reminds the user that parameters have been modified but not yet saved in Flash.
Figure11.1.1
Click the “Details” option on the window to open the advanced comparison window. It can be used to
further observe which parameters in RAM and Flash have different settings, as shown in figure 11.1.2. If
the RAM data and Flash data are not the same, the parameter name and its value are listed in blue. In
addition, the “Flash values” filed displays one of following two states.
②
○
1
⑥
○
3
○
5
○
4
Figure11.1.2
11-2 HIWIN MIKROSYSTEM CORP.
MD07UE01-2010
○
7
Figure11.1.3
7 Redo: Cancel the previous “Undo” action for the selected parameter.
○
0000000000 0000
0
12. Update firmware and load PDL ································································································ 12-1
12.1 Update drive’s firmware ································································································· 12-2
12.2 Load PDL program into drive ·························································································· 12-5
12.3 Load parameter patch ··································································································· 12-7
Update Firmware And Load PDL D2 Series Servo Drive User Manual
If the drive’s firmware needs to be updated, click the “Tools” option on the main window and select
“Upgrade/Downgrade firmware...”, as shown in figure 12.1.1. Clicking “Upgrade/Downgrade firmware...”
will appear the window of figure12.1.2.
Figure12.1.1
Step2
Step1
D2 Series Servo Drive User Manual Update Firmware And Load PDL
In the “Upgrade/Downgrade firmware” window, use following steps to complete the firmware update.
Step 1: Click the left mouse button on the firmware version required to update, such that it is with white
letters on the blue background.
Step 2: Click the “File” option in the upper left corner of window and select “Update selected firmware to
amplifier” to appear the dialog window of figure12.1.3.
Figure12.1.3
Step 3: Click the “Confirm” button to appear the “Auto load programs” window. The firmware will be
loaded to the drive automatically, as shown in figure 12.1.4.
Figure12.1.4
Step 4: After the firmware update is completed, the message window of figure 12.1.5 appears. Click the
“Conform” button.
Update Firmware And Load PDL D2 Series Servo Drive User Manual
Figure12.1.5
Note:
If a power failure or communication error occurs during the firmware update, Lightening may stay at “Boot
mode” and cannot be changed after the power is restored or the communication cable is connected
again, as shown in figure 12.1.6. Please contact the franchised dealer to help eliminating it.
Figure12.1.6
D2 Series Servo Drive User Manual Update Firmware And Load PDL
To load the PDL program into the drive, use following steps to do it. To clear the PDL program in the
drive, delete the code in “user.pdl” and use same steps to load the codeless “user.pdl” into the drive.
Step 1: Click the icon () shown in figure 12.2.1 to open the “PDL” window.
Figure12.2.1
Step 2: Click the “Edit” button to appear the PDL edit interface.
Figure12.2.2
Figure12.2.3
Update Firmware And Load PDL D2 Series Servo Drive User Manual
Step 3: After pasting the PDL program or writing the PDL program, click the “Compile” icon () to appear
the “Compile” window, as shown in figure 12.2.4.
Figure12.2.4
Step 4: After “Compile” is completed, click the “Send to slave” icon () and click the “Confirm” button in
the dialog window of figure 12.2.5 to appear the execution window of figure 12.2.6 After loading
the PDL program is completed, this window will be closed automatically.
Figure12.2.5
D2 Series Servo Drive User Manual Update Firmware And Load PDL
Figure12.2.6
The download path of parameter patch is the same as that of Lightening. The latest parameter patch is
parameter_patch_4.6.
Figure12.3.1
Update Firmware And Load PDL D2 Series Servo Drive User Manual
Figure12.3.2
Other
If Lightening is not installed, a warning window appears informing user that Lightening is not
installed.
Figure12.3.3
The Modbus communication specification for D2-series drives is shown in the following table.
Table13.1.1
Note:
(1) The data length in the RTU communication protocol is 8 bits; while that in the ASCII communication protocol is
7 bits.
(2) The stop bit for the odd parity and even parity is 1 bits; while that for the none parity is 2 bits.
D2-series drives provide three types of function code, as given in the following table.
Table13.2.1
Table13.2.2
Note:
N is the quantity of registers.
Table13.2.3
Table13.2.3
Table13.2.4
Response
Function code 1 Byte 04h
Byte count 1 Byte 2xN
Register value 2 x N Bytes
Error
Error code 1 Byte 84h
Exception code 1 Byte 01h, 02h, 03h, 04h
Note:
N is the quantity of registers.
Table13.2.5
The following table is an example of requesting to read the register 0x0008. For the case of normal
response, the content of register 0x0008 is shown as the 2-bytes value of “00 0Ah”.
Table13.2.6
Table13.2.7
Note:
N is the quantity of registers.
Table13.2.8
The following table is an example of requesting to write the data of “00 0Ah” and “01 02h” into 2
registers, where the starting address is 0x0001.
Table13.2.9
Register Hi 01h
0x0002 Lo 02h
Lo 92h
CRC
Hi 30h
Table13.3.1
Table13.3.1
Register
Object Description Type Unit
Address
0x0000 Lower data
1 Feedback position INT32 counts
0x0001 Higher data
0x0002 Lower data
2 Reference position INT32 counts
0x0003 Higher data
0x0006 Lower data
4 Position error INT32 counts
0x0007 Higher data
0x0012 Lower data
10 Feedback velocity REAL32 count/s
0x0013 Higher data
0x0014 Lower data
11 Reference velocity REAL32 count/s
0x0015 Higher data
0x0016 Lower data
12 Velocity error REAL32 count/s
0x0017 Higher data
0x003A Lower data
30 Actual current REAL32 Aamp
0x003B Higher data
0x003C Lower data
31 Command current REAL32 Aamp
0x003D Higher data
0x004E Lower data
40 Analog command REAL32 mV
0x004F Higher data
0x0050 Lower data
41 Bus voltage REAL32 V
0x0051 Higher data
0x0064 Lower data
51 Soft-thermal accumulator REAL32 %
0x0065 Higher data
0x0068 Lower data
53 Average load ratio REAL32 %
0x0069 Higher data
0x0070 Lower data
54 Peak load ratio REAL32 %
0x0071 Higher data
0x0072 Lower data
55 Current effective value REAL32 Aamp
0x0073 Higher data
0x0078 Lower data
61 Status 5 UINT32 -
0x0079 Higher data
0x00A0 Lower data
81 Status 4 UINT32 -
0x00A1 Higher data
90 0x00B2 Status 6 Lower data UINT32 -
Register
Object Description Type Unit
Address
0x00B3 Higher data
0x00B4 Lower data
91 Status 0 UINT32 -
0x00B5 Higher data
0x0FA0 Lower data
2001 Mode of operation display INT32 -
0x0FA1 Higher data
0x0FA2 Lower data
2002 Drive error events 1 UINT32 -
0x0FA3 Higher data
0x0FA4 Lower data
2003 Drive error events 2 UINT32 -
0x0FA5 Higher data
0x0FA6 Lower data
2004 Status 1 UINT32 -
0x0FA7 Higher data
0x0FA8 Lower data
2005 Status 2 UINT32 -
0x0FA9 Higher data
0x0FAA Lower data
2006 Status 3 UINT32 -
0x0FAB Higher data
0x0FAE Feedback position of Lower data
2008 INT32 count
0x0FAF secondary encoder Higher data
0x0FB0 Lower data
2009 Hybrid deviation error REAL32 count
0x0FB1 Higher data
Table13.3.2
Bit Definition
0 I1
1 I2
2 I3
3 I4
4 I5
5 I6
6 I7
7 I8
8 I9
9 I10
10 - 15 -
Table13.3.3
Bit Definition
0-3 -
4 O1
5 O2
6 O3
7 O4
8 O5
9 - 11 -
12 CW/CCW input
13 Buffer encoder invert
14 Buffer/emulated encoder output
15 -
Table13.3.4
Bit Definition
0 -
1 Index
2 - 15 -
Table13.3.5
Bit Definition
0 Moving
1 Encoder error
2 -
3 In position
4 Right hardware limit
5 Left hardware limit
6 Position error too big
7 Soft thermal threshold reached
8 Axis disable
9 -
10 Homed
11 -
12 Both hardware limits are active
13 Serial encoder communication error
14 Motor over temperature
15 Amplifier over temperature
Table13.3.6
Bit Definition
0 -
1 Encoder error
2-5 -
6 Position error too big
7 Soft-thermal threshold reached
8 - 12 -
13 Serial encoder communication error
14 Motor over temperature sensor activated
15 Amplifier over temperature
16 - 17 -
18 Motor short (over current) detected
19 Over voltage detected
20 Under voltage detected
21 Motor maybe disconnected
22 - 30 -
31 5V for encoder card fail
Table13.3.7
Bit Definition
0 -
1 Phase initialization error
2-4 -
5 Hall sensor error
6 Hall phase check error
7 - 15 -
16 Current control error
17 HFLT inconsistent error
18 Auto phase center not complete error
19 -
20 Hybrid deviation too big
21 - 22 -
23 DC bus voltage abnormal
24 - 29 -
30 EtherCAT interface disconnected
31 CiA-402 home failed
Table13.3.8
Bit Definition
0-1 -
2 Motor short
3 Over voltage
4 Under voltage
5 Motor may be disconnect
6 Left software limit
7 Right software limit
8 Current limited
9 Acceleration limited
10 Velocity limited
11 Servo ready
12 Servo voltage big
13 Position error warning
14 Velocity error warning
15 5V for encoder card fail
Table13.3.9
Bit Definition
0 Emulated index
1 Phase initialization error
2-4 -
5 Hall sensor error
6 Hall phase check error
7-8 -
9 Zero speed detected
10 - 13 -
14 I2T warning
15 Pulse command and home conflict
Table13.3.10
Bit Definition
0 Current control error
1 HFLT inconsistent error
2-4 -
5 Homing fail
6 Absolute encoder battery warning
7 DC bus voltage abnormal
8 Wrong absolute position
9 - 15 -
Table13.3.2.1
Register
Object Description Type Unit
Address
0x0000 Maximum Lower data
0 REAL32 count/s2
0x0001 acceleration Higher data
0x0002 Maximum Lower data
1 REAL32 count/s2
0x0003 deceleration Higher data
0x0004 Lower data
2 Kill deceleration REAL32 count/s2
0x0005 Higher data
0x0006 Lower data
3 Maximum velocity REAL32 count/s
0x0007 Higher data
0x004E Home velocity Lower data
39 (Index search INT32 count/s
0x004F speed) Higher data
0x0050 Lower data
40 Homing time out INT32 1s/15,000
0x0051 Higher data
0x0064 Maximum Lower data
50 REAL32 Aamp
0x0065 following error Higher data
0x009E AC servo gear Lower data
79 REAL32 -
0x009F ratio Higher data
0x00A2 Numerator of Lower data
81 electronic gear INT32 -
0x00A3 ratio Higher data
0x00A4 Denominator of Lower data
82 electronic gear INT32 -
0x00A5 ratio Higher data
Register
Object Description Type Unit
Address
0x00A6 Velocity scale for Lower data
83 external REAL32 count/s = 1 V
0x00A7 command Higher data
0x00AA Current scale for Lower data (Aamp×1,000)/
85 external REAL32 (curr_drv_peak)
0x00AB command Higher data =1V
0x00E6 Lower data
115 Smooth factor UINT32 -
0x00E7 Higher data
0x0102 Lower data
129 Pulse mode INT32 -
0x0103 Higher data
0x0104 Pulse command Lower data
130 UINT32 -
0x0105 inversion Higher data
0x01A8 Lower data
212 Operation mode UINT32 -
0x01A9 Higher data
0x01B0 Encoder output Lower data
216 INT32 -
0x01B1 setting Higher data
0x01B6 Lower data
219 CW/CCW logic UINT32 -
0x01B7 Higher data
0x01E2 Lower data
241 Input signal logic INT32 -
0x01E3 Higher data
0x0230 Output signal Lower data
280 UINT32 -
0x0231 logic Higher data
0x02A8 Lower data
340 Load level UINT32 -
0x02A9 Higher data
0x02A2 Direction of Lower data
347 INT32 -
0x02A3 second encoder Higher data
0x02A4 Hybrid deviation Lower data
348 INT32 -
0x02A5 limit Higher data
0x02BC Brake activation Lower data
350 INT32 -
0x02BD delay time Higher data
0x02C6 Output emulated Lower data
355 index per INT32 -
0x02C7 revolution Higher data
General purpose Lower data
368 ~ 2 x index ~
REAL32 REAL32 -
372 2 x index +1 Higher data
parameter
373 ~ 2 x index ~ General purpose Lower data
INT32 -
387 2 x index +1 INT32 parameter Higher data
0x0FA0 Lower data
2000 Target position INT32 count
0x0FA1 Higher data
0x0FA2 Lower data
2001 Target velocity INT32 count/s
0x0FA3 Higher data
Register
Object Description Type Unit
Address
0x0FA4 Lower data
2002 Target current INT32 0.1%A
0x0FA5 Higher data
0x0FA6 Lower data
2003 Stop motion UINT32 -
0x0FA7 Higher data
0x0FAE Lower data
2007 Jog velocity REAL32 count/s
0x0FAF Higher data
(1) For the drive with the 17-bit encoder, the encoder feedback is disturbed and the error of “serial
encoder communication error” occurs when the drive is enabled.
(2) Reduce the common-mode noise at the drive’s output.
The part number of HIWIN self-made common-mode motor filter is MC-CM-S. It is suitable for D2-series
drives with the power less than 2 KW (inclusive). The specification is given in the following table. When
the external common-mode motor filter is used, the effect of common- mode inductor should be
considered to improve the performance of motor control.
Table14.1.1
Item Specification
Maximum voltage 373 Vdc
Input
Maximum current 11 Arms
Maximum voltage 373 Vdc
Output
Maximum current 11 Arms
Peak current* /Maximum duration of peak current 33 Arms / 1 second
Ambient operating temperature 0 to 50°C
Common-mode inductor (line) 1,100μH (nominal)
Note:
(1) *The maximum input/output peak current can be maintained for 1 second from the start.
(2)
If the drive is operated below the maximum temperature, no cooling fan is required. However, if the ambient
temperature exceeds 50°C, an external fan should be used for cooling. The fan should have a flow rate of at
least 110 cubic feet (CFM).
Figure14.1.1
J1 J1
Figure14.1.2
The wiring diagram of common-mode motor filter with the drive and motor is given as follows.
Figure14.1.3
Instruction
(1) Insert the terminal of common-mode motor filter into the drive CN1 in sequence based on the
line marked.
(2) Insert the motor cable into the connector of common-mode motor filter based on the label on the
connector.
A. Filter to drive
E191346 AWM 2586 2mm 2x4C 105℃ 600V VW-1 AWM I/II B
Description 2mm2x4C 105℃ 600V FT1 SIN YU RoHS SUPER FLEXIBLE
AND OIL RESISTANCE CE
Cable Size 14 AWG
Figure14.1.4 Connector
DANGER
It has the risk of electric shock.
The cable and J1 connector are the high-voltage circuit and are connected to the main power.
Not paying attention to these warnings could result in the equipment damage, injury, or death.
Be careful when installing.
Not paying attention to these warnings could result in the equipment damage, injury, or death.
When the motor (100 W - 750 W) is at the enable state, if the control signal is subject to the noise
interference, a magnetic ring can be considered to install in the motor power cable.
Table14.2.1
Table14.2.2
Item Specification
Maximum Voltage 240 Vac
Maximum Current 7.5 Arms
Peak Current/Maximum Duration Of Peak Current 15 Arms/1 second
Ambient Operating Temperature 0 to 40 ℃
Figure14.2.1
Table14.2.3
Figure14.2.2