Post on 17-May-2018
CODESYS® a trademark of 3S-Smart Software Solutions GmbH
The CODESYS Application Composer: From module creation to plant engineering
CODESYS Users‘ Conference 2014, Dieter Hess
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 efficient creation of applications consisting of predefined function blocks.
The CODESYS Application Composer allows to engineer and parameterize complete controller applications out of previously created software modules.
It is possible to create a whole working application, without programming.
What is the CODESYS Application Composer?
4
CODESYS Application Composer
© 3S-Smart Software Solutions GmbH
Two aspects of application engineering: Development of technology modules
(e.g. control algorithms, motion control etc.) => Demanding, innovative development work
Machine engineering (“Composing”) − 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
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?
7 © 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
8
CODESYS Application Composer
© 3S-Smart Software Solutions GmbH
Example: Gas station
How to use the CODESYS Application Composer
9
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
10
CODESYS Application Composer
© 3S-Smart Software Solutions GmbH
As a system supplier, you have a wide product variety.
You offer various configuration options and your customers’ wishes can be realized at very short notice - even during commissioning.
Even after many years, phased-out products should not cause any problems. You need to support new, compatible devices.
Your service staff must engineer new plants or maintain existing plants with only little training.
Situation
How to use the CODESYS Application Composer
11
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
12
CODESYS Application Composer
© 3S-Smart Software Solutions GmbH
Development gas station - control center
How to use the CODESYS Application Composer
13
CODESYS Application Composer
© 3S-Smart Software Solutions GmbH
Development gas station
How to use the CODESYS Application Composer
Drag and Drop
14
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
15
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
16
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
17
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
18
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
19
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
20
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
21
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
22
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
23
CODESYS Application Composer
© 3S-Smart Software Solutions GmbH
Let's look at the module "GasStation".
How to use the CODESYS Application Composer
24
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
25
CODESYS Application Composer
© 3S-Smart Software Solutions GmbH
The necessary code is generated automatically.
How to use the CODESYS Application Composer
26
CODESYS Application Composer
© 3S-Smart Software Solutions GmbH
We distinguish between two forms of visualization:
How to use the CODESYS Application Composer
27
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
28
CODESYS Application Composer
© 3S-Smart Software Solutions GmbH
The visualization configuration
How to use the CODESYS Application Composer
Page
29 © 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
30 © 3S-Smart Software Solutions GmbH
Inspiring Automation Solutions
Thank you for your attention.