Local contacts: http://drives.danfoss.com/danfoss-drives/local-contacts/
Safetyvacon • 3
9000.emf
13006.emf
9001.emf
9000.emf
9000.emf
9000.emf
9000.emf
9000.emf
9000.emf
1.SAFETY
This manual contains clearly marked cautions and warnings which are intended for your personal
safety and to avoid any unintentional damage to the product or connected appliances.
Please read the information included in cautions and warnings carefully.
The cautions and warnings are marked as follows:
Table 1. Warning signs
= DANGER! Dangerous voltage
= WARNING or CAUTION
= Caution! Hot surface
1.1Danger
The components of the power unit are live when the drive is connected to mains
potential. Coming into contact with this voltage is extremely dangerous and may
cause death or severe injury.
The motor terminals U, V, W and the brake resistor terminals are live when the
AC drive is connected to mains, even if the motor is not running.
After disconnecting the AC drive from the mains, wait until the indicators on the
keypad go out (if no keypad is attached see the indicators on the cover). Wait 5
more minutes before doing any work on the connections of the drive. Do not open
the cover before this time has expired. After expiration of this time, use a measuring equipment to absolutely ensure that no
absence of voltage before starting any electrical work!
The control I/O-terminals are isolated from the mains potential. However, the
relay outputs and other I/O-terminals may have a dangerous control voltage
present even when the AC drive is disconnected from mains.
voltage is present.
Always ensure
Before connecting the AC drive to mains make sure that the front and cable covers of the drive are closed.
During a ramp stop (see the Application Manual), the motor is still generating
voltage to the drive. Therefore, do not touch the components of the AC drive
before the motor has completely stopped. Wait until the indicators on the keypad
go out (if no keypad is attached see the indicators on the cover). Wait additional 5
minutes before starting any work on the drive.
Local contacts: http://drives.danfoss.com/danfoss-drives/local-contacts/
1
vacon • 4Safety
13006.emf
13006.emf
13006.emf
13006.emf
13006.emf
13006.emf
13006.emf
13006.emf
13006.emf
13006.emf
1.2Warnings
The AC drive is meant for fixed installations only.
Do not perform any measurements when the AC drive is connected to the mains.
The earth leakage current of the AC drives exceeds 3.5mA AC. According to stan-
dard EN61800-5-1, a reinforced protective ground connection must be ensured.
See chapter 1.3.
If the AC drive is used as a part of a machine, the machine manufacturer is responsible for providing the machine with a supply disconnecting device (EN
60204-1).
Only spare parts delivered by VACON
®
can be used.
At power-up, power break or fault reset the motor will start immediately if the
start signal is active, unless the pulse control for
Start/Stop logic has been selected
Futhermore, the I/O functionalities (including start inputs) may change if parameters, applications or software are changed. Disconnect, therefore, the motor if
an unexpected start can cause danger.
The motor starts automatically after automatic fault reset if the auto restart
function is activated. See the Application Manual for more detailed information.
Prior to measurements on the motor or the motor cable, disconnect the motor
cable from the AC drive.
Do not touch the components on the circuit boards. Static voltage discharge may
damage the components.
Check that the EMC level of the AC drive corresponds to the requirements of your
supply network.
.
Local contacts: http://drives.danfoss.com/danfoss-drives/local-contacts/
1
Safetyvacon • 5
13006.emf 13006.emf
1.3Earthing and earth fault protection
CAUTION!
The AC drive must always be earthed with an earthing conductor connected to the earthing terminal
marked with .
The earth leakage current of the drive exceeds 3.5mA AC. According to EN61800-5-1, one or more
of the following conditions for the associated protective circuit shall be satisfied:
b)The protective conductor shall have a cross-sectional area of at least 10 mm2 Cu or 16
mm2 Al, through its total run.
c)Where the protective conductor has a cross-sectional area of less than 10 mm2 Cu or 16
mm2 Al, a second protective conductor of at least the same cross-sectional area shall be
provided up to a point where the protective conductor has a cross-sectional area not less
than 10 mm2 Cu or 16 mm2 Al.
d)Automatic disconnection of the supply in case of loss of continuity of the protective conduc-
tor.
The cross-sectional area of every protective earthing conductor which does not form part of the
supply cable or cable enclosure shall, in any case, be not less than:
-2.5mm
-4mm
2
if mechanical protection is provided or
2
if mechanical protection is not provided.
The earth fault protection inside the AC drive protects only the drive itself against earth faults in the
motor or the motor cable. It is not intended for personal safety.
Due to the high capacitive currents present in the AC drive, fault current protective switches may
not function properly.
Do not perform any voltage withstand tests on any part of the AC drive. There is
a certain procedure according to which the tests shall be performed. Ignoring this
procedure may result in damaged product.
NOTE! You can download the English and French product manuals with applicable safety,
warning and caution information from
REMARQUE Vous pouvez télécharger les versions anglaise et française des manuels produit
contenant l’ensemble des informations de sécurité, avertissements et mises en garde
applicables sur le site http://drives.danfoss.com/knowledge-center/technical-documentation/
.
Local contacts: http://drives.danfoss.com/danfoss-drives/local-contacts/
1
vacon • 6Modbus - general info
11608_uk
Master´s
message
Slave
response
Start
Address
Function
Data
CRC
End
Start
Address
Function
Data
CRC
End
2.MODBUS - GENERALINFO
Modbus is a communication protocol developed by Modicon systems. In simple terms, it is a way of
sending information between electronic devices. The device requesting the information is called the
Modbus Master (or the Client in Modbus TCP/UDP) and the devices supplying information are Modbus Slaves (in Modbus TCP/UDP servers). The Master can also write information to the Slaves. Modbus is typically used to transmit signals from instrumentation and control devices back to a main
controller or data gathering system.
Standard Modbus network contains one Master device and up to 247 Slave devices. In ModbusRTU
and ModbusUDP networks it is mandatory to define a unique Slave Address (or Unit identifier number) for the every Slave Device. Slave Address is a number between 1 and 247. In ModbusTCP networks, it is not mandatory to define a unique Slave Address, because the IP address identifies the
device.
The Modbus communication interface is built around messages. The format of these Modbus messages is independent of the type of physical interface used. The same protocol can be used regardless of the connection type. Because of this, Modbus gives the possibility to easily upgrade the
hardware structure of an industrial network, without the need for large changes in the software. A
device can also communicate with several Modbus nodes at once, even if they are connected with
different interface types, without the need to use a different protocol for every connection.
2
Figure 1.Basic structure of Modbus frame
On simple interfaces like RS485, the Modbus messages are sent in plain form over the network. In
this case the network is dedicated to Modbus. When using more versatile network systems like
TCP/IP over Ethernet, the Modbus messages are embedded in packets with the format necessary
for the physical interface. In that case Modbus and other types of connections can co-exist at the
same physical interface at the same time. Although the main Modbus message structure is peerto-peer, Modbus is able to function on both point-to-point and multidrop networks.
Each Modbus message has the same structure. Four basic elements are present in each message.
The sequence of these elements is the same for all messages, to make it easy to parse the content
of the Modbus message. A conversation is always started by a master in the Modbus network. A
Modbus master sends a message and—depending of the contents of the message—a slave takes
action and responds to it. There can be more masters in a Modbus network. Addressing in the message header is used to define which device should respond to a message. All other nodes on the
Modbus network ignore the message if the address field does not match their own address.
Local contacts: http://drives.danfoss.com/danfoss-drives/local-contacts/
Modbus - general infovacon • 7
Your VACON® 100 family AC drive is equipped with Modbus support as standard. If you need to con-
®
tact VACON
with the Drive Info File taken with VACON
service in problems related to Modbus, send a description of the problem together
®
Live to customer support. If possible, also send a "Wire-
shark" log from the situation if applicable.
Ethernet
Modbus TCP
Switch
Modbus
RTU
master
Modbus RTU
Figure 2.Principal example diagram of Modbus
11781_uk
Local contacts: http://drives.danfoss.com/danfoss-drives/local-contacts/
2
vacon • 8Modbus technical data
3.MODBUSTECHNICALDATA
3.1Modbus RTU protocol
Table 2.
InterfaceRS-485
Data transfer methodRS-485 MS/TP, half-duplex
STP (Shielded Twisted Pair), type Belden
9841 or similar
2.5 mm
As described in “Modicon Modbus Protocol Reference Guide”
300, 600, 1200, 2400, 4800, 9600, 19200,
38400, 57600, 76800, 115200 and 230400
bits/s
2
Connections and
communications
Transfer cable
Connector
Electrical isolationFunctional
Modbus RTU
Bitrate
Addresses1 to 247
3.2Modbus TCP protocol
Table 3.
Interface100BaseTX, IEEE 802.3 compatible
Data transfer methodEthernet half/full -duplex
Data transfer speed10/100 MBit/s, autosensing
As described in Modbus Messaging
Implementation Guide
3.3Modbus UDP vs TCP
In addition to TCP, the VACON® 100 family AC drive supports also UDP starting from following firmware versions:
®
•VACON
•VACON
•VACON
It is recommended that UDP is used when reading and writing rapidly and repetitively (cyclically)
the same data as in case of process data. TCP must be used for single operations, like service data
(e.g. reading or writing parameter values).
100 INDUSTRIAL and VACON® 100 X: FW0072V025
®
100 FLOW: FW0159V016
®
100 HVAC: FW0065V035
3
The key difference between UDP and TCP is that when using TCP, each and every Modbus frame
needs to be acknowledged by the receiver (see the figure below). This adds extra traffic to the network and more load to the system (PLC and drives) because software needs to keep track of sent
frames to make sure that they have reached their destination.
Local contacts: http://drives.danfoss.com/danfoss-drives/local-contacts/
Modbus technical datavacon • 9
Modbus TCP Communication
PLC
TCP, SYN
TCP, SYN, ACK
Open
Connection
Modbus Response, TCP, ACK
Communicate
Close
Connection
TCP, ACK
Modbus Query
TCP, ACK
Modbus Query
TCP, ACK
TCP, ACK
TCP, FIN, ACK
TCP, ACK
Drive
Modbus UDP Communication
PLCDrive
Modbus Query
Modbus Response
Modbus Query
Communicate
11716_uk
Figure 3. Modbus TCP and UDP communication comparison
Another difference between TCP and UDP is that UDP is connectionless. TCP connections are always opened with TCP SYN messages and closed with TCP FIN or TCP RST. With UDP, the first
packet is already a Modbus query. IP address and port combination is treated as a connection. If
port number changes, it is considered as a new connection or as a second connection if both stay
active.
When using UDP, it is not guaranteed that the sent frame reaches its destination. The PLC must
keep track of the Modbus requests by using the Modbus transaction id-field. It actually must do this
also when using TCP. If the PLC does not receive response in time from the AC drive in UDP connection, it needs to send the query again. When using TCP, the TCP/IP stack will keep resending the
request until it has been acknowledged by the receiver (see Figure 4). If the PLC sends new queries
during this time, some of those may not be sent to the network (by TCP/IP stack) until previous sent
package(s) has been acknowledged. This can cause small packet storms when the connection is resumed between the PLC and the AC drive (See Figure 5).
Local contacts: http://drives.danfoss.com/danfoss-drives/local-contacts/
3
vacon • 10Modbus technical data
11717_uk
Modbus TCP Communication
PLCDrive
Modbus Query (1)
Modbus Query (2)
Modbus Response (1), TCP, ACK
Modbus Response (2), TCP, ACK
TCP, ACK
TCP retransmission, Modbus Query (2)
TCP retransmission, Modbus Query (2)
Normal communication continues
Packet lost, no response
Packet lost, no response
Modbus Query (1)
Modbus Response (1)
Modbus Response (4)
Modbus Query (2)
Modbus Query (3)
Modbus Query (4)
Packet lost, no response
Packet lost, no response
Normal communication continues
Modbus UDP Communication
PLCDrive
11718_uk
Modbus TCP Communication
PLCDrive
ModbusModbus
TCP
stack
TCP
stack
Modbus Query (1)
Modbus Query (2)
Modbus Query (3)
Modbus Query (4)
Modbus Query
(1,2,3)
Modbus Query (4)
Modbus Response
(1,2,3)
Modbus Response
(4)
TCP Modbus Query
TCP, ACK
TCP, ACK
TCP, ACK
TCP, ACK
TCP, Modbus Response (1,2,3)
TCP, Modbus Response (4)
TCP, Modbus Query (4)
Retransmission
Modbus Query (1,2,3)
Retransmission Modbus Query (1,2,3)
Retransmission
Modbus Query (1,2)
Retransmission
Modbus Query (1)
Modbus
Response (1,2,3)
Modbus
Response (4)
Normal communication continues
Packet lost
Figure 4. Modbus TCP and UDP communication errors comparison
Figure 5. Modbus TCP retransmissions
3
Local contacts: http://drives.danfoss.com/danfoss-drives/local-contacts/
Modbus technical datavacon • 11
Losing one packet is not a big issue because the same request can be sent again after timeout. In
TCP, the packages always reach their destination but if network congestion causes retransmissions, the resent packages will most likely contain old data or instructions when they reach their
destination.
3.4Connections and wiring
The VACON® 100 family AC drive supports 10/100Mb speeds in both Full- and Half-duplex modes.
However, real-time process control requires the Full-duplex mode and the 100-megabit speed.
Drives must be connected to the Ethernet network with a Shielded Twisted Pair (STP) CAT-5e cable
(or better). Use only industrial standard components in the network and avoid complex structures
to minimize the length of response time and the amount of incorrect dispatches.
The maximum length of an RS-485 cable depends on the bitrate used, the cable (gauge, capacitance
or characteristic impedance) and the number of devices in the bus. The Modbus RTU specification
states that for a maximum 9600 bits/second bitrate and AWG26 or wider gauge, the maximum
length is 1000 meters. The actual cable length used in an installation can be lower than this number
depending on the aforementioned parameters.
3.5ACD (Address Conflict Detection) in Ethernet network
The VACON® 100 family AC drive implements the ACD algorithm (IETF RFC 5227).
The ACD algorithm tries to actively detect if the IP address configured to this device is used by another device in the same network. To accomplish this, the ACD sends four ARP request packets
when the device's Ethernet interface goes up or when its IP address changes. The ACD prevents the
use of the Ethernet interface until the ARP probing finishes. This delays the startup of fieldbus protocols about one second. During the delay or after it, the ACD passively checks incoming ARP messages for use of the device's IP address. If another device with the same IP address is detected, the
ACD will try to defend its IP address with a single ARP message. If the other device with the same
IP address also supports ACD, it should stop using the address. If not, the ACD will close the Ethernet connection and indicate the situation with an Alarm. This is done according the "DefendWithPolicyB". Acknowledging of the Alarm is not possible if the problem is active. The ACD opens an
Ethernet connection if the other device with the same IP address disappears from the network. The
alarm can be acknowledged after this. Other policies are not supported. If the fieldbus protocol has
been active, a fieldbus fault may be activated (depends on the fieldbus and drive application configuration).
The ACD functionality can be enabled and disabled with Duplicate IP Detection panel parameter
(see Chapter 5.3.1 Ethernet common settings (M5.9.1)).
Local contacts: http://drives.danfoss.com/danfoss-drives/local-contacts/
3
vacon • 12Installation
M4x55
9174.emf
9000.emf
9235.emf
4.INSTALLATION
4.1Installation in VACON® 100 family AC drives
Open the cover of the AC drive.
1
2
The relay outputs and other I/O-terminals may have a dangerous control voltage
present even when the AC drive is disconnected from mains.
Open the inner cover of the drive.
4
Local contacts: http://drives.danfoss.com/danfoss-drives/local-contacts/
Installationvacon • 13
Ethernet
cable
9316.emf
4.1.1Prepare for use through ethernet
Connect the Ethernet cable (see specification in Chapter 3.2) to its terminal as
shown in figure below.
3
Local contacts: http://drives.danfoss.com/danfoss-drives/local-contacts/
4
vacon • 14Installation
9068.emf
IP54
9265.emf
IP21
Ethernet
cable
Protection class IP21: Cut free the opening on the AC drive cover for the Ethernet cable.
Protection class IP54: Cut the rubber grommets open to slide the cables
through. Should the grommets fold in while inserting the cable, just draw the
cable back a bit to straighten the grommets up. Do not cut the grommet openings wider than what is necessary for the cables you are using.
NOTE! To meet the requirements of the enclosure class IP54, the connection
between the grommet and the cable must be tight. Therefore, lead the first bit of
the cable out of the grommet straight before letting it bend. If this is not possible, the tightness of the connection must be ensured with insulation tape or a
cable tie.
4
5
Remount the AC drive cover.
NOTE! When planning the cable runs, remember to keep the distance between
the Ethernet cable and the motor cable at a minimum of 30 cm. See figure below.
4
Local contacts: http://drives.danfoss.com/danfoss-drives/local-contacts/
Installationvacon • 15
9189.emf
10
5
1
5
m
m
9188.emf
4.1.2Prepare for use through RS485
Strip about 15 mm of the RS485 cable (see specification in Chapter 3.1) and cut
off the grey cable shield. Remember to do this for both bus cables (except for the
last device).
Leave no more than 10 mm of the cable outside the terminal block and strip the
cables at about 5 mm to fit in the terminals. See picture below.
Also strip the cable now at such a distance from the terminal that you can fix it to
1
the frame with the grounding clamp. Strip the cable at a maximum length of 15
mm. Do not strip the aluminum cable shield!
Local contacts: http://drives.danfoss.com/danfoss-drives/local-contacts/
4
vacon • 16Installation
Cable clamp
3020.emf
Then connect the cable to its appropriate terminals on VACON® 100 family AC
drive standard terminal block, terminals A and B (A = negative, B = positive). See
figure below.
2
3
Using the cable clamp included in the delivery of the drive, ground the shield of
the RS485 cable to the frame of the AC drive.
NOTE! This can be done in all drives if there is no difference in PE potentialbetween the drives. However, if there is PE potential difference then the shieldshould be connected to PE only at one point in the system. The shields of
thecables shall be joint but not connected to several PE points with different
poten-tial.
NOTE! This is only a principle drawing and the actual drive may look different.
4
Local contacts: http://drives.danfoss.com/danfoss-drives/local-contacts/
Installationvacon • 17
RS-485 bus termination
OFF
ON
9110.emf
9201.emf
9202.emf
Fieldbus
cables
If VACON® 100 family AC drive is the last device on the bus, the bus termination
must be set. Locate the DIP switches to the right of the control keypad of the
drive and turn the switch for the RS485 bus termination resistor to position ON.
Biasing is built in the termination resistor. See also step 6 on page 18.
4
5
Unless already done for the other control cables,
cut free the opening on the AC drive cover for the
RS485 cable (protection class IP21).
NOTE! This is only a principle drawing and the
actual drive may look different.
Remount the AC drive cover and run the RS485
cables as shown in picture.
NOTE! When planning the cable runs, remember
to keep the distance between the fieldbus cable
and the motor cable at a minimum of 30 cm.
6
Local contacts: http://drives.danfoss.com/danfoss-drives/local-contacts/
4
vacon • 18Installation
Fieldbus cable
= Bus termination
Termination
activated
Termination
activated with
jumper
Ter min ati on
deactivated
Vacon 100 Vacon 100 Vacon 100 Vacon 100Vacon 100
3007.emf
The bus termination must be set for the first and the last device of the fieldbus
line. See picture below. See also step 3 on page 17. We recommend that the first
device on the bus and, thus, terminated was the Master device.
7
4
Local contacts: http://drives.danfoss.com/danfoss-drives/local-contacts/
Installationvacon • 19
Ethernet
connection
1234567891011
12 13 14 15 16 17 18 19 30
BA
RS485
terminals
4.2Installation in VACON® 100 X
The AC drive can be connected to fieldbus either through RS485 or Ethernet. The connection for
RS485 is on the standard I/O terminals (A and B) and the connection for Ethernet is left to the control
terminals.
Figure 6.
4.2.1Prepare for use through Ethernet
1
2
For more detailed information, see the user’s manual of the fieldbus you are using.
Connect the Ethernet cable (see specification in Chapter 3.2) to its terminal and
run the cable through the conduit plate.
Remount the powerhead.
NOTE: When planning the cable runs, remember to keep the distance between
the Ethernet cable and the motor cable at a minimum of 30 cm.
Local contacts: http://drives.danfoss.com/danfoss-drives/local-contacts/
4
vacon • 20Installation
9189.emf
10
5
1
5
m
m
9188.emf
4.2.2Prepare for use through RS485
Strip about 15 mm of the RS485 cable (see specification in Chapter 3.1) and cut
off the grey cable shield. Remember to do this for both bus cables (except for the
last device).
Leave no more than 10 mm of the cable outside the terminal block and strip the
cables at about 5 mm to fit in the terminals. See picture below.
Also strip the cable now at such a distance from the terminal that you can fix it to
the frame with the grounding clamp. Strip the cable at a maximum length of 15
1
mm. Do not strip the aluminum cable shield!
4
2
3
Then connect the cable to its appropriate terminals on VACON® 100 X AC drive
standard terminal block, terminals A and B (A = negative, B = positive). See
Figure 6.
Using the cable clamp included in the delivery of the drive, ground the shield of
the RS485 cable to the frame of the AC drive.
Local contacts: http://drives.danfoss.com/danfoss-drives/local-contacts/
Installationvacon • 21
Modbus RTU
= Bus termination
Term inat ion
activated
Termin atio n
activated
with
DIP switch
Term inat ion
deactivated
Vacon 100 Vacon 100 Vacon 100 Vacon 100Vacon 100
If VACON® 100 X AC drive is the last device on the bus, the bus termination must
be set. Locate the DIP switches to the top of the control unit (see figure below).
4
5
Turn the right most switch to position “1”. Biasing is built
in the termination resistor. See also step 6.
NOTE: When planning the cable runs, remember to keep
the distance between the fieldbus cable and the motor
cable at a minimum of 30 cm.
The bus termination must be set for the first and the last device of the fieldbus
line. See picture below and step 4. We recommend that the first device on the bus
and, thus, terminated, was the Master device.
Local contacts: http://drives.danfoss.com/danfoss-drives/local-contacts/
4
vacon • 22Fiedlbus parametrization
5.FIEDLBUSPARAMETRIZATION
The following chapter describes briefly how to parametrise the AC drive in order for the motor to be
controllable via fieldbus. These instructions are written for basic applications. For more
information, consult the application-specific manual.
In order for the AC drive to accept commands from the fieldbus network, the control place of the AC
drive has to be set to fieldbus. The default value of the parameter "Control Place" is usually I/O. Note
that if the control unit firmware is updated, the default settings are restored. In addition, some
applications may have the remote speed reference selection set by default to other than fieldbus. In
these cases, the speed reference selection must be set to fieldbus, in order for the speed reference
to be controlled via fieldbus.
NOTE! The motor control mode should be selected to support the used process and profile.
The navigation path to the fieldbus parameters may differ from application to application. The
exemplary paths below apply to the VACON
®
100 family AC drive.
5.1Fieldbus control and basic reference selection
The following tables list some of the parameters related to fieldbus control in case of VACON®
applications for the VACON
detailed information.
Parameters can be read and written by using the drive panel, PC Tool or fieldbus protocol. See
Chapter 6.3.5 for reading and writing application parameters over Modbus. Notice that some of
connection parameters for fieldbus may need to be set (depending on your configuration) via panel
or PC tool, before you can connect over fieldbus and write application parameters.
100 family AC drive. See the application specific manuals for more
®
100 family AC drive (Standard application)
0 = Frequency
1 = Speed
2 = Torque
0P 3.1.2.1
5
5.1.1Torque control parametrization
Some extra parametrisation has to be made in order to control the frequency control with torque
control. The following instructions are for the VACON
specific manual for more detailed information.
•Motor control mode (ID 600) must be configured to "Torque control" (2).
To configure the drive to use correct torque reference, select the parameter "Torque
Reference Selection" to ProcessDataIn1 (9). This can be done with: PC-tool or panel in panel
tree: P 3.3.2.1, ID 64
Local contacts: http://drives.danfoss.com/danfoss-drives/local-contacts/
®
100 family AC drives, see the application
Fiedlbus parametrizationvacon • 23
5.1.2Enabling Modbus protocol
Modbus TCP/UDP is always enabled in VACON
network settings (IP address etc) before using it. See Chapter 5.3.1.
When using Modbus RTU, you need to enable the protocol. After enabling it, protocol settings will
appear under panel tree P5.8.3.
Table 5. Enabling Modbus RTU protocol
Parameter nameIDValueDefaultPanel Tree
0 = No Protocol
RS-485 protocol 2208
1 = Modbus RTU
2 = BACnet MSTP
3 = N2
®
100 family devices. You need to parametrize the
No protocolP 5.8.1.1
5.2Modbus RTU parameters and monitoring values (M5.8.3)
Table 6. Parameters related with Modbus used through RTU
* This feature is not supported in VACON® 100 HVAC. The default application in the VACON® 100
family AC drives supports only Slave mode. A special application is required for Master functionality.
Local contacts: http://drives.danfoss.com/danfoss-drives/local-contacts/
Communication
time-out
IDMap IDs0…655350
0…65535102321
3130-
3159
2 = 1.5 stop bits
3 = 2 stop bits
0 = Even
1 = Odd
2 = None
Unit is seconds
0 = Not used
0 = Slave
1 = Master
IDMap IDs
5
vacon • 24Fiedlbus parametrization
5.2.1Slave address
Each slave must have a unique address (from 1 to 247) so that it can be addressed independently
from other nodes.
5.2.2Baud rate
Select the communication speed for the network. The default value is 9600 baud.
5.2.3Parity type
You can select the parity type for the network. Modbus RTU specifies the stop bit configuration
shown in table below. You can modify this stop bit configuration manually using parameter
P5.X.3.1.4.
Table 7. Parity type and stop bits
ParityStopbits
Even1
Odd1
None2
5.2.4Stop bits
You can select the stop bit amount for the Modbus RTU network.
5.2.5Communication timeout
Modbus initiates a communication error for a time defined with this parameter. '0' means that no
fault is generated.
5.2.6Operate mode
Used to select the operate mode of the Modbus RTU protocol (slave / master). This feature is not
supported in VACON
supports only Slave mode. A special application is required for Master functionality.
®
100 HVAC. The default application in the VACON® 100 family AC drives
Table 8. Operate mode values
ValueDescription
0Slave
1Master
5
Local contacts: http://drives.danfoss.com/danfoss-drives/local-contacts/
Fiedlbus parametrizationvacon • 25
5.2.7IDMap IDs
See Chapter 6.3.8.
Table 9. Monitoring values related with Modbus used through RTU
Panel TreeParameterRangeIDDescription
0 = Init
P5.8.3.2.1Fieldbus protocol status1…32381
P5.8.3.2.2Communication status0.0…99.9992382
P5.8.3.2.3Illegal functions0…655352383
P5.8.3.2.4Illegal data addresses0…655352384
P5.8.3.2.5Illegal data values0…655352385
1 = Stopped
2 = Operational
3 = Faulted
0-99 Number of messages
with errors
0-999 Number of messages
without communication errors
Reset on drive restart
P5.8.3.2.6Slave device busy0…655352386
P5.8.3.2.7Memory parity error0…655352387
P5.8.3.2.8Slave device failure0…655352388
P5.8.3.2.9Last fault response0…655352389
P5.8.3.2.10Control word-2390Shown as hex value
P5.8.3.2.11Status word-2391Shown as hex value
5.2.8Fieldbus protocol status
Fieldbus Protocol Status tells the status of the protocol.
Table 10. Fieldbus protocol status descriptions
StatusDescription
INITIALIZINGProtocol is starting up
STOPPEDNo connections active via fieldbus
OPERATIONAL
FAULTEDFieldbus connection has timedout.
Protocol is running. At least one
active connection
5.2.9Communication status
The Communication status shows how many good and bad messages the drive has received. The
Communication status includes a common error counter that counts CRC and parity errors and a
counter for good messages.
Local contacts: http://drives.danfoss.com/danfoss-drives/local-contacts/
5
vacon • 26Fiedlbus parametrization
Only messages to the current slave in use are counted in the good messages.
Table 11. Communication status description
Good messages
0…999Number of messages received without errors
Bad messages
0…99Number of messages received with errors
5.2.10Illegal functions
This value counts error situations. The function code received in the query refers to a not allowed
action for the server (or slave). This corresponds to Modbus fault code 01h.
5.2.11Illegal data addresses
This value counts error situations. The data address received in the query refers to not allowed
address for the server (or slave). This corresponds to Modbus fault code 02h.
5.2.12Illegal data values
This value counts error situations. A value contained in the query data field refers to a not allowed
value for server (or slave). This corresponds to Modbus fault code 03h.
5.2.13Slave device busy
This value counts error situations. The server (or slave) is engaged in processing a long-duration
program command. The client (or master) should retransmit the message later when the server (or
slave) is free. This corresponds to Modbus fault code 06h.
5.2.14Memory parity error
This value counts error situations. The server (or slave) attempted to read record file but detected
a parity error in the memory. This corresponds to Modbus fault code 08h.
5.2.15Slave device failure
This value counts error situations. An unrecoverable error occurred while the server (or slave) was
attempting to perform the requested action. This corresponds to Modbus fault code 04h.
5.2.16Last fault response
Shows the last fault response as Fault code.
5
5.2.17Control word
Shows the Control Word received from the bus.
5.2.18Status word
Shows the current Status Word that is sent to the bus.
Local contacts: http://drives.danfoss.com/danfoss-drives/local-contacts/
Fiedlbus parametrizationvacon • 27
5.3Modbus TCP/UDP parameters and monitoring values
5.3.1Ethernet common settings (M5.9.1)
Table 12. Ethernet common settings (M5.9.1)
Panel
Tree
P5.9.1.1IP address mode
P5.9.1.2
P5.9.1.3.1 IP address
P5.9.1.3.2 Subnet mask
P5.9.1.3.3 Default gateway
P5.9.1.4Active IP address--2483
P5.9.1.5
P5.9.1.6
P5.9.1.7MAC address --2486 Drive MAC address
ParameterRangeDefaultIDDescription
Duplicate IP
Detection
Active subnet
mask
Active default
gateway
Fixed (1),
DHCP(2)
Disabled (0),
Enabled (1)
1.0.0.0 -
223.255.255.255
0.0.0.0-
255.255.255.255
0.0.0.0-
255.255.255.255
--2484
--2485
DHCP (2)2482 IP Mode
This is setting for enabling
ACD (See Chapter 3.4).
enabled2569
192.168.0.10 2529 Fixed IP address
255.255.0.02530 Fixed Subnet mask
192.168.0.12531 Fixed default gateway
When disabled drive does
not check for or react to
address conflict situation.
Shows current active IP
address. It is same as fixed
value if IP mode is "Fixed".
Shows current active subnet mask. It is same as fixed
value if IP mode is "Fixed".
Shows current active default
gateway. It is same as fixed
value if IP mode is "Fixed".
5.3.2IP Address mode
Selectable alternatives are DHCP (Dynamic Host Configuration Protocol) and Fixed. The DHCP
protocol gives IP addresses to new devices connecting to local network. This address is valid for a
certain period of time. If no DHCP server is found, an automatic random IP is given. A fixed IP
address is specified manually and it does not change. When the mode is changed from DHCP to
Fixed the addresses will read:
IP: 192.168.0.10
Subnet mask: 255.255.0.0
Default gateway: 192.168.0.1
5.3.3Fixed IP address
An IP address is a series of numbers (like above) specific to the device connected to the Internet.
Local contacts: http://drives.danfoss.com/danfoss-drives/local-contacts/
5
vacon • 28Fiedlbus parametrization
5.3.4Fixed Subnet Mask
The network mask marks all the bits of an IP address for the identification of the network and the
subnetwork.
5.3.5Fixed default gateway
Gateway address is the IP address of a network point that acts as an entrance to another network.
5.3.6Active IP address, subnet mask and default gateway
This value cannot be changed. If the IP mode is "fixed", it will display the same value as in Fixed IP
address (5.3.3). If the mode is "DHCP", the value is 0.0.0.0 when the DHCP is retrieving IP settings
or 169.x.x.x if it could not retrieve an address. Otherwise it shows the currently active IP address.
5.3.7MAC Address
The MAC address of the control board. The MAC address (Media Access Control) is a unique address
given to each network host. It is not editable.
5.3.8Modbus TCP/UDP settings (M5.9.2)
Table 13. Modbus TCP/UDP parameters
Panel TreeParameterRangeDefaultIDDescription
P5.9.2.1.1Connection limit0…332446 Number of allowed connections
P5.9.2.1.2
P5.9.2.1.3
P5.9.2.1.4.1-30 IDMap IDs0…655350
The monitoring values menu structure is duplicated to all connections. Maximum number of
connections is three (3). Monitoring menus are visible even though connection has not been opened.
Panel TreeParameterRangeUnit DefaultIDDescription
P5.9.2.2.1.1
P5.9.2.2.1.2
Unit identifier
number
Communication
time-out
Table 14. Modbus TCP/UDP Monitoring values
Fieldbus protocol
status
Communication
status
0…2552552447 See Chapter 5.2.10
0…65535102448
3100-
3129
1…3--2449
0.0…99.9999-0.02450
Unit is seconds
0 = Not used
IDMap IDs
1 = Stopped
2 = Operational
3 = Faulted
See 5.2.8
0-99 Number of messages
with errors
0-999 Number of messages
without communication
errors
See 5.2.9
5
P5.9.2.2.1.3Illegal functions0…65535--2451 See 5.2.10
P5.9.2.2.1.4
Illegal data
addresses
0…65535--2452 See 5.2.11
Local contacts: http://drives.danfoss.com/danfoss-drives/local-contacts/
Fiedlbus parametrizationvacon • 29
Table 14. Modbus TCP/UDP Monitoring values
Panel TreeParameterRangeUnit DefaultIDDescription
P5.9.2.2.1.5Illegal data values0…65535--2453 See 5.2.12
P5.9.2.2.1.6Slave device busy0…65535--2454 See 5.2.13
P5.9.2.2.1.7
P5.9.2.2.1.8
P5.9.2.2.1.9
P5.9.2.2.1.10 Control word-hex-2458 See 5.2.17
P5.9.2.2.1.11 Status word-hex-2459 See 5.2.18
5.3.9Connection limit
Defines how many clients can access the server simultaneously.
Memory parity
error
Slave device failure
Last fault
response
0…65535--2455 See 5.2.14
0…65535--2456 See 5.2.15
0--2457 See 5.2.16
5.3.10Unit Identifier number
The Modbus 'slave address' field usually used on Modbus Serial Line is replaced by a single byte
'Unit Identifier'.
When the TCP is used as the communications protocol, the AC drive is addressed by its IP address
and broadcast messages are not possible. In this case, the unit identifier is useless. In the UDP, it is
possible to send broadcast messages and therefore the unit identifier becomes important.
To keep things simple, the unit identifier is checked when using both TCP and UDP. In TCP you can
use value 255 (non-significant) as a unit identifier and send the messages to all slaves with that
value.
5.3.11Communication timeout
For Modbus, this value defines the time in which a message must be received (from Client in
Modbus TCP/UDP) before a fieldbus fault is generated. If timeout is set to zero, no fault is created.
5.3.12IDMap IDs
See Chapter 6.3.8.
Local contacts: http://drives.danfoss.com/danfoss-drives/local-contacts/
5
vacon • 30Communications
6.COMMUNICATIONS
Features of the Modbus-Vacon interface:
•Direct control of VACON® drive (e.g. Run, Stop, Direction, Speed reference, Fault reset)
®
•Full access to all VACON
®
•Monitor VACON
status (e.g. Output frequency, Output current, Fault code)
6.1Data addresses in Modbus messages
All data addresses in Modbus messages are referenced to zero. The first occurrence of a data item
is addressed as item number zero. For example:
•The coil known as ‘Coil 1’ in a programmable controller is addressed as ‘Coil 0000’ in the
data address field of a Modbus message.
•Coil 127 decimal is addressed as ‘Coil 007E hex’ (126 decimal).
•Holding register 40001 is addressed as register 0000 in the data address field of the message. The function code field already specifies a ‘holding register’ operation. Therefore the
‘4XXXX’ reference is implicit.
•Holding register 40108 is addressed as register 006B hex (107 decimal).
parameters
6.2Supported Modbus Functions
The VACON® variables and fault codes as well as the parameters can be read and written from
Modbus. The parameter addresses are determined in the application. Every parameter and actual
value have been given an ID number in the application. The ID numbering of the parameter as well
as the parameter ranges and steps can be found in the application manual in question. The
parameter value must be given without decimals. If several parameters/actual values are read with
one message, the addresses of the parameters/actual values must be consecutive.
NOTE! Broadcasting not supported in TCP.
Broadcast supported with function code 06 and 16 in RTU and in UDP.
The address ranges of the different function codes are in many cases not relevant to the user and
can be ignored. The targeted information type (coil, register etc.) can be selected separate from the
address.
Local contacts: http://drives.danfoss.com/danfoss-drives/local-contacts/
Communicationsvacon • 31
6.3Modbus data mapping
6.3.1Coils registers
A "coil" in Modbus is a single-bit binary data item which can be both read and written. In VACON
100 family AC drives, the coils refer to some bits in the fieldbus control word." See page 34.
Table 16. Defined coil registers
AddressFunctionPurpose
0001RUN/STOPControl Word, bit 0
0002DirectionControl Word, bit 1
0003Fault resetControl Word, bit 2
0017ResetClears operation days trip counter
0018ResetClears energy trip counter
6.3.2Clearing resettable counters
The VACON
reset to zero by writing value '1' to addresses defined in table below. You can also use coils defined
in chapter 6.3.1.
®
AC drives have trip counters for operation days and energy. These counters can be
Table 17. Clearing trip counters
AddressFunctionPurpose
®
40101ResetClears operation days trip counter
40301ResetClears energy trip counter
6.3.3Discrete inputs
A "discrete input" in Modbus is a single-bit binary data item which is read-only. In VACON
family AC drives, the discrete inputs refer to the fieldbus status word bits. See Chapter 10.
Table 18. Defined Input Discrete
AddressFunctionPurpose
10001ReadyStatus Word, bit 0
10002RunStatus Word, bit 1
10003DirectionStatus Word, bit 2
10004FaultStatus Word, bit 3
10005AlarmStatus Word, bit 4
10006At referenceStatus Word, bit 5
10007Zero speedStatus Word, bit 6
10008Flux readyStatus Word, bit 7
®
100
Local contacts: http://drives.danfoss.com/danfoss-drives/local-contacts/
6
vacon • 32Communications
6.3.4Holding registers and input registers
An "input register" in Modbus is a 16-bit value which is read-only. A "holding register" in Modbus is
a 16-bit value which can be both read and written. Holding and input registers are accessed using
different function codes, and the address ranges are different. In VACON
same information can be accessed as input registers and holding registers, i.e. input register X
refers to the same 16-bit value as the holding register X.
Accessing unsupported values returns the error code "Illegal Data Address".
Resettable energy counter
Resettable energy counter
Communication time
out
Fault history with 16 bit
fault codes
Local contacts: http://drives.danfoss.com/danfoss-drives/local-contacts/
16bitTable 32
32bitTable 31RO2/0
16bitTable 35RW1/1
16bitTable 34RO30/0
R, Write 1 to
first index
to reset
3/0
Communicationsvacon • 33
6.3.5Vacon Application IDs
Application IDs are parameters that depend on the drive's application. These parameters can be
read and written by pointing the corresponding memory range directly or by using the so-called ID
map (more information below). The easiest way to read a single parameter value or parameters with
consecutive ID numbers is to use a straight address. It is possible to read 30 consecutive ID
addresses. Notice that the operation will fail if even one of the consecutive IDs do not exist for such
case see Chapter 6.3.8 ID map.
Parameters which have 32 bit value can be read from their own range. For example, if you want to
read the value for ID 864 (FB Status Word), the address must be set to 21726. This address value
comes from values: 20000 + ((ID -1) * 2). The ID value is reduced with one because of zero-based
addressing and the result is multiplied with 2 because one 32 bit value will take two (16 bit)
addresses.
Table 20. Application IDs
Address rangePurposeApplication ID
0001-200016 bit application parameters 1-2000
2200-1000016 bit application parameters 2200-10000
20001-4000032 bit application parameters 1-10000
6.3.6FB Process data IN
The process data fields are used to control the drive (e.g. Run, Stop , Reference, Fault Reset) and to
quickly read actual values (e.g. Output frequency, Output current, Fault code). The fields are
structured as follows:
Local contacts: http://drives.danfoss.com/danfoss-drives/local-contacts/
6
vacon • 34Communications
Process Data Master -> Slave (max 22 bytes)
Table 21. Fieldbus Process Data IN
Address
NameRange/Type
16-bit
*
32-bit
2001
2002-FB General Control Word Binary coded
2003
2004
2005
2006
2007
2008
2009
2010
2011
2051 = High data
2052 = Low data
2053 = High data
2054 = Low data
2055 = High data
2056 = Low data
2057 = High data
2058 = Low data
2059 = High data
2060 = Low data
2061 = High data
2062 = Low data
2063 = High data
2064 = Low data
2065 = High data
2066 = Low data
2067 = High data
2068 = Low data
2069 = High data
2070 = Low data
FB Control WordBinary coded
FB Speed Reference0…10000 (100%)
FB Process Data In 1
FB Process Data In 2
FB Process Data In 3
FB Process Data In 4
FB Process Data In 5
FB Process Data In 6
FB Process Data In 7
FB Process Data In 8
See Chapter 9.
APPENDIX 1 PROCESS DATA
*. In VACON® 100 family AC drives, the Control Word and the Status Word are
formed of 32 bits. Only the initial 16 bits can be read in the 16-bit area.
Control word bits
For control word bit descriptions, see Chapter 10. APPENDIX 2 - CONTROL AND STATUS WORD.
6.3.7FB Process data OUT
Process Data Slave -> Master (max 22 bytes)
Table 22. Fieldbus Process Data Out
Address
NameRange/Type
16-bit32-bit
2101
2102-
2103
2151 = High data
2152 = Low data
2153 = High data
2154 = Low data
FB Status WordBinary coded
In case of 16-bit, FB General
Status Word (High data)
FB Actual Speed
Binary coded
0…10000
(100.00%)
6
Local contacts: http://drives.danfoss.com/danfoss-drives/local-contacts/
Communicationsvacon • 35
Table 22. Fieldbus Process Data Out
Address
NameRange/Type
16-bit32-bit
2104
2105
2106
2107
2108
2109
2110
2111
Status Word bits
For status word bit descriptions, see Chapter 10. APPENDIX 2 - CONTROL AND STATUS WORD.
2155 = High data
2156 = Low data
2157 = High data
2158 = Low data
2159 = High data
2160 = Low data
2161 = High data
2162 = Low data
2163 = High data
2164 = Low data
2165 = High data
2166 = Low data
2167 = High data
2168 = Low data
2169 = High data
2170 = Low data
FB Process Data Out 1
FB Process Data Out 2
FB Process Data Out 3
FB Process Data Out 4
FB Process Data Out 5
FB Process Data Out 6
FB Process Data Out 7
FB Process Data Out 8
See Chapter 9.
APPENDIX 1 PROCESS DATA
6.3.8ID map
Using the ID map, you can read consecutive memory blocks that contain parameters whose ID's are
not in a consecutive order. The address range 10501 - 10530 is called 'IDMap', and it includes an
address map in which you can write your parameter ID's in any order. The address range 10601 to
10630 is called 'IDMap Read/Write,' and it includes values for parameters written in the IDMap. As
soon as one ID number has been written in the map cell 10501, the corresponding parameter value
can be read and written in the address 10601, and so on. The address range 10701 - 10760 contains
the ID Map read/write for 32bit values. Maximum of 30 IDs and ID values can be written and read
with single request.
IDMap IDs can be also configured from the panel or VACON
under Modbus TCP and Modbus RTU settings. See details in chapters 5.1 and 5.2.2.
®
Live PC tool. IDmap menu is located
Local contacts: http://drives.danfoss.com/danfoss-drives/local-contacts/
6
vacon • 36Communications
IDValue
699123
700321
701456
702654
7031789
704987
7052741
7061147
707258
7083852
Parameters
Address Data: ID
10501700
10502702
10503707
10504704
Address Data: ID
10601321
10602654
10603258
10604987
ID Map
11609_uk
Figure 7. IDMap initialization
Once the IDMap address range has been initialized with any parameter ID number, the parameter
value can be read and written in the IDMap Read/Write address range address IDMap address + 100.
If the IDMap table has not been initialized, all data fields are showing the value '0'. Once the IDMap
table has been initialized, the parameter ID's are stored in the VACON
memory.
Example of 32Bit IDMap
Table 24. Example of parameter values in 32-bit IDMap Read/Write registers
6.3.9Operation day counter
Control unit operating time counter (total value). This counter cannot be reset. The values are read
only.
6
Table 23. Parameter Values in 16-bit IDMap Read/Write registers
AddressData
10601Data included in parameter ID700
10602Data included in parameter ID702
10603Data included in parameter ID707
10604Data included in parameter ID704
Local contacts: http://drives.danfoss.com/danfoss-drives/local-contacts/
6
vacon • 38Communications
6.3.11Energy counter
This counter holds the value of total amount of energy taken from a supply network. This counter
cannot be reset. The values are read only.
Energy counter as kWh
This counter is in registers 40211d to 40212d and is a 32-bit floating point (IEEE 754) value
containing the number of kilowatt-hours (kWh) that is in the drive's energy counter. This value is
read-only.
Table 29. Energy counter as kWh
AddressDescription
40211 High data
40212 Low data
Energy counter
These registers hold three values for the energy counter, amount of energy used, format of the
energy value and unit of the energy value.
Example: If energy = 1200, format = 52, unit = 1, then actual energy is 12.00 kWh.
Table 30. Energy count e r
Holding register
address
40201201Energy
40202202Format
40203203
Input register
address
Holds the value of energy counter in
kWh. Datatype is 32 bit float IEEE 754
PurposeDescription
Amount of energy taken from a supply
network.
The last number of the Format field indicates the decimal point place in the
Energy field.
Example:
40 = 4 number of digits, 0 fractional digits
41 = 4 number of digits, 1 fractional digit
42 = 4 number of digits, 2 fractional digits
Unit
1 = kWh
2 = MWh
3 = GWh
4 = TWh
Unit of the value.
6
Local contacts: http://drives.danfoss.com/danfoss-drives/local-contacts/
Communicationsvacon • 39
6.3.12Resettable energy counter
This counter holds the value of total amount of energy taken from a supply network since the
counter was last reset. For resetting this counter see Chapter 6.3.2". The values are read only.
Resettable energy counter as kWh
This counter is in registers 40311d to 40312d and is a 32-bit floating point (IEEE 754) value
containing the number of kilowatt-hours (kWh) that is in the drive's resettable energy counter.
Table 31. Resettable energy counter as kWh
AddressDescription
40311 High data
40312 Low data
Resettable energy counter
These registers hold three values for the energy counter, amount of energy used, format of the
energy value and unit of the energy value.
Example: If energy = 1200, format = 52, unit = 1, then actual energy is 12.00 kWh
Table 32. Resettable energy counter
Holding
register
address
40301301Energy
40302302Format
Input
register
address
PurposeDescription
Holds the value of energy counter in
kWh since last counter reset.
Datatype is 32 bit float IEEE 754
Amount of energy taken from a supply
network.
The last number of the Format field indicates the decimal point place in the
Energy field.
Example:
40 = 4 number of digits, 0 fractional digits
41 = 4 number of digits, 1 fractional digit
42 = 4 number of digits, 2 fractional digits
Unit
1 = kWh
40303303
Local contacts: http://drives.danfoss.com/danfoss-drives/local-contacts/
2 = MWh
3 = GWh
4 = TWh
Unit of the value.
6
vacon • 40Communications
6.3.13Fault history
The fault history can be viewed by reading from address 40401 onward. The faults are listed in
chronological order so that the latest fault is mentioned first and the oldest last. The fault history
can contain 29 faults at the same time. The fault history contents are represented as follows.
NOTE! Reading the fault history items is slow. Reading all 30 items at once might take up to 600
milliseconds.
Table 33. Fault history
Holding register
address
40401401
40402402
40403403
......
40429429
6.3.14Fault history with 16-bit error codes
The fault history can be viewed by reading from address 40511 onward. The faults are listed in a
chronological order so that the latest fault is mentioned first and the oldest last. These addresses
contain the fault code and the subcode for the fault. Reading can be started from any address.
Table 34. Fault history with 16-bit error codes
Holding register
address
40511Fault code 116-bit fault code in index 1.
Input register
address
Upper byte is a fault code, lower byte
PurposeDescription
Purpose
is a sub code
40512Sub code 116-bit sub code for the fault in index 1.
40513Fault code 216-bit fault code in index 2.
40514Sub code 216-bit sub code for the fault in index 2.
......
40567Fault code 29
40568Sub code 29
6
Local contacts: http://drives.danfoss.com/danfoss-drives/local-contacts/
Communicationsvacon • 41
6.4Modbus TCP/UDP communication and connection timeout
It is possible to open up to three Modbus TCP/UDP connections to the VACON® 100 family AC drive.
One of the connections could be used for process data and other just for reading monitoring data.
In most cases it is desirable that if "monitor" connection gets disconnected, no fault is generated
but when the connection is handling the process data, a fault should be generated in the time
specified.
This register address enables the user to give custom communication timeout for each connection.
If a custom timeout value is used, it must be given every time a connection is opened. Timeout can
be set only to the connection which is been used to access this register. By default the connection
uses the communication timeout value given via panel parameters.
If the cable is disconnected, a fieldbus fault is activated after the timeout period. When
communication timeout is zero, no fault is activated.
In Modbus RTU you can only have one connection, so there is no need to use this value.
Table 35. Communication timeout register
Holding
register
address
PurposeDescription
40501
Communication timeout zero?
Connection closed or broken?
Broken
Has second connection with
communication timeout
other than zero?
Communication
timeout
Timeout
No
No
Connection timeout value for this
connection in seconds.
Communicating
No
Received packet during
communication
timout time?
Yes
Closed
Yes
CheckYes
FAULT!No fault
Figure 8. The Modbus TCP/UDP function in case of timeout
Local contacts: http://drives.danfoss.com/danfoss-drives/local-contacts/
7092_uk
6
vacon • 42Communications
6.5Example messages
6.5.1Example 1 - Write Process Data
Write the process data 42001…42003 with command 16 (Preset Multiple Registers).
Starting address LO 70 hex
No. of registers HI00 hex
No. of registers LO05 hex
CRC HI34 hex
CRC LO66 hex
Table 45.
most-significant bit (MSB) of the function code to 1.
Table 44.
Starting address 1770 hex (= 6000)
Invalid number of registers 0005 hex (= 5)
CRC field 3466 hex (=13414)
Exception response:
Answer Slave - Master:
ADDRESS01 hexSlave address 1 hex (= 1)
FUNCTION84 hexMost significant bit set to 1
DATA
ERROR
CHECK
Reply frame:
Table 47.
0184 0442 C3
Error
code
CRC HI 42 hex
CRC LO C3 hex
04 hexError code 04 => Slave Device Failure
Table 46.
CRC field 42C3 hex (= 17091)
6
Local contacts: http://drives.danfoss.com/danfoss-drives/local-contacts/
Fault tracingvacon • 45
7.FAULTTRACING
When an unusual operating condition is detected by the AC drive control diagnostics, the drive initiates a notification visible, for example, on the keypad. The keypad will show the ordinal number of
the fault, the fault code and a short fault description.
The fault can be reset with the Reset button on the control keypad or via the I/O terminal. The faults
are stored in the Fault history menu which can be browsed. The different fault codes you will find
in the table below. This fault table presents only the faults related to the fieldbus in use.
NOTE! When contacting distributor or factory because of a fault condition, always write down all
texts and codes on the keypad display and send a description of the problem together with the
Info File
to your local support.
7.1Typical fault conditions
Table 48. Typical fault conditions
Fault conditionPossible causeRemedy
Drive
Termination
resistor
Cabling
GroundingInadequate grounding.
Connections
Parameter
Missing or excessive termination resistor.
• Supply or motor cables are located
too close to the fieldbus cable
• Wrong type of fieldbus cable
• Too long cabling
Faulty connections.
• Excessive stripping of cables
• Conductors in wrong terminals
• Too loose connections of conductors
• Faulty address
• Overlapping slave addresses
• Wrong baud rate
• Wrong control place selected
Install termination resistors at both ends of the
fieldbus line.
Ensure grounding in all
points on the net
7.2RS-485 bus biasing
When none of the devices on the RS-485 bus is sending data, all devices are in idle status. This being
the case, the bus voltage is in indefinate state, usually near 0 V due to the termination resistors. This
may cause problems in character reception because the single characters in serial communication
begin with start bit referring to bus status '0' with voltage of less than -200mV whereas the bus status '1' corresponds to bus voltage of more than +200mV. The RS-485 standard considers the voltage
interval -200mV...+200mV as undefined state. Bus biasing is therefore needed to maintain the voltage in status ‘1’ (above +200mV) also between the messages.
To bias the bus you will have to add a separate active termination resistor specifically designed for
the RS-485 bus (e.g. Siemens active RS 485 terminating element (6ES7972-0DA00-0AA0)).
Local contacts: http://drives.danfoss.com/danfoss-drives/local-contacts/
7
vacon • 46Fault tracing
.
Check cabling
Check grounding
9330.emf
No communication
Counter OK
Poor
communication
Check communi-
cation status (par.
5.7.3.2.1/5.8.3.2.2)
Counter does not
run
Counter for bad
frames (see Table
3) increases
Check fieldbus
parameters
bus parameters in
menu
Check other field-
Check selected
protocol
Check termination
resistors
Check that both
ends of the fieldbus
line hav termi-
nation resistors
(chapter 4.4)
Check parameters
e
Is the device in
READY state?
Check Master’s
parameters
Is fieldbus selected
as control place?
Does Master give
RUN command?
Check cabling
Check termination
resistors
Other bus devices
Check connections
Check the led on
keypad
Check external
interlockings (I/O)
Check configura-
tions (Sla e add-
ress, baudrate etc.)
v
Check distances
between cables,
see chapter 4.4.
Check cable types,
see chapter 3.
Check grounding,
see chapter 4. Re-
member to make
grounding for each
device!
Check terminalsfor
loose connections
Check stripping of
cables and
conductors, see
chapter 4.
Use keypad to
monitor variable
Check that both
ends of th fieldbus
line have t rmina-
tion resistors
(chapter 4.4)
e
e
Check cable for
cuts
Check correctplace-
ment of conductors
in terminals
Check other
necessary devices
(e.g. router)
Drive does not
start from the bus
Check parameter
M1.15 or M3.2.1
7.3Other fault conditions
The following fault tracing diagram will help you to locate and fix some of the most usual problems.
If the problem persists contact your local distributor.
Figure 9. Fault tracing diagram for Modbus RTU
Local contacts: http://drives.danfoss.com/danfoss-drives/local-contacts/
7
Fault tracingvacon • 47
.
Check cabling
Check parameter
M1.15 OR P3.2.1
No communication
Counter OK
Poor
communication
Check communi-
cation status (par.
5.7.3.2.1/5.8.3.2.2)
Counter does not
run
Counter for bad
frames (see Table
3) increases
Check fieldbus
parameters
busparametersin
menu
Check other field-
Check selected
protocol
Is the device in
READY state?
Check Master’s
parameters
Is fieldbus selected
as control place?
Does Master give
RUN command?
Check cabling
Other bus devices
Check connections
Check the led on
keypad
Check external
interlockings (I/O)
Check distances
between cables,
see chapter 4.4.
Check stripping of
cables and
conductors, see
chapter 4.
Use keypad to
monitor variable
Check cable for
cuts
Check correct place-
ment of conductors
in terminals
Check other
necessary devices
(e.g. router)
Drive does not
start from the bus
Check cable types
and lenghts, see
chapter 3.
Check e.g WLAN
or other routers
Check IP address,
gateway etc.
9329.emf
7
Local contacts: http://drives.danfoss.com/danfoss-drives/local-contacts/
Figure 10. Fault tracing diagram for Modbus TCP
vacon • 48Quick setup
8.QUICKSETUP
Following these instructions, you can easily and fast set up your Modbus for use:
Choose control place.
1
2
A. Press LOC/REM button on keypad to select
Select Fieldbus as remote control place: Main Menu > Quick Setup (M1) >
B.
Rem. Ctrl. Place (P1.15) > FieldbusCTRL
Make these settings in the master software
A. Set Control Word to '0' by writing the data 0000h to the register 2001
B. Set Control Word to '1' by writing the data 0001h to the register 2001
C. AC drive status is RUN
D. Set Speed Reference value to '5000' (=50.00%) by writing the data 1388h to the
register 2003
E.
Actual speed is 5000 (25.00 Hz if MinFreq is 0.00 Hz and MaxFreq is 50.00 Hz)
F. Set Control Word to '0' by writing the data 0000h to the register 2001
G. AC drive status is STOP.
.
d
Remote Control Place
.
d
.
d
.
d
8
Local contacts: http://drives.danfoss.com/danfoss-drives/local-contacts/
APPENDIX 1 - PROCESS DATAvacon • 49
9.APPENDIX 1 - PROCESS DATA
Process Data IN (Master to Slave)
Use of Process Data In variables depends on the used application. The configuration of the data is
free.
Process Data OUT (Slave to Master)
Use of Process Data Out variables depends on the used application.
The Fieldbus Master can read the AC drive’s actual values using process data variables. Control
applications use process data as follows:
Table 49. Process Data OUT variables
Table 50.
RegisterDataDefault IDInformationUnit
2104 Process data OUT 1
2105 Process data OUT 2
2106 Process data OUT 3
2107 Process data OUT 4
2108 Process data OUT 5
2109 Process data OUT 6
2110 Process data OUT 7
2111 Process data OUT 8
NOTE 1! In VACON
®
VACON
100 HVAC the Motor Current scale is always 0.1 A.
NOTE 2! In VACON
®
100 family AC drives, the Motor Current scale depends on the drive size. In
®
100 HVAC, the default ID is 45 meaning "Motor Current 1 Decimal". In VACON®
1
2
3(45)
4
5
6
7
37
Output Frequency 0.01 Hz
Motor Speed 1 rpm
2
Motor Current 0.1 A
Motor Torque 0.1 %
Motor Power 0.1 %
Motor Voltage 0.1 V
DC link voltage 1 V
Active Fault Code -
100 family AC drives, the default ID is 3 for Motor Current. The ID 45 can be mapped by the user to
®
this variable also in VACON
100 family AC drives.
Local contacts: http://drives.danfoss.com/danfoss-drives/local-contacts/
9
vacon • 50APPENDIX 2 - CONTROL AND STATUS WORD
10.APPENDIX 2 - CONTROL AND STATUS WORD
10.1Control Word bit description
The Control word is composed of 32 bits. FBFixedControlWord consist of the first 16 bits. FBGeneralControlWord consist of the remaining 16 bits. While the functionality of FBFixedControlWord is
fixed in the VACON
application specific and can vary even in the VACON
The meanings of FBFixedControlWord bits are described below. Unused bits have to be set to zero.
NOTE! This table is valid for VACON
functions. See Table 52.
BitFunctionValueDescription
®
standard applications, the functionality of FBGeneralControlWord is totally
®
standard applications. VACON® 100 HVAC may not support all
Table 51. Control Word
®
standard applications.
0Start/Stop
1Direction
2Fault reset
3Stop mode 1
4Stop mode 2
5Quick ramp time
6Freeze Setpoint
7Setpoint to Zero
8
Request Fieldbus
Control
0Stop request from fieldbus.
1Run request from fieldbus.
0Requested direction is "FORWARD".
1Requested direction is "REVERSE".
0No action.
1
0Stop mode is unmodified.
1Stop mode is overridden to "Coasting".
0Stop mode is unmodified.
1Stop mode is overridden to "Ramping".
0Normal deceleration ramp time.
1
0
1
0
1The setpoint value from fieldbus is changed to 0.
0
1Control Place is overridden to Fieldbus Control.
Rising edge (0->1) = Active faults, alarms and
infos are reset.
Deceleration ramp time is switched to shorter
than normal.
Changes in the setpoint value from fieldbus (FB
Speed Reference) are taken into use by the application.
Changes in the setpoint value from fieldbus (FB
Speed Reference) are not taken into use by the
application.
The setpoint value from fieldbus is taken from FB
Speed Reference.
Control Place is as parameterized in the drive
(unchanged).
10
9
10Jogging 1
Request Fieldbus
Reference
Source of the setpoint value is as parameterized
0
in the drive (unchanged).
Source of the setpoint value is overridden to
1
Fieldbus.
0No action.
1Jogging request with reference 1.
Local contacts: http://drives.danfoss.com/danfoss-drives/local-contacts/
Local contacts: http://drives.danfoss.com/danfoss-drives/local-contacts/
10
vacon • 52APPENDIX 2 - CONTROL AND STATUS WORD
10.2Status Word Descriptions
The Status word is composed of 32 bits. FBFixedStatusWord consist of the first 16 bits. FBGeneralStatusWord consist of the remaining 16 bits. While the functionality of FBFixedStatusWord is
fixed in the VACON
application specific and can vary even in the VACON
The meanings of FBFixedStatusWord bits are described below. Unused bits have to be set to zero.
®
standard applications, the functionality of FBGeneralStatusWord is totally
Table 53. Status Word
BitFunctionDescription
®
standard applications.
B0Ready
B1Run
B2Direction
B3Fault
B4Alarm
B5At reference
B6Zero speed
B7Flux ready
B8-B12Reserved
0Drive is not ready.
1Drive is ready to run.
0Motor is not running.
1Motor is running.
0Motor is running clockwise.
1Motor is running counterclockwise.
0No fault active.
1Drive has an active fault.
0No alarm active.
1Drive has active alarm.
0Motor is not running at reference speed.
1Motor is running at reference speed.
0Motor is not at zero speed.
1Motor is running at zero speed.
0Motor is not magnetized.
1Motor is magnetized.
10
The following table is valid for most of VACON 100 applications.
Table 54. Status Word bits B29-B31, descriptions of bit connections
Local contacts: http://drives.danfoss.com/danfoss-drives/local-contacts/
B31
Control place
Description
APPENDIX 6 - LWIP LICENCEvacon • 53
11.APPENDIX 6 - LWIP LICENCE
License for LWIP
Copyright (c) 2001, 2002 Swedish Institute of Computer Science.
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted
provided that the following conditions are met:
1.Redistributions of source code must retain the above copyright notice, this list of conditions and
the following disclaimer.
2.Redistributions in binary form must reproduce the above copyright notice, this list of conditions
and the following disclaimer in the documentation and/or other materials provided with the distribution.
3.The name of the author may not be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE AUTHOR “AS IS” AND ANY EXPRESS OR IMPLIED
WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT
SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Local contacts: http://drives.danfoss.com/danfoss-drives/local-contacts/
11
www.danfoss.com
Vacon Ltd
Member of the Danfoss Group
Runsorintie 7
65380 Vaasa
Finland
Document ID:
DPD00156D
Rev. D
Sales code: DOC-INSMODBUS+DLUK
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.