Page 1 printed at 8/3/2017 PLCopen ® for efficiency in automation Introduction in IEC Check also the notes coupled to each slide.

Slides:



Advertisements
Presentaciones similares
Helping Your Child at Home with Math Agenda Welcome and Overview Math Tools Using Math Strategies Homework Grade Level Games Closing: Mathematics Vision.
Advertisements

Sistemas de Información Agosto-Diciembre 2007 Sesión # 3.
Science Career Research Project By Jose pineda. Name of Job: Electrical Engineering I like that I would like to invent new electric and new social networks.
Mi dormitorio My bedroom
The imperfect tense. Look at the following 3 sentences. We ate at two every day The hotel was very big I used to live with my grandparents What do they.
Water Conservation: water conservation is very important to the world, not only because we waste it when we don’t need it, but because were wasting water.
Tecnología y Estructura de Costos. Technologies u A technology is a process by which inputs are converted to an output. u E.g. labor, a computer, a projector,
Digital Photography: Selfie Slides Your Name Date Class Period.
Photo Vocabulary Scavenger Hunt Rich Bradshaw. What is this? - A group activity for middle or high school students. - Highly interactive and very fun.
Time Telling time is rather easy. You only need to know the numbers up to 59 to be able to tell the time.
Viernes 29 de agosto Máx. : 30° Mín. : 23° Hazlo ahora 3 min Cada quien en su casa es rey.
Subdirección General de Estadísticas de los Servicios XBRL PILOT TASK FORCE MEETING Introduction of XBRL in Spanish SBS-data collection XBRL PILOT TASK.
JUEVES, EL 10 DE SEPTIEMBRE LT: I WILL RECOGNIZE SOME NEW VOCABULARY WORDS. Go over tests & retake procedures Interpretive Assessment: numbers & alphabet.
ECOM-6030 PASOS PARA LA INSTALACIÓN DE EASYPHP Prof. Nelliud D. Torres © - Derechos Reservados.
¿New media? Lev Manovich It is responsible for one of the works of reference for the interpretation of the new media. “The language of new media (2001)”
SCAFFOLDING & DIFFERENTIATION
English Language II (2). English Language I (2) Warm-up.
The imperfect tense. Look at the following 3 sentences. We ate at two every day The hotel was very big I used to live with my grandparents What do they.
Martes, 4 de octubre WALT: how to tell the time in Spanish WILF: to be able to understand and begin to say the time in Spanish Can you match these times.
Input Devices. An input device is a piece of equipment used for entering data or controlling a computer, for example, a mouse, a keyboard, a scanner,
This project has been funded with support from the European Commission. This publication reflects the views only of the author, and the Commission cannot.
Tienes un nuevo mensaje…. Ella era una chica timida, llamada Lina, no tenia amigosy solo convivia con su familia especialmente con su madre y su padre…
The Preterite Tense Spanish 1 – 6.2.
EQUILIBRIUM OF A PARTICLE IN 2-D Today’s Objectives: Students will be able to : a) Draw a free body diagram (FBD), and, b) Apply equations of equilibrium.
¿Qué son los verbos irregulares?
UNIVERSIDAD AUTÓNOMA DEL ESTADO DE HIDALGO ESCUELA SUPERIOR DE ZIMAPÁN
Quasimodo: Get ready for your quiz!.
Double Object Pronouns
Día número 3 Español 1—Acelerado
Voice Activity 1.04: Directions, Grammar, and Examples
Introduction & Agenda Introduction to Microchip Device Blocksets Introduction to MATLAB Plug-In in MPLAB®IDE Creating a SIMULINK model with Microchip.
First Grade Dual High Frequency Words
El Imperfecto Español 2.
More sentences that contain if…
Warm-up Fill in the blank with the correct form of the verb “ser” for each subject (p. 35): 1. Yo _______________ de Savannah. 2. Mis amigas ________.
Youden Analysis. Introduction to W. J. Youden Components of the Youden Graph Calculations Getting the “Circle” What to do with the results.
PROFESSIONALPOWERPOINT.COM FREE PPT TEMPLATES DOWNLOAD MORE POWERPOINT TEMPLATES FROM PROFESSIONALPOWERPOINT.COM.
TASK-BASED LEARNING (TBL) Virtual Tutor: Ivonne Caro Laynes.
THE VERB IR ©2016 Sra. Cruz.
Page 1 CITS Active Directory Implementation UMass Dartmouth.
Genentech A Discussion Winter 2018Joseph Milner, RSM54011.
Rational Tool Overview. Introduction Requirements-Driven Software Development with Rational Analyst Studio. Tafadzwa Nzara Analysis & Design Consultant.
Cuentos Érase una vez 1.
Recetas 3 Objetivo: Hacer preguntas Hablar sobre la comida
Quasimodo: Tienes que hacer parte D de la tarea..
Silicon Design Page 1 The Creation of a New Computer Chip.
Proyecto: Mi horario Nombre Hora Fecha.
Juan Sebastian Alarcon Tomas Vargas Santiago Sanchez Camilo Mendez
UNIVERSIDAD TECNICA DE MACHALA UNIDAD ACADEMICA DE CIENCIAS EMPRESARIALES CARRERA DE ECONOMIA ESTUDENTS: FIRST CONDITIONAL SENTENCES TEACHER: - Calvache.
Las profesiones.
An Animated PowerPoint Template. This 2007 PowerPoint contains video animation, but does not support text over video. The PowerPoint 2010 version includes.
Fabian López, Jordi Martí, Galdric Ruiz
Preparacion Hoy es jueves el 3 de diciembre
Quasimodo: Traducir Our mother is hardworking.
JKSimMet Software (windows & buttons) Split Engineering Chile Ltda. General Salvo #331 oficina 201 Casilla Sucursal Panorámico Providencia – Santiago,
Introduction to CAN. What is CAN and what are some of its features? Serial communication Multi-Master Protocol Compact –Twisted Pair Bus line 1 Megabit.
Miranda Rights El Aviso Miranda
If you feel that the resources that I have created have helped you save time and/or money, please consider supporting the work that I do by doing your.
Fundamentals of Web Development - 2 nd Ed.Randy Connolly and Ricardo Hoar Fundamentals of Web DevelopmentRandy Connolly and Ricardo Hoar © 2017 Pearson.
Gustar, Interesar, Aburrir
Development of the concert programme
El agua.
Profesor de la Universidad de Oviedo
Work safely for the most important people in you life, you family Work related injures cause not only time away form production activities at work but.
Welcome to PowerPoint gdskcgdskfcbskjc. Designer helps you get your point across PowerPoint Designer suggests professional designs for your presentation,
How to write my report. Checklist – what I need to include Cover page Contents page – with sections Introduction - aims of project - background information.
How much? - How many? English Grammar. When we want to know the quantity or amount of something, we ask questions starting with How much and How many.
Globalization Politics and the preservation of nation state.
Transcripción de la presentación:

