Danfoss VLT PROFIBUS DP MCA 101, VLT FC 102 Series, VLT FC 103 Series, VLT FC 301, VLT FC 202 Programming Manual

...
MAKING MODERN LIVING POSSIBLE
Programming Guide
VLT® PROFIBUS DP MCA 101
VLT® Frequency Converter Series FC 102 • FC 103 • FC 202 • FC 301/302 • FCD 302
www.danfoss.com/drives
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.2.1 GSD File 9
3.3 Configure the Frequency Converter
3 3 3 3 3 4 5
6 6 6 6
8 8 9
11
3.3.1 Frequency Converter Parameters 11
3.3.2 LEDs 11
4 Control
4.1 PPO Types
4.2 Process Data
4.2.1 Process Control Data 14
4.2.2 Process Status Data 14
4.2.3 Reference Handling 15
4.2.4 Process Control Operation 15
4.2.5 Influence of the Digital Input Terminals upon FC Control Mode 16
4.3 Control Profile
4.4 PROFIdrive Control Profile
4.4.1 Control Word according to PROFIdrive Profile (CTW) 16
4.4.2 Status Word according to PROFIdrive Profile (STW) 18
4.4.3 PROFIdrive State Transition Diagram 19
4.5 Danfoss FC Control Profile
4.5.1 Control Word according to FC Profile (CTW) 20
13 13 14
16 16
20
4.5.2 Status Word according to FC Profile (STW) 21
4.6 Synchronise and Freeze
4.6.1 SYNC/UNSYNC 22
4.6.2 FREEZE/UNFREEZE 22
MG37G102 Danfoss A/S © Rev. 05/2014 All rights reserved. 1
22
Contents Programming Guide
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
7.4 Example 4: PLC Programming
8 Troubleshooting
23 23 23 28 31
33 33 35 42
43 43 44 45 46
48
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
48 48 50 53 54
55
2 Danfoss A/S © Rev. 05/2014 All rights reserved. MG37G102
Introduction
1 Introduction
Programming Guide
1
1
1.1 Purpose of the Manual
The VLT® PROFIBUS DP MCA 101 Programming Guide provides information about configuring the system, controlling the frequency converter, parameter access, programming, troubleshooting, as well as some typical application examples. The programming guide is intended for use by qualified
personnel who are familiar with the VLT® frequency converter, with PROFIBUS technology, and with the PC or PLC that is used as a master in the system. Read the instructions before programming and follow the procedures in this manual.
VLT® is a registered trademark.
1.2 Additional Resources
Resources available for the frequency converters and optional equipment:
The VLT® Operating Instructions provide the
necessary information for getting the frequency converter up and running.
The VLT
information about capabilities and functionality to design motor control systems.
The VLT® Programming Guide provides greater
detail on working with parameters and many application examples.
The VLT® PROFIBUS DP MCA 101 Installation Guide
provides information about installing the PROFIBUS and troubleshooting.
The VLT® PROFIBUS DP MCA 101 Programming
Guide provides information about configuring the system, controlling the frequency converter, parameter access, programming, troubleshooting, as well as some typical application examples.
Supplementary publications and manuals are available from Danfoss. See www.danfoss.com/BusinessAreas/DrivesSo-
lutions/Documentations/VLT+Technical+Documentation.htm
for listings.
®
Design Guide provides detailed
Edition Remarks Software version
MG37G1xx - -
Table 1.1 Document and Software Version
1.4 Product Overview
1.4.1 Features of PROFIBUS DP-V1
2 different state machines can be selected:
PROFIdrive profile or Danfoss FC profile Communication using PROFIBUS DP-V1, Master
Class 1 and Master Class 2. Downward compatibility: New protocol
extensions retain all the functions of the previous versions.
Intelligent base for future technologies such as
OPC, FDT/DTM, PROFINET. Bus time-out 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.
Equidistant bus cycle time configurable in PLC
system. Improved network efficiency, since the cyclic
parameter channel is no longer required. Very short bus cycle times compared to industrial
ethernet . Backwards compatibility with DP.
Technical Overview
1.4.2
1.3
Document and Software Version
This manual is regularly reviewed and updated. All suggestions for improvement are welcome. Table 1.1 shows the document version and the corresponding software version.
MG37G102 Danfoss A/S © Rev. 05/2014 All rights reserved. 3
PROFIBUS
PROFIBUS is an international standard for fieldbus communication in automation technology (IEC 61158 and IEC 61784). The standard is supported by the member companies of the PROFIBUS International User Community.
For information about PROFIBUS and downloads for PROFIBUS DP and the PROFIdrive profile, refer to www.Profibus.com.
PLC
130BA078.10
PLC
Master class 1
PC tool
Master class 2
130BA079.10
Introduction Programming Guide
1
PROFIBUS DP-V1
The PROFIBUS DP protocol enables communication between PROFIBUS masters and followers.
Communication can be configured via MCT 10 Set-up Software.
Cyclical/Acyclical Communication
PLC communicates with telegrams of constant
length. Fits time-critical requirements.
Cyclical transmission via PPO types.
Extended diagnosis.
Illustration 1.2 PROFIBUS DP-V1
The PROFIBUS DP extension DP-V1 permits acyclical as well as cyclical 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).
Illustration 1.1 PROFIBUS DP-V0
Features of a Master class 1 connection:
Cyclical data exchange (DP-V0).
Acyclical read/write on parameters.
Extended diagnosis.
The acyclical connection is fixed, and cannot be changed during operation.
Features of a Master class 2 connection:
Initiate/Abort acyclical connection.
Acyclical read/write on parameters.
The acyclical connection can be established (Initiate) or removed (Abort) dynamically even when a master class 1 is active on the network. The DP-V1 acyclical connection can be used for general parameter access as an alternative to the PCV parameter channel.
1.5
Approvals and Certifications
More approvals and certifications are available. For more information, contact a local Danfoss partner.
4 Danfoss A/S © Rev. 05/2014 All rights reserved. MG37G102
Introduction Programming Guide
1.6 Symbols, Abbreviations and Conventions
CAN Controller area network CTW Control word DP Distributed periphery DU Data unit EEPROM Electrical erasable programmable read only memory EMC Electromagnetic compatibility FDT Field device tool IND Sub index LCD Liquid crystal display LCP Local control panel LED Light emitting diode MAV Main actual value MC1 Master class 1 MC2 Master class 2 MRV Main reference value PC Personal computer PCD Process data PCA Parameter characteristics PCV Parameter characteristics value PDU Protocol data unit PLC Programmable logic control PNU Parameter number PPO Parameter-process data PVA Parameter value RC Request/Response characteristics SAP Service access point SMP Spontaneous message STW Status word
1
1
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. Italicised text indicates
cross reference
link
parameter name
MG37G102 Danfoss A/S © Rev. 05/2014 All rights reserved. 5
Safety Programming Guide
2 Safety
22
2.1 Safety Symbols
The following symbols are used in this document:
WARNING
Indicates a potentially hazardous situation which could result in death or serious injury.
CAUTION
Indicates a potentially hazardous situation which 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 trouble­free and safe operation of the frequency converter. Only qualified personnel are allowed to install or operate this equipment.
Qualified personnel are defined as trained staff, who are authorised to install, commission, and maintain equipment, systems, and circuits in accordance with pertinent laws and regulations. Additionally, the personnel must be familiar with the instructions and safety measures described in these operating instructions.
2.3
Safety Precautions
WARNING
HIGH VOLTAGE
Frequency converters contain high voltage when connected to AC mains input, DC power supply, or load sharing. Failure to perform installation, start-up, and maintenance by qualified personnel can result in death or serious injury.
Installation, start-up, and maintenance must be
performed by qualified personnel only.
WARNING
UNINTENDED START
When the frequency converter is connected to AC mains, DC power supply, or load sharing, the motor may start at any time. Unintended start during programming, service or repair work can result in death, serious injury, or property damage. The motor can start by means of an external switch, a serial bus command, an input reference signal from the LCP or LOP, via remote operation using MCT 10 software, or after a cleared fault condition. To prevent unintended motor start:
Disconnect the frequency converter from mains.
Press [Off/Reset] on the LCP, before
programming parameters. The frequency converter, motor, and any driven
equipment must be fully wired and assembled when the frequency converter is connected to AC mains, DC power supply, or load sharing.
WARNING
DISCHARGE TIME
The frequency converter contains DC-link capacitors, which can remain charged even when the frequency converter is not powered. Failure to wait the specified time after power has been removed before performing service or repair work, can result in death or serious injury.
Stop motor.
Disconnect AC mains and remote DC-link power
supplies, including battery back-ups, UPS, and DC-link connections to other frequency converters.
Disconnect or lock PM motor.
Wait for the capacitors to discharge fully, before
performing any service or repair work. The duration of waiting time is specified in the relevant frequency converter Operating Instructions, Chapter 2 Safety.
6 Danfoss A/S © Rev. 05/2014 All rights reserved. MG37G102
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 these operating
instructions.
2 2
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.
MG37G102 Danfoss A/S © Rev. 05/2014 All rights reserved. 7
130BD878.10
ON
1 2
SW. ver. XX.XX
MS
NS
ON OFF
Code No. 130B1100
Termination
SN
SW
Address
ON OFF
S600
S300
LD202 LD200
LD201 LD203
ON ON
8 7 6 5 4 3 2 1
PROFIBUS Option A
1
2
130BB708.10
1
2
4
3
5
Configuration
Programming Guide
3 Configuration
3.1 Configure the PROFIBUS Network
33
Ensure that all PROFIBUS stations connected to the same bus network have a unique station address.
Select the PROFIBUS address of the frequency converter via:
Hardware switches
9-18 Node Address
The PROFIBUS command SSA (Set Station
Address)
Setting the PROFIBUS Address using
3.1.1
the DIP Switches
To set the PROFIBUS address using the DIP switches:
1. Switch off the power supply.
2. Select an address in the range 0 to 125. Factory setting is 127.
3. For location of the DIP switches, refer to Illustration 3.1 and Illustration 3.2.
4. Set the switches according to the address, see Table 3.1.
1 Termination switch 2 DIP switches
Illustration 3.1 Location and Sequence of the DIP Switches
The DIP switch in the FCD 302 are placed below the inverter part, see Illustration 3.2.
Switch 8 7 6 5 4 3 2 1
Address value 5 Not
35 Not
82 Not
Table 3.1 Examples: Setting the PROFIBUS Address using the DIP Switches
NOTICE
Not
+64 +32 +16 +8 +4 +2 +1
used
OFF OFF OFF OFF ON OFF ON
used
OFF ON OFF OFF OFF ON ON
used
ON OFF ON OFF OFF ON OFF
used
Illustration 3.2 FCD 302 Dip Switches
Switch off the power supply before changing the DIP switches.
Setting the PROFIBUS Address via 9-18 Node Address
1. Switch off the power supply.
8 Danfoss A/S © Rev. 05/2014 All rights reserved. MG37G102
2. Set the DIP switch to 126 or 127 (factory switch setting).
3.
Set the address via 9-18 Node Address or the PROFIBUS SSA-command.
4. The address change comes into effect at the next power-up.
130BC915.10
130BC913.11
Configuration
Setting the PROFIBUS Address with Set Station Address Command
1. Switch off the power supply.
2. Set the DIP switch to 126 or 127 (factory switch setting).
3. 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. Unlock the address setting by changing the 9-18 Node Address or the address switch, followed by a power cycle. A new address is effective immediately after the "Set Station Address" command.
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 follower on the network. The GSD file is a PROFIBUS DP standard text file containing the necessary communications set-up data for a follower. Download the GSD file for the FC 102, FC 202 and FC 301/302 frequency converters at www.danfoss.com/Busines- sAreas/DrivesSolutions/.
3 3
Illustration 3.3 Install GSD File
PROFIBUS SW version
(15-61 Option SW Version)
1.x da01040A.GSD
2.x da02040A.GSD
FCD 302 da01040B.GSD
Table 3.2 GSD File
The example below show the procedure of configuring a PROFIBUS Master for FC 301/302, but the procedure is also valid for the FCD 302.
1. Import the GSD file in the configuration tool.
2. Import the GSD file to the Simatic Manager software tool. Import a GSD file once only for each frequency converter series, following the initial installation of the software tool. See Illustration 3.3.
3. 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 catalogue. See Illustration 3.4 and Illustration 3.5.
GSD file
Illustration 3.4 Import a GSD File and a Bitmap
Illustration 3.5 Add a new GSD File
4. Import and access the FC 301/302 GSD file via the path in the hardware catalogue, see Illustration 3.6.
MG37G102 Danfoss A/S © Rev. 05/2014 All rights reserved. 9
130BA564.11
130BC912.11
130BC911.11
Configuration
Programming Guide
33
Illustration 3.8 Drag and Drop PPO Type 6 Word Consistent to
Illustration 3.6 Import and Access the GSD file via the Path in the Hardware Catalogue
5. Open a project, set up the hardware and add a PROFIBUS master system.
6. Select FC 300, then drag and drop it onto the PROFIBUS in the hardware diagram.
7. A window for the address of the FC 300 appears. Select the address from the scroll-down list. Ensure that the address setting matches the previous address setting in 9-18 Node Address. See Illustration 3.7.
the first slot
The configuration tool automatically assigns addresses in the peripheral address area. In this example, the input and output area have the following configurations:
PPO type 6
PCD word number
Input address Set-up STW MAV
1 2 3 4
256-257 258-259 260-261 262-263
parameter 9
-16 PCD Read
Configu-
ration.2
parameter 9
-16 PCD Read
Configu-
ration.3
Illustration 3.7 Select the Address
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
Illustration 3.8. See the PPO types in chapter 4 Control for more information.
Table 3.3 PCD read (VLT to PLC)
PCD word number
Output address Set-up CTW MRV
Table 3.4 PCD write (PLC to VLT)
1 2 3 4
256-257 258-259 260-261 262-263
parameter 9
-15 PCD Write
Configu-
ration.2
parameter 9
-15 PCD Write
Configu-
ration.3
Alternative: For PROFIBUS SW version 2.x and higher, Auto­configuration 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 follower Properties. See Illustration 3.9.
10 Danfoss A/S © Rev. 05/2014 All rights reserved. MG37G102
130BT322.11
Configuration
Illustration 3.9 Enable Feature under DP Follower Properties
Programming Guide
NOTICE
DP V1 diagnosis is supported for PROFIBUS SW version
2.x and higher. The default setting of the PROFIBUS option is DP V1 diagnosis. If DP V0 diagnosis is required, change the setting under DP follower Properties.
0-40 [Hand on] Key on LCP. Pressing [Hand on]
disables control of the frequency converter via PROFIBUS.
Parameter 8-02 Control Word Source. After an
initial power-up, the frequency converter automatically detects whether a fieldbus option is installed in slot A, and sets parameter 8-02 Control Word Source to [Option A]. If an option is added or changed in or removed from an already commissioned frequency converter, it does not change parameter 8-02 Control Word Source, but enters Trip mode, and the frequency converter displays an error.
Parameter 8-10 Control Word Profile. Select
between the Danfoss FC Profile and the PROFIdrive profile.
8-50 Coasting Select to 8-56 Preset Reference Select.
Select how to gate PROFIBUS control commands with digital input command of the control card.
Parameter 8-03 Control Word Timeout Time to
8-05 End-of-Timeout Function. Set the reaction in the event of a bus time-out via these parameters.
9-18 Node Address.
Parameter 8-07 Diagnosis Trigger.
NOTICE
When 8-01 Control Site is set to , the settings in 8-50 Coasting Select to 8-56 Preset Reference Select are
overruled, and all act on Bus-control.
3 3
Illustration 3.10 DP V1 Diagnosis
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:
3.3.2 LEDs
The 2 bi-colour LEDs in the PROFIBUS card indicate the status of PROFIBUS communication.
The LED marked NS (FCD 302: NS2) indicates the network status, that is, the cyclical communication to the PROFIBUS master. When this light is constant green, data exchange between the master and the frequency converter is active.
The LED marked MS (FCD 302: BUS MS) indicates the module status, that is, acyclical DP V1 communication from either a PROFIBUS master class 1 (PLC) or a master class 2 (MCT 10, FDT tool). When this light is 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 chapter 8 Troubleshooting.
MG37G102 Danfoss A/S © Rev. 05/2014 All rights reserved. 11
A
130BC259.10
Configuration Programming Guide
33
Illustration 3.11 FCD 302 LED Panel
12 Danfoss A/S © Rev. 05/2014 All rights reserved. MG37G102
Control Programming Guide
4 Control
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 (that is, DP V0), so that process data (PCD) and parameters (PCA) can be transferred from the master to the follower and vice versa.
Pure process data objects
PPO types 3, 4, 6, 7 and 8 are pure process data objects for applications requiring no cyclic parameter access. The PLC sends out process control data, and the frequency converter then responds with a PPO of the same length, containing process status data.
Illustration 4.1 shows the available PPO types:
PCD 1: The first 2 bytes of the process data area
(PCD 1) comprise a fixed part present in all PPO types.
PCD 2: The next 2 bytes (PCD 2) are fixed for PCD
write entries (see parameter 9-15 PCD Write Configuration [1]), but configurable for PCD read entries (see parameter 9-16 PCD Read Configu­ration [1]).
PCD 3-10: In the remaining bytes, from PCD 3
and on, the process data can be parameterised with process signals, see parameter 9-23 Parameters for Signals.
The signals for transmission from the master to the frequency converter are determined by the setting in parameter 9-15 PCD Write Configuration (request from master to the frequency converter).
The signals for transmission from the frequency converter to the master (response from the frequency converter to master) are determined by the setting in parameter 9-16 PCD Read Configuration .
Parameter channel and process data
PPO types 1, 2 and 5 consist of a parameter channel and process data. Use the parameter channel for reading and/or updating of parameters (successively). Alternatively, for better utilisation of I/O and thus PLC capacity, access parameters via DP V1, by selecting a pure process data object (PPO type 3, 4, 6, 7 or 8).
Select the PPO type in the master configuration. The selection is automatically recorded in the frequency converter. No manual setting of PPO types in the frequency converter is required. Read the current PPO type in 9-22 Telegram Selection. The setting [1] Standard telegram 1 is equivalent to PPO type 3.
In addition, all PPO types can be set up as word-consistent or module-consistent. The process data area can be word or module consistent, whereas the parameter channel must always be module consistent.
Word-consistent data is transmitted as individual
independent words between the PLC and the frequency converter.
Module-consistent data is transmitted as sets of
interrelated words transferred simultaneously between the PLC and the frequency converter.
4 4
MG37G102 Danfoss A/S © Rev. 05/2014 All rights reserved. 13
CTW/STW
REF/MAV
PCD 2 Read/
Write
PCD 3 Read/
Write
Standard telegram
1
PCD 4 Read/
Write
PCD 5
Read/
Write
PPO 4
PPO 6
PPO 7
PPO 8
Danfoss telegram
(The old PPO type 3)
PCV
CTW/STW REF/MAV
PCD 2 Read/
Write
PCD 3
Read/
Write
PCD 4 Read/
Write
PCD 5 Read/
Write
CTW/STW
REF/MAV
PCD 2 Read/
Write
PCD 3
Read/
Write
PCD 4 Read/
Write
PCD 5 Read/
Write
PCD 6 Read/
Write
PCD 7 Read/
Write
PCD 8 Read/
Write
PCD 9 Read/
Write
CTW/STW REF/MAV
PCD 2 Read/
Write
PCD 3 Read/
Write
PCD 4
Read/
Write
PCD 5
Read/
Write
PCD 6 Read/
Write
PCD 7 Read/ Write
CTW/STW REF/MAV
CTW/STW REF/MAV
PPO 3
CTW/STW REF/MAV
PCD 2 Read/
Write
PCD 3
Read/
Write
PPO 2
PCV
CTW/STW
REF/MAV
PPO 1
PCV
130BD911.10
Control Programming Guide
44
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.
Master/follower
1 2 3 ....... 10
CTW MRV PCD ....... PCD
PCD write
Table 4.1 Process Control Data
PCD 1 contains a 16-bit control word, and each bit controls a specific function of the frequency converter, see chapter 4.3 Control Profile.
PCD 2 contains a 16-bit speed setpoint in percentage format. See chapter 4.2.3 Reference Handling.
The content of PCD 3 to PCD 10 is determined by the settings in parameter 9-15 PCD Write Configuration and parameter 9-16 PCD Read Configuration.
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.
Follower master
1 2 3 ...... 10
STW MAV PCD ...... PCD
PCD read
Table 4.2 Process Status Data
PCD 1 contains a 16-bit status word, and each bit contains information regarding a possible state of the frequency converter.
PCD 2 contains per default the value of the current speed of the frequency converter in percentage format (see chapter 4.2.3 Reference Handling). PCD 2 can be configured to contain other process signals.
14 Danfoss A/S © Rev. 05/2014 All rights reserved. MG37G102
Control
Programming Guide
The content of PCD 3 to PCD 10 is determined by the settings in parameter 9-16 PCD Read Configuration.
4.2.3 Reference Handling
The reference handling is an advanced mechanism that sums up references from different sources, as shown in Illustration 4.2.
For more information on reference handling, refer to the Design Guide of the relevant frequency converter.
Illustration 4.2 Reference
The actual output of the frequency converter is limited by the speed limit parameters Motor Low/High Speed Limit
[RPM/Hz] in 4-11 Motor Speed Low Limit [RPM] to 4-14 Motor Speed High Limit [Hz]. The final speed limit is set in 4-19 Max Output Frequency.
Table 4.3 lists the reference (MRV) and the feedback (MAV)
formats.
MRV/MAV Integer in hex Integer in decimal
100% 4000 16,384
75% 3000 12,288 50% 2000 8,192 25% 1000 4,096
0% 0 0
-25% F000 -4,096
-50% E000 -8,192
-75% D000 -12,288
-100% C000 -16,384
Table 4.3 Reference/Feedback (MRV/MAV) Format
NOTICE
Negative numbers are formed as complement of 2.
4 4
The reference, or speed setpoint, is sent via PROFIBUS and is always transmitted to the frequency converter in percentage format as integers represented in hexadecimal (0-4000 hex).
The reference (MRV) and feedback (MAV) are always scaled equally. The setting of 3-00 Reference Range determines the scaling of the reference and feedback (MAV), see Illustration 4.3.
Illustration 4.3 Reference (MRV) and Feedback (MAV), Scaled
NOTICE
The data type for MRV and MAV is a N2 16-bit standardised value, expressing a range from -200% to +200% (8001 to 7FFF).
Example
The following settings determine the speed, as shown in
Table 4.4:
1-00 Configuration Mode set to [0] Speed open
loop. 3-00 Reference Range set to [0] Min-Max.
3-02 Minimum Reference set to 100 RPM.
3-03 Maximum Reference set to 3000 RPM.
MRV/MAV Actual speed [RPM]
0% 0 hex 100 25% 1000 hex 825 50% 2000 hex 1550 75% 3000 hex 2275 100% 4000 hex 3000
Table 4.4 Actual Speed for MRV/MAV
4.2.4
NOTICE
When 3-00 Reference Range is set to [0] Min - Max, a negative reference is handled as 0%.
MG37G102 Danfoss A/S © Rev. 05/2014 All rights reserved. 15
Process Control Operation
In process control operation, 1-00 Configuration Mode is set to [3] Process. The reference range in 3-00 Reference Range is always [0]
Min - Max.
Control
Programming Guide
MRV represents the process setpoint. MAV expresses the actual process feedback
(range ±200%).
4.4
PROFIdrive Control Profile
This section describes the functionality of the control word and status word in the PROFIdrive profile.
4.2.5 Influence of the Digital Input Terminals upon FC Control Mode
Set the influence of the digital input terminals upon
44
control of the frequency converter in 8-50 Coasting Select to 8-56 Preset Reference Select.
NOTICE
The setting of 8-01 Control Site overrules the settings in 8-50 Coasting Select to 8-56 Preset Reference Select. The
setting of terminal 37 Coast stop (safe) overrules any other parameter.
Each of the digital input signals can be programmed to logic AND, logic OR, or to have no relation to the corresponding bit in the control word. In this way the following signal sources initiate a specific control command, for example stop/coast:
fieldbus only,
fieldbus AND digital input, or
either fieldbus OR digital input terminal.
CAUTION
To control the frequency converter via PROFIBUS, set 8-50 Coasting Select to either [1] Bus , or to [2] Logic AND, and set 8-01 Control Site to [0] or [2].
For more detailed information and examples of logical relationship options, see chapter 8 Troubleshooting.
4.3
Control Profile
Control the frequency converter according to
the PROFIdrive profile, see chapter 4.4 PROFIdrive
Control Profile, or the Danfoss FC control profile, see
chapter 4.5 Danfoss FC Control Profile.
Select the desired control profile in parameter 8-10 Control Word Profile. The choice of profile affects the control 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.1 Control Word according to PROFIdrive Profile (CTW)
The control word is used to send commands from a master (e.g. a PC) to a follower.
Bit Bit=0 Bit=1
00 OFF 1 ON 1 01 OFF 2 ON 2 02 OFF 3 ON 3 03 Coasting No coasting 04 Quick stop Ramp 05 Hold frequency output Use ramp 06 Ramp stop Start 07 No function Reset 08 Jog 1 OFF Jog 1 ON 09 Jog 2 OFF Jog 2 ON 10 Data invalid Data valid 11 No function Slow down 12 No function Catch up 13 Parameter set-up Selection lsb 14 Parameter set-up Selection msb 15 No function Reverse
Table 4.5 Control Word Bits
Explanation of the control bits Bit 00, OFF 1/ON 1
Normal ramp stops using the ramp times of the actual selected ramp. Bit 00="0" leads to the stop and activation of the output relay 1 or 2 if the output frequency is 0 Hz and if [Relay 123] has been selected in 5-40 Function Relay. When bit 0="1", the frequency converter is in State 1: “Switching on inhibited”. Refer to Illustration 4.4.
Bit 01, OFF 2/ON 2
Coasting stop. When bit 01="0", a coasting stop and activation of the output relay 1 or 2 occurs if the output frequency is 0 Hz and if [Relay 123] has been selected in 5-40 Function Relay. When bit 01="1", the frequency converter is in State 1: “Switching on inhibited”. Refer to Illustration 4.4.
Bit 02, OFF 3/ON 3
Quick stop using the ramp time of 3-81 Quick Stop Ramp Time.
When bit 02="0", a quick stop and activation of the output relay 1 or 2 occurs if the output frequency is 0 Hz and if [Relay 123] has been selected in 5-40 Function Relay. When bit 02="1", the frequency converter is in State 1: “Switching on inhibited”.
16 Danfoss A/S © Rev. 05/2014 All rights reserved. MG37G102
Control Programming Guide
Refer to Illustration 4.4.
Bit 03, Coasting/No coasting
Coasting stop Bit 03="0" leads to a stop. When bit 03="1", the frequency converter can start if the other start conditions are fulfilled.
NOTICE
The selection in 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 3-81 Quick Stop Ramp Time.
When bit 04="0", a quick stop occurs. When bit 04="1", the frequency converter can start if the other start conditions are fulfilled.
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 current output frequency is being maintained even if the reference value is modified. When bit 05="1", the frequency converter can perform its regulating function again; operation occurs according to the respective reference value.
Bit 06, Ramp stop/Start
Normal ramp stop using the ramp times of the actual ramp as selected. In addition, activation of the output relay 01 or 04 if the output frequency is 0 Hz if Relay 123 has been selected in 5-40 Function Relay. Bit 06="0" leads to a stop. When bit 06="1", the frequency converter can start if the other start conditions are fulfilled.
NOTICE
The selection in 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 8-90 Bus Jog 1 Speed. JOG 1 is only possible if bit 04="0" and bit
00-03="1".
Bit 09, Jog 2 OFF/ON
Activation of the pre-programmed speed in 8-91 Bus Jog 2 Speed. JOG 2 is only possible if bit 04="0" and bit
00-03="1".
Bit 10, Data invalid/valid
Used to tell the frequency converter whether the control word is to be used or ignored. Bit 10=“0” causes the control word to be ignored, giving the opportunity to turn off the control word when updating/reading parameters. Bit 10=“1” causes the control word to be used. 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 3-12 Catch up/slow Down Value 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 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 (bit 11 and 12="1"), slowing down has priority, and the speed reference value is reduced.
Bits 13/14, Set-up selection
Bits 13 and 14 are used to select between the 4 parameter set-ups according to Table 4.6.
The function is only possible if Multi Set-up has been selected in 0-10 Active Set-up. The selection in 8-55 Set-up Select determines how bits 13 and 14 are linked with the corresponding function of the digital inputs. Changing set­up while running is only possible if the set-ups have been linked in 0-12 This Set-up Linked to.
Set-up Bit 13 Bit 14
1 0 0 2 1 0 3 0 1 4 1 1
Table 4.6 Parameter Set-ups
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 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
MG37G102 Danfoss A/S © Rev. 05/2014 All rights reserved. 17
Control
Programming Guide
4.4.2 Status Word according to PROFIdrive Profile (STW)
When bit 02 of the control word is "1", bit 05="1".
Bit 06, Start possible/Start not possible
If PROFIdrive has been selected in parameter 8-10 Control
The status word is used to notify a master (e.g. a PC) about the status of a follower.
Word Profile, bit 06 is "1" after a switch-off acknowl­edgment, after activation of OFF2 or OFF3, and after switching on the mains voltage. Start not possible is reset,
Bit Bit=0 Bit=1
00 Control not ready Control ready
44
01 Drive not ready Drive ready 02 Coasting Enable 03 No error Trip 04 OFF 2 ON 2 05 OFF 3 ON 3 06 Start possible Start not possible 07 No warning Warning 08 09 Local operation Bus control 10 Out of frequency limit Frequency limit ok 11 No operation In operation 12 Drive OK Stopped, autostart 13 Voltage OK Voltage exceeded 14 Torque OK Torque exceeded 15 Timer OK Timer exceeded
Table 4.7 Status Word Bits
Speed reference
Speed = reference
with bit 00 of the control word being set to "0" and bit 01, 02 and 10 being set 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. This 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 [Linked to hand] or [Local] has been selected in 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
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 (trip). When bit 00="1", the frequency converter control is ready, but there is not necessarily power supply to the unit present (in the event of external 24 V supply of the control system).
Bit 01, VLT not ready/Ready
Same significance as bit 00, however, there is a supply of the power 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 or 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"; the frequency converter has not tripped.
Bit 03, No error/Trip
When bit 03="0", no error condition of the frequency converter exists. 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".
Bit 05, ON 3/OFF 3
When bit 10="0", the output frequency is outside the limits set in 4-52 Warning Speed Low and 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, autostart
When bit 12="0", there is no temporary overloading of the inverter. When bit 12="1", the frequency converter has stopped due to overloading. However, the frequency converter has not switched off (trip) and starts again after the overloading 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 intermediate circuit 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 4-16 Torque Limit Motor Mode and 4-17 Torque Limit Generator Mode. When bit 14="1", the limit selected in 4-16 Torque Limit Motor Mode or 4-17 Torque Limit Generator Mode is exceeded.
When bit 02 of the control word is "0", bit 05="0".
18 Danfoss A/S © Rev. 05/2014 All rights reserved. MG37G102
130BD806.10
Control Programming Guide
Bit 15, Timer OK/Timer exceeded
When bit 15="0", the timers for the thermal motor protection and thermal frequency converter protection have not exceeded 100%.
When bit 15="1", one of the timers has exceeded 100%.
4.4.3 PROFIdrive State Transition Diagram
In the PROFIdrive control profile, the control bits:
0 to 3 perform the basic start-up/power down functions.
4-15 perform application-oriented control.
Illustration 4.4 shows the basic state transition diagram, where control bits 0 to 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
Illustration 4.4 PROFIdrive State Transition Diagram
MG37G102 Danfoss A/S © Rev. 05/2014 All rights reserved. 19
Control
Programming Guide
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] frequency converter profile. Use the control word to send commands
from a master (PLC or PC) to a follower (frequency
44
converter).
Bit Bit value=0 Bit value=1
00 Reference value External selection lsb 01 Reference value External selection msb 02 DC brake Ramp 03 Coasting No coasting 04 Quick stop Ramp 05 Hold output frequency Use ramp 06 Ramp stop Start 07 No function Reset 08 No function Jog 09 Ramp 1 Ramp 2 10 Data invalid Data valid 11 No function Relay 01 active 12 No function Relay 04 active 13 Parameter set-up selection lsb 14 Parameter set-up selection msb 15 No function Reverse
Table 4.8 Bit Values for FC Control Word
Explanation of the control bits Bits 00/01 Reference value
Bits 00 and 01 are used to select between the 4 reference values, which are pre-programmed in 3-10 Preset Reference according to Table 4.9.
NOTICE
In 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 Bit 00 Programmed
ref. value
0 0 1 0 1 2 1 0 3 1 1 4
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 2-01 DC Brake Current and 2-02 DC Braking Time. Bit 02=“1” - leads to ramping.
Parameter
[0] 3-10 Preset Reference [1] 3-10 Preset Reference [2] 3-10 Preset Reference [3] 3-10 Preset Reference
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 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” - causes a quick stop, ramping the motor speed down to stop via 3-81 Quick Stop Ramp Time. Bit 04=“1” - the frequency converter ramps the motor speed down to stop via 3-42 Ramp 1 Ramp Down Time or 3-52 Ramp 2 Ramp Down Time.
Bit 05, Hold output frequency
Bit 05=“0” - causes the present output frequency (in Hz) to freeze. The frozen output frequency can only be changed with the digital inputs (5-10 Terminal 18 Digital Input to 5-15 Terminal 33 Digital Input) programmed to Speed up and Speed down. Bit 05=“1” - use ramp.
NOTICE
If Freeze output is active, stop the frequency converter with
Bit 03 Coasting stop.
Bit 02 DC braking.
Digital input (5-10 Terminal 18 Digital Input to
5-15 Terminal 33 Digital Input) programmed to DC braking, Coasting stop, or Reset and coasting stop.
Bit 06, Ramp stop/start
Bit 06=“0” - causes a stop in which the motor speed is ramped down to stop via the selected ramp down parameter. Bit 06=“1" - permits the frequency converter to start the motor, if the other starting conditions have been fulfilled.
NOTICE
In 8-53 Start Select a selection is made to 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" - causes the reset of 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.
20 Danfoss A/S © Rev. 05/2014 All rights reserved. MG37G102
Control
Programming Guide
Bit 08="1" - 3-19 Jog Speed [RPM] determines the output frequency.
Bit 09, Selection of ramp 1/2
Bit 09="0" - ramp 1 is active (3-40 Ramp 1 Type to 3-47 Ramp 1 S-ramp Ratio at Decel. Start). Bit 09="1" - ramp 2 (3-50 Ramp 2 Type to 3-57 Ramp 2 S­ramp Ratio at Decel. Start) is active.
Bit 10, Data not valid/Data valid
Tells the frequency converter whether it should use or ignore the control word. Bit 10="0" - the control word is ignored. Bit 10="1" - the control word is used. 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 wished to use it when updating or reading parameters.
Bit 11, Relay 01
Bit 11="0" - relay 01 not activated. Bit 11="1" - relay 01 activated, provided control word bit 11 has been selected in 5-40 Function Relay.
Bit 12, Relay 04
Bit 12="0" - relay 04 has not been activated. Bit 12="1" - relay 04 has been activated, provided Control word bit 12 has been selected in 5-40 Function Relay.
Bit 13/14, Selection of set-up
Bits 13 and 14 are used to select from the 4 menu set-ups according to Table 4.10:
The function is only possible when Multi-Set-ups is selected in 0-10 Active Set-up.
Set-up Bit 14 Bit 13
1 0 0 2 0 1 3 1 0 4 1 1
Table 4.10 Selection of Set-up
NOTICE
In 8-55 Set-up Select a selection is made to define how bit 13/14 gates with the corresponding function on the digital inputs.
Bit 15 Reverse
Bit 15="0" - no reversing. Bit 15="1" - reversing.
4.5.2
Status Word according to FC Profile (STW)
The status word is used to inform the master (e.g. a PC) of the operation 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 Bit=1
00 Control not ready Control ready 01 Frequency converter
not ready 02 Coasting Enable 03 No error Trip 04 No error Error (no trip) 05 Reserved ­06 No error Triplock 07 No warning Warning 08 Speed reference Speed=reference 09 Local operation Bus control 10 Out of frequency limit Frequency limit ok 11 No operation In operation 12 Frequency converter OK Stopped, autostart 13 Voltage OK Voltage exceeded 14 Torque OK Torque exceeded 15 Timer OK Timer exceeded
Table 4.11 Definition of Status Bits
Frequency converter ready
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 supply (in case of 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 that 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.
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.
4 4
MG37G102 Danfoss A/S © Rev. 05/2014 All rights reserved. 21
Control Programming Guide
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 is running, but the present speed is different from the preset speed reference. It could, for example, be the case while the speed is being ramped up/ down during start/stop.
44
Bit 08="1" - the present motor present speed matches the preset speed reference.
Bit 09, Local operation/bus control
Bit 09="0" - [Stop/Reset] is pressed on the LCP, or that Local control in 3-13 Reference Site is selected. 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
4-11 Motor Speed Low Limit [RPM] or 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 is not running. 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 over-temperature on the frequency converter. Bit 12="1" - the frequency converter has stopped because of over-temperature, but the frequency converter has not tripped and resumes operation once the over-temperature stops.
Bit 13, Voltage OK/Limit exceeded
Bit 13="0" - there are no voltage warnings. Bit 13="1" - the DC voltage in the frequency converters intermediate circuit 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 4-16 Torque Limit Motor Mode or 4-17 Torque Limit Generator Mode. Bit 14="1" - the torque limits in 4-16 Torque Limit Motor Mode and 4-17 Torque Limit Generator Mode have been exceeded.
Bit 15, Timer OK/Limit exceeded
Bit 15="0" - the timers for motor thermal protection and frequency converter thermal protection, have not exceeded 100%. Bit 15="1" - one of the timers has exceeded 100%.
SYNC/UNSYNC is used to synchronise control commands and/or speed reference to all the connected frequency converters.
FREEZE/UNFREEZE is used to freeze the status feedback in the slaves to get synchronized feedback from all connected slaves.
The synchronise and freeze commands affect only process data (the PCD part of the PPO).
4.6.1 SYNC/UNSYNC
SYNC/UNSYNC can be used to obtain simultaneous reactions in several slaves, for example synchronised start, stop or speed change. A SYNC command freezes the relevant control word and speed reference. Incoming process data are stored but not used until a new SYNC command or a UNSYNC command is received. An UNSYNC command stops the synchronisation mechanism and enables normal DP data exchange.
FREEZE/UNFREEZE
4.6.2
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.
Upon receipt of an UNFREEZE command the values once again is continuously updated and the slave returns a present value, for example, a value generated by conditions at present time.
The values is updated when a new FREEZE or UNFREEZE command is received.
4.6
Synchronise and Freeze
The control commands SYNC/UNSYNC and FREEZE/ UNFREEZE are broadcast functions.
22 Danfoss A/S © Rev. 05/2014 All rights reserved. MG37G102
Parameter Access
5 Parameter Access
5.1 Parameter Access in General
Programming Guide
5.1.2
Read/Write in Double Word Format
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. For parameter access from controllers and HMI, observe the following:
Parameters are located in 4 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 desired set-up in 0-11 Edit Set-up or 9-70 Edit Set-up.
Using the above mechanism it is possible to read or write to and from parameters in a certain set-up from a master class 1, for example a PLC. And it is also possible to simultaneously access parameters 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 the following sites:
LCP
FC Protocol on RS485 or USB
Cyclical data access on DP-V0 (PCV Channel)
PROFIBUS Master Class 1
PROFIBUS Master Class 2 (3 connections possible)
Using the special request IDs 0X51 (read) and 0X52 (write), it is possible to read and write 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 signalled by the telegram is 43h (dword).
5.1.3 PROFIBUS DP-V1
Using the acyclic DP-V1 transmission, it is possible to read and write parameter values, as well as to read a number of descriptive attributes for each parameter. Access to parameters via DP-V1 is described in chapter 5.2 DP-V1 Parameter Access.
PROFIBUS DP-V0/PCV Channel
5.1.4
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 chapter 4.1 PPO 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 chapter 5.3 PCV Parameter Access.
5 5
NOTICE
Although the parameter channels are separated, data conflict can occur if write to parameters is made from an HMI unit into a set-up which is actively in use by the frequency converter or the process controller (e.g. 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, the 9-71 Profibus Save Data Values can be used for storing one or more set-ups.
Using DP-V1 access, store parameters either in RAM or non-volatile memory by choice of a specific write-request command. At any time, store non-stored data in non­volatile memory by activating 9-71 Profibus Save Data Values.
NOTICE
Object and data types common to both DP-V1 and PCV parameter access are listed in chapter 5 Parameter Access.
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 in use of the DP-V1 function, refer to the PROFIBUS master manual from the PLC supplier.
MG37G102 Danfoss A/S © Rev. 05/2014 All rights reserved. 23
Parameter Access
Programming Guide
5.2.1 PROFIBUS DP-V1 Introduction
5.2.5
Principle of Data Exchange by PROFIBUS DP-V1
The PROFIBUS DP extension DP-V1 offers acyclical communication in addition to the cyclical data communi­cation 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).
Cyclical communication means that data transfer takes place continuously with a certain refresh rate. This is the known DP-V0 function normally used for quick update of I/O process data.
In a DP cycle, the master class 1 (MC1) first updates the cyclical process data for all slaves in the system. The MC1 then sends one acyclical message to one slave. If a master class 2 (MC2) is connected, the MC1 hands over the bus rights to MC2, which is then permitted to send one acyclical message to one slave. The token is then handed back to the MC1, and a new DP cycle begins.
55
Acyclical communication takes the form of a once-off data transfer event, mainly used for read/write from and to parameters from process controllers, PC-based tools or monitoring systems.
Features of a Master Class 1
5.2.2 Connection
Cyclical data exchange (DP-V0)
Acyclical 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, etc. The master class 1 acyclical connection can be used for general parameter access in the slaves. However, the acyclical connection is fixed, and cannot be changed during operation.
Features of a Master Class 2
5.2.3 Connection
Initiate/abort acyclical connection
Acyclical read/write from and to parameters
The master class 2 acyclical connection is typically used for configuration or commissioning tools for easy access to each parameter in any slave in the system. The acyclical connection can be dynamically established (initiate) or removed (abort) even when a master class 1 is active on the network.
Illustration 5.1 DP Cycle
MC: Master class
C1...Cn: Cyclical data
AC1: Acyclical data master class 1
AC2: Acyclical data master class 2
PROFIBUS DP services are activated via specific service access points (SAP). Table 5.2 shows the SAP specified for acyclical communication.
Master SAP
50 (32H) 49 (31H) Master Class 2: Initiate request 50 (32H) 0..48 (0..30H) Master Class 2: Abort, read, write, data
51 (33H) 50, 51 (32H,
51 (33H) 51 (33H) Master Class 2: Read, write
Table 5.2 Service Access Points (SAP)
5.2.6
Follower SAP Meaning
transfer Master Class 2: Alarm
33H)
DP-V1 Features for Parameter Access
5.2.4
Services Overview
Master
Service
type
Master Class 1 Master Class 2
Table 5.1 Services Overview
24 Danfoss A/S © Rev. 05/2014 All rights reserved. MG37G102
Read Write Data
read data from follower
write data to follower
yes yes yes - - -
yes yes yes yes yes -
transport
read and write data
Initiate Abort Alarm
open a connection
close a connection
This section describes how to use DP-V1 for accessing VLT 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, Table 5.3.
Parameter Access
Programming Guide
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
DU0DU1D
Table 5.3 General Structure for Telegram
Data unit PROFIBUS­DP-V1 Command/ response
PROFIdrive V3.0 parameter channel
D
Req./Res.
U
U
Header
2
3
Data
telegram trailer
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.
DP-V1 Read/Write Services
5.2.7
Table 5.4 shows the content of the DP-V1 command/ Response headers and their possible attributes.
DU byte
0 Function
1 Always zero Slot number DPV1 2 47 Index DPV1 3 xx Data length DPV1
4..n User data PNO drive profile V3.0
Table 5.4 DP-V1 Command/Response Headers
Value Meaning Specified
number 0x48 0x51 Data transport REQ,
0x56 Resource manager
0x57 Initiate REQ, RES 0x58 Abort REQ 0x5C Alarm REQ, RES 0x5E Read REQ, RES 0x5F Write REQ, RES 0xD1 Data transport
0xD7 Initiate negative
0xDC Alarm negative
0xDE Read negative
0xDF Write negative
Idle REQ, RES
RES
REQ
negative response
response
response
response
response
Descriptive text for parameter values.
Access to multiple parameters in one telegram is
also possible.
Table 5.5 shows the structure of the PROFIdrive parameter channel.
PROFIBUS DP-V1 telegram for read/write from or to a frequency converter parameter:
PROFIBUS telegram header
DU0DU1DU2DU3Req./
Table 5.5 Structure of the PROFIdrive Parameter Channel
Data unit PROFIBUS DP-V1 command/response
PROFIdrive V3.0 parameter channel
Data Res. Header
telegram trailer
Table 5.6 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 desired parameters are defined. A data field, where all parameter data values are
placed.
DP-V1
Request header
Address field No. of parameters 3
Data field Data format 4+6*n
Table 5.6 Principle Structure of the PROFIdrive Parameter Channel
Parameter request Byte no.
Request reference 0 Request ID 1 Axis 2
Attribute 4 No. of elements 5 Parameter no. 6
7
Sub index 8
9 n'th parameter no. 4+6*(n-1) ...
No. of values (4+6*n)+1 Values (4+6*n)+2 n'th data value ...
5 5
5.2.8
DP-V1 Acyclical Parameter Channel
The DP-V1 parameter response telegram consists of 2 data blocks:
Use the PROFIdrive parameter channel for read and write access to parameter values and attributes.
Parameter values of simple variable, array and
A response header, which indicates if the request
is performed without errors (response ID), the number of parameters, and the request reference
visible string. Parameter description elements such as type,
minimum/maximum value, and so on.
MG37G102 Danfoss A/S © Rev. 05/2014 All rights reserved. 25
Parameter Access
Programming Guide
set by the master within the corresponding request telegram
A data field, where the requested data are placed.
If one or more internal requests have failed, an
PROFIdrive Parameter Channel
1) U8 - Unsigned8, U16 - Unsigned16
5.2.10 Request Reference
error code is placed instead of the data values
Unique identification of request/response pair for the
DP-V1 Parameter response Byte no.
Response header Request ref. mirrored 0
Parameter values No. of parameters 3
55
Table 5.7 DP-V1 Parameter Response Telegram
Response ID 1 Axis mirrored 2
Format 4 No. of values 5 Values of error values 6 n'th parameter value ...
As the response telegram does not include parameter addressing information, the master must identify the structure of the response data from the request telegram.
Request/Response Attributes
5.2.9
Table 5.8 contains an overview of the possible attributes of the PROFIdrive parameter channel.
master. 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 non-volatile
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
Data
Field
Request reference Request ID U8 0x01 Request parameter
ResponseIDU8 0x01 Request parameter
Axis U8 0x00..0xFFNumber (always 0)
No. of parameter s Attribute U8 0x10 Value
No. of elements
Values Remark
1)
type
U8 0x01..0xFF
0x02 Change parameter
0x42 Change parameter
0x51 Request par. value
0x52 Change par. value
0x02 Change parameter
0x81 Request parameter
0x82 Change parameter (-)
U8 0x01..0x25 Limitation: DP-V1
0x20 Description Data description 0x30 Text
U8 Limitation: DP-V1
0x01-0xFAQuantity 1-234
value
value
non-volatile
double word
double word
(+) Positive
(+) Positive
(-) Negative
Negative
Identification for read or write request
Identification for the response
telegram length
telegram length
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 negative (first bit=1) and an error code is entered per partial response, instead of the value.
5.2.13
Axis
The axis attribute should be set to 0.
5.2.14
Number of Parameters
For multi-parameter requests specifying 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 (10H)
Parameter no.
Subindex U16 0x0000 Number 0-65535 Array pointer
Format U8 See table No. of values Error no. U16 0x0000... Error number
Table 5.8 Overview: Possible Attributes of the
26 Danfoss A/S © Rev. 05/2014 All rights reserved. MG37G102
U16 0x0001... Number 1-65535 Parameter
number
0xFFFF
0xFFFF
U8 0x01..0xEAQuantity 0-234 Limitation: DP-V1
telegram length
The attribute value permits reading or writing of parameter values.
Parameter Access
Programming Guide
5.2.17 Attribute Description (20H)
The attribute description permits access to the parameter description. It is possible to read out one single description element, or all elements for one parameter in one telegram. Table 5.10 provides an overview of the existing parameter description, which exists for each parameter in the frequency converter.
Sub-index Meaning Data type
1 Identifier ID V2 2 Number of array elements or
3 Standardisation factor float 4 Variable attribute Octet string 2 5 Reserved Octet string 4 6 Name Visible string 16 7 Lower limit Octet string 4 8 Upper limit Octet string 4 9 Reserved Octet string 2 10 ID extension V2 11 PCD reference parameter U16 12 PCD normalisation V2 0 Complete description Octet string 46
Table 5.10 Parameter Description Elements (all Elements are Read-only)
length or string
Table 5.11 explains each description element.
Identifier ID
Bit
15 Reserved 14 Array 13 Parameter value can be reset only. 12 Parameter has been changed from factory setting. 11 Reserved 10 Additional text array available 9 Parameter is read-only. 8 Standardisation factor and variable attribute not relevant. 0-7 Data type
Meaning
U16
index of -1 means, that the actual value must be divided by 10 to become a standard physical unit for example, Volt.
Name
Contains the parameter name, limited to 16 characters, for example, LANGUAGE for 0-01 Language. This text is available in the language selected in 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 max 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, and therefore the process data must deliver a reference to parameter X.
Field PCD normalisation
The field PCD normalization must express, in any case, the value that represents the 100%, that is, the normalization delivered back must be the set bit 15 and a value of 0xe (14, 214 =0x4000), and the result must be 0x800e.
Complete description
Returns the complete parameter description with the fields 1 to 12 in order. Length=46 byte.
5.2.18
Attribute Text (30H)
5 5
Table 5.11 Additional Characteristics of a Parameter
Number of array elements
Contains the number of array elements, if the parameter is an array; the string length, if the parameter value is a string; or 0 if the parameter is neither.
Standardisation factor
Conversion factor for scaling a given parameter value to standard SI units. For example, if the given value is in mV, the standardi-
For some frequency converter parameters a descriptive text is available, which can be read using this attribute. The availability of a text description for a parameter is indicated by a bit set in the identifier (ID) parameter description element, which can be read out by the description attribute (20H) sub-index=1. If bit 10 is set, a descriptive text exists for each value of the parameter. As an example, 0-01 Language has settings from 0 to 5. For each of these values a specific text exists: 0=English, 2=Deutsch, and so on.
sation factor is 1000, which converts the given value to V. The standardisation factor is in float format.
5.2.19
Format
Variable attribute
Consists of 2 bytes. The first byte contains the variable index, which defines the physical unit of the parameter (for
Specifies the format type for each parameter (word, byte, and so on), see Table 5.12.
example Ampere, Volt). The second byte is the conversion index, which is a scaling factor for the parameter.All parameters accessible by PROFIBUS are organised and transmitted as real numbers. The conversion index defines a factor for conversion the actual value to a standard physical unit. A conversion
MG37G102 Danfoss A/S © Rev. 05/2014 All rights reserved. 27
Parameter Access
5.2.20 Supported data types
Value Data type
3 Integer16 4 Integer32 5 Unsigned8 6 Unsigned16 7 Unsigned32
9 Visible string 10 Octet string (byte string) 33 N2 (standardised value) 35 V2 (bit sequence) 44 Error 54 Time difference without date indication
Programming Guide
Error
Meaning Additional
code
0x16 Wrong parameter address (unknown or
unsupported value for attribute, element, parameter number or sub-index or illegal
combination) 0x17 Illegal format (for writing) 0 0x18 Value amount not consistent 0 0x65 Wrong axis: action not possible with this axis ­0x66 Unknown service request ­0x67 This service is not possible with multi parameter
access 0x68 Parameter value can not be read from bus. -
Table 5.13 Error Codes for DP-V1 Parameter Requests
Info
0
-
55
Table 5.12 Supported Data Types
5.2.21
Value
5.3 PCV Parameter Access
The PROFINET cyclical data exchange performs parameter access via the PCV channel. The PCV channel forms part of
The value field contains the parameter value of the
the PPOs described in chapter 4 Control.
request. When the response is negative, the field contains a corresponding error code. If the values consist of an odd number of bytes, a zero byte is appended to maintain the word structure of the telegrams.
For a positive partial response, the parameter value field
Use the PCV channel to read and write parameter values, and read status for descriptive attributes of each parameter.
PCA Handling
5.3.1
contains the following attributes: Format=Data type or byte, word, double word Number of values=Actual number of values Value=Parameter value
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 follower.
Then the follower responds to a request from the master. For a negative partial response, the parameter value field contains the following: Format=Error (44H) Number of values=1 Value=Error value=Error number
Requests and responses is a handshake procedure and
cannot be batched. Therefore, when the master sends out
a read/write request, it must wait for the response before
it sends a new request. The request or response data value
is limited to maximum 4 bytes (see RC characteristics in
Table 5.14), which implies that text strings are not
5.2.22
Error Codes for Drive Profile V3.0
transferable. For further information, see
chapter 7 Application Examples. When the parameter request is invalid, the frequency
PCA - Parameter Characteristics
converter returns a corresponding error code. Table 5.13
5.3.2
lists the full range of error codes.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Meaning Additional
Error code
0x00 Unknown parameter 0 0x01 Parameter is read-only. sub-index 0x02 Value out of range due to maximum/minimum
value. 0x03 Wrong sub-index sub-index 0x04 Parameter is no array. 0 0x05 Wrong data type (wrong data length) 0 0x06 This parameter may not be set, only reset. sub-index 0x07 Descriptive element is read-only. sub-index 0x09 No description available (only value). 0 0x0b Process control not possible. 0 0x0f No text array available (only value). 0 0x11 Not possible in current state. 0 0x14 Value out of range due to drive state/configu-
ration. 0x15 Reply too long (more than 240 bytes). 0
Info
sub-index
sub-index
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
follower. Other portions of the PCV involved:
28 Danfoss A/S © Rev. 05/2014 All rights reserved. MG37G102
Parameter Access
-
PVA: The PVA portion transmits word-
Programming Guide
size 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 sub-index. When parameter descriptions are involved, the IND holds the record sub-index 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 Table 5.15.
Response Function
0 No response 1 Transfer parameter value (word) 2 Transfer parameter value (long word) 3 Transfer description element 4 Transfer parameter value (array word) 5 Transfer parameter value (array long word) 6 Transfer number of array elements 7 Request rejected (including fault number, see
Table 5.17)
8 Not serviceable by PCV interface 9 Not used
10 Not used 11 Not used 12 Not used 13-15 Not used
5 5
Request Function
0 No request 1 Request parameter value 2 Change parameter value (word) 3 Change parameter value (long word) 4 Request description element 5 Change description element 6 Request parameter value (array) 7 Change parameter value (array word) 8 Change parameter value (array long word) 9 Request number of array elements 10-15 Not used
Table 5.15 Request
Response
When the follower rejects a request from the master, the RC word in the PPO-read indicates the rejection by assuming the value 7. Bytes 7 and 8 in the PVA element carry the fault number.
The content of the RC portion of the PCA word for a response is listed in Table 5.16.
Table 5.16 Response
Fault
Interpretation numb er
0 Illegal PNU 1 Parameter value cannot be changed. 2 Upper or lower limit exceeded. 3 Subindex corrupted. 4 No array 5 Data type false 6 Cannot be set by user (reset only). 7 Description element cannot be changed. 8 IR required PPO-write not available. 9 Description data not available. 10 Access group 11 No parameter write access 12 Key word missing. 13 Text in cyclical transmission not readable. 14 Name in cyclical transmission not readable. 15 Text array not available 16 PPO-write missing 17 Request temporarily rejected 18 Other fault 19 Data in cyclical transmission not readable. 130 There is no bus access to the parameter called. 131 Data change is not possible because factory set-up has
been selected.
Table 5.17 Fault Numbers
5.3.5
Example
This example shows
MG37G102 Danfoss A/S © Rev. 05/2014 All rights reserved. 29
Parameter Access
How to use PPO type 1 to change the ramp-up
time to 10 s, in3-41 Ramp 1 Ramp Up Time. How to command a start and speed reference of
50%.
Frequency converter parameter settings:
8-50 Coasting Select: Bus Parameter 8-10 Control Word Profile: PROFIdrive profile
5.3.5.1 PCV
55
PCA parameter characteristics
PCA part (byte 1-2). The RC part tells what the PCV part must be used for. The functions available are listed in chapter 5.3.1 PCA Handling.
When a parameter is changed, select value 2 or 3. In this example, 3 is selected, because 3-41 Ramp 1 Ramp Up Time covers a long word (32 bits). 3-41 Ramp 1 Ramp Up Time=155 hex: In this example, byte 1 and 2 are set to 3155. See the values for bytes 1 and 2 in Table 5.18.
IND (bytes 3-4)
Used when reading/changing parameters with sub-index, 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 Table 5.18.
PVA (bytes 5-8)
The data value of 3-41 Ramp 1 Ramp Up Time must be changed to 10.00 s. The value transmitted must be 1000, because the conversion index for 3-41 Ramp 1 Ramp Up Time is 2. This means that the value received by the frequency converter is divided by 100, such that the frequency converter perceives 1000 as 10.00. Bytes 5-8=1000=03E8 hex. See chapter 5.4 PROFIBUS DP
Parameter and Data Type. See the values for bytes 5-8 in Table 5.18.
5.3.5.2
PCD
Programming Guide
NOTICE
* For restart after power up:
Set bits 1 and 2 of the CTW to 1.
Toggle bit 0 from 0 to 1.
5.3.5.3 MRV
MRV is the speed reference, with data format Standardised value. 0 hex=0% and 4000 hex=100%. In the example, 2000 hex is used, corresponding to 50% of maximum frequency in 3-03 Maximum Reference. See the values for bytes 11 and 12 in Table 5.18. The whole PPO therefore has the following values in hex:
Byte Value
PCA 1 31 PCA 2 55 IND 3 00
PCV
PCD
Table 5.18 Request Example: PPO Values in Hex
The process data within the PCD part acts immediately upon the frequency converter, and can be updated from the master as quickly as possible. The PCV part is a "handshake" procedure, which means that the frequency converter has to acknowledge the command, before a new one can be written.
Table 5.18 shows a positive response to the request example from Table 5.18.
IND 4 00 PVA 5 00 PVA 6 00 PVA 7 03 PVA 8 E8 CTW 9 04 CTW 10 7F MRV 11 20 MVR 12 00
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
PROFIdrive Profile (CTW) and chapter 4.4.2 Status Word according to PROFIdrive Profile (STW). The following bit
pattern sets all necessary start commands: 0000 0100 0111 1111=047F hex.* 0000 0100 0111 1110=047E hex.* 0000 0100 0111 1111=047F hex. These are the values for bytes 9 and 10 in Table 5.18. Quick stop: 0000 0100 0110 1111=046F hex. Stop: 0000 0100 0011 1111=043F hex.
30 Danfoss A/S © Rev. 05/2014 All rights reserved. MG37G102
PCV
PCD
Table 5.19 Response Example: Positive Response
PCA 1 21 PCA 2 55 IND 3 00 IND 4 00 PVA 5 00 PVA 6 00 PVA 7 03 PVA 8 E8 STW 9 0F STW 10 07 MAV 11 20 MAR 12 00
Byte Value
Parameter Access
Programming Guide
The PCD part responds according to the state and parame­terization of the frequency converter.
PCV part response:
PCA: As the request telegram, but here the RC
part is taken from Table 5.16. In this example, RC is 2 Hex, which is a confirmation that a parameter value of the type long word (32 bit) has been transferred. IND is not used in this example.
PVA: 03E8 hex in the PVA part tells that the value
of 3-41 Ramp 1 Ramp Up Time is 1000, which corresponds to 10.00.
STW: 0F07 hex means that the motor is running
and there are no warnings or faults. MAV: 2000 hex indicates that the output
frequency is 50% of the maximum reference.
Table 5.20 shows a negative response to the request example from Table 5.18.
Byte Value
PCA 1 70 PCA 2 00 IND 3 00
PCV
PCD
Table 5.20 Response Example: Negative Response
IND 4 00 PVA 5 00 PVA 6 00 PVA 7 00 PVA 8 02 STW 9 0F STW 10 07 MAV 11 20 MAR 12 00
RC is 7 hex, which means that the request has been rejected, and the fault number can be found in the PVA part.
In this case, the fault number is 2, which means that the upper or lower limit of the parameter is exceeded, see Table 5.17.
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 sub-index of the desired 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 Table 5.21.
Physical quantity
Time 4
Energy 8
Power 9
Rotation 11 rotation per
Torque 16
Temperat ure
Voltage 21
Current 22
Resistance 23
Ratio 24 per cent % 0 1 Relative change
Frequency 28
Table 5.21 Size Index and Conversion Index
Size
SI unit name SI unit
index
0 No dimension
second s 0 1
millisecond ms -3 0.001 minute min 70 60 hour h 74 3600 day d 77 86400 watthour Wh 0 1 kilowatthour kWh 3 1000 megawatthour MWh 6
milliwatt mW -3 0.001 watt W 0 1 kilowatt kW 3 1000 megawatt MW 6
minute newtonmetre Nm 0 1 kilonewtonmetre kNm 3 1000
17 degree Celsius ºC 0 1
millivolt mV -3 0.001 volt V 0 1 kilovolt kV 3 1000 milliampere mA -3 0.001 ampere A 0 1 kiloampere kA 3 1000 milliohm mOhm -3 0.001 ohm Ohm 0 1 kiloohm kOhm 3 1000
27 per cent % 0 1
hertz Hz 0 1 kilohertz kHz 3 1000 megahertz MHz 6 gigahertz GHz 9
symbol
RPM 67 1
Conver­sion index
-1 0.1
-2 0.01
Conver­sion factor
6
10
6
10
6
10
9
10
5 5
MG37G102 Danfoss A/S © Rev. 05/2014 All rights reserved. 31
Parameter Access Programming Guide
5.4.3 Object and Data Types Supported
Data type Short name Description
3 I2 Integer 16 4 I4 Integer 32 5 - Unsigned 8 6 O2 Unsigned 16 7 O4 Unsigned 32
9 - Visible string 10 - Byte string 33 N2 Standardised value (16 bit)
55
35 V2 Bit sequence 54 - Time difference without date
indication
Table 5.22 Data Types Supported
Standardised Value
5.4.4
Bit Byte 1 Byte 2 8 7 6 5 4 3 2 1
Table 5.25 Notation is Binary
15 7 14 6 13 5 12 4 11 3 10 2 9 1 8 0
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%=214 (4000 h)
Data type Range -200%...+200% Resolution Length 2 bytes
Table 5.23 N2 Data Type
N2
-14
2
=0.0061%
MSB is the first bit after the sign bit in the first byte. Sign bit=0=positive number Sign bit=1=negative number
Bit Byte 1 Byte 2 8 7 6 5 4 3 2 1
Table 5.24 Notation is 2s Complement
SIGN
14
2
13
2
12
2
11
2
10
2
9
2 2 2
2 2 2 24 2 2 2
7
6
5
3
2
1
0
Bit sequence
16 boolean values for control and presentation of user functions.
32 Danfoss A/S © Rev. 05/2014 All rights reserved. MG37G102
Parameters Programming Guide
6 Parameters
6.1 8-** PROFIBUS Parameters
8-01 Control Site
Option: Function:
The setting in this parameter overrides the settings in parameter 8-50 Coasting Select to parameter 8-56 Preset Reference Select.
[0] Digital and
ctrl.word
[1] Digital only Control by using digital inputs only.
[2] Controlword
only
Control by using both digital input and control word.
Control by using control word only.
8-02 Control Word 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 parameter 8-02 Control Word Source back to default setting RS-485, and trips. If an option is installed after initial power-up, the setting of parameter 8-02 Control Word Source does not change, but the frequency converter trips and displays: Alarm 67 Option Changed. When retrofitting a bus option into a frequency converter that did not have a bus option installed to begin with, take an active decision to move the control to bus-based. This is required for safety reasons to avoid an accidental change.
None
[0] [1] FC RS485 [2] FC USB [3] Option A [4] Option B [5] Option C0 [6] Option C1 [30] External Can
8-03 Control Word Timeout Time
Range: Function:
1 s* [ 0.1 -
18000 s]
Enter the maximum time expected to pass between the reception of two consecutive telegrams. If this time is exceeded, it indicates that the telegram communication has stopped. The function selected in parameter 8-04 Control Word Timeout Functionis then carried out. A valid control word triggers the time-out counter.
8-04 Control Word 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: Function:
[0] Off Resumes control via serial bus (fieldbus or
standard) using the most recent control word.
[1] Freeze output Freezes output frequency until communi-
cation resumes.
[2] Stop Stops with auto restart when communi-
cation resumes.
[3] Jogging Runs the motor at jog frequency until
communication resumes.
[4] Max. speed Runs the motor at maximum frequency until
communication resumes.
[5] Stop and trip Stops the motor, then resets the frequency
converter to restart: Via the fieldbus, via [Reset], or via a digital input.
[7] Select setup 1 Changes the set-up upon reestablishment of
communication following a control word timeout. If communication resumes after a timeout, parameter 8-05 End-of-Timeout Function defines whether to resume the set­up used before the timeout, or to retain the set-up endorsed by the timeout function.
[8] Select setup 2
[9] Select setup 3
[10] Select setup 4
[26] Trip
See [7] Select set-up 1
See [7] Select set-up 1
See [7] Select set-up 1
NOTICE
To change the set-up after a timeout, configure as follows: Set 0-10 Active Set-up to [9] Multi set-up and select the relevant link in 0-12 This Set-up Linked to.
6 6
MG37G102 Danfoss A/S © Rev. 05/2014 All rights reserved. 33
Parameters Programming Guide
8-05 End-of-Timeout Function
Option: Function:
Select the action after receiving a valid control word following a timeout. This parameter is active only when 8-04 Control Timeout Function is set to [7] Set-up 1, [8] Set-up 2, [9] Set-up 3 or [10] Set-up 4.
[0] Hold set-
up
[1] * Resume
set-up
66
8-06 Reset Control Word Timeout
This parameter is active only when [0] Hold set-up has been selected in parameter 8-05 End-of-Timeout Function.
Retains the set-up selected in 8-04 Control
Timeout Function and displays a warning, until 8-06 Reset Control Timeout toggles. Then the
frequency converter resumes its original set-up.
Resumes the set-up active before the timeout.
Option: Function:
[0] * Do not reset
[1] Do reset Returns the frequency converter to the
Retains the set-up specified in parameter 8-04 Control Word Timeout Function, following a control word timeout.
original set-up following a control word timeout. The frequency converter performs the reset and then immediately reverts to the [0] Do not reset setting.
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 in slot A are visible in the LCP display. For guidelines in selection of [0] Frequency converter profile and [1] PROFIdrive profile, refer to the design guide of the related product. For additional guidelines in the selection of [1] PROFIdrive profile, [5] ODVA and [7] CANopen DSP 402, see the installation guide for the installed fieldbus.
Option: Function:
[8] MCO
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 Activates start command via the serial
[2] Logic
AND
[3] * Logic OR Activates start command via the fieldbus/serial
Activates start command via a digital input.
communication port or fieldbus option.
Activates start command via the fieldbus/serial communication port, AND additionally via one of the digital inputs.
communication port OR via one of the digital inputs.
8-07 Diagnosis Trigger
Option: Function:
Enables and controls the frequency converter diagnosis function.
[0] * Disable Extended diagnosis data are not sent even if
they appear in the frequency converter.
[1] Trigger on
alarms
[2] Trigger
alarm/warn.
Extended diagnosis data are sent when one or more alarms appear.
Extended diagnosis data are sent if one or more alarms/warnings appear.
8-51 Quick Stop Select
Select control of the Quick Stop function via the terminals (digital input) and/or via the bus.
Option: Function:
[0] Digital input [1] Bus [2] Logic AND [3] * Logic OR
8-52 DC Brake Select
Option: Function:
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 in slot A are visible in the LCP display. For guidelines in selection of [0] Frequency converter profile and [1] PROFIdrive profile, refer to the design guide of the related product. For additional guidelines in the selection of [1] PROFIdrive profile, [5] ODVA and [7] CANopen DSP 402, see the installation guide for the installed fieldbus.
Option: Function:
[0] * FC profile [1] PROFIdrive profile [5] ODVA [7] CANopen DSP 402
[0] Digital
input
[1] Bus Activates start command via the serial communi-
[2] Logic
AND
Select control of the DC brake via the terminals (digital input) and/or via the fieldbus.
NOTICE
Only selection [0] Digital input is available when 1-10 Motor Construction is set to [1] PM non-salient SPM.
Activates start command via a digital input.
cation port or fieldbus option.
Activates start command via the fieldbus/serial communication port, AND additionally via one of the digital inputs.
34 Danfoss A/S © Rev. 05/2014 All rights reserved. MG37G102
Parameters Programming Guide
8-52 DC Brake Select
Option: Function:
[3] Logic OR Activates start command via the fieldbus/serial
communication port OR via one of the digital inputs.
8-53 Start Select
Option: Function:
Select control of the frequency converter start function via the terminals (digital input) and/or via the fieldbus.
[0] Digital
input
[1] Bus Activates a start command via the serial
[2] Logic
AND
[3] * Logic OR Activates a start command via the fieldbus/serial
Activates a start command via a digital input.
communication port or fieldbus option.
Activates a start command via the fieldbus/serial communication port, AND additionally via one of the digital inputs.
communication port OR via one of the digital inputs.
8-54 Reversing Select
Option: Function:
[0] Digital
input
[1] Bus Activates the reverse command via the serial
[2] Logic
AND
[3] * Logic OR Activates the reverse command via the
Select control of the frequency converter reverse function via the terminals (digital input) and/or via the fieldbus.
communication port or fieldbus option.
Activates the reverse command via the fieldbus/serial communication port, AND additionally via one of the digital inputs.
fieldbus/serial communication port OR via one of the digital inputs.
8-55 Set-up Select
Option: Function:
Select control of the frequency converter set-up selection via the terminals (digital input) and/or via the fieldbus.
[0] Digital
input
[1] Bus Activates the set-up selection via the serial
[2] Logic
AND
[3] * Logic OR Activate the set-up selection via the fieldbus/
Activates the set-up selection via a digital input.
communication port or fieldbus option.
Activates the set-up selection via the fieldbus/ serial communication port, AND additionally via one of the digital inputs.
serial communication port OR via one of the digital inputs.
8-56 Preset Reference Select
Option: Function:
Select control of the preset reference selection via the terminals (digital input) and/or via the fieldbus.
[0] Digital
input
[1] Bus Activates preset reference selection via the
[2] Logic
AND
[3] * Logic OR Activates the preset reference selection via the
Activates preset reference selection via a digital input.
serial communication port or fieldbus option.
Activates preset reference selection via the fieldbus/serial communication port, AND additionally via one of the digital inputs.
fieldbus/serial communication port OR via one of the digital inputs.
8-90 Bus Jog 1 Speed
Range: Function:
100 RPM* [ 0 - par. 4-13
RPM]
Enter the jog speed. Activate this fixed jog speed via the serial port or fieldbus option.
8-91 Bus Jog 2 Speed
Range: Function:
200 RPM* [ 0 - par. 4-13
RPM]
Enter the jog speed. Activate this fixed jog speed via the serial port or fieldbus option.
6.2 9-** and 16-** PROFIBUS Parameters
9-15 PCD Write Configuration
Array [10]
Option: Function:
Select the parameters to be assigned to PCD 3 to 10 of the telegrams. The number of available PCDs depends on the telegram type. The values in PCD 3 to 10 are then written to the selected parameters as data values. Alterna­tively, specify a standard PROFIBUS telegram in
9-22 Telegram Selection.
[0] None [302] Minimum Reference [303] Maximum Reference [312] Catch up/slow Down Value [341] Ramp 1 Ramp Up Time
6 6
MG37G102 Danfoss A/S © Rev. 05/2014 All rights reserved. 35
Parameters Programming Guide
9-15 PCD Write Configuration
Array [10]
Option: Function:
[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 [411] Motor Speed Low Limit [RPM] [412] Motor Speed Low Limit [Hz] [413] Motor Speed High Limit [RPM] [414] Motor Speed High Limit [Hz] [416] Torque Limit Motor Mode [417] Torque Limit Generator Mode
66
[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 [595] Pulse Out #29 Bus Control [597] Pulse Out #X30/6 Bus Control [615] Terminal 53 High Ref./Feedb.
Value
[625] Terminal 54 High Ref./Feedb.
Value [653] Term 42 Output Bus Ctrl [663] Terminal X30/8 Bus Control [673] Terminal X45/1 Bus Control [683] Terminal X45/3 Bus Control [748] PCD Feed Forward [890] Bus Jog 1 Speed [891] Bus Jog 2 Speed [1680] Fieldbus CTW 1 [1682] Fieldbus REF 1 [1685] FC Port CTW 1 [1686] FC Port REF 1
9-16 PCD Read Configuration
[10] Array
Option: Function:
Select the parameters to be assigned to PCD 3 to 10 of the telegrams. The number of available PCDs depends on the telegram type. PCDs 3 to 10 contain the actual data values of the selected parameters. For standard PROFIBUS telegrams, see
9-22 Telegram Selection.
9-16 PCD Read Configuration
[10] Array
Option: Function:
[0] None [15] Readout: actual setup [1472] Legacy Alarm Word [1473] Legacy Warning Word [1474] Leg. Ext. Status Word [1500] Operating hours [1501] Running Hours [1502] kWh Counter [1600] Control Word [1601] Reference [Unit] [1602] Reference % [1603] Status Word [1605] Main Actual Value [%] [1609] Custom Readout [1610] Power [kW] [1611] Power [hp] [1612] Motor Voltage [1613] Frequency [1614] Motor current [1615] Frequency [%] [1616] Torque [Nm] [1617] Speed [RPM] [1618] Motor Thermal [1619] KTY sensor temperature [1620] Motor Angle [1621] Torque [%] High Res. [1622] Torque [%] [1623] Motor Shaft Power [kW] [1624] Calibrated Stator Resistance [1625] Torque [Nm] High [1630] DC Link Voltage [1632] Brake Energy /s [1633] Brake Energy /2 min [1634] Heatsink Temp. [1635] Inverter Thermal [1638] SL Controller State [1639] Control Card Temp. [1645] Motor Phase U Current [1646] Motor Phase V Current [1647] Motor Phase W Current [1648] Speed Ref. After Ramp [RPM] [1650] External Reference [1651] Pulse Reference [1652] Feedback[Unit] [1653] Digi Pot Reference [1657] Feedback [RPM] [1660] Digital Input [1661] Terminal 53 Switch Setting [1662] Analog Input 53 [1663] Terminal 54 Switch Setting [1664] Analog Input 54
36 Danfoss A/S © Rev. 05/2014 All rights reserved. MG37G102
Parameters Programming Guide
9-16 PCD Read Configuration
[10] Array
Option: Function:
[1665] Analog Output 42 [mA] [1666] Digital Output [bin] [1667] Freq. Input #29 [Hz] [1668] Freq. Input #33 [Hz] [1669] Pulse Output #27 [Hz] [1670] Pulse Output #29 [Hz] [1671] Relay Output [bin] [1672] Counter A [1673] Counter B [1674] Prec. Stop Counter [1675] Analog In X30/11 [1676] Analog In X30/12 [1677] Analog Out X30/8 [mA] [1678] Analog Out X45/1 [mA] [1679] Analog Out X45/3 [mA] [1684] Comm. Option STW [1687] Bus Readout Alarm/Warning [1689] Configurable Alarm/Warning Word [1690] Alarm Word [1691] Alarm Word 2 [1692] Warning Word [1693] Warning Word 2 [1694] Ext. Status Word [1836] Analog Input X48/2 [mA] [1837] Temp. Input X48/4 [1838] Temp. Input X48/7 [1839] Temp. Input X48/10 [1860] Digital Input 2
9-18 Node Address
Range: Function:
126* [ 0 -
126 ]
Enter the station address in this parameter or alternatively in the hardware switch. In order to adjust the station address in parameter 9-18 Node Address, the hardware switch must be set to 126 or 127 (that is, all switches set to ‘on’). Otherwise this parameter displays the actual setting of the switch.
9-22 Telegram Selection
Option: Function:
Select a standard PROFIBUS telegram configuration for the frequency converter, as an alternative to using the freely configurable telegrams in 9-15 PCD
Write Configuration and 9-16 PCD Read Configuration.
[1] Standard telegram 1 [101] PPO 1 [102] PPO 2
9-22 Telegram Selection
Option: Function:
[103] PPO 3 [104] PPO 4 [105] PPO 5 [106] PPO 6 [107] PPO 7 [108] * PPO 8
9-23 Parameters for Signals
Array [1000] Read only
Option: 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.
[0] * None [15] Readout: actual setup [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 [411] Motor Speed Low Limit [RPM] [412] Motor Speed Low Limit [Hz] [413] Motor Speed High Limit [RPM] [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 [595] Pulse Out #29 Bus Control [597] Pulse Out #X30/6 Bus Control [615] Terminal 53 High Ref./Feedb. Value [625] Terminal 54 High Ref./Feedb. Value [653] Term 42 Output Bus Ctrl [663] Terminal X30/8 Bus Control [673] Terminal X45/1 Bus Control [683] Terminal X45/3 Bus Control [748] PCD Feed Forward [890] Bus Jog 1 Speed [891] Bus Jog 2 Speed
6 6
MG37G102 Danfoss A/S © Rev. 05/2014 All rights reserved. 37
Parameters Programming Guide
9-23 Parameters for Signals
Array [1000] Read only
Option: Function:
[1472] Legacy Alarm Word [1473] Legacy Warning Word [1474] Leg. Ext. Status Word [1500] Operating hours [1501] Running Hours [1502] kWh Counter [1600] Control Word [1601] Reference [Unit] [1602] Reference % [1603] Status Word
66
[1605] Main Actual Value [%] [1609] Custom Readout [1610] Power [kW] [1611] Power [hp] [1612] Motor Voltage [1613] Frequency [1614] Motor current [1615] Frequency [%] [1616] Torque [Nm] [1617] Speed [RPM] [1618] Motor Thermal [1619] KTY sensor temperature [1620] Motor Angle [1621] Torque [%] High Res. [1622] Torque [%] [1623] Motor Shaft Power [kW] [1624] Calibrated Stator Resistance [1625] Torque [Nm] High [1630] DC Link Voltage [1632] Brake Energy /s [1633] Brake Energy /2 min [1634] Heatsink Temp. [1635] Inverter Thermal [1638] SL Controller State [1639] Control Card Temp. [1645] Motor Phase U Current [1646] Motor Phase V Current [1647] Motor Phase W Current [1648] Speed Ref. After Ramp [RPM] [1650] External Reference [1651] Pulse Reference [1652] Feedback[Unit] [1653] Digi Pot Reference [1657] Feedback [RPM] [1660] Digital Input [1661] Terminal 53 Switch Setting [1662] Analog Input 53 [1663] Terminal 54 Switch Setting [1664] Analog Input 54 [1665] Analog Output 42 [mA]
9-23 Parameters for Signals
Array [1000] Read only
Option: Function:
[1666] Digital Output [bin] [1667] Freq. Input #29 [Hz] [1668] Freq. Input #33 [Hz] [1669] Pulse Output #27 [Hz] [1670] Pulse Output #29 [Hz] [1671] Relay Output [bin] [1672] Counter A [1673] Counter B [1674] Prec. Stop Counter [1675] Analog In X30/11 [1676] Analog In X30/12 [1677] Analog Out X30/8 [mA] [1678] Analog Out X45/1 [mA] [1679] Analog Out X45/3 [mA] [1680] Fieldbus CTW 1 [1682] Fieldbus REF 1 [1684] Comm. Option STW [1685] FC Port CTW 1 [1686] FC Port REF 1 [1687] Bus Readout Alarm/Warning [1689] Configurable Alarm/Warning Word [1690] Alarm Word [1691] Alarm Word 2 [1692] Warning Word [1693] Warning Word 2 [1694] Ext. Status Word [1836] Analog Input X48/2 [mA] [1837] Temp. Input X48/4 [1838] Temp. Input X48/7 [1839] Temp. Input X48/10 [1860] Digital Input 2 [3310] Sync Factor Master [3311] Sync Factor Slave [3401] PCD 1 Write to MCO [3402] PCD 2 Write to MCO [3403] PCD 3 Write to MCO [3404] PCD 4 Write to MCO [3405] PCD 5 Write to MCO [3406] PCD 6 Write to MCO [3407] PCD 7 Write to MCO [3408] PCD 8 Write to MCO [3409] PCD 9 Write to MCO [3410] PCD 10 Write to MCO [3421] PCD 1 Read from MCO [3422] PCD 2 Read from MCO [3423] PCD 3 Read from MCO [3424] PCD 4 Read from MCO [3425] PCD 5 Read from MCO [3426] PCD 6 Read from MCO [3427] PCD 7 Read from MCO
38 Danfoss A/S © Rev. 05/2014 All rights reserved. MG37G102
Parameters Programming Guide
9-23 Parameters for Signals
Array [1000] Read only
Option: Function:
[3428] PCD 8 Read from MCO [3429] PCD 9 Read from MCO [3430] PCD 10 Read from MCO [3440] Digital Inputs [3441] Digital Outputs [3450] Actual Position [3451] Commanded Position [3452] Actual Master Position [3453] Slave Index Position [3454] Master Index Position [3455] Curve Position [3456] Track Error [3457] Synchronizing Error [3458] Actual Velocity [3459] Actual Master Velocity [3460] Synchronizing Status [3461] Axis Status [3462] Program Status [3464] MCO 302 Status [3465] MCO 302 Control [3470] MCO Alarm Word 1 [3471] MCO Alarm Word 2 [4280] Safe Option Status [4285] Active Safe Func.
9-27 Parameter Edit
Option: Function:
Parameters can be edited via PROFIBUS, the standard RS-485 interface, or the LCP.
[0] Disabled Disables editing via PROFIBUS.
[1] * Enabled Enables editing via PROFIBUS.
9-28 Process Control
Option: Function:
Process control (setting of control word, speed reference, and process data) is possible via either PROFIBUS 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-56 Preset Reference Select.
[0] Disable Disables process control via PROFIBUS, and
enables process control via standard fieldbus or PROFIBUS master class 2.
[1]*Enable
cyclic master
Enables process control via PROFIBUS master class 1, and disables process control via standard fieldbus or PROFIBUS master class 2.
9-53 Profibus Warning Word
Range: Function:
0* [0 - 65535 ] This parameter displays PROFIBUS communi-
cation warnings. Refer to the PROFIBUS Operating Instructions for further information.
Read only
Bit Meaning
0 Connection with DP-master is not OK. 1 Not used 2 FDL (fieldbus data link layer) is not OK. 3 Clear data command received. 4 Actual value is not updated. 5 Baudrate search 6 PROFIBUS ASIC is not transmitting. 7 Initialisation of PROFIBUS is not OK. 8 Frequency converter is tripped. 9 Internal CAN error 10 Wrong configuration data from PLC 11 Wrong ID sent by PLC. 12 Internal error occured 13 Not configured 14 Timeout active 15 Warning 34 active
Table 6.1 PROFIBUS Warning Word
9-63 Actual Baud Rate
Option: Function:
This parameter displays the actual PROFIBUS baud rate. The PROFIBUS master automatically sets the baud rate.
[0] 9,6 kbit/s [1] 19,2 kbit/s [2] 93,75 kbit/s [3] 187,5 kbit/s [4] 500 kbit/s [6] 1500 kbit/s [7] 3000 kbit/s [8] 6000 kbit/s [9] 12000 kbit/s [10] 31,25 kbit/s [11] 45,45 kbit/s [255] * No baudrate found
9-64 Device Identification
Range: Function:
0* [0 - 0 ] This parameter displays the device identification.
Refer to the Operating Instructions for PROFIBUS, for further explanation.
6 6
MG37G102 Danfoss A/S © Rev. 05/2014 All rights reserved. 39
Parameters Programming Guide
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.
NOTICE
This parameter is not visible via LCP.
9-70 Programming Set-up
Option: Function:
Select the set-up to be edited.
[0] Factory setup Uses default data. This option can be used
66
[1] Set-up 1 Edits Set-up 1.
[2] Set-up 2 Edits Set-up 2.
[3] Set-up 3 Edits Set-up 3.
[4] Set-up 4 Edits Set-up 4.
[9] * Active Set-up Follows the active set-up selected in
as a data source to return the other set-ups to a known state.
0-10 Active Set-up.
9-72 ProfibusDriveReset
Option: Function:
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 displays a list of all the defined
frequency converter parameters available for PROFIBUS.
9-81 Defined Parameters (2)
Array [116] No LCP access Read only
Range: Function:
0* [0 - 9999 ] This parameter displays a list of all the defined
frequency converter parameters available for PROFIBUS.
This parameter is unique for LCP and fieldbus. See 0-11 Programming Set-up.
9-71 Profibus Save Data Values
Option: Function:
Parameter values changed via PROFIBUS are not automatically stored in 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 Deactivates the non-volatile storage function.
[1] Store all
setups
[2] Store all
setups
Stores all parameter values for all set-ups in the non-volatile memory. The selection returns to [0] Off when all parameter values have been stored.
Stores all parameter values for all set-ups in the non-volatile memory. The selection returns to [0] Off when all parameter values have been stored.
9-72 ProfibusDriveReset
Option: Function:
[0] * No action [1] Power-on
reset
[3] Comm
option reset
Resets frequency converter upon power-up, as for power-cycle.
Resets the PROFIBUS option only, useful after changing certain settings in parameter group 9-**, for example, parameter 9-18 Node Address.
9-82 Defined Parameters (3)
Array [116] No LCP access Read only
Range: Function:
0* [0 - 9999 ] This parameter displays a list of all the defined
frequency converter parameters available for PROFIBUS.
9-83 Defined Parameters (4)
Array [116] No LCP access Read only
Range: Function:
0* [0 - 9999 ] This parameter displays a list of all the defined
frequency converter parameters available for PROFIBUS.
9-90 Changed Parameters (1)
Array [116] No LCP access Read only
Range: Function:
0* [0 - 9999 ] This parameter displays a list of all the
frequency converter parameters deviating from default setting.
40 Danfoss A/S © Rev. 05/2014 All rights reserved. MG37G102
Parameters Programming Guide
9-91 Changed Parameters (2)
Array [116] No LCP access Read only
Range: Function:
0* [0 - 9999 ] This parameter displays 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 displays 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 displays a list of all the
frequency converter parameters deviating from default setting.
16-84 Comm. Option STW
Range: Function:
0* [0 - 65535 ] View the extended fieldbus comm. option
status word. For more information, refer to the relevant fieldbus manual.
16-90 Alarm Word
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 ] View the warning word sent via the serial
communication port in hex code.
6 6
MG37G102 Danfoss A/S © Rev. 05/2014 All rights reserved. 41
Parameters
Programming Guide
6.3 PROFIBUS-specific Parameter List
Parameter Default value Range Conversion index Data type
8-01 Control Site Parameter 8-02 Control Word Source Parameter 8-03 Control Word Timeout Time Parameter 8-04 Control Word Timeout Function 8-05 End-of-Timeout Function Parameter 8-06 Reset Control Word Timeout Parameter 8-07 Diagnosis Trigger Parameter 8-10 Control Word Profile 8-50 Coasting Select Parameter 8-51 Quick Stop Select 8-52 DC Brake Select
66
8-53 Start Select Parameter 8-54 Reversing Select 8-55 Set-up Select 8-56 Preset Reference Select 8-90 Bus Jog 1 Speed 8-91 Bus Jog 2 Speed Parameter 9-15 PCD Write Configuration Parameter 9-16 PCD Read Configuration 9-18 Node Address 9-22 Telegram Selection Parameter 9-23 Parameters for Signals 9-27 Parameter Edit 9-28 Process Control 9-44 Fault Message Counter 9-45 Fault Code 9-47 Fault Number 9-52 Fault Situation Counter 9-53 Profibus Warning Word 9-63 Actual Baud Rate Parameter 9-64 Device Identification 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-90 Changed Parameters (1) 9-91 Changed Parameters (2) 9-92 Changed Parameters (3) 9-93 Changed Parameters (4) 16-84 Comm. Option STW 16-90 Alarm Word 16-92 Warning Word
[0] Dig. & ctrl. word [0-2] - Uint8 [0] FC RS485 [0-4] - Uint8 1 0.1-18000 -1 Uint32 [0] Off [0-10] - Uint8 [0] Hold set-up [0-1] - Uint8 [0] Do not reset [0-1] - Uint8 [0] Disable [0-3] - Uint8 [0] FC profile [0-x] - Uint8 *[3] Logic OR [0-3] - Uint8 *[3] Logic OR [0-3] - Uint8 *[3] Logic OR [0-3] - Uint8 *[3] Logic OR [0-3] - Uint8 *[3] Logic OR [0-3] - Uint8 *[3] Logic OR [0-3] - Uint8 *[3] Logic OR [0-3] - Uint8 100 rpm 0-par. 4-13 67 Uint16 200 rpm 0-par. 4-13 67 Uint16
- - - Uint16
- - - Uint16 126 1-126 0 Uint8
- [0-108] - Uint8
- 0-573 - Uint16 [1] Enabled [0-1] - Uint16 [1] Enable cyclic master [0-1] - Uint16 0 [0-8] 0 Uint16 0 - - Uint16 0 - - Uint16 0 0-1000 0 Uint16 0 16 bits 0 V2 [255] No baud rate found 9.6-12000 kbits 0 Uint8 0 [0-10] 0 Uint16 0 8 bits 0 Uint8 [9] Active set-up [0-9] - Uint8 [0] Off [0-2] - Uint8 [0] No action [0-2] - Uint8
- 0-115 0 Uint16 0-115 0 Uint16
- 0-115 0 Uint16
- 0-115 0 Uint16
- 0-115 0 Uint16
- 0-115 0 Uint16
- 0-115 0 Uint16
- 0-115 0 Uint16
0 0-FFFF 0 V2 0 0-FFFF 0 Uint32 0 0-FFFF 0 Uint32
Table 6.2 PROFIBUS-specific Parameter List
Refer to the relevant operating instructions for a comprehensive parameter list.
42 Danfoss A/S © Rev. 05/2014 All rights reserved. MG37G102
Probus master
Probus
Relay 04-05
230 V AC
Ext. device
Sensor
Reversing
6362
18
20
19
0-24 V DC
130BA087.10
Application Examples Programming Guide
7 Application Examples
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 additional words, which can be programmed to monitor process signals:
Byte no. 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 Type 6
Table 7.1 Example: Process Data with PPO Type 6
PCA IND PVA CTW MRV PCD PCD PCD PCD PCD PCD PCD PCD
PCV PCD
1 2 3 4 5 6 7 8 9 10
STW MAV
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.
An external device is also controlled via control word bit 11 and the built-in relay of the frequency converter. Reversing is permitted 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.
7 7
Illustration 7.1 Wiring Diagram
MG37G102 Danfoss A/S © Rev. 05/2014 All rights reserved. 43
Application Examples
Programming Guide
Program the frequency converter as in Table 7.2:
Parameter Setting
4-10 Motor Speed Direction [2] Both directions 5-10 Terminal 18 Digital Input [0] No operation 5-11 Terminal 19 Digital Input [10] Reversing 5-40 Function Relay [36/37] Control word bit 11/12 parameter 8-03 Control Word Timeout Time parameter 8-04 Control Word Timeout Function [2] Stop parameter 8-10 Control Word Profile [0] FC Profile 8-50 Coasting Select [1] Bus parameter 8-51 Quick Stop Select [1] Bus 8-52 DC Brake Select [1] Bus 8-53 Start Select [1] Bus parameter 8-54 Reversing Select [2] Logic AND 8-55 Set-up Select [1] Bus 8-56 Preset Reference Select [1] Bus
77
parameter 9-16 PCD Read Configuration [2] Sub index 16-16 Torque [Nm]
9-18 Node Address
1 s
[3] Sub index 16-60 Digital Input Set the 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 control word telegram is sent from the PLC to the frequency converter. PPO Type 3 is used in the example to demonstrate the full range of modules. All the values shown are arbitrary, and are provided for demonstration purposes only.
Table 7.3 indicates the bits contained within the control word, and how they are presented as process data in PPO type 3 for this example.
04 7C 20 00 PQW 256 258 260 262 264 266 268 270 272 274 master slave CTW MRV Bit no. 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 0 0 0 0 0 1 0 0 0 1 1 1 1 1 0 0
PCA IND PVA CTW MRV PCD PCD PCD PCD
0 4 7 C
PCV PCD
1 2 3 4 5 6
Table 7.3 Example: Control Word Telegram using PPO Type
Table 7.4 indicates the bit functions and corresponding bit values which are active for this example.
44 Danfoss A/S © Rev. 05/2014 All rights reserved. MG37G102
Application Examples
Programming Guide
Bit Bit value=0 Bit value=1 Bit value
00 Reference value External selection lsb 0 01 Reference value External selection msb 0 02 DC brake Ramp 1 03 Coasting Enable 1 04 Quick stop Ramp 1 05 Freeze output Ramp enable 1 06 Ramp stop Start 1 07 No function Reset 0 08 No function Jog 0 09 Ramp 1 Ramp 2 0 10 Data not valid Valid 1 11 No function Relay 01 active 0 12 No function Relay 02 active 0 13 Parameter set-up Selection lsb 0 14 Parameter set-up Selection msb 0
15 No function Reversing 0 Function active Function inactive
Table 7.4 Active Bit Functions for Control Word Telegram using PPO Type
7.3 Example 3: Status Word Telegram using PPO Type
C
7
4
0
7 7
This example shows how the control word telegram relates to the PLC and the frequency converter, using FC control profile.
The control word telegram is sent from the PLC to the frequency converter. PPO type 3 is used in the example to demonstrate the full range of modules. All the values shown are arbitrary, and are provided for demonstration purposes only.
Table 7.5 indicates the bits contained within the status word, and how they are presented as process data in PPO type 3 for this example.
0F 07 20 00 PIW: 256 258 260 262 264 266 268 270 272 274 master slave STW MAV Bit no.: 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 0 0 0 0 0 1 0 0 0 1 1 1 1 1 0 0
Table 7.5 Example: Status Word Telegram using PPO Type
PCA IND PVA CTW MRV PCD PCD PCD PCD
0 4 7 C
PCV PCD
1 2 3 4 5 6
Table 7.6 indicates the bit functions, and the corresponding bit values which are active for this example.
MG37G102 Danfoss A/S © Rev. 05/2014 All rights reserved. 45
Application Examples
Programming Guide
Bit Bit value=0 Bit value=1 Bit value
00 Control not ready Control ready 1
01 Drive not ready Drive ready 1
02 Coasting Enable 1
03 No error Trip 0
04 No error Error (no trip) 0
05 Reserved - 0
06 No error Triplock 0
07 No warning Warning 0
08 Speed reference Speed = reference 1
09 Local operation Bus control 1
10 Outside frequency range Within frequency range 1
11 No operation In operation 1
12 Drive OK Stopped, autostart 0
13 Voltage OK Voltage exceeded 0
14 Torque OK Torque exceeded 0
15 Timers OK Timers exceeded 0
77
Function active Function inactive
Table 7.6 Active Bit Functions for Status Word Telegram using PPO Type
7
0
F
0
7.4 Example 4: PLC Programming
In this example PPO type 6 is placed in the input/output address, see Illustration 7.2 and Table 7.7.
Illustration 7.2 FC 302 and PPO Type 6 PCD
Input address
Set-up Status
Table 7.7 Input/Output Address Set-up
256-257 258-259 260-261 262-263 Output
address
word
MAV Motor
torque
Digital input
Set-up Control
256-257 258-259 260-261 262-263
Reference Not used Not used
word
This network sends a start command (047C hex) and a reference (2000 hex) of 50% to the frequency converter.
Illustration 7.3 Network Sends a Start Command and a Reference of 50% to the Frequency Converter.
46 Danfoss A/S © Rev. 05/2014 All rights reserved. MG37G102
130BA110.10
Application Examples Programming Guide
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
This network reads the status on the digital inputs from the frequency converter. If digital input 18 is On, it stops the frequency converter.
7 7
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 02.
Illustration 7.7 Network Activates Relay 02
MG37G102 Danfoss A/S © Rev. 05/2014 All rights reserved. 47
Troubleshooting
8 Troubleshooting
Programming Guide
8.1 Diagnosis
PROFIBUS-DP provides a flexible way of performing diagnosis of slave units, based on diagnosis messages.
During normal cyclical 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
88
See chapter 8.3 Warnings and Alarms for the extended diagnosis messages for the frequency converter. A master or a network analysing tool is able to translate these diagnosis words into real text messages using the GSD-file.
messaging specific to the frequency converter.
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.
Selecting control mode for
parameter 8-51 Quick Stop Select, and 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.
Terminal Bit 02/03/04 Function
0 0 Coast/DC brake/Q-Stop 0 1 Coast/DC brake/Q-Stop 1 0 No Coast/DC brake/Q-Stop 1 1 No Coast/DC brake/Q-Stop
Table 8.1 [0] Digital input
If [1] Serial communication is selected, commands are activated only when given via serial communication.
Terminal Bit 02/03/04 Function
0 0 Coast/DC brake/Q-Stop 0 1 No Coast/DC brake/Q-Stop 1 0 Coast/DC brake/Q-Stop 1 1 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.
8-50 Coasting Select,
Terminal Bit 02/03/04 Function
8.2 No Response to Control Signals
Check that:
1. 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.
2. 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 8-50 Coasting Select to 8-56 Preset Reference Select.
48 Danfoss A/S © Rev. 05/2014 All rights reserved. MG37G102
0 0 Coast/DC brake/Q-Stop 0 1 No Coast/DC brake/Q-Stop 1 0 No Coast/DC brake/Q-Stop 1 1 No Coast/DC brake/Q-Stop
Table 8.3 [2] Logic AND
If [3] Logic OR is selected, activation of 1 signal activates the function.
Terminal Bit 02/03/04 Function
0 0 Coast/DC brake/Q-Stop 0 1 Coast/DC brake/Q-Stop 1 0 Coast/DC brake/Q-Stop 1 1 No Coast/DC brake/Q-Stop
Table 8.4 [3] Logic OR
Troubleshooting
Programming Guide
Selecting control mode for 8-53 Start Select and parameter 8-54 Reversing Select:
If [0] Digital input is selected, the terminals control the start and reversing functions.
Terminal Bit 06/15 Function
0 0 Stop/Anti-clockwise 0 1 Stop/Anti-clockwise 1 0 Start/Clockwise 1 1 Start/Clockwise
Table 8.5 [0] Digital input
If [1] Serial communication is selected, activate commands only when given via serial communication.
Terminal Bit 02/03/04 Function
0 0 Stop/Anti-clockwise 0 1 Start/Clockwise 1 0 Stop/Anti-clockwise 1 1 Start/Clockwise
Table 8.6 [1] Serial communication
Terminal Bit 00/01, 13/14 Function Msb Lsb Msb Lsb Preset ref., Set-up no.
0 0 0 0 1 0 0 0 1 1 0 0 1 0 1 0 0 1 1 1 0 1 0 0 2 0 1 0 1 2 0 1 1 0 2 0 1 1 1 2 1 0 0 0 3 1 0 0 1 3 1 0 1 0 3 1 0 1 1 3 1 1 0 0 4 1 1 0 1 4 1 1 1 0 4 1 1 1 1 4
Table 8.9 [0] Digital input
If [1] Serial communication is selected, activate commands only when given via serial communication.
8 8
If [2] Logic AND is selected, activate both signals to perform the function.
Terminal Bit 02/03/04 Function
0 0 Stop/Anti-clockwise 0 1 Stop/Anti-clockwise 1 0 Stop/Anti-clockwise 1 1 Start/Clockwise
Table 8.7 [2] Logic AND
If [3] Logic OR is selected, activation of 1 signal activates the function.
Terminal Bit 02/03/04 Function
0 0 Stop/Anti-clockwise 0 1 Start/Clockwise 1 0 Start/Clockwise 1 1 Start/Clockwise
Table 8.8 [3] Logic OR
Selecting control mode for 8-55 Set-up Select and 8-56 Preset Reference Select:
If [0] Digital input is selected, the terminals control the set­up and preset reference functions.
Terminal Bit 00/01, 13/14 Function Msb Lsb Msb Lsb Preset ref., Set-up no.
0 0 0 0 1 0 0 0 1 2 0 0 1 0 3 0 0 1 1 4 0 1 0 0 1 0 1 0 1 2 0 1 1 0 3 0 1 1 1 4 1 0 0 0 1 1 0 0 1 2 1 0 1 0 3 1 0 1 1 4 1 1 0 0 1 1 1 0 1 2 1 1 1 0 3 1 1 1 1 4
Table 8.10 [1] Serial communication
If [2] Logic AND is selected, activate both signals to perform the function.
MG37G102 Danfoss A/S © Rev. 05/2014 All rights reserved. 49
Troubleshooting Programming Guide
Terminal Bit 00/01, 13/14 Function Msb Lsb Msb Lsb Preset ref., Set-up no.
0 0 0 0 1 0 0 0 1 1 0 0 1 0 1 0 0 1 1 1 0 1 0 0 1 0 1 0 1 2 0 1 1 0 1 0 1 1 1 2 1 0 0 0 1 1 0 0 1 1 1 0 1 0 3 1 0 1 1 3 1 1 0 0 1 1 1 0 1 2 1 1 1 0 3 1 1 1 1 4
Table 8.11 [2] Logic AND
88
If [3] Logic OR is selected, activation of one signal activates
Terminal Bit 00/01, 13/14 Function Msb Lsb Msb Lsb Preset ref., Set-up no.
0 0 0 0 1 0 0 0 1 2 0 0 1 0 3 0 0 1 1 4 0 1 0 0 2 0 1 0 1 2 0 1 1 0 4 0 1 1 1 4 1 0 0 0 3 1 0 0 1 4 1 0 1 0 3 1 0 1 1 4 1 1 0 0 4 1 1 0 1 4 1 1 1 0 4
Table 8.12 [3] Logic OR
the function.
8.3 Warnings and Alarms
NOTICE
Refer to the relevant operating instructions 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 displayed using the serial bus in 16-90 Alarm Word, 16-92 Warning Word, and 9-53 Profibus Warning Word.
50 Danfoss A/S © Rev. 05/2014 All rights reserved. MG37G102
Troubleshooting Programming Guide
Bit (hex) Dec Unit
diagnose bit
00000001 1 48 Brake check ServiceTrip, Read/Write 28 00000002 2 49 Power card over temperature ServiceTrip, (reserved) 29 00000004 4 50 Earth fault ServiceTrip, Typecode/
00000008 8 51 Control card over temperature ServiceTrip, (reserved) 65 00000010 16 52 Control word timeout ServiceTrip, (reserved) 18 00000020 32 53 Over current 13 00000040 64 54 Torque limit 12 00000080 128 55 Motor thermistor over temp. 11 00000100 256 40 Motor ETR over temperature 10 00000200 512 41 Inverter overloaded 9 00000400 1024 42 DC link under-voltage 8 00000800 2048 43 DC link over-voltage 7 00001000 4096 44 Short circuit 16 00002000 8192 45 Inrush fault 33 00004000 16384 46 Mains phase loss 4 00008000 32768 47 AMA not OK 50 00010000 65536 32 Live zero error 2 00020000 131072 33 Internal fault KTY error 38 00040000 262144 34 Brake overload Fans error 26 00080000 524288 35 Motor phase U is missing ECB error 30 00100000 1048576 36 Motor phase V is missing 31 00200000 2097152 37 Motor phase W is missing 32 00400000 4194304 38 Fieldbus comm. fault 34 00800000 8388608 39 24 V supply fault 47 01000000 16777216 24 Mains failure 36 02000000 33554432 25 1.8 V supply fault 48 04000000 67108864 26 Brake resistor short circuit 25 08000000 134217728 27 Brake chopper fault 27 10000000 268435456 28 Option change 67 20000000 536870912 29 Drive initialisation 80 40000000 1073741824 30 Safe stop PTC 1 Safe Stop (A71) 68 80000000 2147483648 31 Mechanical brake low Dangerous Failure (A72) 63
Alarm word (16-90 Alarm Word) Alarm word 2 Alarm no.
Sparepart
14
8 8
Table 8.13 16-90 Alarm Word
MG37G102 Danfoss A/S © Rev. 05/2014 All rights reserved. 51
Troubleshooting Programming Guide
Bit (Hex) Dec Unit
diagnose bit
00000001 1 112 Brake check 28 00000002 2 113 Power card over temperature 29 00000004 4 114 Earth fault 14 00000008 8 115 Control card 65 00000010 16 116 Control word timeout 18 00000020 32 117 Over current 13 00000040 64 118 Torque limit 12 00000080 128 119 Motor thermistor over temp. 11 00000100 256 104 Motor ETR over temperature 10 00000200 512 105 Inverter overloaded 9 00000400 1024 106 DC link under-voltage 8 00000800 2048 107 DC link over-voltage 7 00001000 4096 108 DC link voltage low 6 00002000 8192 109 DC link voltage high 5 00004000 16384 110 Mains phase loss 4 00008000 32768 111 No motor 3 00010000 65536 96 Live zero error 2 00020000 131072 97 10 V low KTY Warn 1
88
00040000 262144 98 Brake overload Fans Warn 26 00080000 524288 99 Brake resistor short circuit ECB Warn 25 00100000 1048576 100 Brake chopper fault 27 00200000 2097152 101 Speed limit 49 00400000 4194304 102 Fieldbus comm. fault 34 00800000 8388608 103 24 V supply fault 47 01000000 16777216 88 Mains failure 36 02000000 33554432 89 Current limit 59 04000000 67108864 90 Low temperature 66 08000000 134217728 91 Voltage limit 64 10000000 268435456 92 Encoder loss 61 20000000 536870912 93 Output frequency limit 62 40000000 1073741824 94 Unused PTC 1 Safe Stop (W71) ­80000000 2147483648 95 Warning word 2 (ext. stat. word) -
Warning word (16-92 Warning Word) Warning word 2 Warning no.
Table 8.14 16-92 Warning Word
52 Danfoss A/S © Rev. 05/2014 All rights reserved. MG37G102
Troubleshooting
Programming Guide
Bit Hex Dec Extended status word
(16-94 Ext. Status Word)
0 00000001 1 Ramping 1 00000002 2 AMA running 2 00000004 4 Start CW/CCW 3 00000008 8 Slow down 4 00000010 16 Catch up 5 00000020 32 Feedback high 6 00000040 64 Feedback low 7 00000080 128 Output current high 8 00000100 256 Output current low 9 00000200 512 Output freq hgh 10 00000400 1024 Output freq low 11 00000800 2048 Brake check OK 12 00001000 4096 Braking max 13 00002000 8192 Braking 14 00004000 16384 Out of speed range 15 00008000 32768 OVC active 16 00010000 65536 AC brake 17 00020000 131072 Password timelock 18 00040000 262144 Password protection 19 00080000 524288 20 00100000 1048576 21 00200000 2097152 22 00400000 4194304 Unused 23 00800000 8388608 Unused 24 01000000 16777216 Unused 25 02000000 33554432 Unused 26 04000000 67108864 Unused 27 08000000 134217728 Unused 28 10000000 268435456 Unused 29 20000000 536870912 Unused 30 40000000 1073741824 Unused 31 80000000 2147483648 Unused
Table 8.15 Extended Status Word
Bit (Hex) Unit
diagnose bit
00000001 160 Connection with DP-master is not OK. 00000002 161 Unused 00000004 162 FDL (fieldbus data link layer) is not OK. 00000008 163 Clear data command received. 00000010 164 Actual value is not updated. 00000020 165 Baudrate search 00000040 166 PROFIBUS ASIC is not transmitting 00000080 167 Initialising of PROFIBUS is not OK. 00000100 152 Drive is tripped. 00000200 153 Internal CAN error 00000400 154 Wrong configuration data from PLC 00000800 155 Wrong ID sent by PLC. 00001000 156 Internal error occurred. 00002000 157 Not configured 00004000 158 Timeout active 00008000 159 Warning 34 active
Table 8.16 9-53 Profibus Warning Word
Bit (Hex) Comm. option STW (16-84 Comm. Option STW)
00000001 Parameterisation OK 00000002 Configuration OK 00000004 Clear mode active 00000008 Baudrate search 00000010 Waiting for parameterisation 00000020 Waiting for configuration 00000040 In data exchange 00000080 Not used 00000100 Not used 00000200 Not used 00000400 Not used 00000800 MCL2/1 connected 00001000 MCL2/2 connected 00002000 MCL2/3 connected 00004000 Data transport active 00008000 Unused
PROFIBUS warning word (9-53 Profibus Warning Word)
8 8
Table 8.17 16-84 Comm. Option STW
NOTICE
16-84 Comm. Option STW is not part of extended
diagnosis.
Read out the alarm words, warning words and extended status words via serial bus or optional fieldbus for diagnosis.
8.4
Fault Messages via DP Diagnosis
The standard DP function features an on-line diagnosis, which is active during DP initialisation as well as data exchange mode.
MG37G102 Danfoss A/S © Rev. 05/2014 All rights reserved. 53
Troubleshooting Programming Guide
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 are sent regardless of whether they appear in the frequency converter.
When parameter 8-07 Diagnosis Trigger is set to
[1] Alarms, extended diagnosis data are sent when one or more alarms arrive in the alarm 16-90 Alarm Word or 9-53 Profibus Warning Word.
When parameter 8-06 Reset Control Word Timeout is set to [2] Alarms/Warnings, extended diagnosis data are sent if 1 or more alarms/warnings arrive in the alarm 16-90 Alarm Word or 9-53 Profibus Warning Word, or in the warning
88
16-92 Warning Word.
The extended diagnosis sequence is as follows: If an alarm or warning appears, the frequency converter indicates that to the master by sending a high priority message via the output data telegram. This causes the master to send a request for extended diagnosis information to the frequency converter, to which the frequency converter replies. When the alarm or warning disappears, the frequency converter again indicates that to the master, and on the following request from the master,
Byte Bit no. Name
0 to 5 - Standard DP diagnosis data 6 - PDU length 7 0-7 Status type =0x81 8 8-15 Slot=0 9 16-23 Status information 10 24-31 11 32-39 12 40-47 13 48-55 14 56-63 Reserved for future use 15 64-71 Reserved for future use 16 72-79 Reserved for future use 17 80-87 Reserved for future use 18 88-95 19 96-103 20 104-111 21 112-119 22 120-127 Reserved for future use 23 128-135 Reserved for future use 24 136-143 Reserved for future use 25 144-151 Reserved for future use 26 152-159 27 160-167 28 168-175 Reserved for future use 29 176-183 Reserved for future use 30 184-191 Reserved for future use 31 192-199 Reserved for future use
Table 8.18 Content of the Extended Diagnosis Frame
16-90 Alarm Word 16-90 Alarm Word 16-90 Alarm Word 16-90 Alarm Word
16-92 Warning Word 16-92 Warning Word 16-92 Warning Word 16-92 Warning Word
9-53 Profibus Warning Word 9-53 Profibus Warning Word
return a standard DP diagnosis frame (6 bytes).
54 Danfoss A/S © Rev. 05/2014 All rights reserved. MG37G102
Index Programming Guide
Index
A
Abbreviations........................................................................................... 5
Additional resources.............................................................................. 3
Alarm word............................................................................................. 50
Alarms....................................................................................................... 50
Approvals............................................................................................. 0
C
Certifications....................................................................................... 0
Complete Description......................................................................... 27
Configuration......................................................................................... 33
Control profile........................................................................................ 16
Control word.......................................................................................... 16
Conventions.............................................................................................. 5
CTW........................................................................................................... 16
D
Data store................................................................................................ 23
Data types supported......................................................................... 32
Discharge time......................................................................................... 6
E
Extended diagnosis............................................................................. 54
F
Fault messages via DP diagnosis.................................................... 53
FC control mode
Digital input terminals................................................................... 16
Field PCD Normalization.................................................................... 27
FREEZE/UNFREEZE............................................................................... 22
Frequency converter parameters................................................... 11
G
GSD File...................................................................................................... 9
H
High voltage............................................................................................. 6
Load sharing............................................................................................. 6
Lower limit.............................................................................................. 27
M
MCT 10........................................................................................................ 4
MRV............................................................................................................ 30
N
Name......................................................................................................... 27
Number of array elements................................................................ 27
P
Parameter access.................................................................................. 23
PCA handling......................................................................................... 28
PCA parameter characteristic........................................................... 28
PCD............................................................................................................ 30
PCD reference parameter.................................................................. 27
PCV............................................................................................................. 30
PCV parameter access......................................................................... 28
PPO types................................................................................................ 13
Process control data............................................................................ 14
Process control operation................................................................. 16
Process data............................................................................................ 14
Process status data............................................................................... 14
PROFIBUS address.................................................................................. 8
PROFIBUS DP-V1
Acyclical parameter channel........................................................ 25
Attribute description...................................................................... 27
Data exchange.................................................................................. 24
Error codes.......................................................................................... 28
Master class 1 connection............................................................. 24
Master class 2 connection............................................................. 24
Parameter access............................................................................. 24
Read/write services......................................................................... 25
Request ID.......................................................................................... 26
Request reference............................................................................ 26
Request/response attributes....................................................... 26
Response ID....................................................................................... 26
Supported data types..................................................................... 28
Value..................................................................................................... 28
PROFIdrive profile (CTW)................................................................... 16
PROFIdrive state transition diagram.............................................. 19
I
ID extension............................................................................................ 27
Identifier ID............................................................................................. 27
L
Leakage current....................................................................................... 7
LEDs........................................................................................................... 11
MG37G102 Danfoss A/S © Rev. 05/2014 All rights reserved. 55
Q
Qualified personnel................................................................................ 6
R
RC content............................................................................................... 29
Read/write in double word format................................................ 23
Reference handling.............................................................................. 15
Index Programming Guide
Request/response handling............................................................. 29
S
Safety........................................................................................................... 7
Services overview................................................................................. 24
Size attribute.......................................................................................... 31
Status word............................................................................................. 18
Symbols...................................................................................................... 5
SYNC/UNSYNC....................................................................................... 22
T
Termination switch................................................................................. 8
U
Unintended start..................................................................................... 6
Upper limit.............................................................................................. 27
W
Warning word........................................................................................ 50
Warnings.................................................................................................. 50
56 Danfoss A/S © Rev. 05/2014 All rights reserved. MG37G102
Index Programming Guide
MG37G102 Danfoss A/S © Rev. 05/2014 All rights reserved. 57
www.danfoss.com/drives
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 www.danfoss.com/drives
130R0591 MG37G102 Rev. 05/2014
*MG37G102*
Loading...