You are on page 1of 85

PROFIBUS training

2004-25-05
Flemming Huusmann/DD-SPMP

Drives Division
Confidential / Property of Danfoss Drives A/S

Your trainer:

Flemming Huusmann
Global Product Management, Fieldbus
Danfoss Drives A/S
DG-596
DK-6300 Graasten, Denmark
mailto:fhu@danfoss.com
Tel.: +45 74 88 43 62 (Direct)

2005-10-02
Flemming Huusmann/DD-SPMP

Drives Division
Confidential / Property of Danfoss Drives A/S

Danfoss Drives Fieldbusses Sales

Sales 2007:
Total number of fieldbus options: 86,000
PROFIbus options: 78,000
2005-10-02
Flemming Huusmann/DD-SPMP

Drives Division
Confidential / Property of Danfoss Drives A/S

FC 300 PROFIBUS

Operating instructions
MG.33.C4.02
New Concept
Standardized design

2005-10-02
Flemming Huusmann/DD-SPMP

Drives Division
Confidential / Property of Danfoss Drives A/S

PROFIBUS Terms

PROFibus L2 (Non-norm PROFIbus)


About 1700 VLT 3000 produced with L2, 1992 -1994 (up to ver. 3.0)
About 16,000 VLT 3000 produced with PROFIbus DP 1994-1998
PROFIBUS-FMS (Fieldbus Message Specification)
Predecessor for PROFIBUS DP (VLT 3000 and 5000)
PROFIBUS-PA (Process Automation)
Non RS-485, bus powered, Safe environment
PROFIBUS-DP (Dezentrale Preipherie)
DP-V0: Cyclic Data Exchange
DP-V1: Acyclic Data Exchange
DP-V2: Broadcast Data exchange (peer-to-peer)
DP-V3: PROFInet...

2005-10-02

Flemming Huusmann/DD-SPMP

Drives Division
Confidential / Property of Danfoss Drives A/S

PROFIBUS Profiles

PROFIdrive
Application profile developed for drives (AC, servos, etc.)
To ensure capability between different drive manufactures
Applications: Motion Control
Synchronisation
A-cyclical parameterization
High dynamic applications
DD introduced the first PROFIdrive product to the market in 1994

2005-10-02
Flemming Huusmann/DD-SPMP

Drives Division
Confidential / Property of Danfoss Drives A/S

RS-485 basics

2-wire balanced communication


Simple robust installation
Up to 12 Mbits/s transmission speed (only if installation guidelines has been followed)
Up to 32 stations per segment, up to 1 km per segment

Note: Always use suitable screened cable !


Impedance:

135 to 165 ohm @ 3 to 20MHz

Resistance:

<110 ohm/km

Capacitance:

<30pF/m

Damping:

max. 9dB over whole wire length

Cross Section:

0.34 mm2, AWG 24

Cable type:

Screened twisted pair 1x2, 2x2 or 1x4 wires

Screening:

braided screen and foil screen

2005-10-02
Flemming Huusmann/DD-SPMP

Drives Division
Confidential / Property of Danfoss Drives A/S

RS-485 basics

The two wires in the twisted-pair cable carry the Data line plus(B-line) and
Data line minus(A-line) signals.
PROFIBUS cables usually come colour coded. Normally red and green are
used.
When red and green wires are being used the following recommendations
apply:
RedB-line (RxD/TxD-P)

(Remember: B-red)

GreenA-line (RxD/TxD-N)
It is essential that the colour scheme for A and B be used
consistently throughout the network to avoid improper operation.
This is a common wiring error in the field!

2005-10-02
Flemming Huusmann/DD-SPMP

Drives Division
Confidential / Property of Danfoss Drives A/S

RS-485 basics

62 = red wire (Siemens B)


63 = green wire (Siemens A)
CS = not used

2005-10-02
Flemming Huusmann/DD-SPMP

Drives Division
Confidential / Property of Danfoss Drives A/S

RS-485 basics

The cable shield must be connected to the shield connection of the


connector at both ends of the cable.
Poor shielding or earthings are probably the most common wiring error!

2005-10-02
Flemming Huusmann/DD-SPMP

Drives Division
Confidential / Property of Danfoss Drives A/S

10

RS-485 basics

When electrical signals travel down a cable, any electrical


discontinuity like a change in resistance, capacitance or the end of
the wire, will cause reflections to occur.
Just like an echo, the reflected signal can cause multiple signals to
appear on the line.
Reflections are a real problem in high-speed communications
because signals are corrupted or distorted.
1 bit
Low data rate

- low risk of failure


1 bit

High data rate

- high risk of failure

2005-10-02
Flemming Huusmann/DD-SPMP

Drives Division
Confidential / Property of Danfoss Drives A/S

11

RS-485 basics

To minimise reflections the cable must be terminated at both ends with


a specially chosen resistance that matches the cable properties.
The resistance absorbs the energy of the signal and significantly
reduces the reflection (theoretically to zero).
PROFIBUS DP uses an active termination network that must be biased
with 5V.

2005-10-02
Flemming Huusmann/DD-SPMP

Drives Division
Confidential / Property of Danfoss Drives A/S

12

RS-485 basics

PROFIBUS cable must be terminated at both ends !

Network terminated
at one end only

Network terminated
at both ends

2005-10-02
Flemming Huusmann/DD-SPMP

Drives Division
Confidential / Property of Danfoss Drives A/S

13

Topology

A maximum of 32 nodes can be connected to each segment.


By using repeaters more segments can be interconnected.
A maximum of 128 nodes can be connected to a network.
Note: A repeater count as a node in each segment.
Each segment must be terminated at both ends.

2005-10-02
Flemming Huusmann/DD-SPMP

Drives Division
Confidential / Property of Danfoss Drives A/S

14

Topology

By Topology means the physical layout of the bus.


In PROFIbus are only Bus/Line topology permitted.
Normally as Daisy-Chain:

Or with drops/T-connections:

2005-10-02
Flemming Huusmann/DD-SPMP

Drives Division
Confidential / Property of Danfoss Drives A/S

15

Topology

Bit-rate vs. cable lengths

Nodes

1 segment:
32 nodes
(31 slave)

2 segments:
64 nodes
(1 repeater
61 slaves)

3 segments:
96 nodes
(2 repeaters
91 slaves)

4 segments:
128 nodes
(3 repeaters
121 slaves)

9,6 187,5
Kbps

1000

2000

3000

4000

500 kbps

400

800

1200

1600

1,5 Mbps

200

400

600

800

3-12 Mbps

100

200

300

400

Bit rate

Accumulated total cable length


2005-10-02
Flemming Huusmann/DD-SPMP

Drives Division
Confidential / Property of Danfoss Drives A/S

16

Topology

Drop cables:
A drop cable is a connection from the main bus cable to a node, in form
of a T-connection

Bit rate
9,693,75 Kbps

96

187,5 Kbps

75

500 Kbps

30

1,5 Mbps

10

3-12 Mbps

2005-10-02
Flemming Huusmann/DD-SPMP

Max. drop cable


length per segment

None

Drives Division
Confidential / Property of Danfoss Drives A/S

17

EMC Precautions
In order to ensure interference-free PROFIbus
communication, always:
Use correct PROFIbus cable.
Use same cable throughout entire network.
Connect cable-screen to ground at all nodes.
Ensure all nodes have same ground potential.
Keep min. 200 mm distance to motor and
brake-resistor cable. Cross only in 90 angel.
ALWAYS use screened motor cable !

2005-10-02
Flemming Huusmann/DD-SPMP

Drives Division
Confidential / Property of Danfoss Drives A/S

18

FC-platform Profibus option: 130B1100

New concept for fieldbus options.


Easy installation.
Uniform design.
180 turnable
LEDs visible from front (IP 20)

2005-10-02
Flemming Huusmann/DD-SPMP

Drives Division
Confidential / Property of Danfoss Drives A/S

19

Installing option in A1 and A2 enclosures

2005-10-02
Flemming Huusmann/DD-SPMP

Drives Division
Confidential / Property of Danfoss Drives A/S

20

Installing option in Bx enclosures

2005-10-02
Flemming Huusmann/DD-SPMP

Drives Division
Confidential / Property of Danfoss Drives A/S

21

Setting up the FC 300 with PROFIbus


After an initial (first-time) power-up, the drive will detect if there has
been a change (added an option) in slot A.
If an option has been added:
par. 8-02 Control Word Source will be set to Option A.
If there is a change in slot A on an already commissioned drive, par. 802 will NOT change, but the drive will enter Trip-mode displaying:

Alarm 67 Option Change

2005-10-02
Flemming Huusmann/DD-SPMP

Drives Division
Confidential / Property of Danfoss Drives A/S

22

FC-platform Profibus option: 130B1100

Hardware block diagram:

2005-10-02
Flemming Huusmann/DD-SPMP

Drives Division
Confidential / Property of Danfoss Drives A/S

23

Address setting

PROFIbus node address can be set via:


Hardware switches.
Parameter 9-18 Node address.*
PROFIbus SSA-command.*
*= only possible if switch-setting is 127
(all-on = default).
Address changes will come into effect at
next power cycle.
Valid range: 0 126.

2005-10-02
Flemming Huusmann/DD-SPMP

Drives Division
Confidential / Property of Danfoss Drives A/S

24

Bus termination

Active termination of bus.


Only terminate in both ends.
Shipped on OFF-position.

2005-10-02
Flemming Huusmann/DD-SPMP

Drives Division
Confidential / Property of Danfoss Drives A/S

25

Setting up the FC 300 with PROFIbus


After installing the option you should check:
Par. 0-40 [Hand on] key on LCP. If the Hand button on the FC 300 is
activated, control of the drive via the PROFIBUS interface is disabled.
Par. 8-01 Control Site is NOT set to: Digital Only.
Par. 8-02 Control Word Source is set to: Option A.
Par. 8-10 Control Word Profile. Choose between FC or PROFIdrive-profile.
Par. 8-50 to 8-56. Selection on how to gate PROFIbus control commands with
digital inputs. Only active if par. 8-01 is set to: Digital and Controlword
Par. 8-03 to 8-05. Setting of reaction in case of a controlword timeout.
Par. 9-18 Node Address.
Par. 8-07 Diagnosis Trigger.

Note:
Baudrate and PPO-type are set by the master and auto-detected by the drive !
2005-10-02
Flemming Huusmann/DD-SPMP

Drives Division
Confidential / Property of Danfoss Drives A/S

26

The PROFIBUS master

The role of the PROFIBUS master:


The PROFIBUS-DP master controls all communication on the bus.
The master starts and stops the bus-communication
A slave can only talk if being asked (token passing)
The salve-comm. are configured by the master PPO-type etc.
The master builds and maintains a list of active salves (life-list)
The master monitors the token.
There can only one master of class 1 on the bus, but several masters of
class 2
The master-class 1 controls the token-handling between masters.

2005-10-02
Flemming Huusmann/DD-SPMP

Drives Division
Confidential / Property of Danfoss Drives A/S

27

Setting up the master (PLC).

In order to configure a PROFIBUS Master, the configuration tool needs a GSD


file for each type of slave on the network.
The GSD file is a standard text file containing the necessary
communications setup data for a slave.
Download the GSD file da02040A.GSD for the FC 300 Drive at:
http://www.danfoss.com/BusinessAreas/DrivesSolutions/Softwaredownload
/DDFieldbus_Setup_Files.htm
GDS-file is not shipped with drive

2005-10-02
Flemming Huusmann/DD-SPMP

Drives Division
Confidential / Property of Danfoss Drives A/S

28

Setting up the master (PLC).


The downloaded ZIP-file contains GSDs for all DD products:

The GSD-file is a text-file containing information about:


Communication parameters
Diagnosis

2005-10-02
Flemming Huusmann/DD-SPMP

Drives Division
Confidential / Property of Danfoss Drives A/S

29

Setting up the master (PLC).

Import the GSD file in the hardware


configuration tool.
For each drive series, a GSD file is
imported once only.

Use the browser for the GSD file,


choose to install both the GSD file and
the bitmap for the device.
The files will be imported into the
Hardware catalogue.

2005-10-02
Flemming Huusmann/DD-SPMP

Drives Division
Confidential / Property of Danfoss Drives A/S

30

Setting up the master (PLC).

The FC 300 GSD file is now imported and


will be accessible via the following path in
the Hardware catalogue:

2005-10-02
Flemming Huusmann/DD-SPMP

Drives Division
Confidential / Property of Danfoss Drives A/S

31

Setting up the master (PLC).

Open a Project, set up the


Hardware and add a PROFIBUS
Master system.
Select FC 300 then drag and drop it
onto the PROFIBUS in the Hardware
diagram.
A window for the address of the FC
300 now appears. Select the address
from the scroll-down list.
Note that this address setting must
match the previous address setting in
par. 9-18 Node address.

All PPO types can be set up as word consistent or module consistent.


For FC 300, the process data area can be word or module consistent,
whereas the parameter channel must always be module consistent.
2005-10-02
Flemming Huusmann/DD-SPMP

Drives Division
Confidential / Property of Danfoss Drives A/S

32

Setting up the master (PLC).


The next step is to set up the
peripheral input and output
data.
Data set up in the peripheral
area is transmitted cyclically via
PPO types.
In this example, a PPO type 6
Word consistent is dragged and
dropped to 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
configuration:
2005-10-02
Flemming Huusmann/DD-SPMP

Drives Division
Confidential / Property of Danfoss Drives A/S

33

Setting up the master (PLC).

Auto-configuration of Process Data


For Profibus SW version 2.x and on, Autoconfiguration of process data is
supported.
This feature makes it is possible to
configure the process data (par. 9-15 and
9-16) from the PLC/Master.
To use Autoconfig, make sure to enable
the feature under: DP slave Properties.

2005-10-02
Flemming Huusmann/DD-SPMP

Drives Division
Confidential / Property of Danfoss Drives A/S

34

PPO types

PCV: Parameter Characteristics Value

CTW: Control word

PCD: Process Data

STW: Status word

PCA: Parameter Characteristics (Bytes 1, 2)

MRV: Main reference value

IND: Sub index (Byte 3. Byte 4 is not used)

MAV: Main actual value (Actual output frequency)

PVA: Parameter value (Bytes 5 to 8)


2005-10-02
Flemming Huusmann/DD-SPMP

Drives Division
Confidential / Property of Danfoss Drives A/S

35

Hexadecimal base
All data are handled in hexadecimal format.
This makes is easier to convert from binary in byte-format.
Decimal

Hex

Binary

10

11

12

13

14

15

One byte conversion:

0
1

Decimal

Hex

12

2005-10-02
Flemming Huusmann/DD-SPMP

Drives Division
Confidential / Property of Danfoss Drives A/S

36

PCV Parameter access


- Parameter access via cyclical DPV0 data exchange

PCV: Parameter Characteristics Value


PCD: Process Data
PCA: Parameter Characteristics (Bytes 1, 2)
IND: Sub index (Byte 3. Byte 4 is not used)
PVA: Parameter value (Bytes 5 to 8)

2005-10-02
Flemming Huusmann/DD-SPMP

Drives Division
Confidential / Property of Danfoss Drives A/S

37

PCV Parameter access


- Parameter access via cyclical DPV0 data exchange

(Not used)
Parameter number

2005-10-02
Flemming Huusmann/DD-SPMP

Drives Division
Confidential / Property of Danfoss Drives A/S

38

PCV Parameter access


- Example: Change ramp-up time (par. 3-41) to 10 sec.
- Set Start-command and 50% reference.

Change par. Value (Long word)

Par. 3-41 conv. Ind.: -2

Par. 3-41 = 32 bits

10=>1000=3E8hex

FC Profile
2005-10-02
Flemming Huusmann/DD-SPMP

Drives Division
Confidential / Property of Danfoss Drives A/S

39

Process data

PCD write (master -> slave)


PCD 1: 16 bit controlword (CTW)
PCD 2: 16 bit speed set point (MRV)
PCD 3-10: Process data write (Par. 9-15)

PCD read (slave -> master)


PCD 1: 16 bit statusword (STW)
PCD 2: 16 bit actual speed (MAV)
PCD 3-10: Process data read (Par. 9-16)

2005-10-02
Flemming Huusmann/DD-SPMP

Drives Division
Confidential / Property of Danfoss Drives A/S

40

Control word, PROFIdrive profile


In par. 8-10 Control word Profile the INTERPRETATION of the CTW
FC Profile
PROFIdrive Profile
Control word (PROFIdrive)

Status word (PROFIdrive)

2005-10-02
Flemming Huusmann/DD-SPMP

Drives Division
Confidential / Property of Danfoss Drives A/S

41

Control word, PROFIdrive profile

Control word (FC Profile)

Status word (FC Profile)

2005-10-02
Flemming Huusmann/DD-SPMP

Drives Division
Confidential / Property of Danfoss Drives A/S

42

Controlword, FC profile

Control word according to FC Profile


- 047C will start the drive with the transmitted reference

2005-10-02
Flemming Huusmann/DD-SPMP

Drives Division
Confidential / Property of Danfoss Drives A/S

43

Control word, FC profile

Control word according to FC Profile


- 047C will start the drive with the transmitted reference

2005-10-02
Flemming Huusmann/DD-SPMP

Drives Division
Confidential / Property of Danfoss Drives A/S

44

Control word, FC profile

Control Word

Control Word

Bits 00/01 Bits 00 and 01 are used to


choose between the four reference
values, which are pre-programmed in par.
3-10 Preset reference according to the
following table:

Bits 13 and 14 are used to choose from the four


menu set-ups according to the following table:

2005-10-02
Flemming Huusmann/DD-SPMP

Drives Division
Confidential / Property of Danfoss Drives A/S

45

Status word, FC profile

Status word according to FC Profile

2005-10-02
Flemming Huusmann/DD-SPMP

Drives Division
Confidential / Property of Danfoss Drives A/S

46

Reference
PCD 2 contains a 16-bit speed set point in
percentage format.
The value is transmitted in integers (032767).
The value 16384 (4000 Hex) corresponds to
100%.
Negative numbers are formed with the aid of
the twos complement.

2005-10-02
Flemming Huusmann/DD-SPMP

Drives Division
Confidential / Property of Danfoss Drives A/S

47

Negative numbers, Twos complement

Negative numbers:
Each bit of the number is inverted (zeros are replaced with ones and vice versa),
but then one (000...0001) is added

2005-10-02
Flemming Huusmann/DD-SPMP

Drives Division
Confidential / Property of Danfoss Drives A/S

48

PCDs, Process Data Write


Master -> slave
Fixed

Par. 9-15 selections:

Fixed

2005-10-02
Flemming Huusmann/DD-SPMP

Drives Division
Confidential / Property of Danfoss Drives A/S

49

PCDs, Process Data Read


Slave -> master

Fixed

Par. 9-16 selections:

Fixed
Fixed

2005-10-02
Flemming Huusmann/DD-SPMP

Drives Division
Confidential / Property of Danfoss Drives A/S

50

A few words on PROFIdrive


Par. 8-10 Control word Profile = PROFIdrive Profile (State-machine)

Power-up:
Auto Remote Start Inhibit
CTW 047E:
Auto Remote Control Ready
CTW 047F:
Ramping
- toggling bit 0....

2005-10-02
Flemming Huusmann/DD-SPMP

Drives Division
Confidential / Property of Danfoss Drives A/S

51

PROFIbus Test-tool

The PROFIbus Test-tool is a PC-tool internally


developed for DD, that is able to simulate a PROFIbus DP
Master.
It supports only point-to-point connections (one PC and
one drive).
A RS-485 interface/converter is needed.

2005-10-02
Flemming Huusmann/DD-SPMP

Drives Division
Confidential / Property of Danfoss Drives A/S

52

PROFIbus Test-tool

Scan Network
for available devices
COM settings
Profile
Language

Slave
node address

Select
Drive type

Select
Telegram type

Start
PROFIbus master

Wizard for
CTW and reference

Enter CTW and REF


Send data

Received data
2005-10-02
Flemming Huusmann/DD-SPMP

Drives Division
Confidential / Property of Danfoss Drives A/S

53

New Parameter groups

VLT 5000
Old common 500 Group

FC 300
800 Group

900 Group

1000 Group

Comm. & options

PROFIbus

DeviceNet

2005-10-02
Flemming Huusmann/DD-SPMP

Drives Division
Confidential / Property of Danfoss Drives A/S

54

Parameter Group 8-** Comm & options

Par. 8-03 Controlword timeout Time


Par. 8-02 Control Word Source

Par. 8-04 Controlword timeout function


Par. 8-05 End of timeout function
Par. 8-10 Controlword profile

FC RS485
Par. 8-01 Control Site
FC USB

Motor

Option A
(Fieldbus)

controller

Option B
(I/O, feedback)

Par. 8-50 Coastng Select

Option C
(FPF, MCO)

Par. 8-51 Quick Stop Select


Par. 8-52 DC Brake Select

Par. 8-53 Start Select


Par. 8-00 Enabled options
(Postponed)

Digital inputs

Par. 8-54 Reversing Select


Par. 8-55 Set-up Select
Par. 8-56 Preset reference Select

2005-10-02
Flemming Huusmann/DD-SPMP

Drives Division
Confidential / Property of Danfoss Drives A/S

55

Bus controlword time-out

Par. 8-03 Controlword timeout Time


Par. 8-04 Controlword timeout function

(8-03) Control word timeout time

Par. 8-05 End of timeout function

0.1 - 18000.0 sec. Default=1.0 s

(8-04) Control word timeout function


Off (default)

[0]

Freeze Output

[1]

Stop

[2]

Jogging

[3]

Max. Speed

[4]

Stop and trip

[5]

Select set-up 1

[7]

Select set-up 2

[8]

Select set-up 3

[9]

Select set-up 4

[10]

Note:
In certain cases the timeout
function is activated immediately,
e.g. upon loss of communication.

(8-05) End-of-timeout function


Hold set-up

Resume to original set-up (default) [1]

2005-10-02
Flemming Huusmann/DD-SPMP

[0]

Drives Division
Confidential / Property of Danfoss Drives A/S

56

Bus controlword time-out

What can trigger a Control-word timeout ?


A timeout can first be triggered after reception of the first valid
control-word.
If the bus-cable is broken, not data is received => timeout.
If the PLC enters fail-safe-mode (e.g. put in Stop), it will send
empty telegrams, i.e. telegrams with no data-payload (Siemens
S7 systems) => timeout.
In older Siemens systems (S5) the master sends telegrams with
zeros i.e. not empty telegrams.
This will normally not trigger a timeout !
- thats why VLT 5000 have option 3 in par. 805: Bit 10 = 0 =>
timeout
2005-10-02
Flemming Huusmann/DD-SPMP

Drives Division
Confidential / Property of Danfoss Drives A/S

57

Bus controlword timeout

Set-up selected i par. 8-04


(8-05) End-of-timeout function
Hold set-up

[0]

Resume to original set-up (default) [1]

(8-06) Reset control word timeout


Do not reset (default)

[0]

Do reset

[1]
- After selecting
[1] par. 8-06
returns to [0]

- Resumes to original set-up

2005-10-02
Flemming Huusmann/DD-SPMP

Drives Division
Confidential / Property of Danfoss Drives A/S

58

Par. Group 9-** Profibus

9-15 PCD write configuration

9-68 Status word 1

9-16 PCD read configuration

9-70 Edit Set-up

9-18 Node address

9-71 Save data values

9-22 Telegram selection

9-72 Drive reset No action

9-23 Parameter for signals

9-80 Defined parameters (1)

9-27 Parameter edit

9-81 Defined parameters (2)

9-28 Process control

9-82 Defined parameters (3)

9-53 Profibus Warning word

9-83 Defined parameters (4)

9-63 Actual baud rate

9-90 Changed parameters (1)

9-64 Device identification

9-91 Changed parameters (2)

9-65 Profile number

9-92 Changed parameters (3)

9-67 Control word 1

9-93 Changed parameters (4)

2005-10-02
Flemming Huusmann/DD-SPMP

Drives Division
Confidential / Property of Danfoss Drives A/S

59

Par. Group 9-** PROFIbus


Parameter 9-15 PCD Write Configuration
Options:

Function:

None
3-02 Minimum Reference
3-03 Maximum Reference
3-12 Catch Up/Slow Down Value
3-41 Ramp 1 Ramp Up Time
3-42 Ramp 1 Ramp Down Time

Assigns different parameters to PCD 3 to


10 of the PPOs (the number of PCDs
depends on the PPO type). The values in
PCD 3 to 10 are written to the selected
parameters as data values.

3-51 Ramp 2 Ramp Up Time


3-52 Ramp 2 Ramp Down Time
3-80 Jog Ramp Time
3-81 Quick Stop Ramp Time
4-11 Motor Speed Low Limi
4-13 Motor Speed High Limit
4-16 Torque Limit Motor Mode
4-17 Torque Limit Generator Mode
8-90 Bus Jog 1 Speed
8-91 Bus Jog 2 Speed
16-80 Fieldbus CTW 1
16-82 Fieldbus REF 1
2005-10-02
Flemming Huusmann/DD-SPMP

Drives Division
Confidential / Property of Danfoss Drives A/S

60

Par. Group 9-** PROFIbus


Parameter 9-16 PCD Read Configuration
Options:
None
16-00 Control Word
16-01 Reference [Unit]
16-02 Reference %
16-03 Status Word
16-05 Main Actual Value [%]
16-10 Power [kW]
16-11 Power [hp]
16-12 Motor Voltage
16-13 Frequency
16-14 Motor Current
16-16 Torque
16-17 Speed [RPM]
16-18 Motor Thermal
16-19 KTY Sensor Temperature
16-20 Phase Angle
16-30 DC Link Voltage
16-32 Brake Energy / s
16-33 Brake Energy / 2 min
16-34 Heatsink Temp.
16-35 Inverter Thermal
16-38 SL Controller State
16-39 Controlcard Temp.

Function:
16-50 External Reference
16-51 Pulse Reference
16-52 Feedback [Unit]
16-53 Digi Pot Reference
16-60 Digital Input
16-61 Terminal 53 Switch Setting

Assigns different parameters to PCD 3 to


10 of the PPOs (the number of PCDs
depends on the PPO type). PCD 3 to 10
holds the actual data value of the
selected parameters.

16-62 Analog Input 53


16-63 Terminal 54 Switch Setting
16-64 Analog Input 54
16-65 Analog Output 42 [mA]
16-66 Digital Output [bin]
16-67 Freq. Input #29 [Hz]
16-68 Freq. Input #33 [Hz]
16-69 Pulse Output #27 [Hz]
16-70 Pulse Output #29 [Hz]
16-84 Comm Option STW [Binary]
16-85 FC port CTW 1 Signal
16-90 Alarm Word
16-91 Alarm Word 2
16-92 Warning Word
16-93 Warning Word 2
16-94 Extended Status Word
16-95 Extended Status Word 2

2005-10-02
Flemming Huusmann/DD-SPMP

Drives Division
Confidential / Property of Danfoss Drives A/S

61

Par. Group 9-** Profibus


Parameter 9-18 Node Address
Range:

Function:

0-126

Sets the station address. It can also be


set on the hardware switch. It is possible
to set the address in par. 9-18 only if the
hardware switch is set to 126 or 127.
The parameter displays the actual
setting of the switch when setting the
hardware switch to >0 and <126 .

2005-10-02
Flemming Huusmann/DD-SPMP

Drives Division
Confidential / Property of Danfoss Drives A/S

62

Par. Group 9-** Profibus


Parameter 9-22 Telegram Selection
Options:

Function:

*Standard telegram 1 [1]


PRO 1

[101]

PRO 2

[102]

PRO 3

