Home
11479019 - Tecnica Industriale Srl
Contents
1. Cyclic OUT Data PD PROFIBUS DP V1 Param Param PD Cyclic IN Data Acyclic DP V1 C2 Services Acyclic DP V1 C1 Services Acyclic DP V1 C2 Services 58617AXX MOVITOOLS via PROFIBUS DP V1 makes use of the features of the C2 master There are two configuration variants Access 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 MotionStudio can be used online This configuration variant is independent of the C1 master For example a connection can even be established if the C1 master has failed See section 8 5 for a description of how to configure the SIMATIC Net Access via STEP7 A PG PC PROFIBUS connection is configured and transferred to the programmable controller in NetPro SIMATIC STEP7 If STEP7 version 5 3 SP3 is installed on your PC the Softnet driver need not be installed on the diagnostics PC Manual DFP21B PROFIBUSDP V1 Fieldbus Interface 85 8 86 g Operation of MOVITOOLS MotionStudio via PROFIBUS 9 Required hardware 8 2 Required hardware Siemens PROFIBUS master card CP5512 CP561 1 6GK1561 1AA00 SIMATIC NET CP5611 PCI card PCI card for POs 6GK1551 2AA00 SIM
2. PROFIdrive This table shows the coding of the error number in the PROFIdrive DP V1 parameter return codes for response according to PROFldrive profile V3 1 This table applies if you use the DP V1 PROFIdrive services Request parameter and or Change parameter Error no Meaning Used for 0x00 Invalid parameter number Access to non existent parameters 0x01 Parameter value cannot be An attempt was made to change a parameter value that changed cannot be changed 0x02 Minimum or maximum value An attempt was made to change a value to one that is outside exceeded of the limit values 0x03 Incorrect subindex Access to non existent subindex 0x04 No assignment Access with subindex to parameter that is not indexed 0x05 Incorrect data type An attempt was made to change a replace a value with one that does not correspond to the data type of the parameter 0x06 Setting not permitted can An attempt was made to set a value to one larger than 0 only be reset where this is not permitted 0x07 Description element cannot Access to description element that cannot be changed be changed 0x08 Reserved PROFldrive profile V2 PPO write query for IR not available 0x09 Description does not exist Access to description that is not accessible parameter value is exists 0x0A Reserved PROFIdrive profile V2 incorrect access group 0x0B No operation priority An attempt was made to change a parameter without cha
3. G a l 30 a 59796AXX Figure 17 Device dimensions of the UOH11B gateway housing DFP21B option MOVITRAC B gateway Part number 824 240 2 External voltage supply V DC 24 V 15 20 Imax DC 200 mA Pmax 3 4 W PROFIBUS protocol options PROFIBUS DP and DP V1 according to IEC 61158 Automatic 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 connector with switchable terminating resistors Station address 1 to 125 adjustable via DIP switches Name of the GSD file SEW 6009 GSD PROFIBUSDP V1 DP ident number 6009hex 24585 ge Application specific parameter setting data Set Prm application data Length 3bytes Hex parameter setting 00 00 00 DP configurations for DDLM_Chk_Cfg See section Configuration of process data on page 37 Diagnostics data Standard diagnostics 6 bytes Tools for startup PC program MOVITOOLS MotionStudio Manual DFP21B PROFIBUSDP V1 Fieldbus Interface Index 11 Index A F Activating online operation sss 93 Fieldbus monitor eene 13 Additional code 57 Functions Assembly PROFIBUSDP V1
4. EURODRIVE SEW EURODRIVE Driving the world Gearmotors Industrial Gear Units Drive Electronics Drive Automation Services How were driving the world 2 With people who With comprehensive With uncompromising think fast and With a worldwide With drives and controls knowledge in virtually quality that reduces the develop the service network that is that automatically every branch of cost and complexity of future with you always close at hand improve your productivity industry today daily operations VON m SEW EURODRIVE Driving the world e tas n With a global presence With innovative With online information that offers responsive technology that solves and software updates and reliable solutions tomorrow s problems via the Internet available Anywhere today around the clock beo EURODRIVE SEW EURODRIVE GmbH amp 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
5. sssessss 6 Parameter channel management 50 Parameter data format eeens 54 Manual Fieldbus Interface DFP21B PROFIBUS DP V1 Parameter settings 11 101 11 102 Index Procedure ses arre eea AS 54 SIMATIC STEP7 erh dee TER 56 Program example seen 55 via PROFIBUS D I 49 Station address ssssssseuuusss 99 100 Parameter reading REENEN 52 Settings e beet eite 23 Parameter setting data 99 100 elei EE 8 Part number 22i c te eee rs 99 100 System e 17 Pin assignment sse 21 T Process data configuration 37 PROFIBUS Technical data Configuring the option card ssss 12 DFP21B option for MOVI TRAC B 100 Eege onerat es eebe 24 DFP21B option for UOHT1B gateway PROFIBUS DP housing PITE 100 Data exchange tied vole ta nodu 11 Option DFP21B for MOVIDRIVE Operating characteristics s 45 MDX61 Biss Dm 99 Parameter setting procedure 54 Terminal description Parameter settings 49 l DFP21B option 20 EE 46 Timeout PROFIBUS DP operating characteristics EIE heh AS 45 PROFIBUSDP masraamrraasasasesasaseaseesaseeunaeenueeeuue 46 PROFIBUSDP V1 e 48 Alarm handling ATE T 61 Transport TOTEM RETE 8 Data exchange sss 11 U FUnclions En 99 BT E 93 SetVICBS occ ii ticos e ele EE EE 61 Universal co
6. Byte 0 Byte 1 Byte 2 Byte 3 Byte 4 Byte 5 Byte 6 Byte 7 Manage Subindex Index high Index low MSB data Data Data LSB data ment High byte 1 Low byte 1 High byte 2 Low byte 2 High word Low word Double word The status bit in the management byte is set to signal that a service has been executed incorrectly The service was executed by the drive inverter if the received handshake bit is the same as the sent handshake bit If the status bit now signals an error the error code is entered in the data range of the parameter telegram Bytes 4 through 7 send back the return code in a structured format See section 6 5 on page 56 Byte 0 Byte 1 Byte 2 Byte 3 Byte 4 Byte 5 Byte 6 Byte 7 Manage Subindex Index high Indexlow Error class Error code Add code Add code ment high low Status bit 1 Incorrect service execution Manual DEP21B PROFIBUSDP V1 Fieldbus Interface 6 51 6 52 PROFIBUSDP Operating Characteristics Parameter settings via PROFIBUS DP 6 3 2 Reading a parameter with PROFIBUS DP READ Due to the cyclical transfer of the parameter channel to execute a READ service via the 8 byte MOVILINK9 parameter channel the handshake bit may only be changed if the complete parameter channel has been set up for the specific service For this reason observe the following sequence when reading a parameter 1 Enter the index of the param
7. Manufacturer code 10A hex SEW EURODRIVE Profile ID 0 C2 response timeout 1s Max length C1 channel 240 bytes Max length C2 channel 240 bytes 7 4 A Technical data DP V1 for the gateway operation and MOVITRAC GSD file for DP V1 SEW6009 GSD Module name for project planning DFP21B gateway Number of parallel C2 connections 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 channel 240 bytes Manual DEP21B PROFIBUSDP V1 Fieldbus Interface 83 7 84 go PROFIBUSDP V1 Functions 9 Project planning for a C1 master 7 4 5 Error codes of the DP V1 services This table shows possible error codes of DP V1 services that may occur in the event of an error in the communication on DP V1 telegram level This table is relevant if you want to write your own parameter assignment block based on the DP V1 services because the error codes are reported directly back on the telegram level Bit 7 6 5 43 3 2 Error Class Error Code Error Class from DP V1 Specification Error_Code from DP V1 Specification DP V1 Parameter channel 0x0 Ox9 hex reserved OxA application 0x0 read error 0x1 write error 0x2 module
8. 01 m rim PIE m ADDRESS Example Setting the PROFIBUS station address 17 20 Significance 1 x 1 1 21 Significance 2 x 0 0 2 _ Significance 4 x 0 0 23 _ Significance 8 x 0 0 2 gt Significance 16 x 1 16 2 gt Significance 32 x 0 0 28 Significance 64 x 0 0 Manual DEP21B PROFIBUSDP V1 Fieldbus Interface 23 4 Assembly and Installation Notes Operating mode displays option DFP21B 49 Operating mode displays option DFP21B 4 9 1 PROFIBUS LEDs The PROFIBUS interface DFP21B option card has 2 LEDs that indicate the current status of the DFP21B option and the PROFIBUS system DFP21B RUN BUS FAULT 58361AXX RUN LED green The RUNLED green indicates that the bus electronics are operating correctly RUN Cause of error Remedy Green PROFIBUS hardware OK Orange The card is booting Off Hardware defect in the bus electronics e Switch the unit on again Consult SEW service if the error occurs again Flashes PROFIBUS address is set higher than 125 Use parameter P093 Fieldbus Address to 2Hz or to O check the address set with the DIP Switches e Reset the inverter Flashes No error only display The inverter is restarting 1Hz LED BUS FAULT The BUS FAULT LED red indicates a PROFIBUSDP fault red BUS FAULT Cause of error Rem
9. Device 02 No function SBus Device 02 Status Word 1 Device 02 Speed Device 02 Output current Device 03 Control Word 1 Device 03 Speed Device 03 No function Device 03 Status Word 1 Device 03 Speed Device 03 Output current 59442AXX 41 5 42 gu 5 4 Project Planning and Startup Setting the MOVIDRIVE MDX61B drive inverter Setting the MOVIDRI VE MDX61B drive inverter A SHELL MOYITOOLS MOYIDRIYE B Fie Startup Parameters Display Extras Window Help r G ae eH Ga Ga Parameter menus 0 Display values 1 Setpoints ramp generators 2 Controller parameters 3 Motor parameters 4 Reference signals 5 Monitoring Functions 6 Terminal assignment C3 60 Binary inputs basic unit C 61 Binary inputs option Ga 62 Binary outputs basic unit 63 Binary outputs option Lg 64 Analog outputs option a 7 Control Functions A 8 Unit Functions a 9 IPOS parameters Applications ApplicationBuilder Applications 10 Setpoint selection A 100 Setpoint source 101 Control signal source 102 Frequence scaling 870 B71 872 873 874 875 876 60 Binary inputs basic unit 600 601 602 603 604 605 606 kHz Setpoint descripti
10. SENTIR Vue ar Ps USED QUS S DINAR Ss UMANE x B Z EN Fieldbus Interface DFP21B FA375100 PROFIBUS DP V1 Edition 07 2006 IM 11479019 EN anual SEW EURODRIVE Driving the world 1 Important Notes e eeeeeeeeeeee eee eeeeeen eene eene nenne nnnm naai erinnern 6 II Explanation of symbols essen nennen 6 1 2 Partof the product tete Rene dehet tes 6 1 38 Documentation reference naea aras ENE AAA Aaaa A EEES NEA EEA EREE 6 1 4 Eiability for E 7 1 5 Product names and trademarks sssss eee 7 1 6 Disposal 4 eem eee dte e ca redu de De dep eee elie 7 2 Salely EE 8 2 1 Preliminary information sssseeeenne enne ener nnns 8 2 2 General safety notes enne nnns 8 2 2 1 General safety notes for bus evstems 8 29 ransport storage otiete tiet abeat eie coti 8 2 4 Installation assembly seen eene nnnm 9 2 5 Startup operation 2 aa aaa be rie P eicit dna 9 3 Introduction E S A iiem Ee Eden 10 3 1 Content of the manual 10 3 2 Additional documentation 10 3 9 Features eseu DEER EE beatae vente vet EE 10 3 3 1 MOVIDRIVE MOVITRAC B and PROFIBUS 10 3 3 2 Access to all information eee eee eeceeeeeeecne eee eeeneeeeeetaaeeeeeetaeeeeeee 11 3 3 3 Cyclical and acyclical data exchange via PROFIBUS DP 11 3 3 4 Acyclic
11. sthe PC connected to the PROFIBUS without violating the bus structure Arethe terminating resistors at the bus connectors correctly switched sthe bus address of the PC still available for use Operation via SIMATIC NET Is the check box PG PC is the only master on the bus enabled disabled sthe baud rate set correctly Manual DFP21B PROFIBUSDP V1 Fieldbus Interface Error Diagnostics ES 2 Diagnostic procedures lt io 9 Error Diagnostics 9 1 Diagnostic procedures The diagnostic procedures described in the following section 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 with the inverter parameter settings for various fieldbus applications refer to the Fieldbus Unit Profile and MOVIDRI VE Parameter List manual In addition read the current information on the GSD disk Manual DEP21B PROFIBUSDP V1 Fieldbus Interface 95 E OA Error Diagnostics n Diagnostic procedures Diagnostic problem 1 Inverter does not work on PROFIBUS Initial status Inverter is connected to PROFIBUS Inverter configured in PROFIBUS master and bus communication is active i Is the bus connector plugged in no gt A Yes i OFF gt B Response of the LED BUS FAULT No C FLASHES D
12. essen 59 Installing and removing an option card 15 G Installing the DFP21B option card in MOVITRAC deiere hate Lata el 16 EIERE 35 99 100 MOVIDRIVE amp MDX61B with DFP21B for operation n MOVITRAC Bum See 34 option Car 14 for operation in UOH11B gateway housing 34 UOH11B gateway housing NEHME 18 for PROFIBUSDP sse 26 Autosetup for gateway operation 40 for PROFIBUSDP MT nn 27 Validity for DEP21B sess 26 B Baud rate ni ooreet tearena aie aa 18 21 99 100 Bus cables menciinte Lie dee 22 Ident number ss qot E 99 100 Bus termination sss 22 99 100 Incorrect service execution eerte 51 Index addressing eesesss 51 C Internal communication error 58 C1 master L Project planning seen 77 Configuration of the process data 37 LEDs PROFIBUS mA 24 Configuration of the PROFIBUS DP interface 36 Length specification eeeeceeceeetteeeeeseteeeeeseeeeeees 58 Configuring SIMATIC NET nssasaaaaaaaaininrnsereraraa 87 Liability for defects sss 7 Configuring the PROFIBUS option card 12 M Connection ILS 17 Monitoring functions s 12 DFP21B option de Seege Zeit ee IL T 20 MOVIDRIVE MDX61B Connection technology 99 100 Control tite ett 45 Control Setting the d
13. 0x00 No service 0x10 READ parameter 0x20 WRITE parameter 0x30 WRITE parameter volatile 0x40 0xFO reserved No of elements Unsigned 0x00 for parameters that are not indexed 0x01 0x75 Quantity 1 117 Parameter num Unsigned16 0x0000 OXFFFF MOVILINK parameter index ber Subindex Unsigned16 0x0000 SEW Always 0 Format Unsigned8 0x43 Double word 0x44 Error No of values Unsigned8 0x00 0xEA Quantity 0 234 Error value Unsigned16 0x0000 0x0064 PROF drive error codes 0x0080 MOVILINK additional code low For SEW MOVILINK 16 bit error value Manual DFP21B PROFIBUSDP V1 Fieldbus Interface PROFIBUSDP V1 Functions Structure of the DP V1 parameter channel a 7 7 3 1 Parameter setting procedure via data set 47 9 Parameter access is provided by the combination of the DP V1 services WRITE and READ The parameter setting service is transferred to the slave with WRITE req followed by slave internal processing The master now sends a READ req to pick up the parameter setting response The master repeats the READ reqif the READ res from the slave is negative As soon as the parameter processing in the drive inverter is concluded it answers with a positive response HEAD res The user data now contain the parameter setting response of the parameter setting order that was previously sent with WRITE req see the following illustration This mechanism applies to a C1 as well as a C2
14. 0x65 0xFF Depends on the manufac turer Manual DFP21B PROFIBUSDP V1 Fieldbus Interface PROFIBUSDP V1 Functions go 7 Project planning for a C1 master 7 4 Project planning for a C1 master A special GSD file SEWAG6003 GSD is required for the project planning of a DP V1 C1 master This file activates the DP V1 functions of the DFP21B Therefore the functions ofthe GSD file and the DFP21B firmware must correspond with one another When you implement the DP V1 functions SEW EURODRIVE provides 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 4 Operating mode DP V1 mode The DP V1 operating mode can usually be activated during project planning for a C1 master All DP slaves that have the DP V1 functions enabled in their GSD files and that support DP V1 will then be operated in the DP V1 mode Standard DP slaves will still run via PROFIBUS DP This ensures mixed mode is run for DP V1 and DP capable modules Depending on the specification of the master functionality a DP V1 capable station that was configured using the DP V1 GSD file can run in the DP operating mode Manual DFP21B PROFIBUSDP V1 Fieldbus Interface 77 78 PROFIBUSDP V1 Functions Project planning for a C1 master 7 4 2 Example program for SIMATIC S7 The STEP7 code stored in the GSD file shows how parameters are accessed via the STEP7 system function modu
15. DB 201 Instance DB for SFB52 is required for DPV1_READ DB 202 Instance DB for SFB53 is required for DPV1_WRITE L L 123000 Convert the parameter value from DINT T MD 110 to DWORD Conversion factor value range of the parameter value see parameter list in the MCO7 Communication manual CALL FB 5 DB 5 Drive_IO_Address 512 bService BH16 3 0x01 read 0x02 write 0x03 write volatile bAxis BH16 2 MCO7 with SBUS addr 2 wParameterIndex W 16 2129 MOVILINK parameter index 8489d P160 internal setpoint n11 wSubIndex W 16 0 MOVILINK subindex 0 dwWRITEData MD 110 Parameter value that is being written bError MB 118 No error 0 S7 error 1 timeout 2 MOVILINK error 3 dwData MD 114 bError 0 gt parameter value that was read bError 1 gt S7 error code fActivate M 100 0 Activation bit Triggering a parameter request fBusy M 100 1 The parameter request is being processed or a timeout has occurred fDone M 100 2 The parameter request is finished END_FUNCTION Manual DFP21B PROFIBUSDP V1 Fieldbus Interface PROFIBUSDP V1 Functions g 7 4 3 DP V1 technical data for MOVIDRIVE DFP21 Project planning for a C1 master 9 GSD file for DP V1 SEWA6003 GSD Module name for project planning MOVIDRIVE DFP21B MCH DP V1 Number of parallel C2 connections 2 Supported data set Index 47 Supported slot number Recommended 0
16. Furthermore you are supplied with a variety of additional information about the status of the fieldbus option card The fieldbus monitor function in conjunction with the MOVITOOLS MotionStudio PC software offers you an easy to use diagnostic tool for setting all drive parameters including the fieldbus parameters and for displaying the fieldbus and device status information in detail Manual DEP21B PROFIBUSDP V1 Fieldbus Interface 13 14 Assembly and Installation Notes Installing the DFP21B option card in MOVIDRIVE MDX61B 4 Assembly and Installation Notes This section contains information about assembly and installation of the DFP21B option card in the MOVIDRIVE MDX61B MOVITRAC B and UOH11B gateway housing 4 1 Installing the DFP21B option card in MOVIDRI VE MDX61B Only SEW EURODRIVE engineers are allowed to install or remove option cards for MOVIDRIVE MDX61B size 0 Option cards can only be installed or removed by users for MOVIDRIVE MDX61B sizes 1 to 6 4 1 1 Before you start The DFP21B option card must be plugged into the fieldbus slot Observe the following notes before installing or removing an option 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 shoes and so on before touching it Before installing the option card remove the
17. TITLE WRITEDienst To transfer the parameter requirement to the inverter must be executed DPVIWRITE service WRIT NOP 0 CALL SFB 53 InstanzDB_SFB53 REQ r ID INDEX LEN DONE BUSY ERROR STATUS RECORD r Evaluation of return values an SFB53 call TRUE dwStaticDriveAddr 47 Data set 47 iStaticReqLength TempDone f TempBusy f TempError dwTempStatus MVLK_Req The FB is exited and the busy bit set if the function is not finished has occurred go to read preparation Set error bit and reset busy bits U TempBusy SPB ENDB U fTempError If no error SPBN RD V SET An error has occurred R fBusy R fStaticBusy R fDPVIWRITEDone S fDone L Issue error code 1 S7 error T bError L dwTempStatus Return the S7 error code T dwData BEA RD V NOP 0 DPV1 read service preparation SET S fDPVIWRITEDone NETWORK TITLE READDienst To fetch the parameter response from DPVIREAD service READ NOP 0 CALL SFB 52 InstanzDB_SFB52 REQ i ID INDEX MLEN VALID BUSY ERROR STATUS LEN RECORD must be executed Evaluation of return values U TempBusy SPB ENDB U TempError If no error SPBN DATA L TimeoutCounter Timeout L 1 1 T fTimeoutCounter L fTimeoutCounter L 300 gt I i SPB TOUT If error xx80B5xx hex operation must be repeated L dwlempStatus UD DW 16 FFFF00 L DW
18. Use the GSD file SEW 6003 GSD from the DP directory if you want to use PROFI BUS DP communication to control the drive inverter This GSD file corresponds to the GSD revision1 and must be copied to a special directory of your project planning soft ware 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 masters Project planning tool DP master File name All DP project planning tools to EN 50170 V2 For DP master SEW_6003 GSD standard Siemens S7 hardware configuration For all S7 DP masters Siemens S5 COM PROFIBUS For IM 308C etc 26 Manual DFP21B PROFIBUSDP V1 Fieldbus Interface Project Planning and Startup DP master project planning the with MOVIDRIVEG GSD file 5 2 2 GSD file for PROFIBUS DP V1 qu 5 Use the GSD file SEWA6003 GSD from the DP V1 directory if you want to use the parameter setting options of DP V1 in addition to the standard PROFIBUS DP communication to control the drive inverter 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 of DFP21B remains switched on after the DP V1 master has started The DP V1 master will indicate that the connection cannot be established
19. Disabled off Abbrechen Hilfe Abbrechen Hilfe 50256AXX Figure 5 Activating external diagnostics with STEP7 Parameter data hex Function 00 00 00 06 81 00 00 01 00 Diagnostic alarms are generated even in case of an error enabled on Diagnostic alarms are not generated if there is an error 00 00 00 06 81 00 00 01 01 disabled off factory setting Manual DEP21B PROFIBUSDP V1 Fieldbus Interface 5 33 go Project Planning and Startup DP master project planning with MOVITRAC or gateway GSD file 5 3 DP master project planning with MO VITRAC or gateway GSD file This section provides information on project planning for the PROFIBUS DP master with MOVITRAC B and DFP21B gateway UOH11B 5 3 4 GSD files for operation in MOVITRAC B and UOH11B gateway housing E KA PROFIBUS DP EL Additional Field Devices El Drives BHL SEW EL DPY1 E B Gateway DFP DFS D Universal module Empty Parameter channel 8 byte ONE module for all drives AS 1 Drive 3 PD AS 2 Drives 5 PD AS 3 Drives 3 PD AS 4 Drives 12 PD AS 5 Drives 15 PD AS B Drives 18 PD AS 7 Drives 21 PD AS 8 Drives 24 PD ONE module per drive 4S 1 Drive 1x 3 PD AS 2 Drives 2 x 3 PD AS 3 Drives 3 x 3 PD AS 4 Drives 4 x 3 PD AS 5 Drives Bx 3 PD AS B Drives 6 x 3 PD AS 7 Drives x 3 PD AS 8 Drives 8 x 3 PD 11328AEN Use the GSD file SEW
20. Function Num READ req Slot Number X Slot Number not used Index 47 Index of the data set Length 240 Maximum length of response buffer in the DP master Positive response to WRITE Parameter volatile Table 10 DP V1 header of the positive READ response with parameter response Service READ response Description Slot Number 0 Random is not evaluated Index 47 Index of the data set 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 reference number from the parameter setting request 1 Response ID 0x40 Positive MOVILINK response 2 Axis 0x00 Reflected axis number 0 single axis 3 No of parameters 0x01 1 parameter Negative The following table shows the coding of a negative response of a MOVILINK service parameter Bit 7 is entered in the response ID if the response is negative response Table 12 Negative response for MOVILINK service Service READ response Description Slot_Number 0 Random is not evaluated Index 47 Index of the data set constant index 47 Length 8 8 byte user data in response buffer Byte Field Value Description 0 Response reference 0x01 Reflected reference number from the parameter setting request 1 Response ID 0xCO Negative MOVILINK9 response 2
21. So that the GSD files are easy to identify they are assigned the name for PROFIBUS DP V1 and displayed in a special subdirectory in the project planning software for the DP V1 master see following screenshot Profile Standard D PROFIBUS DP CT Additional Field Devices H General Cg Drives Eg SEW Eg DPV1 extension Manual DEP21B PROFIBUSDP V1 Fieldbus Interface Gq MOVIDRIVE DFP21 MCH41 DPN1 fgg MOPIDPV1 MOVIMOT gg UFP DPT MFP MQP MOVIMOT MOVIDRIVE Compact 41 MOVIDRIVE DFP11 E E gg MOVIDRIVE DFP21 B E E DPV1 GSD V3 0 for DFP21 and MCH41 with DEN firmware MOVIMOT MFP D MOVITRAC 31 Size 0 MOVITRAC 31 FFP31 ap 53545AXX 27 5 go Project Planning and Startup 9 DP master project planning the with MOVIDRIVE GSD file 5 2 3 Project planning procedure Proceed as follows for project planning for MOVIDRIVE with PROFIBUS DP interface 1 Read the README_GSDA6003 PDF file which you receive with the GSD file for further current information on project planning 2 Install copy the GSD file according 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 module under the name MOVIDRIVE DFP21 to the PROFIBUS structure and assign the station address 4 Select the process data configuration require
22. Station address 1 to 125 adjustable via DIP switches Name of the GSD file SEW_6003 GSD PROFIBUS DP SEWA6003 GSD PROFIBUS DP V1 DP ident number 6003hex 2457 9dec Application 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 01 00 DP diagnostics alarm ON DP configurations for DDLM_Chk_Cfg e c o o o o o FOhex 1 process data word 1 UO word F1hex 2 process data words 2 I O words F2hex 3 process data words 3 I O words Ohex F5hex 6 process data words 6 I O words Ohex F9hex 10 process data words 10 I O words F3hex FOhex parameter channel 1 process data word 5 I O words F3hex F1hex parameter channel 2 process data words 6 I O words F3hex F2hex parameter channel 3 process data words 7 I O words F3hex F5hex parameter channel 6 process data words 10 I O words F3hex F9hex parameter channel 10 process data words 14 I O words Diagnostics data Max 8 bytes Standard diagnostics 6 bytes Tools for startup PC program MOVITOOLS MotionStudio DBG11B keypad Manual DEP21B PROFIBUSDP V1 Fieldbus Interface 10 99 10 100 Technical Data DFP21B option for MOVITRAC B and UOH11B gateway housing 5 5 224 257 5
23. BYTE B 16 1 WRITEData DWORD REQ WRITEData END STRUCT TimeoutCounter WORD Timeout counter END VAR Manual DFP21B PROFIBUSDP V1 Fieldbus Interface PROFIBUSDP V1 Functions Project planning for a C1 master 7 qu VAR_TEMP MVLK_Resp STRUCT Movilink structure response ResponseReference BYTE RESP Response reference Responseld BYTE RESP Response ID Axis BYTE RESP Axis No_of_Parameter BYTE RESP No of Parameters Attachment ARRAY 0 7 OF REQ Data BYTE END_STRUCT fTempError BOOL fTempBusy BOOL fTempDone BOOL fTempValid BOOL dwTempStatus DWORD END VAR BEGIN NETWORK TITLE Insert transfer parameter in Movilink structure U fActivate FP fAuxflag If neither a parameter service is triggered Oo fBusy nor processed SPBN END then the function is ended U fStaticBusy If static busy is set WRITE service has already been performed SPBN NEWR then go to new request U fDPVIWRITEDone If WRITE service was finished without error go to READ SPB READ SPA WRIT Else go to WRITE NEWR NOP 0 Initialization UN fStaticBusy Output bits and values are reset S fStaticBusy Busy output and flag bit are set S fBusy R fDone DoneBit will be reset L 0 T bError Error and data output values are set to ZERO T dwData L Drive IO Address Convert drive address from Int to DWord T dwStaticDriveAddr Bring data into Movilin
24. DFP21B PROFIBUSDP V1 Fieldbus Interface Operation of MOVITOOLS MotionStudio via PROFIBUS g 8 Configuring SIMATIC NET 9 Close the configuration dialog and open the following dialog box using the Diagnostics button to check it SIMATIC NET diagnostics CP5512 PROFIBUS x PROFIBUS MPI Network Diagnostics Hardware r Status Network Diagnostics x j Station address o Bus parameters Baudrate 1500 00 Kbps a Highest station address HSA 126 Minimum station delay Time Min T sdr 11 tBit Maximum station delay Time Max Tsdr 150 tBit Setup time tset 1 tBit Y r Bus Nodes 0712345 6 8 9 1011121314151617 1813 vo igl igd iciciciririmi imi oo ooo 0s Ren am es et i n n a oa ua on rm o n m orn Tt Jr Tet SE Fes Fut Sele ele Jod s rd e s f Jod o Jo a Roni SIEGE SIS a n o d n P a n n on n n HG Fani or on on Pn fa Ts elo ele en on P rut e n n o cL as it ot at tt ite i in Ott et i et Worrrrrrr pry Station passive Head IV Station active IV Station active ready OK Cancel Help 11309AEN Figure 16 SIMATIC NET diagnostics Everything has been correctly configured up to now when the OK status is displayed after pressing the Test button and all devices on the PROFIBUS are displayed using the Read button You can now operate MOVITOOLS MotionStudio via PROFIBUS DP V1 Manual DFP21B PROFIBUSDP V1 Fieldbus Interface 89 8 g Operation of MOVI
25. DFP21B PROFIBUSDP V1 Fieldbus Interface 53 6 go PROFIBUSDP Operating Characteristics 9 Parameter settings via PROFIBUS DP 6 3 4 Parameter setting procedure with PROFIBUS DP Using the WRITE service as an example the following figure represents a process of setting parameters between the controller and the drive inverter via PROFIBUS DP To simplify the procedure the following figure only shows the management byte of the parameter channel The parameter channel is only received and returned by the drive inverter while the control is preparing the parameter channel for the WRITE service The service is not activated until the moment when the handshake bit is changed in this example when it changes from 0 to 1 The drive inverter now interprets the parameter channel and processes the WRITE service however it continues to respond to all telegrams with handshake bit 0 Confirmation that 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 as the one that was sent It can now prepare another parameter setting procedure zug PROFIBUS DP VO Drive inverter slave 00110010XXX ud Parameter channel is received but c 00110010XXX ES not evaluated Parameter channel is prepared for the WRITE service Handshake bit is changed and the service is trans
26. GEI mass ED ET EH MOVITRAC B MOVIDRIVE B MOVIDRIVE B Digital UO f Analog I O PROFIBUS 58687AXX Figure 1 PROFIBUS with MOVIDRIVE 1 Visualization 3 3 6 Monitoring functions Using a fieldbus system demands additional monitoring functions in the drive engineer ing for example time monitoring of the fieldbus fieldbus timeout or rapid stop concepts For example you can adapt MOVIDRIVES MOVITRAC monitoring functions specifically to your application You can determine for instance which of the drive inverter s fault responses should be triggered in the event of a bus error A rapid stop is a good idea for many applications although this can also be achieved by freezing the last setpoints so the drive continues operating with the most recently valid setpoints such as with a conveyor belt As the control terminals also function in fieldbus opera tion you can still implement fieldbus independent emergency stop concepts via the terminals of the drive inverter Manual DFP21B PROFIBUSDP V1 Fieldbus Interface Introduction Features 3 3 7 Diagnostics The MOVIDRIVE drive inverter and the MOVITRAC B frequency inverter offer you numerous diagnostics options for startup and service For example you can use the integrated fieldbus monitor to control setpoint values sent from the higher level control as well as the actual values 3 3 8 Fieldbus monitor
27. Manual DFP21B PROFIBUSDP V1 Fieldbus Interface Error Diagnostics gt AN Diagnostic procedures lt Ee Diagnostic problem 2 Inverter cannot be controlled using the DP master Initial status Bus communication with inverter OK LED BUS FAULT off Inverter running with 24 V no supply voltage l The problem is either caused by incorrect parameter settings in the inverter or a faulty control program in the PROFIBUS master L Use P094 P097 setpoint description PO1 PO3 to check whether the set points sent by the controller are received correctly To do so send a setpoint other than 0 as a test in each output word l Setpoints received yes gt A No Check that the correct settings have been made for the following drive parameters e P100 SETPOINT SOURCE FIELDBUS for MOVITRAC B SBus1 Fixed setpoint P101 CONTROL SIGNAL SOURCEFIELDBUS for MOVITRAC B SBus1 e P876 ENABLE PO DATA YES l Settings OK no B Yes i The problem may be caused by your control program in the DP master L Check that the address used in the program is the same as the address for project planning Note that the inverter requires consistent data and access must take place within the control program if necessary via special system functions for example SIMATIC S7 SFC 14 15 A Setpoints are not transferred Check whether
28. Param PROFIBUS DP V1 Param PD Acyclic DP V1 Give IN Date Acyclic DP V1 C1 Services C2 Services Unit 0 Unit 1 Unit 3 Unit 8 Unit SBus Address 1 2 3 4 5 6 T 8 o e L LN Ca Ca Ca L m i o ES E E a e O mesi Tes ges Ess 150 Ess 153 Iss n4 E gt O 1 j j D KN KN D Hd KN KN D 59093AXX Manual DEP21B PROFIBUSDP V1 Fieldbus Interface Project Planning and Startup g DP master project planning with MOVITRAC or gateway GSD file Configuration of the process data ONE module for all drives One module per drive The fieldbus interface allows for different DP configurations for the data exchange between DP master and fieldbus interface The following table provides additional details on all standard DP configurations of the fieldbus interfaces The Process data configuration column lists the names of the configurations This text is also displayed as selection list within the project planning software for the DP master The DP config urations column shows the type of configuration data sent to the fieldbus interface while the link to PROFIBUS DP is being established The configurations are determined by the default process data width for SEW inverters of 3 process data words The fieldbus interface then distributes these process data words to the individual units The parame ter chan
29. Shielding and routing bus cables The PROFIBUS interface supports RS 485 transmission technology and requires the cable type A to IEC 61158 as the physical medium for the PROFIBUS This cable must be a shielded twisted pair cable Correct shielding of the bus cable attenuates electrical interference that may occur in industrial environments The following measures ensure the best possible shielding Manually tighten the mounting screws on the connectors modules and equipotential bonding conductors Useonly connectors with a metal housing or a metallized housing e Connect the shielding in the connector over a wide surface area Apply the shielding of the bus line on both ends Route signal and bus cables in separate cable ducts Do not route them parallel to power cables motor leads nindustrial environments use metallic grounded cable racks Route the signal cable and the corresponding equipotential bonding close to each other using the shortest possible route Avoid using plug connectors to extend bus cables Route the bus cables closely along existing grounding surfaces In case of fluctuations in the ground potential a compensating current may flow via the bilaterally connected shield that is also connected to the protective earth PE In this case make adequate provision for equipotential bonding in accordance with the relevant VDE regulations 47 Bustermination The DFP21B option is not provided with
30. 00 1A Parameter access via RS 485 diagnostic interface only 00 1B Parameter is access protected 00 1C Control inhibit required 00 1D Invalid value for parameter 00 1E Factory setting was activated 00 1F Parameter was not saved in EEPROM 00 20 Parameter cannot be changed with enabled output stage 6 6 Special cases 6 6 4 Special return codes Errors in the parameter settings that cannot be identified either automatically by the application layer of the fieldbus system or by the system software of the drive inverter are treated as special cases The following is a list of errors that can occur depending on the fieldbus option card used Incorrect coding of a service via parameter channel Incorrect length specification of a service via parameter channel nternal communication error Manual DEP21B PROFIBUSDP V1 Fieldbus Interface 57 e gu PROFIBUSDP Operating Characteristics Special cases Incorrect service code in the parameter channel Troubleshooting Incorrect length specification in parameter channel Troubleshooting Internal commu nication error Troubleshooting 58 Incorrect code was specified in the management byte or reserved byte during parameter setting via the parameter channel The following table shows the return code for this special case Code dec Meaning Error class 5 Service Error code 5 Illegal parameter Add code high 0 Add code low
31. 031 Binary input DIO1 r Ew Stop 83 Error responses 5 i e 84 Reset behavior 032 Binary input DIO2 r Ne function 86 Modulation 033 Binary input DIO3 Chatten ES 87 Process data parameter ass Av E 88 Serial communication SBus 034 Binary input DID4 Che function Ic Manual operation 035 Binary input DIOS r No function MS DAE E e 036 Binary inputs D100 D105 CPP ONLINE e Status 4 11329AEN Manual DFP21B PROFIBUSDP V1 Fieldbus Interface 43 5 44 qu Project Planning and Startup Setting the MOVITRAC frequency inverter To control the drive inverter via PROFIBUS you must first switch the drive inverter to control signal source P101 and setpoint source P100 SBus The SBus setting means the drive inverter parameters are set for control and setpoint entry via gateway The MOVITRAC drive inverter then responds to the process output data transmitted from the master programmable controller It is necessary to set the SBus1 timeout interval P815 to a value other than 0 ms for the MOVITRAC frequency inverter to stop if faulty SBus communication is encoun 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 word For safety reasons you must also enable the drive inverter at the terminals for control via the fieldbus system Therefore you m
32. 16 80B500 D SPBN ERR NOP 0 i SPA ENDB state conflict the inverter a SFB52 call TRUE dwStaticDriveAddr 47 Data set 47 125 f TempValid TempBusy f TempError dwTempStatus iStaticReqLength MVLK_Resp The FB is exited and the busy bit set if the function is not finished has occurred go to data evaluation counter is increased A timeout error is triggered when the timeout counter has reached 300 is reported then another parameter order already exists and the read Set error bit and reset busy bits ERR SET An error has occurred R f Busy R StaticBusy R DPV1IWRITEDone S Done L 1 Issue error code 1 S7 error Es bError L dwTempStatus Return the S7 error code T dwData L 0 T TimeoutCounter Reset timeout counter BEA i Manual DFP21B PROFIBUSDP V1 Fieldbus Interface PROFIBUSDP V1 Functions Project planning for a C1 master DATA NOP L L SPB L L SPB Nn D d EA TOUT NOP Wuwwuuddmdt dtpez udatdbcedtceguumuuu BEA NETWORK 0 Data evaluation first selection MVLK Resp ResponseId POSR go to positive response MVLK Resp ResponseId NEGR go to negative response illegal Movilink response fDone fBusy fStaticBusy fDPVI1WRITEDone 3 Movilink error bError DW 16 502 MLER NO RESPONSE dwData 0 End function 0 Timeout 2 Movilink error bEr
33. 3023 D 76642 Bruchsal Service Central SEW EURODRIVE GmbH amp Co KG Tel 49 7251 75 1710 Competence Center Gear units Ernst Blickle StraBe 1 Fax 49 7251 75 1711 Motors D 76676 Graben Neudorf sc mitte gm sew eurodrive de Central SEW EURODRIVE GmbH amp Co KG Tel 49 7251 75 1780 Electronics Ernst Blickle StraBe 42 Fax 49 7251 75 1769 D 76646 Bruchsal sc mitte e sew eurodrive de North SEW EURODRIVE GmbH amp Co KG Tel 49 5137 8798 30 Alte Ricklinger StraBe 40 42 Fax 49 5137 8798 55 D 30823 Garbsen near Hannover sc nord sew eurodrive de East SEW EURODRIVE GmbH amp Co KG Tel 49 3764 7606 0 Dankritzer Weg 1 Fax 49 3764 7606 30 D 08393 Meerane near Zwickau sc ost sew eurodrive de South SEW EURODRIVE GmbH amp Co KG Tel 49 89 909552 10 DomagkstraBe 5 Fax 49 89 909552 50 D 85551 Kirchheim near M nchen sc sued sew eurodrive de West SEW EURODRIVE GmbH amp Co KG Tel 49 2173 8507 30 SiemensstraBe 1 D 40764 Langenfeld near D sseldorf Fax 49 2173 8507 55 sc west sew eurodrive de Drive Service Hotline 24 Hour Service 49 180 5 SEWHELP 49 180 5 7394357 Additional addresses for service in Germany provided on request France Production Haguenau SEW USOCOME Tel 33 3 88 73 67 00 Sales 48 54 route de Soufflenheim Fax 33 3 88 73 66 00 Service B P 20185 http www usocome com F 67506 Haguenau Cedex sew usocome com Assembly Bordeaux SEW USOCOME Tel 33 5 57 26 39
34. 6 Vokovice sew sew eurodrive cz Denmark Assembly Kopenhagen SEW EURODRIVEA S Tel 45 43 9585 00 Sales Geminivej 28 30 P O Box 100 Fax 45 43 9585 09 Service DK 2670 Greve http www sew eurodrive dk sew sew eurodrive dk Estonia Sales Tallin ALAS KUUL AS Tel 372 6593230 Mustam e tee 24 Fax 4372 6593231 EE 10620Tallin veiko soots alas kuul ee Finland Assembly Lahti SEW EURODRIVE OY Tel 358 201 589 300 Sales Vesim entie A Fax 358 3 780 6211 Service FIN 15860 Hollola 2 sew sew fi http www sew eurodrive fi Gabon Sales Libreville Electro Services Tel 241 7340 11 B P 1889 Fax 241 7340 12 Libreville Great Britain Assembly Normanton SEW EURODRIVE Ltd Tel 44 1924 893 855 Sales Beckbridge Industrial Estate Fax 44 1924 893 702 Service P O Box No 1 http www sew eurodrive co uk GB Normanton West Yorkshire WF6 1QR info sew eurodrive co uk Greece Sales Athen Christ Boznos amp Son S A Tel 30 2 1042 251 34 Service 12 Mavromichali Street Fax 30 2 1042 251 59 P O Box 80136 GR 18545 Piraeus http www boznos gr info boznos gr 12 2006 105 Address List i Hong Kong Assembly Hong Kong SEW EURODRIVE LTD Tel 852 2 7960477 79604654 Sales Unit No 801 806 8th Floor Fax 852 2 7959129 Service Hong Leong Industrial Complex sew sewhk com No 4 Wang Kwong Road Kowloon Hong Kong Hungary Sales Budapest SEW E
35. 6 1 3 Fieldbus timeout response MOVIDRIVE MDX61B P831 is used to set the parameters for the fault response which is triggered by the field bus timeout monitoring The setting made here must correspond to the setting in the master system S7 response monitoring 46 Manual DFP21B PROFIBUSDP V1 Fieldbus Interface PROFIBUSDP Operating Characteristics go 6 Control of the MOVITRACO inverter gateway 6 2 Control of the MOVITRAC inverter gateway The inverter is controlled via the process data channel which is up to 3 I O words in length These process data words are reproduced in the I O or peripheral area of the controller for example when a programmable logic controller is used as the DP master As a result they can be addressed in the usual manner Pow318 b PO 3 1 POW316 gt PO 2 POWS314 PO 1 Pow312 b PO3 2 POW310 e PO 2 POW308 b PO 1 Leal PO 4 PO2 Po af Po PO 2 PO3 MOVITRAC B1 MOVITRAC B2 Pl1 PI eia pit P 2 P3 PIW318 PI3 PIW316 PI 2 PIW314 PI 1 PIW312 PI3 PIW310 PI 2 PIW308 PI 1 ey nu 58612AXX Figure 9 Mapping PROFIBUS data in the PLC address range 1 Address range MOVITRAC B device 2 2 Address range MOVITRAC B device 1 PO process output data PI process input data Additional inf
36. Assembly Wien SEW EURODRIVE Ges m b H Tel 43 1 617 55 00 0 Sales Richard Strauss Strasse 24 Fax 43 1 617 55 00 30 Service A 1230 Wien http sew eurodrive at sew sew eurodrive at Belgium Assembly Br ssel SEW Caron Vector S A Tel 32 10 231 311 Sales Avenue Eiffel 5 Fax 32 10 231 336 Service B 1300 Wavre http www caron vector be info caron vector be Brazil Production Sao Paulo SEW EURODRIVE Brasil Ltda Tel 55 11 6489 9133 Sales Avenida Amancio Gaiolli 50 Fax 55 11 6480 3328 Service Caixa Postal 201 07111 970 http www sew com br Guarulhos SP Cep 07251 250 sew sew com br Additional addresses for service in Brazil provided on request Bulgaria Sales Sofia BEVER DRIVE GmbH Tel 359 2 9151160 Bogdanovetz Str 1 Fax 359 2 9151166 BG 1606 Sofia bever fastbg net Cameroon Sales Douala Electro Services Tel 237 4322 99 Rue Drouot Akwa Fax 237 4277 03 B P 2024 Douala Canada Assembly Toronto SEW EURODRIVE CO OF CANADA LTD Tel 1 905 791 1553 Sales 210 Walker Drive Fax 1 905 791 2999 Service Bramalea Ontario L6T3W1 http www sew eurodrive ca reynolds sew eurodrive ca Vancouver SEW EURODRIVE CO OF CANADA LTD Tel 1 604 946 5535 7188 Honeyman Street Fax 1 604 946 2513 Delta B C V4G 1 E2 b wake sew eurodrive ca Montreal SEW EURODRIVE CO OF CANADA LTD Tel 1 514 367 1124 2555 Rue Leger Street Fax 1 514 367 3677 LaSalle Quebec H8N 2V9 a peluso sew eurodrive ca Additional addresses for service in Canada provided on
37. Axis 0x00 Reflected axis number 0 single axis 3 No of parameters 0x01 1 parameter 4 Format 0x44 Error 5 No of values 0x01 1 error code 6 7 Error value 0x0811 MOVILINK return code e g Error class 0x08 Add code 0x11 see section MOVILINK return code of the parameter settings for DP V1 on page page 71 70 Manual DFP21B PROFIBUSDP V1 Fieldbus Interface PROFIBUSDP V1 Functions g Structure of the DP V1 parameter channel 9 MOVILINK param The following table shows the return codes that are returned by the SEW DP V1 eter setting return interface if an error occurs during DP V1 parameter access codes for DP V1 MOVILINK Description Return codes hex 0x0810 Invalid index parameter index does not exist in the unit 0x0811 Function parameter not implemented 0x0812 Read access only 0x0813 Parameter lock active 0x0814 Factory setting is active 0x0815 Value for parameter too large 0x0816 Value for parameter too small 0x0817 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 Parameter is access protected 0x081C Control inhibit is required 0x081D Invalid value for parameter 0x081E Factory setting was activated 0x081F Parameter was not saved in EEPROM 0x0820 Param
38. Einstellungen Hilfe c EH lm meal tT A ZA IZ pp s Netzwerk a MyNetwork P 1 Serial B o MDx6180015 543 88 2 Profibus LE 4 MXA 80 004 503 00 D surPi4 Ef 11 Gateway DFP21B Li 1 MX4 804 004 503 00 LY 2 Mx4 804 004 503 00 3 MXA 804 004 503 00 Y 4 MCO7B0022 2B1 16 MQP2xD e Status 4 11315ADE 6 8 Activating online operation Perform the unit scan see section 8 7 Use the mouse to highlight the unit you want to operate Switch MOVITOOLS MotionStudio to online mode by pressing the Online mode button fS MoviTOOLS Motionstudio fdgd DI xl Projekt Netzwerk Plugins Einstellungen Hilfe Wim ww migolt xir eral Si Netzwerk a m MyNetwork E 1 Serial B D MDX61B0015 543 7 88 2 Profibus au 4 M gt 4 804 004 503 00 g 9 UFPIIA EB g 11 Gateway DFP21B Lb 1 Mx4 804 004 503 00 LE 2 M gt lt 4 804 004 503 00 gi 3 MXA4 804 004 503 00 T 4 MCO7B0022 2B1 16 MQP2xD e Status 11316ADE Now highlight the unit you want to operate and activate the plug in menu using the right mouse button Manual DFP21B PROFIBUSDP V1 Fieldbus Interface 93 8 94 go Operation of MOVITOOLS MotionStudio via PROFIBUS 9 Known problems when operating MOVITOOLS MotionStudio 8 9 Known problems when operating MOVITOOLS MotionStudio Check the following points if problems occur during configuration
39. Fieldbus Interface 5 31 5 32 go Project Planning and Startup DP master project planning the with MOVIDRIVE GSD file 5 2 5 MOVIDRIVE MDX61B external diagnostics Recommendation Procedure For MOVIDRIVE MDX61B drive inverters with option DFP21B it is possible to activate automatic generation of external diagnostic alarms via PROFIBUS DP during the project planning in the DP master If this function has been activated the inverter sends an external diagnostic signal to the DP master every time a malfunction occurs You then have to program corresponding algorithms in the program of the DP master system to evaluate the diagnostic information These algorithms can be quite complex It is not always necessary to activate the external diagnostic function because MOVIDRIVE transmits the current drive status via status word 1 during every PROFIBUS DP cycle The structure of the unit specific diagnostics was redefined for PROFIBUS DP V1 The mechanism described here can only be used with PROFIBUS DP without DP V1 expansions We recommend that you do not use this mechanism for new applications Note for SIMATIC S7 master systems Diagnostic alarms may also be triggered by the PROFIBUS DP system in the DP master even if external diagnostic generation is deactivated As a result the corresponding operating blocks such as OB84 for S7 400 and OB82 for S7 300 should always be created in the controller Additiona
40. Francisco SEW EURODRIVE INC Tel 1 510 487 3560 Sales 30599 San Antonio St Fax 1 510 487 6381 Service Hayward California 94544 7101 cshayward seweurodrive com Philadelphia PA SEW EURODRIVE INC Tel 1 856 467 2277 Pureland Ind Complex Fax 1 856 845 3179 2107 High Hill Road P O Box 481 csbridgeport seweurodrive com Bridgeport New Jersey 08014 Dayton SEW EURODRIVE INC Tel 1 937 335 0036 2001 West Main Street Fax 1 937 440 3799 Troy Ohio 45373 cstroy seweurodrive com Dallas SEW EURODRIVE INC Tel 1 214 330 4824 3950 Platinum Way Fax 1 214 330 4724 Dallas Texas 75237 csdallas seweurodrive com Additional addresses for service in the USA provided on request Venezuela Assembly Valencia SEW EURODRIVE Venezuela S A Tel 58 241 832 9804 Sales Av Norte Sur No 3 Galpon 84 319 Fax 58 241 838 6275 Service Zona Industrial Municipal Norte http www sew eurodrive com ve Valencia Estado Carabobo sewventas cantv net sewfinanzas cantv net 110 12 2006 EURODRIVE
41. bError L MVLK Resp Attachment 2 Write error code to output parameter SLW 8 L MVLK Resp Attachment 3 1 T dwData SET The function is finished S fDone gt set Done reset Busy R fActivate R fBusy R fStaticBusy R fDPVIWRITEDone L 0 T TimeoutCounter Reset timeout counter BEA ENDB SET Busy end S fBusy END NOP 0 END FUNCTION BLOCK Example for calling FB5 DPV1 Movilink FB Insert these lines into your cyclical S7 program to call the function module FUNCTION FC 1 VOID TITLE Operation of the DPV1 parameter channel This example program only shows the basics procedure Neither legal nor any kind of liability can be inferred from faulty program functions and the consequences thereof VERSION 0 1 BEGIN NETWORK TITLE Writing an MCO7 parameter In this example the internal setpoint n11 P160 is written volatile with the value 123 rpm The parameter Service can be triggered by a positive edge at M100 0 variable table MCO7 The parameter service addresses the MC07 with SBUS address 2 PROFIBUS addr 9 Per addr 512 T UFP11A MCO7_1 MCO7_2 I I I SBUS addr 0 SBUS addr 1 SBUS addr 2 tf Note on the hardware configuration The peripheral addresses PEW address and PAW address of the UFP11A must have the same numerical value so that the input Drive_IO_Address can be clearly defined InstanzDB_SFB52 InstanzDB_SFB53
42. before you start installation and startup of the frequency inverters with the DFP21B PROFIBUS option card This manual assumes that the user has access to and is familiar with the MOVIDRIVE and MOVITRAC documentation in particular the MOVIDRIVE9 MDX60B 61B und MOVITRAC B system manuals Manual DFP21B PROFIBUSDP V1 Fieldbus Interface Important Notes Liability for defects 1 4 Liability for defects Incorrect handling or undertaking any action that is not specified in this manual could impair the properties of the product If this is the case you lose any right to claim against SEW EURODRIVE GmbH amp Co KG under limited warranty 1 5 Product names and trademarks The brands and product names named in these operating instructions are trademarks or registered trademarks of the titleholders 1 6 Disposal Please follow the current national regulations Dispose of the following materials separately in accordance with the country specific regulations in force as Electronic scrap Plastics Sheet metal Copper and so on Manual DEP21B PROFIBUSDP V1 Fieldbus Interface gt Safety Notes Preliminary information 2 Safety Notes You are only allowed to perform installation and startup of the DFP21B field bus interface when observing applicable accident prevention regulations and the MOVIDRIVE MDX60B 61B and MOVITRAC B operating instructions 2 1 Preliminary information Th
43. bus terminating resistors This enables the bus System to be put into operation more easily and reduces the number of error sources Use a plug with an integrated bus terminating resistor if the DFP21B option is at the beginning or end of a PROFIBUS segment and only one PROFIBUS cable is leading to the DFP21B Switch on the bus terminating resistors for this PROFIBUS connector Manual DFP21B PROFIBUSDP V1 Fieldbus Interface Assembly and Installation Notes 4 Setting the station address 48 Setting the station address The PROFIBUS station address is set using DIP switches 2 to 28 on the option card MOVIDRIVE supports the address range 1 to 125 DFP21B RUN BUS e FAULT X30 mmm EDD S ADDRESS The default setting for the PROFIBUS station address is 4 20 Significance 1 x 0 0 2 Significance 2 x 0 0 2 Significance 4 x 1 4 23 Significance 8 x 0 0 2 5 Significance 16 x 0 0 2 gt Significance 32 x 0 0 28 _ Significance 64 x 0 0 Any change made to the PROFIBUS station address during ongoing operation does not take effect immediately The change only comes into effect when the inverter is switched on again power supply 24 V OFF ON The inverter displays the current station address in fieldbus monitor parameter P092 Fieldbus address display with DBG60B or MOVITOOLSS SHELL DFP21B Q RUN BUS e FAULT
44. channel of the SEW drive inverter is directly mapped in the structure of data set 47 The Request ID 0x40 SEW MOVILINK9 service is used for the exchange of MOVILINK9 parameter setting request Parameter access with MOVILINK services usually takes place according to the structure described below The typical telegram sequence for data set 47 is used Request ID 0x40 SEW MOVILINK service The actual service is defined by the data set element Attribute on the MOVILINK9 parameter channel The high nibble of this element corresponds to the service nibble in the management byte of the DP parameter channel Manual DFP21B PROFIBUSDP V1 Fieldbus Interface 67 7 go PROFIBUSDP V1 Functions 9 Structure of the DP V1 parameter channel Example for reading a param eter via MOVILINK 68 The following tables show an example of the structure of the WRITE request and READ res user data for reading an individual parameter via the MOVILINK9 parameter channel Sending parameter request The table shows the coding of the user data for the WII reg service specifying the DP V1 header The WRITE req service is used to transfer the parameter setting request to the drive inverter The firmware version is read Table 2 WRITE request header for transferring the parameter request Service WRITE request Description Slot Number 0 Random is not evaluated Index 47 Index of the data set constant index 47 Length 10 10 b
45. copied from data words 20 22 and 24 to the output address POW 576 Note the length information in bytes for the RECORD parameter The length information must correspond to the configured length Refer to the online help for STEP7 for further information about the system functions Start of cyclical program processing in OB1 BEGIN NETWORK TITLE Copy PI data from inverter to DB3 words 0 2 4 CALL SFC 14 DPRD_DAT READ DP slave record LADDR W 16 240 Input address 576 RET_VAL MW 30 Result in flag word 30 RECORD P DB3 DBX 0 0 BYTE 6 Pointer ETWORK TITLE PLC program with drive application PLC program uses the process data in DB3 for controlling the drive L DB3 DBW 0 Load PI1 status word 1 DB3 DBW 2 Load PI2 actual speed value DB3 DBW 4 Load PI3 no function L WH16 0006 T DB3 DBW 20 Write 6hex to POl control word enable L 1500 T DB3 DBW 22 Write 1500dec to PO2 speed setpoint 300 rpm L W 16 0000 T DB3 DBW 24 Write Ohex to PO3 however it has no function End of cyclical program processing in OB1 ETWORK TITLE Copy PO data from DB3 word 20 22 24 to inverter CALL SFC 15 DPWR DAT WRITE DP Slave Record LADDR WH16 240 Output address 576 240hex RECORD P DB3 DBX 20 0 BYTE 6 Pointer to DB DW RET_VAL MW 32 Result in flag word 32 Manual DFP21B PROFIBUSDP V1 Fieldbus Interface 6 55 6 56 go PROFIBUSDP Operating Character
46. master Master PROFIBUS DP V1 Slave Drive Parameter gt WRITE req DS47 Request with data parameter request C Parameter 1 X Request odd WRITE res MT d LUI without data i I 1 I iS i Kl READ teq S47 Re WO ae ja e Parameter i Processing i d READ res Do d SUIT without data E H i ES ME READ req DS47 1 without data I Parameter Parameter i READ res PET d Response Response CS with data parameter response c Figure 12 Telegram sequence for parameter access via PROFIBUSDP V1 Manual DEP21B PROFIBUSDP V1 Fieldbus Interface 53126AXX 65 PROFIBUSDP V1 Functions 7 d 9 Structure of the DP V1 parameter channel 7 3 2 DP V1 master processing sequence If the bus cycles are very short the request for the parameter response arrives before the inverter has concluded parameter access in the device This means that the response data from the inverter is not yet available 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 headeruntil it receives a positive response from the drive inverter Send Write request with parameter data Check Write Write response response negative Write response positive Send DS Read req with parameter data Read response s
47. of the control signal source and setpoint source FIELDBUS is signaled to the machine control using the Fieldbus mode active bit in the status word For safety reasons you must also enable the drive inverter at the terminals 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 inverter at the terminals is for example to connect the DIO function CON TROLLER INHIBIT input terminal to a 24 V signal and to program input terminals DIO DIG3 to NO FUNCTION The procedure for startup of the MOVIDRIVE drive inverter with a fieldbus connection is described on the next page 5 5 Setting the MOVITRAC frequency inverter Es MovrrOOLS amp MotionStudio SEW Default JD x Project Network Plugins Settings Help D cE EE m 8 34M t X Wl P 0 Parameter tee 4 MCO780022281 DE G s 5 EES zl Netzwerk a EE Parameter tree 4 MCO780022281 4bx E89 1 Ethemet ae 10 Zur selection Em 10 371 52 SMLP SIMATIC 7 Z Sq MOVITRACSB Parameters 100 Setpoint source S Bus 1 Fixed setpoint DI 2 SS 1 Profibus a 0 Display values n 101 Control signal source S Bus 1 x a 11 Gateway DFP21B 00 Process values d 4 MCO7B00
48. parameter channel is made up of a management byte an index word a reserved byte and four data bytes Byte 0 Byte 1 Byte 2 Byte 3 Byte 4 Byte 5 Byte 6 Byte 7 d Index high Index low MSB data Data Data LSB data Manage subindex IM MU ment Parameter index 4 byte data The entire procedure for setting parameters is coordinated using management byte 0 This byte provides important service parameters such as service identifier data length version and status of the service performed The following table shows that bits O 1 2 and 3 contain the service identifier and define which service is performed Bit 4 and bit 5 specify the data length in bytes for the WRITE service This should be set to 4 bytes for all SEW drive inverters 7 MSB 6 5 4 3 2 1 0 LSB Service identifier 0000 No service 0001 READ parameter 0010 WRITE parameter 0110 READ default 0111 READ scale 1000 READ attribute Data length 00 1 byte 01 2 bytes 10 3 bytes 11 4 bytes must be set Handshake bit Must be changed on every new task in cyclical transmission Status bit 0 No error during service execution 1 Error during service execution Bit 6 is used as a handshake between the control and the drive inverter It triggers the implementation of the transferred service in the drive inverter In PROFIBUS DP the parameter channel is transmitted cyclically
49. the MOVITRAC inverter gateway 47 6 2 1 Control example for SIMATIC S7 with MOVITRAC B gateway 48 6 2 2 SBUS H reent otto ue po de eh P eite m Ld intet ere EE evade 48 6 2 3 Unit faults cii Ee eed Cr Ee nee Le deg 48 6 2 4 Fieldbus timeout of the DFP21B in gateway operation 49 6 3 Parameter settings via PROFIBUS DP 49 6 3 1 Structure of the 8 byte MOVILINK9 parameter channel 49 6 3 2 Reading a parameter with PROFIBUS DP READ 52 6 3 3 Writing a parameter via PROFIBUS DP WRITE 53 6 3 4 Parameter setting procedure with PROFIBUS DP 54 6 3 5 Parameter data Tomat 54 6 4 SIMATIC STEP7 program example sssessesseeessreeseeeieteissrrnssrinsrrnssrrnssrns 55 6 5 Return codes for parameter setting sene 56 6 5 1 EEN 56 06 5 2 Error Class s ed eese o Deed dete da p Le dd cA 56 6 5 3 Tele E 56 6 5 4 Additional code ANNER 57 6 6 Special CaSe Sinfni lou tee Dee ported Had Ue tbe rd et eel 57 6 6 1 Special return codes nennen 57 Manual Fieldbus Interface DFP21B PROFIBUS DP V1 7 PROFIBUS DP V1 Functions eeeeeeeeeeee nennen namen naa n anum aaa ansa uaa aa daa nan 59 7 1 Introduction to PROFIBUS DP V1 sssssssssseeneneeneeennenn 59 7 1 1 Class 1 master C1 Master 0 0 ccceeceee cess eeeeeeeeeeaeeeeeeeeseaeeesene
50. 0 Check bits 0 and 1 in the parameter channel A data length other than 4 data bytes was specified in a READ or WRITE service when setting parameters via the parameter channel The following table displays the return codes Code dec Meaning Error class 6 Access Error code 8 Type conflict Add code high 0 B Add code low 0 Check bits 4 and 5 for the data length in the management byte of the parameter channel Both bits must be set to 1 The return code listed in the following table is sent back if a communication error has occurred within the system The parameter service transferred via the fieldbus may not have been performed and should be repeated If this error occurs again switch off the drive inverter completely and then back on again so it is re initialized Code dec Meaning Error class 6 Access Error code 2 Hardware fault Add code high 0 Add code low 0 H Repeat the READ or WRITE service If this error occurs again disconnect the drive inverter from the supply system and then reconnect it Contact SEW Service for advice if this error occurs continuously Manual DFP21B PROFIBUSDP V1 Fieldbus Interface Introduction to PROFIBUS DP V 1 PROFIBUSDP V1 Functions go 7 7 PROFIBUSDP V1 Functions This section provides you with information about the PROFIBUS DP V1 functions 71 Introduction to PROFIBUS DP V1 This sect
51. 00 Sales Parc d activit s de Magellan Fax 33 5 57 26 39 09 Service 62 avenue de Magellan B P 182 F 33607 Pessac Cedex Lyon SEW USOCOME Tel 33 4 72 15 37 00 Parc d Affaires Roosevelt Fax 433 4 72 15 37 15 Rue Jacques Tati F 69120 Vaulx en Velin Paris SEW USOCOME Tel 33 1 64 42 40 80 Zone industrielle Fax 33 1 64 42 40 88 2 rue Denis Papin F 77390 Verneuil l Etang Additional addresses for service in France provided on request Algeria Sales Alger R ducom Tel 213 21 8222 84 16 rue des Fr res Zaghnoun Fax 213 21 8222 84 Bellevue El Harrach 16200 Alger Argentina Assembly Buenos Aires SEW EURODRIVE ARGENTINA S A Tel 454 3327 4572 84 Sales Centro Industrial Garin Lote 35 Fax 54 3327 4572 21 Service Ruta Panamericana Km 37 5 sewar sew eurodrive com ar 1619 Garin 12 2006 103 i Address List Australia Assembly Melbourne SEW EURODRIVE PTY LTD Tel 61 3 9933 1000 Sales 27 Beverage Drive Fax 61 3 9933 1003 Service Tullamarine Victoria 3043 http www sew eurodrive com au enquires sew eurodrive com au Sydney SEW EURODRIVE PTY LTD Tel 61 2 9725 9900 9 Sleigh Place Wetherill Park Fax 61 2 9725 9905 New South Wales 2164 enquires sew eurodrive com au Townsville SEW EURODRIVE PTY LTD Tel 61 7 4779 4333 12 Leyland Street Fax 61 7 4779 5333 Garbutt QLD 4814 enquires sew eurodrive com au Austria
52. 1 Sales B 601 4 Banweol Industrial Estate Fax 82 31 492 8056 Service Unit 1048 4 Shingil Dong http www sew korea co kr Ansan 425 120 master sew korea co kr Latvia Sales Riga SIA Alas Kuul Tel 371 7139253 Katlakalna 11C Fax 371 7139386 LV 1073 Riga http www alas kuul com info alas kuul com 106 12 2006 Address List L Lebanon Sales Beirut Gabriel Acar amp Fils sarl Tel 961 1 4947 86 B P 80484 961 1 4982 72 Bourj Hammoud Beirut 961 3 2745 39 Fax 961 1 4949 71 gacar beirut com Lithuania Sales Alytus UAB Irseva Tel 370 315 79204 Naujoji 19 Fax 370 315 56175 LT 62175 Alytus info irseva lt http www sew eurodrive lt Luxembourg Assembly Br ssel CARON VECTOR S A Tel 32 10 231 311 Sales Avenue Eiffel 5 Fax 32 10 231 336 Service B 1300 Wavre http www caron vector be info caron vector be Malaysia Assembly Johore SEW EURODRIVE SDN BHD Tel 60 7 3549409 Sales No 95 Jalan Seroja 39 Taman Johor Jaya Fax 60 7 3541404 Service 81000 Johor Bahru Johor sales sew eurodrive com my West Malaysia Mexico Assembly Queretaro SEW EURODRIVE MEXIKO SA DE CV Tel 52 442 1030 300 Sales SEM 981118 M93 Fax 52 442 1030 301 Service Tequisquiapan No 102 http www sew eurodrive com mx Parque Industrail Queretaro scmexico seweurodrive com mx C P 76220 Queretaro Mexico Morocco Sales Casablanca Afit Tel 212 22618372 5 ru
53. 158 PE Za PW156 PE 1 PW154 lt PW152 lt PW150 lt PW148 t Kees 58688AXX Figure 8 Mapping PROFIBUS data in the PLC address range 1 8 byte MOVILINK9 parameter channel 2 PLC address range PE1 PE10 Process input data PA1 PO10 Process output data For additional information on programming and project planning refer to the README GSDA6003 PDF file included in the GSD file For more information about controlling via the process data channel in particular regarding the coding of the control and status word refer to the Fieldbus Unit Profile manual Manual DFP21B PROFIBUSDP V1 Fieldbus Interface 45 6 go PROFIBUSDP Operating Characteristics Controlling the MOVIDRIVE MDX61B drive inverter 6 1 1 Control example for SIMATIC S7 with MOVIDRIVE MDX61B The drive inverter is controlled using SIMATIC S7 in accordance with the selected process data configuration either directly using load and transfer commands or by means of special system functions SFC 14 DPRHD DAT and SFC15 DPWR DAT S7 data lengths of 3 bytes or more than 4 bytes must always be transmitted using system functions SFC14 and SFC15 Consequently the data in the following table applies Process data configuration STEP7 access via 1 PD Load transfer commands 2 PD Load transfer commands 3 PD System functions SFC14 15 length 6 bytes 6 PD System func
54. 1B Hu lester EE LLLA LL SRI M UNE TH af tet om oeque f AA H J 7 Ho Po Bo eg 59186AXX Figure 3 System bus connection DFP MOVITRAC B DND System bus reference GND System bus reference SC11 System bus high SC22 System bus low outgoing SC12 System bus low SC21 System bus high outgoing SC12 System bus low incoming SC11 System bus high incoming S12 System bus terminating resistor Manual DFP21B PROFIBUSDP V1 Fieldbus Interface 17 18 Assembly and Installation Notes Installing the DFP21B option card in MOVITRAC B Note Use a two core twisted and shielded copper cable data transmission cable with braided copper shield Connect the shield flatly on both sides of the electronics shield clamp of MOVITRAC Also connect the ends of the shield to GND The cable must meet the following specifications Core cross section 0 75 mm AWG18 Line resistance 120 at 1 MHz Capacitance per unit length lt 40 pF m 12 pF ft at 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 ON at the end of the system bus connection Switch off the terminating resistor on the other u
55. 22281 ES 01 Status displays 102 Frequency scaling kHz fi 0 00 16 MQP2xD E 02 Analog setpoints ES 1 Profibus ES 03 Binary inputs 87 Process data parameter assignment Aal x SP i 1 Profibus 05 Binary outputs 870 Setpoint description PO1 Control word 1 x g 2 Serial 07 Unit data et 08 Error memory 0 4 871 Setpoint description PO2 Set speed 09 Bus diagnostics 872 Setpoint description PO3 No function 1 Setpoints ramp generators E 10 Setpoint selection 873 Actual value description PI1 Status word 1 zl 11 Analog input 1 0 10 874 Actual value description PI2 Actual speed zl 12 FBG Setpoint generator op 5 13 Speed ramps 1 875 Actual value description PI3 Apparent output current zl 14 Speed ramps 2 15 Motor potentiometer functio ERST gii Yes E RE ee SES 17 Fixed setpoints 2 G ell xil 2 Controller parameters 601 Binary input DIO2 No function x Eg 3 Motor parameters urat Nofunction sl Gi 4 Reference signals 602 Binary input DIOS No function e gg 5 Monitoring functions 503 Binary input DIO4 r Ne function x E Terminal assignment A e E 60 Binary inputs 604 Binary input DIOS r No function x Bes 62 Binary outputs 508 Binary input DIOO chte function x ZG 7 Control functions 8 Unit functions 03 Binary inputs ES Inl xl 80 Setup 5 Nofunction El 81 Serial Communication 030 Binary input DIOO J No function 82 Brake operation
56. 4 Manual Fieldbus Interface DFP21B PROFIBUS DP V1 5 Project Planning and Startup eeeeeeeeesseeeeeeenen nennen nnns 26 5 1 Validity of the GSD files for DEDZIR 26 5 2 DP master project planning the with MOVIDRIVE Genie 26 5 2 1 GSD file for PROEIDUIGDP un 26 5 2 2 GSD file for PROFIBUSDP V1 sssssssseeeeeeennns 27 5 2 3 Project planning procedure n 28 5 2 4 DP configuration for MOVIDRIVE MDX61B SEWA6003 GSD 29 5 2 5 MOVIDRIVE MDX61B external ele e 32 5 3 DP master project planning with MOVITRAC or gateway GSD file 34 5 3 1 GSD files for operation in MOVITRAC B and UOH11B gateway OUS ete c Hh rete o a eben cta fiendis 34 5 3 2 PROFIBUS DP master startup 35 5 3 3 Configuration of the PROFIBUSDP interface sssuusee 36 5 3 4 Autosetup for gateway operation see 40 5 4 Setting the MOVIDRIVE MDX61B drive inverter s s 42 5 5 Setting the MOVITRAC frequency inverter sssssssersererrrssrerrrssrrnnss 43 6 PROFIBUS DP Operating Characteristics eese 45 6 1 Controlling the MOVIDRIVE MDX61B drive inverter s 45 6 1 1 Control example for SIMATIC S7 with MOVIDRIVE MDX61B 46 6 1 2 PROFIBUS DP timeout MOVIDRIVE MDX 61B 46 6 1 3 Fieldbus timeout response MOVIDRIVE MDX615B 46 6 2 Control of
57. 55003 J nk ping info sew eurodrive se Switzerland Assembly Basel Alfred Imhof A G Tel 41 61 417 1717 Sales Jurastrasse 10 Fax 41 61 417 1700 Service CH 4142 M nchenstein bei Basel http www imhof sew ch info imhof sew ch Thailand Assembly Chon Buri SEW EURODRIVE Thailand Ltd Tel 66 38 454281 Sales Bangpakong Industrial Park 2 Fax 66 38 454288 Service 700 456 Moo 7 Tambol Donhuaroh sewthailand sew eurodrive com Muang District Chon Buri 20000 Tunisia Sales Tunis T M S Technic Marketing Service Tel 216 1 4340 64 1 4320 29 7 rue Ibn EI Heithem Fax 216 1 4329 76 Z I SMMT tms tms com tn 2014 M grine Erriadh Turkey Assembly Istanbul SEW EURODRIVE Tel 90 216 4419163 164 3838014 15 Sales Hareket Sistemleri San ve Tic Ltd Sti Fax 90 216 3055867 Service Bagdat Cad Koruma Cikmazi No 3 sew sew eurodrive com tr TR 34846 Maltepe ISTANBUL Ukraine Sales Dnepropetrovsk SEW EURODRIVE Tel 380 56 370 3211 Service Str Rabochaja 23 B Office 409 Fax 380 56 372 2078 49008 Dnepropetrovsk http www sew eurodrive ua sew sew eurodrive ua USA Production Greenville SEW EURODRIVE INC Tel 1 864 439 7537 Assembly 1295 Old Spartanburg Highway Fax Sales 1 864 439 7830 Sales P O Box 518 Fax Manuf 1 864 439 9948 Service Lyman S C 29365 Fax Ass 1 864 439 0566 Telex 805 550 http www seweurodrive com cslyman seweurodrive com 12 2006 109 e 1l Address List USA Assembly San
58. 9 pin sub D plug according to IEC 61158 The T bus connection must be made using a connector with the corresponding config uration RxD TxD P R xD TxD N CNTR P DGND M5V VP P5V 100mA DGND M5V OJo A olw 1 06227AXX Figure 4 Assignment of 9 pin sub D plug to IEC 61158 1 9 pin sub D connector 2 Signal line twisted 3 Conductive wide area connection is necessary between the connector housing and the shield 4 5 1 MOVIDRIVE MOVITRAC B PROFIBUS connection As arule the DFP21B option is connected to the PROFIBUS system using a shielded twisted pair cable Observe the maximum supported transmission rate when selecting the bus connector The twisted pair cable is connected to the PROFIBUS connector at pin 3 RxD 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 communication is possible via the bus medium The PROFIBUS interface sends a TTL control signal for a repeater or fiber optic adapter reference pin 9 via pin 4 CNTR P 4 5 2 Baud rates greater than 1 5 MBaud The DFP21B option with baud rates gt 1 5 MBaud can only be operated with special 12 MBaud PROFIBUS connectors Manual DFP21B PROFIBUSDP V1 Fieldbus Interface 21 Assembly and Installation Notes Shielding and routing bus cables 46
59. ATIC NET CP5512 PCMCIA card PCMCIA card for notebook 32 bit cardbus 8 3 Required software e STEP7 version 5 3 SP3 or Siemens Softnet DP PC driver for PROFIBUSDP version 6 0 or higher 6GK1704 5DW61 3AA0 SIMATIC NET PB Softnet DP 6 1 Driver package for WinNT 4 0 Win2k 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 specifications Install the MOVITOOLS MotionStudio Manual DFP21B PROFIBUSDP V1 Fieldbus Interface Operation of MOVITOOLS MotionStudio via PROFIBUS go 8 Configuring SIMATIC NET 8 5 Configuring SIMATIC NET Start the program Set PG PC interface from the start menu SIMATIC SIMATIC NETJ Settings or from the Windows system control Setthe access path of the application as displayed in the following image Set PG PC Interface 3 xj Access Path Access Point of the Application CP L2 1 CP5512 PROFIBUS Z Standard for STEP 7 Interface Parameter Assignment Used CP5512 PROFIBUS Properties HA CP5512 Auto Diagnostics CP5512 PwL CP5512 MPI jul 2 CP5512 PROFIBUS S DEG Parameter assignment of your communications processor CP5512 for a PROFIBUS network Interfaces Add Remove Select Cancel Help 11307AEN Figure 14 Setting the PG PC interface
60. At the same time the process data assignments of the connected drive inverters may not be changed dynamically after Autosetup Manual DFP21B PROFIBUSDP V1 Fieldbus Interface Project Planning and Startup DP master project planning with MOVITRAC or gateway GSD file POW148 POW149 POW150 POW151 POW152 POW153 POW154 POW155 POW156 PIW148 PIW149 PIW150 PIW151 PIW152 PIW153 PIW154 PIW155 PIW156 Device 01 Control Word 1 Device 01 Speed Device 01 No function Device 02 Control Word 1 Device 02 Speed Device 02 No function Device 03 Control Word 1 Device 03 Speed Device 03 No function PO Data Device 01 Status Word 1 PROFIBUS Device 01 Speed Device 01 Output current PI Data DFP Device 02 Status Word 1 Device 02 Speed Device 02 Output current Device 03 Status Word 1 Device 03 Speed Device 03 Output current DP Master Figure 7 Data exchange DP V1 master DFP inverter Manual DEP21B PROFIBUSDP V1 Fieldbus Interface qu 5 Device 01 Control Word 1 Device 01 Speed Device 01 No function Device 01 Status Word 1 Device 01 Speed Device 01 Output current Device 02 Control Word 1 Device 02 Speed
61. C1 READ Read data set WRITE Write data set C2 master Connection type MSAC2 master slave acyclical C2 INITIATE Establish C2 connection ABORT Disconnect C2 connection READ Read data set WRITE Write data set 7 1 5 DP V1 alarm handling In addition to the acyclical services the DP V1 specification also defines extended alarm handling 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 VO service DP V1 alarm handling has not been defined for drive engineering as a drive inverter does not usually transfer its status information via cyclical process data communication Manual DEP21B PROFIBUSDP V1 Fieldbus Interface 7 62 PROFIBUSDP V1 Functions Features of SEW drive inverters 72 Features of SEW drive inverters The SEW fieldbus interfaces to PROFIBUS DP V1 have the same communication features for the DP V1 interface The drives are usually controlled via a C1 master with cyclical process data in accordance with the DP V1 standard This C1 master usually a PLC can also use an 8 byte MOVILINK9 parameter channel during cyclical data exchange to perform the parameter services with DFP21B The READ and WRITE services give 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 maste
62. If SIMATIC STEP7 is installed on the computer and is started there from the program Set PG PC interface the field for the access path is deactivated Start the program via the start menu as described above Manual DFP21B PROFIBUSDP V1 Fieldbus Interface 87 8 88 qu Operation of MOVITOOLS MotionStudio via PROFIBUS Configuring SIMATIC NET Press the Properties button The following dialog box opens Properties CP5512 PROFIBUS PROFIBUS r Station Parameters PG PC is the only master on the bus Address 0 Check address Timeout 1s r Network Parameters Transmission Rate fis Mbps Highest Station Address 125 isd Profile Standard Universal DP FMS User Defined Bus Parameters r Network Configuration E Include network configuration below OK Default Cancel Help deta 1 Caes Heb 11308AEN Figure 15 Setting properties e Set the required parameters and ensure that the PC in most cases is added as a class 2 master in an existing PROFIBUS network Ifa 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 not yet reserved by other masters or slaves The baud rate must match the baud rate if the class 1 master Select DP as the profile or set the bus timing parameters according to the existing PROFIBUS network Manual
63. Inverter detects baud rate P092 Baud rate fieldbus However it was not configured or was configured incorrectly in the PROFIBUS master L Check the configured bus address and the one set using the DIP switches P093 Fieldbus address i Are the bus addresses the same no gt D Yes You may have configured an incorrect unit type or defined the configuration incorrectly l Delete the project planning for the inverter from the DP network l Perform project planning for the inverter again choosing the unit designation MOVIDRIVE DFP21 To simplify the project planning process use a predefined configuration for example Param 3PD Do not change any of the preset configuration data Assign the address range for your control system i Load the configuration in the DP master and start the bus communication again l A Check the bus cabling B Inverter is currently exchanging data cyclically with the PROFIBUS master P090 PD configuration displays the configuration that the inverter is controlled with via PROFIBUS L Bus communication is functioning properly for problems with controlling or setpoint selection via PROFIBUSDP continue with Diagnostic problem2 C Inverter does not detect the baud rate P092 Baud rate fieldbus l Check the bus cabling D Modify the bus addresses
64. MOVIDRIVE MDX61B drive inverter and MOVITRAC B frequency inverter allow you to use the DFP21B option to connect to higher level automation systems via PROFI BUS thanks to its powerful universal fieldbus interface 3 3 40 MOVIDRIVE MOVITRAC B and PROFIBUS The unit behavior of the inverter which forms the basis of PROFIBUS operation is referred to as the unit profile It is independent of any particular fieldbus and is therefore a uniform feature This feature allows the user to develop fieldbus independent drive applications This makes it much easier to change to other bus systems such as DeviceNet option DFD Manual DFP21B PROFIBUSDP V1 Fieldbus Interface Introduction Features 3 3 2 Access to all information MOVIDRIVE MDX61B offers digital access to all drive parameters and functions via the PROFIBUS interface The drive 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 as well as trigger various drive functions such as enable control inhibit normal stop rapid stop etc However at the same time you can also use this channel to read back actual values from the drive inverter such as the actual speed current unit status fault number and reference signals 3 3 3 Cyclical and acyclical data exchange via PROFIBUS DP While process data exchange usually takes place cycl
65. Sales Apartado 15 Fax 351 231 20 3685 Service P 3050 901 Mealhada http www sew eurodrive pt infosew sew eurodrive pt Romania Sales Bucuresti Sialco Trading SRL Tel 40 21 230 1328 Service str Madrid nr 4 Fax 40 21 230 7170 011785 Bucuresti sialco sialco ro Russia Assembly St Petersburg ZAO SEW EURODRIVE Tel 7 812 3332522 7 812 5357142 Sales P O Box 36 Fax 7 812 3332523 Service 195220 St Petersburg Russia http www sew eurodrive ru sew sew eurodrive ru Senegal Sales Dakar SENEMECA Tel 221 849 47 70 M canique G n rale Km 8 Route de Rufisque B P 3251 Dakar Fax 221 849 47 71 senemeca sentoo sn Serbia and Montenegro Sales Beograd DIPAR d o o Tel 381 11 347 3244 381 11 288 Ustanicka 128a 0393 PC Kosum IV floor Fax 381 11 347 1337 SCG 11000 Beograd dipar yubc net Singapore Assembly Singapore SEW EURODRIVE PTE LTD Tel 65 68621701 Sales No 9 Tuas Drive 2 Fax 65 68612827 Service Jurong Industrial Estate http www sew eurodrive com sg Singapore 638644 sewsingapore sew eurodrive com Slovakia Sales Bratislava SEW Eurodrive SK s r o Tel 421 2 49595201 Rybnicna 40 Fax 421 2 49595200 SK 83107 Bratislava http www sew sk sew sew eurodrive sk Zilina SEW Eurodrive SK s r o Tel 421 41 700 2513 ul Vojtecha Spanyola 33 Fax 421 41 700 2514 SK 010 01 Zilina sew sew eurodrive sk Bansk Bystrica SEW Eurodrive SK s r o Tel 421 48 414 6564 R
66. TOOLS MotionStudio via PROFIBUS 9 Configuration of SEW communication server 8 6 Configuration of SEW communication server To operate MOVITOOLS MotionStudio via PROFIBUS DP V1 you require the CP5512 PC option card and the associated Softnet DP driver package from Siemens The PC is connected to an existing PROFIBUS network as a class 2 master and can communicate with inverters via acyclic parameter services 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 4 Establishing communication MOVITOOLS MotionStudio allows you to communicate with the electronics products from SEW EURODRIVE GmbH amp CokKG via several different communication paths at the same time When you start MOVITOOLS MotionStudio you will also start the SEW communication server and an additional icon Ce will appear in the Windows status bar 8 6 2 Procedure 3 steps are involved in configuring the communication 1 Start the SEW communication server by double clicking the icon in the Windows task bar gt 2 x 11327AXX 90 Manual DFP21B PROFIBUSDP V1 Fieldbus Interface Operation of MOVITOOLS MotionStudio via PROFIBUS Configuration of SEW communication server 2 Activate the communication media tool bar by pressing the depicted icon E SEW Communication Server Configure Plugs 11325AXX 3 Configure the requested int
67. URODRIVE Kft Tel 36 1 437 06 58 Service H 1037 Budapest Fax 36 1 437 06 50 Kunigunda u 18 office sew eurodrive hu India Assembly Baroda SEW EURODRIVE India Pvt Ltd Tel 91 265 2831086 Sales Plot No 4 Gide Fax 91 265 2831087 Service Por Ramangamdi Baroda 391 243 http www seweurodriveindia com Gujarat mdoffice seweurodriveindia com Technical Offices Bangalore SEW EURODRIVE India Private Limited Tel 91 80 22266565 308 Prestige Centre Point Fax 91 80 22266569 7 Edward Road salesbang seweurodriveinindia com Bangalore Ireland Sales Dublin Alperton Engineering Ltd Tel 353 1 830 6277 Service 48 Moyle Road Fax 4353 1 830 6458 Dublin Industrial Estate Glasnevin Dublin 11 Israel Sales Tel Aviv Liraz Handasa Ltd Tel 972 3 5599511 Ahofer Str 34B 228 Fax 972 3 5599512 58858 Holon lirazhandasa barak online net Italy Assembly Milano SEW EURODRIVE di R Blickle amp Co s a s Tel 39 02 96 9801 Sales Via Bernini 14 Fax 39 02 96 799781 Service I 20020 Solaro Milano http www sew eurodrive it sewit sew eurodrive it Ivory Coast Sales Abidjan SICA Tel 225 2579 44 Ste industrielle et commerciale pour l Afrique Fax 4225 2584 36 165 Bld de Marseille B P 2323 Abidjan 08 Japan Assembly Toyoda cho SEW EURODRIVE JAPAN CO LTD Tel 81 538 373811 Sales 250 1 Shimoman no Fax 81 538 373814 Service Iwata sewjapan sew eurodrive co jp Shizuoka 438 0818 Korea Assembly Ansan City SEW EURODRIVE KOREA CO LTD Tel 82 31 492 805
68. _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 revision 5 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 masters Project planning tool DP master File name All DP project planning tools to for DP master standard SEW 6009 GSD EN50170 V2 Siemens S7 hardware configuration for all S7 DP masters Manual DFP21B PROFIBUSDP V1 Fieldbus Interface Project Planning and Startup g DP master project planning with MOVITRAC or gateway GSD file 5 3 2 PROFIBUSDP master startup Supporting files for DFP21B gateway are available in the Internet at http Avww sew eurodrive de Observe the notes in the README TXT file on the GSD disk Install the GSD file according to the requirements of the project planning software for the DP master After successful installation the DFP21B gateway device appears in the list of slave stations Insert the interface module 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 I O or peripheral addresses for the projected data widths Save the config
69. access PROFIdrive DP V1 i READ WRITE d Channel SEW MOVILINK 53125AXX The following MOVILINK services are supported e 8 byte MOVILINK9 parameter channel with all the services supported by the drive inverter such as READ parameter WRITE parameter WRITE parameter volatile Etc Manual DEP21B PROFIBUSDP V1 Fieldbus Interface 7 63 7 64 go PROFIBUSDP V1 Functions 9 Structure of the DP V1 parameter channel The following PROFIdrive services are supported Reading request parameter individual parameters of type double word Writing change parameter individual parameters of type double word Table 1 Elements of data set DS47 Box Data type Values Request Unsigned8 0x00 Reserved reference 0x01 OXFF Request ID Unsigned8 0x01 Request parameter PROFldrive 0x02 Change parameter PROFIdrive 0x40 SEW MOVILINK service Response ID Unsigned8 Response 0x00 reserved 0x01 Request parameter PROFldrive 0x02 Change parameter PROFIdrive 0x40 SEW MOVILINK service Response 0x81 Request parameter PROF ldrive 0x82 Change parameter PROF ldrive 0xCO SEW MOVILINK service Axis Unsigned8 0x00 OxFF Number of axes 0 255 No of parame Unsigned8 0x01 0x13 1 19 DWORDs 240 DP V1 data bytes ters Attributes Unsigned8 0x10 value For SEW MOVILINK request ID 0x40
70. al data exchange via PROFIBUSDP V1 ssssss 11 3 3 5 Configuring the PROFIBUS option Card 12 3 3 6 Monitoring Tunchons enne 12 B83 57 RE EE 13 3 3 8 Fieldbus monitor seen 13 4 Assembly and Installation Notes ccccsssececseeeeeeeesseeeeeeenseeeeeeensneeeeeeenseeeeenes 14 4 1 Installing the DFP21B option card in MOVIDRIVE MDX61B 14 4 1 1 Before you stalt Greeniin eet tere rete ciu hne 14 4 1 2 Installing and removing an option Card 15 4 2 Installing the DFP21B option card in MOVITRAC Bi ation actiaccyaieesencts 16 4 2 1 SBus connection 0 0 cece cceeeeeeeeeeeeeeee tetas eeteaee esas eeeeaaeseeaeeesiaaeeneneeess 16 4 2 2 System bus Connecton neren nernnstnnnrnnnenn 17 4 3 Assembling and installing the UOH11B gateway housing 18 4 4 Connection and terminal description of the DFP21B option 20 4 5 Pin assignment erret etes cha de te ER Cete aeger erai taret 21 4 5 1 MOVIDRIVE MOVITRAC B PROFIBUS connection 21 4 5 2 Baud rates greater than 1 5 Maud 21 4 6 Shielding and routing bus cables sesesseesseeesenesiressrnestnssennsnnnsrnnnrnnnsnnse 22 4 7 Bus termination 3 tc tan ot ea db tan ee 22 4 8 Setting the station address ssssssssssssseeeeenn nenne 23 4 9 Operating mode displays option DEDZIB 24 49 1 PROFIBUS LEDS 21 e ide Ete eebe ed 2
71. art of the parameter 8 9 Value Lo 0x7289 Lower order part of the parameter Decoding Ox 311C 7289 823947913 dec gt gt firmware version 823 947 9 13 Manual DFP21B PROFIBUSDP V1 Fieldbus Interface 7 73 7 74 qu Example for writ ing a parameter according to PROFIdrive PROFIBUSDP V1 Functions Structure of the DP V1 parameter channel The following tables show an example of the structure of the WRITE and READ services for the remanent writing of the internal setpoint n11 see section Example for writing a parameter via MOVILINK on page 69 The PROFIdrive service Change parameter is used for this purpose Send WRITE parameter request Table 18 DP V1 header of the WRITE request with parameter request Service WRITE request Description 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 PROFIarive service Change parameter Byte Field Value Description 0 Request reference 0x01 Individual reference number for the parameter setting request mirrored in the parameter response 1 Request ID 0x02 Change parameter PROFIdrive 2 Axis 0x01 Axis number 0 single axis 3 No of parameters 0x01 1 parameter 4 Attributes 0x10 Access to parameter value 5 No of elements 0x00 0 access to direct value no subelem
72. ce PROFIBUSDP V1 Functions go Structure of the DP V1 parameter channel Query parameter response The following table shows the coding of the READ req USER DATA including the DP V1 header Table 15 READ req for requesting the parameter response Service READ request Description Slot Number 0 Random is not evaluated Index 47 Index of the data set constant index 47 Length 240 Maximum length of response buffer in the DP V1 master Positive PROFIdrive parameter response The table shows the READ res user data with the positive response data of the parameter setting request For example the parameter value for index 8300 firmware version is returned 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 Index of the data set constant index 47 Length 10 10 byte user data in response buffer Table 17 Positive response for MOVILINK service Byte Field Value Description 0 Response reference 0x01 Reflected reference number from the parameter setting request 1 Response ID 0x01 Positive response for Request Parameter 2 Axis 0x00 Reflected axis number 0 single axis 3 No of parameters 0x01 1 parameter 4 Format 0x43 Parameter format Double word 5 No of values 0x01 1 value 6 7 Value Hi 0x311C Higher order p
73. d for your application see section 5 2 4 on page 29 5 Enter the I O or peripheral addresses for the configured data widths After project planning you can start PROFIBUS DP The red BUS FAULT LED indicates the status of the project planning OFF project planning Ok 28 Manual DFP21B PROFIBUSDP V1 Fieldbus Interface Project Planning and Startup go DP master project planning the with MOVIDRIVEG GSD file 5 24 DP configuration for MOVIDRIVE MDX61B SEWA6003 GSD The drive inverter must be given a specific DP configuration by the DP master to define the type and number of input and output data used for transmission You can Control the drive using process data Read and write all drive parameters using the parameter channel Use a data exchange medium of your choice between IPOSPS and the controller MOVIDRIVE drive inverters make it possible to have different DP configurations for exchanging data between the DP master and the inverter The following table provides additional information about all possible DP configurations for the MOVIDRIVE range The Process data configuration column lists the names of the configurations This text is also displayed as selection list within the project planning software for the DP master The DP configurations column shows which configuration data is sent to the inverter when the PROFIBUS DP connection is being established Process data Meani
74. e Emir Abdelkader Fax 4212 22618351 MA 20300 Casablanca richard miekisiak premium net ma Netherlands Assembly Rotterdam VECTOR Aandrijftechniek B V Tel 31 10 4463 700 Sales Industrieweg 175 Fax 31 10 4155 552 Service NL 3044 AS Rotterdam http www vector nu Postbus 10085 info vector nu NL 3004 AB Rotterdam New Zealand Assembly Auckland SEW EURODRIVE NEW ZEALAND LTD Tel 64 9 2745627 Sales P O Box 58 428 Fax 64 9 2740165 Service 82 Greenmount drive http www sew eurodrive co nz East Tamaki Auckland sales sew eurodrive co nz Christchurch SEW EURODRIVE NEW ZEALAND LTD Tel 64 3 384 6251 10 Settlers Crescent Ferrymead Fax 64 3 384 6455 Christchurch sales sew eurodrive co nz Norway Assembly Moss SEW EURODRIVE A S Tel 47 69 241 020 Sales Solgaard skog 71 Fax 47 69 241 040 Service N 1599 Moss http www sew eurodrive no sew sew eurodrive no Peru Assembly Lima SEW DEL PERU MOTORES REDUCTORES Tel 51 1 3495280 Sales S A C Fax 51 1 3493002 Service Los Calderos 120 124 http www sew eurodrive com pe Urbanizacion Industrial Vulcano ATE Lima sewperu sew eurodrive com pe 12 2006 107 108 Address List i Poland Assembly Lodz SEW EURODRIVE Polska Sp z o o Tel 48 42 67710 90 Sales ul Techniczna 5 Fax 48 42 67710 99 Service PL 92 518 Lodz http www sew eurodrive pl sew sew eurodrive pl Portugal Assembly Coimbra SEW EURODRIVE LDA Tel 351 231 20 9670
75. e folder SEW MOVITOOLS Fieldbus The main features of PROFIBUS DP V1 are explained below C1 Master D C2 Master C2 Master j e E Cyclic OUT Data Param PD PROFIBUS DP V1 Param Cyclic IN Data PD Acyclic DP V1 C2 Services Acyclic DP V1 C1 Services Acyclic DP V1 C2 Services 58617AXX Manual DFP21B PROFIBUSDP V1 Fieldbus Interface 59 7 60 ag 7 1 1 o PROFIBUSDP V1 Functions Introduction to PROFIBUS DP V 1 Class 1 master C1 master The PROFIBUSDP V1 network differentiates between master classes The C1 master essentially performs the cyclical data exchange with the slaves A typical C1 master is a control system such as a PLC that exchanges cyclical process data with the slave If the DPV1 function has been activated via the GSD file the acyclical connection between C1 master and slave is established automatically when the cyclical connection of the PROFIBUS DP V1 is being established Only one C1 master can be operated in a PROFIBUSDP V1 network 7 1 2 Class 2 master C2 master The C2 master itself does not perform cyclical data exchange with the slaves Examples for a typical C2 master are visualization systems or temporary installed programming devices notebook PC The C2 master uses exclusively acyclic connect
76. e following safety notes apply to the fieldbus interface DFP21B PROFIBUS DP V1 Please also consider the supplementary safety notes in the individual sections of this manual ki 2 2 General safety notes Never install or start up damaged products Submit a complaint to the shipping company immediately in the event of damage 2 2 1 General safety notes for bus systems This communication system allows you to adjust the MOVIDRIVE drive inverter to your specific application very accurately As with all bus systems there is a danger of modifications to the parameters that are not visible from outside in relation to the inverter which give rise to changes in the inverter behavior This may result in unexpected not uncontrolled system behavior ki 2 3 Transport storage Inspect the shipment as soon as you receive the delivery and inform the shipping company of any damage that may have occurred in transit immediately Do not operate the product if it is damaged Use suitable sufficiently rated handling equipment if necessary Damage can result from incorrect storage Store the unit in a dry dust free room if it is not to be installed straight away Manual DFP21B PROFIBUSDP V1 Fieldbus Interface Safety Notes Installation assembly 2 4 Installation assembly Adhere to the instructions in section 4 Assembly and Installation Notes 2 5 Startup operation Adhere to the instructions in section 5 Proj
77. ect Planning and Startup Manual DEP21B PROFIBUSDP V1 Fieldbus Interface Introduction Content of the manual 3 Introduction 3 1 Content of the manual This user manual describes how to Install the PROFIBUS DFP21B option card in the MOVIDRIVE MDX61B drive inverter Use the PROFIBUS DFP21B option card in the MOVIDRIVE B frequency inverter and in the UOH11B gateway housing Start up the MOVIDRIVE B with the PROFIBUS fieldbus system Start up the MOVITRAC B with the PROFIBUS gateway Configure the PROFIBUS using GSD files Operate MOVITOOLS MotionStudio via PROFIBUS 3 2 Additional documentation 3 3 Features For information on how to connect MOVIDRIVE9 straightforwardly and effectively to the PROFIBUS fieldbus system in addition to this user manual about the PROFIBUS option you should request the following publications about fieldbus technology MOVIDRIVE Fieldbus Unit Profile manual MOVITRAC B system manual The manual for the 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 the form of brief examples The MOVIDRIVE Fieldbus Unit Profile manual contains a listing of all parameters of the drive inverter which can be read and written via the various communication interfaces such as system bus RS 485 and also via the fieldbus interface The
78. edy Red Connection to the DP master has Check the PROFIBUSDP connection on dropped the unit Unit does not detect a PROFIBUS baud Check the project planning of the DP rate master Possible bus interruption Check all cables in your PROFIBUS DP DP master not in operation network Off Unit is currently exchanging data with the DP master data exchange D Flashing Unit has detected the baud rate but is Check the PROFIBUS address setting not being addressed by the DP master on the DFP21B and in the project Unit was not configured in the DP planning software of the DP master master or was configured incorrectly Check the project planning of the DP master Use the GSD file SEWA6003 GSD with the identifier MOVIDRIVE DFP21B or SEW_6009 GSD for gateway operation with MOVITRAC B for project planning 24 Manual DFP21B PROFIBUSDP V1 Fieldbus Interface Assembly and Installation Notes Operating mode displays option DFP21B LEDs for gateway communication status O H1 X24 58129axx LED H1 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 scan Bus is being checked by the gateway LED H2 green is currently reserved X terminal X24 is the RS 485 interface for diagn
79. eeeeas 60 7 1 2 Class 2 master C2 master 60 71 3 Datasets DS listet ture e ote bedient 60 Flee DP y A SOIVICOS TEE 61 GL DP2Vi alarm handling atid fede tian aia Gian E 61 7 2 Features of SEW drive inverters sss 62 7 8 Structure of the DP V1 parameter channel 63 7 3 1 Parameter setting procedure via data set Ai 65 7 3 2 DP V1 master processing sequence ssesssresssrrresrrrnnesrrenneereennens 66 7 3 3 Addressing connected drive Imverterg 67 7 8 4 MOVILINK9 parameter requests sssssseee 67 7 3 5 PROFldrive parameter requests ssseesseeeeeeeeeereeeresrressrrssre nens 72 7 4 Project planning for a C1 master nns 77 7 4 1 Operating mode DP V1 model 77 7 4 2 Example program for SIMATIC Di 78 7 4 8 DP V1 technical data for MOVIDRIVE Da 83 7 4 4 Technical data DP V1 for the gateway operation and MOVITRAC 83 7 4 5 Error codes of the DP V1 senices 84 8 Operation of MOVITOOLS MotionStudio via PROFIBUS 2 85 Bed Introduction PEE E ER RR e RR IRE o ERR 85 8 2 Required Nardwale AA 86 8 3 Required software essesessseeeeseseeseeee eene trennen tenente ener 86 8 4 EE UE a etre te tee dete tein ates iat 86 8 5 Configuring SIMATIC NET enn nnne nennen nenne 87 8 6 Configuration of SEW communication Semer 90 8 6 1 Establishing COMMUNICATION 0 000 eee eeeee cette eete cette eeeeeeeeetaeeeeetenea 90 8 6 2 Procedure ide ee cee eee ees 90 8 7 Automat
80. ent 6 7 Parameter number 0x7129 Parameter index 8489 P160 n11 8 9 Subindex 0x0000 Subindex 0 10 Format 0x43 Double word 11 No of values 0x01 Change 1 parameter value 12 13 Value HiWord 0x0000 Higher order part of the parameter value 14 15 Value LoWord OxOBB8 Lower order part of the parameter value After sending this WRITE request the WRITE response is received If there was no status conflict in processing of the parameter channel a positive WRITE response results Otherwise the status fault is located in Error code 1 Query parameter response The following table shows the coding of the WRITE req user data including the DP V1 header Table 20 READ req for requesting the parameter response Field Value Description Function Num READ req Slot Number X Slot Number not used Index 47 Index of the data set Length 240 Maximum length of response buffer in the DP V1 master Manual DFP21B PROFIBUSDP V1 Fieldbus Interface PROFIBUSDP V1 Functions Structure of the DP V1 parameter channel gw Positive response to WRITE parameter Table 21 DP V1 header of the positive READ response with parameter response Service READ response Description Slot Number 0 Random is not evaluated Index 47 Index of the data set constant index 47 Length 4 4 byte user data in response buffer Table 22 Positive response for PROFldrive service Change param
81. erface using drag and drop Use the mouse to drag the required connection from the Available Plugs field to one of the four communication channels and enter the information in the dialog windows CANopen Devieenlet 58656AXX Manual DEP21B PROFIBUSDP V1 Fieldbus Interface SEW 91 EURODRIVE Operation of MOVITOOLS MotionStudio via PROFIBUS Configuration of SEW communication server When configuring the PROFIBUS connection you can set up the PROFIBUS server when starting MOVITOOLS MotionStudio by activating the following dialog Interface parameter for Profibus DPV1 11311AEN The following message appears when attempting to establish communication with PROFIBUS Starting PBServer mm 11312AXX After the PROFIBUS connection is successfully started the PB server icon SUR appears in the Windows task bar Ge 1SEW Communication Server 11310AXX 92 SEW Manual DEP21B PROFIBUSDP V1 Fieldbus Interface EURODRIVE Operation of MOVITOOLS MotionStudio via E go 8 Automatic search for connected units unit scan 9 8 7 Automatic search for connected units unit scan After pressing the F5 function key or the Online Scan button all configured communication channels will be searched automatically and the addressable units displayed in the unit tree Es MovrTOOLS amp MotionStudio fdgd Bl xl E Netzwerk Plugins
82. eter Byte Field Value Description 0 Response reference 0x01 Reflected reference number from the parameter setting request 1 Response ID 0x02 Positive PROF Idrive response 2 Axis 0x01 Reflected axis number 0 single axis 3 No of parameters 0x01 1 parameter Negative The following table shows the coding of a negative response of a PROFIdrive service parameter Bit 7 is entered in the response ID if the response is negative response Table 23 Negative response for PROF Idrive service Service READ response Description Slot_Number 0 Random is not evaluated Index 47 Index of the data set constant index 47 Length 8 8 byte user data in response buffer Byte Field Value Description 0 Response reference 0x01 Reflected reference number from the parameter setting request 1 Response ID 0x810x82 Negative response for Request parameter negative response for Change Parameter 2 Axis 0x00 Reflected axis number 0 single axis 3 No of parameters 0x01 1 parameter 4 Format 0x44 Error 5 No of values 0x01 1 error code 6 7 Error value 0x0811 MOVILINK return code e g Error class 0x08 Add code 0x11 Ce section MOVILINK return codes for DP V1 on page Manual DEP21B PROFIBUSDP V1 Fieldbus Interface 9 75 7 76 qu PROFIBUSDP V1 Functions Structure of the DP V1 parameter channel
83. eter cannot be changed with output stage enabled reserved 0x0821 Reserved 0x0822 Reserved 0x0823 Parameter may be changed at IPOS program stop only 0x0824 Parameter may only be changed Autosetup is deactivated 0x0505 Incorrect coding of management and reserved byte 0x0602 Communication error between inverter system and fieldbus option card 0x0502 Timeout of secondary connection such as during reset or with Sys Fault Manual DEP21B PROFIBUSDP V1 Fieldbus Interface 7 71 7 72 qu PROFIBUSDP V1 Functions Structure of the DP V1 parameter channel 7 3 5 PROFldrive parameter requests Example for reading a parameter according to PROFldrive The PROFIdrive parameter channel of SEW drive inverters is directly mapped in the structure of data set 47 Parameter access with PROF Idrive services usually takes place according to the structure described below The typical telegram sequence for data set 47 is used PROFIdrive only defines the following two request IDs Request ID 0x01Request parameter PROFIdrive Request ID 0x02Change parameter PROFIdrive This means that there is restricted data access in comparison with the MOVILINK9 Services The request ID 0x02 Change parameter PROFIdrive results in remanent write access to the selected parameter Consequently the internal flash EEPROM of the inverter is written with each write access Use the MOVILINK service WRITE Param eter volatile if para
84. eter to be read in byte2 index high and byte3 index low 2 Enter the service identifier for the READ service in the management byte byteO 3 Transfer the READ service to the inverter by changing the handshake bit Since this is a read 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 service confirmation back by changing the handshake bit 7 MSB 6 5 4 3 2 1 0 LSB 0 0 11 x x 0 0 0 1 Service identifier 0001 READ parameter Data length Not relevant for READ service Handshake bit Must be changed on every new task in cyclical transmission Status bit 0 No error during service execution 1 Error during service execution 1 Bit value is changed 2 Not relevant The above table shows how a READ service is coded in the management byte The data length is not relevant you only need to enter the service identifier for the READ service This service is now activated in the drive inverter when the handshake bit changes For example it would be possible to activate the READ service with the management byte coding O1hex or 41hex Manual DFP21B PROFIBUSDP V1 Fieldbus Interface PROFIBUSDP Operating Characteristics go 6 Parameter settings via PROFIBUS DP 6 3 8 Writing a parameter via PROFIBUS DP WRITE Due t
85. ex dwWRITEData DWORD WRITEData InstanzDB SFB52 BLOCK DB InstanzDB of the system function SFB52 Required for DPV1 READ InstanzDB SFB53 BLOCK DB InstanzDB of the system function SFB53 Required for DPV1 WRITE END VAR VAR OUTPUT bError BYTE No error 0 S7 error 1 timeout 2 Movilink error 3 dwData DWORD Contains data if fError 0 S7 error code if fError 1 otherwise undef END VAR VAR IN OUT fActivate BOOL Triggering the function fBusy BOOL Busy bit TRUE until the function is finished or timeout monitoring responds fDone BOOL Indicates that the function is finished with or without error END VAR VAR fStaticBusy BOOL Storage bit for busy flag fStaticWRITEReq BOOL When MVLK WRITEReq TRUE or MVLK READReq FALSE fDPVIWRITEDone BOOL Indicates whether DPV1 WRITE was performed fAuxflag BOOL dwStaticDriveAddr DWORD I O address of the inverter iStaticReqLength INT Length of the telegrams to be transmitted MVLK Req STRUCT MovilinkStruktur WRITERequest RequestReference BYTE Bf1641 REQ Request Reference RequestId BYTE Bf f16440 REQ Request ID Axis BYTE REQ Axis No of Parameter BYTE B l6 1 REQ No of Parameters Attribute BYTE REQ Attribute No of Elements BYTE REQ No of Elements ParameterNumber WORD REQ Parameternumber Subindex WORD REQ Subindex Format BYTE Bf16443 Values
86. f the data set constant index 47 Length 10 10 byte user data in response buffer Manual DFP21B PROFIBUSDP V1 Fieldbus Interface Structure of the DP V1 parameter channel PROFIBUSDP V1 Functions Example for writing a parameter v a MOVILINK Table 6 Positive response for MOVILINK service ago 7 9 Byte Field Value Description 0 Response reference 0x01 Reflected reference number from the parameter setting request 1 Response ID 0x40 Positive MOVILINK response 2 Axis 0x00 Reflected axis number 0 single axis 3 No of parameters 0x01 1 parameter 4 Format 0x43 Parameter format Double word 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 Ox 311C 7289 823947913 dec gt gt Firmware version 823 947 9 13 As an example the following tables show the structure of the WRITE and READ services for the volatile writing of the value 12345 to IPOSP S variable HO parameter index 11000 The MOVILINK service WRITE parameter volatile is used for this purpose Send WRITE parameter volatile request Table 7 DP V1 header of the WRITE request with parameter request Service WRITE request Description 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 bu
87. failure 0x3 to 0x7 reserved 0x8 version conflict 0x9 feature not supported OxA to OxF user specific OxB access 0x0 invalid index 0xBO No data block Index 47 DB47 parameter requests are not supported 0x1 write length error 0x2 invalid slot 0x3 type conflict 0x4 invalid area 0x5 state conflict OxB5 Access to DB 47 temporarily not possible due to intenal processing status 0x6 access denied 0x7 invalid range OxB7 WRITE DB 47 with error in the DB 47 header 0x8 invalid parameter 0x9 invalid type OxA to OxF user specific OxC resource 0x0 read constraint conflict 0x1 write constraint conflict 0x2 resource busy 0x3 resource unavailable 0x4 0x7 reserved 0x8 0xF user specific OxD 0xF user specific Manual DFP21B PROFIBUSDP V1 Fieldbus Interface Operation of MOVITOOLS MotionStudio via PROFIBUS go 8 Introduction 8 Operation of MOVITOOLS MotionStudio via PROFIBUS This section describes the operation of the MOVITOOLS MotionStudio via PROFIBUS 8 1 Introduction PROFIBUS DP V1 provides the user with acyclical parameter services in addition to cyclical process data These acyclic parameter services can be used by the control system class 1 or C1 master as well as by other diagnostics and visualization devices class 2 or C2 master C1 Master C2 Master C2 Master
88. ferred to the drive inverter 01110010XXX gt c 00110010XXX 01110010XXX gt c 00110010XXX WRITE service is performed handshake bit is changed Service confirmation is c 01110010XXX received as the send and receive handshake bits are the same again 01110010XXX gt Parameter channel is received but not evaluated 6 3 5 Parameter data format When parameters are set via the fieldbus interface the same parameter coding is used as with the serial RS 485 interfaces or the system bus The data formats and ranges of values for the individual parameters can be found in the publication MOVIDRIVE Parameter List 54 Manual DFP21B PROFIBUSDP V1 Fieldbus Interface PROFIBUSDP Operating Characteristics g 6 4 SIMATIC STEP7 program example SIMATIC STEP7 program example This example is a special and free service that demonstrates only the basic approach to generating a PLC program without commitment We are not liable for the contents of the program example In this example the project planning for MOVIDRIVE or MOVITRAC has the process data configuration 3 PD on input addresses PIW576 and output addresses POW576 A data block DB3 is created with about 50 data words When SFC 14 is called the process input data is copied to data block DB3 data words 0 2 and 4 When SFC15 is called after the control program has been processed the process output data are
89. ff and back on again As a first step the DFP21B searches for drive inverters on the SBus below its hierarchi cal level This process is indicated by the H1 LED system fault flashing briefly Different SBus addresses must be set for the drive inverters P813 We recommend assigning the addresses beginning with address 1 in ascending order based on the arrangement of inverters in the control cabinet The process image on the fieldbus side is expanded by three words for each detected drive inverter The H1 LED remains lit if no drive inverter was located A total of up to eight drive invert ers is taken into account The following figure 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 each connected drive inverter The process output data is fetched from the fieldbus divided into blocks of three and transmitted The drive inverters read the process input data put them together and send them to the fieldbus master The cycle time of the SBus communication requires 2 ms for each station This means the cycle time of the process data update is 8x2 ms 16 ms for an application with 8 inverters on the SBus If you change the process data assignment of the drive inverters connected to the DFP21B you have to activate Autosetup again because the DFP21B saves these values only once during Autosetup
90. ffer Table 8 WRITE req user data for MOVILINK service WRITE parameter volatile Byte Field Value Description 0 Request reference 0x01 Individual reference number for the parameter setting request mirrored in the parameter response 1 Request ID 0x40 SEW MOVILINK service 2 Axis 0x00 Axis number 0 single axis 3 No of parameters 0x01 1 parameter 4 Attributes 0x30 MOVILINK service WRITE parameter volatile 5 No of elements 0x00 0 access to direct value no subelement 6 7 Parameter number Ox2AF8 Parameter index 11000 IPOS variable HO 8 9 Subindex 0x0000 Subindex 0 10 Format 0x43 Double word 11 No of values 0x01 Change 1 parameter value 12 13 Value HiWord 0x0000 Higher order part of the parameter value 14 15 Value LoWord OxOBB8 Lower order part of the parameter value After sending this WRITE request the WRITE response is received If there was no status conflict in processing of the parameter channel a positive WRITE response results Otherwise the status fault is located in Error code 1 Manual DEP21B PROFIBUSDP V1 Fieldbus Interface 69 PROFIBUSDP V1 Functions 7 Structure of the DP V1 parameter channel Query parameter response The following table shows the coding of the WRITE req USER DATA including the DP V1 header Table 9 READ req for requesting the parameter response Field Value Description
91. ic search for connected units unit SCAN esses 93 8 8 Activating online operation eee eene 93 8 9 Known problems when operating MOVITOOLS MotionStudio 94 9 Error ee E 95 9 1 Diagnostic Drorcedures A 95 9 2 List Of errors cei eene teda aee lp ee te ae oci hn 98 UNC le UN E 99 10 1 Option DFP21B for MOVIDRIVE MDX61B see 99 10 2 DFP21B option for MOVITRAC B and UOH11B gateway housing 100 Ti Index ous eene een nene NaN Sen awe Se eem 101 Manual Fieldbus Interface DFP21B PROFIBUS DP V1 Important Notes Explanation of symbols 1 Important Notes 1 1 Explanation of symbols Always follow the safety and warning notes in this publication Electrical hazard Possible consequences Severe or fatal injuries Hazard Possible consequences Severe or fatal injuries Hazardous situation Possible consequences Slight or minor injuries Harmful situation Possible consequences Damage to the unit and the environment Tips and useful information OOP ee 1 2 Part of the product The manual is a component of the DFP21B PROFIBUSDP V1 fieldbus interface and contains important information for operation and service 1 3 Documentation reference You must adhere to the information in the documentation to ensure e Fault free operation Fulfillment of any rights to claim under limited warranty Consequently read through this manual carefully
92. ically drive parameters can be read and written acyclically via functions such as READ or WRITE or via the MOVILINK parameter channel This parameter data exchange enables you to implement applications in which all the important drive parameters are stored in the master programmable controller so that there is no need to make parameter settings manually on the drive inverter itself 3 3 4 Acyclical data exchange via PROFIBUS DP V1 The PROFIBUS DP V1 specification introduced new acyclical READ WRITE services as part of the PROFIBUSDP expansions These acyclical services are added to the cur rent cyclical bus operation in special telegrams to ensure compatibility of PROFIBUS DP and PROFIBUS DP V1 Manual DEP21B PROFIBUSDP V1 Fieldbus Interface Introduction Features 3 3 5 Configuring the PROFIBUS option card Generally the PROFIBUS option card has been designed so that all fieldbus specific settings such as the station address and the default bus parameter can be made using hardware switches on the option card This manual setting means the drive inverter can be integrated into the PROFIBUS environment and switched on within a very short period of time XL MEN PROFIBUS Master oe SCH
93. ion describes the functions and terms used for operating SEW drive inverters on PROFIBUS DP V1 Refer to the PROFIBUS user group or visit www profibus com for detailed technical information on PROFIBUS DP V1 The PROFIBUS DP V1 specification introduced new acyclical READ WRITE services as part of the PROFIBUS DP V1 expansions These acyclical services are added to the current cyclical bus operation in special telegrams to ensure compatibility with PROFI BUS DP version 0 and PROFIBUS DP V1 version 1 The acyclical READ WRITE services can be used to exchange larger data quantities between master and slave drive inverter than it would 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 opera tion since DP V1 telegrams are only added to the bus cycle if required The DP V1 parameter channel provides the user with 2 options The higher level controller can access all the device information of the SEW DP V1 slaves This means that cyclical process data and unit settings can be read stored in the controller and modified in the slave It is also possible to route the service and startup tool MOVITOOLS MotionStudio via the DP V1 parameter channel instead of using a proprietary RS 485 connection Once you have installed the MOVITOOLS MotionStudio software you can access detailed information in th
94. ions for communication with the slaves The acyclic connections between C2 master and slave are established by the initiate service The connection is established once the initiate service has been performed successfully An established connection allows for cyclical data exchange with the slaves by means of READ or WRITE services Several C2 masters can be active in a DP V1 network The number of C2 connections established simultaneously for a slave is determined by the slave SEW drive inverters support two parallel C2 connections 7 1 3 Data sets DS The user data transported via a DP V1 service is collected in data sets Each data set is represented uniquely by its length a slot number and an index The structure of data set 47 is used for DP V1 communication with the SEW drive inverter This data set is defined as the DP V1 parameter channel for drives as of V3 1 in the PROFIdrive profile drive engineering of the PROFIBUS user group Different procedures for accessing parameter data in the drive inverter are provided via this parameter channel Manual DFP21B PROFIBUSDP V1 Fieldbus Interface Introduction to PROFIBUS DP V 1 PROFIBUSDP V1 Functions go 7 1 4 DP V1 services The DP V1 expansions offer new services which can be used for acyclical data exchange between master and slave The system distinguishes between the following services C1 master Connection type MSAC1 master slave acyclical
95. istics 9 Return codes for parameter setting 6 5 Return codes for parameter setting 6 5 1 Elements 6 5 2 Error class 6 5 3 Error code In the event of an incorrect parameter setting the drive inverter sends back various return codes to the master that set the parameters These codes provide detailed infor mation about what caused the error Generally these return codes are structured The system distinguishes between the following elements Error class Error code Additional code These return codes are described in detail in the Fieldbus Communications Profile manual and are not included in this documentation However the following special cases can occur in connection with PROFIBUS The error class element provides a more exact classification of the error type MOVIDRIVE supports the following error classes defined in accordance with EN 50170 V2 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 Fault during service execution 6 access Access error 7 ov Error in the object directory 8 other Other error see section 6 5 4 on page 57 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 codes sen
96. k structure only the variable values of the structure are supplied with the input param eters here L bAxis T MVLK Req Axis L bService Service byte is multiplied by 10 hex SLW 4 T MVLK Req Attribute L bService SPL ERUI Go to MVLK service error SPA ERUI 0x00 No Service SPA ZEHN 0x01 READ Parameter SPA SEXZ 0x02 WRITE Parameter SPA SEXZ 0x03 WRITE Parameter volatile SPA ZEHN 0x04 READ Min SPA ZEHN 0x05 READ Max SPA ZEHN 0x06 READ Default SPA ZEHN 0x07 READ Scale SPA ZEHN 0x08 READ Attribute SPA ZEHN 0x09 READ EEPROM ERUI NOP 0 Illegal MVLK service error L 3 Movilink error T bError L DW 16 501 MLER ILLEGAL SERVICE SET S fDone Busy and done bits are reset R fBusy R fStaticBusy R fDPVIWRITEDone BEA End function SEXZ NOP 0 SET S fStaticWRITEReq Indicates whether the request was a MVLK WRITE request for data evaluation L 6 SPA LEN Go to defined length ZEHN NOP 0 SET R fStaticWRITEReq Indicates whether the request was a MVLK READ request for data evaluation L 05 LEN NOP 0 T iStaticReqLength L wParameterIndex T MVLK Req ParameterNumber L wSubIndex T MVLK Req Subindex L dwWRITEData Data is written to the structure no matter whether write or read access T MVLK_Req WRITEData Manual DEP21B PROFIBUSDP V1 Fieldbus Interface 79 80 ago PROFIBUSDP V1 Functions Project planning for a C1 master NETWORK
97. keypad and the front cover After installing the option card replace the keypad and the front cover Keepthe 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 DFP21B PROFIBUSDP V1 Fieldbus Interface Assembly and Installation Notes 4 Installing the DFP21B option card in MOVIDRIVE amp MDX61B 4 1 2 Installing and removing an option card 53001AXX Figure 2 Installing an option card in MOVIDRI VE MDX61B sizes 1 to 6 1 Remove the two retaining screws holding the card retaining bracket Pull the card retaining bracket out evenly from the slot do not twist 2 Remove the two retaining screws of the 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 on the card retaining bracket 4 Insertthe retaining bracket with installed option card into the slot pressing slightly so itis 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 DEP21B PROFIBUSDP V1 Fieldbus Interface 15 4 Assembly and Installation Notes Installing the DFP21B option card in MOVITRAC B 42 Installing the DFP21B option card in MO VITRAC B MOVITRAC B does no
98. l application specific parameters can be defined in every DP master during project planning for a DP slave These parameters are transferred to the slave when the PROFIBUS DP starts up Nine application specific parameter data items are provided for MOVIDRIVE with the following functions Byte Permitted Function value 0 00 hex Reserved for DP V1 1 00 hex Reserved for DP V1 2 00 hex Reserved for DP V1 3 06 hex Structured user parameter block with a length of 6 bytes 4 81 hex Structure type User proprietary 5 00 hex Slot number 0 complete unit 6 00 hex Reserved 7 01 hex SEW user parameter version 1 8 00 hex DFP21 generates a diagnostic alarm when a malfunction occurs 01 hex DFP21 does not generate a diagnostic alarm when a malfunction occurs factory setting Values not listed here are not permitted as they can cause malfunctions in the DFP21B Manual DFP21B PROFIBUSDP V1 Fieldbus Interface Project Planning and Startup go DP master project planning the with MOVIDRIVEG GSD file 9 The project planning programs of the DP master systems either offer the option of activating the external diagnostics in plain text format such as with STEP7 Figure 5 or of stating the information directly in hex code Project planning example Eigenschaften DP Slave Allgemein Parametrieren Parametername Wert only DP Disabled ott D Wert Enabled on
99. les SFB 52 53 You can copy the STEP7 code and import compile it as a STEP7 source This example is a special and free service that demonstrates only the basic approach to generating a PLC program without commitment We are not liable for the contents of the program example Example Function module FB5 DPV1 Movilink FB FUNCTION BLOCK FB 5 TITLE DPV1 Movilink FB NOTE This example program only shows the basics procedure Neither legal nor any kind of liability can be inferred from faulty program functions and the consequences thereof System requirements DP master interface module of series 87 300 or S7 400 that support DPV1 master functions DPV1 Profibus connections from SEW identifier SEWA600x GSD This function module performs the parameter exchange between the inverter and the PLC via the DPV1 channel As data exchange via the DPV1 parameter channel is an acyclic service the function module must be called up until the data exchange is complete duration starting when a parameter request is triggered via fActivate until check back from fDone AUTHOR SEW FAMILY Movilink VERSION 0 1 VAR INPUT Drive IO Address INT Periphery address 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 wSubIndex WORD Movilink subind
100. meters must be written cyclically at short intervals With this service you only alter the parameter values in the RAM of the inverter The following tables show an example of the structure of the WRITE request and READ resuser data for reading an individual parameter via the MOVILINK9 parameter channel Sending parameter request The table shows the coding of the user data for the WRITE reqservice specifying the DP V1 header The WRITE req service is used to transfer the parameter setting request to the drive inverter Table 13 WRITE request header for transferring the parameter request Service 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 14 WRITE req USER DATA for PROFlIarive Request parameter Byte Field Value Description 0 Request reference 0x01 Individual reference number for the parameter setting request mirrored in the parameter response 1 Request ID 0x01 Request parameter PROFldrive 2 Axis 0x00 Axis number 0 single axis 3 No of parameters 0x01 1 parameter 4 Attributes 0x10 Access to parameter value 5 No of elements 0x00 0 access to direct value no subelement 6 7 Parameter number 0x206C MOVILINK index 8300 Firmware version 8 9 Subindex 0x0000 Subindex 0 Manual DFP21B PROFIBUSDP V1 Fieldbus Interfa
101. nel 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 24 process data words with and without parameter channel The standard entries of the GSD file are based on the DFP21B Autosetup operating mode and allow process data widths of 3PD to 24PD corresponding to 1 to 8 inverters connected to the fieldbus interface 3 PDs are always assigned to any SBus station The process data is transmitted in one consistent data block for all inverters connected to the fieldbus interface Thus only system functions SFC14 and SFC15 need to be called in STEP7 One consistent data block exists for each connected inverter On the controller this corresponds to the existing setup of several inverters with their own fieldbus interface System functions SFC14 and SFC15 need to be called for each inverter in STEP7 Drive parameters of connected MOVITRAC B inverters can only be accessed using the DP V1 parameter services Manual DEP21B PROFIBUSDP V1 Fieldbus Interface 5 37 5 38 qu Project Planning and Startup DP master project planning with MOVITRAC or gateway GSD file Process Description Slot1 Slot2 Slot3 Slot4 Slot5 Slot6 Slot7 Slot8 Slot9 Slot 10 data con Empty Para Drive 1 Drive 2 Drive 3 Drive 4 Drive 5 Drive 6 Drive 7 Drive 8 figurati
102. nfiguration maU 39 Structure of the parameter channel 63 Universal DP configuration e 30 Program example ee 78 W SIMATIC STEP7 sse 55 VIR GE 53 Project planning Write parameter eee 53 CT master ss piece ale 77 DP master with MOVIDRIVE GSD file 26 DP master with MOVITRAC and gateway DEP21B rec fret atten Renee 34 Procedure E 28 Protocol options cccceeeeeeseeeeeeesteeeeeeenaaes 99 100 R READ 5 ie ete ced eds 52 Return codes for parameter setting 56 S Safety notes i oe epe b ERO Bei pets 8 Bus systema uui sore I els 8 Installation assembly esses 9 Startup operation sssi 9 Transport storage sse 8 SBus E iet E d itt red 48 Service coding sse 58 Setting MOVIDRIVE MDX61B drive inverter 42 MOVITRAC B frequency inverter 43 SEW communication server sssssss 90 Shielding mitsa matisat cot echa het 22 SIMATIC NET CONPIQUIATION ER 87 SIMATIC SY sitit n ER 46 Program example eee 78 Manual Fieldbus Interface DFP21B PROFIBUS DP V1 Address List L Address List Germany Headquarters Bruchsal SEW EURODRIVE GmbH amp Co KG Tel 49 7251 75 0 Production Ernst Blickle Stra e 42 Fax 49 7251 75 1970 Sales D 76646 Bruchsal http www sew eurodrive de P O Box sew sew eurodrive de Postfach
103. ng notes DP configuration configuration 0 1 1 PD MOVIDRIVE control via 1 process data word FOhex S 2 PD MOVIDRIVE control via 2 process data words Fine 3 PD MOVIDRIVE control via 3 process data words F2nex 6 PD MOVIDRIVE control via 6 process data words Onex FShex PD4 PD6 can only be used with IPOSplus 10 PD MOVIDRIVE control via 10 process data words Onex F9hex PD4 PD10 can only be used with IPOSplus Param 1 PD MOVIDRIVE control via 1 process data word F3hex Fe Parameter setting via 8 byte parameter channel Param 2 PD MOVIDRIVE control via 2 process data words F3hex Fthex Parameter setting via 8 byte parameter channel Param 3 PD MOVIDRIVE control via 3 process data words F3hex F2hex Parameter setting via 8 byte parameter channel Param 6 PD MOVIDRIVE control via 6 process data words F3nex F5nex Parameter setting via 8 byte parameter channel PD4 PD10 can only be used with IPOSplus Param 10 PD MOVIDRIVE control via 10 process data words F3hex F9hex Parameter setting via 8 byte parameter channel PD4 PD10 can only be used with IPOSplus Manual DEP21B PROFIBUSDP V1 Fieldbus Interface 5 30 qu Universal DP configuration Project Planning and Startup DP master project planning the with MOVIDRIVE GSD file If you select the Universal Module DP configuration S7 HWConfig you can structure the DP configuration individually although you must comply
104. nge rights 0x0C Reserved PROFldrive profile V2 incorrect password 0x0D Reserved PROFldrive profile V2 text cannot be read in cyclic data transfer OxOE Reserved PROFIdrive profile V2 name cannot be read in cyclic data transfer OxOF No text assignment avail Access to text assignment that is not accessible parameter able value exists 0x10 Reserved PROFIdrive profile V2 no PPO write 0x11 Request cannot be exe Access is currently not possible and the reason is not cuted due to the operating explained mode 0x12 Reserved PROF ldrive profile V2 other error 0x13 Reserved PROFldrive profile V2 data cannot be read in cyclic exchange 0x14 Incorrect value An attempt was made to change a value to one that is in the permitted range but is not permitted due to other long term reasons parameter with specified individual values 0x15 Response is too long The length of the current response exceeds the maximum transmittable length 0x16 Invalid parameter address Invalid value or value that is not valid for this attribute num ber of elements parameter number subindex or a combina tion of these factors 0x17 Incorrect format Write request Invalid format or parameter data format that is not supported 0x18 Number of values is not Write request Number of values of parameter data does not consistent correspond to the number of elements in the parameter address 0x19 Axis does not exist Access to an axis that does not exist up to 0x64 Reserved
105. nits 81 OFF The DFP21B gateway must always be connected either at the beginning or the end of the system bus connection and features a permanently installed terminating resistor There must not be any potential displacement between the units connected with the SBus Take suitable measures to avoid potential displacement such as connecting the unit ground connectors using a separate cable Point to point wiring is not permitted Manual DFP21B PROFIBUSDP V1 Fieldbus Interface Assembly and Installation Notes Assembling and installing the UOH11B gateway housing 43 Assembling and installing the VOH11B gateway housing SC11 Systembus CAN high SC12 Systembus CAN low GND CAN GND SEW Drive UOH11B DFP21B RUN BUS e FAULT 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 24V The gateway housing has a power supply of DC 24V that is connected to X26 Manual DEP21B PROFIBUSDP V1 Fieldbus Interface 19 4 Assembly and Installation Notes Connection and terminal description of the DFP21B option 4 4 Part number Connection and terminal description of the DFP21B option PROFIBUS interface type DFP21B option 824 240 2 The PROFIBUS interface type DFP21B op
106. o the cyclical transfer of the parameter channel to execute a WRITE service via the 8 byte MOVILINK9 parameter channel the handshake bit may only be changed if the complete parameter channel has been set up for the specific service For this reason observe the following sequence when writing a parameter 1 Enter the index of the parameter to be written in byte 2 index high and byte 3 index low 2 Enter the data to be written in bytes 4 through 7 3 Enter the service identifier and the data length 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 confirmation back by changing the handshake bit The following table shows how a WRITE service is coded in the management byte The data length is 4 bytes for all parameters of SEW drive inverters This service is now transferred to the drive inverter when the handshake bit changes As a result a WRITE service on SEW drive inverters generally has the management byte coding 32hex or 72hex 7 MSB 6 5 4 3 2 1 0 LSB 0 0 1 1 1 0 0 1 0 Service identifier 0010 WRITE Parameter Data length 11 2 4 bytes Handshake bit Must be changed on every new task in cyclical transmission Status bit 0 No error during service execution 1 Error during service execution 1 Bit value is changed Manual
107. on PO1 Setpoint description PO2 Setpoint description PO3 15 x lal xl F IELDBUS DI FIELDBUS DI 10 Dar Process data description ll x CTRL WORD 1 v NO FUNCTION SPEED D Actual value description PI1 status WORDi SPEED DI ovre CURRENT DI PO data enable ON Actual value description PI2 Actual value description PI3 inl x Binary input DIO1 vo FUNCTION DI Binary input DIO2 vo FUNCTION D Binary input DIO3 uo FUNCTION DI Binary input DIO4 vo FUNCTION D Binary input DIOS V tsfbatktskwte Binary input DIOG vo FUNCTION Binary input DIO uo FUNCTION D NONAME Parameter saved A 11330AEN To control the drive inverter via PROFIBUS you must first switch the drive inverter to control signal source P101 and setpoint source P100 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 from the master programmable controller The parameters of the MOVIDRIVE drive inverter can be set right away via PROFIBUS without any further settings once the PROFIBUS option card has been installed For example all parameters can be set by the master programmable controller after being switched on Manual DEP21B PROFIBUSDP V1 Fieldbus Interface Project Planning and Startup g 5 Setting the MOVITRAC frequency inverter Activation
108. on meter chan nel ONE module for all drives Param 8 byte parame OOhex COhex ter channel 87hex 87hex AS 1 Drive Control via 3 PD 00hex COhex 8 PD C2hex C2hex AS 2 Drives Control via 6 PD O0hex COhex 6 PD C5hex C5hex AS 3 Drives Control via 9 PD O0hex COhex 9 PD C8hex C8hex AS 4 Drives Control via 12 OOhex COhex 12 PD PD CBhex CBhex AS 5 Drives Control via 15 O0hex COhex 15 PD PD CEhex CEhex AS 6 Drives Control via 18 OOhex COhex 18 PD PD D1hex D1hex AS 7 Drives Control via 21 OOhex COhex 21 PD PD D4hex D4hex AS 8 Drives Control via 24 OOhex COhex 24 PD PD D7hex D7hex ONE module per drive Param 8 byte parame OOhex COhex ter channel 87hex 87hex AS 1 Drive Control via OOhex COhex 1x3 PD 1x3 PD C2hex C2hex AS 2 Drives Control via OOhex COhex COhex 2 x 3 PD 2x3 PD C2hex C2hex C2hex C2hex AS 3 Drives Control via OOhex COhex COhex COhex 8 x 3 PD 3x3 PD C2hex C2hex C2hex C2hex C2hex C2hex AS 4 Drives Control via OOhex COhex COhex COhex COhex 4 x 3 PD 4x3 PD C2hex C2hex C2hex C2hex C2hex C2hex C2hex C2hex AS 5 Drives Control via O0hex COhex COhex COhex COhex COhex bx 3 PD 5x3 PD C2hex C2hex C2hex C2hex C2hex C2hex C2hex C2hex C2hex C2hex AS 6 Drives Control via OOhex COhex COhex COhex COhex COhex COhex 6 x 3 PD 6x3 PD C2hex C2hex C2he
109. ormation on programming and project planning can be found in the README_GSD6009 PDF file included in the GSD file Manual DFP21B PROFIBUSDP V1 Fieldbus Interface 47 6 48 go PROFIBUSDP Operating Characteristics Control of the MOVITRAC inverter gateway 6 2 1 Control example for SIMATIC S7 with MOVITRAC B gateway STEP7 program example The drive inverter is controlled via SIMATIC S7 depending on the selected process data configuration either directly via load and transfer commands or via the special system functions SFC 14 DPRD DAT and SFC15 DPWR DAT S7 data lengths of 3 bytes or more than 4 bytes must always be transmitted using system functions SFC14 and SFC15 Process data configuration STEP7 access via 3 PD 24 PD System functions SFC14 15 length 6 48 bytes Param 3 PD 24 PD System functions SFC14 15 length 6 48 bytes for PD 8 bytes for parameter The README GSD6009 PDF file contains project planning and programming examples for SIMATIC S7 See also section 6 4 on page 55 6 2 2 SBus timeout 6 2 3 Unit faults If one or more drive inverters on the SBus can no longer be addressed by the DFP21 the gateway enters error code F11 System fault in status word 1 of the corresponding drive inverter The H1 LED 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
110. ostics via PC and MOVITOOLS MotionStudio Manual DEP21B PROFIBUSDP V1 Fieldbus Interface 25 Project Planning and Startup Validity of the GSD files for DFP21B 5 Project Planning and Startup This section provides you with information on project planning for the DP master and startup of the drive inverter for fieldbus operation Current versions of the GSD files for the DFP21B option are available on the SEW homepage http www sew eurodrive de under the heading Software Both GSD files can be used at the same time in one STEP7 project Once you have downloaded and unpacked the software you will have two directories for the operating modes PROFI BUS DP and PROFIBUS DP V1 5 1 Validity of the GSD files for DFP21B PROFIBUS option SEW_6003 GSD for DP SEWA6003 GSD for DP V1 SEW_6009 GSD for DP V1 DFP21B074 firmware option 1 Gateway operation 824 399 9 10 and higher ok ok No 1820 536 4 10 and higher ok ok ok Entries in the GSD file must not be changed or expanded SEW assumes no liability for inverter malfunctions caused by a modified GSD file 5 2 DP master project planning the with MOVIDRI VE GSD file A GSD file is provided for project planning for the DP master This file must be copied into a special folder of your project planning software Refer to the manuals of the appropriate project planning software for details on the pro cedure 5 2 1 GSD file for PROFIBUSDP
111. r as a visualization device for example could use these channels to read parameter data and a second C2 master in the form of a notebook could use them to configure the drive using the MOVITOOLS software 1 Maste il 4 C2 Master C2 Master Acyclic DP V1 C1 Services 5 Bc CN d zi DP 8 Byte Param j PROFIBUS DP V1 Acyclic DP V1 DSE PD i DP C2 Services Acyclic DP V1 C2 Services Cyclic IN Out g 2 g g ke 2 2 2 2 2 2 i 2 D o D D E t E E B 2 8 EEN mg a e B iL o a o O O OS A o zc o a cyclic Process Data m Parameterbuffer Drive System 53124AXX Figure 11 Parameter channels for PROFIBUS DP V1 Manual DFP21B PROFIBUSDP V1 Fieldbus Interface PROFIBUSDP V1 Functions go Structure of the DP V1 parameter channel 7 3 Structure of the DP V1 parameter channel Generally the parameter setting of the drives to the PROFIdrive DP V1 parameter channel of profile version 3 0 is implemented via data set 47 The Request ID entry is used to distinguish between parameter access based on PROF Idrive profile or via SEW MOVILINK services The following table shows the possible codes of the individual elements The data set structure is the same for PROFldrive and MOVILINK
112. request Chile Assembly Santiago de SEW EURODRIVE CHILE LTDA Tel 56 2 75770 00 Sales Chile Las Encinas 1295 Fax 56 2 75770 01 Service Parque Industrial Valle Grande www sew eurodrive cl LAMPA ventas sew eurodrive cl RCH Santiago de Chile P O Box Casilla 23 Correo Quilicura Santiago Chile 104 12 2006 Address List L China Production Tianjin SEW EURODRIVE Tianjin Co Ltd Tel 86 22 25322612 Assembly No 46 7th Avenue TEDA Fax 86 22 25322611 Sales Tianjin 300457 gm tianjin sew eurodrive cn Service http www sew eurodrive com cn Assembly Suzhou SEW EURODRIVE Suzhou Co Ltd Tel 86 512 62581781 Sales 333 Suhong Middle Road Fax 86 512 62581783 Service Suzhou Industrial Park suzhou sew com cn Jiangsu Province 215021 P R China Additional addresses for service in China provided on request Colombia Assembly Bogot SEW EURODRIVE COLOMBIA LTDA Tel 57 1 54750 50 Sales Calle 22 No 132 60 Fax 57 1 54750 44 Service Bodega 6 Manzana B http www sew eurodrive com co Santaf de Bogot sewcol sew eurodrive com co Croatia Sales Zagreb KOMPEKS d o o Tel 385 1 4613 158 Service PIT Erd dy 4 II Fax 385 1 4613 158 HR 10 000 Zagreb kompeks net hr Czech Republic Sales Praha SEW EURODRIVE CZ S R O Tel 420 220121234 Business Centrum Praha Fax 4420 220121237 Luzna 591 http www sew eurodrive cz CZ 16000 Praha
113. rive inverter ss sssieiieesena11a 42 MOVIDRIVE MDX61B TTT 45 MOVIDRIVE MDX61 B external diagnostics GE 32 MOVIT RAC B Licinii dateien 47 MOVITOOLS MotionStudio Control example sse 46 PROFIBUS Operation 85 D MOVITRAC B Data exchange via PROFIBUSDP 11 Control MM M apd eae a 47 Data exchange via PROFIBUSDP V1 11 Setting the frequency inverter 43 DFP21B N Connection queen nennen nennen nennen 20 Notes GE 24 Assembly Installation 14 Terminal description e 20 Documentation sus easi coser ade die 6 DFP21B operating displays en 24 Important notes icis S Donius 6 Nels e 13 CO T MIROR EECH 8 MOVIDRIVE MDX61B external dlagrnosliCS tah Aetna emis 32 0 DP configuration 36 37 39 99 100 Option card for MOVIDRIVE MDX61B 29 Installation and removal ss 15 UhIVOersal iii sido visti Ae 30 P DP ident number sss 99 100 Parameter channel E EE eg 51 Erronclass ee ei deve ek 56 Get 49 ECHO COGO i c oett dee erbe 56 Parameter channel data range 51 Error codes of the DP V1 services 84 Parameter channel management 50 Error Diagnostics eeeeeeee 95 Parameter channel structure 49 Explanation of symbols
114. ror 0 dwData The function is finished fActivate fBusy fStaticBusy fDPVIWRITEDone TITLE Auswertung der Parameterdaten POSR NOP U SPB 0 fStaticWRITEReqg WRR go to WRITERequestResponse READRequest was performed SLD L SLD D SLD D L D D d apgdumguuddtc D Di D WRR NOP 24 MVLK_Resp Attachment 3 6 MVLK_Resp Attachment 4 8 MVLK_Resp Attachment 5 dwData 0 kein Fehler bError The function is finished fActivate fBusy fStaticBusy fDPVIWRITEDone 0 0 WRITERequest was performed 0 Output parameter is filled with ZEROS L T L nH D d Dip oo dwData 0 No error bError Clear error bits fDone fActivate fBusy fStaticBusy fDPVIWRITEDone 0 D TimeoutCounter Reset timeout BH16 40 positive MoviLink response B 16 C0 negative MoviLink response fDone gt set Done reset Busy fDone gt set Done reset fActivate positive or negative response D TimeoutCounter Reset timeout counter TimeoutCounter Reset timeout counter MVLK Resp Attachment 2 Received data is written into output parameter D TimeoutCounter Reset timeout counter counter Manual DEP21B PROFIBUSDP V1 Fieldbus Interface gw 7 81 PROFIBUSDP V1 Functions Project planning for a C1 master NEGR NOP 0 L 3 Movilink error T
115. s interface at the PROFIBUS The added process data width of all following modules must be between 1 and 24 words For safety reasons the modules must be listed with data integrity Ensure that an inverter connected to the fieldbus interface is represented by such a consistent module entry Only the special identifier format is permitted The DP V1 operating mode can usually be activated during project planning for a C1 master All DP slaves which have the DP V1 functions enabled in their GSD files and which support DP V1 will then be operated in the DP V1 mode Standard DP slaves will still to run via PROFIBUS DP This ensures mixed mode is run for DP V1 and DP capable modules Depending on the specification of the master functionality a DP V1 capable station that was configured using the DP V1 GSD file can run in the DP operating mode Manual DEP21B PROFIBUSDP V1 Fieldbus Interface 5 39 5 40 qu Project Planning and Startup DP master project planning with MOVITRAC or gateway GSD file 5 3 4 Autosetup for gateway operation The Autosetup function enables startup of the DFP21B as gateway to be performed without a PC Activate the function via the Autosetup DIP switch see section 4 4 on page 20 Switching on the Autosetup DIP switch causes the function to be performed once The Autosetup DIP switch must then remain in the ON position The function can be performed again by switching the DIP switch o
116. system error to a value other than 0 for the drive inverter to stop The error resets itself in the gateway In other words the current process data is exchanged immediately after restarting the communication The gateways detect a series of faults during the self test and respond by locking them selves The exact error responses and remedies can be found in the list of errors A hardware defect causes error F111 system faultto be displayed on the fieldbus process input data for status words 1 of all drive inverters The H1 LED system fault at the DFP21B then flashes at regular intervals The exact error code is displayed in the status of the gateway using MOVITOOLS MotionStudio on the diagnostic interface Manual DFP21B PROFIBUSDP V1 Fieldbus Interface PROFIBUSDP Operating Characteristics go Parameter settings via PROFIBUS DP 6 2 4 Fieldbus timeout of the DFP21B in gateway operation You can set how the gateway should respond in case of timeout using the P831 Fieldbus timeout response parameter No response The drives on the subordinate SBus continue with the last setpoint value These drives cannot be controlled when the PROFIBUS communication is inter rupted PA DATA 0 The rapid stop is activated for all drives that have a process data configuration with control word 1 or 2 when a PROFIBUS timeout is detected For this purpose the gateway sets the bits 0 to 2 of the control word to 0 The drives are stopped with
117. t Planning and Startup go Data integrity DP master project planning the with MOVIDRIVEG GSD file 9 The following figure shows the structure of the configuration data defined in EN 50170 V2 This configuration data is transmitted to the drive inverter during the initial start of the DP master 7 MSB 6 5 4 3 2 1 0 LSB Data length 0000 1 byte word 1111 16 bytes words Input output 00 Special identifier formats 01 Input 10 Output 11 Input output Format 0 Byte structure 1 Word structure Integrity over 0 Byte or word 1 Entire length Note MOVIDRIVE does not support the Special identifier formats coding Only use the Integrity over entire length setting for data transmission Consistent data is data that has to be transmitted between the programmable controller and the drive inverter as one block at all times and must never be transmitted separately Data integrity is especially important for the transmission of positioning values or complete positioning tasks Inconsistent transmission may contain data from different program cycles of the automation device This would lead to undefined values being transmitted to the drive inverter For PROFIBUS DP data communication between the programmable controller and drive engineering devices is usually carried out with the setting Data integrity over entire length Manual DFP21B PROFIBUSDP V1
118. t from the drive inverter system are all in Error class 8 other error The error can be identified more precisely using the Additional code element The error code element allows for a more detailed identification of the error cause within the error class and is generated by the communications software of the fieldbus card when faulty communication is encountered For Error class 8 other error only error code 0 other error code is defined In this case detailed identification is made using the Additional code Manual DFP21B PROFIBUSDP V1 Fieldbus Interface PROFIBUSDP Operating Characteristics Special cases 6 5 4 Additional code The additional code contains the return codes specific to SEW dealing with incorrect parameter settings of the drive inverter They are returned to the master under Error class 8 other error The following table shows all possible codings for the additional qu 6 code Add code Add code Meaning high hex low hex 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 for parameter too large 00 16 Value for parameter too small 00 17 Required option card missing for this function parameter 00 18 Error in system software 00 19 Parameter access via RS 485 process interface on X13 only
119. t require special firmware status Only SEW EURODRIVE engineers are allowed to install or remove option cards for MOVITRAC B 4 2 1 SBus connection MOVITRAC B DFP21B S1 RUN 1 A BUS QOo O 0 4 ON N 59185AXX 1 Terminating resistor activated S1 ON The DFP21B features an integrated SBus terminating resistor and must therefore always be installed at the beginning of the SBus connection The address of the DFP21B is always O X46 X26 X46 1 X26 1 SC11 SBus CAN high X46 2 X26 2 SC12 SBus CAN low X46 3 X26 3 GND CAN GND X46 7 X26 7 DC 24V X12 X12 8 24 V input X12 9 GND reference potential for the binary inputs 16 Manual DFP21B PROFIBUSDP V1 Fieldbus Interface Assembly and Installation Notes 4 Installing the DFP21B option card in MOVITRAC B To simplify cabling the DFP21B can be supplied with DC 24V from X46 7 of the MOVITRAC to X26 7 MOVITRAC must be supplied with DC 24V at terminals X12 8 and X12 9 when supply ing the DFP21B by MOVITRAC 4 2 2 System bus connection MOVITRAC B DFP21B Q RUN BUS 9 5T ADDRESS Om OQu2 s MOVITRAC B MOVITRAC B S1 ON OFF FSC11B 24V i TEE l FSC1
120. tatus conflict Other error or timeout No Y Parameter transfer ok Parameter transfer data available cancelled with ERROR 53127AEN 66 Manual DFP21B PROFIBUSDP V1 Fieldbus Interface PROFIBUSDP V1 Functions go 7 Structure of the DP V1 parameter channel 7 3 3 Addressing connected drive inverters The structure of the DS47 data set defines an axis element This element is used to reach multi axis drives that are operated via one PROFIBUS interface The axis element addresses one of the devices connected via the PROFIBUS interface This mechanism can be used for example by the SEW MQP bus modules for MOVIMOT or UFP for MOVITRAC 07 Addressing a With the setting Axis 0 the parameter of the drive inverters can be accessed directly MOVIDRIVE Since there are no drive devices connected to the MOVIDRIVE access with Axis gt 0 inverter one the is returned with an error code PROFIBUS DP V1 C1 Master D C2 Master C2 Master ill HET 14 Cyclic OUT Data Param PD PROFIBUS DP V1 Param PD Cyclic IN Data Acyclic DP V1 C2 Services Acyclic DP V1 Z Acyclic DP V1 C1 Services 2 Axis 0 C2 Services miso e x Axis 0 53556AXX Figure 13 Addressing a MOVIDRIVE directly via PROFIBUSDP V1 with Axis 0 7 3 4 MOVILINK parameter requests The MOVILINK9 parameter
121. the drive inverter has been enabled at the terminals B Correct the settings Manual DEP21B PROFIBUSDP V1 Fieldbus Interface 97 KEE 9 ec Error Diagnostics cn List of errors 9 2 Listoferrors Error Designation Response Cause Measure code 17 Stack overflow SBus communication stopped 18 Stack underflow SBus communication stopped 19 NMI SBus communication stopped 20 Undefined SBus communication Malfunction of inverter electronics Cheek grounding and shielding and opcode stopped ossibly due to EMC influence itprove if necessary Consult SEW P PP P y service if the error occurs again 21 Protection fault SBus communication stopped 22 Illegal word SBus communication operand access stopped 23 Illegal instruc SBus communication tion access stopped 25 Eeprom SBus communication Error while accessing EEPROM Activate factory settings perform stopped reset and set parameters for DFP again Contact SEW service if the error occurs again 28 Fieldbus timeout Default PO data 0 No communication between master e Check communications routine of Error response and slave within the projected response the master adjustable via P831 monitoring Extend the fieldbus timeout inter val response monitoring in the master configuration or deactivate monitoring 37 Watchdog error SBus communication Error during execution of system soft Contact SEW Service stopped ware 45 Initialization SBus communica
122. the rapid stop ramp 6 3 Parameter settings via PROFIBUS DP With PROFIBUS DP the drive parameters are accessed via the 8 byte MOVILINK9 parameter channel This channel offers extra parameter services in addition to the conventional READ and WRITE services The inverter parameter settings via the PROFIBUS DP parameter channel can only be used for MOVIDRIVE MDX61B and the parameters of the DFP21B gateway The PROFIBUS DP parameter channel does not provide data access to the parameters of the inverter that are installed below the gateway at the SBus 6 3 1 Structure of the 8 byte MOVILINK parameter channel PROFIBUS DP enables access to the inverter drive parameters via the Parameter process data object PPO This PPO is transmitted cyclically and contains the process data channel 2 and a parameter channel 1 that can be used to exchange acyclical parameter values 53492AXX Figure 10 Communication via PROFIBUS DP Manual DEP21B PROFIBUSDP V1 Fieldbus Interface 6 49 e gu PROFIBUSDP Operating Characteristics Parameter settings via PROFIBUS DP o Management of the 8 byte MOVILINK parameter channel 50 The following table shows the structure of the 8 byte MOVILINK parameter channel Essentially the
123. tion Error after self test during reset Perform a reset Consult SEW service error stopped if the error occurs again 111 System error None Check the red system error LED H1 of Check voltage supply and SBus device timeout the DFP If this LED is on one orsev cabling check SBus terminating eral stations on the SBus could not be resistors Check the project planning addressed within the timeout interval H if the DFP was configured with the the red system error LED H1 flashes PC Switch DFP off and on again If the DFP itself is in an error state In this the error is still present query the case error F111 was reported to the error via diagnostic interface and per control only via fieldbus form the action described in this table 98 Manual DFP21B PROFIBUSDP V1 Fieldbus Interface Option DFP21B for MOVIDRIVE MDX61B Technical Data 10 Technical Data 10 1 Option DFP21B for MOVIDRIVE MDX61B Option DFP21B MOVIDRIVE MDX61B Part number 824 240 2 Power consumption P 3W PROFIBUS protocol options PROFIBUSDP and DP V1 according to IEC 61158 Automatic baud rate detection 9 6 kBaud to 12 MBaud Connection technology D Via 9 pin sub D plug Pin assignment according to IEC 61158 Bus termination Not integrated implement using suitable PROFIBUS plug with terminat ing resistors that can be switched on
124. tion is only possible in conjunction with MOVIDRIVE MDX61B not with MDX60B The DFP21B option must be plugged into the fieldbus slot X24 58129axx X24 X terminal DIP Front view of DFP21B Description switches Function Terminal RUN PROFIBUS operation Indicates that the bus electronics are operating LED green correctly DFP21B BUS FAULT PROFIBUS error Indicates PROFIBUSDP error RUN LED red FAULT ADDRESS DIP switch for set 2 Significance 1 ting the PROFIBUS station 21 Significance 2 address 22 Significance 4 23 Significance 8 24 Significance 16 25 Significance 32 26 Significance 64 AS Autosetup for gateway operation X30 PROFIBUS connection X30 1 N C X30 X30 2 N C X30 3 RxD TxD P 0 1 X30 4 CNTR P 20 E X30 5 DGND M5V 2 N7 X30 6 VP P5V 100 mA 22 HN X30 7 N C 23 X30 8 RxD TxD N 2 3 X30 9 DGND M5V 25 E 29 L AS Ll ADDRESS 59110AXX Front view of MOVITRAC B DFP21B Description Function and UOH11B O Hi LED H1 red System error only for gateway functions Q H2 LED H2 green Reserved RS 485 interface for diagnostics via PC and MOVITOOLS MotionStudio only applies to MOVITRAC B 20 Manual DFP21B PROFIBUSDP V1 Fieldbus Interface Assembly and Installation Notes 4 Pin assignment 45 Pinassignment Connection to the PROFIBUS network using a
125. tions SFC14 15 length 12 bytes 10 PD System functions SFC14 15 length 20 bytes Param 1 PD Parameter channel System functions SFC14 15 length 8 bytes Process data Load transfer commands Param 2 PD Parameter channel System functions SFC14 15 length 8 bytes Process data Load transfer commands Param 3 PD Parameter channel System functions SFC14 15 length 8 bytes Process data System functions SFC14 15 length 6 bytes Param 6 PD Parameter channel System functions SFC14 15 length 8 bytes Process data System functions SFC14 15 length 12 bytes Param 10 PD Parameter channel System functions SFC14 15 length 8 bytes Process data System functions SFC14 15 length 20 bytes 6 1 2 PROFIBUSDP timeout MOVIDRIVE MDX61B If the data transfer via PROFIBUS DP is faulty or interrupted the response monitoring time in MOVIDRIVE9 elapses if configured in the DP master The BUS FAULT LED lights up or flashes to indicate that no new user data is being received At the same time MOVIDRIVE9 performs the fault response selected with P831 Fieldbus timeout response P819 Fieldbus timeout displays the response monitoring time specified by the DP master during the PROFIBUS DP startup The 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
126. udlovska cesta 85 Fax 421 48 414 6566 SK 97411 Banska Bystrica sew sew eurodrive sk Slovenia Sales Celje Pakman Pogonska Tehnika d o o Tel 386 3 490 83 20 Service UI XIV divizije 14 Fax 386 3 490 83 21 SLO 3000 Celje pakman siol net South Africa Assembly Johannesburg SEW EURODRIVE PROPRIETARY LIMITED Tel 27 11 248 7000 Sales Eurodrive House Fax 27 11 494 3104 Service Cnr Adcock Ingram and Aerodrome Roads http www sew co za Aeroton Ext 2 Johannesburg 2013 P O Box 90004 Bertsham 2013 dross sew co za 12 2006 1 Address List South Africa Capetown SEW EURODRIVE PROPRIETARY LIMITED Tel 27 21 552 9820 Rainbow Park Fax 27 21 552 9830 Cnr Racecourse amp Omuramba Road Telex 576 062 Montague Gardens dswanepoel sew co za Cape Town P O Box 36556 Chempet 7442 Cape Town Durban SEW EURODRIVE PROPRIETARY LIMITED Tel 27 31 700 3451 2 Monaceo Place Fax 27 31 700 3847 Pinetown dtait sew co za Durban P O Box 10433 Ashwood 3605 Spain Assembly Bilbao SEW EURODRIVE ESPANA S L Tel 34 9 4431 84 70 Sales Parque Tecnol gico Edificio 302 Fax 34 9 4431 84 71 Service E 48170 Zamudio Vizcaya http www sew eurodrive es sew spain sew eurodrive es Sweden Assembly J nk ping SEW EURODRIVE AB Tel 46 36 3442 00 Sales Gnejsv gen 6 8 Fax 46 36 3442 80 Service S 55303 J nk ping http www sew eurodrive se Box 3100 S
127. uration Add data exchange with the fieldbus interface to your application program For S7 use the system functions for consistent data exchange for this purpose SFC14 and SFC15 The BUS FAULT LED at the fieldbus interface should extinguish after you have saved the project loaded it in the DP master and started the DP master If this is not the case check the connections and terminating resistors of the PROFIBUS and the project planning especially the PROFIBUS address Manual DEP21B PROFIBUSDP V1 Fieldbus Interface 5 35 36 5 a O Project Planning and Startup DP master project planning with MOVITRAC or gateway GSD file 5 3 3 Configuration of the PROFIBUSDP interface General Figure 6 Data exchange with parameter data Param and process data PD The inverter must be given a specific DP configuration by the DP master to define type and number of input and output data used for the transmission You can control the drives via process data and read and write all parameters of the fieldbus interface via the parameter channel The figure shows a schematic view of the data exchange between automation device DP V1 master fieldbus interface DP V1 slave and an inverter with process data channel and parameter channel C1 Master C2 Master C2 Master ul llli llli Cyclic OUT Data PD Acyclic DP V1 C2 Services
128. ust 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 inverter at the terminals is for example to connect the DI1 function CW STOP input terminal to a 24 V signal and to program the remaining input terminals to NO FUNCTION Set the parameter P881 SBus address to values between 1 to 8 in ascending order The SBus address 0 is used by DFP21B gateway and therefore must not be used Set P883 SBus timeoutto values between 50 to 200 ms Manual DFP21B PROFIBUSDP V1 Fieldbus Interface PROFIBUSDP Operating Characteristics go 6 Controlling the MOVIDRIVE MDX61B drive inverter 6 PROFIBUSDP Operating Characteristics This section describes the basic characteristics of the drive inverter with PROFIBUS DP 6 1 Controlling the MOVIDRI VE MDX61B drive inverter The drive inverter is controlled via the process data channel which is up to 10 I O words in length These process data words may be mapped in the I O or peripheral area of the control if a programmable control is used as DP master and can be addressed as usual PW160 PA 3 PW158 PA 2 PW156 PA 1 PW154 PW152 PW150 PW148 EE i Es S e S lo PA1 PA2 PAB PA10D C 2 Im 2 T T T T E E T T EE 2 on 5 83 CoA A A A A A A A z PW160 PE 3 PW
129. with the following conditions Module 0 DP identifier 0 defines the parameter channel of the inverter To ensure the parameter settings are made correctly you must always transfer the parameter channel consistently for the entire length Length Function 0 Parameter channel deactivated 8 I O bytes or 4 UO words Parameter channel is used Module 1 DP identifier 1 defines the process data channel of the inverter In addition to the process data configuration predefined in the GSD file you can also specify the process 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 BUS FAULT LED flashes and the parameter P090 PD Configuration indicates the configuration error with OPD Length Function 2 I O bytes or 1 UO word 1 process data word 4 UO bytes or 2 I O words 2 process data words 6 I O bytes or 3 UO words 3 process data words 8 I O bytes or 4 UO words 4 process data words 10 I O bytes or 5 UO words 5 process data words 12 I O bytes or 6 I O words 6 process data words 14 I O bytes or 7 UO words 7 process data words 16 I O bytes or 8 I O words 8 process data words 18 I O bytes or 9 UO words 9 process data words 20 I O bytes or 10 UO words 10 process data words Manual DFP21B PROFIBUSDP V1 Fieldbus Interface Projec
130. with the process data For this reason the implementation of the service in the drive inverter must be triggered by edge control using the handshake bit 6 For this purpose the value of this bit is altered for each new service that is to be executed The drive inverter uses the handshake bit to signal whether the service has been executed or not The service was executed if the hand shake bit received in the control is identical with the transmitted handshake bit Status bit 7 indicates whether it was possible to execute the service properly or if errors occurred Manual DFP21B PROFIBUSDP V1 Fieldbus Interface PROFIBUSDP Operating Characteristics Parameter settings via PROFIBUS DP Index addressing Data range Incorrect service execution qu Byte 2 Index high and byte 3 Index low determine the parameter which is to be read or written via the fieldbus system The parameters of a drive inverter are addressed with a uniform index regardless of the fieldbus system that is connected Byte 1 should be viewed as reserved and must always be set to 0x00 As shown in the following table the data is contained in bytes 4 through 7 of the param eter channel This means up to 4 bytes of data can be transmitted per service The data is always entered with right justification In other words byte 7 contains the least signif icant data byte LSB data whereas byte 4 is the most significant data byte MSB data
131. x C2hex C2hex C2hex C2hex C2hex C2hex C2hex C2hex C2hex AS 7 Drives Control via O0hex COhex COhex COhex COhex COhex COhex COhex 7 x 8 PD 7x3 PD C2hex C2hex C2hex C2hex C2hex C2hex C2hex C2hex C2hex C2hex C2hex C2hex C2hex C2hex AS 8 Drives Control via O0hex COhex COhex COhex COhex COhex COhex COhex COhex 8 x 3 PD 8x3 PD C2hex C2hex C2hex C2hex C2hex C2hex C2hex C2hex C2hex C2hex C2hex C2hex C2hex C2hex C2hex C2hex Manual DFP21B PROFIBUSDP V1 Fieldbus Interface Project Planning and Startup g DP master project planning with MOVITRAC or gateway GSD file Universal module DP configuration Operating mode DP V1 mode Module 0 must always be pre assigned to 0x00 The Universal Module such as in STEP7 allows you to set the parameters of the field bus interface deviating from the preset standard values of the GSD file This is useful if you want to operate several inverters with different process data words at the fieldbus interface for example You must observe the following conditions Module 1 defines the parameter channel of the inverter Entering 0 will switch off the parameter channel entering OxCO 0x87 0x87 will switch on the parameter channel with 8 bytes length The following modules determine the process data width of the fieldbu
132. yte user data for parameter request Table 3 WRITE req USER DATA for MOVILINK READ parameter Byte Field Value Description 0 Request reference 0x01 Individual reference number for the parameter setting request mirrored in the parameter response 1 Request ID 0x40 SEW MOVILINK service 2 Axis 0x00 Axis number 0 single axis 3 No of parameters 0x01 1 parameter 4 Attributes 0x10 MOVILINK service READ parameter 5 No of elements 0x00 0 access to direct value no subelement 6 7 Parameter number 0x206C MOVILINK index 8300 Firmware version 8 9 Subindex 0x0000 Subindex 0 Query parameter response The following table shows the coding of the READ req USER DATA including the DP V1 header Table 4 READ req for requesting the parameter response Service READ request Description Slot_Number 0 Random is not evaluated Index 47 Index of the data set constant index 47 Length 240 Maximum length of response buffer in the DP V1 master Positive MOVILINK parameter response The table shows the READ res USER DATA with the positive response data of the parameter setting request For example the parameter value for index 8300 firmware version is returned Table 5 DP V1 header of the positive READ response with parameter response Service READ request Description Slot_Number 0 Random is not evaluated Index 47 Index o
Download Pdf Manuals
Related Search
Related Contents
Anaren Integrated Radio A2530E24x User`s Manual User Manual - TEWS TECHNOLOGIES Handgelenk - Fahrradcomputer Wrist Bicycle Computer Ordinateur Molift AS - Meditec Medical Fujitsu LIFEBOOK S7220 DVDに 取扱説明書 - 加藤電機 Trendnet Wireless 2-Port Multi-Function Print Server Copyright © All rights reserved.
Failed to retrieve file