This publication contains information proprietary to
Danfoss. By accepting and using this manual the user
agrees that the information contained herein is used solely
for operating equipment from Danfoss or equipment from
other vendors if such equipment is intended for communication with Danfoss equipment over an Ethernet serial
communication link. This publication is protected under
the Copyright laws of Denmark and most other countries.
Danfoss does not guarantee that a software program
produced according to the guidelines provided in this
manual functions properly in every physical, hardware, or
software environment.
Although Danfoss has tested and reviewed the documentation within this manual, Danfoss makes no warranty or
representation, either express or implied, with respect to
this documentation, including its quality, performance, or
fitness for a particular purpose.
In no event shall Danfoss be liable for direct, indirect,
special, incidental, or consequential damages arising out of
the use, or the inability to use information contained in
this manual, even if advised of the possibility of such
damages. In particular, Danfoss is not responsible for any
costs including but not limited to the damages incurred as
a result of lost profits or revenue, loss or damage of
equipment, loss of computer programs, loss of data, the
costs to substitute these, or any claims by third parties.
Danfoss reserves the right to revise this publication at any
time and change its contents without prior notice or any
obligation to notify previous users of such revisions or
changes.
Safety Note
WARNING
HIGH VOLTAGE
The voltage of the frequency converter is dangerous
whenever connected to mains. Incorrect installation of the
motor, frequency converter, or fieldbus may damage the
equipment, cause serious personal injury, or death.
Consequently, the instructions in this manual, as well as
national and local rules and safety regulations, must be
complied with.
Safety Regulations
1.The frequency converter must be disconnected
from mains before carrying out repair work.
Check that the mains supply has been disconnected and that the necessary time has passed
before removing motor and mains plugs.
2.The off-command on the serial bus does not
disconnect the equipment from mains and should
not be used as a safety switch.
3.Correct protective earthing or grounding of the
equipment must be established. The user must
be protected against supply voltage, and the
motor must be protected against overload in
accordance with applicable national and local
regulations.
4.The earth leakage currents are higher than 3.5
mA.
5.Do not remove the plugs for the motor and
mains supply while the frequency converter is
connected to mains. Check that the mains supply
has been disconnected and that the necessary
time has passed before removing motor and
mains plugs.
MG90P202 - VLT® is a protected Danfoss trademark
SafetyMCA 122 Modbus TCP
Warning against Uninteded Start
1.The motor can be brought to a stop with bus
commands while the frequency converter is
connected to mains. These stop functions do NOT
provide protection against unintended starts.
2.While parameters are being changed, there is a
risk that motor starts.
3.Electronic faults in the frequency converter and
cease of
temporary overload
•
faults in supply mains, or
•
fault in the motor connection
•
can cause an unintended start.
WARNING
ELECTRICAL HAZARD
Touching the electrical parts may be fatal - even after the
equipment has been disconnected from mains.
MG90P202 - VLT® is a protected Danfoss trademark
ContentsMCA 122 Modbus TCP
Contents
1 Introduction
1.1 Introduction
1.1.1 About this Manual3
1.1.2 Assumptions3
1.1.3 Background Knowledge3
1.1.4 Available Literature3
1.1.5 Modbus Conformance3
1.1.6 Abbreviations4
2 How to Install
2.1 The Modbus TCP Option
2.1.1 How to Install Option in Frequency Converter5
2.1.2 LED Behaviour6
2.1.3 Topology7
2.1.4 Network8
2.1.5 Recommended Design Rules8
2.1.6 EMC Precautions10
3
3
5
5
3 How to Configure
3.1 IP Settings
3.2 Ethernet Link Parameters
3.3 Configuring the Scanner
3.4 IP Traffic
4 How to Control
4.1 How to Control the Frequency Converter
4.1.1 Function Codes Supported by Modbus TCP17
4.2 Modbus TCP Message Framing Structure
4.2.1 Function Code17
4.2.2 Data Field17
4.2.3 Parameter Handling17
4.2.4 Storage of Data17
4.2.5 IND18
4.2.6 Text Blocks18
4.2.7 Conversion Factor18
4.2.8 Parameter Values18
11
11
11
12
15
17
17
17
4.2.9 Modbus Exception Codes18
4.3 PROFIdrive Control Profile
4.3.1 Control Word according to PROFIdrive Profile (CTW)19
4.3.2 Status Word according to PROFIdrive Profile (STW)20
MG90P202 - VLT® is a protected Danfoss trademark1
19
ContentsMCA 122 Modbus TCP
4.3.3 PROFIdrive State - Transition Diagram21
4.4 Danfoss FC Control Profile
4.4.1 Status Word according to Frequency Converter Profile (STW)24
4.5 Reference Handling
4.5.1 Bus Speed Reference Value25
5 Parameters
5.1 Parameter Group 8-**
5.2 Parameter Group 12-**
5.2.1 12-0* IP Settings30
5.2.2 12-1* Ethernet Link Parameters31
5.2.3 12-2* Process Data32
5.2.4 Modbus TCP32
5.2.5 12-8* Other Ethernet Services33
5.2.6 12-9* Advanced Ethernet Settings33
5.3 Parameter List
5.4 Data Types
5.4.1 Data Types Supported by FC 102/FC 202/FC 30236
23
25
27
27
30
34
36
6 Troubleshooting
6.1 Step-by-step Troubleshooting
6.2 Alarm Word and Warning Word
Index
37
37
37
41
2MG90P202 - VLT® is a protected Danfoss trademark
IntroductionMCA 122 Modbus TCP
1 Introduction
1.1 Introduction
1.1.1 About this Manual
First time users can find the most essential information for
quick installation and set-up in these chapters:
1 Introduction
2 How to Install
3 How to Configure
For more detailed information including the full range of
set-up options and diagnosis tools, refer to the chapters:
3 How to Configure
4 How to Control
5 Parameters
6 Troubleshooting
Terminology
Ethernet is a common term used to describe the physical
layer of the network and does not relate to the application
protocol.
Assumptions
1.1.2
These operating instructions are under the conditions that
the MCA 122 Modbus TCP option is used with a Danfoss
FC 100/FC 202/FC 300 frequency converter, and that the
installed option supports the interfaces described in this
document and that all the requirements stipulated in the
option, as well as the frequency converter, are strictly
observed along with all limitations herein.
Background Knowledge
1.1.3
1.1.4
Available Literature
Available Literature for FC 102/FC 202/FC 300
-
The Operating Instructions for VLT® HVAC Drive FC
102, VLT® AQUA Drive FC 202 and VLT
AutomationDrive FC 302 provide the necessary
information for getting the frequency converter
up and running.
-
The Design Guides for VLT
VLT® AQUA Drive FC 202 and VLT
AutomationDrive FC 302 entail all technical
information about the frequency converter design
and applications including encoder, resolver, and
relay options.
-
-
-
-
-
Danfoss technical literature is also available online at
www.danfoss.com/BusinessAreas/DrivesSolutions/
Documentations/Technical+Documentation.htm.
®
The VLT
Operating Instructions, provide the information
required for controlling, monitoring, and
programming the frequency converter via a
Profibus Fieldbus.
The VLTInstructions, provide the information required for
controlling, monitoring, and programming the
frequency converter via a DeviceNet Fieldbus.
The MCT 10 Set-up Software Operating Instructions,
provide information for installation and use of the
software on a PC.
The VLT® AutomationDriveFC 302 IP21/Type 1
Instruction, provides information for installing the
IP21/Type 1 option.
The VLT® AutomationDriveFC 302 24 V DC Backup
Instruction, provides information for installing the
24 V DC Backup option.
AutomationDriveFC 302 Profibus
®
AutomationDriveFC 302 Operating
®
HVAC Drive FC 102,
®
®
11
The Danfoss Modbus Option Card is designed to
communicate with any system complying with the Modbus
Messaging on TCP/IP Implementation Guide V1.0b and
Modbus Application Protocol Specification V1.1b standard.
Familiarity with this technology is assumed. Issues
regarding hardware or software produced by other
manufacturers, including commissioning tools, are beyond
the scope of this manual, and are not the responsibility of
Danfoss.
For information regarding commissioning tools, or
communication to a non-Danfoss node, consult the
appropriate manuals.
MG90P202 - VLT® is a protected Danfoss trademark3
Modbus Conformance
1.1.5
The Modbus option is tested to conform to the Modbus
standards and is certified towards conformance test level
version 3.
IntroductionMCA 122 Modbus TCP
1.1.6 Abbreviations
11
AbbreviationDefinition
APIActual Packet Interval
CCControl Card
CIPCommon Industrial Protocol
CTWControl Word
DHCPDynamic Host Configuration Protocol
EMCElectromagnetic Compatibility
I/OInput/Output
IPInternet Protocol
LCPLocal Control Panel
LEDLight Emitting Diode
LSBLeast Significant Bit
MARMajor Recoverable fail
MAUMajor Unrecoverable fail
MAVMain Actual Value (actual output)
MSBMost Significant Bit
MRVMain Reference Value
N/ANot applicable
ODVAOpen DeviceNet Vendor Association
PCPersonal Computer
PLCProgrammable Logic Controller
PNUParameter Number
REFReference (=MRV)
RTCReal Time Clock
sSecond
STPSpanning tree Protocol
STWStatus Word
Table 1.1 Abbreviations
4MG90P202 - VLT® is a protected Danfoss trademark
Ethernet Port 1 Ethernet Port 2
MS LED
NS LEDs
MCA122
MODBUS TCP
SW. ver. TM. ver.
MS
NS1
NS2
Ethernet Port 1Ethernet Port2
Option A
130B1196
MAC 00-1B-08-00-00-00
Address
8 7 6 5 4 3 2 1
ON
OFF
130BD190.10
How to InstallMCA 122 Modbus TCP
2 How to Install
2.1 The Modbus TCP Option
Illustration 2.1 Overview of the Option
How to Install Option in Frequency
2.1.1
Converter
Items required for installing a fieldbus option in the
frequency converter
The fieldbus option
•
Fieldbus option adapter frame for the FC 102/FC
•
202/FC 300. This frame is deeper than the
standard frame, to allow space for the fieldbus
option beneath
Strain relief (only for A1 and A2 enclosures)
•
Illustration 2.2 Option Installed in Frequency Converter
2
2
Illustration 2.3 Strain Relief for Enclosure Types A1 and A2
MG90P202 - VLT® is a protected Danfoss trademark5
How to InstallMCA 122 Modbus TCP
2
Instructions
1.Remove LCP panel from the frequency converter.
2.Remove the frame located beneath and discard it.
3.Push the option into place. The Ethernet
connectors must be facing upwards.
4.Remove both knock-outs on the fieldbus option
adapter frame.
5.Push the fieldbus option adapter frame for the
frequency converter into place.
6.Replace the LCP and attach cable.
NOTICE
Do not strip the Ethernet cable and ground it via the strain
relief-plate! The grounding of screened Ethernet cable is
done through the RJ-45 connector on the option.
2.1.2 LED Behaviour
The option has three bi-coloured LEDs
LED labelDescription
MSModule Status
NS1Network Status Ethernet Port 1
NS2Network Status Ethernet Port 2
NOTICE
After installing the MCA 122 option, be aware of the
following parameter settings:
8-01 Control Site: [2] control word only or [0] Digital and ctrl.
word
8-02 Control Word Source: [3] Option A
Table 2.1 Description of LEDs
StateLEDDescription
No powerOffThe device is un-powered
Device operationalGreen:Solid greenThe device is operational
StandbyGreen:Flashing greenThe device needs commissioning
Minor faultRed:Flashing redThe device has detected a recoverable fault
Major faultRed:Solid redThe device has detected an un-recoverable
fault
Self test
No IP address
WinkYellowFlashing yellowFlash for 20 s
Table 2.2 MS: Module Status
StateLEDDescription
No IP-address (no
power)
ConnectedGreen:Solid greenLink present; but nor winked and no ACD
Duplicate IPRed:Solid red
Self test
Device has been winked YellowFlashing yellowFlash for 20 s
Link present at 10 Mbps YellowSteady yellowLink present; but nor winked and no ACD
Red:
Green:
Yellow
OffNo link present (or is un-powered)
Red:
Green
Flashing red/
green
Steady yellowNo IP address configured or obtained
Flashing red/
green
The Modbus TCP option is in self-test mode
The IP-address assigned to the device is
already in use
The Modbus TCP is in self-test mode
Table 2.3 NS1+NS2: Network Status (One per Port)
6MG90P202 - VLT® is a protected Danfoss trademark
AutomationDrive
VLT
AutomationDrive
VLT
AutomationDrive
VLT
AutomationDrive
VLT
AutomationDrive
VLT
AutomationDrive
VLT
AutomationDrive
VLT
AutomationDrive
VLT
130BA903.10
AutomationDrive
VLT
AutomationDrive
VLT
AutomationDrive
VLT
AutomationDrive
VLT
AutomationDrive
VLT
AutomationDrive
VLT
AutomationDrive
VLT
130BA904.10
How to InstallMCA 122 Modbus TCP
2.1.3 Topology
The MCA 122 features a built-in Ethernet-switch, thus having two Ethernet RJ-45 connectors. This enables the possibility for
connecting several Modbus TCP options in a line topology as an alternative to the typical star-topology.
The two ports are equal, in the sense that they are transparent for the option. If only one connector is used, either port can
be used.
Illustration 2.4 Star Topology
2
2
Illustration 2.5 Line Topology
NOTICE
For line topology, refer to 2.1.5 Recommended Design Rules. In a line topology all frequency converters must be powered,
either by mains or by their 24 V DC option cards, for the built-in switch to work.
NOTICE
Observe that mounting frequency converters of different power-sizes in a line topology may result in unwanted power-off
behaviour.
Smaller frequency converters discharge faster than bigger frequency converters. This can result in loss of link in the line
topology, which may lead to control word timeout.
To avoid this, mount the frequency converters with the longest discharge time first in the line topology.
MG90P202 - VLT® is a protected Danfoss trademark7
AutomationDrive
VLT
AutomationDrive
VLT
AutomationDrive
VLT
AutomationDrive
VLT
AutomationDrive
VLT
½
AutomationDrive
VLT
AutomationDrive
VLT
130BA905.10
2
How to InstallMCA 122 Modbus TCP
Illustration 2.6 Ring/Redundant Line Topology
2.1.4
Network
more information regarding IP-switching, refer to 3.4.1 IPTraffic.
It is of high importance that the media chosen for Ethernet
data transmission are suitable. Usually CAT 5e and six
2.1.5 Recommended Design Rules
cables are recommended for industrial applications. Both
types of cable are available as Unshielded Twisted Pair and
Shielded Twisted Pair. Shielded cables are recommended
for use in industrial environments and with frequency
converters.
A maximum cable-length of 100 m is allowed between
switches.
Optical fibres can be used for gapping longer distances
and providing galvanic isolation.
While designing Ethernet networks special attention and
caution must be taken regarding active network
components.
While designing a network for line topology it is important
to notice that a small delay is added with each every
switch in the line.
It is not recommended to connect more than 32 frequency
converters in a line at any API. Exceeding the
recommended design rules, may result in failing communi-
For connecting Modbus TCP devices both hubs and
cation.
switches can be used. It is, however, always recommended
to use suitable industrial graded Ethernet switches. For
8MG90P202 - VLT® is a protected Danfoss trademark
How to InstallMCA 122 Modbus TCP
2
2
Illustration 2.7
MG90P202 - VLT® is a protected Danfoss trademark9
130BC509.10
How to InstallMCA 122 Modbus TCP
2
2.1.6 EMC Precautions
NOTICE
Relevant national and local regulations, for example
regarding protective earth connection, must be observed.
For interference-free operation of the Ethernet network,
take the following EMC precautions.
Keep the Ethernet communication cable away
•
from motor and brake resistor cables to avoid
coupling of high frequency noise from one cable
to another
Maintain the greatest possible distance (min. 200
•
mm (8 inches)) between cables. Especially, where
cables run in parallel over long distances.
If crossing is unavoidable, the Ethernet cable
•
must cross motor and brake resistor cables at an
angle of 90°
Additional EMC information is available in the frequency
converter Design Guide.
Illustration 2.8 EMC-correct Installation
10MG90P202 - VLT® is a protected Danfoss trademark
How to ConfigureMCA 122 Modbus TCP
3 How to Configure
3.1 IP Settings
All IP-related parameters are located in parameter group
12-0* IP Settings:
12-00 IP Address Assignment
•
12-01 IP Address
•
12-02 Subnet Mask
•
12-03 Default Gateway
•
12-04 DHCP Server
•
12-05 Lease Expires
•
12-06 Name Servers
•
12-07 Domain Name
•
12-08 Host Name
•
12-09 Physical Address
•
The MCA 122 option offers several ways of IP address
assignment.
Setting up the frequency converter with manually assigned
IP address
DHCP Server, the IP address of the found DHCP or
Server
BOOTP server is displayed.
For DHCP only: The remaining lease-time can be read-out
in 12-05 Lease ExpiresLease Expires.
12-09 Physical Address, Physical Address reads out the MAC
address of option, which is also printed on the label of the
option. If using fixed leases together with DHCP or BOOTP,
the physical MAC address is linked with a fixed IP address.
NOTICE
If no DHCP or BOOTP reply has been received after four
attempts (for example, if the DHCP/BOOTP server has been
powered off), the option will fallback to the last good
known IP address.
12-03 Default Gateway, Default Gateway is optional and
only used in routed networks.
12-06 Name Servers, Name Servers
12-07 Domain Name, Domain Name
12-08 Host Name, Host Name
are used with Domain Name Server systems and are all
optional. If DHCP or BOOTP is selected as IP address
assignment, these parameters are read only.
33
Parameter
12-00 IP Address Assignment[0] MANUAL
12-01 IP Address192.168.0.xxx*
12-02 Subnet Mask255.255.255.0*
12-03 Default Gatewayoptional
Table 3.1 Assigning IP Adresses Manually
*= Class C IP address example. Any valid IP address can be entered.
Value
NOTICE
A power-cycle is necessary after setting the IP parameters
manually.
Setting up the frequency converter with automatically
(BOOTP/DHCP) assigned IP address
Parameter
12-00 IP Address
Assignment
12-01 IP AddressRead only
12-02 Subnet MaskRead only
12-03 Default GatewayRead only
Table 3.2 Assigning IP Adresses Automatically
Value
[1] DHCP/[2] BOOTP
NOTICE
It is only possible to assign valid class A, B, and C IP
address to the option. The valid ranges are shown in
Table 3.3.
Class A1.0.0.1 - 126.255.255.254
Class B128.1.0.1 - 191.255.255.254
Class C192.0.1.1 - 223.255.254.254
Table 3.3 Valid Ranges of IP Addresses
3.2
Ethernet Link Parameters
Parameter group 12-1* Ethernet Link Parameters holds
information Ethernet Link information:
12-10 Link Status
•
12-11 Link Duration
•
12-12 Auto Negotiation
•
12-13 Link Speed
•
12-14 Link Duplex
•
By IP address assigned by DHCP/BOOTP server, the
assigned IP Address and Subnet Mask can be read out in
12-01 IP Address and 12-02 Subnet Mask. In 12-04 DHCP
MG90P202 - VLT® is a protected Danfoss trademark11
How to ConfigureMCA 122 Modbus TCP
NOTICE
The Ethernet Link Parameters are unique per port.
12-10 Link Status and 12-11 Link Duration displays
information on the link status, per port.
12-10 Link Status displays Link or No Link according to the
status of the present port.
12-11 Link Duration displays the duration of the link on the
present port. If the link is broken the counter resets.
33
12-12 Auto Negotiation – is a feature that enables two
connected Ethernet devices to choose common
transmission parameters, such as speed and duplex mode.
In this process, the connected devices first share their
capabilities as for these parameters and then choose the
fastest transmission mode they both support.
By default this function is enabled.
Incapability between the connected devices, may lead to
decreased communication performance.
To prevent this, Auto Negotiation can be disabled.
If 12-12 Auto Negotiation is set to OFF, link speed and
duplex mode can be configured manually in 12-13 Link
Speed and 12-14 Link Duplex.
12-14 Link Duplex
port.
Half-duplex provides communication in both directions,
but only in one direction at a time (not simultaneously).
Full-duplex allows communication in both directions, and
unlike half-duplex, allows for communication in both
directions, to happen simultaneously.
3.3 Configuring the Scanner
For configuring the scanner to communicate to the
frequency converter, no system (for example, EDS, GSD file)
file is needed. The frequency converter is handled as a
generic device and as such, configured directly in the
scanner. The following example sets up the scanner to IP
addresses 192.168.1.20 and the FC 302 to address
192.168.1.20.
Configuring a Modicon scanner
The following example uses the Unity Pro tool from Group
Schneider to configure the PLC. The example only shows
the setting up of the Protocol and assigning I/O mapping
to internal memory of the PLC.
– displays/sets the duplex mode per
12-13 Link Speed – displays/sets the link speed per port.
“None” is displayed if no link is present.
Under network, add a network by right clicking the
Network menu and select “New Network”
Illustration 3.1 Adding a Network
12MG90P202 - VLT® is a protected Danfoss trademark
How to ConfigureMCA 122 Modbus TCP
By selecting this menu, assign a name to the new network.
In this example “Danfoss” has been chosen.
Illustration 3.2 Assigning a Network Name
After clicking [OK], the network “Danfoss” should show up
under Networks and by selecting the Network, the main
configuration page is shown.
MenuMenu pointSetting
Model FamilyModel FamilyNOE 0100, NOE 110
Model UtilitiesIO ScanningYES
Global DataNO
Address ServerNO
IP address configuration
Ethernet Configuration
Table 3.4 Menu Settings
In the IP Configuration tab, press the [Configured] key, and the IP
address and fill out [Subnetwork mask]. In this example the address
192.168.1.20 is used as the address for the master.
Configured/From a
server
IP address192.168.001.020
Subnetwork mask255.255.255.0
Gateway address0.0.0.0
Ethernet Configu-
ration
Configured
Ethernet II
The step assigns the protocol to the scanner, which is done
by selecting the scanner and selecting the “Function” menu
and enables the Ethernet by selecting “ETH TCP IP” This brings
up the Net Link menu, where “Danfoss” has to be selected. At
this time, the “Danfoss” Protocol is assigned to the Scanner
and the last step is to configure the scanner to read and write
holding registers of the FC 302.
33
Illustration 3.3 Main Configuration Page
MG90P202 - VLT® is a protected Danfoss trademark13
How to ConfigureMCA 122 Modbus TCP
33
Illustration 3.4 Net Link Menu
Menu
FunctionFunctionETH TCP IP
Net LinkNet LinkDanfoss
Table 3.5 Menu Settings
Menu pointSetting
14MG90P202 - VLT® is a protected Danfoss trademark
130BB261.11
How to ConfigureMCA 122 Modbus TCP
At this time the “Danfoss” Protocol is assigned to the Scanner and the last step is to configure the scanner to read and
write holding registers of the FC 302.
By first selecting the Danfoss network and second, selecting the IO Scanning tab, the scanning list appears. Fill out the list
as shown in Illustration 3.5.
33
Illustration 3.5 Scanning List
Menu
IO ScanningIP address192.168.001.030
Table 3.6 Menu Settings
Menu pointSetting
Unit ID255
Health Timeout1500
Repetitive rate60
RD Master Object%MW100
RD Slave Index2910
RD Length10
Last ValueHold Last
VR Master Object%MW200
VR Slave Index2810
VR Lenght10
Description-
This configuration copies the information stored from
%MW200 to %M209 in the PLC to the Holding register
2810 to 2819 of the FC 302. It reads the holding registers
2910 to 2919 of the FC 302 to the PLCs memory %MW100
to %M109.
3.4 IP Traffic
The use of Ethernet-based network for industrial
automation purposes, calls for careful and thorough
network design. Especially the use of active network
components like switches and routers requires detailed
know-how about the behaviour of IP traffic.
Some important issues
IGMP
IGMP (Internet Group Management Protocol) is an
integrated part of IP. It allows hosts to join or leave a
multicast host group. Group membership information is
exchanged between a specific host and the nearest
multicast router.
Spanning Tree Protocol (STP)
For an Ethernet network to function properly, only one
active path can exist between two nodes. Spanning-Tree
Protocol is a link management protocol that provides path
redundancy while preventing undesirable loops in the
network.
MG90P202 - VLT® is a protected Danfoss trademark15
How to ConfigureMCA 122 Modbus TCP
When loops occur, some switches see stations appearing
on both sides of them. This condition confuses the
forwarding algorithm and allows for duplicate frames to be
forwarded.
To provide path redundancy, Spanning-Tree Protocol
defines a tree that spans all switches in an extended
network. Spanning-Tree Protocol forces certain redundant
data paths into a standby (blocked) state. If one network
33
segment in the Spanning-Tree Protocol becomes
unreachable, or if Spanning-Tree Protocol costs change,
the spanning-tree algorithm reconfigures the spanning-tree
topology and reestablishes the link by activating the
standby path.
Spanning-Tree Protocol operation is necessary if the
frequency converters are running in a ring/redundant line
topology.
16MG90P202 - VLT® is a protected Danfoss trademark
How to ControlMCA 122 Modbus TCP
4 How to Control
4.1 How to Control the Frequency
Converter
This section describes codes which can be used in the
function and data fields of a Modbus TCP message. For a
complete description of all the message fields, refer to
4.2 Modbus TCP Message Framing Structure.
4.1.1 Function Codes Supported by
Modbus TCP
Modbus TCP supports use of the following function codes
in the function field of a message
function code tells the slave what action to perform. When
the slave responds to the master, it uses the function code
to indicate either a normal (error-free) response, or that
some error occurred (called an exception response). For a
normal response, the slave echoes the original function
code. For an exception response, the slave returns a code
that is equivalent to the original function code with its
most significant bit set to logic 1. In addition, the slave
places a unique code into the data field of the response
message. This tells the master what error occurred, or the
reason for the exception. Refer also to sections
Sub-function
code
1Restart communication
2Return diagnostic
10Clear counters and
11Return bus message
12Return bus communi-
13Return bus exception
14Return slave message
Sub-function
register
diagnostic register
count
cation error count
error count
count
The data field is constructed using sets of two hexadecimal
digits, in the range of 00 to FF hexadecimal. These digits
are made up of one TCP character. The data field of
messages sent from a master to slave device contains
additional information which the slave must use to take
the action defined by the function code. This can include
items such as coil or register addresses, the quantity of
items to be handled, and the count of actual data bytes in
the field.
Parameter Handling
4.2.3
The PNU (Parameter Number) is translated from the
register address contained in the Modbus read or write
message. The parameter number is translated to Modbus
as (10 x parameter number) DECIMAL. Example: Reading
3-12 Catch up/slow Down Value (16bit): The holding register
3120 holds the parameters value. A value of 1352
(Decimal), means that the parameter is set to 12.52%
Reading 3-14 Preset Relative Reference (32bit): The holding
registers 3410 & 3411 holds the parameters value. A value
of 11300 (Decimal), means that the parameter is set to
1113.00 S.
Table 4.2 Subfunction Codes
4.2
Modbus TCP Message Framing
Structure
4.2.1 Function Code
The function code of a message frame contains 8 bits.
Valid codes are in the range of 1-FF. Use function codes to
send messages between master and slave. When a
message is sent from a master to a slave device, the
MG90P202 - VLT® is a protected Danfoss trademark17
For information on the parameters, size and converting
index, consult the product relevant programming guide.
4.2.4
Storage of Data
The Coil 65 decimal determines whether data written to
the frequency converter are stored in EEPROM and RAM
(coil 65=1) or only in RAM (coil 65= 0).
How to ControlMCA 122 Modbus TCP
4.2.5 IND
4.2.9
Modbus Exception Codes
Some parameters in the frequency converter are array
parameters e.g. 3-10 Preset Reference. Since the Modbus
does not support arrays in the Holding registers, the
frequency converter has reserved the Holding register 9 as
For a full explanation of the structure of an exception code
response, refer to 4.2 Modbus TCP Message FramingStructure.
pointer to the array. Before reading or writing an array
parameter, set the holding register 9. Setting holding
register to the value of 2, will cause all following read/
write to array parameters to be to the index 2.
4.2.6 Text Blocks
44
Parameters stored as text strings are accessed in the same
way as the other parameters. The maximum text block size
is 20 characters. If a read request for a parameter is for
more characters than the parameter stores, the response is
truncated. If the read request for a parameter is for fewer
characters than the parameter stores, the response is space
filled.
Conversion Factor
4.2.7
The different attributes for each parameter can be seen in
the section on factory settings. Since a parameter value
can only be transferred as a whole number, a conversion
factor must be used to transfer decimals.
Parameter Values
4.2.8
Standard data types
Standard data types are int16, int32, uint8, uint16 and
uint32. They are stored as 4x registers (40001–4FFFF). The
parameters are read using function 03HEX "Read Holding
Registers." Parameters are written using the function 6HEX
"Preset Single Register" for 1 register (16 bits), and the
function 10 HEX "Preset Multiple Registers" for 2 registers
(32 bits). Readable sizes range from 1 register (16 bits) up
to 10 registers (20 characters).
Non standard data types
Code NameMeaning
1Illegal
function
2Illegal data
address
3Illegal data
value
4Slave device
failure
The function code received in the query is
not an allowable action for the server (or
slave). This may be because the function
code is only applicable to newer devices,
and was not implemented in the unit
selected. It could also indicate that the
server (or slave) is in the wrong state to
process a request of this type, for
example because it is not configured and
is being asked to return register values.
The data address received in the query is
not an allowable address for the server
(or slave). More specifically, the
combination of reference number and
transfer length is invalid. For a controller
with 100 registers, a request with offset
96 and length 4 would succeed, a request
with offset 96 and length 5 generates
exception 02.
A value contained in the query data field
is not an allowable value for server (or
slave). This indicates a fault in the
structure of the remainder of a complex
request, such as that the implied length is
incorrect. It specifically does NOT mean
that a data item submitted for storage in
a register has a value outside the
expectation of the application program,
since the Modbus protocol is unaware of
the significance of any particular value of
any particular register.
An unrecoverable error occurred while the
server (or slave) was attempting to
perform the requested action.
Non standard data types are text strings and are stored as
4x registers (40001–4FFFF). The parameters are read using
Table 4.3 Modbus Exception Codes
function 03HEX "Read Holding Registers" and written using
function 10HEX "Preset Multiple Registers." Readable sizes
range from 1 register (2 characters) up to 10 registers (20
characters).
18MG90P202 - VLT® is a protected Danfoss trademark
How to ControlMCA 122 Modbus TCP
4.3 PROFIdrive Control Profile
This section describes the functionality of the control word
and status word in the PROFIdrive profile. Select this
profile by setting 8-10 Control Word Profile.
4.3.1 Control Word according to PROFIdrive
Profile (CTW)
The Control word is used to send commands from a
master (for example, a PC) to a slave.
BitBit=0Bit=1
00OFF 1ON 1
01OFF 2ON 2
02OFF 3ON 3
03CoastingNo coasting
04Quick stopRamp
05Hold frequency outputUse ramp
06Ramp stopStart
07No functionReset
08Jog 1 OFFJog 1 ON
09Jog 2 OFFJog 2 ON
10Data invalidData valid
11No functionSlow down
12No functionCatch up
13Parameter set-upSelection lsb
14Parameter set-upSelection msb
15No functionReverse
Table 4.4 Control Word Bits
Explanation of the control bits
Bit 00, OFF 1/ON 1
Normal ramp stops using the ramp times of the actual
selected ramp.
Bit 00="0" leads to the stop and activation of the output
relay 1 or 2 if the output frequency is 0 Hz and if [Relay
123] has been selected in 5-40 Function Relay.
When bit 0="1", the frequency converter is in State 1:
“Switching on inhibited”.
Refer to Illustration 4.1.
Bit 01, OFF 2/ON 2
Coasting stop
When bit 01="0", a coasting stop and activation of the
output relay 1 or 2 occurs if the output frequency is 0 Hz
and if [Relay 123] has been selected in 5-40 Function Relay.
When bit 01="1", the frequency converter is in State 1:
“Switching on inhibited”. Refer to Illustration 4.1.
Bit 02, OFF 3/ON 3
Quick stop using the ramp time of 3-81 Quick Stop RampTime. When bit 02="0", a quick stop and activation of the
output relay 1 or 2 occurs if the output frequency is 0 Hz
and if [Relay 123] has been selected in 5-40 Function Relay.
When bit 02="1", the frequency converter is in State 1:
“Switching on inhibited”.
Refer to Illustration 4.1.
Bit 03, Coasting/No coasting
Coasting stop Bit 03="0" leads to a stop. When bit 03="1",
the frequency converter can start if the other start
conditions are satisfied.
NOTICE
The selection in 8-50 Coasting Select determines how bit 03
is linked with the corresponding function of the digital
inputs.
44
Bit 04, Quick stop/Ramp
Quick stop using the ramp time of 3-81 Quick Stop RampTime.
When bit 04="0", a quick stop occurs.
When bit 04="1", the frequency converter can start if the
other start conditions are satisfied.
NOTICE
The selection in 8-51 Quick Stop Select determines how bit
04 is linked with the corresponding function of the digital
inputs.
Bit 05, Hold frequency output/Use ramp
When bit 05="0", the current output frequency is being
maintained even if the reference value is modified.
When bit 05="1", the frequency converter can perform its
regulating function again; operation occurs according to
the respective reference value.
Bit 06, Ramp stop/Start
Normal ramp stop using the ramp times of the actual
ramp as selected. In addition, activation of the output relay
01 or 04 if the output frequency is 0 Hz if Relay 123 has
been selected in 5-40 Function Relay. Bit 06="0" leads to a
stop. When bit 06="1", the frequency converter can start if
the other start conditions are satisfied.
NOTICE
The selection in 8-53 Start Select determines how bit 06 is
linked with the corresponding function of the digital
inputs.
Bit 07, No function/Reset
Reset after switching off.
Acknowledges event in fault buffer.
When bit 07="0", no reset occurs.
When there is a slope change of bit 07 to "1", a reset
occurs after switching off.
Bit 08, Jog 1 OFF/ON
Activation of the pre-programmed speed in 8-90 Bus Jog 1Speed. JOG 1 is only possible if bit 04="0" and bit
00-03="1".
MG90P202 - VLT® is a protected Danfoss trademark19
How to ControlMCA 122 Modbus TCP
Bit 09, Jog 2 OFF/ON
Activation of the pre-programmed speed in 8-91 Bus Jog 2Speed. JOG 2 is only possible if bit 04="0" and bit
NOTICE
Bit 15 causes reversing only when Ser. communication,Logic or or Logic and is selected.
00-03="1".
Bit 10, Data invalid/valid
Is used to tell the frequency converter whether the control
4.3.2 Status Word according to PROFIdrive
Profile (STW)
word is to be used or ignored. Bit 10=“0” causes the
control word to be ignored, giving the opportunity to turn
off the control word when updating/reading parameters.
Bit 10=“1” causes the control word to be used. This
The Status word is used to notify a master (for example, a
PC) about the status of a slave.
function is relevant, because the control word is always
contained in the telegram, regardless of which type of
44
telegram is used.
Bit 11, No function/Slow down
Is used to reduce the speed reference value by the amount
given in 3-12 Catch up/slow Down Value value. When bit
11="0", no modification of the reference value occurs.
When bit 11="1", the reference value is reduced.
Bit 12, No function/Catch up
Is used to increase the speed reference value by the
amount given in 3-12 Catch up/slow Down Value.
When bit 12="0", no modification of the reference value
occurs.
When bit 12="1", the reference value is increased.
If both slowing down and accelerating are activated (bit 11
and 12="1"), slowing down has priority, that is, the speed
reference value is reduced.
Bits 13/14, Set-up selection
BitBit=0Bit=1
00Control not readyControl ready
01Drive not readyDrive ready
02CoastingEnable
03No errorTrip
04OFF 2ON 2
05OFF 3ON 3
06Start possibleStart not possible
07No warningWarning
08
09Local operationBus control
10Out of frequency limit Frequency limit ok
11No operationIn operation
12Drive OKStopped, autostart
13Voltage OKVoltage exceeded
14Torque OKTorque exceeded
15Timer OKTimer exceeded
Speed ≠ reference
Speed=reference
Bits 13 and 14 are used to choose between the four
parameter set-ups according to Table 4.5.
The function is only possible if Multi Set-up has been
chosen in 0-10 Active Set-up. The selection in 8-55 Set-up
Table 4.6 Status Word Bits
Explanation of the status bits
Select determines how bits 13 and 14 are linked with the
corresponding function of the digital inputs. Changing setup while running is only possible if the set-ups have been
linked in 0-12 This Set-up Linked to.
Bit 00, Control not ready/ready
When bit 00="0", bit 00, 01 or 02 of the Control word is "0"
(OFF 1, OFF 2 or OFF 3) - or the frequency converter is
switched off (trip).
Set-up
100
210
301
411
Bit 13Bit 14
When bit 00="1", the frequency converter control is ready,
but there is not necessarily power supply to the unit
present (in the event of external 24 V supply of the control
system).
Bit 01, VLT not ready/ready
Same significance as bit 00, however, there is a supply of
Table 4.5 Parameter Set-ups
the power unit. The frequency converter is ready when it
receives the necessary start signals.
Bit 15, No function/Reverse
Bit 15=“0” causes no reversing.
Bit 15=“1” causes reversing.
NOTICE
In the factory setting reversing is set to digital in
8-54 Reversing Select.
Bit 02, Coasting/Enable
When bit 02="0", bit 00, 01 or 02 of the Control word is "0"
(OFF 1, OFF 2 or OFF 3 or coasting) - or the frequency
converter is switched off (trip).
When bit 02="1", bit 00, 01 or 02 of the Control word is
"1"; the frequency converter has not tripped.
Bit 03, No error/Trip
When bit 03="0", no error condition of the frequency
converter exists.
20MG90P202 - VLT® is a protected Danfoss trademark
How to ControlMCA 122 Modbus TCP
When bit 03="1", the frequency converter has tripped and
requires a reset signal before it can start.
Bit 04, ON 2/OFF 2
When bit 01 of the Control word is "0", then bit 04="0".
When bit 01 of the Control word is "1", then bit 04="1".
Bit 05, ON 3/OFF 3
When bit 02 of the Control word is "0", then bit 05="0".
When bit 02 of the Control word is "1", then bit 05="1".
Bit 06, Start possible/Start not possible
If PROFIdrive has been selected in 8-10 Control Word Profile,
bit 06 will be "1" after a switch-off acknowledgment, 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 to "1".
Bit 07, No warning/Warning
Bit 07=“0” means that there are no warnings.
Bit 07=“1” means that a warning has occurred.
Bit 08, Speed≠reference/Speed=reference
When bit 08="0", the current speed of the motor deviates
from the set speed reference value. This may occur, for
example, when the speed is being changed during start/
stop through ramp up/down.
When bit 08="1", the current speed of the motor
corresponds to the set speed reference value.
Bit 09, Local operation/Bus control
Bit 09="0" indicates that the frequency converter has been
stopped with the stop button on the LCP, or that [Linked
to hand] or [Local] has been selected in 3-13 Reference Site.
When bit 09="1", the frequency converter can be
controlled through the serial interface.
Bit 10, Out of frequency limit/Frequency limit OK
When bit 10="0", the output frequency is outside the limits
set in 4-52 Warning Speed Low and 4-53 Warning SpeedHigh. When bit 10="1", the output frequency is within the
indicated limits.
Bit 11, No operation/Operation
When bit 11="0", the motor does not turn.
When bit 11="1", the frequency converter has a start
signal, or the output frequency is higher than 0 Hz.
Bit 12, Drive OK/Stopped, autostart
When bit 12="0", there is no temporary overloading of the
inverter.
When bit 12="1", the inverter has stopped due to
overloading. However, the frequency converter has not
switched off (trip) and will start again after the overloading
has ended.
Bit 13, Voltage OK/Voltage exceeded
When bit 13="0", the voltage limits of the frequency
converter are not exceeded.
When bit 13="1", the direct voltage in the intermediate
circuit of the frequency converter is too low or too high.
Bit 14, Torque OK/Torque exceeded
When bit 14="0", the motor torque is below the limit
selected in 4-16 Torque Limit Motor Mode and 4-17 Torque
Limit Generator Mode. When bit 14="1", the limit selected
in 4-16 Torque Limit Motor Mode or 4-17 Torque Limit
Generator Mode is exceeded.
Bit 15, Timer OK/Timer exceeded
When bit 15="0", the timers for the thermal motor
protection and thermal frequency converter protection
have not exceeded 100%.
When bit 15="1", one of the timers has exceeded 100%.
PROFIdrive State - Transition Diagram
4.3.3
In the PROFIdrive Control profile, the control bits 0 to 3
perform the basic start-up/power down functions, whereas
the control bits 4-15 perform application-oriented control.
Illustration 4.1 shows the basic state-transition diagram,
where control bits 0 to 3 control the transitions, and the
corresponding status bit indicates the actual state. The
black bullets indicate the priority of the control signals,
where fewer bullets indicate lower priority, and more
bullets indicate higher priority.
44
MG90P202 - VLT® is a protected Danfoss trademark21
How to ControlMCA 122 Modbus TCP
44
Illustration 4.1 PROFIdrive State Transition Diagram
22MG90P202 - VLT® is a protected Danfoss trademark
→
How to ControlMCA 122 Modbus TCP
4.4 Danfoss FC Control Profile
Illustration 4.2 8-10 Control Word Profile=Frequency Converter
profile
Explanation of control bits
Bits 00/01
Bits 00 and 01 are used to choose between the four
reference values, which are pre-programmed in 3-10 PresetReference according to Table 4.8.
Programmed
ref. value
13-10 [0]00
23-10 [1]01
33-10 [2]10
43-10 [3]11
Table 4.8 Reference Values
ParameterBit 01Bit 00
Bit 02, DC brake
Bit 02=‘0’ leads to DC braking and stop. Braking current
and duration are set in 2-01 DC Brake Current and 2-02 DC
Braking Time. Bit 02=‘1’ leads to ramping, 3-41 Ramp 1
Ramp Up Time
Bit 03, Coasting
Bit 03=‘0’ causes the frequency converter to immediately
release the motor (the output transistors are "shut off"), so
that it coasts to a standstill.
Bit 03=‘1’ enables the frequency converter to start the
motor if the other starting conditions have been fulfilled.
NOTICE
In 8-50 Coasting Select a selection is made to define how
Bit 03 gates with the corresponding function on a digital
input.
Bit 04, Quick stop
Bit 04=‘0’ causes a stop, in which the motor speed is
ramped down to stop via 3-81 Quick Stop Ramp Time.
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 (5-10 Terminal 18 Digital Input
to 5-15 Terminal 33 Digital Input) programmed to Speed up
and Speed down.
NOTICE
If Freeze output is active, the frequency converter can only
be stopped by the following:
Bit 03 Coasting stop
•
Bit 02 DC braking
•
Digital input (5-10 Terminal 18 Digital Input to
•
5-15 Terminal 33 Digital Input) programmed to DC
braking, Coasting stop or Reset and coasting stop
Bit 06, Ramp stop/start
Bit 06=‘0’ causes a stop, in which the motor speed is
ramped down to stop via the selected ramp down
parameter.
Bit 06=‘1’ permits the frequency converter to start the
motor, if the other starting conditions have been fulfilled.
NOTICE
In 8-53 Start Select Start select a selection is made to define
how Bit 06 Ramp stop/start gates with the corresponding
function on a digital input.
44
NOTICE
In 8-56 Preset Reference Select select a selection is made to
define how Bit 00/01 gates with the corresponding
function on the digital inputs.
MG90P202 - VLT® is a protected Danfoss trademark23
Bit 07, Reset
Bit 07=‘0’ no 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’ causes the output frequency to be determined
by 3-19 Jog Speed [RPM].
→
How to ControlMCA 122 Modbus TCP
Bit 09, Selection of ramp 1/2
Bit 09=‘0’ means that ramp 1 is active (3-40 Ramp 1 Type to
4.4.1 Status Word according to Frequency
Converter Profile (STW)
3-47 Ramp 1 S-ramp Ratio at Decel. Start). Bit 09=‘1’ means
that ramp 2 (3-50 Ramp 2 Type to 3-57 Ramp 2 S-ramp Ratioat Decel. Start) is active.
Bit 10, Data not valid/Data valid
Is used to tell the frequency converter whether the control
word is to be used or ignored. Bit 10=“0” causes the
control word to be ignored, giving the opportunity to turn
off the control word when updating/reading parameters.
Bit 10=“1” causes the control word to be used. This
function is relevant, because the control word is always
44
contained in the telegram, regardless of which type of
Illustration 4.3 8-10 Control Word Profile
telegram is used.
Bit 11, Relay 01
Bit 11=‘0’ Relay not activated. Bit 11 = ‘1’ Relay 01
activated, provided Control word bit 11 has been chosen in
5-40 Function Relay.
Bit 12, Relay 02
Bit 12=‘0’ Relay 02 has not been activated.
Bit 12=‘1’ Relay 02 has been activated, provided Controlword bit 12 has been chosen in 5-40 Function Relay.
Bit 13/14, Selection of set-up
Bits 13 and 14 are used to select one of 4 menu set-ups
according to Table 4.9:
Set-up
100
201
310
411
Table 4.9 Menu Set-ups
Bit 14Bit 13
BitBit value=0Bit value=1
00Control not readyControl ready
01Drive not readyDrive ready
02CoastingEnable
03No errorTrip
04No errorError (no trip)
05Reserved06No 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
15Thermal okThermal exceeded
Table 4.10 Staus Word Bits
The function is only possible when Multi-Set-ups is selected
in 0-10 Active Set-up.
Explanation of the status bits
Bit 00, Control ready
Bit 00=‘0’ means that the frequency converter has tripped.
Bit 00=‘1’ means that the frequency converter controls are
NOTICE
In 8-55 Set-up Select a selection is made to define how Bit
13/14 gates with the corresponding function on the digital
inputs.
ready, but that the power component is not necessarily
receiving any power supply (in the event of external 24 V
supply to controls).
Bit 01, Drive ready
Bit 01=‘1’. The frequency converter is ready for operation.
Bit 15 Reverse
Bit 15=‘0’ causes no reversing.
Bit 15=‘1’ causes reversing.
Bit 02, Coasting stop
Bit 02=‘0’. The frequency converter has released the motor.
Bit 02=‘1’. The frequency converter can start the motor
NOTICE
In the factory setting reversing is set to digital in
8-54 Reversing Select. Bit 15 causes reversing only when Ser.
communication, Logic AND or Logic OR is selected.
when a start command is given.
Bit 03, No error/Trip
Bit 03=‘0’ means that the frequency converter is not in
fault mode.
Bit 03=‘1’ means that the frequency converter is tripped,
and that a reset signal is required to re-establish operation.
Bit 04, No error/Error (no trip)
Bit 04=‘0’ means that the frequency converter is not in
fault mode.
24MG90P202 - VLT® is a protected Danfoss trademark
ReverseForward
Par.3-00 set to
(1) -max- +max
Max referenceMax reference
Par.3-00 set to
(0) min-max
Max reference
Forward
Min reference
100%
(4000hex)
-100%
(C000hex)
0%
(0hex)
Par.3-030Par.3-03
Par.3-03
(4000hex)(0hex)
0%100%
Par.3-02
130BA277.10
How to ControlMCA 122 Modbus TCP
Bit 04=‘1’ means that there is a frequency converter error
but no trip.
Bit 05, Reserved
Bit 05 is not used in the status word.
Bit 06, No error/Trip lock
Bit 06=‘0’ means that the frequency converter is not in
fault mode.
Bit 06 = ‘1’ means that the frequency converter is tripped,
and locked.
Bit 07, No warning/Warning
Bit 07=‘0’ means that there are no warnings.
Bit 07=‘1’ means that a warning has occurred.
Bit 08, Speed≠ reference/Speed=reference
Bit 08=‘0’ means that the motor is running, but that the
present speed is different from the preset speed reference.
For example, this might occur while the speed is being
ramped up/down during start/stop.
Bit 08=‘1’ means that the present motor speed matches
the preset speed reference.
Bit 09, Local operation/Bus control
Bit 09=‘0’ means that [Stop/Reset] is activated on the
control unit, or that Local control in 3-13 Reference Site is
selected. It is not possible to control the frequency
converter via serial communication.
Bit 09=‘1’ means that it is possible to control the frequency
converter via the fieldbus/serial communication.
Bit 10, Out of frequency limit
Bit 10=‘0’, if the output frequency has reached the value in
4-11 Motor Speed Low Limit [RPM] or 4-13 Motor Speed High
Limit [RPM].
Bit 10=‘1’ means that the output frequency is within the
defined limits.
Bit 11, No operation/In operation
Bit 11=‘0’ means that the motor is not running.
Bit 11=‘1’ means that the frequency converter has a start
signal or that the output frequency is greater than 0 Hz.
Bit 12, Drive OK/Stopped, auto start
Bit 12=‘0’ means that there is no temporary over
temperature on the inverter.
Bit 12=‘1’ means that the inverter has stopped because of
over temperature, but that the unit has not tripped and
resumes operation once the over temperature stops.
Bit 13, Voltage OK/Voltage exceeded
Bit 13=‘0’ means that there are no voltage warnings.
Bit 13=‘1’ means that the DC voltage in the frequency
converter’s intermediate circuit is too low or too high.
Bit 14, Torque OK/Torque limit exceeded
Bit 14=‘0’ means that the motor current is lower than the
torque limit selected in 4-16 Torque Limit Motor Mode and
4-17 Torque Limit Generator Mode Torque limit.
Bit 14=‘1’ means that the torque limit in 4-16 Torque LimitMotor Mode and 4-17 Torque Limit Generator Mode Torque
limit has been exceeded. The nominal torque can be read
in 16-16 Torque [Nm].
MG90P202 - VLT® is a protected Danfoss trademark25
Bit 15, Thermal OK/limit exceeded
Bit 15=‘0’ means that the timers for both motor thermal
protection and frequency converter thermal protection,
have not exceeded 100%.
Bit 15=‘1’ means that one of the limits has exceeded 100%.
4.5 Reference Handling
4.5.1 Bus Speed Reference Value
0%=0 hex
100%=4000 hex
-100%=C000 hex
Depending of the setting of 3-00 Reference Range, the
reference is scaled from – Max. to + Max. or from Min. to
Max.
Illustration 4.4 Scaling of Reference Values
The actual reference [Ref. %] in the frequency converter
depends on the settings in the following parameters:
1-23 Motor Frequency
1-25 Motor Nominal Speed
3-02 Minimum Reference
3-03 Maximum Reference
All references provided to the frequency converter are
added to the total reference value. If a reference is to be
controlled by the fieldbus only, ensure that all other
reference inputs are zero.
This means that digital and analogue input terminals
should not be used for reference signals. The default
setting (0%) should be maintained for preset references in
3-10 Preset Reference.
44
How to ControlMCA 122 Modbus TCP
CAUTION
If the bus speed reference is negative, and the control
word contains a run reverse signal, the frequency
converter will run clockwise (- to - is +).
MAV is scaled in the same way as the reference.
44
26MG90P202 - VLT® is a protected Danfoss trademark
ParametersMCA 122 Modbus TCP
5 Parameters
5.1 Parameter Group 8-**
8-01 Control Site
Option:Function:
The setting in this parameter overrides
the settings in 8-50 Coasting Select to
8-56 Preset Reference Select.
[0] Digital and
ctrl.word
[1] Digital onlyControl by using digital inputs only.
[2] Controlword onlyControl by using control word only.
8-02 Control Word Source
Option:Function:
None
[0]
[1]FC RS485
[2]FC USB
[3]Option A
[4]Option B
[5]Option C0
[6]Option C1
[30] External
Can
Control by using both digital input and
control word.
NOTICE
This parameter cannot be adjusted while
the motor is running.
Select the source of the control word: one of
two serial interfaces or four installed options.
During initial power-up, the frequency
converter automatically sets this parameter to
[3] Option A if it detects a valid fieldbus option
installed in slot A. If the option is removed,
the frequency converter detects a change in
the configuration, sets 8-02 Control WordSource back to default setting RS-485, and the
frequency converter trips. If an option is
installed after initial power-up, the setting of
8-02 Control Word Source does not change, but
the frequency converter trips and displays:
Alarm 67 Option Changed.
When retrofitting a bus option into a
frequency converter, that did not have a bus
option installed to begin with, take an ACTIVE
decision to move the control to Bus based.
This is done for safety reasons to avoid an
accidental change.
8-03 Control Word Timeout Time
Range:Function:
1 s* [ 0.1 -
18000 s]
Enter the maximum time expected to pass
between the reception of two consecutive
telegrams. If this time is exceeded, it indicates
that the serial communication has stopped.
The function selected in 8-04 Control WordTimeout Functionis then carried out. A valid
control word triggers the time-out counter.
8-04 Control Word Timeout Function
Select the time-out function. The time-out function activates
when the control word fails to be updated within the time
period specified in 8-03 Control Word Timeout Time.
Option:Function:
[0]OffResumes control via serial bus (fieldbus 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 fieldbus, via
[Reset], or via a digital input.
[7]Select setup 1 Changes the set-up upon reestablishment of
communication following a control word
time-out. If communication resumes after a
time-out, 8-05 End-of-Timeout Function
defines whether to resume the set-up used
before the time-out, or to retain the set-up
endorsed by the time-out function.
[8]Select setup 2
[9]Select setup 3
[10] Select setup 4
[26] Trip
See [7] Select setup 1
See [7] Select setup 1
See [7] Select setup 1
NOTICE
To change the set-up after a time-out, the following
configuration is required:
Set 0-10 Active Set-up to [9] Multi set-up and select the
relevant link in 0-12 This Set-up Linked to.
5
5
MG90P202 - VLT® is a protected Danfoss trademark27
ParametersMCA 122 Modbus TCP
5
8-05 End-of-Timeout Function
Option:Function:
Select the action after receiving a valid control
word following a time-out. This parameter is
active only when 8-04 Control Timeout Function
is set to [7] Set-up 1, [8] Set-up 2, [9]Set-up 3 or
[10] Set-up 4.
[0] Hold set-up
[1] Resume set-upResumes the set-up active before the time-out.
Retains the set-up selected in 8-04 Control
Timeout Function and displays a warning, until
8-06 Reset Control Timeout toggles. Then the
frequency converter resumes its original set-up.
8-06 Reset Control Word Timeout
This parameter is active only when [0] Hold set-up has been
selected in 8-05 End-of-Timeout Function.
Option:Function:
[0] Do not reset
[1] Do resetReturns the frequency converter to the original
Retains the set-up specified in 8-04 ControlWord Timeout Function, following a control
word time-out.
set-up following a control word time-out. The
frequency converter performs the reset and
then immediately reverts to the [0] Do not reset
setting
8-10 Control Word Profile
Select the interpretation of the control and status words
corresponding to the installed fieldbus. Only the selections valid
for the fieldbus installed in slot A will be visible in the display.
For guidelines in selection of [0] FC profile and [1] PROFIdriveprofile refer to the Serial communication via RS-485 Interface
section.
For additional guidelines in the selection of [1] PROFIdrive profile,
[5] ODVA and [7] CANopen DSP 402, refer to the Operating
Instructions for the installed fieldbus.
bits 12–15 in the status word.
[0]No function
[1] * Profile DefaultFunction corresponds to the profile
default selected in 8-10 Control Profile.
[2]Alarm 68 OnlyOnly set in case of an Alarm 68.
[3]Trip excl. Alarm68Set in case of a trip, except if Alarm 68
executes the trip.
8-13 Configurable Status Word STW
Option:Function:
[10] T18 DI status.The bit indicates the status of terminal 18.
“0” indicates that the terminal is low
“1” indicates that the terminal is high
[11] T19 DI status.The bit indicates the status of terminal 19.
“0” indicates that the terminal is low
“1” indicates that the terminal is high
[12] T27 DI status.The bit indicates the status of terminal 27.
“0” indicates that the terminal is low
“1” indicates that the terminal is high
[13] T29 DI status.The bit indicates the status of terminal 29.
“0” indicates that the terminal is low
“1” indicates that the terminal is high
[14] T32 DI status.The bit indicates the status of terminal 32.
“0” indicates that the terminal is low
“1” indicates that the terminal is high
[15] T33 DI status.The bit indicates the status of terminal 33.
“0” indicates that the terminal is low
“1” indicates that the terminal is high
[16] T37 DI statusThe bit indicates the status of terminal 37.
”0” indicates T37 is low (safe stop)
“1” indicates T37 is high (normal)
[21] Thermal
warning
[30] Brake fault
(IGBT)
[40] Out of ref.
range
[60] Comparator 0
[61] Comparator 1
[62] Comparator 2
[63] Comparator 3
[64] Comparator 4
[65] Comparator 5
[70] Logic Rule 0
The thermal warning turns on when the
temperature exceeds the limit in the
motor, the frequency converter, the brake
resistor, or the thermistor.
Output is Logic ‘1’ when the brake IGBT is
short-circuited. Use this function to
protect the frequency converter if there is
a fault on the brake modules. Use the
output/relay to cut out the main voltage
from the frequency converter.
See parameter group 13-1* Comparators. If
Comparator 0 is evaluated as TRUE, the
output goes high. Otherwise, it is low.
See parameter group 13-1* Comparators. If
Comparator 1 is evaluated as TRUE, the
output goes high. Otherwise, it is low.
See parameter group 13-1* Comparators. If
Comparator 2 is evaluated as TRUE, the
output goes high. Otherwise, it is low.
See parameter group 13-1* Comparators. If
Comparator 3 is evaluated as TRUE, the
output goes high. Otherwise, it is low.
See parameter group 13-1* Comparators. If
Comparator 4 is evaluated as TRUE, the
output goes high. Otherwise, it is low.
See parameter group 13-1* Comparators. If
Comparator 5 is evaluated as TRUE, the
output goes high. Otherwise, it is low.
See parameter group 13-4* Logic Rules. If
Logic Rule 0 is evaluated as TRUE, the
output goes high. Otherwise, it is low.
28MG90P202 - VLT® is a protected Danfoss trademark
ParametersMCA 122 Modbus TCP
8-13 Configurable Status Word STW
Option:Function:
[71] Logic Rule 1
[72] Logic Rule 2
[73] Logic Rule 3
[74] Logic Rule 4
[75] Logic Rule 5
[80] SL Digital
Output A
[81] SL Digital
Output B
[82] SL Digital
Output C
[83] SL Digital
Output D
[84] SL Digital
Output E
[85] SL Digital
Output F
See parameter group 13-4* Logic Rules. If
Logic Rule 1 is evaluated as TRUE, the
output goes high. Otherwise, it is low.
See parameter group 13-4* Logic Rules. If
Logic Rule 2 is evaluated as TRUE, the
output goes high. Otherwise, it is low.
See parameter group 13-4* Logic Rules. If
Logic Rule 3 is evaluated as TRUE, the
output goes high. Otherwise, it is low.
See parameter group 13-4* Logic Rules. If
Logic Rule 4 is evaluated as TRUE, the
output goes high. Otherwise, it is low.
See parameter group 13-4* Logic Rules. If
Logic Rule 5 is evaluated as TRUE, the
output goes high. Otherwise, it is low.
See 13-52 SL Controller Action. The output
goes high whenever the Smart Logic
Action [38] Set digital out A high is
executed. The output goes low whenever
the Smart Logic Action [32] Set digital out
A low is executed.
See 13-52 SL Controller Action. The input
goes high whenever the Smart Logic
Action [39] Set digital out B high is
executed. The input goes low whenever
the Smart Logic Action [33] Set digital out
B low is executed.
See 13-52 SL Controller Action. The input
goes high whenever the Smart Logic
Action [40] Set digital out C high is
executed. The input goes low whenever
the Smart Logic Action [34] Set digital out
C low is executed.
See 13-52 SL Controller Action. The input
goes high whenever the Smart Logic
Action [41] Set digital out D high is
executed. The input goes low whenever
the Smart Logic Action [35] Set digital out
D low is executed.
See 13-52 SL Controller Action. The input
goes high whenever the Smart Logic
Action [42] Set digital out E high is
executed. The input goes low whenever
the Smart Logic Action [36] Set digital out
E low is executed.
See 13-52 SL Controller Action. The input
goes high whenever the Smart Logic
Action [43] Set digital out F high is
executed. The input goes low whenever
the Smart Logic Action [37] Set digital out
F low is executed.
8-14 Configurable Control Word CTW
Option:Function:
Selection of control word bit 10, if it is active
low or active high.
[0] None
[1] Profile default
[2] CTW Valid,
active low
[3] Safe Option
Reset
[4] PID error
inverse
[5] PID reset I
part
[6] PID enableWhen enabled, enables the extended process
When enabled, it inverts the resulting error
from the process PID controller. Available
only if "Configuration Mode" is set to "Surface
Winder", "Extended PID Speed OL" or
"Extended PID Speed CL".
When enabled, resets the I-part of the Process
PID controller. Equivalent to 7-40 Process PIDI-part Reset. Available only if "Configuration
Mode" is set to "Surface Winder", "Extended
PID Speed OL" or "Extended PID Speed CL".
PID controller. Equivalent to 7-50 Process PIDExtended PID. Available only if "Configuration
Mode" is set "Extended PID Speed OL" or
"Extended PID Speed CL".
8-50 Coasting Select
Option:Function:
Select control of the coasting function via the
terminals (digital input) and/or via the bus.
[0] Digital
input
[1] BusActivates Start command via the serial
[2] Logic AND Activates Start command via the fieldbus/serial
[3] Logic ORActivates Start command via the fieldbus/serial
Activates Start command via a digital input.
communication port or fieldbus option.
communication port, AND additionally via one
of the digital inputs.
communication port OR via one of the digital
inputs.
8-51 Quick Stop Select
Select control of the Quick Stop function via the terminals
(digital input) and/or via the bus.
Option:Function:
[0]Digital input
[1]Bus
[2]Logic AND
[3]Logic OR
5
5
MG90P202 - VLT® is a protected Danfoss trademark29
ParametersMCA 122 Modbus TCP
5
8-52 DC Brake Select
Option:Function:
Select control of the DC brake via the terminals
(digital input) and/or via the fieldbus.
NOTICE
Only selection [0] Digital input is available
when 1-10 Motor Construction is set to [1]PM non-salient SPM.
[0] Digital
input
[1] BusActivates Start command via the serial communi-
[2] Logic AND Activates Start command via the fieldbus/serial
[3] Logic ORActivates Start command via the fieldbus/serial
8-53 Start Select
Option:Function:
[0] Digital
input
[1] BusActivates Start command via the serial
[2] Logic AND Activates Start command via the fieldbus/serial
[3] Logic ORActivates Start command via the fieldbus/serial
8-54 Reversing Select
Option:Function:
[0] Digital
input
[1] BusActivates the Reverse command via the serial
[2] Logic AND Activates the Reverse command via the
[3] Logic ORActivates the Reverse command via the
Activates Start command via a digital input.
cation port or fieldbus option.
communication port, AND additionally via one of
the digital inputs.
communication port OR via one of the digital
inputs.
Select control of the frequency converter start
function via the terminals (digital input) and/or
via the fieldbus.
Activates Start command via a digital input.
communication port or fieldbus option.
communication port, AND additionally via one
of the digital inputs.
communication port OR via one of the digital
inputs.
Select control of the frequency converter
reverse function via the terminals (digital input)
and/or via the fieldbus.
communication port or fieldbus option.
fieldbus/serial communication port, AND
additionally via one of the digital inputs.
fieldbus/serial communication port OR via one
of the digital inputs.
8-55 Set-up Select
Option:Function:
Select control of the frequency converter set-up
selection via the terminals (digital input) and/or
via the fieldbus.
[0] Digital
input
[1] BusActivates the set-up selection via the serial
[2] Logic AND Activates the set-up selection via the fieldbus/
[3] Logic ORActivate the set-up selection via the fieldbus/
Activates the set-up selection via a digital input.
communication port or fieldbus option.
serial communication port, AND additionally via
one of the digital inputs.
serial communication port OR via one of the
digital inputs.
8-56 Preset Reference Select
Option:Function:
Select control of the frequency converter Preset
Reference selection via the terminals (digital
input) and/or via the fieldbus.
[0] Digital
input
[1] BusActivates Preset Reference selection via the
[2] Logic AND Activates Preset Reference selection via the
[3] Logic ORActivates the Preset Reference selection via the
Activates Preset Reference selection via a digital
input.
serial communication port or fieldbus option.
fieldbus/serial communication port, AND
additionally via one of the digital inputs.
fieldbus/serial communication port OR via one
of the digital inputs.
5.2 Parameter Group 12-**
5.2.1 12-0* IP Settings
12-00 IP Address Assignment
Option:Function:
Selects the IP Address assignment method.
[0] * Manual
[1]DHCPIP-address is assigned via DHCP server.
[2]BOOTP IP-address is assigned via BOOTP server.
12-01 IP Address
Range:Function:
[000.000.000.000 -
255.255.255.255]
IP-address can be set in 12-01 IP Address IP
Address.
Configure the IP address of the
option. Read-only if 12-00 IP AddressAssignment set to DHCP or BOOTP.
30MG90P202 - VLT® is a protected Danfoss trademark
ParametersMCA 122 Modbus TCP
12-02 Subnet Mask
Range:Function:
[000.000.000.000 -
255.255.255.255]
Configure the IP subnet mask of the
option. Read-only if 12-00 IP AddressAssignment set to DHCP or BOOTP.
12-03 Default Gateway
Range:Function:
[000.000.000.000 –
255.255.255.255]
Configure the IP default gateway of
the option. Read-only if 12-00 IPAddress Assignment set to DHCP or
BOOTP.
12-04 DHCP Server
Range:Function:
[000.000.000.000 –
255.255.255.255]
Read only. Displays the IP address
of the found DHCP or BOOTP
server.
NOTICE
A power-cycle is necessary after setting the IP parameters
manually.
12-05 Lease Expires
Range:Function:
Size related* [ 0 - 0 ] Read only. Displays the lease-time left for
the current DHCP-assigned IP address.
12-06 Name Servers
Range:Function:
0 * [0 - 2147483647 ] IP addresses of Domain Name Servers.
Can be automatically assigned when
using DHCP.
12-07 Domain Name
Range:Function:
0 [0 - 2147483647 ] Domain name of the attached network.
Can be automatically assigned when
using DHCP network.
12-08 Host Name
Range:Function:
Blank [0-19 characters]Logical (given) name of option.
12-09 Physical Address
Range:Function:
0 * [0 - 0 ] Read only. Displays the Physical (MAC) address of
the option.
5.2.2 12-1* Ethernet Link Parameters
Applies for whole parameter group.
Index [0] is used for Port 1 and Index [1] is used for Port 2.
For EtherCAT, Index [0] is for In Port and Index [1] is for
Out port.
12-10 Link Status
Option:Function:
Read only. Displays the link status of the Ethernet
ports.
[0] No Link
[1] Link
12-11 Link Duration
Range:Function:
Size related* [ 0 - 0 ] Read only. Displays the duration of the
present link on each port in dd:hh:mm:ss.
12-12 Auto Negotiation
Option: Function:
Configures Auto Negotiation of Ethernet link
parameters, for each port: ON or OFF.
[0] Off
[1] On
Link Speed and Link Duplex can be configured in
12-13 Link Speed and 12-14 Link Duplex.
12-13 Link Speed
Option:Function:
Forces the link speed for each port in 10 or 100
Mbps. If 12-12 Auto Negotiation is set to: [ON],
this parameter is read only and displays the
actual link speed. “None” is displayed if no link
is present.
[0] * None
[1]10 Mbps
[2]100 Mbps
12-14 Link Duplex
Option:Function:
Forces the duplex for each port to Full or Half
duplex. If 12-12 Auto Negotiation is set to: [ON],
this parameter is read only.
[0] Half Duplex
[1] Full Duplex
NOTICE
In POWERLINK this parameter is locked to half duplex.
5
5
MG90P202 - VLT® is a protected Danfoss trademark31
ParametersMCA 122 Modbus TCP
5
5.2.3 12-2* Process Data
12-21 Process Data Config Write
Range:Function:
[[0 - 9] PCD read 0 - 9] Configuration of readable process
data.
In POWERLINK this parameter is read only. Same applies
for 12-22 Process Data Config Read, 12-23 Process DataConfig Write Size and 12-24 Process Data Config Read Size.
12-22 Process Data Config Read
Range:Function:
[[0 - 9] PCD read 0 - 9] Configuration of readable process
data.
12-27 Primary Master
Option: Function:
This parameter control allows fast swapping of masters.
If this parameter is set 0.0.0.0, the first masters that
access the frequency converter locks the interface for
other masters.
If the communication is lost, the frequency converter
will hold the connection for 30 s before a second
master can take control.
By setting [0] IP address of first Master and setting [1] IPaddress of second Master, only these two masters can
control the frequency converter and the second master
does not have to wait 30 s to take control.
Only one master may control the frequency converter
at any time, otherwise the frequency converter might
malfunction.
[0] *IP address of first Master.
[1]IP address of second Master.
12-28 Store Data Values
Option:Function:
This parameter activates a function that stores
all parameter values in the non-volatile
memory (EEPROM) thus retaining parameter
values at power-down.
The parameter returns to “Off”.
[0] * OffThe store function is inactive.
[1]Store All
set-ups
12-29 Store Always
Option: Function:
[0] * Off
[1]On
All parameter values are stored in the non-
volatile memory, in all 5 set-ups.
Activates function that always stores received
parameter data in non-volatile memory (EEPROM).
5.2.4 Modbus TCP
12-40 Status Parameter
Range:Function:
Read only. Displays the Modbus TCP- specific 16-bit
Status word.
0 * [0 - 0 ]
BitDescriptionBit=[0]Bit=[1]
0Link Status
port 1
1Link Status
port 2
2Link speed0/10 Mbps100 Mbps
3Link DuplexHalfFull
4Port 502
Read only.
Displays the number of Modbus messages received
and processed by the slave.
0 * [0 - 0 ]
12-42 Slave Exception Message Count
Range:Function:
Read only.
Displays the number of Modbus messages for
which the slave has sent an exception response.
0 * [0 - 0 ]
Disconnected Connected
Disconnected Connected
NoYes
NoYes
NoYes
NoYes
DisabledEnabled
DisabledEnabled
DisabledEnabled
32MG90P202 - VLT® is a protected Danfoss trademark
ParametersMCA 122 Modbus TCP
5.2.5 12-8* Other Ethernet Services
12-80 FTP Server
Option:Function:
[0]DisabledDisables the built-in FTP server.
[1]EnabledEnables the built-in FTP server.
12-81 HTTP Server
Option:Function:
[0] Disabled
[1] EnabledEnables the built-in HTTP (web) server.
12-82 SMTP Service
Option:Function:
[0] Disabled
[1] Enabled Enables the SMTP (e-mail) service on the option.
12-89 Transent Socket Channel Port
Range:Function:
0* [0–9999] Configures the TCP port-number for the transent
socket channel. This enables Frequency convertertelegrams to be sent transently on Ethernet via
TCP. Default value is 4000, 0 means disabled.
5.2.6 12-9* Advanced Ethernet Settings
12-90 Cable Diagnostic
Option:Function:
Enables/disables advanced Cable diagnosis
function. If enabled, the distance to cable errors
can be read out in 12-93 Cable Error Length. The
parameter resumes to the default setting of Disable
after the diagnostics have finished.
[0] Disabled
[1] Enabled
NOTICE
The cable diagnostics function is only issued on ports
where there is no link (see 12-10 Link Status, Link Status)
12-91 Auto Cross-Over
Option:Function:
[0]DisableDisables the auto cross-over function.
[1] *EnableEnables the auto cross-over function.
NOTICE
Disabling of the auto cross-over function requires crossed
Ethernet cables for daisy-chaining the options.
12-92 IGMP Snooping
Option:Function:
This prevents flooding of the Ethernet protocol
stack by only forwarding multicast packets to ports
that are a member of the multicast group.
[0]Disable Disables the IGMP snooping function.
[1] * Enable Enables the IGMP snooping function.
12-93 Cable Error Length
Range:Function:
0 * [0 -
65535 ]
If Cable Diagnostics is enabled in 12-90 CableDiagnostic, the built-in switch is possible via
Time Domain Reflectometry (TDR). This
measurement technique detects common
cabling problems such as open circuits, short
circuits, and impedance mismatches or breaks in
transmission cables. The distance from the
option to the error is displayed in meters with
an accuracy of ±2 m. The value 0 means that no
errors detected.
12-94 Broadcast Storm Protection
Range:Function:
-1 %* [-1 -
20 %]
-1 %* [-1 -
20 %]
The built-in switch is capable of protecting the
switch system from receiving too many
broadcast packages, which can use up network
resources. The value indicates a percentage of
the total bandwidth that is allowed for broadcast
messages.
Example:
The “OFF” means that the filter is disabled - all
broadcast messages passes through. The value
“0%” means that no broadcast messages passes
through. A value of “10%” means that 10% of
the total bandwidth is allowed for broadcast
messages, if the amount of broadcast messages
increases above the 10% threshold, they will be
blocked.
12-95 Broadcast Storm Filter
Option:Function:
Applies to 12-94 Broadcast StormProtection; if the Broadcast Storm
Protection should also include
Multicast telegrams.
[0] Broadcast only
[1] Broadcast &
Multicast
5
5
MG90P202 - VLT® is a protected Danfoss trademark33
from built-in switch, can be used for
low-level troubleshooting, The
parameter shows a sum of port 1+port
2.
5.3 Parameter List
ParameterDefault value4-set-upChange during
operation
8-0* General Settings
8-01 Control Site[0] Digital and ctrl.word All set-upsTRUE-Uint8
8-02 Control Word SourcenullAll set-upsTRUE-Uint8
8-03 Control Word Timeout Time1.0 s1 set-upTRUE-1Uint32
8-04 Control Word Timeout Functionnull1 set-upTRUE-Uint8
8-05 End-of-Timeout Function[1] Resume set-up1 set-upTRUE-Uint8
8-06 Reset Control Word Timeout[0] Do not resetAll set-upsTRUE-Uint8
8-1* Ctrl. Word Settings
8-10 Control Word Profile[0] FC profileAll set-upsTRUE-Uint8
8-13 Configurable Status Word STW[1] Profile defaultAll set-upsTRUE-Uint8
8-14 Configurable Control Word CTW[1] Profile defaultAll set-upsTRUE-Uint8
8-5* Digital/Bus
8-50 Coasting Select[3] Logic ORAll set-upsTRUE-Uint8
8-51 Quick Stop Select[3] Logic ORAll set-upsTRUE-Uint8
8-52 DC Brake Select[3] Logic ORAll set-upsTRUE-Uint8
8-53 Start Select[3] Logic ORAll set-upsTRUE-Uint8
8-54 Reversing Select[3] Logic ORAll set-upsTRUE-Uint8
8-55 Set-up Select[3] Logic ORAll set-upsTRUE-Uint8
8-56 Preset Reference Select[3] Logic ORAll set-upsTRUE-Uint8
Conver-
sion index
Type
Table 5.2 Parameter Group 8-**
34MG90P202 - VLT® is a protected Danfoss trademark
ParametersMCA 122 Modbus TCP
ParameterDefault ValueRangeConversion IndexData TypeArray
12-0* IP Settings
12-00 IP Address Assignment0.0.0.00-255-Unsigned 812-01 IP Address0.0.0.00-255-Oct. string 412-02 Subnet Mask0.0.0.00-255-Oct. string 412-03 Default Gateway0.0.0.00-255-Oct. string 412-04 DHCP Server0.0.0.00-255-Oct. string 412-05 Lease Expires00:00:00:00--Time diff. w/date12-06 Name Servers0.0.0.00-255-Oct. string 412-07 Domain Name-max. 19 ch.-Visible string 4812-08 Host Name-max. 19 ch.-Visible string 4812-09 Physical Address00:1B:08:00:00:00--Visible string 1712-1* Ethernet Link Parameters
12-10 Link Status[0] No Link[0 - 1]-Unsigned 8[0-1]
12-11 Link Duration00:00:00:00--Time diff. w/date[0-1]
12-12 Auto Negotiation[1] On[0-1]-Unsigned 8[0-1]
12-13 Link Speed[0] None[0-2]-Unsigned 8[0-1]
12-14 Link Duplex[1] Full Duplex[0-1]-Unsigned 8[0-1]
12-2* Process Data
12-21 Process Data Config Write---Unsigned 16[0-9]
12-22 Process Data Config Read---Unsigned 16[0-9]
MG90P202 - VLT® is a protected Danfoss trademark35
5
ParametersMCA 122 Modbus TCP
5.4 Data Types
5.4.1 Data Types Supported by FC 102/FC
202/FC 302
The number to the left refers to a conversion figure, the
one on the right to be used when writing or reading
parameters.
Conversion indexConversion factor
671/60
61000000
5100000
410000
31000
2100
110
01
-10.1
-20.01
-30.001
-40.0001
-50.00001
-60.000001
Table 5.4 Conversion Index
36MG90P202 - VLT® is a protected Danfoss trademark
TroubleshootingMCA 122 Modbus TCP
6 Troubleshooting
6.1 Step-by-step Troubleshooting
Check: LEDs
The option contains two LEDs to indicate the state of the device and the network. During normal operation the MS and at
least one NS LED shows a constant green light.
StateLEDDescription
No powerOffThe device is un-powered
Device operationalGreen:Solid greenThe device is operational
StandbyGreen:Flashing greenThe device needs commissioning
Minor faultRed:Flashing redThe device has detected a recoverable fault
Major faultRed:Solid redThe device has detected an un-recoverable
fault
Self test
No IP address
WinkYellowFlashing yellow Flash for 20 s
Red:
Green:
Yellow
Flashing red/
green
Steady yellowNo IP address configured or obtained
The Modbus TCP option is in self-test mode
66
Table 6.1 MS: Module Status
StateLEDDescription
No IP-address (no power)OffNo link present (or is un-powered)
ConnectedGreen:Solid greenLink present; but nor winked and no ACD
Duplicate IPRed:Solid red
Self test
Device has been winked YellowFlashing yellowFlash for 20 s
Link present at 10 Mbps YellowSteady yellowLink present; but nor winked and no ACD
Table 6.2 NS1+NS2: Network Status (one per port)
Red:
Green
Check: Link Status
The status of the Ethernet link cannot be directly identified
Flashing red/
green
If no server is connected, the parameter shows:
000.000.000.000.
The IP-address assigned to the device is
already in use
The Modbus TCP option is in self-test mode
with the LEDs.
Use 12-10 Link Status, to verify presents of the link.
Use 12-11 Link Duration, to verify that the link is steady
present.
The parameter shows the duration of the present link, and
preset to 00:00:00:00 if the link is broken.
Check: Cabling
In rare cases of cabling mis-configuration, the option might
show the presents of a link, but no communication is
6.2 Alarm Word and Warning Word
Alarm word and warning word are shown in the display in
Hex format. If there is more than one warning or alarm, a
sum of all warnings or alarms is shown. Warning word and
alarm word are displayed in 16-90 Alarm Word to 16-95.
For more information on the individual alarms and
warnings, refer to the product relevant Design Guides.
running. Exchange the cable in doubt.
Check: IP Address
Verify that the option has a valid IP address (refer to
3.1.1 IP Settings) in 12-01 IP Address. If the option has
identified a duplicate IP Address NS LEDs lights steady red.
If the option is set up for BOOTP or DHCP, verify that a
BOOTP or DHCP server is connected in 12-04 DHCP Server.
MG90P202 - VLT® is a protected Danfoss trademark37
TroubleshootingMCA 122 Modbus TCP
NOTICE
The availability of the individual alarms and warnings are
dependent on the frequency converter type.
Warning and Alarm Messages
There is a clear distinction between alarms and warnings. If
there is an alarm, the frequency converter enters a fault
condition. After the cause for the alarm has been cleared,
the master must acknowledge the alarm message in order
to start operation of the frequency converter again. A
warning, on the other hand, may appear when a warning
condition arises, then disappear when conditions return to
normal without interfering with the process.
Warnings
All warnings within the frequency converter are
represented by a single bit within a warning word. A
warning word is always an action parameter. Bit status [0]
66
FALSE means no warning, while bit status [1] TRUE means
warning. Each bit status has a corresponding text string
message. In addition to the warning word message, the
master also notifies via a change in the status word.
38MG90P202 - VLT® is a protected Danfoss trademark
TroubleshootingMCA 122 Modbus TCP
Bit (Hex)Warning word
(16-92 Warning Word)
00000001Brake check
00000002Power card over temperature
00000004Earth fault
00000008Control card over temperature
00000010Control word timeout
00000020Over current
00000040Torque limit
00000080Motor thermistor over temp.
00000100Motor ETR over temperature
00000200Inverter overloaded
00000400DC link under voltage
00000800DC link over voltage
00001000DC link voltage low
00002000DC link voltage high
00004000Mains phase loss
00008000No motor
00010000Live zero error
0002000010 V low
00040000Brake resistor power limit
00080000Brake resistor short circuit
00100000Brake chopper fault
00200000Speed limit
00400000Fieldbus comm. fault
0080000024 V supply fault
01000000Mains failure
02000000Current limit
04000000Low temperature
08000000Voltage limit
10000000Encoder loss
20000000Output frequency limit
40000000Safe stop
80000000Extended status word
Bit (Hex)
00000001Start Delayed
00000002Stop Delayed
00000004Clock Failure
00000008Firemode was active
00000010Reserved
00000020No Flow
00000040Dry Pump
00000080End of Curve
00000100Broken Belt
00000200Discharge high
00000400Reserved
00000800Reserved
00001000Reserved
00002000Reserved
00004000Reserved
00008000Reserved
00010000Reserved
00020000KTY warning
00040000Fans warning
00080000ECB warning
00100000Reserved
00200000Reserved
00400000Reserved
00800000Reserved
01000000Reserved
02000000Reserved
04000000Reserved
08000000Reserved
10000000Reserved
20000000Reserved
40000000PTC thermistor
80000000Reserved
Warning word 2
(16-93 Warning Word 2)
66
Table 6.4 Warning Word
Table 6.5 Warning Word 2
MG90P202 - VLT® is a protected Danfoss trademark39
TroubleshootingMCA 122 Modbus TCP
Bit (Hex)Extended status word
(16-94 Ext. Status Word) FC 202
only !!
00000001Ramping
00000002AMA Running
00000004Start CW/CCW
00000008Slow Down
00000010Catch Up
00000020Feedback high
00000040Feedback low
00000080Output current high
00000100Output current low
00000200Output frequency high
00000400Output frequency low
00000800Brake check OK
00001000Braking max
00002000Braking
66
00004000Out of speed range
00008000OVC active
00010000AC brake
00020000Password Timelock
00040000Password Protection
00080000Reference high
00100000Reference low
00200000Local Ref./Remote Ref.
00400000Reserved
00800000Reserved
01000000Reserved
02000000Reserved
04000000Reserved
08000000Reserved
10000000Reserved
20000000Reserved
40000000Reserved
80000000Reserved