HDM User Guide
HDM User Guide
Revision B
April 2014
HDM User Guide
Contents
About This Manual ................................................................................................................................................................................ 6
Related Documentation ....................................................................................................................................................... 6
Copyrights ........................................................................................................................................................................... 6
Document Validity ................................................................................................................................................................ 6
Revision History ................................................................................................................................................................... 8
1: Introduction ................................................................................................................................................................................. 9
1.1: Host Computer Requirements............................................................................................................................................... 10
Computer and Operating System ....................................................................................................................................... 10
Default File Locations ........................................................................................................................................................ 10
Serial Communications ...................................................................................................................................................... 10
Ethernet Communications .................................................................................................................................................. 10
CAN Communications........................................................................................................................................................ 10
EtherCAT Communications................................................................................................................................................ 10
1.2: Overview .............................................................................................................................................................................. 11
Setup and Tuning .............................................................................................................................................................. 11
Indexing ............................................................................................................................................................................. 11
Cam Tables ....................................................................................................................................................................... 11
1.3: Servo Operating Modes and Control Loops .......................................................................................................................... 12
Control Loops Model .......................................................................................................................................................... 12
Basic Attributes of All Servo Control Loops ........................................................................................................................ 12
2: Installation, Startup, and Interface Tour................................................................................................................................... 13
2.1: Download and Install HDM Software ..................................................................................................................................... 14
2.2: Special Notes for Windows 7 and Windows 8 ....................................................................................................................... 15
Installer .............................................................................................................................................................................. 15
Set up HDM to run as administrator ................................................................................................................................... 15
2.3: Start HDM ............................................................................................................................................................................. 17
2.4: Communications Wizard ....................................................................................................................................................... 18
Configure Serial Ports ........................................................................................................................................................ 18
Configure Ethernet Network ............................................................................................................................................... 20
Configure CANopen Network ............................................................................................................................................. 20
Configure EtherCAT Network............................................................................................................................................. 22
2.5: Connect to an Amplifier......................................................................................................................................................... 23
2.6: Rename an Amplifier ............................................................................................................................................................ 24
2.7: HDM Interface Tour .............................................................................................................................................................. 25
Tool Bar ............................................................................................................................................................................. 25
Menu Bar ........................................................................................................................................................................... 26
Functional Diagram ............................................................................................................................................................ 28
CAN Information and Status Bar ........................................................................................................................................ 29
3: Amplifier Setup .......................................................................................................................................................................... 30
3.1: Setup Procedure ................................................................................................................................................................... 31
Warnings and Notes .......................................................................................................................................................... 31
4: Basic Setup ................................................................................................................................................................................ 36
4.1: Overview .............................................................................................................................................................................. 37
4.2: Change Basic Setup Settings ............................................................................................................................................... 38
4.3: ServoTube Setup .................................................................................................................................................................. 42
5: Motor/Feedback ......................................................................................................................................................................... 44
5.1: Motor/Feedback Screen Overview ........................................................................................................................................ 45
5.2: Load Motor/Feedback/Brake Settings from a File.................................................................................................................. 47
5.3: Rotary Motor Parameters ...................................................................................................................................................... 48
5.4: Linear Motor Parameters ...................................................................................................................................................... 49
5.5: Feedback Parameters, Rotary .............................................................................................................................................. 50
5.6: Feedback Parameters, Linear ............................................................................................................................................... 51
5.7: Feedback Notes.................................................................................................................................................................... 52
5.8: Brake/Stop Parameters......................................................................................................................................................... 53
5.9: Calculate .............................................................................................................................................................................. 55
6: Digital Inputs and Outputs ........................................................................................................................................................ 56
6.1: Digital Inputs ......................................................................................................................................................................... 57
6.2: Digital Outputs ...................................................................................................................................................................... 60
6.3: Custom Event Triggered Output............................................................................................................................................ 63
6.4: Custom Trajectory Status Triggered Output .......................................................................................................................... 66
6.5: Custom Position Triggered Output ........................................................................................................................................ 67
6.6: Synchronizing PWM Switching Frequency ............................................................................................................................ 68
6.7: Analog I/O ............................................................................................................................................................................ 68
Analog Motor Temperature Sensor .................................................................................................................................... 69
Analog Output.................................................................................................................................................................... 69
7: Command Inputs ....................................................................................................................................................................... 70
7.1: Analog Command Settings ................................................................................................................................................... 71
Analog Command Notes .................................................................................................................................................... 72
7.2: PWM Input Settings .............................................................................................................................................................. 74
50% Duty Cycle (One-Wire) ............................................................................................................................................... 75
Harmonic Drive LLC software and related information can be found at:
http://www.harmonicdrive.net/support/hdm-downloads/
Comments
Harmonic Drive LLC welcomes your comments on this manual. See
http://www.harmonicdrive.net for contact information.
Copyrights
No part of this document may be reproduced in any form or by any means, electronic or
mechanical, including photocopying, without express written permission of Harmonic Drive LLC.
Windows 7, Windows 8, and Windows XP are registered trademarks of the Microsoft Corporation.
Document Validity
We reserve the right to modify our products. The information in this document is subject to change
without notice and does not represent a commitment by Harmonic Drive LLC. Harmonic Drive LLC
Controls assumes no responsibility for any errors that may appear in this document.
Product Warnings
Observe all relevant state, regional and local safety regulations when installing and using
Harmonic Drive LLC amplifiers. For safety and to assure compliance with documented system
data, only Harmonic Drive LLC should perform repairs to amplifiers.
Hazardous voltages.
! Exercise caution when installing and adjusting Harmonic Drive LLC amplifiers.
After the cause of a non-latched fault is corrected, the amplifier re-enables the PWM
output stage without operator intervention. In this case, motion may re-start
unexpectedly. Configure faults as latched unless a specific situation calls for non-
latched behavior. When using non-latched faults, be sure to safeguard against
unexpected motion.
Latching an output does not eliminate the risk of unexpected motion with non-
latched faults.
Associating a fault with a latched, custom-configured output does not latch the fault
itself. After the cause of a non-latched fault is corrected, the amplifier re-enables
without operator intervention. In this case, motion may re-start unexpectedly.
For more information, See Faults.
When operating the amplifier as a CAN or EtherCAT node, the use of HDM or ASCII
serial commands may affect operations in progress. Using such commands to initiate
motion may cause network operations to suspend.
Operation may restart unexpectedly when the commanded motion is stopped.
Operate amplifiers within the specifications provided in the relevant hardware manual
or data sheet.
FAILURE TO HEED THESE WARNINGS CAN CAUSE EQUIPMENT DAMAGE,
INJURY, OR DEATH.
Revision History
Serial Communications
• Standard RS-232 serial port or a USB-to-RS-232 adapter.
• Serial communication cable. See data sheet for part numbers.
Ethernet Communications
• Standard Ethernet adapter.
• Ethernet cable.
CAN Communications
• CAN card. The following CAN card manufacturers are supported:
• Harmonic Drive LLC CAN PCI card (CAN-PCI-02)
• Kvaser
• IXXAT
• CANopen network cable (see data sheet for part number and wiring instructions).
EtherCAT Communications
• Ethernet adapter dedicated to the EtherCAT network.
• EtherCAT network cable, (see data sheet for wiring instructions).
1.2: Overview
Indexing
Point-and-click to define up to 32 indexes or index sequences. Simply select the index/sequence
and command GO. Index sequences can include motion, parameter changes, dwell times and I/O
control. Any parameter can be assigned to a register for efficient control by a PLC. Custom
functions can be provided for complex applications. Install the Java "bean" and fill in the blanks.
Harmonic Drive LLC also provides a flexible OEM programming environment. Harmonic Drive LLC
Virtual Machine assembler/debugger enables the development of fast, compact control program.
Cam Tables
Camming is an effective way to produce repetitive motion synchronized to an external device. A
pre-defined cam-table of slave positions is typically cycled through by a master encoder connected
to the drive. The drive performs linear interpolation between points to minimize cam-table size.
NOTE: The feature descriptions in this manual may not apply to all Harmonic Drive LLC amplifiers
under all configurations. Significant differences between amplifier models are noted. See the
relevant hardware manual or data sheet for more information.
Limits
FILTER
Trajectory Position Velocity Velocity Current Current Motor/
Generator Loop Limiter Loop Limiter Loop Sensors
In velocity mode, the velocity loop drives the current loop. In current mode, the current loop is
driven directly by external or internal current commands.
Loop Description
Attribute
Command Every loop is given a value to which it will attempt to control. For example, the velocity loop
input receives a velocity command that is the desired motor speed.
Limits Limits are set on each loop to protect the motor and/or mechanical system.
Feedback The nature of servo control loops is that they receive feedback from the device they are
controlling. For example, the position loop uses the actual motor position as feedback.
Gains These are constant values that are used in the mathematical equation of the servo loop. The
values of these gains can be adjusted during amplifier setup to improve the loop
performance. Adjusting these values is often referred to as tuning the loop.
Output The loop generates a control signal. This signal can be used as the command signal to
another control loop or the input to a power amplifier.
For more information on using HDM to set up and tune control loops, see Control Loops.
1 Navigate to:
http://www.harmonicdrive.net/support/hdm-downloads
Select HDM to start the download.
2 Navigate to the folder where HDM was downloaded to and extract the contents of
HDM.zip.
3 Run Setup.exe and follow the instructions on the installer screens. We recommend
accepting all default installation values.
Installer
When the installer starts, Windows will display a dialog asking for permission to make changes to
your computer. Click the button to allow the installer to continue, and HDM will be installed
properly.
4 Select Run as Administrator. Click OK to close the Advanced Properties dialog, then OK
to close the Properties dialog.
Double-click the HDM shortcut icon on the Windows desktop to start HDM.
After an amplifier has been selected, the HDM Main Screen looks similar to this:
NOTES:
1. The CAN Card list only shows the CAN cards that are supported by HDM and are
properly installed on the PC.
2. All amplifiers must be set to the same bit rate (default is 1 Mbit/s).
EtherCAT network:
Tool Bar
Icon Name For More Information
Basic Setup Basic Setup
Scope Oscilloscope
Amplifier Properties
Menu Bar
Functional Diagram
The functional diagram, shown below, provides button-click access to most of the screens
used to configure an amplifier. It also indicates the flow of control from input, across all
active control loops, to motor/feedback. Only those control loop buttons that are
appropriate to the amplifier and operational mode appear on the diagram.
CAN Information
The Main screen displays the basic CAN information. The example below shows CAN information:
The Address field shows the amplifier’s present CAN address. For more information, see Network
Configuration . When the Position Loop Input is set to CAN, the State field shows the state of the
amplifier’s CANopen state machine (for more information, see Harmonic Drive LLC Control’s
CANopen Programmer’s Manual).
Status Bar
The status bar describes the present commutation mode, motor type, and amplifier control status
as shown below. It also includes a reminder that pressing the F12 function key while HDM is
running disables the amplifier.
NOTE: To software disable the amplifier at any time while running HDM, press function key F12.
Also, the amplifier’s enable input can be used to disable the amplifier.
HDM can be used while the amplifier is under CAN or EtherCAT control.
However, some extreme changes made with HDM could cause unexpected
or uncontrolled motion.
Failure to heed these warnings can cause equipment damage, injury, or
death.
! Do not spin motors with power off. Voltages generated by a motor can
damage an amplifier.
Failure to heed this warning can cause equipment damage.
WARNING
If necessary, Connect to an Amplifier from the list in the Harmonic Drive LLC
Neighborhood tree.
If the Basic Setup screen does not appear, click the Basic Setup button.
Choose:
OR
On the Motor tab, modify the appropriate Rotary Motor Parameters or Linear Motor
Parameters
On the Feedback tab, as appropriate for each encoder or resolver, verify the parameters
described in Feedback Parameters, Rotary or Feedback Parameters, Linear
Click Calculate to have the software calculate and display initial loop gains and limits.
See Calculate.
or or or
Click the appropriate button to configure the amplifier’s command input.
For more information see Command Inputs.
NOTE: If the amplifier is to run CVM programs or in Camming mode see the relevant
documents.
7 Configure faults
Click Configure Faults to open the Fault Configuration screen and set latching faults as
needed. See Faults.
If the amplifier is equipped with a regen resistor, click Regen Settings to open the Regen
Settings screen. See Configure a Standard Harmonic Drive LLC Regen Resistor for regen
resistor parameters.
Jog/move the motor to verify that the amplifier can drive the motor. See Jog Mode
12 Configure Homing
See Homing
Attach load.
On the HDM Main screen, click Save to Disk (for backup or duplication).
4.1: Overview
The Basic Setup Wizard is used to set up the parameters that define the fundamental
characteristics of the system. This is where the motor, feedback, and operating mode are
setup. The setup can be done three different ways: manually change settings, load settings
from a ccx file, or run the ServoTube setup wizard. Each of these methods are explained in
this chapter.
2 Review settings.
3 Choose:
OR If you have a .ccx file that was prepared for the amplifier/motor
combination, click Load ccx File and see Data Management Tools.
Setting Description
Hall Type Select Hall type: None, Digital, or Analog (Analog is used with Harmonic Drive LLC
ServoTube motors).
Hall Phase Correction If selected, will enable error checking between hall sensors and encoder phase
angle.
Motor Encoder Select type and source of motor feedback.
• None: No motor encoder.
• Primary Incremental: Incremental encoder on primary feedback connector.
• Secondary Incremental: Incremental encoder on multi-mode port.
• Panasonic Incremental A Format
• SSI
• EnDat
• BiSS
• Absolute A
• Tamagawa Absolute A
• Panasonic Absolute A Format
• Panasonic Incremental A Format
• Sanyo Denki Absolute A
• Analog: Analog encoder on primary feedback connector.
• Low Frequency Analog: Harmonic Drive LLC ServoTube motor on primary
feedback connector.
• Resolver: Resolver (–R) version of a Harmonic Drive LLC amplifier on primary
feedback connector.
Additional encoder types are supported by certain Harmonic Drive LLC amplifier
models. See the amplifier data sheet for more information.
Position Encoder Select type and source of Position (load) feedback.
• None: No position encoder.
• Primary Incremental: Incremental encoder on primary feedback connector.
• Secondary Incremental: Incremental encoder on multi-mode Port.
• Analog: Analog encoder on primary feedback connector.
Position Encoder Select the type of Position (load) encoder:
Type • Rotary
• Linear
Use Position Encoder When this is checked, the position of the position encoder will be reported by the
in Passive (Monitor) passive load position variable but it will not be used to control the position of the
Mode axis.
Stepper Drives Only
Motor Encoder Select the encoder type:
• None
• Primary incremental
Run in Servo (Requires encoder.) Amplifier operates as a true, closed loop, servo amplifier controlling
Mode a stepper motor.
Enable Encoder (Requires encoder) Amplifier runs as a stepper drive; encoder feedback is used to
Correction correct positional errors. See Encoder Correction
Setting Description
Operating Choose the mode of operation: Current, Velocity, or Position.
Mode See Control Loops
Command Choose the command input source (see Command Inputs):
Source • Analog Command: Analog voltage provides command input.
• PWM command (current and velocity mode only): Digital pulse-width modulated signal
provides command input.
• Function Generator: Internal function generator provides command input.
• Software Programmed: The amplifier is controlled by software commands from either
the Harmonic Drive LLC Virtual Machine (CVM) or an external source. See Harmonic
Drive LLC Indexer Program User’s Guide or the Harmonic Drive LLC ASCII Interface
Programmer’s Guide.
• Camming: Runs in Camming Mode. See Harmonic Drive LLC Camming User Guide.
• Digital Input: Command input is provided via the chosen Input Source (below).
• CAN: Command input is provided over the CANopen network. See the CANopen
Programmer’s Guide.
Input Source Choose the input source for PWM or Digital input commands:
• Single-ended Inputs: Command input is provided via two of the amplifier’s
programmable digital inputs.
• Multi-mode Port: Command input is provided via differential inputs on the amplifier’s
multi-mode port.
• Differential Inputs: Command is provided via differential inputs.
• High Speed Inputs. Command is provided via two of the amplifier’s high speed inputs.
Setting Description
Commutation Commutation method: Sinusoidal, Trapezoidal, or Estimated Sinusoidal
Use back EMF If selected, will use the motor’s measured back EMF to determine motor velocity.
for Velocity Recommended only for medium- to high-speed. Accuracy depends on the accuracy of
the programmed Back EMF value, and may be affected by factors such as cable
resistance.
Use Halls for If selected, will use transitions of the Hall switches to determine motor velocity and
Velocity and position. Recommended only for medium- to high-speed applications (may run roughly
Position at low speeds).
Multi-mode Selects the mode for the amplifier’s multi-mode port:
Port • Buffered Motor Encoder. The multi-mode port functions as a buffered digital encoder
output based on the digital encoder input.
• Emulated Motor Encoder. The multi-mode port functions as an emulated digital
encoder output based on the motor analog encoder or motor resolver.
• Emulated Position Encoder. The multi-mode port functions as an emulated digital
encoder output based on the position analog encoder.
• Differential Input. The multi-mode port functions as a differential command input.
1 Click ServoTube Setup to start the Basic Setup wizard. Use the Back
and Next buttons to move from screen to screen as needed.
2 Choose the appropriate Series and Model. Optionally choose to Invert Motor
Direction. Optionally choose the Additional Encoder Option (available with certain
motor series) and choose the appropriate resolution for the optional encoder
(1 um or 5 um).
1
Click Motor/Feedback to open the Motor/Feedback screen.
OR
Enter settings manually:
Click the Motor tab to view or change Rotary Motor Parameters or Linear Motor
Parameters
Click the Feedback tab to view or change Feedback Parameters, Rotary or Feedback
Parameters, Linear.
On the Main screen, click Save to Flash to avoid losing the changes.
On the Main screen, click Save to Flash to avoid losing the changes.
Analog In Fundamental Lines, enter the number of fundamental encoder lines (see encoder or motor
data sheet). As indicated by the Fundamental Counts field, the number of fundamental
encoder counts per revolution is equal to 4 x the number of Fundamental Lines.
Optionally modify the encoder resolution by changing the Interpolation value. The
interpolated resolution (Interpolated Counts Per Rev) is the product of Fundamental Counts
value and the Interpolation value.
Resolver Optionally modify the feedback resolution by changing the value in Counts Per Rev. Default:
16384.
Halls With amplifier set to Use Halls for Velocity/Position, optionally increase the counts per rev
ratio by incrementing the Halls Count Multiplier.
Analog Enter the Fundamental Pitch (distance between encoder lines; see encoder or motor data
sheet). As indicated by the Fundamental Resolution field, Fundamental Pitch divided by four
gives Fundamental Resolution. The interpolated resolution is the dividend of Fundamental
Resolution value/Interpolation value. Optionally modify the Interpolated Resolution by
changing the Interpolation value.
Low Frequency Normally used with ServoTube, Pole Pitch is the distance between poles in a pole pair, as
Analog entered in the Magnetic Pole Pair Length field on the Motor tab. The interpolated resolution is
the dividend of Pole Pitch/Counts per pole value, expressed in micrometers. Optionally
modify the resolution by changing the Counts/Pole value. Click Restore Default to restore
default Counts/Pole.
Dual Feedback
Some Harmonic Drive LLC amplifiers can receive position feedback from sensors on the motor,
the load, or both, through the Primary Feedback channel, a Secondary Feedback channel (multi-
mode port) or both. (Some amplifiers can also operate in certain modes without encoders or
resolvers.)
A drive configured with a multi-mode port can:
• Provide a buffered digital encoder output based on the digital encoder input.
• Provide an emulated digital encoder output based on the analog encoder or resolver input.
• Provide a second digital encoder input to be used in the dual encoder position mode. In this
mode, an encoder attached to the load provides position loop feedback, and the motor
encoder or resolver provides velocity loop feedback.
A dual-feedback setup is shown below. The amplifier receives feedback from an incremental motor
encoder through the Primary feedback channel. Position (load) encoder feedback comes through
the multi-mode port. The ratio of motor turns to position encoder turns is 1 to 10.
Parameter Description
Brake/Stop Delay Time Range of accepted values: 0 to 10,000 mS
Brake Activation Velocity Range of accepted values: 0 to encoder resolution dependent limit rpm (mm/s for linear
motor)
PWM Delay Brake/Stop Range of accepted values: 0 to 10,000 mS
Response Time
Motor/Feedback HDM User Guide
Sets the three brake parameters to defaults values, based on the motor data.
2 Verify the peak current limit, continuous current limit, and velocity loop velocity limit.
If one or more of these values seems inappropriate, click Cancel and check: Peak
Torque (or Force), Continuous Torque (or Force), Velocity Limit, and Torque (or Force)
Constant. Correct them if needed. See Rotary Motor Parameters
or Linear Motor Parameters.
If the Motor/Feedback values were correct but the peak current limit, continuous current
limit, or velocity loop velocity limit values are not optimal for the application, change
these limits during the tuning process.
NOTE: When loading motor data from a file, if the motor wiring configuration in the motor
file does not match the configuration currently stored in the amplifier, HDM prompts for
verification on which configuration to use. Select the file configuration by clicking Yes.
The configuration will be tested as part of Motor Phasing.
4 On the Main screen, click Save to Flash to avoid losing the changes.
CHAPTER
6: DIGITAL INPUTS AND OUTPUTS
HDM User Guide Motor/Feedback
A typical screen is shown below. Options vary with model and configuration.
Parameter Description
Pull up +5 V Pulls up the group of inputs up to internal +5 V.
Pull down Pulls the group of inputs down to internal signal ground.
Debounce Specifies how long an input must remain stable at a new state before the amplifier recognizes the
Time state. Increase to prevent multiple triggering caused by switch bounce upon switch closures.
Range: 0 to 10,000 mS.
Debounce does not affect inputs that have been configured as PWM, Pulse and Direction, or
Quadrature control inputs.
IN1- INn Select the function for the input.
CAUTION: If the amplifier is switched back to current or velocity mode with this option
selected, the limit switches will no longer function
Restore Defaults Restores all inputs and outputs to factory defaults.
Depending on the mode of operation, some inputs may have a predefined function such as enable
or motor temperature sensor. Typically IN1 is defined as an enable input.
A typical Digital Outputs screen is shown below. Options vary with model and configuration.
Choose Custom Event for the output configuration, then click Configure Custom to
open the Event Triggered Output screen.
2 Select one or more events from the list. Selections are OR’ed together, so that any
event will cause the output to go active.
The Clear button clears all selections.
Event Description
Amplifier Fault A latched fault is active.
Amp Over Temperature For descriptions of these fault events, see Faults
Motor Phasing Error
Feedback Error
Motor Over Temperature
Under Voltage
Over Voltage
Short Circuit
Current Limited The current output is being limited by the I2T Algorithm or a latched current fault
has occurred.
Voltage Limited Current loop is commanding the full bus voltage in an attempt to control current.
Commonly occurs when the motor is running as fast as the available bus voltage
will allow.
Positive Limit Switch Axis has contacted positive limit switch.
Negative Limit Switch Axis has contacted negative limit switch.
Amp Disabled by Hardware Amplifier enable input(s) is not active.
Amp Disabled by Software Amplifier is disabled by a software command.
Attempting to Stop Motor The amplifier, while in velocity or position mode, has been disabled.
In velocity mode, amplifier is using the Fast Stop Ramp described in
Velocity Loop Limits. In position mode, the amplifier is using the Abort Deceleration
rate described in Trajectory Limits.
The output remains active until the amplifier is re-enabled.
Motor Brake Active Motor brake activated.
PWM Outputs Disabled The amplifier’s PWM outputs are disabled.
Positive Software Limit Actual position has exceeded the positive software limit setting.
See Homing.
Negative Software Limit Actual position has exceeded the negative software limit setting.
See Homing
Following Error Following error has reached programmed fault limit.
See Following Error Faults
Following Warning Following error has reached programmed warning limit.
See Following Error Faults
Position has Wrapped The position counters have exceeded the maximum range of
31 31
-2 – 2 -1 and have wrapped. Normal amplifier operation is not affected.
OUT3 is configured as a custom event: under voltage and latched, but the Under Voltage
fault on the Configure Faults screen is set to non-latched. The table below shows the
difference in behavior between the output and the drive’s fault reporting.
Choose Custom Trajectory Status for an output and then click Configure Custom to
open the Trajectory Status Triggered Output screen.
2 Select one or more events from the list. Selections are OR’ed together, so that any
event will cause the output to go active.
Status Description
Homing Error Activate output if an error occurred in the last homing attempt.
Referenced (Homed) Activate output if the most recent homing attempt was successful.
Homing in Progress Activate output when a homing move is in progress.
Move Aborted Activate output if move is aborted.
Trajectory Generator Activate output while trajectory generator is generating a move.
Running
Camming Buffer Error A camming buffer error has occurred.
3 Choose Output Active High to have the output go high when active or Output Active Low
to have the output go low when active.
Choose Custom Position Triggered Output for an output and then click Configure
Custom to open the In Position Triggered Output screen.
2 Select one of the configurations described below and enter appropriate values for the
parameters.
Configuration Description and Parameters
In Position Activates the output while the axis is in the window between the programmed Upper
Window and Lower positions.
Trigger at Position Activates the output for the programmed Time when the axis travels through the
programmed Position.
Trigger Positive Activates the output for the programmed Time when the axis travels in the positive
Motion direction through the programmed Position.
Trigger Negative Activates the output for the programmed Time when the axis travels in the negative
Motion direction through the programmed Position.
3 Choose Output Active High to have the output go high when active or Output Active Low
to have the output go low when active.
4 In stepper mode with no encoder, choose Use Limited Position. Otherwise choose Use
Actual Position.
Analog Output
The Analog Output has two modes of operation, Manual and Actual Current.
When Manual is chosen the output is set to the programmed value, +/- 5V, entered in mV.
When Actual Current is chosen the output value is proportional to the actual motor current.
Parameter Description
Scaling Current mode: output current produced by +10 Vdc of input.
Range: 0 to 10,000,000 A. Default: Peak Current value.
Velocity mode: output velocity produced by +10 Vdc of input.
Range: 0 to 100,000 rpm (mm/sec).
Default: Maximum Velocity value.
Position mode: position change (counts or mm) produced by +10 Vdc of input.
Range: 0 to 1,000,000,000 counts.
Default: 1 Revolution of a rotary motor or 1 pole pair distance for a linear motor.
For more information, see Scaling
Dead Band Sets dead band. Range: -10,000 to 10,000 mV. Default: 0.
For more information, see Dead Band
Invert Command Inverts polarity of amplifier output with respect to input signal.
Offset (Current and Velocity modes only.) Used to offset input voltage error in an open loop system. Not
recommended for use when the amplifier is part of a closed loop system.
Range: -10,000 to 10,000 mV. Default: 0. For more information, see Offset
Scaling
The magnitude of the command generated by an input signal is proportional to the input signal
voltage. Scaling controls the input-to-command ratio, allowing the use of an optimal command
range for any given input voltage signal range.
For example, in current mode, with default scaling, +10 Vdc of input generates a command equal
to the amplifier’s peak current output; +5 Vdc equals half of that.
Scaling could also be useful if, for example, the signal source generates a signal range between 0
and +10 Vdc, but the command range only requires +7.5 Vdc of input. In this case, scaling allows
the amplifier to equate +7.5 Vdc with the amplifier’s peak current (in current mode) or maximum
velocity (in velocity mode), increasing the resolution of control.
Dead Band
To protect against unintended response to low-level line noise or interference, the amplifier can be
programmed with a “dead band” to condition the response to the input signal voltage. The amplifier
treats anything within the dead band ranges as zero, and subtracts the dead band value from all
other values. For instance, with a dead band of 100 mV, the amplifier ignores signals between –
100 mV and +100 mV, and treats 101 mV as 1 mV, 200 mV as 100 mV, and so on.
200
100
Dead Band
Output
-100
-200
-200 -100 0 100 200
Input
Offset
To remove the effects of voltage offsets between the controller and the amplifier in open loop
systems, HDM provides an Offset parameter and a Measure function. The Measure function takes
10 readings of the analog input voltage over a period of approximately 200 ms, averages the
readings, and then displays the results. The Offset parameter allows the user to enter a corrective
offset to be applied to the input voltage.
The offset can also set up the amplifier for bi-directional operation from a uni-polar input voltage.
An example of this would be a 0 to +10 Vdc velocity command that had to control 1000 rpm CCW
to 1000 rpm CW. Scale would be set to 2000 rpm for a +10 Vdc input and Offset set to -5V. After
this, a 0 Vdc input command would be interpreted as -5 Vdc, which would produce 1000 rpm CCW
rotation. A +10 Vdc command would be interpreted as +5 Vdc and produce 1000 rpm CW rotation.
Parameter Description
Scaling Current mode: output current at 100% duty cycle.
Range: 0 to 10,000,000 A. Default: Peak Current value.
Velocity mode: output velocity at 100% duty cycle.
Range: 0 to 100,000 rpm (mm/sec).
Default: Maximum Velocity value.
PWM Input Type One wire 50% or two wire 100% with direction.
Options Invert PWM input: Inverts the PWM logic.
Allow 100% output: Overrides the 100% command safety measure.
See Failsafe Protection from 0 or 100% Duty Cycle Commands
Invert Sign Input: In 100% duty cycle mode, inverts the polarity of the directional input.
The command can be inverted so that increased duty cycle commands negative output and vice
versa.
PWM Input
Direction Input
Max +
Amplifier Output 0
Min -
Parameter Description
Control Input Pulse and Direction: One input takes a series of pulses as motion step commands, and
another input takes a high or low signal as a direction command.
Pulse Up / Pulse Down: One input takes each pulse as a positive step command, and
another takes each pulse as a negative step command.
Quadrature: A/B quadrature commands from a master encoder (via two inputs) provide
velocity and direction commands.
Increment position on Rising Edge: Increment position on the rising edge of the input pulse.
Falling Edge: Increment position on the falling edge of the input pulse.
Stepping Resolution Input Pulses: Number of Input Pulses required to produce output counts.
Range: 1 to 32,767. Default: 1.
Output Counts: Number of Output Counts per given number of input pulses.
Range: 1 to 32,767. Default: 1.
Invert Command When selected, inverts commanded direction.
Pulse Smoothing
In digital position mode, the amplifier’s trajectory generator can be used to create trapezoidal
profiles, with programmed acceleration, deceleration and velocity, from a simple pulse train or
burst of pulses. To bypass the trajectory generator while in digital or analog position modes, set
the maximum acceleration to zero. The only limits in effect will now be the velocity loop velocity
limit and the current limits. (Note that leaving the maximum acceleration set to zero will prevent
other position modes from operating correctly.)
Pulse Input
Direction Input
Velocity
Command
The amplifier can be set to increment position on the rising or falling edge of the signal. Stepping
resolution can be programmed for electronic gearing.
Up Input
Down Input
Velocity
Command
The amplifier can be set to increment position on the rising or falling edge of the signal. Stepping
resolution can be programmed for electronic gearing.
Quadrature
In quadrature format, A/B quadrature commands from a master encoder provide velocity and
direction commands, as shown below.
A Input
B Input
Velocity
Command
Programmed Position
Setting Description
Move Relative or Absolute.
Type Trap or S-Curve.
Distance Move distance (relative) or location (absolute)
Programmed Velocity
Setting Description
Programmed Velocity Move velocity. Units: rpm (rotary) or mm/s (linear).
Programmed Current
Setting Description
Programmed Current Current applied during the constant velocity portion of the move. Units: A.
Current Ramp Acceleration/deceleration current. Units: mA/s.
A CANopen network can support up to 127 nodes. Each node must have a unique and valid
seven-bit address (Node ID) in the range of 1-127. (Address 0 should only be used when the
amplifier is serving as a HDM serial port multi-drop gateway.)
1 Verify that the CAN network has been cabled and terminated as per amplifier documents.
2
Click CAN Configuration to open the CAN Configuration screen. (If CAN is
not the Position Loop Input, choose AmplifierNetwork Configuration instead.)
3 Choose network type (CAN or DeviceNet). This is optional for some drives.
4 Choose a Bit Rate and choose any combination of address sources (Switch, Inputs, and
Programmed Value). The address is the sum of the values from these sources.
5 For each source selected, perform the additional steps described below.
Source Additional Steps
Use Switch Verify the S1 switch setting. (Assigns values for Bit 0 – Bit 3 of CAN address.)
Use Inputs Enter Number of Inputs, then choose inputs to represent each CAN address bit.
Use Programmed Value Enter the Programmed Value.
6 Click Save & Reset to save changes to amplifier flash, close the screen, and reset the
amplifier. Click Save & Close to save changes to amplifier flash without resetting.
NOTE: Address and bit rate changes take effect only after power-up or reset.
A Delta Tau PMAC card can hold up to four MACRO IC’s, each of which is a master on a MACRO
ring. Each master IC can address 16 stations (nodes, slaves), enabling the addressing of up to 64
devices on a ring. Of these, 32 can be motion devices such as Xenus XML. A node address is an
8-bit value with bits 7-4 addressing the master IC and bits 3-0 addressing the slave.
XML switch S1 is set to select the master IC to which the Xenus will be linked. The four possible
values for this setting are 0,1,2, and 3.
As a MACRO station or node the XML has eight available addresses as a motion control device.
These are 0,1,4,5,8,9,12, & 13.
2 Select AmplifierNetwork Configuration from the HDM Main Screen to open the MACRO
Configuration screen as shown in the following example.
Parameter Description
Scaling Input Command Current mode: output current produced by +10 Vdc of input.
Range: 0 to 10,000,000 A. Default: Peak Current value.
Velocity mode: output velocity produced by +10 Vdc of input.
Range: 0 to 100,000 rpm (mm/sec).
Default: Maximum Velocity value.
Heart Beat Time Out The frequency at which the drive will produce heartbeat messages. This parameter
may be set to zero to disable heartbeat production.
Home Status Bit Use Motor Encoder index: Return the primary encoder index state in the home
status bit of the MACRO status word.
Use Home Input: The state of any general purpose input configured as a home
input will be returned in the home status bit of the MACRO status word.
Auxiliary Data Registers Defines what type of additional data is transmitted in the Auxiliary data registers of
every MACRO response message.
First Register: Digital input Value, Secondary Analog Input Value.
Second Register: Analog Input, Motor Encoder, Position Encoder.
Enable Position Output When selected, position data sent over the MACRO network is shifted up 5 bits to
Scaling be compatible with Delta-Tau controllers.
Enable MACRO Network Allows the drive’s PWM frequency to be adjusted to allow synchronous operation
Synchronization with the MACRO ring. Note that changing the PWM Frequency will affect the
Current Loop Frequency current loop tuning. Therefore, current loop tuning will need to be checked.
Active Network Required If selected, drive will not enable if network is not active.
for Amp to Enable
HDM User Guide Network Configuration
An EtherCAT network enables high-speed control of multiple axes while maintaining tight
synchronization of clocks in the nodes. Data protocol is CANopen over EtherCAT (CoE) based on
DSP-402 for motion control devices.
Stations on EtherCAT are automatically addressed by their bus location. The first drive on the
network is station address -1. The second is -2, and so on.
As an alternate to the default addressing, switches S1 and S2 may be used to program a station
alias. The default address and station alias are always available. If the switch-based station alias is
used, it is the responsibility of the user to ensure that each drive has a unique station alias.
2 Verify the S1 and S2 switch settings select AmplifierNetwork Configuration from the HDM
Main Screen to open the EtherCAT Settings screen as shown in the following example.
CHAPTER
9: FAULTS
Command Inputs HDM User Guide
9.1: Overview
Latched vs Non-latched Faults
When a fault is configured to be latched, the fault can only be cleared after the fault has
been corrected and at least one of the following actions has been taken:
• Power-cycle the amplifier
• Cycle (disable and then enable) an input that is configured as
Enable with Clear Faults or Enable with Reset
• Open the Control Panel and press Clear Faults or Reset
• Clear the fault over the CANopen network or serial bus
A non-latched fault will be cleared when the fault condition has been removed. This can
occur without operator intervention.
Example
The drive’s temperature reaches the fault level. The drive reports the fault and disables the
PWM output. Then, the drive temperature falls below the fault level.
1
Click the Configure Faults button on the Main screen.
4 On the Main screen, click Save to Flash to avoid losing the changes.
1 Verify that the Enable Input is not activated and that HV or AC power is applied.
NOTE: If an output is configured as a brake you can temporarily release the brake by
holding down the Release Brake button. The brake will be reactivated when you
release the button.
8 Click Start to begin the Phase Count Test. Observe status messages. See the prompt:
If motor did not turn 1 full turn, click No and see Phase count test.
If motor turned 1 full turn, click Yes.
10 For a resolver (–R) version of a Harmonic Drive LLC amplifier, skip to Step 12.
For a non-resolver amplifier, click Next to open the Hall Wiring Setup screen.
11 Click Start to begin the Halls wiring setup. The message area displays the messages:
Microstepping. Test Complete. Motor has been properly phased.
During microstepping, a current vector is applied to the motor windings and
microstepped through an electrical cycle at a set rate, causing the motor to move. As
the motor moves the Hall lines are decoded for proper commutation.
If the step fails, see Halls wiring setup.
12 For a resolver (-R) version of a Harmonic Drive LLC amplifier, click Next to open the
Resolver Phase Angle Setup screen.
13 Click Start to start the resolver phase angle setup. The message area displays status
messages.
14 Click Finish to close the screen and save values to flash memory
15 If the Auto Phase algorithm does not produce desired results, try adjusting the Auto
Phase Current and Increment Rate values, using the guidelines in
Tips for Auto Phase Current and Increment Rate.
16 If desired results are not obtained, or to confirm results, proceed to Manual Phase
If the auto phase procedure fails despite these corrective measures, see Manual Phase
3
Verify the Current setting before enabling the drive.
To control the current vector rotation, command the motor forward or reverse.
NOTE: Some motors have bearings stiction, so helping the motor with mechanical force
is acceptable. Motors with no friction may need friction added to steady motion.
5 If the motor cannot keep up with the rate of vector rotation, then reduce the Increment
Rate or increase the Current.
7 Verify actual position count agrees with direction of rotation: increasing counts in
forward direction and decreasing counts in reverse direction. If it does not, toggle the
Motor Feedback Invert Input box setting.
8 If the motor has no Halls, skip to Phase Initialization for Motor without Halls.
9 Monitor the vector rotation through one electrical cycle for proper Hall transitions:
Verify that the red indicator rotates in the same direction as the motor phase angle,
and that the transition occurs when the needle is between indicators (±30 degrees, as
shown below).
If the needle and Hall states do not track properly, use the Hall Wiring list box and/or
Invert Input options (shown below) to swap the amplifier’s Hall wire configuration.
If the red indicator transition leads or lags behind the centered needle by more than
30 degrees, then try adjusting the Hall Offset in +/- 30 degree increments:
The Phase Initialization function uses as little motion as possible (less than 1/3 of one electrical
cycle) to determine phasing. Phase Initialization drives the motor in open loop current mode, using
microstepping of a current vector.
1 Ensure that the motor is free to move (for instance, make sure the brake is OFF).
2 Ensure that no external force, such as gravity, will cause the motor to move. If it is not
practical to eliminate such forces, it may be necessary to use the Forced Phase feature
later in this procedure.
3
To phase a motor with an encoder and no Halls, click Initialize Phase.
Observe the status messages under Monitor.
4 If the message “Phase Initialized” appears, the phasing of a motor with encoder and no
Halls is complete. Click OK to close the Manual Phase window.
5
If the phasing function fails (for instance, message “Phase
Initialized” is not displayed, or if a phasing fault is
indicated) adjust the phase initialization settings described
below and try Step 4 (Initialize Phase) again.
Setting Description
Time Used first as a delay, allowing amplifier to ramp up current to drive a small move.
Then used as a settling time. If the value is too low, the settling may not occur in
time, possibly resulting in jerky motion. Default: 400 ms.
Current Use to overcome stiction when rotating current vector. If the current is too large,
motion may not settle; a low value may not provide enough current to drive a move.
Forced Phase When selected, Forced Phase causes the Phase Initialization function to apply
Phase Init Current to alternate pairs of motor wires using the Phase Init Time.
Forced Phasing has been used to overcome various phasing problems, including
situations where gravity introduces unwanted motion. Forced Phasing tends to
produce more jerk and apparent motion.
Increment Phase 90 If set, the amplifier will increase the starting phase angle by 90 degrees after every
deg failed initialization attempt.
Use Offset If set, the amplifier uses the Hall Offset value as the initialization starting angle.
To control the current vector rotation, command the motor forward or reverse.
NOTE: Some motors have bearings stiction, so helping the motor with mechanical force
is acceptable. Motors with no friction may need friction added to steady motion.
4 If the motor cannot keep up with the rate of vector rotation, then reduce the Increment
Rate or increase the Current.
5 Verify that pressing forward button moves motor forward. If it does not, toggle the Motor
Invert Output box setting.
6 Verify actual position count agrees with direction of rotation: increasing counts in
forward direction and decreasing counts in reverse direction. If it does not, toggle the
Motor Feedback Invert Input box setting.
7 Adjust Resolver Offset configuration as required, testing Fwd and Rev, to produce
alignment of Motor Phase Angle with Resolver Angle as shown here.
Note: Motor manufacturers typically align the resolver in 30 degree increments, typically
by applying current through a pair of motor power wires.
Parameter Description
Peak Current Limit Used to limit the peak phase current to the motor. Max value depends upon the
amplifier model; Min value > continuous limit.
2 2
I T Time Limit Sets I T Time Limit in ms. See I2T Limit Algorithm.
Continuous Current Limit Used to limit the Phase Current. Max Value is < Peak Current and depends upon
the amplifier model. Min value: 0
Current Loop Offset Sets current loop offset. Leave it set to zero until after tuning. For more
information, see Offset
Cp Current loop proportional gain. Range 0 – 32,767.
Ci Current loop integral gain. Range 0 – 32,767.
Drive Output Maximize Smoothness: Amplifier uses circular vector limiting to produce smooth
operation even into the voltage limits.
Maximize Speed: Allows for slightly more of the bus voltage to be used when in
the voltage limit. This may produce a small disturbance at top speed.
Enable Bus Clamping
Auto Tune See Current Loop Auto Tune
Bandwidth Measure bandwidth using the Cp and Ci values now in the amplifier.
NOTE:
1. During tuning, observe any warnings or faults that appear in the status bar of the
scope.
2. Some users prefer the Auto Tune feature. See Current Loop Auto Tune (p. 121).
1
Click the Scope Tool.
2
Choose Current from the Function Generator Apply To:
list.
4
Verify that the Amplitude value is not excessive for the motor.
5 Click Start.
9 On the Main screen, click Save to Flash to avoid losing the changes.
1
Click I Loop to open the Current Loop screen:
3 Click Auto Tune to open screen and start the Current Loop Auto Tune.
4 To Change the Auto Tune Current, Press Stop, enter the new current in the Auto Tune
Current field, and then press Start.
Uses a frequency sweep to determine the small signal, current loop bandwidth.
Displays the results: a set of Cp and Ci alternatives, and the bandwidth measured
using the high Cp and Ci values.
Offset
The current loop offset is intended for use in applications where there is a constant force applied
to, or required of, the servomotor and the system must control this force. Typical applications
would be a vertical axis holding against gravity, or web tensioning. This offset value is summed
with the current command before the limiting stage.
Limits
The current command is limited based on the following parameters:
Limiter Description
Peak Current Limit Maximum current that can be generated by the amplifier for a short duration of time. This
value cannot exceed the peak current rating of the amplifier.
Continuous Current Maximum current that can be constantly generated by the amplifier.
Limit
2
I T Time Limit Maximum amount of time that the peak current can be applied to the motor before it must be
reduced to the continuous limit or generate a fault.
For more details, see I2T Time Limit Algorithm .
Note: Although the current limits set by the user may exceed the amplifier's internal limits, the
amplifier operates using both sets of limits in parallel, and therefore will not exceed its own
internal limits regardless of the values programmed.
Ramp Rate of change in current command. Used to limit jog moves initiated from the Control Panel
Jog function in current mode, and in advanced Indexer Program functions.
Gain Description
Cp - Current loop The current error (the difference between the actual and the limited commanded current) is
proportional multiplied by this value. The primary effect of this gain is to increase bandwidth (or
decrease the step-response time) as the gain is increased.
Ci - Current loop integral The integral of the current error is multiplied by this value. Integral gain reduces the current
error to zero over time. It controls the DC accuracy of the loop, or the flatness of the top of
a square wave signal. The error integral is the accumulated sum of the current error value
over time.
Click the V Loop button on the Main screen (contents vary with model and configuration):
Parameter Description
Velocity Limit Top speed limit. Max value may depend upon the back EMF & the Encoder value.
Min value: 0.
Acceleration Limit Maximum acceleration rate. Max value may depend upon load, inertia, & peak
current. Min value: 1. (Does not apply in position mode.)
Deceleration Limit Maximum deceleration rate. Max value may depend upon load, inertia, & peak
current. Min value: 1. (Does not apply in position mode.)
Tracking Window
See Position and Velocity Tracking Windows
Tracking Time
Vp Velocity loop proportional gain. Range: 0 to 32,767.
Vi Velocity loop integral gain. Range: 0 to 32,767.
NOTE: During tuning, observe any warnings that appear to the left of the trace.
1
Click the Scope Tool.
4
Verify that Amplitude value is not excessive for the motor.
5 Click Start.
9 On the Main screen, click Save to Flash to avoid losing the changes.
Limits:
Velocity
Acceleration* Feedback (Derived Velocity)
Deceleration*
Emergency Stop Deceleration*
*Not used w hen velocity loop is controlled by position loop. See "Velocity Loop Limits" for details.
Inputs
In velocity mode, the velocity command comes from one of the following:
• The amplifier’s analog or PWM inputs.
• A CANopen network via the amplifier’s CAN interface.
• A Harmonic Drive LLC Virtual Motion (CVM) control program.
• The amplifier’s internal function generator.
In position mode, the velocity command is generated by the position loop.
Commanded Velocity
Vel Limit
Limited Velocity
± Tracking Window
Tracking
Time
Tracking Window
Output
Parameter Description
Aff Acceleration feed forward. Range: 0 to 32,767. See Trajectory Limits
Vff Velocity feed forward. Range: 0 to 32,767. 100% Vff: 16,384.
Trajectory Limits
Pp Position loop proportional gain. Range: 0 to 32,767. See Trajectory Limits
Gains Multiplier Position loop output is multiplied by this value before going to the velocity loop. In dual
encoder systems, the multiplier’s initial value is calculated based on the ratio of motor
encoder turns to position encoder turns.
Following Error The level (in encoder counts) at which the following error produces a fault, which stops
Fault the servo loop. We recommend raising the fault level before tuning the loop.
See Following Error Faults
Following Error The level (in counts) at which the following error produces a warning (without stopping
Warning the loop). See Following Error Warnings
Change/verify the position wrap parameters as needed. Set both values to zero to
disable position wrapping. Note that the changes do not take effect until OK is pressed.
For more information about this feature, see Position Wrap
Parameter Description
Motor Position Position at which the actual motor position count returns to zero. In a single feedback
Wrap system, it also applies to the actual load position.
Load Position Position at which the actual load position count returns to zero in dual feedback
Wrap systems. If the position encoder is set to passive mode, this value applies to the
passive encoder position.
Parameter Description
Max Velocity Maximum trajectory velocity. Max value may depend upon the back EMF and the Max
feedback count. Min:0. Default: 0.25 x motor velocity limit.
Max Accel Maximum trajectory acceleration. Max value may depend upon the load inertia and
peak current. Min:0. Default: 0.5 x velocity loop Accel. Limit value.
Max Decel Maximum trajectory deceleration. Max value may depend upon the load inertia and
peak current. Min:0 (disables limit). Default: 0.5 x velocity loop Accel. Limit value.
Abort Decel Deceleration rate used by the trajectory generator when motion is aborted. Min:0.
Default: 0.5 x velocity loop Accel. Limit value.
Jerk Rate of change of acceleration. The value of jerk set during the calculate procedure
produces an S-Curve whose maximum slope is equal to the trajectory profile slope.
This value will produce a maximum acceleration that is not more than the initial default
value of acceleration. Small values will produce less jerking but will take longer to
complete move. Large values will produce more jerking and a more trapezoidal profile
but will complete the move faster.
Note that setting limits to zero disables the trajectory generator so that the command input is not limited by
the generator. Velocity is only limited by the Velocity Limit set in the Velocity Loop.
NOTE: During tuning, observe warnings that appear to the left of the trace.
1
Click the Scope Tool.
2
Select the Profile tab.
3 On the Settings tab, make sure Auto Setup is selected. Auto Setup
automatically sets the following parameters:
Profile Tab
Move Relative
Type Trap
Distance 2000 counts
Reverse and repeat Not selected
Settings Tab
Channel 1 Profile velocity (green)
Channel 2 Following error (white)
4
If the Auto Setup default profile distance is not
appropriate, enter an appropriate short distance.
5 Click Start. The Profile Generator executes a short move.
NOTES:
• The profile may not reach constant velocity during a short move.
• If a following error occurs, open the Control Panel and click Clear Faults.
and
Set up a trapezoidal profile by setting the trajectory limits and distance. See table:
10 Tune to multiple sets of profiles representing typical moves that might be executed in
the application. Starting with Step 6, repeat the process as needed.
3 Click Start.
4 Try multiple sets of profiles representing typical moves that might be executed in the
application. Starting with Step 2, repeat the process as needed.
Position Loop
Profile Velocity
Velocity Feed Forw ard (Vff)
+
Target Trajectory Profile Acceleration + Gain Velocity
Position Ge ne rator Acceleration Feed Forw ard (Aff)
Multiplier Command
Limited Position + +
Position Proportional Gain (Pp)
-
Limits:
Max velocity
Feedback from motor encoder or resolver
Max accel
Max decel
from optional position encoder (on load)
Abort decel
Trajectory Limits
In position mode, the trajectory generator applies these limits to generate the profile.
Limiter Description
Maximum Velocity Limits the maximum speed of the profile.
Maximum Acceleration Limits the maximum acceleration rate of the profile.
Maximum Deceleration Limits the maximum deceleration rate of the profile.
Abort Deceleration Specifies the deceleration rate used by the trajectory generator when motion is
aborted.
Position Wrap
The position wrap feature causes the position reported by the amplifier to “wrap” back to zero at a
user-defined value instead of continually increasing. Once set, the reported position will be
between 0 and n-1 where n is the user entered wrap value. This feature is most useful for rotary
loads that continually turn in one direction and only the position within a revolution is of interest to
the user.
Relative moves with the wrap value set will move the relative distance called for. Example; if the
wrap value is set to 1000 and a relative move of 2500 is commanded, the axis will turn 2 ½
revolutions.
Absolute moves will move the shortest distance to arrive at the programmed position. This could
be in the positive or negative direction. Moves programmed to a point greater then the wrap value
will cause an error.
Make sure motor is mounted firmly and verify accuracy and completeness of
!
motor data.
Failure to heed this warning can cause equipment damage, injury, or death.
DANGER
At any point, use Back to return to the previous screen. Use Skip to tune the velocity loop
without tuning the current loop, or to tune the position loop without tuning the velocity loop.
1 Verify the motor is mounted firmly. Also verify the accuracy and completeness of the motor
settings.
Current Loop
2 Make sure the amplifier’s Basic Setup and Motor Phasing procedures have been
performed, and that the system is capable of a 10 mm move.
The status indicator is blue when the amplifier is ready for tuning.
4 Verify the Initial Move Positive setting. In most cases, this option should be set. If positive
initial motion is not possible, you can specify negative initial motion by clearing this option.
For instance, negative initial motion may be used when a vertical axis is at the bottom of
the motion range and the positive direction is down.
5 Click Start to tune the current loop. During tuning, the status indicator is amber.
Cp and Ci values change as the text in the status box gives progress updates.
When the current loop has been tuned, the status indicator turns green, and the status box
contains instructions for the next step.
Velocity Loop:
6 Move the motor to the center of its motion range. To use a jog move:
Set the Enable Jog option.
Optionally adjust the jog speed
Jog the motor in either direction to move it to the center of its motion range.
9 Click Start to tune the velocity loop. During tuning, the status indicator is amber.
Vp and Vi values change as the text in the status box gives progress updates.
When the velocity loop has been tuned, the status indicator turns green, and the status box
contains instructions for the next step:
Position Loop:
12 For a trapezoidal profile, optionally optimize the tuning along the scale between Best
Settling (for quicker settling) and Best Following (for less following error).
13 Click Start to tune the position loop. During tuning, the status indicator is amber.
Pp, Vff, and Aff values change as the text in the status box gives progress updates.
When the position loop has been tuned, the status indicator turns green, and the status box
contains instructions for the next step:
15 Click OK.
12.1: Overview
The Homing screen allows homing to be configured and tested. Changes made to this screen get
saved to amplifier RAM. On amplifiers configured for Absolute encoders, calibration can be
performed.
Click the Home button on the Main screen to open the Home screen
Parameter Description
Software limits: Positive Position of user-defined travel limits that take effect after homing
Software limits: Negative operation.
Software limits: Deceleration rate used to stop a motor when approaching a software
Deceleration Rate limit.
Software limits: Disable Disables the use of software limits by setting both limits to zero.
Method Homing method. See Homing Method Descriptions
Direction of Motion Initial direction of motion for the homing method (Pos or Neg).
Fast Velocity The velocity used to find a limit or home switch. Also used when
moving to an offset position, or a resolver or Servo Tube index position.
Slow Velocity The velocity used to find a switch edge, incremental or analog encoder
index pulse, or hard stop.
Accel/Decel The acceleration and deceleration rate used during homing.
Offset Execute a move of this distance after the reference is found. Set actual
position to 0 and call the new position home.
Current Limit Hard stop home is reached when the amplifier outputs the homing
Current Limit continuously for the time specified in the Delay Time.
Current Delay Time
Following Warning Shows the programmed following warning level.
Actual Current Shows actual current being applied to windings during homing.
Actual Position Shows the actual position of the axis.
Homing Adjustment Shows the Home offset measured after homing is performed.
Test without home Selecting this option and pressing the Home Button tests the adjusted
adjustments home position without making any changes to the saved home position.
The resulting homing offset is reported in the Homing Adjustment text
field.
Starts the homing sequence using the settings shown on the screen.
When absolute encoders are used, the absolute encoder value that corresponds to the zero
position in the machine’s reference frame is saved to flash memory in the drive. This value is then
added to the absolute encoder reading so that all position measurements are in absolute units in
the machine’s coordinate system. Movement of the motor to ‘find’ the machine’s reference point is
not necessary. This process is called calibration because it’s done once when the machine and
drive are commissioned together and does not need to be repeated until the encoder is changed,
or adjustment of the machine-zero location is changed.
Note: This feature is only available on the Plus family of drives with a minimum firmware version
of 2.00.
Mechanical Homing
Mechanical homing is the process of moving the motor to the position that is machine-zero. This is
the location from which all dimensions are absolute in the machine’s position reference frame.
Calibration
Calibrating the encoder involves saving the absolute position at machine-zero to the drive’s flash.
This value will be saved as a negative number and added to the absolute encoder positions
thereafter by the firmware to convert them to machine absolute values. This value is stored in the
Home Offset parameter. HDM provides a single button-click operation to perform this calibration.
The Homing Adjustment field on the Home screen will show the offset value saved in flash. Once
the calibration is complete, the Calibrate button will be disabled until another home sequence is
run by clicking the Home button. To remove the calibration, change the Home Method from
Absolute Encoder Immediate Home to some other method, and run the home sequence.
Red if fault
is active
Yellow if warning
is active
Message box
Control functions
Indicator States/Description
Safety State of the safety circuit. Enabled or HI/LO disabled. On amplifiers with safety circuit.
Motor Output State of the PWM output stage. Red if the output stage is inactive (disabled)
Hardware Enabled State of the hardware enable input(s). Red if one or more enable inputs are inactive.
Software Enabled State of the software enable. Red if the amplifier is disabled by software.
Positive Limit State of the positive limit switch input. Red indicates an activated positive limit switch.
Negative Limit State of the negative limit switch input. Red indicates an activated negative limit switch.
Software Limits State of the software limits. Red indicates an activated software limit.
Motor Phase Indicates a motor phasing error. Red indicates a motor phasing error exists.
Motion Abort Input State of the programmed Motion Abort Input. Red indicates the input is active.
CVM Control Status of the CVM Control Program.
Program
Home Indicates whether the axis has successfully been referenced (homed).
CAN Status Status of the CAN Bus. Yellow indicates CAN warning limit reached. Red indicates bus
error detected.
Gain Scheduling Indicates whether Gains Scheduling is active.
Indicates that a fault is active. Check the status message box for a description of the
most recent fault: .
Check the Error Log for a full history of faults and warnings.
Indicates that a warning is active. Check the status message box for a description of the
most recent: .
Check the Error Log for a full history of faults and warnings.
Message Box Displays status descriptions.
Monitor Variables
Actual Current Following Error Passive Load Position
Actual Motor Velocity Commanded Current Limited Position
Actual Motor Position Commanded Velocity Analog Command
Actual Load Velocity Commanded Position Bus Voltage
Actual Load Position Profile Velocity Amplifier Temperature
Velocity Error Profile Acceleration Motor Phase Angle
Mode: Displays the amplifier’s operating mode in RAM. In camming mode it also displays the
active cam table number
The Control area of the screen provides functions related to overall amplifier control. The screen
options vary with model and configuration.
Control Description
Enable Click to software enable the amplifier.
Disable Click to software disable the amplifier. This will also stop any CVM programs that
are running.
Set Zero Position Click to set the amplifier’s actual position counter to zero.
Clear Faults Click to clear all amplifier faults.
Reset Click to reset the amplifier.
! Using the HDM Set Zero Position function while the amplifier is
operating under external control could cause unexpected or
uncontrolled motion.
WARNING
Failure to heed this warning can cause equipment damage.
14.1: Overview
The Oscilloscope can be used to tune the amplifier, monitor performance, and perform
diagnostics. Function Generator and Profile Generator can drive the motor without external control.
Auto Set Up feature sets typical initial values for scope parameters.
File Menu
The File menu contains the options to save/restore scope settings. This feature is useful for saving
custom settings used for tests that are run frequently.
File Menu
Save Settings Saves current scope settings to a file
Restore Settings Restores settings from a file
Display
To access the Trace Display menu, Right-click in the trace display area.
1 Hold the left mouse button down while dragging a box around the area of interest.
2 Release the button to let the display zoom in on the selected area.
3 To restore the normal zoom level immediately, left-click anywhere on the trace.
(Normal zoom level is also restored when the next trigger event occurs.)
Controls
Action Description
Save a trace. See Scope Trace Files
Clears the trace from the screen and trace data from buffer
Function Description
Auto Setup When selected, the scope will be set up based on the setting for either the Function or Profile
Generator (whichever is active).
Single Trace When selected only one trace will be collected and displayed, otherwise a new trace will be
started as soon as the current trace is displayed.
Auto Scale Lock When displaying the trace data, the scope will automatically scale the vertical axis for optimal
viewing. When Auto Scale Lock is selected, the y-axis scale will be locked at its current
setting.
Trace Time This is the total amount of time the trace is recorded.
Sample Rate The rate at which each sample is collected. When tracing multiple channels, all channels are
collected at approximately the same time.
The Function generators can provide inputs to the different control loops for tuning and diagnostics
purposes without using an external control source.
The Start button starts the function or profile generator. The Stop button stops the generator and
aborts any profiles in progress.
Parameter Description
Apply To Control loop to which the Excitation will be applied: Current (available in all modes), Velocity
(available in velocity or position mode), or Position (available in position mode only).
Function Function that will be applied to the control loop selected in the Apply To list box. The choices vary
with the control loop selected:
Selected Control Loop Functions Available
Current Sine Wave, Square Wave, Step Forward, Step Forward and
Reverse, and Impulse
Velocity Sine Wave, Square Wave, Step Forward, Step Forward and
Reverse
Position Sine Wave, Square Wave
Amplitude Amplitude of the command. Units vary depending on the value chosen in the
Apply To field.
Frequency (Sine Wave and Square Wave only.) Frequency of input command cycle.
Period (Step Forward, Step Forward and Reverse, and Impulse only.) Duration of each input pulse.
Parameter Description
Move Relative: Moves axis a specified distance from the starting position.
Absolute: Moves axis to a specific position.
Type Trap or S-Curve.
Distance Distance for Relative move.
Position Target position for Absolute move.
Reverse and Repeat (Relative move only.) When selected, will continuously generate forward and reverse moves
of the distance specified until Stop is pressed.
Click the Channel button to open the Trace Variable selection screen
Setting Description
Trigger Type Type Condition
Immediate Trigger Trigger as soon as a trace is started (when the Record button is
pressed).
Rising Edge Trigger when the selected channel's input changes from below to
above the trigger level.
Falling Edge Trigger when the selected channel's input changes from above to
below the trigger level
Above Level Trigger as soon as the selected channel's input is greater than or
equal to the trigger level.
Below Level Trigger as soon as the selected channel's input is less than or equal
to the trigger level.
Function Generator Trigger on the start of the next function generator cycle.
Input Level High/Lo Trigger when specified input is high or low
Output Active/Inactive Trigger when specified output is active/inactive
Event Status Rising Trigger on the rising or falling edge of an event status bit.
Edge/Falling Edge
Raw Encoder Signal Triggers when the raw encoder signal is Hi/Lo
Level H/Lo
Trigger On Selects which channel will be used as the trigger source.
Position Selects placement of the trigger event on the screen. (Value is not configurable for Immediate
or Function Generator trigger types.).
• Left for optimal viewing of events following the trigger.
• Middle for optimal viewing of events preceding and following the trigger.
• Right for optimal viewing of events preceding the trigger.
Level Sets the trigger level, in units appropriate to the channel selected.
Event Status Bit With an event status trigger type selected, choose the status bit that will trigger the trace. For
descriptions of the event status word.
Cursors
When Show Cursors is not set, the Cursor Data fields are inactive and the Analysis fields show
calculations based on data from the entire trace cycle.
1
To display cursors and activate the Cursor Data fields, set Show
Cursors.
2 To move a cursor, click on the cursor and hold the left button while dragging the cursor
to the desired location. Release the left button to place the cursor in the new location.
3 To select a parameter to measure and analyze within the cursors, choose a channel in
one of the three channel lists on the Measurement tab:
The Oscilloscope provides convenient access to all of the control loop parameters that might be
used in tuning and diagnosing an amplifier. The user can adjust these parameters and see the
results immediately on the scope. Control loop parameters are accessed through a set of tabs,
shown below.
Note that the parameters represented on these tabs can also be accessed through the screens
used to configure the control loops and the digital position input. Changing a value in the Scope
tool automatically updates the value on the other screens where it appears, and vice versa.
Control loop parameter tab descriptions follow.
Gains Tab
Modes Gains Description For More Information
Pp Position loop proportional gain.
Position mode only Aff Acceleration feed forward. Position Loop Gains
Vff Velocity feed forward.
Position or velocity Vp Velocity loop proportional gain.
Velocity Loop Gains
mode only Vi Velocity loop integral gain.
Cp Current loop proportional gain.
Current Loop Gains
All modes Ci Current loop integral gain.
ECp Encoder Correction Gain (Stepper only) Encoder Correction
Set Zero Position sets the amplifier’s actual position count to zero. For more information, see
Position Loop Setup and Tuning
The format of the .csv and the .txt files are identical except for the separator:
• Column 1: time
• Column 2: Trace Channel 1 data
• Column 3: Trace Channel 2 data (if used)
• Column n: Trace Channel n data (if used)
The trace data is in amplifier units, not user units (see Parameter Dictionary for units).
1 On the Main screen, choose ToolsView Scope Files to open the window.
2 Click Open File. When prompted, select the name of the file you wish to open.
Then, click Open to display the file in the Trace Viewer window.
1
Choose the Configure Filters button from the main screen to open the
Filter Configuration screen.
2 To view present filter settings choose the Filter Settings tab. Choose other tabs to
configure Analog, V Loop, I Loop or Input Shaping settings.
Analog
The Analog tab opens a window that shows analog filter choices and a representative
curve. Modify the settings as needed and press Apply.
Velocity Loop
The V Loop tab opens a window that shows Velocity Loop filter choices and a
representative curve. Modify the settings as needed and press Apply. Selecting Default
will supply a 200 Hz Low Pass filter to the first velocity loop output filter.
Current Loop
The I Loop tab opens a window that shows Current Loop filter choices and a
representative curve. Modify the settings as needed and press Apply.
Notch Filter
Notch filters allow a bandstop in a range between two selectable frequencies. It may be
Butterworth (no ripple), Chebyshev (selectable passband ripple), or elliptical (ripple on both
passband and bandstop).
Example:
Chebychev Filter
A Chebyshev filter has a faster roll-off than a Butterworth filter, but, as a result of the fast roll-off,
ripple is introduced into the passband frequency.
Example:
Elliptic Filter
Similar to a Chebyshev filter but ripple is introduced into both the passband and the stopband. It
has a faster roll-off than a Chebyshev filter.
Example:
Type Description
Zero Vibration Single step inputs are replaced with two step inputs of smaller magnitude. One of
which is delayed by one-half the period of vibration. Sensitive to some modeling
errors.
Zero Vibration and Derivative A zero derivative (of the vibration) constraint is added to Zero Vibration impulse
shaping, thereby reducing modeling errors.
Negative Zero Vibration Faster than positive input shaping (Zero Vibration, and Zero Vibration and
Derivative), but may magnify high frequency vibrations.
Negative Zero Vibration and A zero derivative (of the vibration) constraint is added to Negative Zero Vibration
Derivative impulse shaping.
Custom Time and Amplitude can be set manually.
3 Select the Measurement tab, choose a channel, select Voltage, then Analog Command.
4 Perform a move.
5 After the move is complete, measure Tm (1/Fm), which is the period of mechanical
oscillation.
2 Select the Measurement tab, choose a channel, select Position, then Following Error.
3 Perform a move.
4 After the move is complete, measure Tm (1/Fm), which is the period of mechanical
oscillation.
Amplifier RAM
• Volatile. Contents erased when amplifier is reset or powered off.
• Initial contents read from flash on power-up. Contents then updated in real time to reflect
certain operational conditions and changes entered with HDM software. At any time, the
user can use HDM to restore data from flash into amplifier RAM.
Flash
• Non-volatile. Contents retained when the amplifier is reset or powered off.
• Modified only by using a Save to Flash tool or by closing certain screens (Motor/Feedback,
Basic Setup, Homing, or CAN Configuration), whose contents are automatically saved to
flash upon closing of the screen.
Parameters reside in RAM only, Flash only, or both RAM and Flash. The table below illustrates the
typical parameter locations. Refer to the Parameter Dictionary for information about specific
parameters.
Motor/Feedback Screen
Operations performed using the Motor/Feedback screen data management tools only apply to the
motor/feedback parameters.
Motor/Feedback
data management tools
This feature is useful to clone drives in one step rather than separately loading each file (.ccx, .ccp,
.cct, .ccg). Additionally, the file is in XML format which can be read by some EtherCAT masters.
All of the data read from the file is saved to the drive’s Flash. After all of the data is written, the
drive will be reset, so that the Flash data is copied to RAM.
OR Starting from the Basic Setup screen, click Load ccx File.
When prompted browse to the folder containing the .ccx file and open it.
On the Main screen, click Save to Flash to save the new settings to flash memory.
TIP: When copying amplifier data to multiple amplifiers in a production environment, consider
locking HDM to prevent accidental changes to settings. See Lock/Unlock HDM .
1 On the HDM Main screen, choose FileSave MACRO File to open the MACRO File
Save window:
2 Enter the ID of the MACRO node with the settings you want to save and click OK.
3 When prompted, enter a File Name. If needed, navigate from the default AmpData
folder to another folder where you wish to store the file.
4 Click Save to save the .pmc file in the same folder and close the screen.
The Lock feature of HDM is used to lock out most screens to prevent data from being changed.
NOTES:
• HDM does not support downloading firmware to a node amplifier via a multi-drop gateway
amplifier; a direct connection (serial, CAN, EtherCAT) must be used.
• To check the firmware version currently loaded, click the Amplifier Properties button or
choose HelpAbout.
Tab Contents
Active Type and description of each active fault and warning. The contents of this tab are
automatically refreshed as new events occur.
History Type, description, and time of occurrence of each fault and most warnings since the log was
last cleared. The contents of this tab are not refreshed automatically as new events occur. The
contents are refreshed only when the tab is displayed or when Refresh is clicked.
Frequency Type, description, and frequency of each fault and warning that has occurred since the log
was last cleared. The contents are refreshed only when the tab is displayed or when Refresh
is clicked.
Network Status (Under CAN control only.) Status of CANopen network. Lists warnings and errors.
Saves the contents of the History and Frequency tabs to a text file.
Option Description
Enable Logging When selected, logging is enabled and all communications, with the exception
of status messages, are recorded in the log
Enable Event Status When selected, status messages are included in the log. Note that Show “Get
Logging Variable” Cmnds must also be checked to log Event Status commands.
Show “Get Variable” When selected, “Get Variable” commands are added to the log.
Cmds
Saves the contents of the Communications Log to a text file.
17.1: Overview
Virtual amplifiers can be used for creating amplifier and motor data files off line. A new virtual
amplifier can be created based on a virtual amplifier template file (.ccv) or from an existing .ccx file.
HDM includes a set of .ccv files for each model that is supported.
Select the Virtual Amplifier node from the Harmonic Drive LLC Neighborhood. This
will display the Open Virtual Amplifier screen:
18.1: Overview
The Gain Scheduling feature allows you to schedule gain adjustments based on changes to a key
parameter. For instance, Pp, Vp, Vi, and Current Offset (A) could be adjusted based on changes to
commanded velocity.
Gain adjustments are specified in a Gain Scheduling Table. Each table row contains a key
parameter value and the corresponding gain settings. The amplifier uses linear interpolation to
make smooth gain adjustments between the programmed settings.
Gain scheduling involves the basic steps outlined below. Details follow in the chapter.
Storage Limits
The maximum number of lines that can be stored in the Gain Scheduling Table is 1000. A typical
Gain Schedule Table will contain far fewer lines. The number of Gain Scheduling Table lines is
also limited by the amount of CVM memory space available in the amplifier. A Gain Scheduling
Table shares that space with CVM programs and Camming Tables. Therefore, the maximum
number of Gain Schedule Table lines will decrease if CVM programs or Camming Tables are
stored in the amplifier.
The Gain Scheduling screen Tables tab displays the percentage of amplifier memory used:
4 Select the gains that you wish to adjust by schedule. The choices are Pp, Vp, Vi and
Current Offset (A). For each gain you select, a column will be enabled in the Gain
Scheduling Table.
Action Description
Creates a new table
Restores configuration and table from amplifier flash to PC. This operation
overwrites all data on the Gains Scheduling screen.
2 Click the Create New Table button and enter the number of lines for the table.
4 After all values have been entered, click the Save Table button. This action saves
both configuration and table data.
CHAPTER
19: REGEN RESISTOR
CONFIGURATION
! resistor.
2 Select the model number XTL-RA-03 or XTL-RA-04 and click OK to save the
configuration and close the screen.
Regen Resistor Configuration HDM User Guide
2 Select Custom Resistor and click Configure to enter the custom resistor data. Read the
information displayed and click OK
3 Follow the instructions on step 1 through 5 of the Custom Regen Wizard, then click
Finish.
Overview
The I2T current limit algorithm continuously monitors the energy being delivered to the motor using
the I2T Accumulator Variable. The value stored in the I2T Accumulator Variable is compared with
the I2T setpoint that is calculated from the user-entered Peak Current Limit, I2T Time Limit, and
Continuous Current Limit. Whenever the energy delivered to the motor exceeds the I2T setpoint,
the algorithm protects the motor by limiting the output current or generates a fault.
Algorithm Operation
During amplifier operation, the I2T algorithm periodically updates the I2T Accumulator Variable at a
rate related to the output current Sampling Frequency. The value of the I2T Accumulator Variable
is incrementally increased for output currents greater than the Continuous Current Limit and is
incrementally decreased for output currents less than the Continuous Current Limit. The I2T
Accumulator Variable is not allowed to have a value less than zero and is initialized to zero upon
reset or +24 Vdc logic supply power-cycle.
After each sample, the updated value of the I2T Accumulator Variable is compared with the I2T
setpoint. If the I2T Accumulator Variable value is greater than the I2T Setpoint value, then the
amplifier limits the output current to the Continuous Current Limit. When current limiting is active,
the output current will be equal to the Continuous Current Limit if the commanded current is
greater than the Continuous Current Limit. If instead the commanded current is less than or equal
to the Continuous Current Limit, the output current will be equal to the commanded current.
Application Example
Operation of the I2T current limit algorithm is best understood through an example. For this
example, a motor with the following characteristics is used:
• Peak Current Limit – 12 A
• I2T Time Limit – 1 S
• Continuous Current Limit – 6 A
Plot Diagrams
The plots that follow show the response of an amplifier (configured w/ I2T setpoint = 108 A2S) to a
given current command. For this example, DC output currents are shown in order to simplify the
waveforms. The algorithm essentially calculates the RMS value of the output current, and thus
operates the same way regardless of the output current frequency and wave shape.
2
I T current limit
16
14 I_commanded
12 I_actual
Current (A)
10
8
6
4
2
0
0 1 2 3 4 5 6 7
Tim e (S)
Diagram A
At time 0, plot diagram A shows that the actual output current follows the commanded current.
Note that the current is higher than the continuous current limit setting of 6 A. Under this condition,
the I2T Accumulator Variable begins increasing from its initial value of zero. Initially, the output
current linearly increases from 6 A up to 12 A over the course of 1.2 seconds. During this same
period, the I2T Accumulator Variable increases in a non-linear fashion because of its dependence
on the square of the current.
At about 1.6 seconds, the I2T Accumulator Variable reaches a values equal to the I2T setpoint. At
this time, the amplifier limits the output current to the continuous current limit even though the
commanded current remains at 12 A. The I2T Accumulator Variable value remains constant during
At approximately 3.5 seconds, the commanded current falls below the continuous current limit and
once again the output current follows the commanded current. Because the actual current is less
than the continuous current, the I2T Accumulator Variable value begins to fall incrementally.
The I2T Accumulator Variable value continues to fall until at approximately 5.0 seconds when the
commanded current goes above the continuous current limit again. The actual output current
follows the current command until the I2T Accumulator Variable value reaches the I2T setpoint and
current limiting is invoked.
2
I T Accumulator
120
I2T energy (A 2-S)
100
80
I^2T Setpoint
60
40 I^2T Accumulator
20
0
0 1 2 3 4 5 6 7
Tim e (S)
Diagram B
APPENDIX B
HOMING METHODS
Overview
There are several homing methods. Each method establishes the:
• Home reference (limit or home switch transition or encoder index pulse)
• Direction of motion and, where appropriate, the relationship of the index pulse to limit or
home switches.
Axis
Starting position
H Direction of motion
Home position
H Starting position
Index pulse location
Index Pulse
Positive Limit
Switch
Sw itch inactive Sw itch active
Sw itch transition
Note that in the homing method descriptions, negative motion is leftward and positive motion is
rightward.
Next Index
Direction of Motion: Positive
Home is the first index pulse found in the positive direction. Direction of motion is positive. If a
positive limit switch is activated before the index pulse, an error is generated.
H
Index Pulse
H
Index Pulse
Limit Switch
Direction of Motion: Positive
Home is the transition of the positive limit switch. Initial direction of motion is positive if the positive
limit switch is inactive.
H
Positive Limit
Switch
Negative Limit
Switch
H
Positive Limit
Switch
Index Pulse
Negative Limit H
Switch
Index Pulse
Hardstop
Direction of Motion: Positive
Home is the positive hard stop. Direction of motion is positive. In servo modes, the hard stop is
reached when the amplifier outputs the homing Current Limit continuously for the amount of time
specified in the Delay Time. If a positive limit switch is activated before the hard stop, an error is
generated.
Index Pulse
Index Pulse
Home Switch
Direction of Motion: Positive
Home is the home switch transition. Initial direction of motion is positive if the home switch is
inactive. If a limit switch is activated before the home switch transition, an error is generated.
Home Switch
H
Home Switch
H
Home Switch
Index Pulse
H
Home Switch
Index Pulse
Home Switch
Index Pulse
H
Home Switch
Index Pulse
Lower Home
Direction of Motion: Positive
Home is the negative edge of a momentary home switch. Initial direction of motion is positive if the
home switch is inactive. Motion will reverse if a positive limit switch is activated before the home
switch; then, if a negative limit switch is activated before the home switch, an error is generated.
Home Switch
Positive Limit
Switch
Home Switch
Negative Limit
Switch
Upper Home
Direction of Motion: Positive
Home is the positive edge of a momentary home switch. Initial direction of motion is positive. If the
initial motion leads away from the home switch, the axis reverses on encountering the positive limit
switch; then, if a negative limit switch is activated before the home switch, an error is generated.
Home Switch
Positive Limit
Switch
Home Switch
Negative Limit
Switch
Home Switch
Positive Limit
Switch
Index Pulse
H
Home Switch
Negative Limit
Switch
Index Pulse
Home Switch
Positive Limit
Switch
Index Pulse
Home Switch
Negative Limit
Switch
Index Pulse
H
H
Home Switch
Positive Limit
Switch
Index Pulse
Home Switch
Negative Limit
Switch
Index Pulse
Home Switch
Positive Limit
Switch
Index Pulse
Home Switch
Negative Limit
Switch
Index Pulse
3 Press the Enter key to send the command to the amplifier. Observe the Response field.
If a value is returned, it is preceded by the letter “v.” In the following example, the get
command was used to retrieve the amplifier RAM value of variable 0x32 (actual
position).
Serial
PC, PLC, or HMI SER-CK "Serial Cable Kit" Copley Amplifier CAN
COM port 9pin D-sub RJ11 CAN Port
for ASCII Control with ASCII RS-232 ADDR
for RS-232
0
RJ45 RJ45
ADDRESSES MUST BE 120 Ohm
SET BEFORE POWER-UP Terminator
OR RESET.
Factory Settings
The factory settings for this device works well, but Harmonic Drive LLC recommends changing the
Latency time for faster performance with HDM software. This value is changed through the
Windows Device Manager
1 Open the Device Manager dialog from the Windows Control Panel and expand the Ports
(COM &LPT) node:
2 Select the COM port that is used by the USB to Serial Adapter (refer to manufacturer’s
documentation for details).
3 Right-click that port and select Properties from the pop-up menu. This will open the device
properties.
HDM User Guide B&B USB to Serial Adapter
4 Select the Port Settings tab, then click the Advanced button.
5 The factory default setting for Latency Timer is 16 ms as shown above. Change the
Latency Timer to 1 ms, No other settings should be changed. Click OK to set the new
value and close the dialog.
Revision B
April 2014
2014
Harmonic Drive LLC
247 Lynnfield St.
Peabody, MA 01960 USA
All rights reserved