Lenze PROFIBUS-DP Communications Manual
Lenze PROFIBUS-DP Communications Manual

Lenze PROFIBUS-DP Communications Manual

Controller-based automation
Table of Contents

Advertisement

Automation Systems
Controller-based
Automation
PROFIBUS®
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Communication Manual
L
EN

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the PROFIBUS-DP and is the answer not in the manual?

Questions and answers

Summary of Contents for Lenze PROFIBUS-DP

  • Page 1 Automation Systems Controller-based Automation PROFIBUS® Communication Manual _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _...
  • Page 2: Table Of Contents

    Field devices _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ PROFIBUS hardware for Lenze Controllers _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _...
  • Page 3 Your opinion is important to us _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Lenze · Controller-based Automation · PROFIBUS® Communication Manual · DMS 4.6 EN · 11/2016 · TD17...
  • Page 4: About This Documentation

    Lenze Engineering Tools: Online helps • »PLC Designer« (programming) • »Engineer« (parameter setting, configuration, diagnostics) • »VisiWinNET® Smart« (visualisation) • »Backup & Restore« (backup, restore, update) Lenze · Controller-based Automation · PROFIBUS® Communication Manual · DMS 4.6 EN · 11/2016 · TD17...
  • Page 5 Engineering tools installed (e.g. »PLC Designer« ), screenshots in this documentation may differ from the representation on the screen. Lenze · Controller-based Automation · PROFIBUS® Communication Manual · DMS 4.6 EN · 11/2016 · TD17...
  • Page 6: Document History

    TD17 Update for the "Controller-based Automation" 3.1 Lenze automation system 10/2010 TD17 Commissioning and configuration with the Lenze »PLC Designer« V3.x 10/2009 TD17 General revision 05/2009 TD17 First edition Lenze · Controller-based Automation · PROFIBUS® Communication Manual · DMS 4.6 EN · 11/2016 · TD17...
  • Page 7: Conventions Used

    Optically highlighted reference to another page. Can be activated with a mouse-click in this documentation. Step-by-step instructions Step-by-step instructions are indicated by a pictograph.  Lenze · Controller-based Automation · PROFIBUS® Communication Manual · DMS 4.6 EN · 11/2016 · TD17...
  • Page 8: Terminology Used

    PROFINET® (Process Field Network) is a real-time capable fieldbus system based on Ethernet. PROFINET® is a registered trademark and patented technology licensed by the PROFIBUS & PROFINET International user organisation (PI). Lenze · Controller-based Automation · PROFIBUS® Communication Manual · DMS 4.6 EN · 11/2016 · TD17...
  • Page 9: Definition Of The Notes Used

    Pictograph Signal word Meaning Note! Important note to ensure trouble-free operation  Tip! Useful tip for easy handling  Reference to another document  Lenze · Controller-based Automation · PROFIBUS® Communication Manual · DMS 4.6 EN · 11/2016 · TD17...
  • Page 10: Safety Instructions

    • During commissioning, maintain an adequate safety distance to the motor or the machine parts driven by the motor. Lenze · Controller-based Automation · PROFIBUS® Communication Manual · DMS 4.6 EN · 11/2016 · TD17...
  • Page 11 • If required, provide systems with installed inverters with additional monitoring and protective devices according to the safety regulations valid in each case (e.g. law on technical equipment, regulations for the prevention of accidents). Lenze · Controller-based Automation · PROFIBUS® Communication Manual · DMS 4.6 EN · 11/2016 · TD17...
  • Page 12: Controller-Based Automation: Central Motion Control

    System structure of the Controller-based Automation [3-1] Example: PROFIBUS with the 3231 C Lenze Controller (I/O system 1000 and Servo Drive 9400 as slaves) Lenze · Controller-based Automation · PROFIBUS® Communication Manual · DMS 4.6 EN · 11/2016 · TD17...
  • Page 13 The optional visualisation of the automation system can be used separately or additionally to "FAST Runtime" or "FAST Motion". For this purpose, an external monitor panel/display can be connected to the Cabinet Controller 3231 C/3241 C/3251 C. Lenze · Controller-based Automation · PROFIBUS® Communication Manual · DMS 4.6 EN · 11/2016 · TD17...
  • Page 14 MC-ISI 1) Only the master functionality is supported. 2) Up to release 3.9: "EL 100 CAN" driver / from release 3.10: "Lenze CAN driver" Ethernet interface The Ethernet interface serves to connect the Engineering PC or to create line topologies (no integrated switch for Controller c300/p300).
  • Page 15: The Lenze Automation System With Profibus

    • Combination of PROFIBUS as logic bus and EtherCAT as logic/motion bus  Tip! Detailed information about PROFIBUS can be found on the website of the PROFIBUS & PROFINET user organisation: www.profibus.com Lenze · Controller-based Automation · PROFIBUS® Communication Manual · DMS 4.6 EN · 11/2016 · TD17...
  • Page 16: Structure Of The Profibus System

    Structure of the PROFIBUS system [4-1] Example: PROFIBUS with the 3231 C Lenze Controller (I/O system 1000 and Servo Drive 9400 as slaves) In the example (Fig. [4-1]), the 3231 C Lenze Controller is the PROFIBUS master. It can communicate with one or several stations (slaves).
  • Page 17 The "L-force Controller as gateway" function is not available in combination with PROFIBUS. Therefore logging in with the »Engineer« via the controller as gateway is not possible. Lenze · Controller-based Automation · PROFIBUS® Communication Manual · DMS 4.6 EN · 11/2016 · TD17...
  • Page 18: Basic Wiring Of Profibus

    If you do not use a repeater at the end of the segment, the bus terminating resistor in the bus connector of the last device must be activated. Activating the bus terminating resistor ( 27) Lenze · Controller-based Automation · PROFIBUS® Communication Manual · DMS 4.6 EN · 11/2016 · TD17...
  • Page 19 By means of repeaters, you can establish line or tree topologies. The maximum total dimension of the bus system depends on ... • the used baud rate; • the number of repeaters. Lenze · Controller-based Automation · PROFIBUS® Communication Manual · DMS 4.6 EN · 11/2016 · TD17...
  • Page 20: Field Devices

    1) With PROFIBUS communication module E94AYCPM 2) With PROFIBUS communication module E84AYCPM Field devices of other manufacturers can be implemented if corresponding device descriptions are available. Lenze · Controller-based Automation · PROFIBUS® Communication Manual · DMS 4.6 EN · 11/2016 · TD17...
  • Page 21: Profibus Hardware For Lenze Controllers

    • The MC-PBM communication card serves to connect a Lenze Controller as PROFIBUS master to a PROFIBUS network. • The MC-PBS communication card serves to connect a Lenze Controller as PROFIBUS slave to a PROFIBUS network. Using the Lenze Controller as a PROFIBUS slave (...
  • Page 22: Lenze Engineering Tools

    Further Engineering tools that are not called via the »EASY Navigator« are: • »WebConfig« (web-based parameterisation, configuration, and online diagnostics) • »IPC Backup & Restore« (data backup, data recovery). Lenze · Controller-based Automation · PROFIBUS® Communication Manual · DMS 4.6 EN · 11/2016 · TD17...
  • Page 23: Technical Data

    PROFIBUS slave. It is irrelevant whether the modules in question are input or output modules, or of which data type (BYTE, WORD) they are. Lenze · Controller-based Automation · PROFIBUS® Communication Manual · DMS 4.6 EN · 11/2016 · TD17...
  • Page 24 Data ground (ground to 5 V) P5V2 5 V DC / 30 mA (bus termination) Not assigned RxD/TxD-N Data line A (received data/transmitted data, minus) Not assigned Lenze · Controller-based Automation · PROFIBUS® Communication Manual · DMS 4.6 EN · 11/2016 · TD17...
  • Page 25: Bus Cable Specification

    The baud rate depending on the data volume, cycle time and number of stations should only be selected as high as required for the application. Lenze · Controller-based Automation · PROFIBUS® Communication Manual · DMS 4.6 EN · 11/2016 · TD17...
  • Page 26: Commissioning Of Profibus

    Logging in on the controller with the »PLC Designer« ( 42) With the log-in, the fieldbus configuration and the PLC program are loaded to the controller. Starting the PLC program ( 42) Lenze · Controller-based Automation · PROFIBUS® Communication Manual · DMS 4.6 EN · 11/2016 · TD17...
  • Page 27: The Commissioning Steps In Detail

    Please observe that the bus termination is not active any longer if ... • the bus connector has been disconnected; • the voltage supply of the field device has been disconnected. Lenze · Controller-based Automation · PROFIBUS® Communication Manual · DMS 4.6 EN · 11/2016 · TD17...
  • Page 28: Create A Project Folder

    Here you are provided with some detailed information relating to the commissioning of the Lenze field devices.  Tip! We recommend to commission each field device individually and then integrate them into the PLC program. Lenze · Controller-based Automation · PROFIBUS® Communication Manual · DMS 4.6 EN · 11/2016 · TD17...
  • Page 29: Creating A Plc Program With A Target System (Logic/Motion)

    • Select the previously created project folder as storage location in the Location selection field. Create a project folder ( 28) 3. Confirm the entries by clicking OK. Lenze · Controller-based Automation · PROFIBUS® Communication Manual · DMS 4.6 EN · 11/2016 · TD17...
  • Page 30 • Continuous Function Chart (CFC) • Function block diagram (FUP) • Ladder diagram (KOP) • Structured text (ST) 5. Confirm the selection by clicking OK. Lenze · Controller-based Automation · PROFIBUS® Communication Manual · DMS 4.6 EN · 11/2016 · TD17...
  • Page 31: Configuring The Communication Parameters

    Set the communication parameters to establish an online connection to the Lenze Controller later  How to configure the communication parameters 1. Go to the Communication settings tab of the target system (device, Lenze Controller ...) and click the Add gateway button.
  • Page 32 5. Now you can carry out the following actions using the »PLC Designer«: Logging in on the controller with the »PLC Designer« ( 42) Lenze · Controller-based Automation · PROFIBUS® Communication Manual · DMS 4.6 EN · 11/2016 · TD17...
  • Page 33: Importing Missing Devices / Device Description Files

    *.DCF, and *.GSx type via the menu command Tools  Device Repository.. Tip! Current device description files for Lenze devices can be found in the "Download" area at: www.lenze.com Lenze · Controller-based Automation · PROFIBUS® Communication Manual · DMS 4.6 EN · 11/2016 · TD17...
  • Page 34: Creating A Control Configuration (Adding Field Devices)

     How to create the control configuration in the »PLC Designer«: 1. Go to the context menu of the target system (device, Lenze Controller ...) and use the Add device command in order to extend the control configuration by the PROFIBUS master (PROFIBUS MC-PBM).
  • Page 35 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 2. Go to the context menu of the PROFIBUS (master) and execute the Add device command. Lenze · Controller-based Automation · PROFIBUS® Communication Manual · DMS 4.6 EN · 11/2016 · TD17...
  • Page 36 • For each slave, a maximum of 244 input bytes and 244 output bytes, respectively, can be transferred. Their data type is irrelevant in this context. Lenze · Controller-based Automation · PROFIBUS® Communication Manual · DMS 4.6 EN · 11/2016 · TD17...
  • Page 37 • only contain the characters "A ... Z", "a ... z", "0 ... 9" or "_"; • must not begin with a digit. You can enter a name by clicking the element. Example: Lenze · Controller-based Automation · PROFIBUS® Communication Manual · DMS 4.6 EN · 11/2016 · TD17...
  • Page 38: Configuration Of The Profibus Master

    By removing the checkmark you can manually change the parameter values in the "Values" column of the table. Groups This button serves to create up to eight device groups. Lenze · Controller-based Automation · PROFIBUS® Communication Manual · DMS 4.6 EN · 11/2016 · TD17...
  • Page 39 In order to activate or deactivate the freeze and sync mode for one group, you can either set a checkmark at the corresponding place in the table or remove it. Besides, you can change the names of the groups here. Lenze · Controller-based Automation · PROFIBUS® Communication Manual · DMS 4.6 EN · 11/2016 · TD17...
  • Page 40 The "Cycle settings of the higher-level bus" serve to use the bus cycle task set via the PLC settings tab of the Lenze Controller (device): Lenze · Controller-based Automation · PROFIBUS® Communication Manual · DMS 4.6 EN · 11/2016 · TD17...
  • Page 41: Configuring The Profibus Slave

    • By means of the Groups... button, you can assign the slave to one (or several) device group(s). • We recommend not to change the other standard settings. Lenze · Controller-based Automation · PROFIBUS® Communication Manual · DMS 4.6 EN · 11/2016 · TD17...
  • Page 42: Compiling The Plc Program Code

    6.2.13 Starting the PLC program Before the start, the PLC program must be loaded to the Lenze Controller using the menu command Online  Login. Use the menu command Debug  Start or the function key <F5> to start the PLC program.
  • Page 43: Mixed Operation Profibus With Ethercat

    The following combinations are permissible: PROFIBUS (Logic bus) and EtherCAT (Logic/Motion bus)  Controller-based Automation EtherCAT communication manual Here you can find detailed information on how to commission EtherCAT components. Lenze · Controller-based Automation · PROFIBUS® Communication Manual · DMS 4.6 EN · 11/2016 · TD17...
  • Page 44: Function Libraries

    (see PROFIBUS-DP standard). Codes or indexes can be read or written with the IoDrvDPV1_C1_M_Write and IoDrvDPV1_C1_M_Read functions via DP-V1. Lenze · Controller-based Automation · PROFIBUS® Communication Manual · DMS 4.6 EN · 11/2016 · TD17...
  • Page 45: Defining The Minimum Cycle Time Of The Plc Project

    If the cursor is on a task name field, the values displayed can be reset to 0 by the Reset context menu command (right-click the task name field). Lenze · Controller-based Automation · PROFIBUS® Communication Manual · DMS 4.6 EN · 11/2016 · TD17...
  • Page 46 PLC system "high" (e.g. PROFIBUS task = 10 ms, all other cyclic tasks = 20 ms). 2. Use the menu command Online  Login, or log in on the Lenze Controller with <Alt>+<F8>. • For this, the PLC program must be error-free.
  • Page 47: Optimising The System

     How to optimise the system: 1. Use the menu command Online  Login, or log in on the Lenze Controller with <Alt>+<F8>. • For this, the PLC program must be error-free. • With the log-in, the fieldbus configuration and the PLC program are loaded to the controller.
  • Page 48: Diagnostics

    The device holds the PROFIBUS token and can transmit telegrams. Blinking irregularly The device is part of the PROFIBUS network and shares the token with other PROFIBUS master devices. No PROFIBUS communication Lenze · Controller-based Automation · PROFIBUS® Communication Manual · DMS 4.6 EN · 11/2016 · TD17...
  • Page 49: Led Status Displays Of The Mc-Pbs Communication Card

    Yellow The slave has received parameter/configuration data from the PROFIBUS master and is in the "DataExchange" state". No PROFIBUS communication ("DataExchange" state not reached) Lenze · Controller-based Automation · PROFIBUS® Communication Manual · DMS 4.6 EN · 11/2016 · TD17...
  • Page 50: Diagnostics In The "Plc Designer

    You can only execute a diagnostics process if the node works without errors or if there is a fault. Currently, the PLC does not provide any detailed fault information. Lenze · Controller-based Automation · PROFIBUS® Communication Manual · DMS 4.6 EN · 11/2016 · TD17...
  • Page 51 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Parameter reference This chapter complements the parameter list in the online help of the Lenze Controller by the parameters of the MC-PBM / MC-PBS communication card.
  • Page 52 Index: 23537 = 0x5BF1 C1038 | Device: manufacturing date Manufacturing date of the card  Read access  Write access  CINH  PLC-STOP  No transfer Lenze · Controller-based Automation · PROFIBUS® Communication Manual · DMS 4.6 EN · 11/2016 · TD17...
  • Page 53 Hardware version (C1035) Number of nodes Identification (C1031) Manufacturer (C1037) Manufacturing date (C1038) Optimising the system Name (C1033) Serial number (C1036) Software version (C1034) Version (C1032) Lenze · Controller-based Automation · PROFIBUS® Communication Manual · DMS 4.6 EN · 11/2016 · TD17...
  • Page 54 Use of repeaters Using the control as a PROFIBUS slave Using the controller as a PROFIBUS slave Using the Lenze Controller as a PROFIBUS slave Lenze · Controller-based Automation · PROFIBUS® Communication Manual · DMS 4.6 EN · 11/2016 · TD17...
  • Page 55 Perhaps we have not succeeded in achieving this objective in every respect. If you have suggestions for improvement, please e-mail us feedback-docu@lenze.com Thank you very much for your support. Your Lenze documentation team...
  • Page 56 Controller-based Automation · PROFIBUS® Communication Manual · KHBPBPCBAUTO · 13524320 · DMS 4.6 EN · 11/2016 · TD17 Lenze Automation GmbH Postfach 10 13 52, 31763 Hameln Hans-Lenze-Straße 1, 31855 Aerzen GERMANY HR Hannover B 205381 +49 5154 82-0 +49 5154 82-2800 lenze@lenze.com...

Table of Contents

Save PDF