SM CANopen User Guide Iss10
SM CANopen User Guide Iss10
SM CANopen User Guide Iss10
SM-CANopen
Mentor MP
Unidrive SP
Commander SK
Digitax ST
Affinity
Issue: 10
General Information
The manufacturer accepts no liability for any consequences resulting from inappropriate, negligent or
incorrect installation or adjustment of the optional parameters of the equipment or from mismatching the
variable speed drive with the motor.
The contents of this guide are believed to be correct at the time of printing. In the interests of commitment
to a policy of continuous development and improvement, the manufacturer reserves the right to change the
specification of the product or its performance, or the content of this guide without notice.
All rights reserved. No parts of this guide may be reproduced or transmitted in any form or by any means,
electrical or mechanical including, photocopying, recording or by an information storage or retrieval system,
without permission in writing from the publisher.
Environmental Statement
(3$ is committed to minimising the environmental impacts of its manufacturing operations
and of its products throughout their life cycle. To this end, we operate an Environmental Management
System (EMS) which is certified to the International Standard ISO 14001. Further information on the EMS,
our Environment Policy and other relevant information is available on request, or can be found at
www.greendrives.com.
The electronic variable speed drives manufactured by EPA have the potential to save
energy and (through increased machine/process efficiency) reduce raw material consumption and scrap
throughout their long working lifetime. In typical applications, these positive environmental effects far
outweigh the negative impacts of product manufacture and end-of-life disposal.
Nevertheless, when the products eventually reach the end of their useful life, they must not be discarded
but should instead be recycled by a specialist recycler of electronic equipment. Recyclers will find the
products easy to dismantle into their major component parts for efficient recycling. Many parts snap
together and can be separated without the use of tools, while other parts are secured with conventional
fasteners. Virtually all parts of the product are suitable for recycling.
Product packaging is of good quality and can be re-used. Large products are packed in wooden crates,
while smaller products come in strong cardboard cartons which themselves have a high-recycled fibre
content. If not re-used, these containers can be recycled. Polythene, used on the protective film and bags
from wrapping product, can be recycled in the same way. EPAs' packaging strategy prefers
easily recyclable materials of low environmental impact, and regular reviews identify opportunities for
improvement.
When preparing to recycle or dispose of any product or packaging, please observe local legislation and
best practice.
Software Statement
This Solutions Module (SM) is supplied with the latest software version. When retro-installing to an existing
system, all software versions should be verified to confirm the same functionality as Solutions Modules of
the same type already present. This also applies to products returned from a EPA Service
Centre or Repair Centre. If there is any doubt please contact the supplier of the product.
The software version of the Solutions Module can be identified by looking at Pr MM.02 and Pr MM.51,
where MM is the relevant menu number for the Solutions Module slot being used.
See Pr MM.02 and Pr MM.51 description later in this manual for more information.
The software version takes the form of xx.yy.zz, where Pr MM.02 displays xx.yy and Pr MM.51 displays zz
(e.g. for software version 01.01.00 Pr MM.02 will display 1.01 and Pr MM.51 will display 0).
REACH legislation
EC Regulation 1907/2006 on the Registration, Evaluation, Authorisation and restriction of Chemicals
(REACH) requires the supplier of an article to inform the recipient if it contains more than a specified
proportion of any substance which is considered by the European Chemicals Agency (ECHA) to be a
Substance of Very High Concern (SVHC) and is therefore listed by them as a candidate for compulsory
authorisation.
For current information on how this requirement applies in relation to specific EPA products,
please approach your usual contact in the first instance. EPA position statement can be
viewed at:
http://www.epa-antriebe.de
Issue Number : 10
Contents
1 Safety information ..........................................................6
1.1 Warnings, cautions and notes ......................................................................6
1.2 Electrical safety - general warning ...............................................................6
1.3 System design and safety of personnel .......................................................6
1.4 Environmental limits .....................................................................................7
1.5 Compliance with regulations ........................................................................7
1.6 Motor ............................................................................................................7
1.7 Adjusting parameters ...................................................................................7
1.8 General safety considerations for remote operation ....................................8
2 Introduction ....................................................................9
2.1 What Is CANopen? ......................................................................................9
2.2 What is SM-CANopen? ..............................................................................11
2.3 General specification .................................................................................11
2.4 Solutions Module identification ..................................................................12
2.5 Product conformance certificate ................................................................13
2.6 Conventions used in this guide ..................................................................13
2.7 Conventions used for SM-CANopen ..........................................................13
10 Diagnostics ...................................................................63
10.1 Module ID code ..........................................................................................64
10.2 Firmware version .......................................................................................64
10.3 Node address .............................................................................................65
10.4 Data rate ....................................................................................................65
10.5 Operating status .........................................................................................66
10.6 Mapping status ...........................................................................................67
10.7 Error code ..................................................................................................69
10.8 Stuff Bits .....................................................................................................70
information
hazard, either through their intended behavior or through incorrect operation due to a
Safety
fault. In any application where a malfunction of the drive or its control system could lead
to or allow damage, loss or injury, a risk analysis must be carried out and where
necessary, further measures taken to reduce the risk - for example, an over-speed
Introduction
protection device in case of failure of the speed control, or a fail-safe mechanical brake
in case of loss of motor braking.
Mechanical
installation
Instructions regarding transport, storage, installation and use of the drive must be
complied with, including the specified environmental limits. Drives must not be
subjected to excessive physical force.
installation
Electrical
For more information on these limits see the relevant drive user guide.
Getting
started
The installer is responsible for complying with all relevant regulations, such as national
wiring regulations, accident prevention regulations and electromagnetic compatibility
(EMC) regulations. Particular attention must be given to the cross-sectional areas of
Non-cyclic
data
98/37/EC: Safety of machinery.
2004/108/EC: Electromagnetic Compatibility.
status words
Control and
1.6 Motor
Ensure the motor is installed in accordance with the manufacturer’s recommendations.
Ensure the motor shaft is not exposed.
Diagnostics
Standard squirrel cage induction motors are designed for single speed operation. If it is
intended to use the capability of the drive to run a motor at speeds above its designed
maximum, it is strongly recommended that the manufacturer is consulted first.
Low speeds may cause the motor to overheat because the cooling fan becomes less
Advanced
features
(SE07) in Mentor MP. This affects the thermal protection of the motor.
Quick
Some parameters have a profound effect on the operation of the drive. They must not
terms
information
Safety
SM-CANopen has been awarded a CANopen certificate by CAN In Automation (CiA). A
copy of the certificate is available from your supplier or local EPA Drive
Centre.
Introduction
Mechanical
installation
2.6 Conventions used in this guide
installation
Electrical
The configuration of the host drive and Solutions Module is done using menus and
parameters. A menu is a logical collection of parameters that have similar functionality.
In the case of a Solutions Module, the parameters will appear in menu 15 for the
Commander SK and in menu 15, 16 or 17 for the Unidrive SP, Digitax ST and Mentor
Getting
started
MP depending on which slot the module is occupying. The menu is determined by the
number before the decimal point. The method used to determine the menu or parameter
is as follows:
NOTE All references in this manual to SM-Applications should also extend to SM-Applications
Non-cyclic
Lite. The exceptions to this are references to SM-Applications input/output, (3$Sync or
data
the RS485 port, as these are not supported on SM-Applications Lite. For full details of
the differences see the SM-Applications Modules & Motion Processors User Guide.
status words
SM-Applications also refers the embedded motion processors in the Digitax ST Indexer
Control and
and the Digitax ST Plus.
PDO numbers of 1, 3, 5 & 6 respectively, however these may be configured to any valid
PDO number using a master, or DPL code.
reference
Quick
Glossary of
terms
Index
Safety
This section is intended to provide a generic guide for setting up SM-CANopen and a
Introduction
controller/PLC. Figure 5-2 Installation and addressing on page 25 is intended as the
starting point for a new installation. The following pages detail the various methods
available to configure SM-CANopen. It is recommended that all of this section is read,
before attempting to configure a system. Table 5.1 shows the different versions of drive
Mechanical
installation
firmware required to use SM-CANopen.
installation
Electrical
Commander SK Version 01.02.00 or later Version 03.00.01 or later
Unidrive SP Version 01.00.00 or later Version 01.00.01 or later
Mentor MP Version 01.00.00 or later Version 03.02.01 or later
Getting
started
Digitax ST Version 01.02.00 or later Version 03.01.02 or later
Affinity Version 01.02.00 or later Version 03.01.02 or later
It is strongly recommended that the latest firmware is used where poss ble to ensure all
Non-cyclic
data
Ensure the following information is available before requesting support:
• A list of all parameters in SM-CANopen.
status words
Control and
• The drive firmware version (see the drive documentation).
• A list of any SDOs used for configuration.
• The system file version of SM-Applications (see the SM-Applications Modules
Diagnostics
and Motion Processors User Guide for more information).
nodes attempt to transmit at the same time. The valid range for the node address is 0 to
127, with a default address of 0. SM-CANopen must be reset to make a change of node
address take effect (see section 5.12 Resetting the SM-CANopen (re-initializing) on
Glossary of
page 38).
terms
Index
information
Safety
Different software versions handle PDO configuration with varying degrees of flexibility,
as detailed below.
5.3.1 Software versions prior to V02.01.00
Introduction
The PDO numbering scheme is fixed and cannot be changed. The PDOs available are
TxPDOs 1, 3, 5 & 6 and RxPDOs 1, 3, 5 & 6.
5.3.2 Software version 02.01.00
Mechanical
installation
PDO1 is fixed and cannot be changed. To configure up to 3 additional PDOs all that is
required is to set up the PDO using SDOs at network start-up. This is the same
procedure as for previous firmware releases using PDOs 3, 5 and 6 but uses the object
installation
number for the new PDO during set-up (i.e. base address + PDO number -1). A
Electrical
maximum of four PDOs are allowed in total, apart from PDO1 which may be set up to
any PDO in the range 0x002-0x1FF. TxPDO and RxPDO numbering is independent. If
additional PDOs are mapped, an error message will be produced as only the first three
Getting
started
additional mappings are accepted by SM-CANopen. To summarise, the first three
additional PDOs to be configured will be added to SM-CANopen giving a total of four
PDOs in each direction.
Non-cyclic
0x2800 and 0x2801.
data
5.4 PDO number configuration
status words
If a controller/PLC requires PDO numbering to be changed (e.g. the only supported
Control and
PDOs are 1,2,3 and 4), this can be achieved using object 0x2800 or 0x2801, doing this
will result in the existing PDO configuration objects being destroyed and objects for the
new PDO being created with default values, this will take effect immediately. If the PDO
Diagnostics
number is already used within the same object the old PDO will be overwritten. It is now
possible to have different numbers for individual TxPDOs and RxPDOs eg. TxPDO 1, 2,
3, 4 and RxPDO 5, 6, 7 and 8.
Advanced
features
Sub Index 1 – 4 : Are used to read and set the RxPDO number for each of the four
configurable RxPDOs. The number is specified as the required number less 1. That is,
PDO1 would be represented as 0.
5.4.2 Object 0x2801 (TxPDO number configuration)
reference
Quick
Sub Index 0 : Will return 4 when read indicating the maximum sub-index and number of
PDOs supported.
Glossary of
Sub Index 1 – 4 : Are used to read and set the TxPDO number for each of the four
terms
configurable TxPDOs. The actual index number is calculated by subtracting 1 from the
PDO number and adding this number to the base address (e.g. for PDO3 use 2).
Index
NOTE If an SDO overwrites the settings made in Pr MM.xx (SM-CANopen) then the values for
the communications objects will be changed, however the values stored in the
parameters will not be altered. To indicate that SDOs have changed the configuration of
SM-CANopen, Pr MM.05 will show a value of 300.
NOTE For SM-CANopen firmware 03.01.00 and above, any modifications to the standard
configuration for PDOA performed over the SDO protocol will result in the mode
parameter (Pr MM.05) being set to 300.
information
Safety
A method for saving the configured PDOs is available by using object (0x1010), which
allows all communication settings to be stored in SM-CANopen. This allows SM-
CANopen to retain the settings sent by the configuration SDOs from the controller/PLC.
Introduction
The node is then able to resume communications without requiring the SDO
configuration to be re-sent by the controller/PLC, following a reset or loss of power. This
procedure does not perform a drive parameter save.
5.6.5 Pre-configuration for a machine (controller/PLC required initially)
Mechanical
installation
The SDO saving option (0x1010) allows SM-CANopen to be pre-configured on a
controller/PLC before use on a system. This allows the product to be configured for use
with a controller/PLC that does not support SDO configuration of the slave device, or a
installation
Electrical
controller/PLC that requires a specific set of PDO numbers. This effectively allows the
module to be pre-configured before installation and allows SM-CANopen to work in
existing hardware configurations with different PDO numbering schemes.
Using an SM-Applications module, it is possible to configure the SM-CANopen module
Getting
started
in a DPL program, using object associations at start-up. See section 12.13 Start-up
object list - 0x2860 on page 132 for more information.
Non-cyclic
recommended that all of this section is read before configuring SM-CANopen. This
data
overview is supplemented by the set-up flowcharts that follow.
status words
Control and
Diagnostics
Advanced
features
CANopen
reference
reference
Quick
Glossary of
terms
Index
The default RxPDO numbers (1,3,5 & 6) within The active RxPDO numbers are The communication settings for each PDO can now be made using SDO configuration from the
SM_CANopen can be changed by a now available to set up. master. The configured PDO number is added to the object base address and 1 subtracted to
controller/PLC using the objects below give the object number required to configure a specific PDO.
Note that RxPDOA may be configured using the menu parameters for SM-CANopen (pr MM.xx).
The default TxPDO numbers (1,3,5 & 6) within The active TxPDO numbers are The communication settings for each PDO can now be made using SDO configuration
SM_CANopen can be changed by a now available to set up. from the master. The configured PDO number is added to the object base address and 1
controller/PLC using the objects below subtracted to give the object number required to configure a specific PDO.
Note that TxPDOA may be configured using the menu parameters for SM-CANopen
(Pr MM.xx) this does not include setting the internal timer on type 255.
Optional TxPDO number changes TxPDOs from SM-CANopen
Set TxPDOA COB ID using object (0x1800 + [PDO number -1])
A drive save should only be performed
Configure TxPDOA PDO number with TxPDOA Set TxPDOA Transmission Type using object (0x1800 + [PDO number -1]) or Pr MM.41. to ensure any changes made to
object 0x2801 sub-index 01 (default TxPDO 1) Set RxPDOA Mappings using object (0x1A00 + PDO number -1) or Pr MM.20 to MM.23. Pr MM.xx are stored. If a controller/PLC
It is not recommended to mix SDO configuration and parameter based configuration is used to configure the PDOs then
save the communication settings using
Set TxPDOB COB ID using object (0x1800 + [PDO number -1]) object 0x1010. This should be done
Configure TxPDOB PDO number with TxPDOB Set TxPDOB Transmission Type using object (0x1800 + [PDO number -1]) once only after communications are
object 0x2801 sub-index 02 (default TxPDO 3) Set RxPDOB Mappings using object (0x1A00 + [PDO number -1]) successfully setup.
The saving of settings using object
Set TxPDOC COB ID using object (0x1800 + [PDO number -1]) 0x1010 should only be performed
Configure TxPDOC PDO number with TxPDO C
Set TxPDOC Transmission Type using object (0x1800 + [PDO number -1]) when needed to prevent excessive
object 0x2801 sub-index 03 (default TxPDO 5) use of the FLASH memory which
Set RxPDOC Mappings using object (0x1A00 + PDO number -1)
has a limited number of write cycles.
The process of configuration may
Set TxPDOD COB ID using object (0x1800 + PDO number -1) be performed using parameters, a
Configure TxPDOD PDO number with TxPDO D
Set TxPDOD Transmission Type using object (0x1800 + [PDO number -1]) controller/PLC or DPL code
object 0x2801 sub-index0 4 (default TxPDO 6)
Set RxPDOD Mappings using object (0x1A00 + PDO number -1) depending on the system configuration.
information
Safety
The following flowcharts should be used as a visual reference to aid with the
configuration of a network. Various options are highlighted by decision boxes and sub
flowcharts are used to extend the detail within certain sections.
Introduction
5.8.1 Cabling and addressing flowchart
Figure 5-2 details the requirements for cabling and addressing. This flowchart should be
used as the starting point for all configurations.
Mechanical
installation
Figure 5-2 Installation and addressing
START
installation
Electrical
CHECK CABLING IS OF
CORRECT TYPE
Getting
started
CHECK NUMBER OF
NODES PER SEGMENT
Non-cyclic
data
CHECK SM-CANOPEN
NODE ADDRESS IS
UNIQUE
status words
Control and
CHECK GROUND NG OF
NETWORK SH ELD IS
CORRECT
Diagnostics
END
Advanced
features
CANopen
reference
reference
Quick
Glossary of
terms
Index
information
Safety
Figure 5-4 details the steps required to configure SM-CANopen for a single PDO (PDOA
which by default is PDO1) using only the drive menus. This means for a single PDO
SM-CANopen does not require a master to configure PDO1. The default PDOs in the
Introduction
module are RxPDO 1, 3, 5 and 6.
Figure 5-4 Manual configuration flowchart
START
Mechanical
installation
TxPDOA AND RxPDOA ARE BOTH
CONFIGURED AS PDO1 BY DEFAULT,
Set Pr MM.39
BUT IT MAY BE CHANGED USING
TxPDO LENGTH
SDO CONFIGURATION SEE
FIGURE 5 10
installation
Electrical
Set Pr MM.40
RxPDO LENGTH
Set Pr MM.41
Getting
started
TxPDO TYPE
SET MAPPINGS
Set Pr MM.34 1 (ON)
Non-cyclic
Pr MM.10 - Pr MM.11
TxPDO *
data
SET MAPPINGS SET MAPPINGS
Pr MM.20 - Pr MM.21 Pr MM.10 - Pr MM.13
status words
Control and
RxPDO * TxPDO *
SET MAPPINGS
Pr MM.20 - Pr MM.23
RxPDO *
Diagnostics
* By entering parameter numbers in integer
format e.g. Pr 18.11 would be entered as END
1811.
Advanced
features
NOTE This chart is used in conjunction with Figure 5-3 Configuration options flowchart on
page 26.
CANopen
reference
reference
Quick
Glossary of
terms
Index
END
NOTE This chart is used in conjunction with Figure 5-3 Configuration options flowchart on
page 26.
END
information
Safety
Figure 5-10 details the stages required to configure SM-CANopen to use custom PDO
numbering (any valid PDO number from 1 to 511 may be configured). The required PDO
numbers for TxPDO A, B, C & D and RxPDO A, B, C & D are written to the configuration
Introduction
objects shown below (the actual value written is the PDO number minus 1).
Figure 5-10 SDO Configuration
START
Mechanical
installation
SET COB-ID RxPDOA
SET RxPDO NUMBER RxPDOA
RxPDOA (0x1400 + PDO -1)
0x2800 SUB-INDEX 1
SUB-INDEX 1
installation
SET COB-ID RxPDOB
Electrical
SET RxPDO NUMBER
RxPDOB (0x1400 + PDO -1) RxPDOB
0x2800 SUB-INDEX 2
SUB-INDEX 1
Getting
started
SET COB-ID RxPDOD
SET RxPDO NUMBER
RxPDOD (0x1400 + PDO -1) RxPDOD
0x2800 SUB-INDEX 4
SUB-INDEX 1
Non-cyclic
data
SET TRANSMISSION TYPE
SET TxPDO NUMBERS TxPDOD
TxPDOD (0x1800 + PDO -1)
0x2801 SUB-INDEX 4
SUB-INDEX 2
status words
SET COB-ID TxPDOA SET TRANSMISSION TYPE
Control and
TxPDOA (0x1800 + PDO -1) SUB- (0x1400 + PDO -1) RxPDOA
INDEX 1 SUB-INDEX 2
Diagnostics
SET COB-ID TxPDOC SET TRANSMISSION TYPE
TxPDOC (0x1800 + PDO -1) (0x1400 + PDO -1)
RxPDOC
SUB-INDEX 1 SUB-INDEX 2
END
CANopen
reference
NOTE This chart is used in conjunction with Figure 5-3 Configuration options flowchart on
page 26.
reference
The object references in Figure 5-10 (e.g. object 0x1400) are the base addresses for
Quick
the communication objects. The actual object must be calculated by adding the PDO
number configured for PDO (A, B, C or D) to the base address and then subtracting 1.
For example to set TxPDOA to PDO number 3, Sub-index 1 of object 0x2801 should be
Glossary of
terms
set to 2. To set the COB ID for TxPDO 3, object 0x1802 sub-index 1 should be written
to. This example configuration sets TxPDOA to TxPDO 3, then configures the
transmission type using the SDO configuration for TxPDO3 (i.e. the TxPDO is
Index
configured as normal).
START
END
Configuration may also be set in DPLs please see section section 12.13 Start-up object
list - 0x2860 on page 132 for more information.
5.8.8 Controllers/PLC with no SDO configuration facility or fixed PDOs
Controllers/PLCs do not support SDO configuration of communication objects or may
only support fixed PDO numbers. In this case it may be possible to use an alternative
controller/PLC to configure the module, and perform a save (using object 0x1010) see
section 12.3.8 Store parameters on page 103 for more information. This allows pre-
configured CANopen models to be shipped to site after previously being configured.
Please see Figure 5-12 for an example SDO configuration.
information
Safety
Introduction
Mechanical
installation
installation
Electrical
Getting
started
EDS files Cyclic data
Non-cyclic
data
5.9 SM-CANopen data format
Table 5.5 SM-CANopen data format
status words
Control and
SM-CANopen data format PDOA (by default PDO1)
Default 4
Pr MM.05 Range 0 - 4, 100 - 103 & 300*
Diagnostics
Access RW
This parameter specifies the number of data words in the RxPDO and TxPDO for the
first configured PDO (by default PDO1). To specify different lengths for RxPDO and
Advanced
features
NOTE *For SM-CANopen firmware 03.01.00 and above, any modifications to the standard
configuration for PDOA performed over the SDO protocol will result in the mode
CANopen
reference
channel mapped directly to a drive parameter. Default mappings as shown in Table 5-3.
Quick
NOTE TxPDOA and RxPDOA are set to RxPDO1 and RxPDO 1 by default. This parameter
will not be used if SM-CANopen is configured by SDOs, in this case a value of 300 will
Glossary of
be shown.
terms
Index
NOTE For information on setting up more than PDOA (1) please see section 5.6 Types of set-
up on page 22.
NOTE This parameter will not be used if SM-CANopen is configured using SDOs. For
information on setting up more than a single PDO (PDOA) please see section
5.6 Types of set-up on page 22. By default PDOA is configured as PDO1 this can be
changed using objects 0x2800 and 0x2801.
information
Safety
Table 5.9 SM-CANopen operating status
CANopen operating status
Introduction
Default N/A
Pr MM.06 Range -10 to 9999
Access RO
CANopen network activity can be monitored in the SM-CANopen operating status
Mechanical
installation
parameter Pr MM.06. When SM-CANopen is communicating successfully with the
CANopen controller/PLC, the SM-CANopen operating status will give an approximate
indication of the number of messages per second that are being processed.
installation
Electrical
NOTE In software versions up to and including V03.01.00, Pr MM.06 includes all received
PDOs, SYNC messages and transmitted PDO messages. The network loss trip will
occur if no SYNC or RxPDOs are received and if no TxPDOs are transmitted within the
trip time period (Pr MM.07). Please refer to section 11.1 Network loss trip time-out on
Getting
started
page 71 for details on Pr MM.07.
In software versions V03.01.01 and later, Pr MM.06 includes all received PDOs, SYNC
messages, and ALL transmitted messages of ANY type. The network loss trip will occur
Non-cyclic
data
Indicates the approximate number of messages per second. This
>0 Network OK number may vary between different versions of software (see
Pr MM.06 description for more details).
status words
Control and
Indicates that the CANopen master has established
Network OK, no data
0 communications with SM-CANopen, but there is currently no data
transfer
transfer in progress.
Indicates that the SM-CANopen has initialized correctly and is
Diagnostics
waiting for the CANopen master to initialize communications. This
-1 Initialised
may also indicate a mismatch between the master and the
SM-CANopen configuration.
Indicates that part of the SM-CANopen initialisation sequence was
Internal hardware
Advanced
-2 not successful. If this fault persists after a power cycle, replace the
features
failure
SM-CANopen module.
Indicates that there is an invalid setting in the SM-CANopen
-3 Configuration error configuration parameters. See section 10.6 Mapping status on
CANopen
NOTE This sequence does NOT store SM-CANopen configuration parameters or SDO setup in
the drive or the SM-CANopen FLASH memory. See section 5.14 Storing SM-CANopen
configuration parameters on page 38 for more information.
NOTE This sequence does NOT store the SM-CANopen configuration parameters or
communication settings (SDO set-up) in the drive or the SM-CANopen FLASH memory.
See section 5.14 Storing SM-CANopen configuration parameters for more information.
information
Commander SK
Safety
This procedure stores the operating parameters for the SM-CANopen to the drive’s
internal memory. To store parameters in the host drive:
Introduction
1. Set Pr MM.00 to 1000 (a Unidrive SP, Digitax ST or Affinity on 24V supply would
require a value of 1001).
2. Press the red RESET button.
Mechanical
installation
The drive will store all parameters, except Menu 20 unless SM-Applications range (or
integrated motion processor) of module is installed and configured appropriately but the
operation of the
SM-CANopen will not be affected. Changes made to the SM-CANopen configuration
installation
Electrical
parameters will not take effect until the SM-CANopen is reset (Pr MM.32).
5.14.2 Back-up parameters to SM-CANopen FLASH memory
This procedure can be used to transfer settings to a new drive from a previously
Getting
started
configured SM-CANopen module. To store the SM-CANopen configuration parameters
in the FLASH memory in the SM-CANopen:
1. Set Pr MM.31 to ON.
Non-cyclic
immediately. The SM-CANopen configuration parameters will be saved within the
data
FLASH memory. The SM-CANopen will then reset and re-initialize using the updated
configuration parameter values.
status words
Control and
5.15 Restore SM-CANopen defaults
Table 5.12 Restore SM-CANopen defaults
Diagnostics
Restore SM-CANopen defaults
Default OFF (0)
Pr MM.30 Range OFF (0) or ON (1)
Advanced
Access RW
features
This procedure can be used to default the CANopen module to factory settings, this will
also default the drive settings. If the SM-CANopen detects that the host drive has been
restored to default values, it will over-write the slot configuration parameters with the
CANopen
reference
SM-CANopen default values. This will also clear any SDO configuration previously
saved with object 0x1010.
NOTE If the stored values in the drive are for a different type of Solutions Module, the
reference
Quick
SM-CANopen will trip “SLx.DF”, but no error code will be set. It will over-write the
parameter values with the SM-CANopen default values, but will NOT store these values
in the drive.
Glossary of
Pr MM.30 specifies whether the default values should be written to the SM-CANopen
terms
FLASH memory when the host drive is defaulted. If Pr MM.30 is set to ON, the default
values will be written into the SM-CANopen FLASH memory.
Index
information
Safety
1. Set Pr MM.33 to ON.
2. CANopen communications will be stopped.
3. The SM-CANopen will overwrite all Pr MM.xx parameters with the values stored in
Introduction
its internal FLASH memory.
4. Pr MM.33 will be reset to OFF.
5. The SM-CANopen will reset and re-initialise using the restored values.
Mechanical
installation
This procedure will NOT store the updated host drive parameters, to do this a drive save
must be performed.
NOTE The SM-CANopen will restore its configuration parameters to the menu of parameters
installation
associated with the slot that it is installed in. If an SM-CANopen is moved from slot 3 on
Electrical
a drive, it can be re-installed in any slot on another drive using this procedure.
Getting
started
EDS files Cyclic data
Non-cyclic
data
status words
Control and
Diagnostics
Advanced
features
CANopen
reference
reference
Quick
Glossary of
terms
Index
NOTE Generic EDS files are not strictly conformant to the CANopen EDS file specification, as
some drive parameters are not listed. For example, if SM-CANopen is installed in slot
one and SM-Applications is installed in slot 2, the configuration parameters for slot 3 (Pr
17.PP) cannot be accessed.
Bitmap files are supplied with the EDS files for use with the CANopen configuration
software on the master. Refer to the master configuration software documentation for
instructions on how to install EDS files. EPA cannot provide specific
technical support for any of these CANopen configuration packages.
Safety
7.1 What is a “Process Data Object”?
Introduction
Cyclic data is implemented on CANopen networks by using “Process Data Objects” or
PDOs. Separate data objects are used for transmitting (TxPDOs) and receiving
(RxPDOs) data. PDO configuration objects are usually pre-configured in the CANopen
Mechanical
installation
master controller and downloaded to the SM-CANopen at network initialisation using
SDOs.
Mapping parameters are provided that can be used to configure RxPDO1 and TxPDO1
in SM-CANopen (or the first configured PDO (A) if this has been changed using objects
installation
Electrical
0x2800 or 0x2801). These parameters are used to set default values in the PDO
mapping objects during initialisation.
NOTE Slot parameters (Pr MM.xx) are only required for configuration of the first PDO when
Getting
started
configuration is done without SDOs. Configuration should normally be done with SDOs,
if supported by the master.
Non-cyclic
data
Table 7.1 SM-CANopen data format
SM-CANopen data format PDOA (by default PDO1)
status words
Control and
Default 4
Pr MM.05 Range 0-4, 100-103,300*
Access RW
This parameter specifies the number of data words (16 bit) in the RxPDO and TxPDO Diagnostics
for the first configured PDO (PDOA which by default is PDO1). Pr MM.05 is used when
configuring a single PDO using the slot parameters (Pr MM.xx) only.
Advanced
features
To specify different lengths for RxPDOA and TxPDOA Pr MM.39 and Pr MM.40 should
be used instead, this however, is not normally required.
SM-CANopen can be configured with up to four data words (16 bit) on TxPDOA and four
CANopen
reference
data words (16 bit) on RxPDOA. These data words may be configured using mapping
parameters (Pr MM.xx) for PDOA only, or alternatively all PDOs (A,B,C & D) may be
configured using SDOs from the master or DPL see section 12.13 Start-up object list -
0x2860 on page 132. See Chapter 5.3 Flexible PDO numbering (software
reference
A value of 100-103 indicates that the first cyclic channel is used for mode one (non-
cyclic) communications. Chapter 8.2 Mode 1 - Single Word mode on page 50 gives
Glossary of
NOTE *For SM-CANopen firmware 03.01.01 and above, any modifications to the standard
configuration for PDOA performed over the SDO protocol will result in the mode
parameter (Pr MM.05) being set to 300.
Index
Safety
IN channel Mapping parameter OUT channel Mapping parameter
TxPDOA slot RxPDOA slot
Introduction
0 Pr MM.10 0 Pr MM.20
1 Pr MM.11 1 Pr MM.21
2 Pr MM.12 2 Pr MM.22
3 Pr MM.13 3 Pr MM.23
Mechanical
installation
If a mapping parameter is set to an invalid value (e.g. destination parameter is read only,
or parameter does not exist) SM-CANopen will indicate “-3” in the operating status
parameter (Pr MM.06). The reason for the mapping error will be indicated by the
installation
Electrical
mapping status parameter (Pr MM.49), refer to section 10.6 Mapping status on page 67
for more details.
NOTE The direction (IN / OUT) referred to in Table 7.3 is from the perspective of the PLC.
Getting
started
When the data format is configured using Pr MM.05, SM-CANopen will communicate
using the same number of data words for RxPDOA and TxPDOA. It is, however,
Non-cyclic
NOTE PDO data channels do not use decimal points. For example, in open loop mode, the
data
drive digital speed reference 1 (Pr 1.21) has units of Hertz, accurate to one decimal
place. To write a value of 24.6Hz to Pr 1.21, the value must be transmitted as 246.
This data format provides 2 data channels on TxPDOA (by default TxPDO1) and
status words
Control and
RxPDOA (by default RxPDO1) with no non-cyclic data channel. The total data length is
four words or 8 bytes. To select this data format, set Pr MM.05 = 4. This data format is
selected by default.
Diagnostics
Table 7.4 Mapping for PDO1 - 2 channels in and out
Data word Parameter Default mapping status
IN word 0, 1, (TxPDO) Pr MM.10 Pr 10.40, status word
Advanced
features
information
received on RxPDO1, and discard all other words. This can be achieved by creating a
Safety
“blank mapping”. For an RxPDO, data with a blank mapping will simply be discarded.
TxPDO data values with a blank mapping will be set to 0.
Introduction
Table 7.6 Blank mapping objects
Object PDO
Index Name Type Access
code mapping
Mechanical
installation
0x0002 DEFTYPE INTEGER8 INTEGER8 RW Yes
0x0003 DEFTYPE INTEGER16 INTEGER16 RW Yes
0x0004 DEFTYPE INTEGER32 INTEGER32 RW Yes
0x0005 DEFTYPE UNSIGNED8 UNSIGNED8 RW Yes
installation
Electrical
0x0006 DEFTYPE UNSIGNED16 UNSIGNED16 RW Yes
0x0007 DEFTYPE UNSIGNED32 UNSIGNED32 RW Yes
Unwanted data should be mapped to the DEFTYPE object of appropriate size. Bytes,
Getting
started
words and double words are supported, but the BOOLEAN TYPE IS NOT
SUPPORTED. The only other limitation is that there are only four mapping parameters
per PDO, due to memory restrictions.
Non-cyclic
Word Object Value
data
0 0x1600sub1 0x00030010
1 0x1600sub2 0x00030010
status words
Control and
2 0x1600sub3 0x20120B10
3 0x1600sub4 0x00030010
NOTE Blank mapping objects allow the mappings to contain null references that are not
Diagnostics
possible by other means.
Advanced
features
CANopen
reference
reference
Quick
Glossary of
terms
Index
NOTE The non-cyclic data channel does not use decimal points. For example, in open loop
mode, digital speed reference 1 (Pr 1.21) has units of Hertz, accurate to one decimal
place. To write a value of 24.6Hz to Pr 1.21, the value must be transmitted as 246.
NOTE Sub-index 0 for any menu will return the highest sub-index available for the object (i.e.
the highest parameter number). Pr xx.00 in any drive can only be accessed as
Pr 61.01.
When accessing drive parameters using an SDO, all parameters must be treated as
signed 32-bit parameters. If the target parameter is a 16-bit parameter, the data value
will be cast to a 32-bit integer. The sign of the 16-bit value will be preserved.
The following SDO services are supported:
• Initiate SDO Download (Write)
• Initiate SDO Upload (Read)
• Abort SDO Transfer (Error)
information
Safety
SDO messages use a request-response mechanism and the CANopen master will
always expect a response from the slave device. If an error occurs with an SDO transfer
SM-CANopen will return an SDO abort code to indicate the reason for the failure, the
Introduction
SDO abort codes are listed in Table 8.2.
Table 8.2 SDO abort codes
Abort code
Description
Mechanical
installation
(in hex.)
0x05030000 Toggle bit not alternated.
0x05040000 SDO protocol imed out.
0x05040001 Client/server command specifier not valid or unknown.
installation
Electrical
0x05040002 Invalid block size (block mode only).
0x05040003 Invalid sequence number (block mode only).
0x05040004 CRC error (block mode only).
Getting
started
0x05040005 Out of memory.
0x06010000 Unsupported access to an object.
0x06010001 Attempt to read a write only object.
Non-cyclic
0x06040047 General internal incompatibility in the device.
data
0x06060000 Access failed due to a hardware error.
0x06070010 Data type does not match, length of service parameter does not match.
status words
Control and
0x06070012 Data type does not match, length of service parameter too high.
0x06070013 Data type does not match, length of service parameter too low.
0x06090011 Sub-index does not exist.
0x06090030 Value range of parameter exceeded (only for write access).
0x06090031 Value of parameter written too high. Diagnostics
0x06090032 Value of parameter written too low.
0x06090036 Maximum value is less than minimum value.
Advanced
features
NOTE If cyclic data compression is disabled, the Single Word non-cyclic channel will be 32-
bits wide, i.e. uses 2 words, and data must be transferred on the low word. If cyclic data
compression is enabled, the Single Word non-cyclic channel will revert to 16-bits and
only use one word.
8.2.1 Mapping for Single Word non-cyclic data (using Pr MM.xx)
To configure an SM-CANopen for Single Word Mode non-cyclic data, the following
steps must be performed:
1. Set Pr MM.05 to the required mode.
2. Set Pr MM.32 to ON to reset and re-initialise SM-CANopen.
When SM-CANopen re-initializes it will map cyclic data IN Word 0 and OUT Word 0 to
the Single Word protocol parameter Pr 61.50. All existing mapping parameters will
be moved down by one word, i.e. the previous mapping set in Pr MM.10 and Pr MM.20
will now appear in Pr MM.11 and Pr MM.21. Parameter Pr 61.50 may be mapped using
either SDOs from the master or the slot menu (Pr MM.xx).
NOTE If all IN (TxPDO) or OUT (RxPDO) mapping parameters are being used when the data
format change is implemented, the last mapping parameter value will be lost.
NOTE It is possible to map the non cyclic channel (Mode 1) using SDOs to the appropriate
mapping object. A mapping is required for both the IN (TxPDO) and OUT (RxPDO) word
and may be contained in any PDO.
8.2.2 6T Single Word protocol
All parameter values for the drive must be written as signed 32-bit data values. Decimal
point information is inserted automatically when the data value is written to the drive,
and removed when the data value is read. It is important that the number of decimal
places of the target parameter is known to prevent scaling errors.
For example writing a value of 1234 to a parameter with 2 decimal places will produce a
value of 12.34 in the target parameter, reading a value of 12.34 will return a 32-bit
integer value of 1234.
Table 8.3 shows the bit allocations for Single word protocol.
Table 8.3 Single Word bit allocation
b15 b14 b13 b12 b11 b10 b9 b8
READ ERR Reserved 32-BIT Stamp Number
b7 b6 b5 b4 b3 b2 b1 b0
Data Byte
information
Safety
Bit Function Values Description
Depending on the stamp number of the telegram, this
0 to 7 Data 0 to 255
byte contains the menu, parameter or data byte.
Introduction
Indicates the stamp number of the word. This shows
Stamp which part of the message is currently in progress.
8 to 11 0 to 6
number Setting the stamp number to 0 resets the internal non-
cyclic state machine.
Mechanical
installation
Specifies whether a 16-bit or 32-bit data value is to be
0 = 16-bit data written to or read from the drive. If 32-BIT is set,
12 32-BIT
1 = 32-bit data telegrams 5 and 6 will be used to transfer the additional
data bytes.
13 Reserved 0 Reserved for future use. Always set to 0.
installation
Electrical
Indicates the success or failure of the message. Failure
0 = Data OK could occur if the parameter does not exist, or is a read-
14 ERR
1 = Error only/write-only parameter. This bit will also be set if the
parameter value is out of range in 16-bit mode.
Getting
started
0 = Write Defines whether the data word is part of a READ or
15 READ
1 = Read WRITE cycle.
Non-cyclic
data
8.2.4 Reading parameters using Single Word
To read 32-bit parameters using the non-cyclic channel, the following “telegrams” must
be transmitted to construct the message.
status words
Control and
• Telegram 1 “Define menu number”.
• Telegram 2 “Define parameter number”.
• Telegram 3 “Request high data byte”.
• Telegram 4 “Request mid-high data byte”. Diagnostics
Read N
word 0 Tx_Stamp_No = No
Rx_Stamp_No?
Yes
Tx_Stamp_No = No
Rx_Stamp_No? Store data
Yes byte
Send next
Tx_Stamp_No No
telegram to Send next
= 2? Tx_Stamp_No No
OUT word 0 telegram to
Yes = 6?
OUT word 0
Yes
Check status 0
of ERR bit Calculate
1 data value
The following example telegrams show how to read the post-ramp speed reference (in
rpm with 2 decimal places) from Pr 2.01 in the drive.
TELEGRAM 1
The first telegram from the CANopen master indicates a READ cycle, and the stamp
number is 1. The data byte would contain the menu number for the parameter that is to
be read.
Bit b15-b12 b11-b8 b7-b4 b3-b0
Value 1001 0001 0000 0010
information
in the non-cyclic IN word. This is the signal to the master controller program that the
Safety
second telegram of the message has been received, and the third telegram can be
transmitted.
Introduction
If telegrams 1 and 2 were not received correctly, or an invalid parameter was specified,
SM-CANopen will set the ERROR bit to 1 (b14 = 1) in the data returned to the master
and the returned data bits will have no significance. If an error is reported, the non-cyclic
data word must be set to 0 to ensure that the non-cyclic state machine is completely
Mechanical
installation
reset and ready for the next non-cyclic READ or WRITE sequence.
TELEGRAM 3
The third telegram from the CANopen master acts as the indication to the slave to send
installation
the high data byte from the requested parameter. The data byte is not used in this
Electrical
telegram, and should be set to 0.
Bit b15-b12 b11-b8 b7-b4 b3-b0
Value 1001 0011 0000 0000
Getting
started
Data word = 0x9300
Stamp number = 3
Non-cyclic
Data word = 0x9300
data
Stamp number = 3
Data high byte = 0x00 = 0
status words
Control and
Telegram 4
The fourth telegram from the CANopen master acts as the indication to the slave to
send the mid-high data byte from the requested parameter. The data byte is not used in
this telegram and should be set to 0.
Diagnostics
Bit b15-b12 b11-b8 b7-b4 b3-b0
Value 1001 0100 0000 0000
Advanced
features
will mirror the stamp number in the non-cyclic IN word, and load the mid high byte of the
parameter value into the data byte.
Bit b15-b12 b11-b8 b7-b4 b3-b0
reference
information
Safety
To write to a 32-bit parameter using the non-cyclic channel, the following telegrams
must be sent on each network cycle to construct the final message.
• Telegram 1 “Define menu number”.
Introduction
• Telegram 2 “Define parameter number”.
• Telegram 3 “Send high data byte”.
• Telegram 4 “Send mid-high data byte”.
Mechanical
installation
• Telegram 5 “Send mid-low data byte”.
• Telegram 6 “Send low data byte”.
Figure 8-2 Single Word write sequence
installation
Electrical
Start WRITE
Send first telegram
to OUT word 0
Getting
started
Read N Check status 1
ERROR
word 0 of ERR bit
Check parameter
exists, and that it is
Tx_Stamp_No No
= 6?
Yes END OF
SEQUENCE
Non-cyclic
data
The following example telegrams show how to set the digital speed reference 1
(Pr 1.21) to 12553.9 rpm (32-bit value is 125539) in the drive.
status words
Control and
TELEGRAM 1
The first telegram from the CANopen master indicates a WRITE cycle by setting the
Read/Write bit to 0 and the stamp number to 1. The data byte contains the menu
Diagnostics
number for the parameter that is to be written to.
Bit b15-b12 b11-b8 b7-b4 b3-b0
Value 0001 0001 0000 0001
Advanced
features
When the first telegram has been received and processed in the slave node, it is
mirrored in the non-cyclic IN word. This is the signal to the master controller program
that the first telegram of the message has been received and the second telegram can
be transmitted.
reference
Quick
Glossary of
terms
Index
information
Safety
The fifth telegram from the CANopen master has the stamp number set to 5. The data
bits contain the mid-low data byte for the parameter being written to.
Bit b15-b12 b11-b8 b7-b4 b3-b0
Introduction
Value 0001 0101 1110 1010
Mechanical
installation
Data mid-low byte = 0xEA = 234
When the fifth telegram has been received and processed in the slave node, it is
mirrored in the non-cyclic IN word. This is the signal to the master controller program
installation
Electrical
that the fifth telegram of the message has been received and the sixth telegram can be
transmitted.
TELEGRAM 6
The sixth telegram from the CANopen master has the stamp number set to 6. The data
Getting
started
bits contain the low data byte for the parameter that is being written to.
Bit b15-b12 b11-b8 b7-b4 b3-b0
Non-cyclic
the data (Pr 1.21 = 12553.9) as transmitted (the decimal point is automatically inserted
data
when the data is transferred to the drive). If the operation is successful, the ERR bit is
reset to 0 and the telegram is reflected in the non-cyclic IN word.
status words
Control and
Bit b15-b12 b11-b8 b7-b4 b3-b0
Value 0001 0110 0110 0011
Diagnostics
Stamp number = 6
Data low byte = 0x63 = 99
If there was a problem with writing the data to the defined parameter, e.g. parameter is
Advanced
read only, does not exist, or data is out of range, the ERR bit is set to 1.
features
telegram 2, the state machine will only respond to telegram 3). If an error occurs in the
master controller that causes the telegrams to get out of step, the master controller
program must timeout, abort the message and reset the non-cyclic state machine.
reference
A Mode 1 non-cyclic message can be abandoned by resetting the state machine. This is
Quick
NOTE All parameters must be stored after they are set, see section 5.14 Storing SM-CANopen
configuration parameters on page 38 for more information.
Safety
9.1 What are control and status words?
Introduction
The control and status words allow the digital control and monitoring of the drive to be
implemented using a single data word for each function. Each bit in the control word has
a particular function and provides a method of controlling the output functions of the
Mechanical
installation
drive, such as run and direction. These words can be accessed using either cyclic or
non cyclic data.
Each bit in the status word provides feedback about the drives state of health and
operational condition, such as drive ok, drive at speed, etc.
installation
Electrical
9.2 Control word
The SM-CANopen control word consists of 16 control bits some of which are reserved.
Getting
See Table 9.1 for the individual bit function descriptions.
started
Table 9.1 Control word bit definitions
b7 b6 b5 b4 b3 b2 b1 b0
NOT FWD RUN JOG RUN
AUTO RUN ENABLE
STOP REV REV FWD FWD
Non-cyclic
data
To enable fieldbus control the fieldbus enable signal (Pr 6.43) and the auto bit (bit7)
must both be set to ‘1’. When the AUTO bit is reset to 0 the drive will revert to terminal
control.
status words
Control and
NOTE See the documentation of the host drive for the description of these features.
For safety reasons, the external HARDWARE ENABLE signal must be present before
the fieldbus control word can be used to start the drive. This terminal is normally
controlled by an external circuit to ensure that the drive is disabled in an emergency Diagnostics
situation.
The control word REMOTE bit directly controls the drive parameter Pr 1.42, the function
Advanced
features
of which is to select the digital speed reference as the source of the drives speed
reference. When the REMOTE bit is reset to 0 the drive will revert to using the external
analog speed reference.
CANopen
reference
The actual digital speed reference selected when REMOTE is set to 1 will be Pr 1.21,
which is also the default mapping for the fieldbus speed reference. However Pr 1.15 can
be used to change which of the digital references is selected. For further details on the
drive digital speed references, please refer to the appropriate drive User Guide.
reference
Quick
Table 9.2 lists in detail the function of each control word bit. For further in-depth details
about drive control words and sequencing bits please refer to the appropriate drive User
and Advanced User Guides.
Glossary of
terms
NOTE When a trip occurs, the drive control word MUST be set to a safe, disabled state. This
ensures that the drive does not re-start unexpectedly when it is reset. This can be
achieved by continuously monitoring the drive status word and interlocking it with the
Index
control word.
*Drive dependant.
information
Safety
The SM-CANopen status word consists of 16 control bits some of which are reserved.
See the table below for the individual bit function descriptions.
b15 b14 b13 b12 b11 b10 b9 b8
Introduction
Not Mains Direction Direction Brake Brake Current
Regen
Used Loss Running Set Alarm Active Limit
b7 b6 b5 b4 b3 b2 b1 b0
Mechanical
installation
Load Above Set At Set Below Set Running Zero Drive Drive
Reached Speed Speed Speed At Speed Speed Active OK
The fieldbus status word is mapped directly from the drive status word, Pr 10.40.
installation
Electrical
Pr 10.40, is generated by the values of several individual drive status bits Table 9.3
shows the function indicated by each bit in the status word when set to 1.
Getting
started
EDS files Cyclic data
Non-cyclic
data
status words
Control and
Diagnostics
Advanced
features
CANopen
reference
reference
Quick
Glossary of
terms
Index
Safety
This section provides basic diagnostic information intended to enable the resolution of
Introduction
the most common problems encountered when setting up SM-CANopen on a network.
A high percentage of problems reported are basic set-up problems that can be avoided.
Start by using the flow chart (Figure 10-1) to determine the possible cause of a problem.
If after following the flow chart you are still experiencing problems please contact your
Mechanical
installation
supplier or local drive centre for support.
Before requesting support please ensure that you have read the following section and
have recorded the firmware/system file versions for SM-CANopen, the drive and
installation
Electrical
SM-Applications where applicable, see Chapter 5 Getting started on page 19 for more
information on configuration.
Figure 10-1 Diagnostic flow chart
Getting
started
START
CHECK CABLING,
TERMINATION,
CHECK NUMBER OF
NODES PER SEGMENT
CHECK CONFIGURATION
IN GETTING STARTED
FLOWCHARTS
Non-cyclic
data
CHECK PARAMETERS IN
QUICK REFERENCE
status words
Control and
ONLY PDOS 1, 3, 5 & 6
AVAILABLE NO YES
ARE YOU USING SDO
CONFIGURATION?
Diagnostics
Pr MM.10 - Pr MM.13 AND NUMBERS ARE USED
Pr MM.20 - Pr MM.23 ARE 0x2800 & 0x2801 ARE
CORRECTLY MAPPED REQUIRED
CHECK Pr MM.41
CANopen
reference
ENSURE MODULE IS
RESET AND A DRIVE SAVE
reference
IS PERFORMED
Quick
CHECK
Pr MM.49 AND Pr MM.50
Glossary of
terms
CHECK Pr MM.06
Index
The module ID code indicates the type of Solutions Module that is installed in the
corresponding slot, this should be checked to ensure the correct module is installed.
10.2 Firmware version
Table 10.2 Firmware version
SM-CANopen firmware - major version
Default N/A
Pr MM.02 Range 00.00 to 99.99
Access RO
The full version of the SM-CANopen firmware can be read for the corresponding slot.
Table 10.3 shows how to construct the full firmware version from these values. This
version number will be required for technical support.
The software version takes the form of xx.yy.zz, where Pr 15.02 or Pr 16.02 or Pr 17.02
displays xx.yy and Pr 15.51 or Pr 16.51 or Pr 17.51 displays zz (e.g. for software version
01.01.00 on a module in the middle Solutions Module slot, Pr 16.02 will display 1.01 and
Pr 16.51 will display 0).
The software version takes the form of xx.yy.zz, where Pr 15.02 or Pr 16.02 displays
xx.yy and Pr 15.51 or Pr 16.51 displays zz (e.g. for software version 01.01.00 on a mod-
ule in the middle Solutions Module slot (Unidrive ES and Affinity) or for Unidrive SP size
0 and Digitax ST, the Solutions Module slot nearest the incoming supply terminals), Pr
16.02 will display 1.01 and Pr 16.51 will display 0).
information
Safety
The software version of the Solutions Module can be identified by looking at Pr 15.02 and
Pr 15.51.
The software version takes the form of xx.yy.zz, where Pr 15.02 displays xx.yy and Pr
Introduction
15.51 displays zz (e.g. for software version 01.01.00 Pr 15.02 will display 1.01 and Pr
15.51 will display 0).
Table 10.3 SM-CANopen firmware version
Mechanical
installation
Major Minor
Firmware version
version version
03.02 1 V03.02.01
installation
Electrical
10.3 Node address
Table 10.4 Node address
Getting
started
SM-CANopen node address
Default 0
Pr MM.03 Range 0 to 127
Every node on a CANopen network must be given a unique network node address. If
two or more nodes are assigned the same node address, network errors may result as 2
nodes attempt to transmit at the same time. The valid range for the node address is 1 to
127, with a default address of 0. The SM-CANopen must be reset to make a change of
node address take effect, see section 5.12 Resetting the SM-CANopen (re-
Non-cyclic
initializing) on page 38.
data
If an invalid node address is set SM-CANopen will over-write the value in Pr MM.03 with
0. When the SM-CANopen is reset the value in this parameter will be used as the
status words
Control and
CANopen node address.
NOTE A node address of 0 will disable the DS301 CANopen communications layer, however
the DSP305 V1.1 Layer Setting Service (LSS) will still be active.
Diagnostics
10.4 Data rate
Table 10.5 Data rate
Advanced
features
Access RW
Every node on a CANopen network must be configured to run at the same network data
rate. If a node is configured with the wrong data rate, it may cause errors on the CAN
network, and eventually trip on “SLx.Er” with error code of 66. The SM-CANopen must
reference
Quick
be reset to make a change of data rate take effect (see section 5.12 Resetting the SM-
CANopen (re-initializing) on page 38). If an invalid data rate is set, the SM-CANopen will
reject the configured data rate and revert to the nearest valid setting. The default data
Glossary of
rate is 500kbits/s.
terms
Index
SM-CANopen can automatically detect the network data rate by setting Pr MM.04 to -1.
The SM-CANopen will monitor the CAN network and if the data rate is detected, it will
set Pr MM.04 to indicate the detected data rate. However, it should be noted that the
new value of Pr MM.04 will NOT be stored (this would require a drive save).
NOTE The SM-CANopen may have problems detecting the network data rate if there is little
traffic on the CANopen network. Auto-detection of the data rate is ideal when connecting
a new node to an existing network, but may not work reliably if a network is powered up
with all nodes attempting to detect the network data rate.
The CANopen network activity can be monitored in the SM-CANopen operating status
parameter, Pr MM.06. When the SM-CANopen is communicating successfully with the
CANopen master controller, the SM-CANopen operating status will give an indication of
the number of data messages per second that are being processed.
NOTE In version 03.01.00 and earlier Pr MM.06 includes all received PDOs, SYNC messages
and all transmitted PDOs. The network loss trip (as defined by Pr MM.07) will occur if
non of the above events occurs within the specified time period. This scheme means that
if a TxPDO is configured to transmit on a timer or an event, a network loss trip will not
occur even if the network cable is removed.
NOTE In version 03.01.01 and later Pr MM.06 includes all received PDOs, SYNC messages
and all transmitted messages of any type. The network loss trip (as defined by Pr MM.07)
will occur if no data is received within the specified time period. This scheme means that
even if a TxPDO is configured to transmit on a timer or an event, a network loss trip will
occur even if the network cable is removed.
If a configuration or network error is detected, the drive may trip. This prevents
transmitted PDOs from timer or event transactions.To prevent the network loss trip
functionality set Pr MM.07 to 0, as detailed in section 11.1 Network loss trip time-out on
page 71.
information
Safety
Pr MM.06 Parameter Description
>0 Network ok Indicates the number of successful network cycles per second.
Indicates that the CANopen master has established communica-
Introduction
Network ok, no
0 tions with SM-CANopen, but there is currently no data transfer in
data transfer
progress.
Indicates that SM-CANopen has initialized correctly and is waiting
-1 Initialised
for the CANopen master to initialize communications.
Mechanical
installation
Indicates that part of the SM-CANopen initialisation sequence was
Internal hardware
-2 not successful. If this fault persists after a power cycle, replace the
failure
SM-CANopen.
Indicates that there is an invalid setting in he SM-CANopen
installation
Electrical
-3 Configuration error configuration parameters see Section 10.6 below, and section
sec ion 10.7 on page 69 for further diagnostic details.
Unrecoverable An internal software error has occurred. Reset the SM-CANopen to
-4
software error clear, if error persists, replace the SM-CANopen.
Getting
started
Data rate
The SM-CANopen is currently attempting to detect the CANopen
-8 detection in
network data rate.
progress
Non-cyclic
Default 0
data
Pr MM.49 Range 0 to 255
Access RO
status words
Control and
If the SM-CANopen operating status parameter (Pr MM.06) indicates “-3”, a mapping
configuration error has been detected. The reason for the error is indicated by the
SM-CANopen mapping status parameter (Pr MM.49). When a mapping error has been
Diagnostics
corrected, reset SM-CANopen by setting Pr MM.32 to ON (this will revert immediately
to 0).
Table 10.10 Generic mapping error codes
Advanced
features
Mapping
Error Description
status
No error detected with the IN or OUT cyclic data mapping
No error detected 0
configuration.
CANopen
reference
Direct data mapping Non-cyclic data cannot be used when direct data mapping is
2
error enabled.
An invalid non-cyclic data mode has been selected in
Invalid non-cyclic mode 3
Pr MM.05.
reference
Quick
information
listed in Table 10.11.
Safety
Table 10.11 SM-CANopen specific mapping error codes
Mapping
Introduction
Error Description
status
Invalid transmission
30 The transmission type selected for TxPDOA is not supported.
type
Mechanical
Cannot override Parameter Pr MM.42 is set, but SM-CANopen has not detected
installation
31
objects an SM-Applications installed to the drive.
DSP402 enabled and Direct data mapping (Pr MM.09) and DSP402 device profiles
direct data mapping 32 (Pr MM.37) are both enabled. They cannot be enabled
selected together.
installation
Electrical
A data format has been specified in Pr MM.05 and DSP402
DSP402 enabled and
33 device profiles (Pr MM.37) are both enabled, they cannot be
data format selected
enabled together.
DSP402 enabled
Getting
started
Data compression (Pr MM.34) must be enabled to allow the
wi hout data 34
DSP402 device profiles to be used.
compression
No data mode has been specified in Pr MM.05, Pr MM.37,
No data mode selected 35
Non-cyclic
Pr MM.50 Range 0 to 255
data
Access RO
If the SM-CANopen detects an error during operation, it will force a trip on the drive and
status words
Control and
update the SM-CANopen error code parameter (Pr MM.49). Table 10.13 shows the
SM-CANopen error codes.
Diagnostics
Advanced
features
CANopen
reference
reference
Quick
Glossary of
terms
Index
Safety
11.1 Network loss trip time-out
Introduction
Table 11.1 Network loss trip time-out
Mechanical
installation
Pr MM.07 Range 0 to 3000
Access RW
SM-CANopen resets an internal timer when a valid message is received from the
installation
Electrical
CANopen network. The network loss trip is triggered when no new messages are
received before the timer times out. The SM-CANopen will trip the drive and the
SM-CANopen error code parameter (Pr MM.50) will show 65.
After power-up or reset the network loss trip is not armed until one of the following
Getting
started
events occur:
• SYNC message is received.
Non-cyclic
data
Messages
per sec
MM.07
status words
Control and
Time
Diagnostics
(ms)
Communications
Drive trips here
stop here
Advanced
features
As the trip delay time is reduced, the network loss trip will occur more quickly in the
event of a loss of network. However, if the network loss trip time is reduced too far,
spurious network loss trips may occur due to time-out occurring before the next
message has chance to arrive. The network loss trip time should be set such that a
CANopen
reference
minimum of four messages will be received in the specified time period under normal
operating conditions.
NOTE The network loss trip can be disabled by setting Pr MM.07 to 0. In this case, the drive
reference
will continue to operate using the last received values. It is the user’s responsibility to
Quick
ensure that adequate safety precautions are taken to prevent damage or injury by
disabling the drive in the event of a loss of communications.
Glossary of
terms
Index
When data is sent over the CANopen network, it is transmitted as 8-bit bytes. This
means, when a 32-bit double word or 16-bit word data value is split into four or two 8-bit
bytes, it is important that the receiving node reconstructs the received bytes correctly to
arrive at the 32-bit or 16-bit data value that was originally transmitted. The order in
which 8-bit bytes are transmitted is known as the “data endian format”. For CANopen,
the endian format is specified as “little endian”.
Table 11.3 Data endian format byte order
Data 16-bit value 32-bit value
endian Pr MM.08
format Byte order Word order Byte order
Low byte first
Low byte first Low word first Mid low byte second
Little 1
High byte second High word second Mid high byte third
High byte fourth
When more than one Solutions Module is installed to a drive, communications between
modules uses inter-option communications. Inter-option communications is slower than
communication directly to the drive parameters.
Typical access times for direct menu access to the drive menu will be in the region of
30μs (per parameter), a similar access using inter-option communications will be in the
region of 1ms (per parameter).
When using inter-option communications, if parameters are sequential (within the same
menu) then up to five parameters may be grouped in to a block, (although this is limited
to four by the PDO size) this will take up to 1ms for this block to be transferred. A
maximum of eight blocks for input and eight blocks for output are available.
11.3 Local Solutions Module parameter access
The menu used to configure the SM-CANopen depends on the slot in the drive where
SM-CANopen is installed. Menu 60 can be used to ensure that the CANopen
configuration parameters can be accessed without necessarily knowing in which drive
slot the SM-CANopen is installed, this can also be used where the drive has only one
slot.
information
it to the menu that is associated with the slot where the SM-CANopen is installed.
Safety
11.4 Mapping To SM-Applications parameters
SM-CANopen can read and write data directly to and from internal registers in
Introduction
SM-Applications. Six sets of 32-bit registers are accessible in SM-Applications
(additional information is available in section 11.5 Block mapping on page 74), each
register in SM-Applications can be accessed as a virtual parameter.
Mechanical
installation
SM-CANopen can be configured to read data from and write data to an SM-Applications
installed in any slot in the drive by specifying the target parameter as shown in Table
11.4.
installation
Electrical
Table 11.4 SM-Applications internal parameters
Parameter Direct to Direct to Direct to
SM-Applications parameters
reference slot 1 slot 2 slot 3
Getting
_Pxx% PLC Registers Pr 70.xx Pr 100.xx Pr 130.xx Pr 160.xx
started
_Qxx% PLC Registers Pr 71.xx Pr 101.xx Pr 131.xx Pr 161.xx
_Rxx% PLC Registers Pr 72.xx Pr 102.xx Pr 132.xx Pr 162.xx
Non-cyclic
Status Parameters Pr 88.xx Pr 118.xx Pr 148.xx Pr 178.xx
data
General Parameters Pr 90.xx Pr 120.xx Pr 150.xx Pr 180.xx
Fast Access Parameters Pr 91.xx Pr 121.xx Pr 151.xx Pr 181.xx
status words
Control and
If the SM-CANopen is configured to map data to Pr 70.xx and Pr 91.xx parameters,
data will be exchanged with the SM-Applications installed in the lowest slot number.
This method is convenient to use if there is only one SM-Applications installed to the
Diagnostics
drive, as it guarantees that data will always be written to the SM-Applications, even if it
is moved to a different slot. If two SM-Applications are installed, it is best to map directly
to the required slot.
Advanced
• Slot 2 - SM-Applications.
• Slot 3 - SM-CANopen.
If a parameter read request comes over CANopen to read Pr 71.08, this will be re-
reference
Quick
directed to the SM-Applications in the lowest slot number, i.e. the SM-Applications in
slot 2. The value in _Q08% from slot 2 will be returned.
If a parameter read request comes over CANopen to read Pr 131.08, this will be sent
Glossary of
straight to the SM-Applications in slot 2. The value in _Q08% from slot 2 will be
terms
returned. If a parameter read request comes over CANopen to read Pr 101.08, this will
be sent straight to the SM-Applications in slot 1. As there is no SM-Applications installed
in slot 1, an error message will be returned, indicating that the parameter does not exist.
Index
NOTE If two SM-Applications are installed to the drive, it is best to access SM-Applications
parameters using the direct slot parameter references. If normal SM-Applications
parameter references are used, and the SM-Applications is removed from slot 1, these
parameter references will be re-directed to slot 2 instead.
11.5 Block mapping
On SM-CANopen there are four used mapping parameters available for both input (4)
and output mappings(4). Block mapping is configured by placing ascending parameters
(within the same menu) in to consecutive mapping parameters. Consider the example in
Table 11.5.
NOTE Block mapping is only available when using Pr 18.xx, Pr 19.xx, Pr 20.xx and on the PLC
registers within SM-Applications.
When direct data mapping mode is enabled all mapping parameters (Pr MM.10 to
Pr MM.13 and Pr MM.20 to Pr MM.23) will be reset to 0. When data compression is
OFF, the number of data words specified in Pr MM.05 must be an even number. If an
odd number is specified the appropriate parameter will be set to specify the next lowest
even number of data words, (i.e. a value of 7 in Pr MM.05 will only handle six data
words or three data channels).
Table 11.8 Direct data mapping configurations (data compression OFF)
Pr MM.05 Description
The 2 channels on RxPDOA will be written directly to Pr MM.10 and Pr MM.11,
2 to 4 and the 2 channels on TxPDOA will be read directly from Pr MM.20 to
Pr MM.21.
By default SM-CANopen uses 32-bits (i.e. two data words, for each data channel) even
if the target source parameter in the drive is a 16-bit parameter. This strategy ensures
that the cyclic data transmitted over the CANopen network is kept aligned with memory
locations in new 32-bit PLCs.
information
data channels are required for RxPDOA and TxPDOA. With data compression disabled,
Safety
each data channel uses 32-bits (i.e. two data words, so a total of six words are
required). This is not possible for the SM-CANopen as this exceeds the size of the PDO.
Introduction
Table 11.11 Example cyclic data channel mapping
Data words Mapping Data
Data channel Setting Mapping status
used for slot width
Mechanical
installation
IN channel 0 IN word 0, 1 Pr MM.10 1040 16-bit Pr 10.40, status word
IN channel 1 IN word 2, 3 Pr MM.11 201 32-bit Pr 2.01, post-ramp speed ref
OUT channel 0 OUT word 0, 1 Pr MM.20 642 16-bit Pr 6.42, control word
OUT channel 1 OUT word 2, 3 Pr MM.21 121 32-bit Pr 1.21, digital speed ref 1
installation
Electrical
When data compression is enabled by setting Pr MM.34 = ON, a data channel will only
use 32 bits if the target drive parameter is a 32 bit parameter. If the target drive
parameter for a data channel is only 1, 8 or 16 bits wide, only 16 bits will be used for that
Getting
particular data channel. Hence, the IN and OUT data will now only use a total of three
started
words, so Pr MM.05 can now be set to 3 and the data format can be handled by
RxPDOA and TxPDOA. This also applies to mappings performed over SDO.
Non-cyclic
Slot 3 Pr 61.43 Access WO
data
The SM-Applications has four EVENT tasks available for use in the DPL Program and
the SM-CANopen can be configured to trigger one of these tasks.
status words
Control and
An EVENT task is triggered when the trigger parameter is actually written to while the
value (1 to 4) determines which task is actually triggered. The task trigger parameter
can be written to using cyclic or non-cyclic data.
Diagnostics
Table 11.13 EVENT task trigger parameters
Value written to trigger parameter
Trigger parameter
0 1 2 3 4
Advanced
features
Pr 61.42 No action
in slot 2 in slot 2 in slot 2 in slot 2
EVENT task EVENT1 task EVENT2 task EVENT3 task
Pr 61.43 No action
in slot 3 in slot 3 in slot 3 in slot 3
reference
Quick
NOTE *The specified EVENT task will be triggered in the SM-Applications installed in the lowest
slot number on the drive.
Glossary of
terms
Index
If the number of words is specified using the SM-CANopen data format parameter,
Pr MM.05, the number of words in RxPDOA and TxPDOA will be the same.
When Pr MM.05 is set to 0, the TxPDOA and RxPDOA data lengths can be specified
separately in Pr MM.39 and Pr MM.40 respectively. This allows different numbers of
data words to be specified for RxPDOA and TxPDOA.
NOTE The default PDO number for RxPDOA and TxPDOA is 1.
11.10 PDO counter
Table 11.16 PDO counter
information
Safety
Integer variables in an SM-Applications DPL program can be associated with the
CANopen object dictionary, allowing the CANopen master controller to directly read
from and write to DPL variables. Associations can only be made during the INITIAL task
Introduction
of the DPL program.
11.11.1 DPL function call
The DPL function ASSOCIATEINTOPCOMMS is used to create an association and define
Mechanical
installation
attr butes of the associated object. When an association is made the object can be
given different attributes to control the size and access rights of the object.
NOTE Integer variables in an SM-Applications are signed 32-bit integers. If a DPL variable is
installation
associated with an object that is less that 32-bits, it is up to the user to ensure that the
Electrical
DPL variable is kept within the limits of the associated object.
Status% = ASSOCIATEINTOPCOMMS (Index%, Sub%, Var%, Sign%, Size% Read%,
Write%)
Getting
started
Table 11.17 ASSOCIATEINTOPCOMMS arguments
Argument Range Description
Non-cyclic
1 = object is signed
data
Size% 1, 8, 16 or 32 Specifies the object length in bits.
0 = object cannot be read by the SM-CANopen.
Read% 0 or 1
1 = object can be read by he SM-CANopen.
status words
Control and
0 = object cannot be written to by the SM-CANopen.
Write% 0 or 1
1 = object can be written to by the SM-CANopen.
Indicates the success or otherwise of the function. See Table
Status% 0 to 7
11.18 for full details of status return codes.
4 Invalid sub-index The sub-index number is not in the range 0x00 to 0xFF.
5 Invalid variable The specified DPL variable does not exist.
6 Illegal task The association was attempted outside the INITIAL task.
Glossary of
terms
information
Safety
In order to make object access as quick as possible at run-time, the stored objects need
to be sorted to make searching as fast as possible. Searching also needs to take place
during the creation of each association to prevent duplicate associations being created.
Introduction
The association routine is optimised to create associations in ascending order of the
combined index and sub-index numbers. If objects are created in ascending order, each
one is added to the end of the search list and no sort is needed.
Mechanical
installation
If an association is added that cannot be placed at the end of the search list, a complete
sort of the list takes place. The sort process is relatively slow and only takes place
during creation of associations in the INITIAL task.
Creating the maximum possible number of associations in the least optimised order
installation
NOTE
Electrical
(reverse order) will take tens of minutes, compared to less than a second for creation of
the same associations in ascending order.
The number of associations possible is only limited by the amount of available heap
Getting
started
space in the SM-Applications. If there is insufficient remaining space, an error will be
returned by ASSOCIATEINTOPCOMMS, and the association will not be created.
Non-cyclic
Access RW
data
When DPL variables are linked to the CANopen object dictionary entries, there is no
restriction placed on which objects can be created. If a complete profile was written in
status words
Control and
DPL code, some objects (e.g. vl_target_velocity), would exist in SM-CANopen and
would also be defined in SM-Applications. SM-Application object priority specifies which
object takes priority.
Table 11.20 Object priority
Diagnostics
Value Priority Description
SM-CANopen will check its internal object dictionary for the presence
of the specified object.
Advanced
features
0 None If the specified object does not exist in the SM-CANopen, an error
message will be returned. SM-CANopen will NOT check the SM-
Application object dictionary.
SM-CANopen will check its internal object dictionary first for the
CANopen
reference
6. Write 1000 to Pr xx.00 and press the red button to save the parameters.
NOTE To use the synchronized data transfer mode, SM-CANopen must be installed with
V3.01.00 or later firmware and SM-Applications must have V1.03.00 or later system file
installed.
11.13.3Synchronization modes
Drives with more than one slot will allow one of the installed option modules to adjust
the timing of the internal loops to keep it synchronized to an external signal. This module
is therefore known as the “synchronization producer” for the drive.
Table 11.21 synchronization modes
Pr MM.43 Mode Description
SM-CANopen will not participate in the drive inter-option synchroni-
0 Independent
zation system.
SM-CANopen will act as the “synchroniza ion producer” on the
1 Producer
drive.
2 Consumer Not valid.
NOTE If two or more option modules are configured to be the synchronization producer for the
Unidrive SP, the module installed in the lowest slot will be the synchronization producer.
NOTE Direct data mapping uses Pr MM.10 to Pr MM.13 and Pr MM.20 to Pr MM.23 as target
and source parameters. As they are 16-bit parameters, data compression (Pr MM.34)
must be enabled.
information
transfer, and this can only be achieved by using fixed internal mappings to drive
Safety
parameters with no range checking on the data values. This is achieved by using the
mappings shown in Table 11.22.
Introduction
Table 11.22 TxDPOA and RxPDOA data mappings
TxPDOA data Source RxPDOA data Target
bytes parameter bytes parameter
Mechanical
installation
0, 1 Pr MM.10 0, 1 Pr MM.20
2, 3 Pr MM.11 2, 3 Pr MM.21
4, 5 Pr MM.12 4, 5 Pr MM.22
6, 7 Pr MM.13 6, 7 Pr MM.23
installation
Electrical
The lack of range checking does not matter as each target and source drive parameter
has the full 16-bit range. Meaning that the value of each pair of data bytes in RxPDOA
can never exceed the range of the target parameter.
Getting
started
SM-CANopen will update the mapping objects for RxPDOA and TxPDOA in the
CANopen object dictionary to reflect the actual mappings that are being used.
Table 11.23 RxPDOA and TxPDOA (default TxPDO1) mapping objects
Non-cyclic
data
0x1600 - 0x17FF 4 0x20MM1710 Pr MM.23
0x1A00 - 0x1BFF 0 0x04
0x1A00 - 0x1BFF 1 0x20MM0A10 Pr MM.10
status words
Control and
0x1A00 - 0x1BFF 2 0x20MM0B10 Pr MM.11
0x1A00 - 0x1BFF 3 0x20MM0C10 Pr MM.12
0x1A00 - 0x1BFF 4 0x20MM0D10 Pr MM.13
NOTE The actual index will be determined by the values set in 0x2800 and 0x2801 i.e. the Diagnostics
default PDO number -1.
As the mappings for RxPDOA and TxPDOA are fixed in direct access mode, changes
Advanced
NOTE
features
made to these objects will NOT affect the actual mappings used by the SM-CANopen.
XI
MM in the mapping value represents the hexadecimal equivalent of the slot menu, eg
slot 1 (menu 15) would be MM = 0F.
CANopen
reference
11.13.4Synchronization status
Table 11.24 Synchronization status
Name synchronization status
reference
Quick
Default N/A
Pr MM.44 Range 0 to 7
Access RO
Glossary of
terms
Index
The timing accuracy of the SYNC message from the CANopen master controller is very
important if the SM-CANopen is to maintain synchronization. Refer to section
11.16.4 Timing accuracy on page 96 for further details.
11.13.5Synchronization period
Table 11.26 Synchronization period
Name Synchronization period
Default 0
Pr MM.45 Range 1, 2, 4 or 8
Access RW
The CANopen SYNC message must be produced every 1, 2, 4 or 8ms to allow the
SM-CANopen to achieve synchronization. The POS task in the SM-Applications must
be configured to run at least once per CANopen SYNC message (see Table 11.27).
When SM-CANopen has synchronized with the CANopen network, Pr MM.45 shows the
current synchronization period in milliseconds. If synchronization is lost for any reason,
this value will be reset to 0.
Table 11.27 Synchronization timings
CANopen SM-Applications POS task (ms)
SYNC rate 0.25 0.5 1 2 4 8
1 OK OK OK
2 OK OK OK OK
4 OK OK OK OK OK
8 OK OK OK OK OK OK
information
Safety
Synchronized position control allows a group of axes (drives) on a CANopen network to
make their programmed position moves at the same time. This is very important in
precision CNC machines, as the level of synchronization between axes partly
Introduction
determines the “smoothness” of motion when following a curved profile.
Figure 11-4 and Table 11.28 descr be each step of the process used to handle receipt
and transmission of data and guarantee that all SM-CANopen devices respond at the
Mechanical
same time.
installation
Table 11.28 CANopen timings
Time Description
installation
Electrical
When RMINT_1MS occurs, SM-CANopen retrieves and writes RxPDOA data directly
into Pr MM.20 to Pr MM.23, updates the PDO counter in Pr MM.46 then reads the
t1
values from Pr MM.10 to Pr MM.13 to generate TxPDOA. All parameter accesses are
complete 70μs after RMINT_1MS occurred.
The SM-Applications POS0 task will run 90μs after RMINT_POS. At this point, the new
Getting
started
data values from RxPDOA are available to the DPL program in Pr MM.20 to Pr MM.23
t2
and can be used to generate he new position reference for the advanced position
controller. The advanced position controller will run immediately after POS0.
Non-cyclic
data
NOTE RxPDOA and TxPDOA is by default PDO1, but may be changed using objects 0x2801
and 0x2800.
status words
Control and
11.14 Position control without interpolation
Position reference interpolation is not required if the CANopen SYNC time (refer to
section 11.13.5 Synchronization period on page 86) is the same as the POS task time in
the SM-Applications. The new position reference received from the CANopen master
controller can be processed in the POS0 task and passed to the advanced position Diagnostics
controller on each POS task cycle. Figure 11-5 Position control without interpolation on
page 89 shows a synchronized CANopen system consisting of four nodes running at
Advanced
features
1.0 Mbit/s and 1ms SYNC time. The SM-Applications POS0 task is also running at 1ms.
NOTE This is only supported on the Unidrive SP and Digitax ST drives.
CANopen
reference
reference
Quick
Glossary of
terms
Index
information
Safety
TSYNC = TPOS = 1ms
Introduction
CANopen 1234 1234 1234 1234 1234
DINT
RMINT
Mechanical
installation
RMINT POS
SM-CANopen
installation
Electrical
1ms POS task
t0 t1 t2 t3 t4
Getting
started
Receive PDO SM-Apps POS0 task
Non-cyclic
data
Position
2000
status words
Control and
Diagnostics
specified profile
1000
position reference
actual profile
Advanced
features
Time
0
(ms)
CANopen
reference
0 4 8 12 16
reference
Quick
Glossary of
terms
Index
TPOS = 1ms
DINT
RMINT
RMINT POS
SM-CANopen
t0 t1 t2 t3 t4
When the CANopen SYNC time is 4ms, the position reference received from the con-
troller (PLC) is the target position that must be achieved 4ms later. If the
SM-Applications position controller is running every 1ms, it will try to move to the new
position in 1ms, instead of 4ms. The actual movement that will be produced is shown in
section 11.13.5 Synchronization period on page 86, and looks nothing like the specified
profile.
information
Safety
Position
2000
Introduction
Mechanical
installation
1000
specified profile
position reference
installation
Electrical
actual profile
Time
0
Getting
started
(ms)
0 4 8 12 16
Non-cyclic
data
Position
2000
status words
Control and
specified profile Diagnostics
1000
position reference
actual profile
Advanced
features
interpolated
position reference
Time
CANopen
reference
0
(ms)
0 4 8 12 16
reference
In all cases it is recommended that the maximum peak loading on the CANopen
Quick
network does not exceed 70%. If this limit is exceeded reliable communication will be
difficult to acheive.
Glossary of
If possible the master should be configured to transmit its PDOs immediately before the
terms
SYNC signal as this allows the drives to respond after the SYNC signal with reduced
possibility for frame collisions and hence reduced network performance.
Index
information
Safety
Slot Parameter Value Description
Pr MM.12 2 500μs task period
Inter-option Sync
Introduction
Slot1 SM- Pr 91.21 2
Consumer
Applications
Inter-option Sync
Pr 91.22 6 (Read only) Consumer status
achieved.
Mechanical
installation
Pr MM.12 3 1ms task period
Inter-option Sync
Pr 91.21 2
Slot2 SM- Consumer
Applications Inter-option Sync
installation
Electrical
Pr 91.22 6 (Read only) Consumer status
achieved.
2ms CANopen
Pr MM.45 2
synchronization
Getting
started
Inter-option Sync
Slot3 SM- Pr MM.43 1
Producer
CANopen
Inter-option Sync
29 (Read only)
11.16.1Internal interrupts
RMINT, RMINT_1MS and RMINT_POS
RMINT is a hardware interrupt within the drive and is used to control the execution of
the Unidrive SP speed loop. It is generated nominally every 250μs, but the internal
Non-cyclic
phase-locked loop may be adjusted to synchronize to an external signal (see section
data
11.16.4 Timing accuracy on page 96 for more information). RMINT_1MS is a software
interrupt that is generated by SM-CANopen on every 4th RMINT to produce an internal
status words
1ms task.
Control and
RMINT_POS is also a software interrupt, and is generated by SM-Applications to pro-
duce the POS0 and POS1 tasks. The number of RMINT interrupts required to generate
each RMINT_POS is controlled by Pr MM.12 allowing the timing of the POS tasks to be
Diagnostics
varied as required.
NOTE To guarantee synchronization between SM-CANopen and SM-Applications on a
Unidrive SP, the RMINT_1MS and RMINT_POS must be generated from the same
Advanced
features
NOTE The SM-Applications must be loaded with system file version 01.03.00 or later to
guarantee synchronization between RMINT_1MS and RMINT_POS.
This only applies to Unidrive SP, Digitax ST and Mentor MP.
reference
Quick
Glossary of
terms
Index
TPOS_TASK
1ms
250μs
RMINT
RMINT_1MS
SM-CANopen
RMINT_POS
POS tasks
90μs
SM-Applications advanced
SM-CANopen interrupt task SM-Apps POS0 task
position controller
SM-Applications system
SM-CANopen 1ms task SM-Apps POS1 task
POS task
11.16.2DINT
DINT is generated by the SM-CANopen when the SYNC message is received from the
CANopen network. It is used by the drive to determine the phase-locked loop
adjustment required and this adjustment is applied when the next RMINT occurs. Any
change of timing in RMINT will be seen on the 2nd RMINT after DINT occurred.
Figure 11-11 DINT
TSYNC_PERIOD
CANopen 1 2 3 4 1 2 3 4
DINT
Transmit PDO
Receive PDO N
from node N
SYNC message
11.16.6SYNC jitter
“Jitter” is the term used for timing variations seen in a signal, but these timing variations
will always average out to 0 over a period of time. “SYNC jitter” is the continuous
variation in the actual timing between SYNC messages. SM-CANopen can handle
“SYNC jitter” of +/- 25μs without losing synchronization.
If the CANopen master is producing the SYNC messages nominally every 1.002ms with
20ms jitter, the timing between SYNC messages will range from 1.982 to 1.022ms.
However, over a period of time, jitter will cancel out, and the average SYNC message
time seen by SM-CANopen will be 1.002ms.
NOTE Please refer to Pr MM.46 (section 11.15.1 Timing and data transfer consistency on
page 92).
information
Safety
The accuracy of the synchronization process using SM-CANopen is quoted as the
maximum jitter that will be seen between the RMINT signals of any 2 drives on the
CANopen network.
Introduction
Maximum RMINT jitter = +/- 2μs
As the Unidrive SP speed loop runs every 250μs, the maximum synchronization jitter
between any 2 drives equates to 0.8% across the CANopen network.
Mechanical
installation
Figure 11-13 shows how the timings of RMINT may vary between four drives across a
network, but the difference between any 2 RMINT signals will not exceed +/-2μs.
Figure 11-13 RMINT timings
installation
Electrical
2μs
RMINT (N1)
Getting
started
RMINT (N2)
RMINT (N4)
Non-cyclic
In this case, the worst case delay between RMINTs is between node 2 and node 3. The
data
difference between any other pair of nodes is always less then 2μs.
NOTE This only applies to Unidrive SP and Digitax ST.
status words
Control and
11.16.8Network load
The network load determines the fastest update time that can be achieved for a given
Diagnostics
CANopen network. Network load depends on the network data rate, CANopen SYNC
rate, total number of devices on the network and amount of data for each device.
If the load factor (see equations below) is < 0.85, the required performance can
Advanced
features
N PDOBits = 47 + ( 8 × N Bytes )
where:
reference
Safety
CANopen object dictionary
Introduction
The CANopen Object Dictionary defines a series of objects that contain data values with
which to configure SM-CANopen.
Mechanical
installation
Quick reference links to all communication object sections can be found in Chapter
13 Quick reference on page 162.
Table 12.1 Profile objects
installation
Electrical
Index Name PDO mapping
0x1000 Device Type No
0x1001 Error register No
Getting
started
0x1002 Manufacturer Status Register No
0x1003 Pre-defined Error Field No
EDS files
0x1005 COB-ID SYNC No
0x1008 Manufacturer Device Name No
0x1009 Manufacturer Hardware Version No
Cyclic data
0x100A Manufacturer Software Version No
0x1010 Store parameters No
0x1011 Restore default parameters No
0x1014 COB-ID EMCY No
Non-cyclic
data
0x1017 Producer Heartbeat Time No
0x1018 Identity Object No
0x1400
status words
Control and
Communication Information for RxPDOn No
0x15FF
0x1600
Mapping Information for RxPDOn No
0x17FF
0x1800
Diagnostics
Communication Information for TxPDOn No
0x19FF
0x1A00
Mapping Information for TxPDOn No
0x1BFF
0x2800 RxPDO number configuration No
Advanced
features
These are basic data types and are available in order to facilitate the need to set
mappings to parameters of null values (i.e. when creating blank mappings). ‘In’
mappings or TxPDOs to these objects will return 0. An ‘out’ mapping or RxPDO will
reference a null object of predefined size. For example if only a single 16 bit word is
reference
Quick
used within a PDO the remaining words that are unused within the particular drive
should be mapped to a null data type of the appropriate size.
Glossary of
terms
Index
device type indicates the current configuration of the drive and SM-CANopen and is
used by some CANopen master controllers to ensure that the correct EDS file is being
used.
Table 12.3 Device type
Additional information
Device profile number
Mode Type
b31-b24 b23-b16 b15-b0
Refer to Table 12.5 Refer to Table 12.4 Refer to Table 12.4
device type is constructed using the values as indicated in Table 12.4 and Table 12.5.
Table 12.4 Device profile number and type
Device profile
Type Description
number
0x00 0x0000 All device profiles are disabled.
Device profile DS402 V1.1 enabled, drive is running in Servo, open
0x01 0x0192 loop or regen mode (see section 12.21.1 Enable DSP402
device profiles on page 144).
Device profile DS402 V1.1 enabled, drive is running in closed loop or
0x03 0x0192 servo mode (see section 12.21.1 Enable DSP402 device
profiles on page 144).
information
Safety
Index 0x1001 Sub-index 0 Access RO
Default N/A Data type UNSIGNED8 Object code VAR
Introduction
The error register is used by SM-CANopen to indicate that an error has occurred. If a
bit is set to 1, the specified error has occurred. The error register is part of the
emergency object, refer to section 12.18 Emergency object on page 141 for further
details.
Mechanical
installation
Table 12.6 Error register bits
Bit Error
0 Generic error
installation
Electrical
1 Current
2 Voltage
3 Temperature
Getting
started
4 Communication error
5 Device profile specific
6 Reserved
EDS files
7 Manufacturer specific
Cyclic data
Index 0x1002 Sub-index 0 Access RO
Default N/A Data type UNSIGNED32 Object code VAR
The manufacturer status register is mapped directly to the status word (Pr 10.40) in
Non-cyclic
the drive. See section 9.3 Status word on page 61 for more details about the drive
data
status word.
status words
Control and
Index 0x1003
Object code ARRAY
Data type UNSIGNED32
The pre-defined error field returns a 32-bit error code containing data from the last Diagnostics
four emergency messages that were sent. If less than four emergency objects have
been sent, the higher sub-indexes will not exist.
Advanced
features
number of errors
Index 0x1003 Sub-index 0 Access RO
reference
Quick
Sub-index 0 is an unsigned8 data type which indicates the highest sub-index for the
pre-defined error field. The rest of the array are unsigned32 data types.
Glossary of
terms
Index
COB-ID SYNC defines the COB-ID that will be used for the synchronization (SYNC)
object. The SM-CANopen receives the SYNC message, but it cannot be used to
generate the SYNC object.
b31 b30 b29 b28 - b11 b10 - b0
0 0 0 00000000000000000 11-bit CAN-ID
The upper 3 bits (b31-b29) are used to specify the SYNC behavior of SM-CANopen.
Table 12.8 COB-ID SYNC configuration
Bit Value Comment
31 0 Reserved.
30 0 SM-CANopen consumes the SYNC message.
29 0 11-bit CAN identifier.
Refer to section 12.6.3 RxPDO transmission type on page 111 and section
12.8.3 TxPDO transmission type on page 114 for details of the transmission types that
use the SYNC object.
12.3.5 Manufacturer device name
Index 0x1008 Sub-index 0 Access CONST
Default SM-CANopen Data type STRING Object code VAR
information
Safety
Index 0x1009 Sub-index 0 Access CONST
Default UT77 Data type STRING Object code VAR
Introduction
Returns the string “UT77” to indicate the product hardware.
12.3.7 Manufacturer software version
Index 0x100A Sub-index 0 Access CONST
Mechanical
installation
Default Data type STRING Object code VAR
Returns a string to indicate the firmware version installed. The string will be formatted as
“Vxxyyzz” where xxyy is the major firmware version and zz is the minor firmware
installation
Electrical
version.
12.3.8 Store parameters
This object (0x1010) supports the saving of parameters in non-volatile memory.
Getting
started
Table 12.9 Object 0x1010
Index Sub-index Description
EDS files
Will return 1 when read to indicate that the “save all parameters”
0x1010 0
option is supported.
Will return 1 when read to indicate that the module can save
Cyclic data
parameters. Writing the save signature of 0x65766173 will cause the
following actions.
0x1010 1
#60.31 = 1 Set the module to save its set-up to flash.
#60.00 = 1000 Set the drive to save its parameters.
#10.38 = 100 Reset the drive to perform the save.
Non-cyclic
data
The module reset that follows the parameter save will be inh bited to prevent loss of
communications. It is recommended that this procedure is done once during
commissioning/start up.
status words
Control and
12.3.9 Restore default parameters
With this object (0x1011) the default values of parameters according to the
communication or device profile are restored.
Table 12.10 Object 0x1011 Diagnostics
0x1011 0
parameters” option is supported.
Will return 1 when read to indicate that the module can restore
parameters. Writing the save signature of 0x64616F6C will cause the
following actions.
CANopen
reference
The module reset that follows the parameter save will be inh bited to prevent loss of
communications. This will allow the communication parameters to be configured prior to
a reset.
Glossary of
terms
Index
The upper 3 bits (b31-b29) are used to specify the emergency object behavior of
SM-CANopen.
Table 12.11 COB-ID SYNC configuration
Bit Value Comment
31 0 EMERGENCY object always exists
30 0 Reserved
29 0 11-bit CAN identifier
Refer to section 12.18 Emergency object on page 141 for full details about the
emergency object.
information
Safety
Index 0x1017 Sub-index 0 Access RW
Default 0 Data type UNSIGNED16 Object code VAR
Introduction
The “heartbeat protocol” is a node protection system or error control service. A
“heartbeat producer” is usually a CANopen slave device which transmits a heartbeat
message cyclically. This message is received by one or more “heartbeat consumer”
devices, usually the CANopen master controller, and indicates to the master controller
Mechanical
installation
that the slave device is communicating successfully.
If the heartbeat message is not received within the defined time period, a “heartbeat
event” will be generated in the master controller, allowing it to take appropriate action to
installation
ensure system safety is maintained.
Electrical
The producer heartbeat time defines the cyclic time period (in milliseconds) for
SM-CANopen to transmit the heartbeat message. A value of 0 disables the heartbeat
message. The heartbeat message also includes the current NMT state of the
Getting
started
SM-CANopen.
Table 12.12 SM-CANopen operating states
EDS files
State Operating state
0 BOOTUP
4 STOPPED
Cyclic data
5 OPERATIONAL
127 PRE-OPERATIONAL
The SM-CANopen will start transmitting the heartbeat message as soon as it is enabled.
Non-cyclic
If the producer heartbeat time is set >0 at power up, SM-CANopen will start
data
transmitting the heartbeat message when the transition from BOOTUP to PRE-
OPERATIONAL occurs. In this case, the boot-up message is regarded as the first
status words
Control and
heartbeat message.
Number of entries
Index 0x1018 Sub-index 0 Access RO
CANopen
reference
Returns the SM-CANopen firmware version. Revision number will consist of the Pr
MM.02 in the high data word and Pr MM.51 in the low data word.
Table 12.13 Revision number
Major revision Minor revision
(b31 - b16) (b15 - b0)
Pr MM.02 Pr MM.51
Serial number
Index 0x1018 Sub-index 4 Access RO
Default N/A Data type UNSIGNED32
Returns the SM-CANopen serial number, also available as Pr 61.35. This value is
programmed during manufacture and cannot be changed.
If a configuration using non-default or flex ble numbering is required, the index number
for the PDO communication objects must be derived by subtracting 1 from the PDO
number and adding this number to the base address e.g. for 0x1600 PDO3 = 0x1602
(mapping information for RxPDOs)
Safety
PDO Details Object to Change
PDO PDO Default Index Sub-index
Introduction
RxPDOA RxPDO1 2800 01
RxPDOB RxPDO3 2800 02
RxPDOC RxPDO5 2800 03
Mechanical
installation
RxPDOD RxPDO6 2800 04
TxPDOA TxPDO1 2801 01
TxPDOB TxPDO3 2801 02
TxPDOC TxPDO5 2801 03
installation
Electrical
TxPDOD TxPDO6 2801 04
NOTE The PDO number written to these objects is the required PDO number -1.
Getting
started
12.5 Mapping parameter values
When setting up cyclic data to contain specific parameters this may be done in two
ways:
EDS files
1. The first method is to use the mapping parameters Pr MM.10 - Pr MM.13 and
Pr MM.20 - Pr MM.23 (although this is limited to a single Rx and Tx PDO).
Cyclic data
2. The second is to use SDOs to set the mappings. When this is done the entries take
the following form:
Non-cyclic
data
Index Sub-index Object length (in bits)
These are used with object 0x1600 - 0x17FF and object 0x1A00 - 0x1BFF for RxPDO
and TxPDO mapping respectively. To map RxPDOA(1) to Pr 1.21, the mapping
status words
Control and
parameter would be set to 0x20011520 (index = 0x2001, sub-index = 0x15, object
length = 0x20, i.e. 32 bits).
Refer to section 8.1 Service data object (SDO) parameter access on page 48 for more
Diagnostics
details on how to access drive parameters.
12.5.1 RxPDO number configuration
This object will be used for configuring the available RxPDOs.
Advanced
features
NOTE * The actual index number is calculated by subtracting 1 from the PDO number and
adding this number to the base address e.g. for 0x1600 PDO3 = 0x1602.
12.5.2 TxPDO number configuration
This object will be used for configuring the available TxPDOs.
NOTE * The actual index number is calculated by subtracting 1 from the PDO number and
adding this number to the base address e.g. for 0x1600 PDO3 = 0x1602.
Safety
result in the mode parameter Pr MM.05 being set to 300. This will be used to indicate
that the configuration in the set-up menu is not currently being used.
Introduction
The Download To Module Pr MM.31 routine has been updated to store all suitable
objects from the communication and profile area of the object dictionary. If the
SM-Applications Object Priority parameter Pr MM.42 is set, the objects in the profile
area will not get saved. When the option module is defaulted the stored objects will be
Mechanical
installation
erased.
At start-up, the module will load values that have been stored in its internal flash into the
object dictionary. Values for PDO A configuration objects will only be loaded if Pr MM.05
installation
is set to 300. If there are no values stored in flash and Pr MM.05 is set to 300 then
Electrical
PDO A will be left in defaults. Please refer to Pr MM.05 in section 5-10 SDO
Configuration on page 33.
Getting
started
12.5.3 Communication information for RxPDO
This section contains the communication parameters for the receive PDOs.
0x1400-
EDS files
Index Sub-index 0 Access RO
0x15FF
Largest sub-index supported Size
Cyclic data
0x1400-
Index Sub-index 1 Access RO
0x15FF
COB-ID used by PDO Size
0x1400-
Non-cyclic
Index Sub-index 2 Access RW
0x15FF
data
Transmission type Size
0x1400-
status words
Control and
Index Sub-index 3 Access RW
0x15FF
Inhibit time
Size
(not used for RxPDO)
Diagnostics
0x1400-
Index Sub-index 4 Access RW
0x15FF
Compatibility entry Size
0x1400-
Advanced
features
Index 0x1400-0x15FF
Object code Record
Data type PDOCommPar
reference
Quick
to it, with individual parameters for the PDO accessed using sub-indexes.
terms
Index
NOTE Where the range for the index is determined by the PDO numbers set in object 0x2800.
The COB-ID is the CAN identifier used by the CANopen master controller to send
RxPDO messages over the CANopen network. The COB-ID is usually calculated using
the target slave node address, allowing each node to determine which RxPDO message
it should use.
RxPDO COB-IDs do not have to be unique in slave devices on a CANopen network, as
they can only originate from the CANopen master controller. It is common for a master
controller to send a single RxPDO message containing four different speed or position
references and have four different slave nodes configured to receive the same RxPDO.
Each node simply extracts the reference it requires and discards the remaining data.
This makes efficient use of the available bandwidth of the CANopen network, as a
single message is used to update four slave devices with new speed or position
references, instead of four messages.
b31 b30 b29 b28 - b11 b10 - b0
RxPDO RTR 29-bit ID
00000000000000000 11-bit ID
Disable Disable Enable
The upper 3 bits (b31-b29) are used to enable certain functions of the RxPDO.
Safety
Function Comment
Set to 1 to disable the PDO. SM-CANopen will ignore any messages that are
PDO Disable
Introduction
received with the specified 11-bit ID
RTR Disable Set to 1 to disable RTR with the PDO
SM-CANopen hardware does not support 29-bit CAN identifiers.so this bit must
29-bit ID Enable
always be 0
Mechanical
installation
DSP301 V4.1 specifies default COB-ID values for RxPDO1 to RxPDO4, while all higher
RxPDOs must be disabled by default. Default values for the RxPDO COB-IDs are
shown in Table 12.18.
installation
Electrical
Table 12.18 RxPDO COB-ID default values
PDO Index Default COB-ID
A 0x1400 0x80000200 + node address.
Getting
started
B 0x1402 0x80000300 + node address.
C 0x1404 0x80000400 + node address.
D 0x1405 0x80000500 + node address.
EDS files
NOTE RxPDO numbers above four are defaulted to a COB-ID of 0x80000000.
Cyclic data
Index 0x1400-0x15FF Sub-index 2
Data type UNSIGNED8 Access RW
The transmission type defines when data received in an RxPDO is processed and
Non-cyclic
data
passed though to the target parameters. SM-CANopen supports all CANopen
transmission modes.
Table 12.19 Supported RxPDO transmission types
status words
Control and
Transmission
Timing Description
type
The RxPDO data is written to the target parameters when the
Diagnostics
0 - 240 Synchronous
next SYNC message is received.
241 - 251 Reserved.
252 - 253 Not used for RxPDOs.
Advanced
Default values for the RxPDO COB-ID are shown in Table 12.20.
reference
Quick
B 0x1402 255
C 0x1404 255
D 0x1405 255
Index
NOTE * - read/write only if the number of mapped application objects in RxPDO (Index
0x160N sub 0) is set to 0. Refer to section 7.7 Changing PDO mapping parameters (via
controller/PLC) on page 46.
NOTE The actual index number is calculated by subtracting 1 from the PDO number and
adding this number to the base address e.g. for 0x1600 PDO3 = 0x1602.
information
adding this number to the base address e.g. for 0x1600 PDO3 = 0x1602.
Safety
Table 12.22 RxPDOD (by default RxPDO 6) default mapping
Introduction
Sub-
Index Description Default
index
Number of mapped
0x1605 0 2 2 objects mapped by default
objects in RxPDO6
Mechanical
installation
0x1605 1 Channel 0 mapping 0x60400010 controlword
0x1605 2 Channel 1 mapping 0x60420010 vl_target_velocity
0x1605 3 Channel 2 mapping 0x00000000
Not used with default mappings
0x1605 4 Channel 3 mapping 0x00000000
installation
Electrical
NOTE The actual index number is calculated by subtracting 1 from the PDO number and
adding this number to the base address e.g. for 0x1600 PDO3 = 0x1602.
Getting
started
12.8 TxPDO communication parameters
Index 0x1800-0x19FF
EDS files
Object code Record
Data type PDOCommPar
Cyclic data
This section contains the communication parameters for the TxPDOs.
SM-CANopen supports a total of four TxPDOs. Each PDO has a main index assigned to
it, with individual parameters for the PDO accessed using sub-indexes.
Table 12.23 Supported TxPDOs (default settings)
Non-cyclic
data
TxPDO Index
A 0x1800-0x19FF
status words
Control and
B 0x1800-0x19FF
C 0x1800-0x19FF
D 0x1800-0x19FF
Diagnostics
All TxPDO configuration parameters are dynamic, i.e. any changes made to these
parameters will take effect immediately.
NOTE The actual index number is calculated by subtracting 1 from the PDO number and
Advanced
adding this number to the base address e.g. for 0x1800 PDO3 = 0x1802.
features
B 0x1800-0x19FF 5
terms
C 0x1800-0x19FF 5
D 0x1800-0x19FF 5
Index
The COB-ID is the CAN identifier used by SM-CANopen to transmit TxPDO messages
over the CANopen network. The COB-ID is usually calculated using the node address,
as this will ensure that the TxPDO COB-ID is unique on the CANopen network.
b31 b30 b29 b28 - b11 b10 - b0
PDO RTR 29-bit ID
00000000000000000 11-bit ID
Disable Disable Enable
The upper 3 bits (b31-b29) are used to enable certain functions of the TxPDO.
Table 12.25 PDO COB-ID configuration
Function Comment
PDO Disable Set to 1 to disable he TxPDO. SM-CANopen will not transmit the TxPDO.
RTR Disable Set to 1 to disable RTR with the TxPDO.
SM-CANopen hardware does not support 29-bit CAN identifiers so this bit must
29-bit ID Enable
always be 0.
DSP301 V4.1 specifies default COB-ID values for TxPDO1 to TxPDO4, while all higher
TxPDOs must be disabled by default. Default values for the TxPDO COB-IDs are shown
in Table 12.26.
Table 12.26 TxPDO COB-ID default values
TxPDO Index Default COB-ID
A 0x1800-0x19FF 0x00000180 + node address
B 0x1800-0x19FF 0x80000380 + node address
C 0x1800-0x19FF 0x80000000
D 0x1800-0x19FF 0x80000000
The transmission type defines when the TxPDO data is read from the source
parameters and when it is transmitted over the CANopen network. SM-CANopen
supports all CANopen transmission modes.
information
Safety
Transmission
Timing Description
type
Acyclic, The source data is read when the SYNC message is received. If
0
Introduction
synchronous the source data has changed, the TxPDO is transmitted.
Cyclic, The source data is read and the TxPDO is transmitted every n
1 - 240
synchronous SYNC messages, where n = transmission type.
The source data is read when the SYNC message is received,
Mechanical
installation
Synchronous, but the TxPDO will only be transmitted when an RTR message
252
RTR only is received. The RTR message must have the correct COB-ID
for the required TxPDO.
The source data is read and the TxPDO is transmitted when an
Asynchronous,
installation
253 RTR message is received. The RTR message must have the
Electrical
RTR only
correct COB-ID for the required TxPDO.
The source data is read and the TxPDO is transmitted in
response to 2 events:
1. An OFF-to-ON (0-to-1) transition in Pr MM.36. Pr MM.36
Getting
started
Asynchronous, must be reset to OFF for a minimum of 1ms to allow the TxPDO
254
event trigger to be transmitted on the next OFF-ON transition. This allows the
TxPDO to be controlled by a digital input.
EDS files
2. Event timer. Refer to section 12.8.5 TxPDO event timer on
page 116 for more details.
In SM-CANopen versions earlier than V03.02.05 the source
data is read and the TxPDO is transmitted in response to the
Cyclic data
Asynchronous
event timer. In SM-CANopen versions V03.02.05 (or later) the
255 timer trigger /
TxPDO will be transmitted depending on the value in 0x2832
Acyclic
(see section 12.8.6 TxPDO profile specific mode on page 116
for more information).
Non-cyclic
Please refer to Pr MM.06 on section 5.11 SM-CANopen operating status on page 37 for
data
NOTE
important information on transmission types.
If a TxPDO has transmission type 0 to 240, 254 or 255, the CANopen master controller
status words
Control and
can use an RTR message (with the COB-ID of the required PDO) to get the
SM-CANopen to re-transmit the required TxPDO. SM-CANopen does NOT update the
data values for the requested TxPDO; data update will only occur when specified for the
TxPDO transmission type.
If a TxPDO is configured with transmission type 252 or 253, it can only be transmitted in Diagnostics
response to an RTR message from the CANopen master controller.
Default values for the TxPDO transmission types are shown in Table 12.27.
Advanced
features
NOTE The actual index number is calculated by subtracting 1 from the PDO number and
adding this number to the base address e.g. for 0x1800 PDO3 = 0x1802.
Glossary of
terms
Index
The TxPDO time inhibit time specifies the time period (in multiples of 100μs) of the min-
imum interval between PDO transmissions of the same PDO. The inhibit time defines
the minimum time that has to elapse between two consecutive invocations of a PDOs
service. This can be used to help limit traffic on the network.
12.8.5 TxPDO event timer
Index 0x1800-0x19FF Sub-index 5 Access RW
Default 0 Data type USIGN16
The TxPDO event timer specifies the time period (in ms) between transmission of
TxPDOs with transmission type 254 or 255 (see section 12.28 TxPDO transmission
type default values on page 115). Set the TxPDO event timer to 0 to disable the event
timer.
NOTE The actual index number is calculated by subtracting 1 from the PDO number and
adding this number to the base address e.g. for 0x1800 PDO3 = 0x1802.
Safety
dictionary mapping parameters are changed after the SM-CANopen has initialised. This
means that the SM-CANopen will revert to the drive parameter-defined mappings during
the next initialisation.
Introduction
Table 12.30 TxPDO mapping parameters
Sub-
Index Description Data type Access
Mechanical
installation
index
0x1A00-0x1BFF 0 Number of mapped objects in TxPDO UNSIGNED8 RW
0x1A00-0x1BFF 1 Channel 0 mapping UNSIGNED32 RW*
0x1A00-0x1BFF 2 Channel 1 mapping UNSIGNED32 RW*
installation
Electrical
0x1A00-0x1BFF 3 Channel 2 mapping UNSIGNED32 RW*
0x1A00-0x1BFF 4 Channel 3 mapping UNSIGNED32 RW*
* - read/write only if the number of mapped application objects in TxPDO (index 0x1A00
Getting
started
NOTE
sub-index 0) is set to 0. Refer to section 7.7 Changing PDO mapping parameters (via
controller/PLC) on page 46.
EDS files
NOTE The actual index number is calculated by subtracting 1 from the PDO number and
adding this number to the base address e.g. for 0x1600 PDO3 = 0x1602.
Cyclic data
The default mappings for RxPDO1 are shown in Table 12.31. RxPDO1 is enabled by
default. The default configuration for SM-CANopen is RxPDOs 1, 3, 5 & 6 and TxPDOs
1, 3, 5 & 6, this however may be changed using objects 0x2800 and 0x2801 (section
Non-cyclic
12.5.1 RxPDO number configuration on page 107). The destination parameters for data
data
received from an RxPDO are specified in the RxPDO mapping parameters.
Four mapping parameters are provided for each RxPDO, allowing data to be mapped to
all drive and SM-Applications parameters. RxPDO data can also be mapped to all
status words
Control and
CANopen object dictionary entries that allow PDO mapping.
Table 12.31 TxPDOA (by default TxPDO 1)
Sub-
Diagnostics
Index Description Default Mapping destination
index
0x1A00 0 Number of entries 2 N/A
0x1A00 1 Channel 0 mapping 0x200A2820 Pr 10.40
Advanced
features
Profile position mode is not supported in the SM-CANopen, but TxPDO3 is provided for
use with a DPL profile implementation. By default, all TxPDO3 mappings are set to 0.
NOTE The actual index number is calculated by subtracting 1 from the PDO number and
adding this number to the base address e.g. for 0x1600 PDO3 = 0x1602.
reference
Quick
Glossary of
terms
Index
NOTE The actual index number is calculated by subtracting 1 from the PDO number and
adding this number to the base address e.g. for 0x1600 PDO3 = 0x1602.
By default, TxPDO5 is disabled, so the mapping objects are all set to 0. When DSP402
profiles are enabled, the specified mappings for profile torque mode are shown in Table
12.33.
Table 12.33 TxPDOC (by default TxPDO 5) default mapping
Sub-
Index Description Default Mapping destination
index
0x1A04 0 Number of entries 2 N/A
0x1A04 1 Channel 0 mapping 0x60410010 status word
0x1A04 2 Channel 1 mapping 0x60770010 torque_actual_value
0x1A04 3 Channel 2 mapping 0x00000000
Not used with default mappings
0x1A04 4 Channel 3 mapping 0x00000000
NOTE The actual index number is calculated by subtracting 1 from the PDO number and
adding this number to the base address e.g. for 0x1600 PDO3 = 0x1602.
By default, TxPDO6 is disabled, so the mapping objects are all set to 0. When DSP402
profiles are enabled, the specified mappings for velocity mode are shown in Table
12.34..
Table 12.34 TxPDOD (by default TxPDO 6) default mapping
Sub-
Index Description Default Mapping destination
index
0x1A05 0 Number of entries 2 N/A
0x1A05 1 Channel 0 mapping 0x60410010 statusword
0x1A05 2 Channel 1 mapping 0x60440010 vl_control_effort
0x1A05 3 Channel 2 mapping 0x00000000
Not used with default mappings
0x1A05 4 Channel 3 mapping 0x00000000
NOTE The actual index number is calculated by subtracting 1 from the PDO number and
adding this number to the base address e.g. for 0x1600 PDO3 = 0x1602.
information
Safety
12.10.1 0x2820 - RxPDOA event configuration
This object defines the event that will occur following the reception of RxPDOA. All
events defined by these objects will be carried out in the background task after the
Introduction
message has been processed, this means that depending on the modules loading and
the configuration of PDOs the delay before handling may vary, however it will always be
within one background task cycle of the SM-Applications module.
Mechanical
installation
Index 0x2820 Sub-index 0 Access RO
Maximum sub-index Data type UINT32 Default 5
Will return 5 when read, indicating the maximum sub-index of the object.
installation
Electrical
Index 0x2820 Sub-index 1 Access RO
Count Data type UINT32 Default 0
The number of times RxPDOA has been received. This value will increment every time
the event occurs and will rollover once the maximum value for a unsigned 32 bit integer
Getting
started
has been exceeded.
Index 0x2820 Sub-index 2 Access RW
EDS files
Mode Data type UINT32 Default 0
When the RxPDOA event occurs the specified parameter in sub-index three will be
manipulated depending on the specified mode value.
Cyclic data
Value Mode Description
0 None No parameter manipulation will occur.
1 Set The specified parameter will be set to a value of 1.
Non-cyclic
data
2 Clear The specified parameter will be set to a value of 0.
The specified parameter will be read and if non-zero a value of
3 Toggle
0 will be written, otherwise a value of 1 will be written.
status words
Control and
The value of the count sub-index will be written to the specified
4 Count parameter in sub-index 3. The value will be masked to the
parameter size.
Diagnostics
Index 0x2820 Sub-index 3 Access RW
Parameter Data type UINT32 Default 0
The value of the parameter used for modes 1 to 4 will be in the format:
(100*Menu + Parameter)
Advanced
features
Safety
Parameter Data type UINT32 Default 0
The parameter to use for modes 1-4, this value will be in the format (100*Menu +
Introduction
Parameter). A value of 0 will inhibit the operation.
Index 0x2821 Sub-index 4 Access RW
Event task number Data type UINT32 Default 0
Mechanical
installation
The SM-Applications event task to trigger following the RxPDOB event. The event task
will always be triggered after any specified parameter manipulation has completed.
Value Event task to trigger
installation
Electrical
0 None
1 Event
2 Event1
3 Event2
Getting
started
4 Event3
EDS files
Event task slot Data type UINT32 Default 0
The Solutions Module Slot where the event task should be triggered.
Cyclic data
Value Slot
0 Lowest slot
1 Slot 1
Non-cyclic
2 Slot 2
data
3 Slot 3
status words
Control and
This object defines the event that will occur following the reception of RxPDOC. All
events defined by these objects will be carried out in the background task after the
message has been processed, this means that depending on the modules loading and
the configuration of PDOs the delay before handling may vary, however it will always be
within one background task cycle. Diagnostics
Will return 5 when read, indicating the maximum sub-index of the object.
Index 0x2822 Sub-index 1 Access RO
Count Data type UINT32 Default 0
CANopen
reference
The number of times RxPDOC has been received. This value will increment every time
the event occurs, and will rollover once the maximum value for an unsigned 32 bit
integer has been exceeded.
reference
Quick
Glossary of
terms
Index
The parameter to use for modes 1-4, this value will be in the format (100*Menu +
Parameter). A value of 0 will inhibit the operation.
Index 0x2822 Sub-index 4 Access RW
Event task number Data type UINT32 Default 0
The SM-Applications event task to trigger following the RxPDOC event. The event task
will always be triggered after any specified parameter manipulation has completed.
Value Event task to trigger
0 None
1 Event
2 Event1
3 Event2
4 Event3
The Solutions Module Slot where the event task should be triggered.
Value Slot
0 Lowest slot
1 Slot 1
2 Slot 2
3 Slot 3
information
This object defines the event that will occur following the reception of RxPDOD. All
Safety
events defined by these objects will be carried out in the background task after the
message has been processed, this means that depending on the modules loading and
the configuration of PDOs the delay before handling may vary, however it will always be
Introduction
within one background task cycle of the SM-Applications module.
Index 0x2823 Sub-index 0 Access RO
Maximum sub-index Data type UINT32 Default 0
Mechanical
installation
Will return 5 when read, indicating the maximum sub-index of the object.
Index 0x2823 Sub-index 1 Access RO
Count Data type UINT32 Default 0
installation
Electrical
The number of times RxPDOD has been received. This value will increment every time
the event occurs and will rollover once the maximum value for a unsigned 32 bit integer
has been exceeded.
Getting
started
Index 0x2823 Sub-index 2 Access RW
Mode Data type UINT32 Default 0
EDS files
When the RxPDOD event occurs the specified parameter in sub-index 3 will be
manipulated depending on the specified mode value.
Value Mode Description
Cyclic data
0 None No parameter manipulation will occur.
1 Set The specified parameter will be set to a value of 1.
2 Clear The specified parameter will be set to a value of 0.
Non-cyclic
The specified parameter will be read and if non-zero a value of 0
3 Toggle
data
will be written, otherwise a value of 1 will be written.
The value of the count sub-index will be written to the specified
4 Count parameter in sub-index 3. The value will be masked to the
status words
Control and
parameter size.
Diagnostics
The parameter to use for modes 1-4, this value will be in the format (100*Menu +
Parameter). A value of 0 will inhibit the operation.
Index 0x2823 Sub-index 4 Access RW
Advanced
features
3 Event2
4 Event3
Glossary of
The parameter to use for modes 1-4, this value will be in the format (100*Menu +
Parameter). A value of 0 will inhibit the operation.
Index 0x2830 Sub-index 4 Access RW
Event task number Data type UINT32 Default 0
information
will always be triggered after any specified parameter manipulation has completed.
Safety
Value Event task to trigger
0 None
Introduction
1 Event
2 Event1
3 Event2
Mechanical
installation
4 Event3
installation
Electrical
The Solutions Module Slot where the event task should be triggered.
Value Slot
0 Lowest slot
Getting
started
1 Slot 1
2 Slot 2
3 Slot 3
EDS files
12.10.6 0x2831 - Missed heartbeat
This object defines the event that will occur following a missed heartbeat message. All
Cyclic data
events defined by these objects will be carried out in the background task of the SM-
Applications module after the message has been processed, this means that depending
on the modules loading and the configuration of PDOs the delay before handling may
vary, however it will always be within one background task cycle.
Non-cyclic
data
Index 0x2831 Sub-index 0 Access RO
Maximum sub-index Data type UINT32 Default 6
Will return 6 when read, indicating the maximum sub-index of the object.
status words
Control and
Index 0x2831 Sub-index 1 Access RO
Count Data type UINT32 Default 0
The number of times a missed heartbeat has occurred. This value will increment every
time a missed heartbeat message occurs and will rollover once the maximum value for Diagnostics
a unsigned 32 bit integer has been exceeded.
Index 0x2831 Sub-index 2 Access RW
Advanced
features
parameter size.
information
Safety
depending on the specified mode value:
Value Mode Description
0 None No triggering will occur.
Introduction
The event will be triggered when the specified parameter
1 Non-zero changes from 0 to any non-zero value. It must be set back to 0
to re-arm he trigger.
Mechanical
installation
The event will be triggered when the specified parameter
2 Reset changes from 0 to any non-zero value. The parameter will then
automatically be set back to 0.
The event will be triggered any time the specified parameter
3 Change
changes value.
installation
Electrical
If a read-only parameter is currently set then the mode cannot be set to Reset. The
mode is defaulted to Non-zero for backward compatibility.
Getting
started
Index 0x2840 Sub-index 2 Access RO
Trigger Parameter Data type UINT32 Default 6036
The event trigger parameter for the RxPDOA when its transmission type is set to 254
EDS files
(asynchronous, event trigger) will be in the format (100*menu + parameter). A value of 0
will inhibit the operation.
If the Reset mode is selected a read-only parameter cannot be set. The parameter is
Cyclic data
defaulted to Pr MM.36 for backward compatibility.
12.11.2 0x2841 - RxPDOB trigger configuration
This object will be used to configure an RxPDOB trigger.
Non-cyclic
data
Index 0x2841 Sub-index 0 Access RO
Maximum sub-index Data type UINT32 Default 2
Will return 2 when read, indicating the maximum sub-index of the object.
status words
Control and
Index 0x2841 Sub-index 1 Access RO
Mode Data type UINT32 Default 1
When the RxPDOB trigger occurs the specified parameter will be manipulated
depending on the specified mode value: Diagnostics
Value Mode Description
0 None No triggering will occur.
Advanced
features
2 Reset changes from 0 to any non-zero value. The parameter will then
automa ically be set back to 0.
The event will be triggered any time he specified parameter
3 Change
changes value.
reference
If a read-only parameter is currently set then the mode cannot be set to Reset. The
Quick
The event trigger parameter for the RxPDOB when its transmission type is set to 254
(asynchronous, event trigger) will be in the format (100*menu + parameter). A value of 0
will inhibit the operation.
Index
If a read-only parameter is currently set then the mode cannot be set to Reset. The
mode is defaulted to Non-zero for backward compatibility.
Index 0x2842 Sub-index 2 Access RO
Trigger Parameter Data type UINT32 Default 6036
The event trigger parameter for the RxPDOC when its transmission type is set to 254
(asynchronous, event trigger) will be in the format (100 x menu + parameter). A value of
0 will inh bit the operation.
If the Reset mode is selected a read-only parameter cannot be set. The parameter is
defaulted to Pr MM.36 for backward compatibility.
12.11.4 0x2843 - RxPDOD trigger configuration
This object will be used to configure an RxPDOD trigger.
Index 0x2843 Sub-index 0 Access RO
Maximum sub-index Data type UINT32 Default 2
Will return 2 when read, indicating the maximum sub-index of the object.
Index 0x2843 Sub-index 1 Access RO
Mode Data type UINT32 Default 1
information
depending on the specified mode value:
Safety
Value Mode Description
0 None No triggering will occur.
Introduction
The event will be triggered when the specified parameter
1 Non-zero changes from 0 to any non-zero value. It must be set back to 0
to re-arm he trigger.
The event will be triggered when the specified parameter
Mechanical
installation
2 Reset changes from 0 to any non-zero value. The parameter will then
automatically be set back to 0.
The event will be triggered any time the specified parameter
3 Change
changes value.
installation
Electrical
If a read-only parameter is currently set then the mode cannot be set to reset. The mode
is defaulted to non-zero for backward compatibility.
Index 0x2843 Sub-index 2 Access RO
Getting
started
Trigger Parameter Data type UINT32 Default 6036
The event trigger parameter for the RxPDOD when its transmission type is set to 254
EDS files
(asynchronous, event trigger) will be in the format (100 x menu + parameter). A value of
0 will inh bit the operation.
If the reset mode is selected a read-only parameter cannot be set. The parameter is
Cyclic data
defaulted to Pr MM.36 for backward compatibility.
Non-cyclic
12.12.1 0x2850 - TxPDOA trigger configuration
data
This object will be used to configure an TxPDOA trigger.
Index 0x2850 Sub-index 0 Access RO
status words
Control and
Maximum sub-index Data type UINT32 Default 2
Will return 2 when read, indicating the maximum sub-index of the object.
Index 0x2850 Sub-index 1 Access RO
Diagnostics
Mode Data type UINT32 Default 1
When the TxPDOA trigger occurs the specified parameter will be manipulated
depending on the specified mode value:
Advanced
features
to re-arm he trigger.
The event will be triggered when the specified parameter
2 Reset changes from 0 to any non-zero value. The parameter will then
automatically be set back to 0.
reference
3 Change
changes value.
If a read-only parameter is currently set then the mode cannot be set to reset. The mode
Glossary of
If a read-only parameter is currently set then the mode cannot be set to reset. The mode
is defaulted to non-zero for backward compatibility.
Index 0x2851 Sub-index 2 Access RO
Trigger parameter Data type UINT32 Default 6036
The event trigger parameter for the TxPDOB when its transmission type is set to 254
(asynchronous, event trigger) will be in the format (100 x menu + parameter). A value of
0 will inh bit the operation.
If the reset mode is selected a read-only parameter cannot be set. The parameter is
defaulted to Pr MM.36 for backward compatibility.
12.12.3 0x2852 - TxPDOC trigger configuration
This object will be used to configure an TxPDOC trigger.
Index 0x2852 Sub-index 0 Access RO
Maximum sub-index Data type UINT32 Default 2
Will return 2 when read, indicating the maximum sub-index of the object.
Index 0x2852 Sub-index 1 Access RO
Mode Data type UINT32 Default 1
information
depending on the specified mode value:
Safety
Value Mode Description
0 None No triggering will occur.
Introduction
The event will be triggered when the specified parameter
1 Non-zero changes from 0 to any non-zero value. It must be set back to 0
to re-arm he trigger.
The event will be triggered when the specified parameter
Mechanical
installation
2 Reset changes from 0 to any non-zero value. The parameter will then
automatically be set back to 0.
The event will be triggered any time the specified parameter
3 Change
changes value.
installation
Electrical
If a read-only parameter is currently set then the mode cannot be set to reset. The mode
is defaulted to Non-zero for backward compatibility.
Index 0x2852 Sub-index 2 Access RO
Getting
started
Trigger parameter Data type UINT32 Default 6036
The event trigger parameter for the TxPDOC when its transmission type is set to 254
(asynchronous, event trigger) will be in the format (100 x menu + parameter). A value of
EDS files
0 will inh bit the operation.
If the reset mode is selected a read-only parameter cannot be set. The parameter is
defaulted to Pr MM.36 for backward compatibility.
Cyclic data
12.12.4 0x2853 - TxPDOD trigger configuration
This object will be used to configure an TxPDOD trigger.
Index 0x2853 Sub-index 0 Access RO
Non-cyclic
Maximum sub-index Data type UINT32 Default 2
data
Will return 2 when read, indicating the maximum sub-index of the object.
Index 0x2853 Sub-index 1 Access RO
status words
Control and
Mode Data type UINT32 Default 1
When the TxPDOD trigger occurs the specified parameter will be manipulated
depending on the specified mode value:
Value Mode Description Diagnostics
0 None No triggering will occur.
The event will be triggered when the specified parameter
Advanced
to re-arm he trigger.
The event will be triggered when the specified parameter
2 Reset changes from 0 to any non-zero value. The parameter will then
automatically be set back to 0.
CANopen
reference
If a read-only parameter is currently set then the mode cannot be set to reset. The mode
reference
$AUTHOR My Name
$COMPANY My Company
$TITLE APP1
$VERSION V1.0
$DRIVE UNIDRVSP
CONST ObjArray%{
8 // Max sub-index
0x16000008, 0 // Object 0x1600 sub-index 0 = 0
0x16000120, 0x20141920 // Object 0x1600 sub-index 1 = Pr 20.25
0x16000220, 0x20141B20 // Object 0x1600 sub-index 2 = Pr 20.26
0x16000008, 2 // Object 0x1600 sub-index 3 = 2, to
configure 2 mappings
}
Initial{
// Associate all sub-indexes with the start-up object list.
FOR Index% = 0 To ObjArray%[0]
Status% = AssociateIntOpComms(0x2860, Index%, ObjArray%[Index%],
0, 32, 1, 0)
LOOP
} //Initial
information
The object definition and value pairs are used to specify the updates to the object
Safety
dictionary. Each object definition entry is formatted as follows:
Bits 31-16 Bits 15-8 Bits 7-0
Introduction
Object Sub-index Length
During start-up Value will be written to the object, assuming the specified object is
writeable.
Mechanical
installation
Error handling
If an error occurs during the handling of object 0x2860, an SLx.Er trip will occur and the
diagnostics will report -3 Configuration Error in Pr MM.06.
installation
Electrical
12.13.1 Extended Emergency Triggering
The remaining 2 manufacture specific bytes of the emergency object can be accessed
by making an association to Object 0x1001, sub1, this must be a 16bit readable
association. Changes to this associated object must be made prior to changes to the
Getting
started
basic Emergency Message associated object (0x1001, sub0) to ensure consistency.
EDS files
Background associations allow access to internal values of the SM-CANopen module
that are not normally accessible to a master or applications module.
Cyclic data
By defining a set of associations to object 0x2862 applications module variables can be
linked to CANopen internal values. The following associations are available.
NOTE
To access the NMT State and EMCY Counter objects an association must firstly be
Non-cyclic
data
made to 0x2861, sub index 0.
Index 0x2862 Sub-index 0 Access RO
status words
Maximum sub-index Data type INTEGER32 Default 2
Control and
Will return 2 when read, indicating the maximum sub-index of the object.
Diagnostics
NMT State Data type INTEGER8 Default N/A
When associated in a DPL program this object will display the current NMT state of the
node.
Advanced
features
127 Pre-operational
The EMCY Counter is a flag that will increment by one each time an EMCY message
Quick
Power on or
hardware reset
INITIALISATION
2
14 PRE- 11
OPERATIONAL
7
4
13 5 10
STOPPED
8
3
12 6 9
OPERATIONAL
information
Safety
Object INITIALISATION PRE-OPERATIONAL OPERATIONAL STOPPED
Emergency - Active Active -
Boot-up Active - - -
Introduction
NMT Active Active Ac ive
12.15.2 Initialisation
SM-CANopen may be switched into Initialization from any other state using the
Mechanical
installation
RESET_NODE or RESET_COMMUNICATION commands.
12.15.3 Pre-operational
The synchronization object, emergency object, NMT objects and SDO communications
installation
Electrical
are all active in the PRE-OPERATIONAL state, allowing device configuration to take
place. PDOs do not exist in the PRE-OPERATIONAL state and are inactive. This allows
PDO configuration and mapping objects to be configured without interfering with active
Getting
started
communications.
SM-CANopen may be switched into PRE-OPERATIONAL from OPERATIONAL
(transition 4) or STOPPED (transition 7) using the ENTER_PRE-OPERATIONAL
EDS files
command.
12.15.4 Operational
Cyclic data
All communication objects are active in the OPERATIONAL state. All configured PDOs
are created when SM-CANopen enters the OPERATIONAL state, using the parameter
values in the object dictionary. SDO communications remain active in the
OPERATIONAL state.
Non-cyclic
data
SM-CANopen may be switched into OPERATIONAL from PRE-OPERATIONAL
(transition 3) or STOPPED (transition 6) using the START_REMOTE-NODE command.
12.15.5 Stopped
status words
Control and
All communications (except NMT and heartbeat) are stopped when the SM-CANopen is
switched into the STOPPED state. SM-CANopen will only respond to NMT messages
while in the STOPPED state, so it must be switched into the PRE-OPERATIONAL or
Diagnostics
OPERATIONAL state to re-start communications. The heartbeat error control protocol
remains active during the STOPPED state.
SM-CANopen may be switched into STOPPED from PRE-OPERATIONAL (transition 5)
Advanced
used to switch SM-CANopen between the different NMT states. NMT messages always
have a CAN identifier of 0x000 and contain 2 data bytes.
Table 12.37 NMT message structure
reference
Quick
Command
CAN identifier Node ID
(See Table 12.38)
0x000 See Table 12.38 Target node
Glossary of
terms
Index
information
cause the device to re-initialise and activate with the new settings.
Safety
12.17.4 Switch mode selective
The switch mode selective commands are used to change a single device into the
Introduction
“configuration” state. A series of four commands are issued containing the four values of
the LSS address. If all four values match the local values, and are received in the
correct sequence, SM-CANopen will enter the “configuration” state and respond with a
Mechanical
message to indicate that is now in this state.
installation
All parts of the LSS address are obtained from the identity object (0x1018).
12.17.5 Select vendor ID
installation
Command to specify the Vendor ID of the target SM-CANopen.
Electrical
Table 12.40 Vendor ID
Byte
COB-ID
Getting
started
0 1-4 5-7
0x7E5 0x40 Vendor ID Reserved (set to 0)
EDS files
12.17.6 Select product code
Command to specify the Product Code of the target SM-CANopen.
Table 12.41 Product Code
Cyclic data
Byte
COB-ID
0 1-4 5-7
0x7E5 0x41 Product Code Reserved (set to 0)
Non-cyclic
data
12.17.7 Select revision number
Command to specify the Revision Number of the target SM-CANopen.
status words
Control and
Table 12.42 Revision Number
Byte
COB-ID
0 1-4 5-7
Diagnostics
0x7E5 0x42 Revision Number Reserved (set to 0)
12.17.9 Response
When a device has been identified, it will respond to acknowledge the mode change.
reference
Quick
Table 12.44
Byte
COB-ID
Glossary of
0 1-7
terms
information
Safety
Err code 1 = bit timing not supported.
Spec error = always 0.
Introduction
12.17.13 Activate bit timing
This command tells all devices to change to the new data rate. If any of the devices
have different data rate settings, or are not in “Configuration”, a conflict will occur and a
bus-off error may occur. The switch delay time is specified in milliseconds, and specifies
Mechanical
installation
the idle time before and after the data rate change during which no devices are allowed
to communicate on the network.
Table 12.50 Bit activation
installation
Electrical
Byte
COB-ID
0 1-2 3-7
0x7E5 0x15 Switch delay Reserved (set to 0)
Getting
started
12.17.14 Store configuration
The store configuration command will force all drive parameters to be saved, provided
EDS files
the drive is not in a tripped state.
Table 12.51 Store configuration
Cyclic data
Byte
COB-ID
0 1-7
0x7E5 0x17 Reserved (set to 0)
Non-cyclic
SM-CANopen will respond to acknowledge the save request.
data
Table 12.52 Configuration acknowledgement
Byte
COB-ID
status words
Control and
0 1 2 3-7
0x7E4 0x17 Err code Spec error Reserved (set to 0)
Err code 0 = parameters saved.
Diagnostics
Err code 1 = drive tripped, parameters were not saved.
Spec error = always 0.
12.17.15 Inquire Service
Advanced
features
The Inquire Service command can be used to receive information about a device that is
in the “configuration” state. Only one device may be in this state when this command is
used.
CANopen
reference
If new devices are added to the CANopen network one at a time, their default mode will
be LSS. By using the Switch Mode Global and Inquire Service commands, the master
can retrieve the information that is needed for addressing each device before
configuring it and switching it out of LSS.
reference
Quick
12.17.16Inquire vendor ID
Request message:
Glossary of
Byte
COB-ID
0 1-7
Index
Response message:
Table 12.56 Response message
Byte
COB-ID
0 1-4 5-7
0x7E4 0x5B Product Code Reserved (set to 0)
Response message
Table 12.60 Response message
Byte
COB-ID
0 1-4 5-7
0x7E4 0x40 Serial Number Reserved (set to 0)
information
Safety
Request message:
Table 12.61 Request message
Introduction
Byte
COB-ID
0 1-7
0x7E5 0x5A Reserved (set to 0)
Mechanical
installation
Response message:
Table 12.62 Response message
Byte
installation
Electrical
COB-ID
0 1 2 3
COB-ID EMCY Emergency error code Error register
Drive trip code
(Index 0x1014) (See Table 12.63) (Index 0x1001)
Getting
started
4 5 6 7
EDS files
SM-CANopen Manufacturer
Manufacturer specific bytes (0x1001,
Error code specific byte
sub 1)
(Pr MM.50) (0x1001, sub 0)
Cyclic data
12.18 Emergency object
12.18.1 What is the emergency object?
Non-cyclic
Emergency objects are transmitted by the SM-CANopen when it detects that the drive
data
has tripped. They are high priority messages that inform the CANopen master controller
that some sort of error has occurred. It is up to the CANopen master controller to take
appropriate action.
status words
Control and
Emergency objects are suitable for interrupt-type error alerts. An emergency object is
transmitted only once per error event and provided that no new errors occur, no further
emergency objects will be transmitted.
12.18.2 Emergency object format Diagnostics
The emergency object consists of a total of eight data bytes. The first 3 bytes are
defined by the CANopen specification, and the remaining five bytes are manufacturer-
Advanced
features
specific.
SM-CANopen will return the drive trip code and the SM-CANopen error code, allowing
the CANopen master controller to determine exactly what fault has occurred.
CANopen
reference
COB-ID
Quick
0 1 2 3 4
SM-CANopen
COB-ID EMCY Emergency error code Error register Drive trip code
error code
(Index 0x1014) (See Table 12.64) (Index 0x1001)
Glossary of
(Pr MM.50)
terms
The CANopen specification defines a list of standard error codes. Supported CANopen
emergency error codes (and the drive trips that will produce the emergency error code)
are listed in Table 12.64. All other drive trips will produce the generic error code,
Index
0x1000.
Error free
1 4
Error occurred 3
Safety
Transition Reference Description
After initialisation, SM-CANopen enters the error free state if no
0 Initialisation
Introduction
error is detected. The emergency object is not transmitted.
SM-CANopen detects an error, transmits the emergency object
1 Error occurred
once, and enters the error state.
One error (but not all errors) have been cleared. SM-CANopen will
Reset, new error
Mechanical
installation
2 transmit another emergency object with information about the
occurred
remaining error.
SM-CANopen has detected a new error condition, while in the error
New error
3 state. SM-CANopen remains in error state and transmits another
occurred
installation
emergency object with the appropriate error codes.
Electrical
All errors have been cleared. SM-CANopen will return to the error
Reset, error
4 free state, and transmit an emergency object with the emergency
cleared
error code set to 0x0000.
Getting
started
12.19.1 Error register
The error register is used by the SM-CANopen to indicate that an error has occurred,
and can be mapped to TxPDOs if required. If a bit is set to 1, the specified error has
EDS files
occurred.
Table 12.66 Error register
Cyclic data
Bit Error Description
0 Generic error Set if any other bits in the register are set.
1 Current Set if current errors occur.
2 Voltage When drive detects a UU error.
Non-cyclic
data
3 Temperature Set if temperature errors occur.
4 Communication error
5 Device profile specific Always set to 0
status words
Control and
6 Reserved
7 Manufacturer specific Set if Pr 10.19 is set.
lower 16 bits (bytes 0 and 1) of this object. Byte two will be a logical “OR” with the error
register byte created in the modules emergency message handler, and byte three can
be used to set the 3rd of the manufacturer specific bytes of the emergency object. The
CANopen
reference
NOTE
Quick
Glossary of
terms
Index
NOTE Only mode 1 (velocity mode) is supported on SM-CANopen when used with a Com-
mander SK. Unidrive SP, Digitax ST, Affinity and the Mentor MP drives support both
modes 1 and 3.
information
select the required profile using modes_of_operation (see section 12.21.13 Modes of
Safety
operation on page 155).
NOTE Cyclic data compression (Pr MM.34) MUST be enabled and the data format (Pr MM.05)
Introduction
must be set to 0 to use the DSP402 device profiles (see section 11.7 Cyclic data
compression on page 76 and section 5-10 SDO Configuration on page 33).
Refer to section 11.12 SM-Applications object priority on page 81 to ensure that the cor-
Mechanical
installation
rect object implementations will be accessed. If a device profile is written entirely in the
SM-Applications DPL program, it is recommended that the internal SM-CANopen pro-
files should be disabled.
installation
12.21.2 Conversion factors
Electrical
The velocity mode profile specifies velocity parameters in rpm or percent, time
parameters in seconds, and ramps in rpm/second. The drive uses different units for the
different types of parameter, so conversion factors must be used.
Getting
started
Hz/rpm functions
The Hz/rpm functions are used when the drive is in open loop mode, as all speed
EDS files
reference parameters within the drive have units of Hz. The number of motor pole pairs
is read from the drive whenever these equations are used.
Hz = rpm x PolePairs / 60
Cyclic data
rpm = Hz x 60 / PolePairs
Ramp conversion functions
The ramp conversion functions are used to convert between rpm/s (specified using
Non-cyclic
DeltaSpeed and DeltaTime) and the ramp specification used by the drive.
data
In open loop and SE mode, drive ramp units are specified in s/100Hz.
Secs / 100Hz = DeltaTime x (100 x 6 / PolePairs) x 100 / DeltaSpeed
status words
Control and
In closed loop and servo modes, drive ramp units are specified in s/1000rpm.
Secs / 1000rpm = DeltaTime x 1000 x 1000 / DeltaSpeed
Diagnostics
12.21.3 Parameter data object mapping
The controlword and statusword used by the device profile modes are not the
standard drive control and status words. They are defined in CiA DSP-402 V1.1,
“Device Profile for Drive and Motion Control”.
Advanced
features
NOTE Only mode 1 (velocity mode) is supported on SM-CANopen when used with a Com-
mander SK. Unidrive SP, Digitax ST, Affinity and Mentor MP drives support both modes
1 and 3.
information
Safety
Bit number Description
0 Profile position mode
1 Velocity mode
Introduction
2 Profile velocity mode (not supported)
3 Profile torque mode
4 Reserved
Mechanical
installation
5 Homing mode (not supported)
6 Interpolated position mode (not supported)
7 to 15 Reserved
installation
Electrical
16 to 31 Manufacturer specific
Device control
Device control objects are used to control the operation of the drive.
Getting
started
Table 12.79 Device control supported objects
PDO
Index Object Name Type Access
EDS files
mapping
0x6040 VAR controlword UNSIGNED16 RW Yes
0x6041 VAR statusword UNSIGNED16 RW Yes
Cyclic data
0x605A VAR quick_stop_option_code INTEGER16 RW No
0x605B VAR shut_down_option_code INTEGER16 RW No
0x605C VAR disable_operation_option_code INTEGER16 RW No
0x6060 VAR modes_of_operation INTEGER8 WO Yes
Non-cyclic
data
0x6061 VAR modes_of_operation_display INTEGER8 RO Yes
Controlword
status words
Control and
Index 0x6040 Object code VAR Access RW
Sub-index 0 Data type UNSIGNED16 PDO mapping Yes
Default N/A Units None
controlword provides the commands for logical control (enable, run, reset, etc.) of the Diagnostics
drive, according to the pre-defined controlword state machine. In each state, the
SM-CANopen will convert controlword and set the drive control word (Pr 6.42) as
Advanced
NOTE The drive control word must be enabled by setting Pr 6.43 to ON (or 1) to allow
controlword to control Pr 6.42.
CANopen
reference
reference
Quick
Glossary of
terms
Index
States may be changed using the controlword and/or internal events. The current state
can be read using the statusword.
information
Safety
Index 0x6041 Object code VAR Access RO
Sub-index 0 Data type UNSIGNED16 PDO mapping Yes
Introduction
Default N/A Units None
The statusword indicates the current status of the drive. The statusword bits are
defined in the Table 12.83.
Mechanical
installation
Table 12.83 statusword bit descriptions
Bit Name Source
0 READY TO SWITCH ON
installation
Electrical
1 SWITCHED ON Controlled by the device control state machine (see Figure
2 OPERATION ENABLED 12.84 on page 151).
3 FAULT
VOLTAGE_DISABLED will be set to 1 when SM-CANopen
Getting
started
4 VOLTAGE DISABLED is responding to the “Disable voltage“ command in he
controlword.
5 QUICK STOP Controlled by the device control state machine (see Figure
EDS files
6 SWITCH ON DISABLED 12.84 on page 151).
7 Reserved
8 Reserved
Cyclic data
Indicates that the drive is being controlled by
9 REMOTE controlword. Set to 1 if both control word enable (Pr 6.43)
and AUTO bit (Pr 6.42 bit 7) are set to 1.
Indicates the “At Speed” indication (Pr 10.06) from the
Non-cyclic
10 TARGET drive. When quick stop is active, TARGET returns the
data
“Drive Running” bit. (Pr 10.02).
Set if vl_velocity_demand goes outside the limits
11 INTERNAL LIMIT ACTIVE
specified in vl_velocity_min_max_amount.
status words
Control and
12-15 Reserved
Table 12.84 shows the values of statusword in each state. Bits marked X are not appli-
cable for that state, and other combinations are not allowed.
Table 12.84 statusword value Diagnostics
NOT READY TO
0 X 0 0 0 0
SWITCH ON
SWITCH ON
1 X 0 0 0 0
DISABLED
CANopen
reference
READY TO
0 1 0 0 0 1
SWITCH ON
SWITCHED ON 0 1 0 0 1 1
reference
OPERATION
Quick
0 1 0 1 1 1
ENABLED
FAULT 0 X 1 1 1 1
FAULT REACTION
Glossary of
0 X 1 1 1 1
ACTIVE
terms
QUICK STOP
0 0 0 1 1 1
ACTIVE
Index
Safety
Parameter
Value Action Description
settings
Introduction
0 Disable drive function Pr 6.01 = 0 Select coast stop.
Select ramp stop.
Pr 6.01 = 1
Select ramp Pr 2.22.
1 Slow down on slow down ramp Pr 2.20 = 2
Select standard ramp with normal.
Pr 2.04 = 1
Mechanical
motor voltage.
installation
Pr 6.01 = 1 Select ramp stop.
2 Slow down on quick stop ramp Pr 2.20 = 3 Select ramp Pr 2.23.
Pr 2.04 = 0 Select fast ramp.
installation
3 - -
Electrical
Not supported
4 - -
Pr 6.01 = 1
Slow down on slow down ramp
5 Pr 2.20 = 2 As 1 with stay in quick-stop.
and stay in quick-stop
Getting
started
Pr 2.04 = 1
Pr 6.01 = 1
Slow down on quick stop ramp
6 Pr 2.20 = 3 As 2 with stay in quick-stop.
and stay in quick-stop
Pr 2.04 = 0
EDS files
7 - -
Not supported
8 - -
Cyclic data
NOTE Options 9 to 32767 are all reserved for possible future use.
Some manufacturer specific options are also available. These allow the various ramp
modes implemented in the Unidrive SP to be used.
Non-cyclic
data
status words
Control and
Diagnostics
Advanced
features
CANopen
reference
reference
Quick
Glossary of
terms
Index
Options –7 to –10, and –17 to –32768 are all reserved for possible future use.
information
Safety
Index 0x6060 Object code VAR Access WO
Sub-index 0 Data type INTEGER8 PDO mapping Yes
Default N/A Units None
Introduction
The modes_of_operation parameter selects the internal profile that should be used.
SM-CANopen supports velocity mode and profile torque mode. SM-CANopen profiles
must be enabled by setting Pr MM.37 to 1 (ON) (see section 12.21.1 Enable DSP402
Mechanical
installation
device profiles on page 144).
Table 12.89 modes_of_operation codes
Value Action
installation
Electrical
-1 No profile enabled
0 Reserved
1 Not supported
Getting
started
2 Velocity mode
3 Not supported
4 Torque profile mode
EDS files
5-7 Not supported
Cyclic data
Index 0x6061 Object code VAR Access RO
Sub-index 0 Data type INTEGER8 PDO mapping Yes
Default N/A Units None
Non-cyclic
The modes_of_operation_display parameter shows the currently selected profile.
data
See section 12.89 modes_of_operation codes on page 155.
12.21.15Profile torque mode
status words
Control and
Table 12.90 shows a summary of all supported objects of the profile torque mode.
Profile torque mode must be enabled by setting modes_of_operation to 4 (see section
12.21.13 Modes of operation on page 155).
Table 12.90 Profile torque mode supported objects
Diagnostics
PDO
Index Object Name Type Access
mapping
0x6071 VAR target_torque INTEGER16 RW Yes
Advanced
features
target_torque
(0x6071)
Torque
torque_slope Trajectory control and
Motor
(0x6087) generator power
stage
torque_profile_ty
pe
(0x6088)
torque_actual_value
(0x6077)
12.21.16Target torque
Index 0x6071 Object code VAR Access RW
Sub-index 0 Data type INTEGER16 PDO mapping Yes
per thousand
Default 0 Units
of rated torque
target_torque is the input value for the torque controller. This object is multiplied by 10
and written directly to Pr 4.08 when controlword is in the power enabled group of
states. Refer to Figure 12-3 on page 149.
12.21.17Torque actual value
Index 0x6077 Object code VAR Access RO
Sub-index 0 Data type INTEGER16 PDO mapping Yes
per thousand
Default 0 Units
rated current
This value is taken from the motor name plate and is entered as units of 1mA (or 0.001
Amp). It is directly linked to Pr 5.07 of the drive when using the default motor map, and
Pr 21.07 when using motor map 2.
information
Safety
Index 0x6087 Object code VAR Access RW
Sub-index 0 Data type UNSIGNED32 PDO mapping Yes
per thousand
Introduction
Default 0 Units of rated torque
per second
Mechanical
installation
change in target_torque is seen, SM-CANopen will apply a ramp to the torque
reference before updating the torque reference parameter, Pr 4.08.
12.21.20Torque profile type
installation
Electrical
Index 0x6088 Object code VAR Access RW
Sub-index 0 Data type INTEGER16 PDO mapping Yes
Default 0 Units None
Getting
started
The torque_profile_type is used to select the type of torque profile used to perform a
torque change. Only linear ramps are supported.
Table 12.91 torque_profile_type codes
EDS files
Profile code Profile type
0 Linear ramp (trapezoidal profile)
Cyclic data
1 Not supported
Non-cyclic
mode must be enabled by setting the modes_of_operation object to 2 (see section
data
12.21.13 Modes of operation on page 155).
Table 12.92 Velocity mode supported objects
status words
Control and
PDO
Index Object Name Type Access
mapping
0x6042 VAR vl_target_velocity INTEGER16 RW Yes
0x6043 VAR vl_velocity_demand INTEGER16 RO Yes
0x6044 VAR vl_control_effort INTEGER16 RO Yes Diagnostics
0x6046 ARRAY vl_velocity_min_max_amount UNSIGNED32 RW Yes
0x6048 RECORD vl_velocity_acceleration RAMP RW Yes
Advanced
features
Velocity Mode
Closed-loop
vl_velocity_acceleration Ramp open-loop vl_control_effort
(0x6048) function control (0x6044)
function
vl_velocity_deceleration vl_velocity_demand
(0x6049) (0x6043)
vl_target_velocity is the required velocity of the system and is written to Pr 1.21. The
units of vl_target_velocity are rpm, and range from –32768 to +32767.
12.21.22Vl target velocity
Figure 12-6 vl_target_velocity
vl_target_velocity * vl_dimension_factor
(0x6042) (0x604C)
Open loop or No
SE mode??
Yes
Preset ref 1
* ( 601 ) * pole pairs (Pr 1.21)
information
Safety
Index 0x6049 Object Type RECORD
Elements 2
vl_velocity_deceleration specifies the slope of the deceleration ramp. It is calculated
Introduction
by dividing delta_speed by delta_time (see Figure 12-9). By default, delta_speed is
set to 0, so the deceleration ramp is effectively disabled. vl_velocity_deceleration is
converted and written to Pr 2.21 when delta_speed or delta_time are updated.
Mechanical
installation
delta_speed
Index 0x6049 Object code VAR Access RW
Sub-index 1 Data type UNSIGNED32 PDO mapping Yes
installation
Electrical
Default 0 Units rpm
delta_time
Getting
Index 0x6049 Object code VAR Access RW
started
Sub-index 2 Data type UNSIGNED16 PDO mapping Yes
Default 1 Units Seconds
EDS files
delta_time is multiplied by a scaling factor and divided by delta_speed to calculate the
setting for Pr 2.21. When delta_time is multiplied by the scaling factor, the interim
result must not exceed the maximum range of an UNISIGNED32 value. This equates to
Cyclic data
4294 seconds in closed loop or servo mode, and 1431 seconds in open loop mode on a
four pole motor.
12.21.28Vl pole number
Non-cyclic
data
Index 0x604D Object code VAR Access RW
Sub-index 0 Data type UNSIGNED8 PDO Mapping Yes
Number of
Default Units
status words
Control and
poles
This value defines the number of poles of the motor currently being used. It is directly
linked to Pr 5.11 of the drive when using the default motor map, and Pr 21.11 when
Diagnostics
using motor map 2.
Advanced
features
CANopen
reference
reference
Quick
Glossary of
terms
Index
information
Safety
Slot Default Cross Reference Description
Section 12.21.1 on
Pr MM.37 OFF (0) Enable DSP402 profile
page 144
Introduction
Pr MM.38 OFF (0) Reserved
Pr MM.39 4 TxPDO length
Section 11.9 on page 78
Pr MM.40 4 RxPDO length
Mechanical
installation
Pr MM.41 0 Section 12.8.3 on page 114 TxPDO transmission type
Pr MM.42* 0 Section 11.12 on page 81 SM-Applications object priority
Pr MM.43* 0 Section 11.13.3 on page 84 synchroniza ion Mode
Pr MM.44* 0 Section 11.13.4 on page 85 synchroniza ion Status
installation
Electrical
Pr MM.45* 0 Section 11.13.5 on page 86 synchroniza ion Period
Pr MM.46* 0 Section on page 91 Increments on PDO Transfer Cycle
Pr MM.47 0
Reserved
Getting
started
Pr MM.48 0
Pr MM.49 ---- Section 10.6 on page 67 SM-CANopen mapping status
Pr MM.50 ---- Section 10.7 on page 69 SM-CANopen error codes
Non-cyclic
reference to the section in this manual where more information can be found. Virtual
data
parameters can only be accessed from the CANopen network using non-cyclic
communications.
Table 13.2 SM-CANopen virtual parameter reference
status words
Control and
Slot 1 Default Cross reference Description
Pr 61.01 ---- ---- Drive Pr MM.00 access.
Diagnostics
Pr 61.35 ---- Section 12.3.12 on page 105 Serial number.
SM-Applications event task trigger (lowest
Pr 61.40 0
slot).
Pr 61.41 0 Section 11.8 on page 77 SM-Applications event task trigger (slot 1).
Advanced
features
information
Safety
This object defines the event that
RxPDOA event
0x2820 will occur following the reception of Section 12.10.1 on page 119
configuration
RxPDOA.
This object defines the event that
Introduction
RxPDOB event
0x2821 will occur following the reception of Section 12.10.2 on page 120
configuration
RxPDOB.
This object defines the event that
RxPDOC event
0x2822 will occur following the reception of Section 12.10.3 on page 121
Mechanical
installation
configuration
RxPDOC.
This object defines the event that
RxPDOD event
0x2823 will occur following the reception of Section 12.10.4 on page 123
configuration
RxPDOD.
installation
Electrical
This object defines the event that
SYNC event
0x2830 will occur following the reception of Section 12.10.5 on page 124
configuration
SYNC messages.
This object defines the event that
Missed
Getting
started
0x2831 will occur following a missed Section 12.10.6 on page 125
heartbeat
heartbeat message.
RxPDOA
This object will be used to
Non-cyclic
data
RxPDOD
This object will be used to
0x2843 trigger Section 12.11.4 on page 128
configure an RxPDOD trigger.
configuration
status words
Control and
TxPDOA trigger This object will be used to
0x2850 Section 12.12.1 on page 129
configuration configure an TxPDOA trigger.
TxPDOB trigger This object will be used to
0x2851 Section 12.12.2 on page 130
configuration configure an TxPDOB trigger.
Diagnostics
TxPDOC trigger This object will be used to
0x2852 Section 12.12.3 on page 130
configuration configure an TxPDOC trigger.
TxPDOD trigger This object will be used to
0x2853 Section 12.12.4 on page 131
configuration configure an TxPDOD trigger.
Advanced
features
Byte: A collection of 8 binary digits that collectively store a value. This may be signed or
unsigned.
CAN: The base network used for CANopen. The CANopen module does not support
CAN commands.
CANopen: Builds on the basic CAN protocol by offering higher level functionality.
Casting: The process of changing between data sizes without changing the value
represented, e.g. changing from 16 bit to 32 bit.
Consistency: Describes how data is transmitted between nodes on the network. If data
is consistent it is transmitted from node to node as a single entity. Thus preventing data
corruption where multiple bytes are transmitted or received individually.
Control word: A collection of binary digits that are used to control the drive. Features
typically include directional controls, run controls and other similar functions.
Cyclic data: This consists of values that are sent at regular or cyclic intervals across the
network. A typical use of cyclic data would be the transmission of a speed reference or a
control word.
Data format: Determines the quantity and function of the data sent and received across
the network.
Data rate: Determines the communication speed of the network, the higher the value
the more data can be sent across the network in the same time period.
information
equipment including repeaters, hubs, masters or slaves.
Safety
Object Dictionary: A collection of the objects that are supported by the product.
Introduction
Direct data mapping: Data is sent directly to the mapping parameters in the drive
rather than the parameters redirecting the data to another parameter.
Mechanical
installation
Double word: A 32 bit word, this may be signed or unsigned.
Grounding: Descr bes the electrical safety or shielding connections for the module.
installation
Electrical
Endian format: When a value uses more than 8 bits to represent it’s value it needs to
be sent in sets of 8 bits (bytes) across the network, the endian format determines the
order the bytes that constitute the whole value are transmitted.
Getting
started
Event task: A special way to use a message or change of state to trigger a software
routine.
Mapping: The process of linking CANopen values to parameters within the drive.
Non-cyclic
data
Network loss trip: A method to determine when a node has lost communication with
the master.
status words
Control and
Node: A device on the network. This may be either a device such as a drive or part of
the network such as a repeater.
Non-cyclic data: Data that is requested or sent by the master as required. This is not
Diagnostics
sent on a regular basis and generally allows access to any parameter. This is useful for
occasional changes or configuration purposes.
Advanced
PDO: Process Data Object. This is the method that CANopen uses to transmit and
features
Poll rate: The rate at which cyclic data is sent and received on the network.
CANopen
reference
PPO 4 Word non-cyclic mode: This is not the same as PPO4 mode.
Response ID: The response code of the message received when using PPO4 word
reference
Quick
non-cyclic communication.
SDO: Service Data Object. These provide non-cyclic access to the CANopen object
Index
Status word: A value that denotes the status of the drive. Each bit within the word will
have a specific meaning.
Stuff Bits: Stuff bits are used by CANopen to ensure that each CANopen device does
not transmit a long stream of consecutive 1s or 0s.
Telegram: A message used within mode 1 non-cyclic data communication. This term is
sometimes used to represent a generic message on the network.
Termination: This is used at both ends of a network segment to prevent reflections and
reduce noise.
Safety
Introduction
Numerics
16-bit parameter access .............................................................................51
A
Mechanical
installation
Above set speed .........................................................................................62
Activate bit timing .....................................................................................139
ASSOCIATEINTOPCOMMS ......................................................................79
At speed .....................................................................................................62
installation
Electrical
Avoiding block mapping .............................................................................75
B
Back-up power supply ................................................................................18
Getting
started
Basic data types .........................................................................................99
Below set speed .........................................................................................62
Blank mapping parameters ........................................................................47
EDS files
Block ...........................................................................................................75
Byte order ...................................................................................................72
C
Cyclic data
Cable length ...............................................................................................18
Cautions .......................................................................................................6
Changing data rate ...................................................................................138
Non-cyclic
Changing PDO mapping parameters .........................................................46
data
COB-ID EMCY .........................................................................................104
COB-ID SYNC ..........................................................................................102
Communication profile objects ...........................................................99, 164
status words
Control and
Complete parameter reference ................................................................162
Compliance ..................................................................................................7
Configuration error .....................................................................................67
Diagnostics
Configure bit timing ..................................................................................138
Configure node-ID ....................................................................................138
Conformance certificate .............................................................................13
Control and status words ............................................................................59
Advanced
features
Diagnostics .................................................................................................63
DINT ...........................................................................................................92
Direct data mapping ...................................................................................76
Index
information
Safety
Network length ...........................................................................................18
Network load ..............................................................................................97
Network management objects (NMT) .......................................................134
Introduction
NMT commands .......................................................................................135
Node address .............................................................................................19
Non-cyclic data ...........................................................................................48
Mechanical
installation
O
Object association rules .............................................................................80
Operating states .......................................................................................105
Operating status ...................................................................................37, 66
installation
Electrical
Optimisation ...............................................................................................81
Output channel ...........................................................................................95
P
Getting
started
Parameter data object mapping ...............................................................145
Parameters - adjusting .................................................................................7
Parameters - complete reference .............................................................162
EDS files
PDO counter ...............................................................................................78
PDO data mapping errors ..........................................................................46
PDO1 2 channels (default) .........................................................................45
Cyclic data
PDO1 with 1 channel and CT single word non-cyclic data .........................46
PDOA length ..............................................................................................78
Position control with interpolation ...............................................................90
Pre-defined error field ...............................................................................101
Non-cyclic
Process data object (PDO) .........................................................................43
data
Producer heartbeat time ...........................................................................105
Profile torque mode ..................................................................................155
status words
Profiles .......................................................................................................46
Control and
Q
Quick reference ........................................................................................162
Diagnostics
R
Regenerating ..............................................................................................62
Running at or below minimum speed .........................................................62
RxPDO COB-ID ........................................................................................110
Advanced
features
S
Safety information ........................................................................................6
Glossary of
®
EP ANTRIEBSTECHNIK GmbH
Fliederstraße 8 Postfach 1333
63486 Bruchköbel 63480 Bruchköbel
Telefon +49 (0)6181 9704-0
Telefax +49 (0)6181 9704-99
e-mail: [email protected]
www.epa-antriebe.de
Änderungen und Irrtümer vorbehalten. / We reserve the right to changes without further notice.