Page 1 printed at 8/3/ PLCopen ® for efficiency in automation Introduction in IEC Check also the notes coupled to each slide for further explanation

Page 2 printed at 8/3/ PLCopen ® for efficiency in automation the future is here PLCopen TC1 : Standards links to IEC Harmonizing the way people look to control

Page 3 printed at 8/3/ PLCopen ® for efficiency in automation Fiction? Imagine *you are in industrial control *working with 4 different brands of controls *using different dialects in their programming languages * struggling to match the level of your software engineers with the operators and maintenance people on the factory floor *& seeing that your competitor does better Why? What’s wrong ?

Page 4 printed at 8/3/ PLCopen ® for efficiency in automation Out of the jungle The current variety of problems can be vastly reduced via standardization... and such a standard is available

Page 5 printed at 8/3/ PLCopen ® for efficiency in automation IEC “The best thing that happened to industrial control” Sugar Lantic on Automation Maillist

Page 6 printed at 8/3/ PLCopen ® for efficiency in automation The 9 parts of the IEC Standard ProjectTitleValid till , Ed 2.0General information, , Ed 3.0Equipment requirements and tests, , Ed 3.0 Programming languages (Currently CDV - Committee Draft for Voting) , Ed 2.0User guidelines (TR), , Ed 1.0Communications, , Ed 1.0Functional safety for PLC (Currently CDV - Committee Draft for Voting) , Ed 1.0Fuzzy control programming, , Ed 2.0Guidelines applic. & implem. progr. languages (TR), , Ed 1.0 Single-drop digital communication interface for small sensors and actuators (SDCI) aka “IO-Link” (Currently CD - Committee Draft)

