EasyManua.ls Logo

Danfoss MCA 122 Modbus TCP User Manual

Danfoss MCA 122 Modbus TCP
46 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #22 background imageLoading...
Page #22 background image
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
Structure.
Code Name Meaning
1 Illegal
function
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.
2 Illegal data
address
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.
3 Illegal data
value
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.
4 Slave device
failure
An unrecoverable error occurred while the
server (or slave) was attempting to
perform the requested action.
Table 4.3 Modbus Exception Codes
How to Control MCA 122 Modbus TCP
18 MG90P202 - VLT
®
is a protected Danfoss trademark
44

Questions and Answers:

Danfoss MCA 122 Modbus TCP Specifications

General IconGeneral
BrandDanfoss
ModelMCA 122 Modbus TCP
CategoryDC Drives
LanguageEnglish

Summary

Safety

Copyright, Limitation of Liability and Revision Rights

Outlines Danfoss's copyright, liability limitations, and rights to revise the publication.

Safety Regulations

Lists mandatory safety practices and precautions for operating the frequency converter.

Warning Against Unintended Start

Details risks and precautions to prevent accidental starting of the motor.

Introduction

About This Manual

Provides essential information for quick installation and setup, and details for further study.

Assumptions and Background Knowledge

Outlines prerequisites, assumed knowledge, and scope of the manual for Modbus Option Card.

Available Literature and Modbus Conformance

Lists related documents and confirms compliance with Modbus standards.

Abbreviations

Lists and defines abbreviations used throughout the manual for clarity.

How to Install

The Modbus TCP Option

Details the installation of the MCA 122 Modbus TCP option into the frequency converter.

LED Behaviour and Status

Explains the function of the option's LEDs for module and network status.

Network Topology Options

Describes star and line topologies for connecting Modbus TCP options.

Network Design Rules

Covers Ethernet media selection, cable length, and design rules for reliable network operation.

EMC Precautions

Provides guidelines for minimizing electromagnetic interference for network operation.

How to Configure

IP Settings

Details parameters for configuring the option's IP address, subnet mask, and gateway.

Ethernet Link Parameters

Explains parameters related to the Ethernet link status, speed, and negotiation.

Configuring the Scanner

Guides on setting up a scanner (PLC) to communicate with the frequency converter.

IP Traffic Considerations

Discusses important aspects of IP traffic for industrial automation networks.

How to Control

Controlling the Frequency Converter

Explains how to control the frequency converter using Modbus TCP messages.

Modbus TCP Message Structure

Details the components and fields of a Modbus TCP message for communication.

Modbus Message Details

Covers IND, text blocks, conversion factors, parameter values, and exception codes.

PROFIdrive Control Profile

Describes the PROFIdrive control word (CTW) for sending commands to the slave.

PROFIdrive Status Word

Explains the PROFIdrive status word (STW) for notifying the master about the slave's status.

PROFIdrive State Diagram

Illustrates state transitions for the PROFIdrive control profile.

Reference Handling

Details how to manage speed references, including bus speed value scaling.

Danfoss FC Control Profile

Describes the control word for the Danfoss FC profile, including bits and explanations.

FC Status Word

Explains the FC status word (STW) for notifying the master about the frequency converter's status.

Parameters

Parameter Group 8-**

Details settings for control site, control word source, timeout functions, and end-of-timeout actions.

Parameter Group 12-**

Covers IP settings, Ethernet link parameters, process data, and Modbus TCP configurations.

Ethernet Services and Settings

Configures FTP, HTTP, SMTP services, cable diagnostics, and network storm protection.

Parameter List

Provides a comprehensive list of parameters with their default values and types.

Data Types and Conversion

Explains data types and provides a conversion index for parameters.

Troubleshooting

Step-by-Step Troubleshooting

Provides a guided approach to diagnose and resolve issues with LEDs, link status, cabling, and IP address.

Alarm and Warning Words

Explains how alarm and warning words are displayed and their meaning.

Related product manuals