builconn20071131 presentation jcd

37
IEC 61131 for Building Automation New Tools & Ideas for Buildings 2.0

Upload: caba

Post on 06-May-2015

841 views

Category:

Business


0 download

TRANSCRIPT

Page 1: Builconn20071131 Presentation Jcd

IEC 61131 for Building Automation

New Tools & Ideas for Buildings 2.0

Page 2: Builconn20071131 Presentation Jcd

2007 Chicago

PLCopen WWW.PLCopen-NA.org

Bill Lydon – Managing Director PLCopen North America

PLCopen North American www.plcopen-na.org

[email protected]

Jim Desrosiers – Data Acuity, Inc.PLCopen Member Company

Data Acuity, [email protected]

Page 3: Builconn20071131 Presentation Jcd

2007 Chicago

PLCopen WWW.PLCopen-NA.org

Founded in 1992 – Worldwide Organization

Vendor Independent - Not for Profit Organization

Focus – Open Controls Programming Standards Primary IEC 61131 & Extensions

PLCopen

PLCopen is dedicated to improving the automation programming efficiency and

productivity of control engineers.

Page 4: Builconn20071131 Presentation Jcd

2007 Chicago

PLCopen WWW.PLCopen-NA.org

ABB altus ATOSATS InternationalAutomaton Tooling SystemsBaumullerBeckhoffBerger LahrRexroth Bosch GroupB&RControl TechniquesDanfossDigital Electronics ElauFuji Electric JapanG&L Motion ControlHIMA

HoneywellICS Triplex ISaGRAFInfo team SoftwareIndustrielle Steuerungstechnik KEBAkirchner SOFTKUKAKW SoftwareLENZEPanasonicESR Pollmeier GmbH  Mitsubishi ElectricNyquist Industrial ControlOMRONORMECParker AutomationPhilip MorrisPhoenix Contact

Rockwell Automation3 SScneider AutomationSelectron Systems AGSEW EurodriveSICK  SiemensSoftingSMS Demag AGStober AntriebstechnikTEAMTeco Tevopharm B.VValiosys GroupTOSHIBATRICONEXYOKOGAWA

PLCopen Members

Page 5: Builconn20071131 Presentation Jcd

2007 Chicago

PLCopen WWW.PLCopen-NA.org

PLCopen Worldwide Organization

Europe Japan

China North America

Page 6: Builconn20071131 Presentation Jcd

2007 Chicago

PLCopen WWW.PLCopen-NA.org

What is IEC 61131-3

IEC = International Electrotechnical CommissionWorld Standards Organization Founded in World Standards Organization Founded in

19061906Electrical & Electronic International Electrical & Electronic International

StandardsStandardsOver 50 Participating Countries Over 50 Participating Countries

Global Standard: Common Control Programming Software Language and Software Model

1986 Controls Programming Standard Started

1993 IEC 61131 Standard Published

2003 Second Edition

Other improvements since.

IEC 61131 will be described later in this

presentation!

Page 7: Builconn20071131 Presentation Jcd

2007 Chicago

PLCopen WWW.PLCopen-NA.org

• Standard IEC 61131 Programming• 230 Beckhoff BC9000 Controllers• HMI: Webpage/Internet Explorer• Ethernet TCP/IP I/O• 27,500 I/O Points

• Microsoft Windows CE & XP

• Standard Ethernet Components

• Windows CE pocket PCs

• Room Control via Internet

Microsoft Headquarters, Munich, GermanyIntelligent Building Automation

Building Automation with IEC 61131

Courtesy of PLCopen Member Company

Page 8: Builconn20071131 Presentation Jcd

2007 Chicago

PLCopen WWW.PLCopen-NA.org

• Standard IEC 61131 Programming

• Remote Maintenance

• Fault Diagnostics

• Robust PC Technology

Eurotheum (European Central Bank), Frankfurt, Germany

IT-Port, Unterschleißheim near Munich, Germany

• Standard IEC 61131 Programming

• Standard Ethernet

• 22,000+ I/O Points

Building Automation with IEC 61131

Courtesy of PLCopen Member Company

