Lenze Drive Server Bus server S7 getting started Manuale Utente

Navigare online o scaricare Manuale Utente per Hardware Lenze Drive Server Bus server S7 getting started. Lenze Drive Server Bus server S7 getting started User Manual Manuale Utente

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa

Sommario

Pagina 1 - Ä!P</ä

Ä!P</äLHandbuch/ManualEDBDRS3!P</Global DriveBusserver S7Ers te S c h ri tte/Getti ng StartedShow/Hide Bookmarks

Pagina 2

Busserv er S7L71Busserver S7 DE/EN 1.02.3 Supported PLC hardwareThe following PLC hardware is supported: Siemens S7-300 and S7-400• For S7-400, the co

Pagina 3 - Contents

Busserv er S7L72 Busserver S7 DE/EN 1.03 Software installationProceed as follows to install the bus server software on your PC:1. Start Windows.2. Ins

Pagina 4

Busserv er S7L73Busserver S7 DE/EN 1.03.1 Component selectionFrom the installation program of the DriveServer with bus server S7 you can select, which

Pagina 5 - 1.1 Conventions used

Busserv er S7L74 Busserver S7 DE/EN 1.04 Software configuration4.1 Interface module configurationIf you want to use ”MPI Simatic”, ”PROFIBUS-DP” or ”S

Pagina 6

Busserv er S7L75Busserver S7 DE/EN 1.04.2 Bus server configurationThe “S7 c onfiguration tool” program is used for the configuration o f the bus serve

Pagina 7 - 2 System requirements

Busserv er S7L76 Busserver S7 DE/EN 1.0Tip!If a plus sign appears in front of the element, this element has sub-elements:A click on the plus sign open

Pagina 8

Busserv er S7L77Busserver S7 DE/EN 1.0The PLCs found and the drives c onfigured in the PLC program are listed as configuration e ntries in thetree str

Pagina 9 - Show/Hide Bookmarks

Busserv er S7L78 Busserver S7 DE/EN 1.04.2.4 PLC parametersThe below table contains all parameters which are relevant for the PLC configuration. The p

Pagina 10 - Busserv er S7

Busserv er S7L79Busserver S7 DE/EN 1.04.2.5 Automatic drive scanningIf the PLC is connected to the PC and the PLC program has already been transmitted

Pagina 11 - 3 Software installation

Busserv er S7L80 Busserver S7 DE/EN 1.04.2.6 Manual addition of drivesAs an alternative to using the scan function, you can add the drives manually to

Pagina 12 - 3.1 Component selection

Busserv er S7L63Busserver S7 DE/EN 1.0CAUTION:The software is supplied to the user as described in this document. Any risks resulting fromits quality

Pagina 13 - WControl panel

Busserv er S7L81Busserver S7 DE/EN 1.04.2.8 Configuration of sub-systemsIf the PLC connected to the PC includes a ”routing function”, it is possible t

Pagina 14

Busserv er S7L82 Busserver S7 DE/EN 1.0Tip!Proceed as follows to identify the sub-network ID in the STEP 7 program:1. Start the ”NetPro” service progr

Pagina 15

