The VLT® CANopen MCA 105 Programming Guide provides
information about conguring the system, controlling the
frequency converter, parameter access, programming, as
well as troubleshooting.
The programming guide is intended for use by qualied
personnel who are familiar with the VLT® frequency
converter, with CANopen technology, and with the PC or
PLC that is used as a master in the system.
Read the instructions before programming and follow the
procedures in this manual.
VLT® is a registered trademark.
1.2 Additional Resources
Resources available for the frequency converters and
optional equipment:
The VLT® AutomationDrive FC 301/FC 302
•
Operating Instructions provide the necessary
information for getting the frequency converter
up and running.
The VLT® AutomationDrive FC 301/FC 302 Design
•
Guide provides detailed information about
capabilities and functionality to design motor
control systems.
The VLT® AutomationDrive FC 301/FC 302
•
Programming Guide provides greater detail on
working with parameters and many application
examples.
The VLT® CANopen MCA 105 Installation Guide
•
provides information about installing the
CANopen and troubleshooting.
The VLT® CANopen MCA 105 Programming Guide
•
provides information about conguring the
system, controlling the frequency converter,
parameter access, programming, troubleshooting,
as well as some typical application examples.
Supplementary publications and manuals are available
from Danfoss. See vlt-drives.danfoss.com/Support/Technical-Documentation/ for listings.
Document and Software Version
1.3
This manual is regularly reviewed and updated. All
suggestions for improvement are welcome. Table 1.1 shows
the document version and the corresponding software
version.
EditionRemarksSoftware version
MG92G1xx––
Table 1.1 Document and Software Version
1.4 Product Overview
This programming guide relates to the CANopen interface.
Ordering number:
130B1103 (uncoated)
•
130B1205 (coated)
•
CANopen is a low-level network that standardises
communications between industrial devices (sensors, limit
switches, motor controls) and high-level devices
(controllers). CANopen follows the open systems interconnection (OSI) model and is based on CAN technology for
media access control and physical signalling.
Congure CANopen systems to operate in a master-slave
or a distributed control architecture using peer-to-peer
communication. Up to 127 nodes in a multi-drop network
topology are supported. By using the same cable for
communication, the bus can power the communication
options directly. Nodes can be removed or inserted
without powering down the network.
Each node on the network has its own unique communication object identier (COB-ID) to distinguish it on the
network. The access control is based on the CSMA/CA
(carrier sense multiple access/collision avoidance) principle,
meaning that all nodes may have access to the network at
the same time. When 2 nodes attempt to get control of
the network bus simultaneously, the CAN protocol resolves
the issue by arbitration. In this way, collisions on the
network are avoided.
CANopen denes device proles for devices belonging to
specic classes. For other devices, dene a custom class to
make it CANopen compatible. All of the above enhances
the interchangeability and interoperability of the network.
Indicates a potentially hazardous situation that could
result in death or serious injury.
CAUTION
Indicates a potentially hazardous situation that could
result in minor or moderate injury. It can also be used to
alert against unsafe practices.
NOTICE
Indicates important information, including situations that
can result in damage to equipment or property.
2.2 Qualied Personnel
Correct and reliable transport, storage, installation,
operation, and maintenance are required for the troublefree and safe operation of the frequency converter. Only
qualied personnel are allowed to install and operate this
equipment.
Qualied personnel are dened as trained sta, who are
authorised to install, commission, and maintain equipment,
systems, and circuits in accordance with pertinent laws and
regulations. Additionally, the qualied personnel must be
familiar with the instructions and safety measures
described in these operating instructions.
Safety Precautions
2.3
WARNING
HIGH VOLTAGE
Frequency converters contain high voltage when
connected to AC mains input, DC supply, or load sharing.
Failure to perform installation, start-up, and maintenance
by qualied personnel can result in death or serious
injury.
Only qualied personnel must perform instal-
•
lation, start-up, and maintenance.
WARNING
UNINTENDED START
When the frequency converter is connected to AC mains,
DC supply, or load sharing, the motor may start at any
time. Unintended start during programming, service, or
repair work can result in death, serious injury, or
property damage. The motor can start with an external
switch, a eldbus command, an input reference signal
from the LCP or LOP, via remote operation using MCT 10
Set-up Software, or after a cleared fault condition.
To prevent unintended motor start:
Disconnect the frequency converter from the
•
mains.
Press [O/Reset] on the LCP before
•
programming parameters.
Completely wire and assemble the frequency
•
converter, motor, and any driven equipment
before connecting the frequency converter to
AC mains, DC supply, or load sharing.
WARNING
DISCHARGE TIME
The frequency converter contains DC-link capacitors that
can remain charged even when the frequency converter
is not powered. Failure to wait the specied time after
power has been removed before performing service or
repair work, can result in death or serious injury.
Stop the motor.
•
Disconnect the AC mains and remote DC-link
•
supplies, including battery back-ups, UPS, and
DC-link connections to other frequency
converters.
Disconnect or lock the PM motor.
•
Wait for the capacitors to discharge fully before
•
performing any service or repair work. The
duration of waiting time is specied in the
relevant frequency converter operating
instructions, Chapter 2 Safety.
WARNING
LEAKAGE CURRENT HAZARD
Leakage currents exceed 3.5 mA. Failure to ground the
frequency converter properly can result in death or
serious injury.
Illustration 3.1 Functional Principle of CANopen Nodes
All information accessible via the CAN-bus is stored in the
object directory (OD).
The contents of the OD are organised in Table 3.1.
Object directory
index range
0000hNot used
0001h–025FhData types
0260h–0FFFhReserved
1000h–1FFFhCommunication object area
2000h–5FFFhManufacturer-specic area
6000h–9FFFhStandardised device prole area
A000h–FFFFhReserved
Table 3.1 Contents of the OD
For a complete overview of the supported objects in the
OD, refer to chapter 7 Object Directory.
Object type
33
3.1.2 Communication in CANopen
Communication with the frequency converter in CANopen
is achieved via service data objects (SDOs), process data
objects (PDOs), and network management (NMT).
PDOs represent real-time process data with high priority.
PDOs are only available if the node is in operational state.
SDOs represent non-time-critical data and are used to
congure the frequency converter. SDOs are only available
if node is in both operational and pre-operational state.
NMT functions monitor the network stability and include
synchronisation, detection of faults, and emergency
message transmission.
COB-Identiers (ID)
Each communication object has a unique identity (COB-ID)
comprising the function code and the node ID (node
address), see Illustration 3.2.
The node must have a start network-command from an
NMT-master to enter the operational state.
In operational state, both SDO and PDO communication
are possible.
The NMT-state of the node is displayed with the green NS
LED:
Flashing = Pre-operational.
•
Solid on = Operational.
•
Single ash = Stopped.
•
A reset node or reset communication-command from the
NMT-master makes the node jump to initialisation state
and directly on to pre-operational state.
Table 3.2 Communication Object
Transmit and receive is always seen from the node’s point
of view:
RX = Nodes receiving data (Controller -> node)
•
TX = Nodes transmitting data (node -> controller)
•
Example:
COB-ID 383 = PDO3 transmit, from node address
•
3.
COB-ID 185 = PDO1 transmit, from node address
•
5.
COB-ID 604 = SDO receive, to node address 4.
•
3.1.3 Controlling the Network
In each CANopen node, a state machine controls the
dierent states of the node.
After power-up, the node transmits a boot-up message
with the COB-ID: 700h + Node ID, and goes from initialisation to pre-operational state.
In this state, SDO communication is possible, but not PDO
communication.
Illustration 3.3 Controlling the Network
3.1.4 Error Control
CANopen oers 2 ways of error-control: Node guarding
and Heartbeat.
In node guarding, the NMT-master sends a remote-frame
(RTR) cyclically: 700 + node ID.
The node replies with its actual status.
The node (frequency converter) monitors the reception of
the RTR-frames, and thereby monitors the presence of the
NMT-master.
Congure the monitoring of the NMT-master via:
OD: 100C Guard time in [ms].
•
OD: 100D Life time factor.
•
If Guard Time x Life Time Factor has expired, the action
programmed in the parameter 8-04 Control Word TimeoutFunction is executed.
The option can also be congured as heartbeat producer
via:
OD: 1017 Producer Heartbeat time [ms].
•
The MCA 105 option continuously transmits heartbeats
(RTRs with the frequency converters actual status) that can
be monitored by, for example, an NMT-master.
NOTICE
The MCA105 option does not support the heartbeat
consumer function.
Emergency object (EMCY)
The emergency object is used to signal error states, and is
sent automatically if an alarm in the frequency converter
occurs containing the data described in the following. If
the alarm is removed, another emergency telegram is sent
out with the contents 0, signalling the end of the
frequency converter’s alarm state.
Congure the behaviour of the EMCY object via
parameter 8-07 Diagnosis Trigger.
If parameter 8-07 Diagnosis Trigger is set to [0] Disable, the
EMCY is not sent at all. If it is set to Trigger alarms, it is
sent if an alarm occurs. If it is set to Trigger alarms andwarnings, it is sent if an alarm or a warning occurs.
OD 1014h contains the COB-ID of the node’s EMCY
message. This is xed to 80h + node ID.
The EMCY always consists of 8 bytes with the full data as
described in Table 3.3.
Table 3.3 EMCY Consists of 8 Bytes with the Full Data
*= For more information on EMCY codes, refer to
chapter 8 Troubleshooting.
Bit 01, alarm word 1 has an active alarm (parameter 16-90)
Bit 11, alarm word 2 has an active alarm (parameter 16-91)
Bit 20, Reserved
Bit 31, warning word 1 has an active warning (parameter
Bit 41, warning word 2 has an active warning (parameter
Bit 5–7 0, reserved
16-92)
16-93)
OD:
1001h
Vendor-specic information
Bus error counters
The frequency converter contains 2 CAN-bus error
counters:
Parameter 10-05 Readout Transmit Error Counter
•
(TEC).
Parameter 10-06 Readout Receive Error Counter
•
(REC).
These counters determine the error-state of the CANopen
node.
Illustration 3.4 Bus Error Counters
TEC is incremented with 8 if a transmit-error occurs and
decremented with 1 if a transmission is successful.
REC is incremented with 1 if a receive error is detected (8
if the transmitting node is in error active-mode) and
decremented with 1 if a reception is successful.
In normal operation the node is in error active state.
If the TEC or REC exceeds the value: 127, the node enters
error passive state.
In Error passive state, the error-ag is not transmitted
dominantly but recessively.
This means that an error passive node, as receiver, cannot
block communication from other nodes.
A node in error passive state has a lower prioritised access
to the bus.
If the TEC exceeds 255 (248 + 8), the node enters bus o
state.
In bus o state, the MS LED turns solid red, and a warning
34 is issued.
Power-cycle the frequency converter to leave the bus o
state.
All CANopen objects and frequency converter parameters
can be accessed via SDOs (service data objects).
For a description of supported SDO abort codes, refer to
chapter 8 Troubleshooting.
33
COB-ID
Transmit SDO1409 (581h)–1535 (5FFh)580h + Node ID
Receive SDO1537 (601h)–1663 (67Fh)600h + Node ID
Table 3.5 COB-ID’s for SDO Communication
COB-ID CSOD-Index Sub-ind.Data
600+ID See following text 01200000 00 00 00
Table 3.6 Structure of a SDO-message (Request)
To restore default parameters the value “64616F6C” (load)
must be written to the appropriated sub-index in OD:
1011h
OD index Subindex Description
0Number of entries
1011h
Table 3.10 Restoring OD Entries
* requires power cycle
1Restore all parameters + OD entries*
2Restore all communication parameters +
OD entries and restart
NOTICE
Frequency converter displays Alarm 80 “Drive initialised”
after restores.
The CS-eld contains the command and response
speciers. See Table 3.7 and Table 3.8.
CommandCS
Write request 4 bytes23h
Write request 2 bytes2Bh
Write request 1 byte2Fh
Read request (any)40h
3.2 Congure the Master
3.2.1 EDS File
A large part area of the system conguration is the setting
of application-related parameters. EDS (electronic data
sheet) les simplify the setting up of most of the CANopen
congurable parameters. The EDS le contains all
Table 3.7 Command
supported communication-specic objects (OD 1000h
+ 1FFFh) and a selected number of manufacturer-specic
ResponseCS
Write response (any)60h
Read response 4 bytes43h
Read response 2 bytes4Bh
Read response 1 byte4Fh
Error response80h
Table 3.8 Response
Saving OD entries
objects (frequency converter parameters) in the OD range
2000h–5FFFh.
Danfoss provides a generic English EDS le covering all
voltage and power sizes for o-lineconguration.
Download the EDS le from www.danfoss.com/Busines-
In standard conguration, all parameters + OD entries are
stored in volatile (RAM) memory only. To store current
network conguration in non-volatile memory, use OD
index 1010h.
To save parameters, write the value 65766173 (save) to the
NOTICE
The EDS les do not contain all parameters but a
selected, limited number of parameters with generic
minimum, maximum, and default values.
Pay particular attention to the following parameters when
conguring an VLT® AutomationDrive FC 300 with a
CANopen interface. Refer to chapter 6 Parameters for more
details about each parameter.
Parameter 0-40 [Hand on] Key on LCP
If the [Hand On] key on the frequency converter is pressed,
control of the frequency converter via the CANopen
interface is disabled.
Parameter 8-02 Control Word Source
After initial power-up, the frequency converter automatically detects whether a
A, and sets parameter 8-02 Control Word Source to [OptionA]. If an option is added to, changed in, or removed from
an already commissioned frequency converter, it does not
change parameter 8-02 Control Word Source.
Parameter 8-10 Control Word
Select between the Danfoss FC Prole and the DSP 402
prole for CANopen. Refer to chapter 4 Control.
Parameter 8-01 Control Site and parameter 8-50 Coasting
Select to parameter 8-56 Preset Reference Select
Refer to chapter 4 Control.
Selection of how to gate the CANopen control commands
with digital input command of the control card.
Set Parameter 8-01 Control Site to: [2] Control word onlyor
[0] Digital and ctrl. word.
eldbus option is installed in slot
Prole
Parameter 8-03 Control Word Timeout Time to
parameter 8-05 End-of-Timeout Function
The reaction in the event of a bus timeout is set via these
parameters:
Parameter 10-01 Baud Rate Select
•
Default is 125 kbps.
Parameter 10-02 MAC ID
•
Default is 127.
NOTICE
When parameter 8-01 Control Site is set to [2] Control
word only, the settings in parameter 8-50 Coasting Select
to parameter 8-56 Preset Reference Select are overruled,
and all act on bus-control.