background image

Gearmotors \ Industrial Gear Units \ Drive Electronics \ Drive Automation \ Services

Fieldbus Interface DFP21B 
PROFIBUS DP-V1

M

anual

FA375100

Edition 07/2006

11479019 / EN

Summary of Contents for DFP21B

Page 1: ...Gearmotors Industrial Gear Units Drive Electronics Drive Automation Services Fieldbus Interface DFP21B PROFIBUS DP V1 Manual FA375100 Edition 07 2006 11479019 EN...

Page 2: ...SEW EURODRIVE Driving the world...

Page 3: ...3 3 4 Acyclical data exchange via PROFIBUSDP V1 11 3 3 5 Configuring the PROFIBUS option card 12 3 3 6 Monitoring functions 12 3 3 7 Diagnostics 13 3 3 8 Fieldbus monitor 13 4 Assembly and Installati...

Page 4: ...ROFIBUS DP Operating Characteristics 45 6 1 Controlling the MOVIDRIVE MDX61B drive inverter 45 6 1 1 Control example for SIMATIC S7 with MOVIDRIVE MDX61B 46 6 1 2 PROFIBUS DP timeout MOVIDRIVE MDX61B...

Page 5: ...4 2 Example program for SIMATIC S7 78 7 4 3 DP V1 technical data for MOVIDRIVE DFP21 83 7 4 4 Technical data DP V1 for the gateway operation and MOVITRAC 83 7 4 5 Error codes of the DP V1 services 84...

Page 6: ...fillment of any rights to claim under limited warranty Consequently read through this manual carefully before you start installation and startup of the frequency inverters with the DFP21B PROFIBUS opt...

Page 7: ...lose any right to claim against SEW EURODRIVE GmbH Co KG under limited warranty 1 5 Product names and trademarks The brands and product names named in these operating instructions are trademarks or re...

Page 8: ...MDX60B 61B and MOVITRAC B operating instructions The following safety notes apply to the fieldbus interface DFP21B PROFIBUS DP V1 Please also consider the supplementary safety notes in the individual...

Page 9: ...Interface 9 2 Installation assembly Safety Notes 2 4 Installation assembly Adhere to the instructions in section 4 Assembly and Installation Notes 2 5 Startup operation Adhere to the instructions in s...

Page 10: ...he MOVIDRIVE Fieldbus Unit Profile and MOVITRAC B system manual describes the fieldbus parameters and their coding and explains the whole range of various control concepts and application options in t...

Page 11: ...tatus fault number and reference signals 3 3 3 Cyclical and acyclical data exchange via PROFIBUS DP While process data exchange usually takes place cyclically drive parameters can be read and written...

Page 12: ...fieldbus timeout or rapid stop concepts For example you can adapt MOVIDRIVE MOVITRAC monitoring functions specifically to your application You can determine for instance which of the drive inverter s...

Page 13: ...setpoint values sent from the higher level control as well as the actual values 3 3 8 Fieldbus monitor Furthermore you are supplied with a variety of additional information about the status of the fi...

Page 14: ...card Disconnect the inverter from the power Switch off the DC 24 V and the supply voltage Take appropriate measures to protect the option card from electrostatic charge use discharge strap conductive...

Page 15: ...black cover plate on the card retaining bracket Remove the black cover plate 3 Position the option card onto the retaining bracket so that the three retaining screws fit into the corresponding bores...

Page 16: ...ctivated S1 ON X45 X46 1 2 3 4 5 6 HL FSC11B MOVITRAC B S1 OFF ON 7 S2 X44 X26 1 2 3 4 5 6 7 X24 H1 H2 X12 1 2 3 4 5 6 7 8 24V IO 24V 9 GND DFP21B RUN 0 1 2 2 2 2 0 1 2 3 2 2 2 AS 4 5 6 X30 ADDRESS 1...

Page 17: ...onnection X45 X46 1 2 3 4 5 6 HL FSC11B MOVITRAC B S1 OFF ON 7 S2 X44 X45 X46 1 2 3 4 5 6 HL FSC11B MOVITRAC B S1 OFF ON 7 S2 X44 X45 X46 1 2 3 4 5 6 H L FSC11B MOVITRAC B S1 OFF ON 7 S2 X44 X26 1 2 3...

Page 18: ...t 1 kHz The permitted total cable length depends on the baud rate setting of the SBus 250 kbaud 160 m 528 ft 500 kbaud 80 m 264 ft 1000 kbaud 40 m 132 ft Connect the system bus terminating resistor S1...

Page 19: ...ing The gateway housing has a power supply of DC 24V that is connected to X26 58121BXX X26 X26 1 SC11 system bus CAN high X26 2 SC12 system bus CAN low X26 3 GND CAN GND X26 6 GND CAN GND X26 7 DC 24...

Page 20: ...the bus electronics are operating correctly Indicates PROFIBUSDP error ADDRESS DIP switch for set ting the PROFIBUS station address 20 21 22 23 24 25 26 AS Significance 1 Significance 2 Significance 4...

Page 21: ...TxD P and pin 8 RxD TxD N Communication takes place via these two contacts The RS 485 signals RxD TxD P and RxD TxD N must be connected to the same contacts in all PROFIBUS stations Otherwise no commu...

Page 22: ...route them parallel to power cables motor leads In industrial environments use metallic grounded cable racks Route the signal cable and the corresponding equipotential bonding close to each other usin...

Page 23: ...urrent station address in fieldbus monitor parameter P092 Fieldbus address display with DBG60B or MOVITOOLS SHELL 59110AXX The default setting for the PROFIBUS station address is 4 20 Significance 1 0...

Page 24: ...r P093 Fieldbus Address to check the address set with the DIP switches Reset the inverter Flashes 1Hz No error only display The inverter is restarting BUS FAULT Cause of error Remedy Red Connection to...

Page 25: ...Sys fault red Only for gateway function Status Status Description Red System error Gateway is not configured or one of the drives is inactive Off SBus ok Gateway is configured correctly Flashing Bus...

Page 26: ...re Refer to the manuals of the appropriate project planning software for details on the procedure The unit master data files standardized by the PROFIBUS user group can be read by all PROFIBUS DP mast...

Page 27: ...erter This GSD file corresponds to GSD revision 3 If you use older non DP V1 capable PROFIBUS options a connection is not established between the DP V1 master and DFP21B In this case the BUS FAULT LED...

Page 28: ...to the requirements of your project planning soft ware Once the file has been installed correctly the device appears next to the slave stations with the designation MOVIDRIVE DFP21 3 Add the interface...

Page 29: ...lumn shows which configuration data is sent to the inverter when the PROFIBUS DP connection is being established Process data configuration Meaning notes DP configuration 0 1 1 PD MOVIDRIVE control vi...

Page 30: ...ess data configuration with 4 5 7 8 and 9 process data words Ensure that the number of input and output words is always the same If the lengths are differ ent data cannot be exchanged In this case the...

Page 31: ...positioning values or complete positioning tasks Inconsistent transmission may contain data from different program cycles of the automation device This would lead to undefined values being transmitted...

Page 32: ...mend that you do not use this mechanism for new applications Procedure Additional application specific parameters can be defined in every DP master during project planning for a DP slave These paramet...

Page 33: ...f activating the external diagnostics in plain text format such as with STEP7 Figure 5 or of stating the information directly in hex code 50256AXX Figure 5 Activating external diagnostics with STEP7 P...

Page 34: ...g Use the GSD file SEW_6009 GSD from the DPV1 directory if you want to use the DFP21B as a gateway from PROFIBUS DP V1 on the SBus to control the drive inverter This GSD file corresponds to GSD revisi...

Page 35: ...le into the PROFIBUS structure under the name DFP21B Gateway and assign the PROFIBUS address Select the process data configuration required for your application see section 5 3 3 on page 36 Enter the...

Page 36: ...ce DP V1 master fieldbus interface DP V1 slave and an inverter with process data channel and parameter channel 59093AXX Figure 6 Data exchange with parameter data Param and process data PD C1 Master C...

