/ MOVITRAC documentation to ensure safe operation and to achieve the specified product character- istics and performance requirements. SEW-EURODRIVE assumes no liability for injury to persons or damage to equipment or property resulting from non-observance of these operating instructions. In such cases, any liability for defects is excluded.
Disposal Please follow the current national regulations. Dispose of the following materials separately in accordance with the country-specific regulations in force, as: • Electronics scrap • Plastics • Sheet metal • Copper Manual – DFD11B DeviceNet Fieldbus Interface...
System bus, RS485 and via the fieldbus interface. Features ® With the DFD11B option and its powerful universal fieldbus interface, the MOVIDRIVE ® MDX61B drive inverter and the MOVITRAC B frequency inverter allow for a connec- tion to higher-level automation systems via DeviceNet.
3.3.2 Data exchange via Polled I/O and bit-strobe I/O SEW drives offer digital access to all drive parameters and functions via the DeviceNet interface. The inverter is controlled via fast, cyclic process data. Via this process data channel, you can enter setpoints such as the setpoint speed, ramp generator time for acceleration / deceleration, etc.
Assembly and Installation Installing the DFD11B option card in MOVIDRIVE® MDX61B Assembly and Installation This section contains information about assembly and installation of the DFD11B option ® ® card in MOVIDRIVE MDX61B, MOVITRAC B and UOH11B gateway housing. ® Installing the DFD11B option card in MOVIDRIVE...
Assembly and Installation Installing the DFD11B option card in MOVIDRIVE® MDX61B 4.1.1 Before you begin Read the following notes before installing or removing an option card: • Disconnect the inverter from the power. Switch off the 24 V DC and the supply volt- age.
Assembly and Installation Installing the DFD11B option card in MOVIDRIVE® MDX61B 4.1.2 Basic procedure for installing and removing an option card (MDX61B, BG 1 - 6) 60039AXX 1. Remove the two retaining screws holding the card retaining bracket. Pull the card re- taining bracket out evenly from the slot (do not twist!).
Terminal assignment X12:8 DC 24 V input X12:9 GND reference potential for the binary inputs To simplify cabling, the DFD11B can be supplied with DC 24 V from X46.7 of the ® ® MOVITRAC to X26.7. MOVITRAC B must be supplied with DC 24 V at terminals X12.8 and X12.9 when it supplies the DFD11B option.
Assembly and Installation Installing the DFD11B option card in MOVITRAC® B ® 4.2.2 System bus connection between multiple MOVITRAC B units ® MOVITRAC DFD 11B MOD/ BUS- FAULT NA(5) NA(4) NA(3) NA(2) FSC11B NA(1) NA(0) DR(1) DR(0) PD(4) PD(3) H L ^...
Page 14
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 DFD11B gateway must always be connected either at the beginning or the end of the system bus connection and features a permanently installed terminating resistor.
Assembly and Installation Installing the DFE11B / UOH11B gateway Installing the DFE11B / UOH11B gateway The following figure shows the connection of the DFD11B option via the UOH11B:X26 gateway housing. NOTE Only SEW-EURODRIVE engineers are allowed to install or remove option cards in/from the UOH11B gateway housing.
Connection and terminal description DFD11B option Part number DeviceNet fieldbus interface type DFD11B: 824 972 5 NOTES • The DeviceNet fieldbus interface DFD11B option is only possible in conjunction ® with MOVIDRIVE MDX61B, not with MDX60B. • Plug the DFD11B option into the fieldbus slot.
DFD11B 54075AXX The DFD11B option card is opto-decoupled on the driver side in accordance with the DeviceNet specification (Volume I, Chapter 9). This means the CAN bus driver must be powered with 24 V voltage via the bus cable. The cable to be used is also described in the DeviceNet specification (Volume I, Appendix B).
In order to avoid disruptions in the bus system due to reflections, each DeviceNet seg- Ω ment must be terminated with 120 bus terminating resistors at the first and last phys- ical participant. Connect the bus terminating resistor between connections 2 and 4 of the bus plug. Manual – DFD11B DeviceNet Fieldbus Interface...
MOVITRAC B or UOH11B) can be exchanged between the DeviceNet master and the DFD11B. The number is set with DIP switches S2-PD0 to S2-PD4 in a binary coded manner. [1] Setting the MAC-ID [2] Setting the baud rate...
DFD11B option card - status LED DFD11B option card - status LED The DFD11B option card is equipped with four two-color LEDs for diagnostic of the De- viceNet system; these indicate the current status of the DFD11B and the DeviceNet sys- tem.
Page 21
Assembly and Installation DFD11B option card - status LED BIO LED The BIO LED checks the bit-strobe I/O connection. Status Meaning Flashing DUP-MAC check Unit is performing DUP-MAC check green (125 ms cycle) Not switched on / off-line but •...
NOTE The current version of the EDS file for the DFD11B option card is available on the SEW homepage (http://www.sew-eurodrive.de) under the heading "Software". Validity of the EDS files for DFD11B NOTE Entries in the EDS file must not be changed or expanded.
The address given under the icon of the device must be equal to the MAC-ID set by the DIP switches of the DFD11B. If the required devices are not in the selection list, corresponding EDS files have to be reg- istered via [Tools] / [Wizard].
DFD11B as fieldbus option in MOVIDRIVE By reading the device properties in online mode, the process data (Pd) configuration of the DFD11B can be checked (→ following figure). 11746AXX The parameter 'Pd configuration' gives the number (1 ... 10) of process data words (PD) set via DIP switches PD(0) ...
Page 25
® After adding the MOVIDRIVE B with DFD11B to the scanlist, the number of Polled I/O Bytes must be set to 2 × number of PD (e. g. number of PD = 3 × number of polled input- Bytes = 6 and output-Bytes = 6) via [Edit I/O Parameters]. When the DeviceNet config- uration is saved and downloaded into the scanner, RSNetWorx can be closed.
DIP switches PD(0) ... PD(4). The number of process data words must be 3 × number of drives (1 ... 8) connected via SBus to the DFD11B gateway. The number of PD then gives the I/O parameter for the DeviceNet Scanner (→ following figure).
Page 27
The tag-name contains the MAC-ID of the DeviceNet unit and 'POL_I' for polled input data or 'POL_O' for polled output data (→ following figure). 11751AXX In this Byte arrays from and to the DFD11B gateway the data is transferred to the drives connected to the SBus of this gateway as follows: •...
Configuring PLC and master (DeviceNet scanner) 5.2.3 Auto setup for gateway operation The auto setup function lets you start up the DFD11B as gateway without a PC. The function is activated via the Auto Setup DIP switch (see section 4.4 page 16) NOTE Setting the Auto-Setup DIP switch (AS) from OFF to ON position causes the function to be executed once.
DIØØ (function / CONTROLLER INHIBIT) input terminal to a DC +24 V signal and to program input terminals DIØ1 ... DIØ7 to NO FUNCTION. Manual – DFD11B DeviceNet Fieldbus Interface...
B with integrated DFD11B has the SBus address 1 as factory setting (as of firmware .15). The SBus address 0 is used by the DFD11B gateway and must therefore not be used. Set P883 SBus timeout to values between 50 ... 200 ms...
® 5.5.1 MOVIDRIVE B with 3 PD data exchange 1. Set the DIP switches on the DFD11B to • adjust the baud rate to the DeviceNet network • set the address (MAC-ID) to a value used by no other node •...
Page 32
In order to copy the data from the new data structure to the drive, a CPS command is added into the 'MainRoutine' that writes the data to the local I/O. Make sure that this CPS command is executed before the automatically (by DeviceNet Tag Generator) generated DNet_ScannerOutputsRoutine. 11755AXX Manual – DFD11B DeviceNet Fieldbus Interface...
Page 33
Now the actual values from the device can be read and setpoint values can written. 11756AXX The data in the controller tags should be equal to the process data displayed in the ® parameter tree of MOVITOOLS MotionStudio (→ following figure). 11757AXX Manual – DFD11B DeviceNet Fieldbus Interface...
• set the number of PD (according to this sample) to 6 2. Then follow chapter 5.2 and 5.2.2 to add the DFD11B gateway to the DeviceNet con- figuration. 3. Execute the Auto Setup Function of the DFD11B gateway according to chapter 5.3 to configure the data-mapping to the drives.
Page 35
Please note that the structure DNet_Scanner_N10_POL_I.Data contains the PD from all drives on the gateway, so that the 6 data bytes of each drive have to be cop- ied from the structure with a specific offset: [0], [6], [12] ... [42]. Manual – DFD11B DeviceNet Fieldbus Interface...
Page 36
7. Finally save and download the project to the PLC. set the PLC to Run Mode and set the Scanner CommandRegister.Run to '1' to activate the data exchange via DeviceNet. Now the actual values from the device can be read and setpoint values can written (→ following figure). 11761AXX Manual – DFD11B DeviceNet Fieldbus Interface...
Page 37
The data in the controller tags should be equal to the process data displayed in the ® monitor for the DFx fieldbus gateway or in the parameter tree in MOVITOOLS MotionStudio (→ following figures). 11762AXX 11763AXX Manual – DFD11B DeviceNet Fieldbus Interface...
2. Define the controller tags (→ following figure). 11765AXX 3. Create a Rung for the ReadParameter execution (→ following figure). 11766AXX • For contact, select the tag 'ReadParameterStart' • For the Message Control, select the tag 'ReadParameter' Manual – DFD11B DeviceNet Fieldbus Interface...
Page 39
5. The target device is to be specified on the Communication tab (→ following figure). 11768AXX The path consists of: • Name of the scanner (e. g. DNet_Scanner) • 2 (always 2) • Slave address (e. g. 11 bit) Manual – DFD11B DeviceNet Fieldbus Interface...
Page 40
... of a parameter. 11770AXX The complete list of index numbers and scaling factors can be taken from ® MOVIDRIVE Fieldbus Unit Profile manual. Manual – DFD11B DeviceNet Fieldbus Interface...
Page 41
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 – DFD11B DeviceNet Fieldbus Interface...
Page 42
P160 internal setpoint n11 (Index 8489) has the value of 200 rpm. ® In the MOVITOOLS MotionStudio parameter tree, the value can be checked. The tooltip of a parameter displays e. g. index, subindex, scaling ... of a parameter. Manual – DFD11B DeviceNet Fieldbus Interface...
® The access to MOVITRAC B parameter data via DeviceNet-SBus Gateway ® DFD11B/UOH11B is identical to the access to MOVIDRIVE B parameter data (→ chapter 5.5.3). The only difference is, that Read/WriteParameterRequest.SubChannel1 is to be set to 2 and Read/WriteParameterRequest.SubAddress1 is to be set to the SBus ad- ®...
8309 Process output data description 3 No function 8622 PO data enable ® MOVIDRIVE MDX61B now works in fieldbus mode and can receive process data. The program can now be written for the SLC500. Manual – DFD11B DeviceNet Fieldbus Interface...
Page 47
If status > 3, change to status 0 Status 0: Start motor, speed = 1000 rpm Status 1: Stop motor 01913AEN Status 0 is created in rung 4. In this status, a 6 (ENABLE) is written to memory area Manual – DFD11B DeviceNet Fieldbus Interface...
Page 48
0 (O:3.6). Thus, the device with address 0 follows the actual speed with enable signal from the device with address 8. Transmit actual position from motor 1 to motor 2 01914AEN Manual – DFD11B DeviceNet Fieldbus Interface...
DeviceNet specification for more services Explicit message body Class DeviceNet class Instance 1 word each 0 ... 255 DeviceNet instance Attributes DeviceNet attribute Data 0 ... 26 words 0 ... 65535 Data content Manual – DFD11B DeviceNet Fieldbus Interface...
Page 50
Error – Other client/server transmission in progress Error – No connection to slave device Error – Response data are too long for the block Error – Invalid connection Error – Invalid size specified Error – Busy 16 ... 255 Reserved Manual – DFD11B DeviceNet Fieldbus Interface...
Page 51
) must be used in order to read (instance 1 to 9) or write (in- stance 2 and 3) parameters from the inverter via the SEW parameter data channel. The data range is divided into the index (1 word) and the parameter data (2 words).
Page 52
Class Instance Attributes Data 1 2070 Data 2 Data 3 Word length Response Function Value TXID Status 1 = Successful Connection Size Service = Read Response MAC_ID Data 1 2070 Data 2 Data 3 Manual – DFD11B DeviceNet Fieldbus Interface...
Page 53
Project Planning and Startup Programming samples in RSLogix 500 for SLC 500 The SEW parameter data channel can be addressed via Class 7, Instance 1 ... 9 and Attribute 4 (? Statement of Conformance). In rung 5, the 9 bytes starting from N7:0 are copied into the M0-file with a rising edge of bit B3:0/1.
Timeout The timeout is triggered by the DFD11B option. The timeout interval must be set by the response with master after the connection has been established. The DeviceNet specification refers to polled I/O an 'expected packet rate' rather than a timeout interval in this case.
Page 55
Process data exchange STOP! The BIO LED on the front of the DFD11B option can be used for distinguishing between the timeout triggered by the bit-strobe telegram and a real timeout in the connection. It remains continuously green if the timeout is triggered by the bit-strobe telegram.
UDINT Unique serial number Product Name SHORT_STRING SEW MOVIDRIVE DFD11B Product name SEW GATEWAY DFD11B ® 1) Some values in Identity object depend on the device DFD11B is mounted in MOVIDRIVE B or Gateway. Manual – DFD11B DeviceNet Fieldbus Interface...
Page 57
Value [binary] Description 0000 Unknown 0010 At least one faulty I/O connection 0101 No I/O connection established 0110 At least one I/O connection active Supported ser- vices Service Code [hex] Service Name Instance Reset Get_Attribute_Single Manual – DFD11B DeviceNet Fieldbus Interface...
Page 58
MAC-ID switch value Actual DIP switch settings for MAC-ID Baud rate switch value Actual DIP switch settings for baud rate Supported ser- vices Service Code [hex] Service Name Class Instance Get_Attribute_Single Set_Attribute_Single Manual – DFD11B DeviceNet Fieldbus Interface...
Page 59
Watchdog time-out action Produced connection path len Produced connection path Consumed connection path len Consumed connection path Production inhibit time Supported ser- vices Service Code [hex] Service Name Instance 0x05 Reset 0x0E Get_Attribute_Single 0x10 Set_Attribute_Single Manual – DFD11B DeviceNet Fieldbus Interface...
Page 60
DeviceNet Characteristics The Common Industrial Protocol (CIP) Register object • The register object is used to access an SEW parameter index. • Class code: 07 Class None of the class attributes are supported. ® The MOVILINK parameter services are mapped in the nine instances of the register object.
Page 62
Attribute 3 indicates the data length in bits • Attribute 4 represents the parameter data. When accessing attribute 4, the SEW parameter channel must be attached to the service telegram. The SEW parameter channel consists of the elements listed in the following table.
Page 63
Configuration assembly is not sup- tion Assem- ported. bly Interface Instance 1 and 2 of the parameter object offer access to SEW parameters as follows: • First, the index of the required parameter is set in instance 1. • Next, instance 2 is used to access the parameter that is addressed in instance 1.
Page 64
PI1 actual value ... Monitor of the PI10 actual value Process input data words NOTE The data format for these instances deviates from the SEW fieldbus profile to meet the DeviceNet specification. Supported ser- vices Service Code [hex] Service Name...
Page 65
PI1 actual value ... Monitor of the PI24 actual value Process input data words NOTE The data format for these instances deviates from the SEW fieldbus profile to meet the DeviceNet specification. Supported ser- vices Service Code [hex] Service Name...
The coding of these return codes is described in the DeviceNet specification (→ section "General Error Codes"). Timeout of The timeout is triggered by the DFD11B option. The timeout interval must be set by the explicit mes- master after the connection has been established. The DeviceNet specification refers to sages an 'expected packet rate' rather than a timeout interval in this case.
Reserved by DeviceNet for additional definitions D0 - DF Reserved for Object Use this area if an occurring error cannot be entered in one of Class and service the error groups listed above. errors Manual – DFD11B DeviceNet Fieldbus Interface...
Provides a service for setting up a connection. Reset Provides a service for resetting an error. Rung SLC500 program line Service Service performed via bus, e.g. read service, write service, etc. Set_Attribute_Single Write service for a parameter. SLC500 Allen Bradley PLC Manual – DFD11B DeviceNet Fieldbus Interface...
At the moment it is not possible to run MOVITOOLS MotionStudio via DeviceNet or via DeviceNet master to enable communication down to the drives. The access to single pa- → rameters by the PLC can be achieved via Explicit Messages ( Chapter 6) Manual – DFD11B DeviceNet Fieldbus Interface...
Step 1: Check the Status LED and the Status display of the DeviceNet scanner See documentation of the DeviceNet scanner. Step 2: Check the Status LEDs of the DFD11B The explanation of the different LEDs can be found in chapter 4. The following table shows the corresponding unit states and their causes.
Page 71
When DFD11B is in status 'Connected' or 'Module error' the data exchange between master (scanner) and slave (DFD11B) is active. If it is still possible to run the drive via DeviceNet, the following questions should help to find the reason.
Explicit messages ® Tools for startup • MOVITOOLS software package from version 4.20 • DBG60B keypad → Firmware status of Firmware status 824 854 0.11 or above ( display with P076) ® MOVIDRIVE MDX61B Manual – DFD11B DeviceNet Fieldbus Interface...
Index Additional documentation ........7 Installation Auto setup for gateway operation .......28 DFD11B / UOH11B ........15 DFD11B option card in MOVITRAC® B ..12 DFD11B option card in MOVIDRIVE® Baud rate ..........19 MDX61B ............9 Baudrate .............14 Installing and remove an option card ... 11 BIO LED ..............21...
Page 75
DFD11B option for MOVIDRIVE® B ....72 DFD11B option for MOVITRAC® B and UOH11B gateway housing .....73 Terminal description DFD11B option ..........16 The Common Industrial Protocol (CIP) ....56 Validity of the EDS files for DFD11B ....22 Manual – Fieldbus Interface DFD11B DeviceNet...
Page 76
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...
Need help?
Do you have a question about the DFD11B and is the answer not in the manual?
Questions and answers