Page 7 printed at 8/3/ PLCopen ® for efficiency in automation IEC 1131 versus IEC  The good news is – there is no difference  It is an international harmonization of all the IEC standards and the localized versions

Page 8 printed at 8/3/ PLCopen ® for efficiency in automation IEC Programming languages / Industrial Control Programming Standardizing the way people work with controls

Page 9 printed at 8/3/ PLCopen ® for efficiency in automation IEC Programming languages / Industrial Control Programming...with support for people with different backgrounds

Page 10 printed at 8/3/ PLCopen ® for efficiency in automation The IEC Standard Common Elements Programming Languages

Page 11 printed at 8/3/ PLCopen ® for efficiency in automation IEC : Common Elements Variables & Data Types What is this? Historically Reference to a physical memory location Reference to a physical Input

Page 12 printed at 8/3/ PLCopen ® for efficiency in automation IEC : Common Elements Variables & Data types Temperature_Sensor_1 : Integer Symbolic representation via labels Restricted area for I/O mapping Hardware independent software code Result: higher transparency & readability And less errors

Page 13 printed at 8/3/ PLCopen ® for efficiency in automation IEC : Common Elements Software Model Configuration Resources Tasks

Page 14 printed at 8/3/ PLCopen ® for efficiency in automation IEC Software Model Configuration Communication Function

Page 15 printed at 8/3/ PLCopen ® for efficiency in automation IEC Software Model Configuration Communication Function Resource

Page 16 printed at 8/3/ PLCopen ® for efficiency in automation IEC Software Model Task Resource Configuration Communication Function

Page 17 printed at 8/3/ PLCopen ® for efficiency in automation IEC Software Model Execution control path Task Program Task Program Task Program Task Resource Configuration Communication Function

Page 18 printed at 8/3/ PLCopen ® for efficiency in automation IEC Software Model Global and direct variables Access path Execution control path Variable access path FB Task Program FB Task Program Task Program FB Task Resource Configuration Communication Function Function Block Variable

Page 19 printed at 8/3/ PLCopen ® for efficiency in automation IEC vs conventional PLC Global and direct variables Access path Execution control path Variable access path FB Task Program FB Task Program Task Program FB Task Resource Configuration Communication Function Function Block Variable

Page 20 printed at 8/3/ PLCopen ® for efficiency in automation Conventional PLC vs IEC Task 1 Program Task Resource Read inputs Do Calculations Set Outputs Endless Loop: Task 2 Task 3 Task 4 Time based Events based Time based

Page 21 printed at 8/3/ PLCopen ® for efficiency in automation Common Elements: Tasks IEC EmbeddedPLCs PC based Control SoftLogicDrivesLON nodesDCS

Page 22 printed at 8/3/ PLCopen ® for efficiency in automation Common Elements : Tasks & Datatypes RPM =2000 Windows CE or any other IEC tasks SCADA & HMI tasks I/O Communication tasks OPC UA Multi –functional Operator Panel I/O Communication bus

Page 23 printed at 8/3/ PLCopen ® for efficiency in automation IEC : Common Elements COMMON ELEMENTS a.o. Data Types&Variables Configuration, Resources, Tasks Programming Organization Units, POUs * Functions * Function Blocks * Programs

Page 24 printed at 8/3/ PLCopen ® for efficiency in automation Functions ….. * Standard functions ADD, SQRT, SIN, COS, GT, MIN, MAX, AND, OR, etc. * Your own defined functions: FUNCTION SIMPLE_FUN : REAL VAR_INPUT A, B : REAL; C : REAL := 1.0; END_VAR SIMPLE_FUN := A*B/C; END FUNCTION

