Danfoss VLT PROFIBUS DP MCA 101 Programming Manual Download Page 25

5 Parameter Access

5.1  Parameter Access in General

In an automated system, frequency converter parameters
can be accessed either from the process controller (that is,
PLC), or from various kinds of HMI equipment. 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)

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

.

5.1.2 Read/Write in Double Word Format

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

.

5.1.4 PROFIBUS DP-V0/PCV Channel

Parameter access via the PCV channel is performed using
PROFIBUS DP-V0 cyclic data exchange, where the PCV
channel is part of the PPOs described in 

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

.

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.

Parameter Access

Programming Guide

MG37G102

Danfoss A/S © Rev. 05/2014 All rights reserved.

23

5

5

Summary of Contents for VLT PROFIBUS DP MCA 101

Page 1: ...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...

Page 2: ......

Page 3: ...13 4 2 Process Data 14 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...

Page 4: ...42 7 Application Examples 43 7 1 Example 1 Process Data with PPO Type 6 43 7 2 Example 2 Control Word Telegram using PPO Type 44 7 3 Example 3 Status Word Telegram using PPO Type 45 7 4 Example 4 PLC...

Page 5: ...tations VLT Technical Documentation htm for listings 1 3 Document and Software Version This manual is regularly reviewed and updated All suggestions for improvement are welcome Table 1 1 shows the doc...

Page 6: ...ort 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...

Page 7: ...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 Req...

Page 8: ...ed 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 ser...

Page 9: ...ure 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 o...

Page 10: ...OFF ON ON 82 Not used ON OFF ON OFF OFF ON OFF Table 3 1 Examples Setting the PROFIBUS Address using the DIP Switches NOTICE Switch off the power supply before changing the DIP switches 130BD878 10 O...

Page 11: ...sines sAreas DrivesSolutions PROFIBUS SW version 15 61 Option SW Version GSD file 1 x da01040A GSD 2 x da02040A GSD FCD 302 da01040B GSD Table 3 2 GSD File The example below show the procedure of conf...

Page 12: ...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...

Page 13: ...rameter 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 wit...

Page 14: ...A 130BC259 10 Illustration 3 11 FCD 302 LED Panel Configuration Programming Guide 12 Danfoss A S Rev 05 2014 All rights reserved MG37G102 3 3...

Page 15: ...onverter 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...

Page 16: ...ency 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 convert...

Page 17: ...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 Integ...

Page 18: ...4 PROFIdrive Control Profile This section describes the functionality of the control word and status word in the PROFIdrive profile 4 4 1 Control Word according to PROFIdrive Profile CTW The control...

Page 19: ...he 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...

Page 20: ...ff acknowl edgment after activation of OFF2 or OFF3 and after switching on the mains voltage Start not possible is reset with bit 00 of the control word being set to 0 and bit 01 02 and 10 being set t...

Page 21: ...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...

Page 22: ...ency 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 S...

Page 23: ...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 Frequency converter ready 02 Coasting Enable 03 No error Trip...

Page 24: ...ted 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...

Page 25: ...ice 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 5 1 2 Read Write in Double Word Format Using the special r...

Page 26: ...Read Write Data transport Initiate Abort Alarm read data from follower write data to follower read and write data open a connection close a connection Master Class 1 yes yes yes Master Class 2 yes ye...

Page 27: ...minimum maximum value and so on 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 P...

Page 28: ...See table No of values U8 0x01 0xE A Quantity 0 234 Limitation DP V1 telegram length Error no U16 0x0000 Error number Table 5 8 Overview Possible Attributes of the PROFIdrive Parameter Channel 1 U8 Un...

Page 29: ...eter 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...

Page 30: ...ytes 0 Error code Meaning Additional Info 0x16 Wrong parameter address unknown or unsupported value for attribute element parameter number or sub index or illegal combination 0 0x17 Illegal format for...

Page 31: ...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 Tra...

Page 32: ...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...

Page 33: ...OFIBUS 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...

Page 34: ...sponds to 100 Negative numbers are formed with the aid of the 2s complement 0 0 0h 100 214 4000 h Data type N2 Range 200 200 Resolution 2 14 0 0061 Length 2 bytes Table 5 23 N2 Data Type MSB is the fi...

Page 35: ...cted 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 T...

Page 36: ...rofile 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 8 10 Control Word Profile Select th...

Page 37: ...ogic AND Activates the set up selection via the fieldbus serial communication port AND additionally via one of the digital inputs 3 Logic OR Activate the set up selection via the fieldbus serial commu...

Page 38: ...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 Leg...

Page 39: ...le 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 1...

Page 40: ...g 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...

Page 41: ...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 PROFI...

Page 42: ...parameter values have been stored 9 72 ProfibusDriveReset Option Function 0 No action 1 Power on reset Resets frequency converter upon power up as for power cycle 3 Comm option reset Resets the PROFIB...

Page 43: ...s 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 exte...

Page 44: ...elegram Selection 0 108 Uint8 Parameter 9 23 Parameters for Signals 0 573 Uint16 9 27 Parameter Edit 1 Enabled 0 1 Uint16 9 28 Process Control 1 Enable cyclic master 0 1 Uint16 9 44 Fault Message Coun...

Page 45: ...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 al...

Page 46: ...rol 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...

Page 47: ...es 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 r...

Page 48: ...7 6 Active Bit Functions for Status Word Telegram using PPO Type 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 Illu...

Page 49: ...If digital input 18 is On it stops the frequency converter Illustration 7 5 Network Reads the Status on the Digital Inputs from the Frequency Converter This network reverses the motor when digital inp...

Page 50: ...he 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 cont...

Page 51: ...unction 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 Dig...

Page 52: ...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 8 3 Warnings and Alarms NOTICE Refer to the relevant operating instructions for an overview of warning and alarm types and...

Page 53: ...384 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 52...

Page 54: ...se loss 4 00008000 32768 111 No motor 3 00010000 65536 96 Live zero error 2 00020000 131072 97 10 V low KTY Warn 1 00040000 262144 98 Brake overload Fans Warn 26 00080000 524288 99 Brake resistor shor...

Page 55: ...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...

Page 56: ...r 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...

Page 57: ...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...

Page 58: ...ices 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 Index Programming Guide 56 Danfoss A...

Page 59: ...Index Programming Guide MG37G102 Danfoss A S Rev 05 2014 All rights reserved 57...

Page 60: ...es 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 o...

Reviews: