The VLT® DeviceNet MCA 104 Programming Guide provides
information about conguring the system, controlling the
frequency converter, parameter access, programming,
troubleshooting, and some typical application examples.
The programming guide is intended for use by qualied
personnel who are familiar with the VLT® frequency
converter, with DeviceNet 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 VLT® frequency converter and
optional equipment:
The VLT® Operating Instructions provide the
•
necessary information for getting the VLT
frequency converter up and running.
The VLT® Design Guide provides detailed
•
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® DeviceNet MCA 104 Installation Guide
•
provides information about installing the
DeviceNet and troubleshooting.
The VLT® DeviceNet MCA 104 Programming Guide
•
provides information about conguring the
system, controlling the VLT® frequency converter,
parameter access, programming, troubleshooting,
and some typical application examples.
Supplementary publications and manuals are available
from Danfoss. See vlt-drives.danfoss.com/Support/Technical-Documentation/ for listings.
®
Product Overview
1.4
This programming guide relates to the DeviceNet interface.
Ordering number:
130B1102 (non-coated version).
•
130B1210 (conformal coated version).
•
DeviceNet is a low-level network that standardizes
communications between industrial devices (sensors, limit
switches, motor controls) and high-level devices
(controllers). DeviceNet follows the Open Systems Interconnection (OSI) model and is based on CAN technology for
media access control and physical signaling.
DeviceNet systems can be congured to operate in a
master/slave or a distributed control architecture using
peer-to-peer communication. Up to 63 nodes in a multidrop network topology are supported. By using the same
cable for communication, communication options can be
powered directly from the bus. Nodes can be removed or
inserted without powering down the network.
Each node on the network has its own unique media
access control identier (MAC ID) to distinguish it on the
network. The access control is based on the CSMA/CA
(carrier sense multiple access/collision avoidance) principle,
meaning that all nodes may have access to the network at
the same time. When 2 nodes attempt to get control of
the network bus simultaneously, the CAN protocol resolves
the issue by arbitration. In this way, collisions on the
network are avoided.
DeviceNet denes device proles for devices belonging to
specic classes. For other devices, dene a custom class to
make it DeviceNet compatible. All the above enhances the
interchangeability and interoperability of the network.
11
1.3
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.
Indicates a potentially hazardous situation that could
result in death or serious injury.
CAUTION
Indicates a potentially hazardous situation that could
result in minor or moderate injury. It can also be used to
alert against unsafe practices.
NOTICE
Indicates important information, including situations that
can result in damage to equipment or property.
2.2 Qualied Personnel
Correct and reliable transport, storage, installation,
operation, and maintenance are required for the troublefree and safe operation of the frequency converter. Only
qualied personnel are allowed to install and operate this
equipment.
Qualied personnel are dened as trained sta, who are
authorized to install, commission, and maintain equipment,
systems, and circuits in accordance with pertinent laws and
regulations. Additionally, the qualied personnel must be
familiar with the instructions and safety measures
described in these operating instructions.
Safety Precautions
2.3
WARNING
HIGH VOLTAGE
Frequency converters contain high voltage when
connected to AC mains input, DC supply, or load sharing.
Failure to perform installation, start-up, and maintenance
by qualied personnel can result in death or serious
injury.
Only qualied personnel must perform instal-
•
lation, start-up, and maintenance.
WARNING
UNINTENDED START
When the frequency converter is connected to AC mains,
DC 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 with an external
switch, a eldbus command, an input reference signal
from the LCP or LOP, via remote operation using MCT 10
Set-up Software, or after a cleared fault condition.
To prevent unintended motor start:
Press [O/Reset] on the LCP before
•
programming parameters.
Disconnect the frequency converter from the
•
mains.
Completely wire and assemble the frequency
•
converter, motor, and any driven equipment
before connecting the frequency converter to
AC mains, DC supply, or load sharing.
WARNING
DISCHARGE TIME
The frequency converter contains DC-link capacitors that
can remain charged even when the frequency converter
is not powered. Failure to wait the specied time after
power has been removed before performing service or
repair work can result in death or serious injury.
Stop the motor.
•
Disconnect the AC mains and remote DC-link
•
supplies, including battery back-ups, UPS, and
DC-link connections to other frequency
converters.
Disconnect or lock the PM motor.
•
Wait for the capacitors to discharge fully before
•
performing any service or repair work. The
waiting time is specied in the relevant
frequency converter operating instructions,
Chapter 2 Safety.
WARNING
LEAKAGE CURRENT HAZARD
Leakage currents exceed 3.5 mA. Failure to ground the
frequency converter properly can result in death or
serious injury.
All DeviceNet stations that are connected to the same bus
network must have a unique station address. Select the
DeviceNet address of the frequency converter via:
Address switches (default 63).
•
Parameter 10-02 MAC ID (default 63).
•
Class code 0X03, instance 1, attribute 1.
•
Illustration 3.1 VLT
®
DeviceNet MCA 104 Interface
3.1.1 Setting the DeviceNet Address using
the Address Switches
NOTICE
Switch o the power supply before changing the address
switches. The address change comes into eect at the
next power-up, and can be read in parameter 10-02 MACID.
Set the address switches to give the option a unique ID.
Select an address range from 0–63 (factory setting 63)
according to Table 3.1.
Switch87654321
Address value––+32+16+8+4+2+1
5––OFF OFF OFF ON OFF ON
20––OFFON OFF ON OFF OFF
35––ONOFF OFF OFF ON ON
3.1.2 Setting the DeviceNet Address via
Parameter 10-02 MAC ID
Set the address via parameter 10-02 MAC ID if the hardware
switches are set to 63 (factory setting). The address change
comes into eect at the next power-up.
3.1.3 Setting the DeviceNet Address with
the Object Class Code 0x03, Instance
1, Attribute 1
Set the address via the DeviceNet object class code 0x03
attribute 1 command when the address switch is set to 63
(factory setting). A new address becomes eective
immediately after the class code 0x03, instance 1, attribute
1 command.
3.1.4 Setting the Baud Rate
All DeviceNet stations connected to the same bus network
must have the same baud rate. Select the baud rate of the
frequency converter via:
Address switches.
•
Parameter 10-01 Baud Rate Select (default 125
•
kBd).
Object class code 0x03, instance 1, attribute 2.
•
3.1.5 Setting the DeviceNet Baud Rate
using the Address Switches
NOTICE
Switch o the power supply before changing the address
switches. The baud rate change comes into eect at the
next power-up, and can be read in parameter 10-01 BaudRate Select.
Use the address switches to select a baud rate of 125 k
baud (factory setting), 250 k baud, or 500 k baud, see
Table 3.2:
Set the baud rate via parameter 10-01 Baud Rate Select if
the address switches 1 and 2 are set to ON (factory
33
setting). The baud rate change comes into eect at the
next power-up.
3.1.7 Setting the DeviceNet Baud Rate with
the Object Class Code 0x03, Attribute
2
Set the baud rate via the DeviceNet object class code 0x03
attribute 2 command, when the address switches 1 and 2
are set to ON (factory setting). A new baud rate becomes
eective immediately after the class code 0x03 attribute 2
command.
3.2 Congure the Master
3.2.1 EDS File
A large part area of the system conguration is the setting
of application-related parameters. EDS (Electronic Data
Sheet) les simplify the setting up of most of the
DeviceNet congurable parameters. For o-linecongu-ration, Danfoss provides a generic English EDS le covering
all voltage and power sizes. Download the EDS le from
www.danfoss.com/drives.
NOTICE
The EDS le does not contain all parameters. It contains
only a selected, limited number of parameters with
generic minimum, maximum, and default values.
Note the following parameters when conguring the
frequency converter with a DeviceNet interface. Refer to
chapter 6 Parameters for more details of each parameter.
Parameter 0-40 [Hand on] Key on LCP.
•
If the Hand key on the frequency converter is
activated, control of the frequency converter via
the DeviceNet interface is disabled. After initial
power-up the frequency converter automatically
detects whether a eldbus option is installed in
slot A, and sets parameter 8-02 Control WordSource to [3] Option A. If an option is added to,
changed in, or removed from an already commissioned frequency converter, it does not change
parameter 8-02 Control Word Source but enters trip
mode, and the frequency converter shows an
error.
Parameter 8-10 Control Word Prole (see
•
chapter 4 Control). Select between the Danfoss FC
Prole and the ODVA prole. Select the desired
DeviceNet instance in parameter 10-10 Process
Data Type Selection.
Parameter 8-50 Coasting Select to
•
parameter 8-56 Preset Reference Select (see
chapter 6 Parameters). Selection of how to gate
the DeviceNet control commands with digital
input command of the control card.
NOTICE
When parameter 8-01 Control Site is set to [2] Control
word only, the settings in parameter 8-50 Coasting Select
to parameter 8-56 Preset Reference Select is overruled,
and all act on bus control.
Parameter 8-03 Control Word Timeout Time to
•
parameter 8-05 End-of-Timeout Function. The
reaction in the event of a bus timeout is set via
these parameters.
This section describes 2 of 3 possible process control
modes:
Polling.
•
Change of state (COS).
•
The 3rd FC control mode uses the acyclic mode explicit
messaging via the standard DeviceNet control supervisory
object class 29H. The control supervisory object is
described in chapter 5.3 DeviceNet Object Classes.
4.1.1 Polling
Table 4.1 is a classic master/slave connection and the
standard DeviceNet operating mode. The master controls
the data exchange by sending cyclic poll-requests to the
connected slave, and the slave answers by sending a pollresponse to the master. The master can control and
monitor the frequency converter by polling the DeviceNet
or Danfoss objects (I/O instances).
Master
Slave
Table 4.1 Standard DeviceNet Operation Mode - Polled I/O
Slave
⇒
Master
⇒
CTWMRV
STWMAV
4.1.2 Change of State, COS
COS is an event-controlled operating mode used to minimize network trac. Messages are transmitted only if a dened
state or value has changed. The condition for triggering a COS message is determined by the insertion of COS-lters
(parameter 10-20 COS Filter 1 to parameter 10-23 COS Filter 4), for each bit in the dierent PCD words. The lter acts like a
logical AND function: If a bit in the lter is set to 1, the COS function triggers after a change to the corresponding bit for
the PCD word.
44
Illustration 4.1 Dierent PCDs and the Corresponding Filter Parameters
Parameter 10-20 COS Filter 1 to parameter 10-23 COS Filter 4 can be used to lter out undesired events for COS. If a lter bit is
set to 0, the corresponding I/O instance bit is unable to produce a COS message. By default, all bits in the COS lters are set
to 0.
To signal that the connection has not been interrupted, or the device is not powered o, a heartbeat message is
transmitted within a specied time interval (heartbeat interval). This interval is dened in attribute heartbeat time of the
connection object, class code 0x05.
To prevent the device from producing heavy network trac if a value changes frequently, the production inhibit time (an
attribute of the connection object) is dened. This parameter denes the minimum time between 2 COS messages.
The attribute expected package rate denes the maximum time between 2 COS messages even when the value is
unchanged. In the event of COS connection, the explicit package rate is identical with the heartbeat interval mentioned
above. This timer is used both as transmission trigger and inactivity watchdog, depending on whether the connection is
producer or consumer.
VLT® DeviceNet MCA 104
4.2 I/O Assembly Instances
I/O assembly instances are several
information. Illustration 4.2 shows the I/O assembly instance options for controlling and monitoring the frequency converter.
dened process control objects with dened content comprising control and status
44
Illustration 4.2 I/O Assembly Instance Options
4.3 Process Data
Process data comprises the control and status data in the I/O assembly instances.
The CTW, MRV, STW, and MAV have
4 are freely congurable, for instance 101/151 via parameter 10-11 Process Data Cong Write and parameter 10-12 ProcessData Cong Read.
All PCDs are freely congurable for instance 102/152.
DeviceNet provides a exible way to customize the number of process data (I/O words) and the functionality of each word.
To activate the user denable process data, select the I/O instance 101/151 in parameter 10-10 Process Data Type Selection.
This changes the I/O size to 4 words in the input and output area. This selection uses the Danfoss-specicprole for the
control word and status word as well as for the main reference value/main actual value.
The rst 2 words are xed on the DeviceNet, whereas PCD 3 and PCD 4 are user congurable. The number of PCDs active in
a system is xed to 2 words.
dened formats and functions, depending on the I/O instance selected. PCD 3 and PCD
NOTICE
To select [1] Instance 101/151 in parameter 10-10 Process Data Type Selection, set parameter 8-10 Control Word Prole to
[0] FC prole.
To enable use of PCD data from the DeviceNet, congure the contents of each single PCD word in parameter 10-11 Process
Data Cong Write and parameter 10-12 Process Data Cong Read. Changes to parameter 10-11 Process Data Cong Write and
parameter 10-12 Process Data Cong Read are eected immediately in the PCD data.
4.4.1 Control Word under Instances 20/70
and 21/71
Set parameter 8-10 Control Word Prole to ODVA and select
the instance in parameter 10-10 Process Data Type Selection.
Illustration 4.4 The Control Word in Instances 20 and 21
NOTICE
The bits 00 and 02 in instance 20 are identical with bits
00 and 02 in the more extensive instance 21.
BitInstance 20Instance 21
Bit = 0Bit = 1Bit = 0Bit = 1
00StopRun FwdStopRun Fwd
01––StopRun Rev
02No function Fault reset No function Fault reset
03––––
04––––
05–––Net Ctrl
06–––Net Ref
07–15––––
Explanation of the bits:
Bit 0, Run Fwd
Bit 0 = 0: The frequency converter has a stop command.
Bit 0 = 1: Leads to a start command, and the frequency
converter runs the motor clockwise.
Bit 1, Run Rev
Bit 1 = 0: Leads to a stop of the motor.
Bit 1 = 1: Leads to a start reverse of the motor, and the
frequency converter runs the motor counterclockwise.
Bit 2, Fault Reset
Bit 2 = 0: There is no reset of a trip.
Bit 2 = 1: A trip is reset.
Bit 3, No function
Bit 3: No function.
Bit 4, No function
Bit 4: No function.
Bit 5, Net Control
Bit 5 = 0: The frequency converter is controlled via the
standard inputs.
Bit 5 = 1: The DeviceNet controls the frequency converter.
For the speed reference, see chapter 4.4.3 Bus Speed
Reference Value under Instances 20/70 and 21/71.
4.4.2 Status Word under Instances 20/70
44
and 21/71
Illustration 4.5 Status Word in Instances 70 and 71
NOTICE
The bits 00 and 02 in instance 70 are identical with bits
00 and 02 in the more extensive instance 71.
BitInstance 70Instance 71
Bit = 0Bit = 1Bit = 0Bit = 1
00–Fault–Fault
01–––Warning
02–Running 1
Fwd
03–––Running 2
04–––Ready
05–––Control
06–––Reference
07–––At
08–15––State attribute
–Running 1
Fwd
Rev.
from Net
from Net
reference
Bit 3, Running 2
Bit 3 = 0: The frequency converter is not in the running
reverse state, or run 2 is not set.
Bit 3 = 1: The frequency converter state attribute is
enabled or stopping, or fault-stop and bit 0 (run 2) of the
control word are set at the same time.
Bit 4, Ready
Bit 4 = 0: The state attribute is in another state.
Bit 4 = 1: The state attribute is ready, enabled, or stopping.
Bit 5, Control from net
Bit 5 = 0: The frequency converter is controlled from the
standard inputs.
Bit 5 = 1: The DeviceNet has control (start, stop, reverse) of
the frequency converter.
Bit 6, Ref from net
Bit 6 = 0: The reference comes from inputs to the
frequency converter.
Bit 6 = 1: The reference comes from the DeviceNet.
Bit 7, At reference
Bit 7 = 0: The motor is running, but the present speed is
dierent from the preset speed reference, for example, the
speed is being ramped up/down during start/stop.
Bit 7 = 1: The frequency converter and reference speeds
are equal.
Bit 8–15, State attribute
(Instance 71 only)
Represents the state attribute of the frequency converter,
as indicated in Table 4.4.
Bit numberMeaning
8(Vendor specic)
9Start up
10Not ready
11Ready
12Enabled
13Stopping
14Fault stop
15Faulted
Table 4.3 Bits in Instances 70 and 71
Explanation of the bits:
Bit 0, Fault
Bit 0 = 0: There is no fault in the frequency converter.
Bit 0 = 1: There is a fault in the frequency converter.
Bit 1, Warning
Bit 0 = 0: There is no unusual situation.
Bit 0 = 1: An abnormal condition has arisen.
Bit 2, Running 1
Bit 2 = 0: The frequency converter is not in the running
forward state, or run 1 is not set.
Bit 2 = 1: The frequency converter state attribute is
enabled or stopping, or that fault-stop and bit 0 (run 1) of
the control word are set at the same time.
chapter 4.4.4 Actual Output Speed under Instances 20/70 and
21/71.
4.4.3 Bus Speed Reference Value under
Instances 20/70 and 21/71
The speed reference value is transmitted to the frequency
converter as a 16-bit word. The value is transmitted as a
whole number. Negative gures are formatted by 2’s
complement.
ControlProgramming Guide
Illustration 4.6 Speed Reference Value
The bus speed reference has the following format:
Parameter 3-00 Reference Range = 0 [ref
MIN
to ref
MAX
] 0
(0000 hex) [RPM] to + 32767 (7FFF hex) [RPM]
Parameter 3-00 Reference Range = 1 [-ref
MAX
to +ref
MAX
]
-32767 (8001 hex ) to +32767 [RPM] (7FFF hex)
The actual reference [Ref. %] in the frequency converter
depends on the settings in the following parameters:
Parameter 1-23 Motor Frequency
Parameter 1-25 Motor Nominal Speed
Parameter 3-03 Maximum Reference
NOTICE
When the bus speed reference is negative, and the
control word contains a run reverse signal, the frequency
converter runs clockwise (- - is +).
Example:
Parameter 1-25 Motor Nominal Speed = 1420 RPM
Parameter 1-23 Motor Frequency = 50 Hz
Parameter 3-03 Maximum Reference = 1420 RPM
To run the motor at 25%, the reference transmitted must
be: (1420x0.25) = 355 = 16.3 hex
163 hex ⇒ 25% ⇒ F
4.4.4 Actual Output Speed under Instances
20/70 and 21/71
= 12.5 Hz
out
FC Control Prole
4.5
4.5.1 Control Word under Instances
100/150, 101/151, and 102/152
To select FC protocol in the control word, set
parameter 8-10 Control Word Prole to [0] FC prole. The
control word is used to send commands from a master
(PLC or PC) to a slave (frequency converter).
Illustration 4.8 Control Words in Instances 100, 101, and 102
BitBit value = 0Bit value = 1
00Reference valueExternal selection lsb
01Reference valueExternal selection msb
02DC brakeRamp
03CoastingNo coasting
04Quick stopRamp
05Hold output frequencyUse ramp
06Ramp stopStart
07No functionReset
08No functionJog
09Ramp 1Ramp 2
10Data invalidData valid
11No functionRelay 01 active
12No functionRelay 04 active
13Parameter set-upSelection lsb
14Parameter set-upSelection msb
15No functionReverse
44
Table 4.5 Bits in Instances 100, 101, and 102
Explanation of the control bits:
Bits 00/01
Bits 00 and 01: Select between the 4 reference values,
Illustration 4.7 Actual Output Speed Value
which are pre-programmed in parameter 3-10 Preset
Reference according to Table 4.6.
The value of the actual speed of the motor, is transmitted
in the form of a 16-bit word.
The value is transmitted as a whole number (negative
gures are formed with 2's complement).
-32767 (8000 hex) [RPM] to +32767 [RPM] (7FFF hex) [RPM]
In parameter 8-56 Preset Reference Select, a selection is
made to dene how bit 00/01 gates with the
corresponding function on the digital inputs.
Bit 02, DC brake
Bit 02 = 0: Leads to DC braking and stop. Braking current
and duration are set in parameter 2-01 DC Brake Current
44
and parameter 2-02 DC Braking Time.
Bit 02 = 1: Leads to ramping.
Bit 03, Coasting
Bit 03 = 0: Causes the frequency converter to immediately
release the motor (the output transistors are disabled), and
coasts to a standstill.
Bit 03 = 1: Enables the frequency converter to start the
motor if the other starting conditions are fullled.
NOTICE
In parameter 8-50 Coasting Select, a selection is made to
dene how bit 03 gates with the corresponding function
on a digital input.
Bit 04, Quick stop
Bit 04 = 0: Causes a stop, in which the motor speed is
ramped down to stop via parameter 3-81 Quick Stop RampTime.
Bit 05, Hold output frequency
Bit 05 = 0: Causes the present output frequency (in Hz) to
freeze. The frozen output frequency can then be changed
only with the digital inputs (parameter 5-10 Terminal 18Digital Input to parameter 5-15 Terminal 33 Digital Input)
programmed to speed up and speed down.
NOTICE
If hold output is active, only the following can stop the
frequency converter:
Bit 03 coasting stop.
•
Bit 02 DC braking.
•
Digital input (parameter 5-10 Terminal 18 Digital
•
Input to parameter 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: Allows the frequency converter to start the
motor, if the other starting conditions are fullled.
NOTICE
In parameter 8-53 Start Select, a selection is made to
dene how bit 06 ramp stop/start gates with the
corresponding function on a digital input.
Bit 07, Reset
Bit 07 = 0: Does not cause a reset.
Bit 07 = 1: Resets a trip. Reset is activated on the leading
edge of the signal, that is, when changing from logic 0 to
logic 1.
Bit 08, Jog
Bit 08 = 1: The frequency converter ramps up/ramps down
according to the setting in parameter 3-19 Jog Speed [RPM].
Bit 09, Selection of ramp 1/2
Bit 09 = 0: Ramp 1 is active (parameter 3-40 Ramp 1 Type to
parameter 3-47 Ramp 1 S-ramp Ratio at Decel. Start).
Bit 09 = 1: Ramp 2 is active (parameter 3-50 Ramp 2 Type to
parameter 3-57 Ramp 2 S-ramp Ratio at Decel. Start).
Bit 10, Data not valid/Data valid
Tells the frequency converter whether to use or to ignore
the control word.
Bit 10 = 0: Ignores the control word.
Bit 10 = 1: Uses the control word to be used. This function
is relevant, because the control word is always contained
in the telegram, regardless of the type of telegram. It is
possible to turn o the control word if you do not wish to
use it with updating or reading parameters.
Bit 11, Relay 01
Bit 11 = 0: Relay not activated.
Bit 11 = 1: Relay 01 activated, provided [36] control wordbit 11 is selected in parameter 5-40 Function Relay.
Bit 12, Relay 04
Bit 12 = 0: Relay 04 is not activated.
Bit 12 = 1: Relay 04 is activated, provided [37] control wordbit 12 is selected in parameter 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.7.
Set-upBit 14Bit 13
100
201
310
411
Table 4.7 Menu Set-up
The function is only possible when [9] Multi Set-up is
selected in parameter 0-10 Active Set-up.
NOTICE
In parameter 8-55 Set-up Select, a selection is made to
dene how bits 13/14 gate with the corresponding
function on the digital inputs.
4.5.2 Status Word under Instances 100/150,
101/151, and 102/152
Illustration 4.9 Status Words in Instances 150/151/152
BitBit = 0Bit = 1
00Control not readyControl ready
01Drive not readyDrive ready
02CoastingEnable
03No errorTrip
04No errorError (no trip)
05Reserved–
06No errorTrip lock
07No warningWarning
08Speed referenceSpeed = reference
09Local operationBus control
10Out of frequency limitFrequency limit ok
11No operationIn operation
12Drive okStopped, auto start
13Voltage okVoltage exceeded
14Torque okTorque exceeded
15Timer okTimer exceeded
Table 4.8 Status Bits
Explanation of the status bits:
Bit 00, Control not ready/ready
Bit 00 = 0: The frequency converter has tripped.
Bit 00 = 1: The frequency converter controls are ready, but
the power component is not necessarily receiving any
power supply (if there is 24 V external supply to controls).
Bit 01, Drive ready
Bit 01 = 1: The frequency converter is ready for operation.
Bit 02, Coasting stop
Bit 02 = 0: The frequency converter has released the motor.
Bit 02 = 1: The frequency converter can start the motor
when a start command is given.
Bit 03, No error/trip
Bit 03 = 0: The frequency converter is not in fault mode.
Bit 03 = 1: The frequency converter is tripped, and a reset
signal is required to re-establish operation.
Bit 04, No error/error (no trip)
Bit 04 = 0: The frequency converter is not in fault mode.
Bit 04 = 1: There is a frequency converter error but no trip.
Bit 05, Not used
Bit 05: Not used in the status word.
Bit 06, No error/trip lock
Bit 06 = 0: The frequency converter is not in fault mode.
Bit 06 = 1: The frequency converter is tripped and locked.
Bit 07, No warning/warning
Bit 07 = 0: There are no warnings.
Bit 07 = 1: A warning has occurred.
Bit 08, Speed reference/speed = reference
Bit 08 = 0: The motor is running, but the present speed is
dierent from the preset speed reference. For example, it
could be the case while the speed is being ramped up/
down during start/stop.
Bit 08 = 1: The present motor speed matches the preset
speed reference.
Bit 09, Local operation/bus control
Bit 09 = 0: [STOP/RESET] is activated on the control unit, or
[2] Local in parameter 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 eldbus/serial communication.
Bit 10, Out of frequency limit
Bit 10 = 0: The output frequency has reached the value in
Bit 10 = 1: The output frequency is within the dened
limits.
Bit 11, No operation/in operation
Bit 11 = 0: The motor does not run.
Bit 11 = 1: The frequency converter has a start signal, or
the output frequency is greater than 0 Hz.
Bit 12, Drive OK/stopped, auto start
Bit 12 = 0: There is no temporary overtemperature on the
inverter.
Bit 12 = 1: The inverter has stopped because of overtemperature, but the unit has not tripped and resumes
operation once the overtemperature 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 DC
link is too low or too high.
Bit 14, Torque OK/limit exceeded
Bit 14 = 0: The motor current is lower than the torque limit
selected in parameter 4-16 Torque Limit Motor Mode or
parameter 4-17 Torque Limit Generator Mode.
Bit 14 = 1: The torque limits in parameter 4-16 Torque Limit
Motor Mode and parameter 4-17 Torque Limit Generator
Mode are exceeded.
Bit 15, Timer OK/limit exceeded
Bit 15 = 0: The timers for motor thermal protection and
frequency converter thermal protection, respectively, have
not exceeded 100%.
Bit 15 = 1: One of the timers has exceeded 100%.
4.5.3 Bus Reference Value under Instances
100/150 and 101/151
The frequency reference value is transmitted to the
frequency converter in the form of a 16-bit word. The
value is transmitted as a whole number (-32767 to
+32767). Negative gures are formatted by 2’s
complement.
44
Master ⇒ slave
CTWSpeed reference RPM
Table 4.9 Speed Reference Value
The bus reference has the following format:
100% = 4000 hex
Parameter 3-00 Reference Range = 0 [ref
16384 (4000 hex) ~ 0 ⇒ 100%
Parameter 3-00 Reference Range = 1 [- ref
4.5.4 Actual Output Frequency under
Instances 100/150 and 101/151
The value of the actual output frequency of the frequency
converter is transmitted in the form of a 16-bit word. The
value is transmitted as a whole number (-32767 to
+32767). Negative gures are formed by 2’s complement.
Slave ⇒ master
STWActual reference RPM
Table 4.10 Actual Output Frequency
16 bit
The actual output frequency has the following format:
-32767 to +32767.
-16384 (C000 hex) corresponds to -100%, and 16384 (4000
DeviceNet is based on the CAN protocol. Every message contains an 11 bit CAN identier eld to dene the connection ID.
These CAN identiers are also used to determine access priority.
The MAC ID is stored in the header of the message, which is split into 4
109876543210Identier bits
0Group 1 IDSource MAC IDMessage group 1
10MAC IDGroup 2 IDMessage group 2
11Group 3 IDSource MAC IDMessage group 3
11111Group 4 IDMessage group 4
1111111XXXXInvalid CAN identiers
Table 5.1 MAC ID
It is possible to access frequency converter parameters via the standard DeviceNet service explicit message. Two classes of
explicit messages are supported:
Message group 2: Explicit messages take place via
Message group 3: Explicit messages take place via dynamically established lower prioritized connections.
Object Classes
5.2
Access is available to the following standard DeviceNet objects.
Class ID 01hIdentity objectClass ID 10hParameter group object
Class ID 03hDeviceNet objectClass ID 28hMotor data object
Class ID 04hAssembly objectClass ID 29hControl supervisory object
Class ID 05hConnection objectClass ID 2AhAC/DC drive object
Class ID 0FhParameter objectClass ID 2BhAcknowledge handler object
pre-dened master/slave connections.
dierent message groups, see Table 5.1.
55
Table 5.2 Standard DeviceNet Objects
The following DeviceNet vendor-specic objects are also available:
Class ID 100d to 119d Danfoss classes.
The object classes are described in chapter 5.3 DeviceNet Object Classes and chapter 5.4 Danfoss Object Classes.
Class ID 01h identity object is a standard DeviceNet object for identication of the device (frequency converter). Set the
heartbeat interval in this object. The attributes supported for this class are listed in Table 5.3.
Class ID 03h DeviceNet object is a standard DeviceNet object for conguration and status of the DeviceNet connection. The
attributes supported for this class are listed in Table 5.4.
Class ID 04h assembly object is a standard DeviceNet object for transfer of the I/O instances (process data) described in
chapter 4 Control. Using class ID 04h assembly object to send or read any of the dened instances, either by polling or
explicit messaging. The attributes supported for this class are listed in Table 5.5.
Class ID 05h connection object is a standard DeviceNet object for allocation and managing I/O and explicit messaging
connections. For this class, 3 instances are supported:
Explicit messages.
•
Polled I/O.
•
Change of state.
•
The attributes supported for the
AttributeAccessNameData typeDescription
55
1GetStateUSINTState of the object.
2GetInstance typeUSINTIndicates either I/O or explicit message.
3GetTransport class
4GetProduced
5GetConsumed
6GetInitial
7GetProduced
8GetConsumed
9Get/SetExpected
12GetWatchdog
13GetProduced
14GetProduced
15GetConsumed
16GetConsumed
17GetProduction
dierent instances are listed in Table 5.7, Table 5.8, and Table 5.9.
USINTDenes behavior of the connection.
trigger
UINTCAN identiereld when the connection transmits.
connection ID
UINTCAN identiereld value that denotes message to be received.
connection ID
USINTDenes the message group/groups across which productions and
communication
characteristics
UINTMaximum number of bytes transmitted across this connection.
connection size
UINTMaximum number of bytes received across this connection.
connection size
UINTDenes value used in transmission trigger timer and inactivity/
package rate
USINTDenes how to handle inactivity/watchdog timeout.
timeout action
UINTNumber of bytes in the produced connection path attribute.
connection path
length
Array of USINT Species the application object/objects whose data is to be produced
connection path
UINTNumber of bytes in the consumed connection path attribute.
connection path
length
Array of USINT Species the application object/objects that are to receive the data
connection path
UINTDenes minimum time between new data production. This attribute is
inhibit time
consumptions associated with this connection occur.
Class ID 0F4 parameter object is an interface to the parameters of the frequency converter. It identies congurable
parameters and supplies their description, including minimum and maximum values and a descriptive text. The attributes
supported are listed in Table 5.10.
AttributeAccessStub/FullNameData typeDescription
1Set/GetStubParameter value
2GetStubLink path sizeUSINTSize of link path.
3GetStubLink pathARRAYDeviceNet's path to origin of the parameters.
–––Segment type/port BYTE–
–––Segment addressPath–
4GetStubDescriptorWORDDescription of parameter.
5GetStubData typeEPATHData type code.
6GetStubData sizeUSINTNumber of bytes in parameter value.
7GetFullParameter name
string
8GetFullUnits stringSHORT
9Get/SetFullHelp stringSHORT
10GetFullMinimum value
11GetFullMaximum value
12GetFullDefault value
13GetFullScaling multiplierUINTMultiplier for scaling factor.
14GetFullScaling divisorUINTDivisor for scaling factor.
15GetFullScaling baseUINTBase for scaling formula.
16GetFullScaling osetINTOset for scaling formula.
17GetFullMultiplier linkUINTParameter instance of multiplier source.
18GetFullDivisor linkUINTParameter instance of divisor source.
19GetFullBase linkUINTParameter instance of base source.
20GetFullOset linkUINTParameter instance of oset source.
21GetFullDecimal precisionUSINTSpecies parameter value format.
Data type
SHORT
STRING
STRING
STRING
Data type
Data type
Data type
1)
1)
1)
1)
Actual value of parameter.
Text string representing the parameter name.
Text string representing the parameter name.
Text string representing the parameter name.
Minimum valid value.
Maximum valid value.
Parameters default value.
55
Table 5.10 Attributes Supported for Class ID 0F4 Parameter Object
Class ID 10h parameter group object denes 14 parameter groups for all parameters of the frequency converters. One class
instance exists for each parameter group. A readout of an instance contains the name of the current parameter group.
GroupInstanceName (maximum 16 characters)
01OPERATIONDISPL.
12LOAD–MOTOR––––––
23BRAKES––––––––––
34REFERENCE–RAMPS–
45LIMITS–WARNINGS–
55
56DIGITAL–IN–OUT––
67ANALOG–IN–OUT–––
78CONTROLLERS–––––
89COMM.–AND–OPTION
910CAN–FIELDBUS––––
1011SPECIAL–FUNCTION
Table 5.11 Class ID 10h Parameter Group Object
5.3.7 Class ID 28h Motor Data Object
In class ID 28h motor data object, the current motor data can be congured and readout. The instances, attributes, and
services supported for this class are listed in Table 5.12.
Attribute AccessNameData
type
3Get/setMotor
type
6Get/setRated
current
7Get/setRated
voltage
8Get/setRated
power
9Get/setRated
frequency
1)
12
15Get/setBase
Get/setPole
count
speed
USINT7–77 = Squirrel cage
UNIT0–100.00100 mADrive dependent Stator current rating (from
UNIT200–500VoltDrive dependent Base voltage rating (from
UDINT0–18500WattDrive dependent Power rating at rated
UNIT1–1000HzDrive dependent Elec. frequency rating
UINT––Drive dependent Pole numbers in the
UNIT100–60000 RPMDrive dependent Nominal motor speed
The control supervisory object can be used for process control and monitoring of the frequency converter as an alternative
to the I/O instances dened in chapter 4 Control. The attributes supported for this class are listed in Table 5.13.
AttributeAccessNameData typeMinimum/
Maximum
3Get/SetRun 1Bool0–1–Run fwd, see note below
4Get/SetRun 2Bool0–1–Run rev, see note below
5Get/SetNetCtrlBool0–110 = Local control
6GetStateUSINT0–7–0 = Vendor specic
7GetRunning 1Bool0–100 = Other state
8GetRunning 2Bool0–100 = Other state
9GetReadyBool0–1–0 = Other state
10GetFaultBool0–100 = No faults present
12Get/SetFault RstBool0–1–0 = No action
13GetFault CodeUINT––
15GetCtrl From NetBool0–110 = Control is local
16Get/SetDN Fault Mode UINT0–21Action on loss of DeviceNet
DefaultDescription
1 = Control from network
1 = Start-up
2 = Not ready
3 = Ready
4 = Enabled
5 = Stop
6 = Fault stop
7 = Fault
1 = (Enable and Run 1)
or (Stopping and Running 1)
or (Fault Stop and Running 1)
1 = (Enable and Run 2)
or (Stopping and Running 2)
or (Fault Stop and Running 2)
1 = Ready or Enabled or Stopping
1 = Fault occurred (latched)
1 ->1 = Reset fault
1 = Control is from network
0 = Fault + Stop
1 = Ignore (warning optional)
2 = Danfoss specic
55
Table 5.13 Class ID 0x29
NOTICE
The ODVA drive prole selected in parameter 1-10 Motor Construction is available only when instances 20/70 or 21/71
are selected.
Illustration 5.1 shows how the frequency converter responds to the various command attributes associated with class ID
0x29.
To set and read out a range of frequency converters control and status information, use this object. The attributes
supported for this class are listed in Table 5.14.
AttributeAccessNameData
type
3GetAt referenceBool0–1–0 = Drive not at reference
4Get/SetNet refBool0–110 = Set reference at non-DeviceNet
To manage message reception acknowledgements, necessary for change-of-state support, use class ID 2Bh acknowledge
handler object. The attributes supported for this class are listed in Table 5.15.
AttributeAccessNameData
type
1SetACK timerUINT0–6553516Time to wait for ACK before resending.
2Get/SetRetry timerUSINT0–2551Number of ACK-timeouts to wait before
3Get/SetCOSUINT––Connection instance ID
Table 5.15 Class ID 0x2B
5.4 Danfoss Object Classes
Use the Danfoss classes for read and write of all parameter
values of the frequency converters. A corresponding object
class is dened for each parameter group. Table 5.16 shows
the classes supported, and their relationship to the
parameters.
The class instance and attribute act in the following way:
100 added to the parameter group = the value
•
for the class.
100 added to the remaining parameter number =
•
the value for the instance.
100 added to the array index of the parameter =
•
the value for the attribute.
Parameter rangeClass
Parameter 0-00 – 0-99Class 100
Parameter 1-00 – 1-99Class 101
Parameter 2-00 – 2-99Class 102
Parameter 3-00 – 3-99Class 103
Parameter 4-00 – 4-99Class 104
Parameter 5-00 – 5-99Class 105
Parameter 6-00 – 6-99Class 106
Parameter 7-00 – 7-99Class 107
Parameter 8-00 – 8-99Class 108
Parameter 10-00 – 10-99Class 110
Parameter 11-00 – 11-99Class 111
Parameter 13-00 – 13-99Class 113
Parameter 14-00 – 14-99Class 114
Parameter 15-00 – 15-99Class 115
Parameter 16-00 – 16-99Class 116
Minimum/
Maximum
DefaultDescription
producing.
RetryLimit_Reache event.
5.4.1 Examples
Examples: (ctitious parameters) (all values in decimal)
Parameter 0-01 Language [index 0] = Class 100;
•
instance 101; attribute 100
Parameter 1-00 Conguration Mode [index 0] =
•
Class 101; instance 100; attribute 100
Parameter 3-41 Ramp 1 Ramp Up Time [index 0] =
•
Class 103; instance 141; attribute 100
Parameter 1-55 U/f Characteristic - U [index 3] =
•
Class 101; instance 155; attribute 103
Parameter 6-54 Terminal 42 Output Timeout Preset
•
[index 9] = Class 106; instance 154; attribute 109
Parameter 10-01 Baud Rate Select [index 0] = Class
[1] Digital onlyControl 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
in slot A. When the option is removed, the
frequency converter detects a conguration
change, sets parameter 8-02 Control Word
Source to default setting [1] FC RS485, 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
shows: Alarm 67, Option Changed.
When retrotting a bus option into a
frequency converter that did not have a bus
option installed earlier, change the control to
bus-based. This change is required for safety
reasons to avoid an unintended change.
[0] None
[1] FC RS485
[2] FC USB
[3] Option A
[4] Option B
[5] Option C0
[6] Option C1
[30] External Can
eldbus option installed
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 2 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 Function is then carried out. A
valid control word triggers the timeout 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
specied in parameter 8-03 Control Word Timeout Time.
Option:Function:
NOTICE
To change the set-up after a timeout,
congure as follows:
Set parameter 0-10 Active Set-up to [9]Multi set-up and select the relevant
link in parameter 0-12 This Set-upLinked to.
[0] OResumes control via eldbus(eldbus or
standard), using the most recent control
word.
[1] Freeze output Freezes output frequency until communi-
cation resumes.
[2] StopStops with auto restart when communi-
cation resumes.
[3] JoggingRuns the motor at jog frequency until
communication resumes.
[4] Max. speedRuns the motor at maximum frequency until
communication resumes.
[5] Stop and trip Stops the motor, then resets the frequency
converter to restart:
Via the eldbus.
•
Via [Reset].
•
Via a digital input.
•
[7] Select setup 1 Changes the set-up after a control word
This example shows how to work with I/O instance
101/151, which consists of control word/status word and
reference/main actual value. The instance 101/151 also has
2 extra words, which can be programmed to monitor
process signals, as shown in Illustration 7.1.
77
The application requires monitoring of the motor torque
and digital input, so PCD 3 is set up to read the actual
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.
101/151 Process
Illustration 7.1 Instance 101/151 Process
ParameterFunctionSetting
Parameter 4-10 Motor
Speed Direction
Parameter 5-10 Termin
al 18 Digital Input
Parameter 5-11 Termin
al 19 Digital Input
Parameter 5-40 Functio
n Relay
Parameter 8-03 Control
Word Timeout Time
Parameter 8-04 Control
Word Timeout Function
Parameter 8-10 Control
Word Prole
Parameter 8-50 Coastin
g Select
Parameter 8-51 Quick
Stop Select
Parameter 8-52 DC
Brake Select
Parameter 8-53 Start
Select
Parameter 8-54 Reversi
ng Select
Parameter 8-55 Set-up
Select
Parameter 8-56 Preset
Reference Select
Parameter 10-01 Baud
Rate Select
Parameter 10-02 MACIDMAC IDSet desired
Parameter 10-10 Proces
s Data Type Selection
Parameter 10-12 Proces
s Data Cong Read
Motor speed range/
direction
Digital input 18[0] No operation
Digital input 19[10] Reversing
Function relay[36] Control word
Control word timeout
time
Control word timeout
function
Control word proleFC Prole
Coasting select[1] Bus
Quick-stop select[1] Bus
DC-brake select[1] Bus
Start select[1] Bus
Reversing select[2] Logic AND
Set-up select[1] Bus
Preset reference
select
Baud rate selectSet to match
Process data type
selection
Process Data Cong
Read
[2] Both
directions
bit 11
[37] Control word
bit 12
1.0 s
[2] Stop
[1] Bus
other DeviceNet
stations
station address
[1] Instance
101/151
PCD 3: Torque
PCD 4: Digital
input
For safety reasons the frequency converter stops the motor
when:
When there is no communication with the frequency
converter, proceed with the following checks:
1.Check that cabling is correct.
Check that the cables are connected to the
correct terminals as shown in Illustration 8.2.
88
Illustration 8.3 Topology
8.3 Frequency Converter Does Not Respond
to Control Signals
Pin numberTerminalColorName
1V-BlackGND
2CAN_LBlueCAN LOW
3Drain(bare)Screen
4CAN_HWhiteCAN HIGH
5V+Red+24 V
Illustration 8.2 Correct Cabling
2.The 24 V network voltage is applied.
3.The correct EDS le is installed. Download the
correct EDS le from www.danfoss.com/drives.
4.Check that the bus connection is terminated at
both ends.
If not, terminate the bus connection with
termination resistors at the initial and nal nodes.
Refer to Illustration 8.3. Termination is performed
between terminal 2 (CAN_L) and 4 (CAN_H) with
a resistor: 121 Ω, 1% metal lm, ¼ W.
For Danfoss control word prole (instances 100/150 and
101/151), 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,
because the default setting is bit 10=1.
Set bit 10=1 via the PLC.
2.The relationship between bits in the control word
and the terminal I/O 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.
Dene the logical relationship in parameter 8-50 Coasting
Select to parameter 8-56 Preset Reference Select according to
the following range of options. Select the FC control mode,
digital input and/or bus communication, using
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 DeviceNet 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
DeviceNet warning word can also be shown using the serial bus in parameter 16-90 Alarm Word, parameter 16-92 WarningWord, and parameter 16-05 Main Actual Value [%].
Bit (Hex)Alarm word
(parameter 16-90 Alarm Word)
00000001Unused–––
00000002Drive overtemperature29MajorRecoverable
00000004Ground fault14MajorUnrecoverable
00000008Unused–––
00000010Control word timeout18MinorRecoverable
00000020Overcurrent13MajorUnrecoverable
00000040Torque limit12MajorRecoverable
88
00000080Motor thermistor over temp.11MajorRecoverable
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 specications 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.