Page 25 printed at 8/3/ PLCopen ® for efficiency in automation …. & Function Blocks  Standard Function Blocks Hysterisis Q XIN1 XIN2 EPS BOOL REAL

Page 26 printed at 8/3/ PLCopen ® for efficiency in automation …. & Function Blocks  Standard Function Blocks  Additional supplied Function Blocks Hysterisis Q XIN1 XIN2 EPS BOOL REAL

Page 27 printed at 8/3/ PLCopen ® for efficiency in automation …. & Function Blocks  Standard Function Blocks  Additional supplied Function Blocks  Your own defined Function Blocks Hysterisis Q XIN1 XIN2 EPS BOOL REAL

Page 28 printed at 8/3/ PLCopen ® for efficiency in automation …. & Function Blocks  Standard Function Blocks  Additional supplied Function Blocks  Your own defined Function Blocks  All FBs are highly re-usable in same program, different programs or project Hysterisis Q XIN1 XIN2 EPS BOOL REAL

Page 29 printed at 8/3/ PLCopen ® for efficiency in automation Function Block example Hysterisis Q XIN1 XIN2 EPS BOOL REAL 1 EPS 0 XIN2 Q

Page 30 printed at 8/3/ PLCopen ® for efficiency in automation Function Block example FUNCTION_BLOCK HYSTERISIS VAR_INPUT XIN1, XIN2 : REAL; EPS : REAL; (* Hysterisis band *) END_VAR VAR_OUTPUT Q : BOOL := 0 END_VAR IF Q THEN IF XIN1 < (XIN2-EPS) THEN Q := 0 (* XIN1 decreasing *) END_IF; ELSIF XIN1 > (XIN2 + EPS ) THEN Q := 1; (* XIN1 increasing *) END_IF; END_FUNCTION_BLOCK Hysterisis Q XIN1 XIN2 EPS BOOL REAL 1 EPS 0 XIN2 Q

Page 31 printed at 8/3/ PLCopen ® for efficiency in automation Programs : design via building bricks Automation application Start : BOOL; Emergency : BOOL; Limit : INT; PROGRAM GLOBAL LocalType FUNCTION INPUT Local Type FUNCTION_BLOCK INPUT OUTPUTIN_OUT EXTERNAL Local Type

Page 32 printed at 8/3/ PLCopen ® for efficiency in automation Structure & Advantages of POUs  Create own Function Block Libraries (per application area)  FBs are tested and documented  Make libraries (world wide) accessible  Re-use as much as possible  Change programming to creating networks of FBs  Save 40% on next project

Page 33 printed at 8/3/ PLCopen ® for efficiency in automation Sequential Function Chart, SFC  Powerful graphical technique for describing the sequential behavior of a control program  Used to partition a control problem  Shows overview, also suitable for rapid diagnostics Step 1 N FILL Step 3 Step 2 S Empty Transition 1 Transition 2

Page 34 printed at 8/3/ PLCopen ® for efficiency in automation Sequential Function Chart, SFC  Powerful graphical technique for describing the sequential behaviour of a control program  Used to partition a control problem  Shows overview, also suitable for rapid diagnostics  The basic elements are STEPS with ACTION BLOCKS and TRANSITIONS  Support for alternative and parallel sequences Step 1 N FILL Step 3 Step 2 S Empty Transition 1 Transition 2

Page 35 printed at 8/3/ PLCopen ® for efficiency in automation SFC : alternative sequences Step 1 N FILL Step 3 Step 2 b S Empty Transition 1b Transition 2b Step 2 a S Empty Transition 1a Transition 2a

Page 36 printed at 8/3/ PLCopen ® for efficiency in automation The IEC Standard Common Elements Programming Languages

Page 37 printed at 8/3/ PLCopen ® for efficiency in automation The IEC Programming Languages Instruction List Structured Text Function Block Diagram Ladder Diagram C:= A AND NOT B A B C -| |--|/| ( ) LDA ANDNB STC AND A C B

Page 38 printed at 8/3/ PLCopen ® for efficiency in automation The IEC Standard Common Elements Programming Languages Top Down Bottom Up