Page 37: ...data words to the individual units The parame ter channel is used for setting the parameters of the DFP21B and is not passed on to the connected stations The fieldbus interface accepts between 1 to 2...

Page 38: ...ONE module per drive Param 8 byte parame ter channel 00hex C0hex 87hex 87hex AS 1 Drive 1 x 3 PD Control via 1x3 PD 00hex C0hex C2hex C2hex AS 2 Drives 2 x 3 PD Control via 2x3 PD 00hex C0hex C2hex C2...

Page 39: ...following modules determine the process data width of the fieldbus interface at the PROFIBUS The added process data width of all following modules must be between 1 and 24 words For safety reasons the...

Page 40: ...shows the process image for three drive inverters with three words each of process output data and process input data Following the search the DFP21B cyclically exchanges 3 process data words with eac...

Page 41: ...l DFP21B PROFIBUSDP V1 Fieldbus Interface 41 5 DP master project planning with MOVITRAC or gateway GSD file Project Planning and Startup 59442AXX Figure 7 Data exchange DP V1 master DFP inverter DFP 0...

Page 42: ...FIELDBUS The FIELDBUS setting means the drive inverter parameters are set for acceptance of setpoints via PROFIBUS The MOVIDRIVE drive inverter then responds to the process output data transmitted fro...

Page 43: ...minals for control via the fieldbus system Therefore you must wire and program the terminals in such a way that the inverter is enabled via the input terminals The simplest way of enabling the drive i...

Page 44: ...tered We recommend a value in the range 50 to 200 ms Activation of the control signal source and setpoint source SBus is signaled to the machine control using the SBus mode active bit in the status wo...

Page 45: ...control is used as DP master and can be addressed as usual 58688AXX Figure 8 Mapping PROFIBUS data in the PLC address range PW148 PW150 PW152 PW154 PW156 PW158 PW160 PE 3 PA 3 PE 1 PA 1 PE 2 PA 2 PE 2...

Page 46: ...e timeout can only be changed via the DP master Although modifications made using the keypad or MOVITOOLS are displayed they do not have any effect and are overwritten when the DP is next started up 6...

Page 47: ...he DP master As a result they can be addressed in the usual manner PO process output data PI process input data Additional information on programming and project planning can be found in the README_GS...

Page 48: ...ED system fault lights up and the fault is also displayed via the diagnostics interface It is necessary to set the SBus timeout interval P815 of the MOVITRAC B system error to a value other than 0 for...

Page 49: ...and contains the process data channel 2 and a parameter channel 1 that can be used to exchange acyclical parameter values No response The drives on the subordinate SBus continue with the last setpoint...

Page 50: ...ve inverter In PROFIBUS DP the parameter channel is transmitted cyclically with the process data For this reason the implementation of the service in the drive inverter must be triggered by edge contr...

Page 51: ...cant data byte LSB data whereas byte 4 is the most significant data byte MSB data Incorrect service execution The status bit in the management byte is set to signal that a service has been executed in...

Page 52: ...service the sent data bytes bytes 4 through 7 and the data length in the management byte are ignored and consequently do not need to be set The inverter now processes the READ service and sends the se...

Page 53: ...h for the WRITE service in the manage ment byte byte 0 4 Transfer the WRITE service to the inverter by changing the handshake bit The inverter now processes the WRITE service and sends the service con...

Page 54: ...t the service has been performed occurs when the handshake bit in the response telegram of the drive inverter is changed The control now detects that the received handshake bit is once again the same...

Page 55: ...s only the basic approach to generating a PLC program without commitment We are not liable for the contents of the program example Start of cyclical program processing in OB1 BEGIN NETWORK TITLE Copy...

Page 56: ...in accordance with EN 50170 V2 Except for Error class 8 other error the error class is generated by the communica tions software of the fieldbus card when faulty communication is encountered Return c...

Page 57: ...option card used Incorrect coding of a service via parameter channel Incorrect length specification of a service via parameter channel Internal communication error Add code high hex Add code low hex M...