Page 9: Builconn20071131 Presentation Jcd

2007 Chicago

PLCopen WWW.PLCopen-NA.org

IEC 61131 for Building Automation

New Tools & Ideas for Buildings 2.0

IEC 61131 makes sense for Building Automation for the same reasons industrial users prefer IEC 61131.

Page 10: Builconn20071131 Presentation Jcd

2007 Chicago

PLCopen WWW.PLCopen-NA.org

IEC 61131 ImprovesLife Cycle Cost of Control Software Development

Design

Specification

Risk Analysis

Verification

CodingTesting

Refining

Integration

Commissioning

Maintenance

Page 11: Builconn20071131 Presentation Jcd

2007 Chicago

PLCopen WWW.PLCopen-NA.org

Controls Engineers Role Broadening• Adaptable - Sophisticated Applications

• Efficiency - Control to Optimize Processes

• Enterprise – Integration to IT Systems

• Maintainable - Real-time Maintenance Data

• Commissioning – Distributed Systems, Wireless

• Resources - Collaborative Engineering

Open Architecture Simplifies Automation(Just as it has in the computer industry.)

IEC-61131-3 – Open ProgrammingPLCopen -Applications & Extension

Automation Trends

Page 12: Builconn20071131 Presentation Jcd

2007 Chicago

PLCopen WWW.PLCopen-NA.org

VisualVisual

ProceduralProcedural

AssemblerAssembler

Machine LanguageMachine Language

Software Language Progression

Computer Industry

Languages Today•Visual Basic •Visual C•C++•Java

Industrial Controls

Languages TodayIEC 61131-3

• Function Blocks• Ladder• Sequential Charts• Instruction List• Structured Text

Building Automation

Page 13: Builconn20071131 Presentation Jcd

2007 Chicago

PLCopen WWW.PLCopen-NA.org

IEC 61131-3Industrial Control Programming

Standardizes Controls ProgrammingTough toDeploy

Page 14: Builconn20071131 Presentation Jcd

2007 Chicago

PLCopen WWW.PLCopen-NA.org

... support for people with different backgrounds

IEC 61131-3Industrial Control Programming

Page 15: Builconn20071131 Presentation Jcd

2007 Chicago

PLCopen WWW.PLCopen-NA.org

The 6 parts of the IEC 61131 Standard

PLCopenStandardization in Industrial Control programming

61131-1 General Overview, Definitions61131-1 General Overview, Definitions61131-2 Hardware61131-2 Hardware

61131-3 Programming 61131-3 Programming LanguagesLanguages61131-4 User Guidelines61131-4 User Guidelines61131-5 Messaging Service 61131-5 Messaging Service SpecificationSpecification61131-7 Fuzzy Logic61131-7 Fuzzy Logic

IEC 61499 – Distributed ApplicationsIEC 61499 – Distributed Applications

Page 16: Builconn20071131 Presentation Jcd

2007 Chicago

PLCopen WWW.PLCopen-NA.org

Configuration (Project) Configuration (Project) Resource (HW)Resource (HW)

TaskTask

IEC 61131-3 Software Model

FBFB FBFB

ProgramProgram

TaskTask

FBFB FBFB

ProgramProgram

Resource (HW)Resource (HW)

TaskTask

FBFB FBFB

ProgramProgram

TaskTask

FBFB FBFB

ProgramProgram

Global and Direct Variables / I/O Global and Direct Variables / I/O SystemsSystems D

ata

Access

Data

Access

path

path

Page 17: Builconn20071131 Presentation Jcd

2007 Chicago

PLCopen WWW.PLCopen-NA.org

IEC 61131-3 : Common ElementsVariables & Data types

VENDOR DEFINEDUSER DEFINEDSTRUCTURES

Defined Data Types

Symbolic representation via labelsSymbolic representation via labelsRestricted area for I/O mappingRestricted area for I/O mappingHardware independent codeHardware independent codeHigher transparency & readabilityHigher transparency & readabilityLess errorsLess errors

Page 18: Builconn20071131 Presentation Jcd

2007 Chicago