Page 39 printed at 8/3/ PLCopen ® for efficiency in automation IEC Programming Environments Many of them offer:  graphical programming screens  support for multiple windows  mouse operation  pull-down menus  built-in hypertext help function  software verification during design

Page 40 printed at 8/3/ PLCopen ® for efficiency in automation What are the benefits ?

Page 41 printed at 8/3/ PLCopen ® for efficiency in automation Users? Which Users? Education InstallationMaintenanceProgrammingProcess cntrlDiscrete MnfSystem Integrator YOU ??

Page 42 printed at 8/3/ PLCopen ® for efficiency in automation Users? Which Users? Automobile production lines Water treatment plant Food processing and packaging machinery Cable manufacturing Semi-conductor clean room automation Theme-park roller coasters Nuclear waste treatment plant This wide range encompass different skills

Page 43 printed at 8/3/ PLCopen ® for efficiency in automation Benefits  Reduced waste of human resources (in training, debugging, maintenance and consultancy)

Page 44 printed at 8/3/ PLCopen ® for efficiency in automation Benefits  Reduced waste of human resources (in training, debugging, maintenance and consultancy) Creating a focus to problem solving via software re-usability (reduced application investment and supplier dependency)

Page 45 printed at 8/3/ PLCopen ® for efficiency in automation Benefits  Reduced waste of human resources (in training, debugging, maintenance and consultancy)  Creating a focus to problem solving via software re-usability (reduced application investment and supplier dependency) Reduced misunderstandings and errors

Page 46 printed at 8/3/ PLCopen ® for efficiency in automation Benefits  Reduced waste of human resources (in training, debugging, maintenance and consultancy)  Creating a focus to problem solving via software re-usability (reduced application investment and supplier dependency)  Reduced misunderstandings and errors Programming techniques usable in more environments (general industrial control)

Page 47 printed at 8/3/ PLCopen ® for efficiency in automation Benefits  Reduced waste of human resources (in training, debugging, maintenance and consultancy)  Creating a focus to problem solving via software re-usability (reduced application investment and supplier dependency)  Reduced misunderstandings and errors  Programming techniques usable in more environments (general industrial control) Combining harmoniously different components from different locations, companies or countries, or projects

Page 48 printed at 8/3/ PLCopen ® for efficiency in automation Benefits  Reduced waste of human resources (in training, debugging, maintenance and consultancy)  Creating a focus to problem solving via software re-usability (reduced application investment and supplier dependency)  Reduced misunderstandings and errors  Programming techniques usable in more environments (general industrial control)  Combining harmoniously different components from different locations, companies or countries, or projects Increased connectivity (investment protection)

Page 49 printed at 8/3/ PLCopen ® for efficiency in automation Benefits  Reduced waste of human resources (in training, debugging, maintenance and consultancy)  Creating a focus to problem solving via software re-usability (reduced application investment and supplier dependency)  Reduced misunderstandings and errors  Programming techniques usable in more environments (general industrial control)  Combining harmoniously different components from different locations, companies or countries, or projects  Increased connectivity (investment protection)

Page 50 printed at 8/3/ PLCopen ® for efficiency in automation How to use IEC an example: Structuring Software Development with IEC steps to success

Page 51 printed at 8/3/ PLCopen ® for efficiency in automation Software Development Cycle Design / Development / Installation / Maintenance.. phases

Page 52 printed at 8/3/ PLCopen ® for efficiency in automation … software development cycle... enhancements….. ….. new requirements... …. new functionality …. …. new wishes... “… the never ending story of software ”

Page 53 printed at 8/3/ PLCopen ® for efficiency in automation What’s the topic here? Structuring Software Development with IEC meaning: internal Software Quality In the sense of: Understandable, Reusable, Verifiable, Maintainable, Isolation

Page 54 printed at 8/3/ PLCopen ® for efficiency in automation Managing Complexity 100 – 10,000 – 1mio – 100mio Lines of Code Exponentially increasing complexity

