Ä!P</äLHandbuch/ManualEDBDRS3!P</Global DriveBusserver S7Ers te S c h ri tte/Getti ng StartedShow/Hide Bookmarks
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
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
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
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
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
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
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
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
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
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
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
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
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
Busserv er S7L83Busserver S7 DE/EN 1.04.2.9 Manual deletion of configuration entriesYou can always delete configuration entries (PLCs, devices, OPC it
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
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
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
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
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
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
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
ContentsL64 Busserver S7 DE/EN 1.01 Pref ace and general information 66...1.1 Conventions used 66...
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
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
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.
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
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
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
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
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
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
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
ContentsL65Busserver S7 DE/EN 1.05.7 Testing the STEP7 program 95...5.7.1 Structure of the DriveServer n
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
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
Busserv er S7L103Busserver S7 DE/EN 1.0Possible values/meaningData typeParametersR_Value OUT : DINTRead value (FIX32)R_ValueOUT:DINTIf Status= 0x83, a
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
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
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
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
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
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
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
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
Busserv er S7L111Busserver S7 DE/EN 1.06.5.3 Symbolic variable namesSymbolic variable names are used in the “LenzeDriveServer” example project. These
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
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.
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
Busserv er S7L115Busserver S7 DE/EN 1.06.5.8 Writing a parameterFC4, network 4UN “TriggerWrite”= “TriggerWrite”CALL FC 90 //data typesDrivePar_DB :=”S
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
Busserv er S7L117Busserver S7 DE/EN 1.06.6.2 Program blocks usedThe project folder Blocks contains the following program blocks:Block FunctionOB1 Orga
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
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).•
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
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
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
Busserv er S7L122 Busserver S7 DE/EN 1.06.7 FAQ - Frequently asked questions and answersQuestion AnswerWhichbaudrateistobesetfortheMPIinterfacemodule
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
Busserv er S7L124 Busserver S7 DE/EN 1.0Show/Hide Bookmarks
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
Busserv er S7L69Busserver S7 DE/EN 1.02.2 Supported communication channelsThe bus server S7 supports the following communication channels:BusserverS7S
Busserv er S7L70 Busserver S7 DE/EN 1.0CommunicationchannelPC interface PC interfacemoduleTransmissionmediumPLC interface module PLC interface Additio
Kommentare zu diesen Handbüchern