PLCopen WWW.PLCopen-NA.org

Ladder Diagram (LD)

Function Block Diagram (FBD)

Sequential Function Chart (SFC)

Structured Text (ST)

Instruction List (IL)

IEC 61131-3 Languages

Page 19: Builconn20071131 Presentation Jcd

2007 Chicago

PLCopen WWW.PLCopen-NA.org

A B C

-| |--|/|----------------( )

Ladder Diagram (LD)

Standardized set of relay ladder Standardized set of relay ladder programming symbols and terminologyprogramming symbols and terminology

Electrical FlowElectrical FlowLarge base of usersLarge base of usersBoolean equationsBoolean equationsEasy rulesEasy rules

Page 20: Builconn20071131 Presentation Jcd

2007 Chicago

PLCopen WWW.PLCopen-NA.org

LD A

AND B

ST C

Instruction List (IL)

Single accumulator based execution modelSingle accumulator based execution modelLow Level ProgrammingLow Level ProgrammingOne operation such as storing a value in One operation such as storing a value in the accumulator register, is allowed per the accumulator register, is allowed per lineline

Page 21: Builconn20071131 Presentation Jcd

2007 Chicago

PLCopen WWW.PLCopen-NA.org

C:= A AND NOT B

If A = FALSE THEN ...

CASE Select OF ....

Structured Text (ST)

High level language, block structuredHigh level language, block structuredSyntax resembles PASCAL, C, C+Syntax resembles PASCAL, C, C+Complex statements and nested Complex statements and nested instructions possibleinstructions possibleSupport forSupport for

Iteration loops Iteration loops (REPEAT-UNTIL; WHILE-DO)(REPEAT-UNTIL; WHILE-DO)

Conditional execution Conditional execution (IF-THEN-ELSE; CASE)(IF-THEN-ELSE; CASE)

Functions Functions (SQURT(); SIN())(SQURT(); SIN())

Page 22: Builconn20071131 Presentation Jcd

2007 Chicago

PLCopen WWW.PLCopen-NA.org

AND

A C

B

Function Block Diagram (FBD)

Graphical LanguageGraphical LanguageAllows Program elements which appear as Allows Program elements which appear as blocks to be “wired” together in a form blocks to be “wired” together in a form analogous to a circuit diagramanalogous to a circuit diagramUsed in many applications that involve the Used in many applications that involve the flow of information or data between flow of information or data between control componentscontrol components

Page 23: Builconn20071131 Presentation Jcd

2007 Chicago

PLCopen WWW.PLCopen-NA.org

Step 1

Transition

Step 2

Transition

Action 1Action 2

Action 1

Sequential Function Chart (SFC)

Technological Technological programming language programming language for describing for describing sequential controlssequential controlsStructured program Structured program draftdraft

Description of the Description of the process with steps and process with steps and transitionstransitionsClear, easy to understandClear, easy to understand

Application examplesApplication examplesPressesPressesProductions linesProductions linesProcess technologyProcess technologyPackaging technologyPackaging technologyMachine tools Machine tools Batch Process Control – S88Batch Process Control – S88

Page 24: Builconn20071131 Presentation Jcd

2007 Chicago

PLCopen WWW.PLCopen-NA.org

Multiple Automation and Control Multiple Automation and Control DisciplinesDisciplinesProcess DesignProcess DesignLogic SimulationLogic SimulationAutomatic DocumentationAutomatic DocumentationEngineering ToolsEngineering Tools

Online Debug EnvironmentOnline Debug EnvironmentBreakpointsBreakpointsWatch WindowsWatch WindowsStrip chart RecorderStrip chart RecorderIntegrated HMIIntegrated HMI

IDE - Integrated Design Environment (IDE)

IEC 61131 Controller

Page 25: Builconn20071131 Presentation Jcd

2007 Chicago

PLCopen WWW.PLCopen-NA.org

Page 26: Builconn20071131 Presentation Jcd

2007 Chicago

PLCopen WWW.PLCopen-NA.org

Function Block… Self Contained Building Blocks

Function Block •Explicit Data• Variables• Tag Names• Logic• Actions/Calculations