Page 55 printed at 8/3/ PLCopen ® for efficiency in automation Why Structuring ?  The ever increasing role of Software on system quality: errors cost money  Requirements increased dramatically: 100 lines of codes now 10,000 lines  SW development: not a one-man job anymore, but a team with different know how and background  Commissioning, Installation, Maintenance, and Improvements are essential parts of the development process

Page 56 printed at 8/3/ PLCopen ® for efficiency in automation Advantages of Structuring Better Overview Better Basis for (internal) Communication Better Focus to problem solving Basis for reusable software “Self-documenting”

Page 57 printed at 8/3/ PLCopen ® for efficiency in automation Software Program vs. Software Product  Made by an individual for own use  Limited functionality  User interface less important  Little documentation  Individual development style  Made by a group for usage by others  Larger functionality  User interface very important  Well documented  Accepted SW engineering methods

Page 58 printed at 8/3/ PLCopen ® for efficiency in automation Exploratory Style vs. Software Engineering Method  Based on error correction  Finding errors during final product testing  Coding is the goal, creating quickly a working system, and modifying till satisfactory  Focused to error prevention  Find errors as early as possible  A structured approach, clear specifications, clear phases  Periodic reviews during all stages of the project

Page 59 printed at 8/3/ PLCopen ® for efficiency in automation (Costly) Engineering Habits  Reuse work from similar former projects  Include them into the new project  And start adapting them to the new project requirements Copy - Paste & Modify

Page 60 printed at 8/3/ PLCopen ® for efficiency in automation Dangers of copy paste & modify The “not-invented-here syndrome” – only own artifacts (developed in the past) Non-predictable quality Prone to errors and reuse potential is wasted Unsystematically Difficult to maintain and manage Very costly over the life cycle

Page 61 printed at 8/3/ PLCopen ® for efficiency in automation Modern Software Development Process A small overview

Page 62 printed at 8/3/ PLCopen ® for efficiency in automation Modern Software Development Process  Defined in several clearly separated phases - project definition  Top-down approach  Multiple disciplines involved  Multiple people involved  Different backgrounds  Based on Functional Requirements

Page 63 printed at 8/3/ PLCopen ® for efficiency in automation Example of Software Development Process Different Phases “Waterfall – model” Analysis Design Development Installation Maintenance..

Page 64 printed at 8/3/ PLCopen ® for efficiency in automation Example of Software Development Process V-model Link between Specification and testing

Page 65 printed at 8/3/ PLCopen ® for efficiency in automation The X-Model for SW Development Sub-system Integration and Testing System Installation and Testing Component Identification Sub-system Design Module Development Library Construction Catalogue Management System Design Component Design Component Development

Page 66 printed at 8/3/ PLCopen ® for efficiency in automation The X-Model for SW Development Sub-system Integration and Testing System Installation and Testing Component Identification Sub-system Design Module Development Library Construction Catalogue Management System Design Component Design Component Development Application Software

Page 67 printed at 8/3/ PLCopen ® for efficiency in automation The X-Model for SW Development Sub-system Integration and Testing System Installation and Testing Component Identification Sub-system Design Module Development Library Construction Catalogue Management System Design Component Design Component Development Reusable Components (FBs)

Page 68 printed at 8/3/ PLCopen ® for efficiency in automation Requirements on Engineering Tools 1.Support creation and reuse of technical, non-technical and combined entities 2.Support creation of a structured domain repository (like a library) 3.Enable multi-user access on the components 4.Provide configuration management 5.Cover more than one engineering phase and discipline 6.Encourage a reuse on different levels of granularity

Page 69 printed at 8/3/ PLCopen ® for efficiency in automation Decomposition and Reuse PROGRAM GLOBAL LocalType Automation application FUNCTION INPUT Local Type FUNCTION_BLOCK INPUT OUTPUTIN_OUT EXTERNAL Local Type

Page 70 printed at 8/3/ PLCopen ® for efficiency in automation Decomposition

Page 71 printed at 8/3/ PLCopen ® for efficiency in automation Reuse via Standardized Function Blocks

Page 72 printed at 8/3/ PLCopen ® for efficiency in automation A hierarchy of abstraction Top- down

