Danfoss VLT AutomationDrive FC 360 Programming Guide
Advertisement
Advertisement
ENGINEERING TOMORROW
Programming Guide
PROFIBUS DP
VLT
®
AutomationDrive FC 360
vlt-drives.danfoss.com
Contents Programming Guide
Contents
1 Introduction
1.1 Purpose of the Manual
1.2 Additional Resources
1.3 Document and Software Version
1.4 Product Overview
1.5 Approvals and Certifications
1.6 Symbols, Abbreviations, and Conventions
2 Safety
2.1 Safety Symbols
2.2 Qualified Personnel
2.3 Safety Precautions
3 Configuration
3.1 Configure the PROFIBUS Network
3.2 Configure the Master
3.3 Configure the Frequency Converter
4 Control
4.1 PPO Types
4.2 Process Data
4.3 Control Profile
4.4 PROFIdrive Control Profile
4.5 Danfoss FC Control Profile
4.6 Synchronize and Freeze
5 Parameter Access
5.1 Parameter Access in General
5.2 DP-V1 Parameter Access
5.3 PCV Parameter Access
5.4 PROFIBUS DP Parameter and Data Type
6 Parameters
6.1 8-** PROFIBUS Parameters
6.2 9-** and 16-** PROFIBUS Parameters
6.3 PROFIBUS-specific Parameter List
7 Application Examples
7.1 Example 1: Process Data with PPO Type 6
7.2 Example 2: Control Word Telegram Using PPO Type
7.3 Example 3: Status Word Telegram Using PPO Type
MG06F102 Danfoss A/S © 08/2016 All rights reserved.
1
Contents PROFIBUS DP
7.4 Example 4: PLC Programming
8 Troubleshooting
8.1 Diagnosis
8.2 No Response to Control Signals
8.3 Warnings and Alarms
8.4 Fault Messages via DP Diagnosis
8.5 Extended Diagnosis
Index
2 Danfoss A/S © 08/2016 All rights reserved.
MG06F102
Introduction Programming Guide
1 Introduction
1.1 Purpose of the Manual
The PROFIBUS DP Programming Guide provides information about:
•
Configuring the system.
•
Controlling the frequency converter.
•
Parameter access.
•
Programming.
•
Troubleshooting.
•
Typical application examples.
The programming guide is intended for use by qualified personnel familiar with the VLT ® frequency converter, with
PROFIBUS technology, and with the PC or PLC 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 converter and optional equipment are:
•
The VLT® AutomationDrive FC 360 Quick Guide provides the necessary information for getting the frequency converter up and running.
•
The VLT® AutomationDrive FC 360 Design Guide provides detailed information about capabilities and functionality to design motor control systems.
•
The VLT® AutomationDrive FC 360 Programming
Guide provides more details on working with parameters and many application examples.
Supplementary publications and manuals are available from Danfoss. See drives.danfoss.com/knowledge-center/ technical-documentation/ for listings.
1.3 Document and Software Version
This manual is regularly reviewed and updated. All suggestions for improvement are welcome.
shows the document version and the corresponding software version.
Edition
MG06F1xx
Remarks
The first edition of this manual.
Table 1.1 Document and Software Version
Software version
Version 5.12 and above.
1.4 Product Overview
1.4.1 Features of PROFIBUS DP-V1
•
Select 2 different state machines: PROFIdrive profile or Danfoss FC profile.
•
Communication using PROFIBUS DP-V1, master class 1, and master class 2.
•
Extension of the DP-V0 features, and backward compatible in the sense that DP-V0 and DP-V1 products can exist in the same network.
•
Intelligent base for future technologies such as
OPC, FDT/DTM, PROFINET.
•
Bus timeout reaction.
•
PLC/CPU stop reaction.
•
8 PPO types available.
•
Numerous relevant process data (PCD) types available.
•
Automatic detection of baud rate and PPO type.
•
Extended diagnosis available.
•
Alarms and warnings available as text messages within the PLC.
•
Configuration via MCT 10 Set-up Software.
•
Improved network efficiency since the cyclic parameter channel is no longer required.
•
Short bus cycle times compared to industrial
Ethernet.
•
Backwards compatibility with DP.
1.4.2 Technical Overview
PROFIBUS
PROFIBUS is an international standard for fieldbus communication in automation technology (IEC 61158 and
IEC 61784). The member companies of the PROFIBUS
International User Community support the standard.
For information about PROFIBUS and downloads for
PROFIBUS DP and the PROFIdrive profile, refer to www.Profibus.com
.
PROFIBUS DP-V1
The PROFIBUS DP protocol enables communication between PROFIBUS masters and slaves.
Configure communication via MCT 10 Set-up Software.
1 1
MG06F102 Danfoss A/S © 08/2016 All rights reserved.
3
Introduction PROFIBUS DP
1 1
Cyclic/acyclic communication
•
PLC communicates with telegrams of constant length.
•
Fits time-critical requirements.
•
Cyclic transmission via PPO types.
•
Extended diagnosis.
PLC
Master class 1
PC tool
Master class 2
4
Illustration 1.2 PROFIBUS DP-V1
Illustration 1.1 PROFIBUS DP-V0
Features of a master class 1 connection:
•
Cyclic data exchange (DP-V0).
•
Acyclic read/write on parameters.
•
Extended diagnosis.
The acyclic connection is fixed and cannot be changed during operation.
Features of a master class 2 connection:
•
Initiate/abort acyclic connection.
•
Acyclic read/write on parameters.
The acyclic connection can be established (initiated) or removed (aborted) dynamically even when a master class 1 is active on the network. Use the DP-V1 acyclic connection for general parameter access as an alternative to the PCV parameter channel.
The PROFIBUS DP extension DP-V1 allows acyclic as well as cyclic data communication. This feature can be used by a
DP master class 1, for example PLC, as well as a DP master class 2, for example PC tool.
The PROFIBUS DP Programming Guide provides information about:
•
Configuring the system.
•
Controlling the frequency converter.
•
Parameter access.
•
Programming.
•
Troubleshooting.
•
Typical application examples.
The programming guide is intended for use by qualified personnel familiar with the VLT ® frequency converter, with
PROFIBUS technology, and with the PC or PLC 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.5 Approvals and Certifications
More approvals and certifications are available. For more information, contact a local Danfoss partner.
Danfoss A/S © 08/2016 All rights reserved.
MG06F102
Introduction Programming Guide
1.6 Symbols, Abbreviations, and
Conventions
PCA
PCV
PDU
PLC
PNU
PPO
PVA
RC
SAP
SMP
STW
CAN
CTW
DP
DTM
Controller area network
Control word
Distributed periphery
Device type manager
DU Data unit
EEPROM Electrical erasable programmable read-only memory
EMC
FDT
Electromagnetic compatibility
Field device tool
HMI
IND
LCD
Human machine interface
Sub index
Liquid crystal display
LCP
LED
MAV
Local control panel
Light emitting diode
Main actual value
MSAC1 Master class 1
MSAC2 Master class 2
MRV
OPC
Main reference value
Object linking and embedding for process control
PC
PCD
Personal computer
Process data
Parameter characteristics
Parameter characteristics value
Protocol data unit
Programmable logic controller
Parameter number
Parameter-process data
Parameter value
Request/response characteristics
Service access point
Spontaneous message
Status word
Table 1.2 Symbols and Abbreviations
Conventions
Numbered lists indicate procedures.
Bullet lists indicate other information and description of illustrations.
* indicates a default setting in a parameter.
Italicized text indicates:
•
Cross-reference.
•
Link.
•
Footnote.
•
Parameter name.
•
Parameter group name.
•
Parameter option.
MG06F102 Danfoss A/S © 08/2016 All rights reserved.
5
1 1
Safety PROFIBUS DP
2 Safety
2 2
2.1 Safety Symbols
The following symbols are used in this guide:
WARNING
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 and operate this equipment.
Qualified personnel are defined as trained staff, who are authorized to install, commission, and maintain equipment, systems, and circuits in accordance with pertinent laws and regulations. Also, the qualified personnel must be familiar with the instructions and safety measures described in this manual.
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.
•
Only qualified personnel must perform installation, start-up, and maintenance.
WARNING
UNINTENDED START
When the frequency converter is connected to AC mains,
DC supply, or load sharing, the motor can 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 fieldbus 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:
•
Press [Off/Reset] on the LCP before programming parameters.
•
Disconnect the frequency converter from the mains.
•
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, which can remain charged even when the frequency converter is not powered. High voltage can be present even when the warning LED indicator lights are off.
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 the motor.
•
Disconnect AC mains and remote DC-link 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. The minimum waiting time is specified in the chapter Safety in the operating guide supplied with the frequency converter.
•
Before performing any service or repair work, use an appropriate voltage measuring device to make sure that the capacitors are fully discharged.
6 Danfoss A/S © 08/2016 All rights reserved.
MG06F102
Safety Programming Guide
WARNING
LEAKAGE CURRENT HAZARD
Leakage currents exceed 3.5 mA. Failure to ground the frequency converter properly can result in death or serious injury.
• Ensure the correct grounding of the equipment by a certified electrical installer.
WARNING
EQUIPMENT HAZARD
Contact with rotating shafts and electrical equipment can result in death or serious injury.
•
Ensure that only trained and qualified personnel perform installation, start-up, and maintenance.
•
Ensure that electrical work conforms to national and local electrical codes.
•
Follow the procedures in this guide.
CAUTION
INTERNAL FAILURE HAZARD
An internal failure in the frequency converter can result in serious injury when the frequency converter is not properly closed.
•
Ensure that all safety covers are in place and securely fastened before applying power.
2 2
MG06F102 Danfoss A/S © 08/2016 All rights reserved.
7
Configuration PROFIBUS DP
3 Configuration
3 3
3.1 Configure the PROFIBUS Network
Ensure that all PROFIBUS stations connected to the same bus network have a unique station address.
Selecting the PROFIBUS address of the frequency converter via:
•
Hardware switches.
•
Parameter 9-18 Node Address .
•
The PROFIBUS command SSA (set station address).
3.1.1 Setting the PROFIBUS Address Using the DIP Switches
Setting the PROFIBUS address using the DIP switches:
1.
Switch off the supply.
2.
Select an address in the range 0–125. Factory setting is 127.
3.
4.
For the location of the DIP switches, refer to
Set the switches according to the address, see
Switch
Address value
5
35
82
8
Not used
Not used
Not used
Not used
7 6 5 4 3 2 1
+64 +32 +16 +8 +4 +2 +1
OFF OFF OFF OFF ON OFF ON
OFF ON OFF OFF OFF ON ON
ON OFF ON OFF OFF ON OFF
Table 3.1 Examples: Setting the PROFIBUS Address Using the
DIP Switches
NOTICE
Switch off the supply before changing the DIP switches.
When the DIP switches are set to a value from 1 to 254 ,
is not used. Setting all DIP switches to either on or off position enables the functionality of
4
1
2
3
3
4
1
2
PROFIBUS port
Termination switch
DIP switches
LEDs
Illustration 3.1 Location and Sequence of the DIP Switches
Setting the PROFIBUS address via parameter 9-18 Node
Address :
1.
Switch off the supply.
2.
3.
Set the DIP switch to 126 or 127 (factory switch setting).
Set the address via parameter 9-18 Node Address or the PROFIBUS SSA-command.
4.
Setting the PROFIBUS address with set station address command:
1.
Switch off the supply.
2.
The address change comes into effect at the next power-up.
3.
Set the DIP switch to 126 or 127 (factory switch setting).
Set the address via the set station address command. Use the set station address command to lock the programmed address and to change the address. To unlock the address setting, change parameter 9-18 Node Address or the address switch, followed by a power cycle. A new address is effective immediately after applying the set station address command.
8 Danfoss A/S © 08/2016 All rights reserved.
MG06F102
Configuration Programming Guide
3.2 Configure the Master
3.2.1 GSD File
To configure a PROFIBUS master, the configuration tool needs a GSD file for each type of slave on the network.
The GSD file is a PROFIBUS DP standard text file containing the necessary communications set-up data for a slave.
Download the GSD file for VLT ® AutomationDrive FC 360 from drives.danfoss.com/services/software-downloads/ .
PROFIBUS SW version
( parameter 15-61 Option SW
Version )
Version 5.12 and above.
Table 3.2 GSD File
GSD file
DA01040D.GSD
The following example shows the procedure of configuring a PROFIBUS master for FC 360.
1.
2.
3.
Import the GSD file in the configuration tool.
Import the GSD file to the Simatic Manager software tool. Import a GSD file once, and then follow the initial installation of the software tool.
See
.
Use the browser for the GSD file, install all files, and import both a GSD file and a bitmap for the device into the hardware catalog. See
and
.
Illustration 3.3 Import a GSD File and a Bitmap
Illustration 3.4 Add a GSD File
3 3
Illustration 3.2 Install GSD File
MG06F102 Danfoss A/S © 08/2016 All rights reserved.
9
3 3
Configuration PROFIBUS DP
4.
Import and access the FC 360 GSD file via the path in the hardware catalog, see
8.
Set up the peripheral input and output data. Data set up in the peripheral area is transmitted cyclically via PPO types. Drag and drop a PPO type 6 word consistent to the first slot, see
for more information.
10
Illustration 3.5 Import and Access the GSD File
5.
6.
7.
Open a project, set up the hardware, and add a
PROFIBUS master system.
Select FC 360, then drag and drop it onto the
PROFIBUS in the hardware diagram.
A window for the address of the FC 360 appears.
Select the address from the scroll-down list.
Ensure that the address setting matches the previous address setting in parameter 9-18 Node
Address . See
.
Illustration 3.6 Select the Address
Illustration 3.7 Drag and Drop PPO Type 6 Word Consistent to the First Slot
The configuration tool automatically assigns addresses in the peripheral address area. In this example, the input and output areas have the following configurations:
PPO type 6
PCD word number
Input address
Set-up
1
256–257
2
258–259
3
260–261
4
262–263
STW MAV Parameter 9-
16 PCD Read
Configuration .2
Parameter 9-
16 PCD
Read Configuration .3
Table 3.3 PCD Read (Frequency Converter to PLC)
PCD word number
Output address
Set-up
1
256–257
2
258–259
3
260–261
4
262–263
CTW MRV Parameter 9-
15 PCD Write
Configuration .2
Parameter 9-
15 PCD
Write
Configuration .3
Table 3.4 PCD Write (PLC to Frequency Converter)
Alternative: For PROFIBUS SW version 2.x and higher, autoconfiguration of process data is supported. This feature makes it possible to configure the process data
( parameter 9-15 PCD Write Configuration and parameter 9-16 PCD Read Configuration ) from the PLC/ master. To use auto-configuration, make sure to enable the feature under DP slave properties . See
Danfoss A/S © 08/2016 All rights reserved.
MG06F102
Configuration Programming Guide
Illustration 3.8 Enable Feature under DP Slave Properties
NOTICE
DP-V1 diagnosis is supported for PROFIBUS SW version
2.x and higher. The default setting of the PROFIBUS DP is
DP-V1 diagnosis. If DP-V0 diagnosis is required, change the setting under DP slave properties .
Illustration 3.9 DP-V1 Diagnosis
•
Parameter 8-50 Coasting Select to parameter 8-58 Profidrive OFF3 Select . Select how to gate PROFIBUS control commands with digital input command of the control card.
•
Parameter 8-03 Control Word Timeout Time to
parameter 8-04 Control Timeout Function . Set the
reaction in the event of a bus timeout via these parameters.
•
Parameter 9-18 Node Address .
•
Parameter 8-07 Diagnosis Trigger .
NOTICE
The setting in parameter 8-01 Control Site overrides the settings in parameter 8-50 Coasting Select to parameter 8-58 Profidrive OFF3 Select , and they all act on bus control.
3.3.2 LEDs
The 2 bicolor LEDs in the PROFIBUS DP indicate the status of PROFIBUS communication. For the location of the 2 bicolor LEDs, refer to
.
The LED marked NS indicates the network status, that is, the cyclic communication to the PROFIBUS master. When this light is a constant green, data exchange between the master and the frequency converter is active.
The LED marked MS indicates the module status, that is, acyclic DP-V1 communication from either a PROFIBUS master class 1 (PLC) or a master class 2 (MCT 10 Set-up
Software, FDT tool). When this light is a constant green,
DP-V1 communication from master classes 1 and 2 is active.
For details of the full range of communications status indicated by the LEDs, refer to
.
Download the configuration file to the PLC. The PROFIBUS system is able to go online, and it starts to exchange data when the PLC is set to run mode.
3.3 Configure the Frequency Converter
3.3.1 Frequency Converter Parameters
The following parameters are important when configuring the frequency converter with a PROFIBUS interface:
•
Parameter 0-40 [Hand on] Key on LCP . Pressing
[Hand on] disables control of the frequency converter via PROFIBUS.
•
. After an initial power-up, the frequency converter automatically detects whether a fieldbus option is installed in slot A. The frequency converter then sets
to [3] Option A . If an option is added to, changed in, or removed from an already commissioned frequency converter, it does not change
parameter 8-02 Control Source . Instead, the
frequency converter enters trip mode and shows an error.
•
Parameter 8-10 Control Word Profile . Select
between [0] FC profile and [1] PROFIdrive profile .
3 3
MG06F102 Danfoss A/S © 08/2016 All rights reserved.
11
Control PROFIBUS DP
4 Control
4 4
4.1 PPO Types
The PROFIBUS profile for frequency converters specifies a number of communication objects (parameter process data objects, PPO). The PROFIBUS profile for frequency 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 (DP-V0) for transferring process data (PCD) and parameters (PCA) from the master to the slave, and conversely.
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.
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 are fixed for PCD write entries (see parameter 9-15 PCD Write Configuration [1]), but configurable for PCD read entries
(see parameter 9-16 PCD Read Configuration [1]).
•
PCD 3–10: In the remaining bytes, the process data can be parameterized with process signals, see parameter 9-23 Parameters for Signals .
The setting in parameter 9-15 PCD Write Configuration determines the signals for transmission (request) from the master to the frequency converter.
The setting in parameter 9-16 PCD Read Configuration determines the signals for transmission (response) from the frequency converter to the master.
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 parameters (successively). Alternatively, for better utilization of I/O and PLC capacity, access parameters via DP-V1. To access via DP-V1, select 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 wordor 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.
12 Danfoss A/S © 08/2016 All rights reserved.
MG06F102
Control Programming Guide
Standard telegram
1
Danfoss telegram
PPO 1
CTW/STW REF/MAV
(The old PPO type 3)
PPO 2
PPO 3
PPO 4
PPO 5
PPO 6
PPO 7
PCV
PCV
PCV
CTW/STW REF/MAV
CTW/STW REF/MAV
PCD 2
Read/
Write
PCD 3
Read/
Write
PCD 4
Read/
Write
PCD 5
Read/
Write
CTW/STW REF/MAV
CTW/STW REF/MAV
PCD 2
Read/
Write
PCD 3
Read/
Write
Read/
Write
PCD 5
Read/
Write
Read/
Write
PCD 6
Read/
Write
PCD 7
Read/
Write
CTW/STW REF/MAV Read/
Write
CTW/STW REF/MAV
PCD 2
Read/
Write
Read/
Write
PCD 3
Read/
Write
CTW/STW REF/MAV
PCD 2
Read/
Write
PCD 3
Read/
Write
Read/
Write
PCD 4
Read/
Write
CTW/STW REF/MAV
PCD 2
Read/
Write
PCD 3
Read/
Write
PCD 5
Read/
Write
PCD 6
Read/
Write
PCD 4
Read/
Write
PCD 5
Read/
Write
PCD 6
Read/
Write
PCD 8
Read/
Write
PCD 7
Read/
Write
PCD 7
Read/
Write
PCD 8
Read/
Write
PCD 9
Read/
Write
PCD 9
Read/
Write
PPO 8
Illustration 4.1 Available PPO Types
4.2 Process Data
Use the process data part of the PPO to control and monitor the frequency converter via the PROFIBUS.
4.2.1 Process Control Data
Process control data (PCD) is the process data sent from the PLC to the frequency converter.
1
Master/slave
2
CTW MRV
Table 4.1 Process Control Data
3
PCD
.......
.......
PCD write
10
PCD
PCD 1 contains a 16-bit control word, and each bit controls a specific function of the frequency converter. See
.
PCD 2 contains a 16-bit speed setpoint in percentage format. See
chapter 4.2.3 Reference Handling
.
The settings in parameter 9-15 PCD Write Configuration and parameter 9-16 PCD Read Configuration define the content of PCD 3 to PCD 10.
4.2.2 Process Status Data
Process status data is the process data sent from the frequency converter and contains information about the current state.
1
Slave/master
2
STW MAV
Table 4.2 Process Status Data
3
PCD
......
......
PCD read
10
PCD
PCD 1 contains a 16-bit status word, and each bit contains information regarding a possible state of the frequency converter.
PCD 2 contains each default value of the frequency converter’s current speed in percentage format (see
chapter 4.2.3 Reference Handling
). PCD 2 can be configured to contain other process signals.
4 4
MG06F102 Danfoss A/S © 08/2016 All rights reserved.
13
Control PROFIBUS DP
4 4
The settings in parameter 9-16 PCD Read Configuration define the content of PCD 3–10.
4.2.3 Reference Handling
The reference handling is an advanced mechanism that sums up references from different sources, as shown in
For more information on reference handling, refer to the design guide .
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 shown in hexadecimal (0–
4000 hex).
The reference (MRV) and feedback (MAV) are always scaled equally. The setting of parameter 3-00 Reference Range determines the scaling of the reference and feedback
(MAV), see
.
Illustration 4.3 Reference (MRV) and Feedback (MAV), Scaled
NOTICE
When parameter 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 parameter 4-12 Motor Speed Low Limit [Hz] and parameter 4-14 Motor Speed High Limit [Hz] .
The final speed limit is set in parameter 4-19 Max Output
Frequency .
lists the reference (MRV) and the feedback (MAV) formats.
MRV/MAV
100%
75%
50%
25%
0%
-25%
-50%
-75%
-100%
Integer in hex
4000
3000
2000
1000
0
F000
E000
D000
C000
Integer in decimal
16384
12288
8192
4096
0
-4096
-8192
-12288
-16384
Table 4.3 Reference/Feedback (MRV/MAV) Format
NOTICE
Negative numbers are formed as complement of 2.
NOTICE
The data type for MRV and MAV is an N2 16-bit standardized value, expressing a range from -200% to
+200% (8000 to 7FFF).
Example
The following settings determine the speed, as shown in
:
•
Parameter 1-00 Configuration Mode set to [0]
Speed open loop .
•
Parameter 3-00 Reference Range set to [0] Min-Max.
•
Parameter 3-02 Minimum Reference set to 0 Hz.
•
Parameter 3-03 Maximum Reference set to 50 Hz.
0%
25%
50%
75%
100%
MRV/MAV
0 hex
1000 hex
2000 hex
3000 hex
4000 hex
Actual speed [Hz]
0
12.5
25
37.5
50
Table 4.4 Actual Speed for MRV/MAV
14 Danfoss A/S © 08/2016 All rights reserved.
MG06F102
Control Programming Guide
4.2.4 Process Control Operation
In process control operation, parameter 1-00 Configuration
Mode is set to [3] Process .
The reference range in parameter 3-00 Reference Range is always [0] Min - Max.
•
MRV is the process setpoint.
•
MAV expresses the actual process feedback (range
± 200%).
4.2.5 Influence of the Digital Input
Terminals on FC Control Mode
In parameter 8-50 Coasting Select to parameter 8-58 Profidrive OFF3 Select , set the influence of the digital input terminals on the control of the frequency converter.
NOTICE
The setting of parameter 8-01 Control Site overrules the settings in parameter 8-50 Coasting Select to parameter 8-58 Profidrive OFF3 Select .
Program each of the digital input signals 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.
•
Either fieldbus OR digital input terminal.
NOTICE
To control the frequency converter via PROFIBUS, set parameter 8-50 Coasting Select to either [1] Bus or [2]
Logic AND . Then set parameter 8-01 Control Site to [0]
Digital and ctrl.word
or [2] Controlword only .
For more detailed information and examples of logical relationship options, see
.
4.3 Control Profile
Control the frequency converter according to:
•
The PROFIdrive profile, see
•
The Danfoss FC control, see
.
Select the control profile in
Profile . The choice of profile affects the control word and
status word only.
Chapter 4.4 PROFIdrive Control Profile
and
chapter 4.5 Danfoss FC Control Profile
provide a detailed description of control and status data.
4 4
MG06F102 Danfoss A/S © 08/2016 All rights reserved.
15
Control PROFIBUS DP
4 4
4.4 PROFIdrive Control Profile
This section describes the functionality of the control word and status word in the PROFIdrive profile.
4.4.1 Control Word According to
PROFIdrive Profile (CTW)
The control word is used to send commands from a master
(for example a PC) to a slave.
07
08
09
10
03
04
05
06
11
12
13
14
15
Bit
00
01
02
OFF 1
OFF 2
OFF 3
Bit = 0
Coasting
Quick stop
Hold frequency output
Ramp stop
No function
Jog 1 OFF
Jog 2 OFF
Data invalid
No function
No function
Parameter set-up
No function
Forward
Table 4.5 Control Word Bits
Bit = 1
ON 1
ON 2
ON 3
No coasting
Ramp
Use ramp
Start
Reset
Jog 1 ON
Jog 2 ON
Data valid
Slow down
Catch up
Selection lsb
No function
Reverse
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 stops and activates the output relay 1 or 2 if the output frequency is 0 Hz, and if [31] Relay 123 is selected in parameter 5-40 Function Relay .
When bit 0 = 1, the frequency converter is in state 1, switching on inhibited.
Refer to
.
Bit 01, OFF 2/ON 2
Coast stop.
Bit 01 = 0 coast stops and activates the output relay 1 or 2 if the output frequency is 0 Hz, and if [31] Relay 123 is selected in parameter 5-40 Function Relay .
When bit 01 = 1, the frequency converter is in state 1, switching on inhibited. Refer to
.
Bit 02, OFF 3/ON 3
Quick stop using the ramp time of parameter 3-81 Quick
Stop Ramp Time .
Bit 02 = 0 quick stops and activates the output relay 1 or 2 if the output frequency is 0 Hz, and if [31] Relay 123 is selected in parameter 5-40 Function Relay .
When bit 02 = 1, the frequency converter is in state 1, switching on inhibited.
16
Refer to
Bit 03, coasting/no coasting
Bit 03 = 0 leads to a coast stop.
When bit 03 = 1, if the other start conditions are fulfilled, the frequency converter can start.
NOTICE
The selection in parameter 8-50 Coasting Select determines how bit 03 is linked with the corresponding function of the digital inputs.
Bit 04, quick stop/ramp
Quick stop using the ramp time of parameter 3-81 Quick
Stop Ramp Time .
When bit 04 = 0, a quick stop occurs.
When bit 04 = 1, if the other start conditions are fulfilled, the frequency converter can start.
NOTICE
The selection in
parameter 8-51 Quick Stop Select
determines how bit 04 is linked with the corresponding function of the digital inputs.
Bit 05, hold frequency output/use ramp
When bit 05 = 0, the present output frequency is maintained, even if the reference value is modified.
When bit 05 = 1, the frequency converter can perform its regulating function again according to the respective reference value.
Bit 06, ramp stop/start
Normal ramp stop using the ramp times of the actual ramp selected. In addition, if [31] Relay 123 is selected in parameter 5-40 Function Relay , and if the output frequency is 0 Hz, this bit activates output relay 01 or 04.
Bit 06 = 0 stops the frequency converter.
When bit 06 = 1, if the other start conditions are fulfilled, the frequency converter can start.
NOTICE
The selection in parameter 8-53 Start Select determines how bit 06 is linked with the corresponding function of the digital inputs.
Bit 07, no function/reset
Reset after switching off. Acknowledges event in fault buffer.
When bit 07 = 0, no reset occurs.
When there is a slope change of bit 07 to 1, a reset occurs after switching off.
Bit 08, jog 1 OFF/ON
Activation of the pre-programmed speed in parameter 8-90 Bus Jog 1 Speed . Jog 1 is only possible if bit
04 = 0 and bits 00–03 = 1.
Bit 09, jog 2 OFF/ON
Activation of the pre-programmed speed in parameter 8-91 Bus Jog 2 Speed . Jog 2 is only possible if bit
04 = 0 and bits 00–03 = 1.
Danfoss A/S © 08/2016 All rights reserved.
MG06F102
Control Programming Guide
Bit 10, data invalid/valid
Tells the frequency converter whether to use or ignore the control word.
Bit 10 = 0 ignores the control word, making it possible to turn off the control word when updating/reading parameters.
Bit 10 = 1 uses the control word. This function is relevant because the control word is always contained in the telegram, regardless of which type of telegram is used.
Bit 11, no function/slow down
Used to reduce the speed reference value by the amount given in parameter 3-12 Catch up/slow Down Value .
When bit 11 = 0, no modification of the reference value occurs.
When bit 11 = 1, the reference value is reduced.
Bit 12, no function/catch up
Used to increase the speed reference value by the amount given in parameter 3-12 Catch up/slow Down Value .
When bit 12 = 0, no modification of the reference value occurs.
When bit 12 = 1, the reference value is increased.
If both slowing down and accelerating are activated (bits
11 and 12 = 1), slowing down has priority, and the speed reference value is reduced.
Bits 13, set-up selection
Bits 13 is used to select between the 2 parameter set-ups according to
.
The function is only possible if [9] Multi Set-up has been selected in parameter 0-10 Active Set-up . The selection in parameter 8-55 Set-up Select determines how bit 13 is linked with the corresponding function of the digital inputs. Changing set-up while the frequency converter is running is only possible if the set-ups have been linked in parameter 0-12 This Set-up Linked to .
Set-up
1
2
Table 4.6 Parameter Set-ups
Bit 13
0
1
Bit 14, not used
Bit 15, no function/reverse
Bit 15 = 0 causes no reversing.
Bit 15 = 1 causes reversing.
NOTICE
In the factory setting, reversing is set to [0] Digital in parameter 8-54 Reversing Select .
NOTICE
Bit 15 causes reversing only when Ser. communication,
Logic or , or Logic and is selected.
4.4.2 Status Word According to PROFIdrive
Profile (STW)
The status word is used to notify a master (for example a
PC) about the status of a slave.
Bit
00
01
06
07
08
09
02
03
04
05
10
11
12
13
14
15
Bit = 0
Control not ready
Frequency converter not ready
Coasting
No error
OFF 2
OFF 3
Bit = 1
Control ready
Frequency converter ready
Enable
Trip
ON 2
ON 3
Start possible
No warning
Speed ≠ reference
Local operation
Start not possible
Warning
Speed = reference
Bus control
Out of frequency limit Frequency limit ok
No operation In operation
Frequency converter
OK
Voltage OK
Torque OK
Thermal OK
Stopped, auto-start
Voltage exceeded
Torque exceeded
Limit exceeded
Table 4.7 Status Word Bits
Explanation of the status bits
Bit 00, control not ready/ready
When bit 00 = 0, bit 00, 01, or 02 of the control word is 0
(OFF 1, OFF 2, or OFF 3) - or the frequency converter is switched off (tripped).
When bit 00 = 1, the frequency converter control is ready, but power is not necessarily supplied to the unit (in case of a 24 V external supply of the control system).
Bit 01, VLT not ready/ready
Same significance as bit 00, however, power is supplied to the unit. The frequency converter is ready when it receives the necessary start signals.
Bit 02, coasting/enable
When bit 02 = 0, bit 00, 01, or 02 of the control word is 0
(OFF 1, OFF 2, OFF 3, or coasting) - or the frequency converter is switched off (trip).
When bit 02 = 1, bit 00, 01, or 02 of the control word is 1, and the frequency converter has not tripped.
Bit 03, no error/trip
When bit 03 = 0, no error condition exists in the frequency converter.
When bit 03 = 1, the frequency converter has tripped and requires a reset signal before it can start.
Bit 04, ON 2/OFF 2
When bit 01 of the control word is 0, bit 04 = 0.
When bit 01 of the control word is 1, bit 04 = 1.
4 4
MG06F102 Danfoss A/S © 08/2016 All rights reserved.
17
Control PROFIBUS DP
4 4
Bit 05, ON 3/OFF 3
When bit 02 of the control word is 0, bit 05 = 0.
When bit 02 of the control word is 1, bit 05 = 1.
Bit 06, start possible/start not possible
If [1] PROFIdrive has been selected in
parameter 8-10 Control Word Profile
, bit 06 is 1 after a switch-off acknowledgement, after activation of OFF2 or
OFF3, and after switching on the mains voltage. To reset
Start not possible , set bit 00 of the control word to 0, and bits 01, 02, and 10 to 1.
Bit 07, no warning/warning
Bit 07 = 0 means that there are no warnings.
Bit 07 = 1 means that a warning has occurred.
Bit 08, speed ≠ reference/speed = reference
When bit 08 = 0, the current speed of the motor deviates from the set speed reference value. The deviation may occur, for example, when the speed is being changed during start/stop through ramp up/down.
When bit 08 = 1, the current speed of the motor corresponds to the set speed reference value.
Bit 09, local operation/bus control
Bit 09 = 0 indicates that the frequency converter has been stopped with [Stop] on the LCP, or that [0] Linked to hand or [2] Local has been selected in parameter 3-13 Reference
Site .
When bit 09 = 1, the frequency converter can be controlled through the serial interface.
Bit 10, out of frequency limit/frequency limit OK
When bit 10 = 0, the output frequency is outside the limits set in parameter 4-52 Warning Speed Low and parameter 4-53 Warning Speed High .
When bit 10 = 1, the output frequency is within the indicated limits.
Bit 11, no operation/operation
When bit 11 = 0, the motor does not turn.
When bit 11 = 1, the frequency converter has a start signal, or the output frequency is higher than 0 Hz.
Bit 12, drive OK/stopped, auto-start
When bit 12 = 0, there is no temporary overload of the inverter.
When bit 12 = 1, the frequency converter has stopped due to overload. However, the frequency converter has not switched off (tripped) and starts again after the overload has ended.
Bit 13, voltage OK/voltage exceeded
When bit 13 = 0, the voltage limits of the frequency converter are not exceeded.
When bit 13 = 1, the direct voltage in the DC link of the frequency converter is too low or too high.
Bit 14, torque OK/torque exceeded
When bit 14 = 0, the motor torque is below the limit selected in parameter 4-16 Torque Limit Motor Mode and parameter 4-17 Torque Limit Generator Mode .
When bit 14 = 1, the limit selected in parameter 4-16 Torque Limit Motor Mode or parameter 4-17 Torque Limit Generator Mode is exceeded.
Bit 15, thermal OK/limit exceeded
When bit 15 = 0, the timers for the motor thermal protection and thermal frequency converter protection have not exceeded 100%.
When bit 15 = 1, one of the limits has exceeded 100%.
18 Danfoss A/S © 08/2016 All rights reserved.
MG06F102
Control Programming Guide
4.4.3 PROFIdrive State Transition Diagram
In the PROFIdrive control profile, the control bits:
•
0–3 perform the basic start-up/power-down functions.
•
4–15 perform application-oriented control.
shows the basic state transition diagram where control bits 0–3 control the transitions, and the corresponding status bit indicates the actual state. The black bullets indicate the priority of the control signals where fewer bullets indicate lower priority, and more bullets indicate higher priority.
4 4
Coast Stop
STW bit 1=false
Coast Stop
OR Quick Stop
STW bit 1=false
OR bit 2=false
S3: Switching ON inhibited
STW bit 6=true; 0, 1, 2=false
OFF
AND No Coast Stop
AND No Quick Stop
STW bit 0=false
AND bit 1=true
AND bit 2=true
Coast Stop
OR Quick Stop
STW bit 1=false
OR bit 2=false
S2: Ready For Switching ON
STW bit 0=true; 1, 2, 6=false
ON
STW bit 0=true
OFF
STW bit 0=true
S3: Switched ON
STW bit 0, 1=true; 2, 6=false
Enable
Operation
STW bit 3=true
Disable
Operation
STW bit 3=false
S4: Operation
STW bit 0, 1,2=true; 6=false
1st priority
2nd priority
3rd priority
Illustration 4.4 PROFIdrive State Transition Diagram
Pulses
Disabled
Coast Stop
STW bit 1=false
Pulses
Disabled
S5: Switching
OFF
STW bit 0, 1=true bit 2, 6=false
Quick Stop
STW bit 2=false
Quick Stop
Ramp Stop
ON
STW bit 0=true
OFF
STW bit 0=false
Quick Stop
STW bit 2=false
MG06F102 Danfoss A/S © 08/2016 All rights reserved.
19
Control PROFIBUS DP
4 4
4.5 Danfoss FC Control Profile
4.5.1 Control Word According to FC Profile
(CTW)
To select Danfoss FC protocol in the control word, set
parameter 8-10 Control Word Profile
to [0] FC profile . Use the control word to send commands from a master (PLC or PC) to a slave (frequency converter).
12
13
14
15
08
09
10
11
03
04
05
06
07
Bit
00
01
02
Bit value = 0
Reference value
Reference value
DC brake
Coasting
Quick stop
Hold output frequency
Ramp stop
No function
No function
Ramp 1
Data invalid
No function
No function
Parameter set-up
No function
Forward
Table 4.8 Bit Values for FC Control Word
Bit value = 1
External selection lsb
External selection msb
Ramp
No coasting
Ramp
Use ramp
Start
Reset
Jog
Ramp 2
Data valid
Relay 01 active
Relay 04 active
Selection lsb
No function
Reverse
Explanation of the control bits
Bits 00/01, reference value
Use bits 00 and 01 to select between the 4 reference values, which are pre-programmed in parameter 3-10 Preset
Reference according to
.
NOTICE
In parameter 8-56 Preset Reference Select , a selection is made to define how bit 00/01 gates with the corresponding function on the digital inputs.
Bit
01
0
0
1
1
Bit
00
0
1
0
1
Programmed reference value
1
2
3
4
Parameter
[0] Parameter 3-10 Preset Reference
[1] Parameter 3-10 Preset Reference
[2] Parameter 3-10 Preset Reference
[3] Parameter 3-10 Preset Reference
Table 4.9 Programmed Reference Values for Bits
Bit 02, DC brake
Bit 02 = 0 leads to DC braking and stop. Braking current and duration are set in parameter 2-01 DC Brake Current and parameter 2-02 DC Braking Time .
Bit 02 = 1 leads to ramping.
Bit 03, coasting
Bit 03 = 0 causes the frequency converter immediately to coast the motor to a standstill.
Bit 03 = 1 enables the frequency converter to start the motor if the other starting conditions have been fulfilled.
NOTICE
In parameter 8-50 Coasting Select , a selection is made to define how bit 03 gates with the corresponding function on a digital input.
Bit 04, quick stop
Bit 04 = 0 quick stops the frequency converter and ramps the motor speed down to stop via parameter 3-81 Quick
Stop Ramp Time .
Bit 04 = 1 makes the frequency converter ramp the motor speed down to stop via parameter 3-42 Ramp 1 Ramp
Down Time or parameter 3-52 Ramp 2 Ramp Down Time .
Bit 05, hold output frequency
Bit 05 = 0 freezes the present output frequency (in Hz).
The frozen output frequency can only be changed with the digital inputs ( parameter 5-10 Terminal 18 Digital Input to parameter 5-15 Terminal 33 Digital Input ) programmed to
[21] Speed up and [22] Speed down .
Bit 05 = 1 uses ramp.
Bit 06, ramp stop/start
Bit 06 = 0 stops the frequency converter and the motor speed ramps down to stop via the selected ramp-down parameter.
Bit 06 = 1 allows the frequency converter to start the motor if the other starting conditions have been fulfilled.
NOTICE
In parameter 8-53 Start Select , define how bit 06 ramp stop/start gates with the corresponding function on a digital input.
Bit 07, reset
Bit 07 = 0 does not cause a reset.
Bit 07 = 1 resets a trip. Reset is activated on the signal’s leading edge, that is, when changing from logic 0 to logic
1.
Bit 08, jog
Bit 08 = 0, no function.
Bit 08 = 1, parameter 3-19 Jog Speed [RPM] determines the output frequency.
Bit 09, selection of ramp 1/2
Bit 09 = 0, ramp 1 is active ( parameter 3-40 Ramp 1 Type to parameter 3-47 Ramp 1 S-ramp Ratio at Decel. Start ).
Bit 09 = 1, ramp 2 is active ( parameter 3-50 Ramp 2 Type to parameter 3-57 Ramp 2 S-ramp Ratio at Decel. Start ).
Bit 10, data not valid/data valid
Tell the frequency converter to use or ignore the control word.
Bit 10 = 0 ignores the control word.
20 Danfoss A/S © 08/2016 All rights reserved.
MG06F102
Control Programming Guide
Bit 10 = 1 uses the control word. This function is relevant because the control word is always contained in the telegram, regardless of which type of telegram is used.
Thus, it is possible to turn off the control word if it is not needed when updating or reading parameters.
Bit 11, relay 01
Bit 11 = 0, relay 01 is not activated.
Bit 11 = 1, relay 01 is activated, provided control word bit
11 is selected in parameter 5-40 Function Relay .
Bit 12, relay 04
Bit 12 = 0, relay 04 is not activated.
Bit 12 = 1, relay 04 is activated, provided [37] Control word bit 12 is selected in parameter 5-40 Function Relay .
Bits 13, set-up selection
Use bit 13 to select from the 2 set-ups according to
.
The function is only possible when [9] Multi Set-ups is selected in parameter 0-10 Active Set-up .
Set-up
1
2
Bit 13
0
1
Table 4.10 Set-up selection
NOTICE
In parameter 8-55 Set-up Select , define how bit 13 gates with the corresponding function on the digital inputs.
Bit 14, not used
Bit 15, reverse
Bit 15 = 0 means no reversing.
Bit 15 = 1 means reversing.
4.5.2 Status Word According to FC Profile
(STW)
The status word is used to inform the master (for example a PC) of the operating mode of the slave (frequency converter).
Refer to
chapter 7 Application Examples
for an example of a status word telegram using PPO type 3.
Bit Bit = 0
00 Control not ready
01
Frequency converter not ready
02 Coasting
03 No error
04 No error
05 Reserved
06 No error
Control ready
Bit = 1
Frequency converter ready
Enable
Trip
Error (no trip)
–
Trip lock
07 No warning Warning
08 Speed ≠ reference
09 Local operation
Speed = reference
Bus control
10 Out of frequency limit Frequency limit OK
11 No operation In operation
12 Frequency converter OK Stopped, auto-start
13 Voltage OK Voltage exceeded
14 Torque OK
15 Thermal OK
Torque exceeded
Limit exceeded
Table 4.11 Definition of Status Bits
Explanation of the status bits
Bit 00, control not ready/ready
Bit 00 = 0, the frequency converter has tripped.
Bit 00 = 1, the frequency converter controls are ready, but the power component is not necessarily receiving any power (in case of a 24 V external supply to controls).
Bit 01, frequency converter ready
Bit 01 = 0, the frequency converter is not ready for operation.
Bit 01 = 1, the frequency converter is ready for operation, but there is an active coasting command via the digital inputs or via serial communication.
Bit 02, coasting stop
Bit 02 = 0, the frequency converter has released the motor.
Bit 02 = 1, the frequency converter can start the motor when a start command is given.
Bit 03, no error/trip
Bit 03 = 0, the frequency converter is not in fault mode.
Bit 03 = 1, the frequency converter is tripped, and a reset signal is required to re-establish operation.
Bit 04, no error/error (no trip)
Bit 04 = 0, the frequency converter is not in fault mode.
Bit 04 = 1, there is a frequency converter error but no trip.
4 4
MG06F102 Danfoss A/S © 08/2016 All rights reserved.
21
Control PROFIBUS DP
4 4
Bit 05, not used
Bit 05 is not used in the status word.
Bit 06, no error/triplock
Bit 06 = 0, the frequency converter is not in fault mode.
Bit 06 = 1, the frequency converter is tripped and locked.
Bit 07, no warning/warning
Bit 07 = 0, there are no warnings.
Bit 07 = 1, a warning has occurred.
Bit 08, speed ≠ reference/speed = reference
Bit 08 = 0, the motor runs, but the present speed is different from the preset speed reference. It could, for example, be the case while the speed ramps up/down during start/stop.
Bit 08 = 1, the present motor speed matches the preset speed reference.
Bit 09, local operation/bus control
Bit 09 = 0, [Stop/Reset] is pressed on the LCP, or [2] Local is selected in parameter 3-13 Reference Site . It is not possible to control the frequency converter via serial communication.
Bit 09 = 1, it is possible to control the frequency converter via the fieldbus/serial communication.
Bit 10, out of frequency limit
Bit 10 = 0, the output frequency has reached the value in parameter 4-11 Motor Speed Low Limit [RPM] or parameter 4-13 Motor Speed High Limit [RPM] .
Bit 10 = 1, the output frequency is within the defined limits.
Bit 11, no operation/in operation
Bit 11 = 0, the motor does not run.
Bit 11 = 1, the frequency converter has a start signal or the output frequency is higher than 0 Hz.
Bit 12, frequency converter OK/stopped, auto-start
Bit 12 = 0, there is no temporary overtemperature in the frequency converter.
Bit 12 = 1, the frequency converter has stopped because of overtemperature, but it has not tripped and resumes operation once the temperature is within the defined limits.
Bit 13, voltage OK/limit exceeded
Bit 13 = 0, there are no voltage warnings.
Bit 13 = 1, the DC voltage in the frequency converter’s DC link is too low or too high.
Bit 14, torque OK/limit exceeded
Bit 14 = 0, the motor current is lower than the torque limit selected in parameter 4-16 Torque Limit Motor Mode or parameter 4-17 Torque Limit Generator Mode .
Bit 14 = 1, the torque limits in parameter 4-16 Torque Limit
Motor Mode and parameter 4-17 Torque Limit Generator
Mode are exceeded.
Bit 15, thermal OK/limit exceeded
Bit 15 = 0, the timers for motor thermal protection and frequency converter thermal protection have not exceeded
100%.
Bit 15 = 1, 1 of the limits has exceeded 100%.
4.6 Synchronize and Freeze
The control commands sync/unsync and freeze/unfreeze are broadcast functions.
Use sync/unsync to synchronize control commands and/or speed reference to all the connected frequency converters.
Use freeze/unfreeze to freeze the status feedback in the slaves to obtain synchronized feedback from all connected slaves.
The synchronize and freeze commands affect only process data (the PCD part of the PPO).
4.6.1 Sync/Unsync
To obtain simultaneous reactions such as synchronized start, stop, or speed change in several slaves, use sync/ unsync.
A sync command freezes the relevant control word and speed reference. Incoming process data is stored, but not used, until a new sync command or an unsync command is received.
An unsync command stops the synchronization mechanism and enables normal DP data exchange.
4.6.2 Freeze/Unfreeze
Freeze/unfreeze can be used for simultaneous reading of process data, for example output current, from several slaves.
A freeze command freezes the actual values and upon request the slave sends back the value that was present when the freeze command was received.
At the receipt of an unfreeze command, the values once again are continuously updated and the slave returns a present value, for example a value generated by current conditions.
The values are updated when a new freeze or unfreeze command is received.
22 Danfoss A/S © 08/2016 All rights reserved.
MG06F102
Parameter Access Programming Guide
5 Parameter Access
5.1 Parameter Access in General
In an automated system, frequency converter parameters can be accessed either from the process controller (that is,
PLC), or from various kinds of HMI equipment.
Parameter access from controllers and HMI
Parameters are located in 2 separate set-ups. Parameter access in the frequency converter is performed via several separated parameter channels. Use the separated channels individually to access a certain parameter set-up. Select the wanted set-up in parameter 0-11 Edit Set-up or parameter 9-70 Edit Set-up .
Using the above-mentioned mechanism allows reading or writing to and from parameters in a certain set-up from a master class 1, for example a PLC. It is also possible to access parameters simultaneously in a different set-up from a master class 2, for example a PC tool, without interfering with the set-up selection for the programming sources.
Parameters can be accessed via:
•
LCP.
•
FC Protocol on RS485 or USB.
•
Cyclic data access on DP-V0 (PCV Channel).
•
PROFIBUS master class 1.
•
PROFIBUS master class 2 (3 connections possible).
NOTICE
Although the parameter channels are separated, data conflict can occur when writing to parameters from an
HMI unit into a set-up actively in use by the frequency converter or the process controller (for example a PLC).
5.1.1 Data Store
Parameters write via the PCV channel (DP V0) is stored in
RAM only. If data has to be stored in non-volatile memory, use
parameter 9-71 Profibus Save Data Values
for storing 1 or more set-ups.
Using DP-V1 access, store parameters either in RAM or non-volatile memory by selecting a specific write-request command. At any time, store non-stored data in nonvolatile memory by activating
.
5.1.2 Read/Write in Double Word Format
The special request IDs 0X51 (read) and 0X52 (write) allow reading and writing to all parameters containing numeric values in a general format of double word. The value element must be right-aligned and unused MSBs filled with zeros.
Example: Read of a parameter of type U8 is transmitted as
00 00 00 xx, where xx is the value to be transmitted. The data type signaled by the telegram is 43h (dword).
5.1.3 PROFIBUS DP-V1
The acyclic DP-V1 transmission allows reading and writing parameter values, as well as reading a number of descriptive attributes for each parameter. Access to parameters via DP-V1 is described in
5.1.4 PROFIBUS DP V0/PCV Channel
Parameter access via the PCV channel is performed using
PROFIBUS DP V0 cyclic data exchange, where the PCV channel is part of the PPOs described in
Types . Using the PCV channel, it is possible to read and
write parameter values, as well as read a number of descriptive attributes for each parameter. The functionality of the PCV channel is described in
NOTICE
Object and data types common to both DP-V1 and PCV parameter access are listed in
5.2 DP-V1 Parameter Access
This section is useful for the developer with some experience in:
•
PLC programs with PROFIBUS master class 1 functionality.
•
PC applications with PROFIBUS master class 2 functionality.
For more detailed instructions on how to use the DP-V1 function, refer to the PROFIBUS master manual from the
PLC supplier.
5 5
MG06F102 Danfoss A/S © 08/2016 All rights reserved.
23
Parameter Access PROFIBUS DP
5 5
5.2.1 PROFIBUS DP-V1 Introduction
The PROFIBUS DP extension DP-V1 offers acyclic communication in addition to the cyclic data communication of DP
V0. This feature is possible using a DP master class 1 (for example PLC), as well as a DP master class 2 (for example
PC Tool).
Cyclic communication means that data transfer takes place continuously with a certain refresh rate. This function is the known DP V0 function normally used for quick updates of
I/O process data.
Acyclic communication is a one-off data transfer event, used for read/write from and to parameters from process controllers, PC-based tools, or monitoring systems.
5.2.2 Features of a Master Class 1
Connection
•
Cyclic data exchange (DP-V0).
•
Acyclic read/write from and to parameters.
A master class 1 is used as the process controller (either
PLC or PC-based), responsible for commands, speed reference, status of the application, and so on. The master class 1 acyclic connection can be used for general parameter access in the slaves. However, the acyclic connection is fixed and cannot be changed during operation.
5.2.3 Features of a Master Class 2
Connection
•
Initiate/abort acyclic connection.
•
Acyclic read/write from and to parameters.
The master class 2 acyclic connection is typically used for configuration or commissioning tools for easy access to each parameter in any slave in the system. The acyclic connection can be dynamically established (initiated) or removed (aborted) even when a master class 1 is active on the network.
5.2.4 Services Overview
Master type
Read data from slave
Yes
Service
Read Write
Write data to slave
Yes
Data transport
Read and write data
Yes Master class 1
Master class 2
Yes Yes Yes
Initiate Abort
Open a connection
Close a connection
–
Yes
–
Yes
Alarm
–
–
Table 5.1 Services Overview
5.2.5 Principle of Data Exchange by
PROFIBUS DP-V1
In a DP cycle, the master class 1 (MSAC1) first updates the cyclic process data for all slaves in the system. The MSAC1 then sends 1 acyclic message to 1 slave. If a master class 2
(MSAC2) is connected, the MSAC1 hands over the bus rights to MSAC2. MSAC2 is then allowed to send 1 acyclic message to 1 slave. The token is then handed back to the
MSAC1, and a new DP cycle begins.
Illustration 5.1 DP Cycle
•
MC: Master class.
•
C1...Cn: Cyclic data.
•
AC1: Acyclic data master class 1.
•
AC2: Acyclic data master class 2.
PROFIBUS DP services are activated via specific service access points (SAP).
shows the SAP specified for acyclic communication.
24 Danfoss A/S © 08/2016 All rights reserved.
MG06F102
Parameter Access Programming Guide
Master
SAP
Slave SAP
50 (32H) 49 (31H)
Description
51 (33H) 50, 51 (32H,
33H)
Master class 2: Initiate request
50 (32H) 0..48 (0..30H) Master class 2: Abort, read, write, data transfer
Master class 2: Alarm
51 (33H) 51 (33H) Master class 2: Read, write
Table 5.2 Service Access Points (SAP)
5.2.6 DP-V1 Features for Parameter Access
This section describes how to use DP-V1 for accessing frequency converter parameters.
The standard PROFIBUS DP-V1 read and write services are not sufficient for accessing the many parameters and attributes in the frequency converter. For this reason, the
PROFIdrive parameter channel is defined. Using this parameter read/write is performed by addressing a single
DP-V1 object in the frequency converter as shown in the example
For a detailed description of the DP-V1 command handling, refer to the PROFIBUS DP-V1 Design Guide .
Example
Slot = 0
Index = 47
PROFIBUS telegram header
Data unit
DP-V1 command/response
DU
0
DU
1
DU
2
DU
3
PROFIdrive V3.0
parameter channel
Req./Res.
Header
Data
PROFIBUS telegram trailer
Table 5.3 General Structure for Telegram
Use the DP-V1 command/response part for the standard
DP-V1 read/write on slot 0, index 47 data block.
Use the PROFIdrive V3 parameter channel to access specific parameter data in the frequency converter.
5.2.7 DP-V1 Read/Write Services
shows the content of the DP-V1 command/ response headers and their possible attributes.
1
2
3
4..n
DU byte Value
0 Function number
0x48
0x51
0x57
0x58
0x5C
0x5E
0x5F
0xD1
Meaning
Idle REQ, RES
0x56
0xD7
0xDC
0xDE
0xDF
Data transport
REQ, RES
Resource manager
REQ
Initiate REQ, RES
Abort REQ
Alarm REQ, RES
Read REQ, RES
Write REQ, RES
Data transport negative response
Initiate negative response
Alarm negative response
Read negative response
Write negative response
Always zero Slot number
47 Index xx Data length
User data
–
–
–
–
–
–
Specified
–
–
–
–
–
–
–
DP-V1
DP-V1
DP-V1
PNO drive profile
V3.0
Table 5.4 DP-V1 Command/Response Headers
5.2.8 DP-V1 Acyclic Parameter Channel
Use the PROFIdrive parameter channel for read and write access to parameter values and attributes.
•
Parameter values of simple variable, array, and visible string.
•
Parameter description elements such as type and minimum/maximum value.
•
Descriptive text for parameter values.
•
Access to multiple parameters in 1 telegram is also possible.
shows the structure of the PROFIdrive parameter channel.
5 5
MG06F102 Danfoss A/S © 08/2016 All rights reserved.
25
Parameter Access PROFIBUS DP
5 5
PROFIBUS DP-V1 telegram for read/write from or to a frequency converter parameter:
PROFIBUS telegram header
Data unit
DP-V1 command/response
DU
0
DU
1
DU
2
DU
3
PROFIdrive V3.0
parameter channel
Req./Res.
Header
Data
PROFIBUS telegram trailer
Table 5.5 Structure of the PROFIdrive Parameter Channel
shows the principle structure of the PROFIdrive parameter channel.
The DP-V1 parameter request telegram consists of 3 data blocks:
•
A request header, which defines the request (read or write), and the number of parameters to access. The master sets the request reference and uses this information to evaluate the response.
•
An address field where all addressing attributes of the wanted parameters are defined.
•
A data field where all parameter data values are placed.
DP-V1 Parameter request Byte number
Request header
Request reference
Request ID
Axis
0
1
2
Address field Number of parameters 3
Attribute 4
Number of elements
Parameter number
5
6
Sub index
7
8
9 n'th parameter number 4+6x(n-1)
Data field Data format
Number of values
Values n'th data value
...
4+6xn
(4+6xn)+1
(4+6xn)+2
...
Table 5.6 Principle Structure of the PROFIdrive Parameter
Channel
The DP-V1 parameter response telegram consists of 2 data blocks:
•
A response header, which indicates:
If the request is performed without errors (response ID).
The number of parameters.
The request reference set by the master within the corresponding request.
•
A data field, where the requested data is placed.
If 1 or more internal requests have failed, a fault code is placed instead of the data values.
DP-V1
Response header
Parameter values
Parameter response Byte number
Request reference mirrored 0
Response ID 1
Axis mirrored
Number of parameters
Format
Number of values
Values of error values n'th parameter value
2
3
4
5
6
...
Table 5.7 DP-V1 Parameter Response Telegram
As the response telegram does not include parameter addressing information, the master must identify the structure of the response data from the request telegram.
5.2.9 Request/Response Attributes
contains an overview of the possible attributes of the PROFIdrive parameter channel.
Field Data type 1)
Request reference
U8
Request ID U8
Values
0x01–0xFF –
0x01
0x02
0x42
0x51
0x52
Request parameter value
Change parameter value
Change parameter nonvolatile
Request parameter value double word
Change parameter value double word
Remark
–
Identification of read or write request
26 Danfoss A/S © 08/2016 All rights reserved.
MG06F102
Parameter Access Programming Guide
Field Data type 1)
U8
Values Remark
Response
ID
0x01 Request parameter (+)
Positive
Identification of the response
Format
Number of values
Error number
0x02
0x81
Change parameter (+)
Positive
Request parameter (-)
Negative
Axis U8
0x82 Change parameter (-)
Negative
0x00–0xFF Number (always
0)
0x01–
0x25
–
–
Number of parameters
U8 Limitation:
DP-V1 telegram length
Attribute
Number of elements
Parameter number
U8 0x10
0x20
0x30
0x01–
0xFA
Value
Description
–
Data description
–
U8
Text
Quantity 1–234 Limitation:
DP-V1 telegram length
U16 0x0001...
Number 1–65535 Parameter number
0xFFFF
Subindex U16 0x0000
– –
Number 0–65535 Array pointer
U8
U8
0xFFFF
See
0x01–
0xEA
–
–
–
Quantity 0–234 Limitation:
DP-V1 telegram length
U16 0x0000...
Error number –
Table 5.8 Overview: Possible Attributes of the
PROFIdrive Parameter Channel
1) U8 - Unsigned8, U16 - Unsigned16
5.2.10 Request Reference
The master has unique identification of request/response pair. The master changes the request reference with each new request. The slave mirrors the request reference in the response.
5.2.11 Request ID
0x01 Request parameter.
0x02 Change parameter (data is NOT stored in non-volatile memory, lost at power cycle).
0x42 Change parameter non-volatile (data is stored in nonvolatile memory).
0x51 Request parameter value double word. All parameters are formatted and transferred as double word size, regardless of the actual data type.
0x52 Change parameter value double word. All parameters must be formatted and sent as double word size, regardless of data type.
Table 5.9 Defined Request Identification
5.2.12 Response ID
The response ID indicates if the read or write request was successfully performed in the frequency converter. If the response is negative, the request is answered as negative
(first bit = 1), and a fault code is entered per partial response instead of the value.
5.2.13 Axis
Set the axis attribute to 0.
5.2.14 Number of Parameters
For multi-parameter requests, specify the number of the parameter address and/or parameter value areas. For a single request, the number is 1.
5.2.15 Attribute
The attribute determines which data to access. The frequency converter responds to the attributes value
(10 H), description (20 H), and text (30 H).
5.2.16 Attribute Value (10 H)
The attribute value allows reading or writing of parameter values.
5.2.17 Attribute Description (20 H)
The attribute description allows access to the parameter description. It is possible to read out 1 single description element, or all elements for 1 parameter in 1 telegram.
provides an overview of the existing parameter description, which exists for each parameter in the frequency converter. All the elements of parameter description are read-only.
5 5
MG06F102 Danfoss A/S © 08/2016 All rights reserved.
27
Parameter Access PROFIBUS DP
5 5
11
12
0
7
8
9
10
5
6
3
4
Subindex Description
1 Identifier ID
2 Number of array elements or length or string
Standardization factor
Variable attribute
Reserved
Name
Lower limit
Upper limit
Reserved
ID extension
Data type
V2
U16
Float
Octet string 2
Octet string 4
Visible string 16
Octet string 4
Octet string 4
Octet string 2
V2
PCD reference parameter U16
PCD normalization V2
Complete description Octet string 46
Table 5.10 Parameter Description Elements
explains each description element.
Identifier ID
9
8
11
10
Bit
15
14
13
12
0–7
Description
Reserved.
Array.
Parameter value can be reset only.
Parameter has been changed from factory setting.
Reserved.
Additional text array available.
Parameter is read-only.
Standardization factor and variable attribute not relevant.
Data type.
Table 5.11 Extra Characteristics of a Parameter
Number of array elements
•
Contains the number of array elements, if the parameter is an array.
•
Contains the string length, if the parameter value is a string.
•
Contains a 0 if the parameter is neither.
Standardization factor
Conversion factor for scaling a given parameter value to standard SI units.
For example, if the given value is in mV, the standardization factor is 1000, which converts the given value to V.
The standardization factor is in float format.
Variable attribute
Consists of 2 bytes. The first byte contains the variable index, which defines the physical unit of the parameter (for example A, V).
The second byte is the conversion index, which is a scaling factor for the parameter. All parameters accessible by
PROFIBUS are organized and transmitted as real numbers.
28 Danfoss A/S © 08/2016 All rights reserved.
The conversion index defines a factor for conversion of the actual value to a standard physical unit. A conversion index of -1 means that the actual value must be divided by 10 to become a standard physical unit, for example V.
Name
Contains the parameter name, limited to 16 characters, for example language for parameter 0-01 Language . This text is available in the language selected in parameter 0-01 Language .
Lower limit
Contains the minimum value of the parameter. Format is
32 bit signed.
Upper limit
Contains the maximum value of the parameter. Format is
32 bit signed.
ID extension
Not supported.
PCD reference parameter
Process data may be scaled by a parameter, for example the maximum reference of 0x4000 (in %) depends on the setting of parameter X.
To enable the master to calculate the real value of the process data, it has to know the value of parameter X.
Therefore the process data must deliver a reference to parameter X.
Field PCD normalization
The field PCD normalization must express the value that shows the 100%. Thus, the normalization delivered back must be the set bit 15 and a value of 0xe (14, 2 14 =
0x4000), and the result must be 0x800e.
Complete description
Returns the complete parameter description with the fields
1–12 in order. Length = 46 byte.
5.2.18 Attribute Text (30 H)
For some frequency converter parameters, a descriptive text is available, which can be read using this attribute. A bit set in the identifier (ID) parameter description element indicates the availability of a text description for a parameter. The description element can be read out by the description attribute (20 H) subindex = 1. If bit 10 is set, a descriptive text exists for each value of the parameter.
As an example, parameter 0-01 Language has settings 0–5.
For each of these values, a specific text exists: 0 = English,
2 = Deutsch, and so on.
5.2.19 Format
Specifies the format type for each parameter (word, byte, and so on), see
.
MG06F102
Parameter Access Programming Guide
5.2.20 Supported Data Types
Value
2
10
33
7
9
5
6
3
4
35
44
54
Data type
Integer8
Integer16
Integer32
Unsigned8
Unsigned16
Unsigned32
Visible string
Octet string (byte string)
N2 (standardized value)
V2 (bit sequence)
Error
Time difference without date indication
Table 5.12 Supported Data Types
5.2.21 Value
The value field contains the parameter value of the request. When the response is negative, the field contains a corresponding fault code. If the values consist of an odd number of bytes, a 0-byte is appended to maintain the word structure of the telegrams.
For a positive partial response, the parameter value field contains the following attributes:
•
Format = Data type or byte, word, double word.
•
Number of values = Actual number of values.
•
Value = Parameter value.
For a negative partial response, the parameter value field contains the following:
•
Format = Error (44H).
•
Number of values = 1.
•
Value = Error value = Error number.
5.2.22 Fault Codes for Drive Profile V 3.0
When the parameter request is invalid, the frequency converter returns a corresponding fault code.
lists the full range of fault codes.
Fault code
Description
0x00 Unknown parameter.
0x01 Parameter is read-only.
0x02 Value out of range due to maximum/ minimum value.
More Info
0
Subindex
Subindex
0x03 Wrong subindex.
0x04 Parameter is no array.
Subindex
0
0x05 Wrong data type (wrong data length).
0
0x06 This parameter may not be set, only reset.
Subindex
Fault code
Description
0x07 Descriptive element is read-only.
0x09 No description available (only value).
0x0b Process control not possible.
0x0f No text array available (only value).
0x11 Not possible in current state.
0x14 Value out of range due to frequency converter state/configuration.
More Info
Subindex
0
0
0
0
Subindex
0x15 Reply too long (more than 240 bytes).
0x16 Wrong parameter address (unknown or unsupported value for attribute, element, parameter number, or subindex, or illegal combination).
0x17 Illegal format (for writing).
0x18 Value amount not consistent.
0x65 Wrong axis: Action not possible with this axis.
0x66 Unknown service request.
–
0x67 This service is not possible with multiparameter access.
0x68 Parameter value cannot be read from bus.
–
–
–
0
0
0
0
Table 5.13 Fault Codes for DP-V1 Parameter Requests
5.3 PCV Parameter Access
The PROFINET cyclic data exchange performs parameter access via the PCV channel. The PCV channel forms part of the PPOs described in
.
Use the PCV channel to read and write parameter values, and read status for descriptive attributes of each parameter.
5.3.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. Requests and responses are 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
), which implies that text strings are not
transferable. For further information, see
chapter 7 Application Examples
.
5 5
MG06F102 Danfoss A/S © 08/2016 All rights reserved.
29
Parameter Access PROFIBUS DP
5 5
5.3.2 PCA - Parameter Characteristics
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RC SMP PNU
Table 5.14 PCA - Parameter Characteristics
•
RC: Request/response characteristics (range 0–15).
•
SMP: Spontaneous message (not supported).
•
PNU: Parameter no. (range 1–1999).
5.3.3 Request/Response Handling
The RC portion of the PCA word defines:
•
The requests issued from the master to the slave.
•
Other portions of the PCV involved:
PVA: The PVA portion transmits wordsize parameter values in bytes 7 and 8, while long word size values require bytes 5–8 (32 bits).
IND: When the response/request contains array elements, the IND carries the array subindex. When parameter descriptions are involved, the IND holds the record subindex of the parameter description.
5.3.4 RC Content
Request
The content of the RC portion of the PCA word for a request is listed in
.
1
2
Request
0
5
6
3
4
7
8
9
10–15
Table 5.15 Request
Function
No request.
Request parameter value.
Change parameter value (word).
Change parameter value (long word).
Request description element.
Change description element.
Request parameter value (array).
Change parameter value (array word).
Change parameter value (array long word).
Request number of array elements.
Not used.
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
30 Danfoss A/S © 08/2016 All rights reserved.
8
9
6
7
3
4
5
1
2
Response Function
0 No response.
Transfer parameter value (word).
Transfer parameter value (long word).
Transfer description element.
Transfer parameter value (array word).
Transfer parameter value (array long word).
Transfer number of array elements.
Request rejected (including fault number, see
Not serviceable by PCV interface.
Not used.
10
11
12
13–15
Not used.
Not used.
Not used.
Not used.
Table 5.16 Response
15
16
17
18
19
130
131
11
12
13
14
7
8
9
10
5
6
3
4
1
2
Fault number
0
Interpretation
Illegal PNU.
Parameter value cannot be changed.
Upper or lower limit exceeded.
Subindex corrupted.
No array.
Data type false.
Cannot be set by user (reset only).
Description element cannot be changed.
IR required PPO write not available.
Description data not available.
Access group.
No parameter write access.
Key word missing.
Text in cyclic transmission not readable.
Name in cyclic transmission not readable.
Text array not available.
PPO write missing.
Request temporarily rejected.
Other fault.
Data in cyclic transmission not readable.
There is no bus access to the parameter called.
Data change is not possible because factory set-up is selected.
Table 5.17 Fault Numbers
5.3.5 Example
This example shows:
•
How to use PPO type 1 to change the ramp-up time to 10 s in parameter 3-41 Ramp 1 Ramp Up
Time .
•
How to command a start and speed reference of
50%.
MG06F102
Parameter Access Programming Guide
Frequency converter parameter settings:
•
Parameter 8-50 Coasting Select : [1] Bus .
Parameter 8-10 Control Word Profile :
[1] PROFIdrive profile .
5.3.5.1 PCV
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
When a parameter is changed, select value 2 or 3. In this example, 3 is selected because parameter 3-41 Ramp 1
Ramp Up Time covers a long word (32 bits).
Parameter 3-41 Ramp 1 Ramp Up Time = 155 hex: In this example, bytes 1 and 2 are set to 3155. See the values for bytes 1 and 2 in
IND (bytes 3–4)
Used when reading/changing parameters with subindex, for example parameter 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
PVA (bytes 5–8)
Change the data value of parameter 3-41 Ramp 1 Ramp Up
Time to 10.00 s. The value transmitted must be 1000, because the conversion index for parameter 3-41 Ramp 1
Ramp Up Time is 2. Therefore, 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 5.4 PROFIBUS DP Parameter and Data Type . See the values for bytes 5–8 in
5.3.5.2 PCD
Control word (CTW) according to PROFIdrive profile:
Control words consist of 16 bits. The meaning of each bit is explained in
chapter 4.4.1 Control Word According to
and
According to PROFIdrive Profile (STW)
. The following bit pattern sets all necessary start commands:
0000 0100 0111 1111 = 047F hex.
1)
0000 0100 0111 1110 = 047E hex.
1)
0000 0100 0111 1111 = 047F hex.
1) For restart after power-up:
•
Set bits 1 and 2 of the CTW to 1.
•
Toggle bit 0 0–1.
These values are for bytes 9 and 10 in
Quick stop: 0000 0100 0110 1111 = 046F hex.
Stop: 0000 0100 0011 1111 = 043F hex.
5.4 PROFIBUS DP Parameter and Data Type
5.4.1 Parameter Description
PROFIBUS DP has a number of description attributes. Read/ write on parameter description is performed in the PCV part using the RC commands 4 and 5, and the subindex of the wanted description element.
5.4.2 Size Attribute
Find the size index and the conversion index for each parameter from the parameter list in the respective operating instructions . See also size and conversion indices in
5 5
MG06F102 Danfoss A/S © 08/2016 All rights reserved.
31
Parameter Access PROFIBUS DP
5 5
Physical quantity
Size index
SI unit name SI unit symbol
Conversion index
Conversion factor
0 No dimension
Second s
Time
Energy
Power
Rotation
Torque
4
8
9
Millisecond
Minute
Hour
Day h d ms min
Watt hour
Kilowatt hour
Wh kWh
Megawatt hour MWh
Milliwatt
Watt
Kilowatt
Megawatt
11 Rotation per minute
16
Newton meter
Kilonewton meter
17 Degree celsius Temperature
Voltage
Current
Resistance
Ratio
Relative change
21
22
23
Millivolt
Volt
Kilovolt
Milliampere
Ampere
Kiloampere
Milliohm
Ohm
Kiloohm
24 Percent
27 Percent
Frequency 28
Hertz
Kilohertz
Megahertz
Gigahertz mW
W kW
MW
RPM
Nm kNm
ºC
Hz kHz
MHz
GHz mV
V kV mA
A kA m Ω
Ω k Ω
%
%
Table 5.18 Size Index and Conversion Index
0
3
0
0
3
6
9
0
0
-3
0
3
-3
0
3
-3
0
3
3
6
-3
0
67
70
74
77
0
-1
-2
-3
0
3
6
1
0.1
0.01
0.001
60
3600
86400
1
1000
10 6
0.001
1
1000
10 6
1
1
1000
1
1
1
0.001
1
1000
0.001
1
1000
0.001
1
1000
1
1000
10
10
6
9
5.4.3 Object and Data Types Supported
Data type
3
9
10
33
35
54
6
7
4
5
Short name
I2
O2
O4
–
–
I4
–
N2
V2
–
Table 5.19 Supported Data Types
Description
Integer 16
Integer 32
Unsigned 8
Unsigned 16
Unsigned 32
Visible string
Byte string
Standardized value (16 bit)
Bit sequence
Time difference without date indication
5.4.4 Standardized Value
The frequency reference value transmits to the frequency converter in the form of a 16-bit word. The value transmits in integers (0–32767). The value 16384 (4000 hex) corresponds to 100%. Negative numbers are formed with the aid of the 2s complement.
0% = 0 (0h), 100% = 2 14 (4000 h)
Data type
Range
Resolution
Length
N2
-200% to +200%
2 -14 = 0.0061%
2 bytes
Table 5.20 N2 Data Type
Msb is the first bit after the sign bit in the first byte.
4
3
2
1
6
5
Bit
8
7
•
Sign bit = 0 = positive number.
•
Sign bit = 1 = negative number.
Byte 1
SIGN
2 14
2 13
2 12
2 11
2 10
2 9
2 8
Byte 2
2 7
2 6
2 5
2 4
2 3
2 2
2 1
2 0
Table 5.21 Notation is 2s Complement
32 Danfoss A/S © 08/2016 All rights reserved.
MG06F102
Parameter Access Programming Guide
Bit sequence
16 boolean values for control and presentation of user functions.
3
2
1
5
4
7
6
Bit
8
Byte 1
15
14
13
12
11
10
9
8
Table 5.22 Notation is Binary
2
1
4
3
0
6
5
Byte 2
7
5 5
MG06F102 Danfoss A/S © 08/2016 All rights reserved.
33
Parameters PROFIBUS DP
6 Parameters
6 6
6.1 8-** PROFIBUS Parameters
This chapter describes the general parameters relating to
PROFIBUS and the communication settings of the frequency converter.
8-01 Control Site
Option: Function:
The setting in this parameter overrides the settings in
to parameter 8-58 Profidrive OFF3
Select .
[0] * Digital and ctrl.word
[1] Digital only
[2] Controlword only
Control by using both digital input and control word.
Control by using digital inputs only.
Control by using control word only.
8-02 Control Source
Option: Function:
NOTICE
This parameter cannot be adjusted while the motor is running.
Select the source of the control word: 1 of 2 serial interfaces or 4 installed options. During initial power-up, the frequency converter automatically sets this parameter to [3] Option A if it detects a valid fieldbus option installed in slot A. When the option is removed, the frequency converter detects a configuration change, sets
to default setting [1] FC RS485 , and trips. If an option is installed after initial power-up, the setting of
does not change, but the frequency converter trips and shows: Alarm 67, Option Changed .
When retrofitting a bus option into a frequency converter that did not have a bus option installed earlier, change the control to bus-based. This change is required for safety reasons to avoid an unintended change.
[0] None
[1] FC Port
[3] Option A
8-03 Control Timeout Time
Range: Function:
1 s * [0.1 -
6000 s]
Enter the maximum time expected to pass between the reception of 2 consecutive telegrams. If this time is exceeded, it indicates that the serial communication has stopped. The function that is selected in
8-03 Control Timeout Time
Range: Function: parameter 8-04 Control Timeout Function is then carried out.
8-04 Control Timeout Function
Select the timeout function. The timeout function activates when the control word fails to be updated within the time period specified in parameter 8-03 Control Word Timeout Time .
Option:
[0] * Off
Function:
Resume control via fieldbus (fieldbus or standard), using the most recent control word.
[1] Freeze output Freeze output frequency until communication resumes.
[2] Stop Stop with auto restart when communication resumes.
[3] Jogging Run the motor at jog frequency until communication resumes.
[4] Max. speed Run the motor at maximum frequency until communication resumes.
[5] Stop and trip Stop the motor and trip, then reset the frequency converter to restart:
•
Via the fieldbus.
•
Via [Reset].
•
Via a digital input.
8-07 Diagnosis Trigger
Option: Function:
[0] * Disable Send no extended diagnosis data (EDD).
[1] Trigger on alarms
[2] Trigger alarm/warn.
Send EDD upon alarms.
Send EDD upon alarms or warnings in parameter 16-90 Alarm Word , parameter 9-53 Profibus Warning Word , or parameter 16-92 Warning Word .
8-10 Control Word Profile
Select the interpretation of the control and status words corresponding to the installed fieldbus. Only the selections valid for the fieldbus installed are visible in the LCP display.
For guidelines in selection of [0] Frequency converter profile and
[1] PROFIdrive profile , refer to the design guide for the frequency converter.
Function: Option:
[0] *
[1]
FC profile
PROFIdrive profile
34 Danfoss A/S © 08/2016 All rights reserved.
MG06F102
Parameters Programming Guide
[0]
[1] *
[2]
[4]
[5]
[6]
8-14 Configurable Control Word CTW
The control word has 16 bits (0–15). Bits 10 and 12–15 are configurable.
Option: Function:
None
Profile default
CTW Valid, active low
PID error inverse
PID reset I part
PID enable
8-19 Product Code
Range:
Size related *
[0 -
2147483647]
Function:
Select 0 to read out the actual fieldbus product code according to the mounted fieldbus option.
Select 1 to read out the actual vendor ID.
8-50 Coasting Select
Option: Function:
Select control of the coasting function via the terminals (digital input) and/or via the bus.
[0] Digital input
[1] Bus
Activate coasting command via a digital input.
Activate coasting command via the serial communication port or fieldbus option.
[2] Logic AND Activate coasting command via the fieldbus/ serial communication port and 1 extra digital input.
[3] * Logic OR Activate coasting command via the fieldbus/ serial communication port or via 1 of the digital inputs.
8-51 Quick Stop Select
Select the trigger for the quick stop function.
Option:
[0]
[1]
[2]
[3] *
Digital input
Bus
Logic AND
Logic OR
Function:
8-52 DC Brake Select
Option: Function:
Select control of the DC brake via the terminals
(digital input) and/or via the fieldbus.
NOTICE
When parameter 1-10 Motor Construction is set to [1] PM non-salient SPM , only selection [0] Digital input is available.
[0] Digital input
Activate DC brake command via a digital input.
8-52 DC Brake Select
Option: Function:
[1] Bus Activate DC brake command via the serial communication port or fieldbus option.
[2] Logic
AND
Activate DC brake command via the fieldbus/ serial communication port and additionally via 1 of the digital inputs.
[3] * Logic OR Activate DC brake command via the fieldbus/ serial communication port or via 1 of the digital inputs.
8-53 Start Select
Option: Function:
Select the trigger for the start function.
[0] Digital input
[1] Bus
A digital input triggers the start function.
A serial communication port or the fieldbus triggers the start function.
[2] Logic AND The fieldbus/serial communication port and a digital input trigger the start function.
[3] * Logic OR The fieldbus/serial communication port or a digital input triggers the start function.
8-54 Reversing Select
Option: Function:
Select the trigger for the reversing function.
[0] Digital input
[1] Bus
A digital input triggers the reversing function.
A serial communication port or the fieldbus triggers the reversing function.
[2] Logic AND The fieldbus/serial communication port and a digital input trigger the reversing function.
[3] * Logic OR The fieldbus/serial communication port or a digital input trigger the reversing function.
8-55 Set-up Select
Option: Function:
Select the trigger for the set-up selection.
[0] Digital input
[1] Bus
A digital input triggers the set-up selection.
A serial communication port or the fieldbus triggers the set-up selection.
[2] Logic AND The fieldbus/serial communication port and a digital input trigger the set-up selection.
[3] * Logic OR The fieldbus/serial communication port or a digital input triggers the set-up selection.
6 6
MG06F102 Danfoss A/S © 08/2016 All rights reserved.
35
Parameters PROFIBUS DP
6 6
8-56 Preset Reference Select
Option: Function:
Select the trigger for the preset reference selection.
[0]
[1]
Digital input
Bus
A digital input triggers the preset reference selection.
A serial communication port or the fieldbus triggers the preset reference selection.
[2] Logic AND The fieldbus/serial communication port and a digital input trigger the preset reference selection.
[3] * Logic OR The fieldbus/serial communication port or a digital input triggers the preset reference selection.
8-57 Profidrive OFF2 Select
Select control of the frequency converter OFF2 selection via the terminals (digital input) and/or via the fieldbus. This parameter is active only when parameter 8-01 Control Site is set to [0] Digital and ctrl. word and
parameter 8-10 Control Word Profile
is set to [1]
Profidrive profile .
Function: Option:
[0]
[1]
[2]
[3] *
Digital input
Bus
Logic AND
Logic OR
8-58 Profidrive OFF3 Select
Select control of the frequency converter OFF3 selection via the terminals (digital input) and/or via the fieldbus. This parameter is active only when parameter 8-01 Control Site is set to [0] Digital and ctrl. word, and
parameter 8-10 Control Word Profile
is set to [1]
Profidrive profile .
Function: Option:
[0]
[1]
[2]
[3] *
Digital input
Bus
Logic AND
Logic OR
8-90 Bus Jog 1 Speed
Range:
100 RPM * [ 0 - 1500
RPM]
Function:
Enter the jog speed. This is a fixed jog speed activated via the serial port or fieldbus option.
8-91 Bus Jog 2 Speed
Range:
200 RPM * [ 0 - 1500
RPM]
Function:
Enter the jog speed. This value is a fixed jog speed activated via the serial port or fieldbus option.
36 Danfoss A/S © 08/2016 All rights reserved.
MG06F102
Parameters Programming Guide
6.2 9-** and 16-** PROFIBUS Parameters
9-07 Actual Value
Range: Function:
0 * [0 - 65535] This parameter delivers the MAV for a Master
Class 2. This parameter is valid if the control priority is set to Master Class 2.
9-15 PCD Write Configuration
Array [10]
Option: Function:
Select the parameters to be assigned to PCD 3–10 of the telegrams. The number of available PCDs depends on the telegram type. The values in PCD 3–10 are then written to the selected parameters as data values.
Alternatively, specify a standard PROFIBUS telegram in parameter 9-22 Telegram Selection .
9-16 PCD Read Configuration
Array [10]
Option: Function:
Select the parameters to be assigned to PCD 3–10 of the telegrams. The number of available PCDs depends on the telegram type. PCDs 3–10 contain the actual data values of the selected parameters. For standard
PROFIBUS telegram, see parameter 9-22 Telegram
Selection .
9-18 Node Address
Range: Function:
126 * [ 0 -
126 ]
Enter the address in this parameter or in the hardware switch. In order to adjust the station address in this parameter, the hardware switch must be set to 126 or 127 . Otherwise, this parameter shows the actual setting of the switch.
9-19 Drive Unit System Number
Range: Function:
1037 * [0 - 65535 ] Manufacturer specific system ID.
9-22 Telegram Selection
Option: Function:
This parameter shows the selected standard PROFIBUS telegram that the PROFINET IO controller has sent to the frequency converter. At power-up, or if a non-supported telegram is sent from the IO controller, this parameter shows
None in the display.
[1] Standard telegram
1
[100] * None
[101] PPO 1
MG06F102
9-22 Telegram Selection
Option:
[102] PPO 2
[103] PPO 3
[104] PPO 4
[105] PPO 5
[106] PPO 6
[107] PPO 7
[108] PPO 8
Function:
9-23 Parameters for Signals
Array [1000]
Read only
Option:
[0] *
[302] Minimum Reference
[303] Maximum Reference
[312] Catch up/slow Down Value
[341] Ramp 1 Ramp Up Time
[342] Ramp 1 Ramp Down Time
[351] Ramp 2 Ramp Up Time
[352] Ramp 2 Ramp Down Time
[380] Jog Ramp Time
[381] Quick Stop Ramp Time
[412] Motor Speed Low Limit [Hz]
[414] Motor Speed High Limit [Hz]
[416] Torque Limit Motor Mode
[417] Torque Limit Generator Mode
[553] Term. 29 High Ref./Feedb. Value
[558] Term. 33 High Ref./Feedb. Value
[590] Digital & Relay Bus Control
[593] Pulse Out 27 Bus Control
[615] Terminal 53 High Ref./Feedb. Value
[625] Terminal 54 High Ref./Feedb. Value
[696] Terminal 42 Output Bus Control
[748] PCD Feed Forward
[890] Bus Jog 1 Speed
[891] Bus Jog 2 Speed
[1500] Operating hours
[1501] Running Hours
[1502] kWh Counter
[1600] Control Word
[1601] Reference [Unit]
[1602] Reference [%]
[1603] Status Word
[1605] Main Actual Value [%]
Function:
This parameter contains a list of signals available for selection in parameter 9-15 PCD
Write Configuration and parameter 9-16 PCD
Read Configuration .
Danfoss A/S © 08/2016 All rights reserved.
37
6 6
Parameters
6 6
9-23 Parameters for Signals
Array [1000]
Read only
Option:
[1609] Custom Readout
[1610] Power [kW]
[1611] Power [hp]
[1612] Motor Voltage
[1613] Frequency
[1614] Motor current
[1615] Frequency [%]
[1616] Torque [Nm]
[1618] Motor Thermal
[1620] Motor Angle
[1622] Torque [%]
[1630] DC Link Voltage
[1633] Brake Energy /2 min
[1634] Heatsink Temp.
[1635] Inverter Thermal
[1638] SL Controller State
[1639] Control Card Temp.
[1650] External Reference
[1652] Feedback[Unit]
[1653] Digi Pot Reference
[1657] Feedback [RPM]
[1660] Digital Input
[1661] Terminal 53 Setting
[1662] Analog input 53
[1663] Terminal 54 Setting
[1664] Analog input 54
[1665] Analog output 42 [mA]
[1667] Pulse input 29[Hz]
[1668] Pulse Input 33 [Hz]
[1669] Pulse Output 27 [Hz]
[1671] Relay output
[1672] Counter A
[1673] Counter B
[1674] Prec. Stop Counter
[1680] Fieldbus CTW 1
[1682] Fieldbus REF 1
[1684] Comm. Option STW
[1685] FC Port CTW 1
[1690] Alarm Word
[1691] Alarm Word 2
[1692] Warning Word
[1693] Warning Word 2
[1694] Ext. Status Word
[1695] Ext. Status Word 2
[1697] Alarm Word 3
PROFIBUS DP
Function:
9-27 Parameter Edit
Option: Function:
Parameters can be edited via PROFIBUS, the standard RS485 interface, or the LCP.
[0] Disabled Disable editing via PROFIBUS.
[1] * Enabled Enable editing via PROFIBUS.
9-28 Process Control
Option: Function:
Process control (setting of control word, speed reference, and process data) is possible via either
PROFINET or standard fieldbus, but not both simultaneously. Local control is always possible via the LCP. Control via process control is possible via either terminals or fieldbus depending on the settings in
parameter 8-50 Coasting Select
to parameter 8-58 Profidrive OFF3 Select .
*
[0] Disable Disable process control via PROFINET and enable process control via standard fieldbus or PROFINET
IO supervisor.
[1] Enable cyclic master
Enable process control via IO controller and disable process control via standard fieldbus or
PROFINET IO supervisor.
9-44 Fault Message Counter
Range: Function:
0 * [0 -
65535 ]
This parameter shows the number of error events stored in parameter 9-45 Fault Code and parameter 9-47 Fault Number . The maximum buffer capacity is eight error events. The buffer and counter are set to 0 after reset or power-up.
9-52 Fault Situation Counter
Range: Function:
0 * [0 - 1000 ] This parameter shows the number of error events that have occurred since last reset or power-up.
9-53 Profibus Warning Word
Read only
Range: Function:
0 * [0 - 65535 ] This parameter shows PROFINET communication warnings.
38 Danfoss A/S © 08/2016 All rights reserved.
MG06F102
Parameters Programming Guide
10
11
12
13
14
15
8
9
6
7
4
5
2
3
Bit Condition when bit is active
0 Connection with IO controller is not OK.
1
Reserved for status of connection with second IO controller.
Not used.
Clear data command received.
Actual value is not updated.
No link on both ports.
Not used.
Initializing of PROFINET is not OK.
Frequency converter is tripped.
Internal CAN error.
Wrong configuration data from IO controller.
Not used.
Internal error occurred.
Not configured.
Timeout active.
Warning 34 active.
Table 6.1 PROFINET Communication Warnings
9-63 Actual Baud Rate
Option: Function:
This parameter shows the actual
PROFIBUS baud rate. The PROFIBUS
Master automatically sets the baud rate.
[0]
[1]
[2]
[3]
9,6 kbit/s
19,2 kbit/s
93,75 kbit/s
187,5 kbit/s
[4]
[6]
[7]
[8]
500 kbit/s
1500 kbit/s
3000 kbit/s
6000 kbit/s
[9]
[10]
12000 kbit/s
31,25 kbit/s
[11] 45,45 kbit/s
[255] * No baudrate found
9-65 Profile Number
Range: Function:
0 * [0 - 0 ] This parameter contains the profile identification.
Byte 1 contains the profile number and byte 2 the version number of the profile.
9-70 Programming Set-up
This parameter is unique for LCP and fieldbus. See parameter 0-11 Programming Set-up .
Option: Function:
Select the set-up to edit.
[0] Factory setup Use default data. This option can be used as a data source to return the other set-ups to a known state.
[1] Set-up 1 Edit set-up 1.
MG06F102 Danfoss A/S © 08/2016 All rights reserved.
9-70 Programming Set-up
This parameter is unique for LCP and fieldbus. See parameter 0-11 Programming Set-up .
Option: Function:
[2] Set-up 2 Edit set-up 2.
[9] * Active Set-up Follow the active set-up selected in parameter 0-10 Active Set-up .
9-71 Profibus Save Data Values
Option: Function:
Parameter values changed via PROFINET are not automatically stored in the non-volatile memory. Use this parameter to activate a function that stores parameter values in the
EEPROM non-volatile memory, so changed parameter values are retained at power-down.
[0] * Off
[1] Store all setups
[2] Store all setups
Deactivate the non-volatile storage function.
Store all parameter values for all set-ups in the non-volatile memory. When all parameter values have been stored, the selection returns to [0]
Off .
Store all parameter values for all set-ups in the non-volatile memory. When all parameter values have been stored, the selection returns to [0]
Off .
9-72 ProfibusDriveReset
Option: Function:
[0] * No action
[1] Power-on reset
Reset frequency converter upon power-up, as for power cycle.
[3] Comm option reset
Reset the PROFINET option only, the
PROFINET option goes through a power-up sequence.
When reset, the frequency converter disappears from the fieldbus, which may cause a communication error from the master.
9-80 Defined Parameters (1)
Array [116]
No LCP access
Read only
Range: Function:
0 * [0 - 9999 ] This parameter shows a list of all the defined frequency converter parameters available for
PROFINET.
6 6
39
Parameters PROFIBUS DP
6 6
9-81 Defined Parameters (2)
Array [116]
No LCP access
Read only
Range: Function:
0 * [0 - 9999 ] This parameter shows a list of all the defined frequency converter parameters available for
PROFINET.
9-82 Defined Parameters (3)
Array [116]
No LCP access
Read only
Range: Function:
0 * [0 - 9999 ] This parameter shows a list of all the defined frequency converter parameters available for
PROFINET.
9-83 Defined Parameters (4)
Array [116]
No LCP access
Read only
Range: Function:
0 * [0 - 9999 ] This parameter shows a list of all the defined frequency converter parameters available for
PROFINET.
9-84 Defined Parameters (5)
Array [115]
No LCP access
Read only
Range: Function:
0 * [0 - 9999] This parameter shows a list of all the defined frequency converter parameters available for
PROFINET.
9-90 Changed Parameters (1)
Array [116]
No LCP access
Read only
Range: Function:
0 * [0 - 9999 ] This parameter shows a list of all the frequency converter parameters deviating from default setting.
9-91 Changed Parameters (2)
Array [116]
No LCP access
Read only
Range: Function:
0 * [0 - 9999 ] This parameter shows a list of all the frequency converter parameters deviating from default setting.
9-92 Changed Parameters (3)
Array [116]
No LCP access
Read only
Range: Function:
0 * [0 - 9999 ] This parameter shows a list of all the frequency converter parameters deviating from default setting.
9-93 Changed Parameters (4)
Array [116]
No LCP access
Read only
Range: Function:
0 * [0 - 9999] This parameter shows a list of all the frequency converter parameters deviating from default setting.
9-94 Changed Parameters (5)
Array [116]
No LCP Address
Read only
Range: Function:
0 * [0 - 9999 ] This parameter shows a list of all the frequency converter parameters deviating from default setting.
16-80 Fieldbus CTW 1
Range: Function:
0 * [0 -
65535 ]
Show the two-byte Control word (CTW) received from the Bus-Master. Interpretation of the CTW depends on the fieldbus option installed and the
CTW profile selected in parameter 8-10 Control
Word Profile .
For more information, refer to the relevant fieldbus manual.
16-82 Fieldbus REF 1
Range: Function:
0 * [-32768 -
32767 ]
Show the two-byte word sent with the control word form the Bus-Master to set the reference value.
For more information, refer to the relevant fieldbus manual.
16-84 Comm. Option STW
Range: Function:
0 * [0 - 65535 ] Show the status word of the extended fieldbus communication option.
For more information, refer to the relevant fieldbus manual.
40 Danfoss A/S © 08/2016 All rights reserved.
MG06F102
Parameters Programming Guide
16-90 Alarm Word
Range: Function:
0 * [0 - 4294967295 ] Show the alarm word sent via the serial communication port in hex code.
16-91 Alarm Word 2
Range: Function:
0 * [0 - 4294967295] View the alarm word sent via the serial communication port in hex code.
16-92 Warning Word
Range: Function:
0 * [0 - 4294967295 ] Show the warning word sent via the serial communication port in hex code.
16-93 Warning Word 2
Range: Function:
0 * [0 - 4294967295] View the warning word sent via the serial communication port in hex code.
16-94 Ext. Status Word
Range: Function:
0 * [0 - 4294967295] Returns the extended warning word sent via the serial communication port in hex code.
6 6
MG06F102 Danfoss A/S © 08/2016 All rights reserved.
41
Parameters PROFIBUS DP
6 6
6.3 PROFIBUS-specific Parameter List
6.3.1 Introduction
Changes during operation
True means that the parameter can be changed while the frequency converter is in operation. False means that the frequency converter must be stopped before a change can be made.
2 set-up
All set-ups: The parameter can be set individually in each of the 2 set-ups, for example, 1 single parameter can have
2 different data values.
1 set-up: The data value is same in all set-ups.
6.3.2 PROFIBUS-specific Parameter List
Parameter number
Parameter description
8-** Comm. and Options
8-01 Control Site
8-02 Control Source
Default value
8-03 Control Timeout Time
8-04 Control Timeout Function
8-07
8-10
Diagnosis Trigger
Control Word Profile
[0] Dig. & ctrl. word
ExpressionLimit
1 s
[0] Off
[0] Disable
[0] FC profile
8-14 Configurable Control Word CTW [1] Profile default
8-19 Product Code –
8-50 Coasting Select
8-51 Quick Stop Select
8-52 DC Brake Select
8-53 Start Select
8-54 Reversing Select
8-55 Set-up Select
[3] Logic OR
[3] Logic OR
[3] Logic OR
[3] Logic OR
[3] Logic OR
[3] Logic OR
8-56
8-57
8-58
8-90
Preset Reference Select
Profidrive OFF2 Select
Profidrive OFF3 Select
Bus Jog 1 Speed
8-91 Bus Jog 2 Speed
9-** PROFIBUS
9-07 Actual Value
[3] Logic OR
[3] Logic OR
[3] Logic OR
100 RPM
200 RPM
0 N/A
9-15 PCD Write Configuration
9-16 PCD Write Configuration
9-18 Node Address
9-22 Telegram Selection
9-23 Parameters for Signals
9-27 Parameter Edit
9-28 Process Control
9-44 Fault Message Counter
9-52 Fault Situation Counter
9-53 Profibus Warning Word
9-63 Actual Baud Rate
–
–
126 N/A
[100] None
[0]
[1] Enabled
[1] Enable cyclic master
0 N/A
0 N/A
0 N/A
[255] No baudrate found
2 set-up
All set-ups
1 set-up
1 set-up
1 set-up
1 set-up
All set-ups
1 set-up
1 set-up
All set-ups
All set-ups
All set-ups
All set-ups
All set-ups
All set-ups
1 set-up
1 set-up
1 set-up
All set-ups
All set-ups
1 set-up
All set-ups
All set-ups
All set-ups
All set-ups
All set-ups
All set-ups
All set-ups
All set-ups
All set-ups
All set-ups
All set-ups
9
33
35
54
5
6
7
3
4
Data type
2
Description
Integer 8
Integer 16
Integer 32
Unsigned 8
Unsigned 16
Unsigned 32
Visible string
Normalized value 2 bytes
Bit sequence of 16 boolean variables
Time difference w/o date
Table 6.2 Data Type
Change during operation
Conversion index
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
0
0
–
0
0
–
–
–
–
–
–
0
–
–
–
–
–
–
–
0
–
–
-1
–
–
–
–
0
–
–
0
Type
Uint16
Uint16
Uint16
Uint8
Uint8
Uint16
Uint16
Uint16
Uint16
Uint16
V2
Uint8
Uint8
Uint8
Uint8
Uint8
Uint8
Uint8
Uint8
Uint8
Uint16
Uint8
Uint8
Uint8
Uint8
Uint32
Uint8
Uint8
Uint8
Uint16
Uint16
Type
Int8
Int16
Int32
Uint8
Uint16
Uint32
VisStr
N2
V2
TimD
42 Danfoss A/S © 08/2016 All rights reserved.
MG06F102
Parameters Programming Guide
Parameter number
Parameter description
9-65 Profile Number
9-70 Edit Set-up
9-71 Profibus Save Data Values
9-72 ProfibusDriveReset
9-80 Defined Parameters (1)
9-81 Defined Parameters (2)
9-82 Defined Parameters (3)
9-83 Defined Parameters (4)
9-84 Defined Parameters (5)
9-90 Changed Parameters (1)
9-91 Changed Parameters (2)
9-92 Changed Parameters (3)
9-93 Changed Parameters (4)
9-94 Changed Parameters (5)
16-** Data Readouts
16-80 Fieldbus CTW 1
16-82 Fieldbus REF 1
16-84 Comm. Option STW
16-90 Alarm Word
16-91 Alarm Word 2
16-92 Warning Word
16-93 Warning Word 2
16-94 Ext. Status Word
Table 6.3 Parameter List
6.3.3 Conversion
0 N/A
0 N/A
0 N/A
0 N/A
0 N/A
0 N/A
0 N/A
0 N/A
Default value
0 N/A
0 N/A
0 N/A
0 N/A
0 N/A
0 N/A
0 N/A
0 N/A
0 N/A
[9] Active set-up
[0] Off
[0] No action
0 N/A
0 Nfr/A
The various attributes of each parameter are shown in factory setting. Parameter values are transferred as whole numbers only. Conversion factors are therefore used to transfer decimals.
A conversion factor of 0.1 means that the value transferred is multiplied by 0.1. The value 100 is therefore read as 10.0.
Examples:
0 s ⇒ conversion index 0
0.00 s ⇒ conversion index -2
0 ms ⇒ conversion index -3
0.00 ms ⇒ conversion index -5
2 set-up
All set-ups
1 set-up
All set-ups
1 set-up
All set-ups
All set-ups
All set-ups
All set-ups
All set-ups
All set-ups
All set-ups
All set-ups
All set-ups
All set-ups
1 set-up
1 set-up
1 set-up
1 set-up
1 set-up
1 set-up
1 set-up
1 set-up
Change during operation
Conversion index
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
0
0
0
0
0
0
0
0
–
–
0
–
0
0
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
0
0
0
0
0
0
0
0
Type
Oct. string 2
Uint8
Uint8
Uint8
Uint16
Uint16
Uint16
Uint16
Uint16
Uint16
Uint16
Uint16
Uint16
Uint16
Uint16
Uint16
Uint16
Uint32
Uint32
Uint32
Uint32
Uint32
-2
-3
-4
-5
-6
2
1
0
-1
4
3
6
5
70
67
Conversion index
100
75
74
Table 6.4 Conversion Table
100
10
1
0.1
0.01
0.001
0.0001
0.00001
0.000001
Conversion factor
1
3600000
3600
60
1/60
1000000
100000
10000
1000
6 6
MG06F102 Danfoss A/S © 08/2016 All rights reserved.
43
Application Examples PROFIBUS DP
7 Application Examples
7 7
7.1 Example 1: Process Data with PPO Type 6
This example shows how to work with PPO type 6, which consists of control word/status word and reference/main actual value. The PPO also has 2 extra words, which can be programmed to monitor process signals.
Bit number
Type 6
PCV PCD
PCA IND PVA
1
CTW
2
MRV
3
PCD
4
PCD
5
PCD
6
PCD
7
PCD
8
PCD
9
PCD
10
PCD
STW MAV
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
Table 7.1 Example: Process Data with PPO Type 6
The application requires monitoring of the motor torque and digital input, so PCD 3 is set up to read the current motor torque. PCD 4 is set up to monitor the state of an external sensor via the process signal digital input. The sensor is connected to digital input 18.
Reversing is allowed only when the reversing bit 15 in the control word and the digital input 19 are set to high.
For safety reasons, the frequency converter stops the motor if:
•
The PROFIBUS cable is broken.
•
The master has a system failure.
•
The PLC is in stop mode.
Relay 1
Terminal 01-02
01
230 VAC,
3 A
02 N
Illustration 7.1 Wiring Diagram
44 Danfoss A/S © 08/2016 All rights reserved.
MG06F102
Application Examples Programming Guide
Program the frequency converter as in
Parameter
Parameter 4-10 Motor Speed Direction
Parameter 5-10 Terminal 18 Digital Input
Parameter 5-11 Terminal 19 Digital Input
Parameter 5-40 Function Relay
Parameter 8-03 Control Word Timeout Time
Parameter 8-04 Control Word Timeout Function
Parameter 8-10 Control Word Profile
Parameter 8-50 Coasting Select
Parameter 8-51 Quick Stop Select
Parameter 8-52 DC Brake Select
Parameter 8-53 Start Select
Parameter 8-54 Reversing Select
Parameter 8-55 Set-up Select
Parameter 8-56 Preset Reference Select
Parameter 9-16 PCD Read Configuration
Setting
[2] Both directions
[0] No operation
[10] Reversing
[36/37] Control word bit 11/12
1 s
[2] Stop
[0] FC Profile
[1] Bus
[1] Bus
[1] Bus
[1] Bus
[2] Logic AND
[1] Bus
[1] Bus
[2] Subindex parameter 16-16 Torque [Nm]
[3] Subindex parameter 16-60 Digital Input
Set the address.
Parameter 9-18 Node Address
Table 7.2 Parameter Settings
7.2 Example 2: Control Word Telegram Using PPO Type
This example shows how the control word telegram relates to the PLC and the frequency converter, using FC control profile.
The PLC sends the control word telegram to the frequency converter. In the example, PPO Type 3 demonstrates the full range of modules. All the values shown are arbitrary and are provided for demonstration purposes only.
indicates the bits contained within the control word, and how they are presented as process data in PPO type 3 for this example.
PQW
Bit number
256
15
0
PCA
14
0
258
13
0
0
IND master slave
12 11
0
PCV
260
0
10
1
PVA
4
262
9
0
Table 7.3 Example: Control Word Telegram Using PPO Type
8
0
04
264
CTW
7
1
CTW
7C
6
0 1
7
1
20
266
2
MRV
00
MRV
5 4
1
3
268
PCD
3
PCD
2
1
4
PCD
270
PCD
272
5
1 0
1
C
0 0
6
PCD
274
7 7
MG06F102 Danfoss A/S © 08/2016 All rights reserved.
45
Application Examples PROFIBUS DP
7 7
indicates the bit functions and corresponding bit values which are active for this example.
Bit
00
05
06
07
08
01
02
03
04
09
10
11
12
13
14
15
Function active
Function inactive
Bit value=0
Reference value
Reference value
DC brake
Coasting
Quick stop
Freeze output
Ramp stop
No function
No function
Ramp 1
Data not valid
No function
No function
Parameter set-up
Parameter set-up
No function
Table 7.4 Active Bit Functions for Control Word Telegram Using PPO Type
Bit value=1
External selection lsb
External selection msb
Ramp
Enable
Ramp
Ramp enable
Start
Reset
Jog
Ramp 2
Valid
Relay 01 active
Relay 02 active
Selection lsb
Selection msb
Reversing
Bit value
0
0
0
0
0
0
0
1
0
0
1
1
1
1
0
1
C
7
4
0
7.3 Example 3: Status Word Telegram Using PPO Type
This example shows how the control word telegram relates to the PLC and the frequency converter, using FC control profile.
The PLC sends the control word telegram to the frequency converter. In the example, PPO type 3 demonstrates the full range of modules. All the values shown are arbitrary and are provided for demonstration purposes only.
indicates the bits contained within the status word, and how they are presented as process data in PPO type 3 for this example.
PIW
Bit number
256
15
0
PCA
14
0
258
13
0
0
IND
260 master slave
12
0
PCV
11
0
10
1
PVA
4
262
9
0
Table 7.5 Example: Status Word Telegram Using PPO Type
8
0
0F
264
STW
1
CTW
07
7 6
0 1
7
1
20
266
MAV
2
MRV
00
5 4
1
268
PCD
3
PCD
3 2
1
4
PCD
270
1 0
5
PCD
272
6
PCD
274
1
C
0 0
indicates the bit functions and the corresponding bit values which are active for this example.
46 Danfoss A/S © 08/2016 All rights reserved.
MG06F102
Application Examples Programming Guide
03
04
05
Bit
00
01
02
Bit value=0
Control not ready
Drive not ready
Coasting
No error
No error
Reserved
10
11
12
13
06
07
08
09
14
15
Function active
Function inactive
No error
No warning
Speed reference
Local operation
Outside frequency range
No operation
Drive OK
Voltage OK
Torque OK
Thermal OK
Table 7.6 Active Bit Functions for Status Word Telegram Using PPO Type
Bit value=1
Control ready
Drive ready
Enable
Trip
Error (no trip)
–
Triplock
Warning
Speed = reference
Bus control
Within frequency range
In operation
Stopped, auto-start
Voltage exceeded
Torque exceeded
Limit exceeded
7.4 Example 4: PLC Programming
In this example, PPO type 6 is placed in the input/output address, see
and
.
0
0
1
1
0
0
1
1
0
0
Bit value
1
1
1
0
0
0
7
0
F
0
7 7
Illustration 7.2 PPO Type 6 PCD
Input address
Set-up
256–257 258–259 260–261 262–263
Status word MAV Motor torque
Digital input
Table 7.7 Input/Output Address Set-up
This network sends a start command (047C hex) and a reference (2000 hex) of 50% to the frequency converter.
Output address
Set-up
256–257 258–259
Control word
Reference
260–261 262–263
Not used Not used
MG06F102
Illustration 7.3 Network Sends a Start Command and a
Reference of 50% to the Frequency Converter
Danfoss A/S © 08/2016 All rights reserved.
47
Application Examples PROFIBUS DP
This network reads the motor torque from the frequency converter. A new reference is sent to the frequency converter because the motor torque (86.0%) is higher than the compared value.
Illustration 7.4 Network Reads the Motor Torque from the
Frequency Converter
7 7
This network reads the status on the digital inputs from the frequency converter. If digital input 18 is On, it stops the frequency converter.
Illustration 7.5 Network Reads the Status on the Digital Inputs from the Frequency Converter
This network reverses the motor when digital input 19 is
ON, because parameter 8-54 Reversing Select is programmed to Logic AND.
Illustration 7.6 Network Reverses the Motor When Digital
Input 19 is ON
This network activates relay 01.
16#0000087c
W#16#087c
130BF060.10
16#0000087c
Illustration 7.7 Network Activates Relay 01
48 Danfoss A/S © 08/2016 All rights reserved.
MG06F102
Troubleshooting Programming Guide
8 Troubleshooting
8.1 Diagnosis
PROFIBUS DP provides a flexible way of performing diagnosis of slave units, based on diagnosis messages.
During normal cyclic data exchange:
1.
The slave sets a diagnosis bit, which requests the master to send a diagnosis message during the next scan cycle instead of the normal data exchange.
2.
The slave answers the master with a diagnosis message consisting of standard diagnosis information, 6 bytes, and possibly extended, vendor-specific, diagnosis information. The standard diagnosis messages cover a limited range of general diagnosis possibilities, whereas the extended diagnosis function offers detailed messaging specific to the frequency converter.
See
chapter 8.3 Warnings and Alarms
for the extended diagnosis messages for the frequency converter.
A master or a network analyzing tool is able to translate these diagnosis words into real text messages using the
GSD file.
NOTICE
DP-V1 diagnosis is supported for PROFIBUS SW version
2.X and later versions. The default setting of the
PROFIBUS option is DP-V1 diagnosis.
When DP-V0 diagnosis is required, change the setting under DP slave Properties .
8.2 No Response to Control Signals
Check that:
•
The control word is valid.
When bit 10 = 0 in the control word, the frequency converter does not accept the control word. The default setting is bit 10 = 1. Set bit 10
= 1 via the PLC.
•
The relationship between bits in the control word and the terminal I/Os is correct.
Check the logical relationship in the frequency converter. Set the logic to bit 3 = 1 and digital input = 1 to achieve a successful start.
Select the FC control mode, digital input, and/or serial communication, using parameter 8-50 Coasting Select to parameter 8-58 Profidrive OFF3 Select .
Selecting control mode for parameter 8-50 Coasting
Select ,
parameter 8-51 Quick Stop Select , and
parameter 8-52 DC Brake Select :
If [0] Digital input is selected, the terminals control the coast and DC brake functions.
NOTICE
Coasting, quick stop, and DC brake functions are active for logic 0.
0
1
Terminal Bit 02/03/04
0 0
1
1
0
1
Table 8.1 [0] Digital Input
Function
Coast/DC brake/Q-stop
Coast/DC brake/Q-stop
No coast/DC brake/Q-stop
No coast/DC brake/Q-stop
If [1] Serial communication is selected, commands are activated only when given via serial communication.
0
1
Terminal Bit 02/03/04
0 0
1
1
0
1
Function
Coast/DC brake/Q-stop
No coast/DC brake/Q-stop
Coast/DC brake/Q-stop
No coast/DC brake/Q-stop
Table 8.2 [1] Serial Communication
If [2] Logic AND is selected, activate both signals to perform the function.
0
1
Terminal Bit 02/03/04
0 0
1
1
0
1
Table 8.3 [2] Logic AND
Function
Coast/DC brake/Q-stop
No coast/DC brake/Q-stop
No coast/DC brake/Q-stop
No coast/DC brake/Q-stop
If [3] Logic OR is selected, activation of 1 signal activates the function.
0
1
Terminal Bit 02/03/04
0 0
1
1
0
1
Table 8.4 [3] Logic OR
Function
Coast/DC brake/Q-stop
Coast/DC brake/Q-stop
Coast/DC brake/Q-stop
No coast/DC brake/Q-stop
8 8
MG06F102 Danfoss A/S © 08/2016 All rights reserved.
49
Troubleshooting PROFIBUS DP
8 8
Selecting control mode for parameter 8-53 Start Select and parameter 8-54 Reversing Select :
If [0] Digital input is selected, the terminals control the start and reversing functions.
0
1
Terminal Bit 06/15
0 0
1
1
0
1
Function
Stop/clockwise
Stop/counterclockwise
Start/clockwise
Start/clockwise
Table 8.5 [0] Digital Input
If [1] Serial communication is selected, commands are activated only when given via serial communication.
0
1
Terminal Bit 02/03/04
0 0
1
1
0
1
Function
Stop/counterclockwise
Start/clockwise
Stop/counterclockwise
Start/clockwise
Table 8.6 [1] Serial Communication
If [2] Logic AND is selected, activate both signals to perform the function.
0
1
Terminal Bit 02/03/04
0 0
1
1
0
1
Table 8.7 [2] Logic AND
Function
Stop/counterclockwise
Stop/counterclockwise
Stop/counterclockwise
Start/clockwise
If [3] Logic OR is selected, activation of 1 signal activates the function.
0
1
1
Terminal Bit 02/03/04
0 0
1
0
1
Function
Stop/counterclockwise
Start/clockwise
Start/clockwise
Start/clockwise
Table 8.8 [3] Logic OR
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
1
1
1
1
Selecting control mode for parameter 8-55 Set-up Select and parameter 8-56 Preset Reference Select :
If [0] Digital input is selected, the terminals control the setup and preset reference functions.
Terminal
Msb Lsb
0
1
1
1
1
0
0
0
1
1
0
0
1
1
0
0
Bit 00/01, 13/14 Function
Msb Lsb Preset reference, set-up number
0
1
1
1
0
1
0
1
1
1
2
2
0
1
0
1
0
1
0
2
2
3
3
3
3
4
1
0
1
4
4
4
Table 8.9 [0] Digital Input
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
1
1
0
1
1
If [1] Serial communication is selected, commands are activated only when given via serial communication.
Terminal
Msb Lsb
0
1
1
0
1
0
1
1
0
0
1
1
0
0
1
Bit 00/01, 13/14 Function
Msb
0
Lsb
0
Preset reference, set-up number
1
1
0
2
3
1
0
1
0
4
1
2
3
1
0
1
0
2
3
4
1
1
0
1
0
1
2
3
4
1
4
Table 8.10 [1] Serial Communication
50 Danfoss A/S © 08/2016 All rights reserved.
MG06F102
Troubleshooting Programming Guide
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
1
1
1
1
If [2] Logic AND is selected, activate both signals to perform the function.
Terminal
Msb Lsb
0
1
1
1
1
0
0
0
1
1
0
0
1
1
0
0
Bit 00/01, 13/14 Function
Msb Lsb Preset reference, set-up number
0
1
1
1
0
1
0
1
1
1
1
2
0
1
0
1
0
1
0
1
2
1
1
3
3
1
1
0
1
2
3
4
Table 8.11 [2] Logic AND
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
1
1
0
1
If [3] Logic OR is selected, activation of 1 signal activates the function.
Terminal
Msb Lsb
0
1
1
0
0
1
1
0
0
1
1
0
0
1
Bit 00/01, 13/14 Function
Msb
0
Lsb
0
Preset reference, set-up number
1
1
0
2
3
1
0
1
0
4
2
2
4
1
0
1
0
4
3
4
3
1
0
1
0
4
4
4
4
Table 8.12 [3] Logic OR
MG06F102 Danfoss A/S © 08/2016 All rights reserved.
51
8 8
Troubleshooting PROFIBUS DP
8 8
8.3 Warnings and Alarms
NOTICE
Refer to the operating guide for an overview of warning and alarm types, and for the full list of warnings and alarms.
Alarm word, warning word, and PROFIBUS warning word are shown on the frequency converter display in hex format. When there is more than 1 warning or alarm, the sum of all warnings or alarms is shown. Alarm word, warning word, and
PROFIBUS warning word can also be shown using the fieldbus in parameter 16-90 Alarm Word , parameter 16-92 Warning
Word , and parameter 9-53 Profibus Warning Word .
00000001
00000002
00000004
00000008
00000010
00000020
00000040
00000080
Bit (hex)
00000100
00000200
00000400
00000800
00001000
00004000
00008000
00010000
00020000
00040000
00080000
00100000
00200000
00400000
00800000
01000000
04000000
08000000
10000000
20000000
40000000
80000000
46
47
32
41
42
43
44
33
34
35
36
26
27
28
37
38
39
24
Unit diagnoses bit
48
49
50
51
52
53
54
55
40
29
30
31
Alarm word
( parameter 16-90 Alarm
Word )
Brake check
Power card overtemperature
Ground fault
Control card overtemperature
Control word timeout
Overcurrent
Torque limit
Motor thermistor overtemperature
Motor ETR overtemperature
Inverter overloaded
DC-link undervoltage
DC-link overvoltage
Short circuit
Mains phase loss
AMA not OK
Live zero error
Internal fault
Brake overload
Motor phase U is missing
Motor phase V is missing
Motor phase W is missing
Fieldbus comm. fault
24 V supply fault
Mains failure
Brake resistor short circuit
Brake chopper fault
Option change
Frequency converter initialization
Unused
Mechanical brake low
Alarm number
28
65
18
13
12
11
69
14
10
4
52
2
7
16
9
8
38
26
30
31
25
27
67
32
34
47
36
80
–
63
Table 8.13 Parameter 16-90 Alarm Word
00000001
00000002
00000004
00000008
00000010
00000020
00000040
00000080
Bit (hex)
00000100
00000200
00000400
00000800
00004000
00008000
00010000
00040000
00080000
00100000
00400000
00800000
01000000
02000000
10000000
40000000
105
106
107
99
100
102
103
110
111
96
98
88
89
92
94
Unit diagnoses bit
112
113
114
115
116
117
118
119
104
Warning word
( parameter 16-92 Warning
Word )
Brake check
Power card overtemperature
Ground fault
Control card overtemperature
Control word timeout
Overcurrent
Torque limit
Motor thermistor overtemperature
Motor ETR overtemperature
Inverter overloaded
DC-link undervoltage
DC-link overvoltage
Mains phase loss
No motor
Live zero error
Brake overload
Brake resistor short circuit
Brake chopper fault
Fieldbus comm. fault
24 V supply fault
Mains failure
Current limit
Encoder loss
Unused
Table 8.14 Parameter 16-92 Warning Word
Alarm number
28
69
14
65
18
13
12
11
10
25
27
34
47
2
26
4
3
36
59
9
8
7
61
–
52 Danfoss A/S © 08/2016 All rights reserved.
MG06F102
Troubleshooting Programming Guide
Bit hex
18
19
20
14
15
16
17
10
11
12
13
8
9
6
7
2
3
0
1
4
5
25
26
27
28
21
22
23
24
29
30
31
Table 8.15 Extended Status Word
00000001
00000002
00000004
00000008
00000010
00000020
00000040
00000080
00000100
00000200
00000400
00000800
00001000
00002000
00004000
00008000
00010000
00020000
00040000
00080000
00100000
00200000
00400000
00800000
01000000
02000000
04000000
08000000
10000000
20000000
40000000
80000000
Dec
16384
32768
65536
131072
262144
524288
1048576
64
128
256
512
1024
2048
4096
8192
4
8
1
2
16
32
2097152
4194304
8388608
16777216
Reserved
Reserved
Reserved
Reserved
33554432
67108864
Reserved
Reserved
134217728 Reserved
268435456 Reserved
536870912 Reserved
1073741824 Reserved
2147483648 Database busy
Extended status word
Ramping
AMA running
Start CW/CCW
Slow down
Catch up
Feedback high
Feedback low
Output current high
Output current low
Output frequency high
Output frequency low
Brake check OK
Braking max
Braking
Reserved
OVC active
AC brake
Reserved
Reserved
Reference high
Reference low
Bit (hex)
00000001
00000002
00000004
00000008
00000010
00000020
00000040
00000080
00000100
00000200
00000400
00000800
00001000
00002000
00004000
00008000
Unit diagnoses bit
160
161
162
163
164
165
154
155
156
157
158
166
167
152
153
159
PROFIBUS warning word
( parameter 9-53 Profibus Warning
Word )
Connection with DP master is not OK.
Unused.
FDL (fieldbus data link layer) is not OK.
Clear data command received.
Actual value is not updated.
Baud rate search.
PROFIBUS ASIC is not transmitting.
Initializing of PROFIBUS is not OK.
Frequency converter is tripped.
Internal CAN error.
Wrong configuration data from PLC.
Wrong ID sent by PLC.
Internal fault occurred.
Not configured.
Timeout active.
Warning 34, Fieldbus fault
Table 8.16 Parameter 9-53 Profibus Warning Word
active
Bit (hex)
00000001
00000002
00000004
00000008
00000010
00000020
00000040
00000080
00000100
00000200
00000400
00000800
00001000
00002000
00004000
00008000
Communication option STW
( parameter 16-84 Comm. Option STW )
Parameterization OK.
Configuration OK.
Clear mode active.
Baud rate search.
Waiting for parameterization.
Waiting for configuration.
In data exchange.
Not used.
Not used.
Not used.
Not used.
MCL2/1 connected.
MCL2/2 connected.
MCL2/3 connected.
Data transport active.
Unused.
Table 8.17 Parameter 16-84 Comm. Option STW
NOTICE
Parameter 16-84 Comm. Option STW is not part of extended diagnosis.
For diagnosis, read out the alarm words, warning words, and extended status words via fieldbus or optional fieldbus.
8 8
MG06F102 Danfoss A/S © 08/2016 All rights reserved.
53
Troubleshooting PROFIBUS DP
8 8
8.4 Fault Messages via DP Diagnosis
The standard DP function features an online diagnosis, which is active during DP initialization and data exchange mode.
8.5 Extended Diagnosis
Receive the extended diagnosis function, alarm, and warning information from the frequency converter. The setting of parameter 8-07 Diagnosis Trigger determines which frequency converter events trigger the extended diagnosis function:
•
When parameter 8-07 Diagnosis Trigger is set to [0]
Disable , no extended diagnosis data is sent regardless of whether it appears in the frequency converter or not.
•
When parameter 8-07 Diagnosis Trigger is set to [1]
Alarms , extended diagnosis data is sent when 1 or more alarms arrive in the alarm parameter 16-90 Alarm Word or parameter 9-53 Profibus Warning Word .
The extended diagnosis sequence is as follows:
If an alarm or warning appears, the frequency converter sends a high-priority message to the master via the output data telegram. The master then sends a request for extended diagnosis information, to which the frequency converter replies. When the alarm or warning disappears, the frequency converter again sends a message to the master, and on the following request from the master, returns a standard DP diagnosis frame (6 bytes).
Byte
23
24
25
19
20
21
22
15
16
17
18
11
12
13
14
7
8
0–5
6
9
10
26
27
28
29
30
31
Bit number
–
–
0–7
8–15
16–23
24–31
32–39
40–47
48–55
56–63
64–71
72–79
80–87
88–95
Name
Standard DP diagnosis data.
PDU length.
Status type = 0x81.
Slot = 0.
Status information.
Parameter 16-90 Alarm Word
Parameter 16-90 Alarm Word .
Parameter 16-90 Alarm Word .
Parameter 16-90 Alarm Word .
Reserved for future use.
Reserved for future use.
Reserved for future use.
.
Reserved for future use.
Parameter 16-92 Warning Word .
96–103 Parameter 16-92 Warning Word .
104–111 Parameter 16-92 Warning Word .
112–119 Parameter 16-92 Warning Word .
120–127 Reserved for future use.
128–135 Reserved for future use.
136–143 Reserved for future use.
144–151 Reserved for future use.
152–159 Parameter 9-53 Profibus Warning Word .
160–167 Parameter 9-53 Profibus Warning Word .
168–175 Reserved for future use.
176–183 Reserved for future use.
184–191 Reserved for future use.
192–199 Reserved for future use.
Table 8.18 Content of the Extended Diagnosis Frame
54 Danfoss A/S © 08/2016 All rights reserved.
MG06F102
Index Programming Guide
Index
A
Abbreviations........................................................................................... 5
Additional resources.............................................................................. 3
Alarm word............................................................................................. 52
Alarms....................................................................................................... 52
Approval and certification................................................................... 4
Approvals................................................................................................... 4
C
Certifications............................................................................................. 4
Complete description......................................................................... 28
Configuration......................................................................................... 34
Control profile........................................................................................ 15
Control word.......................................................................................... 16
Conventions.............................................................................................. 5
CTW........................................................................................................... 16
D
Data store................................................................................................ 23
Data types, supported........................................................................ 32
Default settings..................................................................................... 42
Discharge time......................................................................................... 6
E
Extended diagnosis............................................................................. 54
F
Fault messages via DP diagnosis.................................................... 54
FC control mode
Digital input terminals................................................................... 15
Field PCD normalization.................................................................... 28
Freeze/unfreeze.................................................................................... 22
Frequency converter parameters................................................... 11
G
GSD file....................................................................................................... 9
H
High voltage............................................................................................. 6
I
ID extension............................................................................................ 28
Identifier ID............................................................................................. 28
L
Leakage current....................................................................................... 7
LEDs........................................................................................................... 11
Load sharing............................................................................................. 6
Lower limit.............................................................................................. 28
M
MCT 10 Set-up Software....................................................................... 3
N
Name......................................................................................................... 28
Number of array elements................................................................ 28
P
Parameter access.................................................................................. 23
Parameter list......................................................................................... 43
PCA handling......................................................................................... 29
PCA parameter characteristic........................................................... 30
PCD............................................................................................................ 31
PCD reference parameter.................................................................. 28
PCV............................................................................................................. 31
PCV parameter access......................................................................... 29
PPO types................................................................................................ 12
Process control data............................................................................ 13
Process control operation.................................................................. 15
Process data............................................................................................ 13
Process status data............................................................................... 13
PROFIBUS address................................................................................... 8
PROFIBUS DP-V1
Acyclic parameter channel........................................................... 25
Attribute description...................................................................... 27
Data exchange.................................................................................. 24
Fault codes......................................................................................... 29
Master class 1 connection............................................................. 24
Master class 2 connection............................................................. 24
Parameter access.............................................................................. 25
Read/write services......................................................................... 25
Request ID.......................................................................................... 27
Request reference............................................................................ 27
Request/response attributes....................................................... 26
Response ID....................................................................................... 27
Supported data types..................................................................... 29
Value..................................................................................................... 29
PROFIdrive profile (CTW)................................................................... 16
PROFIdrive state transition diagram.............................................. 19
Q
Qualified personnel................................................................................ 6
MG06F102 Danfoss A/S © 08/2016 All rights reserved.
55
Index PROFIBUS DP
R
RC content............................................................................................... 30
Read/write in double word format................................................. 23
Reference handling.............................................................................. 14
Request/response handling............................................................. 30
S
Safety........................................................................................................... 7
Services overview................................................................................. 24
Size attribute.......................................................................................... 31
Status word............................................................................................. 17
Symbols...................................................................................................... 5
Sync/unsync........................................................................................... 22
T
Termination switch................................................................................. 8
U
Unintended start..................................................................................... 6
Upper limit.............................................................................................. 28
W
Warning word........................................................................................ 52
Warnings.................................................................................................. 52
56 Danfoss A/S © 08/2016 All rights reserved.
MG06F102
Index Programming Guide
MG06F102 Danfoss A/S © 08/2016 All rights reserved.
57
Danfoss can accept no responsibility for possible errors in catalogues, brochures and other printed material. Danfoss reserves the right to alter its products without notice. This also applies to products already on order provided that such alterations can be made without subsequential changes being necessary in specifications already agreed. All trademarks in this material are property of the respective companies. Danfoss and the Danfoss logotype are trademarks of Danfoss A/S. All rights reserved.
Danfoss A/S
Ulsnaes 1
DK-6300 Graasten vlt-drives.danfoss.com
130R0703 MG06F102 *MG06F102* 08/2016

Public link updated
The public link to your chat has been updated.
Advertisement