This documentation describes the first commissioning steps of a Lenze automation system
on the basis of a simple example application. The automation system used consists of a PLC
for the control technology and drive components connected (via a bus system).
The explanation of the procedure includes the installation of the integrated development
environment, the »PLC Designer«, and the diagnostics of the application.
Read the mounting instructions supplied with the controller first before you start
working!
The mounting instructions contain safety instructions which must be observed!
Note!
This documentation supplements the software manuals of the »PLC Designer«
and »Engineer«.
Tip!
Information and tools regarding the Lenze products can be found in the download
area under: http://www.Lenze.com
This manual is part of the "PC-based Automation" manual collection. The manual
collection consists of the following parts:
DocumentationSubject
System manuals
"PC-based Automation"
Communication manuals
"PC-based Automation"
(Software) manual
"PC-based Automation"
Operating instructions
"Embedded Line Panel PC"
Operating instructions
"Command Station"
Operating instructions
"Control Cabinet PC"
Operating instructions
"HMI EL 100"
More software manuals • »Global Drive Control« (»GDC«)
• Control technology - System structure & configuration
• Visualisation - System structure & components
• CANopen control technology
• PROFIBUS control technology
• Industrial PC - Parameter setting & configuration
• EL x8xx - built-in panel PC with TFT display
• CS x8xx - stand-alone operator terminal
• CPC x8xx - control cabinet PC
• EL 1xx - HMI with Windows
–IPC as gateway - Parameter setting & configuration
Information on the use of the IPCs beyond the control technology can be found in
the system manuals tailored to the application case.
1.3 EN - 07/2012L14
PLC Designer V2.x| Lenze Application Samples
About this documentation
Further technical documentation on Lenze components
More information on Lenze components that can be used together with "PC-based
automation" can be found in the following documentation:
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
8200 vector wiring according to EMCMA 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
Parameterisation, configuration, commissioning
SW Inverter Drives 8400
BaseLine / StateLine / HighLine / TopLine
SW Servo Drive 9400 HighLine / PLCÍ This documentation contains further
9400 HighLine commissioning guidelines
SHB I/O system IP20 (EPM-Txxx)
SHB I/O system 1000 (EPM-Sxxx)
SHB 8200 vectorÍ This documentation contains further
BAs for the ECS servo systemÍ This documentation contains further
KHBs for the communication modules
Programming
SW 9400 function library
Establishing a network
KHBs for the communication modules
Í This documentation contains further
information when using the sample projects
information when using the sample projects
information when using the sample projects
information when using the sample projects
Target group
The documentation addresses to persons who plan, install, commission, and maintain the
networking of devices in the field of control technology.
15L1.3 EN - 07/2012
PLC Designer V2.x| Lenze Application Samples
About this documentation
Information regarding the validity
The information provided in this documentation applies to the AppSamples_100 with the
following Lenze software:
SoftwareFrom software version
»PLC Designer«2.3.x
»Engineer«2.12
»Global Drive Control«4.11
1.3 EN - 07/2012L16
1.1Document history
VersionDescription
1.111/2010TD11 First edition
1.203/2011TD11 Further sample projects supplemented:
1.306/2012TD11 Amended by general notes on the use of FBs.
1.2Trademark
Microsoft, Windows, and Windows NT are either registered trademarks or trademarks of
the Microsoft Corporation in the USA and/or other countries.
PLC Designer V2.x| Lenze Application Samples
About this documentation
Document history
• 8200 vector
• 9300 Speed
• 9300 EP
• Multiproject ECS/ 8400 StateLine/9400 HighLine
Adobe and Reader are either registered trademarks or trademarks of Adobe Systems
Incorporated in the USA and/or other countries.
All other brand names mentioned in this documentation are trademarks of their respective
owners.
1.3 EN - 07/2012L17
PLC Designer V2.x| Lenze Application Samples
About this documentation
Conventions used
1.3Conventions used
This documentation uses the following conventions to distinguish between different types
of information:
Type of informationDisplayExamples/notes
Numbers
Decimal separatorPointThe decimal point is generally used.
Text
Version informationText colour blueAll pieces of information that only apply to or from a
Program name» «The Lenze PC software »PLC Designer«
WindowItalicsThe Message window... / The Options ... dialog box
Variable nameBy 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
Example: 1234.56
certain controller software version are identified
accordingly in this documentation.
Example: This function extension is available as from
software version V3.0!
Properties... 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 ( 18)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 marked by a
pictograph.
18L1.3 EN - 07/2012
1.4Notes used
The following signal words and icons 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
(explains the danger and how to avoid it)
PictographSignal wordMeaning
PLC Designer V2.x| Lenze Application Samples
About this documentation
Notes used
Danger!Danger of personal injuries through dangerous electrical voltage
Reference to an imminent danger that may result in death or serious
personal
injury unless the corresponding measures are taken.
Danger!Danger of personal injury through a general source of danger
Reference to an imminent danger that may result in death or serious
personal
injury unless the corresponding measures are taken.
Stop!Danger of damage to material assets
Indicates a potential danger that may lead to material damage unless the
corresponding measures are taken.
Application notes
PictographSignal wordMeaning
Note!Important note for trouble-free operation
Tip!Useful tip for easy handling
Reference to other documents
1.3 EN - 07/2012L19
PLC Designer V2.x| Lenze Application Samples
Safety instructions
2Safety instructions
Please observe the following safety instructions when you want to commission a controller
or system using the »Engineer«.
Read the documentation supplied with the controller or the individual
components of the system carefully before you start to commission the devices
with the »Engineer«!
The device documentation 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.
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 the »Engineer« during an online connection to the
device is established, the changes are directly accepted in 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!
20L1.3 EN - 07/2012
PLC Designer V2.x| Lenze Application Samples
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 in the following software equipments:
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 centralised control of Logic and Motion
systems.
The "PC-based automation" system
For this purpose, Lenze provide 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!
The "PC-based automation" system furthermore contains the EL 1xx PLC HMI
series. These devices clearly differ from the Industrial PCs with regard to the
performance and various other details. Nevertheless the devices of the
EL 1xx PLC HMI series are able to perform smaller control functions.
1.3 EN - 07/2012L21
PLC Designer V2.x| Lenze Application Samples
The "PC-based automation" system
Engineering tools for the Engineering PC
– The Engineering PC communicates with the IPC via Ethernet.
– Use the various Engineering tools to configure and parameterise the system.
Fieldbuses
Field devices
22L1.3 EN - 07/2012
4Requirements
4.1System requirements
PLC Designer V2.x| Lenze Application Samples
Requirements
System requirements
HardwarePC/notebookIndustrial PC with PLC (Logic) from
Further requirements • 100 MB of free hard disk memory • CAN bus system
4.2What is the PLC Designer?
The »PLC Designer« is a Lenze engineering software for programming the PLC of the Lenze
Industrial PC.
Properties
Five different editors for the programming languages standardised in the IEC 61131-3,
and a very powerful CFC editor are provided. They serve to create individual programs,
and to trigger the functions of our L-force Logic & Motion runtime software.
By means of the integrated visualisation the processes are shown, in order to obtain all
important pieces of information at a glance during commissioning.
Engineering PCIPC (controller)
firmware V2.0
• CAN nodes (depending on the
respective example application)
1.3 EN - 07/2012L23
PLC Designer V2.x| Lenze Application Samples
Requirements
Where can I receive a full version of the PLC Designer?
4.3Where can I receive a full version of the PLC Designer?
The »PLC Designer« is provided for download in the Lenze Application Knowledge Base
(AKB) :
The AKB is a product- and application-oriented collection of information provided by Lenze.
Alternatively you can install the »PLC Designer« from the CD supplied with the
Industrial PC.
4.3.1Installation
How to install the »PLC Designer«:
1. Select »PLC Designer« to save the full version as a packed ZIP file on your PC
(Engineering PC).
• Unpack the ZIP file PlcDesigner_V2.3.x.zip on your PC (file size approximately
45MB).
• The ZIP file contains an installation file.
or
Start the PLCDesigner_V2.3..x.exe installation file from the CD supplied with the
Industrial PC.
2. Start the EXE file and follow the installation instructions
3. After the installation the »PLC Designer« can be started.
Further information and basics regarding the »PLC Designer« can be found in the
following documentation:
PLC Designer software manual
The manual is available on the CD supplied or on the Internet.
If the »PLC Designer« is already installed, carry out an update of the version available or
install the full version parallel to the version available.
Installing the target systems
Furthermore the »PLC Designer« target setup has to be installed, containing the
information required for controlling the target systems.
For the installation, proceed like for the installation of the »PLC Designer«.
24L1.3 EN - 07/2012
PLC Designer V2.x| Lenze Application Samples
5System bus (CAN) / CANopen
Lenze device series 8400, 9400, 9300, and ECS have an on-board system bus (CAN)
connection. The protocol used there is a subset of CANopen. Thus the devices are not
CANopen-compliant but can be driven by a CANopen-compatible control system under "Lforce Controls" - also in connection with other CANopen-compatible nodes.
Tip!
Detailed information on the system bus (CAN) can be found on the website of the
CAN User Organization CiA (CAN in Automation):
System bus (CAN) / CANopen
CANopen (Logic)
http://www.can-cia.org
5.1CANopen (Logic)
A variety of different field devices can be connected to the CAN Logic line.
To create a CANopen bus line, use the Communication card MC-CAN2
CANopen (Logic)
The Logic bus line is used to operate controllers which...
carry out simple movements,
do not have a Motion functionality,
are controlled via PLC functionalities only.
The Lenze sample projects are available for the most common system configurations in
each case with selected field devices.
1.3 EN - 07/2012L25
( 26).
PLC Designer V2.x| Lenze Application Samples
System bus (CAN) / CANopen
Communication card MC-CAN2
5.2Communication card MC-CAN2
The MC-CAN2 communication card serves to connect an L-force Controller to the CAN bus
system CAN. The card provides two independent bus lines.
A Front panel
B Board
C Coding
D Connection
ECAN connection (CAN 2 /CAN 1)
MC-CAN2-001
26L1.3 EN - 07/2012
PLC Designer V2.x| Lenze Application Samples
6Commissioning the CANopen Logic bus
This chapter provides information on commissioning the CANopen Logic field devices in
the Lenze control system.
Depending on the field devices used, the following Lenze engineering tools are required:
»PLC Designer«
»Engineer«
»Global Drive Control« (GDC)
Tip!
For the application of further fieldbus systems, further Engineering software may
be required. Further information can be found in the corresponding
communication manuals.
Commissioning the CANopen Logic bus
Overview of the commissioning steps
6.1Overview of the commissioning steps
StepActionLenze software to be used
1.Open sample project
Commissioning field devices
Going online
Preparing the restart
2. Open sample project»PLC Designer«
In the following the individual commissioning steps are described. Follow the given stepby-step instructions to commission your system.
( 29)
( 28)
( 30)
More detailed information about how to work with the Lenze engineering tools
can be found in the corresponding manuals and online helps.
»Engineer« or
»Global Drive Control«
(depending on the used
device)
1.3 EN - 07/2012L27
PLC Designer V2.x| Lenze Application Samples
Commissioning the CANopen Logic bus
Commissioning field devices
6.2Commissioning field devices
Parameterise the field devices connected to the CANopen Logic bus either with the
»Engineer« or with the »GDC«, depending on the device.
The configuration of the CAN parameters takes place in the »PLC Designer«.
For this, observe the information in the ...
• documentation for the field devices;
• documentation for the »Engineer« / »GDC«, and »PLC Designer«.
Tip!
We recommend to commission each field device individually and then open the
suitable PLC program.
28L1.3 EN - 07/2012
6.2.1Going online
Field deviceGoing online withConnection via
Industrial PC»Engineer« or
Inverter Drive 8400 StateLine /
HighLine
9400 Servo Drive HighLine»Engineer« • IPC as gateway
ECS servo system (ECSxE/S/P/M/A)»Global Drive Control« • IPC as gateway
8200 vector»Global Drive Control« • IPC as gateway
9300»Global Drive Control« • IPC as gateway
1) CANopen only with system bus adapter EMF2177IB (if required, observe standard device specifications!)
PLC Designer V2.x| Lenze Application Samples
Commissioning the CANopen Logic bus
Commissioning field devices
Ethernet
»WebConfig«
»Engineer« • IPC as gateway
• CAN device interface
• Diagnostic adapter
• Ethernet module E94AYCEN
• CANopen module E94AYCCA
• CAN device interface
• CANopen module EMF2178IB
• CAN device interface 1)
• CAN module CAN PT/
E82ZAFCC010
• CAN device interface 1)
• CAN device interface 1)
Note!
Lenze recommend to use the connection type "IPC as gateway".
Depending on the device and connection type used, detailed information about
establishing a connection and "going online" can be found in the following
documents:
• (Software) manual/online help "PC-based automation"
Industrial PC - Parameter setting & Configuration
• Software manual/online help "PC based automation"
IPC as gateway - Parameter setting & Configuration
• Software manual/online help »Global Drive Control«
IPC as gateway - Parameter setting & Configuration
• Software manual/online help L-force »Engineer«
1.3 EN - 07/2012L29
PLC Designer V2.x| Lenze Application Samples
Commissioning the CANopen Logic bus
Preparing the restart
6.3Preparing the restart
In the control technology system you can use the control to transmit the entire parameter
setting via SDO initialisation to the field devices when the machine is switched on.
In accordance with DS301, the control always initialises the CAN parameters of the field
devices. Moreover, it can initialise further parameters. The values for this must be stored in
the control configuration under the Service Data Objects tab.
Usually, the control only transmits those SDO projects for which you have stored another
value than the standard value. The control does not
values in the field device. Thus, not all parameters changed there may be set correctly.
If you want to have a factory adjustment carried out in the field device before SDO
initialisation, go to the Parameter tab and set a checkmark at "Reset Node".
Note!
When a node is reset, the parameter setting in the field device which you have
made with the »Engineer« or the »Global Drive Control« gets lost. In this case,
you have to transmit all parameter values manually to the Service Data Objects
tab. This only makes sense when commissioning is completed and all
parameters are optimised. If you change something afterwards via the
»Engineer« or the »Global Drive Control« you have to maintain it again in the PLC
program.
compare these values with the existing
The Service Data Objects tab contains the codes which are written in the EDS file. The EDS
file contains all writable codes.
30L1.3 EN - 07/2012
Loading...
+ 306 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.