• 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. It consists of the following sets
of documentation:
Documentation typeSubject
System manualsSystem overview/sample topologies
• Controller-based Automation
• Visualization
Communication manuals
Online helps
Reference manuals
Online helps
Software manuals
Online helps
Bus systems
• Controller-based Automation EtherCAT®
• Controller-based Automation CANopen®
• Controller-based Automation PROFIBUS®
• Controller-based Automation PROFINET®
Lenze Controller:
• Controller 3200 C
• Controller c300
• Controller p300
• Controller p500
Lenze Engineering Tools:
• »PLC Designer«: Programming
• »Engineer«: Inverter configuration
• »VisiWinNET® Smart«: Visualisation
• »Backup & Restore«: Back up/restore data
Lenze · Controller-based Automation · PROFINET® Communication Manual · DMS 1.2 EN · 04/2014 · TD173
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 & wiringSymbols:
Mounting instructions
• Controller
• Communication cards (MC-xxx)
• I/O system 1000 (EPM-Sxxx)
• Inverter, Servo Drives
•Communication modules
Operating instructions
• Controller
• Servo system ECS (ECSxE, ECSxM)
Sample applications/Using application templates
Online help/software manuals
• Application Sample i700
• Application Samples
• ApplicationTemplate
Parameterisation, configuration, commissioning
Online help/reference manuals
•L-force Controller
• Inverter, Servo Drives
• I/O system 1000 (EPM-Sxxx)
Online help/communication manuals
• Bus systems
•Communication modules
Operating instructions
• Servo system ECS (ECSxE, ECSxM)
Printed documentation
Online help in the Lenze Engineering
Tool (also available as PDF file at
www.lenze.com
.)
Tip!
Current documentation and software updates with regard to Lenze products can be found
in the download area at:
www.lenze.com
Target group
This documentation is intended for persons who plan, install, commission and maintain the
networking of devices as part of the Lenze automation system "Controller-based Automation".
Information on validity
The information provided in this documentation is valid for the Lenze automation system
"Controller-based Automation" from version 3.
Screenshots/application examples
All screenshots in this documentation are application examples. Depending on the firmware
version of the field devices and the software version of the Engineering tools installed (e.g. »PLC
Designer« ), screenshots in this documentation may differ from the representation on the screen.
4Lenze · Controller-based Automation · PROFINET® Communication Manual · DMS 1.2 EN · 04/2014 · TD17
1.111/2013TD17 Revision on the Lenze automation system"Controller-based Automation",
1.204/2014TD17 Revision on the Lenze automation system"Controller-based Automation",
release 3.6
release 3.8
1.2Conventions used
This documentation uses the following conventions to distinguish between different types of
information:
Type of informationHighlightingExamples/notes
Spelling of numbers
DecimalNormal spellingExample: 1234
Decimal separatorsPointThe decimal point is generally used.
For example: 1234.56
Hexadecimal0x[0 ... 9, A ... F]Example: 0x60F4
Binary
• Nibble
Text
Program name» «PC software
WindowitalicsThe message window... / The Options dialog box ...
Variable namesSetting bEnable to TRUE...
Control elementboldThe OK button ... / The Copy command ... / The Properties
Sequence of menu
commands
Shortcut<bold>Use <F1> to open the online help.
Program codeCourierIF var1 < var2 THEN
KeywordCourier bold
Hyperlinkunderlined
Symbols
Page reference ( 5)Optically highlighted reference to another page. Can be
Step-by-step instructions
0b[0, 1]Example: ’0b0110’
Example: ’0b0110.0100’
Example: Lenze »Engineer«
tab ... / The Name input field ...
If several successive commands are required for
executing a function, the individual commands are
separated from each other by an arrow: Select the
command File
If a key combination is required for a command, a "+" is
placed between the key identifiers: With
<Shift>+<ESC>...
a = a + 1
END IF
Optically highlighted reference to another topic. Can be
activated with a mouse-click in this documentation.
activated with a mouse-click in this documentation.
Step-by-step instructions are marked by a pictograph.
Open to...
Lenze · Controller-based Automation · PROFINET® Communication Manual · DMS 1.2 EN · 04/2014 · TD175
CodeParameter for parameterising or monitoring the field device. The term is also
ControllerThe controller is the central component of the automation system which
Engineering PCThe Engineering PC and the Engineering tools installed serve to configure and
Engineering toolsLenze software solutions for simply engineering in all phases:
Fieldbus stationsController (PLC) and inverter integrated into the bus system (PROFINET)
Field device
GSDML fileA GSDML file described the properties of a field device.
I/O devicePROFINET slave
I/O masterPROFINET master
InverterGeneric term for Lenze frequency inverters, Servo Inverters
PDOProcess Data Object
PLCProgrammable Logic Controller
RT over UDPReal Time over User Datagram Protocol
SubcodeIf a code contains several parameters, they are stored in so-called "subcodes".
referred to as "index" in common usage.
controls the Logic and Motion functionalities (by means of the runtime
software).
The controller communicates with the field devices via the fieldbus.
parameterise the system.
The Engineering PC communicates with the controller via Ethernet.
• »EASY Starter«
• »Engineer«
•»PLC Designer«
•»WebConfig«
•»VisiWinNET®«
•»IPC Backup & Restore«
Lenze Engineering tools
Siemens software for programming and configuring Siemens SIMATIC S7 PLC:
•»STEP7«
EtherCAT® (Ethernet for Controller and Automation Technology) is an Ethernetbased fieldbus system which fulfils the application profile for industrial realtime systems.
EtherCAT® is a registered trademark and patented technology, licensed by
Beckhoff Automation GmbH, Germany.
It is described with the XML-based language GSDML (General Station
Description Markup Language).
The I/O master takes over the master function for data communication of the
decentralised field devices. The I/O master is usually the communication
interface of a PLC.
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 (PI) user organisation.
This manual uses a slash "/" as a separator between code and subcode
(e.g. "C00118/3").
In normal usage, the term is also referred to as "Subindex".
( 17)
6
Lenze · Controller-based Automation · PROFINET® Communication Manual · DMS 1.2 EN · 04/2014 · TD17
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!
The system manual contains safety instructions which must be observed!
Danger!
Risk of injury
There is risk of injury by ...
• unpredictable motor movements (e.g. an unintended direction of rotation, too high
speeds, or jerky movement);
• impermissible operating states during the parameterisation while there is an active
online connection to the device.
Possible consequences
Death or severe injuries
Protective measures
• 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).
• During commissioning, maintain an adequate safety distance to the motor or the
machine parts driven by the motor.
Stop!
Damage or destruction of machine parts
Damage or destruction of machine parts can be caused by ...
• unpredictable motor movements (e.g. an unintended direction of rotation, too high
speeds, or jerky movement);
• impermissible operating states during the parameterisation while there is an active
online connection to the device.
Possible consequences
Damage or destruction of machine parts
Protective measures
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).
8Lenze · Controller-based Automation · PROFINET® Communication Manual · DMS 1.2 EN · 04/2014 · TD17
3Controller-based Automation: Central motion control
3Controller-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. In a
PROFINET network, a Lenze Controller can only be driven as I/O device (slave), e.g. by a
Siemens SIMATIC S7 PLC.
System structure of the Controller-based Automation: "All from one single source"
[3-1]Example: PROFINET with a Siemens SIMATIC S7 PLC (Lenze Controller 3221 C with I/O system 1000 and Servo Drive 9400 as
I/O devices)
Lenze · Controller-based Automation · PROFINET® Communication Manual · DMS 1.2 EN · 04/2014 · TD179
3Controller-based Automation: Central motion control
Lenze provides especially coordinated system components:
• Engineering software
The Lenze Engineering tools
to parameterise, configure and diagnose the system. The Engineering PC communicates with
the Controller via Ethernet.
•Controller
The Lenze Controller is available as Panel Controller with integrated touch display and as
Cabinet Controller in control cabinet design.
Cabinet Controllers provide a direct coupling of the I/O system 100 via the integrated backplane
bus.
The runtime software of the Lenze Controllers provides the control and/or visualisation of
motion sequences. The following software versions are available:
• "Logic": Sequence control in the Controller, motion control in the inverter
• "Motion": Sequence control and motion control in the Controller, inverter as actuating drive
• "Visu": Optional visualisation of the automation system, can be used separately or in addition
to "Logic" or "Motion"
An external monitor panel/display can be connected to the Cabinet Controller 3231 C/
3241 C.
• Without software: Controller as single component with operating system only
•Bus systems
EtherCAT is a standard "on board" bus system of the Controller-based Automation. EtherCAT
enables the control of all nodes (Motion/Logic) on one common fieldbus.
Optionally, CANopen, PROFIBUS and PROFINET can be used as extended topologies.
The Controllers c300/p300 have a CANopen interface "on board" as well (in addition to
EtherCAT).
• Inverter (e.g. Servo Inverter i700)
( 17) on your Engineering PC (Windows operating system ) serve
"Logic & Motion" runtime software
The "Controller-based Automation" system allows for the central control of devices for Logic and
Motion applications. The runtime software runs on the Controller.
In case of Logic applications, the sequence control is carried out in the Controller and the motion
control is carried out in the inverter.
In case of Motion applications , the sequence control and motion control are carried out in the
Controller. The inverter is used as actuating drive.
• Motion applications make special demands on the cycle time and real-time capability of the bus
system between the Controller and the subordinate fieldbus nodes.
• this is for instance the case if the field devices, for example, are to move in a synchronised way
or if position setpoints are to be transmitted.
10Lenze · Controller-based Automation · PROFINET® Communication Manual · DMS 1.2 EN · 04/2014 · TD17
3Controller-based Automation: Central motion control
• 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. Thus, as an I/O device, the Lenze Controller is a Logic field device.
• The motion functionality is not supported when PROFINET is used. Always use
EtherCAT to connect inverters to be controlled via the central Motion functionality.
Mixed operation PROFINET with EtherCAT
This chapter provides basic information about ...
• the structure of the Lenze automation system using the PROFINET bus system;
• the Lenze Engineering tools required for commissioning;
• the interaction of the components.
( 32)
We recommend using PROFINET for the following applications:
• Equipment and extension of system parts that have already been automated with PROFINET
before.
• Use of field devices that are not available for e.g. EtherCAT, CANopen or PROFIBUS.
• The combination of PROFINET with EtherCAT is possible.
Tip!
Detailed information about PROFINET can be found on the website of the PROFIBUS &
PROFINET user organisation:
www.profibus.com
12Lenze · Controller-based Automation · PROFINET® Communication Manual · DMS 1.2 EN · 04/2014 · TD17
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.
PROFINET supports the following topologies:
Line topology
[4-2]Line topology (M = I/O master, D = I/O device)
Star topology
[4-3]Star topology (M = I/O master, D = I/O device)
Tree topology
[4-4]Tree topology via switches (M = IO master, SW = switch, D = I/O device)
14
Lenze · Controller-based Automation · PROFINET® Communication Manual · DMS 1.2 EN · 04/2014 · TD17
The PROFINET interfaces feature an auto MDIX function. This function adjusts the polarity
of the RJ45 interfaces so that a connection is established irrespective of the polarity of the
opposite PROFINET interface, and irrespective of the cable type used (standard patch cable
or crossover cable).
Lenze · Controller-based Automation · PROFINET® Communication Manual · DMS 1.2 EN · 04/2014 · TD1719
• 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. Thus, as an I/O device, the Lenze Controller is a Logic field device.
• The motion functionality is not supported when PROFINET is used. Always use
EtherCAT to connect inverters to be controlled via the central Motion functionality.
Mixed operation PROFINET with EtherCAT
This chapter provides information on how to commission the Lenze automation system with
PROFINET.
( 32)
Depending on the field devices used, the following Lenze Engineering tools
• »EASY Starter«
• »Engineer«
•»PLC Designer«
6.1Overview of the commissioning steps
The main commissioning steps are listed in the following table.
StepActivitySoftware to be used
1stPlanning the bus topology
2ndInstalling field devices
3rdCreate a project folder ( 22)
4thCommissioning the field devices
If necessary Importing missing devices / device description files
( 23)
5thCreating a PLC program with a target system (Logic)
6.Configuring the communication parameters ( 26)
7.Creating a control configuration (adding field devices)
8.Configuring the I/O device
9.Logging in on the controller with the »PLC Designer«
With the log-in, the I/O device configuration is loaded into the
controller.
( 21)
( 21)
( 31)
( 17) are required:
( 22)»Engineer«/»EASY Starter«
»STEP7«
( 24)»PLC Designer«
( 28)
( 31)
20
Lenze · Controller-based Automation · PROFINET® Communication Manual · DMS 1.2 EN · 04/2014 · TD17
Use this project folder to store the data generated in the following different project configuration
steps:
• Project data created in the »Engineer« or »EASY Starter«
• The project file created in the »PLC Designer«
Tip!
Create a separate project folder for every PROFINET configuration and store the project
files.
6.2.4Commissioning the field devices
Parameterise the Lenze field devices connected to the PROFINET network by means of the
»Engineer« or »EASY Starter«.
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). PROFINET settings, which might be made by
»Engineer«/»EASY Starter«, will be overwritten.
Documentation of the Lenze field devices
Detailed information about the commissioning of the Lenze field devices is provided
here.
Tip!
We recommend to commission each field device individually and then integrate them into
the PLC program.
22
Lenze · Controller-based Automation · PROFINET® Communication Manual · DMS 1.2 EN · 04/2014 · TD17
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).
With the »PLC Designer«, device descriptions for the following Lenze device series are installed as
well:
• i700 servo inverter
• Servo Drives 9400
• Inverter Drives 8400
• I/O system 1000 (EPM-Sxxx)
• Fieldbus communication cards for Lenze Controllers
(EtherCAT, CANopen, PROFIBUS, PROFINET)
In order to furthermore integrate missing devices or devices of other manufacturers, the
corresponding device description files of the manufacturer are required.
In the »PLC Designer« you can import device description files of the *.XML, *.devdesc.XML, *.EDS,
*.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 · PROFINET® Communication Manual · DMS 1.2 EN · 04/2014 · TD1723
6.2.6Creating 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. Use the menu command File New project to create a new »PLC Designer« project.
2. Select "Standard project" in the New project dialog box.
A "Standard project" simplifies the structure of a project in the »PLC Designer«; for instance,
a device tree structure with a target system, PLC logic, etc. is provided.
• Go to the Name input field and enter a name for your »PLC Designer« project.
• Select the previously created project folder as storage location in the Location
selection field.Create a project folder
3. Confirm the entries by clicking OK.
( 22)
24
Lenze · Controller-based Automation · PROFINET® Communication Manual · DMS 1.2 EN · 04/2014 · TD17
6.2.8Creating 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).
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 to extend the control configuration by the PROFINET I/O
device.
28
Lenze · Controller-based Automation · PROFINET® Communication Manual · DMS 1.2 EN · 04/2014 · TD17
[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.
Controller-based Automation EtherCAT communication manual
Here you can find information on the commissioning of EtherCAT components.
32Lenze · Controller-based Automation · PROFINET® Communication Manual · DMS 1.2 EN · 04/2014 · TD17
8Defining the cycle time of the PLC project
8.1Determining the task utilisation of the application
•die Determining the task utilisation of the application
•das Optimising the system
8.1Determining the task utilisation of the application
In the online mode, the Monitor tab of the Task Configuration shows current status details and
measurements of the cycles, cycle times, and jitters of the tasks contained.
( 35).
( 33);
The values are updated in the same time interval as that used for monitoring the values from the
controller.
If the cursor is on a task nam e 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 · PROFINET® Communication Manual · DMS 1.2 EN · 04/2014 · TD1733
8Defining the cycle time of the PLC project
8.1Determining the task utilisation of the application
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).
2. Use the menu command Online Login, or log in on the Lenze controller with <Alt>+<F8>.
With the log-in, the I/O device configuration is loaded into the controller.
3. Reset the values displayed on the Monitor tab of the Task Configuration to 0 after the
complete run-up of the system.
Execute the Reset command from the context menu of the task name field.
4. Read the displayed maximum computing time of the task with the highest priority.
In the illustration above, the max. cycle time of the PROFINET task is 399 μs.
The task cycle time does not have to be faster than the set PROFINET cycle time.
34
Lenze · Controller-based Automation · PROFINET® Communication Manual · DMS 1.2 EN · 04/2014 · TD17
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.
Note!
Siemens »STEP7«: "Node blinking test"
SIEMENS »STEP7« provides a "node blinking test" which permits an optical verification
of the physical connection between the Siemens S7-PLC and a PROFINET node (I/O
device).
Here, both LEDs are blinking simultaneously twice per second (2 Hz) at the RJ45 socket
of the I/O device.
In »STEP7« version 5.5, this function is defective and does no create the wanted result.
Documentation of the field devices / PROFINET communication modules
Here you'll find some detailed information on the LED status displays of the field devices
and communication modules.
36Lenze · Controller-based Automation · PROFINET® Communication Manual · DMS 1.2 EN · 04/2014 · TD17
9Diagnostics
ACTIVE
LINK
PROFINET
SYS
ST0
ST1
ST2
9.1LED status displays of the MC-PND communication card
Only if an online connection to the Lenze Controller has been established, the Status tab displays
information on the PROFINET status and I/O device statuses:
38
Lenze · Controller-based Automation · PROFINET® Communication Manual · DMS 1.2 EN · 04/2014 · TD17
Adding devices 28
Adding field devices 28
Application notes 7
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.) 18
Cable type 18
Codes 39
Commissioning of the PROFINET 20
Commissioning the field devices 22
Communication medium 18
Communication profile 18
Communication Settings 26
Communication type 18
Configuring the communication parameters 26
Configuring the I/O device 31
Conventions used 5
Create a project folder 22
Creating a control configuration 28
Creating a PLC program with a target system (Logic) 24
Creating a target system (Logic) 24
Cycle time 18
D
Defining the cycle time of the PLC project 33
Determining the task utilisation of the application 33
Device
Hardware version (C1035)
Identification (C1031) 39
Manufacturer (C1037) 40
Manufacturing date (C1038) 40
Name (C1033) 39
Serial number (C1036) 39
Software version (C1034) 39
Version (C1032) 39
Diagnostics 36
Diagnostics with the »PLC Designer« 38
Feedback to Lenze 43
Field devices 15
Fieldbus communication (interfaces) 11
Functions of the MC-PND communication card 18
G
GSDML file for configuration 13
I
I/O data 18
Importing device description files 23
Importing missing devices 23
Installing field devices 21
Interfaces for fieldbus communication 11
L
Layout of the safety instructions 7
LED status displays of the MC-PND communication card 37
Lenze Engineering tools 17
Logging in on the controller 31
Logging in on the controller with the »PLC Designer« 31
M
MC-PND communication card 16
MC-PND communication card, LED status displays 37
MC-PND communication card, technical data 18
Mixed operation PROFINET with EtherCAT 32
N
Network topology 14, 18
O
Optimising the system 35
P
Parameter reference 39
PDO data 18
PNIO identification 31
PROFINET 12
PROFINET connection 19
PROFINET hardware for Lenze Controllers 16
PROFINET system (structure) 13
PROFINET with EtherCAT (mixed operation) 32
Lenze · Controller-based Automation · PROFINET® Communication Manual · DMS 1.2 EN · 04/2014 · TD1741
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
42Lenze · Controller-based Automation · PROFINET® Communication Manual · DMS 1.2 EN · 04/2014 · TD17
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.
Your Lenze documentation team
43
Controller-based Automation · PROFINET® Communication Manual · KHBPNETPCBAUTO · 13462061 · DMS 1.2 EN · 04/2014 · TD17