–IPC as gateway - Parameter setting & configuration
for runtime systems«
DMS 2.2 EN 07/2011 TD17L5
Control technology | PROFIBUS communication manual
About this documentation
Further technical documentations for Lenze components
More information about Lenze components that can be used together with "PC-based
automation" can be found in the following documents:
Mounting & wiringLegend:
MAs for Inverter Drives 8400 Printed documentation
MAs for Servo Drives 9400 Online help/PDF
MA EPM-Txxx (I/O system IP20)Abbreviations used:
MA EPM-Sxxx (I/O system 1000)SHB System Manual
MA 8200 vectorBA Operating Instructions
Wiring according to EMC, 8200 vectorMA Mounting Instructions
MAs for the ECS servo systemSW Software manual
MA MC-CAN2 communication cardKHB Communication manual
MA MC-ETC communication card
MA MC-ETH communication card
MA MC-PBM communication card
MA MC-PBS communication card
MA MC-MPI communication card
MAs for communication modules
Parameter setting, configuration, commissioning
SW Inverter Drive 8400
BaseLine / StateLine / HighLine / TopLine
SW Servo Drive 9400 HighLine / PLC
Commissioning guide 9400 HighLine
SHB I/O system IP20 (EPM-Txxx)
SHB I/O system 1000 (EPM-Sxxx)
SHB 8200 vector
BAs for the ECS servo system
KHBs for communication modules
Programming
SW 9400 function library
Creating a network
KHBs for communication modules
Tip!
Documentation and software updates for Lenze products can be found in the
Download area at:
http://www.Lenze.com
6LDMS 2.2 EN 07/2011 TD17
Target group
This documentation is intended for all persons who plan, install, commission, and
maintain the networking of devices in the field of control technology.
1.1Document history
Material no.VersionDescription
132945251.005/2009TD17 First edition
133193452.010/2009TD17 General revision
133693272.101/2011TD17 Update for control technology release 2.5
133836782.207/2011TD17 Chapter Error messages if communication card MC-PBM is not
Your opinion is important to us!
Control technology | PROFIBUS communication manual
About this documentation
Document history
available ( 62) supplemented.
These instructions were created to the best of our knowledge and belief to give you the
best possible support for handling our product.
If you have suggestions for improvement, please e-mail us to:
feedback-docu@Lenze.de
Thank you for your support.
Your Lenze documentation team
DMS 2.2 EN 07/2011 TD17L7
Control technology | PROFIBUS communication manual
About this documentation
Conventions used
1.2Conventions used
This documentation uses the following conventions to distinguish between different types
of information:
Type of informationHighlightingExamples/notes
Spelling of numbers
Decimal separatorPointThe decimal point is always used.
For example: 1234.56
Text
Version informationBlue text colourInformation that is only valid for or from a certain
Program name» «The Lenze PC software »Engineer«...
WindowItalicsThe Message window... / The Options dialog box...
Variable identifierBy setting bEnable to TRUE...
Control elementBoldThe OK button... / the Copy command... / the
Sequence of menu
commands
Shortcut<Bold>Use <F1> to open the online help.
Program codeCourier
KeywordCourier bold
software version is indicated accordingly in this
documentation.
Example: This function extension is available from
software version V3.0!
Characteristics tab... / the Name input field...
If the execution of a function requires several
commands in a row, the individual commands are
separated by an arrow: Select File
If a key combination is required for a command, a "+"
is placed between the key identifiers: With
<Shift>+<ESC>...
IF var1 < var2 THEN
a = a + 1
END IF
Open to ...
HyperlinkUnderlined
Symbols
Page reference ( 8)Optically highlighted reference to another page. It is
Step-by-step instructions
Optically highlighted reference to another topic. It is
activated with a mouse-click in this documentation.
activated with a mouse-click in this documentation.
Step-by-step instructions are indicated by a
pictograph.
8LDMS 2.2 EN 07/2011 TD17
1.3Terminology used
TermMeaning
»Engineer«Lenze engineering tools supporting you during the entire life cycle of a machine
»Global Drive Control« / »GDC«
»PLC Designer«
Code"Container" for one or several parameters used for Lenze Servo Drives parameter
SubcodeIf a code contains several parameters, they are stored in "subcodes".
IPCIndustrial PC
PLCProgrammable Logic Controller
GSEDevice data base file (device description for PROFIBUS devices)
Control technology | PROFIBUS communication manual
About this documentation
Terminology used
- from the planning phase to maintenance.
setting or monitoring.
In the documentation the diagonal slash "/" is used as a separator between the
designation of the code and subcode (e.g. "C00118/3").
DMS 2.2 EN 07/2011 TD17L9
Control technology | PROFIBUS communication manual
About this documentation
Notes used
1.4Notes used
The following signal words and symbols are used in this documentation to indicate
dangers and important information:
Safety instructions
Structure of safety instructions:
Pictograph and signal word!
(characterises the type and severity of danger)
Note
(describes the danger and gives information about how to prevent dangerous
situations)
PictographSignal wordMeaning
Danger!Danger of personal injury through dangerous electrical voltage
Danger!Danger of personal injury through a general source of danger
Application notes
PictographSignal wordMeaning
Stop!Danger of property damage
Note!Important note for trouble-free operation
Reference to an imminent danger that may result in death or serious
personal injury if the corresponding measures are not taken.
Reference to an imminent danger that may result in death or serious
personal injury if the corresponding measures are not taken.
Reference to a possible danger that may result in property damage if the
corresponding measures are not taken.
Tip!Useful tip for easy handling
Reference to another documentation
10LDMS 2.2 EN 07/2011 TD17
Control technology | PROFIBUS communication manual
2Safety instructions
Please observe the following safety instructions when you want to commission a controller
or system using the industrial PC.
Read the documentation supplied with the system components thoroughly
before starting to commission the devices and the industrial PC!
The System Manual contains safety instructions which must be observed!
Danger!
According to our present level of knowledge it is not possible to ensure the
absolute freedom from errors of a software.
If necessary, systems with built-in controllers must be provided with additional
monitoring and protective equipment according to relevant safety regulations
(e.g. law on technical equipment, regulations for the prevention of accidents) so
that an impermissible operating status does not endanger persons or facilities.
Safety instructions
During commissioning persons must keep a safe distance from the motor or the
machine parts driven by the motor. Otherwise there would be a risk of injury by
the moving machine parts.
Stop!
If you change parameters in an engineering tool during an existing online
connection to a device, the changes are directly added to the device!
A wrong parameter setting can cause unpredictable motor movements. By
unintentional direction of rotation, too high speed, or jerky operation, the driven
machine parts may be damaged!
DMS 2.2 EN 07/2011 TD17L11
Control technology | PROFIBUS communication manual
The "PC-based automation" system
3The "PC-based automation" system
Industrial PCs (IPCs) become more and more important in the field of automation
technology. Due to their scaling options and various combinations of visualisation and
control on one device, industrial PCs provide clear advantages for many applications.
Lenze industrial PCs are available with the following software equipment:
Industrial PC as component (optional with operating system) without any further
software
Industrial PC as visualisation system
Industrial PC as control and visualisation system
The "PC-based automation" system enables the central control of logic and motion
systems.
For this purpose, Lenze provides coordinated system components:
Industrial PCs as control and visualisation system
– The IPC is the central component of the PC-based automation which controls the
logic and motion functionalities by means of the runtime software.
– The IPC communicates with the field devices via the fieldbus.
– The IPCs are available in different designs.
Note!
Moreover, the HMI series Z EL 1xx PLC belongs to the "PC-based Automation"
system. These devices differ considerably from the industrial PCs in performance
and various other details. However, the devices of the HMI series EL 1xx PLC are
able to fulfil smaller control functions.
12LDMS 2.2 EN 07/2011 TD17
Control technology | PROFIBUS communication manual
The "PC-based automation" system
Engineering tools for the engineering PC
– The engineering PC communicates with the IPC via Ethernet.
– Different engineering tools
Fieldbuses
Field devices
( 22) serve to configure and parameterise the system.
DMS 2.2 EN 07/2011 TD17L13
Control technology | PROFIBUS communication manual
The Lenze control system with PROFIBUS
Brief description of PROFIBUS
4The Lenze control system with PROFIBUS
Note!
In the Lenze control system, only the PROFIBUS master functionality (logic bus)
is supported.
This chapter provides basic information about ...
the PROFIBUS bus system in the Lenze control system;
the structure of the Lenze control system with the PROFIBUS master;
the components required for PROFIBUS communication.
4.1Brief description of PROFIBUS
Today, PROFIBUS is the most commonly used fieldbus system. Because 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 logic bus within "PC-based Automation".
We recommend to use PROFIBUS for the following applications:
Control of system parts that have already been automated with PROFIBUS and another
control system.
Use of field devices that are not available for other bus systems (e.g. CANopen or
EtherCAT).
Combination of PROFIBUS as logic bus with CANopen as motion bus
( 18)
Tip!
Detailed information on PROFIBUS can be found on the internet page of the
PROFIBUS user organisation:
www.profibus.com
14LDMS 2.2 EN 07/2011 TD17
Control technology | PROFIBUS communication manual
4.1.1Structure of the PROFIBUS system
Basic structure
The Lenze control system with PROFIBUS
Brief description of PROFIBUS
Physical structure
The industrial PC (IPC) 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 in the bus connector and is activated by a switch.
( 17)
DMS 2.2 EN 07/2011 TD17L15
Control technology | PROFIBUS communication manual
The Lenze control system with PROFIBUS
Brief description of PROFIBUS
Parameter setting
The PROFIBUS stations can be parameterised in different ways:
Direct access of the engineering software (from the engineering PC) to the slave field
device. Depending on the device type, via the following interfaces:
–CAN
– Ethernet
– LECOM
– Diagnostic interface
Parameter transfer from the control (the parameter transfer must be programmed
manually)
– PROFIBUS is exclusively configured with the »PLC Designer«:
Structure of the control configuration and creation of the PLC program
– All PROFIBUS slaves can be switched on via device data base files (GSE files).
Note!
The "IPC as gateway" function is not available in connection with PROFIBUS.
Thus, "Going online" with the »Engineer« or the »GDC« via the IPC as gateway is
not possible.
16LDMS 2.2 EN 07/2011 TD17
Control technology | PROFIBUS communication manual
4.1.2Basic wiring of PROFIBUS
The following examples show two simple PROFIBUS networks.
Each segment of the network must be terminated at both ends. The bus terminators of
PROFIBUS are marked with a "Z" in each of the following examples.
In a PROFIBUS network of only one segment, the PROFIBUS master (M) with an integrated
bus terminator starts the segment, and the connector of the last device (S) with the bus
terminator ends it.
The Lenze control system with PROFIBUS
Brief description of PROFIBUS
M
Z
Z
SSS
1
[4-1]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 terminators.
M
Z
Z
Z
SSS
Z
R
SS
Z
R
Z
123
[4-2]PROFIBUS network with repeater
If no repeater is used at the end of the segment, the bus terminator in the plug of the last
device must be activated.
E94YCPM012a
E94YCPM012b
Note!
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.
Repeaters can be used to build up line and tree topologies. The maximum total bus
system expansion depends on the baud rate used and the number of repeaters.
DMS 2.2 EN 07/2011 TD17L17
Control technology | PROFIBUS communication manual
The Lenze control system with PROFIBUS
Brief description of PROFIBUS
4.1.3Combination with other bus systems
The PROFIBUS bus system can be combined with CANopen. This makes sense if not all field
devices are available for the same bus system or a motion bus (CANopen) is required in
parallel to PROFIBUS (as logic bus). The bus systems are synchronised in the control system.
Note!
• Mixed operation is only possible with industrial PCs which have two
additional slots for communication cards. Mixed operation is not possible
with the "Command Station".
• In release 2.5, PROFIBUS cannot be combined with EtherCAT.
• In the control configuration the PROFIBUS master must be arranged in the
first position – in front of the CANopen motion stations.
4.1.4Field devices
The Lenze control system supports the following logic components for PROFIBUS:
Standard devicesPROFIBUS communication cards/modules
Industrial PCsEL x1xx PLCMC-PBM (PROFIBUS master)
EL x8xx
CS x8xx
Servo Drives 9400HighLineE94AYCPM
Inverter Drives 8400BaseLineE84AYCPM
I/O system IP20EPM-T120
I/O system 1000EPM-S120 (in preparation)
Frequency inverter8200 vectorE82ZAFPCxxx
ECS servo systemECSxEEMF2133IB
CPC x8xx
PLC
StateLine
HighLine
TopLine
EPM-T121
ECSXS (Speed & Torque)
ECSxP (Posi & Shaft)
ECSxA (Application)
18LDMS 2.2 EN 07/2011 TD17
Control technology | PROFIBUS communication manual
4.2PROFIBUS hardware for the industrial PC
MC-PBM communication card
The MC-PBM communication card is a plug-in card for connecting an industrial PC as
PROFIBUS master to a PROFIBUS network.
The Lenze control system with PROFIBUS
PROFIBUS hardware for the industrial PC
0
MC-PNx
1
2
3
SYS
ST0
ST1
ST2
PROFIBUS
A Front panel
B Printed circuit board
C Coding
D Terminal for industrial PC
EConnection of PROFIBUS (SUB-D, 9-
pole plug) ( 20)
FLED status displays
( 63)
5
4
MC_PBx_001
Technical data of the MC-PBM communication card
Possible applications
The MC-PBM communication card can be plugged into slot 1 and slot 2 of the industrial PC.
Several PROFIBUS communication cards can be used for each industrial PC.
Example: Industrial PC EL x8xx with MC-PBM in slot 1
( 20)
EL x8xx
Legend
EL x8xxIndustrial PC of the EL x8xx series
PBM1PROFIBUS connection
MC-PBMPROFIBUS master communication card
PBM1
l
l
MC-PBM
MC-PBM_ELx8xx
DMS 2.2 EN 07/2011 TD17L19
Control technology | PROFIBUS communication manual
Technical data
Technical data of the MC-PBM communication card
5Technical data
5.1Technical data of the MC-PBM communication card
FieldValues
ProtocolPROFIBUS-DP (V0, V1), ISO 7498
Communication mediumRS485
Network topologyLine terminated on both sides (without repeater) / tree (with
repeater)
• Termination with Sub-D plug
Type within the networkMaster
Max. number of stations per segment63
Max. number of stations per network128
Baud rateSee chapter "Baud rate / bus cable length
Bus length
ConnectionSUB-D, 9-pole plug
" ( 21)
Connection of PROFIBUS (SUB-D, 9-pole plug)
ViewPin AssignmentDescription
1free-
2free-
3 RxD/TxD-PData line B (received data/transmitted data plus)
4 RTSRequest To Send (received data / transmitted data, no differential
signal)
5 M5V2Data ground (ground to 5 V)
6 P5V25 V DC / 30 mA (bus termination)
7free-
8 RxD/TxD-NData line A (received data / transmitted data minus)
9free-
20LDMS 2.2 EN 07/2011 TD17
Control technology | PROFIBUS communication manual
5.2Bus cable specification
Please follow the specifications of the PROFIBUS user organisation for bus cables.