PROFIBUS UFP11A Fieldbus Interface

Embed Size (px)

Citation preview

  • 7/24/2019 PROFIBUS UFP11A Fieldbus Interface

    1/44

    PROFIBUS UFP11A Fieldbus InterfaceEdition

    08/2001

    Manual1052 1410 / EN

  • 7/24/2019 PROFIBUS UFP11A Fieldbus Interface

    2/44

  • 7/24/2019 PROFIBUS UFP11A Fieldbus Interface

    3/44

    Manual PROFIBUS UFP11A Fieldbus Interface 3

    Contents

    1 System Overview .............................................................................................. 42 Unit Design ........................................................................................................ 5

    2.1 Front view ................................................................................................. 53 PROFIBUS Interface.......................................................................................... 6

    3.1 Installation notes ....................................................................................... 63.2 Startup of Profibus DP Master .................................................................. 93.3 Configuration of the Profibus DP interface................................................ 93.4 Ident number........................................................................................... 143.5 Inverter control ........................................................................................ 153.6 Setting parameters via PROFIBUS DP................................................... 163.7 Parameter setting of return codes........................................................... 193.8 Special cases.......................................................................................... 20

    4 Installation and Operation with Autosetup................................................... 224.1 Autosetup................................................................................................ 224.2 Installation and cabling ........................................................................... 234.3 Setting the inverter parameters............................................................... 234.4 Autosetup................................................................................................ 244.5 Project planning of the fieldbus master................................................... 254.6 Starting the inverters ............................................................................... 26

    5 Installation and Operation with PC................................................................ 275.1 Installation and cabling ........................................................................... 275.2 Setting the inverter parameters............................................................... 275.3 Startup software ...................................................................................... 275.4 Project planning of the fieldbus master................................................... 285.5 Starting the inverters ............................................................................... 29

    6 Error responses .............................................................................................. 306.1 Fieldbus Timeout .................................................................................... 30

    6.2 SBUS Timeout ........................................................................................ 306.3 Device error ............................................................................................ 30

    7 Diagnostics LEDs............................................................................................ 317.1 States of the "RUN" LED (green)............................................................ 317.2 States of the "BUS-FAULT" LED (red).................................................... 317.3 States of the "SYS-FAULT" LED (red).................................................... 327.4 States of the "USER" LED (green).......................................................... 32

    8 DIP Switches.................................................................................................... 338.1 Adjusting the station address.................................................................. 33

    9 Operating the Interface ................................................................................... 3410 List of Errors.................................................................................................... 3711 Technical Data ................................................................................................. 39

    12 Dimension Drawing......................................................................................... 4013 Index ................................................................................................................. 41

  • 7/24/2019 PROFIBUS UFP11A Fieldbus Interface

    4/44

    1

    4 ManualPROFIBUS UFP11A Fieldbus Interface

    System Overview

    1 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 DPinterface via the SBus. The UFP11A PROFIBUS interface establishes the connectionbetween PROFIBUS DP and SBus.

    05109AXX

    Figure 1: System overview DP-MasterUFPInverter

  • 7/24/2019 PROFIBUS UFP11A Fieldbus Interface

    5/44

    ManualPROFIBUS UFP11A Fieldbus Interface 5

    2Unit Design

    2 Unit Design

    2.1 Front view

    04888AXX

    Figure 2: Arrangement of LEDs, connectors and DIP switches

    X1 SBus and 24 V connectorX2 Diagnostics interfaceX3 PROFIBUSS1 DIP switchRUN Operating statusBUS-F Bus errorSYS-F System errorUSER Expert mode

  • 7/24/2019 PROFIBUS UFP11A Fieldbus Interface

    6/44

    3

    6 ManualPROFIBUS UFP11A Fieldbus Interface

    PROFIBUS Interface

    3 PROFIBUS Interface

    3.1 Installation notesInstallation 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 thehousing. In the latter case, you will have to remove the two mounting screws of the DINrail mounting option. You can connect any additional units (e.g., MOVITRAC 07) thebest way you seem to see fit taking into consideration the maximum line length and thefact 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 optionis used with an SBus line length of more than 1 m.

    Connector

    assignment

    The UFP11A fieldbus interface is connected to the PROFIBUS network by means of a

    9-pole sub-D connector in accordance with EN 50170. The T-bus connection must beimplemented with an appropriately designed plug.

    The connection of the fieldbus interface to the PROFIBUS system is generallyimplemented with a shielded twisted-pair cable. The shielding of the PROFIBUS cablemust be attached to both sides, for example on the connector housing. Observe themaximum supported transmission rate when selecting the bus connector.

    The twisted-pair cable is connected to the PROFIBUS receptacle via pin 8 (A/A) and pin3 (B/B). Communication takes place via these two contacts. The RS-485 signals A/Aand B/B must be contacted in the same way for all PROFIBUS participants. Otherwise,no communication is possible via the bus medium.

    The PROFIBUS interface delivers a TTL control signal for a repeater or fiber opticadapter (reference = pin 9) via pin 4 (CNTR-P).

    01222DXX

    Figure 3: Assignment of 9-pole Sub-D connectorX3according to EN 50170 ([1] = 9-pole Sub-D

    connector; [2] = twisted signal lines; [3] = conductive connection between connector

    housing and shielding

    384

    569

    RxD/TxD-P (B/ )BRxD/TxD-N (A/ )ACNTR-P

    DGND (M5V)VP (P5V)

    DGND (M5V)

    [3]

    [1]

    [2]

  • 7/24/2019 PROFIBUS UFP11A Fieldbus Interface

    7/44

    ManualPROFIBUS UFP11A Fieldbus Interface 7

    3PROFIBUS Interface

    Connection

    Please note:

    Use a 2-core twisted and shielded copper cable (data transfer cable with shieldconsisting of copper braiding). Connect the shield with a wide-area contact at theelectronics terminal of MOVITRAC 07 or UFP11A and also connect the shield endsto GND. The cable must meet the following specifications (CAN bus or DeviceNetcables 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: 160 m (528 ft) 500 kBaud: 80 m (264 ft) 1000 kBaud: 40 m (132 ft)

    04848AXX

    Figure 4: System bus connection

    UFPGND = System bus ReferenceSC11 = System bus HighSC12 = System bus Low

    MOVITRAC 07GND = System bus ReferenceSC22 = System bus outgoing LowSC21 = System bus outgoing HighSC12 = System bus incoming LowSC11 = System bus incoming HighS12 = System bus Terminating resistor

  • 7/24/2019 PROFIBUS UFP11A Fieldbus Interface

    8/44

    3

    8 ManualPROFIBUS UFP11A Fieldbus Interface

    PROFIBUS Interface

    Connect the system bus terminating resistor (S12 = ON) at the end of the system busconnection. Disconnect the terminating resistor (S12 = OFF) at the other devices.The UFP11A gateway must always be connected either at the beginning or the endof the system bus connection and feature a permanently installed terminating

    resistor.

    24 V connection An external 24 V voltage supply must be connected to terminals X1:4 and X1:5.

    The voltage range for the 24 V voltage supply is 18 30 V. The current consumptionof the UFP11A gateway measures 300 mA.

    Shielding androuting of buscables

    The PROFIBUS interface supports the RS-485 communications protocol and requirescable type A specified for PROFIBUS in accordance with EN 50170 as shielded twisted-pair cable for the physical connection.

    Professional shielding of the bus cables attenuates electrical interference that mayoccur in industrial environments. The following measures will result in the best shieldingproperties:

    Fasten the mounting screws on the connectors, modules and equipotential bondingconductors by hand.

    Use only connectors with metal housing or plated housing.

    Connect the shielding in the connector with the greatest possible surface area.

    Attach the shielding of the bus line on both sides.

    Do not route signal and bus cables parallel to line cables (motor leads). They mustbe routed in separate cable ducts.

    Use metallic, grounded cable racks in commercial environments.

    Route the signal cable and the corresponding equipotential bonding in closeproximity using the shortest way possible.

    Avoid the extension of bus lines by means of plug connectors.

    Route the bus cables closely along existing grounding surfaces.

    Bus termination A bus termination is not provided with the UFP electronics. If the UFP module is usedas the first or the last device of the PROFIBUS line, the bus termination has to beexternal. We recommend PROFIBUS connectors with integrated bus termination thatopen the continuing bus in case the bus termination is connected.

    No potential displacement may occur between the units connected with the SBus.Avoid a potential displacement using appropriate measures, such as connecting theunit ground with a separate line.

    Point-to-point wiring is not permissible.

    In case of fluctuations in the earth potential, a compensating current may flow via thebilaterally connected shield that is also connected to the protective earth (PE). Makesure you supply adequate equipotential bonding according to relevant VDE regulationsin such a case.

  • 7/24/2019 PROFIBUS UFP11A Fieldbus Interface

    9/44

    ManualPROFIBUS UFP11A Fieldbus Interface 9

    3PROFIBUS Interface

    3.2 Startup of Profibus DP Master

    Observe the notes in the README.TXT file on the GSD disk.

    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" deviceappears at the slave participants.

    Insert the fieldbus interface into the PROFIBUS structure under the name "UFP" andassign 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.

    Save the configuration.

    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 savedthe project, loaded it in the DP master and started the DP master. If this is not thecase, please check cabling and terminating resistors of the PROFIBUS and theproject planning, especially the PROFIBUS address.

    3.3 Configuration of the Profibus DP interface

    Generalinformation

    the inverter must be given a specific DP configuration by the DP master to define typeand number of input and output data used for the transmission. It allows for theopportunity to control the drives via process data and to read or write all parameters ofthe 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 andparameter channel.

    50391AXX

    Figure 5: Data exchange with parameter data (PARA DATA) and process data (PRC DATA)

    DP Master

    UFP

    MOVITRAC 07fi

    PARA DATA

    PARA DATA

    PRC DATA

    PRC DATA

    PRC DATA

    PRC DATA

    PROFIBUS SBUS

  • 7/24/2019 PROFIBUS UFP11A Fieldbus Interface

    10/44

    3

    10 ManualPROFIBUS UFP11A Fieldbus Interface

    PROFIBUS Interface

    Process dataconfiguration

    The fieldbus interface allows for different DP configurations for the data exchangebetween DP master and fieldbus interface. The following table gives additional detailson all standard DP configurations of the fieldbus interfaces. The Process dataconfigurationcolumn shows the name of the configuration. These texts also appear as

    a selection list in the project planning software for the DP master. The DPconfigurations column shows the type of configuration data sent to the fieldbusinterface while the link to PROFIBUS DP is being established. The configurations aredetermined 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 inverterconnected to the fieldbus interface. The fieldbus interface then distributes these processdata words to the individual devices. The parameter channel is used for setting theparameters of the UFP and is not passed on to the lower-level participants. The fieldbusinterface 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 modeand allow process data widths of 3PD ... 24PD according to 1 ... 8 inverters connectedto the fieldbus interface.

    ONE module for alldrives

    The configurations under "ONE module for all drives" do not contain any parameterchannels. The transmission of process data is carried out in one consistent data blockfor all inverters connected to the fieldbus interface. Thus, only system functions SFC14and SFC15 need to be executed in Step 7.

    UFP parameter +ONE module

    The configurations under "UFP parameter + ONE Module" correspond to those listedabove. The parameter module that allows for a parameter setting of the UFP with eight(8) consistently transmitted bytes will be processed first.

    One module perdrive

    The configurations under "One module per drive" do not contain any parameterchannels. One consistent data block exists for each connected inverter. From thecontroller side, this corresponds to the existing setup of several inverters with their ownfieldbus interface. Thus, system functions SFC14 and SFC15 need to be executed foreach inverter in Step 7.

    UFP parameter +One module perdrive

    The configurations under "UFP parameter + One module per drive" correspond tothose listed above. The parameter module which allows for a parameter setting of thefieldbus interface using eight (8) consistently transmitted bytes will be processed first.

    Any SBus participant can be assigned a maximum of 3 PDs!

  • 7/24/2019 PROFIBUS UFP11A Fieldbus Interface

    11/44

    ManualPROFIBUS UFP11A Fieldbus Interface 11

    3PROFIBUS Interface

    Process data

    configuration

    Meaning / Notes Cfg0 Cfg1 Cfg2 Cfg3 Cfg4 Cfg5 Cfg6 Cfg7 Cfg8

    ONE module for all drives

    AS 1 Drive (3 PD) Control via 3 process data words 0 242

    AS 2 Drives (6 PD) Control via 6 process data words 0 245

    AS 3 Drives (9 PD) Control via 9 process data words 0 248

    AS 4 Drives (12PD)

    Control via 12 process data words 0 251

    AS 5 Drives (15PD)

    Control via 15 process data words 0 254

    AS 6 Drives (18PD)

    Control via 18 process data words 0 192 209 209

    AS 7 Drives (21

    PD)

    Control via 21 process data words 0 192 212 212

    AS 8 Drives (24PD)

    Control via 24 process data words 0 192 215 215

    UFP parameter + ONE module

    AS 1 Drive (Param+ 3PD)

    Control via 3 process data words /parameter setting via 8 byteparameter channel

    243 242

    AS 2 Drives(Param + 6PD)

    Control via 6 process data words /parameter setting via 8 byteparameter channel

    243 245

    AS 3 Drives(Param + 9PD)

    Control via 9 process data words /parameter setting via 8 byteparameter channel

    243 248

    AS 4 Drives(Param + 12PD)

    Control via 12 process data words/ parameter setting via 8 byteparameter channel

    243 251

    AS 5 Drives(Param + 15PD)

    Control via 15 process data words/ parameter setting via 8 byteparameter channel

    243 254

    AS 6 Drives(Param + 18PD)

    Control via 18 process data words/ parameter setting via 8 byteparameter channel

    243 192 209 209

    AS 7 Drives(Param + 21PD)

    Control via 21 process data words/ parameter setting via 8 byteparameter channel

    243 192 212 212

    AS 7 Drives(Param + 24PD)

    Control via 24 process data words/ parameter setting via 8 byteparameter channel

    243 192 215 215

  • 7/24/2019 PROFIBUS UFP11A Fieldbus Interface

    12/44

    3

    12 ManualPROFIBUS UFP11A Fieldbus Interface

    PROFIBUS Interface

    One module per drive

    AS 1 Drive (1 x3PD)

    Control via 1x3 process datawords

    0 242

    AS 2 Drives (2 x3PD)

    Control via 2x3 process datawords

    0 242 242

    AS 3 Drives (3 x3PD)

    Control via 3x3 process datawords

    0 242 242 242

    AS 4 Drives (4 x3PD)

    Control via 4x3 process datawords

    0 242 242 242 242

    AS 5 Drives (5 x3PD)

    Control via 5x3 process datawords

    0 242 242 242 242 242

    AS 6 Drives (6 x3PD)

    Control via 6x3 process datawords

    0 242 242 242 242 242 242

    AS 7 Drives (7 x3PD)

    Control via 7x3 process datawords

    0 242 242 242 242 242 242 242

    AS 8 Drives (8 x3PD)

    Control via 8x3 process datawords

    0 242 242 242 242 242 242 242 242

    UFP parameter + one module per drive

    AS 1 Drive (Param+ 1 x 3PD)

    Control via 1x3 process datawords / parameter setting via 8byte parameter channel

    243 242

    AS 2 Drives(Param + 2 x 3PD)

    Control via 2x3 process datawords / parameter setting via 8byte parameter channel

    243 242 242

    AS 3 Drives

    (Param +3 x 3PD)

    Control via 3x3 process data

    words / parameter setting via 8byte parameter channel

    243 242 242 242

    AS 4 Drives(Param +4 x 3PD)

    Control via 4x3 process datawords / parameter setting via 8byte parameter channel

    243 242 242 242 242

    AS 5 Drives(Param +5 x 3PD)

    Control via 5x3 process datawords / parameter setting via 8byte parameter channel

    243 242 242 242 242 242

    AS 6 Drives(Param + 6 x 3PD)

    Control via 6x3 process datawords / parameter setting via 8byte parameter channel

    243 242 242 242 242 242 242

    AS 7 Drives(Param + 7 x 3PD)

    Control via 7x3 process datawords / parameter setting via 8

    byte parameter channel

    243 242 242 242 242 242 242 242

    AS 8 Drives(Param + 8 x 3PD)

    Control via 8x3 process datawords / parameter setting via 8byte parameter channel

    243 242 242 242 242 242 242 242 242

    Process data

    configuration

    Meaning / Notes Cfg0 Cfg1 Cfg2 Cfg3 Cfg4 Cfg5 Cfg6 Cfg7 Cfg8

  • 7/24/2019 PROFIBUS UFP11A Fieldbus Interface

    13/44

    ManualPROFIBUS UFP11A Fieldbus Interface 13

    3PROFIBUS Interface

    "Universal Module"DP configuration

    The "Universal Module" (e.g. in STEP7) allows you to set the parameters of the fieldbusinterface deviating from the preset standard values of the GSD file. This is useful in caseyou want to operate several inverters with different process data words at the fieldbusinterface.

    You must observe the following conditions:

    Module 0 defines the parameter channel of the inverter. Entering 0 will switch off theparameter channel; entering 243 will switch on the parameter channel with 8 byteslength.

    The following modules determine the process data width of the fieldbus interface atthe PROFIBUS. The added process data width of all following modules must bebetween 1 and 24 words. For safety reasons, the modules must be listed with dataintegrity. Make sure that an inverter connected to the fieldbus interface isrepresented by such a consistent module entry.

    The special identifier format is permitted.

    The following figure shows the structure of the configuration data defined in EN50170(V2). These configuration data are transmitted to the inverter during the initial startof the DP master.

    Table 1: Format of the identifier byte Cfg_Data according to EN 50170 (V2)

    7 / MSB 6 5 4 3 2 1 0 / LSB

    Data length0000 = 1 byte/word1111 = 16 bytes/words

    Input/output00 = special identifier formats01 = input

    02 = output11 = input/output

    Format0 = byte structure1 = word structure

    Integrity over0 = byte or word1 = complete length

    Note:

    Use only the setting "Integrity over entire length" for data transmission!

  • 7/24/2019 PROFIBUS UFP11A Fieldbus Interface

    14/44

    3

    14 ManualPROFIBUS UFP11A Fieldbus Interface

    PROFIBUS Interface

    Data integrity Integral data are those data that must always be transmitted consistently betweenautomation 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 differentprogram cycles of the automation device and transfer undefined values to the inverter.

    For PROFIBUS DP, the data communication between automation device and driveengineering devices is generally carried out with the setting Data integrity over entirelength.

    Externaldiagnostics

    The fieldbus interface does not support external diagnostics. Error messages of theindividual inverters are indicated by the corresponding status words. Error states of thefieldbus interface are also displayed on status word 1, e.g. timeout of the SBUSconnection to a participant.

    Upon request, the fieldbus interface provides the standard diagnostics in accordance

    with EN 50170 V2.

    Note on Simatic S7Master Systems

    Diagnostic alarms may also be triggered by the PROFIBUS DP system in the DP mastereven if the external diagnostic generation is deactivated. As a result, the correspondingoperating blocks (e.g. OB84 for S7-400 or OB82 for S7-300) should always be createdin the controller.

    3.4 Ident number

    Each DP master and DP slave must feature an individual ident number assigned by thePROFIBUS user group for unique identification of the attached device. When the

    PROFIBUS DP master is started up, it compares the ident numbers of the connectedDP slaves with the ident numbers configured by the user. The user data transfer will onlybe activated after the DP master has ensured that the connected station addresses anddevice types (ident numbers) correspond to the project planning data. This procedureachieves 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). ThePROFIBUS user group specified ident number 6004 hex (24580 dec) for the UFP11Afieldbus interface.

  • 7/24/2019 PROFIBUS UFP11A Fieldbus Interface

    15/44

    ManualPROFIBUS UFP11A Fieldbus Interface 15

    3PROFIBUS Interface

    3.5 Inverter control

    The inverter control takes place via the process data channel which is one, two or threeI/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 canbe addressed as usual.

    PA = process output data / PE = process input data

    Additional information on programming and project planning can be found in theREADME_GSD6004.PDF file included in the GSD file.

    50394AXX

    Figure 6: Mapping of PROFIBUS data in the PLC address range ([1] = parameter channel / [2] =

    PLC address range / U/f = inverter)

    PEW300

    PEW302

    PEW304

    PEW306

    PEW308

    PEW310

    PEW312 PE 3

    PA 3

    PE 1

    PA 1

    PE 2

    PA 2

    PE 2

    PA 2

    PE 1

    PA 1

    PE 3

    PA 3

    PAW300

    PAW302

    PAW304

    PAW306

    PAW308

    PAW310

    PAW312

    [1]

    [1]

    [2]

    PA 3

    PA 2

    PA 1PAW314

    PAW316

    PAW318

    PE 1

    PA 1

    PE 2

    PA 2

    PE 3

    PA 3

    PEW314

    PEW316

    PEW318 PE 3

    PE 2

    PE 1

    UFP U/f 1 U/f 2

  • 7/24/2019 PROFIBUS UFP11A Fieldbus Interface

    16/44

    3

    16 ManualPROFIBUS UFP11A Fieldbus Interface

    PROFIBUS Interface

    Control examplefor Simatic S7

    The inverter control via Simatic S7 takes place in dependence of the selected processdata configuration, either directly via load and transfer commands or via the specialsystem functionsSFC 14 DPRD_DATand SFC15 DPWR_DAT.

    In principle, data lengths with 3 bytes or more than 4 bytes must be transmitted viasystem functions SFC14 and SFC15 for S7. Thus, the following table applies:

    STEP7programmingexample

    The "README_GSD6004.PDF" file contains project planning and program examplesfor Simatic S7.

    3.6 Setting parameters via PROFIBUS DP

    The drive parameters for PROFIBUS DP are accessed via the MOVILINK parameterchannel which offers additional parameter services next to the traditional READ and

    WRITE services.

    Structure of theparameterchannel

    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 containsthe process data channel as well as a parameter channel that can be used to exchangeacyclical parameter values.

    Process data

    configuration

    STEP7 access via

    1 PD Load/transfer command

    2 PD Load/transfer command

    3 PD ... 24 PD System functions SFC14/15 (Length 6 48 bytes)

    Param + 1 PD Parameter channel: System functions SFC14/15 (Length 8 48 bytes)Process data: Load/transfer command

    Param + 2 PD Parameter channel: System functions SFC14/15 (Length 6 48 bytes)Process data: Load/transfer command

    Param + 3 PD ...24 PD

    Parameter channel: System functions SFC14/15 (Length 6 48 bytes)Process data: System functions SFC14/15 (Length 6 bytes)

    01065CXX

    Figure 7: Communication via PROFIBUS DP with parameter channel [1] and process data

    channel [2]

    [1]

    [1]

    [2]

    [2]

  • 7/24/2019 PROFIBUS UFP11A Fieldbus Interface

    17/44

    ManualPROFIBUS UFP11A Fieldbus Interface 17

    3PROFIBUS Interface

    The following table shows the structure of the parameter channel. It basically consistsof a management byte, an index word, a reserved byte and four data bytes.

    Administration ofthe parameterchannel

    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 and3 contain the service identifier, thereby defining which service is executed. Bit 4 and bit5 specify the data length in byte for the write service which generally should be set to 4bytes for SEW slaves.

    Bit 6 serves as handshake between controller and slave. It triggers the execution of thetransferred service in the inverter. Since the parameter channel is transferred in eachcycle along with the process data for PROFIBUS DP, the execution of the service in theinverter must be edge-triggered by handshake bit 6. The value of this bit is toggled eachtime 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 thecontroller notices that the received and transmitted handshake bits are identical. Statusbit 7 indicates whether the service was executed properly or if it produced an error.

    Table 2: Structure of the parameter channel

    Byte 0 Byte 1 Byte 2 Byte 3 Byte 4 Byte 5 Byte 6 Byte 7

    Admin Reserved Index High Index Low MSB data Data Data LSB data

    Parameter index 4-byte data

    Table 3: Structure of the administration byte

    7 / MSB 6 5 4 3 2 1 0 / LSB

    Service identifier0000 = No service0001 = Read parameter0010 = Write parameter0011 = Write parameter volatile0100 = Read minimum0101 = Read maximum0110 = Read default0111 = Read scale1000 = Read attribute

    Data length00 = 1 byte01 = 2 bytes

    10 = 3 bytes11 = 4 bytes (must be set!)

    Handshake bitmust be changed with each new task for cyclical transmission

    Status bit0 = no error in service execution1 = error in service execution

  • 7/24/2019 PROFIBUS UFP11A Fieldbus Interface

    18/44

    3

    18 ManualPROFIBUS UFP11A Fieldbus Interface

    PROFIBUS Interface

    Index addressing "Byte 2: Index High" and "byte 3: Index Low" are used to identify the parameter to beread or written via the fieldbus system. The parameters of an SEW slave are addressedwith a uniform index independent of the connected fieldbus system. Byte 1 should beconsidered 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 theparameter channel. This allows a maximum of 4 byte data to be transmitted for eachservice. The data is generally entered flush right, i.e. byte 7 contains the least significantdata byte (LSB data), byte 4 correspondingly the most significant data byte (MSB data).

    Faulty serviceexecution

    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 hasexecuted the service. If the status bit indicates an error, the error code is entered in thedata area of the parameter message. Bytes 4 through 7 provide the return code in astructured format (see Return Codes section).

    Table 4: Definition of the data area in the parameter channel

    Byte 0 Byte 1 Byte 2 Byte 3 Byte 4 Byte 5 Byte 6 Byte 7

    Admin Reserved I ndex High Index Low MSB data Data Data LSB data

    High byte1

    Low byte 1 High byte2

    Low byte 2

    High word Low word

    Double word

    Table 5: Structure of the parameter channel in the event of faulty service execution

    Byte 0 Byte 1 Byte 2 Byte 3 Byte 4 Byte 5 Byte 6 Byte 7

    Admin Reserved Index High Index Low Error Class Error Code Add. CodeHigh

    Add. CodeLow

    Status bit = 1: Faulty service execution

  • 7/24/2019 PROFIBUS UFP11A Fieldbus Interface

    19/44

    ManualPROFIBUS UFP11A Fieldbus Interface 19

    3PROFIBUS Interface

    3.7 Parameter setting of return codes

    If parameters are incorrectly adjusted, the slave returns various return codes to theparameter setting master providing detailed information on the cause of the error. In

    general, these return codes feature a structured design. The following components arebeing distinguished:

    error class

    error code

    additional code

    A detailed description of these return codes can be found in the manual accompanyingthe fieldbus communications profile. They are not listed separately in thisdocumentation. However, the following special cases may occur in connection withPROFIBUS:

    Error class The error class component provides a more exact classification of the error type. TheUFP11A fieldbus interface supports the following error classes defined in accordancewith EN 50170(V2):

    Except for Error Class 8 = Other Error, the error class is generated by thecommunications software of the fieldbus card in case of a faulty communication. Returncodes 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 causewithin the error class and is generated by the communications software of the fieldbus

    card in the case of a faulty communication. ForError Class 8 = Other Error, onlyErrorCode = 0(Other error code) is defined. In this case, the detailed breakdown takes placein theAdditional Code.

    Table 6: Error classes in accordance with EN 50170 (Error Class)

    Class (hex) Designation Meaning

    1 vfd state Status error of the virtual field device

    2 application reference Error in application program

    3 definition Definition error

    4 resource Resource error

    5 service Error at service execution

    6 access Access error

    7 ov Error in object list

    8 other Other error (see Additional Code)

  • 7/24/2019 PROFIBUS UFP11A Fieldbus Interface

    20/44

    3

    20 ManualPROFIBUS UFP11A Fieldbus Interface

    PROFIBUS Interface

    Additional code The additional code contains SEW-specific return codes for faulty parameter setting ofthe SEW slave. They are returned to the master underError Class 8 = Other Error. Thefollowing table shows all possible codings for the additional code.

    3.8 Special cases

    Special returncodes (specialcases)

    Parameter setting errors that are neither recognized automatically by the applicationlayer of the fieldbus system nor by the system software of the inverter are treated asspecial cases. This includes the following possible errors, depending on the fieldbusoption card used:

    Incorrect coding of a service via parameter channel

    Incorrect length information of a service via parameter channel

    Internal communications error

    Table 7: List of additional codes for error class 8 = other error

    Add.-Code

    High (hex)

    Add.-Code

    Low (hex)

    Meaning

    00 00 No error

    00 10 Illegal parameter index

    00 11 Function/parameter not implemented

    00 12 Read access only

    00 13 Parameter lock is active

    00 14 Factory setting is active

    00 15 Value too large for parameter

    00 16 Value too small for parameter

    00 17 Required option card missing for this function/parameter

    00 18 Error in system software

    00 19 Parameter access only via RS485 process interface to X13

    00 1A Parameter access only via RS485 diagnostics interface

    00 1B Parameter is access-protected

    00 1C Controller inhibit required

    00 1D Illegal parameter value

    00 1E Factory setting was activated

    00 1F Parameter was not saved in EEPROM00 20 Parameter cannot be changed with enabled output stage

    00 23 Parameter may only be changed with IPOS program stop

    00 24 Parameter may only be changed with deactivated Autosetup

  • 7/24/2019 PROFIBUS UFP11A Fieldbus Interface

    21/44

    ManualPROFIBUS UFP11A Fieldbus Interface 21

    3PROFIBUS Interface

    Incorrect servicecoding inparameter channel

    An incorrect coding for the administration and reserved bytes was entered while settingthe parameters via the parameter channel. The following table shows the return codefor this special case.

    Error correction:

    Check bits 0 and 1 in the parameter channel.

    Incorrect lengthinformation inparameter channel

    A data length other than 4 data bytes was entered in the Read or Write service whilesetting the parameters via the parameter channel. The following table shows the returncode.

    Error correction:

    Check bit 4 and bit 5 for the data length in the administration byte of the parameterchannel. Both bits must show the value 1.

    Internalcommunicationserror

    The return code listed in the following table is returned if an internal communicationserror occurs. The parameter service transmitted via the fieldbus may not have beenexecuted and should be repeated. If this error occurs again, the SEW slave must becompletely switched off and back on again to perform a new initialization.

    Error correction:

    Repeat the read or write service. If this error occurs again, briefly disconnect the inverterfrom the supply and switch it on again. If this error occurs permanently, consult the SEW

    service.

    Table 8: Return code for incorrect coding of bytes 0 and 1 in the parameter channel

    Code (dec) Meaning

    Error class: 5 Service

    Error code: 5 Illegal parameter

    Add. Code High: 0 -

    Add. Code Low: 0 -

    Table 9: Return code for incorrect length information in the parameter channel (length 4)

    Code (dec) Meaning

    Error class: 6 Access

    Error code: 8 Type conflict

    Add. Code High: 0 -

    Add. Code Low: 0 -

    Table 10: Return code for internal communications error

    Code (dec) Meaning

    Error class: 6 Access

    Error code: 2 Hardware fault

    Add. CodeHigh:

    0 -

    Add. CodeLow:

    0 -

  • 7/24/2019 PROFIBUS UFP11A Fieldbus Interface

    22/44

    4

    22 ManualPROFIBUS UFP11A Fieldbus Interface

    Installation and Operation with Autosetup

    4 Installation and Operation with Autosetup

    4.1 AutosetupThe Autosetup function allows the startup of the UFx without a PC. It is activated bymeans of the Autosetup DIP switch. Activating the Autosetup DIP switch causes a singleexecution of the function. The function can be executed again by switching it off and onagain. First, the UFx searches the lower-level SBUS for drive inverters and indicates thisthrough brief flashing of the SYS-FLT LED. For this purpose, different SBUS addressesmust be set at the drive inverters (P813). It is recommended assigning the addressesbeginning with address 1 in ascending order based on the arrangement of the invertersin the control cabinet. For each located drive inverter, the process image on the fieldbusside is expanded by 3 words. If no drive inverter was located, the SYS-FLT LED remainslit. A maximum number of 8 drive inverters is taken into consideration. The figure showsthe 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 3process data words with each connected drive inverter. The process output data isfetched by the fieldbus, divided into blocks of 3 and transmitted. The process input datais read by the drive inverters, grouped and transmitted to the fieldbus master.

    Autosetup must be executed only once. The detected configuration is saved in non-volatile memory. See the section on "Installation and Operation without PC."

    Caution: Please execute autosetup again if you change the process data assignment ofthe drive inverters connected to the UFP since the UFP uniquely stores these valuesduring autosetup. At the same time, the process data allocations of the connected driveinverters may not be changed dynamically after autosetup, for example by means of anIPOS program.

  • 7/24/2019 PROFIBUS UFP11A Fieldbus Interface

    23/44

    ManualPROFIBUS UFP11A Fieldbus Interface 23

    4Installation and Operation with Autosetup

    4.2 Installation and cabling

    For installation notes, see the "PROFIBUS Interface" section.

    4.3 Setting the inverter parameters

    The settings can be performed via the inverter keypad; please observe the operatinginstructions of the inverter.

    Connect the voltage supply for the UFx and all connected inverters.

    04843AXX

    Figure 8: Data exchange DP-MasterUFPInverter

  • 7/24/2019 PROFIBUS UFP11A Fieldbus Interface

    24/44

    4

    24 ManualPROFIBUS UFP11A Fieldbus Interface

    Installation and Operation with Autosetup

    Set an individual SBus address (P813) at the inverters. Recommendation: Addresssetting beginning with address 1 in ascending order based on the arrangement of theinverters in the control cabinet. Address 0 should not be assigned since it is used bythe UFx.

    Verify the SBus baud rate (P816, factory setting = 500 kBaud).

    Set the setpoint source (P100) to SBus (value 10).

    Set the control source (P101) to SBus (value 3).

    Set the terminal assignments of the binary inputs. For MOVITRAC 07, the value 0is recommended for P60-. This corresponds to the following assignment:

    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 viaPC, if necessary; the default value is 0, i.e. timeout monitoring is deactivated. SetP815 to the value 1 s.

    4.4 Autosetup

    Activate the Autosetup function via the DIP switch of the UFx. The function is active aslong as the SYS-FLT LED flashes briefly followed by a long pause. At least one detectedinverter 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 afterautosetup. In this case, check the cabling of the SBus, the terminating resistors of theSBus, the voltage supply of the inverter and the set SBus addresses (P813).

  • 7/24/2019 PROFIBUS UFP11A Fieldbus Interface

    25/44

    ManualPROFIBUS UFP11A Fieldbus Interface 25

    4Installation and Operation with Autosetup

    4.5 Project planning of the fieldbus master

    Set an individual PROFIBUS address via the DIP switches of the UFP for projectplanning. 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 isaddressed under the specified PROFIBUS address. The number of process datawords the fieldbus master uses to address the UFP is dependent on the number ofconnected inverters. The process data width for an inverter is three (3) words. If morethan one inverter is present, three (3) words should be planned for each inverter. Forexample, you must configure nine (9) words for three (3) MOVITRAC C07.

    Example for STEP7:

    Install the GSD file sew_6004.gsd in the STEP 7 software. In HW Config of the hardware catalog, insert the UFP at the PROFIBUS. Select the setting suitable for your application from the presented process data

    configurations, e.g. "9 PD" meaning nine (9) process data words for three (3)inverters.

    Save the configuration. Expand your application program by the data exchange with the UFP. For this

    purpose, use the system functions of S7 for consistent data exchange (SFC14and SFC15).

    The BUS-FLT LED of the UFP should be extinguished after saving the project,loading it in the DP master and starting 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 in STEP 7.

    50341AXX

    Figure 9: Setting the PROFIBUS station address / nc = reserved, position OFF

    X = on

    1: x 0 = +0

    2: x 0 = +0

    4: x 1 = +4

    8: x 0 = +0

    16: x 0 = +0

    32: x 0 = +0

    64: x 0 = +0

    = 4

    1

    2

    3

    4

    5

    6

    7

    8

    9

    10

    20

    21

    22

    23

    24

    25

    26

    AS

    F1

    F2

  • 7/24/2019 PROFIBUS UFP11A Fieldbus Interface

    26/44

    4

    26 ManualPROFIBUS UFP11A Fieldbus Interface

    Installation and Operation with Autosetup

    4.6 Starting the inverters

    You can operate up to eight (8) inverters on the PROFIBUS using one UFP. The DPmaster and the UFP exchange the setpoints and actual values for all inverters

    connected to the UFP in connected data packages. It is important for you to know whichinverter is located at which position of the data package (process image). The followingfigure shows the relationship:

    The inverters are enabled by writing the value 0006h to the corresponding control word1. The speed setpoint can be specified with the following word. It has been scaled with

    0.2 1/min per digit.

    04843AXX

    Figure 10: Data exchange DP-MasterUFPInverter

  • 7/24/2019 PROFIBUS UFP11A Fieldbus Interface

    27/44

    ManualPROFIBUS UFP11A Fieldbus Interface 27

    5Installation and Operation with PC

    5 Installation and Operation with PC

    5.1 Installation and cabling For installation notes, see "PROFIBUS Interface" section.

    The UFP features a 4-pole RJ12 jack on the front. The UWS21A option, part number8230773, establishes the connection to a COM interface on your PC. For thispurpose, connect the desired COM of the PC with the UWS21A using the providedserial cable. The UWS21A is connected with the UFP via the provided cable.

    5.2 Setting the inverter parameters

    The settings can be performed via the inverter keypad; please observe the operating

    instructions of the inverter. Connect the voltage supply for the UFx and all connected inverters.

    Set an individual SBus address (P813) at the inverters. Recommendation: Addresssetting beginning with address 1 in ascending order based on the arrangement of theinverters in the control cabinet. Address 0 should not be assigned since it is used bythe UFx.

    5.3 Startup software

    Install the MOVITOOLS software package on your PC.

    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 theCOM interface and the connection via UWS21. Please check the SBus cabling undterminating 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 the "Reconfigure fieldbus node" menu item.

    Select your project path and project name. Press the "Next" button.

    Press the "Update" button. All inverters connected to the UFP should be displayednow. 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 appearin your controller. The process data width is shown at the bottom. This value isimportant for the project planning of the fieldbus master. Press the "Next" button.

  • 7/24/2019 PROFIBUS UFP11A Fieldbus Interface

    28/44

    5

    28 ManualPROFIBUS UFP11A Fieldbus Interface

    Installation and Operation with PC

    Save the project data and press the "Download" button. If the download should notwork, you have probably set the DIP switch to AUTOSETUP. The autosetup functionmust be deactivated for the PC project planning.

    The data exchanged between fieldbus master and UFP can be viewed via theprocess data monitor.

    Enabling on the terminal side is required to control the inverters via fieldbus. Youhave already wired the terminals. Please select the first inverter with address 1 in theConnected devices window and start Shell to check the terminal assignment. ForMOVITRAC 07, the terminal assignment should be set as follows:

    Repeat the previous step for all inverters displayed in the Connected deviceswindow.

    5.4 Project planning of the fieldbus master

    Set an individual PROFIBUS address via the DIP switches of the UFP for the projectplanning. The PROFIBUS address is set in binary form. A change of the PROFIBUSaddress becomes effective only after switching the UFP off and on again.

    The fieldbus master is configured using the sew_6004.gsd file. The UFP isaddressed under the specified PROFIBUS address. The number of process datawords the fieldbus master uses to address the UFP depends on the number ofconnected inverters and the specified process data width. A recommended valuewas presented in the PC project planning of the module. The GSD file offers processdata configurations in steps of three. If your configuration cannot be divided by 3,simply use the next higher one.

    Example for STEP 7:

    Install the GSD file sew_6004.gsd in the STEP 7 software. Add the UFP on the PROFIBUS from the hardware catalog in HW Config. Select the matching setting for your application from the listed process data

    configurations. Select from the displayed process data configurations. Save the configuration. Expand your application program by the data exchange with the UFP. For this

    purpose, use the S7 system functions for consistent data exchange (SFC14 andSFC15).

    Saving the project, loading it in the DP master and starting the DP master shouldextinguish the BUS-FLT LED of the UFP. Please check the cabling andterminating resistors of the PROFIBUS and the project planning, especially thePROFIBUS address in STEP 7.

  • 7/24/2019 PROFIBUS UFP11A Fieldbus Interface

    29/44

    ManualPROFIBUS UFP11A Fieldbus Interface 29

    5Installation and Operation with PC

    5.5 Starting the inverters

    You can operate up to eight (8) inverters on the PROFIBUS using one UFP. The DPmaster and the UFP exchange the setpoints and actual values for all inverters

    connected to the UFP in connected data packages. It is important for you to know whichinverter is located at which position of the data package (process image). The processdata monitor indicates the relationship in the project planning of the fieldbus gateway.

    The inverters are enabled by writing the value 0006h to the corresponding control word1. The speed setpoint can be specified with the following word. It is scaled with 0.2 1/min per digit.

  • 7/24/2019 PROFIBUS UFP11A Fieldbus Interface

    30/44

    6

    30 ManualPROFIBUS UFP11A Fieldbus Interface

    Error responses

    6 Error responses

    6.1 Fieldbus TimeoutSwitching off the fieldbus master or an open circuit of the fieldbus cabling leads to afieldbus timeout at the UFx. The connected drive inverters are switched to a safe stateby sending zeros to the process output data. This corresponds to a rapid stop on controlword 1. The fieldbus timeout error resets itself, i.e. the drive inverters will once againreceive the current process output data from the controller once the fieldbuscommunication has been reestablished. This error response can be deactivated viaP831 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 respectivedrive inverter. The SYS-FLT LED lights up and the error is also indicated via diagnosticsinterface. It is necessary to set the SBUS timeout interval P815 at the inverter to a valueother than 0 for the drive inverter to stop. The error resets itself at the UFx, i.e. thecurrent 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. Theexact 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 alldrive inverters. The SYS-FLT LED at the UFx flashes at regular intervals. The exacterror code is displayed via MOVITOOLS in the UFx status at the diagnostics interface.

  • 7/24/2019 PROFIBUS UFP11A Fieldbus Interface

    31/44

    ManualPROFIBUS UFP11A Fieldbus Interface 31

    7Diagnostics LEDs

    7 Diagnostics LEDs

    The UFP PROFIBUS interface has four diagnostics LEDs:

    "RUN" LED (green) displaying the standard operating status

    "BUS-FAULT" LED (red) displaying errors on the Profibus DP

    "SYS-FAULT" LED (red) displaying UFP system errors and operating states

    "USER" LED (green) for application-specific diagnostics in expert mode

    7.1 States of the "RUN" LED (green)

    7.2 States of the "BUS-FAULT" LED (red)

    ON Standard operation, 24 V supply o.k.

    OFF 24 V supply is missing, UFP not ready for operation. Check the 24 V voltage supplyand 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.

    OFF Standard operating state. UFP is currently exchanging data with the DP master (dataexchange). Requirement: "RUN" LED is illuminated.

    FLASHING The Profibus baud rate is detected by the UFP. But the UFP is not or incorrectlyaddressed by the DP master. Check the project planning of the DP master. Theconfigured PROFIBUS address must be identical to the PROFIBUS address set onthe DIP switch. PROFIBUS addresses must not be assigned twice. If possible, usestandard 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 isswitched off. Check the PROFIBUS connection to the UFP. Check the completePROFIBUS cabling and the terminating resistors as well as the DP master.Requirement: "RUN" LED is ON.

  • 7/24/2019 PROFIBUS UFP11A Fieldbus Interface

    32/44

    7

    32 ManualPROFIBUS UFP11A Fieldbus Interface

    Diagnostics LEDs

    7.3 States of the "SYS-FAULT" LED (red)

    7.4 States of the "USER" LED (green)

    OFF Standard operating state. The UFP is exchanging data with the connected inverters.Requirement: "RUN" LED is on.

    FLASHING brieflyonce followed by along pause

    Autosetup is selected via DIP switches and UFP is currently configuring itself. If thisstate lasts longer than 1 minute, switch autosetup off and on again. Replace themodule 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 switchingthe DIP switch off and on again. If the UFP was started using MOVITOOLS, the statuswindow displays an error message. Please check under the corresponding errordescription.

    ON The UFP does not exchange data with the connected inverters. It was not configuredor the connected inverters do not respond. Repeat the configuration of the UFP. If theUFP 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 resistorsof the SBus as well as the voltage supply of the inverter. If the UFP was started usingMOVITOOLS, select the "Update" button in the manager. All inverters should bedisplayed in the "Connected devices" window. If this is not the case, check the cablingand terminating resistors of the SBus as well as the voltage supply of the inverter. Ifnecessary, repeat the configuration of the UFP with MOVITOOLS.

    OFF Standard operating state. The "USER" LED is reserved for expert mode.

  • 7/24/2019 PROFIBUS UFP11A Fieldbus Interface

    33/44

    ManualPROFIBUS UFP11A Fieldbus Interface 33

    8DIP Switches

    8 DIP Switches

    F1: Function 1 reserved, set to "Off"

    F2: Function 2 reserved, et to "Off"

    AUTO SETUP: See "Installation and Operation without PC" section

    8.1 Adjusting the station address

    The PROFIBUS station address is set using the DIP switches on the option card.PROFIBUS supports the address range from 0 through 125.

    It is not possible to change the PROFIBUS station address via DIP switches duringoperation of the UFP11A. The modified station address will only become effective after

    switching the UFP11A on again.

    You can control the current PROFIBUS station address with parameter P092 Fieldbusaddress.

    04845AXX

    Figure 11: DIP switch

  • 7/24/2019 PROFIBUS UFP11A Fieldbus Interface

    34/44

    9

    34 ManualPROFIBUS UFP11A Fieldbus Interface

    Operating the Interface

    9 Operating the Interface

    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, Assemblerand 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 processedonline.

    Project planning/startup

    Two modes are available for project planning/startup.

    The Autoconfiguration mode sequentially assigns each participant three (3) processoutput and input data analogous to the hardware AutoSetup, beginning with the lowestsystem bus address.

    Example Autoconfiguration: Three (3) participants with addresses 10, 11 and 12 => 9PDs

    The process data assignment can be configured at random in expert mode. Theassignment can take place graphically (drag and drop).

    It is advisable to verify that the hardware AutoSetup is switched off (DIP switch 8in position OFF) before beginning an MT-Gateway session.

    Make sure that neither personnel nor system components are at risk if a bus errorshould occur on the PROFIBUS and/or system bus end.

    05037AEN

    Figure 12: Autoconfiguration example

  • 7/24/2019 PROFIBUS UFP11A Fieldbus Interface

    35/44

    ManualPROFIBUS UFP11A Fieldbus Interface 35

    9Operating the Interface

    Example Participant 10, PA1 is configured

    Packaging or bundling the process output data may look as follows: PO1..PO3 allreceive 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 processinput data. Six (6) process ouput and input data words are saved in the peripheral areain the master compared to AutoSetup.

    A multiple assignment of process input data should be avoided/does not make sense.

    05038AEN

    Figure 13: Participant 10, PA1 is configured

    05039AXXFigure 14: Multiple assignment

  • 7/24/2019 PROFIBUS UFP11A Fieldbus Interface

    36/44

    9

    36 ManualPROFIBUS UFP11A Fieldbus Interface

    Operating the Interface

    The GSD file supports the configuration of a corresponding process data width in thePROFIBUS master. If a process data width is not listed, select the next higher one (e.g.5PDs are configured in expert mode => select 6PDs):

    The parameter channel refers exclusively to the gateway.

    05040AXX

    Figure 15: Process data width

  • 7/24/2019 PROFIBUS UFP11A Fieldbus Interface

    37/44

    ManualPROFIBUS UFP11A Fieldbus Interface 37

    10List of Errors

    10 List of Errors

    Error

    code

    Designation Reaction Cause Action

    10 IPOS ILLOP IPOS programstop

    Error in the IPOS program, moreinformation via IPOS variable H469

    Correct, load and reset IPOSprogram

    17 StackOverflow

    SBuscommunicationstopped

    Malfunction of inverter electronics,possibly due to EMC influence

    Check ground connections andshieldings and correct, if necessary.Contact SEW service if this erroroccurs again.

    18 StackUnderflow

    SBuscommunicationstopped

    19 NMI SBuscommunicationstopped

    20 UndefinedOpcode SBuscommunicationstopped

    21 ProtectionFault

    SBuscommunicationstopped

    22 Illegal WordOperandAccess

    SBuscommunicationstopped

    23 IllegalInstructionAccess

    SBuscommunicationstopped

    24 Illegal E xternal

    Bus Access

    SBus

    communicationstopped

    25 EEPROM SBuscommunicationstopped

    Error while accessing EEPROM Activate factory settings, performreset and set parameters for UFxagain. Contact SEW service if theerror occurs again.

    28 FieldbusTimeout

    Default: POdata = 0Error responseadjustable viaP831

    No communication took placebetween master and slave within theprojected response monitoring.

    Check communications routineof the master.

    Extend the fieldbus timeoutinterval (response monitoring)in the master project planning ordeactivate monitoring.

    32 IPOS IndexOverflow

    IPOS programstop

    Programming principles violated,leading to in-system stack overflow.

    Check and correct IPOS applicationprogram.

    37 WatchdogError

    SBuscommunicationstopped

    Error during execution of systemsoftware

    Check ground connections andshieldings and correct, if necessary.Contact SEW service if the faultoccurs again.

    45 InitializationError

    SBuscommunicationstopped

    Error after self-test during reset Check DIP switches F1 and F2;they must be set to "Off." Perform areset. Contact SEW service if theerror occurs again.

    77 Invalid IPOSControl Value

    IPOS programstop

    An attempt was made to set aninvalid automatic mode (via externalcontroller).

    Check write values of externalcontroller.

  • 7/24/2019 PROFIBUS UFP11A Fieldbus Interface

    38/44

    10

    38 ManualPROFIBUS UFP11A Fieldbus Interface

    List of Errors

    91 System Error None Please observe the red SYS-FLTLED of the UFx. If this LED is on,one or several participants on theSBus could not be addressed withinthe timeout interval. If the red SYS-FLT LED flashes, the UFx itself is inan error state. In this case, error 91was reported to the controller onlyvia fieldbus.

    Check voltage supply and SBuscabling, check SBus terminatingresistors. Check the projectplanning if the UFx was configuredwith the PC. Switch UFx off and onagain. If the error is still present,query the error via diagnosticsinterface and perform the actiondescribed in this table.

    Error

    code

    Designation Reaction Cause Action

  • 7/24/2019 PROFIBUS UFP11A Fieldbus Interface

    39/44

    ManualPROFIBUS UFP11A Fieldbus Interface 39

    11Technical Data

    11 Technical Data

    Part number: 823 896 0

    Tools for startup: MOVITOOLS V 2.70 or later

    Voltage supply: 24 VDC, external supply

    Parameter setting and diagnostics interface: RS-485

    Parameter setting: Autoconfiguration

    via MOVITOOLS V 2.70 or later

    Diagnostics: LEDs at front of device

    MOVITOOLS

    Installation: Screw-type or DIN rail installation

    Ambient temperature: 10 C ... + 50 C

    PROFIBUS DP PROFIBUS protocol variants: PROFIBUS DP to DIN E 19245 T3

    Automatic baud rate detection: 9.6 kBaud ... 12 MBaud

    Connection technology: 9-pole Sub-D connector

    Pin assignment to DIN 19245 T1

    Bus termination: Externally via connector

    Station address: 0 ... 125 adjustable via DIP switches

    Name of GSD file: SEW_6004.GSD

    DP ident number: 6004hex = 24580dec

    SBus Maximum transmission speed: 1 MBaud

    Transmission protocol: MOVILINK

    Number of units on the SBus: Max. 8

    Process data words per unit: Max. 3 PD

    Connection technology: Separable screw-type terminals

  • 7/24/2019 PROFIBUS UFP11A Fieldbus Interface

    40/44

    12

    40 ManualPROFIBUS UFP11A Fieldbus Interface

    Dimension Drawing

    12 Dimension Drawing

    05114AXX

    Figure 16: Dimension drawing

  • 7/24/2019 PROFIBUS UFP11A Fieldbus Interface

    41/44

    ManualPROFIBUS UFP11A Fieldbus Interface 41

    13 Index

    A

    Additional code 20Administration, parameter channel 17Autosetup 22,24

    B

    Baud rate 7Bus termination 8BUS-FAULT 31

    C

    Communications error, internal 21Configuration 9Configuration data 13

    Connection 6,7Connector assignment 6Control 15Control example 16

    D

    Data integrity 14Diagnostics interface 5Diagnostics LEDs 31DIP switches 5,25, 33DP configuration 9,10,13

    E

    Error class 19Error code 19

    F

    Faulty service execution 18Front view 5

    G

    Graphical interface 34GSD file 9

    I

    Ident number 14Identifier byte 13Index addressing 18Installation notes 6Internal communications error 21Inverter parameters 23,27

    L

    Length information 21List of errors 37

    P

    Parameter channel 16Parameter channel data area 18Parameter channel, management 17

    Parameter channel, structure 16Process data configuration 10,11

    PROFIBUS 14PROFIBUS address 25,28,33Project planning 28,34Project planning of master 25

    R

    Return codes 19RUN 31

    S

    Service coding 21Service execution, faulty 18

    Setting parameters via PROFIBUS DP 16Setting the inverter parameters 23,27Shielding 6,7,8Simatic S7 14,16Starting the inverters 26, 29Startup 9,27,34Station address 33STEP7 16STEP7 programming example 16Structure, parameter channel 16SYS-FAULT 32

    U

    Unit design 5Universal configuration 13USER 32

  • 7/24/2019 PROFIBUS UFP11A Fieldbus Interface

    42/44

    10/2000

  • 7/24/2019 PROFIBUS UFP11A Fieldbus Interface

    43/44

    10/2000

  • 7/24/2019 PROFIBUS UFP11A Fieldbus Interface

    44/44

    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 [email protected]