Page 58: ...r channel Both bits must be set to 1 Internal commu nication error The return code listed in the following table is sent back if a communication error has occurred within the system The parameter serv...

Page 59: ...be possible to transfer in the cyclical input and output data using the 8 byte parameter channel The advantage of the acyclical data exchange via DP V1 lies in the minimum load on the cyclical bus ope...

Page 60: ...r uses exclusively acyclic connections for communication with the slaves The acyclic connections between C2 master and slave are established by the initiate service The connection is established once...

Page 61: ...g Alarm handling now distinguishes between different alarm types As a result unit specific diagnostics cannot be evaluated in DP V1 operation using the DDLM_SlaveDiag DP V0 service DP V1 alarm handlin...

Page 62: ...e the C1 master access to connected stations via the DP V1 C1 channel Two additional C2 channels can be connected in parallel to these parameter channels The first C2 master as a visualization device...

Page 63: ...s used to distinguish between parameter access based on PROFIdrive profile or via SEW MOVILINK services The following table shows the possible codes of the individual elements The data set structure i...

Page 64: ...EW MOVILINK service Response 0x81 Request parameter PROFIdrive 0x82 Change parameter PROFIdrive 0xC0 SEW MOVILINK service Axis Unsigned8 0x00 0xFF Number of axes 0 255 No of parame ters Unsigned8 0x01...

Page 65: ...oon as the parameter processing in the drive inverter is concluded it answers with a positive response READ res The user data now contain the parameter setting response of the parameter setting order...

Page 66: ...ble In this case the inverter sends a negative answer with the Error_Code _1 0xB5 status conflict to the DP V1 level The DP V1 master must then send another request with the above mentioned READ req h...

Page 67: ...code 7 3 4 MOVILINK parameter requests The MOVILINK parameter channel of the SEW drive inverter is directly mapped in the structure of data set 47 The Request ID 0x40 SEW MOVILINK service is used for...

Page 68: ...vice WRITE request Description Slot_Number 0 Random is not evaluated Index 47 Index of the data set constant index 47 Length 10 10 byte user data for parameter request Table 3 WRITE req USER DATA for...

Page 69: ...d 5 No of values 0x01 1 value 6 7 Value Hi 0x311C Higher order part of the parameter 8 9 Value Lo 0x7289 Lower order part of the parameter Decoding 0x 311C 7289 823947913 dec Firmware version 823 947...

Page 70: ...t constant index 47 Length 4 4 byte user data in response buffer Table 11 Positive response for MOVILINK service WRITE parameter Byte Field Value Description 0 Response reference 0x01 Reflected refere...

Page 71: ...817 Required option card not installed 0x0818 Error in system software 0x0819 Parameter access via RS 485 process interface only 0x081A Parameter access via RS 485 diagnostic interface only 0x081B Par...

Page 72: ...transfer the parameter setting request to the drive inverter The request ID 0x02 Change parameter PROFIdrive results in remanent write access to the selected parameter Consequently the internal flash...

Page 73: ...ength of response buffer in the DP V1 master Table 16 DP V1 header of the positive READ response with parameter response Service READ request Description Slot_Number 0 Random is not evaluated Index 47...

Page 74: ...n Slot_Number 0 Random is not evaluated Index 47 Index of the data set constant index 47 Length 16 16 byte user data for order buffer Table 19 WRITE req user data for PROFIdrive service Change paramet...

Page 75: ...ted reference number from the parameter setting request 1 Response ID 0x02 Positive PROFIdrive response 2 Axis 0x01 Reflected axis number 0 single axis 3 No of parameters 0x01 1 parameter Table 23 Neg...

Page 76: ...ofile V2 incorrect access group 0x0B No operation priority An attempt was made to change a parameter without change rights 0x0C Reserved PROFIdrive profile V2 incorrect password 0x0D Reserved PROFIdri...

Page 77: ...es you with two GSD files see section 5 2 1 on page 26 section 5 2 2 on page 27 and section 5 3 1 on page 34 7 4 1 Operating mode DP V1 mode The DP V1 operating mode can usually be activated during pr...

