the codesys application composer: from...

30
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

Upload: dobao

Post on 17-May-2018

249 views

Category:

Documents


7 download

TRANSCRIPT

Page 1: The CODESYS Application Composer: From …prolog-plc.ru/docs/conf14/UC_2014_CODESYS_Application_Composer_en.pdfThe CODESYS Application Composer: From module creation to plant engineering

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

Page 2: The CODESYS Application Composer: From …prolog-plc.ru/docs/conf14/UC_2014_CODESYS_Application_Composer_en.pdfThe CODESYS Application Composer: From module creation to plant engineering

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

Page 3: The CODESYS Application Composer: From …prolog-plc.ru/docs/conf14/UC_2014_CODESYS_Application_Composer_en.pdfThe CODESYS Application Composer: From module creation to plant engineering

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?

Page 4: The CODESYS Application Composer: From …prolog-plc.ru/docs/conf14/UC_2014_CODESYS_Application_Composer_en.pdfThe CODESYS Application Composer: From module creation to plant engineering

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?

Page 5: The CODESYS Application Composer: From …prolog-plc.ru/docs/conf14/UC_2014_CODESYS_Application_Composer_en.pdfThe CODESYS Application Composer: From module creation to plant engineering

5

CODESYS Application Composer

© 3S-Smart Software Solutions GmbH

Technology modules

Machine variant X

Composer

What is the CODESYS Application Composer?

Page 6: The CODESYS Application Composer: From …prolog-plc.ru/docs/conf14/UC_2014_CODESYS_Application_Composer_en.pdfThe CODESYS Application Composer: From module creation to plant engineering

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?

Page 7: The CODESYS Application Composer: From …prolog-plc.ru/docs/conf14/UC_2014_CODESYS_Application_Composer_en.pdfThe CODESYS Application Composer: From module creation to plant engineering

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

Page 8: The CODESYS Application Composer: From …prolog-plc.ru/docs/conf14/UC_2014_CODESYS_Application_Composer_en.pdfThe CODESYS Application Composer: From module creation to plant engineering

8

CODESYS Application Composer

© 3S-Smart Software Solutions GmbH

Example: Gas station

How to use the CODESYS Application Composer

Page 9: The CODESYS Application Composer: From …prolog-plc.ru/docs/conf14/UC_2014_CODESYS_Application_Composer_en.pdfThe CODESYS Application Composer: From module creation to plant engineering

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

Page 10: The CODESYS Application Composer: From …prolog-plc.ru/docs/conf14/UC_2014_CODESYS_Application_Composer_en.pdfThe CODESYS Application Composer: From module creation to plant engineering

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

Page 11: The CODESYS Application Composer: From …prolog-plc.ru/docs/conf14/UC_2014_CODESYS_Application_Composer_en.pdfThe CODESYS Application Composer: From module creation to plant engineering

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

Page 12: The CODESYS Application Composer: From …prolog-plc.ru/docs/conf14/UC_2014_CODESYS_Application_Composer_en.pdfThe CODESYS Application Composer: From module creation to plant engineering

12

CODESYS Application Composer

© 3S-Smart Software Solutions GmbH

Development gas station - control center

How to use the CODESYS Application Composer

Page 13: The CODESYS Application Composer: From …prolog-plc.ru/docs/conf14/UC_2014_CODESYS_Application_Composer_en.pdfThe CODESYS Application Composer: From module creation to plant engineering

13

CODESYS Application Composer

© 3S-Smart Software Solutions GmbH

Development gas station

How to use the CODESYS Application Composer

Drag and Drop

Page 14: The CODESYS Application Composer: From …prolog-plc.ru/docs/conf14/UC_2014_CODESYS_Application_Composer_en.pdfThe CODESYS Application Composer: From module creation to plant engineering

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

Page 15: The CODESYS Application Composer: From …prolog-plc.ru/docs/conf14/UC_2014_CODESYS_Application_Composer_en.pdfThe CODESYS Application Composer: From module creation to plant engineering

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

