Danfoss VLT HVAC Drive FC 102 Operating instructions
Advertisement
Advertisement
MAKING MODERN LIVING POSSIBLE
Operating Instructions
MCA 122 Modbus TCP
Safety MCA 122 Modbus TCP
Safety
Safety
Copyright, Limitation of Liability and
Revision Rights
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.
2.
3.
4.
5.
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.
The off-command on the serial bus does not disconnect the equipment from mains and should not be used as a safety switch.
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.
The earth leakage currents are higher than 3.5
mA.
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
Safety MCA 122 Modbus TCP
Warning against Uninteded Start
1.
2.
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.
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
Contents MCA 122 Modbus TCP
Contents
1 Introduction
1.1 Introduction
2 How to Install
2.1 The Modbus TCP Option
2.1.1 How to Install Option in Frequency Converter
2.1.5 Recommended Design Rules
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 TCP
4.2 Modbus TCP Message Framing Structure
4.3 PROFIdrive Control Profile
4.3.1 Control Word according to PROFIdrive Profile (CTW)
4.3.2 Status Word according to PROFIdrive Profile (STW)
MG90P202 - VLT ® is a protected Danfoss trademark
1
Contents MCA 122 Modbus TCP
4.3.3 PROFIdrive State - Transition Diagram
4.4 Danfoss FC Control Profile
4.4.1 Status Word according to Frequency Converter Profile (STW)
4.5 Reference Handling
4.5.1 Bus Speed Reference Value
5 Parameters
5.1 Parameter Group 8-**
5.2 Parameter Group 12-**
5.2.2 12-1* Ethernet Link Parameters
5.2.5 12-8* Other Ethernet Services
5.2.6 12-9* Advanced Ethernet Settings
5.3 Parameter List
5.4 Data Types
5.4.1 Data Types Supported by FC 102/FC 202/FC 302
6 Troubleshooting
6.1 Step-by-step Troubleshooting
6.2 Alarm Word and Warning Word
Index
2 MG90P202 - VLT ® is a protected Danfoss trademark
Introduction MCA 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:
For more detailed information including the full range of set-up options and diagnosis tools, refer to the chapters:
Terminology
Ethernet is a common term used to describe the physical layer of the network and does not relate to the application protocol.
1.1.2 Assumptions
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.
1.1.3 Background Knowledge
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.
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 ® HVAC Drive FC 102,
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.
-
The VLT
®
AutomationDriveFC 302 Profibus
Operating Instructions , provide the information required for controlling, monitoring, and programming the frequency converter via a
Profibus Fieldbus.
The VLT ® AutomationDriveFC 302 Operating
Instructions , 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.
Danfoss technical literature is also available online at www.danfoss.com/BusinessAreas/DrivesSolutions/
Documentations/Technical+Documentation.htm.
1.1.5 Modbus Conformance
The Modbus option is tested to conform to the Modbus standards and is certified towards conformance test level version 3.
1 1
MG90P202 - VLT ® is a protected Danfoss trademark 3
Introduction MCA 122 Modbus TCP
1 1
1.1.6 Abbreviations
MRV
N/A
ODVA
PC
PLC
PNU
REF
RTC
IP
LCP
LED
LSB
MAR
MAU
MAV
MSB
Abbreviation
API
CC
CIP
CTW
DHCP
EMC
I/O s
STP
STW
Table 1.1 Abbreviations
Definition
Actual Packet Interval
Control Card
Common Industrial Protocol
Control Word
Dynamic Host Configuration Protocol
Electromagnetic Compatibility
Input/Output
Internet Protocol
Local Control Panel
Light Emitting Diode
Least Significant Bit
Major Recoverable fail
Major Unrecoverable fail
Main Actual Value (actual output)
Most Significant Bit
Main Reference Value
Not applicable
Open DeviceNet Vendor Association
Personal Computer
Programmable Logic Controller
Parameter Number
Reference (=MRV)
Real Time Clock
Second
Spanning tree Protocol
Status Word
4 MG90P202 - VLT ® is a protected Danfoss trademark
How to Install
2 How to Install
MCA 122 Modbus TCP
2.1 The Modbus TCP Option
Ethernet Port 1 Ethernet Port 2
MS LED
NS LEDs
Ethernet Port 1 Ethernet Port2
MS
MCA122
MODBUS TCP
Option A
130B1196
NS1
NS2
MAC 00-1B-08-00-00-00
Address
SW. ver.
TM. ver.
8 7 6 5 4 3 2 1
ON
OFF
Illustration 2.1 Overview of the Option
2.1.1 How to Install Option in Frequency
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 trademark 5
How to Install MCA 122 Modbus TCP
2 2
Instructions
1.
Remove LCP panel from the frequency converter.
2.
3.
Remove the frame located beneath and discard it.
4.
Push the option into place. The Ethernet connectors must be facing upwards.
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 label
MS
NS1
NS2
Table 2.1 Description of LEDs
Description
Module Status
Network Status Ethernet Port 1
Network Status Ethernet Port 2
State
No power
Device operational
Standby
Minor fault
Major fault
LED
Green:
Green:
Red:
Red:
Self test
No IP address
Wink
Red:
Green:
Yellow
Yellow
Table 2.2 MS: Module Status
State
No IP-address (no power)
Connected
LED
Green:
Duplicate IP Red:
Self test
Red:
Green
Device has been winked Yellow
Link present at 10 Mbps Yellow
Table 2.3 NS1+NS2: Network Status (One per Port)
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
[3] Option A
Off
Solid green
Description
The device is un-powered
The device is operational
Flashing green The device needs commissioning
Flashing red The device has detected a recoverable fault
Solid red The device has detected an un-recoverable fault
Flashing red/ green
The Modbus TCP option is in self-test mode
Steady yellow No IP address configured or obtained
Flashing yellow Flash for 20 s
Off
Description
No link present (or is un-powered)
Solid green Link present; but nor winked and no ACD
Solid red
The IP-address assigned to the device is already in use
Flashing red/ green
The Modbus TCP is in self-test mode
Flashing yellow Flash for 20 s
Steady yellow Link present; but nor winked and no ACD
6 MG90P202 - VLT ® is a protected Danfoss trademark
How to Install MCA 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.
2 2
Illustration 2.4 Star Topology
VLT
AutomationDrive
VLT
AutomationDrive
VLT
AutomationDrive
VLT
AutomationDrive
VLT
AutomationDrive
VLT
AutomationDrive
VLT
AutomationDrive
VLT
AutomationDrive
130BA903.10
VLT
AutomationDrive
VLT
AutomationDrive
VLT
AutomationDrive
VLT
AutomationDrive
VLT
AutomationDrive
VLT
AutomationDrive
VLT
AutomationDrive
130BA904.10
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 trademark 7
2 2
How to Install MCA 122 Modbus TCP
VLT
AutomationDrive
VLT
AutomationDrive
VLT
AutomationDrive
VLT
AutomationDrive
VLT
AutomationDrive
½
VLT
AutomationDrive
VLT
AutomationDrive
130BA905.10
Illustration 2.6 Ring/Redundant Line Topology
2.1.4 Network
It is of high importance that the media chosen for Ethernet data transmission are suitable. Usually CAT 5e and six 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.
For connecting Modbus TCP devices both hubs and switches can be used. It is, however, always recommended to use suitable industrial graded Ethernet switches. For more information regarding IP-switching, refer to 3.4.1 IP
Traffic .
2.1.5 Recommended Design Rules
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 communication.
8 MG90P202 - VLT ® is a protected Danfoss trademark
How to Install MCA 122 Modbus TCP
2 2
Illustration 2.7
MG90P202 - VLT ® is a protected Danfoss trademark 9
How to Install MCA 122 Modbus TCP
2 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
10 MG90P202 - VLT ® is a protected Danfoss trademark
How to Configure MCA 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-08 Host Name
•
The MCA 122 option offers several ways of IP address assignment.
Setting up the frequency converter with manually assigned
IP address
Parameter Value
12-00 IP Address Assignment [0] MANUAL
12-01 IP Address
12-02 Subnet Mask
12-03 Default Gateway
192.168.0.xxx*
255.255.255.0* optional
Table 3.1 Assigning IP Adresses Manually
*= Class C IP address example. Any valid IP address can be entered.
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 Address
12-02 Subnet Mask
12-03 Default Gateway
Value
[1] DHCP/[2] BOOTP
Read only
Read only
Read only
Table 3.2 Assigning IP Adresses Automatically
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 trademark
Server DHCP Server , the IP address of the found DHCP or
BOOTP server is displayed.
For DHCP only: The remaining lease-time can be read-out in
Lease Expires .
, 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.
Name Servers
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.
NOTICE
It is only possible to assign valid class A, B, and C IP address to the option. The valid ranges are shown in
.
Class A
Class B
Class C
1.0.0.1 - 126.255.255.254
128.1.0.1 - 191.255.255.254
192.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-12 Auto Negotiation
• 12-13 Link Speed
•
11
3 3
How to Configure MCA 122 Modbus TCP
3 3
NOTICE
The Ethernet Link Parameters are unique per port.
12-10 Link Status and
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.
displays the duration of the link on the present port. If the link is broken the counter resets.
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-13 Link Speed – displays/sets the link speed per port.
“None” is displayed if no link is present.
– displays/sets the duplex mode per 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.
Under network, add a network by right clicking the
Network menu and select “New Network”
12
Illustration 3.1 Adding a Network
MG90P202 - VLT ® is a protected Danfoss trademark
How to Configure MCA 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.
Menu Menu point Setting
Model Family
Model Utilities
IP address configuration
Ethernet Configuration
Model Family
IO Scanning
Global Data
Address Server
Configured/From a server
IP address
Subnetwork mask
Gateway address
Ethernet Configuration
NOE 0100, NOE 110
YES
NO
NO
Configured
192.168.001.020
255.255.255.0
0.0.0.0
Ethernet II
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.
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.
3 3
Illustration 3.3 Main Configuration Page
MG90P202 - VLT ® is a protected Danfoss trademark 13
3 3
How to Configure MCA 122 Modbus TCP
Illustration 3.4 Net Link Menu
Menu
Function
Net Link
Table 3.5 Menu Settings
Menu point
Function
Net Link
Setting
ETH TCP IP
Danfoss
14 MG90P202 - VLT ® is a protected Danfoss trademark
How to Configure MCA 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
3 3
Illustration 3.5 Scanning List
Menu
IO Scanning
Menu point
IP address
Unit ID
Health Timeout
Repetitive rate
RD Master Object
RD Slave Index
RD Length
Last Value
VR Master Object
VR Slave Index
VR Lenght
Description
Table 3.6 Menu Settings
Setting
192.168.001.030
255
1500
60
%MW100
2910
10
Hold Last
%MW200
2810
-
10
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 trademark 15
How to Configure MCA 122 Modbus TCP
3 3
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 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.
16 MG90P202 - VLT ® is a protected Danfoss trademark
How to Control MCA 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
Read holding registers
Write single register
Write multiple registers
Get comm. event counter
Report slave ID
Read/Write multiple registers
Table 4.1 Function Codes
Function code
3 hex
6 hex
10 hex
B hex
11 hex
17 hex
Function Function code
1
2
Sub-function code
Diagnostics 8
10
11
12
13
14
Sub-function
Restart communication
Return diagnostic register
Clear counters and diagnostic register
Return bus message count
Return bus communication error count
Return bus exception error count
Return slave message count
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 trademark 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
4.1.1 Function Codes Supported by Modbus TCP
and
.
4.2.2 Data Field
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.
4.2.3 Parameter Handling
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.
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).
4 4
17
How to Control MCA 122 Modbus TCP
4 4
4.2.5 IND
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 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
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.
4.2.7 Conversion Factor
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.
4.2.8 Parameter Values
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
Non standard data types are text strings and are stored as
4x registers (40001–4FFFF). The parameters are read using 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).
4.2.9 Modbus Exception Codes
For a full explanation of the structure of an exception code response, refer to
4.2 Modbus TCP Message Framing
Code Name
1
2
3
4
Illegal function
Illegal data address
Illegal data value
Slave device failure
Meaning
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.
Table 4.3 Modbus Exception Codes
18 MG90P202 - VLT ® is a protected Danfoss trademark
How to Control MCA 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
.
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.
13
14
15
09
10
11
12
03
04
05
06
Bit
00
01
02
07
08
Table 4.4 Control Word Bits
Bit=0
OFF 1
OFF 2
OFF 3
Coasting
Quick stop
Hold frequency output
Ramp stop
No function
Jog 1 OFF
Jog 2 OFF
Data invalid
No function
No function
Parameter set-up
Parameter set-up
No function
Explanation of the control bits
Bit=1
ON 1
ON 2
ON 3
No coasting
Ramp
Use ramp
Start
Reset
Jog 1 ON
Jog 2 ON
Data valid
Slow down
Catch up
Selection lsb
Selection msb
Reverse
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
.
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
Bit 02, OFF 3/ON 3
Quick stop using the ramp time of 3-81 Quick Stop Ramp
Time . When bit 02="0", a quick stop and activation of the output relay 1 or 2 occurs if the output frequency is 0 Hz and if [Relay 123] has been selected in 5-40 Function Relay .
MG90P202 - VLT ® is a protected Danfoss trademark
When bit 02="1", the frequency converter is in State 1:
“Switching on inhibited”.
Refer to
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.
Bit 04, Quick stop/Ramp
Quick stop using the ramp time of 3-81 Quick Stop Ramp
Time .
When bit 04="0", a quick stop occurs.
When bit 04="1", the frequency converter can start if the other start conditions are satisfied.
NOTICE
The selection in
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 1
Speed . JOG 1 is only possible if bit 04="0" and bit
00-03="1".
19
4 4
How to Control MCA 122 Modbus TCP
4 4
Bit 09, Jog 2 OFF/ON
Activation of the pre-programmed speed in 8-91 Bus Jog 2
Speed . JOG 2 is only possible if bit 04="0" and bit
00-03="1".
Bit 10, Data invalid/valid
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 contained in the telegram, regardless of which type of 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
Bits 13 and 14 are used to choose between the four parameter set-ups according to
.
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
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 .
Set-up
1
2
3
4
Table 4.5 Parameter Set-ups
Bit 13
0
1
0
1
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
Bit 14
0
0
1
1
NOTICE
Bit 15 causes reversing only when Ser. communication,
Logic or or Logic and is selected.
4.3.2 Status Word according to PROFIdrive
Profile (STW)
The Status word is used to notify a master (for example, a
PC) about the status of a slave.
13
14
15
09
10
11
12
03
04
05
06
Bit
00
01
02
07
08
Bit=0
Control not ready
Drive not ready
Coasting
No error
OFF 2
OFF 3
Start possible
Bit=1
Control ready
Drive ready
Enable
Trip
ON 2
ON 3
Start not possible
No warning
Speed ≠ reference
Local operation
Warning
Speed=reference
Bus control
Out of frequency limit Frequency limit ok
No operation
Drive OK
In operation
Stopped, autostart
Voltage OK
Torque OK
Timer OK
Voltage exceeded
Torque exceeded
Timer exceeded
Table 4.6 Status Word Bits
Explanation of the status bits
Bit 00, Control not ready/ready
When bit 00="0", bit 00, 01 or 02 of the Control word is "0"
(OFF 1, OFF 2 or OFF 3) - or the frequency converter is switched off (trip).
When bit 00="1", the frequency converter control is ready, but there is not necessarily power supply to the unit present (in the event of external 24 V supply of the control system).
Bit 01, VLT not ready/ready
Same significance as bit 00, however, there is a supply of the power unit. The frequency converter is ready when it receives the necessary start signals.
Bit 02, Coasting/Enable
When bit 02="0", bit 00, 01 or 02 of the Control word is "0"
(OFF 1, OFF 2 or OFF 3 or coasting) - or the frequency converter is switched off (trip).
When bit 02="1", bit 00, 01 or 02 of the Control word is
"1"; the frequency converter has not tripped.
Bit 03, No error/Trip
When bit 03="0", no error condition of the frequency converter exists.
20 MG90P202 - VLT ® is a protected Danfoss trademark
How to Control MCA 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
, 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 Speed
High . When bit 10="1", the output frequency is within the indicated limits.
Bit 11, No operation/Operation
When bit 11="0", the motor does not turn.
When bit 11="1", the frequency converter has a start signal, or the output frequency is higher than 0 Hz.
Bit 12, Drive OK/Stopped, autostart
When bit 12="0", there is no temporary overloading of the inverter.
When bit 12="1", the 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%.
4.3.3 PROFIdrive State - Transition Diagram
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.
shows the basic state-transition diagram, where control bits 0 to 3 control the transitions, and the corresponding status bit indicates the actual state. The black bullets indicate the priority of the control signals, where fewer bullets indicate lower priority, and more bullets indicate higher priority.
4 4
MG90P202 - VLT ® is a protected Danfoss trademark 21
How to Control MCA 122 Modbus TCP
4 4
Illustration 4.1 PROFIdrive State Transition Diagram
22 MG90P202 - VLT ® is a protected Danfoss trademark
How to Control MCA 122 Modbus TCP
4.4 Danfoss FC Control Profile
→
Illustration 4.2
=Frequency Converter profile
07
08
09
10
11
12
03
04
05
06
Bit
00
01
02
13
14
15
Bit value=0
Reference value
Reference value
DC brake
Coasting
Quick stop
Hold output frequency
Ramp stop
No function
No function
Ramp 1
Data invalid
No function
No function
Parameter set-up
Parameter set-up
No function
Table 4.7 Control Word Bits
Bit value=1
External selection LSB
External selection MSB
Ramp
No coasting
Ramp
Use ramp
Start
Reset
Jog
Ramp 2
Data valid
Relay 01 active
Relay 04 active
Selection LSB
Selection MSB
Reverse
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 Preset
Reference according to
Parameter Bit 01 Bit 00 Programmed ref. value
1
2
3
4
3-10 [0]
3-10 [1]
3-10 [2]
3-10 [3]
1
1
0
0
0
1
0
1
Table 4.8 Reference Values
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.
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.
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] .
MG90P202 - VLT ® is a protected Danfoss trademark 23
4 4
How to Control MCA 122 Modbus TCP
4 4
Bit 09, Selection of ramp 1/2
Bit 09=‘0’ means that ramp 1 is active ( 3-40 Ramp 1 Type to
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 Ratio at 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 contained in the telegram, regardless of which type of 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 Control word 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
Set-up
1
2
3
4
Table 4.9 Menu Set-ups
Bit 14
0
0
1
1
Bit 13
0
1
0
1
The function is only possible when Multi-Set-ups is selected in 0-10 Active Set-up .
NOTICE
In 8-55 Set-up Select a selection is made to define how Bit
13/14 gates with the corresponding function on the digital inputs.
Bit 15 Reverse
Bit 15=‘0’ causes no reversing.
Bit 15=‘1’ causes reversing.
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.
4.4.1 Status Word according to Frequency
Converter Profile (STW)
→
Illustration 4.3 8-10 Control Word Profile
11
12
13
07
08
09
10
03
04
05
06
Bit
00
01
02
14
15
Table 4.10 Staus Word Bits
Bit value=0
Control not ready
Drive not ready
Coasting
No error
No error
Reserved
No error
No warning
Speed ≠ reference
Local operation
Out of frequency limit
No operation
Drive ok
Voltage ok
Torque ok
Thermal ok
Bit value=1
Control ready
Drive ready
Enable
Trip
Error (no trip)
-
Trip lock
Warning
Speed = reference
Bus control
Frequency limit ok
In operation
Stopped, auto start
Voltage exceeded
Torque exceeded
Thermal exceeded
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 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 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’ 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.
24 MG90P202 - VLT ® is a protected Danfoss trademark
How to Control MCA 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 Limit
Motor Mode and 4-17 Torque Limit Generator Mode Torque limit has been exceeded. The nominal torque can be read in 16-16 Torque [Nm] .
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.
100%
(4000hex)
-100%
(C000hex)
0%
(0hex)
Par.3-00 set to
(1) -max- +max
Reverse Forward
Par.3-03
Max reference
0
0%
(0hex)
Par.3-00 set to
(0) min-max
Par.3-02
Min reference
Illustration 4.4 Scaling of Reference Values
Forward
Par.3-03
Max reference
100%
(4000hex)
Par.3-03
Max reference
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 .
4 4
MG90P202 - VLT ® is a protected Danfoss trademark 25
4 4
How to Control MCA 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.
26 MG90P202 - VLT ® is a protected Danfoss trademark
Parameters MCA 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
to
.
[0] Digital and ctrl.word
Control by using both digital input and control word.
[1] Digital only Control by using digital inputs only.
[2] Controlword only 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: 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
back to default setting RS-485, and the frequency converter trips. If an option is installed after initial power-up, the setting of
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.
[0] None
[1] FC RS485
[2] FC USB
[3] Option A
[4] Option B
[5] Option C0
[6] Option C1
[30] External
Can
8-03 Control Word Timeout Time
Range: Function:
1 s * [ 0.1 -
18000 s]
Enter the maximum time expected to pass between the reception of two consecutive telegrams. If this time is exceeded, it indicates that the serial communication has stopped.
The function selected in
is 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:
[0] Off
Function:
Resumes control via serial bus (fieldbus or standard) using the most recent control word.
[1] Freeze output Freezes output frequency until communication resumes.
[2] Stop Stops with auto restart when communication resumes.
[3] Jogging
[4] Max. speed
Runs the motor at JOG frequency until communication resumes.
Runs the motor at maximum frequency until communication resumes.
[5] Stop and trip Stops the motor, then resets the frequency converter to restart: via the fieldbus, via
[Reset], or via a digital input.
[7] Select setup 1 Changes the set-up upon reestablishment of communication following a control word time-out. If communication resumes after a time-out,
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 See [7] Select setup 1
[9] Select setup 3 See [7] Select setup 1
[10] Select setup 4 See [7] Select setup 1
[26] Trip
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 trademark 27
Parameters MCA 122 Modbus TCP
5 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 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.
[1] Resume setup
Resumes the set-up active before the time-out.
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 Retains the set-up specified in
Word Timeout Function , following a control
word time-out.
[1] Do reset Returns the frequency converter to the original 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] PROFIdrive profile 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.
Function: Option:
[0]
[1]
[5]
[7]
[8]
FC profile
PROFIdrive profile
ODVA
CANopen DSP 402
MCO
8-13 Configurable Status Word STW
Option: Function:
This parameter enables configuration of bits 12–15 in the status word.
[0] No function
[1] * Profile Default Function corresponds to the profile default selected in 8-10 Control Profile .
[2] Alarm 68 Only Only set in case of an Alarm 68.
[3] Trip excl. Alarm
68
Set 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 status The 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)
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.
[40] Out of ref.
range
[60] Comparator 0 See parameter group 13-1* Comparators . If
Comparator 0 is evaluated as TRUE, the output goes high. Otherwise, it is low.
[61] Comparator 1 See parameter group 13-1* Comparators . If
Comparator 1 is evaluated as TRUE, the output goes high. Otherwise, it is low.
[62] Comparator 2 See parameter group 13-1* Comparators . If
Comparator 2 is evaluated as TRUE, the output goes high. Otherwise, it is low.
[63] Comparator 3 See parameter group 13-1* Comparators . If
Comparator 3 is evaluated as TRUE, the output goes high. Otherwise, it is low.
[64] Comparator 4 See parameter group 13-1* Comparators . If
Comparator 4 is evaluated as TRUE, the output goes high. Otherwise, it is low.
[65] Comparator 5 See parameter group 13-1* Comparators . If
Comparator 5 is evaluated as TRUE, the output goes high. Otherwise, it is low.
[70] Logic Rule 0 See parameter group 13-4* Logic Rules . If
Logic Rule 0 is evaluated as TRUE, the output goes high. Otherwise, it is low.
28 MG90P202 - VLT ® is a protected Danfoss trademark
Parameters MCA 122 Modbus TCP
8-13 Configurable Status Word STW
Option:
[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
Function:
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 enable
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 PID
I-part Reset . Available only if "Configuration
Mode" is set to "Surface Winder", "Extended
PID Speed OL" or "Extended PID Speed CL".
When enabled, enables the extended process
PID controller. Equivalent to 7-50 Process PID
Extended 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] Bus
Activates Start command via a digital input.
[2] Logic AND Activates Start command via the fieldbus/serial communication port, AND additionally via one of the digital inputs.
[3] Logic OR
Activates Start command via the serial communication port or fieldbus option.
Activates Start command via the fieldbus/serial communication port OR via one of the digital inputs.
[0]
[1]
[2]
[3]
8-51 Quick Stop Select
Select control of the Quick Stop function via the terminals
(digital input) and/or via the bus.
Option: Function:
Digital input
Bus
Logic AND
Logic OR
5 5
MG90P202 - VLT ® is a protected Danfoss trademark 29
Parameters MCA 122 Modbus TCP
5 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] Bus
Activates Start command via a digital input.
Activates Start command via the serial communication port or fieldbus option.
[2] Logic AND Activates Start command via the fieldbus/serial communication port, AND additionally via one of the digital inputs.
[3] Logic OR Activates Start command via the fieldbus/serial communication port OR via one of the digital inputs.
8-53 Start Select
Option: Function:
Select control of the frequency converter start function via the terminals (digital input) and/or via the fieldbus.
[0] Digital input
[1] Bus
Activates Start command via a digital input.
Activates Start command via the serial communication port or fieldbus option.
[2] Logic AND Activates Start command via the fieldbus/serial communication port, AND additionally via one of the digital inputs.
[3] Logic OR Activates Start command via the fieldbus/serial communication port OR via one of the digital inputs.
8-54 Reversing Select
Option: Function:
[0] Digital input
Select control of the frequency converter reverse function via the terminals (digital input) and/or via the fieldbus.
[1] Bus
[2] Logic AND Activates the Reverse command via the fieldbus/serial communication port, AND additionally via one of the digital inputs.
[3] Logic OR
Activates the Reverse command via the serial communication port or fieldbus option.
Activates the Reverse command via the fieldbus/serial communication port OR via one of the digital inputs.
8-55 Set-up Select
Option: Function:
Select control of the frequency converter set-up selection via the terminals (digital input) and/or via the fieldbus.
[0] Digital input
[1] Bus
Activates the set-up selection via a digital input.
Activates the set-up selection via the serial communication port or fieldbus option.
[2] Logic AND Activates the set-up selection via the fieldbus/ serial communication port, AND additionally via one of the digital inputs.
[3] Logic OR Activate the set-up selection via the fieldbus/ serial 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] Bus
Activates Preset Reference selection via a digital input.
Activates Preset Reference selection via the serial communication port or fieldbus option.
[2] Logic AND Activates Preset Reference selection via the fieldbus/serial communication port, AND additionally via one of the digital inputs.
[3] Logic OR Activates the Preset Reference selection via the 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 IP-address can be set in 12-01 IP Address IP
Address.
[1] DHCP IP-address is assigned via DHCP server.
[2] BOOTP IP-address is assigned via BOOTP server.
12-01 IP Address
Range:
[000.000.000.000 -
255.255.255.255]
Function:
Configure the IP address of the option. Read-only if 12-00 IP Address
Assignment set to DHCP or BOOTP.
30 MG90P202 - VLT ® is a protected Danfoss trademark
Parameters MCA 122 Modbus TCP
12-02 Subnet Mask
Range:
[000.000.000.000 -
255.255.255.255]
Function:
Configure the IP subnet mask of the option. Read-only if 12-00 IP Address
Assignment set to DHCP or BOOTP.
12-03 Default Gateway
Range:
[000.000.000.000 –
255.255.255.255]
Function:
Configure the IP default gateway of the option. Read-only if 12-00 IP
Address Assignment set to DHCP or
BOOTP.
12-04 DHCP Server
Range:
[000.000.000.000 –
255.255.255.255]
Function:
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:
Blank [0-19 characters]
Function:
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:
[0] Off Link Speed and Link Duplex can be configured in
12-13 Link Speed and
.
[1] On
Configures Auto Negotiation of Ethernet link parameters, for each port: ON or OFF.
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 trademark 31
Parameters MCA 122 Modbus TCP
5 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 Data
Config 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:
[0] *
[1]
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] IP address 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.
IP address of first Master.
IP address of second Master.
12-28 Store Data Values
Option:
[0] * Off
[1] Store All set-ups
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”.
The store function is inactive.
All parameter values are stored in the nonvolatile memory, in all 5 set-ups.
12-29 Store Always
Option: Function:
Activates function that always stores received parameter data in non-volatile memory (EEPROM).
[0] * Off
[1] On
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 ]
5
6
2
3
4
8
9
10
11
12
13
Bit
0
1
7
14
15
Description
Link Status port 1
Bit=[0] Bit=[1]
Disconnected Connected
Link Status port 2
Link speed 0/10 Mbps
Link Duplex Half
Port 502 communication
Disconnected Connected
No
100 Mbps
Full
Yes
UNUSED
Valid IP address
-
No
Modbus timeout (30 s)
No
Duplicate IP No
-
Yes
Yes
Yes
Yes Register 7 error
No
FTP server Disabled
HTTP server Disabled
SMTP service Disabled
Cable diagnosis
Disabled
Disabled Auto crossover
IGMP snooping
Disabled
Enabled
Enabled
Enabled
Enabled
Enabled
Enabled
Table 5.1 Bit Descriptions
12-41 Slave Message Count
Range: Function:
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 ]
32 MG90P202 - VLT ® is a protected Danfoss trademark
Parameters MCA 122 Modbus TCP
5.2.5 12-8* Other Ethernet Services
12-80 FTP Server
Option:
[0] Disabled
Function:
Disables the built-in FTP server.
[1] Enabled Enables the built-in FTP server.
12-81 HTTP Server
Option: Function:
[0] Disabled
[1] Enabled Enables 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
. 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] Disable Disables the auto cross-over function.
[1] * Enable Enables 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:
0 * [0 -
65535 ]
Function:
If Cable Diagnostics is enabled in 12-90 Cable
Diagnostic , 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 %]
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.
-1 % * [-1 -
20 %]
12-95 Broadcast Storm Filter
Option: Function:
Applies to
; if the Broadcast Storm
Protection should also include
Multicast telegrams.
[0] Broadcast only
[1] Broadcast &
Multicast
5 5
MG90P202 - VLT ® is a protected Danfoss trademark 33
Parameters MCA 122 Modbus TCP
12-98 Interface Counters
Range: Function:
4000 * [0 - 4294967295 ] Read only. Advanced Interface counters, from built-in switch, can be used for low-level troubleshooting,
The parameter shows a sum of port
1+port 2.
12-99 Media Counters
Range: Function:
0 * [0 - 4294967295 ] Read only. Advanced Interface counters, from built-in switch, can be used for low-level troubleshooting, The parameter shows a sum of port 1+port
2.
5 5
5.3 Parameter List
Parameter Default value 4-set-up
8-0* General Settings
8-01 Control Site
8-03 Control Word Timeout Time
8-04 Control Word Timeout Function
8-05 End-of-Timeout Function
8-06 Reset Control Word Timeout
8-1* Ctrl. Word Settings
8-13 Configurable Status Word STW
8-14 Configurable Control Word CTW
8-5* Digital/Bus
8-50 Coasting Select
8-52 DC Brake Select
8-53 Start Select
8-55 Set-up Select
8-56 Preset Reference Select
[0] Digital and ctrl.word All set-ups null All set-ups
1.0 s 1 set-up null
[1] Resume set-up
[0] Do not reset
1 set-up
1 set-up
All set-ups
[0] FC profile
[1] Profile default
[1] Profile default
[3] Logic OR
[3] Logic OR
[3] Logic OR
[3] Logic OR
[3] Logic OR
[3] Logic OR
[3] Logic OR
All set-ups
All set-ups
All set-ups
All set-ups
All set-ups
All set-ups
All set-ups
All set-ups
All set-ups
All set-ups
Table 5.2 Parameter Group 8-**
Change during operation
TRUE
TRUE
TRUE
TRUE
TRUE
TRUE
TRUE
TRUE
TRUE
TRUE
TRUE
TRUE
TRUE
TRUE
TRUE
TRUE
Conversion index
-
-
-
-
-
-1
-
-
-
-
-
-
-
-
-
-
Type
Uint8
Uint8
Uint8
Uint8
Uint8
Uint8
Uint8
Uint8
Uint8
Uint8
Uint8
Uint8
Uint32
Uint8
Uint8
Uint8
34 MG90P202 - VLT ® is a protected Danfoss trademark
Parameters MCA 122 Modbus TCP
Parameter
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-08 Host Name
12-1* Ethernet Link Parameters
12-10 Link Status
12-12 Auto Negotiation
12-13 Link Speed
12-2* Process Data
12-21 Process Data Config Write
12-22 Process Data Config Read
12-27 Master Address
12-28 Store Data Values
12-29 Store Always
12-4* Modbus TCP
12-8* Other Ethernet Services
12-80 FTP Server
12-81 HTTP Server
12-82 SMTP Service
12-89 Transparent Socket Channel
Port
12-9* Advanced Ethernet Settings
12-91 Auto Cross Over
12-92 IGMP Snooping
12-94 Broadcast Storm Protection
Table 5.3 Parameter Group 12-**
[0 - 1]
-
[0-1]
[0-2]
[0-1]
-
-
0-255
[0-1]
[0-1]
[0-1]
Range
0-255
0-255
0-255
0-255
0-255
-
0-255 max. 19 ch.
max. 19 ch.
-
[0-1]
[0-1]
[0-1]
[0-1]
[0-1]
[0-1]
[0-1]
0-200
Off-20%
[0-1]
0-65535
0 - 65535
Default Value
0.0.0.0
0.0.0.0
0.0.0.0
0.0.0.0
0.0.0.0
00:00:00:00
0.0.0.0
-
-
00:1B:08:00:00:00
[0] No Link
00:00:00:00
[1] On
[0] None
[1] Full Duplex
-
-
0.0.0.0.
[0] Off
[0] Off
0
0
[0] Disable
[0] Disable
[0] Disable
[0] Disable
[0] Disable
[0] Enable
[0] Enable
0
0
[1] Enable
0
0
-
-
-
-
-
-
-
-
-
-
Conversion Index
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
0
-
-
Data Type
Unsigned 8
Oct. string 4
Oct. string 4
Oct. string 4
Oct. string 4
Time diff. w/date
Oct. string 4
Visible string 48
Visible string 48
Visible string 17
Unsigned 8
Unsigned 8
Unsigned 8
Unsigned 8
Unsigned 8
Unsigned 8
Unsigned 8
Unsigned 16
Unsigned 16
Unsigned 8
Unsigned 16
Unsigned 16
Unsigned 8
Time diff. w/date
Unsigned 8
Unsigned 8
Unsigned 8
Unsigned 16
Unsigned 16
Unsigned 8
Unsigned 8
[0-1]
[0-1]
[0-1]
[0-1]
[0-1]
[0-9]
[0-9]
Oct. string
[4]
-
-
Array
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
[0-1]
[0-1]
[0-1]
[0-10]
[0-11]
5 5
MG90P202 - VLT ® is a protected Danfoss trademark 35
Parameters MCA 122 Modbus TCP
5 5
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 index
67
6
5
2
1
4
3
0
-1
-2
-3
-4
-5
-6
Table 5.4 Conversion Index
Conversion factor
1/60
1000000
100000
10000
1000
100
10
1
0.1
0.01
0.001
0.0001
0.00001
0.000001
36 MG90P202 - VLT ® is a protected Danfoss trademark
Troubleshooting
6 Troubleshooting
MCA 122 Modbus TCP
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.
State
No power
Device operational
Standby
Minor fault
Major fault
Self test
No IP address
Wink
LED
Green:
Green:
Red:
Red:
Red:
Green:
Yellow
Yellow
Off
Solid green
Description
The device is un-powered
The device is operational
Flashing green The device needs commissioning
Flashing red The device has detected a recoverable fault
Solid red The device has detected an un-recoverable fault
Flashing red/ green
Steady yellow
The Modbus TCP option is in self-test mode
No IP address configured or obtained
Flashing yellow Flash for 20 s
Table 6.1 MS: Module Status
State
No IP-address (no power)
Connected Green:
Duplicate IP Red:
Self test
Red:
Green
Device has been winked Yellow
Link present at 10 Mbps Yellow
Table 6.2 NS1+NS2: Network Status (one per port)
LED
Check: Link Status
The status of the Ethernet link cannot be directly identified with the LEDs.
Use 12-10 Link Status , to verify presents of the link.
Use
, 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 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 .
Off
Description
No link present (or is un-powered)
Solid green
Solid red
Link present; but nor winked and no ACD
The IP-address assigned to the device is already in use
Flashing red/ green
The Modbus TCP option is in self-test mode
Flashing yellow Flash for 20 s
Steady yellow Link present; but nor winked and no ACD
If no server is connected, the parameter shows:
000.000.000.000.
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.
6 6
MG90P202 - VLT ® is a protected Danfoss trademark 37
Troubleshooting MCA 122 Modbus TCP
6 6
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]
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.
Bit (Hex)
00000001
00000002
00000004
00000008
00000010
00000020
00000040
00000080
00000100
00000200
00000400
00000800
00001000
00002000
00004000
00008000
00010000
00020000
00040000
00080000
00100000
00200000
00400000
00800000
01000000
02000000
04000000
08000000
10000000
20000000
40000000
80000000
Table 6.3 Alarm Word 2
Speed limit
Reserved
Reserved
Reserved
Reserved
Reserved
KTY error
Fans error
ECB error
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
Alarm word 2
(16-91 Alarm Word 2)
Service Trip, Read/Write
Reserved
Service Trip, Typecode/
Sparepart
Reserved
Reserved
No Flow
Dry Pump
End of Curve
Broken Belt
Discharge high
Start failed
Reserved
Reserved
Reserved
PTC thermistor
Dangerous failure
38 MG90P202 - VLT ® is a protected Danfoss trademark
Troubleshooting MCA 122 Modbus TCP
Bit (Hex)
00000800
00001000
00002000
00004000
00008000
00010000
00020000
00040000
00080000
00100000
00200000
00400000
00800000
01000000
02000000
04000000
00000001
00000002
00000004
00000008
00000010
00000020
00000040
00000080
00000100
00000200
00000400
08000000
10000000
20000000
40000000
80000000
Table 6.4 Warning Word
Warning word
(16-92 Warning Word)
Brake check
Power card over temperature
Earth fault
Control card over temperature
Control word timeout
Over current
Torque limit
Motor thermistor over temp.
Motor ETR over temperature
Inverter overloaded
DC link under voltage
DC link over voltage
DC link voltage low
DC link voltage high
Mains phase loss
No motor
Live zero error
10 V low
Brake resistor power limit
Brake resistor short circuit
Brake chopper fault
Speed limit
Fieldbus comm. fault
24 V supply fault
Mains failure
Current limit
Low temperature
Voltage limit
Encoder loss
Output frequency limit
Safe stop
Extended status word
Bit (Hex)
00000800
00001000
00002000
00004000
00008000
00010000
00020000
00040000
00080000
00100000
00200000
00400000
00800000
01000000
02000000
04000000
00000001
00000002
00000004
00000008
00000010
00000020
00000040
00000080
00000100
00000200
00000400
08000000
10000000
20000000
40000000
80000000
Table 6.5 Warning Word 2
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
KTY warning
Fans warning
ECB warning
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
Warning word 2
(16-93 Warning Word 2)
Start Delayed
Stop Delayed
Clock Failure
Firemode was active
Reserved
No Flow
Dry Pump
End of Curve
Broken Belt
Discharge high
Reserved
Reserved
Reserved
Reserved
PTC thermistor
Reserved
6 6
MG90P202 - VLT ® is a protected Danfoss trademark 39
Troubleshooting MCA 122 Modbus TCP
6 6
Bit (Hex)
00000800
00001000
00002000
00004000
00008000
00010000
00020000
00040000
00080000
00100000
00200000
00400000
00800000
01000000
02000000
04000000
00000001
00000002
00000004
00000008
00000010
00000020
00000040
00000080
00000100
00000200
00000400
08000000
10000000
20000000
40000000
80000000
Table 6.6 Extended Status Word
Extended status word
(16-94 Ext. Status Word) FC 202 only !!
Ramping
AMA Running
Start CW/CCW
Slow Down
Catch Up
Feedback high
Feedback low
Output current high
Output current low
Output frequency high
Output frequency low
Brake check OK
Braking max
Braking
Out of speed range
OVC active
AC brake
Password Timelock
Password Protection
Reference high
Reference low
Local Ref./Remote Ref.
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
Bit (Hex) FC 200
00000800
00001000
00002000
00004000
00008000
00010000
00020000
00040000
00080000
00100000
00200000
00400000
00800000
01000000
02000000
04000000
00000001
00000002
00000004
00000008
00000010
00000020
00000040
00000080
00000100
00000200
00000400
08000000
10000000
20000000
40000000
80000000
Table 6.7 Extended Status Word 2
Extended status word 2
(16-95)
FC 202 only !!
Off
Hand/Auto
PROFIbus OFF1 active
PROFIbus OFF2 active
PROFIbus OFF3 active
Relay 123 active
Start Prevented
Control ready
Drive ready
Quick Stop
DC Brake
Stop
Stand By
Freeze Output Request
Freeze Output
Jog Request
Jog
Start Request
Start
Start Applied
Start Delay
Sleep
Sleep Boost
Running
Bypass
Fire Mode
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
40 MG90P202 - VLT ® is a protected Danfoss trademark
Index MCA 122 Modbus TCP
Index
Modbus
Conformance....................................................................................... 3
Exception Codes............................................................................... 18
A
Abbreviations........................................................................................... 4
Alarm Word............................................................................................. 37
Assumptions............................................................................................. 3
C
Cabling.............................................................................................. 33, 37
Configuration...................................................................... 27, 28, 32, 4
Control WordPROFIdrive Profile (CTW)........................................ 19
Conversion Index........................................................................... 35, 36
N
Network.......................................................... 3, 10, 15, 31, 33, 37, 6, 8
B
Background Knowledge....................................................................... 3
O
Overview.................................................................................................... 5
P
Parameter Values.................................................................................. 18
Parameters......................................................................................... iv, 11
Profibus....................................................................................................... 3
PROFIdrive State - Transition Diagram......................................... 21
R
Reference................................................................ 23, 24, 25, 4, 23, 40
D
Data Type................................................................................................ 35
DC Backup................................................................................................. 3
DeviceNet.................................................................................................. 3
S
Safety.......................................................................................................... iii
Spanning Tree................................................................................... 4, 15
Status WordPROFIdrive Profile (STW)........................................... 20
E
EMC Precautions................................................................................... 10
Ethernet.......................................................... 10, 11, 15, 31, 33, 35, 37
T
Topology.................................................................................... 7, 8, 15, 7
F
Frequency Converter Profile..................................................... 25, 24
W
Warning Word................................................................................. 39, 37
H
Hardware.............................................................................................. iii, 3
I
I/O................................................................................................................. 4
IGMP................................................................................................... 15, 33
Installation........................................................................................... iii, 3
IP
Settings......................................................................................... 11, 35
Traffic.................................................................................................... 15
IP21/Type 1................................................................................................ 3
L
LED........................................................................................................... 4, 6
LEDs........................................................................................................... 37
Literature.................................................................................................... 3
M
Master....................................................................................................... 38
MG90P202 - VLT ® is a protected Danfoss trademark 41
www.danfoss.com/drives
130R04 4 6 MG90P202 *MG90P202* Rev. 2013-05-02

Public link updated
The public link to your chat has been updated.
Advertisement