Perfect for Building Automation

Inputs Outputs

Page 27: Builconn20071131 Presentation Jcd

2007 Chicago

PLCopen WWW.PLCopen-NA.org

Inputs Outputs

Function Examples •And, Or, Xor• PID• Square Root• Add, Subtract, etc.

Function Block… Self Contained Building Blocks

Page 28: Builconn20071131 Presentation Jcd

2007 Chicago

PLCopen WWW.PLCopen-NA.org

Inputs Outputs

Send EmailServe UP WEB PagesDial Up Cell PhoneSend Messages (SMS)Send SOAP MessagesSend XML Messages

Function Block… Self Contained Building Blocks

Page 29: Builconn20071131 Presentation Jcd

2007 Chicago

PLCopen WWW.PLCopen-NA.org

Inputs Outputs

Built from standard blocks ...

User CreatedObject

EncapsulationBUILD YOUR OWN FUNCTIONSBUILD YOUR OWN FUNCTIONS

Page 30: Builconn20071131 Presentation Jcd

2007 Chicago

PLCopen WWW.PLCopen-NA.org

Ladder Logic Instruction List Structured Text

Function BlockYour Own FunctionBlocks

Create Your Own Standards Reuse Tested CodeEasily UnderstoodSelf DocumentingPassword Protect

Build your own function blocks with Ladder Logic, Instruction List, or Structured Text

Your Function Blocks RunIn the Controller

You Add Functions to the Controller!

Page 31: Builconn20071131 Presentation Jcd

2007 Chicago

PLCopen WWW.PLCopen-NA.org

IEC-61131 Advantages

Significantly Better Significantly Better Price/PerformancePrice/Performance Leverages Existing StaffLeverages Existing Staff Common TrainingCommon Training Collaborative EngineeringCollaborative Engineering Lower Implementation CostLower Implementation Cost Lower Maintenance CostLower Maintenance Cost Easily Scaled to NeedsEasily Scaled to Needs Higher QualityHigher Quality

Lower TotalCost of Ownership

Page 32: Builconn20071131 Presentation Jcd

2007 Chicago

PLCopen WWW.PLCopen-NA.org

PLCopen Activities

ConformityConformity ReusabilityReusability SafetySafety

XML XML PortabilityPortability Motion Motion ControlControl Cyber Cyber SecuritySecurity

Page 33: Builconn20071131 Presentation Jcd

2007 Chicago

PLCopen WWW.PLCopen-NA.org

PLCopen TC3 : Certification…without testing there is no standard…

Page 34: Builconn20071131 Presentation Jcd

2007 Chicago

PLCopen WWW.PLCopen-NA.org

XML formats for IEC 61131-3

IEC Language

XML Schemas

Open Development InterfacePLCopen TC6 : XML

Page 35: Builconn20071131 Presentation Jcd

2007 Chicago

PLCopen WWW.PLCopen-NA.org

What's next?IEC 61499 – Open Distributed Systems

Distributed application Distributed application standardstandardEncapsulates IEC 61131-Encapsulates IEC 61131-3 Program Organization 3 Program Organization Units (POU)Units (POU)Normative event Normative event signals: INIT, RSP, REQsignals: INIT, RSP, REQLibrary of function Library of function blocksblocksIEC61499 Function block IEC61499 Function block viewviewAutomatic binding Automatic binding between resourcesbetween resources

Page 36: Builconn20071131 Presentation Jcd

2007 Chicago

PLCopen WWW.PLCopen-NA.org

What's next?IEC 61499 – Open Distributed Systems

Page 37: Builconn20071131 Presentation Jcd

2007 Chicago

PLCopen WWW.PLCopen-NA.org

Bill Lydon, Managing Director North Americaemail: [email protected]

Phone 414-427-5853

• Free Electronic Newsletter• News• Information• Resources

PLCopen North Americawww.plcopen-na.org

Jim Desrosiers, Presidentemail: [email protected]

Phone 603-929-9130

• Representation and Consulting to Automation Software Companies

Data Acuity, Inc.www.dataacuity.com