Upload
phamnguyet
View
263
Download
3
Embed Size (px)
Citation preview
CODESYS® a trademark of 3S-Smart Software Solutions GmbH
The CODESYS Application Composer: From module creation to plant engineering
CODESYS Users‘ Conference 2014, Patrick Rohloff
2 © 3S-Smart Software Solutions GmbH
CODESYS Application Composer
Agenda
1
2
3
1
2
3
What is the CODESYS Application Composer?
How to use the CODESYS Application Composer
Demo
3
CODESYS Application Composer
© 3S-Smart Software Solutions GmbH
The CODESYS Application Composer is a development tool for the efficient creation of applications consisting of recurring function blocks.
The CODESYS Application Composer allows to engineer and parameterize complete controller applications out of previously created software modules.
Entire plants can be engineered by non-programmers.
What is the CODESYS Application Composer?
4
CODESYS Application Composer
© 3S-Smart Software Solutions GmbH
Which aspects are covered? Development of technology modules
(e.g. control algorithms, motion control etc.) => Demanding, innovative development work
Machine engineering Selection and parameterization of technology modules I/O assignment Distribution to controllers Standard infrastructure (diagnosis, alarms etc.)
=> Routine tasks with high rationalization potential
In detail...
What is the CODESYS Application Composer?
5
CODESYS Application Composer
© 3S-Smart Software Solutions GmbH
Technology modules
Machine variant X
Composer
What is the CODESYS Application Composer?
6
CODESYS Application Composer
© 3S-Smart Software Solutions GmbH
Where is the CODESYS Application Composer available?
What is the CODESYS Application Composer?
7
CODESYS Application Composer
© 3S-Smart Software Solutions GmbH
In the CODESYS Store, you can purchase a CODESYS Package along with a ticket allowing for the installation of the license key on a Wibu dongle.
With this workplace license, you can create and use modules.
In which form is the CODESYS Application Composer supplied?
What is the CODESYS Application Composer?
8 © 3S-Smart Software Solutions GmbH
CODESYS Application Composer
Agenda
1
2
3
1
2
3
What is the CODESYS Application Composer?
How to use the CODESYS Application Composer
Demo
9
CODESYS Application Composer
© 3S-Smart Software Solutions GmbH
Example: Gas station
How to use the CODESYS Application Composer
10
CODESYS Application Composer
© 3S-Smart Software Solutions GmbH
Units of a gas station
How to use the CODESYS Application Composer
Control center
Price information system
with display
gas station with illumination
Central target prices
11
CODESYS Application Composer
© 3S-Smart Software Solutions GmbH
As a system supplier, you have a large product range.
You offer the most varied configuration options and your customers’ wishes can be realized at very short notice - even during commissioning.
Even after many years, phased-out products do not cause any problems as you always have new, compatible devices.
Your service staff can engineer new plants or maintain existing plants with few or no training at all.
Configuration
How to use the CODESYS Application Composer
12
CODESYS Application Composer
© 3S-Smart Software Solutions GmbH
Development gas station - control center
How to use the CODESYS Application Composer
Control center
Spots
Front illumination
13
CODESYS Application Composer
© 3S-Smart Software Solutions GmbH
Development gas station - control center
How to use the CODESYS Application Composer
14
CODESYS Application Composer
© 3S-Smart Software Solutions GmbH
Development gas station
How to use the CODESYS Application Composer
Drag and Drop
15
CODESYS Application Composer
© 3S-Smart Software Solutions GmbH
In the top level object you decide on which controller the code will be processed.
Development gas station
How to use the CODESYS Application Composer
16
CODESYS Application Composer
© 3S-Smart Software Solutions GmbH
Each display on the display element could be realized using an EtherCAT slave EK1100 + an EL2008 clamp per digit.
The device configuration including I/O mapping can be generated automatically.
How to use the CODESYS Application Composer
17
CODESYS Application Composer
© 3S-Smart Software Solutions GmbH
The Composer can take over this task for you.
Three displays require a higher configuration effort.
How to use the CODESYS Application Composer
18
CODESYS Application Composer
© 3S-Smart Software Solutions GmbH
The Composer is ideal for recurring configuration tasks.
How to use the CODESYS Application Composer
1
3
2
19
CODESYS Application Composer
© 3S-Smart Software Solutions GmbH
The service station operator has meanwhile expanded his network.
You delivered gas stations in different configurations.
Price displays are to be controlled from the headquarters.
You receive a new order.
How to use the CODESYS Application Composer
20
CODESYS Application Composer
© 3S-Smart Software Solutions GmbH
Which changes have to be made in the project?
How to use the CODESYS Application Composer
KE MM M
21
CODESYS Application Composer
© 3S-Smart Software Solutions GmbH
With CODESYS, you can use controllers of different manufacturers in one project.
Over 350 device manufacturers on the market use the CODESYS Runtime System.
These devices can easily be connected to each other, and there is a communication interface even to external products.
Distribution of tasks to controllers
How to use the CODESYS Application Composer
22
CODESYS Application Composer
© 3S-Smart Software Solutions GmbH
Module Module
How are modules created?
How to use the CODESYS Application Composer
Description
FB
ITFs
Visualizations Parameters
I/Os
Devices
23
CODESYS Application Composer
© 3S-Smart Software Solutions GmbH
Module implementation
How to use the CODESYS Application Composer
Par
amet
ers
Module declaration
FB Input Out
put
Code
Inputs Outputs
Add
ition
al ta
sks,
vis
us,
devi
ces
etc.
Other modules (FBs) Module … FB extends AC.Modul
24
CODESYS Application Composer
© 3S-Smart Software Solutions GmbH
Let's look at the module "GasStation".
How to use the CODESYS Application Composer
25
CODESYS Application Composer
© 3S-Smart Software Solutions GmbH
In the configuration phase, you define the number of displays.
In the previous presentation, the number of displays was programmed in CFC. A complex management mechanism had to be implemented.
=> The CODESYS Application Composer already covers these management mechanisms.
Now let's take a look at the "PriceBoard".
How to use the CODESYS Application Composer
26
CODESYS Application Composer
© 3S-Smart Software Solutions GmbH
The necessary code is generated automatically.
How to use the CODESYS Application Composer
27
CODESYS Application Composer
© 3S-Smart Software Solutions GmbH
We distinguish between two forms of visualization:
How to use the CODESYS Application Composer
28
CODESYS Application Composer
© 3S-Smart Software Solutions GmbH
Combination of visualizations
How to use the CODESYS Application Composer
Click opens correspondent visualization
Embedded Page
Klick öffnet zugehörige Seitenvisualisierung
29
CODESYS Application Composer
© 3S-Smart Software Solutions GmbH
The visualization configuration
How to use the CODESYS Application Composer
Page
30 © 3S-Smart Software Solutions GmbH
CODESYS Application Composer
Agenda
1
2
3
1
2
3
What is the CODESYS Application Composer?
How to use the CODESYS Application Composer
Demo
31 © 3S-Smart Software Solutions GmbH
Inspiring Automation Solutions
Thank you for your attention.