• contains detailed information about the commissioning, configuration, and diagnostics of the
PROFIBUS® 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
• Visualising
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
4Lenze · Controller-based Automation · PROFIBUS® Communication Manual · DMS 4.3 EN · 04/2014 · TD17
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
Parameter setting, 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.
Lenze · Controller-based Automation · PROFIBUS® Communication Manual · DMS 4.3 EN · 04/2014 · TD175
This documentation uses the following conventions to distinguish different types of information:
Type of informationIdentificationExamples/notes
Numbers
DecimalNormal spellingExample: 1234
Decimal separatorPointIn general, the decimal point is used.
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 nameSetting 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
Icons
Page reference ( 7)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 · PROFIBUS® Communication Manual · DMS 4.3 EN · 04/2014 · TD177
CodeParameter for parameterising or monitoring the field device. The term is also referred to as
ControllerThe controller is the central component of the automation system which controls the Logic
Engineering PCThe Engineering PC and the Engineering tools installed serve to configure and parameterise
Engineering toolsLenze software solutions for simply engineering in all phases:
Fieldbus stationsController (PLC) and inverter integrated in the bus system (PROFIBUS)
Field device
GSD / GSEDevice data base file (device description for PROFIBUS stations)
InverterGeneric term for Lenze frequency inverters, Servo Inverters
PLCProgrammable Logic Controller
SubcodeIf a code contains several parameters, they are stored in so-called "subcodes".
"index" in common usage.
and Motion functionalities (by means of the runtime software).
The controller communicates with the field devices via the fieldbus.
the system.
The Engineering PC communicates with the controller via Ethernet.
•»EASY Starter«
• »Engineer«
•»PLC Designer«
•»WebConfig«
•»VisiWinNET®«
•»IPC Backup & Restore«
Lenze Engineering tools
EtherCAT® (Ethernet for Controller and Automation Technology) is an Ethernet-based
fieldbus system which meets the application profile for industrial real-time systems.
EtherCAT® is a registered trademark and patented technology, licensed by Beckhoff
Automation GmbH, Germany.
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).
10Lenze · Controller-based Automation · PROFIBUS® Communication Manual · DMS 4.3 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.
System structure of the Controller-based Automation: "All from one single source"
[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.3 EN · 04/2014 · TD1711
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)
( 21) 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.
12Lenze · Controller-based Automation · PROFIBUS® Communication Manual · DMS 4.3 EN · 04/2014 · TD17
3Controller-based Automation: Central motion control
In the Lenze automation system PROFIBUS is exclusively used as Logic bus.
The Motion functionality is not supported when PROFIBUS is used. Always use EtherCAT
to connect inverters to be controlled via the central motion functionality.
Mixed operation PROFIBUS with EtherCAT
This chapter provides basic information about ...
• the structure of the Lenze automation system using the PROFIBUS bus system;
• the Lenze Engineering tools required for commissioning;
• the interaction of the components.
4.1Brief description of PROFIBUS
Today, PROFIBUS is the most commonly used fieldbus system. As it comes with the widest range of
various field devices, PROFIBUS is occasionally prioritised over more modern bus systems. Due to the
low bandwidth and synchronisation mechanisms, PROFIBUS is only provided as a logic bus as part
of the Lenze automation system.
We recommend using PROFIBUS for the following applications:
• Equipment and extension of system parts that have already been automated with PROFIBUS
before.
• Use of field devices that are not available for e.g. EtherCAT or CANopen.
• 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:
( 42)
14
www.profibus.com
Lenze · Controller-based Automation · PROFIBUS® Communication Manual · DMS 4.3 EN · 04/2014 · TD17
[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).
PROFIBUS has an internal line topology (without repeater) or a tree topology (with repeater).
Basic wiring of PROFIBUS
The PROFIBUS network must be terminated at the first and last station. The bus terminating resistor
is integrated into the bus connector and is activated by a switch.
Using the Lenze Controller as a PROFIBUS slave
Using the MC-PBS communication card, the Lenze Controllers can also be applied as PROFIBUS
slaves.
( 17)
Tip!
A sample project for operation of a 3200 C controller as PROFIBUS slave can be found in the
"Download" area at www.Lenze.com
Application Knowledge Base: All articles Application Ideas Pool Controller 3200 C
:
Lenze · Controller-based Automation · PROFIBUS® Communication Manual · DMS 4.3 EN · 04/2014 · TD1715
The PROFIBUS stations can be parameterised in different ways.
If field devices are used the parameters of which are completely written to an GSD/GSE file,
PROFIBUS can only be configured with the »PLC Designer«:
• Import of the PROFIBUS slaves' GSD/GSE files into the »PLC Designer« project.
• Set-up of the control configuration and creation of the PLC program
If PROFIBUS configuration is only possible via a PROFIdrive parameter channel, the
parameterisation can also be done using the »Engineer«/»EASY Starter« – depending on the device
type via the following interfaces:
•Ethernet
•CAN
• Diagnostic interface
Note!
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.
16
Lenze · Controller-based Automation · PROFIBUS® Communication Manual · DMS 4.3 EN · 04/2014 · TD17
Two simple RS485 networks are described in the following examples.
Each segment of the network must be terminated at both ends. The bus terminators of the
PROFIBUS are marked with a "Z" in each one of the following examples.
In the case of an RS485 network consisting of only one segment, the network starts at the PROFIBUS
master (M) with the integrated bus terminating resistor and ends at the last PROFIBUS station (S);
its bus terminating resistor in the bus connector must be activated.
[4-2]PROFIBUS network with one segment
A PROFIBUS network consisting of several segments contains repeaters (R) for connecting the
segments. The repeaters are provided with integrated bus terminating resistors.
[4-3]PROFIBUS network with repeaters
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
( 26)
E94YCPM012a
E94YCPM012b
Lenze · Controller-based Automation · PROFIBUS® Communication Manual · DMS 4.3 EN · 04/2014 · TD1717
Repeaters do not have a station address. When calculating the maximum number of
stations, they reduce the number of stations by 1 on each side of the segment.
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.
18
Lenze · Controller-based Automation · PROFIBUS® Communication Manual · DMS 4.3 EN · 04/2014 · TD17
5.1Technical data of the MC-PBM / MC-PBS communication card
AreaValues
ProtocolPROFIBUS-DP (V0, V1), ISO 7498
Communication mediumRS485
Network topology• Line terminated on both sides (without repeater)
• Tree (with repeaters)
Type within the network• MC-PBM: Master
• MC-PBS: Slave
Baud rateSee "Bus cable length
Bus length
Connection9-pin Sub-D socket
" ( 24)
I/O data of MC-PBM (master)
AreaValues
Number of DP-V0/DP-V1 slaves supportedMax. 125
Cyclic output dataMax. 3584 bytes
(status information is treated separately)
Total cyclic input dataMax. 3584 bytes
Total cyclic output dataMax. 3584 bytes
Cyclic input data per slaveMax. 244 bytes/slave
Cyclic output data per slaveMax. 244 bytes/slave
Configuration dataMax. 244 bytes/slave
In the »PLC Designer« control configuration, a maximum of 125 PROFIBUS slaves (devices) can be
appended below a PROFIBUS master.
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.
I/O data of MC-PBS (slave)
AreaValues
Cyclic input dataMax. 244 bytes
Cyclic output dataMax. 244 bytes
Acyclic reading/writingMax. 240 bytes
Configuration dataMax. 244 bytes
Application-specific parameter data237 bytes
22
In the »PLC Designer« control configuration, a maximum of 24 I/O modules can be appended below
a 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.3 EN · 04/2014 · TD17
5Technical data
1
6
5
9
5.1Technical data of the MC-PBM / MC-PBS communication card
8.Creating a control configuration (adding field devices)
9.Configuration of the PROFIBUS master ( 37)
10.Configuring the PROFIBUS slave
11.Compiling the PLC program code
12.Logging in on the controller with the »PLC Designer«
With the log-in, the fieldbus configuration and the PLC program are
loaded into the Controller.
13.Starting the PLC program
( 26)
( 26)
( 27)
( 27)»Engineer« / »EASY Starter«
( 40)
( 41)
( 41)
( 42)
( 21) are required:
( 28) »PLC Designer«
( 32)
( 33)
( 41)
Lenze · Controller-based Automation · PROFIBUS® Communication Manual · DMS 4.3 EN · 04/2014 · TD1725
6.2.5Creating a PLC program with a target system (Logic/Motion)
By means of the »PLC Designer« you can map the network topology in the control configuration.
Tip!
In the »PLC Designer«, PROFIBUS stations and stations of other fieldbus systems can be
configured.
Mixed operation PROFIBUS with EtherCAT
( 42)
How to create a PLC program in the »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.
( 27)
28
Lenze · Controller-based Automation · PROFIBUS® Communication Manual · DMS 4.3 EN · 04/2014 · TD17
The device description file contains the data of the fieldbus peripherals required for the master
control. This file is required to program the control system.
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
32
Lenze · Controller-based Automation · PROFIBUS® Communication Manual · DMS 4.3 EN · 04/2014 · TD17
6.2.8Creating a control configuration (adding field devices)
Note!
The configuration of a PROFIBUS network must be created in the »PLC Designer«, since,
during the start-up of the Lenze Controller, the complete configuration is written to the
slaves connected. Settings that have been made previously in the slaves will be
overwritten.
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).
Lenze · Controller-based Automation · PROFIBUS® Communication Manual · DMS 4.3 EN · 04/2014 · TD1733
For each group, select whether it is supposed to be operated in the freeze mode and/or sync
mode. By assigning the slaves to different groups (on the DP Parameters tab of the DP
slaves, Groups... button), you can synchronise the data exchange from the master via a
global control command.
A freeze command causes a master, a slave, or a group, to "freeze" the input in the current
status and transfer these data in the next data exchange process.
A sync command causes the slaves to connect the data received by the master through to
the outputs synchronously regarding time with the next sync command.
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.
38
Lenze · Controller-based Automation · PROFIBUS® Communication Manual · DMS 4.3 EN · 04/2014 · TD17
• The PROFIBUS slave station address is automatically assigned after adding the slave to the
control configuration tree. The PROFIBUS master receives the station address ’0’, the first slave
the address ’1’, the second slave the address ’2’, and so on.
Do only change this setting if the station addresses shall deviate from the standard setting. If
required, you must manually adapt the station addresses of the other PROFIBUS stations, too.
Each station address in a PROFIBUS network must be unique (it must only appear once).
• You do not have to set a baud rate, as the slave automatically recognises the baud rate.
•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.
40
Lenze · Controller-based Automation · PROFIBUS® Communication Manual · DMS 4.3 EN · 04/2014 · TD17
In order to compile the PLC program code, select the menu command Build Build, or press
function key <F11>.
• If errors have occurred during the compilation process, you can locate and eliminate them by
means of the »PLC Designer« error messages.
Then re-translate the program code.
• If no errors have occurred during the compilation process, save the »PLC Designer« project in the
project folder.
6.2.12Logging in on the controller with the »PLC Designer«
Use the menu command Online Login or <Alt>+<F8> to log in on the Lenze Controller.
• 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.
Any possibly available configuration and PLC program are overwritten.
6.2.13Starting 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 function key <F5> to start the PLC program.
Note!
• The fieldbus starts even if not all stations of the bus are available.
• If the PLC program is stopped (<Shift>+<F8>), the cyclic data transfer continues until
a "reset origin" is carried out (menu command Online Reset origin).
Lenze · Controller-based Automation · PROFIBUS® Communication Manual · DMS 4.3 EN · 04/2014 · TD1741
[7-1]Example: Mixed operation of PROFIBUS with EtherCAT on the 3231 C Lenze Controller
Within the Lenze Controller-based Automation, PROFIBUS can be used in parallel to the EtherCAT
bus system. This is useful if not all field devices are available for the same bus system or if a Motion
bus (EtherCAT) is required in parallel to PROFIBUS.
The following combinations are permissible: PROFIBUS (Logic bus) and EtherCAT (Logic/Motion bus)
Controller-based Automation EtherCAT communication manual
Here you can find information on the commissioning of EtherCAT components.
42Lenze · Controller-based Automation · PROFIBUS® Communication Manual · DMS 4.3 EN · 04/2014 · TD17
For configuring the PROFIBUS and for diagnostic purposes, the following function libraries are
available in the »PLC Designer«:
• CAA_Device_Diagnosis.lib
• IIoDrvDPV1C1.lib
8.1CAA_Device_Diagnosis.lib function library
This library serves to query diagnostics information from the PROFIBUS master and the slaves.
Note!
The diagnostics information in the CAA_Device_Diagnosis.lib function library is
currently only partly available. 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.
8.2IIoDrvDPV1C1.lib function library
The IIoDrvDPV1C1.lib function library supports the acyclic PROFIBUS DP-V1 - class 1 writing and
reading services for data transmission between the master and the slaves. The data are addressed
via slot and index within the slave nodes (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.3 EN · 04/2014 · TD1743
9Defining the minimum cycle time of the PLC project
9.1Determining the task utilisation of the application
9Defining the minimum cycle time of the PLC project
This chapter provides information on how to ...
• Determining the task utilisation of the application
• Optimising the system
( 46)
9.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.
( 44)
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).
44
Lenze · Controller-based Automation · PROFIBUS® Communication Manual · DMS 4.3 EN · 04/2014 · TD17
9Defining the minimum cycle time of the PLC project
9.1Determining the task utilisation of the application
Initial situation: A complete project, e.g. with a PROFIBUS 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. 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.
• With the log-in, the fieldbus configuration and the PLC program are 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 PROFIBUS task is 647 μs.
The minimum cycle time (T
Note!
A safety factor of 1.5 should be included in the calculation.
) for a system can be calculated by means of the formula:
min
T
= Task utilisation x safety factor
min
Lenze · Controller-based Automation · PROFIBUS® Communication Manual · DMS 4.3 EN · 04/2014 · TD1745
9Defining the minimum cycle time of the PLC project
For the diagnostics of PROFIBUS, the »PLC Designer« provides the CAA_Device_Diagnosis.lib
function library.
Note!
The diagnostics information in the CAA_Device_Diagnosis.lib function library is
currently only partly available. 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.3 EN · 04/2014 · TD1749
Activating the bus terminating resistor 26
Adding devices 33
Adding field devices 33
Application notes 9
B
Baud rate 24
Brief description of PROFIBUS 14
Bus cable length 24
C
C1031 | Device: Identification 50
C1032 | Device: Version 50
C1033 | Device: Name 50
C1034 | Device: Software version 50
C1035 | Device: Hardware version 50
C1036 | Device: Serial number 50
C1037 | Device: Manufacturer 51
C1038 | Device: Manufacturing date 51
CAA_Device_Diagnosis.lib 43
CAA_Device_Diagnosis.lib function library 43
Cable specification of bus cable 24
Codes 50
Commissioning of PROFIBUS 25
Commissioning the field devices 27
Communication medium 22
Communication Settings 30
Compiling the PLC program code 41
Configuration of the PROFIBUS master 37
Configuring the communication parameters 30
Configuring the PROFIBUS slave 40
Conventions used 7
Create a project folder 27
Creating a control configuration 33
Creating a PLC program with a target system (Logic/Motion) 28
Creating a target system (Logic/Motion) 28
Feedback to Lenze 54
Field devices 19
Fieldbus communication (interfaces) 13
Function libraries 43
I
I/O data of MC-PBM (master) 22
I/O data of MC-PBS (slave) 22
IIoDrvDPV1C1.lib 43
IIoDrvDPV1C1.lib function library 43
Importing device description files 32
Importing missing devices 32
Installing field devices 26
Interfaces for fieldbus communication 13
L
Layout of the safety instructions 9
LED status displays of the MC-PBM communication card 47
LED status displays of the MC-PBS communication card 48
Lenze Engineering tools 21
Logging in on the controller 41
Logging in on the controller with the »PLC Designer« 41
M
MC-PBM Communication card 20
MC-PBM communication card 20
MC-PBM communication card, LED status displays 47
MC-PBS communication card 20
MC-PBS communication card, LED status displays 48
Mixed operation PROFIBUS with EtherCAT 42
D
Defining the minimum cycle time of the PLC project 44
Determining the task utilisation of the application 44
Device
Hardware version (C1035)
Identification (C1031) 50
Manufacturer (C1037) 51
Manufacturing date (C1038) 51
Name (C1033) 50
Serial number (C1036) 50
Software version (C1034) 50
Version (C1032) 50
Diagnostics 47
Diagnostics with the »PLC Designer« 49
DP Parameters 37, 40
50
N
Network topology 22
Number of nodes 18
O
Optimising the system 46
52Lenze · Controller-based Automation · PROFIBUS® Communication Manual · DMS 4.3 EN · 04/2014 · TD17
Safety instructions 9, 10
Screenshots 5
Software 21
Starting the PLC program 41
Status displays of the MC-PBM communication card 47
Status displays of the MC-PBS communication card 48
Structure of the PROFIBUS system 15
Structure of the safety instructions 9
System structure of the Controller-based Automation 11
T
Target group 5
Task configuration 44
Technical data 22
Technical data of the MC-PBM / MC-PBS communication card
22
Terms 8
U
Use of repeaters 17
Using the control as a PROFIBUS slave 15
Using the controller as a PROFIBUS slave 15
Using the Lenze Controller as a PROFIBUS slave 15
Lenze · Controller-based Automation · PROFIBUS® Communication Manual · DMS 4.3 EN · 04/2014 · TD1753
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
54
Controller-based Automation · PROFIBUS® Communication Manual · KHBPBPCBAUTO · 13462093 · DMS 4.3 EN · 04/2014 · TD17