Page 16: The CODESYS Application Composer: From …prolog-plc.ru/docs/conf14/UC_2014_CODESYS_Application_Composer_en.pdfThe CODESYS Application Composer: From module creation to plant engineering

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

Page 17: The CODESYS Application Composer: From …prolog-plc.ru/docs/conf14/UC_2014_CODESYS_Application_Composer_en.pdfThe CODESYS Application Composer: From module creation to plant engineering

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

Page 18: The CODESYS Application Composer: From …prolog-plc.ru/docs/conf14/UC_2014_CODESYS_Application_Composer_en.pdfThe CODESYS Application Composer: From module creation to plant engineering

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

Page 19: The CODESYS Application Composer: From …prolog-plc.ru/docs/conf14/UC_2014_CODESYS_Application_Composer_en.pdfThe CODESYS Application Composer: From module creation to plant engineering

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

Page 20: The CODESYS Application Composer: From …prolog-plc.ru/docs/conf14/UC_2014_CODESYS_Application_Composer_en.pdfThe CODESYS Application Composer: From module creation to plant engineering

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

Page 21: The CODESYS Application Composer: From …prolog-plc.ru/docs/conf14/UC_2014_CODESYS_Application_Composer_en.pdfThe CODESYS Application Composer: From module creation to plant engineering

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

Page 22: The CODESYS Application Composer: From …prolog-plc.ru/docs/conf14/UC_2014_CODESYS_Application_Composer_en.pdfThe CODESYS Application Composer: From module creation to plant engineering

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

Page 23: The CODESYS Application Composer: From …prolog-plc.ru/docs/conf14/UC_2014_CODESYS_Application_Composer_en.pdfThe CODESYS Application Composer: From module creation to plant engineering

23

CODESYS Application Composer

© 3S-Smart Software Solutions GmbH

Let's look at the module "GasStation".

How to use the CODESYS Application Composer

Page 24: The CODESYS Application Composer: From …prolog-plc.ru/docs/conf14/UC_2014_CODESYS_Application_Composer_en.pdfThe CODESYS Application Composer: From module creation to plant engineering

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

Page 25: The CODESYS Application Composer: From …prolog-plc.ru/docs/conf14/UC_2014_CODESYS_Application_Composer_en.pdfThe CODESYS Application Composer: From module creation to plant engineering

25

CODESYS Application Composer

© 3S-Smart Software Solutions GmbH

The necessary code is generated automatically.

How to use the CODESYS Application Composer

Page 26: The CODESYS Application Composer: From …prolog-plc.ru/docs/conf14/UC_2014_CODESYS_Application_Composer_en.pdfThe CODESYS Application Composer: From module creation to plant engineering

26

CODESYS Application Composer

© 3S-Smart Software Solutions GmbH

We distinguish between two forms of visualization:

How to use the CODESYS Application Composer

Page 27: The CODESYS Application Composer: From …prolog-plc.ru/docs/conf14/UC_2014_CODESYS_Application_Composer_en.pdfThe CODESYS Application Composer: From module creation to plant engineering

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

Page 28: The CODESYS Application Composer: From …prolog-plc.ru/docs/conf14/UC_2014_CODESYS_Application_Composer_en.pdfThe CODESYS Application Composer: From module creation to plant engineering

28

CODESYS Application Composer

© 3S-Smart Software Solutions GmbH

The visualization configuration

How to use the CODESYS Application Composer

Page

Page 29: The CODESYS Application Composer: From …prolog-plc.ru/docs/conf14/UC_2014_CODESYS_Application_Composer_en.pdfThe CODESYS Application Composer: From module creation to plant engineering

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

Page 30: The CODESYS Application Composer: From …prolog-plc.ru/docs/conf14/UC_2014_CODESYS_Application_Composer_en.pdfThe CODESYS Application Composer: From module creation to plant engineering

30 © 3S-Smart Software Solutions GmbH

Inspiring Automation Solutions

Thank you for your attention.