Page 78: ...of the inverter bService BYTE Movilink service byte 0x01 READ 0x02 WRITE etc bAxis BYTE 0 for single axis subaddress of the axis when using UFP11A wParameterIndex WORD Movilink parameter index wSubInd...

Page 79: ...ive_IO_Address Convert drive address from Int to DWord T dwStaticDriveAddr Bring data into Movilink structure only the variable values of the structure are supplied with the input param eters here L b...

Page 80: ...ch the parameter response from the inverter a SFB52 call DPV1READ service must be executed READ NOP 0 CALL SFB 52 InstanzDB_SFB52 REQ TRUE ID dwStaticDriveAddr INDEX 47 Data set 47 MLEN 12 VALID fTemp...

Page 81: ...counter SET The function is finished S fDone set Done reset Busy R fActivate R fBusy R fStaticBusy R fDPV1WRITEDone BEA NETWORK TITLE Auswertung der Parameterdaten POSR NOP 0 U fStaticWRITEReq SPB WR...

Page 82: ...address 2 PROFIBUS addr 9 Per addr 512 I UFP11A MC07_1 MC07_2 I________________I_______________I SBUS addr 0 SBUS addr 1 SBUS addr 2 Note on the hardware configuration The peripheral addresses PEW ad...

Page 83: ...ections 2 Supported data set Index 47 Supported slot number Recommended 0 Manufacturer code 10A hex SEW EURODRIVE Profile ID 0 C2 response timeout 1s Max length C1 channel 240 bytes Max length C2 chan...

Page 84: ...lication 0x0 read error 0x1 write error 0x2 module failure 0x3 to 0x7 reserved 0x8 version conflict 0x9 feature not supported 0xA to 0xF user specific 0xB access 0x0 invalid index 0xB0 No data block I...

Page 85: ...via Softnet DP driver The Softnet DP driver from Siemens is installed on the diagnostics PC A connection to the drive can then be established by means of acyclical C2 services and MOVITOOLS MotionStud...

Page 86: ...rsion 6 0 or higher MOVITOOLS MotionStudio version 5 20 or higher 8 4 Installation Install the PROFIBUS master card into the diagnostics PC and install the driver according to the manufacturers specif...

Page 87: ...t menu SIMATIC SIMATIC NET Settings or from the Windows system control Set the access path of the application as displayed in the following image 11307AEN Figure 14 Setting the PG PC interface If SIMA...

Page 88: ...added as a class 2 master in an existing PROFIBUS network If a PLC is active as a class 1 master the check box PG PC is the only master on Bus must be deactivated Assign the PC a free address that is...

Page 89: ...en the following dialog box using the Diagnostics button to check it Everything has been correctly configured up to now when the OK status is displayed after pressing the Test button and all devices o...

Page 90: ...rvices using the DP V1 protocol To be able to operate the MOVITOOLS MotionStudio via PROFIBUS you must first configure the SEW communication server 8 6 1 Establishing communication MOVITOOLS MotionStu...

Page 91: ...a PROFIBUS 2 Activate the communication media tool bar by pressing the depicted icon 3 Configure the requested interface using drag and drop Use the mouse to drag the required connection from the Avai...

Page 92: ...g the PROFIBUS connection you can set up the PROFIBUS server when starting MOVITOOLS MotionStudio by activating the following dialog The following message appears when attempting to establish communic...

Page 93: ...on all configured communication channels will be searched automatically and the addressable units displayed in the unit tree 8 8 Activating online operation Perform the unit scan see section 8 7 Use t...

Page 94: ...nStudio Check the following points if problems occur during configuration Is the PC connected to the PROFIBUS without violating the bus structure Are the terminating resistors at the bus connectors co...

Page 95: ...demonstrate the fault analysis methods for the most frequent problems Inverter does not work on PROFIBUS DP Inverter cannot be controlled using the DP master For more information dealing specifically...

Page 96: ...n incorrectly Delete the project planning for the inverter from the DP network Perform project planning for the inverter again choosing the unit designation MOVIDRIVE DFP21 To simplify the project pla...

Page 97: ...as a test in each output word Setpoints received yes A No Check that the correct settings have been made for the following drive parameters P100 SETPOINT SOURCE FIELDBUS for MOVITRAC B SBus1 Fixed set...

Page 98: ...No communication between master and slave within the projected response monitoring Check communications routine of the master Extend the fieldbus timeout inter val response monitoring in the master c...

Page 99: ...pplication specific parameter setting data Set Prm application data Length 9 bytes Hex parameter settings 00 00 00 06 81 00 00 01 DP diagnostics alarm OFF Hex parameter settings 00 00 00 06 81 00 00 0...

Page 100: ...c baud rate detection 9 6 kBaud to 12 MBaud Connection technology Via 9 pin sub D plug Pin assignment according to IEC 61158 Bus termination Not integrated must be implemented using suitable PROFIBUS...

Page 101: ...on 36 37 39 99 100 for MOVIDRIVE MDX61B 29 universal 30 DP ident number 99 100 E Error class 56 Error code 56 Error codes of the DP V1 services 84 Error Diagnostics 95 Explanation of symbols 6 F Field...

Page 102: ...file 26 DP master with MOVITRAC and gateway DFP21B 34 Procedure 28 Protocol options 99 100 R READ 52 Return codes for parameter setting 56 S Safety notes 8 Bus systems 8 Installation assembly 9 Start...

Page 103: ...RIVE GmbH Co KG Siemensstra e 1 D 40764 Langenfeld near D sseldorf Tel 49 2173 8507 30 Fax 49 2173 8507 55 sc west sew eurodrive de Drive Service Hotline 24 Hour Service 49 180 5 SEWHELP 49 180 5 7394...

Page 104: ...07251 250 Tel 55 11 6489 9133 Fax 55 11 6480 3328 http www sew com br sew sew com br Additional addresses for service in Brazil provided on request Bulgaria Sales Sofia BEVER DRIVE GmbH Bogdanovetz St...

Page 105: ...Praha Luzna 591 CZ 16000 Praha 6 Vokovice Tel 420 220121234 Fax 420 220121237 http www sew eurodrive cz sew sew eurodrive cz Denmark Assembly Sales Service Kopenhagen SEW EURODRIVEA S Geminivej 28 30...

Page 106: ...Glasnevin Dublin 11 Tel 353 1 830 6277 Fax 353 1 830 6458 Israel Sales Tel Aviv Liraz Handasa Ltd Ahofer Str 34B 228 58858 Holon Tel 972 3 5599511 Fax 972 3 5599512 lirazhandasa barak online net Ital...

Page 107: ...urodrive com mx Morocco Sales Casablanca Afit 5 rue Emir Abdelkader MA 20300 Casablanca Tel 212 22618372 Fax 212 22618351 richard miekisiak premium net ma Netherlands Assembly Sales Service Rotterdam...

Page 108: ...11000 Beograd Tel 381 11 347 3244 381 11 288 0393 Fax 381 11 347 1337 dipar yubc net Singapore Assembly Sales Service Singapore SEW EURODRIVE PTE LTD No 9 Tuas Drive 2 Jurong Industrial Estate Singapo...

Page 109: ...417 1700 http www imhof sew ch info imhof sew ch Thailand Assembly Sales Service Chon Buri SEW EURODRIVE Thailand Ltd Bangpakong Industrial Park 2 700 456 Moo 7 Tambol Donhuaroh Muang District Chon Bu...

Page 110: ...n SEW EURODRIVE INC 2001 West Main Street Troy Ohio 45373 Tel 1 937 335 0036 Fax 1 937 440 3799 cstroy seweurodrive com Dallas SEW EURODRIVE INC 3950 Platinum Way Dallas Texas 75237 Tel 1 214 330 4824...

Page 111: ......

Page 112: ......

Page 113: ...SEW EURODRIVE Driving the world...

Page 114: ...g quality that reduces the cost and complexity of daily operations With a global presence that offers responsive and reliable solutions Anywhere With innovative technology that solves tomorrow s probl...

Reviews: