The VLT® PROFINET MCA 120 Programming Guide provides
information about configuring the system, controlling the
frequency converter, parameter access, programming,
troubleshooting, as well as some typical application
examples.
The programming guide is intended for use by qualified
personnel who are familiar with the VLT® frequency
converters, with PROFINET 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® Operating Instructions provide the
•
necessary information for getting the frequency
converter up and running.
The VLT
•
information about capabilities and functionality to
design motor control systems.
This programming guide relates to PROFINET interface
ordering number 130B1135 (uncoated), ordering number
130B1235 (conformal coated), and to the FCD 302
PROFINET interface.
The PROFINET interface is designed to communicate with
any system complying with the PROFINET schema version
2.2 and 2.3 standards.
Since the introduction in 2001, PROFINET has been
updated to handle low and medium performance
requirement supported by PROFINET RT up to high-end
servo performance in PROFINET IRT. PROFINET is the
Ethernet-based Fieldbus offering the most scalable and
versatile technology today.
PROFINET provides the network tools to deploy standard
Ethernet technology for manufacturing applications while
enabling Internet and enterprise connectivity.
The VLT® Programming Guide provides greater
•
detail on working with parameters and many
application examples.
The VLT® PROFINET MCA 120 Installation Guide
•
provides information about installing the
PROFINET and troubleshooting.
The VLT® PROFINET MCA 120 Programming Guide
•
provides information about configuring 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.
1.3
Document and Software Version
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.
VLT® PROFINET MCA 120 is intended for use with:
VLT® HVAC Drive FC 102
•
VLT® Refrigeration Drive FC 103
•
VLT® AQUA Drive FC 202
•
VLT® AutomationDrive FC 301/302
•
VLT® Decentral Drive FCD 302
•
Terminology
In this manual, several terms for Ethernet are used.
PROFINET, is the term used to describe the
•
PROFINET protocol.
Ethernet, is a common term used to describe the
•
physical layer of the network, and does not relate
to the application protocol.
More approvals and certifications are available. For more
information, contact a Danfoss local partner.
1.6 Symbols, Abbreviations and
Conventions
AbbreviationDefinition
CCControl card
CTWControl word
DCPDiscovery and configuration protocol
DHCPDynamic host configuration protocol
EMCElectromagnetic compatibility
I/O Input/Output
IPInternet protocol
IRTIsochronous real time
LCPLocal control panel
LED Light emitting diode
LSBLeast significant bit
MAVMain actual value (actual speed)
MSBMost significant bit
MRVMain reference value
PCPersonal computer
PCDProcess control data
PLCProgrammable logic controller
PNUParameter number
PPOProcess parameter object
REFReference (=MRV)
RTReal time
STWStatus word
Table 1.2 Symbols and Abbreviations
Conventions
Numbered lists indicate procedures.
Bullet lists indicate other information and description of
illustrations.
Italicised text indicates
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 Qualified Personnel
Correct and reliable transport, storage, installation,
operation, and maintenance are required for the troublefree and safe operation of the frequency converter. Only
qualified personnel are allowed to install or operate this
equipment.
Qualified personnel are defined as trained staff, who are
authorised to install, commission, and maintain equipment,
systems, and circuits in accordance with pertinent laws and
regulations. Additionally, the qualified personnel must be
familiar with the instructions and safety measures
described in this document.
2.3
Safety Precautions
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 qualified personnel can result in death or serious
injury.
Installation, start-up, and maintenance must be
•
performed by qualified personnel only.
WARNING
UNINTENDED START
When the frequency converter is connected to AC mains,
DC power 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 by means of an
external switch, a serial bus command, an input
reference signal from the LCP or LOP, via remote
operation using MCT 10 software, or after a cleared fault
condition.
To prevent unintended motor start:
Disconnect the frequency converter from mains.
•
Press [Off/Reset] on the LCP, before
•
programming parameters.
The frequency converter, motor, and any driven
•
equipment must be fully wired and assembled
when the frequency converter is connected to
AC mains, DC power supply, or load sharing.
WARNING
DISCHARGE TIME
The frequency converter contains DC-link capacitors,
which can remain charged even when the frequency
converter is not powered. Failure to wait the specified
time after power has been removed before performing
service or repair work, can result in death or serious
injury.
Stop motor.
•
Disconnect AC mains and remote DC-link power
•
supplies, including battery back-ups, UPS, and
DC-link connections to other frequency
converters.
Disconnect or lock PM motor.
•
Wait for the capacitors to discharge fully, before
•
performing any service or repair work. The
duration of waiting time is specified in the
relevant frequency converter operating
instructions,Chapter 2 Safety.
Ensure that all PROFINET devices connected to the same
bus network have a unique station name (host name).
Set the PROFINET host name of the frequency converter
via 12-08 Host Name, or via hardware switches.
3.2 Configure the Controller
3.2.1 GSDML File
To configure a PROFINET controller, the configuration tool
needs a GSDML file for each type of device on the
network. The GSDML file is a PROFINET xml file containing
the necessary communication setup data for a device.
Download the GSDML file for the FC 102, , FC 202, FC
301/302, and FCD 302 frequency converters at
www.danfoss.com/BusinessAreas/DrivesSolutions/profinet. The
name of the GSDML file can vary compared to this manual.
Download the latest version from the website.
The following example shows an FC 302. The steps for FCD
302 and the other frequency converter series are the same.
Frequency converter
series
FC 102
FC 202
FC 301/302
FCD 302GSDML-V2.2-
Table 3.1 GSDML file
The first step in configuration of the PROFINET controller is
to import the GSDML file in the configuration tool. The
following steps outlined show how to add a new GSDML
file to the Simatic Manager software tool. For each
frequency converter series, a GSDML file is typically
imported once only, following the initial installation of the
software tool.
Firmware version
(15-61 Option SW
Version)
1.00-1.99GSDML-V2.2-
2.00-2.15GSDML-V2.3-
2.15
GSDML-V2.3-
GSDML file
FC-20090620.xml
FC-20131010.xml
FCD-20090620.x
FCD-20131010.x
Danfoss-
Danfoss-
Danfoss-
ml
Danfoss-
ml
33
Illustration 3.1 Import the GSDML File in the Configuration
Tool
Illustration 3.2 Add a New GSDML File to the Simatic Manager
Software Tool
The FC 102//FC 202/FC 301/FC 302/FCD 302 GSDML file is
now imported and is accessible via the following path in
the hardware catalogue:
The name must match the name in 12-08 Host Name. If
the check mark Assign IP address via the IO controller is
set, the controller downloads the IP address to the IO
device with the corresponding device name. The IP
33
address is stored in the non-volatile memory of the
frequency converters.
Illustration 3.3 Path in the Hardware Catalogue
Open a project, set up the hardware, and add a PROFINET
Master system. Select Danfoss FC PN, then drag and drop
it onto the PROFINET IO system.
To enter the device name, open the properties for the
inserted frequency converter. See Illustration 3.4.
Illustration 3.4 Open the Properties for the Inserted
Frequency Converter to Enter the Device Name
Illustration 3.5 Set Up the Hardware and add a PROFINET
Master System
The next step is to set up the peripheral input and output
data. Data set up in the peripheral area is transmitted
cyclically via telegrams/PPO types. In the example below, a
PPO type 6 is dragged and dropped to slot 1.
Illustration 3.6 Set up the Peripheral Input and Output Data
The configuration tool automatically assigns addresses in
the peripheral address area. In this example the input and
output area have the following configuration:
PPO type 6
PCD word
number
Input
address
Set-upSTWMAV
Table 3.2 PCD Read (VLT to PLC)
PCD word
number
Output
address
Set-upCTWMRV
Table 3.3 PCD Write (PLC to VLT)
0123
256–257258–
259
0123
256–
257
258–
259
260–261262–263
9-16 PCD Read
Configuration
260–261262–263
9-15 PCD Write
Configuration
9-16 PCD Read
Configuration
9-15 PCD Write
Configuration
NOTICE
When 8-01 Control Site is set to [2] Control word only,
then the settings in Parameter8-50 Coasting Select to
Parameter 8-56 Preset Reference Select is overruled, and
only act on Bus-control.
33
Assign the PCDs via 9-16 PCD Read Configuration for inputs
and 9-15 PCD Write Configuration for outputs.
Download the configuration file to the PLC. The PROFINET
system starts data exchange when the PLC is set to Run
mode.
3.3
Configure the Frequency Converter
3.3.1 VLT Parameters
The following parameters are important when configuring
the frequency converter with a PROFINET interface.
0-40 [Hand on] Key on LCP. If [Hand On] is
•
activated, control of the frequency converter via
the PROFINET interface is disabled.
After an initial power-up, the frequency converter
•
automatically detects whether a fieldbus option is
installed in slot A, and sets parameter 8-02 ControlWord Source to [Option A]. When an option is
added, changed, or removed from an already
commissioned frequency converter, it does not
change parameter 8-02 Control Word Source but
enters Trip mode, and the frequency converter
displays an error
Parameter 8-10 Control Word Profile. Select
•
between the Danfoss frequency converter profile
and the PROFIdrive profile
8-50 Coasting Select to 8-56 Preset Reference Select.
•
Select how to gate PROFINET control commands
with the digital input command of the control
card.
The PROFIBUS profile for frequency converters specifies a
number of communication objects (parameter process data
objects, PPO). The PROFIBUS profile for frequency
44
converters is suitable for data exchange between a process
controller (for example PLC) and a frequency converter. All
PPOs are defined for cyclic data transfer (that is, DP V0), so
that process data (PCD) and parameters (PCA) can be
transferred from the master to the slave and vice versa.
Pure process data objects
PPO types 3, 4, 6, 7 and 8 are pure process data objects
for applications requiring no cyclic parameter access. The
PLC sends out process control data, and the frequency
converter then responds with a PPO of the same length,
containing process status data.
Illustration 4.1 shows the available PPO types:
PCD 1: The first 2 bytes of the process data area
•
(PCD 1) comprise a fixed part present in all PPO
types.
PCD 2: The next 2 bytes (PCD 2) are fixed for PCD
•
write entries (see 9-15 PCD Write Configuration
[1]), but configurable for PCD read entries (see
9-16 PCD Read Configuration [1]).
PCD 3-10: In the remaining bytes, from PCD 3
•
and on, the process data can be parameterised
with process signals, see
parameter 9-23 Parameters for Signals.
The signals for transmission from the master to the
frequency converter are determined by the setting in
9-15 PCD Write Configuration (request from master to the
frequency converter).
The signals for transmission from the frequency converter
to the master (response from the frequency converter to
master) are determined by the setting in 9-16 PCD ReadConfiguration .
Parameter channel and process data
PPO types 1, 2, and 5 consist of a parameter channel and
process data. Use the parameter channel for reading
and/or updating of parameters (successively). Alternatively,
for better utilisation of I/O and thus PLC capacity, access
parameters via DP V1, by selecting a pure process data
object (PPO type 3, 4, 6, 7, or 8).
Select the PPO type in the master configuration. The
selection is automatically recorded in the frequency
converter. No manual setting of PPO types in the
frequency converter is required. Read the current PPO type
in parameter 9-22 Telegram Selection. The setting [1]Standard telegram 1 is equivalent to PPO type 3.
In addition, all PPO types can be set up as word-consistent
or module-consistent. The process data area can be word
or module consistent, whereas the parameter channel
must always be module consistent.
Word-consistent data is transmitted as individual,
•
independent words between the PLC and the
frequency converter.
Module-consistent data is transmitted as sets of
•
interrelated words transferred simultaneously
between the PLC and the frequency converter.
The PROFINET cyclical data exchange performs parameter
access via the PCV channel. The PCV channel forms part of
the PPOs described in chapter 4 Control.
Use the PCV channel to read and write parameter values,
and read status for descriptive attributes of each
parameter.
4.2.1 PCA Handling
The PCA part of PPO types 1, 2, and 5 performs several
tasks. Using PCA, the master controls and supervises
parameters, and requests a response from the slave. Then
the slave responds to a request from the master. Requestsand responses is a handshake procedure and cannot be
batched. Therefore, when the master sends out a read/
write request, it must wait for the response before it sends
a new request. The request or response data value is
limited to maximum 4 bytes (see RC characteristics in
Table 4.1), which implies that text strings are not
transferable. For further information, see
chapter 7 Application Examples.
size parameter values in bytes 7 and 8,
while long word size values require
44
RC Content
4.2.4
Request
The content of the RC portion of the PCA word for a
request is listed in Table 4.2.
RequestFunction
0No request
1Request parameter value
2Change parameter value (word)
3Change parameter value (long word)
4Request description element
5Change description element
6Request parameter value (array)
7Change parameter value (array word)
8Change parameter value (array long word)
9Request number of array elements
10-15Not used
Table 4.2 Request
Response
When the slave rejects a request from the master, the RC
word in the PPO-read indicates the rejection by assuming
the value 7. Bytes 7 and 8 in the PVA element carry the
fault number.
The content of the RC portion of the PCA word for a
response is listed in Table 4.3.
bytes 5–8 (32 bits).
IND: When the response/request
-
contains array elements, the IND carries
the array sub-index. When parameter
descriptions are involved, the IND holds
the record sub-index of the parameter
description.
ResponseFunction
0No response
1Transfer parameter value (word)
2Transfer parameter value (long word)
3Transfer description element
4Transfer parameter value (array word)
5Transfer parameter value (array long word)
6Transfer number of array elements
7Request rejected (including fault number, see
Table 4.4)
8Not serviceable by PCV interface
9Not used
10Not used
11Not used
12Not used
13-15Not used
Table 4.3 Response
Fault
Interpretation
numb
er
0Illegal PNU
1Parameter value cannot be changed.
2Upper or lower limit exceeded.
3Subindex corrupted.
4No array
5Data type false
6Cannot be set by user (reset only).
7Description element cannot be changed.
8IR required PPO-write not available.
9Description data not available.
10Access group
11No parameter write access
12Key word missing.
13Text in cyclical transmission not readable.
14Name in cyclical transmission not readable.
15Text array not available
16PPO-write missing
17Request temporarily rejected
18Other fault
19Data in cyclical transmission not readable.
130There is no bus access to the parameter called.
131Data change is not possible because factory set-up has
time to 10 s, in 3-41 Ramp 1 Ramp Up Time.
How to command a start and speed reference of
•
50%.
Frequency converter parameter settings:
8-50 Coasting Select: Bus
Parameter 8-10 Control Word Profile: PROFIdrive profile
4.2.5.1
PCA parameter characteristics
PCA part (byte 1-2).
The RC part tells what the PCV part must be used for. The
functions available are listed in chapter 4.2.1 PCA Handling.
When a parameter is changed, select value 2 or 3. In this
example, 3 is selected, because 3-41 Ramp 1 Ramp Up Time
covers a long word (32 bits).
3-41 Ramp 1 Ramp Up Time=155 hex: In this example, byte
1 and 2 are set to 3155. See the values for bytes 1 and 2
in Table 4.5.
IND (bytes 3-4)
Used when reading/changing parameters with sub-index,
for example 9-15 PCD Write Configuration. In the example
bytes 3 and 4 are set to 00 hex. See the values for bytes 3
and 4 in Table 4.5.
PVA (bytes 5-8)
The data value of 3-41 Ramp 1 Ramp Up Time must be
changed to 10.00 s. The value transmitted must be 1000,
because the conversion index for 3-41 Ramp 1 Ramp UpTime is 2. This means that the value received by the
frequency converter is divided by 100, such that the
frequency converter perceives 1000 as 10.00. Bytes
5-8=1000=03E8 hex. See chapter 6.6 Object and Data TypesSupported. See the values for bytes 5-8 in Table 4.5.
4.2.5.2
PCV
PCD
NOTICE
* For restart after power up:
Set bits 1 and 2 of the CTW to 1.
•
Toggle bit 0 from 0 to 1.
•
4.2.6 MRV
MRV is the speed reference, with data format Standardisedvalue. 0 hex=0% and 4000 hex=100%.
In the example, 2000 hex is used, corresponding to 50% of
the maximum frequency in 3-03 Maximum Reference. See
the values for bytes 11 and 12 in Table 4.5.
The whole PPO therefore has the following values in hex:
ByteValue
PCA131
PCA255
IND300
PCV
PCD
Table 4.5 Request Example: PPO Values in Hex
The process data within the PCD part acts immediately
upon the frequency converter, and can be updated from
the master as quickly as possible. The PCV part is a
handshake procedure, which means that the frequency
converter has to acknowledge the command, before a new
one can be written.
Table 4.5 shows a positive response to the request example
from Table 4.5.
Control word (CTW) according to PROFIdrive profile:
Control words consist of 16 bits. The meaning of each bit
is explained in chapter 4.5.1 Control Word according to
PROFIdrive Profile (CTW) and chapter 4.5.2 Status Word
according to PROFIdrive Profile (STW). The following bit
pattern sets all necessary start commands:
0000 0100 0111 1111=047F hex.*
0000 0100 0111 1110=047E hex.*
0000 0100 0111 1111=047F hex. These are the values for
bytes 9 and 10 in Table 4.5.
Quick stop: 0000 0100 0110 1111=046F hex.
Stop: 0000 0100 0011 1111=043F hex.
RC is 7 hex, which means that the request has been
rejected, and the fault number can be found in the PVA
part.
Process status data is the process data sent from the
frequency converter, and contains information about the
current state.
Slave/master
123......10
STWMAVPCD......PCD
PCD read
Table 4.9 Process Status Data
PCD 1 contains a 16-bit status word, and each bit contains
information regarding a possible state of the frequency
converter.
PCD 2 contains per default the value of the current speed
of the frequency converter in percentage format (see
chapter 4.3.3 Reference Handling). PCD 2 can be configured
to contain other process signals.
The content of PCD 3 to PCD 10 is determined by the
settings in 9-16 PCD Read Configuration.
The reference handling is an advanced mechanism that
sums up references from different sources, as shown in
Illustration 4.2.
For more information on reference handling, refer to the
design guide of the relevant frequency converter.
Illustration 4.2 Reference
The reference, or speed setpoint, is sent via PROFIBUS and
is always transmitted to the frequency converter in
percentage format as integers represented in hexadecimal
(0-4000 hex).
The final speed limit is set in
Table 4.10 lists the reference (MRV) and the feedback
(MAV) formats.
MRV/MAVInteger in hexInteger in decimal
100%400016,384
75%300012,288
50%20008,192
25%10004,096
0%00
-25%F000-4,096
-50%E000-8,192
-75%D000-12,288
-100%C000-16,384
Table 4.10 Reference/Feedback (MRV/MAV) Format
4-19 Max Output Frequency.
NOTICE
Negative numbers are formed as complement of 2.
NOTICE
The data type for MRV and MAV is an N2 16-bit
standardised value, expressing a range from -200% to
+200% (8001 to 7FFF).
44
The reference (MRV) and feedback (MAV) are always scaled
equally. The setting of 3-00 Reference Range determines the
scaling of the reference and feedback (MAV), see
Illustration 4.3.
Illustration 4.3 Reference (MRV) and Feedback (MAV), Scaled
NOTICE
When 3-00 Reference Range is set to [0] Min - Max, a
negative reference is handled as 0%.
The actual output of the frequency converter is limited by
the speed limit parameters Motor Low/High Speed Limit
[RPM/Hz] in 4-11 Motor Speed Low Limit [RPM] to 4-14 Motor
Speed High Limit [Hz].
Example
The following settings determine the speed, as shown in
The control word is used to send commands from a master
Set the influence of the digital input terminals upon
control of the frequency converter in 8-50 Coasting Select
to 8-56 Preset Reference Select.
44
NOTICE
The setting of 8-01 Control Site overrules the settings in
8-50 Coasting Select to 8-56 Preset Reference Select. The
setting of terminal 37 Coast stop (safe) overrules any
other parameter.
Each of the digital input signals can be programmed to
logic AND, logic OR, or to have no relation to the
corresponding bit in the control word. In this way the
following signal sources initiate a specific control
command, for example stop/coast:
Fieldbus only,
•
Fieldbus AND digital input, or
•
Either fieldbus OR digital input terminal.
•
(e.g. a PC) to a slave.
BitBit=0Bit=1
00OFF 1ON 1
01OFF 2ON 2
02OFF 3ON 3
03CoastingNo coasting
04Quick stopRamp
05Hold frequency outputUse ramp
06Ramp stopStart
07No functionReset
08Jog 1 OFFJog 1 ON
09Jog 2 OFFJog 2 ON
10Data invalidData valid
11No functionSlow down
12No functionCatch up
13Parameter set-upSelection lsb
14Parameter set-upSelection msb
15No functionReverse
CAUTION
To control the frequency converter via PROFIBUS, set
8-50 Coasting Select to either [1] Bus or to [2] Logic AND,
and set 8-01 Control Site to [0] or [2].
For more detailed information and examples of logical
relationship options, see chapter 8 Troubleshooting.
4.4
Control Profile
Control the frequency converter according to
the PROFIdrive profile, see chapter 4.5 PROFIdrive
•
Control Profile, or
the Danfoss FC control profile, see
•
chapter 4.6 FCDrive Control Profile.
Select the desired control profile in parameter 8-10 ControlWord Profile. The choice of profile affects the control word
and status word only.
chapter 4.5 PROFIdrive Control Profile and
chapter 4.6 FCDrive Control Profile provide a detailed
description of control and status data.
4.5
PROFIdrive Control Profile
This section describes the functionality of the control word
and status word in the PROFIdrive profile.
Table 4.12 Control Word Bits
Explanation of the control bits
Bit 00, OFF 1/ON 1
Normal ramp stops using the ramp times of the actual
selected ramp.
Bit 00="0" leads to the stop and activation of the output
relay 1 or 2 if the output frequency is 0 Hz and if [Relay
123] has been selected in 5-40 Function Relay.
When bit 0="1", the frequency converter is in State 1:
Switching on inhibited.
Refer to Illustration 4.4.
Bit 01, OFF 2/ON 2
Coasting stop.
When bit 01="0", a coasting stop and activation of the
output relay 1 or 2 occurs if the output frequency is 0 Hz
and if [Relay 123] has been selected in 5-40 Function Relay.
When bit 01="1", the frequency converter is in State 1:
Switching on inhibited. Refer to Illustration 4.4.
Bit 02, OFF 3/ON 3
Quick stop using the ramp time of 3-81 Quick Stop Ramp
Time.
When bit 02="0", a quick stop and activation of the output
relay 1 or 2 occurs if the output frequency is 0 Hz and if
[Relay 123] has been selected in 5-40 Function Relay.
When bit 02="1", the frequency converter is in State 1:
Switching on inhibited.
Refer to Illustration 4.4.
Bit 03, Coasting/no coasting
Coasting stop Bit 03="0" leads to a stop.
When bit 03="1", the frequency converter can start if the
other start conditions are fulfilled.