The following symbols should assist you in handling the instructions:
Advice, tip !
General information, note exactly !
The requirements for successful commissioning are correct selection of the device, proper planning and installation. If you have
any further questions, please contact the supplier of the device.
Capacitor discharge !
Before performing any work on or in the device, disconnect it from the mains and wait at least 15 minutes until the capacitors have
been fully discharged to ensure that there is no voltage on the device.
Automatic restart !
With certain parameter settings it may happen that the frequency inverter restarts automatically when the mains supply returns
after a power failure. Make sure that in this case neither persons nor equipment is in danger.
Commissioning and service !
Work on or in the device must be done only by duly qualified staff and in full compliance with the appropriate instructions and
pertinent regulations. In case of a fault contacts which are normally potential-free and/or PCBs may carry dangerous voltages. To
avoid any risk to humans, obey the regulations concerning "Work on Live Equipment" explicitly.
Terms of delivery
The latest edition "General Terms of Delivery of the Austrian Electrical and Electronics Industry Association" form the basis of our
deliveries and services.
Specifications in this instructions
We are always anxious to improve our products and adapt them to the latest state of the art. Therefore, we reserve the right to
modify the specifications given in this instructions at any time, particular those referring to measures and dimensions. All planning
recommendations and connection examples are non-binding suggestions for which we cannot assume liability, particularly
because the regulations to be complied depend on the type and place of installation and on the use of the devices.
Regulations
The user is responsible to ensure that the device and its components are used in compliance with the applicable regulations. It is
not permitted to use these devices in residential environments without special measures to suppress radio frequency
interferences.
Trademark rights
Please note that we do not guarantee that the connections, devices and processes described herein are free from patent or
trademark rights of third parties.
8 P01 034.00/00 HALS
Option Modbus for the frequency inverters
>pDRIVE< MX eco
This instructions describe the functions software version APSeco_A04_16 and higher
The instructions in hand cover the topics operation, parameterization and diagnostics of the >pDRIVE<MX eco Modbus interface. Moreover, the principles of the Modbus architecture and their main
components are explained in detail.
Use this instructions additionally to the device documentation "Description of functions" and
"Mounting instructions".
In order to address an inverter via fieldbus also during mains cut-off (line contactor control,
disconnecting switch, ...) the >pDRIVE< MX eco has to be supplied with an external 24 V buffer
voltage.
When using the Modbus interface only connect pins 4, 5 and 8 in order to avoid malfunction or
damage of the >pDRIVE< MX eco !
1
8 P01 034.00/00 HALS
2
Modbus
8 P01 034.00/00 HALS
3
Function Modbus
All frequency inverters of the >pDRIVE< MX eco range support the fieldbus system Modbus as standard. It is
coupled at the RJ45 socket next to the terminals (see chapter "Modbus connection", page 10).
In the Modbus network the frequency inverter is operated as slave. The used profile is designed on the basis of
the Profidrive profile VDI/VDE 3689.
Principle function
The data transfer in a Modbus network takes place via the serial device interface (RS485 2-wire) with a
master/slave method.
Only the Modbus master can send commands (request) to the other bus subscribers. Depending on the
command, the reaction (response) of the individual slave devices is either to send the desired data or to
confirm the execution of the desired operation function. During transfer of the data, request and response
constantly alternate.
The master sends commands to the slave device. This slave sends data only when prompted to do so by the
master device. The data exchange thus follows a fixed scheme. The sequence is always seen from the
viewpoint of the Modbus master.
The commands are embedded in the transferred data frame in the form of function codes. The request of the
master contains a function code that represents a command to be executed for the slave device. In the
process, the transferred data bytes contain all information required for the execution of the command. The
error check bytes enable the slave unit to check the integrity of the data received. The response of the slave
device contains the function code of the request as an "echo."
The data bytes of the response (slave to master) depend on the function code used and are provided by the
slave device. The error check bytes enable the master to check the validity of the received data.
The structure of the sent data is defined in various Modbus protocols.
In addition to the Modbus RTU (master/slave communication in binary code) there are also the formats
Modbus-ASCII and Modbus-PLUS.
The >pDRIVE< MX eco devices support the Modbus RTU protocol.
Structure of the telegram
The telegram structure of a Modbus frame always consists of the address of the slave being addressed, the
desired request code, a data field of variable length and a 16-bit CRC to guarantee data consistency.
The end of the telegram is recognized by a pause ≥ 3.5 bytes. The structure of a byte can be set using
parameter D6.12 "Modbus format".
The transfer of the telegrams takes place according to the master/slave system through the entry of the
desired slave address in confirmed form. If a value of zero is used as the slave address, the telegram applies
for all slaves (broadcast service).
The permissible address range of the individual slaves is 1...247. There may not be two or more devices with
the same address at the bus.
To set up a single-point connection (network consists of only one master and one slave), the master
can use the address 248. When using this address, the slave
which is set by D6.10.
responds independent of its address
8 P01 034.00/00 HALS
4
Slave
Request code Data CRC 16
address
1 byte 1 byte 1...126 byte 2 byte
Creating CRC 16
CRC 16 is calculated according to the following method for checking the data security:
− Initialize CRC (16-bit register) to hex FFFF
− Execution from the first to the last byte of the message:
CRC XOR <byte> → CRC
Execute (8 times)
Move CRC by 1 bit to the right
If output bit = 1, execute CRC XOR A001 hex → CRC.
End of execution
End of execution
− The CRC value which is calculated that way is initially transferred with the low-order byte and then with
the high-order byte.
Modbus functions / request code
Request code
8 P01 034.00/00 HALS
hex
03 hex Read Holding Registers No
06 hex Write Single Register Yes
08 hex Diagnostics No
17 hex Read/write multiple reg. No
Modbus function Broadcast Description Use
Reading of a single parameter
(16 bit) or a maximum of 63
parameters with consecutive
logical address
Writing of a single parameter
(16 bit)
Service for fieldbus diagnostics
(requests with subcodes)
Request for writing and reading
several words with consecutive
logical addresses
Parameterization,
Process data
ZTW + IW
Parameterization
Diagnostics
Process data
STW+SW,
ZTW + IW
Structure of the Modbus user data
The available request codes of the Modbus provide services for various tasks.
Diagnostic functions (request code hex 08)
Using the request code 08 hex and its subcodes, bus-specific information can be read in order to evaluate the
quality of transmission statistically.
5
Request telegram Master → >pDRIVE< MX eco
Slave
address
Request Subcode Request data CRC 16
08 hex Hi Lo Hi Lo Lo Hi
1 byte 1 byte 2 bytes 2 bytes 2 bytes
Response telegram >pDRIVE< MX eco → Master
Slave
address
Response Subcode Response data CRC 16
08 hex Hi Lo Hi Lo Lo Hi
1 byte 1 byte 2 bytes 2 bytes 2 bytes
Subcode Request data Response data Description
00 XX YY XX YY The request causes an echo at the respective slave.
The response telegram of the slave is a copy of the
request telegram.
0A 00 00 00 00 Reset counter
0C 00 00 = actual value of the
counter
0E 00 00 = actual value of the
counter
Reading out the CRC Error Message counter
(number of the faulty received telegrams)
Reading out the telegram counter
(number of the telegrams received from the slave,
independent of the type of telegram)
Parameterization of the >pDRIVE< MX eco (request code hex 03, 06)
By means of the services Read (03 hex) and Write (06 hex) of parameters all inverter-internal parameters can
be accessed via their logical address.
For details, see chapter "Parameterization", page 31.
Monitoring and control of the >pDRIVE< MX eco (request codes hex 03, 17)
By means of the services Read (03 hex) and Write/Read (17 hex) of multiple registers access to device-internal
addresses of the control word and status word as well as to the available reference values and actual values is
possible.
Therewith pure monitoring as well as complete control of the >pDRIVE< MX eco is possible. The deviceinternal drive profile is designed on the basis of the Profidrive profile (VDI/VDE 3689).
Unlike the telegram structure predefined by the Profidrive profile (PPO types 1...5), the lengths of the telegrams
can be freely defined for both directions (master → slave / slave → master) in Modbus. As a result the telegram
length can be optimized according to the existing requirements of the process.
Example of a Modbus user data telegram
8 P01 034.00/00 HALS
6
Master → >pDRIVE< MX eco
For control of the >pDRIVE< MX eco the addresses 51D...526 hex are used. The number of the inverter-internal
and actually used reference values can be preset by means of parameter D6.100 "No. of Bus-ref. values". The
reference values are configured by means of parameters D6.101...D6.133.
The addresses FA...103 hex are used to read out information provided by the >pDRIVE< MX eco like status
word and actual values. The number of the inverter-internal and actually handled actual values can be preset
by means of parameter D6.137 "Number actual values". The actual values are configured by means of
parameters D6.138...D6.170.
PZD … Process data word
ZTW … Status word, 16 bit chain of commands. (11 bits corresponding to Profidrive profile, 5 bits freely
usable)
8 P01 034.00/00 HALS
IW … Actual value, 16 bit display, -200...+200 %, resolution 2-14
A detailed description of the control word and status word can be found in chapter "Process data
area", page 16.
7
Structure of the network
The typical Modbus topology corresponds to an RS485 2-wire serial bus network with drop lines. The
individual subscribers are connected using a 2-wire, screened twisted cable (typ. Cat 5), whereby only the
signals D1, D2 and Common are connected.
According to the Modbus recommendations, both bus lines are to be connected with one 650 Ω resistor
against 5 V and ground when installing the master. At both ends of the bus segment, the bus cable is to be
terminated with a 120 Ω resistor and a serially connected 1 nF capacitor.
At every bus segment, a maximum of 32 subscribers (including repeater) can be operated. The maximum line
extension amounts to 1000 m at 19.2 kBaud. Principally, the drop lines must be kept as short as possible
(max.. 20 m for a single line, 40 m in total in case of centralized distribution).
Technical key data of a Modbus network
Maximum number of subscribers: 247 in all segments
Maximum number of subscribers per segment: 32 including the repeater
Bus cable: Screened, 2 x twisted, two-wire line
Bus connection: RJ45 - screened, pin assignment 4, 5, 8
Bus termination: Every bus segment has to be terminated using a serial
connection of R = 120 Ω and C = 1 nF.
Galvanic isolation: No
Detailed information regarding the Modbus specification can also be found under www.modbus.org
(Modbus_over_serial_line_V1.pdf Edition 2002).
8 P01 034.00/00 HALS
8
Hardware
8 P01 034.00/00 HALS
9
Modbus connection
Plug assignment
Pin assignment of the RJ45 device interface
Pin Signal
Socket
*) CANopen signals
**) Supply voltage for the Matrix 3 interface converter RS232/485 (8 P01 124)
The RJ45 socket (in the duct next to the control terminals) can be used as serial interface for the fieldbus
systems Modbus and CANopen as well as to couple the PC software Matrix 3. When building up a Modbus
network, only the signals of pins 4, 5 and 8 may be used.
1 CAN_H *)
2 CAN_L *)
3 CAN_GND *)
4 D1
5 D0
6 Not used
7 VP **)
8 Common *)
8 P01 034.00/00 HALS
10
Consequently, connection is possible in two different ways:
1. Using the optional Modbus T-adapter
The Modbus T-adapter provides two RJ45 sockets for further bus wiring. On both
sockets, which are connected in parallel, only pins 4, 5 and 8 are connected so that
also pre-assembled cables (1:1 connection) can be used.
The Modbus T-adapter is available in two different lengths.
8 P01 300 Modbus T-adapter with 0.3 m connecting cable
8 P01 301 Modbus T-adapter with 1 m connecting cable
Example of a bus structure with T-adapter:
2. Using the optional Modbus splitter or an external junction box
When no Modbus T-adapter is used, please ensure that only the three pins
4, 5 and 8 at the RJ45 connector of the bus connection are connected.
Using the PHOENIX CONTACT VARIOSUB RJ45 QUICKON connector is a
8 P01 034.00/00 HALS
simple and capable solution to establish a connection between the bus
subscriber and the Modbus splitter.
Cable LAPPKABEL, UNITRONIC® BUS FD P LD, 2x2 x0.22
When using the Modbus interface only connect pins 4, 5 and 8 in order to avoid malfunction or
damage of the >pDRIVE< MX eco !
8 P01 034.00/00 HALS
12
LED - Indicator lamps
Typically the diagnostics of the Modbus connection is executed by means of the matrix operating panel BE11.
If no operating panel is available, the actual bus state can be read out also using the built-in LED keypad.
LED flashes proportional to the number of the incoming and outgoing telegrams
13
8 P01 034.00/00 HALS
14
Process data area
8 P01 034.00/00 HALS
15
Process data area
The exchange of process data takes place using the Modbus request telegram code 17 hex. Therefor the
status word with 1...9 actual values is sent as a response telegram to the master when the inverter receives a
data telegram (consisting of the control word and 1...9 reference values). Typically, these telegrams are sent by
the master cyclically to the individual slaves. The achievable cycle time depends on the bus structure, the
number of bus subscribers and the transmission rate. Inside the inverter, the data are processed in a
background task (typically 10...50 ms).
Example of a process data telegram to the slave with address 10
Read process data: Status word + 6 actual values, log. address of ZTW 250 dec = 00FA hex
Write process data: Control word + 1 reference value, log. address of STW 1309 dec = 051D hex
STW= 047F, SW=4000 hex (100 %)
If the Modbus should be used only for monitoring purposes, the "Read Holding Registers" (Multiple
Read) code 03 hex telegram should be used.
8 P01 034.00/00 HALS
In special cases, the individual access to the respective elements of the
commands 03 hex, 06 hex, and 10 hex.
process data is possible using
The design of the device-internal drive profile is based on the Profidrive profile (VDI/VDE 3689). The
standardized information of the control and status word (bits 0...10) require no further inverter-internal settings.
The reference use, the assignment of actual values and the use of the free bits (11...15) must be adjusted
accordingly in matrix field "D6 Fieldbus".
Also see chapter "Structure of the Modbus user data", page 5.
17
Control word
Assignment
Bit 15 Bit 14 5 freely configurable Bit 13 control bits for internal or external Bit 12 frequency inverter commands
Bit 11 Bit 10 Control O.K. No control
Bit 9 – –
Bit 8 – –
Bit 7 Reset –
Bit 6 Release reference value Lock reference value
Bit 5 Release ramp integrator Lock ramp integrator
Bit 4 Release ramp output Lock ramp output
Bit 3 Release operation Lock operation
Bit 2 Operating condition OFF 3 (Fast stop)
Bit 1 Operating condition OFF 2 (Impulse inhibit)
Bit 0 On OFF 1
High = 1 Low = 0
8 P01 034.00/00 HALS
18
Description of control word bits
Bit Value Meaning Note
0 1 ON
0 OFF 1
1 1 Operating condition
0 OFF 2
(Impulse inhibit)
2 1 Operating condition
0 OFF 3
8 P01 034.00/00 HALS
− Is accepted when the drive state is "1 .. Ready to switch on" and
changes to drive state "3 Ready to run" if the DC link is
charged.
− At active line contactor control: Change to drive state
"2 .. Charge DC link", after successful charging the drive state
changes to "3 .. Ready to run".
− When the command has been accepted, the drive state changes
to "13 .. OFF 1 active" and thus the drive is shut down along the
deceleration ramp.
− When the output frequency reaches zero Hz: the drive state
changes from "0 .. Not ready to switch on" to "1 .. Ready to switch on" if the basic state (bit 1 = 0, bit 2 = 1, bit 3 = 1 and bit
10 = 1) is present.
− If a renewed OFF 1 (On) command occurs during deceleration,
the inverter tries to reach the given reference value along the
acceleration ramp. Thereby the drive state changes to "7 .. Run".
− At active line contactor control, the line contactor is switched off
if the drive state changes to "1 .. Ready to switch on".
"OFF 2" command canceled
− When the command has been accepted, the inverter will be
locked and the drive state changes to "19 .. Lock switching-on".
− At active line contactor control the main contactor is switched
off.
− If the basic state (bit 1 = 0, bit 2 = 1, bit 3 = 1 and bit 10 = 1) is
given, the drive state changes to "1 .. Ready to switch on".
The OFF 2 command can also be triggered by means of the
terminal function Impulse enable !
"OFF 3" command canceled
− When the command has been accepted, the drive state changes
to "14 .. OFF 3 active" and the drive is shut down as quickly as
possible with maximum current and maximum DC link voltage.
− When the output frequency reaches zero Hz, the drive state
changes to "19 .. Lock switching-on".
− Thereby, at active line contactor control the main contactor is
switched off. If the OFF 3 command (bit 2 = 1) is canceled during
deceleration, fast stop is executed all the same.
19
Bit Value Meaning Note
3 1 Operation released When the command has been accepted, the inverter is released (Impulse
enable) in drive state "3 .. Ready to run" and afterwards the drive state
changes to "4 .. Operation released".
0 Lock operation
− When the command has been accepted, the inverter will be locked
and the drive state changes to "3 .. Ready to run".
− If the drive state is "13 .. OFF 1 active", the inverter will be locked and
the drive state changes to "0 .. Not ready to switch on".
− Thereby, at active line contactor control the main contactor is
switched off.
− If the basic state (bit 1 = 0, bit 2 = 1, bit 3 = 1 and bit 10 = 1) is given,
the drive state changes to "1 .. Ready to switch on".
− If the drive state is "14 .. OFF 3 active", the procedure is executed all
the same !
4 1 Release ramp output
Drive state "5 .. Ramp output released"
0 Lock ramp output When the command has been accepted, the output of the ramp function
generator is set to zero. The drive stops with maximum current and
maximum DC link voltage.
The drive state changes to "4 .. Operation released".
5 1 Release ramp
Drive state "6 .. Ramp output released"
integrator
0 Stop ramp integrator When the command has been accepted, the output of the ramp function
generator is set to zero. The drive stops with maximum current and
maximum DC link voltage.
The drive state changes to "4 .. Operation released".
6 1 Release reference
value
When the command has been accepted, the given reference value at the
input of the ramp function generator is released. The drive state changes
to "7 .. Run".
0 Lock reference value When the command has been accepted, the input of the ramp function
generator is set to zero. As a result the drive decelerates along the set
ramp.
The drive state changes to "6 .. Ramp released".
7 1 Reset
− The reset command is accepted at the positive edge when the drive
state is "20 .. Fault".
− If there is no fault anymore, the drive state changes to "19 .. Lock
switching-on".
− If a fault is still remaining the drive state is furthermore "20 .. Fault".
The reset command can also be triggered by means of the terminal
function "Ext. reset" as well as by means of the Stop/Reset key on the
keypad.
0 no meaning
8 P01 034.00/00 HALS
20
Bit Value Meaning Note
8 1 Jog 1 start Command not provided
0 Jog 1 off Command not provided
9 1 Jog 2 start Command not provided
0 Jog 2 off Command not provided
10 1 Control O.K. When the command has been accepted, the DP slave is controlled
via the bus interface. The process data become valid.
This bit must be set in order to accept control commands and/or
the free bits as well as analog signals !
0 No control
− When the command has been accepted, all data are processed
depending in status bit 9 "Control requested". Control requested
== 1 → Behaviour according to bus fault
− If the DP slave requests control furthermore, the frequency
inverter switches over to fault state with the fault message
BUS_COMM2 (depending on the setting of parameter D6.03
"Bus error behaviour").
In this case an alarm message is always set !
Control requested == 0 → Data to 0 ! → only I/O or panel
operation
8 P01 034.00/00 HALS
21
Summary of the most important control commands
Function
ON
Start with controlled
acceleration
OFF 1
Stop according to the set
deceleration ramp
OFF 2
Impulse inhibit
(free-wheeling)
OFF 3
Emergency stop
(deceleration at current or DC
link voltage limit)
Binary Hexadecimal
0000010001111111
Control word
47F
0000010001111110
corresponds with the
"basic state"
47E
0000010001111101
results in drive state
Lock switching-on !
47D
0000010001111011
results in drive state
Lock switching-on !
47B
Reset
Use of a free bit (e.g. 13)
during operation
Canceling
"Lock switching-on"
Basic state
start command
xxxxx1xx1xxxxxxx
0000010001111111
+0010000000000000
0010010001111111
"15 Lock switching-on"
0000010001111110
0000010001111111
e.g. 480
47F
+2000
247F
8 P01 034.00/00 HALS
e.g.:
47E
47F
22
Simplified state machine
For standard control with the commands:
− Start / Stop along the inverter-internal acceleration / deceleration ramps
− Impulse inhibit
− Emergency stop
− Reset of a fault
8 P01 034.00/00 HALS
The commands Impulse inhibit (OFF 2), Fast stop (OFF 3) as well as a fault which has been reset
always result in drive state "Lock switching-on" !
In order to reach drive state "Run" it is necessary to send the basic state (bit 0 = 0, bit 1, 2 = 1) before
transmitting the start command (bit 0 = 1).
After connecting the mains (bootup of the drive) the basic state (bit 0 = 0, bit 1, 2 =1) must be provided
in order to reach drive state "Ready to switch on".
23
State machine Profidrive
Bootup
Not ready to switch on
0
Control OK +
OFF1 + basic state
Ready to switch on
1
ON
Charge DC link
2
Hardware Ready
Ready to run
3
Hardware
Not Ready
Lock operation
OFF 1
ON after OFF1
19
13
On +
released
Lock switching-on
Lock
operation
fis0
OFF 1 active
OFF 1
fis0
OFF 3 active
14
OFF 3
OFF 2
No
fault
20
Fault
Fault
All states
also OFF 3!
Release operation
4
Operation released
Release ramp output
5
Ramp output released
Release ramp
6
Ramp released
Release SWLock SW
Run
7
Ramp hold
Lock operation
Lock
ramp output
8 P01 034.00/00 HALS
Top priorityLowest priority
24
Main reference value (Auxiliary reference values)
Depending on the setting of parameter D6.100 "No. of Bus-ref. values", 1...9 reference values are available in
the Modbus user data protocol. The meaning of the individual reference value words (16 bits each) is defined
by parameterization of the >pDRIVE< MX eco using the Matrix surface.
The reference values can be divided into two groups:
− inverter-internal reference values like e.g. f-reference, PID actual/reference value and suchlike (according
to the reference use)
− forwarding to the analog outputs for external use, without influencing the inverter control (bit 10 STW
must be 1 !).
The reference values are linear scaled values with 16 bit display.
That is: 0 % = 0 (0 hex), 100 % = 214 (4000 hex)
-14
Therefrom a presentable data range of -200...+200 % with a resolution of 2
% Binary Hexadecimal Decimal
199.9939 01111111 11111111 7FFF 32767
100.0000 01000000 00000000 4000 16384
0.0061 00000000 00000001 0001 1
0.0000 00000000 00000000 0000 0
-0.0061 11111111 11111111 FFFF -1
-100.0000 11000000 00000000 C000 -16384
-200.0000 10000000 00000000 8000 -32768
The reference values are scaled by means of parameterization in matrix field D6. All reference values are
scaled in Hz or %.
(0.0061 %) results.
Using bits 11...15 of the control word
8 P01 034.00/00 HALS
According to the Profibus profile bits 11...15 are not defined and therefore they can be freely used by the user.
When the frequency inverter is parameterized appropriate, this digital information can be used
− for inverter-internal control signals (corresponding to the use of the digital inputs) or
− totally separated from the inverter functions in order to transmit information using the digital outputs of
the frequency inverter (bit 10 STW must be 1 !).
This additional information (bit 11...15) are added to the control word in the corresponding numerical format.
Use Free control bits Possible reference values
Inverter – "internal" f-reference 2
2nd ramp
External fault
PID active
Mains ON(OFF)
f-reference 1
f-reference 2
f-correction
PID ref. value
PID actual value
...
(for the complete list see matrix filed D6)
Inverter – "external" Relay and digital outputs of the basic card
or the option card IO11 or IO12
Analog output of the basic card or
the option card >pDRIVE< IO12
25
Loading...
+ 61 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.