Professional Documents
Culture Documents
Operating Instructions
Modbus RTU
Contents Modbus RTU Operating Instruction
Contents
2 Introduction 8
2.1 Introduction 8
2.1.1 Modbus RTU Overview 8
7 FC Control Profile 24
7.1.1 Control Word According to FC Profile (8-10 Protocol = FC profile) 24
8 Parameters 28
8.1 Parameters: 8-** Communications and Options 28
8.1.3 8-3* FC Port Settings 30
8.1.4 8-4* FC MC protocol set 31
9 Troubleshooting 35
9.1.1 Modbus Exception Codes 35
9.1.2 8-80 Bus Message count 35
9.1.3 8-81 Bus Error Count 35
9.1.4 8-82 Slave Messages Rcvd 35
9.1.5 8-83 Slave Error 36
Index 37
1 1 Danfoss specifies which our different products comply IP54/55. As an extra protection, coated printed circuit
with. boards can be ordered as an option.
Danfoss provides other types of assistance that can help to Airborne Particles such as dust may cause mechanical,
obtain the best EMC result. electrical, or thermal failure in the frequency converter. A
typical indicator of excessive levels of airborne particles is
dust particles around the frequency converter fan. In very
dusty environments, use equipment with enclosure rating
1.4.4 Compliance with EMC Directive
IP54/55 or a cabinet for IP00/IP20/TYPE 1 equipment.
2004/108/ECEMC Directive
2004/108/EC
In environments with high temperatures and humidity,
As mentioned, the frequency converter is mostly used by corrosive gases such as sulphur, nitrogen, and chlorine
professionals of the trade as a complex component compounds cause chemical processes on the frequency
forming part of a larger appliance, system, or installation. converter components.
Note that the responsibility for the final EMC properties of
the appliance, system or installation rests with the installer. Such chemical reactions rapidly affect and damage the
As an aid to the installer, Danfoss has prepared EMC instal- electronic components. In such environments, mount the
lation guidelines for the Power Drive system. The standards equipment in a cabinet with fresh air ventilation, keeping
and test levels stated for Power Drive systems are aggressive gases away from the frequency converter.
complied with, provided that the EMC-correct instructions An extra protection in such areas is a coating of the
for installation are followed, see the section EMC Immunity printed circuit boards, which can be ordered as an option.
in the Design Guide.
1.5.1 Air Humidity NOTE
Mounting frequency converters in aggressive environments
The frequency converter has been designed to meet the increases the risk of stoppages and considerably reduces
IEC/EN 60068-2-3 standard, EN 50178 pkt. 9.4.2.2 at 50 C. the life of the converter.
2 Introduction
2 2 confirming the action taken, any data to be returned, and
an error-checking field. If an error occurs in receipt of the
2.1 Introduction message, or if the slave is unable to perform the requested
This manual explains how to physically establish and action, the slave constructs an error message, and sends it
configure communication between the Danfoss FC Series in response, or a time-out occurs.
and a controller using the Modbus RTU protocol.
Wire # 2
3.1.3 Network Connection
Illustration 3.1 Balanced Data Transmission One or more frequency converters can be connected to a
control (or master) using the RS-485 standardized interface.
Terminal 68 is connected to the P signal (TX+, RX+), while
terminal 69 is connected to the N signal (TX-,RX-).
175ZB028.10
Wire #1
Wire #2
-
RS 485
According to the EIA-485 specification a total number of
32 nodes can be connected to one Modbus RTU network
segment, and a total of 247 nodes in a network are
supported. Network segments are divided with repeaters.
NOTE
Each repeater counts for a node in each segment it is
installed. Every node connected to the same network must
have a unique nodes address, across all segments.
130BB021.10
130BT310.10
61 68 69 39 42 50 53 54 55
3 3 12 13 18 19 27 29 32 33 20 37
N O
2
BUS TER.
OFF-ON A53 A54
U- I U- I
Min.200mm
90 crossing
4.1.1 Frequency Converter with Modbus Bits Per Byte 1 start bit
RTU 8 data bits, least significant bit sent first
1 bit for even/odd parity; no bit for no
The controllers are set up to communicate on the Modbus parity
network using RTU (Remote Terminal Unit) mode, with 1 stop bit if parity is used; 2 bits if no parity
NOTE
It is very important that the controller wait at least 3.5
character length otherwise the nodes can not separate the
telegrams.
175ZB026.10
t0
3.5 char
at least 3.5 char at least 3.5 char
4.5 char
There is an additional timing constraint, the framing error frequency converter notes the occurrence of framing errors
time, as shown in Illustration 4.1. The Modbus specification and maintains a counter for them, but it does not discard
states that if a framing error occurs, the message should the message.
be considered invalid and discarded. The variable speed
t0
4.1.3 Modbus RTU Message Structure address in this address field to let the master know which
slave is responding.
The transmitting device places a Modbus RTU message
into a frame with a known beginning and ending point. 4.1.6 Function Field
This allows receiving devices to begin at the start of the
message, read the address portion, determine which The function field of a message frame contains 8 bits. Valid
device is addressed (or all devices, if the message is codes are in the range of 1-FF. Function fields are used to
broadcast), and to recognise when the message is send messages between master and slave. When a
completed. Partial messages are detected and errors set as
a result. Characters for transmission must be in
message is sent from a master to a slave device, the
function code field tells the slave what kind of action to 4 4
hexadecimal 00 to FF format in each field. The frequency perform. When the slave responds to the master, it uses
converter continuously monitors the network bus, also the function code field to indicate either a normal (error-
during silent intervals. When the first field (the address free) response, or that some kind of error occurred (called
field) is received, each frequency converter or device an exception response). For a normal response, the slave
decodes it to determine which device is being addressed. simply echoes the original function code. For an exception
Modbus RTU messages addressed to zero are broadcast response, the slave returns a code that is equivalent to the
messages. No response is permitted for broadcast original function code with its most significant bit set to
messages. A typical message frame is shown in Table 4.2. logic 1. In addition, the slave places a unique code into the
data field of the response message. This tells the master
Start Address Function Data CRC End what kind of error occurred, or the reason for the
check exception. Also refer to the sections 4.1.10 Function Codes
T1-T2-T3- 8 bits 8 bits Nx8 16 bits T1-T2-T3- Supported by Modbus RTU and 9.1.1 Modbus Exception
T4 bits T4 Codes.
Table 4.3 shows the coils addresses. Notice that the coil
known as coil 1 in a programmable controller is
addressed as coil 0000 in the data address field of a
Modbus message.
Holding registers
Modbus Register Number Description
00001-00006 Reserved
00007 Last error code from an FC data object interface
4 4 00008
00009
Reserved
Parameter index*
00010-00099 000 parameter group (parameters 001 through 099)
00100-00199 100 parameter group (parameters 100 through 199)
00200-00299 200 parameter group (parameters 200 through 299)
... ...
02810-02873 Write data block (PCD Write via 8-42 PCD write configuration)
02910-02973 Read data block (PCD Read via 8-43 PCD read configuration)
... ...
00300-00399 300 parameter group (parameters 300 through 399)
00400-00499 400 parameter group (parameters 400 through 499)
... ...
28000-28999 2800 parameter group (parameters 2800 through 2899)
... ...
50000 Control word (CTW)
50010 Bus reference (Ref)
50200 Status word (STW).
50210 Main Actual Value (MAV)
Each parameter number is translated to a register address. The array index is set in holding register 9 and used when
The parameter number is translated to Modbus holding accessing array parameters. Some parameters like 8-43 PCD
address as parameter number x 10 DECIMAL. read configuration have structures of an index and the
Notice that holding register 40001 is addressed as register Modbus protocol does not support index parameters in
0000 in the data address field of the message. The the telegram frame. To read or write to those parameters
function code field already specifies a holding register requires that register 009 Parameter index contains the
operation. Therefore, the 4XXXX reference is implicit. index number, before a read or write is done. Example:
Example: 3-41 Ramp 1 up time is address as holding Setup 8-43 PCD Read Configuration index 2 to the value
register 3410. In the message field of the telegram it will [1613] Frequency.
be addressed as register 2809 (D51 Hex).
1. Write [2] to register 009 Parameter index
2. Write [1613] to holding register 8430
4.1.14 Storage of Data
3. Write [0] to register 009 Parameter index to set it
The Coil 65 decimal determines whether data written to back to default 0
the frequency converter are stored in EEPROM and RAM Notice after a power cycle register 009 Parameter index is
(coil 65=1) or only in RAM (coil 65=0). set it back to default 0.
characters than the parameter stores, the response is space UNSIGNED32 and SIGNED32
filled. An unsigned and signed integer of 4 bytes fills two
registers with the following byte mapping.
NOTE
Text blocks are only used together with Function code 11 Register 1 Register 2
hex Report slave ID. Byte 3 Byte 2 Byte 1 Byte 0
5 5 1-16
17-32
Control word
Reference
05 Write single coil
0F Write Multiple coils
33-48 Status word
Coils 01 Read coils
49-64 Main Actual Value
05 Write single coil
65 Parameter Write Control
01 Read coils
50000 Control Word
06 Write single register
50010 Reference
Register 50000 group
50200 Status word
03 Read holding register
50210 Main Actual Value
2810 Control word
06 Write single register
2811 Reference
0F Write Multiple register
2812-2873 Register write via 8-42 PCD Write configuration
Register 28-1x and 29-10 group
2910 Status word
2911 Main Actual Value 03 Read holding register
2912-2973 Register read via 8-43 PCD Read configuration
NOTE NOTE
Danfoss recommends only using one of the three 8-32 FC Port Baud Rate and 8-33 Parity / Stop Bits should
mentioned ways to control the frequency converter! match the setting on the controller and other slaves on
the network.
NOTE
Danfoss recommends register 2810-2873 and 2910-2973 to Other important parameters to setup are how the control
control the frequency converter ensuring compatibility of the frequency converter should be established and what
with all controllers. should happen with the motor control in case of bus time
out.
Set the following parameters to enable the Modbus RTU The advantage of using the PCD write/read configuration
for the frequency converter. is that the controller can write or read more data in one
telegram. Up to 63 registers can be read or written to via
the Function code Read Holding register or Write Multiple
Parameter no. Setting
Registers in one telegram. The structure is also flexible so
8-30 Protocol Modbus RTU [2]
that only two registers can be written to and 10 registers
8-31 Address 1-247
can be read from the controller.
8-32 FC Port Baud Rate 2400-19200
8-33 Parity / Stop Bits Even parity, 1 Stop Bit [0] default
The PCD write list is data send from the controller to the
Odd Parity, 1 Stop Bit [1]
frequency converter like Control word, Reference and
No Parity, 1 Stop Bit [2]
application dependent data like Minimum reference and
No Parity, 1 Stop Bits [3]
Ramp times.
130BC049.10
The Control word and Reference is always sent in the list
Register 2810 2811 2812 2813
from the controller to the frequency converter.
Analog Torque
Write CTW REF
output 42 limit
NOTE 5 5
130BC050.10
The Status word and Main Actual Value is always sent in Frequency Converter Master
the list from the frequency converter to the Controller. Register 2910 2911 2912 2913 2914
Motor Digital Actual
Read STW MAV current inputs Torque [Nm]
130BC198.10
2814 PCD 4 8-42 [4] 2914 PCD 4 8-43 [4]
write read
NOTE
130BC199.10
Example:
The PLC sends control word, reference and Ramp 1 Ramp
up Time
5 5
Master Frequency Converter
130BC053.10
Register 2810 2811 2812 2813
Ramp 1 Ramp 1
Write CTW REF
Ramp up Time Ramp up Time
Example:
The frequency converter sends status word, main actual
value, actual motor current and digital inputs
130BC054.10
NOTE
The motor current in parameter 16-14 is mapped as 32 bit.
Motor current can be readout up to 42949672 Amps.
NOTE
6.1 Examples Coils and registers are addressed explicit with an off-set of
-1 in Modbus.
The following examples illustrate various Modbus RTU I.e. Coil 33 is addressed as Coil 32.
commands. If an error occurs, refer to 9.1.1 Modbus
Exception Codes. 6.1.2 Force/Write Single Coil (05 HEX)
NOTE Response
Coil addresses start at zero, i.e. coil 17 is addressed as 16. The register data in the response message are packed as
two bytes per register, with the binary contents right
justified within each byte. For each register, the first byte
Field Name Example (HEX)
contains the high order bits and the second contains the
Slave Address 01 (frequency converter address)
low order bits.
Function 0F (write multiple coils)
Coil Address HI 00
Example: Hex 0016E360=1.500.000=1500 RPM.
Coil Address LO 10 (coil address 17)
Quantity of Coils HI 00
Field Name Example (HEX)
Quantity of Coils LO 10 (16 coils)
Slave Address 01
Byte Count 02
Function 03
Force Data HI 20
Byte Count 04
(Coils 8-1)
Data HI 00
Force Data LO 00 (ref. = 2000 hex)
6 6 (Coils 16-9)
Error Check (CRC) -
(Register 3030)
Data LO 16
(Register 3030)
Data HI E3
Response
(Register 3031)
The normal response returns the slave address, function
Data LO 60
code, starting address, and quantity of coils forced.
(Register 3031)
Field Name Example (HEX) Error Check -
Slave Address 01 (frequency converter address) (CRC)
Function 0F (write multiple coils)
Coil Address HI 00 6.1.5 Preset Single Register (06 HEX)
Coil Address LO 10 (coil address 17)
Quantity of Coils HI 00 Description
Quantity of Coils LO 10 (16 coils) This function presets a value into a single holding register.
Error Check (CRC) - Query
The query message specifies the register reference to be
6.1.4 Read Holding Registers (03 HEX) preset. Register addresses start at zero, i.e. register 1 is
addressed as 0.
Description Example: Write to 1-00 Configuration Mode, register 1000.
This function reads the contents of holding registers in the
slave. Field Name Example (HEX)
Slave Address 01
Query Function 06
The query message specifies the starting register and Register Address HI 03 (Register address 999)
quantity of registers to be read. Register addresses start at
Register Address LO E7 (Register address 999)
zero, i.e. registers 1-4 are addressed as 0-3.
Preset Data HI 00
Preset Data LO 01
Example: Read 3-03 Maximum Reference, register 03030.
Error Check (CRC) -
Description
This function presets values into a sequence of holding
registers.
Query
6 6
The query message specifies the register references to be
preset. Register addresses start at zero, i.e. register 1 is
addressed as 0. Example of a request to preset two
registers (set parameter 1-24=738 (7.38 A)):
Response
The normal response returns the slave address, function
code, starting address, and quantity of registers preset.
7 FC Control Profile
130BA274.10
Bit 02 = 1 leads to ramping.
CTW Speed ref.
Bit 07, Reset Bit 07 = 0: No reset. 7.1.2 Status Word According to FC Profile
Bit 07 = 1: Resets a trip. Reset is activated on the signals (STW) (8-30 Protocol = FC profile)
leading edge, i.e. when changing from logic 0 to logic 1.
Slave-master
130BA273.10
Bit 08, Jog
STW Output freq.
Bit 08 = 1: The output frequency is determined by
3-11 Jog Speed [Hz].
Bit
Bit 09, Selection of ramp 1/2 no.: 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Bit 05, Not used Bit 12 = 1: The inverter stops because of over
Bit 05 is not used in the status word. temperature but the unit does not trip and will resume
operation once the over temperature stops.
Bit 06, No error / triplock
Bit 06 = 0: The frequency converter is not in fault mode. Bit 13, Voltage OK/limit exceeded
Bit 06 = 1: The frequency converter is tripped and locked. Bit 13 = 0: There are no voltage warnings.
Bit 13 = 1: The DC voltage in the frequency converters
Bit 07, No warning/warning intermediate circuit is too low or too high.
Bit 07 = 0: There are no warnings.
Bit 07 = 1: A warning has occurred. Bit 14, Torque OK/limit exceeded
Bit 14 = 0: The motor current is lower than the torque
Bit 08, Speed reference/speed = reference limit selected in 4-18 Current Limit.
Bit 08 = 0: The motor is running but the present speed is Bit 14 = 1: The torque limit in 4-18 Current Limit is
different from the preset speed reference. It might e.g. be exceeded.
the case when the speed ramps up/down during start/
stop. Bit 15, Timer OK/limit exceeded
Bit 08 = 1: The motor speed matches the preset speed Bit 15 = 0: The timers for motor thermal protection and
130BA276.10
Bit 10 = "1": The output frequency is within the defined 16bit
Slave-master
Bit 11, No operation/in operation
Bit 11 = 0: The motor is not running. STW
Actual output
freq.
Bit 11 = 1: The frequency converter has a start signal or
the output frequency is greater than 0 Hz.
The reference and MAV are scaled as follows:
Bit 12, Drive OK/stopped, autostart:
Bit 12 = 0: There is no temporary over temperature on
the inverter.
-100% 0% 100%
130BA277.10
(C000hex) (0hex) (4000hex)
Par.3-00 set to
Reverse Forward
(1) -max- +max
Par.3-03 0 Par.3-03
0% 100%
(0hex) (4000hex)
Par.3-00 set to
Forward
(0) min-max
Par.3-02 Par.3-03 7 7
Min reference Max reference
8 Parameters
[0] * Digital and Control by using both digital input and 8-04 Control Word Timeout Function
ctrl.word control word. Select the time-out function. The time-out function activates
[1] Digital only Control by using digital inputs only. when the control word fails to be updated within the time
period specified in 8-03 Control Word Timeout Time.
[2] Controlword only Control by using control word only.
8 8 8-02 Control Word Source
Option:
[0] * Off
Function:
Resumes control via serial bus (Fieldbus or
standard) using the most recent control
Select the source of the control word: one of two serial interfaces
word.
or four installed options. During initial power-up, the frequency
converter automatically sets this parameter to [3] Option A if it [1] Freeze output Freezes output frequency until communi-
detects a valid Fieldbus option installed in slot A. If the option is cation resumes.
removed, the frequency converter detects a change in the [2] Stop Stops with auto restart when communi-
configuration, sets 8-02 Control Word Source back to default cation resumes.
setting RS-485, and the frequency converter trips. If an option is
installed after initial power-up, the setting of 8-02 Control Word [3] Jogging Runs the motor at JOG frequency until
Source does not change, but the frequency converter trips and communication resumes.
displays: Alarm 67 Option Changed. [4] Max. speed Runs the motor at maximum frequency
When retrofitting a bus option into a frequency converter, that until communication resumes.
did not have a bus option installed to begin with, take an
[5] Stop and trip Stops the motor, then resets the frequency
ACTIVE decision to move the control to Bus based. This is done
converter to restart: via the Fieldbus, via the
for safety reasons in order to avoid an accidental change.
reset button on the , or via a digital input.
Option: Function:
[7] Select setup 1 Changes the set-up upon reestablishment of
[0] None
communication following a control word
[1] * FC RS485
time-out. If communication resumes after a
[2] FC USB
time-out, 8-05 End-of-Timeout Function
[3] Option A defines whether to resume the set-up used
[4] Option B before the time-out, or to retain the set-up
[5] Option C0 endorsed by the time-out function.
[6] Option C1
[8] Select setup 2 See [7] Select setup 1
[30] External Can
[9] Select setup 3 See [7] Select setup 1
NOTE [10] Select setup 4 See [7] Select setup 1
This parameter cannot be adjusted while the motor is
running. [26] Trip
NOTE
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.
[3] Trip excl Alarm The input goes high whenever Trip on
8-08 Readout Filtering 68 other Alarms then Alarm 68 is active.
If the speed feedback value readouts on fieldbus are fluctuating, [10] T18 DI status The input goes high whenever T18 has 24
this function is used. Select filtered if the function is required. A V and goes low whenever T18 has 0 V
power-cycle is required for changes to take effect.
[11] T19 DI status The input goes high whenever T19 has 24
Option: Function:
V and goes low whenever T19 has 0 V
[0] * Motor Data Std- Select [0] for normal bus
[12] T27 DI status The input goes high whenever T27 has 24
Filt. readouts.
V and goes low whenever T27 has 0 V
[1] Motor Data LP- Select [1] for filtered bus
[13] T29 DI status The input goes high whenever T29 has 24
Filter readouts of the following
V and goes low whenever T29 has 0 V
parameters:
16-10 Power [kW] [14] T32 DI status The input goes high whenever T32 has 24
16-11 Power [hp] V and goes low whenever T32 has 0 V
16-12 Motor Voltage
[15] T33 DI status The input goes high whenever T33 has 24
16-14 Motor Current
V and goes low whenever T33 has 0 V
16-16 Torque [Nm]
16-17 Speed [RPM] [16] T37 DI status The input goes high whenever T37 has 0
16-22 Torque [%] V and goes low whenever T37 has 24 V
16-25 Torque [Nm] High [21] Thermal The thermal warning turns on when the
warning temperature exceeds the limit in the
motor, the frequency converter, the brake
resistor, or the thermistor.
[30] Brake fault Goes high when the brake IGBT is short-
(IGBT) circuited.
8-13 Configurable Status Word STW 8-13 Configurable Status Word STW
Option: Function: Option: Function:
[60] Comparator 0 If Comparator 0 is evaluated as TRUE, the [84] SL digital out E SL Controller Action. The input goes high
input goes high. Otherwise, it will be low. whenever the Smart Logic Action [42] Set
dig. out. A high is executed. The input
[61] Comparator 1 If Comparator 1 is evaluated as TRUE, the
goes low whenever the Smart Logic
input goes high. Otherwise, it will be low.
Action [36] Set dig. out. A low is
[62] Comparator 2 If Comparator 2 is evaluated as TRUE, the executed.
input goes high. Otherwise, it will be low.
[85] SL digital out F SL Controller Action. The input goes high
[63] Comparator 3 If Comparator 3 is evaluated as TRUE, the whenever the Smart Logic Action [43] Set
input goes high. Otherwise, it will be low. dig. out. A high is executed. The input
[64] Comparator 4 If Comparator 4 is evaluated as TRUE, the goes low whenever the Smart Logic
input goes high. Otherwise, it will be low. Action [37] Set dig. out. A low is executed
[65] Comparator 5 If Comparator 5 is evaluated as TRUE, the [86] ATEX ETR cur. Selectable if par. 1-90 is set to [20] or [21].
input goes high. Otherwise, it will be low. alarm If the alarm 164 ATEX ETR cur.lim.alarm is
active, the output will be 1.
[70] Logic Rule 0 If Logic Rule 0 is evaluated as TRUE, the
input goes high. Otherwise, it will be low. [87] ATEX ETR freq. Selectable if par. 1-90 is set to [20] or [21].
alarm If the alarm 166 ATEX ETR freq.lim.alarm is
[71] Logic Rule 1 If Logic Rule 1 is evaluated as TRUE, the
active, the output will be 1.
input goes high. Otherwise, it will be low.
8 8 [72] Logic Rule 2 If Logic Rule 2 is evaluated as TRUE, the
[88] ATEX ETR cur.
warning
Selectable if par. 1-90 is set to [20] or
[21] ]. If the alarm 163 ATEX ETR
input goes high. Otherwise, it will be low.
cur.lim.warning is active, the output will
[73] Logic Rule 3 If Logic Rule 3 is evaluated as TRUE, the be 1.
input goes high. Otherwise, it will be low.
[89] ATEX ETR freq. Selectable if par. 1-90 is set to [20] or [21].
[74] Logic Rule 4 If Logic Rule 4 is evaluated as TRUE, the warning If the warning 165 ATEX ETR
input goes high. Otherwise, it will be low. freq.lim.warning is active, the output will
be 1.
[75] Logic Rule 5 If Logic Rule 5 is evaluated as TRUE, the
input goes high. Otherwise, it will be low. [90] Safe Function
active
[80] SL digital out A SL Controller Action. The input goes high
whenever the Smart Logic Action [38] Set [91] Safe Opt. Reset
dig. out. A high is executed. The input req.
goes low whenever the Smart Logic
8-14 Configurable Control Word CTW
Action [32] Set dig. out. A low is
Option: Function:
executed.
Selection of control word bit 10 if it
[81] SL digital out B SL Controller Action. The input goes high
is active low or active high.
whenever the Smart Logic Action [39] Set
dig. out. A high is executed. The input [0] None
goes low whenever the Smart Logic [1] * Profile default
Action [33] Set dig. out. A low is [2] CTW Valid, active low
executed. [3] Safe Option Reset
10 ms* [Application Specify the minimum delay time [416] Torque Limit Motor Mode
dependant] between receiving a request and [417] Torque Limit Generator Mode
transmitting a response. This is used [590] Digital & Relay Bus Control
for overcoming modem turnaround [593] Pulse Out #27 Bus Control
delays. [595] Pulse Out #29 Bus Control
[597] Pulse Out #X30/6 Bus Control
8-36 Max Response Delay [653] Term 42 Output Bus Ctrl
Range: Function: [663] Terminal X30/8 Bus Control
Application [Application Specify the maximum [673] Terminal X45/1 Bus Control
dependent* dependant] permissible delay time [683] Terminal X45/3 Bus Control
between transmitting a [748] PCD Feed Forward
request and receiving a [890] Bus Jog 1 Speed
response. Exceeding this delay [891] Bus Jog 2 Speed
time will cause control word [1472] Legacy Alarm Word
time-out. [1473] Legacy Warning Word
[1474] Leg. Ext. Status Word
[1500] Operating Hours
[1501] Running Hours
8 8
[1620] Motor Angle [3404] PCD 4 Write to MCO
[1621] Torque [%] High Res. [3405] PCD 5 Write to MCO
[1622] Torque [%] [3406] PCD 6 Write to MCO
[1625] Torque [Nm] High [3407] PCD 7 Write to MCO
[1630] DC Link Voltage [3408] PCD 8 Write to MCO
[1632] Brake Energy /s [3409] PCD 9 Write to MCO
[1633] Brake Energy /2 min [3410] PCD 10 Write to MCO
[1634] Heatsink Temp. [3421] PCD 1 Read from MCO
[1635] Inverter Thermal [3422] PCD 2 Read from MCO
[1638] SL Controller State [3423] PCD 3 Read from MCO
[1639] Control Card Temp. [3424] PCD 4 Read from MCO
[1650] External Reference [3425] PCD 5 Read from MCO
[1651] Pulse Reference [3426] PCD 6 Read from MCO
[1652] Feedback [Unit] [3427] PCD 7 Read from MCO
[1653] Digi Pot Reference [3428] PCD 8 Read from MCO
[1657] Feedback [RPM] [3429] PCD 9 Read from MCO
[1660] Digital Input [3430] PCD 10 Read from MCO
[1661] Terminal 53 Switch Setting [3440] Digital Inputs
[1662] Analog Input 53 [3441] Digital Outputs
[1663] Terminal 54 Switch Setting [3450] Actual Position
[1664] Analog Input 54 [3451] Commanded Position
[1665] Analog Output 42 [mA] [3452] Actual Master Position
[1666] Digital Output [bin] [3453] Slave Index Position
[1667] Freq. Input #29 [Hz] [3454] Master Index Position
[1668] Freq. Input #33 [Hz] [3455] Curve Position
[1669] Pulse Output #27 [Hz] [3456] Track Error
[1670] Pulse Output #29 [Hz] [3457] Synchronizing Error
[1671] Relay Output [bin] [3458] Actual Velocity
[1672] Counter A [3459] Actual Master Velocity
[1673] Counter B [3460] Synchronizing Status
[1674] Prec. Stop Counter [3461] Axis Status
[1675] Analog In X30/11 [3462] Program Status
[1676] Analog In X30/12 [3464] MCO 302 Status
[1677] Analog Out X30/8 [mA] [3465] MCO 302 Control
[1678] Analog Out X45/1 [mA] [3470] MCO Alarm Word 1
Parameters for configuring the control word Digital/Bus [3] * Logic OR Activates Start command via the fieldbus/serial
merging. communication port OR via one of the digital
inputs.
NOTE
8-53 Start Select
8 8
These parameters are active only when 8-01 Control Site is
set to [0] Digital and control word. Option: Function:
Select control of the frequency converter start
function via the terminals (digital input) and/or
8-50 Coasting Select
via the fieldbus.
Option: Function:
[0] Digital Activates Start command via a digital input.
Select control of the coasting function via the
input
terminals (digital input) and/or via the bus.
[1] Bus Activates Start command via the serial
[0] Digital Activates Start command via a digital input. communication port or fieldbus option.
input
[2] Logic AND Activates Start command via the fieldbus/serial
[1] Bus Activates Start command via the serial
communication port, AND additionally via one
communication port or fieldbus option.
of the digital inputs.
[2] Logic AND Activates Start command via the fieldbus/serial
[3] * Logic OR Activates Start command via the fieldbus/serial
communication port, AND additionally via one
communication port OR via one of the digital
of the digital inputs.
inputs.
[3] * Logic OR Activates Start command via the fieldbus/serial
communication port OR via one of the digital 8-54 Reversing Select
inputs.
Option: Function:
[0] Digital Select control of the frequency converter
8-51 Quick Stop Select
input reverse function via the terminals (digital
Select control of the Quick Stop function via the terminals
input) and/or via the Fieldbus.
(digital input) and/or via the bus.
[1] Bus Activates the Reverse command via the serial
Option: Function:
communication port or Fieldbus option .
[0] Digital input
[1] Bus [2] Logic AND Activates the Reverse command via the
Fieldbus/serial communication port, AND
[2] Logic AND
additionally via one of the digital inputs.
[3] * Logic OR
[3] * Logic OR Activates the Reverse command via the
Fieldbus/serial communication port OR via one
of the digital inputs.
9 Troubleshooting
Modbus Exception Codes
Check that 8-32 FC Port Baud Rate is set to the
same baud rate as the controller 9 9
Co Name Meaning
de
Check that 8-33 Parity/Stop Bits is set to the same
parity control as the controller
1 Illegal The function code received in the query is
function not an allowable action for the server (or
slave). This may be because the function
9.1.3 8-81 Bus Error Count
code is only applicable to newer devices,
and was not implemented in the unit
8-81 Bus Error Count counts up if a Modbus telegram has a
selected. It could also indicate that the
CRC error. If 8-81 Bus Error Count periodical is counting up,
server (or slave) is in the wrong state to
it might be EMC noise that disturbs the communication
process a request of this type, for example
between the controller and the slave. Check the following:
because it is not configured and is being Check that the bus cable is terminated correct.
asked to return register values. See guidelines in 3.1.4 Bus Termination
2 Illegal data The data address received in the query is
address not an allowable address for the server (or
Check that screened bus cable is used and that it
is connected to earth
slave). More specifically, the combination of
reference number and transfer length is Check that screened motor cable is used and that
invalid. For a controller with 100 registers, a it is connected to earth
request with offset 96 and length 4 would Stop all running motors. If the 8-81 Bus Error
succeed, a request with offset 96 and length Count also stops to count then EMC noise is
5 will generate exception 02. generated from the motors to the bus cable and
3 Illegal data A value contained in the query data field is are disturbing the communication. Follow the
value not an allowable value for server (or slave). EMC guideline in the Operating Instructions.
This indicates a fault in the structure of the
remainder of a complex request, such as 9.1.4 8-82 Slave Messages Rcvd
that the implied length is incorrect. It specif-
ically does NOT mean that a data item
8-82 Slave Messages Rcvd shows the number of telegrams
submitted for storage in a register has a
address to this slave. If 8-82 Slave Messages Rcvd does not
value outside the expectation of the
count up then check the following:
application program, since the Modbus
protocol is unaware of the significance of
any particular value of any particular
register.
9 9
Index
T
The
A EMC Directive (2004/108/EC)......................................................... 5
Aggressive Environments.................................................................... 6 Low-voltage Directive (2006/95/EC)........................................... 5
Air Humidity.............................................................................................. 6 Machinery Directive (2006/42/EC)............................................... 5
Timing Constraint................................................................................. 12
C
CE Conformity And Labelling............................................................. 5 V
Coasting............................................................................................ 25, 24 Vibration And Shock.............................................................................. 6
Configuration......................................................................................... 28
Control Word.......................................................................................... 24 W
What
Is CE Conformity And Labelling?................................................... 5
D Is Covered.............................................................................................. 5
DC Brake................................................................................................... 24
E
EMC
Directive 2004/108/EC...................................................................... 6
Precautions........................................................................................ 11
F
FC Profile.................................................................................................. 24
Function Codes Supported By Modbus RTU.............................. 14
H
Hold Output Frequency..................................................................... 24
J
Jog.............................................................................................................. 25
M
Modbus Exception Codes.................................................................. 35
Motor Thermal Protection................................................................. 26
N
Network Connection.............................................................................. 9
P
Protection
Protection.............................................................................................. 6
Mode....................................................................................................... 4
R
Read Holding Registers (03 HEX).................................................... 22
S
Safety Precautions.................................................................................. 3
Status Word............................................................................................ 25
*MG92B102*