CANopen Programmer's Manual PDF
CANopen Programmer's Manual PDF
TABLE OF CONTENTS
About This Manual .......................................................................................................................................... 6
1: Introduction ............................................................................................................................................... 11
1.1: CAN and CANopen ............................................................................................................................... 12
1.2: Defining and Accessing CANopen Devices .......................................................................................... 17
1.3: Objects that Define SDOs and PDOs ................................................................................................... 30
2: Network Management ............................................................................................................................... 39
2.1: Network Management Overview ........................................................................................................... 40
2.2: Network Management Objects.............................................................................................................. 45
2.3: Sending Serial Commands over CANopen........................................................................................... 49
3: Device Control, Configuration, and Status ............................................................................................. 51
3.1: Device Control and Status Overview .................................................................................................... 52
3.2: Device Control and Status Objects ....................................................................................................... 57
3.3: Error Management Objects ................................................................................................................... 66
3.4: Basic Amplifier Configuration Objects................................................................................................... 70
3.5: Basic Motor Configuration Objects ....................................................................................................... 89
3.6: Real-time Amplifier and Motor Status Objects .................................................................................... 110
4: Control Loop Configuration ................................................................................................................... 127
4.1: Control Loop Configuration Overview ................................................................................................. 128
4.2: Position Loop Configuration Objects ................................................................................................... 136
4.3: Velocity Loop Configuration Objects ................................................................................................... 143
4.4: Current Loop Configuration Objects ................................................................................................... 149
4.5: Gain Scheduling Configuration ........................................................................................................... 154
4.6: Chained Biquad Filters ........................................................................................................................ 155
5: Stepper Mode Support ............................................................................................................................ 157
5.1: Stepper Mode Operation ..................................................................................................................... 158
5.2: Stepper Mode Objects ........................................................................................................................ 160
6: Homing Mode Operation ........................................................................................................................ 163
6.1: Homing Mode Operation Overview ..................................................................................................... 164
6.2: Homing Mode Operation Objects........................................................................................................ 182
7: Profile Position, Velocity, and Torque Mode Operation ...................................................................... 189
7.1: Profile Position Mode Operation ......................................................................................................... 190
7.2: Profile Velocity Mode Operation .......................................................................................................... 198
7.3: Profile Torque Mode Operation ........................................................................................................... 199
7.4: Profile Mode Objects ........................................................................................................................... 200
8: Interpolated Position Operation............................................................................................................. 205
8.1: Interpolated Position Mode Overview ................................................................................................. 206
8.2: Interpolated Position Mode Objects .................................................................................................... 212
9: Cyclic Synchronous Modes ................................................................................................................... 219
9.1: Cyclic Synchronous Position Mode (CSP) .......................................................................................... 220
9.2: Cyclic Synchronous Velocity Mode (CSV) .......................................................................................... 221
9.3: Cyclic Synchronous Torque Mode (CST)............................................................................................ 222
A: Alternative Control Sources .................................................................................................................. 223
A.1: Alternative Control Sources Overview ................................................................................................ 224
A.2: Alternative Control Source Objects .................................................................................................... 225
A.3: Running CAM Tables from RAM ........................................................................................................ 231
B: Trace Tool ................................................................................................................................................ 235
B.1: Trace Tool Overview .......................................................................................................................... 236
B.2: Trace Tool Objects ............................................................................................................................. 237
C: Objects By Function ............................................................................................................................... 243
D: Objects By Index ID ................................................................................................................................ 253
Copley Controls 4
CANopen Programmer’s Manual Table Of Contents
Copley Controls 5
CANopen Programmer’s Manual About this Manual
Use caution in designing and programming machines that affect the safety of
!
operators.
The programmer is responsible for creating program code that operates safely for the
amplifiers and motors in any given machine.
WARNING Failure to heed this warning can cause equipment damage, injury, or death.
Copley Controls 6
About this Manual CANopen Programmer’s Manual
Revision History
Revision Date ECO # Comments
1.0 Oct, 2002 Initial publication.
2.0 Dec, 2003 Added descriptions of new objects to support stepper mode and profile
velocity mode operation, additional homing methods, and amplifier
configuration.
2.1 Jan, 2004 Various minor edits and updates.
2.2 March, 2004 Added information about emergency message (EMCY) and memory
storage options for objects.
3 June, 2006 Added information on EMCY Message Error Codes (p. 43), a new
Camming mode and an object for reading/writing CVM Indexer Program
registers (see Alternative Control Sources, p. 224), a new Trace Tool (p.
236), and a new Profile Torque Mode Operation (p. 200). Also, instructions
for Ending an Interpolated Position Move (p. 211).
4 June, 2008 16591 Various updates, including Web page references and details on Running
CAM Tables from RAM (p. 232).
5 October, 2008 17339 Various updates.
6 July, 2011 40588 Various updates and additions.
7 November, 2012 47567 Updated the motor encoder types.
Copley Controls 7
About this Manual CANopen Programmer’s Manual
8 Copley Controls
About this Manual CANopen Programmer’s Manual
Copley Controls 9
About this Manual CANopen Programmer’s Manual
10 Copley Controls
CHAPTER
1: INTRODUCTION
This chapter discusses how Copley Controls supports the use of CANopen to provide distributed
motion control.
Contents include:
1.1: CAN and CANopen ............................................................................................................................... 12
1.2: Defining and Accessing CANopen Devices .......................................................................................... 17
1.3: Objects that Define SDOs and PDOs ................................................................................................... 30
Copley Controls 11
1: Introduction CANopen Programmer’s Manual
12 Copley Controls
CANopen Programmer’s Manual 1: Introduction
CANopen Feedback
CAN port
Master Controller
Status
Feedback
CANopen
CAN port
I/O Sensor
Feedback
Stepnet
CANopen
CAN port
Local Control
Amplifier Motor
(Servo Mode)
I/O Sensor
CANopen
CAN port
Stepnet
Local Control
Amplifier Motor
(Step Mode)
A CANopen network can support up to 127 nodes. Each node has a seven-bit node ID in the
range of 1-127. (Node ID 0 is reserved and should not be used.)
Copley Controls 13
1: Introduction CANopen Programmer’s Manual
14 Copley Controls
CANopen Programmer’s Manual 1: Introduction
Copley Controls 15
1: Introduction CANopen Programmer’s Manual
16 Copley Controls
CANopen Programmer’s Manual 1: Introduction
Copley Controls 17
1: Introduction CANopen Programmer’s Manual
Feedback
Local Control
AccelNet
Object Motor
Amplifier
Dictionary
CAN Network
I/O Sensor
18 Copley Controls
CANopen Programmer’s Manual 1: Introduction
Copley Controls 19
1: Introduction CANopen Programmer’s Manual
20 Copley Controls
CANopen Programmer’s Manual 1: Introduction
Feedback
Copley Controls 21
1: Introduction CANopen Programmer’s Manual
22 Copley Controls
CANopen Programmer’s Manual 1: Introduction
Copley Controls 23
1: Introduction CANopen Programmer’s Manual
24 Copley Controls
CANopen Programmer’s Manual 1: Introduction
Mappable Objects
Not all objects in a device’s object dictionary can be mapped to a PDO. If an object can be
mapped to a PDO, the MAP PDO field in the object’s description in this manual contains the word
EVENT or the word YES.
Dynamic PDO Mapping
Copley supports the CANopen option of dynamic PDO mapping, which allows the CANopen
master to change the mapping of a PDO during operation. For instance, a PDO might use one
mapping in Homing Mode, and another mapping in Profile Position Mode.
PDO Transmission Modes
PDOs can be sent in one of two transmission modes:
Synchronous. Messages are sent only after receipt of a specified number of synchronization
(SYNC) objects, sent at regular intervals by a designated synchronization device. (For more
information on the SYNC object, see SYNC and High-resolution Time Stamp Messages, p.
42.)
Asynchronous. The receipt of SYNC messages does not govern message transmission.
Synchronous transmission can be cyclic, where the message is sent after a predefined number of
SYNC messages, or acyclic, where the message is triggered by some internal event but does not
get sent until the receipt of a SYNC message.
PDO Triggering Modes
The transmission of a transmit PDO message from a node can be triggered in one of three ways:
Trigger Description
Event Message transmission is triggered by the occurrence of an object specific event. For synchronous PDOs
this is the expiration of the specified transmission period, synchronized by the reception of the SYNC
object. For acyclically transmitted synchronous PDOs and asynchronous PDOs the triggering of a
message transmission is a device-specific event specified in the device profile.
SYNC For synchronous PDOs, the message is transmitted after a specified number of SYNC cycles have
message occurred.
Remote The transmission of an asynchronous PDO is initiated on receipt of a remote request initiated by any
Request other device.
For more information see the CANopen Profile for Drives and Motion Control (DSP 402).
Copley Controls 25
1: Introduction CANopen Programmer’s Manual
PDO Examples
The designer has broad discretion in the use of PDOs. For example:
On the device designated as the SYNC message and time stamp producer, map a transmit
PDO to transmit the high-resolution time stamp message on a periodic basis. Map receive
PDOs on other devices to receive this object.
On each amplifier, map a transmit PDO to transmit PVT buffer status updates in interpolated
position mode. Map a receive PDO to receive PVT segments.
Another transmit PDO could transmit general amplifier status updates.
The Copley Controls CANopen Motion Libraries product (CML) uses these default mappings:
RECEIVE PDOs TRANSMIT PDOs
PDO Default mapping PDO Default mapping
1 IP move segment command (index 0x2010, p. 4 Trajectory Buffer Status object (index 0x2012, p.
214). Used to receive the PVT segments. 216). This is also used with transmission type
255. The PDO will be transmitted each time a
segment is read from the buffer, or on an error
condition.
5 High-resolution Time Stamp (index 0x1013, p. 47) 5 High-resolution Time Stamp (index 0x1013, p. 47)
on the amplifier designated as the time-stamp on all but the time-stamp transmitter.
transmitter. CML programs this object with
transmit type 10 (transmit every 10 sync cycles).
The sync cycle is 10 milliseconds. Thus, the
timestamp is transmitted every 100 milliseconds.
2 Various status information:
Status Word (index 0x6041, p. 58), Manufacturer
Status Register object (index 0x1002, p. 60), and
Input Pin States (index 0x2190 p. 116).
CML programs this PDO to transmit on an event
(transmission type 255). This causes the PDO to
be transmitted any time an input pin changes or a
status bit changes. Note that Copley input pins
have a programmable debounce time, so if one of
the inputs is connected to something that might
change rapidly, then the debounce time can be
used to keep it from overloading the CANopen
network.
26 Copley Controls
CANopen Programmer’s Manual 1: Introduction
Copley Controls 27
1: Introduction CANopen Programmer’s Manual
28 Copley Controls
CANopen Programmer’s Manual 1: Introduction
2: To map the Mode Of Operation object to the PDO, set sub-index 2 to:
0x 6060 00 08
4. Set the number of mapped In the PDO’s Receive PDO Mapping Parameters object (index 0x1601),
objects and enable the PDO. set sub-index 0 (NUMBER OF MAPPED OBJECTS) to 2, the actual
number of objects mapped. This properly configures the PDO. Also, the
presence of a non-zero value in the NUMBER OF MAPPED OBJECTS
object enables the PDO.
Copley Controls 29
1: Introduction CANopen Programmer’s Manual
30 Copley Controls
CANopen Programmer’s Manual 1: Introduction
Default Values
The default values for this object are specified in the DS-301 CANopen specification. These
values are:
Index Default ID
0x1400 0x00000200 + amplifier CAN node ID.
0x1401 0x00000300 + amplifier CAN node ID.
0x1402 0x00000400 + amplifier CAN node ID.
Copley Controls 31
1: Introduction CANopen Programmer’s Manual
Continued…
…continued:
0x1403 0x00000500 + amplifier CAN node ID.
0x1404 0x80000000
0x1405 0x80000000
0x1406 0x80000000
0x1407 0x80000000
32 Copley Controls
CANopen Programmer’s Manual 1: Introduction
Because Index 0x1700 is read only, the available mapped objects are fixed. They include the
following:
Sub-index Value Description
0 4 Number of mapped objects.
1 0x60400010 Control word
2 0x607A0020 Target position
3 0x60B10020 Offset added to the velocity command in CSP or CSV mode.
4 0x60B20010 Offset added to the torque command in CSP, CSV or CST modes.
Copley Controls 33
1: Introduction CANopen Programmer’s Manual
Because Index 0x1701 is read only, the available mapped objects are fixed. They include the
following:
Sub-index Value Description
0 3 Number of mapped objects.
1 0x60400010 Control word
2 0x60FF0020 Target velocity
3 0x60B20010 Offset added to the torque command in CSP, CSV or CST modes.
34 Copley Controls
CANopen Programmer’s Manual 1: Introduction
Because Index 0x1702 is read only, the available mapped objects are fixed. They include the
following:
Sub-index Value Description
0 2 Number of mapped objects.
1 0x60400010 Control word
2 0x60710010 Target torque
Copley Controls 35
1: Introduction CANopen Programmer’s Manual
Default Values
The default values for this object are specified in the DS-301 CANopen specification. These
values are:
Index Default ID
0x1800 0x00000180 + amplifier CAN node ID.
0x1801 0x00000280 + amplifier CAN node ID.
0x1802 0x00000380 + amplifier CAN node ID.
0x1803 0x00000480 + amplifier CAN node ID.
0x1804 0x80000000
0x1805 0x80000000
0x1806 0x80000000
0x1807 0x80000000
PDO Events
Some objects in the object dictionary have special PDO events associated with them. If such an
object is mapped to a transmit PDO, then the PDO may be configured with a code that relies on
this event to trigger its transmission. The codes that use PDO events are 0 and 255.
An example of an object that has a PDO event associated with it is the Device Status object (index
0x6041). This object triggers an event to any mapped transmit PDO each time its value changes.
A transmit PDO which included this object in its mapping would have its event signaled each time
the status register changed.
Most objects in the object dictionary do not have PDO events associated with them. Those that do
are identified by the word EVENT in the PDO Mapping fields of their descriptions.
36 Copley Controls
CANopen Programmer’s Manual 1: Introduction
Copley Controls 37
1: Introduction CANopen Programmer’s Manual
Because Index 0x1B00 is read only, the objects that can be mapped are fixed. The available
mapped objects are as follows:
Sub-index Value Description
0 4 Number of mapped objects.
1 0x60400010 Control word
2 0x60640020 Actual position
3 0x60F40020 Position error
4 0x606C0020 Actual velocity
5 0x60770010 Actual torque
38 Copley Controls
CHAPTER
2: NETWORK MANAGEMENT
This chapter describes the messages, methods, and objects used to manage devices on a
CANopen network.
Contents include:
2.1: Network Management Overview ........................................................................................................... 40
2.2: Network Management Objects.............................................................................................................. 45
Copley Controls 39
2: Network Management CANopen Programmer’s Manual
40 Copley Controls
CANopen Programmer’s Manual 2: Network Management
Overview
Network Management Services and Objects
Network management services on the CANopen network include device state control, device
monitoring, synchronization, and emergency handling. Special communication objects, as
summarized below, provide these services.
Object Description
Network This object provides services to control the state of the device, including the initialization, starting,
Management monitoring, resetting, and stopping of nodes. It also provides device-monitoring services (node-
(NMT) guarding and heartbeat).
Synchronization Broadcast periodically by a specified device or the CANopen master to allow synchronized activity
(SYNC) among multiple devices. The CAN message ID of the SYNC message is 80.
Time Stamp Broadcast periodically by a specified device or the CANopen master to allow devices to
synchronize their clocks.
Emergency Transmitted by a device when an internal error occurs.
Copley Controls 41
2: Network Management CANopen Programmer’s Manual
Device Monitoring
Monitoring Protocols
In addition to controlling state machines, NMT messages provide services for monitoring devices
on the network. Monitoring services use one of two protocols: heartbeat and node guarding.
Heartbeat Protocol
The heartbeat protocol allows the network manager application to detect problems with a device
or its network connection. The CANopen master configures the device to periodically transmit a
heartbeat message indicating the device’s current state (pre-operational, operational, or stopped).
The network manager monitors the heartbeat messages. Failure to receive a node’s heartbeat
messages indicates a problem with the device or its connection to the network.
Node-guarding Protocol
The node-guarding protocol is similar to the heartbeat, but it allows both the device and the
network manager to monitor the connection between them. The network manager configures the
device (node) to expect node-guarding messages at some interval. The network manager then
sends a message to the configured device at that frequency, and the device responds with a
node-guarding message. This allows both the network manager and the device to identify a
network failure if the guarding messages stop.
SYNC and High-resolution Time Stamp Messages
The SYNC message is a standard CANopen message used to synchronize multiple devices and
to trigger the synchronous transmission of PDOs.
In addition, to allow more accurate synchronization of device clocks, Copley Controls CANopen
amplifiers use the optional high-resolution time stamp message specified in the Communication
Profile.
Normally, a single device produces both the SYNC message and the high-resolution time stamp
message. Copley amplifiers can produce the SYNC and high-resolution time stamp messages.
We recommend using an amplifier as the master sync generator. This assures greater timing
accuracy and allows the amplifier PVT segment buffer to be filled with the minimum number of
PVT segments at all times during operation.
Time Stamp PDOs
The device designated as the time stamp producer should have a transmit PDO mapped for the
high-resolution time stamp message. This PDO should be configured for synchronous
transmission, based on the SYNC message. We recommend sending this message approximately
every 100 milliseconds.
Every other device (all time stamp consumers) should have a receive PDO mapped for the high-
resolution time stamp message. The message ID of each receive PDO used to receive a time
stamp should match the ID of the transmit PDO used to send the time stamp.
Configuring the devices in this fashion causes the time stamp producer to generate a transmit
PDO for every N sync messages. This PDO is received by each of the time stamp consumers on
the network and causes them to update their internal system times based on the message
content. The result is that all devices on the network act as though they share the same clock
input, and remain tightly synchronized.
Emergency Messages
A device sends an 8-byte emergency message (EMCY) when an error occurs in the device. It
contains information about the error type, and Copley-specific information. A device need only
send one EMCY message per event. Any device can be configured to accept EMCY messages.
42 Copley Controls
CANopen Programmer’s Manual 2: Network Management
Copley Controls 43
2: Network Management CANopen Programmer’s Manual
44 Copley Controls
CANopen Programmer’s Manual 2: Network Management
Copley Controls 45
2: Network Management CANopen Programmer’s Manual
46 Copley Controls
CANopen Programmer’s Manual 2: Network Management
Copley Controls 47
2: Network Management CANopen Programmer’s Manual
48 Copley Controls
CANopen Programmer’s Manual 2: Network Management
Copley Controls 49
2: Network Management CANopen Programmer’s Manual
Overview
CANopen object 0x2000 (sub-index 0) is used to send serial commands and retrieve the response
from the amplifier. Each serial command consists of two parts, a command message sent to the
amplifier, and a response message retrieved from it.
Sending a command to the amplifier is done by writing to CANopen object 0x2000. The first byte
sent is the command code of the serial command to be executed. This is followed by any data
bytes that are required for the command. Then, the response from the amplifier is retrieved by
reading from object 0x2000. The first byte received will be an error code (same error codes as
used in the serial interface). This is followed by zero or more bytes of response data.
For example:
To read actual position, the following bytes would be written to object 0x2000 using an SDO
transfer:
0x0C 0x17 0x00
The first byte (0x0C) is the command code for a GET command. The second and third bytes
(0x17 0x00) make up the one word of data passed to a GET command. This data word (0x0017)
is the variable ID that is to be read (in this case, variable 0x17, which is the actual position). The
response is read from an SDO reading back the value of object 0x2000.
For example:
If the following data bytes were read from 0x2000:
0x00 0x34 0x12 0x78 0x56
The first byte gives an error code. A zero here indicates no error. The next four bytes are the
position read back from the amplifier. In this case, the position read back is 0x12345678.
Byte order
The byte order of data sent to or from the amplifier requires some further explanation.
The amplifier (serial port interface) works internally with 16-bit words of data. All serial commands
take zero or more words of data and return zero or more words. When 32-bit values are passed
to or from the amplifier, they are always sent most significant word first. When this array of 16-bit
words of data is sent over the CANopen interface, each word of data is split into two bytes.
CANopen always sends data least significant byte first. Therefore, when a 32-bit value is sent over
the CANopen interface, it's first split into two 16-bit words (most significant word followed by least
significant word). Then, each word is split into two bytes using the CANopen standard of least
significant byte followed by most significant.
For example:
The 32-bit value 0x12345678 would first be split into the words 0x1234 0x5678. These two words
would then be split into the bytes 0x34 0x12 0x78 0x56.
Any serial command that is processed by the main amplifier firmware (as opposed to the boot
loader) can be sent over the CANopen interface using this method. Any command that needs to
be sent to the boot loader (such as a firmware upload) cannot be sent using this method.
50 Copley Controls
CHAPTER
3: DEVICE CONTROL, CONFIGURATION,
AND STATUS
This chapter describes a wide range of device control, configuration, and status methods and
objects.
Contents include:
3.1: Device Control and Status Overview .................................................................................................... 52
3.2: Device Control and Status Objects ....................................................................................................... 57
3.3: Error Management Objects ................................................................................................................... 66
3.4: Basic Amplifier Configuration Objects................................................................................................... 70
3.5: Basic Motor Configuration Objects ....................................................................................................... 89
3.6: Real-time Amplifier and Motor Status Objects .................................................................................... 110
Copley Controls 51
3: Device Control, Configuration, and Status CANopen Programmer’s Manual
52 Copley Controls
CANopen Programmer’s Manual 3: Device Control, Configuration, and Status
Operation Mode
Homing, Profile Position Fault
Profile Velocity, State Machine
Interpolated Position
CSP, CSV, CST Modes of Operation (0x6060)
Other factors affecting control functions include: digital input signals, fault conditions, and settings
in various dictionary objects.
Operation Modes
As controlled by the Mode Of Operation object (index 0x6060, p. 64), Copley Controls CANopen
amplifiers support homing, profile position, profile velocity, profile torque, and interpolated position
modes.
State Machine Nesting
Note that the Communication Profile also specifies a state machine, with three states: pre-
operational, operational, and stopped. The entire device control function block described in this
chapter, including the device state machine, operates in the operational state of the
Communication Profile state machine.
Copley Controls 53
3: Device Control, Configuration, and Status CANopen Programmer’s Manual
54 Copley Controls
CANopen Programmer’s Manual 3: Device Control, Configuration, and Status
Copley Controls 55
3: Device Control, Configuration, and Status CANopen Programmer’s Manual
56 Copley Controls
CANopen Programmer’s Manual 3: Device Control, Configuration, and Status
Copley Controls 57
3: Device Control, Configuration, and Status CANopen Programmer’s Manual
58 Copley Controls
CANopen Programmer’s Manual 3: Device Control, Configuration, and Status
…continued:
12-13 The meanings of these bits are operation mode specific:
Bit Profile Position Profile Velocity Profile Torque Homing Mode Interpolated
Mode Mode Mode Position Mode
12 Setpoint Speed = 0. Reserved Homing attained. Interpolated pos.
acknowledge. mode active.
13 Following error. Maximum Reserved. Homing error. Reserved.
slippage error.
For information on operation modes, see Mode Of Operation (index 0x6060, p. 64).
14 Set when the amplifier is performing a move and cleared when the trajectory finishes. This bit is cleared
immediately at the end of the move, not after the motor has settled into position.
15 Reserved.
Copley Controls 59
3: Device Control, Configuration, and Status CANopen Programmer’s Manual
60 Copley Controls
CANopen Programmer’s Manual 3: Device Control, Configuration, and Status
Copley Controls 61
3: Device Control, Configuration, and Status CANopen Programmer’s Manual
62 Copley Controls
CANopen Programmer’s Manual 3: Device Control, Configuration, and Status
All other values will produce unspecified results and should not be used.
All other values will produce unspecified results and should not be used.
All other values will produce unspecified results and should not be used.
Copley Controls 63
3: Device Control, Configuration, and Status CANopen Programmer’s Manual
All other values will produce unspecified results and should not be used.
64 Copley Controls
CANopen Programmer’s Manual 3: Device Control, Configuration, and Status
Note that this object should normally be programmed to 30 (or 40 for stepper motors) for use
under the CANopen interface.
Copley Controls 65
3: Device Control, Configuration, and Status CANopen Programmer’s Manual
66 Copley Controls
CANopen Programmer’s Manual 3: Device Control, Configuration, and Status
Copley Controls 67
3: Device Control, Configuration, and Status CANopen Programmer’s Manual
68 Copley Controls
CANopen Programmer’s Manual 3: Device Control, Configuration, and Status
Copley Controls 69
3: Device Control, Configuration, and Status CANopen Programmer’s Manual
70 Copley Controls
CANopen Programmer’s Manual 3: Device Control, Configuration, and Status
Copley Controls 71
3: Device Control, Configuration, and Status CANopen Programmer’s Manual
72 Copley Controls
CANopen Programmer’s Manual 3: Device Control, Configuration, and Status
Copley Controls 73
3: Device Control, Configuration, and Status CANopen Programmer’s Manual
74 Copley Controls
CANopen Programmer’s Manual 3: Device Control, Configuration, and Status
Continued…
…continued:
0x1060 AP2: 2 axis Servo CAN module.
0x1070 1 axis Stepper EtherCAT module.
0x1080 1 axis Stepper CAN module.
0x1090 2 axis Stepper EtherCAT module.
Copley Controls 75
3: Device Control, Configuration, and Status CANopen Programmer’s Manual
76 Copley Controls
CANopen Programmer’s Manual 3: Device Control, Configuration, and Status
Copley Controls 77
3: Device Control, Configuration, and Status CANopen Programmer’s Manual
78 Copley Controls
CANopen Programmer’s Manual 3: Device Control, Configuration, and Status
The current version of amplifier firmware supports only these five modes of operation and the
corresponding bits are the only ones set in the object. Therefore the expected value of this object
is 0x00000061.
Future versions of Copley Controls CANopen amplifier firmware might support additional operating
modes. If so, those versions will return additional values.
Copley Controls 79
3: Device Control, Configuration, and Status CANopen Programmer’s Manual
80 Copley Controls
CANopen Programmer’s Manual 3: Device Control, Configuration, and Status
Copley Controls 81
3: Device Control, Configuration, and Status CANopen Programmer’s Manual
82 Copley Controls
CANopen Programmer’s Manual 3: Device Control, Configuration, and Status
Copley Controls 83
3: Device Control, Configuration, and Status CANopen Programmer’s Manual
84 Copley Controls
CANopen Programmer’s Manual 3: Device Control, Configuration, and Status
Copley Controls 85
3: Device Control, Configuration, and Status CANopen Programmer’s Manual
86 Copley Controls
CANopen Programmer’s Manual 3: Device Control, Configuration, and Status
Copley Controls 87
3: Device Control, Configuration, and Status CANopen Programmer’s Manual
88 Copley Controls
CANopen Programmer’s Manual 3: Device Control, Configuration, and Status
Copley Controls 89
3: Device Control, Configuration, and Status CANopen Programmer’s Manual
90 Copley Controls
CANopen Programmer’s Manual 3: Device Control, Configuration, and Status
Copley Controls 91
3: Device Control, Configuration, and Status CANopen Programmer’s Manual
The Hall wiring codes define the order of the Hall connections:
Code Hall ordering
0 UVW
1 UWV
2 VUW
3 VWU
4 WVU
5 WUV
6 Reserved
7 Reserved
92 Copley Controls
CANopen Programmer’s Manual 3: Device Control, Configuration, and Status
Description
Motor inertia.
Copley Controls 93
3: Device Control, Configuration, and Status CANopen Programmer’s Manual
94 Copley Controls
CANopen Programmer’s Manual 3: Device Control, Configuration, and Status
Copley Controls 95
3: Device Control, Configuration, and Status CANopen Programmer’s Manual
96 Copley Controls
CANopen Programmer’s Manual 3: Device Control, Configuration, and Status
Copley Controls 97
3: Device Control, Configuration, and Status CANopen Programmer’s Manual
98 Copley Controls
CANopen Programmer’s Manual 3: Device Control, Configuration, and Status
The Hall wiring codes define the order of the Hall connections:
Code Hall ordering
0 UVW
1 UWV
2 VUW
3 VWU
4 WVU
5 WUV
6 Reserved
7 Reserved
Copley Controls 99
3: Device Control, Configuration, and Status CANopen Programmer’s Manual
Description
Motor inertia.
…continued:
EnDat Encoder
Bit Description
0-4 Number of bits of single turn data available from encoder.
8-12 Number of bits of multiturn data available from encoder.
16 Set if analog inputs are supplied by encoder.
SSI Encoder
Bits Description
0-5 Number of bits of position data available.
8-10 Extra bits after position containing fault info.
12 If set, ignore first received bit.
13 If set. gray code encoded data.
16-21 Encoder bit rate in 100 kHz units
24 If set, first bit is 'data valid'.
Encoded Type 14 (Tamagawa, Panasonic, Harmonic Drives, etc.)
Bits Description
0-5 Number of bits of single turn data.
8-12 Number of bits of multi-turn data.
16-19 Number of LSB to discard from reading.
20-22 Number of consecutive CRC errors to ignore.
24-27 Encoder sub-type (0=Tamagawa, 1=Panasonic absolute, 2=HD systems, 3=Panasonic Incremental,
4=Sanyo Denki).
28 Bit rate (set for 4 Mbit, clear for 2.5 Mbit).
BiSS
Bits Description
0-5 Number of bits of single turn data.
8-12 Number of bits of multi-turn data.
16 Set for mode-C.
20 If set, error bits are active low.
21 If set, error bits are sent before position, after position (if clear).
24-26 Number of alignmen bits.
Limits
FILTER
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.
Basic Attributes of All Control Loops
These loops (and servo control loops in general) share several common attributes:
Loop Attribute Description
Command input Every loop is given a value to which it will attempt to control. For example, the velocity loop
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.
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
These gains are accessed through the sub-index objects of the Position Loop Gains object (index
0x2382, sub-index 1-6, p. 139).
Position Loop Output
The output of the position loop is a velocity value that is fed to the velocity loop as a command
input. This output is associated with two objects, as described below.
Output Object Name/ID Description Page #
Velocity Command Value / Velocity that the velocity loop is currently trying to attain. In normal 144
0x606B operation, this value is provided by the position loop and is identical to
the Position loop control effort.
Optionally, the velocity loop can be controlled by one of several
alternate control sources. In this case, the Velocity command value
comes from the analog reference input, the digital PWM inputs, or the
internal function generator.
Position Loop Control Effort / Normally, this value is provided by the position loop. When the velocity 139
Index 0x60FA loop is driven by an alternate control source, the Position loop control
effort object does not hold a meaningful value.
Velocity Loop
Velocity Integral Gain (Vi)
Limited +
Velocity +
Velocity Lim iter Filter Velocity Filter Current
Command Velocity Proportional Gain (Vp)
+ Command
-
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.
Vi - Velocity loop The integral of the velocity error is multiplied by this value. Integral gain reduces the velocity error
integral 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 velocity error value over time.
Current Loop
PWM
Current Integral Gain (Ci) Command
+
Current Command Limited Current +
Current Limiter Current Proportional Gain (Cp) Motor
+
Current Offset
-
These gains are represented by Error! Reference source not found. (index 0x2380, p.153) and
its sub-index objects.
Current Loop Output
The output of the current loop is a command that sets the duty cycle of the PWM output stage of
the amplifier.
Description
This is the acceleration output from the trajectory generator. It is the acceleration by which the
position loop's gain (Index 0x2382, Sub-Index 3, p. 140) is multiplied.
There is virtually no limit on the number of microsteps/rev. Programming a very high value does
not mean that the amplifier can actually move the motor to that many distinct positions, because
the ability to control current in the windings is limited. The practical limit depends on the motor, but
something on the order of 1000 microsteps/electrical cycle is generally reasonable. It is
sometimes advantageous to program a large number of microsteps, so the system works as
expected when connected to a high resolution encoder.
Some drive manufacturers require that the number of microsteps/rev be an integer multiple of the
number of electrical cycles. Copley Controls amplifiers do not have such a limitation.
Homing Overview
Homing is the method by which a drive seeks the home position (also called the datum, reference
point, or zero point). There are various methods of achieving this using:
limit switches at the ends of travel, or
a dedicated home switch.
Most of the methods also use the index pulse input from an incremental encoder.
The amplifier performs homing operations in Homing Mode (Mode Of Operation [index 0x6060, p.
64] =6).
The Homing Function
The homing function provides a set of trajectory parameters to the position loop, as shown below.
The parameters are generated by the homing function and are not directly accessible through
CANopen dictionary objects. They include the profile mode and velocity, acceleration, and
deceleration data.
Home Offset
Homing Method
Homing Trajectory Trajectory Position
Homing Speeds Position Demand
Function Parameters Generator Loop
Home Velocity Fast / Slow
Homing Acceleration
Homing Speeds
There are two homing speeds: fast and slow. The fast speed is used to find the home switch and
the slow speed is used to find the index pulse. (See the Homing Speeds object [index 0x6099, p.
185])
Homing Acceleration
Homing Acceleration (index 0x609A, p. 185) establishes the acceleration to be used for all
accelerations and decelerations with the standard homing modes.
Note that in homing, it is not possible to program a separate deceleration rate.
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. 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.
In stepper amplifiers in stepper mode, the hard stop is reached when the following error exceeds
the tracking window.
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
Set Homing Method (index 0x6098, p. 184) to: 19.
H
Home Switch
H
Home Switch
Index Pulse
H
Home Switch
Index Pulse
Set Homing Method (index 0x6098, p. 184) to: 5.
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
Note that these homing methods only define the location of the home position. The zero position is
always the home position adjusted by the homing offset. See Homing Methods Overview, p.167.
Velocity Velocity
Deceleration Rate
Acceleration Rate
Tim e Tim e
In a trapezoidal profile, jerk is unlimited at the corners of the profile (start of the move, when the
target velocity is reached, when deceleration begins, and at the end of the move). S-curve profiling
limits jerk or “smooths” the motion.
Note that an S-curve profile move does not support an independent deceleration rate. Instead, the
acceleration rate is applied to both the acceleration and deceleration of the move. Further,
trapezoidal and profile position special velocity mode profiles support changing of the parameters
of the current move, whereas an S-curve profile does not. This difference is discussed in Handling
a Series of Point-to-Point Moves, p. 192.
The Motion Profile Type object (index 0x6086, p. 205) controls which type of profile is used.
For guidance in choosing a trapezoidal or S-curve profile, read the following sections and then
refer to Trapezoidal vs. S-Curve Profile: Some Design Considerations, p. 198.
(Copley Controls CANopen amplifiers also support a profile position special velocity mode. This
profile type resembles the trapezoidal profile, but with no target position specified. The motion
obeys the acceleration, deceleration, and velocity limits, but continues to move as though the
target position were infinite.)
Relative vs. Absolute Moves
In a relative move, the target position is added to the instantaneous commanded position, and the
result is the destination of the move. In an absolute move, the target position is offset from the
home position.
The CANopen Profile for Drives and Motion Control (DSP 402) refers to this method as the “single
setpoint” method.
Copley Controls CANopen amplifiers allow use of this method with both trapezoidal and S-curve
profile moves.
One Continuous Profile
Alternately, a series of trapezoidal profile moves can be treated as a continuous move. As shown
below, the motor does not stop between moves. Instead, the move parameters (target position,
velocity, acceleration, and deceleration) are updated immediately at the end of the previous move
(when bit 4 of the Control Word is set, as described later in this section).
The CANopen Profile for Drives and Motion Control (DSP 402) refers to this method as the “set of
setpoints” method.
Copley Controls CANopen amplifiers allow use of this method with trapezoidal profile moves only.
Quick Stop Deceleration / Deceleration value used when a trajectory needs to be stopped as the 205
0x6085 result of a quick stop command. Note that unlike most trajectory
configuration values, this value is NOT buffered. Therefore, if the value
of this object is updated during an abort, the new value is used
immediately.
Motion Profile Type / 0x6086 Trapezoidal, S-curve, or special velocity mode. 205
1 Notes:
Clear Control Word action or query done by amplifier
bit 5 (to 0). 1. Control Word bit 5 is “change set immediately.”
action or query done by CANopen
master Clearing it tells the amplifier to treat a series of
moves as a series of discrete profiles.
2 Set move parameters.
2. Move Parameters are described on page 193.
Set profile type to 0 for
trapezoid; 1 for s-curve. 3. Control Word bit 4 is “new setpoint.” It needs to be
0 because the move is triggered by a 0->1 transition.
3 4. Status Word bit 10 is “target reached.” Value is 0
Control when move is in progress; 1 when move is finished.
1 Clear Control Word bit 4
Word
(to 0). 5. Value of 1 indicates that valid data has been sent
bit 4
to amplifier and new move should begin.
6. Amplifier must detect 0-1 transition to begin move.
0
7. Control word bit 6: value 0 causes absolute move;
4
value 1 causes relative move.
Status 8. Status Word bit 13 is “setpoint acknowledge.” A
0 value of 1 indicates the amplifier has received a
Word
bit 10 setpoint and has started the move.
9. Control Word bit 4 is “new setpoint.” It needs to be
0 to allow the next move is triggered by a
1
5
0->1 transition. Also, the 1->0 transition causes the
Set Control Word bit 4 amplifier to clear bit 13.
(to 1). 10. Amplifier detects 0->1 transition of Control Word
bit 4 and clears bit 13 in response.
When the motor reaches the target position, the
6
Amplifier sees bit 4 0-1 amplifier sets Status Word bit 10 (“target reached”)
transition; to 1.
copies buffered move to 11. CANopen master returns to step 2 if there are
active registers.
more moves to complete; otherwise, the series of
moves is finished.
7
Control
0 Amplifier starts
Word bit
absolute move.
6
8
Amplifier sets Status Word bit
12 (to 1).
9
Clear Control Word bit 4
(to 0).
10
Amplifier clears bit 12 (to 0).
When target position is
reached, amplifier sets bit 10
of Status Word (to 1).
11
yes no
More
Finished.
moves?
1 Notes:
Set move parameters; action or query done by amplifier
Set profile type to 0 (for 1. Move Parameters are described on page
action or query done by CANopen
trapezoidal move). master
193. This type of move is only supported as a
trapezoidal profile.
2. Control Word bit 4 is “new setpoint.” It
2
needs to be 0 because the move will be
Control
1 triggered by a 0->1 transition.
Clear Control Word bit 4
Word
(to 0). 3. Bit 4, value of 1 indicates that valid data
bit 4
has been sent to amplifier and new move
should begin.
0 Bit 5 is “change set immediately.” A value of 1
3
tells the amplifier to update the current profile
Set Control Word immediately by copying the contents of the
bits 4 and 5 (to 1). move buffer to the active registers (without
waiting for move to finish).
4 4. Amplifier must detect bit 4 0-1 transition to
Amplifier sees bit 4 0-1
begin move. Bit 5 value 1 allows immediate
transition; sees that bit 5 is set;
copies buffered move to
update.
active registers. 5. Control word bit 6: value 0 causes absolute
move; value 1 causes relative move.
6. Status Word bit 13 is “setpoint
5 acknowledge.” A value of 1 indicates the
Control amplifier has received a setpoint and has
Amplifier begins
Word bit
absolute move. started the move.
6
0 7. Control Word bit 4 is “new setpoint.” It
needs to be 0 to allow the next move will be
1
triggered by a 0->1 transition. Also, the 1->0
Amplifier begins relative transition causes the amplifier to clear bit 13.
move. 8. Amplifier detects 0->1 transition of Control
Word bit 4 and clears bit 13 in response.
6
Amplifier Status Word bit 12
When the motor reaches the target position,
(to 1).
the amplifier sets Status Word bit 10 (“target
reached”) to 1.
9. CANopen master returns to step 1 if there
7 Clear Control Word bit 4 are more moves to complete; otherwise, the
(to 0). series of moves is finished.
9
yes no
Another
Finished.
move?
Note that the target position programmed here is not passed to the internal trajectory generator
until the move has been started or updated using the Control Word. See Profile Position Mode
Operation, p. 191, for more information.
The amplifier will not accept other values. See Profile Position Mode Operation, p. 191, for more
information.
Note that the value programmed here is not passed to the internal trajectory generator until the
move has been started or updated using the Control Word. See Profile Position Mode Operation,
p. 191, for more information.
Coordinated Motion
Interpolated position mode is used to control multiple coordinated axes or a single axis with the
need for time-interpolation of setpoint data. In interpolated position mode, the trajectory is
calculated by the CANopen master and passed to the amplifier’s interpolated position buffer as a
set of points. The amplifier reads the points from the buffer and performs linear or cubic
interpolation between them.
Copley Controls CANopen amplifiers support three interpolation sub-modes: linear interpolation
with constant time, linear interpolation with variable time, and cubic polynomial interpolation, which
is also known as position, velocity, and time (PVT) interpolation. The amplifier can switch between
linear and PVT interpolation on the fly.
Linear Interpolation with a Constant Time
In this mode, trajectory position points are assumed to be spaced at a fixed time interval. The
amplifier drives the axis smoothly between two points within the fixed time.
Linear Interpolation with Variable Time
In this linear interpolation mode, each trajectory segment can have a different time interval.
Cubic Polynomial (PVT) Interpolation
In PVT mode, the CANopen master describes the trajectory points as a position, velocity, and time
until the next point.
Given two such points, the amplifier can interpolate smoothly between them by calculating a cubic
polynomial function, and evaluating it repeatedly until the next point is encountered.
Cubic polynomial interpolation produces much smoother curves than linear interpolation. Thus it
can describe a complex profile with many fewer reference points. This allows a profile to be
compressed into a small number of reference points which can be sent over the CAN bus using
only a small amount of its total bandwidth.
Standard and Copley Custom Objects for Interpolated Position Mode
Copley Controls CANopen amplifiers provide two sets of objects for performing IP moves:
The CANopen DSP-402 profile standard IP move objects: 0x60C0, 0x60C1, and 0x60C2.
The Copley Controls alternative objects for PVT and linear interpolation with variable time:
0x 2010, 0x 2011, 0x 2012, and 0x 2013. These objects use bandwidth in a more efficient
manner, and feature an integrity counter to identify lost packets.
-1 Linear interpolation with variable time. Send a zero in Interpolation Time (index 0x60C1, Sub-Index 2,
-2 PVT move using standard CANopen p. 217).
objects.
Sending a segment with a zero time value is the recommended way to end an interpolation profile
that uses the Copley Controls alternate objects. See IP move segment command object (index
0x2010, p. 214), and Format of Data Bytes in PVT Segment Mode, p. 215.
An Interpolated position move can also be ended in one of several other ways:
Clear bit 4 of the Control Word (index 0x6040, p. 58).
Clear the quick stop bit (bit 2) of the Control Word.
Set the halt bit (bit 8) of the Control Word.
Stop adding segments to the buffer. This will cause a buffer underflow, stopping interpolation.
Note that each of these methods stops motion immediately, even if the axis has not reached the
set point.
Synchronization
An amplifier can run in synchronized mode or asynchronous mode. Synchronized mode should be
used when doing multi-axis interpolated position moves. (See PDO Transmission Modes, p. 25,
and SYNC and High-resolution Time Stamp Messages, p. 42.)
Overview
This object is used to send PVT segment data and buffer control commands in interpolated
position mode. This object is write only.
Byte 1: Header Byte
The first byte of the object identifies the type of information contained in the rest of the message.
Among other things, it determines whether the PVT Segment Command object operates in a PVT
buffer command mode or carries a PVT profile segment.
Buffer Command Mode
If the most significant bit of the header byte is set to 1, then the PVT segment command object is
a PVT buffer command. In this case, the command code is located in the remaining 7 bits of the
header byte and should take one of the following codes:
Code Description
0 Clear the buffer and abort any move in progress.
1 Pop the N most recently sent segments off the buffer. PVT profiles will continue to run as long as the buffer
doesn't underflow. The number of segments to pop (N) is passed in the next byte (byte 1 of the message).
If there are less then N segments on the buffer, this acts the same as a buffer clear except that the profile is
not stopped except by underflow.
2 Clear buffer errors. The next byte of data gives a mask of the errors to be cleared (any set bit clears the
corresponding error). Error bit locations are the same as the top byte of the status value.
3 Reset the segment ID code to zero.
4 No operation. Used with EtherCAT
This object is intended to be read using a PDO, and has a PDO event associated with it. The
event occurs when one of the error bits (24 – 26) is set, or when the trajectory generator removes
a segment from the trajectory buffer.
This diagram shows the CSP control function with real-time and other configuration parameters.
This diagram shows the CSV control function with real-time and other configuration parameters.
This diagram shows the CST control function with real-time and other configuration parameters.
The function code programmed into bits 0-1 defines the type of waveform to be generated:
Code Describe
0 None (disabled)
1 Square wave.
2 Sine wave.
Note that the amplifier is placed under control of the function generator by setting the Desired
State object (index 0x2300, p. 65) to one of the following values:
4 (function generator drives current loop);
14 (function generator drives velocity loop);
24 (function generator drives position loop in servo mode);
34 (function generator drives position loop in stepper mode).
…continued:
Code Trace Variable
36 Motor phase angle (1 degree units)
37 Amplifier temperature (degrees C)
38 Amplifier Manufacturer Status Register (index 0x1002, p. 60)
39 Amplifier event latch word
40 Hall sensor state
41 Position Capture Status Register (index 0x2401, p. 187)
42 Index capture register
43 Load encoder velocity (0.1 counts / second).
44 Velocity command from trajectory generator (0.1 counts/sec)
45 Acceleration command from trajectory generator (10 counts/sec2)
46 The analog encoder sine input. Only valid for amplifiers with analog encoder support.
47 The analog encoder cosine input. Only valid for amplifiers with analog encoder support.
48 The value of the digital inputs (after debounce)
49 The destination position input to the trajectory generator.
50 Actual motor velocity as seen by velocity loop. This is an unfiltered version of trace variable.
51 Load encoder position (counts).
52 Gain scheduling key parameter value.
53 Position loop P gain
54 Velocity loop P gain
55 Velocity loop I gain
Time at Peak Current Internal Regen Resistor Index 0x2384, Sub-Index 22 ....................................... 82
Analog Encoder Scaling Factor Index 0x2384, Sub-Index 23 ............................................................... 83
Firmware Version Number Index 0x2384, Sub-Index 24 ...................................................................... 83
Axis Count Index 0x2384, Sub-Index 25 ........................................................................... 83
Internal Regen Current Index 0x2384, Sub-Index 26 ........................................................................... 83
FPGA Image Version Index 0x2384, Sub-Index 27 ........................................................................... 83
Secondary Firmware Version Index 0x2384, Sub-Index 28 .................................................................. 83
Amplifier Data Index 0x6510 ..................................................................................................................... 83
Amplifier Serial Number Index 0x6510, Sub-Index 1 ............................................................................. 83
Amplifier Date Code Index 0x6510, Sub-Index 2 ............................................................................. 84
Amplifier Peak Current Index 0x6510, Sub-Index 3 ............................................................................. 84
Amplifier Continuous Current Index 0x6510, Sub-Index 4 .................................................................... 84
Amplifier Peak Current Time Index 0x6510, Sub-Index 5 ..................................................................... 84
Amplifier Maximum Voltage Index 0x6510, Sub-Index 6 ...................................................................... 84
Amplifier Minimum Voltage Index 0x6510, Sub-Index 7 ....................................................................... 84
Amplifier Voltage Hysteresis Index 0x6510, Sub-Index 8 ..................................................................... 84
Amplifier Maximum Temperature Index 0x6510, Sub-Index 9 .............................................................. 84
Amplifier Temperature Hysteresis Index 0x6510, Sub-Index 10 ........................................................... 85
Amplifier Current Loop Period Index 0x6510, Sub-Index 11 ................................................................. 85
Amplifier Servo Loop Period Index 0x6510, Sub-Index 12.................................................................... 85
Amplifier Type Code Index 0x6510, Sub-Index 13 ........................................................................... 85
Current Corresponding to Max A/D Reading Index 0x6510, Sub-Index 14........................................... 85
Voltage Corresponding to Max A/D Reading Index 0x6510, Sub-Index 15 .......................................... 85
Analog Input Scaling Factor Index 0x6510, Sub-Index 16 .................................................................... 85
Amplifier Minimum PWM Off Time Index 0x6510, Sub-Index 17.......................................................... 85
PWM Dead Time At Continuous Current Limit Index 0x6510, Sub-Index 18 ....................................... 86
PWM Dead Time At Zero Current Index 0x6510, Sub-Index 19 ........................................................... 86
Peak Current Internal Regen Resistor Index 0x6510, Sub-Index 20 .................................................... 86
Continuous Current Internal Regen Resistor Index 0x6510, Sub-Index 21 .......................................... 86
Time at Peak Current Internal Regen Resistor Index 0x6510, Sub-Index 22 ....................................... 86
Analog Encoder Scaling Factor Index 0x6510, Sub-Index 23 ............................................................... 86
Firmware Version Number Index 0x6510, Sub-Index 24 ...................................................................... 86
Axis Count Index 0x6510, Sub-Index 25 ........................................................................... 86
Internal Regen Current Index 0x6510, Sub-Index 26 ........................................................................... 86
FPGA Image Version Index 0x6510, Sub-Index 27 ........................................................................... 87
Secondary Firmware Version Index 0x6510, Sub-Index 28 .................................................................. 87
Firmware Version Number (Extended) Index 0x2422 ............................................................................... 87
Device Type Index 0x67FF ...................................................................................................................... 87
PWM MODE Index 0x2140 ...................................................................................................................... 87
Running Sum of User Current Limit Index 0x2116.................................................................................... 87
Running Sum of Amp Current Limit Index 0x2117 .................................................................................... 88
D/A Converter Configuration. Index 0x21E0 ............................................................................................. 88
D/A Converter Output Value Index 0x21E1 ............................................................................................... 88
2004-2012
Copley Controls
20 Dan Road
Canton, MA 02021 USA
All rights reserved