Frequency Converter With Modbus Rtu; Network Configuration; Modbus Rtu Message Framing Structure; Modbus Rtu Message Structure - Danfoss VLT FC51 Design Manual

Micro drive
Table of Contents

Advertisement

RS-485 Installation and Set...
requested action, the follower constructs an error message,
and send it in response, or a time-out occurs.
8.6.4 Frequency Converter with Modbus
RTU
The frequency converter communicates in Modbus RTU
format over the built-in RS-485 interface. Modbus RTU
provides access to the control word and bus reference of
the frequency converter.
The control word allows the modbus master to control
several important functions of the frequency converter:
Start
Stop of the frequency converter in various ways:
-
-
-
8
8
-
Reset after a fault trip
Run at a variety of preset speeds
Run in reverse
Change the active set-up
Control the frequency converter's built-in relay
The bus reference is commonly used for speed control. It is
also possible to access the parameters, read their values,
and where possible, write values to them. This permits a
range of control options, including controlling the setpoint
of the frequency converter when its internal PI controller is
used.

8.7 Network Configuration

To enable Modbus RTU on the frequency converter, set the
following parameters:
Parameter
8-30 Protocol
8-31 Address
8-32 Baud Rate
8-33 Parity / Stop Bits
Table 8.11 Network Configuration
72
VLT
Coast stop
Quick stop
DC Brake stop
Normal (ramp) stop
Setting
Modbus RTU
1-247
2400-115200
Even parity, 1 stop bit (default)
®
Micro Drive FC 51 Design Guide
8.8 Modbus RTU Message Framing
Structure
8.8.1 Frequency Converter with Modbus
RTU
The controllers are set up to communicate on the Modbus
network using RTU (Remote Terminal Unit) mode, with
each byte in a message containing 2 4-bit hexadecimal
characters. The format for each byte is shown in Table 8.12.
Start
bit
Table 8.12 Format for Each Byte
Coding System
Bits Per Byte
Error Check Field

8.8.2 Modbus RTU Message Structure

The transmitting device places a Modbus RTU message
into a frame with a known beginning and ending point.
This allows receiving devices to begin at the start of the
message, read the address portion, determine which
device is addressed (or all devices, if the message is
broadcast), and to recognise when the message is
completed. Partial messages are detected and errors set as
a result. Characters for transmission must be in
hexadecimal 00 to FF format in each field. The frequency
converter continuously monitors the network bus, also
during 'silent' intervals. When the first field (the address
field) is received, each frequency converter or device
decodes it to determine which device is being addressed.
Modbus RTU messages addressed to zero are broadcast
messages. No response is permitted for broadcast
messages. A typical message frame is shown in Table 8.13.
Start
Address
T1-T2-T3-
T4
Table 8.13 Typical Modbus RTU Message Structure
MG02K302 - Rev. 2013-12-03
Data byte
8-bit binary, hexadecimal 0-9, A-F. 2
hexadecimal characters contained in each 8-
bit field of the message
1 start bit
8 data bits, least significant bit sent first
1 bit for even/odd parity; no bit for no
parity
1 stop bit if parity is used; 2 bits if no parity
Cyclical Redundancy Check (CRC)
Function
Data
8 bits
8 bits
N x 8
bits
Stop/
Stop
parity
CRC
End
check
16 bits
T1-T2-T3-
T4

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents