Manual Variador Vacon-100-Modbus-DPD00156C-UK
Manual Variador Vacon-100-Modbus-DPD00156C-UK
vacon 100 x
®
ac drives
Table of Contents
Document: DPD00156C
Version release date: 5.2.16
1. Safety................................................................................................................2
1.1 Danger.................................................................................................................................2
1.2 Warnings .............................................................................................................................3
1.3 Earthing and earth fault protection ....................................................................................4
2. Modbus - general info .......................................................................................5
3. Modbus technical data ......................................................................................7
3.1 Modbus RTU protocol .........................................................................................................7
3.2 Modbus TCP protocol..........................................................................................................7
3.3 Cable length ........................................................................................................................7
4. Installation........................................................................................................8
4.1 Installation in Vacon® 100..................................................................................................8
4.1.1 Prepare for use through ethernet ......................................................................................9
4.1.2 Prepare for use through RS485........................................................................................11
4.2 Installation in Vacon® 100 X.............................................................................................15
4.2.1 Prepare for use through Ethernet ....................................................................................15
4.2.2 Prepare for use through RS485........................................................................................16
5. Programming..................................................................................................18
5.1 Modbus RS-485 parameters and monitoring values .......................................................19
5.2 Modbus TCP parameters and monitoring values.............................................................20
5.2.1 Ethernet common settings ...............................................................................................20
5.2.2 Modbus TCP settings ........................................................................................................20
5.3 Modbus RTU parameter descriptions...............................................................................22
5.3.1 Modbus RTU Parameters..................................................................................................22
5.3.2 Modbus RTU monitoring values........................................................................................22
5.4 Modbus TCP parameter descriptions...............................................................................25
5.4.1 Ethernet common settings ...............................................................................................25
5.4.2 Modbus TCP settings ........................................................................................................25
5.4.3 Modbus TCP monitoring values........................................................................................26
6. Communications .............................................................................................28
6.1 Data addresses in Modbus messages ..............................................................................28
6.2 Supported Modbus Functions ...........................................................................................28
6.3 Modbus data mapping.......................................................................................................30
6.3.1 Coils registers...................................................................................................................30
6.3.2 Discrete inputs ..................................................................................................................30
6.3.3 Holding registers and input registers ..............................................................................30
6.4 Example messages ...........................................................................................................40
7. Fault tracing ...................................................................................................45
7.1 Typical fault conditions .....................................................................................................45
7.2 RS-485 bus biasing ...........................................................................................................45
7.3 Other fault conditions .......................................................................................................46
8. Quick setup .....................................................................................................48
9. Annex..............................................................................................................49
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:
= WARNING or CAUTION
13006.emf
1.1 Danger
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
9000.emf
go out (if no keypad is attached see the indicators on the cover). Wait additional 5
minutes before starting any work on the drive.
Tel. +358 (0) 201 2121 • Fax +358 (0)201 212 205
1
Safety vacon • 3
1.2 Warnings
Do not perform any measurements when the AC drive is connected to the mains.
13006.emf
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.
13006.emf
At power-up, power brake 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 param-
eters, applications or software are changed. Disconnect, therefore, the motor if
13006.emf
13006.emf
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.5mm2 if mechanical protection is provided or
- 4mm2 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.
13006.emf
NOTE! You can download the English and French product manuals with applicable safety,
warning and caution information from
http://drives.danfoss.com/knowledge-center/technical-documentation/.
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/
.
Tel. +358 (0) 201 2121 • Fax +358 (0)201 212 205
1
Modbus - general info vacon • 5
Master’s Slave
message response
Start Start
Address Address
Function Function
Data Data
CRC CRC
End End
9325.emf
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 peer-to-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.
Your Vacon® 100 drive is equipped with Modbus support as standard.
Ethernet
Modbus TCP
Switch
Modbus
RTU
master
Modbus RTU
9326.emf
If you need to contact Vacon service in problems related to Modbus, send a description of the
problem together with the Drive Info File to [email protected].
Tel. +358 (0) 201 2121 • Fax +358 (0)201 212 205
2
Modbus technical data vacon • 7
Table 2.
Interface RS-485
Data transfer method RS-485 MS/TP, half-duplex
STP (Shielded Twisted Pair), type Belden
Transfer cable
9841 or similar
Connector 2.5 mm2
Connections and Electrical isolation Functional
communications As described in “Modicon Modbus Proto-
Modbus RTU
col Reference Guide”
300, 600, 1200, 2400, 4800, 9600, 19200,
Bitrate 38400, 57600, 76800, 115200 and 230400
bits/s
Addresses 1 to 247
Table 3.
Interface 100BaseTX, IEEE 802.3 compatible
Data transfer method Ethernet half/full -duplex
Data transfer speed 10/100 MBit/s, autosensing
Protocol Modbus TCP
Connections and
Connector Shielded RJ45 connector
communications
Cable type CAT5e STP
As described in Modbus Messaging
Modbus TCP
Implementation Guide
Default IP Selectable: Fixed or DHCP (AutoIP)
The maximum allowed length of a single CAT5 Ethernet cable is 100 meters.
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 the maximum cable length is 1000 meters when using max 9600 bits/second bitrate and
AWG26 or wider gauge cable. The actual cable length which can be used in an installation can be
lower than this number depending on the aforementioned parameters.
4. INSTALLATION
4.1 Installation in Vacon® 100
M4x55
9174.emf
The relay outputs and other I/O-terminals may have a dangerous control voltage
present even when the AC drive is disconnected from mains.
9000.emf
9235.emf
Tel. +358 (0) 201 2121 • Fax +358 (0)201 212 205
4
Installation vacon • 9
Connect the Ethernet cable (see specification in Chapter 3.2) to its terminal as
shown in figure below.
3 Ethernet
cable
9316.emf
Protection class IP21: Cut free the opening on the AC drive cover for the Ether-
net 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 open-
ings 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 possi-
ble, the tightness of the connection must be ensured with insulation tape or a
cable tie.
9068.emf
Ethernet
cable
9265.emf
IP21 IP54
Tel. +358 (0) 201 2121 • Fax +358 (0)201 212 205
4
Installation vacon • 11
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.
10
9189.emf
5
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!
m m
15
9188.emf
Then connect the cable to its appropriate terminals on Vacon 100 drive standard
terminal block, terminals A and B (A = negative, B = positive). See figure below.
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 potentialbe-
tween the drives. However, if there is PE potential difference then the shield-
should 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.
3
Cable clamp
3020.emf
Tel. +358 (0) 201 2121 • Fax +358 (0)201 212 205
4
Installation vacon • 13
If Vacon 100 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 14.
9110.emf
5
9201.emf
Fieldbus
cables
9202.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 13. We recommend that the first
device on the bus and, thus, terminated was the Master device.
Vacon 100 Vacon 100 Vacon 100 Vacon 100 Vacon 100
7
Termination
activated
Tel. +358 (0) 201 2121 • Fax +358 (0)201 212 205
4
Installation vacon • 15
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.
RS485
terminals
12 13 14 15 16 17 18 19 30 A B
1 2 3 4 5 6 7 8 9 10 11
Ethernet
connection
Figure 3.
Connect the Ethernet cable (see specification in Chapter 3.2) to its terminal and
1 run the cable through the conduit plate.
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.
10
9189.emf
5
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!
m m
15
9188.emf
Then connect the cable to its appropriate terminals on VACON® 100 X AC drive
2 standard terminal block, terminals A and B (A = negative, B = positive). See
Figure 3.
Using the cable clamp included in the delivery of the drive, ground the shield of
3 the RS485 cable to the frame of the AC drive.
Tel. +358 (0) 201 2121 • Fax +358 (0)201 212 205
4
Installation vacon • 17
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).
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.
Vacon 100 Vacon 100 Vacon 100 Vacon 100 Vacon 100
5
Termination
activated
5. PROGRAMMING
For basic information on how to use the control keypad, see the corresponding drive Application
Manual.
The navigation path to the fieldbus parameters may differ from application to application. The
exemplary paths below apply to the Vacon® 100 drive.
Navigate: Main Menu > I/O and Hardware > RS-485 OR Ethernet > Common
settings > Protocol (P5.x.1.1) > Edit > (Choose protocol)
Tel. +358 (0) 201 2121 • Fax +358 (0)201 212 205
5
Programming vacon • 19
PARAMETERS
P5.X.3.1.1 Slave address 1 247 1 2320 Unique slave device address.
Communication speed
300
600
1200
2400
4800
P5.X.3.1.2 Baud rate 300 230400 bd 6 2378 9600
19200
38400
57600
76800
115200
230400
0 = Even
P5.X.3.1.3 Parity type 0 2 0 2379 1 = Odd
2 = None
1 = 1 stop bit
P5.X.3.1.4 Stopbits 1 3 3 2380 2 = 1.5 stop bits
3 = 2 stop bits
Communication
P5.X.3.1.5 0 65535 s 10 2321 0 = Not used
time-out
0 = Slave
P5.X.3.1.6(1) Operate Mode 0 1 0 2374
1 = Master
P5.x.3.1.7.1-30 IDMap IDs 0 65535 0 IDMap IDs
MONITORING VALUES
0 = Init
Fieldbus protocol 1 = Stopped
P5.X.3.2.1 1 3 1 2381
status 2 = Operational
3 = Faulted
0-99 Number of messages
with errors
Communication sta-
P5.X.3.2.2 0.0 99.999 0.0 2382 0-999 Number of messages
tus
without communication
errors
P5.X.3.2.3 Illegal functions 0 2383 See page 23.
Illegal data
P5.X.3.2.4 0 2384 See page 23.
addresses
P5.X.3.2.5 Illegal data values 0 2385 See page 23.
P5.X.3.2.6 Slave device busy 0 2386 See page 23.
P5.X.3.2.7 Memory parity error 0 2387 See page 23.
P5.X.3.2.8 Slave device failure 0 2388 See page 23.
P5.X.3.2.9 Last fault response 0 2389 See page 23.
P5.X.3.2.10 Control word hex 2390 See page 33 and page 36.
P5.X.3.2.11 Status word hex 2391 See page 33 and page 36.
1)
This feature is not supported in Vacon 100 HVAC. The default Vacon 100 application supports only
Slave mode. A special application is required for Master functionality.
Tel. +358 (0) 201 2121 • Fax +358 (0)201 212 205
5
Programming vacon • 21
Table 8.
Tel. +358 (0) 201 2121 • Fax +358 (0)201 212 205
5
Programming vacon • 23
Table 10.
Good messages
Number of messages received with-
0…999
out errors
Bad Frames
Number of messages received with
0…99
errors
Tel. +358 (0) 201 2121 • Fax +358 (0)201 212 205
5
Programming vacon • 25
P5.X.1.2 IP ADDRESS
An IP address is a series of numbers (like above) specific to the device connected to the Internet.
5.4.3.1 Connection 1
Tel. +358 (0) 201 2121 • Fax +358 (0)201 212 205
5
Programming vacon • 27
5.4.3.2 Connection 2
The monitoring values display the same pieces of information as for Connection 1 (Chapter 5.2.2),
for the 2nd and 3rd connections".
5.4.3.3 Connection 3
The monitoring values display the same pieces of information as for Connection 1 (Chapter 5.2.2),
for the 2nd and 3rd connections".
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 parameters
• Monitor Vacon status (e.g. Output frequency, Output current, Fault code)
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 mes-
sage. 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).
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.
Discrete 00000-
1 1 Read coils TCP only
(1-bit) 0FFFF
Discrete 10000-
2 2 Read Discrete Inputs TCP only
(1-bit) 1FFFF
Register 40000-
3 3 Read Holding Registers TCP&RTU
(16bit) 4FFFF
Register 30000-
4 4 Read Input Registers TCP&RTU
(16bit) 3FFFF
Discrete 00000-
5 5 Write Single Coils TCP only
(1-bit) 0FFFF
Register 40000-
6 6 Write Single Register TCP&RTU
(16bit) 4FFFF
Tel. +358 (0) 201 2121 • Fax +358 (0)201 212 205
6
Communications vacon • 29
Address
Function Function Access
Modbus Function Name TCP/RTU range
(dec) (hex) type
(hex)
Discrete 00000-
15 F Write Multiple Coils TCP only
(1-bit) 0FFFF
Register 40000-
16 10 Write Multiple Registers TCP&RTU
(16bit) 4FFFF
Read/Write Multiple Regis- Register 40000-
23 17 TCP&RTU
ters (16bit) 4FFFF
NOTE! Broadcasting not supported in TCP.
Broadcast supported with function code 06 and 16 in RTU
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.
A "coil" in Modbus is a single-bit binary data item which can be both read and written. In Vacon® 100
the coils refer to some bits in the fieldbus control word." See page 33.
A "discrete input" in Modbus is a single-bit binary data item which is read-only. In Vacon 100 the
discrete inputs refer to the fieldbus status word bits. See page 36.
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 100 the 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.
The Modbus registers are mapped to the Vacon 100 drive as follows
Tel. +358 (0) 201 2121 • Fax +358 (0)201 212 205
6
Communications vacon • 31
Accessing unsupported values returns the error code "Illegal Data Address".
Application ID's are parameters that depend on the AC 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 (Chapter 6.3.3.4). It is easiest to use a straight address if you want to read a single parameter
value or parameters with consecutive ID numbers. It is possible to read 12 consecutive ID
addresses.
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:
Tel. +358 (0) 201 2121 • Fax +358 (0)201 212 205
6
Communications vacon • 33
Table 21:
Bit Name Value = 1 Value = 0 Vacon 100 HVAC Vacon 100
B0 Start/Stop Start request Stop request Supported Supported
B1 Direction Reverse Forward Supported Supported
Fault
B2 Reset faults No action Supported Supported
reset
Coast Stop mode is coast-
B3 Normal stop mode Supported Supported
Stop Mode ing
Ramp Stop mode is ramp-
B4 Normal stop mode Supported Supported
Stop Mode ing
Short
Ramp stop time is Normal ramp stop
B5 Ramp Supported
shortened time
Time
Freeze Drive does not accept Drive follows
B6 Fieldbus new fieldbus refer- changes in fieldbus Supported Supported
Ref ence reference
Force
Fieldbus Fieldbus reference is
B7 No action Supported
Ref. to forced to zero
Zero
Force
Fieldbus control Normal control
B8 Fieldbus Supported Supported
place is forced place
Control
Force
Fieldbus reference is
B9 Fieldbus Normal reference Supported Supported
forced
Reference
Jogging
Activates jogging ref-
B10 Refer- No action Supported
erence 1
ence 1
Jogging
Activates jogging ref-
B11 Refer- No action Supported
erence 2
ence 2
Quick
B12 Drive does quick stop No action Supported
Stop
B13-
Reserved Not used
B31
Tel. +358 (0) 201 2121 • Fax +358 (0)201 212 205
6
Communications vacon • 35
Table 23.
Table 24.
Vacon 100
Bit Name Value=1 Value=2 Vacon 100
HVAC
Ready for opera-
Bit 0 Ready Not Ready Supported Supported
tion
Bit 01 Run Running Stopped Supported Supported
Bit 2 Direction Counterclockwise Clockwise Supported Supported
Bit 3 Fault A fault is active No fault active Supported Supported
Bit 4 Alarm An alarm is active No alarm active Supported Supported
Reference fre-
Reference fre-
Bit 5 At Reference quency is not Supported Supported
quency is reached
reached
Motor is at zero Motor is at non-
Bit 6 Zero Speed Supported Supported
speed zero speed
Motor is magne- Motor is not
Bit 7 Flux Ready Supported Supported
tized magnetized
Bit 8-28 Reserved Not used Supported Supported
Table 26:
Bit Name Value = 1 Value = 0 Description
Indicates whether the drive is
B0 Ready Ready Not ready
ready or not
Indicates whether the drive is
B1 Run Running Stop
running or stopped
Indicates the rotation direc-
B2 Direction Counterclockwise Clockwise
tion of the motor
B3 Fault Faulted Not faulted Indicates if a fault is active
B4 Alarm Alarm No alarm Indicates if an alarm is active
B5 AtReference True False Reference frequency reached
B6 ZeroSpeed True False Motor running at zero speed
B7 FluxReady True False Motor is magnetized
B8-B28 Not used
Table 28:
B29 B30 B31
Description
Control place Control place Control place
0 0 1 Fieldbus
0 1 0 Keypad
0 1 1 PC tool
1 0 0 I/O terminals
The use of process data depends on the application. In a typical situation, the device is started and
stopped with the ControlWord (CW) written by the Master and the Rotating speed is set with
Reference (REF). With PD1…PD8 the device can be given other reference values (e.g. Torque
reference).
With the StatusWord (SW) read by the Master, the status of the device can be seen. Actual Value
(ACT) and PD1…PD8 show the other actual values.
6.3.3.4 ID 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.
IDMap IDs can be also configured from the panel or VaconLive PC tool. IDmap menu is located under
Modbus TCP and Modbus RTU settings. See details in chapters 5.1 and 5.2.2.
Parameter ID’s
ID
699
700
Address Data 701
10501 700
10502 702
702
10503 707 703
10504 704 704
705
706
707
9328.emf 708
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.
Tel. +358 (0) 201 2121 • Fax +358 (0)201 212 205
6
Communications vacon • 37
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 100 flash memory.
40001 Years
40002 Days
40003 Hours
40004 Minutes
40005 Seconds
40101 Years
40102 Days
40103 Hours
40104 Minutes
40105 Seconds
The last number of the Format field indicates the decimal point place in the Energy field. If the
number is bigger than 0, move the decimal point to the left by the number indicated. For example,
Energy = 1200, Format = 52. Unit = 1. Energy = 12.00kWh.
40201 Energy
40202 Format
Unit
1 = kWh
40203 2 = MWh
3 = GWh
4 = TWh
40301 Energy
40302 Format
Unit
1 = kWh
40303 2 = MWh
3 = GWh
4 = TWh
Tel. +358 (0) 201 2121 • Fax +358 (0)201 212 205
6
Communications vacon • 39
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.
Table 36. Fault history
Address Register Purpose
40401 440401
40402 440402
40403 440403
... ...
40429 440429
Example 1
In this example the speed reference of the drive is set to 50% and the drive is commanded to run.
The Process Data IN registers 2001…2003 are written to achieve this. The data to the control word
is 0001h (run request) and the data to the speed reference is 1388h (5000d). The Modbus function
used to write the values is 16 (Write Multiple Registers).
Write the process data 42001…42003 with command 16 (Preset Multiple Registers).
Command Master - Slave:
Table 37.
ADDRESS 01 hex Slave address 1 hex (= 1)
FUNCTION 10 hex Function 10 hex (= 16)
DATA Starting address HI 07 hex Starting address 07D0 hex (= 2000)
Starting address LO D0 hex
No. of registers HI 00 hex
No. of registers LO 03 hex Number of registers 0003 hex (= 3)
Byte count 06 hex Byte count 06 hex (= 6)
Data HI 00 hex Data 1 = 0001 hex (= 1). Setting control word run bit to 1.
Data LO 01 hex
Data HI 00 hex Data 2 = 0000 hex (= 0).
Data LO 00 hex
Data HI 13 hex Data 3 = 1388 hex (= 5000), Speed Reference to 50.00%
Data LO 88 hex
ERROR CRC HI C8 hex CRC field C8CB hex (= 51403)
CHECK CRC LO CB hex
Message frame:
Table 38.
01 10 07 D0 00 03 06 00 01 00 00 13 88 C8 CB
The reply to Preset Multiple Registers message is the echo of 6 first bytes.
Answer Slave - Master:
Table 39.
ADDRESS 01 hex Slave address 1 hex (= 1)
FUNCTION 10 hex Function 10 hex (= 16)
DATA Starting address HI 07 hex Starting address 07D0 hex (= 2000)
Starting address LO D0 hex
No. of registers HI 00 hex Number of registers 0003 hex (= 3)
No. of registers LO 03 hex
ERROR CRC HI 80 hex CRC 8085 hex (= 32901)
CHECK CRC LO 85 hex
Reply frame:
Table 40.
01 10 07 D0 00 03 80 85
Example 2:
In this example the actual speed and the first Process Data OUT variable of the drive is read. The
Process Data OUT registers 2103 and 2104 are read to achieve this. The Modbus function used to
read the values is 4 (Read Input Registers).
Read the Process Data 42103…42104 with command 4 (Read Input Registers).
Command Master - Slave:
Table 41.
ADDRESS 01 hex Slave address 1 hex (= 1)
FUNCTION 04 hex Function 4 hex (= 4)
DATA Starting address HI 08 hex
Starting address LO 36 hex
No. of registers HI 00 hex Number of registers 0002 hex (= 2)
No. of registers LO 02 hex
ERROR CRC HI 93 hex CRC field 93A5 hex (= 37797)
CHECK CRC LO A5 hex
Tel. +358 (0) 201 2121 • Fax +358 (0)201 212 205
6
Communications vacon • 41
Message frame:
Table 42.
01 04 08 36 00 02 93 A5
The reply to the Read Input Registers message contains the values of the read registers.
Answer Slave - Master:
Table 43.
ADDRESS 01 hex Slave address 1 hex (= 1)
FUNCTION 04 hex Function 4 hex (= 4)
DATA Byte count 04 hex Byte count 4 hex (= 4)
Data HI 13 hex Speed reference = 1388 hex (=5000 => 50.00%)
Data LO 88 hex
Data HI 09 hex Output Frequency = 09C4 hex (=2500 =>25.00Hz)
Data LO C4 hex
ERROR CRC HI 78 hexCRC field 78E9 hex (=30953)
CHECK CRC LO E9 hex
Reply frame:
Table 44.
01 04 04 13 88 09 C4 78 E9
Table 45.
ADDRESS 01 hex Slave address 1 hex (= 1)
FUNCTION 04 hex Function 4 hex (= 4)
DATA Starting address HI 17 hex Starting address 1770 hex (= 6000)
Starting address LO 70 hex
No. of registers HI 00 hex Invalid number of registers 0005 hex (= 5)
No. of registers LO 05 hex
Table 45.
ERROR CRC HI 34 hex
CHECK CRC LO 66 hex CRC field 3466 hex (=13414)
Message frame:
Table 46.
01 04 17 70 00 05 34 66
Exception response:
Answer Slave - Master:
Table 47.
ADDRESS 01 hex Slave address 1 hex (= 1)
FUNCTION 84 hex Most significant bit set to 1
ERROR CODE 04 hex Error code 04 => Slave Device Failure
ERROR CRC HI 42 hex CRC field 42C3 hex (= 17091)
CHECK CRC LO C3 hex
Reply frame:
Table 48.
01 84 04 42 C3
Tel. +358 (0) 201 2121 • Fax +358 (0)201 212 205
6
Fault tracing vacon • 45
7. FAULT TRACING
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 Drive
Info File to [email protected].
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)).
Drive does not Check communi- Is the device in Is fieldbus selected Does Master give
start from the bus cation status (par. READY state? as control place? RUN command?
5.7.3.2.1/5.8.3.2.2)
No communication
Check fieldbus Check Master’s Check termination
parameters parameters Check cabling Other bus devices
resistors
Check selected Check configura- Check that both Check cable for Check other
If the problem persists contact your local distributor.
protocol tions (Slave add- ends of the fieldbus cuts necessary devices
line have termina- (e.g. router)
ress, baudrate etc.) tion resistors
Check other field- Check correct place-
bus parameters in (chapter 4.4) ment of conductors
menu in terminals
9330.emf
loose connections
The following fault tracing diagram will help you to locate and fix some of the most usual problems.
Tel. +358 (0) 201 2121 • Fax +358 (0)201 212 205
Fault tracing
Drive does not Check communi- Is the device in Is fieldbus selected Does Master give
Fault tracing
start from the bus cation status (par. READY state? as control place? RUN command?
5.7.3.2.1/5.8.3.2.2)
Counter does not Check the led on Check parameter Use keypad to
run keypad M1.15 OR P3.2.1 monitor variable
Counter for bad Check external
frames (see Table interlockings (I/O)
3) increases
.
Counter OK
No communication
Check fieldbus Check Master’s
parameters parameters Check cabling Other bus devices
Poor
communication Check cabling Check connections
9329.emf
vacon • 47
7
vacon • 48 Quick setup
8. QUICK SETUP
Following these instructions, you can easily and fast set up your Modbus for use:
Tel. +358 (0) 201 2121 • Fax +358 (0)201 212 205
8
Annex vacon • 49
9. ANNEX
Process Data IN (Master to Slave)
Use of Process Data In variables depends on the used application. The configuration of the data is
free.
Table 51.
NOTE 1! In Vacon 100, the Motor Current scale depends on the drive size. In Vacon 100 HVAC the
Motor Current scale is always 0.1 A.
NOTE 2! In Vacon 100 HVAC, the default ID is 45 meaning "Motor Current 1 Decimal". In Vacon 100,
the default ID is 3 for Motor Current. The ID 45 can be mapped by the user to this variable also in
Vacon 100.
Document ID:
Vacon Ltd
Member of the Danfoss Group
Runsorintie 7 Rev. C
65380 Vaasa
Finland Sales code: DOC-INSMODBUS+DLUK