[103]

PRO 4

[104]

PRO 5

[105]

PRO 6

[106]

PRO 7

[107]

PRO 8

[108]

Standard Telegram 1 equals to PPO type


3. This parameter is read only and
automatically set to the according value
(PPO type) when the drive is configured
by a master.

2005-10-02
Flemming Huusmann/DD-SPMP

Drives Division
Confidential / Property of Danfoss Drives A/S

63

Par. Group 9-** PROFIbus


Parameter 9-28 Process Control
Options:

Function:

Disable

[0]

*Enable Cyclic Master

[1]

Process control (setting of Control Word,


speed reference, and process data) is
possible via either Profibus or the
standard RS485 Interface but not both at
the same time. Local control is always
possible via the LCP. Control via process
control is possible with either terminals
or bus depending on the setting of par.
8-50 to 8-56.
- Disable: Disables process control via
Profibus, and enables process control via
standard RS485.
- Enable cyclic master: Enables process
control via Profibus Master Class 1, and
disables process control via standard
RS485 bus or Master class 2.

2005-10-02
Flemming Huusmann/DD-SPMP

Drives Division
Confidential / Property of Danfoss Drives A/S

64

Par. Group 9-** Profibus


Parameter 9-70 Edit setup
Options:

Function:

Factory setup

[0]

Setup 1

[1]

Setup 2

[2]

Setup 3

[3]

Setup 4

[4]

*Active setup

[9]

Choose the set-up in which programming


(change of data) will be performing
during operation.
It is possible to programme the 4 setups independently of the set-up selected
as active.
Parameter access from each master will
be directed to the set-up which has been
selected by the individual master (cyclic,
a-cyclic MCL1, first acyclic MCL2, second
a-cyclic MCL2, third acyclic MCL2).

2005-10-02
Flemming Huusmann/DD-SPMP

Drives Division
Confidential / Property of Danfoss Drives A/S

65

Par. Group 9-** PROFIbus


Parameter 9-70 Edit setup
Parameters can be accessed either from the process controller (i.e. PLC), or from various
kinds of HMI equipment, at the same time.
For PROFIbus, parameter access in the drive is performed via several separated parameter
channels (MCL 1 cyclic and a-cyclical, 3 MCL 2 a-cyclical channels) in total 5 channels.
For each channel it is possible to select at desired setup via par. 9-70.
Using this mechanism it is possible to Read or Write to and from parameters in a certain setup from a MCL 1, (e.g. a PLC), and simultaneously access parameters in a different set-up from
a MCL 2, (e.g. a PC tool), without interfering with the set-up selection for the programming
sources.

2005-10-02
Flemming Huusmann/DD-SPMP

Drives Division
Confidential / Property of Danfoss Drives A/S

66

Par. Group 9-** Profibus


Parameter 9-71 Profibus Save data values
Options:

Function:

*Off

[0]

Store edit set-up

[1]

Store all set-ups

[2]

Parameter values changed via Profibus


are not automatically stored into nonvolatile memory.
Use this parameter to activate a function
that stores allparameter values in the
EEPROM. Thus, you retain changed
parameter values at power-down.
- [0] Off: The store function is inactive.
- [1] Store edit set-up: All parameter
values in the set-up selected in par. 9-70
are stored in the EEPROM. The value
returns to [0] Off when all values are
stored.
-[2] Store all set-ups: All parameter
values for all set-ups are stored in the
EEPROM. The value returns to [0] Off
when all parameter values are stored.

2005-10-02
Flemming Huusmann/DD-SPMP

Drives Division
Confidential / Property of Danfoss Drives A/S

67

Profibus DP diagnosis
Profibus master

= diagnosis data available.


(807) Diagnosis trigger

Disable (default)

[0]

Trigger on alarms

[1]

Trigger alarm/warn.

[2]

Note:
Enabling diagnosis may cause increased
bus traffic.

2005-10-02
Flemming Huusmann/DD-SPMP

Drives Division
Confidential / Property of Danfoss Drives A/S

68

Profibus DP diagnosis
Profibus master

Standard diag.
D
g.
ia

re
q.

g
ia
D

es
.r
p.

S
Vendor spec.
diag.

2005-10-02
Flemming Huusmann/DD-SPMP

Drives Division
Confidential / Property of Danfoss Drives A/S

69

Profibus DP diagnosis
Alarm word

Warning word

2005-10-02
Flemming Huusmann/DD-SPMP

Drives Division
Confidential / Property of Danfoss Drives A/S

70

Profibus DP diagnosis

Profibus warning word

2005-10-02
Flemming Huusmann/DD-SPMP

Drives Division
Confidential / Property of Danfoss Drives A/S

71

Profibus DP diagnosis

GSD-file is used to translate diagnosis-bits into real-text messages

2005-10-02
Flemming Huusmann/DD-SPMP

Drives Division
Confidential / Property of Danfoss Drives A/S

72

Troubleshooting

Check the cabling


Is the correct GSD-file installed ?

Check bus termination


Check that the PLC is in run mode.
If the PLC is in stop mode Warning 34
will appear.
Is the Control word valid?
If bit 10=0 in the Control word, then the
drive will not accept the Control word.

2005-10-02
Flemming Huusmann/DD-SPMP

Drives Division
Confidential / Property of Danfoss Drives A/S

73

Troubleshooting

2005-10-02
Flemming Huusmann/DD-SPMP

Drives Division
Confidential / Property of Danfoss Drives A/S

74

Troubleshooting
Check relation between CTW bits and I/Os

Par. 8-02 Control Word Source

Par. 8-01 Control Site

Par. 8-50 Coastng Select


Par. 8-51 Quick Stop Select
Par. 8-52 DC Brake Select
Par. 8-53 Start Select
Digital inputs

Par. 8-54 Reversing Select


Par. 8-55 Set-up Select
Par. 8-56 Preset reference Select

2005-10-02
Flemming Huusmann/DD-SPMP

Drives Division
Confidential / Property of Danfoss Drives A/S

75

DP V1 acylical parameter access


The Profibus DP extension DPV1 offers additional to the cyclical data
communication of DP V0, an a-cyclical communication.
This a-cyclical communication is possible by a DP master class1 (e.g.
PLC), as well as a DP master class 2 (e.g. MCT-10).
Cyclical communication means that data transfer takes place all the time
with a certain update rate. This is the known DP V0 function normally
used for quick update of I/O Process Data.
A-cyclical communication means a one-time-event, mainly used for
Read/ Write of parameters from Process controllers, PC based tools or
monitoring systems.

2005-10-02
Flemming Huusmann/DD-SPMP

Drives Division
Confidential / Property of Danfoss Drives A/S

76

DP V1 acylical parameter access

Multiple masters
Cylical data exhange
Acylical parameter access
Dynamically established connections (MCL2)

2005-10-02
Flemming Huusmann/DD-SPMP

Drives Division
Confidential / Property of Danfoss Drives A/S

77

DP V1 acylical parameter access


A DP-V1 request does not have a predictable response-time

Processing time

2005-10-02
Flemming Huusmann/DD-SPMP

Drives Division
Confidential / Property of Danfoss Drives A/S

78

DP V1 acylical parameter access


How the DP-V1 telegram is build

PROFIBUS
telegram
header

Data unit
DP-V1
command/response

Profidrive V3 parameter
channel

DU
0

Req. /resp.
Header

DU
1

DU
2

DU
3

2005-10-02
Flemming Huusmann/DD-SPMP

PROFIBUS
Telegram
trailer

Data

Drives Division
Confidential / Property of Danfoss Drives A/S

79

DP V1 acylical parameter access

For more detailed instructions in use of the DP


V1 function, please refer to the Operating
Instructions MG.90.E1.02 Information about
the features supported by the PROFIBUS DP V1
functions.

2005-10-02
Flemming Huusmann/DD-SPMP

Drives Division
Confidential / Property of Danfoss Drives A/S

80

PROFIBUS in detail
7-layer OSI-model

User-layer
Layer 7,
application
Layer 3 to 6

DP Profile
DP functions

DP-V1

DP-V0

Not used

Layer 2, Data link

Fieldbus Data Link

Layer 1, physical

RS-485 / FO

FDL

2005-10-02
Flemming Huusmann/DD-SPMP

Drives Division
Confidential / Property of Danfoss Drives A/S

81

PROFIBUS in detail
States of a DP-slave

Parameterization:
The slave receives the bus-parameters, watchdog parameters
and salve-specific data from the master.
Configuration:
The master compares the requested configuration with the actual
configuration of the slave.
Data exchange:
After a successful parameterization and configuration the master
enters the data-exchange-mode with the salve.

2005-10-02
Flemming Huusmann/DD-SPMP

Drives Division
Confidential / Property of Danfoss Drives A/S

82

PROFIBUS in detail
Statemachine for DP-slave

2005-10-02
Flemming Huusmann/DD-SPMP

Drives Division
Confidential / Property of Danfoss Drives A/S

83

PROFIBUS in detail
PROFIBUS analyzers

www.profitrace.com

www.softing.com

2005-10-02
Flemming Huusmann/DD-SPMP

Drives Division
Confidential / Property of Danfoss Drives A/S

84

PROFIBUS in detail
PROFIBUS analyzers, example

2005-10-02
Flemming Huusmann/DD-SPMP

Drives Division
Confidential / Property of Danfoss Drives A/S

85

You might also like