SEW-Eurodrive DFE33B Manual

SEW-Eurodrive DFE33B Manual

Fieldbus interface ethernet/ip and modbus/tcp
Table of Contents

Advertisement

Drive Technology \ Drive Automation \ System Integration \ Services
Fieldbus Interface DFE33B
EtherNet/IP and Modbus/TCP
Manual
Edition 10/2008
16725611 / EN

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DFE33B and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for SEW-Eurodrive DFE33B

  • Page 1 Drive Technology \ Drive Automation \ System Integration \ Services Fieldbus Interface DFE33B EtherNet/IP and Modbus/TCP Manual Edition 10/2008 16725611 / EN...
  • Page 2 SEW-EURODRIVE – Driving the world...
  • Page 3 4.2.2 Connecting the system bus between several MOVITRAC B units . 15 Installing the DFE33B gateway / UOH11B........... 17 Connection and terminal description of the DFE33B option ......18 Status LED of the DFE33B option ............... 19 4.5.1 Gateway LED ..................20 Pin assignment ....................
  • Page 4 5.5.3 Access to the unit parameters of MOVIDRIVE B ......47 ® 5.5.4 MOVITRAC B unit parameter access via DFE33B / UOH11B ..53 6 Ethernet Industrial Protocol (EtherNet/IP) ............54 Introduction ....................54 Process data exchange ................54 CIP object directory..................55 Return codes for parameter setting via explicit messages......
  • Page 5 13 Technical Data ....................132 ® 13.1 DFE33B option for MOVIDRIVE B............132 ® 13.2 Dimension drawing of DFE33B option for MOVITRAC B and in the gateway housing .................. 133 14 Appendix ......................134 14.1 Parameter access to lower-level units via EtherNet/IP ......134 14.2 Parameter access to lower-level units via Modbus/TCP ......
  • Page 6: General Information

    Possible dangerous situation Minor injuries Specific danger, NOTICE Possible damage to property Damage to the drive system or its e.g. electric shock environment Useful information or tip. Simplifies handling of the drive system. Manual – Fieldbus Interface DFE33B EtherNet/IP and Modbus/TCP...
  • Page 7: Rights To Claim Under Warranty

    B / MOVITRAC documentation to ensure safe operation and to achieve the specified product characteris- tics and performance features. SEW-EURODRIVE assumes no liability for injury to per- sons or damage to equipment or property resulting from non-observance of these oper- ating instructions.
  • Page 8: Safety Notes

    Waste disposal Please observe current national regulations. Dispose of the following materials separately in accordance with the country-specific regulations in force, as: • Electronics scrap • Plastic • Sheet metal • Copper Manual – Fieldbus Interface DFE33B EtherNet/IP and Modbus/TCP...
  • Page 9: Introduction

    RS485 and also via the fieldbus interface. Properties ® With the DFE33B option and its powerful universal fieldbus interface, MOVIDRIVE ® MDX61B inverters and MOVITRAC B frequency inverters allow for connection to higher-level automation systems via EtherNet/IP or Modbus/TCP.
  • Page 10: Access To All Information

    3.3.2 Access to all information With the fieldbus interfaces of option DFE33B, all SEW drives allow digital access to all drive parameters and functions. The inverter is controlled via fast, cyclic process data. With this process data channel, you can enter setpoints such as the setpoint speed, ramp generator time for acceleration/deceleration, etc.
  • Page 11: Assembly And Installation Instructions

    Assembly and Installation Instructions ® Installing the DFE33B option card in MOVIDRIVE MDX61B Assembly and Installation Instructions This section provides information about assembly and installation of the DFE33B option ® ® card in MOVIDRIVE MDX61B, MOVITRAC B and UOH11B gateway housing.
  • Page 12: Before You Begin

    • Keep the option card in its original packaging until immediately before you are ready to install it. • Hold the option card by its edges only. Do not touch any components. Manual – Fieldbus Interface DFE33B EtherNet/IP and Modbus/TCP...
  • Page 13 4. Insert the retaining bracket with installed option card into the slot, pressing slightly so it is seated properly. Secure the card retaining bracket with the two retaining screws. 5. To remove the option card, follow the instructions in reverse order. Manual – Fieldbus Interface DFE33B EtherNet/IP and Modbus/TCP...
  • Page 14 Terminal assignment X12:8 DC+24 V input X12:9 GND reference potential for binary inputs To simplify cabling, the DFE33B option can be supplied with DC 24 V from X46.7 of the ® ® MOVITRAC B to X26.7. MOVITRAC B must be supplied with DC 24 V at terminals X12.8 and X12.9 when it supplies the DFE33B option.
  • Page 15 X26:5 Reserved X46:6 GND (System bus reference) X26:6 GND, CAN GND X46:7 DC 24 V X26:7 DC 24 V Terminal assignment X12:8 DC+24 V input X12:9 GND reference potential for binary inputs Manual – Fieldbus Interface DFE33B EtherNet/IP and Modbus/TCP...
  • Page 16 Connect the system bus terminating resistor (S1 = ON) at the end of the system bus connection. Switch off the terminating resistor on the other units (S1 = OFF). The DFE33B gateway must always be connected either at the beginning or the end of the system bus connection. The terminating resistor is permanently installed.
  • Page 17: Installing The Dfe33B Gateway / Uoh11B

    Assembly and Installation Instructions Installing the DFE33B gateway / UOH11B Installing the DFE33B gateway / UOH11B The following figure shows the connection of the DFE33B option via the UOH11B gateway housing. Only SEW-EURODRIVE engineers are allowed to install or remove option cards in/from the UOH11B gateway housing.
  • Page 18: Connection And Terminal Description Of The Dfe33B Option

    Assembly and Installation Instructions Connection and terminal description of the DFE33B option Connection and terminal description of the DFE33B option Part number EtherNet/IP and Modbus/TCP fieldbus interface option type DFE33B: 1821 346 4 Front view of Description Function DFE33B switch...
  • Page 19: Status Led Of The Dfe33B Option

    Assembly and Installation Instructions Status LED of the DFE33B option Status LED of the DFE33B option The LEDs of the DFE33B option card indicate the current status of the DFE33B option and the fieldbus system. DFE33B MODULE STATUS NETWORK STATUS...
  • Page 20: Gateway Led

    Link (X30) / flashes Locating function of Address Editor (see section 10) As the firmware of the DFE33B option card takes approx. 15 seconds for initialization, the status "0" (inverter not ready) is displayed in the 7-segment display of ®...
  • Page 21: Pin Assignment

    / MOVITRAC B / Ethernet connection To connect DFE33B to the Ethernet, connect the Ethernet interface X30 or X32 (RJ45 plug connector) to the other network stations using a category 5, class D twisted-pair cable in accordance with IEC 11801 edition 2.0. The integrated switch provides support for achieving a line topology and offers auto-crossing functions.
  • Page 22: The Integrated Ethernet Switch

    Notes on • The integrated Ethernet switch offers no filter functionality for Ethernet multicast tele- multicast grams. Multicast telegrams that are usually sent from the adapters (DFE33B) to the handling scanners (PLC) are passed on to all switch ports. •...
  • Page 23: Setting The Dip Switches

    (see section "Auto Setup for gateway operation"). The configuration becomes active when the "AS" DIP switch is set from "0" to "1". To continue operation, the "AS" DIP switch must remain in the "1" position (= ON). Manual – Fieldbus Interface DFE33B EtherNet/IP and Modbus/TCP...
  • Page 24: Tcp/Ip Addressing And Subnetworks

    52.4 = Station address 192 ... 223 192.168.10.4 192.168.10 = Network address 4 = Station address This rough division is not sufficient for a number of networks. They also use an explicit, adjustable subnet mask. Manual – Fieldbus Interface DFE33B EtherNet/IP and Modbus/TCP...
  • Page 25 This means the IP address is assigned from a table, which contains the allocation of MAC address to IP address. Parameter P785 indicates whether the DFE33B option expects the IP parameters to be assigned manually or via DHCP. Manual – Fieldbus Interface DFE33B EtherNet/IP and Modbus/TCP...
  • Page 26: Setting The Ip Address Parameters

    Once the DHCP server has been configured and the settings have been made for the subnetwork screen and the standard gateway, the DFE33B must be inserted in the assignment list of the DHCP server. In doing so, the MAC ID of the DFE33B option is allocated a valid IP address.
  • Page 27 Switch the DC 24 V supply voltage and the mains voltage back on. SEW Address To access the IP settings of the DFE33B interfaces without the Ethernet settings of the Editor PC and DFE33B having to match, the SEW Address Editor can be used if firmware version .11 or higher is installed on the DFE33B.
  • Page 28: Procedure For Replacing The Unit

    4.12 Procedure for replacing the unit If the DIP switch "Def IP" of the DFE33B option is set to "1" (= ON), the DIP switch "Def IP" on the new DFE33B must also be set to "1" (= ON) (after the option card has been ®...
  • Page 29 IP parameters. Refer to the MOVITRAC operating instructions for more information. Enter the IP address, which is set in the DFE33B or defined in the assignment list of the DHCP server, into the field on the front panel of the DFE33B option for future diagnostic or engineering work.
  • Page 30: Project Planning And Startup (Ethernet/Ip)

    This section provides information on project planning for the EtherNet/IP master and startup of the inverter for fieldbus operation. As a prerequisite, the connection and set- ting of the IP address parameters of DFE33B must be correct according to the section "Assembly and Installation Instructions".
  • Page 31: Configuring The Master (Ethernet/Ip Scanner)

    IO configuration. Process data In the following project planning example, the option DFE33B is added to a project. To exchange do so, go to the "Controller Organizer" screen in the RSLogix 5000 program as shown in the screenshot below (use the tree structure on the left side of the screen).
  • Page 32 • In the "Comm Format" dropdown menu, choose the entry "Data – INT" as the data format. Process data for DFE33B always contains 16 bits (INT). • In the "Connection Parameters" group area, enter the value "130" in the "Input Assembly Instance"...
  • Page 33 On the "Connection" tab page you can set the data rate and, if necessary, the error response of the controller. 11712AXX • The DFE33B option supports a minimum data rate (input field "Requested Packet Interval (RPI)") of 4 ms. Longer cycle times can be implemented without any prob- lems. •...
  • Page 34 • In the "Comm Format" dropdown menu, choose the entry "Data – INT" as the data format. Process data for DFE33B always contains 16 bits (INT). • In the "Connection Parameters" group box, enter the value "132" in the "Input Assembly Instance"...
  • Page 35 On the "Connection" tab page you can set the data rate and, where applicable, the error response of the controller. 11712AXX • The DFE33B option supports a minimum data rate (input field "Requested Packet Interval (RPI)") of 4 ms. Longer cycle times can be implemented without any problems. •...
  • Page 36: Auto Setup For Gateway Operation

    DIP switch off and back on again. As a first step, the DFE33B searches for inverters on the lower-level SBus. This process is indicated by the LED H1 (system error) flashing briefly. For this purpose, different SBus addresses must be set for the inverters (P881).
  • Page 37: Setting The Movidrive ® Mdx61B Inverter

    DIØØ (function /CONTROL INHIBIT) input terminal to a +24 V signal and to program input terminals DIØ1 to DIØ7 to NO FUNCTION. Manual – Fieldbus Interface DFE33B EtherNet/IP and Modbus/TCP...
  • Page 38 Set the parameter P881 SBus address to values of 1 to 8 and upwards in ascending order. • The SBus address 0 is used by DFE33B gateway and therefore must not be used. • Set P883 SBus timeout to values between 50 and 200 ms.
  • Page 39: Project Planning Examples In Rslogix5000

    ® 5.5.1 MOVIDRIVE B with 10 PD data exchange 1. Set the IP address of the DFE33B (see section "Setting the IP address parameters"). ® 2. Then follow sections 5.2 and 5.2.1 to add MOVIDRIVE B with DFE33B to the EtherNet/IP configuration.
  • Page 40 B (see section 5.3). 11784AXX 5. To copy the data from the drive to the new data structure, insert a CPS command at the start of the "MainRoutine" (see following figure). 11785AXX Manual – Fieldbus Interface DFE33B EtherNet/IP and Modbus/TCP...
  • Page 41 6. Now save the project and transfer it to the PLC. The PLC is set to RUN mode. The actual values can now be read from the drive and setpoint values can be written. 11787AXX Manual – Fieldbus Interface DFE33B EtherNet/IP and Modbus/TCP...
  • Page 42 Project Planning and Startup (EtherNet/IP) Project planning examples in RSLogix5000 ® The process data should correspond with the values displayed in the MOVITOOLS MotionStudio parameter tree (see following figure). 12048AXX Manual – Fieldbus Interface DFE33B EtherNet/IP and Modbus/TCP...
  • Page 43: Movitrac ® B Via Gateway Dfe33B / Uoh11B

    5.5.2 MOVITRAC B via gateway DFE33B / UOH11B 1. Set the IP address of the DFE33B option (see section "Setting the IP address para- meters"). 2. Add the DFE33B gateway to the EtherNet/IP configuration as described in sections 5.2 and 5.2.2.
  • Page 44 Note that the structure SEW_Gateway_DFE33B:I.Data contains the process data of all drives at the gateway. This means the three data words of each drive have to be copied from the structure beginning with a certain offset ([0], [3] to [21]). Manual – Fieldbus Interface DFE33B EtherNet/IP and Modbus/TCP...
  • Page 45 7. Now save the project and transfer it to the PLC. The PLC is set to RUN mode. Now actual values from the drives can be read and setpoint values can be written. 11793AXX Manual – Fieldbus Interface DFE33B EtherNet/IP and Modbus/TCP...
  • Page 46 Project Planning and Startup (EtherNet/IP) Project planning examples in RSLogix5000 The process data should correspond with the values displayed in the gateway ® configurator for the DFE33B or in the MOVITOOLS MotionStudio parameter tree (see following figure). 11762AXX 12080AXX Manual – Fieldbus Interface DFE33B EtherNet/IP and Modbus/TCP...
  • Page 47 This value is not used. However, it is mandatory because the "Data" element has to be allocated to a 32-bit address. 1. Create a user-defined data structure "SEW_Parameter_Channel" (see figure below). 11764AXX 2. Define the following controller tags (see following figure). 11765AXX Manual – Fieldbus Interface DFE33B EtherNet/IP and Modbus/TCP...
  • Page 48 B. Source Length = 12 C. Destination = ReadParameterResponse.Index D. Class = 7 E. Instance = 1 F. Attribute = 4 G. Service code = e The Service Type is then set automatically. Manual – Fieldbus Interface DFE33B EtherNet/IP and Modbus/TCP...
  • Page 49 11714AXX Do not select the "Connected" checkbox, as both the controller and the DFE33B option permit only a limited number of connections. 6. Once the changes have been downloaded to the PLC, the index of the parameter to be read can be entered in ReadParameterRequest.Index.
  • Page 50 150 rpm (Error response see section "Return codes for parameter setting via explicit messages"). ® You can check the value in the MOVITOOLS MotionStudio parameter tree (see following figure). The tooltip displays, for example, the index, subindex, scaling, etc. of a parameter. 11770AXX Manual – Fieldbus Interface DFE33B EtherNet/IP and Modbus/TCP...
  • Page 51 Select "CIP Generic" as the "Message Type". Fill in the data in the following order: – Source Element = WriteParameterRequest.Index – Source Length = 12 – Destination = WriteParameterResponse.Index – Class = 7 – Instance = 2 – Attribute = 4 – Service Code = 10 Manual – Fieldbus Interface DFE33B EtherNet/IP and Modbus/TCP...
  • Page 52 "Return codes for parameter setting via explicit messages"). ® You can check the value in the MOVITOOLS MotionStudio parameter tree. The tooltip of a parameter displays, for example, the index, subindex, scaling, etc. of a parameter. Manual – Fieldbus Interface DFE33B EtherNet/IP and Modbus/TCP...
  • Page 53: Movitrac ® B Unit Parameter Access Via Dfe33B / Uoh11B

    5.5.4 MOVITRAC B unit parameter access via DFE33B / UOH11B ® The access to MOVITRAC B unit parameters via EtherNet/IP SBus gateway DFE33B / ® UOH11B is identical to the access to MOVIDRIVE B parameter data (see section 5.5.3). The only difference is that Read/WriteParameterRequest.SubChannel1 must be set to 2 and Read/WriteParameterRequest.SubAddress1 must be set to the SBus...
  • Page 54: Ethernet Industrial Protocol (Ethernet/Ip)

    DeviceNet and ControlNet as an application protocol. Process data exchange Depending on how the DFE33B option is used, up to 10 process data words (for oper- ® ation in MOVIDRIVE B) or up to 24 process data words (in gateway operation) can be exchanged with an EtherNet/IP master (scanner).
  • Page 55: Cip Object Directory

    Unique serial number Product Name SHORT_STRING SEW-MOVIDRIVE-DFE33B Product name SEW-GATEWAY-DFE33B ® 1) The values in the identity object depend on whether the DFE33B option is used in MOVIDRIVE B or as gateway. Manual – Fieldbus Interface DFE33B EtherNet/IP and Modbus/TCP...
  • Page 56 List of objects Classes ARRAY of 01 00 02 00 UINT 04 00 06 00 07 00 0F 00 64 00 F5 00 F6 00 Number UINT 0009 Maximum number of connections Available Manual – Fieldbus Interface DFE33B EtherNet/IP and Modbus/TCP...
  • Page 57 Instance Get_Attributes_All – Get_Attribute_Single Assembly object • The assembly object is used to access the DFE33B process data. IO connections can be created for the instances of the assembly object to exchange cyclic process data. • Class code: 04 Class...
  • Page 58 CIP object directory Instances for operation as gateway Instance 122 - This instance is used to access the DFE33B process output data. It can be controlled SEW PO data by only one scanner. Therefore, only one connection can be established with this range instance.
  • Page 59 For parameter access using the register object, you must wait for a response before sending the next request to the DFE33B. Otherwise, the DFE33B generates an Error response with the General Error Code 0x1E. However, depending on the unit, a tim- eout may also occur.
  • Page 60 (Instance 6) Input Get_Attribute_Single READ SCALING (Instance 7) Input Get_Attribute_Single READ ATTRIBUTE (Instance 8) Input Get_Attribute_Single READ EEPROM (Instance 9) EtherNet/IP SEW fieldbus profile 54185BEN Fig. 2: Description of the parameter channel Manual – Fieldbus Interface DFE33B EtherNet/IP and Modbus/TCP...
  • Page 61 BYTE Reserved (must be "0") 1) See the "Appendix" for a schematic representation of the parameter access to lower-level units. Supported services Service code [hex] Service name Class Instance Get_Attribute_Single Set_Attribute_Single – Manual – Fieldbus Interface DFE33B EtherNet/IP and Modbus/TCP...
  • Page 62 Link Path USINT No link is specified Size Link Path Packed Not used here EPATH Descriptor WORD 0000 Read/write parameter Data Type EPATH 00C7 UINT Data Size USINT Data length in bytes Manual – Fieldbus Interface DFE33B EtherNet/IP and Modbus/TCP...
  • Page 63 Link Path USINT No link is specified Size Link Path Packed Not used here EPATH Descriptor WORD 0000 Read/write parameter Data Type EPATH 00C7 UINT Data Size USINT Data length in bytes Manual – Fieldbus Interface DFE33B EtherNet/IP and Modbus/TCP...
  • Page 64 Not used here EPATH Descriptor WORD 0000 Read/write parameter Data Type EPATH 00C8 UDINT Data Size USINT Data length in bytes Supported services Service code [hex] Service name Class Instance Get_Attribute_Single Set_Attribute_Single – Manual – Fieldbus Interface DFE33B EtherNet/IP and Modbus/TCP...
  • Page 65 Name Data type Subaddress 1 BYTE Subchannel 1 BYTE Subaddress 2 BYTE Subchannel 2 BYTE Data Len Low BYTE Data Len High BYTE Reserved BYTE Reserved BYTE BYTE Vardata Array of BYTE Manual – Fieldbus Interface DFE33B EtherNet/IP and Modbus/TCP...
  • Page 66 Name Server 2 UDINT 00000000 DNS is not supported Domain Name STRING sew.de Host Name STRING Not used here Supported services Service code [hex] Service name Class Instance Get_Attributes_All Get_Attribute_Single Set_Attribute_Single – Manual – Fieldbus Interface DFE33B EtherNet/IP and Modbus/TCP...
  • Page 67 Physical ARRAY of 00 0F 69 xx MAC ID Address 6 USINTs xx xx xx SEW MAC OUI: 00 0F 69 Supported services Service code [hex] Service name Class Instance Get_Attributes_All Get_Attribute_Single Manual – Fieldbus Interface DFE33B EtherNet/IP and Modbus/TCP...
  • Page 68: Return Codes For Parameter Setting Via Explicit Messages

    (see following figure). 11937AXX SEW-specific The return codes that are returned by the DFE33B option or the inverter in the event of ® return codes incorrectly set parameters are described in the section "MOVILINK -specific return codes".
  • Page 69 Ethernet Industrial Protocol (EtherNet/IP) Return codes for parameter setting via explicit messages Timeout of The timeout is triggered by the DFE33B option. The timeout interval must be set by the explicit master after the connection has been established. The EtherNet/IP specification refers messages to an "expected packet rate"...
  • Page 70 Communication not initialized 0x11 Mouse conflict 0x12 Illegal bus 0x13 FCS error 0x14 PB init 0x15 SBUS – illegal fragment count 0x16 SBUS – illegal fragment type 0x17 Access denied Not used Manual – Fieldbus Interface DFE33B EtherNet/IP and Modbus/TCP...
  • Page 71 Value invalid 0x1E Setup started 0x1F Buffer overflow 0x20 "No enable" required 0x21 End of file 0x22 Communication order 0x23 "IPOS stop" required 0x24 Autosetup 0x25 Encoder nameplate error 0x29 PLC state error Manual – Fieldbus Interface DFE33B EtherNet/IP and Modbus/TCP...
  • Page 72: Project Planning And Startup (Modbus/Tcp)

    This section provides information on project planning for the Modbus/TCP master and startup of the inverter for fieldbus operation. Prerequisite is the correct connection and setting of the IP address parameters of the DFE33B in accordance with the section "Assembly and Installation Instructions".
  • Page 73 DHCP server, select the checkbox "Client/Server configuration" in the section "IP address configuration". • In the "Ethernet configuration" section, select the checkbox "Ethernet II". • In the "Module utilities" section, select the checkbox "IO Scanning". 10816AXX Manual – Fieldbus Interface DFE33B EtherNet/IP and Modbus/TCP...
  • Page 74 4. – In the "RD count" and "WR count" input fields, enter the number of words to be exchanged. The values must be the same in both fields. For the DFE33B option, you can enter between 1 and 10 words.
  • Page 75 – In the "RD count" and "WR count" input fields, enter the number of words to be exchanged. The values must be the same in both fields. For the DFE33B option you can enter between 3 and 24 words (in steps of 3) in gateway operation.
  • Page 76: Auto Setup For Gateway Operation

    DIP switch off and back on again. As a first step, the DFE33B searches for inverters on the lower-level SBus. This process is indicated by the LED H1 (system error) flashing briefly. For this purpose, different SBus addresses must be set for the inverters (P881).
  • Page 77: Setting The Movidrive ® Mdx61B Inverter

    DIØØ (function /CONTROL INHIBIT) input terminal to a +24 V signal and to program input terminals DIØ1 to DIØ7 to NO FUNCTION. Manual – Fieldbus Interface DFE33B EtherNet/IP and Modbus/TCP...
  • Page 78 Set the parameter P881 SBus address to values of 1 and upwards in ascending order. • The SBus address 0 is used by DFE33B gateway and therefore must not be used. • Set P883 SBus timeout to values between 50 and 200 ms.
  • Page 79: Project Planning Examples In Pl7 Pro

    ® 7.5.1 MOVIDRIVE B with 3 PD data exchange 1. Set the IP address of the DFE33B (see section "Setting the IP address parameters"). ® 2. Then follow sections 7.2 and 7.2.1 to add MOVIDRIVE B with DFE33B to the configuration for IO scanning.
  • Page 80 Project Planning and Startup (Modbus/TCP) Project planning examples in PL7 PRO ® 7. The process data should correspond with the values displayed in the MOVITOOLS MotionStudio parameter tree (see following figure). 12048AXX Manual – Fieldbus Interface DFE33B EtherNet/IP and Modbus/TCP...
  • Page 81: Movitrac ® B Via Gateway Dfe33B / Uoh11B

    7.5.2 MOVITRAC B via gateway DFE33B / UOH11B 1. Set the IP address of the DFE33B option (see section "Setting the IP address parameters"). 2. Then follow sections 7.2 and 7.2.2 to add the DFE33B gateway to the configuration for IO scanning.
  • Page 82 Project Planning and Startup (Modbus/TCP) Project planning examples in PL7 PRO 7. The process data should correspond with the values displayed in the gateway ® configurator for the DFE33B or in the MOVITOOLS MotionStudio parameter tree (see following figure). 11762AXX 12080AXX Manual –...
  • Page 83: Examples For Data Exchange Via Modbus/Tcp

    In all other examples, only the Modbus/TCP part of the telegram is described. The TCP/IP part of the telegram and the establishing and disconnecting of a TCP/IP connec- tion are not examined in detail. Manual – Fieldbus Interface DFE33B EtherNet/IP and Modbus/TCP...
  • Page 84: Writing And Reading Process Data

    Offset from where the PD is Write reference number located: 0x04 Must always be 4 0x00 No. of PD (here 3): Must be PD 1 to 10 for DFE33B 0x03 ® Write word count in MOVIDRIVE 3, 6, 9, ... 24 for DFE33B as gateway...
  • Page 85 0x04 tions and section "Modbus Must always be 4 protocol (Modbus/TCP)" 0x00 No. of PD (here 3): Must be PD 1 to 10 for DFE33B ® Read word count in MOVIDRIVE 0x03 3, 6, 9, ... 24 for DFE33B as...
  • Page 86: Parameter Access

    0x00 0x00 1) The unit identifier 0 and 0xFF is used to access the parameters of DFE33B directly. For other values, the request is passed on to a lower-level unit (unit identifier = SBus address). This allows parameter access for inverters that are connected via a DFE33B gateway without any restrictions.
  • Page 87 0x00 0x00 1) The unit identifier 0 and 0xFF is used to access the parameters of DFE33B directly. For other values, the request is passed on to a lower-level unit (unit identifier = SBus address). This allows parameter access for inverters that are connected via a DFE33B gateway without any restrictions.
  • Page 88: Modbus Protocol (Modbus/Tcp)

    This table begins at offset 4 and ends at offset 0FF . Depending on how the DFE33B is used, there are 10 to 24 cyclically transmitted process data words in it. • The process data output words from the controller are also saved in another table.
  • Page 89: Services (Function Codes)

    Modbus Protocol (Modbus/TCP) Introduction 8.1.2 Services (function codes) For process data exchange, parameter data exchange and unit identification, the DFE33B option provides four service FCs (Function Codes). • FC 3 Read Holding Registers • FC16 Write Multiple Registers • FC23 Read/Write Multiple Registers •...
  • Page 90: Protocol Structure

    MOVIDRIVE • 0 or 255 for parameters of the DFE33B gateway itself • 1 – 63 for parameters of a unit connected to the DFE33B gateway via SBus. Unit identifier = SBus address. Function code Required service 8 ...
  • Page 91: Service Fc3 – Read Holding Registers

    9..Data 2 – ... data bytes depending on the length Exception: Byte Designation Meaning / permitted values 0 - 6 MBAP header See section "Header" Function code Exception code Fault code Manual – Fieldbus Interface DFE33B EtherNet/IP and Modbus/TCP...
  • Page 92: Service Fc16 – Write Multiple Registers

    Number of words (register) Word count (low) Number of words (register) Exception: Byte Designation Meaning / permitted values 0 - 6 MBAP header See section "Header" Function code Exception code Fault code Manual – Fieldbus Interface DFE33B EtherNet/IP and Modbus/TCP...
  • Page 93: Service Fc23 – Read/Write Multiple Registers

    Number of following bytes Data 2 – ... Data bytes depending on the length Exception: Byte Designation Meaning 0 - 6 MBAP header See section "Header" Function code Exception code Fault code Manual – Fieldbus Interface DFE33B EtherNet/IP and Modbus/TCP...
  • Page 94: Service Fc43 – Read Device Identification

    3 blocks (Basic, Regular and Extended) that can be read. The DFE33B option supports the Basic and Regular blocks (conformity level 02). The entire block is always read (streaming). This means that values 01 and 02 are permitted in the Read Device ID Code.
  • Page 95: Connection Management

    (gateway operation). As long as this connection is active, no other master can change the process output data (PO data). Manual – Fieldbus Interface DFE33B EtherNet/IP and Modbus/TCP...
  • Page 96: Closing The Connections

    In the event of a timeout, the error response set in parameter P831 Response fieldbus ® timeout is executed. MOVIDRIVE B with DFE33B option also displays error message F28 (= fieldbus timeout) on the 7-segment display. Manual – Fieldbus Interface DFE33B EtherNet/IP and Modbus/TCP...
  • Page 97: Parameter Access Via Modbus/Tcp

    Procedure with FC23 Master / Slave / Modbus client Modbus server FC23 request with acyclic request FC3 response with acyclic result 64073AEN With FC23, the result is returned directly in the response. Manual – Fieldbus Interface DFE33B EtherNet/IP and Modbus/TCP...
  • Page 98: Protocol Structure

    (see section "Header"). ® ® See the section "MOVILINK parameter channel" for a description of the MOVILINK parameter data (8 byte) and how they are mapped in registers 200 – 203 Manual – Fieldbus Interface DFE33B EtherNet/IP and Modbus/TCP...
  • Page 99: Movilink ® Parameter Channel

    (management = write 4 bytes / subindex = 0) • Offset 201 = 219E (index = 8606) • Offset 202 = 0(data high) • Offset 203 = 01F4 (data low = 500) Manual – Fieldbus Interface DFE33B EtherNet/IP and Modbus/TCP...
  • Page 100: Fault Codes (Exception Codes)

    (e. g. internal timeout) SLAVE DEVICE BUSY A controlling connection already exists (either from another Modbus controller or another fieldbus system) GATEWAY PATH UNAVAILABLE The data cannot be transferred to a subsystem. Manual – Fieldbus Interface DFE33B EtherNet/IP and Modbus/TCP...
  • Page 101: Integrated Web Server

    Integrated Web Server Software requirements Integrated Web Server ® The DFE33B option card has a homepage for simple web diagnostics of MOVIDRIVE ® and MOVITRAC . To access the start page, start your browser and enter the following IP address of the DFE33B: Example: http://192.168.10.4...
  • Page 102: Design Of The Homepage Of The Integrated Web Server

    [2] Main window (Home) Button for starting the diagnostics applet [3] Main window (Home) Button for displaying website help ® [4] Main window (Home) Link to the MOVIDRIVE B documentation page (Internet access required) Manual – Fieldbus Interface DFE33B EtherNet/IP and Modbus/TCP...
  • Page 103: Layout Of The Diagnostics Applet

    The table is visible by default. It lists all units and subunits found during a scan. unit status Since the status table sends cyclic parameter requests to the unit, you can also close the table using the status button (bottom right). Manual – Fieldbus Interface DFE33B EtherNet/IP and Modbus/TCP...
  • Page 104 If the selected unit has several display columns, the tab will display (shows parameter displays those columns. being implemented) [3] Main window with display The main window gives a visualization of the parameters. values and figures Manual – Fieldbus Interface DFE33B EtherNet/IP and Modbus/TCP...
  • Page 105 This plugin is used to display the process data between the controller and the ® monitor plugin MOVIDRIVE B as well as to diagnose the process data assignment. ® for MOVIDRIVE 11862AXX Manual – Fieldbus Interface DFE33B EtherNet/IP and Modbus/TCP...
  • Page 106 ® Example: Bus This plugin is used to display the process data between the controller and MOVITRAC monitor plugin as well as to diagnose the process data assignment. ® for MOVITRAC 11863AXX Manual – Fieldbus Interface DFE33B EtherNet/IP and Modbus/TCP...
  • Page 107: Access Protection

    – It is not possible to download a parameter set or an IPOS program. ® – Diagnostics via MOVITOOLS MotionStudio is possible, the scope settings, however, cannot be changed. • Maintenance ® – MOVITOOLS MotionStudio can be operated without any limitations. Manual – Fieldbus Interface DFE33B EtherNet/IP and Modbus/TCP...
  • Page 108: Tasks

    The following basic components are integrated into MOVITOOLS MotionStudio, allowing you to use the units to execute functions: • MotionStudio ® • MOVITOOLS ® All functions communicate using tools. MOVITOOLS MotionStudio provides the right tools for every unit type. Manual – Fieldbus Interface DFE33B EtherNet/IP and Modbus/TCP...
  • Page 109: First Steps

    64334AXX 3. Select the unit you want to configure. 4. Open the context menu by clicking the right mouse button. This will display unit-specific tools used for executing functions with the units. Manual – Fieldbus Interface DFE33B EtherNet/IP and Modbus/TCP...
  • Page 110: Communication Mode

    • By uploading, you can transfer the changes to the working memory [2]. • Save your project so that the changes can be stored on the hard disk [1] of your PC. Manual – Fieldbus Interface DFE33B EtherNet/IP and Modbus/TCP...
  • Page 111: Selecting Communication Mode (Online Or Offline)

    "Offline" [2] for functions (offline tools) that should influence your project. 64337AXX 2. Select the unit node. 3. Open the context menu by clicking the right mouse button and display the tools for configuring the unit. Manual – Fieldbus Interface DFE33B EtherNet/IP and Modbus/TCP...
  • Page 112: Serial Communication (Rs485) Via Interface Adapters

    Since your unit supports the "serial" communication option, you can use a suitable inter- face adapter for engineering. The interface adapter is additional hardware that you can obtain from SEW-EURODRIVE. You can use it to connect your engineering PC with the respective communication option of the unit.
  • Page 113 2. Plug the RJ10 connector of the first connection cable into the diagnostic slot [3] XT ® (MOVIDRIVE B) or X24 (gateway DFE33B / UOH11B) [4]. 3. Plug the USB-A connector of the second connection cable into the free USB inter- face on your PC [1].
  • Page 114 Select the COM port of the USB11A in the unit manager. • In the context menu, click the [Properties] button and assign the USB11A a different COM port. • Restart the PC so the changed properties are accepted. Manual – Fieldbus Interface DFE33B EtherNet/IP and Modbus/TCP...
  • Page 115: Configuring Serial Communication

    This opens the "Configure communication plugs" window. 64342AEN 2. From the list [1], select "Serial" as the communication type. In the example, "Serial" is activated as the communication type for the first commu- nication channel [2]. Manual – Fieldbus Interface DFE33B EtherNet/IP and Modbus/TCP...
  • Page 116 12078AEN 4. If necessary, change the preset communication parameters on the tab pages [Basic settings] and [Extended settings]. When doing so, refer to the detailed description of the communication parameters (page 117). Manual – Fieldbus Interface DFE33B EtherNet/IP and Modbus/TCP...
  • Page 117: Serial Communication Parameter (Rs485)

    • 350 ms (multibyte telegram) • Increase the value if all units are not found during a network scan. Retries Number of request retries after Default setting: 3 the timeout is exceeded Manual – Fieldbus Interface DFE33B EtherNet/IP and Modbus/TCP...
  • Page 118: Communication Via Ethernet

    ETHERNET/IP 64356AXX The DFE33B can be directly connected to the PC or via an Ethernet network. The two Ethernet interfaces (X30, X32) of the DFE33B allow for a linear bus structure. The DFE33B offers auto-crossing and autonegotiation for the baud rate and duplex mode using both interfaces.
  • Page 119 This lists the current addressing of all Ethernet stations in the connected network. 4. To locate an Ethernet station, select the "Locate" checkbox [4]. As a result, the Link/Activity LED of the first Ethernet interface of the relevant Ethernet station flashes. Manual – Fieldbus Interface DFE33B EtherNet/IP and Modbus/TCP...
  • Page 120 2. Transfer the changes in addressing to the Ethernet station. Click the [Download] button [2] to do so. 3. Switch the unit off and back on again so the modified settings become effective. Manual – Fieldbus Interface DFE33B EtherNet/IP and Modbus/TCP...
  • Page 121 • "255" defines the address of the network where the stations are located. • "0" defines the address of the actual station to differentiate it from the others. Manual – Fieldbus Interface DFE33B EtherNet/IP and Modbus/TCP...
  • Page 122: Configuring The Communication Channel Via Ethernet

    4. Set up the SMLP protocol. To do so, select the "SMLP settings" tab. 5. Set up the parameters. Follow the instructions described in the section "Setting parameters for SMLP". ® SMLP stands for Simple MOVILINK Protocol. It is the unit protocol from SEW- EURODRIVE. Manual – Fieldbus Interface DFE33B EtherNet/IP and Modbus/TCP...
  • Page 123: Setting The Communication Parameters For Smlp

    SMLP servers. 2. Add an IP address by opening the context menu and selecting [Add IP address] [1]. 64352AEN 3. Add the IP address [2]. Manual – Fieldbus Interface DFE33B EtherNet/IP and Modbus/TCP...
  • Page 124: Communication Parameters For Smlp

    These may be units that are not ready for communication (for example because they have not yet been started up). Manual – Fieldbus Interface DFE33B EtherNet/IP and Modbus/TCP...
  • Page 125: Executing Functions With The Units

    5. Expand the "Parameter tree" up to the node you require. 12079AEN 6. Double-click to display a particular group of unit parameters. 7. Press the enter key to finalize any changes you make to numerical values in the input fields. Manual – Fieldbus Interface DFE33B EtherNet/IP and Modbus/TCP...
  • Page 126: Starting Up The Units (Online)

    MotionStudio online help. 10.6.4 Special configuration and diagnostics tools To configure the DFE33B in gateway operation, you can use the context menu to start both the "DFx gateway configurator" and the parameter tree. In addition to configuration, this function provides information for diagnostics of gateway operation and displays the transferred process data.
  • Page 127: Ethernet Configuration Parameters

    If the DIP switch "Def IP" is set to "1" when switching on the DFE33B option, the spec- ified default values of parameters P780 to P782 are active.
  • Page 128 Factory setting: 2 (DHCP) configuration DHCP: The DFE33B option is assigned its IP parameters (P780 ... P782) by a DHCP server when the supply voltage is switched on. Saved IP parameters: The DFE33B option is started with the saved IP parameters when the supply voltage is switched on.
  • Page 129: Troubleshooting

    Troubleshooting 12.1 Diagnostic sequence The diagnostic procedures described in the following section demonstrate the integra- tion of the DFE33B option into an Ethernet network and the error analysis method for the following problems: • Inverter is not integrated properly in the EtherNet/IP or Modbus/TCP network •...
  • Page 130 D. Is the PLC in RUN mode or does active forcing overwrite the transfer of the normal process data? E. If the PLC is not sending data to the DFE33B, refer to the documentation of the PLC manufacturer for support.
  • Page 131: Error List In Gateway Operation

    F111 is reported to the con- error via diagnostic interface and per- trol via fieldbus in status word 1 and 3 form the action described in this table. of the relevant unit. Manual – Fieldbus Interface DFE33B EtherNet/IP and Modbus/TCP...
  • Page 132: Technical Data

    Tools for startup • MOVITOOLS MotionStudio software package, version 5.40 and higher • DBG60B keypad Firmware version of Firmware version 824 854 0.17 or higher (Æ Display with P076) ® MOVIDRIVE MDX61B Manual – Fieldbus Interface DFE33B EtherNet/IP and Modbus/TCP...
  • Page 133 Technical Data ® Dimension drawing of DFE33B option for MOVITRAC B and in the gateway housing ® 13.2 Dimension drawing of DFE33B option for MOVITRAC B and in the gateway housing DFE 33B MODULE STATUS NETWORK STATUS Def IP ETHERNET/IP 22.5...
  • Page 134: Appendix

    SBus Address 1 2 3 4 5 6 7 SBus (CAN) 64406AXX PLC with EtherNet/IP scanner (master) Industrial Ethernet interface SEW inverter with SBus interface Index and parameter list of the unit Manual – Fieldbus Interface DFE33B EtherNet/IP and Modbus/TCP...
  • Page 135: Parameter Access To Lower-Level Units Via Modbus/Tcp

    Unit-ID SBus Address 1 2 3 4 5 6 7 SBus (CAN) 64405AXX PLC with Modbus/TCP master Industrial Ethernet interface SEW inverter with SBus interface Index and parameter list of the unit Manual – Fieldbus Interface DFE33B EtherNet/IP and Modbus/TCP...
  • Page 136: Parameter Access To Lower-Level Units Via Engineering Interfaces

    1 2 3 4 5 6 7 SBus (CAN) 64407AXX Engineering PC with Ethernet and/or serial interface Industrial Ethernet interface (for engineering) Engineering interface (RS485) SEW inverter with SBus interface Index and parameter list of the unit Manual – Fieldbus Interface DFE33B EtherNet/IP and Modbus/TCP...
  • Page 137: Glossary

    Client Application that uses the services from another computer. Example: A controller uses a service from the DFE33B option for acyclic data exchange. Server Application on a computer that offers services to other computers. Example: The DFE33B option offers a controller the service for acyclic process data exchange.
  • Page 138: Index

    Structure of the safety notes ......6 Settings for the Ethernet component ....73 Using the manual ........... 6 Connection General safety notes for bus systems ....8 DFE33B option ..........18 Glossary ........... 134 Manual – Fieldbus Interface DFE33B EtherNet/IP and Modbus/TCP...
  • Page 139 B via gateway DFE33B / ® MOVITRAC UOH11B ......... 43 Setting the frequency inverter ....38 Properties of inverters with the DFE33B option ... 9 Multicast handling ..........22 Access to all information ......10 Diagnostics ..........10 Network classes ..........24 Fieldbus monitor ..........
  • Page 140 Using the manual ..........6 General error code ........69 ® MOVILINK -specific return codes ....70 Validity of the EDS file for DFE33B ....30 Return codes of EtherNet/IP ......68 SEW-specific return codes ......68 Timeout of explicit messages .......69 Web server Right to claim under warranty .......7...
  • Page 143 SEW-EURODRIVE – Driving the world...
  • Page 144 Internet, available Anywhere. today. around the clock. SEW-EURODRIVE GmbH & Co KG P.O. Box 3023 · D-76642 Bruchsal / Germany Phone +49 7251 75-0 · Fax +49 7251 75-1970 sew@sew-eurodrive.com www.sew-eurodrive.com...

Table of Contents

Save PDF