Automation Systems Controller-based Automation 13462061 Ä.
Contents ________________________________________________________________ 1 1.1 1.2 1.3 1.
1 About this documentation ________________________________________________________________ 1 About this documentation This documentation ... • contains detailed information about the commissioning, configuration, and diagnostics of the PROFINET® bus system as part of the Lenze automation system Controller-based Automation. • is part of the "Controller-based Automation" manual collection.
1 About this documentation ________________________________________________________________ More technical documentation for Lenze components Further information on Lenze products which can be used in conjunction with Controller-based Automation can be found in the following sets of documentation: Mounting & wiring Symbols: Mounting instructions • Controller • Communication cards (MC-xxx) • I/O system 1000 (EPM-Sxxx) • Inverter, Servo Drives • Communication modules Printed documentation Online h
1 About this documentation 1.1 Document history ________________________________________________________________ 1.1 Document history Version 1.2 Description 1.0 03/2013 TD17 First edition 1.1 11/2013 TD17 Revision on the Lenze automation system"Controller-based Automation", release 3.6 1.2 04/2014 TD17 Revision on the Lenze automation system"Controller-based Automation", release 3.
1 About this documentation 1.3 Terminology used ________________________________________________________________ 1.3 Terminology used Term Meaning CL-RPC Connectionless Remote Procedure Call Code Parameter for parameterising or monitoring the field device. The term is also referred to as "index" in common usage. Controller The controller is the central component of the automation system which controls the Logic and Motion functionalities (by means of the runtime software).
1 About this documentation 1.4 Definition of the notes used ________________________________________________________________ 1.
2 Safety instructions ________________________________________________________________ 2 Safety instructions Observe the following safety instructions if you want to commission an inverter or a system with the Lenze controller. Read the documentation supplied with the system components carefully before you start commissioning the devices and the Lenze controller! Danger! The system manual contains safety instructions which must be observed! Risk of injury There is risk of injury by ...
3 Controller-based Automation: Central motion control ________________________________________________________________ 3 Controller-based Automation: Central motion control The Lenze automation system "Controller-based Automation" serves to create complex automation solutions with central motion control. Here, the Controller is the control centre of the system. Note! In the Lenze automation system, no PROFINET master functionality is supported.
3 Controller-based Automation: Central motion control ________________________________________________________________ Lenze provides especially coordinated system components: • Engineering software The Lenze Engineering tools ( 17) on your Engineering PC (Windows operating system ) serve to parameterise, configure and diagnose the system. The Engineering PC communicates with the Controller via Ethernet.
3 Controller-based Automation: Central motion control ________________________________________________________________ Fieldbus communication The Lenze Controllers have different interfaces for fieldbus communication: Area Cabinet Controller c300 3221 C 3231 C Panel Controller 3241 C p300 p500 Interfaces (on board) Ethernet 1 2 1 2 EtherCAT 1 1) 1 1 1) 1 CANopen 1 2) - 1 2) - Optional interfaces (communication cards) CANopen MC-CAN2 - - PROFIBUS master MC-PBM - - PR
4 The Lenze automation system with PROFINET ________________________________________________________________ 4 The Lenze automation system with PROFINET Note! • In the Lenze automation system, no PROFINET master functionality is supported. In a PROFINET network, a Lenze Controller can only be driven as I/O device (slave), e.g. by a Siemens SIMATIC S7 PLC. • In the Lenze automation system, Logic field devices can be exclusively operated via PROFINET.
4 The Lenze automation system with PROFINET 4.1 Structure of the PROFINET system ________________________________________________________________ 4.1 Structure of the PROFINET system [4-1] Example: PROFINET configuration with a Siemens SIMATIC S7-PLC (Lenze Controller 3221 C with I/O system 1000 and Servo Drives 9400 as I/O devices) Usually, field devices with PROFINET interface with an existing GSDML file can be used in a PROFINET network.
4 The Lenze automation system with PROFINET 4.2 Network topology ________________________________________________________________ 4.2 Network topology It is typical of PROFINET to have a rather free topology, the limiting factor of which is large message latencies due to e.g. switches connected in series.
4 The Lenze automation system with PROFINET 4.3 Field devices ________________________________________________________________ 4.
4 The Lenze automation system with PROFINET 4.4 PROFINET hardware for Lenze Controllers ________________________________________________________________ 4.4 PROFINET hardware for Lenze Controllers MC-PND communication card The MC-PND communication card serves to connect the Lenze Controller as I/O device (slave) to a PROFINET network.
4 The Lenze automation system with PROFINET 4.5 Lenze Engineering tools ________________________________________________________________ 4.5 Lenze Engineering tools The Lenze Engineering tools enable the configuration and operation of controller-based Lenze automation systems according to individual requirements. Use the corresponding Engineering tool applicable to the field device.
5 Technical data 5.1 Technical data of the MC-PND communication card ________________________________________________________________ 5 Technical data 5.1 Technical data of the MC-PND communication card Area Values Communication profile PROFINET Communication medium / cable type S/FTP (Screened Foiled Twisted Pair, ISO/IEC 11801 or EN 50173), CAT5e Standard Ethernet (acc. to IEEE 802.
5 Technical data 5.2 PROFINET connection ________________________________________________________________ 5.2 PROFINET connection PROFINET is connected via the RJ45 sockets. RJ45 socket 1 8 MC-PNx-003 Pin Assignment 1 Tx + 2 Tx - 3 Rx + 4 Term1 1) 5 Term1 1) 6 Rx - 7 Term2 2) 8 Term2 2) 1) Bridged and terminate to PE via RC element. 2) Bridged and terminate to PE via RC element. Tip! The PROFINET interfaces feature an auto MDIX function.
6 Commissioning of the PROFINET 6.1 Overview of the commissioning steps ________________________________________________________________ 6 Commissioning of the PROFINET Note! • In the Lenze automation system, no PROFINET master functionality is supported. In a PROFINET network, a Lenze Controller can only be driven as I/O device (slave), e.g. by a Siemens SIMATIC S7 PLC. • In the Lenze automation system, Logic field devices can be exclusively operated via PROFINET.
6 Commissioning of the PROFINET 6.2 The commissioning steps in detail ________________________________________________________________ 6.2 The commissioning steps in detail In the following sections, the individual commissioning steps are described. Follow the instructions of these sections step by step in order to commission your system. 6.2.1 More detailed information about how to work with the Lenze Engineering tools can be found in the corresponding manuals and online helps.
6 Commissioning of the PROFINET 6.2 The commissioning steps in detail ________________________________________________________________ 6.2.3 Create a project folder Create a project folder on the Engineering PC.
6 Commissioning of the PROFINET 6.2 The commissioning steps in detail ________________________________________________________________ 6.2.5 Importing missing devices / device description files A device description file contains the data of the fieldbus peripherals needed for the higher-level control. This file is required to programme the higher-level control (e.g. via the »STEP7« project of a Siemens SIMATIC S7 PLC).
6 Commissioning of the PROFINET 6.2 The commissioning steps in detail ________________________________________________________________ 6.2.6 Creating a PLC program with a target system (Logic) By means of the »PLC Designer« you can map the network topology in the control configuration. Tip! In the »PLC Designer«, PROFINET stations and stations of other fieldbus systems can be configured. Mixed operation PROFINET with EtherCAT ( 32) How to create a PLC program in »PLC Designer« 1.
6 Commissioning of the PROFINET 6.2 The commissioning steps in detail ________________________________________________________________ 4. Go to the Standard project dialog window and select the target system in the Device selection field: • Lenze Logic Controller For controlling inverters which perform simple motions, do not have any motion functionality or are controlled via pure PLC functionalities.
6 Commissioning of the PROFINET 6.2 The commissioning steps in detail ________________________________________________________________ 6.2.7 Configuring the communication parameters Set the communication parameters to establish an online connection to the Lenze controller later on. 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.
6 Commissioning of the PROFINET 6.2 The commissioning steps in detail ________________________________________________________________ 3. Click the Scan network button. 4. Select the suitable means of the controller for the IP address entered under 2. and activate it by Set active path button (or by double-click). 5.
6 Commissioning of the PROFINET 6.2 The commissioning steps in detail ________________________________________________________________ 6.2.8 Creating a control configuration (adding field devices) Note! The PROFINET Lenze Controller is exclusively configured using the »PLC Designer«. Other Lenze field devices receive their PROFINET configuration from the higher-level control (e.g. via the »STEP7« project of a Siemens SIMATIC S7 PLC).
6 Commissioning of the PROFINET 6.2 The commissioning steps in detail ________________________________________________________________ 2. Name the inserted I/O device sensibly (e.g. "Drive_vertical_3221C_1"). You can enter a name by clicking on the element. The names must … • only contain the characters "A ... Z", "a ... z", "0 ... 9" or "_"; • not begin with a digit. 3. Execute the Add device command in the context menu of the I/O device.
6 Commissioning of the PROFINET 6.2 The commissioning steps in detail ________________________________________________________________ 4. Select the I/O modules to be used for the I/O device in the "Add device" dialog window and add it to the I/O device by using the Add device button. Note! The I/O modules defined by Lenze behave consistently. If the value of a consistent module changes, the entire module is written on the bus in the same cycle.
6 Commissioning of the PROFINET 6.2 The commissioning steps in detail ________________________________________________________________ 6.2.9 Configuring the I/O device Set the IP address, subnet mask, gateway address and the station name of the I/O device in the PNIO identification tab. • Within the PROFINET network, the IP address of the I/O device has to be unambiguous. • You do not have to set a baud rate as the I/O device automatically accepts the settings of the I/ O master. 6.2.
7 Mixed operation PROFINET with EtherCAT ________________________________________________________________ 7 Mixed operation PROFINET with EtherCAT [7-1] Example: Mixed operation of PROFINET with EtherCAT on the Lenze Controller 3221 C Within the Lenze Controller-based Automation, PROFINET can be used in parallel to the EtherCAT bus system. This is useful if not all devices are available for the same bus system or if EtherCAT is required in parallel to PROFINET.
8 Defining the cycle time of the PLC project 8.1 Determining the task utilisation of the application ________________________________________________________________ 8 Defining the cycle time of the PLC project This chapter provides information on how to ... • die Determining the task utilisation of the application ( 33); • das Optimising the system ( 35). 8.
8 Defining the cycle time of the PLC project 8.1 Determining the task utilisation of the application ________________________________________________________________ How to determine the task utilisation: Initial situation: A complete project, e.g. with a PROFINET task and 2 lower priority tasks has been created. 1. For a first measurement of the task utilisation, set the cycle times of all cyclic tasks available in the PLC system "high" (e.g. PROFINET task = 10 ms, all other cyclic tasks = 20 ms).
8 Defining the cycle time of the PLC project 8.2 Optimising the system ________________________________________________________________ 8.2 Optimising the system How to optimise the system: 1. Use the menu command Online Login, or log in on the Lenze controller with +. With the log-in, the I/O device configuration is loaded into the controller. 2. Check the task processing times. 3.
9 Diagnostics ________________________________________________________________ 9 Diagnostics The PROFINET field devices, communication modules and the MC-PND communication card are provided with LED status displays for diagnostics. Furthermore, the »PLC Designer« provides a function library for diagnosing PROFINET.
9 Diagnostics 9.1 LED status displays of the MC-PND communication card ________________________________________________________________ 9.
9 Diagnostics 9.2 Diagnostics in the »PLC Designer« ________________________________________________________________ 9.2 Diagnostics in the »PLC Designer« Only if an online connection to the Lenze Controller has been established, the Status tab displays information on the 38 PROFINET status and I/O device statuses: Lenze · Controller-based Automation · PROFINET® Communication Manual · DMS 1.
10 Parameter reference ________________________________________________________________ 10 Parameter reference This chapter complements the parameter list in the online help of the Lenze Controller by the parameters of the MC-PND communication card. These parameters ... • are for instance shown in the Lenze »WebConfig« (Engineering tool for web-based parameterisation); • are listed in numerically ascending order.
10 Parameter reference ________________________________________________________________ C1037 Parameter | Name: C1037 | Device: manufacturer Data type: VISIBLE_STRING Index: 23538 = 0x5BF2 Manufacturer of the card Read access Write access CINH PLC-STOP No transfer C1038 Parameter | Name: C1038 | Device: manufacturing date Data type: VISIBLE_STRING Index: 23537 = 0x5BF1 Manufacturing date of the card Read access Write access CINH PLC-STOP No transfer 40 Lenze · Controller-based
Index ________________________________________________________________ A E Adding devices 28 Adding field devices 28 Application notes 7 EASY Navigator 17 E-mail to Lenze 43 Engineering software 17 Engineering tools 17 C C1031 | Device: Identification 39 C1032 | Device: Version 39 C1033 | Device: Name 39 C1034 | Device: Software version 39 C1035 | Device: Hardware version 39 C1036 | Device: Serial number 39 C1037 | Device: Manufacturer 40 C1038 | Device: Manufacturing date 40 Cable length (max.
Index ________________________________________________________________ S Safety instructions 7, 8 Screenshots 4 Software 17 Special features of the MC-PND communication card 18 Status 38 Status displays of the MC-PND communication card 37 Structure of the PROFINET system 13 Structure of the safety instructions 7 System structure of the Controller-based Automation 9 T Target group 4 Task configuration 33 Technical data 18 Technical data of the MC-PND communication card 18 Terms 6 Type within the network 18
)(('%$&. Your opinion is important to us These instructions were created to the best of our knowledge and belief to give you the best possible support for handling our product. Perhaps we have not succeeded in achieving this objective in every respect. If you have suggestions for improvement, please e-mail us to: feedback-docu@lenze.com Thank you very much for your support.
Controller-based Automation · PROFINET® Communication Manual · KHBPNETPCBAUTO · 13462061 · DMS 1.2 EN · 04/2014 · TD17 Lenze Automation GmbH Postfach 10 13 52, D-31763 Hameln Hans-Lenze-Straße 1, D-31855 Aerzen Germany +49 5154 82-0 +49 5154 82-2800 lenze@lenze.com www.lenze.com Service Lenze Service GmbH Breslauer Straße 3, D-32699 Extertal Germany 008000 24 46877 (24 h helpline) +49 5154 82-1112 service@lenze.