Page 73 printed at 8/3/ PLCopen ® for efficiency in automation Bottom-up after top-down Top- down Bottom up First decompose – then fill it in

Page 74 printed at 8/3/ PLCopen ® for efficiency in automation How does that look in IEC ? 7 Steps to Success with a Fermentation Control System

Page 75 printed at 8/3/ PLCopen ® for efficiency in automation Fermentation Process Heater band Acidic reagent Alkali reagent Harvest valve pH sensor Temperature sensor Feed valve Agitator

Page 76 printed at 8/3/ PLCopen ® for efficiency in automation How to create a control program for this in a structured way?

Page 77 printed at 8/3/ PLCopen ® for efficiency in automation Step 1 : Identification of external Interfaces to the System  Feedback from the temperature sensor  Feedback from the pH sensor  Feedback from the valve positions  Feedback from the motor (speed)  Output to the valves  Output to the motor  Output to the heater band

Page 78 printed at 8/3/ PLCopen ® for efficiency in automation Step 2: Definition of the main signals between System and Plant In this example there is no coupling to the plant, but it could have been, like:  … coupling to main vessels with liquids  … coupling to transportation system / filling station after harvesting

Page 79 printed at 8/3/ PLCopen ® for efficiency in automation Step 3: Definition of all Operator interactions, overrides and supervisory data For the operator we define:  …a ‘Start’ button  …a ‘Stop’ button  …a ‘Duration’ input Now we have defined all the interfaces

Page 80 printed at 8/3/ PLCopen ® for efficiency in automation Step 4: Brake down from top in logical partitions  MainSequence - filling, heating, agitating, fermenting, harvesting, cleaning.  ValveControl - operating valves used to fill and empty the vessel's  TemperatureControl - for controlling the temperature  AgitatorControl - agitator motor control  pHControl - PH-control

Page 81 printed at 8/3/ PLCopen ® for efficiency in automation Step 5: Definition of the required POUs (Programs and Function Blocks)  Using the definitions above and  representing it in the graphical way …

Page 82 printed at 8/3/ PLCopen ® for efficiency in automation Fermentation Control Program

Page 83 printed at 8/3/ PLCopen ® for efficiency in automation MainSequence in Sequential Function Chart, SFC Presenting the main process states

Page 84 printed at 8/3/ PLCopen ® for efficiency in automation The Actions Blocks and Transitions can be programmed in any of the four IEC Programming Languages

Page 85 printed at 8/3/ PLCopen ® for efficiency in automation The IEC Programming Languages Instruction List (IL) Structured Text (ST) Funktion Block Diagram (FBD)Ladder Diagram (LD) LDA ANDNB STC C:= A AND NOT B A B C -| |--|/| ( ) AND A C B

Page 86 printed at 8/3/ PLCopen ® for efficiency in automation Step 6: Definition of scan cycle time requirements for the different parts of the application  In this example we have only one cycle in continuous mode  The remaining time can be used for other cycles like:  …. the filling / transportation system  … checking boundaries and error conditions (in a parallel sequence)

Page 87 printed at 8/3/ PLCopen ® for efficiency in automation And last but not least: Step 7: Configuration of the System: Definition of Resources, Tasks and linking of programs with physical I/O  Depending on the system involved  Includes physical mapping of symbols to I/O  Mapping of the resource (read: CPU’s in the system)  Definition of the scan cycles and events (as defined in Step 6)

Page 88 printed at 8/3/ PLCopen ® for efficiency in automation Conclusion  The Software development process has changed: more requirements.. more functionalities.. more code.. more people involved.. … more requirements / wishes  Structuring and Decomposition are essential parts of modern software development  IEC has the right basis to fulfill your requirements

Page 89 printed at 8/3/ PLCopen ® for efficiency in automation The association PLCopen Together we can make it happen: Standardization in Industrial Control Programming WE NEED YOUR SUPPORT FOR THIS ! Join the organization PLCopen

Page 90 printed at 8/3/ PLCopen ® for efficiency in automation

Page 91 printed at 8/3/ PLCopen ® for efficiency in automation More Information...  Free-of-Charge electronic Newsletter ‘PLCopening’ (in english)