08/2001
Manual
1052 1410 / EN
Contents
1 System Overview .............................................................................................. 4
2 Unit Design ........................................................................................................ 5
2.1 Front view ................................................................................................. 5
3 PROFIBUS Interface.......................................................................................... 6
3.1 Installation notes ....................................................................................... 6
3.2 Startup of Profibus DP Master .................................................................. 9
3.3 Configuration of the Profibus DP interface................................................ 9
3.4 Ident number ........................................................................................... 14
3.5 Inverter control ........................................................................................ 15
3.6 Setting parameters via PROFIBUS DP................................................... 16
3.7 Parameter setting of return codes........................................................... 19
3.8 Special cases .......................................................................................... 20
4 Installation and Operation with Autosetup ................................................... 22
4.1 Autosetup ................................................................................................ 22
4.2 Installation and cabling ........................................................................... 23
4.3 Setting the inverter parameters............................................................... 23
4.4 Autosetup ................................................................................................ 24
4.5 Project planning of the fieldbus master ................................................... 25
4.6 Starting the inverters ............................................................................... 26
5 Installation and Operation with PC................................................................ 27
5.1 Installation and cabling ........................................................................... 27
5.2 Setting the inverter parameters............................................................... 27
5.3 Startup software ...................................................................................... 27
5.4 Project planning of the fieldbus master ................................................... 28
5.5 Starting the inverters ............................................................................... 29
6 Error responses .............................................................................................. 30
6.1 Fieldbus Timeout .................................................................................... 30
6.2 SBUS Timeout ........................................................................................ 30
6.3 Device error ............................................................................................ 30
7 Diagnostics LEDs............................................................................................ 31
7.1 States of the "RUN" LED (green) ............................................................ 31
7.2 States of the "BUS-FAULT" LED (red).................................................... 31
7.3 States of the "SYS-FAULT" LED (red) .................................................... 32
7.4 States of the "USER" LED (green).......................................................... 32
8 DIP Switches.................................................................................................... 33
8.1 Adjusting the station address .................................................................. 33
9 Operating the Interface ................................................................................... 34
10 List of Errors.................................................................................................... 37
11 Technical Data ................................................................................................. 39
12 Dimension Drawing......................................................................................... 40
13 Index ................................................................................................................. 41
System Overview
System Overview
The UFP11A PROFIBUS DP fieldbus interface is used for connecting inverters with the
PROFIBUS DP. Several inverters can be connected to the UFP11A PROFIBUS DP
interface via the SBus. The UFP11A PROFIBUS interface establishes the connection
between PROFIBUS DP and SBus.
05109AXX
Unit Design
Unit Design
2.1
Front view
04888AXX
X1
X2
X3
S1
RUN
BUS-F
SYS-F
USER
PROFIBUS Interface
PROFIBUS Interface
3.1
Installation notes
Installation
The unit can be installed directly onto the wall of a switch cabinet by using the
preassembled DIN rail mounting option or the four drilled holes on the back of the
housing. In the latter case, you will have to remove the two mounting screws of the DIN
rail mounting option. You can connect any additional units (e.g., MOVITRAC 07) the
best way you seem to see fit taking into consideration the maximum line length and the
fact that the gateway must be installed at the end or the beginning of the system bus
(SBus). For the same reason, we recommend you take the spatial aspects into account.
The UFP must receive an additional HF-capable ground if the DIN rail mounting option
is used with an SBus line length of more than 1 m.
Connector
assignment
[2]
[1]
RxD/TxD-P (B/B)
RxD/TxD-N (A/A)
CNTR-P
DGND (M5V)
VP (P5V)
DGND (M5V)
3
8
4
5
6
9
[3]
01222DXX
Figure 3: Assignment of 9-pole Sub-D connector X3 according to EN 50170 ([1] = 9-pole Sub-D
connector; [2] = twisted signal lines; [3] = conductive connection between connector
housing and shielding
PROFIBUS Interface
Connection
04848AXX
MOVITRAC 07
GND = System bus Reference
SC22 = System bus outgoing Low
SC21 = System bus outgoing High
SC12 = System bus incoming Low
SC11 = System bus incoming High
S12 = System bus Terminating resistor
Please note:
Use a 2-core twisted and shielded copper cable (data transfer cable with shield
consisting of copper braiding). Connect the shield with a wide-area contact at the
electronics terminal of MOVITRAC 07 or UFP11A and also connect the shield ends
to GND. The cable must meet the following specifications (CAN bus or DeviceNet
cables are suitable):
Core cross-section 0.75 mm2 (AWG18)
Cable resistance 120 at 1 MHz
Capacitance per unit length 40 pF/m (12 pF/ft) at 1 kHz
The approved total cable length depends on the specified SBus baud rate:
250 kBaud:
500 kBaud:
1000 kBaud:
PROFIBUS Interface
24 V connection
Connect the system bus terminating resistor (S12 = ON) at the end of the system bus
connection. Disconnect the terminating resistor (S12 = OFF) at the other devices.
The UFP11A gateway must always be connected either at the beginning or the end
of the system bus connection and feature a permanently installed terminating
resistor.
No potential displacement may occur between the units connected with the SBus.
Avoid a potential displacement using appropriate measures, such as connecting the
unit ground with a separate line.
Shielding and
routing of bus
cables
The PROFIBUS interface supports the RS-485 communications protocol and requires
cable type A specified for PROFIBUS in accordance with EN 50170 as shielded twistedpair cable for the physical connection.
Professional shielding of the bus cables attenuates electrical interference that may
occur in industrial environments. The following measures will result in the best shielding
properties:
Fasten the mounting screws on the connectors, modules and equipotential bonding
conductors by hand.
Connect the shielding in the connector with the greatest possible surface area.
Do not route signal and bus cables parallel to line cables (motor leads). They must
be routed in separate cable ducts.
Route the signal cable and the corresponding equipotential bonding in close
proximity using the shortest way possible.
In case of fluctuations in the earth potential, a compensating current may flow via the
bilaterally connected shield that is also connected to the protective earth (PE). Make
sure you supply adequate equipotential bonding according to relevant VDE regulations
in such a case.
Bus termination
A bus termination is not provided with the UFP electronics. If the UFP module is used
as the first or the last device of the PROFIBUS line, the bus termination has to be
external. We recommend PROFIBUS connectors with integrated bus termination that
open the continuing bus in case the bus termination is connected.
PROFIBUS Interface
3.2
3.3
Install the "SEW_6004.GSD" GSD file according to the requirements of the project
planning software for the DP master. After successful installation, the "UFP" device
appears at the slave participants.
Insert the fieldbus interface into the PROFIBUS structure under the name "UFP" and
assign the PROFIBUS address.
Select the process data configuration required for your application (see next section).
Enter the I/O or peripheral addresses for the configured data widths.
Expand your application program by the data exchange with the fieldbus interface.
In case of S7, use the system functions for consistent data exchange for this purpose
(SFC14 and SFC15).
The BUS-FLT LED of the fieldbus interface should extinguish after you have saved
the project, loaded it in the DP master and started the DP master. If this is not the
case, please check cabling and terminating resistors of the PROFIBUS and the
project planning, especially the PROFIBUS address.
General
information
the inverter must be given a specific DP configuration by the DP master to define type
and number of input and output data used for the transmission. It allows for the
opportunity to control the drives via process data and to read or write all parameters of
the fieldbus interface via parameter channel.
The figure shows a schematic view of the data exchange between automation device
(DP master), fieldbus interface (DP slave) and an inverter with process data channel and
parameter channel.
MOVITRAC 07
DP Master
PROFIBUS
PARA DATA
SBUS
PRC DATA
PRC DATA
UFP
PARA DATA
PRC DATA
PRC DATA
50391AXX
Figure 5: Data exchange with parameter data (PARA DATA) and process data (PRC DATA)
PROFIBUS Interface
Process data
configuration
The fieldbus interface allows for different DP configurations for the data exchange
between DP master and fieldbus interface. The following table gives additional details
on all standard DP configurations of the fieldbus interfaces. The Process data
configuration column shows the name of the configuration. These texts also appear as
a selection list in the project planning software for the DP master. The DP
configurations column shows the type of configuration data sent to the fieldbus
interface while the link to PROFIBUS DP is being established. The configurations are
determined by the default process data width for SEW inverters of 3 process data words.
In the simplest case, the controller transmits 3 process data words to each inverter
connected to the fieldbus interface. The fieldbus interface then distributes these process
data words to the individual devices. The parameter channel is used for setting the
parameters of the UFP and is not passed on to the lower-level participants. The fieldbus
interface accepts 1 ... 24 process data words with and without parameter channel.
The standard entries of the GSD file are based on the UFP Autosetup operating mode
and allow process data widths of 3PD ... 24PD according to 1 ... 8 inverters connected
to the fieldbus interface.
10
The configurations under "ONE module for all drives" do not contain any parameter
channels. The transmission of process data is carried out in one consistent data block
for all inverters connected to the fieldbus interface. Thus, only system functions SFC14
and SFC15 need to be executed in Step 7.
UFP parameter +
ONE module
The configurations under "UFP parameter + ONE Module" correspond to those listed
above. The parameter module that allows for a parameter setting of the UFP with eight
(8) consistently transmitted bytes will be processed first.
The configurations under "One module per drive" do not contain any parameter
channels. One consistent data block exists for each connected inverter. From the
controller side, this corresponds to the existing setup of several inverters with their own
fieldbus interface. Thus, system functions SFC14 and SFC15 need to be executed for
each inverter in Step 7.
UFP parameter +
One module per
drive
The configurations under "UFP parameter + One module per drive" correspond to
those listed above. The parameter module which allows for a parameter setting of the
fieldbus interface using eight (8) consistently transmitted bytes will be processed first.
PROFIBUS Interface
Process data
configuration
Meaning / Notes
242
AS 2 Drives (6 PD)
245
AS 3 Drives (9 PD)
248
AS 4 Drives (12
PD)
251
AS 5 Drives (15
PD)
254
AS 6 Drives (18
PD)
192
209
209
AS 7 Drives (21
PD)
192
212
212
AS 8 Drives (24
PD)
192
215
215
243
242
AS 2 Drives
(Param + 6PD)
243
245
AS 3 Drives
(Param + 9PD)
243
248
AS 4 Drives
(Param + 12PD)
243
251
AS 5 Drives
(Param + 15PD)
243
254
AS 6 Drives
(Param + 18PD)
243
192
209
209
AS 7 Drives
(Param + 21PD)
243
192
212
212
AS 7 Drives
(Param + 24PD)
243
192
215
215
11
PROFIBUS Interface
Process data
configuration
Meaning / Notes
242
AS 2 Drives (2 x
3PD)
242
242
AS 3 Drives (3 x
3PD)
242
242
242
AS 4 Drives (4 x
3PD)
242
242
242
242
AS 5 Drives (5 x
3PD)
242
242
242
242
242
AS 6 Drives (6 x
3PD)
242
242
242
242
242
242
AS 7 Drives (7 x
3PD)
242
242
242
242
242
242
242
AS 8 Drives (8 x
3PD)
242
242
242
242
242
242
242
242
12
AS 1 Drive (Param
+ 1 x 3PD)
243
242
AS 2 Drives
(Param + 2 x 3PD)
243
242
242
AS 3 Drives
(Param +3 x 3PD)
243
242
242
242
AS 4 Drives
(Param +4 x 3PD)
243
242
242
242
242
AS 5 Drives
(Param +5 x 3PD)
243
242
242
242
242
242
AS 6 Drives
(Param + 6 x 3PD)
243
242
242
242
242
242
242
AS 7 Drives
(Param + 7 x 3PD)
243
242
242
242
242
242
242
242
AS 8 Drives
(Param + 8 x 3PD)
243
242
242
242
242
242
242
242
242
PROFIBUS Interface
"Universal Module"
DP configuration
The "Universal Module" (e.g. in STEP7) allows you to set the parameters of the fieldbus
interface deviating from the preset standard values of the GSD file. This is useful in case
you want to operate several inverters with different process data words at the fieldbus
interface.
You must observe the following conditions:
Module 0 defines the parameter channel of the inverter. Entering 0 will switch off the
parameter channel; entering 243 will switch on the parameter channel with 8 bytes
length.
The following modules determine the process data width of the fieldbus interface at
the PROFIBUS. The added process data width of all following modules must be
between 1 and 24 words. For safety reasons, the modules must be listed with data
integrity. Make sure that an inverter connected to the fieldbus interface is
represented by such a consistent module entry.
The following figure shows the structure of the configuration data defined in EN
50170(V2). These configuration data are transmitted to the inverter during the initial start
of the DP master.
Table 1: Format of the identifier byte Cfg_Data according to EN 50170 (V2)
7 / MSB
0 / LSB
Data length
0000 = 1 byte/word
1111 = 16 bytes/words
Input/output
00 = special identifier formats
01 = input
02 = output
11 = input/output
Format
0 = byte structure
1 = word structure
Integrity over
0 = byte or word
1 = complete length
Note:
Use only the setting "Integrity over entire length" for data transmission!
13
PROFIBUS Interface
Data integrity
Integral data are those data that must always be transmitted consistently between
automation device and inverter and may never be transmitted separately.
Data integrity is especially important for the transmission of positioning values or
complete positioning tasks. Inconsistent transmission may contain data from different
program cycles of the automation device and transfer undefined values to the inverter.
For PROFIBUS DP, the data communication between automation device and drive
engineering devices is generally carried out with the setting Data integrity over entire
length.
External
diagnostics
The fieldbus interface does not support external diagnostics. Error messages of the
individual inverters are indicated by the corresponding status words. Error states of the
fieldbus interface are also displayed on status word 1, e.g. timeout of the SBUS
connection to a participant.
Upon request, the fieldbus interface provides the standard diagnostics in accordance
with EN 50170 V2.
Note on Simatic S7
Master Systems
3.4
Diagnostic alarms may also be triggered by the PROFIBUS DP system in the DP master
even if the external diagnostic generation is deactivated. As a result, the corresponding
operating blocks (e.g. OB84 for S7-400 or OB82 for S7-300) should always be created
in the controller.
Ident number
Each DP master and DP slave must feature an individual ident number assigned by the
PROFIBUS user group for unique identification of the attached device. When the
PROFIBUS DP master is started up, it compares the ident numbers of the connected
DP slaves with the ident numbers configured by the user. The user data transfer will only
be activated after the DP master has ensured that the connected station addresses and
device types (ident numbers) correspond to the project planning data. This procedure
achieves a high degree of safety with respect to project planning errors.
The ident number for the UFP11A fieldbus interface is 6004hex.
The ident number is defined as an unsigned 16-bit number (Unsigned16). The
PROFIBUS user group specified ident number 6004 hex (24580 dec) for the UFP11A
fieldbus interface.
14
PROFIBUS Interface
3.5
Inverter control
The inverter control takes place via the process data channel which is one, two or three
I/O words in length. These process data words may be mapped in the I/O or peripheral
area of the controller in case a programmable controller is used as DP master and can
be addressed as usual.
PAW318
PAW316
PAW314
PAW312
PAW310
PAW308
PAW306
PAW304
PAW302
PAW300
PA 3
PA 2
PA 1
PA 3
PA 2
PA 1
[1]
UFP
[2]
[1]
PEW318
PEW316
PEW314
PEW312
PEW310
PEW308
PEW306
PEW304
PEW302
PEW300
PA 1
PA 2
PA 3
PA 1
U/f 1
PE 1
PE 2
PA 2
PA 3
U/f 2
PE 3 PE 1
PE 2
PE 3
PE 3
PE 2
PE 1
PE 3
PE 2
PE 1
50394AXX
Figure 6: Mapping of PROFIBUS data in the PLC address range ([1] = parameter channel / [2] =
PLC address range / U/f = inverter)
15
PROFIBUS Interface
Control example
for Simatic S7
The inverter control via Simatic S7 takes place in dependence of the selected process
data configuration, either directly via load and transfer commands or via the special
system functions SFC 14 DPRD_DAT and SFC15 DPWR_DAT.
In principle, data lengths with 3 bytes or more than 4 bytes must be transmitted via
system functions SFC14 and SFC15 for S7. Thus, the following table applies:
STEP7
programming
example
3.6
Process data
configuration
1 PD
Load/transfer command
2 PD
Load/transfer command
3 PD ... 24 PD
Param + 1 PD
Param + 2 PD
Param + 3 PD ...
24 PD
Structure of the
parameter
channel
The access to the UFP11A parameters for PROFIBUS DP is carried out via the
"Parameter Process data Object" (PPO). This PPO is transmitted cyclically and contains
the process data channel as well as a parameter channel that can be used to exchange
acyclical parameter values.
[1]
[2]
[1]
[2]
01065CXX
Figure 7: Communication via PROFIBUS DP with parameter channel [1] and process data
channel [2]
16
PROFIBUS Interface
The following table shows the structure of the parameter channel. It basically consists
of a management byte, an index word, a reserved byte and four data bytes.
Table 2: Structure of the parameter channel
Byte 0
Admin
Administration of
the parameter
channel
Byte 1
Byte 2
Byte 3
Byte 4
Index High Index Low MSB data
Reserved
Parameter index
Byte 5
Byte 6
Data
Data
4-byte data
Byte 7
LSB data
The entire parameter adjustment process is coordinated with the administration byte 0.
This byte makes available important parameters, such as service identifier, data length,
version and status of the executed service. The following table shows that bit 0, 1, 2 and
3 contain the service identifier, thereby defining which service is executed. Bit 4 and bit
5 specify the data length in byte for the write service which generally should be set to 4
bytes for SEW slaves.
Table 3: Structure of the administration byte
7 / MSB
0 / LSB
Service identifier
0000 = No service
0001 = Read parameter
0010 = Write parameter
0011 = Write parameter volatile
0100 = Read minimum
0101 = Read maximum
0110 = Read default
0111 = Read scale
1000 = Read attribute
Data length
00 = 1 byte
01 = 2 bytes
10 = 3 bytes
11 = 4 bytes (must be set!)
Handshake bit
must be changed with each new task for cyclical transmission
Status bit
0 = no error in service execution
1 = error in service execution
Bit 6 serves as handshake between controller and slave. It triggers the execution of the
transferred service in the inverter. Since the parameter channel is transferred in each
cycle along with the process data for PROFIBUS DP, the execution of the service in the
inverter must be edge-triggered by handshake bit 6. The value of this bit is toggled each
time a new service is to be executed. The slave uses the handshake bit to signal
whether the service has been executed or not. The service is executed as soon as the
controller notices that the received and transmitted handshake bits are identical. Status
bit 7 indicates whether the service was executed properly or if it produced an error.
17
PROFIBUS Interface
Index addressing
"Byte 2: Index High" and "byte 3: Index Low" are used to identify the parameter to be
read or written via the fieldbus system. The parameters of an SEW slave are addressed
with a uniform index independent of the connected fieldbus system. Byte 1 should be
considered reserved and must generally be set to 0x00.
Data area
As shown in the following table, the data is contained in byte 4 through byte 7 of the
parameter channel. This allows a maximum of 4 byte data to be transmitted for each
service. The data is generally entered flush right, i.e. byte 7 contains the least significant
data byte (LSB data), byte 4 correspondingly the most significant data byte (MSB data).
Table 4: Definition of the data area in the parameter channel
Byte 0
Admin
Faulty service
execution
Byte 1
Byte 2
Byte 3
Byte 4
Byte 5
Byte 6
Byte 7
Reserved Index High Index Low MSB data
Data
Data
LSB data
High byte Low byte 1 High byte Low byte 2
1
2
High word
Low word
Double word
Faulty service execution is signaled by setting the status bit in the administration byte.
If the received handshake bit is identical to the transmitted handshake bit, the slave has
executed the service. If the status bit indicates an error, the error code is entered in the
data area of the parameter message. Bytes 4 through 7 provide the return code in a
structured format (see Return Codes section).
Table 5: Structure of the parameter channel in the event of faulty service execution
Byte 0
Admin
Byte 1
Byte 2
Byte 3
Byte 4
Byte 5
Byte 6
Byte 7
Reserved Index High Index Low Error Class Error Code Add. Code Add. Code
High
Low
Status bit = 1: Faulty service execution
18
PROFIBUS Interface
3.7
error class
error code
additional code
A detailed description of these return codes can be found in the manual accompanying
the fieldbus communications profile. They are not listed separately in this
documentation. However, the following special cases may occur in connection with
PROFIBUS:
Error class
The error class component provides a more exact classification of the error type. The
UFP11A fieldbus interface supports the following error classes defined in accordance
with EN 50170(V2):
Table 6: Error classes in accordance with EN 50170 (Error Class)
Class (hex) Designation
Meaning
vfd state
application reference
definition
Definition error
resource
Resource error
service
access
Access error
ov
other
Except for Error Class 8 = Other Error, the error class is generated by the
communications software of the fieldbus card in case of a faulty communication. Return
codes provided by the SEW slave fall under the category Error Class 8 = Other Error.
The more detailed error breakdown is achieved with the additional code component.
Error code
The error code component allows for a more detailed breakdown of the error cause
within the error class and is generated by the communications software of the fieldbus
card in the case of a faulty communication. For Error Class 8 = Other Error, only Error
Code = 0 (Other error code) is defined. In this case, the detailed breakdown takes place
in the Additional Code.
19
PROFIBUS Interface
Additional code
The additional code contains SEW-specific return codes for faulty parameter setting of
the SEW slave. They are returned to the master under Error Class 8 = Other Error. The
following table shows all possible codings for the additional code.
Table 7: List of additional codes for error class 8 = other error
3.8
Add.-Code
Low (hex)
Meaning
00
00
No error
00
10
00
11
00
12
00
13
00
14
00
15
00
16
00
17
00
18
00
19
00
1A
00
1B
Parameter is access-protected
00
1C
00
1D
00
1E
00
1F
00
20
00
23
00
24
Special cases
Special return
codes (special
cases)
20
Add.-Code
High (hex)
Parameter setting errors that are neither recognized automatically by the application
layer of the fieldbus system nor by the system software of the inverter are treated as
special cases. This includes the following possible errors, depending on the fieldbus
option card used:
PROFIBUS Interface
Incorrect service
coding in
parameter channel
An incorrect coding for the administration and reserved bytes was entered while setting
the parameters via the parameter channel. The following table shows the return code
for this special case.
Table 8: Return code for incorrect coding of bytes 0 and 1 in the parameter channel
Error class:
Code (dec)
Meaning
Service
Error code:
Illegal parameter
Error correction:
Check bits 0 and 1 in the parameter channel.
Incorrect length
information in
parameter channel
A data length other than 4 data bytes was entered in the Read or Write service while
setting the parameters via the parameter channel. The following table shows the return
code.
Table 9: Return code for incorrect length information in the parameter channel (length 4)
Code (dec)
Meaning
Error class:
Access
Error code:
Type conflict
Error correction:
Check bit 4 and bit 5 for the data length in the administration byte of the parameter
channel. Both bits must show the value 1.
Internal
communications
error
The return code listed in the following table is returned if an internal communications
error occurs. The parameter service transmitted via the fieldbus may not have been
executed and should be repeated. If this error occurs again, the SEW slave must be
completely switched off and back on again to perform a new initialization.
Table 10: Return code for internal communications error
Code (dec)
Meaning
Error class:
Access
Error code:
Hardware fault
Add. Code
High:
Add. Code
Low:
Error correction:
Repeat the read or write service. If this error occurs again, briefly disconnect the inverter
from the supply and switch it on again. If this error occurs permanently, consult the SEW
service.
21
4.1
Autosetup
The Autosetup function allows the startup of the UFx without a PC. It is activated by
means of the Autosetup DIP switch. Activating the Autosetup DIP switch causes a single
execution of the function. The function can be executed again by switching it off and on
again. First, the UFx searches the lower-level SBUS for drive inverters and indicates this
through brief flashing of the SYS-FLT LED. For this purpose, different SBUS addresses
must be set at the drive inverters (P813). It is recommended assigning the addresses
beginning with address 1 in ascending order based on the arrangement of the inverters
in the control cabinet. For each located drive inverter, the process image on the fieldbus
side is expanded by 3 words. If no drive inverter was located, the SYS-FLT LED remains
lit. A maximum number of 8 drive inverters is taken into consideration. The figure shows
the process image for 3 drive inverters with 3 words each of process output data and
process input data. At the conclusion of the search, the UFx cyclically exchanges 3
process data words with each connected drive inverter. The process output data is
fetched by the fieldbus, divided into blocks of 3 and transmitted. The process input data
is read by the drive inverters, grouped and transmitted to the fieldbus master.
Autosetup must be executed only once. The detected configuration is saved in nonvolatile memory. See the section on "Installation and Operation without PC."
Caution: Please execute autosetup again if you change the process data assignment of
the drive inverters connected to the UFP since the UFP uniquely stores these values
during autosetup. At the same time, the process data allocations of the connected drive
inverters may not be changed dynamically after autosetup, for example by means of an
IPOS program.
22
04843AXX
4.2
4.3
Connect the voltage supply for the UFx and all connected inverters.
23
Verify the SBus baud rate (P816, factory setting = 500 kBaud).
Set the terminal assignments of the binary inputs. For MOVITRAC 07, the value 0
is recommended for P60-. This corresponds to the following assignment:
4.4
DI01 CW/Stop
(wired to 24 V, CW direction of rotation enabled)
DI02 CCW/Stop (wired to 24 V, CCW direction of rotation enabled)
DI03 F.Setp. toggle(not wired)
DI04 n11/n21
(not wired)
DI05 n12/n22
(not wired)
If you use a MOVIDRIVE unit as inverter, you must program the terminals that
are not used to "No function."
Caution: For MOVITRAC 07, P815 SBus timeout interval can only be adjusted via
PC, if necessary; the default value is 0, i.e. timeout monitoring is deactivated. Set
P815 to the value 1 s.
Autosetup
Activate the Autosetup function via the DIP switch of the UFx. The function is active as
long as the SYS-FLT LED flashes briefly followed by a long pause. At least one detected
inverter causes the LED to extinguish. Autosetup can be reactivated by turning the DIP
switch off and on again. If no inverter is detected, the SYS-FLT LED remains lit after
autosetup. In this case, check the cabling of the SBus, the terminating resistors of the
SBus, the voltage supply of the inverter and the set SBus addresses (P813).
24
4.5
Set an individual PROFIBUS address via the DIP switches of the UFP for project
planning. The PROFIBUS address is set in binary form. A change of the PROFIBUS
address becomes effective only after switching the UFP off and on again.
X = on
1 2 3 4 5 6 7 8 9 10
20
21
22
23
24
25
26
AS
F1
F2
1: x 0
2: x 0
4: x 1
8: x 0
16: x 0
32: x 0
64: x 0
=
=
=
=
=
=
=
+0
+0
+4
+0
+0
+0
+0
=4
50341AXX
The fieldbus master is configured using the sew_6004.gsd file. The UFP is
addressed under the specified PROFIBUS address. The number of process data
words the fieldbus master uses to address the UFP is dependent on the number of
connected inverters. The process data width for an inverter is three (3) words. If more
than one inverter is present, three (3) words should be planned for each inverter. For
example, you must configure nine (9) words for three (3) MOVITRAC C07.
25
4.6
04843AXX
The inverters are enabled by writing the value 0006h to the corresponding control word
1. The speed setpoint can be specified with the following word. It has been scaled with
0.2 1/min per digit.
26
5.1
5.2
The UFP features a 4-pole RJ12 jack on the front. The UWS21A option, part number
8230773, establishes the connection to a COM interface on your PC. For this
purpose, connect the desired COM of the PC with the UWS21A using the provided
serial cable. The UWS21A is connected with the UFP via the provided cable.
5.3
Connect the voltage supply for the UFx and all connected inverters.
Startup software
Start the software. Select the COM to which the UFP is connected and press the
"Update" button. The UFP should appear at address 0 and the connected inverters
at the following addresses. If the window does not show an entry, please check the
COM interface and the connection via UWS21. Please check the SBus cabling und
terminating resistors if only the UFP appears as an entry in the window.
Select the UFP and call up the startup software for the fieldbus gateway.
Select your project path and project name. Press the "Next" button.
Press the "Update" button. All inverters connected to the UFP should be displayed
now. The configuration can be customized using the "Insert," "Change" and "Delete"
buttons. Press the "Next" button.
Press the "Autoconfiguration" button. The process image for the UFP will now appear
in your controller. The process data width is shown at the bottom. This value is
important for the project planning of the fieldbus master. Press the "Next" button.
27
5.4
Save the project data and press the "Download" button. If the download should not
work, you have probably set the DIP switch to AUTOSETUP. The autosetup function
must be deactivated for the PC project planning.
The data exchanged between fieldbus master and UFP can be viewed via the
process data monitor.
Enabling on the terminal side is required to control the inverters via fieldbus. You
have already wired the terminals. Please select the first inverter with address 1 in the
Connected devices window and start Shell to check the terminal assignment. For
MOVITRAC 07, the terminal assignment should be set as follows:
Repeat the previous step for all inverters displayed in the Connected devices
window.
Set an individual PROFIBUS address via the DIP switches of the UFP for the project
planning. The PROFIBUS address is set in binary form. A change of the PROFIBUS
address becomes effective only after switching the UFP off and on again.
The fieldbus master is configured using the sew_6004.gsd file. The UFP is
addressed under the specified PROFIBUS address. The number of process data
words the fieldbus master uses to address the UFP depends on the number of
connected inverters and the specified process data width. A recommended value
was presented in the PC project planning of the module. The GSD file offers process
data configurations in steps of three. If your configuration cannot be divided by 3,
simply use the next higher one.
28
5.5
29
Error responses
Error responses
6.1
Fieldbus Timeout
Switching off the fieldbus master or an open circuit of the fieldbus cabling leads to a
fieldbus timeout at the UFx. The connected drive inverters are switched to a safe state
by sending zeros to the process output data. This corresponds to a rapid stop on control
word 1. The fieldbus timeout error resets itself, i.e. the drive inverters will once again
receive the current process output data from the controller once the fieldbus
communication has been reestablished. This error response can be deactivated via
P831 of the UFx.
6.2
SBUS Timeout
If one or several drive inverters at the SBUS can no longer be addressed by the UFx,
the UFx displays the error code 91 System error on status word 1 of the respective
drive inverter. The SYS-FLT LED lights up and the error is also indicated via diagnostics
interface. It is necessary to set the SBUS timeout interval P815 at the inverter to a value
other than 0 for the drive inverter to stop. The error resets itself at the UFx, i.e. the
current process data are exchanged immediately after restarting the communication.
6.3
Device error
The UFx gateways detect a series of hardware defects and lock out subsequently. The
exact fault responses and remedies can be found in the list of errors. A hardware defect
causes the display of error 91 on the fieldbus process input data for status words 1 of all
drive inverters. The SYS-FLT LED at the UFx flashes at regular intervals. The exact
error code is displayed via MOVITOOLS in the UFx status at the diagnostics interface.
30
Diagnostics LEDs
Diagnostics LEDs
The UFP PROFIBUS interface has four diagnostics LEDs:
7.1
"SYS-FAULT" LED (red) displaying UFP system errors and operating states
ON
OFF
24 V supply is missing, UFP not ready for operation. Check the 24 V voltage supply
and switch the UFP on again. Replace the module if problem occurs again.
FLASHING
PROFIBUS address is set to more than 125. Check the DIP switch setting.
7.2
OFF
Standard operating state. UFP is currently exchanging data with the DP master (data
exchange). Requirement: "RUN" LED is illuminated.
FLASHING
The Profibus baud rate is detected by the UFP. But the UFP is not or incorrectly
addressed by the DP master. Check the project planning of the DP master. The
configured PROFIBUS address must be identical to the PROFIBUS address set on
the DIP switch. PROFIBUS addresses must not be assigned twice. If possible, use
standard settings for project planning (do not use a universal configuration).
ON
Connection to the DP master has failed. The bus is interrupted or the DP master is
switched off. Check the PROFIBUS connection to the UFP. Check the complete
PROFIBUS cabling and the terminating resistors as well as the DP master.
Requirement: "RUN" LED is ON.
31
Diagnostics LEDs
7.3
OFF
Standard operating state. The UFP is exchanging data with the connected inverters.
Requirement: "RUN" LED is on.
FLASHING briefly
once followed by a
long pause
Autosetup is selected via DIP switches and UFP is currently configuring itself. If this
state lasts longer than 1 minute, switch autosetup off and on again. Replace the
module if autosetup does not exit itself again.
FLASHING regularly The UFP is in an error state. If the UFP was started with the Autosetup DIP switch,
switch the UFP off and on again. If the LED is now on, restart Autosetup by switching
the DIP switch off and on again. If the UFP was started using MOVITOOLS, the status
window displays an error message. Please check under the corresponding error
description.
ON
7.4
OFF
32
The UFP does not exchange data with the connected inverters. It was not configured
or the connected inverters do not respond. Repeat the configuration of the UFP. If the
UFP was started with Autosetup, switch the Autosetup DIP switch off and on again. If
the LED is still illuminated after Autosetup, check the cabling and terminating resistors
of the SBus as well as the voltage supply of the inverter. If the UFP was started using
MOVITOOLS, select the "Update" button in the manager. All inverters should be
displayed in the "Connected devices" window. If this is not the case, check the cabling
and terminating resistors of the SBus as well as the voltage supply of the inverter. If
necessary, repeat the configuration of the UFP with MOVITOOLS.
DIP Switches
DIP Switches
04845AXX
8.1
33
How do I go
"online?"
After an "Update," the MOVITOOLS manager displays all participants recognized on the
system bus, i.e. inverters and gateway. You can access the status bar, Shell, Assembler
and Compiler on all connected inverters via the gateway.
MT-Gateway supports the project planning and startup of a UFP fieldbus node.
A bus configuration can either be configured offline or read from the UFP and processed
online.
It is advisable to verify that the hardware AutoSetup is switched off (DIP switch 8
in position OFF) before beginning an MT-Gateway session.
Make sure that neither personnel nor system components are at risk if a bus error
should occur on the PROFIBUS and/or system bus end.
Project planning/
startup
Example
Autoconfiguration: Three (3) participants with addresses 10, 11 and 12 => 9PDs
The Autoconfiguration mode sequentially assigns each participant three (3) process
output and input data analogous to the hardware AutoSetup, beginning with the lowest
system bus address.
05037AEN
The process data assignment can be configured at random in expert mode. The
assignment can take place graphically (drag and drop).
34
Example
05038AEN
Packaging or bundling the process output data may look as follows: PO1..PO3 all
receive three (3) participants (e.g. control word 1, speed setpoint, ramp).
The Profibus master receives 1PD (e.g. status word 2) from each inverter as process
input data. Six (6) process ouput and input data words are saved in the peripheral area
in the master compared to AutoSetup.
A multiple assignment of process input data should be avoided/does not make sense.
05039AXX
35
The GSD file supports the configuration of a corresponding process data width in the
PROFIBUS master. If a process data width is not listed, select the next higher one (e.g.
5PDs are configured in expert mode => select 6PDs):
05040AXX
36
List of Errors
10
10
List of Errors
Error
code
Designation
Reaction
Cause
Action
10
IPOS ILLOP
IPOS program
stop
17
Stack
Overflow
SBus
communication
stopped
18
Stack
Underflow
SBus
communication
stopped
19
NMI
SBus
communication
stopped
20
Undefined
Opcode
SBus
communication
stopped
21
Protection
Fault
SBus
communication
stopped
22
Illegal Word
Operand
Access
SBus
communication
stopped
23
Illegal
Instruction
Access
SBus
communication
stopped
24
Illegal External
Bus Access
SBus
communication
stopped
25
EEPROM
SBus
communication
stopped
28
Fieldbus
Timeout
Default: PO
data = 0
Error response
adjustable via
P831
32
IPOS Index
Overflow
IPOS program
stop
37
Watchdog
Error
SBus
communication
stopped
45
Initialization
Error
SBus
communication
stopped
77
Invalid IPOS
Control Value
IPOS program
stop
37
10
38
List of Errors
Error
code
Designation
Reaction
Cause
Action
91
System Error
None
Technical Data
11
11
Technical Data
Part number:
823 896 0
Voltage supply:
RS-485
Parameter setting:
Autoconfiguration
via MOVITOOLS V 2.70 or later
Diagnostics:
PROFIBUS DP
Installation:
Ambient temperature:
10 C ... + 50 C
Connection technology:
SBus
Bus termination:
Station address:
SEW_6004.GSD
DP ident number:
6004hex = 24580dec
1 MBaud
Transmission protocol:
MOVILINK
Max. 8
Max. 3 PD
Connection technology:
39
12
Dimension Drawing
12
Dimension Drawing
05114AXX
40
13
Index
A
Additional code 20
Administration, parameter channel 17
Autosetup 22, 24
B
Baud rate 7
Bus termination 8
BUS-FAULT 31
C
Communications error, internal 21
Configuration 9
Configuration data 13
Connection 6, 7
Connector assignment 6
Control 15
Control example 16
Data integrity 14
Diagnostics interface 5
Diagnostics LEDs 31
DIP switches 5, 25, 33
DP configuration 9, 10, 13
Service coding 21
Service execution, faulty 18
Setting parameters via PROFIBUS DP 16
Setting the inverter parameters 23, 27
Shielding 6, 7, 8
Simatic S7 14, 16
Starting the inverters 26, 29
Startup 9, 27, 34
Station address 33
STEP7 16
STEP7 programming example 16
Structure, parameter channel 16
SYS-FAULT 32
Error class 19
Error code 19
Unit design 5
Universal configuration 13
USER 32
F
Faulty service execution 18
Front view 5
G
Graphical interface 34
GSD file 9
I
Ident number 14
Identifier byte 13
Index addressing 18
Installation notes 6
Internal communications error 21
Inverter parameters 23, 27
L
Length information 21
List of errors 37
P
Parameter channel 16
Parameter channel data area 18
Parameter channel, management 17
41
10/2000
10/2000
SEW-EURODRIVE GmbH & Co P.O. Box 3023 D-76642 Bruchsal/Germany Phone +49-7251-75-0
Fax +49-7251-75-1970 http://www.sew-eurodrive.com sew@sew-eurodrive.com
135