Modbus RTU PDF
Modbus RTU PDF
Operating Instructions
Modbus RTU
Contents
1.4 CE Labelling
1.4.1 CE Conformity and Labelling 1.4.2 What Is Covered 1.4.3 Danfoss Frequency Converter and CE Labelling 1.4.4 Compliance with EMC Directive 2004/108/ECEMC Directive 2004/108/EC 1.5.1 Air Humidity 1.5.2 Aggressive Environments 1.5.3 Vibration and Shock
2 Introduction
2.1 Introduction
2.1.1 Modbus RTU Overview
Contents
17 17 18 18 18 18 18 19 20 21 21 21 21 22 22 23 24 24 28 28 30 31 35 35 35 35 35 36 37
7 FC Control Profile
7.1.1 Control Word According to FC Profile (8-10 Protocol = FC profile)
8 Parameters
8.1 Parameters: 8-** Communications and Options
8.1.3 8-3* FC Port Settings 8.1.4 8-4* FC MC protocol set
9 Troubleshooting
9.1.1 Modbus Exception Codes 9.1.2 8-80 Bus Message count 9.1.3 8-81 Bus Error Count 9.1.4 8-82 Slave Messages Rcvd 9.1.5 8-83 Slave Error
Index
1 1
WARNING
The voltage of the frequency converter is dangerous whenever connected to mains. Incorrect installation of the motor, frequency converter or fieldbus may cause death, serious personal injury or damage to the equipment. Consequently, the instructions in this manual, as well as national and local rules and safety regulations, must be complied with. Safety Regulations 1. The mains supply to the frequency converter must be disconnected whenever repair work is to be carried out. Check that the mains supply has been disconnected and that the necessary time has elapsed before removing motor and mains supply plugs. 2. The [Off] button on the control panel of the frequency converter does not disconnect the mains supply and consequently it must not be used as a safety switch. The equipment must be properly earthed, 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 current exceeds 3.5 mA. Protection against motor overload is not included in the factory setting. If this function is desired, set 1-90 Motor Thermal Protection to data value ETR trip 1 [4] or data value ETR warning 1 [3]. 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 elapsed before removing motor and mains plugs. Note that the frequency converter has more voltage sources than L1, L2 and L3, when load sharing (linking of DC intermediate circuit) or external 24 V DC are installed. Check that all voltage sources have been disconnected and that the necessary time has elapsed before commencing repair work.
Warning against unintended start 1. The motor can be brought to a stop with digital commands, bus commands, references or a local stop, while the frequency converter is connected to mains. If personal safety considerations (e.g. risk of personal injury caused by contact with moving machine parts following an unintentional start) make it necessary to ensure that no unintended start occurs, these stop functions are not sufficient. In such cases the mains supply must be disconnected or the Safe Stop function must be activated. 2. The motor may start while setting the parameters. If this means that personal safety may be compromised (e.g. personal injury caused by contact with moving machine parts), motor starting must be prevented, for instance by use of the Safe Stop function or secure disconnection of the motor connection. A motor that has been stopped with the mains supply connected, may start if faults occur in the electronics of the frequency converter, through temporary overload or if a fault in the power supply grid or motor connection is remedied. If unintended start must be prevented for personal safety reasons (e.g. risk of injury caused by contact with moving machine parts), the normal stop functions of the frequency converter are not sufficient. In such cases the mains supply must be disconnected or the Safe Stop function must be activated.
3.
3.
4. 5.
NOTE
When using the Safe Stop function, always follow the instructions in the section Safe Stop of the Design Guide. 4. Control signals from, or internally within, the frequency converter may in rare cases be activated in error, be delayed or fail to occur entirely. When used in situations where safety is critical, e.g. when controlling the electromagnetic brake function of a hoist application, these control signals must not be relied on exclusively.
6.
7.
1 1
WARNING
High Voltage
Touching the electrical parts may be fatal - even after the equipment has been disconnected from mains. Also make sure that other voltage inputs have been disconnected, such as external 24 V DC, load sharing (linkage of DC intermediate circuit), as well as the motor connection for kinetic back up. Systems where frequency converters are installed must, if necessary, be equipped with additional monitoring and protective devices according to the valid safety regulations, e.g law on mechanical tools, regulations for the prevention of accidents etc. Modifications on the frequency converters by means of the operating software are allowed.
1.2.1 Caution
CAUTION
The DC link capacitors remain charged after power has been disconnected. Be aware that there may be high voltage on the DC link even when the Control Card LEDs are turned off. A red LED is mounted on a circuit board inside the frequency converter to indicate the DC bus voltage. The red LED will stay lit until the DC link is 50 V DC or lower. To avoid electrical shock hazard, disconnect the frequency converter from mains before carrying out maintenance. When using a PM-motor, make sure it is disconnected. Before doing service on the frequency converter wait at least the amount of time indicated below:
Voltage [V] Power [kW] 380-500 0.25-7.5 11-75 90-200 250-800 525-690 11-75 (frame size B and C) 37-315 (frame size D) 355-1000 Waiting Time [min] 4 15 20 40 15 20 30
NOTE
Hazardous situations shall be identified by the machine builder/integrator who is responsible for taking necessary preventive means into consideration. Additional monitoring and protective devices may be included, always according to valid national safety regulations, e.g. law on mechanical tools, regulations for the prevention of accidents.
NOTE
Crane, Lifts and Hoists: The controlling of external brakes must always have a redundant system. The frequency converter can in no circumstances be the primary safety circuit. Comply with relevant standards, e.g. Hoists and cranes: IEC 60204-32 Lifts: EN 81 Protection Mode Once a hardware limit on motor current or DC link voltage is exceeded the frequency converter will enter Protection mode. Protection mode means a change of the PWM modulation strategy and a low switching frequency to minimize losses. This continues 10 s after the last fault and increases the reliability and the robustness of the frequency converter while re-establishing full control of the motor. In hoist applications Protection mode is not usable because the frequency converter will usually not be able to leave this mode again and therefore it will extend the time before activating the brake which is not recommendable. The Protection mode can be disabled by setting 14-26 Trip Delay at Inverter Fault to zero which means that the frequency converter will trip immediately if one of the hardware limits is exceeded.
This Design Guide can be used for all frequency converters with software version 6.4x. The software version number can be seen from 15-43 Software Version.
NOTE
It is recommended to disable protection mode in hoisting applications (14-26 Trip Delay at Inverter Fault = 0)
use with a hobby machine, a kitchen appliance, etc. For such applications, the frequency converter must be CE labelled in accordance with the EMC directive. The frequency converter is sold for installation in a plant. The plant is built up by professionals of the trade. It could be a production plant or a heating/ventilation plant designed and installed by professionals of the trade. Neither the frequency converter nor the finished plant has to be CE labelled under the EMC directive. However, the unit must comply with the basic EMC requirements of the directive. This is ensured by using components, appliances, and systems that are CE labelled under the EMC directive. The frequency converter is sold as part of a complete system. The system is being marketed as complete and could e.g. be an air-conditioning system. The complete system must be CE labelled in accordance with the EMC directive. The manufacturer can ensure CE labelling under the EMC directive either by using CE labelled components or by testing the EMC of the system. If only CE labelled components are used, it is unneccessary to test the entire system.
1 1
3.
1 1
Danfoss specifies which our different products comply with. Danfoss provides other types of assistance that can help to obtain the best EMC result.
IP54/55. As an extra protection, coated printed circuit boards can be ordered as an option. Airborne Particles such as dust may cause mechanical, 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 IP54/55 or a cabinet for IP00/IP20/TYPE 1 equipment. In environments with high temperatures and humidity, corrosive gases such as sulphur, nitrogen, and chlorine compounds cause chemical processes on the frequency converter components. Such chemical reactions rapidly affect and damage the electronic components. In such environments, mount the equipment in a cabinet with fresh air ventilation, keeping aggressive gases away from the frequency converter. An extra protection in such areas is a coating of the printed circuit boards, which can be ordered as an option.
NOTE
Mounting frequency converters in aggressive environments increases the risk of stoppages and considerably reduces the life of the converter. Before installing the frequency converter, check the ambient air for liquids, particles, and gases. This is done by observing existing installations in this environment. Typical indicators of harmful airborne liquids are water or oil on metal parts, or corrosion of metal parts. Excessive dust particle levels are often found on installation cabinets and existing electrical installations. One indicator of aggressive airborne gases is blackening of copper rails and cable ends on existing installations. D and E enclosures have a stainless steel back-channel option to provide additional protection in aggressive environments. Proper ventilation is still required for the internal components of the frequency converter. Contact Danfoss for additional information.
CAUTION
The frequency converter should not be installed in environments with airborne liquids, particles, or gases capable of affecting and damaging the electronic components. Failure to take the necessary protective measures increases the risk of stoppages, thus reducing the life of the frequency converter. Degree of protection as per IEC 60529 The Safe Stop function may only be installed and operated in a control cabinet with degree of protection IP54 or higher (or equivalent environment). This is required to avoid cross faults and short circuits between terminals, connectors, tracks and safety-related circuitry caused by foreign objects. Liquids can be carried through the air and condense in the frequency converter and may cause corrosion of components and metal parts. Steam, oil, and salt water may cause corrosion of components and metal parts. In such environments, use equipment with enclosure rating
IEC/EN 60068-2-6: Vibration (sinusoidal) - 1970 IEC/EN 60068-2-64: Vibration, broad-band random
1 1
Introduction
2 Introduction
confirming the action taken, any data to be returned, and an error-checking field. If an error occurs in receipt of the message, or if the slave is unable to perform the requested action, the slave constructs an error message, and sends it in response, or a time-out occurs.
2 2
2.1 Introduction
This manual explains how to physically establish and configure communication between the Danfoss FC Series and a controller using the Modbus RTU protocol. This instruction is intended to be used for both instruction and reference. It only briefly touches on the basics of the Modbus protocol whenever necessary to gain an understanding of the Modbus RTU. This instruction is also intended to serve as a guideline to specify and optimise the communication system. Even experienced Modbus programmers, should read these entire operating instructions before starting programming since important information can be found in all sections.
3 3
Wire #1 Wire #2
The Modbus RTU uses master/slave architecture, where each slave device has its unique address and responds only to packets addressed to this device. The packets are generated by the master (Controller), which periodically polls all connected slave devices. Data travels over the single line in both directions. 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.
175ZB028.10
130BB021.10
61 68 69
39
42
50
53
54
55
3 3
A53 A54 U- I U- I
VLT
10
N O
130BT310.10
1 2
3 3
11
4 4
NOTE
if the baud rate is greater than 19200, then the 3.5 character time is replaced by a timeout time of 1.75 ms.
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 175ZB027.10 Frame 1 t0 Frame 2 Frame 3
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 time, as shown in Illustration 4.1. The Modbus specification states that if a framing error occurs, the message should be considered invalid and discarded. The variable speed
Frame 1 OK
frequency converter notes the occurrence of framing errors and maintains a counter for them, but it does not discard the message.
Frame 2 NOK
t0
1.5 char
12
address in this address field to let the master know which slave is responding.
4 4
13
Function Read coils Read holding registers Write single coil Write single register Write multiple coils Write multiple registers Get comm. event counter Report slave ID Function Function Code 8 Subfunction code 1 2 10 11 12 13 14
Function Code 1 hex 3 hex 5 hex 6 hex F hex 10 hex B hex 11 hex Sub-function
4 4
Diagnostics
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
14
Control Word (FC profile) Coil 00 01 02 03 04 05 06 07 08 09 10 11 12 13 15 0 Reference value Reference value DC brake Coasting Quick stop Hold output frequency Ramp stop No function No function Ramp 1 Data invalid Relay 01 open Relay 02 open Parameter set-up No function 1 External selection lsb External selection msb Ramp No coasting Ramp Use ramp Start Reset Jog Ramp 2 Data invalid Relay 01 active Relay 02 active Selection lsb Reverse
4 4
Table 4.4 Control Word (FC profile) Status Word (FC profile) Coil 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 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 TImer OK 1 Control ready Drive ready Enable Trip Error (no trip) Triplock Warning Speed = reference Bus control Frequency limit OK In operation Stopped, auto start Voltage exceeded Torque exceeded Timer exceeded
See 7 FC Control Profile for detail on the Control word, reference, status word and Main Actual Value. 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). Notice that coil 65 needs to be set On before writing to register are stored in EEPROM.
15
4 4
4.1.15 IND
The array index is set in holding register 9 and used when accessing array parameters. Some parameters like 8-43 PCD read configuration have structures of an index and the Modbus protocol does not support index parameters in the telegram frame. To read or write to those parameters requires that register 009 Parameter index contains the index number, before a read or write is done. Example: Setup 8-43 PCD Read Configuration index 2 to the value [1613] Frequency. 1. 2. 3. Write [2] to register 009 Parameter index Write [1613] to holding register 8430 Write [0] to register 009 Parameter index to set it back to default 0
Notice after a power cycle register 009 Parameter index is set it back to default 0.
NOTE
Coil 65 needs to be set On before changed parameters are stored in EEPROM and after a Power cycle coil 65 is set back to default Off, meaning only in RAM.
16
UNSIGNED32 and SIGNED32 An unsigned and signed integer of 4 bytes fills two registers with the following byte mapping.
Register 1 Byte 3 Byte 2 Byte 1 Register 2 Byte 0
NOTE
Text blocks are only used together with Function code 11 hex Report slave ID.
Example: Register Address: 40201Value 0x0102 Register Address: 40202Value 0x0304 A read of an UNSIGNED32/SIGNED32 from Modbus register 40201 with the quantity of 2, is: 0x01020304. UNSIGNED16 and SIGNED16 An unsigned and signed integer of 2 bytes fills one register with the following byte mapping.
Register 1 Byte 1 Byte 0
4 4
Example: Register Address: 40201Value 0x0102 A read of an UNSIGNED16 from register 40201 with the quantity of 1, is: 0x0102. UNSIGNED8 and SIGNED8 An unsigned and signed integer of 1 byte fills one register with the following byte mapping.
Register 1 0x00 Byte 0
The data type for each parameter can be found in the Programming guide.
17
the frequency converter status like running, alarm etc. via the Status Word and the Main Actual Value, i.e. the actual running speed.
5 5
Function Code (hex) 05 Write single coil 0F Write Multiple coils 01 Read coils 05 Write single coil 01 Read coils 06 Write single register 03 Read holding register 06 Write single register 0F Write Multiple register
NOTE
Danfoss recommends only using one of the three mentioned ways to control the frequency converter!
NOTE
8-32 FC Port Baud Rate and 8-33 Parity / Stop Bits should match the setting on the controller and other slaves on the network. Other important parameters to setup are how the control of the frequency converter should be established and what should happen with the motor control in case of bus time out. See also 8 Parameters.
NOTE
Danfoss recommends register 2810-2873 and 2910-2973 to control the frequency converter ensuring compatibility with all controllers.
5.2 Parameter for Modbus RTU 5.2.1 Important Parameters for Modbus RTU
Set the following parameters to enable the Modbus RTU for the frequency converter.
Parameter no. 8-30 Protocol 8-31 Address 8-32 FC Port Baud Rate 8-33 Parity / Stop Bits Setting Modbus RTU [2] 1-247 2400-19200 Even parity, 1 Stop Bit [0] default Odd Parity, 1 Stop Bit [1] No Parity, 1 Stop Bit [2] No Parity, 1 Stop Bits [3]
18
NOTE
The Control word and Reference is always sent in the list from the controller to the frequency converter. The PCD write list is setup in 8-42 PCD write configuration. The PCD read list is data send from the frequency converter to the controller like Status word, Main Actual Value and application dependent data like Running Hours, Motor current and Alarm word.
Write
Register 2810
CTW
2811
REF
2812
Analog output 42
2813
Torque limit
Example: The frequency converter sends status word, main actual value, actual motor current, digital inputs and torque [Nm]
130BC050.10
130BC049.10
Frequency Converter
Drive
NOTE
The Status word and Main Actual Value is always sent in the list from the frequency converter to the Controller.
Read
Master Controlled by Parameter
STW MAV
Master 2913
Digital inputs
5 5
2912
Motor current
2914
Actual Torque [Nm]
Read Write
Master Holding Register 2810 2811
CTW REF
STW
STW = Parameter 16-03, Motor Current = Parameter 16-14, Actual Torque [Nm]
130BC048.10
2812 PCD 2
write
2912 PCD 2
read
Example, continued The input and output data of the Modbus RTU has to be mapped to the Parameter of the frequency converter. This is done in 8-42 PCD write configuration and 8-43 PCD read configuration.
130BC198.10
2813 PCD 3
write
2913 PCD 3
read
2814 PCD 4
write
2914 PCD 4
read
2815 PCD 5
write
2915 PCD 5
read
...
...
write write
...
...
...
read read
...
NOTE
Grey lines are fixed, red are user selectable. Following parameters has to be set up in the frequency converter:
130BC199.10
NOTE
The boxes marked in grey are not changeable, they are the default values.
NOTE
32 bit parameters must be mapped inside the 32 bit boundaries, (PCD2 & PCD3 or PCD4 & PCD5 etc.) where the parameter number is mapped twice to8-42 PCD write configuration or 8-43 PCD read configuration.
NOTE
The motor current in 16-14 Motor Current is 32 bit. This mapping is only mapping the lower 16 bit, so the maximum motor current readout is 327 Amps. For higher Amp readout, user 32 bit readout.
19
Register 2810
2811
REF
2812
2813
Write
CTW
Example: The frequency converter sends status word, main actual value, actual motor current and digital inputs
130BC054.10
130BC200.10
Master 2913
Motor current
2912
Motor current
2914
Digital inputs
Read
STW
Example 32 bit, continued Following parameters has to be set up in the frequency converter:
NOTE
The motor current in parameter 16-14 is mapped as 32 bit. Motor current can be readout up to 42949672 Amps.
20
130BC053.10
5 5
Master
Frequency Converter
6 6
Response The normal response is an echo of the query, returned after the coil state has been forced.
Field Name Slave Address Function Force Data HI Force Data LO Quantity of Coils HI Quantity of Coils LO Error Check (CRC) Example (HEX) 01 05 FF 00 00 01 -
Response The coil status in the response message is packed as one coil per bit of the data field. Status is indicated as: 1 = ON; 0 = OFF. The LSB of the first data byte contains the coil addressed in the query. The other coils follow toward the high order end of this byte, and from low order to high order in subsequent bytes. If the returned coil quantity is not a multiple of eight, the remaining bits in the final data byte will be padded with zeros (toward the high order end of the byte). The Byte Count field specifies the number of complete bytes of data.
Field Name Slave Address Function Byte Count Data (Coils 40-33) Data (Coils 48-41) Error Check (CRC) Example (HEX) 01 (frequency converter address) 01 (read coils) 02 (2 bytes of data) 07 06 (STW=0607hex) -
21
NOTE
Coil addresses start at zero, i.e. coil 17 is addressed as 16.
Field Name Slave Address Function Coil Address HI Coil Address LO Quantity of Coils HI Quantity of Coils LO Byte Count Force Data HI (Coils 8-1) Force Data LO (Coils 16-9) Error Check (CRC) Example (HEX) 01 (frequency converter address) 0F (write multiple coils) 00 10 (coil address 17) 00 10 (16 coils) 02 20 00 (ref. = 2000 hex) -
Response 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 contains the high order bits and the second contains the low order bits. Example: Hex 0016E360=1.500.000=1500 RPM.
Field Name Slave Address Function Byte Count Data HI (Register 3030) Data LO (Register 3030) Data HI (Register 3031) Data LO (Register 3031) Error Check (CRC) Example (HEX) 01 03 04 00 16 E3 60 -
6 6
Response The normal response returns the slave address, function code, starting address, and quantity of coils forced.
Field Name Slave Address Function Coil Address HI Coil Address LO Quantity of Coils HI Quantity of Coils LO Error Check (CRC) Example (HEX) 01 (frequency converter address) 0F (write multiple coils) 00 10 (coil address 17) 00 10 (16 coils) -
Response The normal response is an echo of the query, returned after the register contents have been passed.
22
Field Name Slave Address Function Register Address HI Register Address LO Preset Data HI Preset Data LO Error Check (CRC)
Example (HEX) 01 06 03 E7 00 01 -
6 6
Response The normal response returns the slave address, function code, starting address, and quantity of registers preset.
Field Name Slave Address Function Starting Address HI Starting Address LO No. of Registers HI No. of registers LO Error Check (CRC) Example (HEX) 01 10 04 D7 00 02 -
23
FC Control Profile
7 FC Control Profile
7.1.1 Control Word According to FC Profile (8-10 Protocol = FC profile)
130BA274.10 Master-slave CTW Speed ref.
Bit 02, DC brake Bit 02 = 0 leads to DC braking and stop. Set braking current and duration in 2-01 DC Brake Current and 2-02 DC Braking Time. Bit 02 = 1 leads to ramping. Bit 03, Coasting Bit 03 = 0: The frequency converter immediately "lets go" of the motor, (the output transistors are "shut off") and it coasts to a standstill. Bit 03 = 1: The frequency converter starts the motor if the other starting conditions are met. Make a selection in 8-50 Coasting Select to define how Bit 03 gates with the corresponding function on a digital input. Bit 04, Quick stop Bit 04 = 0: Makes the motor speed ramp down to stop (set in 3-81 Quick Stop Ramp Time). Bit 05, Hold output frequency Bit 05 = 0: The present output frequency (in Hz) freezes. Change the frozen output frequency only with the digital inputs (5-10 Terminal 18 Digital Input to 5-13 Terminal 29 Digital Input) programmed to Speed up = 21 and Slow down = 22.
Bit no.:
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Bit 00 01 02 03 04 05 06 07 08 09 10 11 12 13 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 Relay 01 open Relay 02 open Parameter set-up No function
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 02 active selection lsb Reverse
7 7
Explanation of the 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 the Table 7.1.
Programmed ref. Parameter value 1 2 3 4 3-10 Preset Reference [0] 3-10 Preset Reference [1] 3-10 Preset Reference [2] 3-10 Preset Reference [3] Bit 01 0 0 1 1 Bit 00 0 1 0 1
NOTE
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-13 Terminal 29 Digital Input) programmed to DC braking = 5, Coasting stop = 2, or Reset and coasting stop = 3.
NOTE
Make a selection in 8-56 Preset Reference Select to define how Bit 00/01 gates with the corresponding function on the digital inputs.
Bit 06, Ramp stop/start Bit 06 = 0: Causes a stop and makes the motor speed ramp 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 are met. Make a selection in 8-53 Start Select to define how Bit 06 Ramp stop/start gates with the corresponding function on a digital input.
24
FC Control Profile
Bit 07, Reset Bit 07 = 0: No reset. Bit 07 = 1: Resets a trip. Reset is activated on the signals leading edge, i.e. when changing from logic 0 to logic 1. Bit 08, Jog Bit 08 = 1: The output frequency is determined by 3-11 Jog Speed [Hz]. Bit 09, Selection of ramp 1/2 Bit 09 = "0": Ramp 1 is active (3-41 Ramp 1 Ramp up Time to 3-42 Ramp 1 Ramp Down Time). Bit 09 = "1": Ramp 2 (3-51 Ramp 2 Ramp up Time to 3-52 Ramp 2 Ramp down Time) is active. Bit 10, Data not valid/Data valid Tell the frequency converter whether to use or ignore the control word. Bit 10 = 0: The control word is ignored. Bit 10 = 1: The control word is used. This function is relevant because the telegram always contains the control word, regardless of the telegram type. Turn off the control word if not wanting to use it when updating or reading parameters. Bit 11, Relay 01 Bit 11 = "0": Relay not activated. Bit 11 = "1": Relay 01 activated provided that Control word bit 11 = 36 is chosen in 5-40 Function Relay. Bit 12, Relay 02 Bit 12 = "0": Relay 02 is not activated. Bit 12 = "1": Relay 02 is activated provided that Control word bit 12 = 37 is chosen in 5-40 Function Relay. Bit 13, Selection of set-up Use bit 13 to choose from the 2 menu set-ups according to the table.
Set-up 1 2 Bit 13 0 1
Bit no.:
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Bit 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15
Bit = 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 Timer OK
Bit = 1 Control ready Drive ready Enable Trip Error (no trip) Triplock Warning Speed = reference Bus control Frequency limit OK In operation Stopped, auto start Voltage exceeded Torque exceeded Timer exceeded
7 7
Explanation of the Status Bits Bit 00, Control not ready/ready Bit 00 = 0: The frequency converter trips. Bit 00 = 1: The frequency converter controls are ready but the power component does not necessarily receive any power supply (in case of external 24 V supply to controls). Bit 01, Drive ready Bit 01 = 1: The frequency converter is ready for operation but the coasting command is active via the digital inputs or via serial communication. Bit 02, Coasting stop Bit 02 = 0: The frequency converter releases the motor. Bit 02 = 1: The frequency converter starts the motor with a start command. Bit 03, No error/trip Bit 03 = 0 : The frequency converter is not in fault mode. Bit 03 = 1: The frequency converter trips. To re-establish operation, press [Reset]. Bit 04, No error/error (no trip) Bit 04 = 0: The frequency converter is not in fault mode. Bit 04 = 1: The frequency converter shows an error but does not trip.
The function is only possible when Multi Set-Ups = 9 is selected in 0-10 Active Set-up. Make a selection in 8-55 Set-up Select to define how Bit 13 gates with the corresponding function on the digital inputs. Bit 15 Reverse Bit 15 = 0: No reversing. Bit 15 = 1: Reversing. In the default setting, reversing is set to digital in 8-54 Reversing Select. Bit 15 causes reversing only when Ser. communication, Logic or Logic and is selected.
25
FC Control Profile
Bit 05, Not used Bit 05 is not used in the status word. Bit 06, No error / triplock Bit 06 = 0: The frequency converter is not in fault mode. Bit 06 = 1: The frequency converter is tripped and locked. Bit 07, No warning/warning Bit 07 = 0: There are no warnings. Bit 07 = 1: A warning has occurred. Bit 08, Speed reference/speed = reference Bit 08 = 0: The motor is running but the present speed is different from the preset speed reference. It might e.g. be the case when the speed ramps up/down during start/ stop. Bit 08 = 1: The motor speed matches the preset speed reference. Bit 09, Local operation/bus control Bit 09 = 0: [Off/Reset] is activate on the control unit or Local control in F-02 Operation Method is selected. It is not possible to control the frequency converter via serial communication. Bit 09 = 1 It is possible to control the frequency converter via the fieldbus/serial communication. Bit 10, Out of frequency limit Bit 10 = 0: The output frequency has reached the value in 4-12 Motor Speed Low Limit [Hz] or 4-14 Motor Speed High Limit [Hz]. Bit 10 = "1": The output frequency is within the defined limits. Bit 11, No operation/in operation Bit 11 = 0: The motor is not running. Bit 11 = 1: The frequency converter has a start signal or the output frequency is greater than 0 Hz. Bit 12, Drive OK/stopped, autostart: Bit 12 = 0: There is no temporary over temperature on the inverter.
Bit 12 = 1: The inverter stops because of over temperature but the unit does not trip and will resume operation once the over temperature stops. Bit 13, Voltage OK/limit exceeded Bit 13 = 0: There are no voltage warnings. Bit 13 = 1: The DC voltage in the frequency converters intermediate circuit is too low or too high. Bit 14, Torque OK/limit exceeded Bit 14 = 0: The motor current is lower than the torque limit selected in 4-18 Current Limit. Bit 14 = 1: The torque limit in 4-18 Current Limit is exceeded. Bit 15, Timer OK/limit exceeded Bit 15 = 0: The timers for motor thermal protection and thermal protection are not exceeded 100%. Bit 15 = 1: One of the timers exceeds 100%.
7 7
26
FC Control Profile
(C000hex)
(0hex)
(4000hex)
0% (0hex)
100% (4000hex)
130BA277.10
-100%
0%
100%
7 7
27
Parameters
8 Parameters
8-03 Control Word Timeout Time
8.1 Parameters: 8-** Communications and Options 8.1.1 8-0* General Settings
8-01 Control Site Option: Function:
The setting in this parameter overrides the settings in 8-50 Coasting Select to 8-56 Preset Reference Select. [0] * Digital and ctrl.word [1] [2] Digital only Controlword only Control by using both digital input and control word. Control by using digital inputs only. Control by using control word only.
Range:
1.0 s* [Application dependant]
Function:
Enter the maximum time expected to pass between the reception of two consecutive telegrams. If this time is exceeded, it indicates that the serial communication has stopped. The function selected in 8-04 Control Word Timeout Functionis then carried out. A valid control word triggers the time-out counter.
8 8
Option:
[0] * Off
Function:
Resumes control via serial bus (Fieldbus or standard) using the most recent control word.
Freeze output Freezes output frequency until communication resumes. Stop Jogging Max. speed Stop and trip Stops with auto restart when communication resumes. Runs the motor at JOG frequency until communication resumes. Runs the motor at maximum frequency until communication resumes. Stops the motor, then resets the frequency converter to restart: via the Fieldbus, via the reset button on the , or via a digital input.
Option:
[0] [1] * [2] [3] [4] [5] [6] [30] None FC RS485 FC USB Option A Option B Option C0 Option C1 External Can
Function:
[7]
Select setup 1 Changes the set-up upon reestablishment of communication following a control word time-out. If communication resumes after a time-out, 8-05 End-of-Timeout Function defines whether to resume the set-up used before the time-out, or to retain the set-up endorsed by the time-out function.
[8] [9]
Select setup 2 See [7] Select setup 1 Select setup 3 See [7] Select setup 1
NOTE
This parameter cannot be adjusted while the motor is running.
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.
28
Parameters
Option:
[0] * [1] [5] [7] [8] FC profile PROFIdrive profile ODVA CANopen DSP 402 MCO
Function:
Option:
Function:
Word Timeout Function, following a control word time-out.
Function:
The input is always low. Depended on the profile set in 8-10 Control Profile. The input goes high whenever Alarm 68 is active and goes low whenever no alarm 68 is actived The input goes high whenever Trip on other Alarms then Alarm 68 is active. The input goes high whenever T18 has 24 V and goes low whenever T18 has 0 V The input goes high whenever T19 has 24 V and goes low whenever T19 has 0 V The input goes high whenever T27 has 24 V and goes low whenever T27 has 0 V The input goes high whenever T29 has 24 V and goes low whenever T29 has 0 V The input goes high whenever T32 has 24 V and goes low whenever T32 has 0 V The input goes high whenever T33 has 24 V and goes low whenever T33 has 0 V The input goes high whenever T37 has 0 V and goes low whenever T37 has 24 V The thermal warning turns on when the temperature exceeds the limit in the motor, the frequency converter, the brake resistor, or the thermistor. Goes high when the brake IGBT is shortcircuited. If Comparator 0 is evaluated as TRUE, the input goes high. Otherwise, it will be low.
8 8
[1]
Do reset
Returns the frequency converter to the original set-up following a control word timeout. The frequency converter performs the reset and then immediately reverts to the [0] Do not reset setting
[3]
[10] T18 DI status [11] T19 DI status [12] T27 DI status [13] T29 DI status [14] T32 DI status [15] T33 DI status [16] T37 DI status [21] Thermal warning
Option:
[0] * [1] Motor Data StdFilt. Motor Data LPFilter
Function:
Select [0] for normal bus readouts. Select [1] for filtered bus readouts of the following parameters: 16-10 16-11 16-12 16-14 16-16 16-17 16-22 16-25 Power [kW] Power [hp] Motor Voltage Motor Current Torque [Nm] Speed [RPM] Torque [%] Torque [Nm] High
29
Parameters
Function:
If Comparator 0 is evaluated as TRUE, the input goes high. Otherwise, it will be low. If Comparator 1 is evaluated as TRUE, the input goes high. Otherwise, it will be low. If Comparator 2 is evaluated as TRUE, the input goes high. Otherwise, it will be low. If Comparator 3 is evaluated as TRUE, the input goes high. Otherwise, it will be low. If Comparator 4 is evaluated as TRUE, the input goes high. Otherwise, it will be low. If Comparator 5 is evaluated as TRUE, the input goes high. Otherwise, it will be low. If Logic Rule 0 is evaluated as TRUE, the input goes high. Otherwise, it will be low. If Logic Rule 1 is evaluated as TRUE, the input goes high. Otherwise, it will be low. If Logic Rule 2 is evaluated as TRUE, the input goes high. Otherwise, it will be low. If Logic Rule 3 is evaluated as TRUE, the input goes high. Otherwise, it will be low. If Logic Rule 4 is evaluated as TRUE, the input goes high. Otherwise, it will be low. If Logic Rule 5 is evaluated as TRUE, the input goes high. Otherwise, it will be low. SL Controller Action. The input goes high whenever the Smart Logic Action [38] Set dig. out. A high is executed. The input goes low whenever the Smart Logic Action [32] Set dig. out. A low is executed. SL Controller Action. The input goes high whenever the Smart Logic Action [39] Set dig. out. A high is executed. The input goes low whenever the Smart Logic Action [33] Set dig. out. A low is executed. SL Controller Action. The input goes high whenever the Smart Logic Action [40] Set dig. out. A high is executed. The input goes low whenever the Smart Logic Action [34] Set dig. out. A low is executed. SL Controller Action. The input goes high whenever the Smart Logic Action [41] Set dig. out. A high is executed. The input goes low whenever the Smart Logic Action [35] Set dig. out. A low is executed.
Function:
SL Controller Action. The input goes high whenever the Smart Logic Action [42] Set dig. out. A high is executed. The input goes low whenever the Smart Logic Action [36] Set dig. out. A low is executed. SL Controller Action. The input goes high whenever the Smart Logic Action [43] Set dig. out. A high is executed. The input goes low whenever the Smart Logic Action [37] Set dig. out. A low is executed Selectable if par. 1-90 is set to [20] or [21]. If the alarm 164 ATEX ETR cur.lim.alarm is active, the output will be 1. Selectable if par. 1-90 is set to [20] or [21]. If the alarm 166 ATEX ETR freq.lim.alarm is active, the output will be 1. Selectable if par. 1-90 is set to [20] or [21] ]. If the alarm 163 ATEX ETR cur.lim.warning is active, the output will be 1. Selectable if par. 1-90 is set to [20] or [21]. If the warning 165 ATEX ETR freq.lim.warning is active, the output will be 1.
[86] ATEX ETR cur. alarm [87] ATEX ETR freq. alarm [88] ATEX ETR cur. warning
8 8
Function:
Communication according to the FC Protocol as described in the Design Guide, RS485 Installation and Set-up.
[1]
FC MC
30
Parameters
Function:
Specify the maximum permissible time interval between receipt of two bytes. This parameter activates timeout if transmission is interrupted. This parameter is active only when 8-30 Protocol is set to [1] FC MC protocol.
[ 1. - 255. ] Enter the address for the FC (standard) port. Valid range: 1 - 126.
Function:
Baud rate selection for the FC (standard) port.
Function:
This parameter contains a list of signals available for selection in 8-42 PCD write configuration and 8-43 PCD read configuration.
Function:
8 8
Function:
[0 - 1000000 In noisy environments, the interface may ms] be blocked by due to overload of bad frames. This parameter specifies the time between two consecutive frames on the network. If the interface does not detect valid frames in that time it flushes the receive buffer.
Function:
Specify the minimum delay time between receiving a request and transmitting a response. This is used for overcoming modem turnaround delays.
Function:
Specify the maximum permissible delay time between transmitting a request and receiving a response. Exceeding this delay time will cause control word time-out.
[1472] Legacy Alarm Word [1473] Legacy Warning Word [1474] Leg. Ext. Status Word [1500] Operating Hours [1501] Running Hours
31
Parameters
Function:
8 8
32
Parameters
NOTE
Function:
[0 - 9999 ] [0] Digital input Bus
Only selection [0] Digital input is available when 1-10 Motor Construction is set to [1] PM non-salient SPM.
Activates Start command via a digital input. Activates Start command via the serial communication port or fieldbus option.
Function:
[1]
Logic AND Activates Start command via the fieldbus/serial communication port, AND additionally via one of the digital inputs. Activates Start command via the fieldbus/serial communication port OR via one of the digital inputs.
[3] * Logic OR
NOTE
These parameters are active only when 8-01 Control Site is set to [0] Digital and control word. 8-50 Coasting Select Option: Function:
Select control of the coasting function via the terminals (digital input) and/or via the bus. [0] [1] [2] Digital input Bus Logic AND Activates Start command via a digital input. Activates Start command via the serial communication port or fieldbus option. Activates Start command via the fieldbus/serial communication port, AND additionally via one of the digital inputs. Activates Start command via the fieldbus/serial communication port OR via one of the digital inputs.
8 8
[3] * Logic OR
[3] * Logic OR
Function:
Select control of the frequency converter reverse function via the terminals (digital input) and/or via the Fieldbus. Activates the Reverse command via the serial communication port or Fieldbus option . Activates the Reverse command via the Fieldbus/serial communication port, AND additionally via one of the digital inputs. Activates the Reverse command via the Fieldbus/serial communication port OR via one of the digital inputs.
Option:
[0] [1] [2] [3] * Digital input Bus Logic AND Logic OR
Function:
[1] [2]
[3] * Logic OR
33
Parameters
Function:
[0 - 0 ] This parameter shows the number of error telegrams, which could not be executed by the frequency converter.
Logic AND Activates the set-up selection via the fieldbus/ serial communication port, AND additionally via one of the digital inputs. Activate the set-up selection via the fieldbus/ serial communication port OR via one of the digital inputs.
Function:
[ 0 - par. 4-13 Enter the jog speed. Activate this RPM] fixed jog speed via the serial port or fieldbus option.
[3] * Logic OR
8 8
[3] * Logic OR
Function:
[0 - 0 ] This parameter shows the number of valid telegrams detected on the bus.
Function:
[0 - 0 ] This parameter shows the number of telegrams with faults (e.g. CRC fault), detected on the bus.
Function:
[0 - 0 ] This parameter shows the number of valid telegrams addressed to the slave, sent by the frequency converter.
34
Troubleshooting
9 Troubleshooting
Parameter group 8-8* FC Port Diagnostics provides information on the Modbus RTU communication. The diagnostics information is both for the network i.e. how many valid or corrupted telegrams have been on the RS-485 network and for each slave i.e. how many telegrams have been send to this slave. Modbus Exception Codes
4 Slave device failure An unrecoverable error occurred while the server (or slave) was attempting to perform the requested action.
NOTE
The diagnostics counter in Parameter group 8-8* will be reset to 0 after a power cycle. Additionally it is possible to reset the counters to 0 via the Modbus Function code 8, sub-function code 1 Restart communication or 10 Clear counters and diagnostic register.
Check that the cable is mounted correct. See guidelines in 3.1.3 Network Connection Check that the bus cable is terminated correct. See guidelines in 3.1.4 Bus Termination Check that 8-30 Protocol is set to [2] Modbus RTU Check that 8-32 FC Port Baud Rate is set to the same baud rate as the controller Check that 8-33 Parity/Stop Bits is set to the same parity control as the controller
9 9
Check that the bus cable is terminated correct. See guidelines in 3.1.4 Bus Termination Check that screened bus cable is used and that it is connected to earth Check that screened motor cable is used and that it is connected to earth Stop all running motors. If the 8-81 Bus Error Count also stops to count then EMC noise is generated from the motors to the bus cable and are disturbing the communication. Follow the EMC guideline in the Operating Instructions.
35
Troubleshooting
Check if the controller is sending a valid Modbus telegram to the address set in 8-31 Address Check that the slave address number is not duplicated on the network
Check that the function code is supported. See details in 4.1.10 Function Codes Supported by Modbus RTU. Check if the coils or holding register in within the specify area. See 4.1.11 Coil Addresses and 4.1.12 Register Addresses.
9 9
36
Index
Index A
The EMC Directive (2004/108/EC)......................................................... 5 Low-voltage Directive (2006/95/EC)........................................... 5 Machinery Directive (2006/42/EC)............................................... 5 Timing Constraint................................................................................. 12
D E
DC Brake................................................................................................... 24
H J
Jog.............................................................................................................. 25
N P
Network Connection.............................................................................. 9
R S
37
www.danfoss.com/drives
130R0277
MG92B102
*MG92B102*
Rev. 2011-10-31