Busserv er S7L83Busserver S7 DE/EN 1.04.2.9 Manual deletion of configuration entriesYou can always delete configuration entries (PLCs, devices, OPC it

Pagina 16

Busserv er S7L84 Busserver S7 DE/EN 1.05 Creating a STEP7 project5.1 Overview of the STEP7 blocksThe foll owing figure gives you an o verview of the d

Pagina 17

Busserv er S7L85Busserver S7 DE/EN 1.05.2 Typical program flowThe following figure shows the typical sequence of a STEP7 program with OPC access:DBx O

Pagina 18

Busserv er S7L86 Busserver S7 DE/EN 1.05.3 Files provided5.3.1 STEP7 libraryThe indivi dual block s are available in form of a library and can be used

Pagina 19 - 4.2.7 Drive parameters

Busserv er S7L87Busserver S7 DE/EN 1.05.3.2 STEP7 example programsThe following example programs are part of the bus ser ver S7 delivery package. They

Pagina 20

Busserv er S7L88 Busserver S7 DE/EN 1.05.4 Creating new projectsTip!The follo wing description is based on Version 5.0 of STEP7. The dialog boxes used

Pagina 21

Busserv er S7L89Busserver S7 DE/EN 1.05.5 Hardware configurationThe Hardware Manager is used to configure the hardware used:• Select the entry CPU 315

Pagina 22

Busserv er S7L90 Busserver S7 DE/EN 1.06. Select the corresponding device from the list and use the mouse to drag it onto the graphicallyillustrated P

Pagina 23 - 5 Creating a STEP7 project

ContentsL64 Busserver S7 DE/EN 1.01 Pref ace and general information 66...1.1 Conventions used 66...

Pagina 24

Busserv er S7L91Busserver S7 DE/EN 1.05.6 Creating a STEP7 programThe Lenze function blocks can be integra ted in different ways. For a simple test, t

Pagina 25 - 5.3.1 STEP7 library

Busserv er S7L92 Busserver S7 DE/EN 1.0Example of a transfer parameter list:CALL ”Lenze-DriveServer_FB”, DB100 FB90Tag :=PB_Address :=B#16#9EA_Address

Pagina 26

Busserv er S7L93Busserver S7 DE/EN 1.05.6.2 Accessing several drives via OPCThe project is to be expanded to enable communication with several drives.

Pagina 27

Busserv er S7L94 Busserver S7 DE/EN 1.0Note!If you want to address drive controllers connected to the PROFIBUS master of the CPU and drivecontrollers

Pagina 28

Busserv er S7L95Busserver S7 DE/EN 1.05.7 Testing the STEP7 programWhen the program has been completed, it can be loaded into the PLC and tested. The

Pagina 29

Busserv er S7L96 Busserver S7 DE/EN 1.05.8 Optimisation of the cycle timeWhen FB DRIVE is activated, the PLC cycle is always under load, even if no pa

Pagina 30

Busserv er S7L97Busserver S7 DE/EN 1.05.9 Accessing PLC dataWith bus server S7, you can access both the parameters of the drive controllers and the PL

Pagina 31

Busserv er S7L98 Busserver S7 DE/EN 1.06 Appendix6.1 Time load of the PLC cycleThe function blocks are cyclically called. The PLC cycle is permanently

Pagina 32

Busserv er S7L99Busserver S7 DE/EN 1.0Output parameters:• Global Drive Control (GDC) and DriveServer were used to l oad a complete parameter set.• An

Pagina 33

Busserv er S7L100 Busserver S7 DE/EN 1.06.3 Communication function parameters6.3.1 FB90 (FB DRIVE)Function block• For every drive one instance is to b

Pagina 34

ContentsL65Busserver S7 DE/EN 1.05.7 Testing the STEP7 program 95...5.7.1 Structure of the DriveServer n

Pagina 35

Busserv er S7L101Busserver S7 DE/EN 1.06.3.2 FB91 (FB DRIVE CP)Function block• For every drive one instance is to be created.• The function block is b

Pagina 36

Busserv er S7L102 Busserver S7 DE/EN 1.06.3.3 FC90 (FC Parameter)Function for parameter data jobs from the PLC.Parameters Data type Possible values/me

Pagina 37 - 6 Appendix

Busserv er S7L103Busserver S7 DE/EN 1.0Possible values/meaningData typeParametersR_Value OUT : DINTRead value (FIX32)R_ValueOUT:DINTIf Status= 0x83, a

Pagina 38

Busserv er S7L104 Busserver S7 DE/EN 1.06.3.4 FC91 (FC Process Data, 3 words)Function for process data accessConsistent process data transfer is a pre

Pagina 39 - 6.3.1 FB90 (FB DRIVE)

Busserv er S7L105Busserver S7 DE/EN 1.06.3.5 FC92 (FC Process Data, 2 words)Function for process data accessThe function FC92 can be used for both con

Pagina 40 - 6.3.2 FB91 (FB DRIVE CP)

Busserv er S7L106 Busserver S7 DE/EN 1.06.3.6 FC93 (FC Process Data, 3 words, CP)Function for process data accessConsistent process data transfer is a

Pagina 41 - 6.3.3 FC90 (FC Parameter)

Busserv er S7L107Busserver S7 DE/EN 1.06.3.7 FC94 (FC Process Data, 2 words, CP)Function for process data accessThe function FC94 can be used for both

Pagina 42

Busserv er S7L108 Busserver S7 DE/EN 1.06.4 Remote maintenance via modemSiemens offers a TS ada pter which can be used for remote maintenance. This ad

Pagina 43

Busserv er S7L109Busserver S7 DE/EN 1.06.5 Example project S7-400The example project ”LenzeDriveServer” desc ribed in this chapter can be found in the

Pagina 44

Busserv er S7L110 Busserver S7 DE/EN 1.06.5.2 Program blocks usedThe project folder Blocks contains the following program blocks:Block FunctionOB1 Org

Pagina 45

Busserv er S7L66 Busserver S7 DE/EN 1.01 Preface and general informationThe DriveServer is a software which provides easy i ntegra tion of drives into

Pagina 46

Busserv er S7L111Busserver S7 DE/EN 1.06.5.3 Symbolic variable namesSymbolic variable names are used in the “LenzeDriveServer” example project. These

Pagina 47

Busserv er S7L112 Busserver S7 DE/EN 1.06.5.4 OB1/FC4With OB1, only the function FC4 is called, in which all other blocks are called.6.5.5 Process dat

Pagina 48

Busserv er S7L113Busserver S7 DE/EN 1.06.5.6 Parameter data accessThe FB90 (FB DRIVE) enables accessing parameter data both via OPC and from the PLC.

Pagina 49 - 6.5.2 Program blocks used

Busserv er S7L114 Busserver S7 DE/EN 1.06.5.7 Reading a parameterFC4, network 3UN “TriggerRead”= “TriggerRead”CALL FC 90 //data typesDrivePar_DB :=”S7

Pagina 50 - 6.5.3 Symbolic variable names

Busserv er S7L115Busserver S7 DE/EN 1.06.5.8 Writing a parameterFC4, network 4UN “TriggerWrite”= “TriggerWrite”CALL FC 90 //data typesDrivePar_DB :=”S

Pagina 51

Busserv er S7L116 Busserver S7 DE/EN 1.06.6 Example project S7-300 with PROFIBUS-CPThe example project ”LenzeDriveServer” desc ribed in this chapter c

Pagina 52

Busserv er S7L117Busserver S7 DE/EN 1.06.6.2 Program blocks usedThe project folder Blocks contains the following program blocks:Block FunctionOB1 Orga

Pagina 53

Busserv er S7L118 Busserver S7 DE/EN 1.06.6.4 OB1/FC3Call the F3 function in OB1. All other Lenze blocks are called from this function. Then call the

Pagina 54

Busserv er S7L119Busserver S7 DE/EN 1.06.6.5 Process data transferFC3, network 1The following call is used to transmit two process data words (2PZD).•

Pagina 55

Busserv er S7L120 Busserver S7 DE/EN 1.06.6.6 Parameter data accessThe FB91 (FB DRIVE CP1) enables a ccess parameter data both via OPC and from the PL

Pagina 56 - 6.6.3 Symbolic variable names

Busserv er S7L67Busserver S7 DE/EN 1.01.2 Layout of the safety informationAll safety information have a uniform layout:• The icon characterises the ty

Pagina 57 - 6.6.4 OB1/FC3

Busserv er S7L121Busserver S7 DE/EN 1.06.6.7 Reading/writing a parameterFor reading a nd writing of parameters it is not important whether the device

Pagina 58

Busserv er S7L122 Busserver S7 DE/EN 1.06.7 FAQ - Frequently asked questions and answersQuestion AnswerWhichbaudrateistobesetfortheMPIinterfacemodule

Pagina 59

Busserv er S7L123Busserver S7 DE/EN 1.0AnswerQuestionCan you see in the PLC program if the drive controlleris switched on?Yes, you can see this by mea

Pagina 60

Busserv er S7L124 Busserver S7 DE/EN 1.0Show/Hide Bookmarks

Pagina 61

Busserv er S7L68 Busserver S7 DE/EN 1.02 System requirementsThe following minimum requirements on hardware a nd software must be met in order to use t

Pagina 62

Busserv er S7L69Busserver S7 DE/EN 1.02.2 Supported communication channelsThe bus server S7 supports the following communication channels:BusserverS7S

Pagina 63

Busserv er S7L70 Busserver S7 DE/EN 1.0CommunicationchannelPC interface PC interfacemoduleTransmissionmediumPLC interface module PLC interface Additio

Commenti su questo manuale

Nessun commento